summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wl18xx/cmd.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2014-12-29 09:24:08 +0300
committerKalle Valo <kvalo@codeaurora.org>2015-01-09 16:47:58 +0300
commite7d323243f567b8f3ff1324dc8a6f17dd36b4106 (patch)
treedd31dbdd9c7a26a742366bca99580c35ff288386 /drivers/net/wireless/ti/wl18xx/cmd.h
parent750e9d15e2fe93fec696893be7b120b2940378d0 (diff)
downloadlinux-e7d323243f567b8f3ff1324dc8a6f17dd36b4106.tar.xz
wl18xx: add debugfs file to emulate radar event
Add debugfs file to emulate radar detection through a special fw cmd (which in turn will generate radar event) Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wl18xx/cmd.h')
-rw-r--r--drivers/net/wireless/ti/wl18xx/cmd.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl18xx/cmd.h b/drivers/net/wireless/ti/wl18xx/cmd.h
index 91b3e2fe77cd..0809b92c23db 100644
--- a/drivers/net/wireless/ti/wl18xx/cmd.h
+++ b/drivers/net/wireless/ti/wl18xx/cmd.h
@@ -59,6 +59,13 @@ struct wl18xx_cmd_smart_config_set_group_key {
u8 key[16];
} __packed;
+struct wl18xx_cmd_dfs_radar_debug {
+ struct wl1271_cmd_header header;
+
+ u8 channel;
+ u8 padding[3];
+} __packed;
+
/* cac_start and cac_stop share the same params */
struct wlcore_cmd_cac_start {
struct wl1271_cmd_header header;
@@ -77,4 +84,5 @@ int wl18xx_cmd_smart_config_stop(struct wl1271 *wl);
int wl18xx_cmd_smart_config_set_group_key(struct wl1271 *wl, u16 group_id,
u8 key_len, u8 *key);
int wl18xx_cmd_set_cac(struct wl1271 *wl, struct wl12xx_vif *wlvif, bool start);
+int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel);
#endif