Эх сурвалжийг харах

qcacmn: Add chip type QCA6490 & QCA6750 in cfr meta data header

There is wrong chip type in cfr meta data header if run CFR/CSI with
HSP since doesn't fill it for QCA6490 & QCA6750.

Change-Id: I932c065d33c5eaa33f66ec8a92470f5820472d7b
CRs-Fixed: 3073865
Wu Gao 3 жил өмнө
parent
commit
8a7de8863d

+ 4 - 0
target_if/cfr/src/target_if_cfr.c

@@ -271,6 +271,10 @@ 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_QCA6490)
+			hdr->cmn.chip_type = CFR_CAPTURE_RADIO_HSP;
+		else if (target_type == TARGET_TYPE_QCA6750)
+			hdr->cmn.chip_type = CFR_CAPTURE_RADIO_MOSELLE;
 		else
 			hdr->cmn.chip_type = CFR_CAPTURE_RADIO_CYP;
 	}