Lines Matching defs:keyconf
118 struct ieee80211_key_conf *keyconf, u8 sta_id)
125 key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS);
130 keyconf->flags |= IEEE80211_KEY_FLAG_GENERATE_IV;
131 keyconf->hw_key_idx = keyconf->keyidx;
135 il->stations[sta_id].keyinfo.cipher = keyconf->cipher;
136 il->stations[sta_id].keyinfo.keylen = keyconf->keylen;
137 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen);
139 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen);
166 struct ieee80211_key_conf *keyconf, u8 sta_id)
173 struct ieee80211_key_conf *keyconf, u8 sta_id)
199 il3945_set_dynamic_key(struct il_priv *il, struct ieee80211_key_conf *keyconf,
204 keyconf->hw_key_idx = HW_KEY_DYNAMIC;
206 switch (keyconf->cipher) {
208 ret = il3945_set_ccmp_dynamic_key_info(il, keyconf, sta_id);
211 ret = il3945_set_tkip_dynamic_key_info(il, keyconf, sta_id);
215 ret = il3945_set_wep_dynamic_key_info(il, keyconf, sta_id);
218 IL_ERR("Unknown alg: %s alg=%x\n", __func__, keyconf->cipher);
223 keyconf->cipher, keyconf->keylen, keyconf->keyidx, sta_id, ret);