|
@@ -2109,7 +2109,8 @@ target_if_init_spectral_param_min_max(
|
|
|
if (target_type == TARGET_TYPE_QCN9000 ||
|
|
|
target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
- target_type == TARGET_TYPE_QCA6490) {
|
|
|
+ target_type == TARGET_TYPE_QCA6490 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI) {
|
|
|
param_min_max->fft_size_max[CH_WIDTH_40MHZ] =
|
|
|
SPECTRAL_PARAM_FFT_SIZE_MAX_GEN3_QCN9000;
|
|
|
param_min_max->fft_size_max[CH_WIDTH_80MHZ] =
|
|
@@ -2468,7 +2469,8 @@ target_if_init_spectral_capability(struct target_if_spectral *spectral,
|
|
|
pcap->num_detectors_80mhz = 1;
|
|
|
if (target_type == TARGET_TYPE_QCN9000 ||
|
|
|
target_type == TARGET_TYPE_QCN6122 ||
|
|
|
- target_type == TARGET_TYPE_QCA6490) {
|
|
|
+ target_type == TARGET_TYPE_QCA6490 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI) {
|
|
|
pcap->num_detectors_160mhz = 1;
|
|
|
pcap->num_detectors_80p80mhz = 1;
|
|
|
pcap->num_detectors_320mhz = 0;
|
|
@@ -3124,7 +3126,8 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
|
|
target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCA6750 ||
|
|
|
- target_type == TARGET_TYPE_QCA6490) {
|
|
|
+ target_type == TARGET_TYPE_QCA6490 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI) {
|
|
|
swar->fftbin_size_war = SPECTRAL_FFTBIN_SIZE_WAR_2BYTE_TO_1BYTE;
|
|
|
rparams->hw_fft_bin_width = 2;
|
|
|
} else if (target_type == TARGET_TYPE_QCA8074 ||
|
|
@@ -3144,7 +3147,8 @@ target_if_spectral_len_adj_swar_init(struct spectral_fft_bin_len_adj_swar *swar,
|
|
|
target_type == TARGET_TYPE_QCN6122 ||
|
|
|
target_type == TARGET_TYPE_QCA5018 ||
|
|
|
target_type == TARGET_TYPE_QCN9000 ||
|
|
|
- target_type == TARGET_TYPE_QCA6490) {
|
|
|
+ target_type == TARGET_TYPE_QCA6490 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI) {
|
|
|
swar->inband_fftbin_size_adj = 1;
|
|
|
swar->null_fftbin_adj = 1;
|
|
|
} else {
|
|
@@ -3186,7 +3190,8 @@ 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_QCA6490) {
|
|
|
+ target_type == TARGET_TYPE_QCA6490 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI) {
|
|
|
rparams->version = SPECTRAL_REPORT_FORMAT_VERSION_2;
|
|
|
rparams->num_spectral_detectors =
|
|
|
NUM_SPECTRAL_DETECTORS_GEN3_V2;
|
|
@@ -3223,7 +3228,8 @@ 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_QCA6490) {
|
|
|
+ target_type == TARGET_TYPE_QCA6490 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI) {
|
|
|
rparams->detid_mode_table[SPECTRAL_DETECTOR_ID_1] =
|
|
|
SPECTRAL_SCAN_MODE_AGILE;
|
|
|
rparams->detid_mode_table[SPECTRAL_DETECTOR_ID_2] =
|
|
@@ -3644,7 +3650,8 @@ 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_QCA6750)
|
|
|
+ target_type == TARGET_TYPE_QCA6750 ||
|
|
|
+ target_type == TARGET_TYPE_KIWI)
|
|
|
spectral->direct_dma_support = true;
|
|
|
|
|
|
target_if_spectral_report_params_init(&spectral->rparams,
|
|
@@ -3663,7 +3670,8 @@ 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_QCA6750)) {
|
|
|
+ (target_type == TARGET_TYPE_QCA6750) ||
|
|
|
+ (target_type == TARGET_TYPE_KIWI)) {
|
|
|
spectral->spectral_gen = SPECTRAL_GEN3;
|
|
|
spectral->hdr_sig_exp = SPECTRAL_PHYERR_SIGNATURE_GEN3;
|
|
|
spectral->tag_sscan_summary_exp =
|