WEP_KEYS
for (i = 0; i < WEP_KEYS; i++) {
for (i = 0; i < WEP_KEYS; i++)
u8 wep_default_keyvalue[WEP_KEYS][WEP_LARGE_KEY_LEN];
u8 wep_keys[WEP_KEYS][WEP_LARGE_KEY_LEN]; /* WEP keys */
u8 wep_keys_len[WEP_KEYS]; /* length of WEP keys */
range->max_encoding_tokens = WEP_KEYS; /* Max number of tokens */
range->max_encoding_tokens = WEP_KEYS;
u8 encode_alg[WEP_KEYS];
u8 key_sizes[WEP_KEYS];
u8 keys[WEP_KEYS][SCM_KEY_LEN];
if (key > WEP_KEYS)
for (i = 0; i < WEP_KEYS; i++) {
if (i == WEP_KEYS) {
if (key > WEP_KEYS)
if (idx < 1 || idx > WEP_KEYS)
for (i = 0; i < WEP_KEYS; i++)
if (i == WEP_KEYS) {
if (idx < 1 || idx > WEP_KEYS)
if (prxattrib->key_index > WEP_KEYS) {
if (sme->key_idx > WEP_KEYS) {
if (param->u.crypt.idx >= WEP_KEYS) {
if ((wep_key_idx >= WEP_KEYS) || (wep_key_len <= 0)) {
max_idx = WEP_KEYS - 1;
if ((key_index < WEP_KEYS) && ((psecuritypriv->dot11PrivacyAlgrthm == _WEP40_) || (psecuritypriv->dot11PrivacyAlgrthm == _WEP104_))) { /* set wep default key */