ath10k: allow user to toggle ani_enable via debugfs
authorAshok Raj Nagarajan <arnagara@qti.qualcomm.com>
Thu, 19 Mar 2015 11:08:00 +0000 (16:38 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Mon, 23 Mar 2015 15:20:26 +0000 (17:20 +0200)
commitb3e71d7a51486b523ffef0abd517cd25e4ec9588
treeeb5bbf63a32db34abd4422246fc6eafdaf64cb7a
parent575f1c3d5c909d26e169da01eaed44f00f7eb88f
ath10k: allow user to toggle ani_enable via debugfs

Now that ANI is enabled by default, allow user to disable or enable ANI feature
from debugfs

echo 0|1 > /sys/kernel/debug/ieee80211/phyX/ath10k/ani_enable

Signed-off-by: Ashok Raj Nagarajan <arnagara@qti.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/core.h
drivers/net/wireless/ath/ath10k/debug.c
drivers/net/wireless/ath/ath10k/mac.c