sm8550-common: Import WLAN configuration files

* from S918BXXS6CXI4 && S9160ZHU5CXK1

Change-Id: I174fe23b36ca7b894cea86f50e1d2410fb4533eb
This commit is contained in:
chaptsand
2024-12-30 22:20:30 +08:00
parent 4649cac293
commit 1394d8d71c
6 changed files with 490 additions and 2 deletions

View File

@@ -350,5 +350,11 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/wifi/WCNSS_qcom_cfg_kiwi_v2.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/kiwi_v2/WCNSS_qcom_cfg.ini \
$(LOCAL_PATH)/configs/wifi/WCNSS_qcom_cfg_qca6490.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/qca6490/WCNSS_qcom_cfg.ini \
$(LOCAL_PATH)/configs/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
$(LOCAL_PATH)/configs/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
# Inherit from the proprietary files makefile.
$(call inherit-product, vendor/samsung/sm8550-common/sm8550-common-vendor.mk)

View File

@@ -0,0 +1,228 @@
# 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
FastRoamEnabled=1
gChannelBondingMode5GHz=1
gAllowDFSChannelRoam=1
gSetTxChainmask1x1=1
gSetRxChainmask1x1=1
gEnableTXSTBC=1
gEnableTxBFeeSAP=1
gEnableTxBFin20MHz=1
gEnableTxSUBeamformer=1
gRrmEnable=1
gVhtAmpduLenExponent=7
gVhtMpduLen=2
gEnableVhtFor24GHzBand=1
gEnableLpassSupport=1
gCountryCodePriority=1
gEnableMuBformee=1
g_sta_sap_scc_on_dfs_chan=0
gNumVdevs=5
gSoftApMaxPeers=10
################ Datapath feature set Begin ################
gVhtRxMCS=2
gVhtTxMCS=2
gEnable2x2=1
gVhtRxMCS2x2=2
gVhtTxMCS2x2=2
gIPAConfig=0
gIPADescSize=800
dp_tx_ring_size=5120
dp_tx_compl_ring_size=8192
dp_tx_desc=6144
dp_tx_ext_desc=6144
rx_mode=20
gEnableFastPath=1
TSOEnable=1
GROEnable=3
ght_mpdu_density=5
gEnableFlowSteering=1
maxMSDUsPerRxInd=8
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
legacy_mode_csum_disable=1
icmp_req_to_fw_mark_interval=200
gBusBandwidthVeryHighThreshold=10000
gRxAggregationSize=512
################ Datapath feature set End ################
adaptive_dwell_mode_enabled=1
hostscan_adaptive_dwell_mode=1
enable_rtt_mac_randomization=1
gEnableSNRMonitoring=1
gWmiCreditCount=1
acs_with_more_param=1
AutoChannelSelectWeight=0x00fafafa
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
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
# 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

View File

@@ -0,0 +1,231 @@
# 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
FastRoamEnabled=1
RoamRssiDiff=5
gChannelBondingMode5GHz=1
gAllowDFSChannelRoam=1
gSetTxChainmask1x1=1
gSetRxChainmask1x1=1
gEnableTXSTBC=1
gEnableTxBFeeSAP=1
gEnableTxBFin20MHz=1
gEnableTxSUBeamformer=1
gRrmEnable=1
gVhtAmpduLenExponent=7
gVhtMpduLen=2
gEnableVhtFor24GHzBand=1
gEnableLpassSupport=1
gCountryCodePriority=1
gEnableMuBformee=1
g_sta_sap_scc_on_dfs_chan=0
################ Datapath feature set Begin ################
gVhtRxMCS=2
gVhtTxMCS=2
gEnable2x2=1
gVhtRxMCS2x2=2
gVhtTxMCS2x2=2
gIPAConfig=0
gIPADescSize=800
dp_tx_ring_size=5120
dp_tx_compl_ring_size=8192
dp_tx_desc=6144
dp_tx_ext_desc=6144
rx_mode=20
gEnableFastPath=1
TSOEnable=1
GROEnable=3
ght_mpdu_density=5
gEnableFlowSteering=1
maxMSDUsPerRxInd=8
dp_rx_fisa_enable=1
dp_rx_flow_search_table_size=128
legacy_mode_csum_disable=1
icmp_req_to_fw_mark_interval=200
gBusBandwidthMidHighThreshold=5500
gBusBandwidthVeryHighThreshold=10000
################ Datapath feature set End ################
adaptive_dwell_mode_enabled=1
hostscan_adaptive_dwell_mode=1
enable_rtt_mac_randomization=1
gEnableSNRMonitoring=1
gWmiCreditCount=1
acs_with_more_param=1
AutoChannelSelectWeight=0x00fafafa
gRuntimePM=2
gRuntimePMDelay=500
gEnablePacketLog=0
oem_6g_support_disable=0
gSoftApMaxPeers=10
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

View File

@@ -0,0 +1,20 @@
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_go_he=1
pmf=1
sae_pwe=1
wps_cred_add_sae=1

View File

@@ -0,0 +1,5 @@
p2p_disabled=1
update_config=1
pmf=1
interworking=1
hs20=1

View File

@@ -1303,8 +1303,6 @@ vendor/etc/vintf/manifest/iweaver_v1_manifest.xml
vendor/bin/cnss-daemon
vendor/bin/pktlogconf
vendor/etc/wifi/indoorchannel.info
vendor/etc/wifi/p2p_supplicant_overlay.conf
vendor/etc/wifi/wpa_supplicant_overlay.conf
# Widevine DRM
vendor/bin/hw/android.hardware.drm-service.widevine