summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ti/wlcore/tx.h
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2013-09-17 18:41:20 +0300
committerLuciano Coelho <luciano.coelho@intel.com>2013-09-30 21:12:17 +0300
commit187e52cc3c9f5ee64136f8b5c4edcb4cf94693e7 (patch)
tree2d55b5a29df2bf6ee4827025a9b4dc08998cd8f3 /drivers/net/wireless/ti/wlcore/tx.h
parent772eb433357704ec3d6e0daa727d9ec3e85f50c1 (diff)
wlcore: ROC on AP channel before auth reply
Start a ROC on the AP channel beforing sending the authentication reply to a connecting STA. This ROC is held up to 1 second via a timer. If the station is authorized and added by mac80211, the ROC is extended until the station is fully authorized. We make sure not to ROC twice when several stations are connecting in parallel and to only release the ROC when both the pending-reply timer and the STA-state callbacks do not require it. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/tx.h')
-rw-r--r--drivers/net/wireless/ti/wlcore/tx.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/tx.h b/drivers/net/wireless/ti/wlcore/tx.h
index 55aa4acf9105..35489c300da1 100644
--- a/drivers/net/wireless/ti/wlcore/tx.h
+++ b/drivers/net/wireless/ti/wlcore/tx.h
@@ -56,6 +56,9 @@
/* Used for management frames and dummy packets */
#define WL1271_TID_MGMT 7
+/* stop a ROC for pending authentication reply after this time (ms) */
+#define WLCORE_PEND_AUTH_ROC_TIMEOUT 1000
+
struct wl127x_tx_mem {
/*
* Number of extra memory blocks to allocate for this packet