qcacld-3.0: Introduce ini to configure roam RSSI diff for 6 GHz AP
This is applicable only when the roaming happens from 2.4 GHz/5 GHz to 6 GHz AP. The value is used to check if the 6 GHz AP to which we are roaming (from 2.4 GHz/ 5 GHz) is better than current AP in terms of RSSI. This checking is disabled if the value is set to zero. Change-Id: I77f1183e1fd704dfa153841e669a20c9e75d0fe7 CRs-Fixed: 3353346
This commit is contained in:

committed by
Madan Koyyalamudi

parent
fc8c64aa9e
commit
b73718cf7d
@@ -1356,6 +1356,35 @@
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Enable roam based on rssi")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* RoamRssiDiff6GHz - Enable roam to 6 GHz AP based on rssi
|
||||
* @Min: 0
|
||||
* @Max: 100
|
||||
* @Default: 5
|
||||
*
|
||||
* This INI is used to decide whether to roam to 6 GHz AP or not based on RSSI.
|
||||
* AP1 is the currently associated AP(2.4 GHz / 5 GHz) and AP2(6 GHz) is chosen
|
||||
* for roaming. The Roaming will happen only if AP2 has better Signal Quality
|
||||
* and it has a RSSI better than AP1. RoamRssiDiff6GHz is the number of units
|
||||
* (typically measured in dB) AP2 is better than AP1.
|
||||
*
|
||||
* Related: None
|
||||
*
|
||||
* Supported Feature: Roaming
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
* </ini>
|
||||
*/
|
||||
#define CFG_LFR_ROAM_RSSI_DIFF_6GHZ CFG_INI_UINT( \
|
||||
"RoamRssiDiff6GHz", \
|
||||
0, \
|
||||
100, \
|
||||
5, \
|
||||
CFG_VALUE_OR_DEFAULT, \
|
||||
"Enable 6 GHz roam based on rssi")
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
* bg_rssi_threshold - To set RSSI Threshold for BG scan roaming
|
||||
@@ -3242,6 +3271,7 @@
|
||||
CFG(CFG_LFR_MAWC_FEATURE_ENABLED) \
|
||||
CFG(CFG_LFR_FAST_TRANSITION_ENABLED) \
|
||||
CFG(CFG_LFR_ROAM_RSSI_DIFF) \
|
||||
CFG(CFG_LFR_ROAM_RSSI_DIFF_6GHZ) \
|
||||
CFG(CFG_LFR_ROAM_BG_RSSI_TH) \
|
||||
CFG(CFG_LFR_ENABLE_WES_MODE) \
|
||||
CFG(CFG_LFR_ROAM_SCAN_OFFLOAD_ENABLED) \
|
||||
|
@@ -1865,6 +1865,7 @@ struct fw_scan_channels {
|
||||
* @roam_preauth_retry_count: Configure the max number of preauth retry
|
||||
* @roam_preauth_no_ack_timeout: Configure the no ack timeout period
|
||||
* @roam_rssi_diff: Enable roam based on rssi
|
||||
* @roam_rssi_diff_6ghz: RSSI diff value to be used for roaming to 6 GHz AP.
|
||||
* @roam_scan_offload_enabled: Enable Roam Scan Offload
|
||||
* @neighbor_scan_timer_period: Neighbor scan timer period
|
||||
* @neighbor_scan_min_timer_period: Min neighbor scan timer period
|
||||
@@ -1991,6 +1992,7 @@ struct wlan_mlme_lfr_cfg {
|
||||
uint32_t roam_preauth_retry_count;
|
||||
uint32_t roam_preauth_no_ack_timeout;
|
||||
uint8_t roam_rssi_diff;
|
||||
uint8_t roam_rssi_diff_6ghz;
|
||||
uint8_t bg_rssi_threshold;
|
||||
bool roam_scan_offload_enabled;
|
||||
uint32_t neighbor_scan_timer_period;
|
||||
|
Reference in New Issue
Block a user