From 26cd0e975b04b2ae5c3ae0cb7b2f8326825c3104 Mon Sep 17 00:00:00 2001 From: Max Weffers Date: Sat, 7 Dec 2019 16:24:44 +0100 Subject: [PATCH] sdm660: wifi: Update Config from platina-user-10-QKQ1.190910.002-9.12.4-release-keys --- wifi/WCNSS_qcom_cfg.ini | 58 ++++++++++++++++++++++++++--------------- 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini index b10976fb..db26fcb2 100644 --- a/wifi/WCNSS_qcom_cfg.ini +++ b/wifi/WCNSS_qcom_cfg.ini @@ -59,7 +59,7 @@ gFixedRate=0 # gFragmentationThreshold=2346 # RTS threshold -RTSThreshold=1048576 +RTSThreshold=2346 # CTS2SELF_ENABLED_4_SWRETRIES gEnableRTSProfiles=34 @@ -99,12 +99,11 @@ FastRoamEnabled=1 # 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 # To enable, set gRoamIntraBand=1 (Roaming within band) # To disable, set gRoamIntraBand=0 (Roaming across band) gRoamIntraBand=0 - # Sets RSSI preference for 5GHz over 2.4GHz AP gSelect5GHzMargin=5 @@ -159,6 +158,9 @@ gChannelBondingMode24GHz=1 gGoKeepAlivePeriod = 20 gApKeepAlivePeriod = 20 +#Enable Keep alive with non-zero period value +gStaKeepAlivePeriod = 30 + #If set will start with active scan after driver load, otherwise will start with #passive scan to find out the domain gEnableBypass11d=1 @@ -199,7 +201,7 @@ gEnableMCCMode=1 # 3-Force SCC if same band, without SAP restart by sending (E)CSA # 4-Force SCC if same band (or) use SAP mandatory channel for DBS, # without SAP restart by sending (E)CSA -gWlanMccToSccSwitchMode=3 +gWlanMccToSccSwitchMode = 3 # 1=enable STBC; 0=disable STBC gEnableRXSTBC=1 @@ -316,7 +318,11 @@ gMaxConcurrentActiveSessions=3 # Disable/Enable GreenAP # 0 to disable, 1 to enable, default: 1 -gEnableGreenAp=0 +gEnableGreenAp=1 + +# Disable/Enbale Enhanced Green AP +# 0 to disable, 1 to enable, default: 0 +gEnableEGAP=1 # Radar PRI multiplier gDFSradarMappingPriMultiplier=4 @@ -424,7 +430,7 @@ gCEClassifyEnable=1 # Enable Rx handling options # Rx_thread=1 RPS=2(default for ROME) NAPI=4(default for ihelium) -rx_mode=5 +rx_mode=4 # Enable(Tx) fastpath for data traffic. # 1 - enable(default) 0 - disable @@ -442,11 +448,6 @@ TSOEnable=1 # 1 - enable(default) 0 - disable LROEnable=1 -# Enable Generic Receive Offload -# LRO and GRO are exclusive to each other -# LRO support is deprecated on latest 4.9(SDM845) kernel -GROEnable=1 - # Enable HT MPDU Density # 4 for 2 micro sec ght_mpdu_density=4 @@ -468,7 +469,6 @@ ce_service_max_rx_ind_flush=1 # Maximum number of MSDUs the firmware will pack in one HTT_T2H_MSG_TYPE_RX_IN_ORD_PADDR_IND maxMSDUsPerRxInd=8 - ################ Datapath feature set End ################ ################ NAN feature set start ################### @@ -487,13 +487,12 @@ adapt_dwell_lpf_weight=80 adapt_dwell_wifi_act_threshold=10 -# Enable/Disable DTIM Synth -# 1- Enable DTIM Synth -# 0- Disable DTIM Synth -gEnableLPRx=0 +# Enable pkt log +# 1 - enable, 0 - disable +gEnablePacketLog=1 # Force 1x1 for 2.4g SAP, P2P-GC/GO, 2x2 for STA -gVdevTypeNss_2g=21846 +# gVdevTypeNss_2g=21846 # 0: Disable BPF packet filter # 1: Enable BPF packet filter @@ -501,14 +500,14 @@ gBpfFilterEnable=1 # 0: Disable force 1x1 on MTK solution AP # 1: Enable force 1x1 on MTK solution AP -gForce1x1Exception=1 +# gForce1x1Exception=1 # set modulated DTIM interval gEnableModulatedDTIM=3 gMaxLIModulatedDTIM=3 # groam_dense_rssi_thresh_offset - Sets dense roam RSSI threshold diff -groam_dense_rssi_thresh_offset=0 +groam_dense_rssi_thresh_offset=5 # Dense traffic threshold in kBps gtraffic_threshold=50 @@ -524,7 +523,7 @@ gRoamBmissFinalBcnt=20 # 1: enabled for Rx traffic # 2: enabled for Tx traffic # 3: enabled for Tx and Rx traffic -gper_roam_enabled=3 +gper_roam_enabled=0 # arp_ac_category - ARP access category # Firmware by default categorizes ARP packets with VOICE TID. @@ -533,7 +532,6 @@ gper_roam_enabled=3 # WME_AC_VI = 2 (Video) # WME_AC_VO = 3 (Voice) arp_ac_category=0 - # Enable/Disable DTIM Synth # 1- Enable DTIM Synth # 0- Disable DTIM Synth @@ -549,6 +547,20 @@ enable_esp_for_roam=1 ##################### Scoring Param ############### esp_qbss_score_idx7_to_4=0000000A +############################################# +# MAWC related configurations +############################################# + +# MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global +MAWCEnabled=0 + +# mawc_roam_enabled - Enable/Disable MAWC during roaming +mawc_roam_enabled=0 + +# Enable/Disable the Motion Aided Wireless Connectivity +# based NLO using this parameter +mawc_nlo_enabled=0 + # Enable Packet filters before going into suspend # will clear those when resume # bit-0 : drop MAC multicast and IPv4 multicast @@ -567,6 +579,7 @@ gEnableDataStallDetection=0 #Enable host side recovery gEnableSelfRecovery=1 +#enable/disable FT open feature enable_ftopen=0 # This ini is used to allow STA+SAP SCC on LTE coex channel @@ -615,6 +628,9 @@ gTxBFCsnValue=4 # @Default: 0 etsi13_srd_chan_in_master_mode=1 +gActiveUcBpfMode=1 +gActiveMcBcBpfMode=1 + END # Note: Configuration parser would not read anything past the END marker