]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 25 Nov 2025 09:28:20 +0000 (10:28 +0100)
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>
include/linux/ieee80211.h

index d55d8ea3a8be40985e5c6fe63a0094be36631428..96439de55f07a64d8d1965b5b157fd031e9abbf1 100644 (file)
@@ -1493,8 +1493,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,