Jelajahi Sumber

qcacmn: Add Support for 802.11ax Draft 3 Compatible BSS Color macros

Currently, the WMI definitions for BSS Color are not draft specific.
Update the BSS Color macros to be compatible with changes in
802.11ax Draft 3 and newer. 

Change-Id: I20c842ff11ab449024c4fc1a0ef822c525ff40ec
CRs-Fixed: 2753170
Gyanranjan Hazarika 4 tahun lalu
induk
melakukan
7c67032493
1 mengubah file dengan 10 tambahan dan 0 penghapusan
  1. 10 0
      wmi/inc/wmi_unified_param.h

+ 10 - 0
wmi/inc/wmi_unified_param.h

@@ -226,7 +226,12 @@
 
 /* The following WMI_HOST_HEOPS_BSSCOLOR_XXX macros correspond to the
  *  WMI_HEOPS_COLOR_XXX macros in the FW wmi_unified.h */
+#ifdef SUPPORT_11AX_D3
+#define WMI_HOST_HEOPS_BSSCOLOR_S 24
+#else
 #define WMI_HOST_HEOPS_BSSCOLOR_S 0
+#endif
+
 #define WMI_HOST_HEOPS_BSSCOLOR_M 0x3f
 #define WMI_HOST_HEOPS_BSSCOLOR \
 	(WMI_HOST_HEOPS_BSSCOLOR_M << WMI_HOST_HEOPS_BSSCOLOR_S)
@@ -237,7 +242,12 @@
 
 /* The following WMI_HOST_HEOPS_BSSCOLOR_DISABLE_XXX macros correspond to the
  *  WMI_HEOPS_BSSCOLORDISABLE_XXX macros in the FW wmi_unified.h */
+#ifdef SUPPORT_11AX_D3
+#define WMI_HOST_HEOPS_BSSCOLOR_DISABLE_S 31
+#else
 #define WMI_HOST_HEOPS_BSSCOLOR_DISABLE_S 30
+#endif
+
 #define WMI_HOST_HEOPS_BSSCOLOR_DISABLE_M 0x1
 #define WMI_HOST_HEOPS_BSSCOLOR_DISABLE \
 	(WMI_HOST_HEOPS_BSSCOLOR_DISABLE_M << WMI_HOST_HEOPS_BSSCOLOR_DISABLE_S)