Lines Matching defs:key
153 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen);
155 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen);
157 if ((il->stations[sta_id].sta.key.
159 il->stations[sta_id].sta.key.key_offset =
161 /* else, we are overriding an existing key => no need to allocated room
164 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET,
165 "no space for a new key");
167 il->stations[sta_id].sta.key.key_flags = key_flags;
171 D_INFO("hwcrypto: modify ucode station key info\n");
202 memset(&il->stations[sta_id].sta.key, 0, sizeof(struct il4965_keyinfo));
203 il->stations[sta_id].sta.key.key_flags = STA_KEY_FLG_NO_ENC;
210 D_INFO("hwcrypto: clear ucode station key info\n");
238 D_WEP("Set dynamic key: alg=%x len=%d idx=%d sta=%d ret=%d\n",
253 il3945_set_static_key(struct il_priv *il, struct ieee80211_key_conf *key)
255 if (key->cipher == WLAN_CIPHER_SUITE_WEP40 ||
256 key->cipher == WLAN_CIPHER_SUITE_WEP104)
259 IL_ERR("Static key invalid: cipher %x\n", key->cipher);
377 memcpy(tx_cmd->key, keyinfo->key, keyinfo->keylen);
393 memcpy(&tx_cmd->key[3], keyinfo->key, keyinfo->keylen);
395 D_TX("Configuring packet for WEP encryption " "with key %d\n",
2940 struct ieee80211_key_conf *key)
2959 !(key->flags & IEEE80211_KEY_FLAG_PAIRWISE)) {
2980 ret = il3945_set_static_key(il, key);
2982 ret = il3945_set_dynamic_key(il, key, sta_id);
2983 D_MAC80211("enable hwcrypto key\n");
2990 D_MAC80211("disable hwcrypto key\n");