'\" t .\" Title: enum ieee80211_key_flags .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Advanced driver interface .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "ENUM IEEE80211_KEY_F" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Advanced driver interface" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" enum_ieee80211_key_flags \- key flags .SH "SYNOPSIS" .sp .nf enum ieee80211_key_flags { IEEE80211_KEY_FLAG_GENERATE_IV_MGMT, IEEE80211_KEY_FLAG_GENERATE_IV, IEEE80211_KEY_FLAG_GENERATE_MMIC, IEEE80211_KEY_FLAG_PAIRWISE, IEEE80211_KEY_FLAG_SW_MGMT_TX, IEEE80211_KEY_FLAG_PUT_IV_SPACE, IEEE80211_KEY_FLAG_RX_MGMT, IEEE80211_KEY_FLAG_RESERVE_TAILROOM }; .fi .SH "CONSTANTS" .PP IEEE80211_KEY_FLAG_GENERATE_IV_MGMT .RS 4 This flag should be set by the driver for a CCMP/GCMP key to indicate that is requires IV generation only for managment frames (MFP)\&. .RE .PP IEEE80211_KEY_FLAG_GENERATE_IV .RS 4 This flag should be set by the driver to indicate that it requires IV generation for this particular key\&. Setting this flag does not necessarily mean that SKBs will have sufficient tailroom for ICV or MIC\&. .RE .PP IEEE80211_KEY_FLAG_GENERATE_MMIC .RS 4 This flag should be set by the driver for a TKIP key if it requires Michael MIC generation in software\&. .RE .PP IEEE80211_KEY_FLAG_PAIRWISE .RS 4 Set by mac80211, this flag indicates that the key is pairwise rather then a shared key\&. .RE .PP IEEE80211_KEY_FLAG_SW_MGMT_TX .RS 4 This flag should be set by the driver for a CCMP/GCMP key if it requires CCMP/GCMP encryption of management frames (MFP) to be done in software\&. .RE .PP IEEE80211_KEY_FLAG_PUT_IV_SPACE .RS 4 This flag should be set by the driver if space should be prepared for the IV, but the IV itself should not be generated\&. Do not set together with \fIIEEE80211_KEY_FLAG_GENERATE_IV\fR on the same key\&. Setting this flag does not necessarily mean that SKBs will have sufficient tailroom for ICV or MIC\&. .RE .PP IEEE80211_KEY_FLAG_RX_MGMT .RS 4 This key will be used to decrypt received management frames\&. The flag can help drivers that have a hardware crypto implementation that doesn\*(Aqt deal with management frames properly by allowing them to not upload the keys to hardware and fall back to software crypto\&. Note that this flag deals only with RX, if your crypto engine can\*(Aqt deal with TX you can also set the \fBIEEE80211_KEY_FLAG_SW_MGMT_TX\fR flag to encrypt such frames in SW\&. .RE .PP IEEE80211_KEY_FLAG_RESERVE_TAILROOM .RS 4 This flag should be set by the driver for a key to indicate that sufficient tailroom must always be reserved for ICV or MIC, even when HW encryption is enabled\&. .RE .SH "DESCRIPTION" .PP .PP These flags are used for communication about keys between the driver and mac80211, with the \fIflags\fR parameter of struct ieee80211_key_conf\&. .SH "AUTHOR" .PP \fBJohannes Berg\fR <\&johannes@sipsolutions.net\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br