]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: ieee80211: correct FILS status codes
authorRia Thomas <ria.thomas@morsemicro.com>
Mon, 24 Nov 2025 12:56:37 +0000 (18:26 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 18 Dec 2025 13:03:17 +0000 (14:03 +0100)
[ Upstream commit 24d4da5c2565313c2ad3c43449937a9351a64407 ]

The FILS status codes are set to 108/109, but the IEEE 802.11-2020
spec defines them as 112/113. Update the enum so it matches the
specification and keeps the kernel consistent with standard values.

Fixes: a3caf7440ded ("cfg80211: Add support for FILS shared key authentication offload")
Signed-off-by: Ria Thomas <ria.thomas@morsemicro.com>
Reviewed-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Link: https://patch.msgid.link/20251124125637.3936154-1-ria.thomas@morsemicro.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/ieee80211.h

index ddff9102f63329d36fdb99a5bf3066d9255b6564..1f4679092e69d49d6364c652ef02007140eaa2b8 100644 (file)
@@ -3594,8 +3594,8 @@ enum ieee80211_statuscode {
        WLAN_STATUS_DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL = 99,
        WLAN_STATUS_DENIED_DUE_TO_SPECTRUM_MANAGEMENT = 103,
        /* 802.11ai */
-       WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = 108,
-       WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = 109,
+       WLAN_STATUS_FILS_AUTHENTICATION_FAILURE = 112,
+       WLAN_STATUS_UNKNOWN_AUTHENTICATION_SERVER = 113,
        WLAN_STATUS_SAE_HASH_TO_ELEMENT = 126,
        WLAN_STATUS_SAE_PK = 127,
        WLAN_STATUS_DENIED_TID_TO_LINK_MAPPING = 133,