ath9k: fix rate control tx status handling for A-MPDU
authorFelix Fietkau <nbd@openwrt.org>
Mon, 1 Mar 2010 12:32:11 +0000 (13:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 10 Mar 2010 22:44:45 +0000 (17:44 -0500)
commitd969847c2202f82b3f6755d16909925e64e354e5
tree108eec6c1cccb07497c2831618ba1a0ac5bb420c
parent7c3c76a82f3a6d52bbeabf48dd32109cc951a7cf
ath9k: fix rate control tx status handling for A-MPDU

Currently the rate control tx status update gets called for every
subframe of an A-MPDU, and ath9k marks the frame with the relevant
status update with an internal flag. This not suitable for rate control
algorithms using the standard mac80211 rate control API, so fix this by
using IEEE80211_TX_STAT_AMPDU for marking the correct frames that
should be processed.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/rc.c
drivers/net/wireless/ath/ath9k/rc.h
drivers/net/wireless/ath/ath9k/xmit.c