From ff69647148a40fc64a853de2dcdca8c8c5469924 Mon Sep 17 00:00:00 2001 From: Pranav Vashi Date: Sun, 15 Dec 2024 15:39:03 +0530 Subject: [PATCH] sm6150-common: configs: Update wcnss config from sm8150 Signed-off-by: Pranav Vashi Signed-off-by: donjohanliebert --- configs/wifi/WCNSS_qcom_cfg.ini | 70 ++++++++++++++++++++++----------- 1 file changed, 48 insertions(+), 22 deletions(-) diff --git a/configs/wifi/WCNSS_qcom_cfg.ini b/configs/wifi/WCNSS_qcom_cfg.ini index cbe2ee7..624f548 100644 --- a/configs/wifi/WCNSS_qcom_cfg.ini +++ b/configs/wifi/WCNSS_qcom_cfg.ini @@ -59,9 +59,9 @@ gFixedRate=0 # gFragmentationThreshold=2346 # RTS threshold -RTSThreshold=1048576 +RTSThreshold=2346 -# RTSCTS_ENABLED_4_SWRETRIES +# CTS2SELF_ENABLED_4_SWRETRIES gEnableRTSProfiles=33 # Intra-BSS forward @@ -461,9 +461,13 @@ ce_service_max_rx_ind_flush=1 maxMSDUsPerRxInd=8 # Enable NUD tracking feature -# 0 - disable(default),1 - trigger disconnect, 2 - trigger roaming, -# 3 - trigger roaming, but if roam fails, disconnection +# 1 - enable 0 - disable(default) 3 - Driver will try to roam to a new AP but if roam fails, disconnect. gEnableNUDTracking=3 + +# Enable PEER UNMAP CONF SUPPORT +# 1 - enable 0 - disable(default) +gEnablePeerUnmapConfSupport=1 + ################ Datapath feature set End ################ ################ NAN feature set start ################### @@ -490,9 +494,21 @@ adapt_dwell_wifi_act_threshold=10 # Enable pkt log # 1 - enable, 0 - disable gEnablePacketLog=1 + +# 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 + +gActiveUcBpfMode=1 +gActiveMcBcBpfMode=1 + +# 0: Disable force 1x1 on MTK solution AP +# 1: Enable force 1x1 on MTK solution AP +gForce1x1Exception=0 + # set modulated DTIM interval gEnableModulatedDTIM=3 gMaxLIModulatedDTIM=3 @@ -523,11 +539,15 @@ 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 gEnableLPRx=0 + +############################################# +# MAWC related configurations +############################################# + # MAWCEnabled - Enable/Disable Motion Aided Wireless Connectivity Global MAWCEnabled=0 @@ -568,12 +588,9 @@ drop_bcn_on_chan_mismatch=0 enable_rtt_mac_randomization=1 # Create another interface during driver load -#gEnableConcurrentSTA=wlan1 +gEnableConcurrentSTA=wlan1 -# Enable/Disable DBS -gDualMacFeatureDisable=0 - -# Enable/Disable SNR monitoring +#Enable/Disable SNR monitoring gEnableSNRMonitoring=1 # WLM latency Enable @@ -582,33 +599,42 @@ wlm_latency_enable=1 # WLM flags setting for ultralow level, bit9 for BMPS disabled wlm_latency_flags_ultralow=0xe03 -# Enable ETSI SRD channels by Xiaomi. Qualcom default value is disable +#Enable ETSI SRD channels by Xiaomi. Qualcom default value is disable etsi13_srd_chan_in_master_mode=1 #Configures Channel Bonding in 24 GHz -gChannelBondingMode24GHz=1 - - -# Disable wpa3 on 7150 device -sae_enabled=1 - -gActiveUcBpfMode=1 -gActiveMcBcBpfMode=1 +gChannelBondingMode24GHz=0 # Allow STA+SAP SCC on DFS channel with master mode support disabled -g_sta_sap_scc_on_dfs_chan=2 +g_sta_sap_scc_on_dfs_chan=1 -gStaPrefer80MHzOver160MHz=1 +# Enable wpa3 on 8150 device +sae_enabled=1 + +# Set IPA low/med/high bandwidth mbps +gIPALowBandwidthMbps=100 +gIPAMediumBandwidthMbps=400 +gIPAHighBandwidthMbps=800 + +# Enable/Disable force bandwidth voting during IPA suspend +gIPAForceVotingEnable=1 +spectral_disable=1 gEnableSARV1toSARV2=1 -np_chan_weight=0x1 +gStaPrefer80MHzOver160MHz=1 # Reduce the expiry time for avoid list and black list in drv. avoid_list_expiry_time=3 black_list_expiry_time=3 # Improve threshold to move the Ap from avoid to blacklist bad_bssid_counter_thresh=7 + +# Enable SoftAP on indoor channel, but Xiaomi's patch in driver only +# allow this when STA was connected on the same indoor channel. +gindoor_channel_support=1 + END # Note: Configuration parser would not read anything past the END marker +