diff options
author | Alex Naidis <alex.naidis@linux.com> | 2016-07-14 17:50:46 +0200 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2017-11-24 19:41:01 +0100 |
commit | 885ba5dd504d80282a1abc3f2f1eeb5ff0732d61 (patch) | |
tree | 829438ea0f8d8cd3452db591f7e5161ebdc76b34 | |
parent | 7950aea5f6eee0cda69cb8828fe2242b5451b109 (diff) |
msm8996-common: wifi: full rework of the Wifi configuration
* enable RA Filtering
* increase RA rate limit interval to 15 minutes -> saves power
* enable IPA offloading in STA mode -> kernel support is present
* set the beacon missed count threshold from stock -> ensures stability
* maximize the continuous packets dropping threshold
* limit peers for SoftAP to 10, prevent overloading
* prefer connecting to a 5Ghz AP even if its RSSI is lower by 5dBm than the competing 2.4Ghz AP -> smart decision
* set the stock RoamRssiDiff value
* disable Packet logging
* cleanup some options
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rwxr-xr-x | wifi/WCNSS_qcom_cfg.ini | 28 |
1 files changed, 23 insertions, 5 deletions
diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini index 194178f..59e9621 100755 --- a/wifi/WCNSS_qcom_cfg.ini +++ b/wifi/WCNSS_qcom_cfg.ini @@ -184,7 +184,7 @@ FastRoamEnabled=1 #Check if the AP to which we are roaming is better than current AP in terms of RSSI. #Checking is disabled if set to Zero.Otherwise it will use this value as to how better #the RSSI of the new/roamable AP should be for roaming -RoamRssiDiff=3 +RoamRssiDiff=5 # If the RSSI of any available candidate is better than currently associated # AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without @@ -330,7 +330,7 @@ gAllowDFSChannelRoam=1 gInformBssRssiRaw=0 gVhtChannelWidth=2 - +gEnableLogp=0 # Enable Automatic Tx Power control @@ -354,7 +354,6 @@ gVhtTxMCS=2 gVhtRxMCS2x2=2 gVhtTxMCS2x2=2 - # Valid chain mask values # 01 - enables chain0 # 02 - enables chain1 @@ -491,7 +490,7 @@ gVhtMpduLen=2 gEnableMCCAdaptiveScheduler=1 #Enable or Disable p2p device address administered -isP2pDeviceAddrAdministrated=1 +isP2pDeviceAddrAdministrated=0 # RX packet handling options # 0: no rx thread, no RPS, for MDM @@ -546,7 +545,7 @@ gRegulatoryChangeCountry=1 # help if the lifetime in RA is less than 3*60=3min. Then # we need to change it, though it is uncommon. # gRAFilterEnable=0 -gRArateLimitInterval=600 +# gRArateLimitInterval=600 # Maximum number of concurrent connections gMaxConcurrentActiveSessions=2 @@ -678,6 +677,25 @@ gWLIntervalPageSAP=30 # Tune BMPS listening interval gBmpsModListenInterval=8 +# Custom Additions + +# Prefer connecting to 5Ghz AP even if its RSSI is lower by 5dBm than the 2.4Ghz AP +gRoamPrefer5GHz=1 +gSelect5GHzMargin=5 + +# beacon missed count threshold (by Oneplus) +gRoamBmissFirstBcnt=25 +gRoamBmissFinalBcnt=35 + +# limit max peers to 10 +gSoftApMaxPeers=10 + +# set continuous packets dropping threshold to max +gDroppedPktDisconnectTh=1024 + +# disable packet logging +gEnablePacketLog=0 + END # Note: Configuration parser would not read anything past the END marker |