]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP: Update the list of Action frame categories that are not robust
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 5 Nov 2024 16:48:20 +0000 (18:48 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2024 17:02:31 +0000 (19:02 +0200)
Number of new Action frame categories have been identified as being not
robust, i.e., not using management frame protection. Update AP mode
implementation to cover those to allow reception unprotection Action
frames from those categories.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/ieee802_11.c

index c03b884331c8b03ea4ef303afc4c03f2c8619a2f..417a50056e2402f384af38ac3d18988119a4d7e8 100644 (file)
@@ -6050,7 +6050,15 @@ static void handle_beacon(struct hostapd_data *hapd,
 static int robust_action_frame(u8 category)
 {
        return category != WLAN_ACTION_PUBLIC &&
-               category != WLAN_ACTION_HT;
+               category != WLAN_ACTION_HT &&
+               category != WLAN_ACTION_UNPROTECTED_WNM &&
+               category != WLAN_ACTION_SELF_PROTECTED &&
+               category != WLAN_ACTION_UNPROTECTED_DMG &&
+               category != WLAN_ACTION_VHT &&
+               category != WLAN_ACTION_UNPROTECTED_S1G &&
+               category != WLAN_ACTION_HE &&
+               category != WLAN_ACTION_EHT &&
+               category != WLAN_ACTION_VENDOR_SPECIFIC;
 }