[PATCH 05/15] AP: Require MFPR when validating a STA Security Profile element
Andrei Otcheretianski
andrei.otcheretianski at intel.com
Tue Nov 24 00:53:01 PST 2026
From: Ilan Peer <ilan.peer at intel.com>
All security profiles require both MFPC and MFPR (IEEE P802.11bn/D2.0,
Table 9-bb18), but only MFPC was checked.
Signed-off-by: Ilan Peer <ilan.peer at intel.com>
---
src/ap/ieee802_11.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index 736b1bda34..0c29d79936 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -320,9 +320,10 @@ static bool find_and_validate_profile(
return false;
}
- if (!(rsne_data->capabilities & WPA_CAPABILITY_MFPC)) {
+ if (!(rsne_data->capabilities & WPA_CAPABILITY_MFPC) ||
+ !(rsne_data->capabilities & WPA_CAPABILITY_MFPR)) {
wpa_printf(MSG_DEBUG,
- "RSN: Security profile use without MFP is not allowed");
+ "RSN: Security profile use without MFPC and MFPR is not allowed");
return false;
}
--
2.56.1
More information about the Hostap
mailing list