]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit93e21f4451a19513785f98c018672ea23b936193
tree6df9e13ba8fb0213238e56be04361efa3c1af139
parent32a55c1efaf35466953f5641f3295b9ba234c20c
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