]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mac80211: update A-MPDU flag on tx dequeue
authorFelix Fietkau <nbd@nbd.name>
Fri, 4 Nov 2016 09:27:52 +0000 (10:27 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 15 Nov 2016 13:37:12 +0000 (14:37 +0100)
commitc1f4c9ede3c799da9f920c1df9ce524145781637
treeb1a5c03f83db67dfcb6839ab1dae489da0556469
parent8fdd136f2200e6b7237e7e48453f4a591d768e3e
mac80211: update A-MPDU flag on tx dequeue

The sequence number counter is used to derive the starting sequence
number. Since that counter is updated on tx dequeue, the A-MPDU flag
needs to be up to date at the tme of dequeue as well.

This patch prevents sending more A-MPDU frames after the session has
been terminated and also ensures that aggregation starts right after the
session has been established

Fixes: bb42f2d13ffc ("mac80211: Move reorder-sensitive TX handlers to after TXQ dequeue")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Acked-by: Toke Høiland-Jørgensen <toke@toke.dk>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c