qcacmn: initialize DA WAR flag based on target type
In SOC init initialize DA WAR flag based on target type Change-Id: I118e712393bdb1498925a2ee36a29819fd2de8b4 CRs-fixed: 2384550
This commit is contained in:

committed by
nshrivas

szülő
fe278d5425
commit
dedc49bb06
@@ -6685,7 +6685,7 @@ dp_print_ring_stat_from_hal(struct dp_soc *soc, struct dp_srng *srng,
|
||||
DP_PRINT_STATS("%s:SW:Head pointer = %d Tail Pointer = %d\n",
|
||||
ring_name, headp, tailp);
|
||||
|
||||
hal_get_hw_hptp(hal_soc, srng->hal_srng, &hw_headp,
|
||||
hal_get_hw_hptp(soc->hal_soc, srng->hal_srng, &hw_headp,
|
||||
&hw_tailp, ring_type);
|
||||
|
||||
DP_PRINT_STATS("%s:HW:Head pointer = %d Tail Pointer = %d\n",
|
||||
@@ -9697,6 +9697,7 @@ void *dp_soc_init(void *dpsoc, HTC_HANDLE htc_handle, void *hif_handle)
|
||||
wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,
|
||||
REO_DST_RING_SIZE_QCA6290);
|
||||
soc->ast_override_support = 1;
|
||||
soc->da_war_enabled = false;
|
||||
break;
|
||||
#ifdef QCA_WIFI_QCA6390
|
||||
case TARGET_TYPE_QCA6390:
|
||||
@@ -9719,6 +9720,8 @@ void *dp_soc_init(void *dpsoc, HTC_HANDLE htc_handle, void *hif_handle)
|
||||
wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,
|
||||
REO_DST_RING_SIZE_QCA8074);
|
||||
wlan_cfg_set_raw_mode_war(soc->wlan_cfg_ctx, true);
|
||||
soc->hw_nac_monitor_support = 1;
|
||||
soc->da_war_enabled = true;
|
||||
break;
|
||||
case TARGET_TYPE_QCA8074V2:
|
||||
case TARGET_TYPE_QCA6018:
|
||||
@@ -9729,6 +9732,7 @@ void *dp_soc_init(void *dpsoc, HTC_HANDLE htc_handle, void *hif_handle)
|
||||
soc->ast_override_support = 1;
|
||||
soc->per_tid_basize_max_tid = 8;
|
||||
soc->num_hw_dscp_tid_map = HAL_MAX_HW_DSCP_TID_V2_MAPS;
|
||||
soc->da_war_enabled = false;
|
||||
break;
|
||||
default:
|
||||
qdf_print("%s: Unknown tgt type %d\n", __func__, target_type);
|
||||
|
Reference in New Issue
Block a user