summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2014-01-10 11:08:55 -0800
committerJohannes Berg <johannes.berg@intel.com>2014-01-10 20:12:13 +0100
commit28cb1749e8dcf7f2b49174ae8531e3e5be741736 (patch)
tree0991db361be97db3ce1fbc349c74296d3bf28ab3 /include
parentb77cf4f8e1892e192ec52df5dd8c158b300fc496 (diff)
downloadlinux-28cb1749e8dcf7f2b49174ae8531e3e5be741736.tar.gz
linux-28cb1749e8dcf7f2b49174ae8531e3e5be741736.tar.bz2
linux-28cb1749e8dcf7f2b49174ae8531e3e5be741736.zip
ieee80211: add definition for SMS4 key len
Add SMS4 key length definition to ieee80211_key_len enum. It's used by WAPI. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/ieee80211.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index b382c7c49d84..e526a8cecb70 100644
--- a/include/linux/ieee80211.h
+++ b/include/linux/ieee80211.h
@@ -1857,6 +1857,7 @@ enum ieee80211_key_len {
WLAN_KEY_LEN_CCMP = 16,
WLAN_KEY_LEN_TKIP = 32,
WLAN_KEY_LEN_AES_CMAC = 16,
+ WLAN_KEY_LEN_SMS4 = 32,
};
#define IEEE80211_WEP_IV_LEN 4