Ver Fonte

fw-api: CL 3416014 - update fw common interface files

1) Add sperate rssi threshold of 5g band for bg roaming. 2) Add flags for bg roaming
1) Add sperate rssi threshold of 5g band for bg roaming. 2) Add flags for bg roaming

Change-Id: Ia2512e089cd8a2e9e74d744def0375d721aa5edd
CRs-Fixed: 1107600
spuligil há 7 anos atrás
pai
commit
061cf5365d
2 ficheiros alterados com 13 adições e 1 exclusões
  1. 12 0
      fw/wmi_unified.h
  2. 1 1
      fw/wmi_version.h

+ 12 - 0
fw/wmi_unified.h

@@ -9753,6 +9753,12 @@ typedef struct {
     A_UINT32 roam_dense_traffic_thres;
 } wmi_roam_dense_thres_param;
 
+/* Definition for flags in wmi_roam_bg_scan_roaming_param 
+ * Bit 0: BG roaming enabled when we connect to 2G AP only and roaming to 5G AP only.
+ * Bit 1-31: Reserved
+ */
+#define WMI_ROAM_BG_SCAN_FLAGS_2G_TO_5G_ONLY   1
+
 typedef struct {
     /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_roam_bg_scan_roaming_param */
     A_UINT32 tlv_header;
@@ -9760,6 +9766,12 @@ typedef struct {
     A_UINT32 roam_bg_scan_bad_rssi_thresh;
     /** bitmap for which scan client will enable/disable background roaming. bit position is mapped to the enum WMI_SCAN_CLIENT_ID. 1 = enable, 0 = disable */
     A_UINT32 roam_bg_scan_client_bitmap;
+    /** roam scan rssi threshold for 2G band.
+     *  offset from roam_bg_scan_bad_rssi_thresh, in dB units
+     */
+    A_INT32 bad_rssi_thresh_offset_2g;
+    /* flags for background roaming */
+    A_UINT32 flags;
 } wmi_roam_bg_scan_roaming_param;
 
 /** Beacon filter wmi command info */

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