qcacmn: Refactor scan related ini items
Refactor the following scan related ini items to scan module: CFG_ENABLE_MAC_ADDR_SPOOFING - ini to enable/disable scan mac randomization CFG_SCAN_AGING_TIME - configure scan entries aging time. Previously these values are populated in hdd and passed to scan module through ucfg_scan_update_user_config() function. With new cfg infra, the scan module can directly get these values from cfg component. Change-Id: I0dcbd8253ae46387dd44e68c86f0622f279ba501 CRs-Fixed: 2378985
This commit is contained in:

committed by
nshrivas

parent
8f1ded29ed
commit
9d9a3c492c
@@ -1984,16 +1984,11 @@ void wlan_config_sched_scan_plans_to_wiphy(struct wiphy *wiphy,
|
||||
wiphy->max_sched_scan_ie_len = SCAN_MAX_IE_LENGTH;
|
||||
wiphy->max_sched_scan_plans = SCAN_PNO_MAX_PLAN_REQUEST;
|
||||
|
||||
/*
|
||||
* Exception: Using cfg_get() here because these two
|
||||
* schedule scan params are used only at this place
|
||||
* to copy to wiphy structure
|
||||
*/
|
||||
wiphy->max_sched_scan_plan_interval =
|
||||
cfg_get(psoc, CFG_MAX_SCHED_SCAN_PLAN_INTERVAL);
|
||||
ucfg_scan_get_max_sched_scan_plan_interval(psoc);
|
||||
|
||||
wiphy->max_sched_scan_plan_iterations =
|
||||
cfg_get(psoc, CFG_MAX_SCHED_SCAN_PLAN_ITERATIONS);
|
||||
ucfg_scan_get_max_sched_scan_plan_iterations(psoc);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user