]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: cfg80211: add support for IEEE 802.1X Authentication Protocol
authorKavita Kavita <kavita.kavita@oss.qualcomm.com>
Thu, 26 Feb 2026 18:55:51 +0000 (00:25 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 2 Mar 2026 08:53:23 +0000 (09:53 +0100)
commitbd77375097357b46af00db1316ceab5e82ccbc8b
tree2a1b1687e15695cadc8535b8c8e752da34adc21c
parent0e88342dbd0ee8088ca2d2ae8af319d3c2b627a8
wifi: cfg80211: add support for IEEE 802.1X Authentication Protocol

Add an extended feature flag NL80211_EXT_FEATURE_IEEE8021X_AUTH to
allow a driver to indicate support for the IEEE 802.1X authentication
protocol in non-AP STA mode, as defined in
"IEEE P802.11bi/D4.0, 12.16.5".

In case of SME in userspace, the Authentication frame body is prepared
in userspace while the driver finalizes the Authentication frame once
it receives the required fields and elements. The driver indicates
support for IEEE 802.1X authentication using the extended feature flag
so that userspace can initiate IEEE 802.1X authentication.

When the feature flag is set, process IEEE 802.1X Authentication frames
from userspace in non-AP STA mode. If the flag is not set, reject
IEEE 802.1X Authentication frames.

Define a new authentication type NL80211_AUTHTYPE_IEEE8021X for
IEEE 802.1X authentication.

Signed-off-by: Kavita Kavita <kavita.kavita@oss.qualcomm.com>
Link: https://patch.msgid.link/20260226185553.1516290-4-kavita.kavita@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/linux/ieee80211.h
include/uapi/linux/nl80211.h
net/wireless/nl80211.c