Add traffic thresholds to prevent wifi network changes
This parameters are used for refraining from changing network when RSSI is good and there is heavy traffic implying streaming. A typical video streaming will move the tx above 20 pps and rx above 40 pps. A typical voice call will move both tx and rx rate above 16 pps. With that being said, this patch sets both thresholds to 16 pps. Bug: 62428282 Test: compile, unit tests, manual test Change-Id: Id2a7546b7ca9a1370c37d3f26f3da28231757c19
This commit is contained in:
@@ -485,6 +485,9 @@
|
||||
<!-- Integers specifying the max packet Tx/Rx rates for full scan -->
|
||||
<integer translatable="false" name="config_wifi_framework_max_tx_rate_for_full_scan">8</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_max_rx_rate_for_full_scan">16</integer>
|
||||
<!-- Integers specifying the min packet Tx/Rx rates in packets per second for staying on the same network -->
|
||||
<integer translatable="false" name="config_wifi_framework_min_tx_rate_for_staying_on_network">16</integer>
|
||||
<integer translatable="false" name="config_wifi_framework_min_rx_rate_for_staying_on_network">16</integer>
|
||||
<!-- 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>
|
||||
|
||||
@@ -376,6 +376,8 @@
|
||||
<java-symbol type="string" name="config_wifi_framework_sap_2G_channel_list" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_max_tx_rate_for_full_scan" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_max_rx_rate_for_full_scan" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_min_tx_rate_for_staying_on_network" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_min_rx_rate_for_staying_on_network" />
|
||||
|
||||
<java-symbol type="bool" name="config_wifi_framework_cellular_handover_enable_user_triggered_adjustment" />
|
||||
<java-symbol type="integer" name="config_wifi_framework_associated_full_scan_tx_packet_threshold" />
|
||||
|
||||
Reference in New Issue
Block a user