From 5d3d10b559d1a232e846ad7bcd31b4b4042cfb14 Mon Sep 17 00:00:00 2001 From: Alex Naidis Date: Thu, 1 Dec 2016 18:11:58 +0100 Subject: [PATCH] sdm660-common: wlan: Smarter decisions on whether to use a 2Ghz or 5Ghz AP. - Implement a smarter system on whether to connect to the provided 2Ghz or 5Ghz network. Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324 --- configs/wifi/WCNSS_qcom_cfg.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configs/wifi/WCNSS_qcom_cfg.ini b/configs/wifi/WCNSS_qcom_cfg.ini index de697759..97c089db 100644 --- a/configs/wifi/WCNSS_qcom_cfg.ini +++ b/configs/wifi/WCNSS_qcom_cfg.ini @@ -649,6 +649,10 @@ gEnableSNRMonitoring=1 # 1 - enable (Skip DFS Channel) gSkipDfsChannelInP2pSearch=0 +# TheCrazyLex@PA Prefer connecting to 5Ghz AP +# even if its RSSI is lower by 5dBm than the 2.4Ghz AP. +gRoamPrefer5GHz=1 +gSelect5GHzMargin=5 END # Note: Configuration parser would not read anything past the END marker