summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/conf.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-06-26 10:36:03 +0300
committerLuciano Coelho <coelho@ti.com>2011-07-05 21:33:20 +0300
commit3618f30f307841dba19f22d9c602a5c59cab30c7 (patch)
treedc380ac4fddfeab5346f87701e468c1d9ca47988 /drivers/net/wireless/wl12xx/conf.h
parentb992c68228a3ccdf73ea4f57519e1663839a9cbe (diff)
downloadtalos-obmc-linux-3618f30f307841dba19f22d9c602a5c59cab30c7.tar.gz
talos-obmc-linux-3618f30f307841dba19f22d9c602a5c59cab30c7.zip
wl12xx: AP mode - 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. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/conf.h')
-rw-r--r--drivers/net/wireless/wl12xx/conf.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/conf.h b/drivers/net/wireless/wl12xx/conf.h
index b5a7b30afda3..6080e01d92c6 100644
--- a/drivers/net/wireless/wl12xx/conf.h
+++ b/drivers/net/wireless/wl12xx/conf.h
@@ -713,8 +713,16 @@ struct conf_tx_settings {
/*
* AP-mode - allow this number of TX retries to a station before an
* event is triggered from FW.
+ * In AP-mode the hlids of unreachable stations are given in the
+ * "sta_tx_retry_exceeded" member in the event mailbox.
*/
- u16 ap_max_tx_retries;
+ u8 max_tx_retries;
+
+ /*
+ * AP-mode - after this number of seconds a connected station is
+ * considered inactive.
+ */
+ u16 ap_aging_period;
/*
* Configuration for TID parameters.
OpenPOWER on IntegriCloud