ath9k: Add support for multiple secondary virtual wiphys
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:29 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:45 +0000 (14:39 -0500)
commitc52f33d05e5f8d59f02722fbc308f5f391575ca5
tree19c6d56f3594e8b43d725b5d919bb775921fde38
parentbce048d77dff3dcfd75d54dc38580c81baa95853
ath9k: Add support for multiple secondary virtual wiphys

The new struct ath_softc::sec_wiphy array is used to store information
about virtual wiphys and select which wiphy is used in calls to
mac80211. Each virtual wiphy will be assigned a different MAC address
based on the virtual wiphy index.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/ath9k.h
drivers/net/wireless/ath9k/beacon.c
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/rc.h
drivers/net/wireless/ath9k/recv.c
drivers/net/wireless/ath9k/virtual.c
drivers/net/wireless/ath9k/xmit.c