qcacld-3.0: Clean up roam_scan_period_after_inactivity
Cleanup roam scan period after inactivity timer. Change-Id: Idba15ef9c41fdfe339e24df4ec87a66277986ee3 CRs-Fixed: 3515188
This commit is contained in:

committed by
Rahul Choudhary

parent
6a3ebea45e
commit
f2c84fdaac
@@ -3125,12 +3125,8 @@
|
||||
* firmware gets empty roam scan results during periodic roam scans.
|
||||
* 1. roam_scan_inactivity_time
|
||||
* 2. roam_inactive_data_count
|
||||
* 3. roam_scan_period_after_inactivity
|
||||
* The first two ini "roam_scan_inactivity_time" and "roam_inactive_data_count"
|
||||
* is frames the criteria to detect if the DUT is inactive. If the device is
|
||||
* identified to be inactive based on the above two ini, then the value,
|
||||
* "roam_scan_period_after_inactivity" will be used as periodic roam scan
|
||||
* duration.
|
||||
* is frames the criteria to detect if the DUT is inactive.
|
||||
*
|
||||
* Related: roam_inactive_data_count
|
||||
*
|
||||
@@ -3214,37 +3210,6 @@
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Roam scan inactivity period data pkt count")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* roam_scan_period_after_inactivity - Roam scan duration in ms after device is
|
||||
* out of inactivity state.
|
||||
*
|
||||
* @Min: 0
|
||||
* @Max: 0xFFFFFFFF
|
||||
* @Default: 120000
|
||||
*
|
||||
* If there is empty scan results during roam scan, firmware will move to
|
||||
* roam scan inactive state if roam_scan_inactivity and
|
||||
* roam_inactive_data_count criteria are met.
|
||||
* This ini is used to configure the roam scan duration in ms once the
|
||||
* inactivity is finished and roam scan can be started.
|
||||
*
|
||||
* Related: roam_scan_inactivity_time, roam_inactive_data_count
|
||||
*
|
||||
* Supported Feature: Roaming
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD CFG_INI_UINT( \
|
||||
"roam_scan_period_after_inactivity", \
|
||||
0, \
|
||||
0xFFFFFFFF, \
|
||||
120000, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Roam scan period post inactivity")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* RoamScan_InactiveTimer - Roam scan duration in sec after device is
|
||||
@@ -3420,7 +3385,6 @@
|
||||
CFG(CFG_FT_IM_ROAMING) \
|
||||
CFG(CFG_ROAM_INACTIVE_COUNT) \
|
||||
CFG(CFG_ROAM_PASSIVE_MAX_CHANNEL_TIME) \
|
||||
CFG(CFG_POST_INACTIVITY_ROAM_SCAN_PERIOD) \
|
||||
CFG(CFG_ROAM_SCAN_INACTIVE_TIMER) \
|
||||
CFG(CFG_BSS_LOAD_TRIG_6G_RSSI_THRES) \
|
||||
CFG(CFG_BSS_LOAD_TRIG_5G_RSSI_THRES) \
|
||||
|
@@ -1956,8 +1956,6 @@ struct fw_scan_channels {
|
||||
* milliseconds for which the device is considered to be inactive.
|
||||
* @roam_inactive_data_packet_count: Maximum allowed data packets count
|
||||
* during roam_scan_inactivity_time.
|
||||
* @roam_scan_period_after_inactivity: Roam scan period after device was in
|
||||
* inactive state
|
||||
* @fw_akm_bitmap: Supported Akm suites of firmware
|
||||
* @roam_full_scan_period: Idle period in seconds between two successive
|
||||
* full channel roam scans
|
||||
@@ -2090,7 +2088,6 @@ struct wlan_mlme_lfr_cfg {
|
||||
bool roaming_scan_policy;
|
||||
uint32_t roam_scan_inactivity_time;
|
||||
uint32_t roam_inactive_data_packet_count;
|
||||
uint32_t roam_scan_period_after_inactivity;
|
||||
uint32_t fw_akm_bitmap;
|
||||
uint32_t roam_full_scan_period;
|
||||
struct fw_scan_channels saved_freq_list;
|
||||
|
Reference in New Issue
Block a user