Add the flags for the drivers which do 4-way handshake
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>
Wed, 18 Jun 2008 08:03:18 +0000 (11:03 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 18 Jun 2008 08:03:18 +0000 (11:03 +0300)
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 <mokuno@sm.sony.co.jp>
src/common/wireless_copy.h

index e01a487..e55362e 100644 (file)
@@ -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