From 0d4c5dec94f70406261dd6bb0a30ebfb489ff969 Mon Sep 17 00:00:00 2001 From: spuligil Date: Fri, 6 Aug 2021 06:01:00 -0700 Subject: [PATCH] fw-api: CL 15089685 - update fw common interface files Change-Id: I7da4e47c4558925545ece80273f6abb5411d6c3c WMI: add opt spectral chan list to START_SCAN_CMD msg CRs-Fixed: 2262693 --- fw/wmi_tlv_defs.h | 3 ++- fw/wmi_unified.h | 5 +++++ fw/wmi_version.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 72a1deaac36b..53afb7b1782c 100644 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -2176,7 +2176,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_PLMREQ_STOP_CMDID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vendor_oui, vendor_oui, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, phymode_list, WMITLV_SIZE_VAR) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_short_ssid, hint_freq_short_ssid_list, WMITLV_SIZE_VAR) \ - WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_bssid, hint_freq_bssid_list, WMITLV_SIZE_VAR) + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_FIXED_STRUC, wmi_hint_freq_bssid, hint_freq_bssid_list, WMITLV_SIZE_VAR) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, spectral_chan_list, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_START_SCAN_CMDID); /* Scan adaptive dwell mode configuration */ diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index fec1eddf9baf..a85c387a5b64 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4555,6 +4555,10 @@ typedef struct { * we'll move to next channel. */ A_UINT32 min_dwell_time_6ghz; + /** + * dwell time in msec for 6 GHz channel of spectral scan channel list + */ + A_UINT32 dwell_time_spectral_ch; /** * TLV (tag length value) parameters follow the scan_cmd @@ -4575,6 +4579,7 @@ typedef struct { * A_UINT8 phymode_list[0 or num_chan]; // see WMI_SCAN_CHAN_MODE macros * wmi_hint_freq_short_ssid hint_freq_short_ssid[num]; // the num can be calculated by TLV len * wmi_hint_freq_bssid hint_freq_bssid[num]; // the num can be calculated by TLV len + * A_UINT32 spectral_chan_list[num]; // in MHz, the num can be calculated by TLV len * *** NOTE: * *** Use caution when using further TLVs, in case the additional * *** TLVs cause the message size to exceed the of the buffer to diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 79781c4bf071..d7ff75bc8d87 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_ 1041 +#define __WMI_REVISION_ 1042 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work