]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: fix A-MPDU queue assignment
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 23 Mar 2009 16:28:36 +0000 (17:28 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Sat, 28 Mar 2009 00:13:21 +0000 (20:13 -0400)
commitbac9afdf526c061037bbf00d57c9279bb4c2a182
tree5e8d1795fa06127f9c9ae9755140eb0d871ae2f9
parentc7da59ea945b67fdf8ab6e9239b5b006965d8dc3
mac80211: fix A-MPDU queue assignment

Internally, mac80211 requires the skb's queue mapping to be set
to the AC queue, not the virtual A-MPDU queue. This is not done
correctly currently, this patch moves the code down to directly
before the driver is invoked and adds a comment that it will be
moved into the driver later.

Since this requires __ieee80211_tx() to have the sta pointer,
make sure to provide it in ieee80211_tx_pending().

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Reviewed-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c