aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwifi/WCNSS_qcom_cfg.ini28
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