]> git.baikalelectronics.ru Git - kernel.git/commit
ath: add support to get the detected radar specifications
authorSriram R <srirrama@codeaurora.org>
Tue, 15 May 2018 09:09:48 +0000 (14:39 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 25 May 2018 10:15:21 +0000 (13:15 +0300)
commitcc881eaa8ac1b90bc2550bc4ecef53865cd4e242
treeff3c2eb3f2c869a8f102e8976ba85e861bc29be5
parent6702a489b31171eecf5a34f7a29a41b97d2b0b88
ath: add support to get the detected radar specifications

This enables ath10k/ath9k drivers to collect the specifications of the
radar type once it is detected by the dfs pattern detector unit.
Usage of the collected info is specific to driver implementation.
For example, collected radar info could be used by the host driver
to send to co-processors for additional processing/validation.

Note: 'radar_detector_specs' data containing the specifications of
different radar types which was private within dfs_pattern_detector/
dfs_pri_detector is now shared with drivers as well for making use
of this information.

Signed-off-by: Sriram R <srirrama@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath10k/wmi.c
drivers/net/wireless/ath/ath9k/dfs.c
drivers/net/wireless/ath/dfs_pattern_detector.c
drivers/net/wireless/ath/dfs_pattern_detector.h
drivers/net/wireless/ath/dfs_pri_detector.h