Browse Source

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

Change-Id: I44dc642992eb4237cc25280c65a79aa3373888b4
WMI: add VDEV_PARAM_ENABLE_SR_PROHIBIT_CMD msg def
CRs-Fixed: 2262693
spuligil 2 years ago
parent
commit
7a5f851601
3 changed files with 19 additions and 1 deletions
  1. 7 0
      fw/wmi_tlv_defs.h
  2. 11 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 7 - 0
fw/wmi_tlv_defs.h

@@ -1294,6 +1294,7 @@ typedef enum {
     WMITLV_TAG_STRUC_wmi_ipa_per_mac_stats,
     WMITLV_TAG_STRUC_wmi_pdev_featureset_cmd_fixed_param,
     WMITLV_TAG_STRUC_wmi_regulatory_fcc_rule_struct,
+    WMITLV_TAG_STRUC_wmi_vdev_param_enable_sr_prohibit_fixed_param,
 } WMITLV_TAG_ID;
 
 /*
@@ -1800,6 +1801,7 @@ typedef enum {
     OP(WMI_COEX_DBAM_CMDID) \
     OP(WMI_PDEV_FEATURESET_CMDID) \
     OP(WMI_ROAM_MLO_CONFIG_CMDID) \
+    OP(WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID) \
     /* add new CMD_LIST elements above this line */
 
 
@@ -5136,6 +5138,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_WOW_COAP_GET_BUF_INFO_CMDID);
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_coex_dbam_cmd_fixed_param, wmi_coex_dbam_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
 WMITLV_CREATE_PARAM_STRUC(WMI_COEX_DBAM_CMDID);
 
+/* VDEV SR prohibit cmd */
+#define WMITLV_TABLE_WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID(id,op,buf,len) \
+    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_param_enable_sr_prohibit_fixed_param, wmi_vdev_param_enable_sr_prohibit_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID);
+
 
 
 /************************** TLV definitions of WMI events *******************************/

+ 11 - 0
fw/wmi_unified.h

@@ -614,6 +614,9 @@ typedef enum {
 
     WMI_VDEV_PN_MGMT_RX_FILTER_CMDID,
 
+    /** Enable SR prohibit feature for TIDs of vdev */
+    WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID,
+
     /* peer specific commands */
 
     /** create a peer */
@@ -32483,6 +32486,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
         WMI_RETURN_STRING(WMI_WOW_COAP_GET_BUF_INFO_CMDID);
         WMI_RETURN_STRING(WMI_COEX_DBAM_CMDID);
         WMI_RETURN_STRING(WMI_PDEV_FEATURESET_CMDID);
+        WMI_RETURN_STRING(WMI_VDEV_PARAM_ENABLE_SR_PROHIBIT_CMDID);
     }
 
     return (A_UINT8 *) "Invalid WMI cmd";
@@ -39851,6 +39855,13 @@ typedef struct
     A_UINT32 cwmax;
 } wmi_qos_params_t;
 
+typedef struct {
+    A_UINT32 tlv_header;
+    A_UINT32 vdev_id;
+    A_UINT32 tidmap; /* Bitmap specifying the TIDs for which prohibit would be set/unset */
+    A_UINT32 prohibit_enable; /* 0 for Disable, 1 for Enable */
+} wmi_vdev_param_enable_sr_prohibit_fixed_param;
+
 typedef struct
 {
     /** Channel frequency in MHz */

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