]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: implement the tx_frames_pending mac80211 callback
authorArik Nemtsov <arik@wizery.com>
Tue, 26 Apr 2011 20:35:39 +0000 (23:35 +0300)
committerLuciano Coelho <coelho@ti.com>
Mon, 2 May 2011 07:27:21 +0000 (10:27 +0300)
commita861205234f93b87c4cab928215450bcd74d5280
treee811e118dc4b7cb6792c2c3ab8cab905636f5dce
parent2cd5028f3c1ddcb7071f93c22698df4faaf0dc44
wl12xx: implement the tx_frames_pending mac80211 callback

Frames are considered pending when they reside in the driver TX queue or
already queued in the FW.

This notion of "pending" is appropriate for power save considerations in
STA mode, but not necessarily in other modes (for instance P2P-GO).

[Fixed a sparse warning about missing "static" in a function
declaration -- Luca]

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/main.c