From: Jan-Henrik Bruhn <git@jhbruhn.de>
To: iwd@lists.linux.dev
Cc: Jan-Henrik Bruhn <kernel@jhbruhn.de>
Subject: [PATCH 1/2] vendor_quirks: add PMKID mismatch quirk
Date: Tue, 27 Oct 2026 11:27:34 +0100 [thread overview]
Message-ID: <20261027102735.140381-1-git@jhbruhn.de> (raw)
From: Jan-Henrik Bruhn <kernel@jhbruhn.de>
pmkid_mismatch:
Extreme Networks APs running WiNG include a PMKID in message 1/4
of the FT-8021X 4-way handshake which does not match any PMKID IWD
derives, even directly after a full EAP authentication. This quirk
is intended to relax the PMKID check for these APs. They are
identified by the Zebra Technologies OUI in their vendor IE.
---
src/vendor_quirks.c | 9 +++++++++
src/vendor_quirks.h | 1 +
2 files changed, 10 insertions(+)
diff --git a/src/vendor_quirks.c b/src/vendor_quirks.c
index 4fba0c3..accd6b8 100644
--- a/src/vendor_quirks.c
+++ b/src/vendor_quirks.c
@@ -45,6 +45,11 @@ static const struct {
{ 0x00, 0x0b, 0x86 },
{ .replay_counter_mismatch = true },
},
+ {
+ /* Zebra Technologies, WiNG APs now owned by Extreme */
+ { 0x00, 0xa0, 0xf8 },
+ { .pmkid_mismatch = true },
+ },
};
void vendor_quirks_append_for_oui(const uint8_t *oui,
@@ -62,6 +67,7 @@ void vendor_quirks_append_for_oui(const uint8_t *oui,
quirk->ignore_bss_tm_candidates;
quirks->replay_counter_mismatch |=
quirk->replay_counter_mismatch;
+ quirks->pmkid_mismatch |= quirk->pmkid_mismatch;
}
}
@@ -77,6 +83,9 @@ const char *vendor_quirks_to_string(struct vendor_quirk quirks)
if (quirks.replay_counter_mismatch)
s += snprintf(pos, sizeof(out) - s, "ReplayCounterMismatch");
+ if (quirks.pmkid_mismatch)
+ s += snprintf(pos, sizeof(out) - s, "PmkidMismatch");
+
if (!s)
return NULL;
diff --git a/src/vendor_quirks.h b/src/vendor_quirks.h
index b5d726c..ab45c28 100644
--- a/src/vendor_quirks.h
+++ b/src/vendor_quirks.h
@@ -29,6 +29,7 @@
struct vendor_quirk {
bool ignore_bss_tm_candidates : 1;
bool replay_counter_mismatch : 1;
+ bool pmkid_mismatch : 1;
};
void vendor_quirks_append_for_oui(const uint8_t *oui,
--
2.43.0
next reply other threads:[~2026-10-27 10:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-27 10:27 Jan-Henrik Bruhn [this message]
2026-10-27 10:27 ` [PATCH 2/2] eapol: use vendor quirk to relax PMKID check Jan-Henrik Bruhn
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=20261027102735.140381-1-git@jhbruhn.de \
--to=git@jhbruhn.de \
--cc=iwd@lists.linux.dev \
--cc=kernel@jhbruhn.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox