aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/wpa.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-08-03 17:17:58 (GMT)
committerJouni Malinen <j@w1.fi>2008-08-03 17:17:58 (GMT)
commitbf98f7f3bcf827f5cdcd2179dfcf3b0c55a8cd16 (patch)
tree62aad7eefae59afe0db75031bcd720bcbac040f4 /hostapd/wpa.h
parent3ff77e070de25ba9c78528906079e54377e61a95 (diff)
downloadhostap-06-bf98f7f3bcf827f5cdcd2179dfcf3b0c55a8cd16.zip
hostap-06-bf98f7f3bcf827f5cdcd2179dfcf3b0c55a8cd16.tar.gz
hostap-06-bf98f7f3bcf827f5cdcd2179dfcf3b0c55a8cd16.tar.bz2
Added support for opportunistic key caching (OKC)
This allows hostapd to share the PMKSA caches internally when multiple BSSes or radios are being controlled by the same hostapd process.
Diffstat (limited to 'hostapd/wpa.h')
-rw-r--r--hostapd/wpa.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/hostapd/wpa.h b/hostapd/wpa.h
index 5778bb1..5bcb6a6 100644
--- a/hostapd/wpa.h
+++ b/hostapd/wpa.h
@@ -140,6 +140,7 @@ struct wpa_auth_config {
int eapol_version;
int peerkey;
int wme_enabled;
+ int okc;
#ifdef CONFIG_IEEE80211W
enum {
WPA_NO_IEEE80211W = 0,
@@ -192,6 +193,8 @@ struct wpa_auth_callbacks {
size_t data_len, int encrypt);
int (*for_each_sta)(void *ctx, int (*cb)(struct wpa_state_machine *sm,
void *ctx), void *cb_ctx);
+ int (*for_each_auth)(void *ctx, int (*cb)(struct wpa_authenticator *a,
+ void *ctx), void *cb_ctx);
int (*send_ether)(void *ctx, const u8 *dst, u16 proto, const u8 *data,
size_t data_len);
#ifdef CONFIG_IEEE80211R