Wifi connection hysteresis
Introduce a separate RSSI threshold for entry so there can be some hysteresis between entry and exit. Default to no gap for now, to avoid breaking older devices. Bug: 64422319 Test: Unit tests Change-Id: Ib0a9930e143061e3f18558e8cd934ab7226a1e95
This commit is contained in:
@@ -531,15 +531,18 @@
|
||||
<!-- Integer parameters of the wifi to cellular handover feature
|
||||
wifi should not stick to bad networks -->
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz">-82</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz">-82</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz">-70</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz">-57</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz">-85</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz">-85</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz">-73</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz">-60</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_link_speed_24">6</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_bad_link_speed_5">12</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_good_link_speed_24">24</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_wifi_score_good_link_speed_5">36</integer>
|
||||
|
||||
<string translatable="false" name="config_wifi_random_mac_oui">DA-A1-19</string>
|
||||
<string translatable="false" name="config_wifi_framework_sap_2G_channel_list">1,6,11</string>
|
||||
|
||||
|
||||
@@ -357,9 +357,11 @@
|
||||
<java-symbol type="integer" name="config_wifi_framework_associated_full_scan_max_total_dwell_time" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_associated_partial_scan_max_num_active_channels" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_bad_rssi_threshold_24GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_entry_rssi_threshold_24GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_low_rssi_threshold_24GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_good_rssi_threshold_24GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_bad_rssi_threshold_5GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_entry_rssi_threshold_5GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_low_rssi_threshold_5GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_good_rssi_threshold_5GHz" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_wifi_score_bad_link_speed_24" />
|
||||
|
||||
Reference in New Issue
Block a user