1# This file allows user to override the factory 2# defaults for the WLAN Driver 3 4############################################# 5# STA related general configurations 6############################################# 7# Assigned MAC Addresses - This will be used until NV items are in place 8# Each byte of MAC address is represented in Hex format as XX 9Intf0MacAddress=000AF58989FF 10Intf1MacAddress=000AF58989FE 11Intf2MacAddress=000AF58989FD 12Intf3MacAddress=000AF58989FC 13 14#Channel Bonding 15gChannelBondingMode5GHz=1 16gChannelBondingMode24GHz=0 17 18#Enable Keep alive with non-zero period value 19gStaKeepAlivePeriod=60 20 21# Maximum MPDU length (VHT only. Valid values: 0->3895 octets, 1->7991 octets, 2->11454 octets) 22gVhtMpduLen=2 23 24# 0 for OLPC 1 for CLPC and SCPC 25gEnableCloseLoop=1 26 27ImplicitQosIsEnabled=0 28 29# Enable Tx beamforming in VHT20MHz 30# Valid values are 0,1. If commented out, the default value is 0. 31# 0=disable, 1=enable 32gEnableTxBFin20MHz=1 33 34#Enable/Disable SU Tx beamformer support. 35gEnableTxSUBeamformer=0 36 37# 1=enable tx STBC; 0=disable 38gEnableTXSTBC=1 39 40# 1=enable STBC; 0=disable STBC 41gEnableRXSTBC=1 42 43# 1=enable rx LDPC; 0=disable 44gEnableRXLDPC=1 45 46# Flag to allow STA send AddTspec even when ACM is Off 47gAddTSWhenACMIsOff=1 48 49# RTS threshold 50RTSThreshold=1048576 51 52# 802.11d support 53g11dSupportEnabled=0 54 55 56# Phy Mode (auto, b, g, n, etc) 57# Valid values are 0-9, with 0 = Auto, 4 = 11n, 9 = 11ac 58# 1 = 11abg, 2 = 11b, 3 = 11g, 5 = 11g only, 6 = 11n only 59# 7 = 11b only 8 = 11ac only. 60gDot11Mode=0 61 62# Enable Rx handling options 63# Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium) 64# Rx_thread + NAPI = 5 65rx_mode=5 66 67#Enable VHT on 2.4Ghz 68gEnableVhtFor24GHzBand=1 69 70# Regulatory Setting; 0=STRICT; 1=CUSTOM 71gRegulatoryChangeCountry=1 72 73# userspace country code setting shld take priority 74gCountryCodePriority=1 75 76# Enable/Disable LPASS support 77# 0 to disable, 1 to enable 78gEnableLpassSupport=1 79 80# Enable(1)/Disable(0) SIFS burst 81gEnableSifsBurst=1 82 83# Tx Chain Mask for CCK 84gCckChainMaskEnable=1 85 86# Tx Chain Mask for 1SS 87gTxChainMask1ss=0 88 89# TPC power 90gSelfGenFrmPwr=3 91 92gReportMaxLinkSpeed=0 93 94enable_mac_provision=1 95 96################ NAN feature set start ################### 97# Enable or Disable NAN 98# 1=Enable (default), 0=Disable 99gEnableNanSupport=1 100genable_nan_datapath=1 101gnan_datapath_ndi_channel=6 102################ NAN feature set end ##################### 103 104gIgnorePeerHTopMode=1 105gIgnorePeerErpInfo=1 106 107# 802.11n Protection flag 108gEnableApProt=1 109 110# Fixed Rate 111gFixedRate=0 112 113# Intra-BSS forward 114gDisableIntraBssFwd=0 115 116# WMM Enable/Disable 117WmmIsEnabled=0 118 119# 802.11h support 120g11hSupportEnabled=1 121 122#Short Guard Interval Enable/disable 123gShortGI20Mhz=1 124gShortGI40Mhz=1 125 126#Auto Shutdown wlan : Value in Seconds. 0 means disabled. Max 1 day = 86400 sec 127gWlanAutoShutdown=0 128 129#Preferred band (both or 2.4 only or 5 only) 130BandCapability=0 131 132gVhtChannelWidth=2 133 134# Enable Tx beamforming 135gTxBFEnable=1 136 137# Scan Timing Parameters 138# gPassiveMaxChannelTime=110 139# gPassiveMinChannelTime=60 140gActiveMaxChannelTime=40 141gActiveMinChannelTime=20 142 143#If set to 0, MCC is not allowed. 144gEnableMCCMode=1 145 146# MCC to SCC Switch mode: 147# 0-Disable 148# 1-Enable 149# 2-Force SCC if same band, with SAP restart 150# 3-Force SCC if same band, without SAP restart by sending (E)CSA 151# 4-Force SCC if same band (or) use SAP mandatory channel for DBS, 152# without SAP restart by sending (E)CSA 153gWlanMccToSccSwitchMode = 3 154 155# Maximum Receive AMPDU size (VHT only. Valid values: 0->8k 1->16k 2->32k 3->64k 4->128k) 156gVhtAmpduLenExponent=7 157 158# Maximum number of concurrent connections 159gMaxConcurrentActiveSessions=3 160 161# Radar PRI multiplier 162gDFSradarMappingPriMultiplier=4 163 164# Enable or Disable Multi-user MIMO 165# 1=Enable (default), 0=Disable 166gEnableMuBformee=1 167 168# Enable to check FW hash if secure FW feature is enabled. It's for defconfig 169# builds only since it will be ignored in performance/release builds. 170gEnableFWHashCheck=1 171 172# Enable or Disable MCC Adaptive Scheduler at the FW 173# 1=Enable (default), 0=Disable 174gEnableMCCAdaptiveScheduler=1 175 176# Disable/Enable GreenAP 177# 0 to disable, 1 to enable, default: 1 178gEnableGreenAp=0 179 180################ Datapath feature set Begin ################ 181# Bus bandwidth threshold values in terms of number of packets 182gBusBandwidthHighThreshold=2000 183gBusBandwidthMediumThreshold=500 184gBusBandwidthLowThreshold=150 185 186# Bus bandwidth compute timeout value in ms 187gBusBandwidthComputeInterval=100 188 189# VHT Tx/Rx MCS values 190# Valid values are 0,1,2. If commented out, the default value is 0. 191# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9 192gVhtRxMCS=2 193gVhtTxMCS=2 194 195# VHT Tx/Rx MCS values for 2x2 196# Valid values are 0,1,2. If commented out, the default value is 0. 197# 0=MCS0-7, 1=MCS0-8, 2=MCS0-9 198gEnable2x2=1 199gVhtRxMCS2x2=2 200gVhtTxMCS2x2=2 201 202# Enable/Disable RX full reorder offload 203gReorderOffloadSupported=1 204 205# Enable CE classification 206# 1 - enable(default) 0 - disable 207gCEClassifyEnable=1 208 209# Enable(Tx) fastpath for data traffic. 210# 1 - enable(default) 0 - disable 211gEnableFastPath=1 212 213# This flag enables IP, TCP and UDP checksum offload 214# 1 - enable(default) 0 - disable 215gEnableIpTcpUdpChecksumOffload=1 216 217# Enable TCP Segmentation Offload 218# 1 - enable 0 - disable 219TSOEnable=1 220 221# Enable Generic Receive Offload 222# LRO and GRO are exclusive to each other 223# LRO support is deprecated on latest 4.9(SDM845) kernel 224GROEnable=1 225 226# Enable HT MPDU Density 227# 4 for 2 micro sec 228ght_mpdu_density=4 229 230# Enable flow steering to enable multiple CEs for Rx flows. 231# Multiple Rx CEs<==>Multiple Rx IRQs<==>probably different CPUs. 232# Parallel Rx paths. 233# 1 - enable 0 - disable(default) 234gEnableFlowSteering=1 235 236ce_service_max_yield_time=500 237ce_service_max_rx_ind_flush=1 238maxMSDUsPerRxInd=8 239 240gEnableDataStallDetection=0 241 242gTcpLimitOutputEnable=0 243 244################ Datapath feature set End ################ 245 246############################################# 247# SCAN related configurations 248############################################# 249# Enable/Disable Idle Scan 250gEnableIdleScan=0 251 252#Enable Scan Results Aging based on timer 253#Timer value is in seconds 254#If Set to 0 it will not enable the feature 255gScanAgingTime=30 256 257#Enable Scan Results Aging based on number of scans 258gScanResultAgeCount=1 259 260#Enable thermal mitigation 261gThermalMitigationEnable=0 262 263#Maximum Channel time in msec 264gMaxMediumTime=6000 265 266gPNOScanSupport=1 267 268# Enable or Disable Extended Scan (GScan) 269# 1=Enable (default), 0=Disable 270gExtScanEnable=1 271 272#If set will start with active scan after driver load, otherwise will start with 273#passive scan to find out the domain 274gEnableBypass11d=1 275 276#If set to 0, will not scan DFS channels 277gEnableDFSChnlScan=1 278 279#Maxium Channel time in msec 280gMaxMediumTime = 6000 281 282adaptive_dwell_mode_enabled=1 283 284hostscan_adaptive_dwell_mode=1 285 286adapt_dwell_lpf_weight=80 287 288adapt_dwell_wifi_act_threshold=10 289 290# Enable or disable Probe Req Information Element whitelist. When enabled, IEs corresponding to bits 291# set in bitmaps are allowed in probe request, all others removed while device is unassociated 292# with an AP 293# 1=Enable, 0=Disable (default) 294g_enable_probereq_whitelist_ies=1 295 296# ie bitmap examples: <bitmap_name>=<value> [<Allowed Information elements>] 297# g_probe_req_ie_bitmap_0=0x80000009 #[0, 3, 31] 298# g_probe_req_ie_bitmap_0=0x00000000 #[] (default) 299# g_probe_req_ie_bitmap_1=0x80000009 #[32, 35, 63] 300g_probe_req_ie_bitmap_0=0x0000000B 301g_probe_req_ie_bitmap_1=0x00040000 302# g_probe_req_ie_bitmap_2=0x00000000 303# g_probe_req_ie_bitmap_3=0x00000000 304# g_probe_req_ie_bitmap_4=0x00000000 305# g_probe_req_ie_bitmap_5=0x00000000 306g_probe_req_ie_bitmap_6=0x20000000 307# g_probe_req_ie_bitmap_7=0x00000000 308 309gProbeReqOUIs=0050F208 310 311############################################# 312# Power related configurations 313############################################# 314# Enable IMPS or not 315gEnableImps=1 316 317# Enable BMPS or not 318gEnableBmps=1 319 320# Increase sleep duration (seconds) during IMPS 321# 0 implies no periodic wake up from IMPS. Periodic wakeup is 322# unnecessary if Idle Scan is disabled. 323gImpsModSleepTime=0 324 325# UAPSD service interval for VO,VI, BE, BK traffic 326InfraUapsdVoSrvIntv=0 327InfraUapsdViSrvIntv=0 328InfraUapsdBeSrvIntv=0 329InfraUapsdBkSrvIntv=0 330 331# Enable suspend or not 332# 1: Enable standby, 2: Enable Deep sleep, 3: Enable Mcast/Bcast Filter 333gEnableSuspend=3 334 335#Enable Power Save offload 336gEnablePowerSaveOffload=2 337 338#Enable Power saving mechanism Based on Android Framework 339#If set to 0 Driver internally control the Power saving mechanism 340#If set to 1 Android Framwrok control the Power saving mechanism 341isAndroidPsEn=0 342 343beaconEarlyTerminationWakeInterval=3 344 345#Data Inactivity Timeout when in powersave (in ms) 346gDataInactivityTimeout=200 347 348# Inactivity time (in ms) to end TX Service Period while in IBSS power save mode 349gIbssTxSpEndInactivityTime=10 350 351gEnableModulatedDTIM=2 352gMaxLIModulatedDTIM=6 353 354############################################# 355# Roaming related configurations 356############################################# 357# CSR Roaming Enable(1) Disable(0) 358gRoamingTime=0 359 360# ESE Support and fast transition 361EseEnabled=1 362 363gNeighborLookupThreshold=76 364gNeighborReassocThreshold=81 365gNeighborScanChannelMinTime=20 366gNeighborScanChannelMaxTime=30 367gMaxNeighborReqTries=3 368 369# To enable, set gRoamIntraBand=1 (Roaming within band) 370# To disable, set gRoamIntraBand=0 (Roaming across band) 371gRoamIntraBand=0 372 373# Legacy (non-ESE, non-802.11r) Fast Roaming Support 374# To enable, set FastRoamEnabled=1 375# To disable, set FastRoamEnabled=0 376FastRoamEnabled=1 377 378#Check if the AP to which we are roaming is better than current AP in terms of RSSI. 379#Checking is disabled if set to Zero.Otherwise it will use this value as to how better 380#the RSSI of the new/roamable AP should be for roaming 381RoamRssiDiff=3 382 383# If the RSSI of any available candidate is better than currently associated 384# AP by at least gImmediateRoamRssiDiff, then being to roam immediately (without 385# registering for reassoc threshold). 386# NOTE: Value of 0 means that we would register for reassoc threshold. 387gImmediateRoamRssiDiff=10 388 389# 802.11K support 390gRrmEnable=1 391gRrmOperChanMax=8 392gRrmNonOperChanMax=8 393 394gEnableFastRoamInConcurrency=1 395 396# Enable/Disable Roaming Offload Support (a.k.a Key Management Offload) 397# 0 to disable, 1 to enable 398gRoamOffloadEnabled=1 399 400gAllowDFSChannelRoam=1 401 402gLFRSubnetDetectionEnable=0 403 404############################################# 405# Offload related configurations 406############################################# 407# Beacon filtering frequency (unit in beacon intervals) 408gNthBeaconFilter=50 409 410# Enable WAPI or not 411# WAPIIsEnabled=0 412 413#Flag to enable HostARPOffload feature or not 414hostArpOffload=1 415 416#Flag to enable HostNSOffload feature or not 417hostNSOffload=1 418 419# controlling the following offload patterns 420# through ini parameter. Default value is 1 421# to disable set it to zero. ssdp = 0 422# Setup multicast pattern for mDNS 224.0.0.251, 423# SSDP 239.255.255.250 and LLMNR 224.0.0.252 424ssdp = 0 425 426#Enable MC address filtering offload 427gMCAddrListEnable=1 428 429#Enable Active mode offload 430gActiveModeOffload=1 431 432#Enable Active mode offload 433gEnableActiveModeOffload=1 434 435#Enable APF in Active mode 436gActiveUcBpfMode=2 437gActiveMcBcBpfMode=1 438 439#HW CCE Filter mode 440gHwFilterMode=0 441 442# WOW Enable/Disable. 443# 0 - Disable both magic pattern match and pattern byte match. 444# 1 - Enable magic pattern match on all interfaces. 445# 2 - Enable pattern byte match on all interfaces. 446# 3 - Enable both magic patter and pattern byte match on all interfaces. 447# Default value of gEnableWoW is 3. 448# gEnableWoW=0 449 45011k_offload_enable_bitmask=0 451 452 453############################################# 454# Logging related configurations 455############################################# 456gEnableLogp=1 457 458gEnableSelfRecovery=1 459 460#Enable firmware log 461gEnablefwlog=1 462# Additional firmware log levels 463gFwDebugLogLevel=3 464gFwDebugModuleLoglevel=2,1,3,1,5,1,9,1,13,1,14,1,18,1,19,1,26,1,28,1,29,1,31,1,36,1,38,1,46,1,47,1,50,1,52,1,53,1,56,1,60,1,61,1,4,1 465 466#Enable firmware uart print 467gEnablefwprint=0 468 469############################################# 470# TDLS related configurations 471############################################# 472# Enable support for TDLS 473# 0 - disable 474# 1 - enable 475gEnableTDLSSupport=1 476 477# Enable support for Implicit Trigger of TDLS. That is, wlan driver shall 478# initiate TDLS Discovery towards a peer whenever setup criteria (throughput 479# and RSSI) is met and then will initiate teardown when teardown criteria 480# (idle packet count and RSSI) is met. 481# 0 - disable 482# 1 - enable 483gEnableTDLSImplicitTrigger=1 484 485# Enable TDLS External Control. That is, user space application has to 486# first configure a peer MAC in wlan driver towards which TDLS is desired. 487# Device will establish TDLS only towards those configured peers whenever 488# TDLS criteria (throughput and RSSI threshold) is met and teardown TDLS 489# when teardown criteria (idle packet count and RSSI) is met. However, 490# device will accept TDLS connection if it is initiated from any other peer, 491# even if that peer is not configured. 492# 0 - disable 493# 1 - enable 494# For TDLS External Control, Implicit Trigger must also be enabled. 495gTDLSExternalControl=1 496 497# Enable support for TDLS off-channel operation 498# 0 - disable 499# 1 - enable 500# TDLS off-channel operation will be invoked when there is only one 501# TDLS connection. 502gEnableTDLSOffChannel=1 503 504gEnableTDLSScan=1 505gTDLSTxPacketThreshold=10 506gTDLSIdlePacketThreshold=1 507 508############################################# 509# P2P related configurations 510############################################# 511#P2P Listen offload 512gEnableP2pListenOffload=1 513 514#Enable or Disable p2p device address administered 515isP2pDeviceAddrAdministrated=0 516 517#Say gGoKeepAlivePeriod(5 seconds) and gGoLinkMonitorPeriod(10 seconds). 518#For every 10 seconds DUT send Qos Null frame(i.e., Keep Alive frame if link is idle for last 10 seconds.) 519#For both active and power save clients. 520 521#Power save clients: DUT set TIM bit from 10th second onwards and till client honors TIM bit. 522#If doesn't honor for 5 seconds then DUT remove client. 523 524# chain mask related params 525# 526# Set txchainmask and rxchainmask 527# These parameters are used only if gEnable2x2 is 0 528# Valid values are 1,2 529# Set gSetTxChainmask1x1=1 or gSetRxChainmask1x1=1 to select chain0. 530# Set gSetTxChainmask1x1=2 or gSetRxChainmask1x1=2 to select chain1. 531gSetTxChainmask1x1=1 532gSetRxChainmask1x1=1 533 534# Following parameters are for test purpose only and when set will 535# configure tx and rx per band chain mask. These parameters will 536# take effect only when: 537# gEnable2x2=0 538# gDualMacFeatureDisable=1 539# gSetTxChainmask1x1=0 540# gSetRxChainmask1x1=0 541# These are defaulted to 0 with following definitions: 542# 0: don't care 543# 1: use chain 0 544# 2: use chain 1 545# 3: can use either chain 546tx_chain_mask_2g=0 547rx_chain_mask_2g=0 548tx_chain_mask_5g=0 549rx_chain_mask_5g=0 550 551gForce1x1Exception=0 552 553#IPA config is a bit mask and following are the configurations. 554#bit0 IPA Enable 555#bit1 IPA PRE Filter enable 556#bit2 IPv6 enable 557#bit3 IPA Resource Manager (RM) enable 558#bit4 IPA Clock scaling enable 559#bit5 IPA uC ENABLE 560#bit6 IPA uC STA ENABLE 561#bit7 IPA Real Time Debugging 562gIPAConfig=0x7d 563gIPADescSize=800 564 565#gGoLinkMonitorPeriod/ gApLinkMonitorPeriod is period where link is idle and it is period 566#where we send NULL frame. 567 568#gApLinkMonitorPeriod = 10 569#gGoLinkMonitorPeriod = 10 570 571#gGoKeepAlivePeriod/gApKeepAlivePeriod is time to spend to check whether frame are succeed to send or not. 572#Hence total effective detection time is gGoLinkMonitorPeriod+ gGoKeepAlivePeriod/gApLinkMonitorPeriod+ gApKeepAlivePeriod. 573gGoKeepAlivePeriod = 20 574gApKeepAlivePeriod = 20 575 576############################################# 577# SAP related configurations 578############################################# 579#Enable OBSS protection 580gEnableApOBSSProt=1 581 582#Enable/Disable UAPSD for SoftAP 583gEnableApUapsd=1 584 585# SAP auto channel selection configuration 586# 0 = disable auto channel selection 587# 1 = enable auto channel selection, channel provided by supplicant will be ignored 588gApAutoChannelSelection=0 589 590#SOFTAP Channel Range selection 591gAPChannelSelectStartChannel=1 592gAPChannelSelectEndChannel=11 593 594# SAP Country code 595# Default Country Code is 2 bytes, 3rd byte is optional indoor or out door. 596# Example 597# US Indoor, USI 598# Korea Outdoor, KRO 599# Japan without optional byte, JP 600# France without optional byte, FR 601#gAPCntryCode=USI 602 603# DFS Master Capability 604gEnableDFSMasterCap=1 605 606#Auto Shutdown Value in seconds. A value of 0 means Auto shutoff is disabled 607gAPAutoShutOff=0 608 609# Remove Overlap channel restriction 610gEnableOverLapCh=0 611 612# Enable/Disable channel avoidance for SAP in SCC scenario 613# 0 - disable 614# 1 - enable 615gSapSccChanAvoidance=0 616 617#Enable/Disable Tx beamformee in SAP mode 618gEnableTxBFeeSAP=1 619 620 621 622#Enable/Disable dual MAC feature 623# 0 - enable DBS 624# 1 - disable DBS 625# 2 - disable DBS for connection but keep DBS for scan 626# 3 - disable DBS for connection but keep DBS scan with async 627# scan policy disabled 628# 4 - enable DBS for connection as well as for scan with async 629# scan policy disabled 630# 5 - enable DBS for connection but disable dbs for scan. 631# 6 - enable DBS for connection but disable simultaneous scan from 632# upper layer (DBS scan remains enabled in FW). 633gDualMacFeatureDisable=6 634 635# Turn on STA + AP/STA 636gEnableConcurrentSTA=wlan1 637 638# 0 - Disallow STA+SAP SCC on LTE coex channel 639# 1 - Allow STA+SAP SCC on LTE coex channel 640g_sta_sap_scc_on_lte_coex_chan=1 641 642#Set priority for connection with bssid_hint 643g_is_bssid_hint_priority=0 644 645gdbs_scan_selection=5,4,1,16,4,1 646 647enable_11d_in_world_mode=1 648 649gDptraceConfig=1,4,1,126 650 651############################################# 652# MAWC related configurations 653############################################# 654 655# MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global 656MAWCEnabled=0 657 658# mawc_roam_enabled - Enable/Disable MAWC during roaming 659mawc_roam_enabled=0 660 661# Enable/Disable the Motion Aided Wireless Connectivity 662# based NLO using this parameter 663mawc_nlo_enabled=0 664 665#Enable/Disable chain selection optimization for one chain dtim 666#Min: 0 667#MAX: 30 668gEnableDTIMSelectionDiversity=3 669 670# Enable/Disable rtt sta mac randomization 671enable_rtt_mac_randomization=1 672 673gAP11ACOverride=0 674 675channel_select_logic_conc=0x0 676 677gConfigVCmode=0 678 679wlm_latency_flags_moderate=0 680wlm_latency_flags_low=0 681wlm_latency_flags_ultralow=0 682 683oce_sta_enable=0 684oce_sap_enable=0 685num_oce_wan_slots=0 686oce_wan_score_idx7_to_4=0 687oce_wan_score_idx11_to_8=0 688oce_enable_rssi_assoc_reject=0 689 690# Enable/Disable rtt sta mac randomization 691enable_rtt_mac_randomization=1 692 693oce_sta_enable=0 694oce_sap_enable=0 695oce_enable_rssi_assoc_reject=0 696 697#Enable/Disable Secondary Retry Rate feature subset 698gEnableSecondaryRate=0x17 699 700#Timer waiting for interface up from the upper layer 701gInterfaceChangeWait=1000 702 703#Enable Bmps(power save in connected state) based on timer 704#Timer value is in seconds 705gAutoBmpsTimerValue=90 706 707END 708 709# Note: Configuration parser would not read anything past the END marker 710