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 <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
Signed-off-by: drkphnx <dark.phnx12@gmail.com>
This commit is contained in:
TheCrazyLex
2021-12-22 18:14:55 +01:00
committed by Sandeep P S
parent 6cb8811cbd
commit dc78aae9b5

View File

@@ -548,6 +548,11 @@ gIPAMediumBandwidthMbps=400
gIPAHighBandwidthMbps=800 gIPAHighBandwidthMbps=800
spectral_disable=1 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 END
# Note: Configuration parser would not read anything past the END marker # Note: Configuration parser would not read anything past the END marker