From 7e95c1ecea3a627afafb6fbd576a7c22d2911a1c Mon Sep 17 00:00:00 2001 From: chaptsand Date: Mon, 30 Dec 2024 22:42:38 +0800 Subject: [PATCH] sm8550-common: wifi: checkout to CLO kalama configurations Change-Id: I3cdc89e4ea1f309cbc8ca1f42537be35625aaea3 --- configs/wifi/WCNSS_qcom_cfg_kiwi_v2.ini | 180 ++++------------------- configs/wifi/WCNSS_qcom_cfg_qca6490.ini | 171 +++------------------ configs/wifi/p2p_supplicant_overlay.conf | 23 +-- configs/wifi/wpa_supplicant_overlay.conf | 9 +- 4 files changed, 54 insertions(+), 329 deletions(-) diff --git a/configs/wifi/WCNSS_qcom_cfg_kiwi_v2.ini b/configs/wifi/WCNSS_qcom_cfg_kiwi_v2.ini index 756dafa..83076c8 100644 --- a/configs/wifi/WCNSS_qcom_cfg_kiwi_v2.ini +++ b/configs/wifi/WCNSS_qcom_cfg_kiwi_v2.ini @@ -11,11 +11,15 @@ 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 @@ -23,11 +27,13 @@ gEnableTxSUBeamformer=1 gRrmEnable=1 gVhtAmpduLenExponent=7 gVhtMpduLen=2 +isP2pDeviceAddrAdministrated=0 gEnableVhtFor24GHzBand=1 gEnableLpassSupport=1 gCountryCodePriority=1 gEnableMuBformee=1 -g_sta_sap_scc_on_dfs_chan=0 +gTDLSExternalControl=1 +gEnableTDLSOffChannel=1 gNumVdevs=5 gSoftApMaxPeers=10 @@ -37,30 +43,35 @@ gVhtTxMCS=2 gEnable2x2=1 gVhtRxMCS2x2=2 gVhtTxMCS2x2=2 -gIPAConfig=0 +gIPAConfig=0x27d gIPADescSize=800 dp_tx_ring_size=5120 dp_tx_compl_ring_size=8192 -dp_tx_desc=6144 -dp_tx_ext_desc=6144 +dp_tx_desc=8192 +dp_tx_ext_desc=8192 rx_mode=20 gEnableFastPath=1 TSOEnable=1 -GROEnable=3 +GROEnable=1 ght_mpdu_density=5 gEnableFlowSteering=1 maxMSDUsPerRxInd=8 +gEnableNUDTracking=1 dp_rx_fisa_enable=1 dp_rx_flow_search_table_size=256 dp_rx_fst_in_cmem=1 -dp_rx_fisa_lru_del_enable=0 -dp_rxdma_buf_ring=2048 -dp_rxdma_refill_ring=6144 -dp_rx_sw_desc_num=6144 +dp_rx_fisa_lru_del_enable=1 +dp_rxdma_buf_ring=4096 +dp_rxdma_refill_ring=16384 +dp_rx_sw_desc_num=16384 +dp_reo_dst_ring=6144 +dp_reo_rings_map=0x3F +dp_rx_refill_buff_pool=1 +rpsRxQueueCpuMapList=f3 legacy_mode_csum_disable=1 icmp_req_to_fw_mark_interval=200 gBusBandwidthVeryHighThreshold=10000 -gRxAggregationSize=512 +gRxAggregationSize=1024 ################ Datapath feature set End ################ @@ -75,154 +86,15 @@ gRuntimePM=2 gRuntimePMDelay=500 gEnablePacketLog=0 oem_6g_support_disable=0 -gMaxConcurrentActiveSessions=4 -g_enable_pci_gen=0 -####### Samsung ########### -gEnableModulatedDTIM=5 -gEnableForcedDTIM=1 -gNeighborScanTimerPeriod=45 -gStaKeepAlivePeriod=15 -gWlanMccToSccSwitchMode = 4 -ssdp=0 -gRArateLimitInterval=600 -gTDLSExternalControl=2 -gEnableTDLSOffChannel=0 -gEnableTDLSBufferSta=0 -gTDLSUapsdMask=0 -gTDLSRSSITeardownThreshold=-95 -gTDLSTxPacketThreshold=200 -gEnableSAPManadatoryChanList=1 active_max_channel_time_2g=80 -gActiveMaxChannelTime=80 +gActiveMaxChannelTime=60 active_max_channel_time_6g=60 -gPassiveMaxChannelTime=110 passive_max_channel_time_6g=60 -gMulticastHostFwMsgs=1 -gIPAMediumBandwidthMbps=400 -gIPAHighBandwidthMbps=800 -wlm_latency_enable=1 -wlm_latency_flags_low=0x5A0000 -wlm_latency_flags_ultralow=0x5A0000 -spectral_disable=1 -g_prefer_5g_scc_to_dbs=8 -gEnableNUDTracking=0 -fw_timeout_crash=1 -gDisableIntraBssFwd=0 -gNeighborScanChannelMinTime=20 -gRoamIntraBand=0 -gEnableDFSChnlScan=1 -gEnablefwprint=0 -gBusBandwidthHighThreshold=2000 -gBusBandwidthMediumThreshold=500 -gBusBandwidthLowThreshold=150 -gBusBandwidthComputeInterval=100 -gReorderOffloadSupported=1 -gCEClassifyEnable=1 -gEnableIpTcpUdpChecksumOffload=1 -ce_service_max_yield_time=500 -ce_service_max_rx_ind_flush=1 -adapt_dwell_lpf_weight=80 -adapt_dwell_wifi_act_threshold=10 -gfine_time_meas_cap=0x0030D -isP2pDeviceAddrAdministrated=1 -gGO11ACOverride=1 -rpsRxQueueCpuMapList=7 +gMaxConcurrentActiveSessions=4 +wlm_latency_flags_xr=0x0000100080083 -# To get PCIe debug info -gEnableSelfRecovery=1 -#Roaming enhancements related ini -roam_triggers=0xEF62C -enable_bss_load_roam_trigger=1 -bss_load_threshold=70 -bss_load_sample_time=10000 -bss_load_trigger_2g_rssi_threshold=-60 -bss_load_trigger_5g_rssi_threshold=-70 -enable_idle_roam=1 -idle_roam_inactive_time=5 -idle_roam_min_rssi=-65 -idle_roam_rssi_delta=8 -idle_data_packet_count=10 -enable_disconnect_roam_offload=1 -enable_adaptive_11r=1 -gNeighborLookupThreshold=-75 -gEmptyScanRefreshPeriod=10000 -roam_scan_inactivity_time=10000 -roam_scan_period_after_inactivity=120000 -roam_inactive_data_count=5 -roam_score_delta=20 -roam_score_delta_bitmap=0xFFFFFFFF -btm_roam_score_delta=0 -idle_roam_score_delta=0 -candidate_min_rssi_for_beacon_miss=-75 -candidate_min_rssi_for_disconnect=-75 -btm_disassoc_timer_threshold=0 -nr_offload_params_bitmask=1 -nr_offload_time_offset=1 -btm_offload_config=449 -roam_candidate_validity_timer=0 -minimum_btm_candidate_score=0 -roam_bad_rssi_thresh_offset_2g=0 -roam_bg_scan_client_bitmap=0 -rssi_weightage=65 -channel_congestion_weightage=35 -ht_caps_weightage=0 -vht_caps_weightage=0 -he_caps_weightage=0 -chan_width_weightage=0 -nss_weightage=0 -chan_band_weightage=0 -beamforming_cap_weightage=0 -pcl_weightage=0 -oce_wan_weightage=0 -vendor_roam_score_algorithm=1 -gNeighborScanChannelMaxTime=40 -gRoamScanHomeAwayTime=100 -RoamRssiDiff=10 -gFullRoamScanPeriod=120 -gRoamScanNProbes=2 -gWESModeEnabled=0 -min_roam_score_delta=1500 -gper_roam_enabled=0 -groam_dense_rssi_thresh_offset=0 -gRoamScanHiRssiDelta=0 -gChannelBondingMode24GHz=0 -sae_single_pmk_feature_enabled=1 -gDroppedPktDisconnectTh=0 - -gHandleLatencyCriticalClients=1 -etsi13_srd_chan_in_master_mode=7 -wake_lock_in_user_scan=1 -sta_disable_roam=3 -monitor_mode_concurrency=1 -scan_mode_6ghz_duty_cycle=1 -g_user_config_sched_scan_plan=0 -is_bssid_hint_priority=1 -twt_congestion_timeout=0 -enable_mod_dtim_on_system_suspend=1 -enable_twt_24ghz=0 -gTcpDelAckEnable=0 -he_mcs_12_13_support=0 -twt_responder=0 -skip_tpe_consideration=1 -igmp_offload_enable=1 -enable_nan_indoor_channel=1 -tx_retry_multiplier=20 - -wlm_multi_client_ll=1 -ndi_max_support=1 -ndp_max_sessions=8 -dp_mpdu_retry_threshold_1=0 -dp_mpdu_retry_threshold_2=0 -gInterfaceChangeWait=10000 -tc_ingress_prio=3 -get_wifi_features=1 -bad_bssid_counter_thresh = 10 -avoid_list_expiry_time = 1 -black_list_expiry_time = 1 -wlm_latency_reset_on_disconnect=1 -sta_sap_scc_on_indoor_chan=0 -coex_unsafe_chan_nb_user_prefer=2 -####### Samsung end ########### END + # Note: Configuration parser would not read anything past the END marker + diff --git a/configs/wifi/WCNSS_qcom_cfg_qca6490.ini b/configs/wifi/WCNSS_qcom_cfg_qca6490.ini index 349fbc3..074fd28 100644 --- a/configs/wifi/WCNSS_qcom_cfg_qca6490.ini +++ b/configs/wifi/WCNSS_qcom_cfg_qca6490.ini @@ -11,12 +11,15 @@ 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 @@ -24,11 +27,14 @@ gEnableTxSUBeamformer=1 gRrmEnable=1 gVhtAmpduLenExponent=7 gVhtMpduLen=2 +isP2pDeviceAddrAdministrated=0 gEnableVhtFor24GHzBand=1 gEnableLpassSupport=1 gCountryCodePriority=1 gEnableMuBformee=1 -g_sta_sap_scc_on_dfs_chan=0 +gTDLSExternalControl=1 +gEnableTDLSOffChannel=1 +gGO11ACOverride=0 ################ Datapath feature set Begin ################ gVhtRxMCS=2 @@ -45,12 +51,14 @@ dp_tx_ext_desc=6144 rx_mode=20 gEnableFastPath=1 TSOEnable=1 -GROEnable=3 +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=f3 legacy_mode_csum_disable=1 icmp_req_to_fw_mark_interval=200 gBusBandwidthMidHighThreshold=5500 @@ -71,161 +79,16 @@ gEnablePacketLog=0 oem_6g_support_disable=0 gSoftApMaxPeers=10 +active_max_channel_time_2g=80 +gActiveMaxChannelTime=60 +active_max_channel_time_6g=60 +passive_max_channel_time_6g=60 + enable_bus_suspend_in_sap_mode=1 enable_bus_suspend_in_go_mode=1 gtsf_ptp_options=0xb -####### Samsung ########### -gEnableModulatedDTIM=5 -gEnableForcedDTIM=1 -gNeighborScanTimerPeriod=45 -gStaKeepAlivePeriod=15 -gWlanMccToSccSwitchMode = 4 -ssdp=0 -gRArateLimitInterval=600 -gTDLSExternalControl=2 -gEnableTDLSOffChannel=0 -gEnableTDLSBufferSta=0 -gTDLSUapsdMask=0 -gTDLSRSSITeardownThreshold=-95 -gTDLSTxPacketThreshold=200 -gEnableSAPManadatoryChanList=1 -active_max_channel_time_2g=80 -gActiveMaxChannelTime=80 -active_max_channel_time_6g=60 -gPassiveMaxChannelTime=110 -passive_max_channel_time_6g=60 -gMulticastHostFwMsgs=1 -gIPAMediumBandwidthMbps=400 -gIPAHighBandwidthMbps=800 -wlm_latency_enable=1 -wlm_latency_flags_low=0x5A0000 -wlm_latency_flags_ultralow=0x5A0000 -wlm_latency_reset_on_disconnect=1 -spectral_disable=1 -g_prefer_5g_scc_to_dbs=8 -gEnableNUDTracking=0 -fw_timeout_crash=1 -gDisableIntraBssFwd=0 -gNeighborScanChannelMinTime=20 -gRoamIntraBand=0 -gEnableDFSChnlScan=1 -gEnablefwprint=0 -gBusBandwidthHighThreshold=2000 -gBusBandwidthMediumThreshold=500 -gBusBandwidthLowThreshold=150 -gBusBandwidthComputeInterval=100 -gReorderOffloadSupported=1 -gCEClassifyEnable=1 -gEnableIpTcpUdpChecksumOffload=1 -ce_service_max_yield_time=500 -ce_service_max_rx_ind_flush=1 -adapt_dwell_lpf_weight=80 -adapt_dwell_wifi_act_threshold=10 -gfine_time_meas_cap=0x0030D -isP2pDeviceAddrAdministrated=1 -gGO11ACOverride=1 -rpsRxQueueCpuMapList=7 -g_enable_pci_gen=0 - -# To get PCIe debug info -gEnableSelfRecovery=1 -#Roaming enhancements related ini -roam_triggers=0xA762C -enable_bss_load_roam_trigger=1 -bss_load_threshold=70 -bss_load_sample_time=10000 -bss_load_trigger_2g_rssi_threshold=-60 -bss_load_trigger_5g_rssi_threshold=-70 -enable_idle_roam=1 -idle_roam_inactive_time=5000 -idle_roam_min_rssi=-65 -idle_roam_rssi_delta=8 -idle_data_packet_count=10 -enable_disconnect_roam_offload=1 -enable_adaptive_11r=1 -gEmptyScanRefreshPeriod=10000 -roam_scan_inactivity_time=10000 -roam_scan_period_after_inactivity=120000 -roam_inactive_data_count=5 -roam_score_delta=20 -roam_score_delta_bitmap=0xFFFFFFFF -btm_roam_score_delta=0 -idle_roam_score_delta=0 -candidate_min_rssi_for_beacon_miss=-75 -candidate_min_rssi_for_disconnect=-75 -btm_disassoc_timer_threshold=0 -nr_offload_params_bitmask=1 -nr_offload_time_offset=1 -btm_offload_config=449 -roam_candidate_validity_timer=0 -minimum_btm_candidate_score=0 -roam_bad_rssi_thresh_offset_2g=0 -roam_bg_scan_client_bitmap=0 -rssi_weightage=65 -channel_congestion_weightage=35 -ht_caps_weightage=0 -vht_caps_weightage=0 -he_caps_weightage=0 -chan_width_weightage=0 -nss_weightage=0 -chan_band_weightage=0 -beamforming_cap_weightage=0 -pcl_weightage=0 -oce_wan_weightage=0 -vendor_roam_score_algorithm=1 -gNeighborScanChannelMaxTime=40 -gRoamScanHomeAwayTime=100 -RoamRssiDiff=10 -gFullRoamScanPeriod=120 -gRoamScanNProbes=2 -gWESModeEnabled=0 -min_roam_score_delta=1500 -gper_roam_enabled=0 -groam_dense_rssi_thresh_offset=0 -gRoamScanHiRssiDelta=0 -gChannelBondingMode24GHz=0 -sae_single_pmk_feature_enabled=1 -gDroppedPktDisconnectTh=0 - -gHandleLatencyCriticalClients=1 -etsi13_srd_chan_in_master_mode=7 -wake_lock_in_user_scan=1 -sta_disable_roam=3 -monitor_mode_concurrency=1 -scan_mode_6ghz_duty_cycle=1 -g_user_config_sched_scan_plan=0 -is_bssid_hint_priority=1 -twt_congestion_timeout=0 -enable_mod_dtim_on_system_suspend=1 -enable_twt_24ghz=0 -gTcpDelAckEnable=0 -he_mcs_12_13_support=0 -avoid_list_expiry_time=1 -skip_tpe_consideration=1 -igmp_offload_enable=1 -enable_nan_indoor_channel=1 -tx_retry_multiplier=20 - -wlm_multi_client_ll=1 -ndi_max_support=1 -ndp_max_sessions=5 -dp_mpdu_retry_threshold_1=0 -dp_mpdu_retry_threshold_2=0 -gInterfaceChangeWait=10000 -get_wifi_features=1 -g_enable_sr_in_same_mac_conc=0 - -enable_ul_mimo=0 -restart_sap_on_dynamic_nss_chains_config=1 -black_list_expiry_time=1 -bad_bssid_counter_thresh=100 -disable_sap_bcn_prot=1 -wow_check_rx_pending_enable=1 -twt_responder=0 -tc_ingress_prio=3 -enable_11be=0 -coex_unsafe_chan_nb_user_prefer=2 -####### Samsung end ########### END + # Note: Configuration parser would not read anything past the END marker + diff --git a/configs/wifi/p2p_supplicant_overlay.conf b/configs/wifi/p2p_supplicant_overlay.conf index e01d0f5..e313fe4 100644 --- a/configs/wifi/p2p_supplicant_overlay.conf +++ b/configs/wifi/p2p_supplicant_overlay.conf @@ -1,20 +1,7 @@ disable_scan_offload=1 -p2p_listen_reg_class=81 -p2p_listen_channel=1 -p2p_oper_reg_class=124 -p2p_oper_channel=149 -manufacturer=SAMSUNG_ELECTRONICS -model_name=SAMSUNG_MOBILE -model_number=2014 -serial_number=19691101 -update_config=1 -p2p_add_cli_chan=1 -p2p_6ghz_disable=0 -ip_addr_go=192.168.49.1 -ip_addr_mask=255.255.255.0 -ip_addr_start=192.168.49.200 -ip_addr_end=192.168.49.254 +p2p_no_group_iface=1 +persistent_reconnect=1 +bss_max_count=400 +p2p_go_ht40=1 +p2p_go_vht=1 p2p_go_he=1 -pmf=1 -sae_pwe=1 -wps_cred_add_sae=1 diff --git a/configs/wifi/wpa_supplicant_overlay.conf b/configs/wifi/wpa_supplicant_overlay.conf index ac896ad..c73546e 100644 --- a/configs/wifi/wpa_supplicant_overlay.conf +++ b/configs/wifi/wpa_supplicant_overlay.conf @@ -1,5 +1,8 @@ +disable_scan_offload=1 p2p_disabled=1 -update_config=1 -pmf=1 +tdls_external_control=1 +wowlan_triggers=magic_pkt +bss_max_count=400 interworking=1 -hs20=1 \ No newline at end of file +config_methods=virtual_display virtual_push_button keypad +driver_param="no_rrm=1"