From 1133744236bd306039c1a78d1a1b18691a8e43dd Mon Sep 17 00:00:00 2001 From: Jens Reidel Date: Thu, 4 Apr 2024 14:58:43 +0200 Subject: [PATCH] sm8450-common: Add qca6750 config Change-Id: Ieb4a5d880906726d284905f72f38cf3a14178f01 Signed-off-by: Jens Reidel --- common.mk | 1 + wlan/WCNSS_qcom_cfg_qca6750.ini | 86 +++++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100644 wlan/WCNSS_qcom_cfg_qca6750.ini diff --git a/common.mk b/common.mk index d49c92c..695e923 100644 --- a/common.mk +++ b/common.mk @@ -534,6 +534,7 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/wlan/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \ $(LOCAL_PATH)/wlan/vendor_cmd.xml:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/vendor_cmd.xml \ $(LOCAL_PATH)/wlan/WCNSS_qcom_cfg_qca6490.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6490/WCNSS_qcom_cfg.ini \ + $(LOCAL_PATH)/wlan/WCNSS_qcom_cfg_qca6750.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6750/WCNSS_qcom_cfg.ini \ $(LOCAL_PATH)/wlan/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf PRODUCT_COPY_FILES += \ diff --git a/wlan/WCNSS_qcom_cfg_qca6750.ini b/wlan/WCNSS_qcom_cfg_qca6750.ini new file mode 100644 index 0000000..07c7590 --- /dev/null +++ b/wlan/WCNSS_qcom_cfg_qca6750.ini @@ -0,0 +1,86 @@ +# This file allows user to override the factory +# defaults for the WLAN Driver + +gDot11Mode=0 +InfraUapsdVoSrvIntv=0 +InfraUapsdViSrvIntv=0 +InfraUapsdBeSrvIntv=0 +InfraUapsdBkSrvIntv=0 +gAddTSWhenACMIsOff=1 +gEnableApOBSSProt=1 +RTSThreshold=1048576 +g11dSupportEnabled=0 +gEnableDFSMasterCap=1 +gNeighborScanTimerPeriod=200 +gNeighborLookupThreshold=76 +FastRoamEnabled=1 +RoamRssiDiff=5 +gChannelBondingMode5GHz=1 +gAllowDFSChannelRoam=1 +gSetTxChainmask1x1=1 +gSetRxChainmask1x1=1 +gWlanMccToSccSwitchMode = 3 +gEnableTXSTBC=1 +gEnableTxBFeeSAP=1 +gEnableTxBFin20MHz=1 +gEnableTxSUBeamformer=1 +gRrmEnable=1 +gVhtAmpduLenExponent=7 +gVhtMpduLen=2 +isP2pDeviceAddrAdministrated=0 +gEnableVhtFor24GHzBand=1 +gEnableLpassSupport=1 +gCountryCodePriority=1 +gEnableMuBformee=1 +gTDLSExternalControl=1 +gEnableTDLSOffChannel=1 +gThermalMitigationEnable=0 + +################ Datapath feature set Begin ################ +gVhtRxMCS=2 +gVhtTxMCS=2 +gEnable2x2=1 +gVhtRxMCS2x2=2 +gVhtTxMCS2x2=2 +dp_tx_ring_size=3072 +rx_mode=20 +gEnableFastPath=1 +TSOEnable=1 +GROEnable=1 +ght_mpdu_density=5 +gEnableFlowSteering=1 +maxMSDUsPerRxInd=8 +gEnableNUDTracking=1 +dp_rx_fisa_enable=1 +dp_rx_flow_search_table_size=128 +rpsRxQueueCpuMapList=07 +legacy_mode_csum_disable=1 + +################ Datapath feature set End ################ + +adaptive_dwell_mode_enabled=1 +hostscan_adaptive_dwell_mode=1 +enable_rtt_mac_randomization=1 +gEnableSNRMonitoring=1 +gWmiCreditCount=1 +AutoChannelSelectWeight=0x00fafafa +bcast_twt=1 +gRuntimePM=2 +gRuntimePMDelay=500 +oem_6g_support_disable=0 + +gEnableSWLM=1 +g_enable_pci_gen=1 +ssdp=0 +gRArateLimitInterval=600 +gEnableSifsBurst=1 +gIbssTxSpEndInactivityTime=10 +RX_THREAD_UL_CPU_AFFINITY_MASK=0xc0 +dp_rx_buff_prealloc_pool=1 +dp_rx_refill_buff_pool=1 +dp_rx_fst_in_cmem=1 + +END + +# Note: Configuration parser would not read anything past the END marker +