aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_supplicant.conf
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-11-12 18:07:53 (GMT)
committerJouni Malinen <j@w1.fi>2012-11-12 18:07:53 (GMT)
commit6e2020210afe355bd0f8fcdb2a68f31746f6f7df (patch)
tree149f7ad9f6f411a178ad99edff457f584ed72a45 /wpa_supplicant/wpa_supplicant.conf
parent8713a2e6ff0940c03de9f2289c5c875c4df7bc9b (diff)
downloadhostap-6e2020210afe355bd0f8fcdb2a68f31746f6f7df.zip
hostap-6e2020210afe355bd0f8fcdb2a68f31746f6f7df.tar.gz
hostap-6e2020210afe355bd0f8fcdb2a68f31746f6f7df.tar.bz2
Allow OKC to be enabled by default
Previously, OKC (opportunistic key caching, a.k.a. proactive key caching) could be enabled only with a per-network parameter (proactive_key_caching). The new global parameter (okc) can now be used to change the default behavior to be OKC enabled (okc=1) for network blocks that do not override this with the proactive_key_caching parameter. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wpa_supplicant.conf')
-rw-r--r--wpa_supplicant/wpa_supplicant.conf9
1 files changed, 8 insertions, 1 deletions
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 0b0ea88..e1000fe 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -265,6 +265,13 @@ fast_reauth=1
# inactive stations.
#p2p_go_max_inactivity=300
+# Opportunistic Key Caching (also known as Proactive Key Caching) default
+# This parameter can be used to set the default behavior for the
+# proactive_key_caching parameter. By default, OKC is disabled unless enabled
+# with the global okc=1 parameter or with the per-network
+# proactive_key_caching=1 parameter. With okc=1, OKC is enabled by default, but
+# can be disabled with per-network proactive_key_caching=0 parameter.
+#okc=0
# Interworking (IEEE 802.11u)
@@ -548,7 +555,7 @@ fast_reauth=1
#
# proactive_key_caching:
# Enable/disable opportunistic PMKSA caching for WPA2.
-# 0 = disabled (default)
+# 0 = disabled (default unless changed with the global okc parameter)
# 1 = enabled
#
# wep_key0..3: Static WEP key (ASCII in double quotation, e.g. "abcde" or