]> git.baikalelectronics.ru Git - kernel.git/commit
nl80211: Event notifications for MLME events
authorJouni Malinen <jouni.malinen@atheros.com>
Thu, 19 Mar 2009 11:39:21 +0000 (13:39 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:02 +0000 (20:13 -0400)
commitbe37a84b0dc7f57974506f51b251f832932b095c
treeaf94d1ad78ce1e82d76328ea9a67b351f0a9174b
parent5a3ac1149460db23be37f2898fd4d80c0221b769
nl80211: Event notifications for MLME events

Add new nl80211 event notifications (and a new multicast group, "mlme")
for informing user space about received and processed Authentication,
(Re)Association Response, Deauthentication, and Disassociation frames in
station and IBSS modes (i.e., MLME SAP interface primitives
MLME-AUTHENTICATE.confirm, MLME-ASSOCIATE.confirm,
MLME-REASSOCIATE.confirm, MLME-DEAUTHENTICATE.indicate, and
MLME-DISASSOCIATE.indication). The event data is encapsulated as the 802.11
management frame since we already have the frame in that format and it
includes all the needed information.

This is the initial step in providing MLME SAP interface for
authentication and association with nl80211. In other words, kernel code
will act as the MLME and a user space application can control it as the
SME.

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/linux/nl80211.h
include/net/cfg80211.h
net/mac80211/mlme.c
net/wireless/Makefile
net/wireless/mlme.c [new file with mode: 0644]
net/wireless/nl80211.c
net/wireless/nl80211.h