Explorar o código

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

Add WMI_ANT_CONTROLLER_CMD msg def

Change-Id: Ie1a2906d6a88a74b86c36480656ca771e95d0c83
CRs-Fixed: 2262693
spuligil %!s(int64=5) %!d(string=hai) anos
pai
achega
018b5d5204
Modificáronse 3 ficheiros con 18 adicións e 1 borrados
  1. 7 0
      fw/wmi_tlv_defs.h
  2. 10 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 7 - 0
fw/wmi_tlv_defs.h

@@ -1064,6 +1064,7 @@ typedef enum {
     WMITLV_TAG_STRUC_wmi_audio_aggr_statistics_event_fixed_param,
     WMITLV_TAG_STRUC_wmi_audio_aggr_group_stats,
     WMITLV_TAG_STRUC_wmi_audio_aggr_peer_stats,
+    WMITLV_TAG_STRUC_wmi_ant_controller_cmd_fixed_param,
 } WMITLV_TAG_ID;
 
 /*
@@ -1499,6 +1500,7 @@ typedef enum {
     OP(WMI_VDEV_GET_BIG_DATA_P2_CMDID) \
     OP(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID) \
     OP(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID) \
+    OP(WMI_ANT_CONTROLLER_CMDID) \
     /* add new CMD_LIST elements above this line */
 
 
@@ -2534,6 +2536,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_CONFIG_CMDID);
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_output_cmd_fixed_param, wmi_gpio_output_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
 WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_OUTPUT_CMDID);
 
+/* Antenna Controller config Cmd */
+#define WMITLV_TABLE_WMI_ANT_CONTROLLER_CMDID(id,op,buf,len) \
+    WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_ant_controller_cmd_fixed_param, wmi_ant_controller_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
+WMITLV_CREATE_PARAM_STRUC(WMI_ANT_CONTROLLER_CMDID);
+
 /* Peer add WDA entry Cmd */
 #define WMITLV_TABLE_WMI_PEER_ADD_WDS_ENTRY_CMDID(id,op,buf,len) \
     WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_add_wds_entry_cmd_fixed_param, wmi_peer_add_wds_entry_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)

+ 10 - 0
fw/wmi_unified.h

@@ -1042,6 +1042,9 @@ typedef enum {
     /* Txbf configuration command */
     WMI_TXBF_CMDID,
 
+    /* Antenna Controller, connected to wlan debug uart/GPIO. */
+    WMI_ANT_CONTROLLER_CMDID,
+
     /* FWTEST Commands */
     WMI_FWTEST_VDEV_MCC_SET_TBTT_MODE_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_FWTEST),
     /** set NoA descs **/
@@ -16274,6 +16277,12 @@ typedef struct {
     A_UINT32 gpio_num; /* GPIO number which changed state */
 } wmi_gpio_input_event_fixed_param;
 
+/* WMI_ANT_CONTROLLER_CMDID */
+typedef struct {
+    A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_ant_controller_cmd_fixed_param */
+    A_UINT32 ant_controller_enable;
+} wmi_ant_controller_cmd_fixed_param;
+
 /* WMI_P2P_DISC_EVENTID */
 enum {
     P2P_DISC_SEARCH_PROB_REQ_HIT = 0, /* prob req hit the p2p find pattern */
@@ -25815,6 +25824,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
         WMI_RETURN_STRING(WMI_VDEV_GET_BIG_DATA_P2_CMDID);
         WMI_RETURN_STRING(WMI_AUDIO_AGGR_GET_STATISTICS_CMDID);
         WMI_RETURN_STRING(WMI_AUDIO_AGGR_RESET_STATISTICS_CMDID);
+        WMI_RETURN_STRING(WMI_ANT_CONTROLLER_CMDID);
     }
 
     return "Invalid WMI cmd";

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