]> 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)
commit8561ad94b985de0dc844bc29a29865838b172cda
treee4ea8b1a4e189c9d9d7e7a3fc4b6b018a08b3a3d
parente5828d8f6d752eda20d2ca9ce2c3c660f6c3927d
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