wmi.h (61fe43e7216df6e9a912d831aafc7142fa20f280) | wmi.h (f552d6fd2f27ce9430c74482c46272838e2de688) |
---|---|
1/* SPDX-License-Identifier: BSD-3-Clause-Clear */ 2/* 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 */ 5 6#ifndef ATH11K_WMI_H 7#define ATH11K_WMI_H 8 --- 2132 unchanged lines hidden (view full) --- 2141enum wmi_direct_buffer_module { 2142 WMI_DIRECT_BUF_SPECTRAL = 0, 2143 WMI_DIRECT_BUF_CFR = 1, 2144 2145 /* keep it last */ 2146 WMI_DIRECT_BUF_MAX 2147}; 2148 | 1/* SPDX-License-Identifier: BSD-3-Clause-Clear */ 2/* 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 */ 5 6#ifndef ATH11K_WMI_H 7#define ATH11K_WMI_H 8 --- 2132 unchanged lines hidden (view full) --- 2141enum wmi_direct_buffer_module { 2142 WMI_DIRECT_BUF_SPECTRAL = 0, 2143 WMI_DIRECT_BUF_CFR = 1, 2144 2145 /* keep it last */ 2146 WMI_DIRECT_BUF_MAX 2147}; 2148 |
2149/* enum wmi_nss_ratio - NSS ratio received from FW during service ready ext 2150 * event 2151 * WMI_NSS_RATIO_1BY2_NSS -Max nss of 160MHz is equals to half of the max nss 2152 * of 80MHz 2153 * WMI_NSS_RATIO_3BY4_NSS - Max nss of 160MHz is equals to 3/4 of the max nss 2154 * of 80MHz 2155 * WMI_NSS_RATIO_1_NSS - Max nss of 160MHz is equals to the max nss of 80MHz 2156 * WMI_NSS_RATIO_2_NSS - Max nss of 160MHz is equals to two times the max 2157 * nss of 80MHz 2158 */ 2159 2160enum wmi_nss_ratio { 2161 WMI_NSS_RATIO_1BY2_NSS = 0x0, 2162 WMI_NSS_RATIO_3BY4_NSS = 0x1, 2163 WMI_NSS_RATIO_1_NSS = 0x2, 2164 WMI_NSS_RATIO_2_NSS = 0x3, 2165}; 2166 |
|
2149struct wmi_host_pdev_band_to_mac { 2150 u32 pdev_id; 2151 u32 start_freq; 2152 u32 end_freq; 2153}; 2154 2155struct ath11k_ppe_threshold { 2156 u32 numss_m1; --- 228 unchanged lines hidden (view full) --- 2385struct wmi_hw_mode_capabilities { 2386 u32 tlv_header; 2387 u32 hw_mode_id; 2388 u32 phy_id_map; 2389 u32 hw_mode_config_type; 2390} __packed; 2391 2392#define WMI_MAX_HECAP_PHY_SIZE (3) | 2167struct wmi_host_pdev_band_to_mac { 2168 u32 pdev_id; 2169 u32 start_freq; 2170 u32 end_freq; 2171}; 2172 2173struct ath11k_ppe_threshold { 2174 u32 numss_m1; --- 228 unchanged lines hidden (view full) --- 2403struct wmi_hw_mode_capabilities { 2404 u32 tlv_header; 2405 u32 hw_mode_id; 2406 u32 phy_id_map; 2407 u32 hw_mode_config_type; 2408} __packed; 2409 2410#define WMI_MAX_HECAP_PHY_SIZE (3) |
2411#define WMI_NSS_RATIO_ENABLE_DISABLE_BITPOS BIT(0) 2412#define WMI_NSS_RATIO_ENABLE_DISABLE_GET(_val) \ 2413 FIELD_GET(WMI_NSS_RATIO_ENABLE_DISABLE_BITPOS, _val) 2414#define WMI_NSS_RATIO_INFO_BITPOS GENMASK(4, 1) 2415#define WMI_NSS_RATIO_INFO_GET(_val) \ 2416 FIELD_GET(WMI_NSS_RATIO_INFO_BITPOS, _val) |
|
2393 2394struct wmi_mac_phy_capabilities { 2395 u32 hw_mode_id; 2396 u32 pdev_id; 2397 u32 phy_id; 2398 u32 supported_flags; 2399 u32 supported_bands; 2400 u32 ampdu_density; --- 17 unchanged lines hidden (view full) --- 2418 u32 he_cap_phy_info_5g[WMI_MAX_HECAP_PHY_SIZE]; 2419 struct wmi_ppe_threshold he_ppet2g; 2420 struct wmi_ppe_threshold he_ppet5g; 2421 u32 chainmask_table_id; 2422 u32 lmac_id; 2423 u32 he_cap_info_2g_ext; 2424 u32 he_cap_info_5g_ext; 2425 u32 he_cap_info_internal; | 2417 2418struct wmi_mac_phy_capabilities { 2419 u32 hw_mode_id; 2420 u32 pdev_id; 2421 u32 phy_id; 2422 u32 supported_flags; 2423 u32 supported_bands; 2424 u32 ampdu_density; --- 17 unchanged lines hidden (view full) --- 2442 u32 he_cap_phy_info_5g[WMI_MAX_HECAP_PHY_SIZE]; 2443 struct wmi_ppe_threshold he_ppet2g; 2444 struct wmi_ppe_threshold he_ppet5g; 2445 u32 chainmask_table_id; 2446 u32 lmac_id; 2447 u32 he_cap_info_2g_ext; 2448 u32 he_cap_info_5g_ext; 2449 u32 he_cap_info_internal; |
2450 u32 wireless_modes; 2451 u32 low_2ghz_chan_freq; 2452 u32 high_2ghz_chan_freq; 2453 u32 low_5ghz_chan_freq; 2454 u32 high_5ghz_chan_freq; 2455 u32 nss_ratio; |
|
2426} __packed; 2427 2428struct wmi_hal_reg_capabilities_ext { 2429 u32 tlv_header; 2430 u32 phy_id; 2431 u32 eeprom_reg_domain; 2432 u32 eeprom_reg_domain_ext; 2433 u32 regcap1; --- 2969 unchanged lines hidden --- | 2456} __packed; 2457 2458struct wmi_hal_reg_capabilities_ext { 2459 u32 tlv_header; 2460 u32 phy_id; 2461 u32 eeprom_reg_domain; 2462 u32 eeprom_reg_domain_ext; 2463 u32 regcap1; --- 2969 unchanged lines hidden --- |