sdm710-common: WifiOverlay/wcnss: Relax RSSI thresholds
* Fixes random WIFI crashes E/WifiVendorHal(1633): stopRssiMonitoring(l.2100) failed {.code = ERROR_NOT_AVAILABLE, .description = } V/WifiClientModeImpl(1633): stopIpClient IpClientWithPreConnection: false V/WifiClientModeImpl(1633): java.lang.Throwable V/WifiClientModeImpl(1633): at com.android.server.wifi.ClientModeImpl.stopIpClient(ClientModeImpl.java:1068) V/WifiClientModeImpl(1633): at com.android.server.wifi.ClientModeImpl.stopDhcpSetup(ClientModeImpl.java:1083) V/WifiClientModeImpl(1633): at com.android.server.wifi.ClientModeImpl.handleNetworkDisconnect(ClientModeImpl.java:2760) V/WifiClientModeImpl(1633): at com.android.server.wifi.ClientModeImpl.access$5600(ClientModeImpl.java:163) V/WifiClientModeImpl(1633): at com.android.server.wifi.ClientModeImpl$ConnectModeState.processMessage(ClientModeImpl.java:4284) V/WifiClientModeImpl(1633): at com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:992) V/WifiClientModeImpl(1633): at com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:809) V/WifiClientModeImpl(1633): at android.os.Handler.dispatchMessage(Handler.java:106) V/WifiClientModeImpl(1633): at android.os.Looper.loop(Looper.java:223) V/WifiClientModeImpl(1633): at android.os.HandlerThread.run(HandlerThread.java:67) D/DhcpClient(2452): doQuit D/QCNEJ/WlanStaInfoRelay(2529): Received action: android.net.wifi.STATE_CHANGE D/QCNEJ/WlanStaInfoRelay(2529): reset CountryCodeRetriever D/ApfFilter(2452): (wlan0): shutting down I/WifiClientModeImpl(1633): disconnectedstate enter E/WifiScoringParams(1633): Invalid frequency(-1), using 5G as default rssi array D/WifiNetworkAgent(1633): NetworkAgent: NetworkAgent channel lost I/GnssNetworkConnectivityHandler(1633): Network connection lost. Available networks count: 0 I/GnssNetworkConnectivityHandler(1633): updateNetworkState, state=CLOSED, connected=false, network=100, capabilities=[ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=65000Kbps LinkDnBandwidth>=65000Kbps SignalStrength: -71 AdministratorUids: [] SSID: "Skymedia_19" RequestorUid: -1 RequestorPackageName: null], apn: , availableNetworkCount: 0 I/LocSvc__AGnssRilInterface(823): ===> updateNetworkState_2_0 line 110 D/QCNEJ/DefaultNetworkInfoRelay(2529): Default network lost: 100 D/QCNEJ/NativeHalConnector(2529): -> SND notifyDefaultNetworkChanged(1) D/QCNEJ/WlanStaInfoRelay(2529): network lost: 100 D/QNEJ/WlanStaInfoRelay(2529): onLost: unbind the process to WIFI D/AppCenter(10415): Network 100 is lost. Change-Id: I385391f278086520530cc9215ca6fdae55c40b73 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Signed-off-by: raghavt20 <raghavtandon2000@gmail.com>
This commit is contained in:
parent
09cd80eeb5
commit
6215927695
2 changed files with 13 additions and 2 deletions
|
@ -75,4 +75,12 @@
|
|||
|
||||
<!-- Disable WPA2 to WPA3 auto-upgrade -->
|
||||
<bool translatable="false" name="config_wifiSaeUpgradeEnabled">false</bool>
|
||||
|
||||
<!-- 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">-85</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">-93</integer>
|
||||
</resources>
|
||||
|
|
|
@ -64,7 +64,7 @@ EseEnabled=0
|
|||
|
||||
ImplicitQosIsEnabled=0
|
||||
|
||||
gNeighborLookupThreshold=76
|
||||
gNeighborLookupThreshold=85
|
||||
gNeighborScanChannelMinTime=20
|
||||
gNeighborScanChannelMaxTime=30
|
||||
gMaxNeighborReqTries=3
|
||||
|
@ -84,6 +84,9 @@ RoamRssiDiff=5
|
|||
# To disable, set gRoamIntraBand=0 (Roaming across band)
|
||||
gRoamIntraBand=0
|
||||
|
||||
#RSSI threshold for background roam
|
||||
roam_bg_scan_bad_rssi_thresh=-90
|
||||
|
||||
#Short Guard Interval Enable/disable
|
||||
gShortGI20Mhz=1
|
||||
gShortGI40Mhz=1
|
||||
|
|
Loading…
Reference in a new issue