mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 16:16:15 -04:00
qcacld-3.0: Disable PER based roaming by default
Add changes to disable PER based roam by default. CRs-Fixed: 1114094 Change-Id: I52768029d3ccf007b7d9999e796de3366ac0ae35
This commit is contained in:
parent
5cda2251d6
commit
6e6c26b06e
1 changed files with 11 additions and 5 deletions
|
|
@ -8894,13 +8894,19 @@ enum hdd_wext_control {
|
|||
* <ini>
|
||||
* gper_roam_enabled - To enabled/disable PER based roaming in FW
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 1
|
||||
* @Max: 3
|
||||
* @Default: 0
|
||||
*
|
||||
* This ini is used to enable/disable Packet error based roaming, enabling this
|
||||
* will cause DUT to monitor Tx and Rx traffic and roam to a better candidate
|
||||
* if current is not good enough.
|
||||
*
|
||||
* Values supported:
|
||||
* 0: disabled
|
||||
* 1: enabled for Rx traffic
|
||||
* 2: enabled for Tx traffic
|
||||
* 3: enabled for Tx and Rx traffic
|
||||
*
|
||||
* Related: gper_roam_high_rate_th, gper_roam_low_rate_th,
|
||||
* gper_roam_th_percent, gper_roam_rest_time
|
||||
*
|
||||
|
|
@ -8912,8 +8918,8 @@ enum hdd_wext_control {
|
|||
*/
|
||||
#define CFG_PER_ROAM_ENABLE_NAME "gper_roam_enabled"
|
||||
#define CFG_PER_ROAM_ENABLE_MIN (0)
|
||||
#define CFG_PER_ROAM_ENABLE_MAX (1)
|
||||
#define CFG_PER_ROAM_ENABLE_DEFAULT (CFG_PER_ROAM_ENABLE_MAX)
|
||||
#define CFG_PER_ROAM_ENABLE_MAX (3)
|
||||
#define CFG_PER_ROAM_ENABLE_DEFAULT (0)
|
||||
|
||||
/*
|
||||
* <ini>
|
||||
|
|
@ -9720,7 +9726,7 @@ struct hdd_config {
|
|||
enum hdd_wext_control standard_wext_control;
|
||||
enum hdd_wext_control private_wext_control;
|
||||
bool sap_internal_restart;
|
||||
bool is_per_roam_enabled;
|
||||
uint8_t is_per_roam_enabled;
|
||||
uint32_t per_roam_high_rate_threshold;
|
||||
uint32_t per_roam_low_rate_threshold;
|
||||
uint32_t per_roam_th_percent;
|
||||
|
|
|
|||
Loading…
Reference in a new issue