mac80211: create tx handler for dynamic ps
authorKalle Valo <kalle.valo@nokia.com>
Tue, 12 Jan 2010 08:42:46 +0000 (10:42 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 12 Jan 2010 19:21:01 +0000 (14:21 -0500)
commit5c1b98a52c3af1044c2d3842af8bae9a89502ca9
tree6df9e13ba8fb0213238e56be04361efa3c1af139
parent50ae0cf15c3da2f6a8e4558de5010923e84736b2
mac80211: create tx handler for dynamic ps

Currently dynamic ps check is in ieee80211_xmit(), but it's cleaner
to have a separate tx handler for this. Also this is a prerequisite for
U-APSD client mode which needs to know the queue frame is in.

Also need_dynamic_ps() function is embedded to the tx handler.

No functional changes expect that the code is run in a later phase than
originally.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c