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)
commitca14405e3b25b38221d027d8970c1d74ed0b6532
treee4ea8b1a4e189c9d9d7e7a3fc4b6b018a08b3a3d
parent2f29fed3f814f652a24b10c975b9d415a154fc9c
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