wifi: ieee80211: correctly mark FTM frames non-bufferable
authorJohannes Berg <johannes.berg@intel.com>
Fri, 31 Mar 2023 14:59:08 +0000 (16:59 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Apr 2023 14:32:02 +0000 (16:32 +0200)
commit2c9abe653bc5134eeab411c46dde008d8a1c37b0
treeab69541aff6caacc86052770814f44def125b177
parent4fdeb847130229dc94befa241461669c7359776b
wifi: ieee80211: correctly mark FTM frames non-bufferable

The checks of whether or not a frame is bufferable were not
taking into account that some action frames aren't, such as
FTM. Check this, which requires some changes to the function
ieee80211_is_bufferable_mmpdu() since we need the whole skb
for the checks now.

Reviewed-by: Ilan Peer <ilan.peer@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/tx.c
drivers/net/wireless/mediatek/mt76/tx.c
include/linux/ieee80211.h
net/mac80211/tx.c