summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspuligil <spuligil@codeaurora.org>2019-05-16 06:01:02 -0700
committerspuligil <spuligil@codeaurora.org>2019-05-16 06:01:03 -0700
commit47b4e1965a0a66d3c9eff085dfa53f4d0610d1f8 (patch)
tree95240f1b605c8377188a320be881430cd8e3fc13
parent0da2b18f8a49ca2c93c9cb6428546b3729f7af0f (diff)
fw-api: CL 7157906 - update fw common interface files
Change-Id: Ib68ee989248ee4a5ed803275cb449f89301de26f WMI: add flags to indicate support for DL OFDMA and MU-MIMO CRs-Fixed: 2262693
-rwxr-xr-xfw/wmi_unified.h32
-rwxr-xr-xfw/wmi_version.h2
2 files changed, 32 insertions, 2 deletions
diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h
index 0b69dd9c7757..c73e13432214 100755
--- a/fw/wmi_unified.h
+++ b/fw/wmi_unified.h
@@ -2063,6 +2063,8 @@ typedef enum {
#define WMI_HE_CAP_1X_LTF_400NS_GI_SUPPORT 0x00000001
#define WMI_HE_CAP_2X_LTF_400NS_GI_SUPPORT 0x00000002
#define WMI_HE_CAP_2X_LTF_160_80_80_SUPPORT 0x00000004
+#define WMI_HE_CAP_RX_DL_OFDMA_SUPPORT 0x00000018
+#define WMI_HE_CAP_RX_DL_MUMIMO_SUPPORT 0x00000030
#define WMI_HE_CAP_1X_LTF_400NS_GI_SUPPORT_GET(he_cap_info_dword1) \
WMI_GET_BITS(he_cap_info_dword1, 0, 1)
@@ -2079,6 +2081,16 @@ typedef enum {
#define WMI_HE_CAP_2X_LTF_160_80_80_SUPPORT_SET(he_cap_info_dword1, value) \
WMI_SET_BITS(he_cap_info_dword1, 2, 1, value)
+#define WMI_HE_CAP_RX_DL_OFDMA_SUPPORT_GET(he_cap_info_dword1) \
+ WMI_GET_BITS(he_cap_info_dword1, 3, 2)
+#define WMI_HE_CAP_RX_DL_OFDMA_SUPPORT_SET(he_cap_info_dword1, value) \
+ WMI_SET_BITS(he_cap_info_dword1, 3, 2, value)
+
+#define WMI_HE_CAP_RX_DL_MUMIMO_SUPPORT_GET() \
+ WMI_GET_BITS(he_cap_info_dword1, 5, 2)
+#define WMI_HE_CAP_RX_DL_MUMIMO_SUPPORT_SET() \
+ WMI_SET_BITS(he_cap_info_dword1, 5, 2, value)
+
/* Interested readers refer to Rx/Tx MCS Map definition as defined in 802.11ax
*/
#define WMI_HE_MAX_MCS_4_SS_MASK(r,ss) ((3 & (r)) << (((ss) - 1) << 1))
@@ -2091,6 +2103,20 @@ enum {
WMI_HE_FRAG_SUPPORT_LEVEL3, /* support for multiple fragments per MSDU within an A-MPDU */
};
+enum {
+ WMI_HE_RX_DL_OFDMA_SUPPORT_DEFAULT, /* Default */
+ WMI_HE_RX_DL_OFDMA_SUPPORT_DISABLE, /* RX DL OFDMA Support Disabled */
+ WMI_HE_RX_DL_OFDMA_SUPPORT_ENABLE, /* RX DL OFDMA Support Enabled */
+ WMI_HE_RX_DL_OFDMA_SUPPORT_INVALID, /* INVALID */
+};
+
+enum {
+ WMI_HE_RX_DL_MUMIMO_SUPPORT_DEFAULT, /* Default */
+ WMI_HE_RX_DL_MUMIMO_SUPPORT_DISABLE, /* RX DL MU-MIMO Support Disabled */
+ WMI_HE_RX_DL_MUMIMO_SUPPORT_ENABLE, /* RX DL MU-MIMO Support Enabled */
+ WMI_HE_RX_DL_MUMIMO_SUPPORT_INVALID, /* INVALID */
+};
+
/** NOTE: This defs cannot be changed in the future without breaking WMI compatibility */
#define WMI_MAX_NUM_SS MAX_HE_NSS
#define WMI_MAX_NUM_RU MAX_HE_RU
@@ -11523,7 +11549,11 @@ typedef struct {
* bit 0 : Indicated support for RX 1xLTF + 0.4us
* bit 1 : Indicates support for RX 2xLTF + 0.4us
* bit 2 : Indicates support for 2xLTF in 160/80+80 MHz HE PPDU
- * bit[31:3] : Reserved
+ * bit[4:3] : Indicates support for DL OFDMA
+ * Refer to enum WMI_HE_RX_DL_OFDMA_SUPPORT_x
+ * bit[6:5] : Indicates support for DL MU-MIMO
+ * Refer to enum WMI_HE_RX_DL_MUMIMO_SUPPORT_x
+ * bit[31:7] : Reserved
* Refer to WMI_HE_CAP_xx_LTF_xxx_SUPPORT_GET/SET macros
*/
A_UINT32 peer_he_cap_info_internal;
diff --git a/fw/wmi_version.h b/fw/wmi_version.h
index 14dce9c23f1d..0730775a57d6 100755
--- a/fw/wmi_version.h
+++ b/fw/wmi_version.h
@@ -36,7 +36,7 @@
#define __WMI_VER_MINOR_ 0
/** WMI revision number has to be incremented when there is a
* change that may or may not break compatibility. */
-#define __WMI_REVISION_ 664
+#define __WMI_REVISION_ 665
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work