qcacmn: Spectral init path changes for QCN9224

Add the Spectral init path changes required for Waikiki.

Change-Id: I6c6bb826ff4ce02988560100b187fe1acffa3f7d
CRs-Fixed: 3160798
This commit is contained in:
Shiva Krishna Pittala
2022-03-27 22:50:16 +05:30
committato da Madan Koyyalamudi
parent 411e8fc3e0
commit 80edcddb01
2 ha cambiato i file con 6 aggiunte e 1 eliminazioni

Vedi File

@@ -3154,6 +3154,7 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
target_type == TARGET_TYPE_QCA5018 ||
target_type == TARGET_TYPE_QCN9000 ||
target_type == TARGET_TYPE_QCA6490 ||
target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_KIWI) {
swar->inband_fftbin_size_adj = 1;
swar->null_fftbin_adj = 1;
@@ -3196,6 +3197,7 @@ target_if_spectral_report_params_init(
target_type == TARGET_TYPE_QCA5018 ||
target_type == TARGET_TYPE_QCA6750 ||
target_type == TARGET_TYPE_QCA6490 ||
target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_KIWI) {
rparams->version = SPECTRAL_REPORT_FORMAT_VERSION_2;
rparams->num_spectral_detectors =
@@ -3233,6 +3235,7 @@ target_if_spectral_report_params_init(
SPECTRAL_SCAN_MODE_NORMAL;
if (target_type == TARGET_TYPE_QCN9000 ||
target_type == TARGET_TYPE_QCN6122 ||
target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_QCA6490 ||
target_type == TARGET_TYPE_KIWI) {
rparams->detid_mode_table[SPECTRAL_DETECTOR_ID_1] =
@@ -3656,6 +3659,7 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
target_type == TARGET_TYPE_QCA6490 ||
target_type == TARGET_TYPE_QCN9000 ||
target_type == TARGET_TYPE_QCA6750 ||
target_type == TARGET_TYPE_QCN9224 ||
target_type == TARGET_TYPE_KIWI)
spectral->direct_dma_support = true;
@@ -3675,6 +3679,7 @@ 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) ||
(target_type == TARGET_TYPE_KIWI)) {
spectral->spectral_gen = SPECTRAL_GEN3;