diff options
author | Arik Nemtsov <arik@wizery.com> | 2013-09-17 18:41:20 +0300 |
---|---|---|
committer | Luciano Coelho <luciano.coelho@intel.com> | 2013-09-30 21:12:17 +0300 |
commit | 187e52cc3c9f5ee64136f8b5c4edcb4cf94693e7 (patch) | |
tree | 2d55b5a29df2bf6ee4827025a9b4dc08998cd8f3 /drivers/net/wireless/ti/wlcore/wlcore.h | |
parent | rt2x00: Fix rf register for RT3070 (diff) | |
download | linux-dev-187e52cc3c9f5ee64136f8b5c4edcb4cf94693e7.tar.xz linux-dev-187e52cc3c9f5ee64136f8b5c4edcb4cf94693e7.zip |
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/wlcore.h')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/wlcore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/wlcore.h b/drivers/net/wireless/ti/wlcore/wlcore.h index 0034979e97cb..54ce5d5e84db 100644 --- a/drivers/net/wireless/ti/wlcore/wlcore.h +++ b/drivers/net/wireless/ti/wlcore/wlcore.h @@ -481,6 +481,8 @@ int wlcore_set_key(struct wl1271 *wl, enum set_key_cmd cmd, struct ieee80211_sta *sta, struct ieee80211_key_conf *key_conf); void wlcore_regdomain_config(struct wl1271 *wl); +void wlcore_update_inconn_sta(struct wl1271 *wl, struct wl12xx_vif *wlvif, + struct wl1271_station *wl_sta, bool in_conn); static inline void wlcore_set_ht_cap(struct wl1271 *wl, enum ieee80211_band band, |