diff options
| author | dd3boh <dade.garberi@gmail.com> | 2017-10-14 18:02:20 +0200 | 
|---|---|---|
| committer | dd3boh <dade.garberi@gmail.com> | 2017-10-31 12:34:43 +0100 | 
| commit | 5d6fb794ccdc497e06b76a6f0419dadb68cc1883 (patch) | |
| tree | 7ce11d8a0a6beea67a9a26674ffa24928e0cc870 | |
| parent | bc0b947b35ec9b4b2bb2b39432b2496a9796c285 (diff) | |
z2_plus: wifi: Checkout to LA.UM.6.5.r1-03400-8x96.0
Signed-off-by: dd3boh <dade.garberi@gmail.com>
| -rwxr-xr-x[-rw-r--r--] | wifi/WCNSS_qcom_cfg.ini | 296 | 
1 files changed, 170 insertions, 126 deletions
| diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini index b645922..51345ff 100644..100755 --- a/wifi/WCNSS_qcom_cfg.ini +++ b/wifi/WCNSS_qcom_cfg.ini @@ -2,33 +2,16 @@  # defaults for the WLAN Driver -gInitialScanNoDFSChnl=1 -gInitialDwellTime=20 -RoamRssiDiff=5 -gEnable2x2=0 -g11dSupportEnabled=1 -gSoftApMaxPeers=8 -gRAFilterEnable=0 -gRoamBmissFirstBcnt=25 -gRoamBmissFinalBcnt=35 -RTSThreshold=117350 -gTcpDelAckThresholdHigh=10000 -gDroppedPktDisconnectTh=1024 -gRuntimePM=0 -gMCAddrListEnable=0 -gBpfFilterEnable=0 -gEnablePowerSaveOffload=1  # Enable IMPS or not  gEnableImps=1  # Enable/Disable Idle Scan -  gEnableIdleScan=0  # Increase sleep duration (seconds) during IMPS -# 0 implies no periodic wake up from IMPS. Periodic wakeup is +# 0 implies no periodic wake up from IMPS. Periodic wakeup is   # unnecessary if Idle Scan is disabled.  gImpsModSleepTime=0 @@ -42,7 +25,6 @@ gEnableBmps=1  gEnableSuspend=3 -  # Phy Mode (auto, b, g, n, etc)  # Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac  # 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only @@ -145,6 +127,22 @@ gEnableApUapsd=1  gFixedRate=0 + +# Maximum Tx power + +# gTxPowerCap=30 + + +# Fragmentation Threshold + +# gFragmentationThreshold=2346 + + +# RTS threshold + +RTSThreshold=1048576 + +  # Intra-BSS forward  gDisableIntraBssFwd=0 @@ -154,6 +152,11 @@ gDisableIntraBssFwd=0  WmmIsEnabled=0 + +# 802.11d support + +g11dSupportEnabled=0 +  # 802.11h support  g11hSupportEnabled=1 @@ -166,8 +169,8 @@ EseEnabled=1  ImplicitQosIsEnabled=0  gNeighborScanTimerPeriod=200 -gNeighborLookupThreshold=85 -gNeighborReassocThreshold=88 +gNeighborLookupThreshold=76 +gNeighborReassocThreshold=81  gNeighborScanChannelMinTime=20  gNeighborScanChannelMaxTime=30 @@ -178,6 +181,11 @@ gMaxNeighborReqTries=3  # 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  +#the RSSI of the new/roamable AP should be for roaming +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  # registering for reassoc threshold). @@ -188,6 +196,22 @@ gImmediateRoamRssiDiff=10  # To disable, set gRoamIntraBand=0 (Roaming across band)  gRoamIntraBand=0 +# SAP Country code + +# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door. + +# Example + +#   US Indoor, USI + +#   Korea Outdoor, KRO + +#   Japan without optional byte, JP + +#   France without optional byte, FR + +#gAPCntryCode=USI +  #Short Guard Interval Enable/disable @@ -204,15 +228,6 @@ gAPAutoShutOff=0  gWlanAutoShutdown = 0 -# SAP auto channel selection configuration - -# 0 = disable auto channel selection - -# 1 = enable auto channel selection, channel provided by supplicant will be ignored - -gApAutoChannelSelection=0 - -  # Listen Energy Detect Mode Configuration  # Valid values 0-128 @@ -262,23 +277,8 @@ enableBeaconEarlyTermination=0  beaconEarlyTerminationWakeInterval=3 -#SOFTAP Channel Range selection - -gAPChannelSelectStartChannel=1 - -gAPChannelSelectEndChannel=11 - - -#SOFTAP Channel Range selection Operating band - -# 0:2.4GHZ 1: LOW-5GHZ 2:MID-5GHZ 3:HIGH-5GHZ 4: 4.9HZ BAND - -gAPChannelSelectOperatingBand=0 - -  #Channel Bonding  gChannelBondingMode5GHz=1 -gChannelBondingMode24GHz=0  #Enable Keep alive with non-zero period value @@ -299,9 +299,17 @@ gStaKeepAlivePeriod = 30  #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period  #where we send NULL frame. -#gApLinkMonitorPeriod = 10 +gApLinkMonitorPeriod = 30 + +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. + -#gGoLinkMonitorPeriod = 10 +gGoKeepAlivePeriod = 3 + +gApKeepAlivePeriod = 10  #If set will start with active scan after driver load, otherwise will start with @@ -315,9 +323,11 @@ gEnableBypass11d=1  gEnableDFSChnlScan=1 +# Enable DFS channel roam +# 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE +gAllowDFSChannelRoam=1  gVhtChannelWidth=2 -gEnableLogp=1  # Enable Automatic Tx Power control @@ -342,27 +352,37 @@ gVhtTxMCS=2  gVhtRxMCS2x2=2  gVhtTxMCS2x2=2 -# Enable Tx beamforming -gTxBFEnable=1 -# Enable Tx beamforming in VHT20MHz -# Valid values are 0,1. If commented out, the default value is 0. -# 0=disable, 1=enable -gEnableTxBFin20MHz=1 +# Valid chain mask values +# 01 - enables chain0 +# 02 - enables chain1 +# 03 - enables both chain 0 and chain 1 +# if set to 0 or 1 then all vdevs comes up in 1x1 mode in that band. +gChainMask_2g=3 +gChainMask_5g=3 + +# NSS cfg bit definition. +# STA          BIT[0:1] +# SAP          BIT[2:3] +# P2P_GO       BIT[4:5] +# P2P_CLIENT   BIT[6:7] +# IBSS         BIT[8:9] +# TDLS         BIT[10:11] +# P2P_DEVICE   BIT[12:13] +# OCB          BIT[14:15] +# Valid values are 1 or 2 for each two bit configuration. +# if 2-bit value is set to 1 then the corresponidng vdev comes up in 1x1 mode +# in the band, if set to 2 then that vdev comes up in 2x2 mode in that band. +gVdevTypeNss_2g=43690 +gVdevTypeNss_5g=43690 -# Set txchainmask and rxchainmask -# These parameters are used only if gEnable2x2 is 0 -# Valid values are 1,2 -# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. -# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. -gSetTxChainmask1x1=1 -gSetRxChainmask1x1=1 +gTxChainMask1ss=0  # Scan Timing Parameters  # gPassiveMaxChannelTime=110  # gPassiveMinChannelTime=60 -gActiveMaxChannelTime=40 -gActiveMinChannelTime=20 +gActiveMaxChannelTime=80 +gActiveMinChannelTime=40  #If set to 0, MCC is not allowed.  gEnableMCCMode=1 @@ -370,7 +390,7 @@ gEnableMCCMode=1  # MCC to SCC Switch mode: 0-Disable 1-Enable 2-Force SCC if same band  gWlanMccToSccSwitchMode = 0 -# 1=enable STBC; 0=disable STBC +# 1=enable STBC; 0=disable STBC   gEnableRXSTBC=1  # 1=enable tx STBC; 0=disable @@ -379,14 +399,15 @@ gEnableTXSTBC=1  # 1=enable rx LDPC; 0=disable  gEnableRXLDPC=1 -# Enable or Disable txLdpc capability -# 0 - disable, 1 - HT LDPC enable, 2 - VHT LDPC enable, 3 - HT & VHT LDPC enable -gTxLdpcEnable=3 +# Enable Tx beamforming in VHT20MHz +# Valid values are 0,1. If commented out, the default value is 0. +# 0=disable, 1=enable +gEnableTxBFin20MHz=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 @@ -404,6 +425,10 @@ gThermalMitigationEnable=0  gEnableFastRoamInConcurrency=1 +#List of Country codes for which 11ac needs to be disabled +#Each country code must be delimited by comma(,) +gListOfNon11acCountryCode=RU,UA,ZA +  #Maxium Channel time in msec  gMaxMediumTime = 6000 @@ -423,6 +448,9 @@ gFlexConnectPowerFactor=0  #Disable split scan, the FW will take care of it  gNumChanCombinedConc=60 +#Enable Power Save offload +gEnablePowerSaveOffload=2 +  #Enable firmware uart print  gEnablefwprint=0 @@ -433,24 +461,15 @@ gFwDebugLogLevel=4  gFwDebugModuleLoglevel=1,0,2,0,4,0,5,0,6,0,7,4,8,0,9,0,11,0,13,0,17,0,18,0,19,0,27,0,29,0,31,0,35,0,36,0,38,0  #IPA config -#gIPAEnable=0x00 +gIPAConfig=0  gIPADescSize=800  gIPAPreFilterEnable=1  gIPARMEnable=1  gIPAIPv6Enable=1 -gIPAConfig=0x1d -IpaUcOffloadEnabled=1 -gIpaUcStaOffload=0 -gIPAHighBandwidthMbps=800 -gIPAMediumBandwidthMbps=400 -gIPALowBandwidthMbps=200  #P2P Listen offload  gEnableP2pListenOffload=1 -# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k) -gVhtAmpduLenExponent=7 -  # Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)  gVhtMpduLen=2 @@ -478,6 +497,10 @@ isP2pDeviceAddrAdministrated=1  # 2: RPS  rxhandle=2 +# Set RPS CPU MAP as 0xe for the 4 RX queues +# This allows use of CPU1-CPU3 but not CPU0 for 4 RX queues +rpsRxQueueCpuMapList=c +  # Remove Overlap channel restriction  gEnableOverLapCh=0 @@ -499,65 +522,67 @@ gEnable5gEBT=1  ssdp = 0 +#Enable Memory Deep Sleep +gEnableMemDeepSleep=1  # Bus bandwidth threshold values in terms of number of packets  gBusBandwidthHighThreshold=2000  gBusBandwidthMediumThreshold=500  gBusBandwidthLowThreshold=150 +# IPA bandwidth voting +gIPAHighBandwidthMbps=800 +gIPAMediumBandwidthMbps=400 +gIPALowBandwidthMbps=200 +  # Bus bandwidth compute timeout value in ms  gBusBandwidthComputeInterval=100  # Regulatory Setting; 0=STRICT; 1=CUSTOM  gRegulatoryChangeCountry=1 +# RA filtering rate limit param, the current value would not +# 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  # Maximum number of concurrent connections  gMaxConcurrentActiveSessions=2 +# Disable/Enable GreenAP +# 0 to disable, 1 to enable, default: 1 +gEnableGreenAp=1 +  # Radar PRI multiplier  gDFSradarMappingPriMultiplier=4 -gPNOScanSupport=1 - -# Perform PNO fast scan this many number of times -gPNOScanTimerRepeatValue=6 - -# PNO slow scan period = gPNOSlowScanMultiplier times PNO fast scan period -# Example: fast scan period is passed from framework (default = 10 sec), then -# PNO slow scan period = 60 sec. -gPNOSlowScanMultiplier=6 +gPNOScanSupport=0  # Enable/Disable RX full reorder offload  gReorderOffloadSupported=1 -# userspace country code setting shld take priority -gCountryCodePriority=1 -  # Enable/Disable LPASS support  # 0 to disable, 1 to enable  gEnableLpassSupport=1 +# Whether userspace country code setting shld have priority +gCountryCodePriority=1 +  # Enable(1)/Disable(0) SIFS burst  gEnableSifsBurst=1 -# Enable or Disable Multi-user MIMO -# 1=Enable (default), 0=Disable -gEnableMuBformee=1 -  # Enable/Disable channel avoidance for SAP in SCC scenario  # 0 - disable  # 1 - enable  gSapSccChanAvoidance=0 -# RA filtering rate limit param, the current value would not -# help if the lifetime in RA is less than 3*60=3min. Then -# we need to change it, though it is uncommon. -# Enable RA filtering offload -gRArateLimitInterval=300 -  # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode  gIbssTxSpEndInactivityTime=10 +# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload) +# 0 to disable, 1 to enable +gRoamOffloadEnabled=0 +  # Enable support for TDLS  #  0 - disable  #  1 - enable @@ -590,17 +615,31 @@ gTDLSExternalControl=1  # TDLS connection.  gEnableTDLSOffChannel=1 -gEnableTDLSScan=1 -gTDLSTxStatsPeriod=500 -gTDLSTxPacketThreshold=10 -gTDLSIdlePacketThreshold=1 - -# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload) -# 0 to disable, 1 to enable -gRoamOffloadEnabled=0 +IpaUcOffloadEnabled=1 +gIpaUcStaOffload=1  gEnableSelfRecovery=1 +# Enable or Disable Random MAC (Spoofing) +# 1=Enable, 0=Disable (default) +gEnableMacAddrSpoof=0 + +# Enable Auto suspend feature +# When this feature is enabled, it will shutdown the PCIe link +# when inactivity is detected in STA disconnected mode. +#  0 - disable +#  1 - enable +gEnableBusAutoSuspend=0 + +# Enable Runtime PM Feature. +# Enabling this feature will put target wow and shutdown pcie link +# when inactivity is detected in WLAN Driver. +# This feature is inactive when beaconing interfaces are active with +# clients associated. +# 0 - disable +# 1 - enable + +gRuntimePM=1  # When gRuntimePM is disabled gRuntimeAutoTime won't take effect.  # The Time is in msec.  # 100 is min, 10000 is max, 500 is default. @@ -611,25 +650,30 @@ gRuntimePMDelay=500  # builds only since it will be ignored in performance/release builds.  gEnableFWHashCheck=1 -# Tx Chain Mask for CCK -gCckChainMaskEnable=1 - -# Tx Chain Mask for 1SS -gTxChainMask1ss=0 - -# TPC power -gSelfGenFrmPwr=3 - -gAllowDFSChannelRoam=1 - -# Enable or Disable Extended Scan (GScan) -# 1=Enable (default), 0=Disable -gExtScanEnable=1 - - -gEnableModulatedDTIM=2 -gMaxLIModulatedDTIM=6 +# Enable FW to filter out broadcast packets and wakeup host during runtime PM. +# As APPS is awake during runtime PM, if any application needs the broadcast +# packets OEM's can enable this flag. +# FW will filters the broadcast packets and wakeup host to deliver them during +# runtime suspend. +# This flag will take affect when Runtime PM is enabled +gRuntimePmEnableBcastPattern=0 + +# intervals length (in ms) during WLAN P2P (single vdev) + BT Paging +# min 20ms, max 200ms +gBTIntervalPageP2P=30 +gWLIntervalPageP2P=30 + +# intervals length (in ms) during WLAN STA (single vdev) + BT Paging +# min 20ms, max 200ms +gBTIntervalPageSTA=30 +gWLIntervalPageSTA=30 + +# intervals length (in ms) during WLAN SAP (single vdev) + BT Paging +# min 20ms, max 200ms +gBTIntervalPageSAP=30 +gWLIntervalPageSAP=30  END  # Note: Configuration parser would not read anything past the END marker + | 
