mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
qcacmn: Hard code properties of Spectral parameters
Till a FW advertisement which specifies the properties of Spectral parameters is in place hard code these values in driver. CRs-Fixed: 2569385 Change-Id: I02c042946ff30771df6a66f49004c01aa5d53ac0
This commit is contained in:
parent
15f8f4c23f
commit
52c9b9fe51
1 changed files with 13 additions and 0 deletions
|
|
@ -1363,6 +1363,19 @@ target_if_init_spectral_param_properties(struct target_if_spectral *spectral)
|
|||
}
|
||||
}
|
||||
|
||||
/* Once FW advertisement is in place remove this hard coding */
|
||||
smode = SPECTRAL_SCAN_MODE_NORMAL;
|
||||
spectral->properties[SPECTRAL_SCAN_MODE_NORMAL]
|
||||
[SPECTRAL_PARAM_FREQUENCY].supported = false;
|
||||
for (; smode < SPECTRAL_SCAN_MODE_MAX; smode++) {
|
||||
spectral->properties[smode]
|
||||
[SPECTRAL_PARAM_SPECT_PRI].common_all_modes = true;
|
||||
spectral->properties[smode]
|
||||
[SPECTRAL_PARAM_SCAN_PERIOD].common_all_modes = true;
|
||||
spectral->properties[smode]
|
||||
[SPECTRAL_PARAM_INIT_DELAY].common_all_modes = true;
|
||||
}
|
||||
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue