]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] begin handling multiple hardware decap'ed A-MSDU in the RX path.
authorAdrian Chadd <adrian@FreeBSD.org>
Thu, 12 Oct 2017 21:56:58 +0000 (21:56 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Thu, 12 Oct 2017 21:56:58 +0000 (21:56 +0000)
commit48f95a360ed15bd208c90b54c5e3711a917f11d8
tree3bc09fc3a6ad3b3133690fa48943308dae40bcf4
parent3b5aa97c104993d5b3db33fbfd79692bf034f905
[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