qcacmn: Initial changes for IPQ5332 target compilation

Added device ID and target type checks for IPQ5332 target
compilation.

CRs-Fixed: 3273865
Change-Id: I98a768394cc539549fc41d756c9c9d90034627f5
Cette révision appartient à :
Sajini R
2022-08-22 17:58:22 +05:30
révisé par Madan Koyyalamudi
Parent 953a16bb46
révision 7c7742990b
4 fichiers modifiés avec 14 ajouts et 2 suppressions

Voir le fichier

@@ -248,6 +248,7 @@ void target_if_cfr_fill_header(struct csi_cfr_header *hdr,
if (target_type == TARGET_TYPE_QCN9000)
hdr->cmn.cfr_metadata_version = CFR_META_VERSION_9;
else if (target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_QCA5332 ||
target_type == TARGET_TYPE_QCA6490 ||
target_type == TARGET_TYPE_QCA6750 ||
target_type == TARGET_TYPE_KIWI ||
@@ -267,6 +268,8 @@ void target_if_cfr_fill_header(struct csi_cfr_header *hdr,
hdr->cmn.chip_type = CFR_CAPTURE_RADIO_SPRUCE;
else if (target_type == TARGET_TYPE_QCN9224)
hdr->cmn.chip_type = CFR_CAPTURE_RADIO_WAIKIKI;
else if (target_type == TARGET_TYPE_QCA5332)
hdr->cmn.chip_type = CFR_CAPTURE_RADIO_MIAMI;
else if (target_type == TARGET_TYPE_QCA6490)
hdr->cmn.chip_type = CFR_CAPTURE_RADIO_HSP;
else if (target_type == TARGET_TYPE_QCA6750)
@@ -457,6 +460,7 @@ target_if_cfr_init_pdev(struct wlan_objmgr_psoc *psoc,
(target_type == TARGET_TYPE_QCN9000) ||
(target_type == TARGET_TYPE_QCN6122) ||
(target_type == TARGET_TYPE_QCA5018) ||
(target_type == TARGET_TYPE_QCA5332) ||
(target_type == TARGET_TYPE_QCN9224)) {
pa->is_cfr_capable = cfr_sc->is_cfr_capable;
return cfr_enh_init_pdev(psoc, pdev);
@@ -484,6 +488,7 @@ target_if_cfr_deinit_pdev(struct wlan_objmgr_psoc *psoc,
(target_type == TARGET_TYPE_QCN9000) ||
(target_type == TARGET_TYPE_QCN6122) ||
(target_type == TARGET_TYPE_QCA5018) ||
(target_type == TARGET_TYPE_QCA5332) ||
(target_type == TARGET_TYPE_QCN9224)) {
return cfr_enh_deinit_pdev(psoc, pdev);
} else