]> git.baikalelectronics.ru Git - kernel.git/commit
ath10k: suppress 'failed to process fft' warning messages
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Tue, 21 Jul 2015 14:50:15 +0000 (15:50 +0100)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 29 Jul 2015 08:23:18 +0000 (11:23 +0300)
commit56d0a3708fdf4f8adf5c7b8a234563e87660f1cf
tree388ae2d97e4b1d95a2854abfe262b68a551d288c
parentf2050e9f55da5e99d57bd6cf5023cfe777a23f46
ath10k: suppress 'failed to process fft' warning messages

When using DFS channels on Ath10k, kernel log has repeated warning message
'failed to process fft: -22' typically under medium/heavy traffic.

This patch switches the warnings to driver debug (WMI events) mode only
thus reducing log file noise.

DFS and spectral scan share underlying HW mechanisms and enabling one
(DFS) enables the other (spectral scan) as far as event reporting from
firmware to driver is concerned. Spectral scan events take no part in
processing of DFS radar pulses which are delivered as distinct events,
so the fft (spectral event) warning is harmless and DFS interference
detection/protection still occurs.

Symptoms seen & fix tested in both debug & non-debug modes on TP-Link
Archer C7 v2 platform.

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/wmi.c