Skip to content

Commit 98fb9b9

Browse files
committed
wifi: ieee80211: don't require protected vendor action frames
For vendor action frames, whether a protected one should be used or not is clearly up to the individual vendor and frame, so even though a protected dual is defined, it may not get used. Thus, don't require protection for vendor action frames when they're used in a connection. Since we obviously don't process frames unknown to the kernel in the kernel, it may makes sense to invert this list to have all the ones the kernel processes and knows to be requiring protection, but that'd be a different change. Fixes: 9153561 ("wifi: mac80211: don't drop all unprotected public action frames") Reported-by: Jouni Malinen <[email protected]> Link: https://msgid.link/20231206223801.f6a2cf4e67ec.Ifa6acc774bd67801d3dafb405278f297683187aa@changeid Signed-off-by: Johannes Berg <[email protected]>
1 parent 91fdb30 commit 98fb9b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/linux/ieee80211.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4447,7 +4447,8 @@ ieee80211_is_protected_dual_of_public_action(struct sk_buff *skb)
44474447
action != WLAN_PUB_ACTION_LOC_TRACK_NOTI &&
44484448
action != WLAN_PUB_ACTION_FTM_REQUEST &&
44494449
action != WLAN_PUB_ACTION_FTM_RESPONSE &&
4450-
action != WLAN_PUB_ACTION_FILS_DISCOVERY;
4450+
action != WLAN_PUB_ACTION_FILS_DISCOVERY &&
4451+
action != WLAN_PUB_ACTION_VENDOR_SPECIFIC;
44514452
}
44524453

44534454
/**

0 commit comments

Comments
 (0)