cfg80211/mac80211: allow registering for and sending action frames
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 15 Feb 2010 10:53:10 +0000 (12:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Feb 2010 21:14:15 +0000 (16:14 -0500)
commit026331c4d9b526561ea96f95fac4bfc52b69e316
treea82b0a92a7f03a1d151a9db123320689c73d98c7
parent8404080568613d93ad7cf0a16dfb68459b42a264
cfg80211/mac80211: allow registering for and sending action frames

This implements a new command to register for action frames
that userspace wants to handle instead of the in-kernel
rejection. It is then responsible for rejecting ones that
it decided not to handle. There is no unregistration, but
the socket can be closed for that.

Frames that are not registered for will not be forwarded
to userspace and will be rejected by the kernel, the
cfg80211 API helps implementing that.

Additionally, this patch adds a new command that allows
doing action frame transmission from userspace. It can be
used either to exchange action frames on the current
operational channel (e.g., with the AP with which we are
currently associated) or to exchange off-channel Public
Action frames with the remain-on-channel command.

Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
13 files changed:
include/linux/nl80211.h
include/net/cfg80211.h
include/net/mac80211.h
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/rx.c
net/mac80211/status.c
net/wireless/core.c
net/wireless/core.h
net/wireless/mlme.c
net/wireless/nl80211.c
net/wireless/nl80211.h