Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dsta.c991 struct ieee80211_key_conf *keyconf) in iwl_remove_default_wep_key() argument
998 keyconf->keyidx); in iwl_remove_default_wep_key()
1000 memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); in iwl_remove_default_wep_key()
1009 keyconf->keyidx, ret); in iwl_remove_default_wep_key()
1016 struct ieee80211_key_conf *keyconf) in iwl_set_default_wep_key() argument
1022 if (keyconf->keylen != WEP_KEY_LEN_128 && in iwl_set_default_wep_key()
1023 keyconf->keylen != WEP_KEY_LEN_64) { in iwl_set_default_wep_key()
1025 "Bad WEP key length %d\n", keyconf->keylen); in iwl_set_default_wep_key()
1029 keyconf->hw_key_idx = IWLAGN_HW_KEY_DEFAULT; in iwl_set_default_wep_key()
1031 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key()
[all …]
H 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()
H A Dagn.h307 struct ieee80211_key_conf *keyconf,
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dsta.c2614 struct ieee80211_key_conf *keyconf, in __iwl_mvm_remove_sta_key() argument
2631 key_flags = cpu_to_le16((keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & in __iwl_mvm_remove_sta_key()
2644 u.cmd.common.key_offset = keyconf->hw_key_idx; in __iwl_mvm_remove_sta_key()
3689 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() argument
3695 if (WARN_ON((keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE) || in iwl_mvm_send_sta_igtk()
3696 (keyconf->keyidx != 4 && keyconf->keyidx != 5 && in iwl_mvm_send_sta_igtk()
3697 keyconf->keyidx != 6 && keyconf->keyidx != 7) || in iwl_mvm_send_sta_igtk()
3698 (keyconf->cipher != WLAN_CIPHER_SUITE_AES_CMAC && in iwl_mvm_send_sta_igtk()
3699 keyconf->cipher != WLAN_CIPHER_SUITE_BIP_GMAC_128 && in iwl_mvm_send_sta_igtk()
3700 keyconf->cipher != WLAN_CIPHER_SUITE_BIP_GMAC_256))) in iwl_mvm_send_sta_igtk()
[all …]
H A Dftm-responder.c17 struct ieee80211_key_conf keyconf; member
324 if (sta->keyconf.keylen) in iwl_mvm_resp_del_pasn_sta()
326 &sta->keyconf);
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H 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()
/linux/drivers/net/ovpn/
H A Dnetlink.c961 const struct ovpn_key_config *keyconf) in ovpn_nl_send_key() argument
979 nla_put_u32(skb, OVPN_A_KEYCONF_KEY_ID, keyconf->key_id) || in ovpn_nl_send_key()
980 nla_put_u32(skb, OVPN_A_KEYCONF_CIPHER_ALG, keyconf->cipher_alg)) in ovpn_nl_send_key()
996 struct ovpn_key_config keyconf = { 0 }; in ovpn_nl_key_get_doit() local
1048 ret = ovpn_crypto_config_get(&peer->crypto, slot, &keyconf); in ovpn_nl_key_get_doit()
1062 ret = ovpn_nl_send_key(msg, info, peer->id, slot, &keyconf); in ovpn_nl_key_get_doit()
/linux/tools/testing/selftests/net/ovpn/
H A Dovpn-cli.c926 struct nlattr *keyconf, *key_dir; in ovpn_new_key()
934 keyconf = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_new_key()
950 nla_nest_end(ctx->nl_msg, keyconf); in ovpn_del_key()
960 struct nlattr *keyconf; in ovpn_handle_key()
968 keyconf = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_handle_key()
971 nla_nest_end(ctx->nl_msg, keyconf); in ovpn_handle_key()
1041 struct nlattr *keyconf; in ovpn_swap_keys()
1049 keyconf = nla_nest_start(ctx->nl_msg, OVPN_A_KEYCONF); in ovpn_swap_keys()
1052 nla_nest_end(ctx->nl_msg, keyconf); in ovpn_swap_keys()
907 struct nlattr *keyconf, *key_dir; ovpn_new_key() local
941 struct nlattr *keyconf; ovpn_del_key() local
1022 struct nlattr *keyconf; ovpn_get_key() local
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965.h125 struct ieee80211_key_conf *keyconf,
163 struct ieee80211_key_conf *keyconf,
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H 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/include/net/
H A Dmac80211.h6152 * @keyconf: the parameter passed with the set key
6156 void ieee80211_get_tkip_p1k_iv(struct ieee80211_key_conf *keyconf,
6165 * @keyconf: the parameter passed with the set key
6170 static inline void ieee80211_get_tkip_p1k(struct ieee80211_key_conf *keyconf,
6177 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k);
6186 * @keyconf: the parameter passed with the set key
6191 void ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf,
6200 * @keyconf: the parameter passed with the set key
6205 void ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf,
6212 * @keyconf
6128 ieee80211_get_tkip_p1k(struct ieee80211_key_conf * keyconf,struct sk_buff * skb,u16 * p1k) ieee80211_get_tkip_p1k() argument
[all...]
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192du/
H 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()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H 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/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dtrx.c449 struct ieee80211_key_conf *keyconf = in rtl92ce_tx_fill_desc() local
452 switch (keyconf->cipher) { in rtl92ce_tx_fill_desc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dtrx.c449 struct ieee80211_key_conf *keyconf = in rtl8723e_tx_fill_desc() local
452 switch (keyconf->cipher) { in rtl8723e_tx_fill_desc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dtrx.c523 struct ieee80211_key_conf *keyconf = in rtl8723be_tx_fill_desc() local
525 switch (keyconf->cipher) { in rtl8723be_tx_fill_desc()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A Dtrx.c561 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc() local
563 switch (keyconf->cipher) { in rtl92cu_tx_fill_desc()
/linux/drivers/net/wireless/broadcom/b43/
H A Dmain.c937 struct ieee80211_key_conf *keyconf, in b43_op_update_tkip_key()
943 int index = keyconf->hw_key_idx; in b43_op_update_tkip_key()
1004 struct ieee80211_key_conf *keyconf) in b43_key_write()
1022 B43_WARN_ON(dev->key[i].keyconf == keyconf); in b43_key_write()
1034 if (!dev->key[i].keyconf) { in b43_key_write()
1053 keyconf->hw_key_idx = index; in b43_key_write()
1054 dev->key[index].keyconf = keyconf; in b43_key_write()
1069 dev->key[index].keyconf in b43_key_clear()
936 b43_op_update_tkip_key(struct ieee80211_hw * hw,struct ieee80211_vif * vif,struct ieee80211_key_conf * keyconf,struct ieee80211_sta * sta,u32 iv32,u16 * phase1key) b43_op_update_tkip_key() argument
1003 b43_key_write(struct b43_wldev * dev,int index,u8 algorithm,const u8 * key,size_t key_len,const u8 * mac_addr,struct ieee80211_key_conf * keyconf) b43_key_write() argument
[all...]
H A Db43.h702 struct ieee80211_key_conf *keyconf; member
H A Dxmit.c302 if (unlikely(!key->keyconf)) { in b43_generate_txhdr()
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dtrx.c769 struct ieee80211_key_conf *keyconf = in rtl8821ae_tx_fill_desc() local
771 switch (keyconf->cipher) { in rtl8821ae_tx_fill_desc()
/linux/drivers/net/wireless/broadcom/b43legacy/
H A Db43legacy.h560 void *keyconf; member