qcacmn: Add support for QCA6490

Add the following support for QCA6490:
1. Initialize the qca6490_hal_hw_txrx_ops
2. Initialize the hw_srng_table
3. Attach hal_qca6490_attach

Change-Id: Ic53c520ef804eb4fbe1434c704e9040c83011d3d
CRs-Fixed: 2522133
This commit is contained in:
Venkata Sharath Chandra Manchala
2019-09-23 18:31:36 -07:00
committed by nshrivas
parent 5c5d409000
commit e69c9c2ac0
11 changed files with 1023 additions and 10 deletions

View File

@@ -9793,8 +9793,9 @@ void *dp_soc_init(void *dpsoc, HTC_HANDLE htc_handle,
soc->ast_override_support = 1;
soc->da_war_enabled = false;
break;
#ifdef QCA_WIFI_QCA6390
#if defined(QCA_WIFI_QCA6390) || defined(QCA_WIFI_QCA6490)
case TARGET_TYPE_QCA6390:
case TARGET_TYPE_QCA6490:
wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,
REO_DST_RING_SIZE_QCA6290);
wlan_cfg_set_raw_mode_war(soc->wlan_cfg_ctx, true);
@@ -9811,7 +9812,8 @@ void *dp_soc_init(void *dpsoc, HTC_HANDLE htc_handle,
}
soc->wlan_cfg_ctx->rxdma1_enable = 0;
break;
#endif
#endif /* QCA_WIFI_QCA6390 || QCA_WIFI_QCA6490 */
case TARGET_TYPE_QCA8074:
wlan_cfg_set_reo_dst_ring_size(soc->wlan_cfg_ctx,
REO_DST_RING_SIZE_QCA8074);