• Kevin Darbyshire-Bryant's avatar
    ath10k: suppress 'failed to process fft' warning messages · 3413e97d
    Kevin Darbyshire-Bryant authored
    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: default avatarKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
    Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
    3413e97d
wmi.c 218 KB