From ad3553044c135216c374283b567acecf2c21b66b Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Wed, 3 May 2023 11:11:47 +0800 Subject: [PATCH] sdm660-common: Increase 5 GHz network signal tolerance On devices with cellular data available, I've been experiencing Wi-Fi dropouts on 5 GHz networks where it disconnects and falls back to cellular data around a RSSI of -77 dBm. While the Wi-Fi quality may not be ideal at this signal level, it is still better to stay on it than switch to cellular data because switching networks can be very disruptive to the user. To make matters worse, the signal tends to oscillate around -77 dBm in my case, which causes it to oscillate between Wi-Fi and cellular data every few seconds. This causes far more disruptions than staying on weak Wi-Fi would. These signal levels were measured empirically on a Pixel 5, but they should apply to most devices. 2.4 GHz values were found to be more or less accurate, but 5 GHz networks continued to work past the AOSP thresholds. The iPhone 6s was also content with these signal levels and still displayed 2 of 3 signal levels at -77 dBm. Change-Id: I377be8374955530a5f6c084620460cac87e6a126 Signed-off-by: pix106 --- rro_overlay/WifiOverlay/res/values/config.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/rro_overlay/WifiOverlay/res/values/config.xml b/rro_overlay/WifiOverlay/res/values/config.xml index 55956db2..3d31abc0 100644 --- a/rro_overlay/WifiOverlay/res/values/config.xml +++ b/rro_overlay/WifiOverlay/res/values/config.xml @@ -72,4 +72,12 @@ 32 + + + + -85 + -80 + + -90 + -83