1ENUM IEEE80211_KEY_F(9)    Advanced driver interface   ENUM IEEE80211_KEY_F(9)
2
3
4

NAME

6       enum_ieee80211_key_flags - key flags
7

SYNOPSIS

9       enum ieee80211_key_flags {
10         IEEE80211_KEY_FLAG_GENERATE_IV_MGMT,
11         IEEE80211_KEY_FLAG_GENERATE_IV,
12         IEEE80211_KEY_FLAG_GENERATE_MMIC,
13         IEEE80211_KEY_FLAG_PAIRWISE,
14         IEEE80211_KEY_FLAG_SW_MGMT_TX,
15         IEEE80211_KEY_FLAG_PUT_IV_SPACE,
16         IEEE80211_KEY_FLAG_RX_MGMT,
17         IEEE80211_KEY_FLAG_RESERVE_TAILROOM
18       };
19

CONSTANTS

21       IEEE80211_KEY_FLAG_GENERATE_IV_MGMT
22           This flag should be set by the driver for a CCMP/GCMP key to
23           indicate that is requires IV generation only for managment frames
24           (MFP).
25
26       IEEE80211_KEY_FLAG_GENERATE_IV
27           This flag should be set by the driver to indicate that it requires
28           IV generation for this particular key. Setting this flag does not
29           necessarily mean that SKBs will have sufficient tailroom for ICV or
30           MIC.
31
32       IEEE80211_KEY_FLAG_GENERATE_MMIC
33           This flag should be set by the driver for a TKIP key if it requires
34           Michael MIC generation in software.
35
36       IEEE80211_KEY_FLAG_PAIRWISE
37           Set by mac80211, this flag indicates that the key is pairwise
38           rather then a shared key.
39
40       IEEE80211_KEY_FLAG_SW_MGMT_TX
41           This flag should be set by the driver for a CCMP/GCMP key if it
42           requires CCMP/GCMP encryption of management frames (MFP) to be done
43           in software.
44
45       IEEE80211_KEY_FLAG_PUT_IV_SPACE
46           This flag should be set by the driver if space should be prepared
47           for the IV, but the IV itself should not be generated. Do not set
48           together with IEEE80211_KEY_FLAG_GENERATE_IV on the same key.
49           Setting this flag does not necessarily mean that SKBs will have
50           sufficient tailroom for ICV or MIC.
51
52       IEEE80211_KEY_FLAG_RX_MGMT
53           This key will be used to decrypt received management frames. The
54           flag can help drivers that have a hardware crypto implementation
55           that doesn't deal with management frames properly by allowing them
56           to not upload the keys to hardware and fall back to software
57           crypto. Note that this flag deals only with RX, if your crypto
58           engine can't deal with TX you can also set the
59           IEEE80211_KEY_FLAG_SW_MGMT_TX flag to encrypt such frames in SW.
60
61       IEEE80211_KEY_FLAG_RESERVE_TAILROOM
62           This flag should be set by the driver for a key to indicate that
63           sufficient tailroom must always be reserved for ICV or MIC, even
64           when HW encryption is enabled.
65

DESCRIPTION

67       These flags are used for communication about keys between the driver
68       and mac80211, with the flags parameter of struct ieee80211_key_conf.
69

AUTHOR

71       Johannes Berg <johannes@sipsolutions.net>
72           Author.
73
75Kernel Hackers Manual 3.10         June 2019           ENUM IEEE80211_KEY_F(9)
Impressum