kernel-hacking-2024-linux-s.../net/mac80211
Jouni Malinen 636a5d3625 nl80211: Add MLME primitives to support external SME
This patch adds new nl80211 commands to allow user space to request
authentication and association (and also deauthentication and
disassociation). The commands are structured to allow separate
authentication and association steps, i.e., the interface between
kernel and user space is similar to the MLME SAP interface in IEEE
802.11 standard and an user space application takes the role of the
SME.

The patch introduces MLME-AUTHENTICATE.request,
MLME-{,RE}ASSOCIATE.request, MLME-DEAUTHENTICATE.request, and
MLME-DISASSOCIATE.request primitives. The authentication and
association commands request the actual operations in two steps
(assuming the driver supports this; if not, separate authentication
step is skipped; this could end up being a separate "connect"
command).

The initial implementation for mac80211 uses the current
net/mac80211/mlme.c for actual sending and processing of management
frames and the new nl80211 commands will just stop the current state
machine from moving automatically from authentication to association.
Future cleanup may move more of the MLME operations into cfg80211.

The goal of this design is to provide more control of authentication and
association process to user space without having to move the full MLME
implementation. This should be enough to allow IEEE 802.11r FT protocol
and 802.11s SAE authentication to be implemented. Obviously, this will
also bring the extra benefit of not having to use WEXT for association
requests with mac80211. An example implementation of a user space SME
using the new nl80211 commands is available for wpa_supplicant.

This patch is enough to get IEEE 802.11r FT protocol working with
over-the-air mechanism (over-the-DS will need additional MLME
primitives for handling the FT Action frames).

Signed-off-by: Jouni Malinen <j@w1.fi>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-03-27 20:13:02 -04:00
..
aes_ccm.c
aes_ccm.h
aes_cmac.c
aes_cmac.h
agg-rx.c mac80211: Tear down aggregation sessions for suspend/resume 2009-03-27 20:12:55 -04:00
agg-tx.c mac80211: Tear down aggregation sessions for suspend/resume 2009-03-27 20:12:55 -04:00
cfg.c nl80211: Add MLME primitives to support external SME 2009-03-27 20:13:02 -04:00
cfg.h
debugfs.c
debugfs.h
debugfs_key.c
debugfs_key.h
debugfs_netdev.c
debugfs_netdev.h
debugfs_sta.c
debugfs_sta.h
event.c
ht.c
ibss.c mac80211: ieee80211_ibss_commit() cleanup 2009-03-27 20:12:41 -04:00
ieee80211_i.h nl80211: Add MLME primitives to support external SME 2009-03-27 20:13:02 -04:00
iface.c mac80211: deauth before flushing STA information 2009-03-16 18:09:39 -04:00
Kconfig
key.c
key.h
led.c
led.h
main.c mac80211: fix warnings in ieee80211_if_config 2009-03-27 20:12:52 -04:00
Makefile
mesh.c
mesh.h
mesh_hwmp.c
mesh_pathtbl.c
mesh_plink.c
michael.c
michael.h
mlme.c nl80211: Add MLME primitives to support external SME 2009-03-27 20:13:02 -04:00
pm.c mac80211: Tear down aggregation sessions for suspend/resume 2009-03-27 20:12:55 -04:00
rate.c
rate.h
rc80211_minstrel.c
rc80211_minstrel.h
rc80211_minstrel_debugfs.c
rc80211_pid.h
rc80211_pid_algo.c
rc80211_pid_debugfs.c
rx.c wireless: radiotap updates 2009-03-27 20:12:52 -04:00
scan.c mac80211: don't drop nullfunc frames during software scan 2009-03-27 20:13:00 -04:00
spectmgmt.c
sta_info.c
sta_info.h mac80211: Tear down aggregation sessions for suspend/resume 2009-03-27 20:12:55 -04:00
tkip.c
tkip.h
tx.c mac80211: don't drop nullfunc frames during software scan 2009-03-27 20:13:00 -04:00
util.c
wep.c
wep.h
wext.c nl80211: Add MLME primitives to support external SME 2009-03-27 20:13:02 -04:00
wme.c mac80211: Fix WMM ACM parsing and AC downgrade operation 2009-03-16 18:09:27 -04:00
wme.h
wpa.c
wpa.h