diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index a6eed5eacc..01dd3f4492 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -1430,6 +1430,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_sar_flags, WMITLV_TAG_STRUC_wmi_pdev_enable_xlna_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_pdev_enable_xlna_event_fixed_param, + WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_ext2_fixed_param, } WMITLV_TAG_ID; /* * IMPORTANT: Please add _ALL_ WMI Commands Here. @@ -2298,6 +2299,7 @@ typedef enum { OP(WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_EVENTID) \ OP(WMI_MLO_LINK_INFO_SYNC_EVENTID) \ OP(WMI_PDEV_ENABLE_XLNA_EVENTID) \ + OP(WMI_REG_CHAN_LIST_CC_EXT2_EVENTID) \ /* add new EVT_LIST elements above this line */ @@ -6776,6 +6778,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_fcc_rule_struct, reg_fcc_rule, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EXT_EVENTID); +/* Ext2 regulatory channel list of current country code */ +#define WMITLV_TABLE_WMI_REG_CHAN_LIST_CC_EXT2_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_ext2_fixed_param, wmi_reg_chan_list_cc_event_ext2_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_regulatory_rule_ext_struct, reg_rule_array, WMITLV_SIZE_VAR) +WMITLV_CREATE_PARAM_STRUC(WMI_REG_CHAN_LIST_CC_EXT2_EVENTID); + /* WMI AFC info event */ #define WMITLV_TABLE_WMI_AFC_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_afc_event_fixed_param, wmi_afc_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 91ff5dc59d..b1f89d1a15 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -2429,6 +2429,7 @@ typedef enum { WMI_11D_NEW_COUNTRY_EVENTID, WMI_REG_CHAN_LIST_CC_EXT_EVENTID, WMI_AFC_EVENTID, + WMI_REG_CHAN_LIST_CC_EXT2_EVENTID, /** Events for TWT(Target Wake Time) of STA and AP */ WMI_TWT_ENABLE_COMPLETE_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_TWT), @@ -37867,6 +37868,24 @@ typedef struct { */ } wmi_reg_chan_list_cc_event_ext_fixed_param; +typedef struct { + A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_reg_chan_list_cc_event_ext2_fixed_param */ + A_UINT32 is_c2c_supported; + A_UINT32 domain_code_6ghz_c2c_lpi; + A_UINT32 domain_code_6ghz_c2c_sp; + A_UINT32 min_bw_6ghz_c2c_lpi; + A_UINT32 max_bw_6ghz_c2c_lpi; + A_UINT32 min_bw_6ghz_c2c_sp; + A_UINT32 max_bw_6ghz_c2c_sp; + A_UINT32 num_6ghz_reg_rules_c2c_lpi; + A_UINT32 num_6ghz_reg_rules_c2c_sp; + +/* + * This fixed_param TLV is followed by the following TLVs: + * - wmi_regulatory_rule_ext reg_rule_array[] struct TLV array. + */ +} wmi_reg_chan_list_cc_event_ext2_fixed_param; + /* WFA AFC Version */ #define WMI_AFC_WFA_MINOR_VERSION_GET(afc_wfa_version) WMI_GET_BITS(afc_wfa_version, 0, 16) #define WMI_AFC_WFA_MINOR_VERSION_SET(afc_wfa_version, value) WMI_SET_BITS(afc_wfa_version, 0, 16, value) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 1063890c58..7da24550f8 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_ 1448 +#define __WMI_REVISION_ 1449 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work