wlcore: track FW-allocated packets per link
authorArik Nemtsov <arik@wizery.com>
Tue, 27 Nov 2012 06:44:59 +0000 (08:44 +0200)
committerLuciano Coelho <coelho@ti.com>
Wed, 5 Dec 2012 07:43:33 +0000 (09:43 +0200)
commit9ebcb232158c737db21e22b7bfdc4fc6d661ea8c
tree3e796e86c3e6755e0030111f784291893a9e2af5
parent8591d42452f16b1888419da4456142864b08ef9e
wlcore: track FW-allocated packets per link

Move FW-allocation tracking code to the fw_status function and track
allocations made by all links. These will be incorporated in the
improved Tx scheduling algorithm.

Manually zero the system link counters on op_stop, as this link is not
allocated the normal way.

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