Эх сурвалжийг харах

fw-api: CL 25538692 - update fw common interface files

WMI: add more feature flags in feature_bitmap field
Change-Id: I9a8e47c95a79a0fb37f4ec84452936e21d861c86
CRs-Fixed: 2262693
spuligil 1 жил өмнө
parent
commit
46ffda74d4
2 өөрчлөгдсөн 64 нэмэгдсэн , 2 устгасан
  1. 63 1
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 63 - 1
fw/wmi_unified.h

@@ -5450,6 +5450,68 @@ typedef enum {
 #define WMI_SET_STA_DUMP_SUPPORT(feature_bitmap, val)   \
         WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 112, 1, val)
 
+/* Peer protocol features supported info (contd) */
+#define WMI_GET_STA_P2P_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 113, 1)
+#define WMI_SET_STA_P2P_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 113, 1, val)
+#define WMI_GET_STA_SAP_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 114, 1)
+#define WMI_SET_STA_SAP_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 114, 1, val)
+#define WMI_GET_STA_NAN_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 115, 1)
+#define WMI_SET_STA_NAN_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 115, 1, val)
+#define WMI_GET_STA_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 116, 1)
+#define WMI_SET_STA_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 116, 1, val)
+/* Reserving 16 bits for accomodating other 2 port concurrencies later */
+
+#define WMI_GET_STA_SAP_P2P_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 133, 1)
+#define WMI_SET_STA_SAP_P2P_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 133, 1, val)
+#define WMI_GET_STA_SAP_NAN_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 134, 1)
+#define WMI_SET_STA_SAP_NAN_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 134, 1, val)
+#define WMI_GET_STA_P2P_NAN_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 135, 1)
+#define WMI_SET_STA_P2P_NAN_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 135, 1, val)
+#define WMI_GET_STA_P2P_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 136, 1)
+#define WMI_SET_STA_P2P_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 136, 1, val)
+#define WMI_GET_STA_SAP_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 137, 1)
+#define WMI_SET_STA_SAP_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 137, 1, val)
+#define WMI_GET_STA_NAN_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 138, 1)
+#define WMI_SET_STA_NAN_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 138, 1, val)
+/* Reserving 16 bits for accomodating other 3 port concurrencies later */
+
+#define WMI_GET_STA_SAP_P2P_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 155, 1)
+#define WMI_SET_STA_SAP_P2P_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 155, 1, val)
+#define WMI_GET_STA_SAP_NAN_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 156, 1)
+#define WMI_SET_STA_SAP_NAN_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 156, 1, val)
+#define WMI_GET_STA_P2P_P2P_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 157, 1)
+#define WMI_SET_STA_P2P_P2P_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 157, 1, val)
+#define WMI_GET_STA_P2P_NAN_TDLS_SUPPORT(var, feature_bitmap)   \
+        WMI_GET_BITS_ARRAY_LEN32_BYTES(var, feature_bitmap, 158, 1)
+#define WMI_SET_STA_P2P_NAN_TDLS_SUPPORT(feature_bitmap, val)   \
+        WMI_SET_BITS_ARRAY_LEN32_BYTES(feature_bitmap, 158, 1, val)
+
 /*
  * Specify how many A_UINT32 words are needed to hold the feature bitmap flags.
  * This value may change over time.
@@ -5457,7 +5519,7 @@ typedef enum {
  * It is provided simply as a convenience for the feature_set_bitmap sender to
  * know how many 32-bit words to allocate for the bitmap.
  */
-#define WMI_FEATURE_SET_BITMAP_ARRAY_LEN32 4
+#define WMI_FEATURE_SET_BITMAP_ARRAY_LEN32 6
 
 /**
  * TLV for channel list

+ 1 - 1
fw/wmi_version.h

@@ -37,7 +37,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_ 1422
+#define __WMI_REVISION_ 1423
 
 /** The Version Namespace should not be normally changed. Only
  *  host and firmware of the same WMI namespace will work