qcacmn: FFT bin size WAR to support 4 bytes for QCA6018
Spectral scan for QCA6018 failed due decoding the FFT bin in 2 bytes. HWS team confirmed that for QCA6018, the FFT bin is in 4 bytes representation. Fixing this by modify the fftbin size WAR for QCA6018 to decode 4 bytes FFT bins. Change-Id: I60e07370f7191544269d52640ae072f2a41f3833 CRs-Fixed: 2487055
This commit is contained in:

committed by
nshrivas

parent
aa28cc38a3
commit
dcfa1c7012
@@ -1937,11 +1937,11 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
|
||||
qdf_spinlock_create(&spectral->noise_pwr_reports_lock);
|
||||
target_if_spectral_clear_stats(spectral);
|
||||
|
||||
if (target_type == TARGET_TYPE_QCA8074V2 ||
|
||||
target_type == TARGET_TYPE_QCA6018)
|
||||
if (target_type == TARGET_TYPE_QCA8074V2)
|
||||
spectral->fftbin_size_war =
|
||||
SPECTRAL_FFTBIN_SIZE_WAR_2BYTE_TO_1BYTE;
|
||||
else if (target_type == TARGET_TYPE_QCA8074)
|
||||
else if (target_type == TARGET_TYPE_QCA8074 ||
|
||||
target_type == TARGET_TYPE_QCA6018)
|
||||
spectral->fftbin_size_war =
|
||||
SPECTRAL_FFTBIN_SIZE_WAR_4BYTE_TO_1BYTE;
|
||||
else
|
||||
|
Reference in New Issue
Block a user