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 <sbordenave@gmail.com>
83 lines
4.7 KiB
XML
83 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2019 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
|
|
<!-- These resources are around just to allow their values to be customized
|
|
for different hardware and product builds. Do not translate.
|
|
|
|
NOTE: The naming convention is "config_camelCaseValue". Some legacy
|
|
entries do not follow the convention, but all new entries should. -->
|
|
|
|
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
|
<!-- boolean indicating whether the WiFi chipset has 5GHz band support.
|
|
Note: This config is replacing the config_wifi_dual_band_support
|
|
since more bands may now be supported (such as 6GHz), the naming dual_band
|
|
is no longer indicative, and a separate config now exists for each band -->
|
|
<bool name="config_wifi5ghzSupport">true</bool>
|
|
|
|
<!-- Boolean indicating whether 802.11r Fast BSS Transition is enabled on this platform -->
|
|
<bool name="config_wifi_fast_bss_transition_enabled">true</bool>
|
|
|
|
<!-- Boolean indicating whether the wifi chipset supports background scanning mechanism.
|
|
This mechanism allows the host to remain in suspend state and the dongle to actively
|
|
scan and wake the host when a configured SSID is detected by the dongle. This chipset
|
|
capability can provide power savings when wifi needs to be always kept on. -->
|
|
<bool name="config_wifi_background_scan_support">true</bool>
|
|
|
|
<!-- Boolean indicating whether or not wifi should turn off when emergency call is made -->
|
|
<bool name="config_wifi_turn_off_during_emergency_call">true</bool>
|
|
|
|
<!-- Configure wifi tcp buffersizes in the form:
|
|
rmem_min,rmem_def,rmem_max,wmem_min,wmem_def,wmem_max -->
|
|
<string name="config_wifi_tcp_buffers" translatable="false">524288,2097152,8388608,262144,524288,4194304</string>
|
|
|
|
<!-- Indicates that connected MAC randomization is supported on this device -->
|
|
<bool name="config_wifi_connected_mac_randomization_supported">true</bool>
|
|
|
|
<!-- Indicates that p2p MAC randomization is supported on this device -->
|
|
<bool name="config_wifi_p2p_mac_randomization_supported">true</bool>
|
|
|
|
<!-- Indicates that wifi link probing is supported on this device -->
|
|
<bool name="config_wifi_link_probing_supported">true</bool>
|
|
|
|
<!-- Boolean indicating whether framework needs to set the tx power limit for meeting SAR requirements -->
|
|
<bool name="config_wifi_framework_enable_sar_tx_power_limit">true</bool>
|
|
|
|
<!-- Indicate the driver support NL80211_REG_CHANGED event. -->
|
|
<bool name="config_wifiDriverSupportedNl80211RegChangedEvent">true</bool>
|
|
|
|
<!-- Indicate the device support request channel on Wi-Fi Aware data-path. -->
|
|
<bool name="config_wifiSupportChannelOnDataPath">true</bool>
|
|
|
|
<!-- Wifi driver supports Automatic channel selection (ACS) for softap -->
|
|
<bool translatable="false" name="config_wifi_softap_acs_supported">true</bool>
|
|
|
|
<!-- Wifi driver supports WPA3 Simultaneous Authentication of Equals (WPA3-SAE) for softap -->
|
|
<bool translatable="false" name="config_wifi_softap_sae_supported">true</bool>
|
|
|
|
<!-- Wifi driver supports IEEE80211AC for softap -->
|
|
<bool translatable="false" name="config_wifi_softap_ieee80211ac_supported">true</bool>
|
|
|
|
<!-- Integer indicating maximum hardware supported client number of soft ap -->
|
|
<integer translatable="false" name="config_wifiHardwareSoftapMaxClientCount">32</integer>
|
|
|
|
<!-- Integer parameters of the wifi to cellular handover feature wifi should not stick to bad networks -->
|
|
<!-- Integer thresholds, do not connect to APs with RSSI lower than these values -->
|
|
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-85</integer>
|
|
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-80</integer>
|
|
<!-- Integer thresholds for low network score, should be somewhat less than the entry thresholds -->
|
|
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-90</integer>
|
|
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-83</integer>
|
|
</resources>
|