summaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJouni Malinen2009-01-08 12:32:11 +0100
committerJohn W. Linville2009-01-29 22:00:08 +0100
commit4375d08350e3661d5e8860d33eea084e47ba01cf (patch)
treebb4df587cbe044700e0f29900c51e54ebd06ddd3 /include/net/mac80211.h
parentmac80211: 802.11w - Optional software CCMP for management frames (diff)
downloadkernel-qcow2-linux-4375d08350e3661d5e8860d33eea084e47ba01cf.tar.gz
kernel-qcow2-linux-4375d08350e3661d5e8860d33eea084e47ba01cf.tar.xz
kernel-qcow2-linux-4375d08350e3661d5e8860d33eea084e47ba01cf.zip
mac80211: 802.11w - Add driver capability flag for MFP
This allows user space to determine whether a driver supports MFP and behave properly without having to ask user to configure this in MFP-optional mode. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 00a50a38c7f2..9bca2abbf038 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -865,6 +865,9 @@ enum ieee80211_tkip_key_type {
*
* @IEEE80211_HW_SUPPORTS_DYNAMIC_PS:
* Hardware has support for dynamic PS.
+ *
+ * @IEEE80211_HW_MFP_CAPABLE:
+ * Hardware supports management frame protection (MFP, IEEE 802.11w).
*/
enum ieee80211_hw_flags {
IEEE80211_HW_RX_INCLUDES_FCS = 1<<1,
@@ -880,6 +883,7 @@ enum ieee80211_hw_flags {
IEEE80211_HW_SUPPORTS_PS = 1<<11,
IEEE80211_HW_PS_NULLFUNC_STACK = 1<<12,
IEEE80211_HW_SUPPORTS_DYNAMIC_PS = 1<<13,
+ IEEE80211_HW_MFP_CAPABLE = 1<<14,
};
/**