From 82d705e5834af7be817affad06c767153279da46 Mon Sep 17 00:00:00 2001 From: Alex Naidis Date: Thu, 1 Dec 2016 18:11:58 +0100 Subject: [PATCH] sdm710-common: wifi: Smarter decisions on whether to use a 2 or 5Ghz AP Implement a smarter system on whether to connect to the provided 2Ghz or 5Ghz network. Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324 Signed-off-by: Alex Naidis --- wifi/WCNSS_qcom_cfg.ini | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini index 7a8030c..e8c539a 100644 --- a/wifi/WCNSS_qcom_cfg.ini +++ b/wifi/WCNSS_qcom_cfg.ini @@ -454,6 +454,14 @@ gTxBFCsnValue=4 # enable/disable SAE support in driver sae_enabled=0 + +gSelect5GHzMargin=5 + +# Prefer connecting to 5Ghz AP +# even if its RSSI is lower by 3dBm than the 2.4Ghz AP +gRoamPrefer5GHz=1 +gSelect5GHzMargin=3 + END # Note: Configuration parser would not read anything past the END marker