ath9k: Cleanup multiple VIF processing
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 3 Mar 2009 17:23:26 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Mar 2009 19:39:44 +0000 (14:39 -0500)
commit2c3db3d51ee1fcf84f5828788905a4c091b9ae27
tree44df855975d0848f15821cc285cbd5d7c8bf3feb
parent860559fe686b44a533c83c79fe5d1ad41bf9e090
ath9k: Cleanup multiple VIF processing

Replace the internal sc_vaps array and index values by using vif
pointer from mac80211. Allow multiple VIPs to be registered. Though,
number of beaconing VIFs is still limited by ATH_BCBUF (currently
1). Multiple virtual STAs support is not yet complete, but at least
the data structures should now be able to handle this.

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