/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
D | sta.c | 1243 struct ieee80211_key_conf *keyconf, bool mcast, in iwl_mvm_send_sta_key() argument 1255 keyidx = (keyconf->keyidx << STA_KEY_FLG_KEYID_POS) & in iwl_mvm_send_sta_key() 1260 switch (keyconf->cipher) { in iwl_mvm_send_sta_key() 1266 memcpy(cmd.key, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_key() 1270 memcpy(cmd.key, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_key() 1277 memcpy(cmd.key + 3, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_key() 1281 memcpy(cmd.key, keyconf->key, keyconf->keylen); in iwl_mvm_send_sta_key() 1313 struct ieee80211_key_conf *keyconf, in iwl_mvm_send_sta_igtk() argument 1319 if (WARN_ON((keyconf->cipher != WLAN_CIPHER_SUITE_AES_CMAC) || in iwl_mvm_send_sta_igtk() 1320 (keyconf->flags & IEEE80211_KEY_FLAG_PAIRWISE) || in iwl_mvm_send_sta_igtk() [all …]
|
D | sta.h | 368 struct ieee80211_key_conf *keyconf, 373 struct ieee80211_key_conf *keyconf); 377 struct ieee80211_key_conf *keyconf,
|
D | tx.c | 279 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() local 283 switch (keyconf->cipher) { in iwl_mvm_set_tx_cmd_crypto() 287 pn = atomic64_inc_return(&keyconf->tx_pn); in iwl_mvm_set_tx_cmd_crypto() 290 crypto_hdr[3] = 0x20 | (keyconf->keyidx << 6); in iwl_mvm_set_tx_cmd_crypto() 300 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwl_mvm_set_tx_cmd_crypto() 308 ((keyconf->keyidx << TX_CMD_SEC_WEP_KEY_IDX_POS) & in iwl_mvm_set_tx_cmd_crypto() 311 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_crypto()
|
D | mvm.h | 1045 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_ccmp() local 1048 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwl_mvm_set_tx_cmd_ccmp()
|
D | mac80211.c | 3050 struct ieee80211_key_conf *keyconf, in iwl_mvm_mac_update_tkip_key() argument 3056 if (keyconf->hw_key_idx == STA_KEY_IDX_INVALID) in iwl_mvm_mac_update_tkip_key() 3059 iwl_mvm_update_tkip_key(mvm, vif, keyconf, sta, iv32, phase1key); in iwl_mvm_mac_update_tkip_key()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/dvm/ |
D | sta.c | 1011 struct ieee80211_key_conf *keyconf) in iwl_remove_default_wep_key() argument 1018 keyconf->keyidx); in iwl_remove_default_wep_key() 1020 memset(&ctx->wep_keys[keyconf->keyidx], 0, sizeof(ctx->wep_keys[0])); in iwl_remove_default_wep_key() 1029 keyconf->keyidx, ret); in iwl_remove_default_wep_key() 1036 struct ieee80211_key_conf *keyconf) in iwl_set_default_wep_key() argument 1042 if (keyconf->keylen != WEP_KEY_LEN_128 && in iwl_set_default_wep_key() 1043 keyconf->keylen != WEP_KEY_LEN_64) { in iwl_set_default_wep_key() 1045 "Bad WEP key length %d\n", keyconf->keylen); in iwl_set_default_wep_key() 1049 keyconf->hw_key_idx = IWLAGN_HW_KEY_DEFAULT; in iwl_set_default_wep_key() 1051 ctx->wep_keys[keyconf->keyidx].key_size = keyconf->keylen; in iwl_set_default_wep_key() [all …]
|
D | tx.c | 213 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwlagn_tx_cmd_build_hwcrypto() local 215 switch (keyconf->cipher) { in iwlagn_tx_cmd_build_hwcrypto() 218 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto() 225 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in iwlagn_tx_cmd_build_hwcrypto() 233 (keyconf->keyidx & TX_CMD_SEC_MSK) << TX_CMD_SEC_SHIFT); in iwlagn_tx_cmd_build_hwcrypto() 235 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in iwlagn_tx_cmd_build_hwcrypto() 238 "with key %d\n", keyconf->keyidx); in iwlagn_tx_cmd_build_hwcrypto() 242 IWL_ERR(priv, "Unknown encode cipher %x\n", keyconf->cipher); in iwlagn_tx_cmd_build_hwcrypto()
|
D | agn.h | 365 struct ieee80211_key_conf *keyconf,
|
D | mac80211.c | 600 struct ieee80211_key_conf *keyconf, in iwlagn_mac_update_tkip_key() argument 606 iwl_update_tkip_key(priv, vif, keyconf, sta, iv32, phase1key); in iwlagn_mac_update_tkip_key()
|
/linux-4.4.14/net/mac80211/ |
D | tkip.c | 174 void ieee80211_get_tkip_p1k_iv(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p1k_iv() argument 178 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p1k_iv() 188 void ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_rx_p1k() argument 191 const u8 *tk = &keyconf->key[NL80211_TKIP_DATA_OFFSET_ENCR_KEY]; in ieee80211_get_tkip_rx_p1k() 199 void ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p2k() argument 203 container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_tkip_p2k()
|
D | key.c | 887 void ieee80211_get_key_tx_seq(struct ieee80211_key_conf *keyconf, in ieee80211_get_key_tx_seq() argument 893 if (WARN_ON(!(keyconf->flags & IEEE80211_KEY_FLAG_GENERATE_IV))) in ieee80211_get_key_tx_seq() 896 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_key_tx_seq() 931 void ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, in ieee80211_get_key_rx_seq() argument 937 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_get_key_rx_seq() 984 void ieee80211_set_key_tx_seq(struct ieee80211_key_conf *keyconf, in ieee80211_set_key_tx_seq() argument 990 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_set_key_tx_seq() 1026 void ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf, in ieee80211_set_key_rx_seq() argument 1032 key = container_of(keyconf, struct ieee80211_key, conf); in ieee80211_set_key_rx_seq() 1082 void ieee80211_remove_key(struct ieee80211_key_conf *keyconf) in ieee80211_remove_key() argument [all …]
|
/linux-4.4.14/drivers/net/wireless/iwlegacy/ |
D | 4965-mac.c | 1617 struct ieee80211_key_conf *keyconf = info->control.hw_key; in il4965_tx_cmd_build_hwcrypto() local 1619 switch (keyconf->cipher) { in il4965_tx_cmd_build_hwcrypto() 1622 memcpy(tx_cmd->key, keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto() 1630 ieee80211_get_tkip_p2k(keyconf, skb_frag, tx_cmd->key); in il4965_tx_cmd_build_hwcrypto() 1639 (TX_CMD_SEC_WEP | (keyconf->keyidx & TX_CMD_SEC_MSK) << in il4965_tx_cmd_build_hwcrypto() 1642 memcpy(&tx_cmd->key[3], keyconf->key, keyconf->keylen); in il4965_tx_cmd_build_hwcrypto() 1645 keyconf->keyidx); in il4965_tx_cmd_build_hwcrypto() 1649 IL_ERR("Unknown encode cipher %x\n", keyconf->cipher); in il4965_tx_cmd_build_hwcrypto() 3195 struct ieee80211_key_conf *keyconf) in il4965_remove_default_wep_key() argument 3198 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,
|
/linux-4.4.14/include/net/ |
D | mac80211.h | 4314 void ieee80211_get_tkip_p1k_iv(struct ieee80211_key_conf *keyconf, 4328 static inline void ieee80211_get_tkip_p1k(struct ieee80211_key_conf *keyconf, in ieee80211_get_tkip_p1k() argument 4335 ieee80211_get_tkip_p1k_iv(keyconf, iv32, p1k); in ieee80211_get_tkip_p1k() 4349 void ieee80211_get_tkip_rx_p1k(struct ieee80211_key_conf *keyconf, 4363 void ieee80211_get_tkip_p2k(struct ieee80211_key_conf *keyconf, 4380 void ieee80211_get_key_tx_seq(struct ieee80211_key_conf *keyconf, 4399 void ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, 4416 void ieee80211_set_key_tx_seq(struct ieee80211_key_conf *keyconf, 4436 void ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf, 4450 void ieee80211_remove_key(struct ieee80211_key_conf *keyconf); [all …]
|
/linux-4.4.14/drivers/net/wireless/realtek/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()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | trx.c | 619 struct ieee80211_key_conf *keyconf; in rtl88ee_tx_fill_desc() local 621 keyconf = info->control.hw_key; in rtl88ee_tx_fill_desc() 622 switch (keyconf->cipher) { in rtl88ee_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | trx.c | 666 struct ieee80211_key_conf *keyconf; in rtl92de_tx_fill_desc() local 668 keyconf = info->control.hw_key; in rtl92de_tx_fill_desc() 669 switch (keyconf->cipher) { in rtl92de_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | trx.c | 471 struct ieee80211_key_conf *keyconf = in rtl8723e_tx_fill_desc() local 474 switch (keyconf->cipher) { in rtl8723e_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | trx.c | 530 struct ieee80211_key_conf *keyconf = in rtl92ce_tx_fill_desc() local 533 switch (keyconf->cipher) { in rtl92ce_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | trx.c | 543 struct ieee80211_key_conf *keyconf = in rtl8723be_tx_fill_desc() local 545 switch (keyconf->cipher) { in rtl8723be_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | trx.c | 572 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc() local 573 switch (keyconf->cipher) { in rtl92cu_tx_fill_desc()
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | main.c | 941 struct ieee80211_key_conf *keyconf, in b43_op_update_tkip_key() argument 947 int index = keyconf->hw_key_idx; in b43_op_update_tkip_key() 1008 struct ieee80211_key_conf *keyconf) in b43_key_write() argument 1026 B43_WARN_ON(dev->key[i].keyconf == keyconf); in b43_key_write() 1038 if (!dev->key[i].keyconf) { in b43_key_write() 1057 keyconf->hw_key_idx = index; in b43_key_write() 1058 dev->key[index].keyconf = keyconf; in b43_key_write() 1073 dev->key[index].keyconf = NULL; in b43_key_clear() 1116 index, (key->keyconf == NULL) ? " " : "*"); in b43_dump_keymemory()
|
D | b43.h | 701 struct ieee80211_key_conf *keyconf; member
|
D | xmit.c | 308 if (unlikely(!key->keyconf)) { in b43_generate_txhdr()
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | b43legacy.h | 559 void *keyconf; member
|
/linux-4.4.14/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | trx.c | 786 struct ieee80211_key_conf *keyconf = in rtl8821ae_tx_fill_desc() local 788 switch (keyconf->cipher) { in rtl8821ae_tx_fill_desc()
|