From 04fcb9a612f8cdc39375e2d9e6fb442d3f86554a Mon Sep 17 00:00:00 2001 From: Alex Naidis Date: Thu, 9 Jan 2025 00:44:22 +0530 Subject: [PATCH] sm6150-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 Signed-off-by: therealmharc --- configs/wifi/WCNSS_qcom_cfg.ini | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configs/wifi/WCNSS_qcom_cfg.ini b/configs/wifi/WCNSS_qcom_cfg.ini index 38067dd..eac45de 100644 --- a/configs/wifi/WCNSS_qcom_cfg.ini +++ b/configs/wifi/WCNSS_qcom_cfg.ini @@ -596,6 +596,11 @@ gEnableConcurrentSTA=wlan1 #Enable/Disable SNR monitoring gEnableSNRMonitoring=1 +# TheCrazyLex@PA Prefer connecting to 5Ghz AP +# even if its RSSI is lower by 3dBm than the 2.4Ghz AP +gRoamPrefer5GHz=1 +gSelect5GHzMargin=3 + # WLM latency Enable wlm_latency_enable=1