diff --git a/fw/wmi_services.h b/fw/wmi_services.h index 74ba7ba35e..75164b688e 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -399,6 +399,7 @@ typedef enum { WMI_SERVICE_DELETE_ALL_PEER_SUPPORT = 214, /* target supports cmd to delete all peers within a vdev */ WMI_SERVICE_DYNAMIC_HW_MODE_SWITCH_SUPPORT = 215, /* target supports Dynamic HW mode switch */ WMI_SERVICE_MSDU_FLOW_OVERRIDE_BY_HOST = 216, /* target supports flow override feature */ + WMI_SERVICE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENT= 217, /* target will send WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENT */ /******* ADD NEW SERVICES HERE *******/ diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index e315c7b479..a027fb9e59 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -991,6 +991,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_twt_btwt_remove_sta_complete_event_fixed_param, WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_vdev_delete_all_peer_resp_event_fixed_param, + WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param, } WMITLV_TAG_ID; /* @@ -1624,6 +1625,7 @@ typedef enum { OP(WMI_TWT_BTWT_INVITE_STA_COMPLETE_EVENTID) \ OP(WMI_TWT_BTWT_REMOVE_STA_COMPLETE_EVENTID) \ OP(WMI_VDEV_DELETE_ALL_PEER_RESP_EVENTID) \ + OP(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID) \ /* add new EVT_LIST elements above this line */ @@ -4042,6 +4044,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_AVAILABLE_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_SERVICE_READY_EXT_EVENTID); +#define WMITLV_TABLE_WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param, wmi_chan_rf_characterization_info_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, WMI_CHAN_RF_CHARACTERIZATION_INFO, wmi_chan_rf_characterization_info, WMITLV_SIZE_VAR) +WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID); + /* iface combination indication event */ #define WMITLV_TABLE_WMI_IFACE_COMBINATION_IND_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_wlanfw_iface_cmb_ind_event_fixed_param, wmi_wlanfw_iface_cmb_ind_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 11e08808bf..f176b72a46 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -1336,6 +1336,7 @@ typedef enum { /* Event to report a rogue ap info that is detected in fw */ WMI_PDEV_RAP_INFO_EVENTID, + WMI_CHAN_RF_CHARACTERIZATION_INFO_EVENTID, /* VDEV specific events */ /** VDEV started event in response to VDEV_START request */ @@ -2534,6 +2535,16 @@ typedef struct { */ } wmi_service_ready_ext_event_fixed_param; +typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_chan_rf_characterization_info_event_fixed_param */ + /* + * A variable-length TLV array of wmi_chan_rf_characterization_info will + * follow this fixed_param TLV, containing rx characterization info for + * primary channels. + * WMI_CHAN_RF_CHARACTERIZATION_INFO wmi_chan_rf_characterization_info[]; + */ +} wmi_chan_rf_characterization_info_event_fixed_param; + typedef enum { WMI_FW_STA_RTT_INITR = 0x00000001, WMI_FW_STA_RTT_RESPR = 0x00000002, diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 4004b906fe..f856f1d7a7 100644 --- a/fw/wmi_version.h +++ b/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_ 687 +#define __WMI_REVISION_ 688 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work