Missing disable_ani in /sys/kernel/debug/ieee80211/phy0/ath9k
Hello everyone,
I've got an Atheros AR5416 wireless network adapter and I'm experiencing the problem described in
https://bugzilla.kernel.org/show_bug.cgi?id=42092 So I tried to execute the official solution (echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani) but for some reason or other I am missing the disable_ani file. Is this file located somewhere else now? Have I done something wrong? I am running a 3.14.4 kernel.
Any help will be much appreciated.
Here is some system information you might find useful (kernel config, lsmod, module load options, lspci and the contents of /sys/kernel/debug/ieee80211/phy0/ath9k):
$ zgrep CONFIG_ATH /proc/config.gz CONFIG_ATH_COMMON=m CONFIG_ATH_CARDS=m CONFIG_ATH_DEBUG=y # CONFIG_ATH5K is not set # CONFIG_ATH5K_PCI is not set CONFIG_ATH9K_HW=m CONFIG_ATH9K_COMMON=m CONFIG_ATH9K_BTCOEX_SUPPORT=y CONFIG_ATH9K=m CONFIG_ATH9K_PCI=y CONFIG_ATH9K_AHB=y CONFIG_ATH9K_DEBUGFS=y CONFIG_ATH9K_STATION_STATISTICS=y CONFIG_ATH9K_WOW=y CONFIG_ATH9K_LEGACY_RATE_CONTROL=y CONFIG_ATH9K_RFKILL=y CONFIG_ATH9K_HTC=m CONFIG_ATH9K_HTC_DEBUGFS=y # CONFIG_ATH6KL is not set # CONFIG_ATH10K is not set
$ lsmod | grep ath 12:ath9k 165273 0 13:ath9k_common 1906 1 ath9k 14:ath9k_hw 438914 2 ath9k_common,ath9k 15:ath 20040 3 ath9k_common,ath9k,ath9k_hw 16:led_class 3611 1 ath9k 17:mac80211 585093 1 ath9k 27:cfg80211 459335 3 ath,ath9k,mac80211
$ cat /etc/modprobe.d/ath9k.conf options ath9k debug=0xffffffff
$ lspci -k | grep Wireless -A 3 80:04:06.0 Network controller: Qualcomm Atheros AR5416 Wireless Network Adapter [AR5008 802.11(a)bgn] (rev 01) 81- Subsystem: Qualcomm Atheros Device 3071 82- Kernel driver in use: ath9k 83- Kernel modules: ath9k
# ls /sys/kernel/debug/ieee80211/phy0/ath9k/ -1 ani antenna_diversity base_eeprom bt_ant_diversity btcoex debug dma dump_nfcal gpio_mask gpio_val ignore_extcca interrupt misc modal_eeprom paprd phy_err qlen_be qlen_bk qlen_vi qlen_vo queues recv regdump regidx regval reset rx_chainmask spectral_count spectral_fft_period spectral_period spectral_scan0 spectral_scan_ctl spectral_short_repeat tx_chainmask xmit
Regards,
Georgi Kehaiov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20140520/cf65db33/attachment.htm
Quoted 9 lines · Georgi Kehaiov
Hello everyone,
I've got an Atheros AR5416 wireless network adapter and I'm experiencing the problem described in https://bugzilla.kernel.org/show_bug.cgi?id=42092
So I tried to execute the official solution (echo 1 >/sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani) but for some reason or other I am missing thedisable_anifile. Is this file located somewhere else now? Have I done something wrong? I am running a 3.14.4 kernel.
Quoted 8 lines
Any help will be much appreciated.
Here is some system information you might find useful (kernel config, lsmod, module load options, lspci and the contents of
/sys/kernel/debug/ieee80211/phy0/ath9k):# ls /sys/kernel/debug/ieee80211/phy0/ath9k/ -1 ani
Georgi,
disable_ani is renamed as ani in latest driver.
To disable ANI
echo 0 >/sys/kernel/debug/ieee80211/phy*/ath9k/ani
To enable ANI
echo 1 >/sys/kernel/debug/ieee80211/phy*/ath9k/ani
-Rajkumar