]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: Fix sequence number assignment
authorSujith Manoharan <c_manoha@qca.qualcomm.com>
Wed, 8 Oct 2014 03:13:19 +0000 (08:43 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Oct 2014 19:24:15 +0000 (15:24 -0400)
commit89c9940a30dc9e436f799edae4296da0b29fd739
treee4ea8b1a4e189c9d9d7e7a3fc4b6b018a08b3a3d
parentc40a03c2ea098dd3eddc11a55a34232c38eafd78
ath9k: Fix sequence number assignment

Currently, ath9k uses a global counter for all
frames that need to be assigned a sequence number.
QoS-data frames are handled properly since they
have a per-tid counter. But, beacons and other
management frames use the same counter even if
multiple interfaces or contexts are present.

Fix this issue by making the counter per-interface
and using it when mac80211 sets IEEE80211_TX_CTL_ASSIGN_SEQ.

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/beacon.c
drivers/net/wireless/ath/ath9k/tx99.c
drivers/net/wireless/ath/ath9k/xmit.c