aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/ath5k.h
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-05-18 21:31:32 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-02 16:13:26 -0400
commit40ca22eafeb61ee1419dd7c4c2698459183c582c (patch)
tree334285722b332023d7216621b022026e59ba8f7d /drivers/net/wireless/ath/ath5k/ath5k.h
parent6673e2e8e040e319e0505f31580b7f1dbb5862e4 (diff)
ath5k: add sysfs files for ANI parameters
/sys/class/ieee80211/phy0/device/ani/ani_mode /sys/class/ieee80211/phy0/device/ani/noise_immunity_level /sys/class/ieee80211/phy0/device/ani/spur_level /sys/class/ieee80211/phy0/device/ani/firstep_level /sys/class/ieee80211/phy0/device/ani/ofdm_weak_signal_detection /sys/class/ieee80211/phy0/device/ani/cck_weak_signal_detection /sys/class/ieee80211/phy0/device/ani/noise_immunity_level_max /sys/class/ieee80211/phy0/device/ani/spur_level_max /sys/class/ieee80211/phy0/device/ani/firstep_level_max sysfs has a lot of symlinks, so you can find the files also in other locations, like (by PCI ID) /sys/devices/pci0000:00/0000:00:11.0/ani and others. Signed-off-by: Bruno Randolf <br1@einfach.org> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/ath5k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h
index d6f9afebf92..eace74dac00 100644
--- a/drivers/net/wireless/ath/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath/ath5k/ath5k.h
@@ -1150,6 +1150,9 @@ struct ath5k_hw {
1150int ath5k_hw_attach(struct ath5k_softc *sc); 1150int ath5k_hw_attach(struct ath5k_softc *sc);
1151void ath5k_hw_detach(struct ath5k_hw *ah); 1151void ath5k_hw_detach(struct ath5k_hw *ah);
1152 1152
1153int ath5k_sysfs_register(struct ath5k_softc *sc);
1154void ath5k_sysfs_unregister(struct ath5k_softc *sc);
1155
1153/* LED functions */ 1156/* LED functions */
1154int ath5k_init_leds(struct ath5k_softc *sc); 1157int ath5k_init_leds(struct ath5k_softc *sc);
1155void ath5k_led_enable(struct ath5k_softc *sc); 1158void ath5k_led_enable(struct ath5k_softc *sc);