summaryrefslogtreecommitdiff
path: root/include/linux/compiler-gcc.h
diff options
context:
space:
mode:
authorZefir Kurtisi <zefir.kurtisi@neratec.com>2016-11-25 17:51:58 +0200
committerKalle Valo <kvalo@qca.qualcomm.com>2016-12-01 12:29:24 +0200
commit87fedb974e0ceaf2a4200b7abb64054fa031cf85 (patch)
tree42b8a7905a35be98c965d5c8515e13b1011f4893 /include/linux/compiler-gcc.h
parent705d7aa062203226c8df73f18622664e30bd8a61 (diff)
ath9k: feed only active spectral / dfs-detector
Radar pulse and spectral scan reports are provided by the HW with the ATH9K_RXERR_PHY flag set. Those are forwarded to the dfs-detector and spectral module for further processing. For some older chips, the pre-conditions checked in those modules are ambiguous, since ATH9K_PHYERR_RADAR is used to tag both types. As a result, spectral frames are fed into the dfs-detector and vice versa. This could lead to a false radar detection on a non-DFS channel (which is uncritical), but more relevant it causes useless CPU load for processing invalid frames. This commit ensures that the dfs-detector and spectral collector are only fed when they are active. Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'include/linux/compiler-gcc.h')
0 files changed, 0 insertions, 0 deletions