Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/mvm/
A Dmld-key.c14 struct ieee80211_key_conf *keyconf) in iwl_mvm_get_sec_sta_mask() argument
39 struct ieee80211_key_conf *keyconf) in iwl_mvm_get_sec_flags() argument
47 switch (keyconf->cipher) { in iwl_mvm_get_sec_flags()
104 struct ieee80211_key_conf *keyconf) in iwl_mvm_sec_key_add() argument
112 .u.add.key_id = cpu_to_le32(keyconf->keyidx), in iwl_mvm_sec_key_add()
124 keyconf->keylen); in iwl_mvm_sec_key_add()
126 memcpy(cmd.u.add.key, keyconf->key, keyconf->keylen); in iwl_mvm_sec_key_add()
151 keyconf->keyidx, 0); in iwl_mvm_sec_key_add()
160 struct ieee80211_key_conf *keyconf, in _iwl_mvm_sec_key_del() argument
177 keyconf->keyidx, flags); in _iwl_mvm_sec_key_del()
[all …]
A Dsta.c3539 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk()
3540 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk()
3563 switch (keyconf->cipher) { in iwl_mvm_send_sta_igtk()
3575 memcpy(igtk_cmd.igtk, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_igtk()
3773 keyconf->cipher, keyconf->keylen, keyconf->keyidx, in iwl_mvm_set_sta_key()
3808 keyconf->hw_key_idx); in iwl_mvm_remove_sta_key()
4137 keyconf = kzalloc(sizeof(*keyconf) + key_len, GFP_KERNEL); in iwl_mvm_add_pasn_sta()
4138 if (!keyconf) { in iwl_mvm_add_pasn_sta()
4143 keyconf->cipher = cipher; in iwl_mvm_add_pasn_sta()
4145 keyconf->keylen = key_len; in iwl_mvm_add_pasn_sta()
[all …]
A Dsta.h477 struct ieee80211_key_conf *keyconf,
482 struct ieee80211_key_conf *keyconf);
486 struct ieee80211_key_conf *keyconf,
A Dtx.c423 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_pn() local
426 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_pn()
429 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_pn()
446 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local
451 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto()
459 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto()
460 ieee80211_tkip_add_iv(crypto_hdr, keyconf, pn); in iwl_mvm_set_tx_cmd_crypto()
461 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwl_mvm_set_tx_cmd_crypto()
469 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto()
472 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto()
[all …]
A Dmvm.h1527 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_ccmp() local
1530 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp()
2089 struct ieee80211_key_conf *keyconf);
2093 struct ieee80211_key_conf *keyconf);
/linux-6.3-rc2/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()
1093 switch (keyconf->cipher) { in iwlagn_send_sta_key()
1096 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1103 memcpy(sta_cmd.key.key, keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1110 memcpy(&sta_cmd.key.key[3], keyconf->key, keyconf->keylen); in iwlagn_send_sta_key()
1181 keyconf->hw_key_idx); in iwl_remove_dynamic_key()
[all …]
A Dtx.c191 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwlagn_tx_cmd_build_hwcrypto() local
193 switch (keyconf->cipher) { in iwlagn_tx_cmd_build_hwcrypto()
196 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto()
203 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwlagn_tx_cmd_build_hwcrypto()
211 (keyconf->keyidx & TX_CMD_SEC_MSK) << TX_CMD_SEC_SHIFT); in iwlagn_tx_cmd_build_hwcrypto()
213 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto()
216 "with key %d\n", keyconf->keyidx); in iwlagn_tx_cmd_build_hwcrypto()
220 IWL_ERR(priv, "Unknown encode cipher %x\n", keyconf->cipher); in iwlagn_tx_cmd_build_hwcrypto()
A Dagn.h307 struct ieee80211_key_conf *keyconf,
/linux-6.3-rc2/net/mac80211/
A Dtkip.c143 u8 *ieee80211_tkip_add_iv(u8 *pos, struct ieee80211_key_conf *keyconf, u64 pn) in ieee80211_tkip_add_iv() argument
146 *pos++ = (keyconf->keyidx << 6) | (1 << 5) /* Ext IV */; in ieee80211_tkip_add_iv()
171 void ieee80211_get_tkip_p1k_iv(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p1k_iv() argument
175 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p1k_iv()
185 void ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_rx_p1k() argument
188 const u8 *tk = &keyconf->key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_get_tkip_rx_p1k()
196 void ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p2k() argument
200 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p2k()
A Dkey.c1233 void ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, in ieee80211_get_key_rx_seq() argument
1239 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_key_rx_seq()
1292 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_set_key_rx_seq()
1342 void ieee80211_remove_key(struct ieee80211_key_conf *keyconf) in ieee80211_remove_key() argument
1346 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_remove_key()
1369 struct ieee80211_key_conf *keyconf) in ieee80211_gtk_rekey_add() argument
1382 key = ieee80211_key_alloc(keyconf->cipher, keyconf->keyidx, in ieee80211_gtk_rekey_add()
1383 keyconf->keylen, keyconf->key, in ieee80211_gtk_rekey_add()
1404 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_key_mic_failure()
1422 void ieee80211_key_replay(struct ieee80211_key_conf *keyconf) in ieee80211_key_replay() argument
[all …]
/linux-6.3-rc2/drivers/net/wireless/intel/iwlegacy/
A D4965-mac.c1604 switch (keyconf->cipher) { in il4965_tx_cmd_build_hwcrypto()
1607 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto()
1627 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto()
1630 keyconf->keyidx); in il4965_tx_cmd_build_hwcrypto()
3178 int idx = keyconf->keyidx; in il4965_remove_default_wep_key()
3252 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il4965_set_wep_dynamic_key_info()
3255 keyconf->keylen); in il4965_set_wep_dynamic_key_info()
3301 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il4965_set_ccmp_dynamic_key_info()
3303 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il4965_set_ccmp_dynamic_key_info()
3491 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,
/linux-6.3-rc2/include/net/
A Dmac80211.h5577 void ieee80211_get_tkip_p1k_iv(struct ieee80211_key_conf *keyconf,
5591 static inline void ieee80211_get_tkip_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p1k() argument
5598 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k()
5612 void ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf,
5626 void ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf,
5660 void ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf,
5680 void ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf,
5694 void ieee80211_remove_key(struct ieee80211_key_conf *keyconf);
5727 struct ieee80211_key_conf *keyconf);
5747 void ieee80211_key_mic_failure(struct ieee80211_key_conf *keyconf);
[all …]
/linux-6.3-rc2/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()
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.c593 struct ieee80211_key_conf *keyconf; in rtl92de_tx_fill_desc() local
595 keyconf = info->control.hw_key; in rtl92de_tx_fill_desc()
596 switch (keyconf->cipher) { in rtl92de_tx_fill_desc()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
A Dtrx.c450 struct ieee80211_key_conf *keyconf = in rtl8723e_tx_fill_desc() local
453 switch (keyconf->cipher) { in rtl8723e_tx_fill_desc()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
A Dtrx.c450 struct ieee80211_key_conf *keyconf = in rtl92ce_tx_fill_desc() local
453 switch (keyconf->cipher) { in rtl92ce_tx_fill_desc()
/linux-6.3-rc2/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()
/linux-6.3-rc2/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
A Dtrx.c549 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc() local
551 switch (keyconf->cipher) { in rtl92cu_tx_fill_desc()
/linux-6.3-rc2/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()
A Db43.h702 struct ieee80211_key_conf *keyconf; member
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43legacy/
A Db43legacy.h560 void *keyconf; member
/linux-6.3-rc2/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()

Completed in 113 milliseconds

12