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:

committed by
Madan Koyyalamudi

parent
a73234426a
commit
4aa7278f36
@@ -118,6 +118,7 @@ static inline int cdp_get_arch_type_from_devid(uint16_t devid)
|
|||||||
case QCA6290_DEVICE_ID:
|
case QCA6290_DEVICE_ID:
|
||||||
case QCN9000_DEVICE_ID:
|
case QCN9000_DEVICE_ID:
|
||||||
case QCN6122_DEVICE_ID:
|
case QCN6122_DEVICE_ID:
|
||||||
|
case QCN9160_DEVICE_ID:
|
||||||
case QCA6390_DEVICE_ID:
|
case QCA6390_DEVICE_ID:
|
||||||
case QCA6490_DEVICE_ID:
|
case QCA6490_DEVICE_ID:
|
||||||
case QCA6750_DEVICE_ID:
|
case QCA6750_DEVICE_ID:
|
||||||
@@ -165,6 +166,7 @@ ol_txrx_soc_handle cdp_soc_attach(u_int16_t devid,
|
|||||||
case QCA6290_DEVICE_ID:
|
case QCA6290_DEVICE_ID:
|
||||||
case QCN9000_DEVICE_ID:
|
case QCN9000_DEVICE_ID:
|
||||||
case QCN6122_DEVICE_ID:
|
case QCN6122_DEVICE_ID:
|
||||||
|
case QCN9160_DEVICE_ID:
|
||||||
case QCA6390_DEVICE_ID:
|
case QCA6390_DEVICE_ID:
|
||||||
case QCA6490_DEVICE_ID:
|
case QCA6490_DEVICE_ID:
|
||||||
case QCA6750_DEVICE_ID:
|
case QCA6750_DEVICE_ID:
|
||||||
|
@@ -16824,6 +16824,7 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
|
|||||||
break;
|
break;
|
||||||
case TARGET_TYPE_QCA5018:
|
case TARGET_TYPE_QCA5018:
|
||||||
case TARGET_TYPE_QCN6122:
|
case TARGET_TYPE_QCN6122:
|
||||||
|
case TARGET_TYPE_QCN9160:
|
||||||
soc->ast_override_support = 1;
|
soc->ast_override_support = 1;
|
||||||
soc->da_war_enabled = false;
|
soc->da_war_enabled = false;
|
||||||
wlan_cfg_set_raw_mode_war(soc->wlan_cfg_ctx, 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_QCA6018:
|
||||||
case TARGET_TYPE_QCA9574:
|
case TARGET_TYPE_QCA9574:
|
||||||
case TARGET_TYPE_QCN6122:
|
case TARGET_TYPE_QCN6122:
|
||||||
|
case TARGET_TYPE_QCN9160:
|
||||||
case TARGET_TYPE_QCA5018:
|
case TARGET_TYPE_QCA5018:
|
||||||
wlan_cfg_set_tso_desc_attach_defer(soc->wlan_cfg_ctx, 1);
|
wlan_cfg_set_tso_desc_attach_defer(soc->wlan_cfg_ctx, 1);
|
||||||
wlan_cfg_set_rxdma1_enable(soc->wlan_cfg_ctx);
|
wlan_cfg_set_rxdma1_enable(soc->wlan_cfg_ctx);
|
||||||
|
@@ -4960,6 +4960,7 @@ QDF_STATUS dp_mon_soc_cfg_init(struct dp_soc *soc)
|
|||||||
break;
|
break;
|
||||||
case TARGET_TYPE_QCA5018:
|
case TARGET_TYPE_QCA5018:
|
||||||
case TARGET_TYPE_QCN6122:
|
case TARGET_TYPE_QCN6122:
|
||||||
|
case TARGET_TYPE_QCN9160:
|
||||||
wlan_cfg_set_mon_delayed_replenish_entries(soc->wlan_cfg_ctx,
|
wlan_cfg_set_mon_delayed_replenish_entries(soc->wlan_cfg_ctx,
|
||||||
MON_BUF_MIN_ENTRIES);
|
MON_BUF_MIN_ENTRIES);
|
||||||
mon_soc->hw_nac_monitor_support = 1;
|
mon_soc->hw_nac_monitor_support = 1;
|
||||||
@@ -5633,6 +5634,7 @@ void dp_mon_ops_register(struct dp_soc *soc)
|
|||||||
case TARGET_TYPE_QCA8074V2:
|
case TARGET_TYPE_QCA8074V2:
|
||||||
case TARGET_TYPE_QCA6018:
|
case TARGET_TYPE_QCA6018:
|
||||||
case TARGET_TYPE_QCA9574:
|
case TARGET_TYPE_QCA9574:
|
||||||
|
case TARGET_TYPE_QCN9160:
|
||||||
case TARGET_TYPE_QCN9000:
|
case TARGET_TYPE_QCN9000:
|
||||||
case TARGET_TYPE_QCA5018:
|
case TARGET_TYPE_QCA5018:
|
||||||
case TARGET_TYPE_QCN6122:
|
case TARGET_TYPE_QCN6122:
|
||||||
@@ -5693,6 +5695,7 @@ void dp_mon_cdp_ops_register(struct dp_soc *soc)
|
|||||||
case TARGET_TYPE_QCA8074V2:
|
case TARGET_TYPE_QCA8074V2:
|
||||||
case TARGET_TYPE_QCA6018:
|
case TARGET_TYPE_QCA6018:
|
||||||
case TARGET_TYPE_QCA9574:
|
case TARGET_TYPE_QCA9574:
|
||||||
|
case TARGET_TYPE_QCN9160:
|
||||||
case TARGET_TYPE_QCN9000:
|
case TARGET_TYPE_QCN9000:
|
||||||
case TARGET_TYPE_QCA5018:
|
case TARGET_TYPE_QCA5018:
|
||||||
case TARGET_TYPE_QCN6122:
|
case TARGET_TYPE_QCN6122:
|
||||||
|
@@ -102,6 +102,7 @@ static bool tgt_gpio_disabled(struct wlan_objmgr_psoc *psoc)
|
|||||||
|
|
||||||
if ((target_type == TARGET_TYPE_QCA8074) ||
|
if ((target_type == TARGET_TYPE_QCA8074) ||
|
||||||
(target_type == TARGET_TYPE_QCN6122) ||
|
(target_type == TARGET_TYPE_QCN6122) ||
|
||||||
|
(target_type == TARGET_TYPE_QCN9160) ||
|
||||||
(target_type == TARGET_TYPE_QCA8074V2) ||
|
(target_type == TARGET_TYPE_QCA8074V2) ||
|
||||||
(target_type == TARGET_TYPE_QCA9574) ||
|
(target_type == TARGET_TYPE_QCA9574) ||
|
||||||
(target_type == TARGET_TYPE_QCA5332) ||
|
(target_type == TARGET_TYPE_QCA5332) ||
|
||||||
|
Reference in New Issue
Block a user