From: Masakazu Mokuno Date: Wed, 18 Jun 2008 08:03:18 +0000 (+0300) Subject: Add the flags for the drivers which do 4-way handshake X-Git-Tag: hostap_0_6_4~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0f775b2a4f559a52e8e295a4d4e535d3f37b968;p=thirdparty%2Fhostap.git Add the flags for the drivers which do 4-way handshake Add the new flags which are supposed to be included in Linux 2.6.27 for the drivers which want to do 4-way handshake and to know PMK. Signed-off-by: Masakazu Mokuno --- diff --git a/src/common/wireless_copy.h b/src/common/wireless_copy.h index e01a48727..e55362eb4 100644 --- a/src/common/wireless_copy.h +++ b/src/common/wireless_copy.h @@ -602,6 +602,7 @@ typedef __uint8_t __u8; #define IW_ENCODE_ALG_WEP 1 #define IW_ENCODE_ALG_TKIP 2 #define IW_ENCODE_ALG_CCMP 3 +#define IW_ENCODE_ALG_PMK 4 /* struct iw_encode_ext ->ext_flags */ #define IW_ENCODE_EXT_TX_SEQ_VALID 0x00000001 #define IW_ENCODE_EXT_RX_SEQ_VALID 0x00000002 @@ -621,6 +622,7 @@ typedef __uint8_t __u8; #define IW_ENC_CAPA_WPA2 0x00000002 #define IW_ENC_CAPA_CIPHER_TKIP 0x00000004 #define IW_ENC_CAPA_CIPHER_CCMP 0x00000008 +#define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010 /* Event capability macros - in (struct iw_range *)->event_capa * Because we have more than 32 possible events, we use an array of