summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/dfs_pattern_detector.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@codeaurora.org>2015-04-28 14:43:54 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-04-28 14:44:19 +0300
commit73b25f66dcae45d74e1641c52a3d96d041788e4e (patch)
treee370fe6f754852c7a979580717457a05edd7f893 /drivers/net/wireless/ath/dfs_pattern_detector.h
parent2decb2682f80759f631c8332f9a2a34a02150a03 (diff)
parent45c9abc059fa754aae047351742ec2d84f932f53 (diff)
downloadlinux-73b25f66dcae45d74e1641c52a3d96d041788e4e.tar.bz2
Merge ath-next from ath.git
Major changes in ath10k: * enable channel 144 on 5 GHz * enable Adaptive Noise Immunity (ANI) by default * add Wake on Wireless LAN (WOW) patterns support * add basic Tunneled Direct Link Setup (TDLS) support * add multi-channel support for QCA6174 * enable IBSS RSN support * enable Bluetooth Coexistance whenever firmware supports it * add more versatile way to set bitrates used by the firmware
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 {
* @freq: channel frequency in MHz
* @width: pulse duration in us
* @rssi: rssi of radar event
+ * @chirp: chirp detected in pulse
*/
struct pulse_event {
u64 ts;
u16 freq;
u8 width;
u8 rssi;
+ bool chirp;
};
/**
@@ -59,6 +61,7 @@ struct pulse_event {
* @ppb: pulses per bursts for this type
* @ppb_thresh: number of pulses required to trigger detection
* @max_pri_tolerance: pulse time stamp tolerance on both sides [us]
+ * @chirp: chirp required for the radar pattern
*/
struct radar_detector_specs {
u8 type_id;
@@ -70,6 +73,7 @@ struct radar_detector_specs {
u8 ppb;
u8 ppb_thresh;
u8 max_pri_tolerance;
+ bool chirp;
};
/**