• Bruno Randolf's avatar
    ath5k: add sysfs files for ANI parameters · 40ca22ea
    Bruno Randolf authored
    /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: default avatarBruno Randolf <br1@einfach.org>
    Acked-by: default avatarNick Kossifidis <mickflemm@gmail.com>
    Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
    40ca22ea
sysfs.c 3.35 KB