aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/dfs_pattern_detector.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/ath/dfs_pattern_detector.h')
-rw-r--r--drivers/net/wireless/ath/dfs_pattern_detector.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/dfs_pattern_detector.h b/drivers/net/wireless/ath/dfs_pattern_detector.h
index dde2652b787c..25a43d632f90 100644
--- a/drivers/net/wireless/ath/dfs_pattern_detector.h
+++ b/drivers/net/wireless/ath/dfs_pattern_detector.h
@@ -40,12 +40,14 @@ struct ath_dfs_pool_stats {
40 * @freq: channel frequency in MHz 40 * @freq: channel frequency in MHz
41 * @width: pulse duration in us 41 * @width: pulse duration in us
42 * @rssi: rssi of radar event 42 * @rssi: rssi of radar event
43 * @chirp: chirp detected in pulse
43 */ 44 */
44struct pulse_event { 45struct pulse_event {
45 u64 ts; 46 u64 ts;
46 u16 freq; 47 u16 freq;
47 u8 width; 48 u8 width;
48 u8 rssi; 49 u8 rssi;
50 bool chirp;
49}; 51};
50 52
51/** 53/**
@@ -59,6 +61,7 @@ struct pulse_event {
59 * @ppb: pulses per bursts for this type 61 * @ppb: pulses per bursts for this type
60 * @ppb_thresh: number of pulses required to trigger detection 62 * @ppb_thresh: number of pulses required to trigger detection
61 * @max_pri_tolerance: pulse time stamp tolerance on both sides [us] 63 * @max_pri_tolerance: pulse time stamp tolerance on both sides [us]
64 * @chirp: chirp required for the radar pattern
62 */ 65 */
63struct radar_detector_specs { 66struct radar_detector_specs {
64 u8 type_id; 67 u8 type_id;
@@ -70,6 +73,7 @@ struct radar_detector_specs {
70 u8 ppb; 73 u8 ppb;
71 u8 ppb_thresh; 74 u8 ppb_thresh;
72 u8 max_pri_tolerance; 75 u8 max_pri_tolerance;
76 bool chirp;
73}; 77};
74 78
75/** 79/**