aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-01-24 12:52:09 -0500
committerJohannes Berg <johannes.berg@intel.com>2015-01-27 05:10:13 -0500
commit8ade538bf39b1ee53418528fdacd36b8e65621b9 (patch)
treef7bd85219ee6946b493252effe9a39918b309fb4 /include/net/mac80211.h
parent56c52da2d554f081e8fce58ecbcf6a40c605b95b (diff)
mac80111: Add BIP-GMAC-128 and BIP-GMAC-256 ciphers
This allows mac80211 to configure BIP-GMAC-128 and BIP-GMAC-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 <jouni@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r--include/net/mac80211.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index ae6638436112..d52914b75331 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -4098,6 +4098,8 @@ void ieee80211_aes_cmac_calculate_k1_k2(struct ieee80211_key_conf *keyconf,
4098 * reverse order than in packet) 4098 * reverse order than in packet)
4099 * @aes_cmac: PN data, most significant byte first (big endian, 4099 * @aes_cmac: PN data, most significant byte first (big endian,
4100 * reverse order than in packet) 4100 * reverse order than in packet)
4101 * @aes_gmac: PN data, most significant byte first (big endian,
4102 * reverse order than in packet)
4101 * @gcmp: PN data, most significant byte first (big endian, 4103 * @gcmp: PN data, most significant byte first (big endian,
4102 * reverse order than in packet) 4104 * reverse order than in packet)
4103 */ 4105 */
@@ -4115,6 +4117,9 @@ struct ieee80211_key_seq {
4115 } aes_cmac; 4117 } aes_cmac;
4116 struct { 4118 struct {
4117 u8 pn[6]; 4119 u8 pn[6];
4120 } aes_gmac;
4121 struct {
4122 u8 pn[6];
4118 } gcmp; 4123 } gcmp;
4119 }; 4124 };
4120}; 4125};