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)
commit33437893025aa3c0195b933ac99ef7de924019f4
treee811e118dc4b7cb6792c2c3ab8cab905636f5dce
parent4cf557fcf01e352fb418e110dd013e4128493c5f
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