ath5k: added cfg80211 based rfkill support
authorTobias Doerffel <tobias.doerffel@gmail.com>
Tue, 9 Jun 2009 15:33:27 +0000 (17:33 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Jun 2009 17:27:54 +0000 (13:27 -0400)
commite6a3b61681dcb963e6465ffbc4330b44824f35e3
tree1628eb26f1a79858391686a64e9e72780cd6340a
parent207ee1621722876bb79828689582bf77fd1be200
ath5k: added cfg80211 based rfkill support

This patch introduces initial rfkill support for the ath5k driver
based on rfkill support in the cfg80211 framework.
All rfkill related code is separated into newly created rfkill.c.

Changes to existing code are minimal:

* added a new data structure ath5k_rfkill to the ath5k_softc structure
* inserted calls to HW rfkill init/deinit routines
* ath5k_intr() has been extended to handle AR5K_INT_GPIO interrupts

Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/Kconfig
drivers/net/wireless/ath/ath5k/Makefile
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h
drivers/net/wireless/ath/ath5k/reset.c
drivers/net/wireless/ath/ath5k/rfkill.c [new file with mode: 0644]