From: Jouni Malinen Date: Tue, 5 Nov 2024 16:39:07 +0000 (+0200) Subject: nl80211: Register to receive Vendor Specific Protected action frames X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9fc4eec3ea3d9e9d49404c9b2d924af87fd8cb8;p=thirdparty%2Fhostap.git nl80211: Register to receive Vendor Specific Protected action frames 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 --- diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 4141bc578..2856d4584 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -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;