aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/dfs_pri_detector.h
diff options
context:
space:
mode:
authorSriram R <srirrama@codeaurora.org>2018-05-15 14:39:48 +0530
committerKalle Valo <kvalo@codeaurora.org>2018-05-25 13:15:21 +0300
commitf40105e6747892e8edab94020567c158c9bec0df (patch)
treeff3c2eb3f2c869a8f102e8976ba85e861bc29be5 /drivers/net/wireless/ath/dfs_pri_detector.h
parentffbc9197b4721634dc6c0fefa9b31e565fa89cee (diff)
downloadlinux-f40105e6747892e8edab94020567c158c9bec0df.tar.gz
linux-f40105e6747892e8edab94020567c158c9bec0df.tar.bz2
linux-f40105e6747892e8edab94020567c158c9bec0df.zip
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>
Diffstat (limited to 'drivers/net/wireless/ath/dfs_pri_detector.h')
-rw-r--r--drivers/net/wireless/ath/dfs_pri_detector.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/dfs_pri_detector.h b/drivers/net/wireless/ath/dfs_pri_detector.h
index 79f0fff4d1e6..86339f2b4d3a 100644
--- a/drivers/net/wireless/ath/dfs_pri_detector.h
+++ b/drivers/net/wireless/ath/dfs_pri_detector.h
@@ -62,8 +62,9 @@ struct pri_detector {
(*add_pulse)(struct pri_detector *de, struct pulse_event *e);
void (*reset) (struct pri_detector *de, u64 ts);
-/* private: internal use only */
const struct radar_detector_specs *rs;
+
+/* private: internal use only */
u64 last_ts;
struct list_head sequences;
struct list_head pulses;