0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef __KEY_H__
0015 #define __KEY_H__
0016
0017 #include "device.h"
0018
0019 #define MAX_KEY_TABLE 11
0020
0021 #define KEY_CTL_WEP 0x00
0022 #define KEY_CTL_NONE 0x01
0023 #define KEY_CTL_TKIP 0x02
0024 #define KEY_CTL_CCMP 0x03
0025
0026 #define VNT_KEY_ONFLY_ALL 0x4000
0027 #define VNT_KEY_ONFLY 0x8000
0028 #define VNT_KEY_ALLGROUP 0x04
0029 #define VNT_KEY_GROUP 0x40
0030 #define VNT_KEY_PAIRWISE VNT_KEY_ONFLY
0031 #define VNT_KEY_GROUP_ADDRESS (VNT_KEY_ALLGROUP | VNT_KEY_GROUP)
0032 #define VNT_KEY_DEFAULTKEY (VNT_KEY_GROUP_ADDRESS | VNT_KEY_ONFLY |\
0033 VNT_KEY_ONFLY_ALL)
0034
0035 int vnt_key_init_table(struct vnt_private *priv);
0036
0037 int vnt_set_keys(struct ieee80211_hw *hw, struct ieee80211_sta *sta,
0038 struct ieee80211_vif *vif, struct ieee80211_key_conf *key);
0039
0040 #endif