]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: store frame information used by aggregation inside the skb tx info
authorFelix Fietkau <nbd@openwrt.org>
Sun, 14 Nov 2010 14:20:13 +0000 (15:20 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 17 Nov 2010 21:19:29 +0000 (16:19 -0500)
commitecbe8bd4ba928c154a0e121df4f5047e9e4be485
tree42bd46218aa2f0caa35f418768387164c50e8338
parent39fb9caa24ced87dfc738b2f073aab048cab507e
ath9k: store frame information used by aggregation inside the skb tx info

Since the pointers after the rates in the tx info cannot be used anymore
after frames have been queued, this area can be used to store information
that was previously stored in the ath_buf. With these changes, we can delay
the ath_buf assignment in the aggregation code until aggregates are formed.

That will not only make it possible to simplify DMA descriptor setup to
do less rewriting of uncached memory, but will also make it easier to
move aggregation out of the core of the ath9k tx path.

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