]> git.baikalelectronics.ru Git - kernel.git/commit
wlcore: ROC on AP channel before auth reply
authorArik Nemtsov <arik@wizery.com>
Tue, 17 Sep 2013 15:41:20 +0000 (18:41 +0300)
committerLuciano Coelho <luciano.coelho@intel.com>
Mon, 30 Sep 2013 18:12:17 +0000 (21:12 +0300)
commitf69bdb23a0c63a53866731b525bb098db4d80741
tree2d55b5a29df2bf6ee4827025a9b4dc08998cd8f3
parent338cb300b8f11e2a59b1c0d9d44429e0a37bccd7
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>
drivers/net/wireless/ti/wlcore/main.c
drivers/net/wireless/ti/wlcore/tx.c
drivers/net/wireless/ti/wlcore/tx.h
drivers/net/wireless/ti/wlcore/wlcore.h
drivers/net/wireless/ti/wlcore/wlcore_i.h