]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r324570,r324580:
authoreadler <eadler@FreeBSD.org>
Thu, 1 Mar 2018 08:05:52 +0000 (08:05 +0000)
committereadler <eadler@FreeBSD.org>
Thu, 1 Mar 2018 08:05:52 +0000 (08:05 +0000)
commitc4705e9a0a00db1560bb80696f9cb92c8dca0709
tree5d6262c660371b079c2f18451d98f6238db14274
parent0fbaeed85f073d50da91a2b628346534e2f76a17
MFC r324570,r324580:

[net80211] begin handling multiple hardware decap'ed A-MSDU in the RX path.

The duplicate detection code currently expects A-MSDU frames to be encaped -
they're decap'ed /after/ duplicate detection.

However for ath10k (and iwm hardware later on) the firmware supports
doing A-MSDU decap in hardware - which shows up as multiple frames with
the same sequence number and IV.

This is the first part of decap handling - if we see a stretch of A-MSDU
frames from the driver with the MORE bit set, then don't treat them
as duplicates.

This isn't 100% complete as crypto sequence number handling and "A-MSDU in
A-MPDU" needs handling, but it's a start.

This should be a glorified no-op for everyone.  Please tell me if it isn't.
sys/net80211/ieee80211_input.h
sys/net80211/ieee80211_ioctl.h