Home
last modified time | relevance | path

Searched refs:keyconf (Results 1 – 25 of 30) sorted by relevance

12

/drivers/net/wireless/intel/iwlwifi/mvm/
A Dmld-key.c21 if (keyconf->link_id >= 0) { in iwl_mvm_get_sec_sta_mask()
31 if (keyconf->keyidx >= 4) in iwl_mvm_get_sec_sta_mask()
66 bool igtk = keyconf->keyidx == 4 || keyconf->keyidx == 5; in iwl_mvm_get_sec_flags()
74 switch (keyconf->cipher) { in iwl_mvm_get_sec_flags()
211 keyconf->keylen); in iwl_mvm_mld_send_key()
213 memcpy(cmd.u.add.key, keyconf->key, keyconf->keylen); in iwl_mvm_mld_send_key()
255 if (keyconf->keyidx == 4 || keyconf->keyidx == 5) { in iwl_mvm_sec_key_add()
259 if (keyconf->link_id >= 0) in iwl_mvm_sec_key_add()
285 mvm_link->igtk = keyconf; in iwl_mvm_sec_key_add()
291 keyconf->hw_key_idx = 0; in iwl_mvm_sec_key_add()
[all …]
A Dsta.c3702 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() argument
3709 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk()
3710 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk()
3733 switch (keyconf->cipher) { in iwl_mvm_send_sta_igtk()
3745 memcpy(igtk_cmd.igtk, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_igtk()
3809 struct ieee80211_key_conf *keyconf, in __iwl_mvm_set_sta_key() argument
3857 struct ieee80211_key_conf *keyconf, in iwl_mvm_set_sta_key() argument
3923 keyconf->hw_key_idx = key_offset; in iwl_mvm_set_sta_key()
3951 keyconf->cipher, keyconf->keylen, keyconf->keyidx, in iwl_mvm_set_sta_key()
3977 keyconf->keyidx, sta_id); in iwl_mvm_remove_sta_key()
[all …]
A Dsta.h520 struct ieee80211_key_conf *keyconf,
525 struct ieee80211_key_conf *keyconf);
529 struct ieee80211_key_conf *keyconf,
A Dftm-responder.c17 struct ieee80211_key_conf keyconf; member
314 if (sta->keyconf.keylen) in iwl_mvm_resp_del_pasn_sta()
316 &sta->keyconf); in iwl_mvm_resp_del_pasn_sta()
A Dtx.c443 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_pn() local
446 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn()
449 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_pn()
466 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local
471 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto()
479 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
480 ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); in iwl_mvm_set_tx_cmd_crypto()
481 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd_params->key); in iwl_mvm_set_tx_cmd_crypto()
489 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto()
492 memcpy(&tx_cmd_params->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto()
[all …]
A Dmvm.h1859 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_ccmp() local
1862 memcpy(tx_cmd_params->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp()
2598 struct ieee80211_key_conf *keyconf);
2602 struct ieee80211_key_conf *keyconf);
2606 struct ieee80211_key_conf *keyconf);
2617 struct ieee80211_key_conf *keyconf);
2621 struct ieee80211_key_conf *keyconf);
2920 struct ieee80211_key_conf *keyconf,
/drivers/net/wireless/intel/iwlwifi/dvm/
A Dsta.c998 keyconf->keyidx); in iwl_remove_default_wep_key()
1031 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key()
1032 memcpy(&ctx->wep_keys[keyconf->keyidx].key, &keyconf->key, in iwl_set_default_wep_key()
1033 keyconf->keylen); in iwl_set_default_wep_key()
1037 keyconf->keylen, keyconf->keyidx, ret); in iwl_set_default_wep_key()
1094 switch (keyconf->cipher) { in iwlagn_send_sta_key()
1097 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1113 memcpy(&sta_cmd.key.key[3], keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1184 keyconf->hw_key_idx); in iwl_remove_dynamic_key()
1223 switch (keyconf->cipher) { in iwl_set_dynamic_key()
[all …]
A Dtx.c192 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwlagn_tx_cmd_build_hwcrypto() local
194 switch (keyconf->cipher) { in iwlagn_tx_cmd_build_hwcrypto()
197 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto()
204 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwlagn_tx_cmd_build_hwcrypto()
212 (keyconf->keyidx & TX_CMD_SEC_MSK) << TX_CMD_SEC_SHIFT); in iwlagn_tx_cmd_build_hwcrypto()
214 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto()
217 "with key %d\n", keyconf->keyidx); in iwlagn_tx_cmd_build_hwcrypto()
221 IWL_ERR(priv, "Unknown encode cipher %x\n", keyconf->cipher); in iwlagn_tx_cmd_build_hwcrypto()
/drivers/net/wireless/intel/iwlegacy/
A D4965-mac.c1607 switch (keyconf->cipher) { in il4965_tx_cmd_build_hwcrypto()
1610 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto()
1630 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto()
1633 keyconf->keyidx); in il4965_tx_cmd_build_hwcrypto()
3181 int idx = keyconf->keyidx; in il4965_remove_default_wep_key()
3255 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il4965_set_wep_dynamic_key_info()
3258 keyconf->keylen); in il4965_set_wep_dynamic_key_info()
3304 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il4965_set_ccmp_dynamic_key_info()
3306 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il4965_set_ccmp_dynamic_key_info()
3494 keyconf->cipher); in il4965_set_dynamic_key()
[all …]
A D3945-mac.c118 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() argument
130 keyconf->flags |= IEEE80211_KEY_FLAG_GENERATE_IV; in il3945_set_ccmp_dynamic_key_info()
131 keyconf->hw_key_idx = keyconf->keyidx; in il3945_set_ccmp_dynamic_key_info()
135 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il3945_set_ccmp_dynamic_key_info()
137 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info()
139 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info()
166 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_tkip_dynamic_key_info() argument
173 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_wep_dynamic_key_info() argument
204 keyconf->hw_key_idx = HW_KEY_DYNAMIC; in il3945_set_dynamic_key()
206 switch (keyconf->cipher) { in il3945_set_dynamic_key()
[all …]
A D4965.h125 struct ieee80211_key_conf *keyconf,
163 struct ieee80211_key_conf *keyconf,
/drivers/net/ovpn/
A Dcrypto.c182 struct ovpn_key_config *keyconf) in ovpn_crypto_config_get() argument
205 keyconf->cipher_alg = ovpn_aead_crypto_alg(ks); in ovpn_crypto_config_get()
206 keyconf->key_id = ks->key_id; in ovpn_crypto_config_get()
A Dnetlink.c949 const struct ovpn_key_config *keyconf) in ovpn_nl_send_key() argument
967 nla_put_u32(skb, OVPN_A_KEYCONF_KEY_ID, keyconf->key_id) || in ovpn_nl_send_key()
968 nla_put_u32(skb, OVPN_A_KEYCONF_CIPHER_ALG, keyconf->cipher_alg)) in ovpn_nl_send_key()
984 struct ovpn_key_config keyconf = { 0 }; in ovpn_nl_key_get_doit() local
1036 ret = ovpn_crypto_config_get(&peer->crypto, slot, &keyconf); in ovpn_nl_key_get_doit()
1050 ret = ovpn_nl_send_key(msg, info, peer->id, slot, &keyconf); in ovpn_nl_key_get_doit()
A Dcrypto.h141 struct ovpn_key_config *keyconf);
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.c166 struct ieee80211_key_conf *keyconf; in rtl92de_tx_fill_desc() local
168 keyconf = info->control.hw_key; in rtl92de_tx_fill_desc()
169 switch (keyconf->cipher) { in rtl92de_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
A Dtrx.c439 struct ieee80211_key_conf *keyconf; in rtl92se_tx_fill_desc() local
441 keyconf = info->control.hw_key; in rtl92se_tx_fill_desc()
442 switch (keyconf->cipher) { in rtl92se_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
A Dtrx.c159 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92du_tx_fill_desc() local
161 switch (keyconf->cipher) { in rtl92du_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
A Dtrx.c598 struct ieee80211_key_conf *keyconf; in rtl88ee_tx_fill_desc() local
600 keyconf = info->control.hw_key; in rtl88ee_tx_fill_desc()
601 switch (keyconf->cipher) { in rtl88ee_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dtrx.c449 struct ieee80211_key_conf *keyconf = in rtl92ce_tx_fill_desc() local
452 switch (keyconf->cipher) { in rtl92ce_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dtrx.c449 struct ieee80211_key_conf *keyconf = in rtl8723e_tx_fill_desc() local
452 switch (keyconf->cipher) { in rtl8723e_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
A Dtrx.c523 struct ieee80211_key_conf *keyconf = in rtl8723be_tx_fill_desc() local
525 switch (keyconf->cipher) { in rtl8723be_tx_fill_desc()
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dtrx.c560 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc() local
562 switch (keyconf->cipher) { in rtl92cu_tx_fill_desc()
/drivers/net/wireless/broadcom/b43/
A Dmain.c936 struct ieee80211_key_conf *keyconf, in b43_op_update_tkip_key() argument
942 int index = keyconf->hw_key_idx; in b43_op_update_tkip_key()
1003 struct ieee80211_key_conf *keyconf) in b43_key_write() argument
1021 B43_WARN_ON(dev->key[i].keyconf == keyconf); in b43_key_write()
1033 if (!dev->key[i].keyconf) { in b43_key_write()
1052 keyconf->hw_key_idx = index; in b43_key_write()
1053 dev->key[index].keyconf = keyconf; in b43_key_write()
1068 dev->key[index].keyconf = NULL; in b43_key_clear()
1111 index, (key->keyconf == NULL) ? " " : "*"); in b43_dump_keymemory()
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
A Dtrx.c769 struct ieee80211_key_conf *keyconf = in rtl8821ae_tx_fill_desc() local
771 switch (keyconf->cipher) { in rtl8821ae_tx_fill_desc()
/drivers/net/wireless/broadcom/b43legacy/
A Db43legacy.h560 void *keyconf; member

Completed in 86 milliseconds

12