diff --git a/wifi/WCNSS_qcom_cfg.ini b/wifi/WCNSS_qcom_cfg.ini index 8e49f347..bbd349cf 100644 --- a/wifi/WCNSS_qcom_cfg.ini +++ b/wifi/WCNSS_qcom_cfg.ini @@ -61,6 +61,9 @@ gFixedRate=0 # RTS threshold RTSThreshold=1048576 +# CTS2SELF_ENABLED_4_SWRETRIES +gEnableRTSProfiles=34 + # Intra-BSS forward gDisableIntraBssFwd=0 @@ -102,6 +105,15 @@ RoamRssiDiff=3 # To disable, set gRoamIntraBand=0 (Roaming across band) gRoamIntraBand=0 +# Sets RSSI preference for 5GHz over 2.4GHz AP +gSelect5GHzMargin=5 + +# RSSI threshold offset for 2G to 5G roam +roam_bad_rssi_thresh_offset_2g=0 + +#RSSI threshold for background roam +roam_bg_scan_bad_rssi_thresh=-76 + #Short Guard Interval Enable/disable gShortGI20Mhz=1 gShortGI40Mhz=1 @@ -430,6 +442,11 @@ 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 @@ -443,6 +460,15 @@ gEnableFlowSteering=1 #set get linklayer status support gEnableLLStats=1 +# Time in microseconds after which a NAPI poll must yield +ce_service_max_yield_time=500 + +#Maximum number of HTT messages to be processed per NAPI poll +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 ################### @@ -450,8 +476,79 @@ gEnableLLStats=1 # Enable NAN discovery (NAN 1.0) # 1 - enable 0 - disable(default) gEnableNanSupport=1 +genable_nan_datapath=1 ################ NAN feature set end ##################### +adaptive_dwell_mode_enabled=1 + +hostscan_adaptive_dwell_mode=1 + +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 + +# Force 1x1 for 2.4g SAP, P2P-GC/GO, 2x2 for STA +gVdevTypeNss_2g=21846 + +# 0: Disable BPF packet filter +# 1: Enable BPF packet filter +gBpfFilterEnable=1 + +# 0: Disable force 1x1 on MTK solution AP +# 1: Enable force 1x1 on MTK solution AP +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 + +# Dense traffic threshold in kBps +gtraffic_threshold=50 + +# Set beacon missed count threshold +# if beacon missed counter > gRoamBmissFirstBcnt+gRoamBmissFinalBcnt, +# heartbeat error triggered +gRoamBmissFirstBcnt=10 +gRoamBmissFinalBcnt=20 + +# To enabled/disable PER based roaming in FW +# 0: disabled +# 1: enabled for Rx traffic +# 2: enabled for Tx traffic +# 3: enabled for Tx and Rx traffic +gper_roam_enabled=3 + +# arp_ac_category - ARP access category +# Firmware by default categorizes ARP packets with VOICE TID. +# WME_AC_BE = 0 (Best effort) +# WME_AC_BK = 1 (Background) +# 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 +gEnableLPRx=0 + +enable_scoring_for_roam=1 + +oce_enable_probe_req_deferral=1 + +oce_enable_probe_req_rate=1 + +enable_esp_for_roam=1 +##################### Scoring Param ############### +esp_qbss_score_idx7_to_4=0000000A + # Enable Packet filters before going into suspend # will clear those when resume # bit-0 : drop MAC multicast and IPv4 multicast @@ -460,7 +557,31 @@ gEnableNanSupport=1 # bit-3 : drop XID - Exchange station Identification packet # bit-4 : drop STP - Spanning Tree Protocol # bit-5 : drop DTP/LLC/CDP -g_enable_packet_filter_bitmap=3 +g_enable_packet_filter_bitmap=0 + +# Enable/Disable Data stall detection +# 0: disable +# 1: enable +gEnableDataStallDetection=0 + +#Enable host side recovery +gEnableSelfRecovery=1 + +enable_ftopen=0 + +# This ini is used to allow STA+SAP SCC on LTE coex channel +# 0 - Disallow STA+SAP SCC on LTE coex channel +# 1 - Allow STA+SAP SCC on LTE coex channel +g_sta_sap_scc_on_lte_coex_chan=1 + +#Add another interface while driver load +gEnableConcurrentSTA=wlan1 + +# This ini is used to allow STA+SAP SCC on DFS channel with master mode +# support disabled +# 0 - Disallow STA+SAP SCC on DFS channel +# 1 - Allow STA+SAP SCC on DFS channel with master mode disabled +g_sta_sap_scc_on_dfs_chan=1 # Disable RX wakelock feature rx_wakelock_timeout=0