From: Avinash Patil <[email protected]>
Add WAPI key length definition to ieee80211_key_len enum.
Signed-off-by: Avinash Patil <[email protected]>
Signed-off-by: Bing Zhao <[email protected]>
---
v2: correct the author of the patch
include/linux/ieee80211.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/ieee80211.h b/include/linux/ieee80211.h
index b382c7c..6a2cbf5 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_WAPI = 32,
};
#define IEEE80211_WEP_IV_LEN 4
--
1.8.2.3
On Thu, 2014-01-09 at 18:08 -0800, Bing Zhao wrote:
> + WLAN_KEY_LEN_WAPI = 32,
I think that should be SMS4, since that's the cipher name.
johannes