]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix regression in SSN handling of addba tx
authorFelix Fietkau <nbd@nbd.name>
Wed, 24 Nov 2021 09:40:24 +0000 (10:40 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 26 Nov 2021 10:35:45 +0000 (11:35 +0100)
commit5041739d06b32700afdeecb8c927efd30236a4f5
tree01acda4db0b02bcc5dd6fdb1c395c4005237e1ca
parentcfe6995d028b1cc5a68b6876997a004377e5f2e9
mac80211: fix regression in SSN handling of addba tx

Some drivers that do their own sequence number allocation (e.g. ath9k) rely
on being able to modify params->ssn on starting tx ampdu sessions.
This was broken by a change that modified it to use sta->tid_seq[tid] instead.

Cc: stable@vger.kernel.org
Fixes: 6ee4e9060ba2 ("mac80211: agg-tx: refactor sending addba")
Reported-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20211124094024.43222-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-tx.c
net/mac80211/sta_info.h