|
@@ -13129,9 +13129,9 @@ static uint32_t
|
|
|
dp_get_link_desc_id_start(uint16_t arch_id)
|
|
|
{
|
|
|
switch (arch_id) {
|
|
|
- case LITHIUM_DP:
|
|
|
+ case CDP_ARCH_TYPE_LI:
|
|
|
return LINK_DESC_ID_START_21_BITS_COOKIE;
|
|
|
- case BERYLLIUM_DP:
|
|
|
+ case CDP_ARCH_TYPE_BE:
|
|
|
return LINK_DESC_ID_START_20_BITS_COOKIE;
|
|
|
default:
|
|
|
dp_err("unkonwn arch_id 0x%x", arch_id);
|
|
@@ -14899,6 +14899,19 @@ static void dp_soc_cfg_init(struct dp_soc *soc)
|
|
|
soc->disable_mac1_intr = 1;
|
|
|
soc->disable_mac2_intr = 1;
|
|
|
soc->wbm_release_desc_rx_sg_support = 1;
|
|
|
+ break;
|
|
|
+ case TARGET_TYPE_QCN9224:
|
|
|
+ wlan_cfg_set_mon_delayed_replenish_entries(soc->wlan_cfg_ctx,
|
|
|
+ MON_BUF_MIN_ENTRIES);
|
|
|
+ wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,
|
|
|
+ REO_DST_RING_SIZE_QCA8074);
|
|
|
+ soc->ast_override_support = 1;
|
|
|
+ soc->da_war_enabled = false;
|
|
|
+ wlan_cfg_set_raw_mode_war(soc->wlan_cfg_ctx, false);
|
|
|
+ soc->hw_nac_monitor_support = 1;
|
|
|
+ soc->per_tid_basize_max_tid = 8;
|
|
|
+ soc->wbm_release_desc_rx_sg_support = 1;
|
|
|
+
|
|
|
break;
|
|
|
default:
|
|
|
qdf_print("%s: Unknown tgt type %d\n", __func__, target_type);
|
|
@@ -14957,6 +14970,12 @@ static void dp_soc_cfg_attach(struct dp_soc *soc)
|
|
|
REO_DST_RING_SIZE_QCN9000);
|
|
|
wlan_cfg_set_rxdma1_enable(soc->wlan_cfg_ctx);
|
|
|
break;
|
|
|
+ case TARGET_TYPE_QCN9224:
|
|
|
+ wlan_cfg_set_tso_desc_attach_defer(soc->wlan_cfg_ctx, 1);
|
|
|
+ wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,
|
|
|
+ REO_DST_RING_SIZE_QCA8074);
|
|
|
+ wlan_cfg_set_rxdma1_enable(soc->wlan_cfg_ctx);
|
|
|
+ break;
|
|
|
default:
|
|
|
qdf_print("%s: Unknown tgt type %d\n", __func__, target_type);
|
|
|
qdf_assert_always(0);
|