Lines Matching refs:ext
1543 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;
1544 int idx, alg = ext->alg, set_key = 1;
1567 if (ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY) {
1572 set_key = ext->key_len > 0 ? 1 : 0;
1581 if (ext->key_len > KEY_SIZE_WEP104) {
1585 if (ext->key_len > KEY_SIZE_WEP40)
1591 if (ext->key_len > KEY_SIZE_TKIP) {
1604 memcpy(key.key, ext->key, ext->key_len);
1652 struct iw_encode_ext *ext = (struct iw_encode_ext *)extra;
1671 max_key_len = encoding->length - sizeof(*ext);
1687 memset(ext, 0, sizeof(*ext));
1705 ext->alg = IW_ENCODE_ALG_NONE;
1706 ext->key_len = 0;
1719 memcpy(ext->key, key->key, key->length);
1720 ext->key_len = key->length;
1724 ext->alg = IW_ENCODE_ALG_TKIP;
1728 ext->alg = IW_ENCODE_ALG_WEP;