wl12xx: support FW TX inactivity triggers
authorArik Nemtsov <arik@wizery.com>
Tue, 26 Apr 2011 20:21:51 +0000 (23:21 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 28 Apr 2011 18:50:45 +0000 (14:50 -0400)
commit47684808fd89d6809c0886e06f8ac324252499d8
treef5edf3dae33bc46a39d8526484bae71f33a19bab
parenta039a993496d79d09ae9709c82b545b9800954c9
wl12xx: support FW TX inactivity triggers

In AP mode we register for the MAX_TX_RETRY and INACTIVE_STA events.
Both are reported to the upper layers as a TX failure in the offending
stations.

In STA mode we register only for the MAX_TX_RETRY event. A TX failure is
interpreted as a loss of connection.

Support for IEEE80211_HW_REPORTS_TX_ACK_STATUS has been removed to avoid
the inherent race condition of a mac80211 TX failure counter in addition
to the FW counter.

This patch depends on "mac80211: allow low level driver to report packet
loss"

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/acx.c
drivers/net/wireless/wl12xx/acx.h
drivers/net/wireless/wl12xx/boot.c
drivers/net/wireless/wl12xx/cmd.c
drivers/net/wireless/wl12xx/conf.h
drivers/net/wireless/wl12xx/event.c
drivers/net/wireless/wl12xx/event.h
drivers/net/wireless/wl12xx/init.c
drivers/net/wireless/wl12xx/main.c
drivers/net/wireless/wl12xx/wl12xx.h