diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index b4a801b896f0..c8d4a77fb522 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -1376,6 +1376,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_gpio_state_req_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param, WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_stats_struct, + WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_event_fixed_param, } WMITLV_TAG_ID; /* * IMPORTANT: Please add _ALL_ WMI Commands Here. @@ -2215,6 +2216,7 @@ typedef enum { OP(WMI_VENDOR_PDEV_EVENTID) \ OP(WMI_VENDOR_VDEV_EVENTID) \ OP(WMI_VENDOR_PEER_EVENTID) \ + OP(WMI_PDEV_SET_RF_PATH_RESP_EVENTID) \ /* add new EVT_LIST elements above this line */ @@ -5818,6 +5820,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_INPUT_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param, wmi_gpio_state_res_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_STATE_RES_EVENTID); +/* RF Path Res Event */ +#define WMITLV_TABLE_WMI_PDEV_SET_RF_PATH_RESP_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_event_fixed_param, wmi_pdev_set_rf_path_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) +WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RF_PATH_RESP_EVENTID); + /* CSA Handling Event */ #define WMITLV_TABLE_WMI_CSA_HANDLING_EVENTID(id,op,buf,len)\ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 9ac2d508ded9..bf1c0f26496c 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -1743,6 +1743,9 @@ typedef enum { /* Event to send target rate to power table update status */ WMI_PDEV_SET_TGTR2P_TABLE_EVENTID, + /* Event to indicate completion on RF path */ + WMI_PDEV_SET_RF_PATH_RESP_EVENTID, + /* VDEV specific events */ /** VDEV started event in response to VDEV_START request */ @@ -45244,6 +45247,29 @@ typedef struct { A_UINT32 rf_path; } wmi_pdev_set_rf_path_cmd_fixed_param; +typedef struct { + /* + * TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_event_fixed_param + */ + A_UINT32 tlv_header; + /* pdev_id for identifying the MAC */ + A_UINT32 pdev_id; + /* + * rf_path : + * 0 - primary RF path + * 1 - secondary RF path + */ + A_UINT32 rf_path; + /* + * status : + * TRUE (0) - for recieved and cache the value in FW + * FALSE (1) : + * a. pdev_id for which secondary RF path is not available + * b. caching of the rf_path got failed in FW + */ + A_UINT32 status; +} wmi_pdev_set_rf_path_event_fixed_param; + #define WMI_SET_RX_PEER_STATS_RESP_TYPE(rx_params, value) \ WMI_SET_BITS(rx_params, 0, 1, value) #define WMI_GET_RX_PEER_STATS_RESP_TYPE(rx_params) \ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index d2ff3cd29eec..182386ad7dea 100644 --- a/fw/wmi_version.h +++ b/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_ 1328 +#define __WMI_REVISION_ 1329 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work