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 <mokuno@sm.sony.co.jp>
This commit is contained in:
parent
f3f7540edc
commit
e0f775b2a4
1 changed files with 2 additions and 0 deletions
|
@ -602,6 +602,7 @@ typedef __uint8_t __u8;
|
||||||
#define IW_ENCODE_ALG_WEP 1
|
#define IW_ENCODE_ALG_WEP 1
|
||||||
#define IW_ENCODE_ALG_TKIP 2
|
#define IW_ENCODE_ALG_TKIP 2
|
||||||
#define IW_ENCODE_ALG_CCMP 3
|
#define IW_ENCODE_ALG_CCMP 3
|
||||||
|
#define IW_ENCODE_ALG_PMK 4
|
||||||
/* struct iw_encode_ext ->ext_flags */
|
/* struct iw_encode_ext ->ext_flags */
|
||||||
#define IW_ENCODE_EXT_TX_SEQ_VALID 0x00000001
|
#define IW_ENCODE_EXT_TX_SEQ_VALID 0x00000001
|
||||||
#define IW_ENCODE_EXT_RX_SEQ_VALID 0x00000002
|
#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_WPA2 0x00000002
|
||||||
#define IW_ENC_CAPA_CIPHER_TKIP 0x00000004
|
#define IW_ENC_CAPA_CIPHER_TKIP 0x00000004
|
||||||
#define IW_ENC_CAPA_CIPHER_CCMP 0x00000008
|
#define IW_ENC_CAPA_CIPHER_CCMP 0x00000008
|
||||||
|
#define IW_ENC_CAPA_4WAY_HANDSHAKE 0x00000010
|
||||||
|
|
||||||
/* Event capability macros - in (struct iw_range *)->event_capa
|
/* Event capability macros - in (struct iw_range *)->event_capa
|
||||||
* Because we have more than 32 possible events, we use an array of
|
* Because we have more than 32 possible events, we use an array of
|
||||||
|
|
Loading…
Reference in a new issue