From: Jouni Malinen Date: Sat, 24 Jan 2015 17:52:08 +0000 (+0200) Subject: mac80111: Add BIP-CMAC-256 cipher X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=81112c202905bfee53055864d24aae8dcd9a7652;p=carl9170fw.git mac80111: Add BIP-CMAC-256 cipher This allows mac80211 to configure BIP-CMAC-256 to the driver and also use software-implementation within mac80211 when the driver does not support this with hardware accelaration. Signed-off-by: Jouni Malinen Signed-off-by: Johannes Berg Signed-off-by: Christian Lamparter --- diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h index 170f254..9ec7061 100644 --- a/include/linux/ieee80211.h +++ b/include/linux/ieee80211.h @@ -1020,6 +1020,15 @@ struct ieee80211_mmie { u8 mic[8]; } __packed; +/* Management MIC information element (IEEE 802.11w) for GMAC and CMAC-256 */ +struct ieee80211_mmie_16 { + u8 element_id; + u8 length; + __le16 key_id; + u8 sequence_number[6]; + u8 mic[16]; +} __packed; + struct ieee80211_vendor_ie { u8 element_id; u8 len;