ieee80211: add definition for SMS4 key len
authorAvinash Patil <patila@marvell.com>
Fri, 10 Jan 2014 19:08:55 +0000 (11:08 -0800)
committerChristian Lamparter <chunkeey@googlemail.com>
Thu, 1 May 2014 19:42:43 +0000 (21:42 +0200)
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>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
include/linux/ieee80211.h

index d621d6e40c38b3173da34e917d0699777685e1d7..cdf4ffe405efea908eb10bbe1584bef6632c59ab 100644 (file)
@@ -1877,6 +1877,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