From: Marek Puzyniak Date: Wed, 20 Nov 2013 08:00:28 +0000 (+0200) Subject: ath10k: add debugfs file to control radar events blocking X-Git-Tag: v3.14-rc1~94^2~482^2^2~43^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d9b40b4618a1f6fcd69db7056903d5cba835c2e;p=pandora-kernel.git ath10k: add debugfs file to control radar events blocking Sometimes for DFS testing is required to stay on current channel even after radar detected. This patch allows to enable/disable radar detected event to be passed to mac80211. By default radar detected event in not blocked. To block it: echo 1 > /sys/kernel/debug/ieee80211/phyX/ath10k/dfs_block_radar_events To unblock again: echo 0 > /sys/kernel/debug/ieee80211/phyX/ath10k/dfs_block_radar_events Inform about blocking radar detected event even when logs are disabled for throughput/performance reasons. Signed-off-by: Marek Puzyniak Signed-off-by: Michal Kazior Signed-off-by: Kalle Valo --- Reading git-diff-tree failed