WCNSS_qcom_cfg.ini 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608
  1. # This file allows user to override the factory
  2. # defaults for the WLAN Driver
  3. # Enable IMPS or not
  4. gEnableImps=1
  5. # Enable/Disable Idle Scan
  6. gEnableIdleScan=0
  7. # Increase sleep duration (seconds) during IMPS
  8. # 0 implies no periodic wake up from IMPS. Periodic wakeup is
  9. # unnecessary if Idle Scan is disabled.
  10. gImpsModSleepTime=0
  11. # Enable BMPS or not
  12. gEnableBmps=1
  13. # Enable suspend or not
  14. # 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter
  15. gEnableSuspend=3
  16. # Phy Mode (auto, b, g, n, etc)
  17. # Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac
  18. # 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only
  19. # 7 = 11b only 8 = 11ac only.
  20. gDot11Mode=0
  21. # CSR Roaming Enable(1) Disable(0)
  22. gRoamingTime=0
  23. # Assigned MAC Addresses - This will be used until NV items are in place
  24. # Each byte of MAC address is represented in Hex format as XX
  25. Intf0MacAddress=000AF58989FF
  26. Intf1MacAddress=000AF58989FE
  27. Intf2MacAddress=000AF58989FD
  28. Intf3MacAddress=000AF58989FC
  29. # UAPSD service interval for VO,VI, BE, BK traffic
  30. InfraUapsdVoSrvIntv=0
  31. InfraUapsdViSrvIntv=0
  32. InfraUapsdBeSrvIntv=0
  33. InfraUapsdBkSrvIntv=0
  34. # Flag to allow STA send AddTspec even when ACM is Off
  35. gAddTSWhenACMIsOff=1
  36. # Make 1x1 the default antenna configuration
  37. gNumRxAnt=1
  38. # Beacon filtering frequency (unit in beacon intervals)
  39. gNthBeaconFilter=50
  40. # Enable WAPI or not
  41. # WAPIIsEnabled=0
  42. # Flags to filter Mcast abd Bcast RX packets.
  43. # Value 0: No filtering, 1: Filter all Multicast.
  44. # 2: Filter all Broadcast. 3: Filter all Mcast abd Bcast
  45. McastBcastFilter=3
  46. #Flag to enable HostARPOffload feature or not
  47. hostArpOffload=1
  48. #Flag to enable HostNSOffload feature or not
  49. hostNSOffload=1
  50. # This flag enables IP, TCP and UDP checksum offload
  51. gEnableIpTcpUdpChecksumOffload=1
  52. #SoftAP Related Parameters
  53. # AP MAc addr
  54. gAPMacAddr=000AF589dcab
  55. # 802.11n Protection flag
  56. gEnableApProt=1
  57. #Enable OBSS protection
  58. gEnableApOBSSProt=1
  59. #Enable/Disable UAPSD for SoftAP
  60. gEnableApUapsd=1
  61. # Fixed Rate
  62. gFixedRate=0
  63. # Maximum Tx power
  64. # gTxPowerCap=30
  65. # Fragmentation Threshold
  66. # gFragmentationThreshold=2346
  67. # RTS threshold
  68. RTSThreshold=1048576
  69. # Intra-BSS forward
  70. gDisableIntraBssFwd=0
  71. # WMM Enable/Disable
  72. WmmIsEnabled=0
  73. # 802.11d support
  74. g11dSupportEnabled=1
  75. # 802.11h support
  76. g11hSupportEnabled=1
  77. # DFS Master Capability
  78. gEnableDFSMasterCap=1
  79. # ESE Support and fast transition
  80. EseEnabled=1
  81. ImplicitQosIsEnabled=0
  82. gNeighborScanTimerPeriod=200
  83. gNeighborLookupThreshold=76
  84. gNeighborReassocThreshold=81
  85. gNeighborScanChannelMinTime=20
  86. gNeighborScanChannelMaxTime=30
  87. gMaxNeighborReqTries=3
  88. # Legacy (non-ESE, non-802.11r) Fast Roaming Support
  89. # To enable, set FastRoamEnabled=1
  90. # To disable, set FastRoamEnabled=0
  91. FastRoamEnabled=1
  92. #Check if the AP to which we are roaming is better than current AP in terms of RSSI.
  93. #Checking is disabled if set to Zero.Otherwise it will use this value as to how better
  94. #the RSSI of the new/roamable AP should be for roaming
  95. RoamRssiDiff=3
  96. # If the RSSI of any available candidate is better than currently associated
  97. # AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without
  98. # registering for reassoc threshold).
  99. # NOTE: Value of 0 means that we would register for reassoc threshold.
  100. gImmediateRoamRssiDiff=10
  101. # To enable, set gRoamIntraBand=1 (Roaming within band)
  102. # To disable, set gRoamIntraBand=0 (Roaming across band)
  103. gRoamIntraBand=0
  104. #Short Guard Interval Enable/disable
  105. gShortGI20Mhz=1
  106. gShortGI40Mhz=1
  107. #Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled
  108. gAPAutoShutOff=0
  109. #Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec
  110. gWlanAutoShutdown = 0
  111. # Not used.
  112. gApAutoChannelSelection=0
  113. # Listen Energy Detect Mode Configuration
  114. # Valid values 0-128
  115. # 128 means disable Energy Detect feature
  116. # 0-9 are threshold code and 7 is recommended value from system if feature is to be enabled.
  117. # 10-128 are reserved.
  118. # The EDET threshold mapping is as follows in 3dB step:
  119. # 0 = -60 dBm
  120. # 1 = -63 dBm
  121. # 2 = -66 dBm
  122. # ...
  123. # 7 = -81 dBm
  124. # 8 = -84 dBm
  125. # 9 = -87 dBm
  126. # Note: Any of these settings are valid. Setting 0 would yield the highest power saving (in a noisy environment) at the cost of more range. The range impact is approximately #calculated as:
  127. #
  128. # Range Loss (dB) = EDET threshold level (dBm) + 97 dBm.
  129. #
  130. gEnablePhyAgcListenMode=128
  131. #Preferred band (both or 2.4 only or 5 only)
  132. BandCapability=0
  133. #Beacon Early Termination (1 = enable the BET feature, 0 = disable)
  134. enableBeaconEarlyTermination=0
  135. beaconEarlyTerminationWakeInterval=3
  136. #Channel Bonding
  137. gChannelBondingMode5GHz=1
  138. #Enable Keep alive with non-zero period value
  139. gStaKeepAlivePeriod = 30
  140. #Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds).
  141. #For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.)
  142. #For both active and power save clients.
  143. #Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit.
  144. #If doesn't honor for 5 seconds then DUT remove client.
  145. #Active clients: DUT send Qos Null frame for 10th seconds onwards if it is not success still we try on
  146. #11th second if not tries on 12th and so on till 15th second. Hence before disconnection DUT will send 5 NULL frames.
  147. #Hence in any case DUT will detect client got removed in (10+5) seconds. i.e., (gGoKeepAlivePeriod + gGoLinkMonitorPeriod)..
  148. #gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period
  149. #where we send NULL frame.
  150. #gApLinkMonitorPeriod = 10
  151. #gGoLinkMonitorPeriod = 10
  152. #gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not.
  153. #Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod.
  154. gGoKeepAlivePeriod = 20
  155. gApKeepAlivePeriod = 20
  156. #If set will start with active scan after driver load, otherwise will start with
  157. #passive scan to find out the domain
  158. gEnableBypass11d=1
  159. #If set to 0, will not scan DFS channels
  160. gEnableDFSChnlScan=1
  161. # Enable DFS channel roam
  162. # 0: DISABLE, 1: ENABLED_NORMAL, 2: ENABLED_ACTIVE
  163. gAllowDFSChannelRoam=1
  164. gVhtChannelWidth=2
  165. # Enable Automatic Tx Power control
  166. gEnableAutomaticTxPowerControl=1
  167. # 0 for OLPC 1 for CLPC and SCPC
  168. gEnableCloseLoop=1
  169. #Data Inactivity Timeout when in powersave (in ms)
  170. gDataInactivityTimeout=200
  171. # VHT Tx/Rx MCS values
  172. # Valid values are 0,1,2. If commented out, the default value is 0.
  173. # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
  174. gVhtRxMCS=2
  175. gVhtTxMCS=2
  176. # VHT Tx/Rx MCS values for 2x2
  177. # Valid values are 0,1,2. If commented out, the default value is 0.
  178. # 0=MCS0-7, 1=MCS0-8, 2=MCS0-9
  179. gEnable2x2=1
  180. gVhtRxMCS2x2=2
  181. gVhtTxMCS2x2=2
  182. # Set txchainmask and rxchainmask
  183. # These parameters are used only if gEnable2x2 is 0
  184. # Valid values are 1,2
  185. # Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0.
  186. # Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1.
  187. gSetTxChainmask1x1=1
  188. gSetRxChainmask1x1=1
  189. # Scan Timing Parameters
  190. # gPassiveMaxChannelTime=110
  191. # gPassiveMinChannelTime=60
  192. gActiveMaxChannelTime=40
  193. gActiveMinChannelTime=20
  194. #If set to 0, MCC is not allowed.
  195. gEnableMCCMode=1
  196. # MCC to SCC Switch mode:
  197. # 0-Disable
  198. # 1-Enable
  199. # 2-Force SCC if same band
  200. # 3-Force SCC if same band, without SAP restart by sending (E)CSA
  201. gWlanMccToSccSwitchMode = 0
  202. # 1=enable STBC; 0=disable STBC
  203. gEnableRXSTBC=1
  204. # 1=enable tx STBC; 0=disable
  205. gEnableTXSTBC=1
  206. # 1=enable rx LDPC; 0=disable
  207. gEnableRXLDPC=1
  208. #Enable/Disable Tx beamforming
  209. gTxBFEnable=1
  210. #Enable/Disable Tx beamformee in SAP mode
  211. gEnableTxBFeeSAP=1
  212. # Enable Tx beamforming in VHT20MHz
  213. # Valid values are 0,1. If commented out, the default value is 0.
  214. # 0=disable, 1=enable
  215. gEnableTxBFin20MHz=1
  216. #Enable/Disable SU Tx beamformer support.
  217. gEnableTxSUBeamformer=1
  218. #Enable Scan Results Aging based on timer
  219. #Timer value is in seconds
  220. #If Set to 0 it will not enable the feature
  221. gScanAgingTime=30
  222. #Enable Scan Results Aging based on number of scans
  223. gScanResultAgeCount=1
  224. #Enable Power saving mechanism Based on Android Framework
  225. #If set to 0 Driver internally control the Power saving mechanism
  226. #If set to 1 Android Framwrok control the Power saving mechanism
  227. isAndroidPsEn=0
  228. #Enable thermal mitigation
  229. gThermalMitigationEnable=0
  230. gEnableFastRoamInConcurrency=1
  231. #Maxium Channel time in msec
  232. gMaxMediumTime = 6000
  233. # 802.11K support
  234. gRrmEnable=1
  235. gRrmOperChanMax=8
  236. gRrmNonOperChanMax=8
  237. gRrmRandIntvl=100
  238. #Scan offload
  239. gEnableDirectedScanOffload=1
  240. #FlexConnect Power Factor
  241. #Default is set to 0 (disable)
  242. gFlexConnectPowerFactor=0
  243. #Disable split scan, the FW will take care of it
  244. gNumChanCombinedConc=60
  245. #Enable Power Save offload
  246. gEnablePowerSaveOffload=2
  247. #Enable firmware uart print
  248. gEnablefwprint=0
  249. #IPA config
  250. gIPAConfig=0
  251. gIPADescSize=800
  252. gIPAPreFilterEnable=1
  253. gIPARMEnable=1
  254. gIPAIPv6Enable=1
  255. IpaUcOffloadEnabled=0
  256. gIpaUcStaOffload=0
  257. #P2P Listen offload
  258. gEnableP2pListenOffload=1
  259. # Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k)
  260. gVhtAmpduLenExponent=7
  261. # Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets)
  262. gVhtMpduLen=2
  263. # Maximum number of wow filters required
  264. #gMaxWoWFilters=22
  265. # WOW Enable/Disable.
  266. # 0 - Disable both magic pattern match and pattern byte match.
  267. # 1 - Enable magic pattern match on all interfaces.
  268. # 2 - Enable pattern byte match on all interfaces.
  269. # 3 - Enable both magic patter and pattern byte match on all interfaces.
  270. # Default value of gEnableWoW is 3.
  271. # gEnableWoW=0
  272. # Enable or Disable MCC Adaptive Scheduler at the FW
  273. # 1=Enable (default), 0=Disable
  274. gEnableMCCAdaptiveScheduler=1
  275. #Enable or Disable p2p device address administered
  276. isP2pDeviceAddrAdministrated=0
  277. #Enable Rx thread
  278. gEnableRxThread=1
  279. #Enable NAPI
  280. gEnableNAPI=1
  281. # Set Thermal Power limit
  282. TxPower2g=10
  283. TxPower5g=10
  284. # Remove Overlap channel restriction
  285. gEnableOverLapCh=0
  286. #Enable VHT on 2.4Ghz
  287. gEnableVhtFor24GHzBand=1
  288. #Enable or Disable 5G early beacon termination
  289. gEnable5gEBT=1
  290. #Maximum number of offload peers supported
  291. # gMaxOffloadPeers=2
  292. # controlling the following offload patterns
  293. # through ini parameter. Default value is 1
  294. # to disable set it to zero. ssdp = 0
  295. # Setup multicast pattern for mDNS 224.0.0.251,
  296. # SSDP 239.255.255.250 and LLMNR 224.0.0.252
  297. ssdp = 0
  298. #Enable Memory Deep Sleep
  299. gEnableMemDeepSleep=1
  300. # Bus bandwidth threshold values in terms of number of packets
  301. gBusBandwidthHighThreshold=2000
  302. gBusBandwidthMediumThreshold=500
  303. gBusBandwidthLowThreshold=150
  304. # Bus bandwidth compute timeout value in ms
  305. gBusBandwidthComputeInterval=100
  306. # Regulatory Setting; 0=STRICT; 1=CUSTOM
  307. gRegulatoryChangeCountry=1
  308. # RA filtering rate limit param, the current value would not
  309. # help if the lifetime in RA is less than 3*60=3min. Then
  310. # we need to change it, though it is uncommon.
  311. # gRAFilterEnable=0
  312. gRArateLimitInterval=600
  313. # Maximum number of concurrent connections
  314. gMaxConcurrentActiveSessions=3
  315. # Disable/Enable GreenAP
  316. # 0 to disable, 1 to enable, default: 1
  317. gEnableGreenAp=1
  318. # Radar PRI multiplier
  319. gDFSradarMappingPriMultiplier=4
  320. gPNOScanSupport=1
  321. # Enable/Disable RX full reorder offload
  322. gReorderOffloadSupported=1
  323. #Enable/Disable LPASS support
  324. # 0 to disable, 1 to enable
  325. gEnableLpassSupport=0
  326. # Whether userspace country code setting shld have priority
  327. gCountryCodePriority=1
  328. # Enable(1)/Disable(0) SIFS burst
  329. gEnableSifsBurst=1
  330. # Enable or Disable Multi-user MIMO
  331. # 1=Enable (default), 0=Disable
  332. gEnableMuBformee=1
  333. # Enable/Disable channel avoidance for SAP in SCC scenario
  334. # 0 - disable
  335. # 1 - enable
  336. gSapSccChanAvoidance=0
  337. # Inactivity time (in ms) to end TX Service Period while in IBSS power save mode
  338. gIbssTxSpEndInactivityTime=10
  339. # Enable/Disable Roaming Offload Support (a.k.a Key Management Offload)
  340. # 0 to disable, 1 to enable
  341. gRoamOffloadEnabled=0
  342. # Enable support for TDLS
  343. # 0 - disable
  344. # 1 - enable
  345. gEnableTDLSSupport=1
  346. # Enable support for Implicit Trigger of TDLS. That is, wlan driver shall
  347. # initiate TDLS Discovery towards a peer whenever setup criteria (throughput
  348. # and RSSI) is met and then will initiate teardown when teardown criteria
  349. # (idle packet count and RSSI) is met.
  350. # 0 - disable
  351. # 1 - enable
  352. gEnableTDLSImplicitTrigger=1
  353. # Enable TDLS External Control. That is, user space application has to
  354. # first configure a peer MAC in wlan driver towards which TDLS is desired.
  355. # Device will establish TDLS only towards those configured peers whenever
  356. # TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS
  357. # when teardown criteria (idle packet count and RSSI) is met. However,
  358. # device will accept TDLS connection if it is initiated from any other peer,
  359. # even if that peer is not configured.
  360. # 0 - disable
  361. # 1 - enable
  362. # For TDLS External Control, Implicit Trigger must also be enabled.
  363. gTDLSExternalControl=1
  364. # Enable support for TDLS off-channel operation
  365. # 0 - disable
  366. # 1 - enable
  367. # TDLS off-channel operation will be invoked when there is only one
  368. # TDLS connection.
  369. gEnableTDLSOffChannel=1
  370. # Enable or Disable Random MAC (Spoofing)
  371. # 1=Enable, 0=Disable (default)
  372. gEnableMacAddrSpoof=0
  373. # Enable(Tx) fastpath for data traffic.
  374. # 0 - disable
  375. # 1 - enable
  376. gEnableFastPath=1
  377. # Enable TCP Segmentation Offload
  378. # 0 - disable
  379. # 1 - enable
  380. TSOEnable=1
  381. # Enable Large Receive Offload
  382. # 0 - disable
  383. # 1 - enable
  384. LROEnable=1
  385. END
  386. # Note: Configuration parser would not read anything past the END marker