wl12xx: implement SW Tx watchdog
authorArik Nemtsov <arik@wizery.com>
Sat, 3 Mar 2012 20:18:00 +0000 (22:18 +0200)
committerLuciano Coelho <coelho@ti.com>
Thu, 8 Mar 2012 12:25:18 +0000 (14:25 +0200)
commit55df5afb13718cda49128fa5985556df91d07765
treebb6c9279e12b90af623ba6ea4b17ea85f679e251
parent8ccd16e6cb17a1e961617cc67798bbb222e4cd13
wl12xx: implement SW Tx watchdog

Track freed FW blocks during Tx. If no blocks were freed during a
predefined timeout, initiate a HW recovery. This helps in situations
when the FW watchdog fails.

Don't trigger recovery during activities that can temporarily stop
Tx. This includes:
- scanning
- buffering packets for sleeping stations (AP role)
- ROC on any role

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/conf.h
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/scan.c
drivers/net/wireless/wl12xx/tx.c
drivers/net/wireless/wl12xx/tx.h
drivers/net/wireless/wl12xx/wl12xx.h