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:
Kapil Gupta 2017-01-20 18:59:43 +05:30 • committed by qcabuildsw
commit 6e6c26b06e

View file

@ -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;