]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35bd53ee13e6a5f1f1b5a20ff649c485e67857f3
tree108eec6c1cccb07497c2831618ba1a0ac5bb420c
parent695660173f7ed84b329837497bbe6a2344039fba
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