aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-01-13 15:10:38 (GMT)
committerJouni Malinen <j@w1.fi>2013-01-13 15:10:38 (GMT)
commit031453265fe8dab1f0e97f8404dae489c26337c4 (patch)
treef3d32cbab30bd6003395eb3b2cafbe5fb295100b /src/common/wpa_common.h
parenta39c78be413bd100c25e26c52b728fa60edff40b (diff)
downloadhostap-031453265fe8dab1f0e97f8404dae489c26337c4.zip
hostap-031453265fe8dab1f0e97f8404dae489c26337c4.tar.gz
hostap-031453265fe8dab1f0e97f8404dae489c26337c4.tar.bz2
Define allowed pairwise/group cipher suites in a header file
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index c26c2cc..2423cc1 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -20,6 +20,12 @@
#define WPA_GMK_LEN 32
#define WPA_GTK_MAX_LEN 32
+#define WPA_ALLOWED_PAIRWISE_CIPHERS \
+(WPA_CIPHER_CCMP | WPA_CIPHER_GCMP | WPA_CIPHER_TKIP | WPA_CIPHER_NONE)
+#define WPA_ALLOWED_GROUP_CIPHERS \
+(WPA_CIPHER_CCMP | WPA_CIPHER_GCMP | WPA_CIPHER_TKIP | WPA_CIPHER_WEP104 | \
+WPA_CIPHER_WEP40)
+
#define WPA_SELECTOR_LEN 4
#define WPA_VERSION 1
#define RSN_SELECTOR_LEN 4