aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wlcore/wlcore.h
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2016-03-07 00:28:09 +0200
committerKalle Valo <kvalo@codeaurora.org>2016-03-10 15:00:23 +0200
commit8cf77e176f921d20a1e61d288eaee74a2d1d2ae1 (patch)
tree2be26f7b56e0b45fdaf5a1fd57ba03ef802dbf3a /drivers/net/wireless/ti/wlcore/wlcore.h
parentwlcore: don't WARN_ON in case of existing ROC (diff)
downloadlinux-dev-8cf77e176f921d20a1e61d288eaee74a2d1d2ae1.tar.xz
linux-dev-8cf77e176f921d20a1e61d288eaee74a2d1d2ae1.zip
wlcore/wl18xx: add radar_debug_mode handling
Add debugfs key (under CFG80211_CERTIFICATION_ONUS configuration) to set/clear radar_debug_mode. In this mode, the driver simply ignores radar events (but prints them). The fw is notified about this mode through a special generic_cfg_feature command. This mode is relevant only for ap mode. look for it when initializing ap vif. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/wlcore.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/wlcore.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h
index dda01b118c26..72c31a8edcfb 100644
--- a/drivers/net/wireless/ti/wlcore/wlcore.h
+++ b/drivers/net/wireless/ti/wlcore/wlcore.h
@@ -463,6 +463,7 @@ struct wl1271 {
/* the current dfs region */
enum nl80211_dfs_regions dfs_region;
+ bool radar_debug_mode;
/* size of the private FW status data */
size_t fw_status_len;