diff options
| author | Kapil Gupta <kapgupta@codeaurora.org> | 2017-01-20 18:59:43 +0530 |
|---|---|---|
| committer | qcabuildsw <qcabuildsw@localhost> | 2017-01-25 00:55:49 -0800 |
| commit | f7083ac60c5a719fc3b38217e1408f438c913eba (patch) | |
| tree | 3a01d5e64bea0722e4c93d14cd8ae3542be17116 | |
| parent | 908020caf18a11d3baa9a1319d51e49c9b768b2f (diff) | |
qcacld-3.0: Disable PER based roaming by default
Add changes to disable PER based roam by default.
CRs-Fixed: 1114094
Change-Id: I52768029d3ccf007b7d9999e796de3366ac0ae35
| -rw-r--r-- | core/hdd/inc/wlan_hdd_cfg.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/core/hdd/inc/wlan_hdd_cfg.h b/core/hdd/inc/wlan_hdd_cfg.h index 6068d2f7995b..b1fd4d55a246 100644 --- a/core/hdd/inc/wlan_hdd_cfg.h +++ b/core/hdd/inc/wlan_hdd_cfg.h @@ -6104,13 +6104,19 @@ enum dot11p_mode { * <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 * @@ -6122,8 +6128,8 @@ enum dot11p_mode { */ #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> @@ -7493,7 +7499,7 @@ struct hdd_config { uint16_t wow_pulse_interval_high; uint16_t wow_pulse_interval_low; #endif - 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; |
