Browse Source

qcacmn: Fix for scan passive dwell time

Prensently for initial scan and roam passive scan dwell time,
the same ini CFG_PASSIVE_MAX_CHANNEL_TIME is used. This will
cause initial scan to have the roam passive scan value.

Decouple passive scan and roam passive scan ini parameter by
adding new ini param for roaming

Change-Id: I7bffb24a1e45548ed57492abc35e80958e9955ee
CRs-Fixed: 3272817
Vinod Kumar Myadam 2 năm trước cách đây
mục cha
commit
2afbe37a20
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      umac/scan/dispatcher/inc/cfg_scan.h

+ 2 - 3
umac/scan/dispatcher/inc/cfg_scan.h

@@ -302,8 +302,7 @@ enum scan_mode_6ghz {
 
 /*
  * <ini>
- * gPassiveMaxChannelTime/RoamScan_PassiveCH_DwellTime - Set max channel time
- * for passive scan
+ * gPassiveMaxChannelTime - Set max channel time for passive scan
  * @Min: 0
  * @Max: 10000
  * @Default: 110
@@ -318,7 +317,7 @@ enum scan_mode_6ghz {
  * </ini>
  */
 #define CFG_PASSIVE_MAX_CHANNEL_TIME CFG_INI_UINT(\
-		"gPassiveMaxChannelTime RoamScan_PassiveCH_DwellTime",\
+		"gPassiveMaxChannelTime",\
 		0, 10000, PLATFORM_VALUE(110, 300),\
 		CFG_VALUE_OR_DEFAULT, "passive dwell time")