Skip to content

Commit

Permalink
mt2: wifi: Update WCNSS config
Browse files Browse the repository at this point in the history
https://us.codeaurora.org/cgit/quic/la/platform/vendor/qcom-opensource/wlan/prima
Branch: LA.BF.1.1.3_rb1.13
Up to and including:
  wlan: Fix buffer overwrite problem in CCXBEACONREQ
  ff7553794ed6286e7063cb6440c4960699ac3ff9

Align the config file aside from the following options:

Aid in keeping wifi active during sleep:
* enableBeaconEarlyTermination, beaconEarlyTerminationWakeInterval
* gStaKeepAlivePeriod
Enable automatic tx power control:
* gEnableAutomaticTxPowerControl
Disable link layer stats since unsupported by our firmware:
* gEnableLLStats

Change-Id: I5dcd52ed67a84843e3c2ae400e3b17f2bd2d207e
  • Loading branch information
mdmower committed Jun 7, 2016
1 parent 5c62055 commit 353901d
Showing 1 changed file with 40 additions and 45 deletions.
85 changes: 40 additions & 45 deletions wifi/WCNSS_qcom_cfg.ini
Expand Up @@ -69,11 +69,6 @@ gAddTSWhenACMIsOff=1
gNumRxAnt=1


# Dynamic Beacon

# gEnableDynamicDTIM=0


# Beacon filtering frequency (unit in beacon intervals)

gNthBeaconFilter=50
Expand All @@ -100,7 +95,7 @@ hostArpOffload=1

#Flag to enable HostNSOffload feature or not

# hostNSOffload=0
hostNSOffload=0

#SoftAP Related Parameters

Expand All @@ -116,7 +111,7 @@ gEnableApProt=1

#Enable OBSS protection

# gEnableApOBSSProt=0
gEnableApOBSSProt=1


#Enable/Disable UAPSD for SoftAP
Expand Down Expand Up @@ -167,20 +162,22 @@ EseEnabled=0
ImplicitQosIsEnabled=0
gNeighborScanTimerPeriod=200

gNeighborLookupThreshold=78
gNeighborLookupThreshold=76
gNeighborReassocThreshold=81

gNeighborScanChannelMinTime=20
gNeighborScanChannelMaxTime=30
gMaxNeighborReqTries=3

# Legacy (non-ESE, non-802.11r) Fast Roaming Support
# To enable, set FastRoamEnabled=1
# To disable, set FastRoamEnabled=0
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
#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=5
RoamRssiDiff=3

# If the RSSI of any available candidate is better than currently associated
# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
Expand Down Expand Up @@ -228,7 +225,7 @@ gAPAutoShutOff=0

# 1 = enable auto channel selection, channel provided by supplicant will be ignored

gApAutoChannelSelection=0
gApAutoChannelSelection=1


# Listen Energy Detect Mode Configuration
Expand Down Expand Up @@ -290,7 +287,7 @@ beaconEarlyTerminationWakeInterval=11
gEnableBtAmp=0


#SOFTAP Channel Range selection
#SOFTAP Channel Range selection

gAPChannelSelectStartChannel=1

Expand All @@ -299,7 +296,7 @@ gAPChannelSelectEndChannel=11

#SOFTAP Channel Range selection Operating band

# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND
# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND 5: 5GHZ BAND

gAPChannelSelectOperatingBand=0

Expand All @@ -310,8 +307,7 @@ gChannelBondingMode24GHz=1

#Enable Keep alive with non-zero period value

gStaKeepAlivePeriod=45

gStaKeepAlivePeriod=30

#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
Expand All @@ -327,24 +323,24 @@ gStaKeepAlivePeriod=45
#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
#where we send NULL frame.

gApLinkMonitorPeriod = 30
#gApLinkMonitorPeriod = 10

# gGoLinkMonitorPeriod = 10
#gGoLinkMonitorPeriod = 10

#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.


# gGoKeepAlivePeriod=5
gGoKeepAlivePeriod=30

# gApKeepAlivePeriod=5
gApKeepAlivePeriod=10


#If set will start with active scan after driver load, otherwise will start with

#passive scan to find out the domain

# gEnableBypass11d=1
gEnableBypass11d=1


#If set to 0, will not scan DFS channels
Expand All @@ -358,18 +354,11 @@ gEnableLogp=1

# Enable Automatic Tx Power control

gEnableAutomaticTxPowerControl=1
# gEnableAutomaticTxPowerControl=1

# 0 for OLPC 1 for CLPC and SCPC
gEnableCloseLoop=1

#Telescopic DTIM
gTelescopicBeaconWakeupEn=1
telescopicBeaconTransListenInterval=2
telescopicBeaconTransListenIntervalNumIdleBcns=10
telescopicBeaconMaxListenInterval=3
telescopicBeaconMaxListenIntervalNumIdleBcns=15

#Data Inactivity Timeout when in powersave (in ms)
gDataInactivityTimeout=200

Expand All @@ -391,13 +380,13 @@ gVhtTxMCS=2
#If set to 0, MCC is not allowed.
gEnableMCCMode=1

# 1=enable STBC; 0=disable STBC
# 1=enable STBC; 0=disable STBC
gEnableRXSTBC=1

# Enable Active mode offload
gEnableActiveModeOffload=1

#Enable Scan Results Aging based on timer
#Enable Scan Results Aging based on timer
#Timer value is in seconds
#If Set to 0 it will not enable the feature
gScanAgingTime=0
Expand All @@ -420,7 +409,7 @@ gEnableFastRoamInConcurrency=1
gListOfNon11acCountryCode=RU,UA,ZA

#Maxium Channel time in msec
gMaxMediumTime = 5480
gMaxMediumTime=5480

# 802.11K support
gRrmEnable=1
Expand Down Expand Up @@ -450,25 +439,31 @@ gEnableModulatedDTIM=3
gMaxLIModulatedDTIM=3

#Enable/Disable Link Layer Statistics Feature
gEnableLLStats=0
# gEnableLLStats=0

#Enable/Disable EXTScan Feature
gEnableEXTScan=1

#Configs for supporting TDLS
#Enable/Disable TDLS Feature
gEnableTDLSSupport=1
gEnableTDLSImplicitTrigger=1
gTDLSTxStatsPeriod=5000
gTDLSTxPacketThreshold=100
gTDLSDiscoveryPeriod=20000
gTDLSMaxDiscoveryAttempt=3
gTDLSIdleTimeout=30000
gTDLSIdlePacketThreshold=10
gTDLSRSSIHysteresis=100
gTDLSRSSITriggerThreshold=-65
gTDLSRSSITeardownThreshold=-75
gHwEnableTDLSImplicitRxTrigger=0
gHwTDLSRxPacketThreshold=300

#Enable/Disable TDLS Implicit Trigger
gEnableTDLSImplicitTrigger=0

#Enable/Disable TDLS Buffer Sta
gEnableTDLSBufferSta=1

#Enable/Disable RTS-CTS for HT,VHT
#Bit mask value to enable RTS/CTS for different modes
#For 2.4 GHz, HT20 - 0x0001 i.e 1, for 2.4 GHz, HT40 - 0x0002 i.e 2
#For 2.4 GHz, VHT20 - 0x0004 i.e 4, for 2.4 GHz, VHT40 - 0x0008 i.e 8
#For 5 GHz, HT20 - 0x0100 i.e 256, for 5 GHz, HT40 - 0x0200 i.e 512
#For 5 GHz, VHT20 - 0x0400 i.e 1024, for 5 GHz, VHT40 - 0x0800 i.e 2048
#For 5 GHz, VHT80 - 0x1000 i.e 4096
#Can be enabled for multiple modes
#For enabling in both HT20 and HT40 of 2.4 GHz - 0x0003 i.e 3
#Default is set to 0 (disable)
gEnableRtsCtsHtVht=0

END

Expand Down

0 comments on commit 353901d

Please sign in to comment.