mac80211: support A-MSDU in fast-rx
authorFelix Fietkau <nbd@nbd.name>
Tue, 27 Feb 2018 12:03:07 +0000 (13:03 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 27 Feb 2018 12:30:53 +0000 (13:30 +0100)
commit24bba078eca099b5bd25e17e97b485f013589f8c
tree6bbd78f55edfdc9aa755fbc8d31eb152f042297d
parent21b7022f13fb038b3e204a892c7cc42749754f7f
mac80211: support A-MSDU in fast-rx

Only works if the IV was stripped from packets. Create a smaller
variant of ieee80211_rx_h_amsdu, which bypasses checks already done
within the fast-rx context.

In order to do so, update cfg80211's ieee80211_data_to_8023_exthdr()
to take the offset between header and snap.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/mac80211/rx.c
net/wireless/util.c