qcacmn: hif/ce changes for wcn6450

Add the following hif/ce changes to add support for wcn6450,
* New host/target wlan ce config for wcn6450
* New service to pipe map for wcn6450
* New host/ce/target table attach for wcn6450

Change-Id: I20fa1410f5e4e7a0146bc2d0b48a18269ca4a8c9
CRs-Fixed: 3381111
This commit is contained in:
Venkateswara Naralasetty
2022-11-01 18:22:33 +05:30
committed by Madan Koyyalamudi
parent 4440f2b36a
commit ad3cd5fa15
12 changed files with 229 additions and 7 deletions

View File

@@ -387,6 +387,11 @@ static const struct qwlan_hw qwlan_hw_list[] = {
.subid = 0,
.name = "WCN6750_V1",
},
{
.id = WCN6450_V1,
.subid = 0,
.name = "WCN6450_V1",
},
{
.id = QCA6490_v2_1,
.subid = 0,
@@ -1268,6 +1273,19 @@ QDF_STATUS hif_try_complete_tasks(struct hif_softc *scn)
return QDF_STATUS_SUCCESS;
}
#ifdef HIF_HAL_REG_ACCESS_SUPPORT
void hif_reg_window_write(struct hif_softc *scn, uint32_t offset,
uint32_t value)
{
hal_write32_mb(scn->hal_soc, offset, value);
}
uint32_t hif_reg_window_read(struct hif_softc *scn, uint32_t offset)
{
return hal_read32_mb(scn->hal_soc, offset);
}
#endif
#if defined(HIF_IPCI) && defined(FEATURE_HAL_DELAYED_REG_WRITE)
QDF_STATUS hif_try_prevent_ep_vote_access(struct hif_opaque_softc *hif_ctx)
{
@@ -1831,6 +1849,12 @@ int hif_get_device_type(uint32_t device_id,
hif_info(" *********** QCA9574 *************");
break;
case WCN6450_DEVICE_ID:
*hif_type = HIF_TYPE_WCN6450;
*target_type = TARGET_TYPE_WCN6450;
hif_info(" *********** WCN6450 *************");
break;
default:
hif_err("Unsupported device ID = 0x%x!", device_id);
ret = -ENODEV;