]> git.baikalelectronics.ru Git - kernel.git/commit
wl12xx: AP-mode - count free FW TX blocks per link
authorArik Nemtsov <arik@wizery.com>
Tue, 22 Feb 2011 22:22:30 +0000 (00:22 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 23 Feb 2011 09:18:46 +0000 (11:18 +0200)
commit466455d4c2d592230890857160b8af201d45a4e1
tree09c46d96003ef58080c3559158c94a7c5dd0b3b7
parentf62817364a8c4ab46a1f5396c7251e45dce918a2
wl12xx: AP-mode - count free FW TX blocks per link

Count the number of FW TX blocks allocated per link. We add blocks to a
link counter when allocated for a TX descriptor. We remove blocks
according to counters in fw_status indicating the number of freed blocks
in FW. These counters are polled after each IRQ.

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