diff options
author | Christian Lamparter <chunkeey@googlemail.com> | 2011-01-22 18:18:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-27 16:03:56 -0500 |
commit | aa32452dcff1f95976fb28b5a28ecc93f47d0472 (patch) | |
tree | d5f92b88218125acb51e17b21af489b9aee4bd2e /drivers/net/wireless/ath/carl9170/main.c | |
parent | c42d6cf25d648d95387d8a881aa0cab657470726 (diff) |
carl9170: utilize fw seq counter for mgmt/non-QoS data frames
"mac80211 will properly assign sequence numbers to QoS-data
frames but cannot do so correctly for non-QoS-data and
management frames because beacons need them from that counter
as well and mac80211 cannot guarantee proper sequencing."
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/carl9170/main.c')
-rw-r--r-- | drivers/net/wireless/ath/carl9170/main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/carl9170/main.c b/drivers/net/wireless/ath/carl9170/main.c index ecfb80b059d1..ede3d7e5a048 100644 --- a/drivers/net/wireless/ath/carl9170/main.c +++ b/drivers/net/wireless/ath/carl9170/main.c | |||
@@ -662,6 +662,13 @@ init: | |||
662 | goto unlock; | 662 | goto unlock; |
663 | } | 663 | } |
664 | 664 | ||
665 | if (ar->fw.tx_seq_table) { | ||
666 | err = carl9170_write_reg(ar, ar->fw.tx_seq_table + vif_id * 4, | ||
667 | 0); | ||
668 | if (err) | ||
669 | goto unlock; | ||
670 | } | ||
671 | |||
665 | unlock: | 672 | unlock: |
666 | if (err && (vif_id >= 0)) { | 673 | if (err && (vif_id >= 0)) { |
667 | vif_priv->active = false; | 674 | vif_priv->active = false; |