qcacmn: Revert "qcacmn: Spectral init path changes for QCN9224"

As part of Spectral init, the Host sends DMA ring init command to
HALPHY. QCN9224 M2M emulation setups don't have HALPHY subsystem and
the WMI command need to be cleanly stubbed out in emulation FW image.
Until then, revert this Spectral init change.

Change-Id: I88e3e3995ee1b7103a03e4b6a38ff4117044c63c
CRs-Fixed: 3016633
This commit is contained in:
Shiva Krishna Pittala
2021-08-18 11:55:19 +05:30
zatwierdzone przez Madan Koyyalamudi
rodzic 60533b64ea
commit 047ac89481

Wyświetl plik

@@ -476,7 +476,8 @@ target_if_send_vdev_spectral_configure_cmd(struct target_if_spectral *spectral,
struct wlan_objmgr_vdev *vdev = NULL;
struct target_if_psoc_spectral *psoc_spectral;
qdf_assert_always(spectral && param);
qdf_assert_always(spectral);
qdf_assert_always(param);
pdev = spectral->pdev_obj;
@@ -2585,7 +2586,6 @@ target_if_spectral_report_params_init(
target_type == TARGET_TYPE_QCN6122 ||
target_type == TARGET_TYPE_QCA5018 ||
target_type == TARGET_TYPE_QCA6750 ||
target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_QCA6490) {
rparams->version = SPECTRAL_REPORT_FORMAT_VERSION_2;
rparams->num_spectral_detectors =
@@ -3040,7 +3040,6 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
target_type == TARGET_TYPE_QCN6122 ||
target_type == TARGET_TYPE_QCA6490 ||
target_type == TARGET_TYPE_QCN9000 ||
target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_QCA6750)
spectral->direct_dma_support = true;
@@ -3058,7 +3057,6 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
(target_type == TARGET_TYPE_QCA6290) ||
(target_type == TARGET_TYPE_QCA6390) ||
(target_type == TARGET_TYPE_QCA6490) ||
(target_type == TARGET_TYPE_QCN9224) ||
(target_type == TARGET_TYPE_QCA6750)) {
spectral->spectral_gen = SPECTRAL_GEN3;
spectral->hdr_sig_exp = SPECTRAL_PHYERR_SIGNATURE_GEN3;