|
@@ -1,5 +1,5 @@
|
|
|
/*
|
|
|
- * Copyright (c) 2011,2017-2020 The Linux Foundation. All rights reserved.
|
|
|
+ * Copyright (c) 2011,2017-2021 The Linux Foundation. All rights reserved.
|
|
|
*
|
|
|
*
|
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
@@ -1727,7 +1727,7 @@ target_if_init_spectral_param_min_max(
|
|
|
param_min_max->fft_size_max[CH_WIDTH_20MHZ] =
|
|
|
SPECTRAL_PARAM_FFT_SIZE_MAX_GEN3_DEFAULT;
|
|
|
if (target_type == TARGET_TYPE_QCN9000 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCA6490) {
|
|
|
param_min_max->fft_size_max[CH_WIDTH_40MHZ] =
|
|
@@ -1885,7 +1885,7 @@ target_if_init_spectral_capability(struct target_if_spectral *spectral,
|
|
|
pcap->num_detectors_40mhz = 1;
|
|
|
pcap->num_detectors_80mhz = 1;
|
|
|
if (target_type == TARGET_TYPE_QCN9000 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA6490) {
|
|
|
pcap->num_detectors_160mhz = 1;
|
|
|
pcap->num_detectors_80p80mhz = 1;
|
|
@@ -2463,7 +2463,7 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
|
|
{
|
|
|
if (target_type == TARGET_TYPE_QCA8074V2 ||
|
|
|
target_type == TARGET_TYPE_QCN9000 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCA6750 ||
|
|
|
target_type == TARGET_TYPE_QCA6490)
|
|
@@ -2478,7 +2478,7 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
|
|
if (target_type == TARGET_TYPE_QCA8074 ||
|
|
|
target_type == TARGET_TYPE_QCA8074V2 ||
|
|
|
target_type == TARGET_TYPE_QCA6018 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCN9000 ||
|
|
|
target_type == TARGET_TYPE_QCA6490) {
|
|
@@ -2519,7 +2519,7 @@ target_if_spectral_report_params_init(
|
|
|
* needs to use them they have to add proper initial values.
|
|
|
*/
|
|
|
if (target_type == TARGET_TYPE_QCN9000 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCA6750 ||
|
|
|
target_type == TARGET_TYPE_QCA6490) {
|
|
@@ -2560,7 +2560,7 @@ target_if_spectral_report_params_init(
|
|
|
rparams->detid_mode_table[SPECTRAL_DETECTOR_ID_0] =
|
|
|
SPECTRAL_SCAN_MODE_NORMAL;
|
|
|
if (target_type == TARGET_TYPE_QCN9000 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA6490) {
|
|
|
rparams->detid_mode_table[SPECTRAL_DETECTOR_ID_1] =
|
|
|
SPECTRAL_SCAN_MODE_AGILE;
|
|
@@ -2686,7 +2686,7 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
|
|
|
target_type == TARGET_TYPE_QCA6018 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCA6390 ||
|
|
|
- target_type == TARGET_TYPE_QCN9100 ||
|
|
|
+ target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA6490 ||
|
|
|
target_type == TARGET_TYPE_QCN9000 ||
|
|
|
target_type == TARGET_TYPE_QCA6750)
|
|
@@ -2700,7 +2700,7 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
|
|
|
(target_type == TARGET_TYPE_QCA8074V2) ||
|
|
|
(target_type == TARGET_TYPE_QCA6018) ||
|
|
|
(target_type == TARGET_TYPE_QCA5018) ||
|
|
|
- (target_type == TARGET_TYPE_QCN9100) ||
|
|
|
+ (target_type == TARGET_TYPE_QCN6122) ||
|
|
|
(target_type == TARGET_TYPE_QCN9000) ||
|
|
|
(target_type == TARGET_TYPE_QCA6290) ||
|
|
|
(target_type == TARGET_TYPE_QCA6390) ||
|