wlcore/wl18xx: add radar_debug_mode handling
authorEliad Peller <eliad@wizery.com>
Sun, 6 Mar 2016 22:28:09 +0000 (00:28 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Mar 2016 13:00:23 +0000 (15:00 +0200)
commit8cf77e176f921d20a1e61d288eaee74a2d1d2ae1
tree2be26f7b56e0b45fdaf5a1fd57ba03ef802dbf3a
parent87cba1696045cbf963d09c82ceca98db92b7ace9
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>
drivers/net/wireless/ti/wl18xx/debugfs.c
drivers/net/wireless/ti/wl18xx/event.c
drivers/net/wireless/ti/wlcore/init.c
drivers/net/wireless/ti/wlcore/wlcore.h