ath9k: Revamp wireless mode usage
authorSujith <Sujith.Manoharan@atheros.com>
Thu, 7 Aug 2008 05:24:57 +0000 (10:54 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Aug 2008 13:49:44 +0000 (09:49 -0400)
commit86b89eed9aca2a4a335b9c1bf7380f9183db431f
treede9861a36de404fc74d8d7fbb87bd66e73891de4
parent3b95978ddadbab594aad6280bfa660a49948af86
ath9k: Revamp wireless mode usage

Use a single enum for managing modes, store supported modes by
the HW in a bitmask.
Register legacy rates with mac80211 only at init.

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
12 files changed:
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/beacon.c
drivers/net/wireless/ath9k/core.c
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/hw.c
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/rc.c
drivers/net/wireless/ath9k/rc.h
drivers/net/wireless/ath9k/regd.c
drivers/net/wireless/ath9k/regd.h
drivers/net/wireless/ath9k/regd_common.h
drivers/net/wireless/ath9k/xmit.c