[PATCH 1/2] Add the flags for the drivers which do 4-way handshake

Masakazu Mokuno mokuno
Tue Jun 17 23:36:35 PDT 2008


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 at sm.sony.co.jp>
---
 src/common/wireless_copy.h |    2 ++
 1 file changed, 2 insertions(+)

--- 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

-- 
Masakazu Mokuno




More information about the Hostap mailing list