/drivers/net/wireless/iwlwifi/mvm/ |
D | sta.c | 960 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_key() argument 970 keyidx = (keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & in iwl_mvm_send_sta_key() 975 switch (keyconf->cipher) { in iwl_mvm_send_sta_key() 981 memcpy(cmd.key.key, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_key() 985 memcpy(cmd.key.key, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_key() 992 if (!(keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE)) in iwl_mvm_send_sta_key() 996 cmd.key.key_offset = keyconf->hw_key_idx; in iwl_mvm_send_sta_key() 1024 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() argument 1030 if (WARN_ON((keyconf->cipher != WLAN_CIPHER_SUITE_AES_CMAC) || in iwl_mvm_send_sta_igtk() 1031 (keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE) || in iwl_mvm_send_sta_igtk() [all …]
|
D | tx.c | 229 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local 231 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto() 234 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto() 241 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwl_mvm_set_tx_cmd_crypto() 249 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto() 252 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto() 255 IWL_ERR(mvm, "Unknown encode cipher %x\n", keyconf->cipher); in iwl_mvm_set_tx_cmd_crypto()
|
D | sta.h | 334 struct ieee80211_key_conf *keyconf); 338 struct ieee80211_key_conf *keyconf,
|
D | mac80211.c | 1153 struct ieee80211_key_conf *keyconf, in iwl_mvm_mac_update_tkip_key() argument 1159 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_mac_update_tkip_key()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | sta.c | 1046 struct ieee80211_key_conf *keyconf) in iwl_remove_default_wep_key() argument 1053 keyconf->keyidx); in iwl_remove_default_wep_key() 1055 memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); in iwl_remove_default_wep_key() 1064 keyconf->keyidx, ret); in iwl_remove_default_wep_key() 1071 struct ieee80211_key_conf *keyconf) in iwl_set_default_wep_key() argument 1077 if (keyconf->keylen != WEP_KEY_LEN_128 && in iwl_set_default_wep_key() 1078 keyconf->keylen != WEP_KEY_LEN_64) { in iwl_set_default_wep_key() 1080 "Bad WEP key length %d\n", keyconf->keylen); in iwl_set_default_wep_key() 1084 keyconf->hw_key_idx = IWLAGN_HW_KEY_DEFAULT; in iwl_set_default_wep_key() 1086 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key() [all …]
|
D | tx.c | 226 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwlagn_tx_cmd_build_hwcrypto() local 228 switch (keyconf->cipher) { in iwlagn_tx_cmd_build_hwcrypto() 231 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto() 238 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwlagn_tx_cmd_build_hwcrypto() 246 (keyconf->keyidx & TX_CMD_SEC_MSK) << TX_CMD_SEC_SHIFT); in iwlagn_tx_cmd_build_hwcrypto() 248 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto() 251 "with key %d\n", keyconf->keyidx); in iwlagn_tx_cmd_build_hwcrypto() 255 IWL_ERR(priv, "Unknown encode cipher %x\n", keyconf->cipher); in iwlagn_tx_cmd_build_hwcrypto()
|
D | agn.h | 375 struct ieee80211_key_conf *keyconf,
|
D | mac80211.c | 630 struct ieee80211_key_conf *keyconf, in iwlagn_mac_update_tkip_key() argument 636 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
|
/drivers/net/wireless/iwlegacy/ |
D | 4965-mac.c | 1607 struct ieee80211_key_conf *keyconf = info->control.hw_key; in il4965_tx_cmd_build_hwcrypto() local 1609 switch (keyconf->cipher) { in il4965_tx_cmd_build_hwcrypto() 1612 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto() 1620 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in il4965_tx_cmd_build_hwcrypto() 1629 (TX_CMD_SEC_WEP | (keyconf->keyidx & TX_CMD_SEC_MSK) << in il4965_tx_cmd_build_hwcrypto() 1632 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto() 1635 keyconf->keyidx); in il4965_tx_cmd_build_hwcrypto() 1639 IL_ERR("Unknown encode cipher %x\n", keyconf->cipher); in il4965_tx_cmd_build_hwcrypto() 3172 struct ieee80211_key_conf *keyconf) in il4965_remove_default_wep_key() argument 3175 int idx = keyconf->keyidx; in il4965_remove_default_wep_key() [all …]
|
D | 3945-mac.c | 134 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_ccmp_dynamic_key_info() argument 141 key_flags |= cpu_to_le16(keyconf->keyidx << STA_KEY_FLG_KEYID_POS); in il3945_set_ccmp_dynamic_key_info() 146 keyconf->flags |= IEEE80211_KEY_FLAG_GENERATE_IV; in il3945_set_ccmp_dynamic_key_info() 147 keyconf->hw_key_idx = keyconf->keyidx; in il3945_set_ccmp_dynamic_key_info() 151 il->stations[sta_id].keyinfo.cipher = keyconf->cipher; in il3945_set_ccmp_dynamic_key_info() 152 il->stations[sta_id].keyinfo.keylen = keyconf->keylen; in il3945_set_ccmp_dynamic_key_info() 153 memcpy(il->stations[sta_id].keyinfo.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info() 155 memcpy(il->stations[sta_id].sta.key.key, keyconf->key, keyconf->keylen); in il3945_set_ccmp_dynamic_key_info() 182 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_tkip_dynamic_key_info() argument 189 struct ieee80211_key_conf *keyconf, u8 sta_id) in il3945_set_wep_dynamic_key_info() argument [all …]
|
D | 4965.h | 143 struct ieee80211_key_conf *keyconf, 181 struct ieee80211_key_conf *keyconf,
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | trx.c | 464 struct ieee80211_key_conf *keyconf; in rtl92se_tx_fill_desc() local 466 keyconf = info->control.hw_key; in rtl92se_tx_fill_desc() 467 switch (keyconf->cipher) { in rtl92se_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | trx.c | 609 struct ieee80211_key_conf *keyconf; in rtl88ee_tx_fill_desc() local 610 keyconf = info->control.hw_key; in rtl88ee_tx_fill_desc() 611 switch (keyconf->cipher) { in rtl88ee_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | trx.c | 668 struct ieee80211_key_conf *keyconf; in rtl92de_tx_fill_desc() local 670 keyconf = info->control.hw_key; in rtl92de_tx_fill_desc() 671 switch (keyconf->cipher) { in rtl92de_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | trx.c | 470 struct ieee80211_key_conf *keyconf = in rtl8723ae_tx_fill_desc() local 473 switch (keyconf->cipher) { in rtl8723ae_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | trx.c | 536 struct ieee80211_key_conf *keyconf = in rtl92ce_tx_fill_desc() local 539 switch (keyconf->cipher) { in rtl92ce_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | trx.c | 574 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc() local 575 switch (keyconf->cipher) { in rtl92cu_tx_fill_desc()
|
/drivers/net/wireless/b43/ |
D | main.c | 898 struct ieee80211_key_conf *keyconf, in b43_op_update_tkip_key() argument 904 int index = keyconf->hw_key_idx; in b43_op_update_tkip_key() 965 struct ieee80211_key_conf *keyconf) in b43_key_write() argument 983 B43_WARN_ON(dev->key[i].keyconf == keyconf); in b43_key_write() 995 if (!dev->key[i].keyconf) { in b43_key_write() 1014 keyconf->hw_key_idx = index; in b43_key_write() 1015 dev->key[index].keyconf = keyconf; in b43_key_write() 1030 dev->key[index].keyconf = NULL; in b43_key_clear() 1073 index, (key->keyconf == NULL) ? " " : "*"); in b43_dump_keymemory()
|
D | b43.h | 689 struct ieee80211_key_conf *keyconf; member
|
D | xmit.c | 307 if (unlikely(!key->keyconf)) { in b43_generate_txhdr()
|
/drivers/net/wireless/b43legacy/ |
D | b43legacy.h | 559 void *keyconf; member
|