qcacmn: Add new assoc and nonassoc ini for 6g scan
Add new ini's for assoc active and passive dwell time for 6g. These will be applied if STA is connected. Change-Id: I680fbd3038968ecf6ff9920fff982456135bfd77 CRs-Fixed: 2941359
This commit is contained in:

committed by
Madan Koyyalamudi

父節點
ad0f442d8f
當前提交
2b7f792138
@@ -221,6 +221,51 @@ enum scan_mode_6ghz {
|
||||
0, 10000, 60,\
|
||||
CFG_VALUE_OR_DEFAULT, "passive dwell time for 6G channels")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* active_max_channel_time_6g_conc - Set max time for active 6G
|
||||
* channel scan when associated to AP.
|
||||
* @Min: 0
|
||||
* @Max: 10000
|
||||
* @Default: 40
|
||||
*
|
||||
* This ini is used to set maximum time in msecs spent in
|
||||
* active 6G channel scan
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_ACTIVE_MAX_6G_CHANNEL_TIME_CONC CFG_INI_UINT(\
|
||||
"active_max_channel_time_6g_conc",\
|
||||
0, 10000, 40,\
|
||||
CFG_VALUE_OR_DEFAULT, "active conc dwell time for 6G channels")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* passive_max_channel_time_6g_conc - Set max time for passive 6G
|
||||
* channel scan when associated to AP.
|
||||
* @Min: 0
|
||||
* @Max: 10000
|
||||
* @Default: 40
|
||||
*
|
||||
* This ini is used to set maximum time in msecs spent in
|
||||
* passive 6G chan scan
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_PASSIVE_MAX_6G_CHANNEL_TIME_CONC CFG_INI_UINT(\
|
||||
"passive_max_channel_time_6g_conc",\
|
||||
0, 10000, 40,\
|
||||
CFG_VALUE_OR_DEFAULT,\
|
||||
"passive conc dwell time for 6G channels")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* gPassiveMaxChannelTime - Set max channel time for passive scan
|
||||
@@ -1346,6 +1391,8 @@ enum scan_mode_6ghz {
|
||||
CFG(CFG_PASSIVE_MAX_CHANNEL_TIME) \
|
||||
CFG(CFG_ACTIVE_MAX_6G_CHANNEL_TIME) \
|
||||
CFG(CFG_PASSIVE_MAX_6G_CHANNEL_TIME) \
|
||||
CFG(CFG_ACTIVE_MAX_6G_CHANNEL_TIME_CONC) \
|
||||
CFG(CFG_PASSIVE_MAX_6G_CHANNEL_TIME_CONC) \
|
||||
CFG(CFG_SCAN_NUM_PROBES) \
|
||||
CFG(CFG_SCAN_PROBE_REPEAT_TIME) \
|
||||
CFG(CFG_ADAPTIVE_SCAN_DWELL_MODE) \
|
||||
|
@@ -771,6 +771,10 @@ wlan_scan_global_init(struct wlan_objmgr_psoc *psoc,
|
||||
cfg_get(psoc, CFG_ACTIVE_MAX_6G_CHANNEL_TIME);
|
||||
scan_obj->scan_def.passive_dwell_6g =
|
||||
cfg_get(psoc, CFG_PASSIVE_MAX_6G_CHANNEL_TIME);
|
||||
scan_obj->scan_def.active_dwell_time_6g_conc =
|
||||
cfg_get(psoc, CFG_ACTIVE_MAX_6G_CHANNEL_TIME_CONC);
|
||||
scan_obj->scan_def.passive_dwell_time_6g_conc =
|
||||
cfg_get(psoc, CFG_PASSIVE_MAX_6G_CHANNEL_TIME_CONC);
|
||||
scan_obj->scan_def.passive_dwell =
|
||||
cfg_get(psoc, CFG_PASSIVE_MAX_CHANNEL_TIME);
|
||||
scan_obj->scan_def.max_rest_time = SCAN_MAX_REST_TIME;
|
||||
|
Reference in New Issue
Block a user