From: Ilan Peer <ilan.peer@intel.com>
To: linux-wireless@vger.kernel.org
Cc: Ilan Peer <ilan.peer@intel.com>
Subject: [PATCH 2/2] wifi: mac80211: support EPP peer indication in FT authentication
Date: Thu, 3 Dec 2026 11:34:08 +0200 [thread overview]
Message-ID: <20261203093408.1545010-2-ilan.peer@intel.com> (raw)
In-Reply-To: <20261203093408.1545010-1-ilan.peer@intel.com>
Mark the AP station as an EPP peer when requested. This is needed
in FT authentication in case the following reassociation is encrypted.
Signed-off-by: Ilan Peer <ilan.peer@intel.com>
---
net/mac80211/ieee80211_i.h | 1 +
net/mac80211/mlme.c | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/net/mac80211/ieee80211_i.h b/net/mac80211/ieee80211_i.h
index a74b1e711733..5a4eecfaef20 100644
--- a/net/mac80211/ieee80211_i.h
+++ b/net/mac80211/ieee80211_i.h
@@ -451,6 +451,7 @@ struct ieee80211_mgd_auth_data {
bool done, waiting;
bool peer_confirmed;
bool timeout_started;
+ bool epp_peer;
int link_id;
u8 ap_addr[ETH_ALEN] __aligned(2);
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
index 4ea214e25056..d1055d7375ca 100644
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -10237,7 +10237,8 @@ static int ieee80211_prep_connection(struct ieee80211_sub_if_data *sdata,
if (ifmgd->auth_data &&
(ifmgd->auth_data->algorithm == WLAN_AUTH_EPPKE ||
- ifmgd->auth_data->algorithm == WLAN_AUTH_IEEE8021X))
+ ifmgd->auth_data->algorithm == WLAN_AUTH_IEEE8021X ||
+ ifmgd->auth_data->epp_peer))
new_sta->sta.epp_peer = true;
new_sta->sta.mlo = mlo;
@@ -10578,6 +10579,7 @@ int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata,
req->supported_selectors_len);
auth_data->algorithm = auth_alg;
+ auth_data->epp_peer = req->epp_peer;
/* try to authenticate/probe */
--
2.55.0
prev parent reply other threads:[~2026-12-03 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 9:34 [PATCH 1/2] wifi: cfg80211: allow auth data and EPP peer with FT authentication Ilan Peer
2026-12-03 9:34 ` Ilan Peer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203093408.1545010-2-ilan.peer@intel.com \
--to=ilan.peer@intel.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.