linux/drivers/net/wireless/ath
Bob Copeland 21800491cc ath5k: rework beacon configuration
Using the enable_beacon flag allows some simplifications and fixes
some corner cases in beacon handling.  This change adds a state
variable for beaconing in ath5k_beacon_config and handles both
enabling and disabling, thus eliminating the need for
ath5k_beacon_disable.  We also now configure the beacon when any
of the beacon parameters change, so ath5k_beacon_reconfig is no
longer needed (its mmiowb gets moved to ath5k_beacon_config).
Finally, by locking around the whole config function, we don't
need to worry about clearing the interrupt mask register before
installing the new mask.

The upshot is this correctly disables beaconing when the interfaces
are taken down, it fixes a potential restarting of beaconing
when ath5k_reset() is called, and ensures that updates to the
beacon interval take effect immediately.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-07-10 15:02:29 -04:00
..
ar9170 ar9170usb: module link in sysfs 2009-07-10 15:01:57 -04:00
ath5k ath5k: rework beacon configuration 2009-07-10 15:02:29 -04:00
ath9k ath9k: remove permissions from debugfs files 2009-07-10 15:02:26 -04:00
Kconfig Atheros Kconfig needs to be dependent on WLAN_80211 2009-07-08 15:24:29 -04:00
main.c
Makefile
regd.c ath: make regulatory parsing more verbose on debug 2009-06-03 14:06:15 -04:00
regd.h
regd_common.h