diff options
| author | John W. Linville <linville@tuxdriver.com> | 2012-09-24 14:34:40 -0400 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2012-09-24 14:34:40 -0400 |
| commit | 9b4e9e756541fd5d1223b323ed5a8a8545dd11cd (patch) | |
| tree | 3eed3a2582532bd1fd890b58eadd472fcd2b1dc7 /include/net | |
| parent | 7a5f799becc51c842ec1a3aeb8dd82651aea7036 (diff) | |
| parent | 9385d04f2872057a2029901190391fe192b18693 (diff) | |
Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/mac80211.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index 71f8262fc1df..82558c8decf8 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
| @@ -973,21 +973,29 @@ static inline bool ieee80211_vif_is_mesh(struct ieee80211_vif *vif) | |||
| 973 | * generation in software. | 973 | * generation in software. |
| 974 | * @IEEE80211_KEY_FLAG_PAIRWISE: Set by mac80211, this flag indicates | 974 | * @IEEE80211_KEY_FLAG_PAIRWISE: Set by mac80211, this flag indicates |
| 975 | * that the key is pairwise rather then a shared key. | 975 | * that the key is pairwise rather then a shared key. |
| 976 | * @IEEE80211_KEY_FLAG_SW_MGMT: This flag should be set by the driver for a | 976 | * @IEEE80211_KEY_FLAG_SW_MGMT_TX: This flag should be set by the driver for a |
| 977 | * CCMP key if it requires CCMP encryption of management frames (MFP) to | 977 | * CCMP key if it requires CCMP encryption of management frames (MFP) to |
| 978 | * be done in software. | 978 | * be done in software. |
| 979 | * @IEEE80211_KEY_FLAG_PUT_IV_SPACE: This flag should be set by the driver | 979 | * @IEEE80211_KEY_FLAG_PUT_IV_SPACE: This flag should be set by the driver |
| 980 | * if space should be prepared for the IV, but the IV | 980 | * if space should be prepared for the IV, but the IV |
| 981 | * itself should not be generated. Do not set together with | 981 | * itself should not be generated. Do not set together with |
| 982 | * @IEEE80211_KEY_FLAG_GENERATE_IV on the same key. | 982 | * @IEEE80211_KEY_FLAG_GENERATE_IV on the same key. |
| 983 | * @IEEE80211_KEY_FLAG_RX_MGMT: This key will be used to decrypt received | ||
| 984 | * management frames. The flag can help drivers that have a hardware | ||
| 985 | * crypto implementation that doesn't deal with management frames | ||
| 986 | * properly by allowing them to not upload the keys to hardware and | ||
| 987 | * fall back to software crypto. Note that this flag deals only with | ||
| 988 | * RX, if your crypto engine can't deal with TX you can also set the | ||
| 989 | * %IEEE80211_KEY_FLAG_SW_MGMT_TX flag to encrypt such frames in SW. | ||
| 983 | */ | 990 | */ |
| 984 | enum ieee80211_key_flags { | 991 | enum ieee80211_key_flags { |
| 985 | IEEE80211_KEY_FLAG_WMM_STA = 1<<0, | 992 | IEEE80211_KEY_FLAG_WMM_STA = 1<<0, |
| 986 | IEEE80211_KEY_FLAG_GENERATE_IV = 1<<1, | 993 | IEEE80211_KEY_FLAG_GENERATE_IV = 1<<1, |
| 987 | IEEE80211_KEY_FLAG_GENERATE_MMIC= 1<<2, | 994 | IEEE80211_KEY_FLAG_GENERATE_MMIC= 1<<2, |
| 988 | IEEE80211_KEY_FLAG_PAIRWISE = 1<<3, | 995 | IEEE80211_KEY_FLAG_PAIRWISE = 1<<3, |
| 989 | IEEE80211_KEY_FLAG_SW_MGMT = 1<<4, | 996 | IEEE80211_KEY_FLAG_SW_MGMT_TX = 1<<4, |
| 990 | IEEE80211_KEY_FLAG_PUT_IV_SPACE = 1<<5, | 997 | IEEE80211_KEY_FLAG_PUT_IV_SPACE = 1<<5, |
| 998 | IEEE80211_KEY_FLAG_RX_MGMT = 1<<6, | ||
| 991 | }; | 999 | }; |
| 992 | 1000 | ||
| 993 | /** | 1001 | /** |
