aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ieee80211.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2015-01-24 12:52:05 -0500
committerJohannes Berg <johannes.berg@intel.com>2015-01-27 05:04:57 -0500
commitcfcf1682c4ca8f601a4702255958e0b1c9aa12cc (patch)
treef42bc2aa03961bc2e0bd101071864a237211e2d3 /include/linux/ieee80211.h
parent37720569cc89205c23011d6b52f8c63ea2057c3d (diff)
cfg80211: Add new GCMP, CCMP-256, BIP-GMAC, BIP-CMAC-256 ciphers
This makes cfg80211 aware of the GCMP, GCMP-256, CCMP-256, BIP-GMAC-128, BIP-GMAC-256, and BIP-CMAC-256 cipher suites. These new cipher suites were defined in IEEE Std 802.11ac-2013. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/linux/ieee80211.h')
-rw-r--r--include/linux/ieee80211.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index 4f4eea8a6288..dbf417bf25bf 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1994,9 +1994,15 @@ enum ieee80211_key_len {
1994 WLAN_KEY_LEN_WEP40 = 5, 1994 WLAN_KEY_LEN_WEP40 = 5,
1995 WLAN_KEY_LEN_WEP104 = 13, 1995 WLAN_KEY_LEN_WEP104 = 13,
1996 WLAN_KEY_LEN_CCMP = 16, 1996 WLAN_KEY_LEN_CCMP = 16,
1997 WLAN_KEY_LEN_CCMP_256 = 32,
1997 WLAN_KEY_LEN_TKIP = 32, 1998 WLAN_KEY_LEN_TKIP = 32,
1998 WLAN_KEY_LEN_AES_CMAC = 16, 1999 WLAN_KEY_LEN_AES_CMAC = 16,
1999 WLAN_KEY_LEN_SMS4 = 32, 2000 WLAN_KEY_LEN_SMS4 = 32,
2001 WLAN_KEY_LEN_GCMP = 16,
2002 WLAN_KEY_LEN_GCMP_256 = 32,
2003 WLAN_KEY_LEN_BIP_CMAC_256 = 32,
2004 WLAN_KEY_LEN_BIP_GMAC_128 = 16,
2005 WLAN_KEY_LEN_BIP_GMAC_256 = 32,
2000}; 2006};
2001 2007
2002#define IEEE80211_WEP_IV_LEN 4 2008#define IEEE80211_WEP_IV_LEN 4
@@ -2004,9 +2010,16 @@ enum ieee80211_key_len {
2004#define IEEE80211_CCMP_HDR_LEN 8 2010#define IEEE80211_CCMP_HDR_LEN 8
2005#define IEEE80211_CCMP_MIC_LEN 8 2011#define IEEE80211_CCMP_MIC_LEN 8
2006#define IEEE80211_CCMP_PN_LEN 6 2012#define IEEE80211_CCMP_PN_LEN 6
2013#define IEEE80211_CCMP_256_HDR_LEN 8
2014#define IEEE80211_CCMP_256_MIC_LEN 16
2015#define IEEE80211_CCMP_256_PN_LEN 6
2007#define IEEE80211_TKIP_IV_LEN 8 2016#define IEEE80211_TKIP_IV_LEN 8
2008#define IEEE80211_TKIP_ICV_LEN 4 2017#define IEEE80211_TKIP_ICV_LEN 4
2009#define IEEE80211_CMAC_PN_LEN 6 2018#define IEEE80211_CMAC_PN_LEN 6
2019#define IEEE80211_GMAC_PN_LEN 6
2020#define IEEE80211_GCMP_HDR_LEN 8
2021#define IEEE80211_GCMP_MIC_LEN 16
2022#define IEEE80211_GCMP_PN_LEN 6
2010 2023
2011/* Public action codes */ 2024/* Public action codes */
2012enum ieee80211_pub_actioncode { 2025enum ieee80211_pub_actioncode {
@@ -2230,6 +2243,11 @@ enum ieee80211_sa_query_action {
2230#define WLAN_CIPHER_SUITE_WEP104 0x000FAC05 2243#define WLAN_CIPHER_SUITE_WEP104 0x000FAC05
2231#define WLAN_CIPHER_SUITE_AES_CMAC 0x000FAC06 2244#define WLAN_CIPHER_SUITE_AES_CMAC 0x000FAC06
2232#define WLAN_CIPHER_SUITE_GCMP 0x000FAC08 2245#define WLAN_CIPHER_SUITE_GCMP 0x000FAC08
2246#define WLAN_CIPHER_SUITE_GCMP_256 0x000FAC09
2247#define WLAN_CIPHER_SUITE_CCMP_256 0x000FAC0A
2248#define WLAN_CIPHER_SUITE_BIP_GMAC_128 0x000FAC0B
2249#define WLAN_CIPHER_SUITE_BIP_GMAC_256 0x000FAC0C
2250#define WLAN_CIPHER_SUITE_BIP_CMAC_256 0x000FAC0D
2233 2251
2234#define WLAN_CIPHER_SUITE_SMS4 0x00147201 2252#define WLAN_CIPHER_SUITE_SMS4 0x00147201
2235 2253