1STRUCT IEEE80211_KEY(9) Advanced driver interface STRUCT IEEE80211_KEY(9)
2
3
4
6 struct_ieee80211_key_conf - key information
7
9 struct ieee80211_key_conf {
10 enum ieee80211_key_alg alg;
11 u8 icv_len;
12 u8 iv_len;
13 u8 hw_key_idx;
14 u8 flags;
15 s8 keyidx;
16 u8 keylen;
17 u8 key[0];
18 };
19
21 alg
22 The key algorithm.
23
24 icv_len
25 The ICV length for this key type
26
27 iv_len
28 The IV length for this key type
29
30 hw_key_idx
31 To be set by the driver, this is the key index the driver wants to
32 be given when a frame is transmitted and needs to be encrypted in
33 hardware.
34
35 flags
36 key flags, see enum ieee80211_key_flags.
37
38 keyidx
39 the key index (0-3)
40
41 keylen
42 key material length
43
44 key[0]
45 key material. For ALG_TKIP the key is encoded as a 256-bit (32
46 byte)
47
49 This key information is given by mac80211 to the driver by the set_key
50 callback in struct ieee80211_ops.
51
53 - Temporal Encryption Key (128 bits) - Temporal Authenticator Tx MIC
54 Key (64 bits) - Temporal Authenticator Rx MIC Key (64 bits)
55
57 Johannes Berg <johannes@sipsolutions.net>
58 Author.
59
61Kernel Hackers Manual 2.6. November 2011 STRUCT IEEE80211_KEY(9)