qcacmn: Initial changes for york bringup in Common dev to DP

Add device Id and target type checks for qcn9160 target
compilation.

Change-Id: Ic0391847af824ea7f6b85b574a0c5912ccd414c8
CRs-Fixed: 3282635
This commit is contained in:
Kannan Saravanan
2022-09-29 07:53:48 +05:30
committed by Madan Koyyalamudi
parent a73234426a
commit 4aa7278f36
4 changed files with 8 additions and 0 deletions

View File

@@ -16824,6 +16824,7 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
break;
case TARGET_TYPE_QCA5018:
case TARGET_TYPE_QCN6122:
case TARGET_TYPE_QCN9160:
soc->ast_override_support = 1;
soc->da_war_enabled = false;
wlan_cfg_set_raw_mode_war(soc->wlan_cfg_ctx, false);
@@ -16905,6 +16906,7 @@ static void dp_soc_cfg_attach(struct dp_soc *soc)
case TARGET_TYPE_QCA6018:
case TARGET_TYPE_QCA9574:
case TARGET_TYPE_QCN6122:
case TARGET_TYPE_QCN9160:
case TARGET_TYPE_QCA5018:
wlan_cfg_set_tso_desc_attach_defer(soc->wlan_cfg_ctx, 1);
wlan_cfg_set_rxdma1_enable(soc->wlan_cfg_ctx);