From dc78aae9b5810ca507d043b4eea7c0c62c2bd871 Mon Sep 17 00:00:00 2001 From: TheCrazyLex Date: Wed, 22 Dec 2021 18:14:55 +0100 Subject: [PATCH] sm8250-common: wifi: Improve 5GHz AP selection preference * Implement a smarter system on whether to connect to the provided 2Ghz or 5Ghz network. Change-Id: Idd41e3d9a5e2bde3ea9b4873dffc4274d1530324 Signed-off-by: Adithya R Signed-off-by: PainKiller3 Signed-off-by: drkphnx --- wifi/WCNSS_qcom_cfg_setchain.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wifi/WCNSS_qcom_cfg_setchain.ini b/wifi/WCNSS_qcom_cfg_setchain.ini index 46fcd8e..1b86538 100644 --- a/wifi/WCNSS_qcom_cfg_setchain.ini +++ b/wifi/WCNSS_qcom_cfg_setchain.ini @@ -548,6 +548,11 @@ gIPAMediumBandwidthMbps=400 gIPAHighBandwidthMbps=800 spectral_disable=1 +# 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