]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: send ADDBA requests using the tid/queue of the aggregation session
authorFelix Fietkau <nbd@nbd.name>
Thu, 2 Dec 2021 12:45:33 +0000 (13:45 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 14 Dec 2021 10:17:57 +0000 (11:17 +0100)
commitb1ccd86814b5c70b3f7003053ef6e331940064cc
tree8a2b695ca1f53c54b9c99f8d9351e5df0cab9cd8
parent7c96fb8e4ff077dd5f17ece4345e4f1959463f66
mac80211: send ADDBA requests using the tid/queue of the aggregation session

Sending them out on a different queue can cause a race condition where a
number of packets in the queue may be discarded by the receiver, because
the ADDBA request is sent too early.
This affects any driver with software A-MPDU setup which does not allocate
packet seqno in hardware on tx, regardless of whether iTXQ is used or not.
The only driver I've seen that explicitly deals with this issue internally
is mwl8k.

Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20211202124533.80388-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-tx.c