Browse Source

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
spuligil 3 years ago
parent
commit
0d4c5dec94
3 changed files with 8 additions and 2 deletions
  1. 2 1
      fw/wmi_tlv_defs.h
  2. 5 0
      fw/wmi_unified.h
  3. 1 1
      fw/wmi_version.h

+ 2 - 1
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 */

+ 5 - 0
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

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