]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
cfg80211: keep track of supported interface modes
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Fri, 29 Aug 2008 23:26:43 +0000 (16:26 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Sep 2008 20:17:42 +0000 (16:17 -0400)
commitf59ac0481660e66cec67f1d6b024e78b9dc715fe
treee9c69b04ac5863b1429bca5a9df1d75026703cde
parentc6e387a214f4b2c4bd48020409e366c133385d98
cfg80211: keep track of supported interface modes

It is obviously good for userspace to know up front which
interface modes a given piece of hardware might support (even
if adding such an interface might fail later because of
concurrency issues), so let's make cfg80211 aware of that.
For good measure, disallow adding interfaces in all other
modes so drivers don't forget to announce support for one mode
when they add it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Stephen Blackheath <tramp.enshrine.stephen@blacksapphire.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
17 files changed:
drivers/net/wireless/adm8211.c
drivers/net/wireless/ath5k/base.c
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/b43/main.c
drivers/net/wireless/b43legacy/main.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl3945-base.c
drivers/net/wireless/mac80211_hwsim.c
drivers/net/wireless/p54/p54common.c
drivers/net/wireless/rt2x00/rt2x00dev.c
drivers/net/wireless/rtl8187_dev.c
drivers/net/wireless/zd1211rw/zd_mac.c
include/linux/nl80211.h
include/net/wireless.h
net/mac80211/main.c
net/wireless/core.c
net/wireless/nl80211.c