[PATCH] softmac: ERP handling and driver-level notifications
authorDaniel Drake <dsd@gentoo.org>
Tue, 18 Jul 2006 20:33:27 +0000 (21:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 27 Jul 2006 20:17:28 +0000 (16:17 -0400)
commit5acd0c4153be25269d7cb9a4b09fd6db571c5cc1
treeb970a1b9469617597ab1594ca269bc81b020a881
parentd8e2be90d301a0381e9b2528fe2835cf2992bca3
[PATCH] softmac: ERP handling and driver-level notifications

This patch implements ERP handling in softmac so that the drivers can support
protection and preambles properly.

I added a new struct, ieee80211softmac_bss_info, which is used for
BSS-dependent variables like these.

A new hook has been added (bssinfo_change), which allows the drivers to be
notified when anything in bssinfo changes.

I modified the txrates_change API to match the bssinfo_change API. The
existing one is a little messy and the usefulness of providing the old rates
is questionable (and can be implemented at driver level if really necessary).
No drivers are using this API (yet), so this should be safe.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/ieee80211softmac.h
net/ieee80211/softmac/ieee80211softmac_assoc.c
net/ieee80211/softmac/ieee80211softmac_io.c
net/ieee80211/softmac/ieee80211softmac_module.c
net/ieee80211/softmac/ieee80211softmac_priv.h