]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
nl80211: Register to receive Vendor Specific Protected action frames
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 5 Nov 2024 16:39:07 +0000 (18:39 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 5 Nov 2024 16:39:07 +0000 (18:39 +0200)
This is needed to be able to process Vendor Specific Protection action
frames. In particular, this is needed for the Wi-Fi Alliance
Capabilities frame on an AP.

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

index 4141bc5789185bbe4501bbe1cee8e0b9d3773de6..2856d458415567558de5f7ea5669fdc44b855f5b 100644 (file)
@@ -2768,6 +2768,9 @@ static int nl80211_action_subscribe_ap(struct i802_bss *bss)
        if (nl80211_register_action_frame(bss, (u8 *) "\x12", 1) < 0)
                ret = -1;
 #endif /* CONFIG_FST */
+       /* Vendor-specific Protected */
+       if (nl80211_register_action_frame(bss, (u8 *) "\x7e", 1) < 0)
+               ret = -1;
        /* Vendor-specific */
        if (nl80211_register_action_frame(bss, (u8 *) "\x7f", 1) < 0)
                ret = -1;