|
@@ -138,6 +138,8 @@
|
|
|
#define WLAN_SOC_CEXT_DYNAMIC_HW_MODE 0x00080000
|
|
|
/* Restricted 80+80 MHz support */
|
|
|
#define WLAN_SOC_RESTRICTED_80P80_SUPPORT 0x00100000
|
|
|
+ /* Indicates Firmware supports sending NSS ratio info to host */
|
|
|
+#define WLAN_SOC_NSS_RATIO_TO_HOST_SUPPORT 0x00200000
|
|
|
|
|
|
/* feature_flags */
|
|
|
/* CONF: ATH FF enabled */
|
|
@@ -202,6 +204,25 @@
|
|
|
/* Invalid VHT cap */
|
|
|
#define WLAN_SOC_OP_VHT_INVALID_CAP 0x00000001
|
|
|
|
|
|
+/* enum wlan_nss_ratio - NSS ratio received from FW during service ready ext
|
|
|
+ * event.
|
|
|
+ * WLAN_NSS_RATIO_1BY2_NSS : Max nss of 160MHz is equals to half of the max nss
|
|
|
+ * of 80MHz
|
|
|
+ * WLAN_NSS_RATIO_3BY4_NSS : Max nss of 160MHz is equals to 3/4 of the max nss
|
|
|
+ * of 80MHz
|
|
|
+ * WLAN_NSS_RATIO_1_NSS : Max nss of 160MHz is equals to the max nss of 80MHz
|
|
|
+ * WLAN_NSS_RATIO_2_NSS : Max nss of 160MHz is equals to two times the max
|
|
|
+ * nss of 80MHz
|
|
|
+ * Values of this enum should be in sync with WMI_NSS_RATIO_INFO value provided
|
|
|
+ * in wmi_unified.h.
|
|
|
+ */
|
|
|
+enum wlan_nss_ratio {
|
|
|
+ WLAN_NSS_RATIO_1BY2_NSS = 0x0,
|
|
|
+ WLAN_NSS_RATIO_3BY4_NSS = 0x1,
|
|
|
+ WLAN_NSS_RATIO_1_NSS = 0x2,
|
|
|
+ WLAN_NSS_RATIO_2_NSS = 0x3,
|
|
|
+};
|
|
|
+
|
|
|
/**
|
|
|
* struct wlan_objmgr_psoc_regulatory - Regulatory sub structure of PSOC
|
|
|
* @country_code: Country code
|