/drivers/net/wireless/rt2x00/ |
D | rt2x00crypto.c | 53 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in rt2x00crypto_create_tx_descriptor() local 55 if (!test_bit(CAPABILITY_HW_CRYPTO, &rt2x00dev->cap_flags) || !hw_key) in rt2x00crypto_create_tx_descriptor() 60 txdesc->cipher = rt2x00crypto_key_to_cipher(hw_key); in rt2x00crypto_create_tx_descriptor() 62 if (hw_key->flags & IEEE80211_KEY_FLAG_PAIRWISE) in rt2x00crypto_create_tx_descriptor() 65 txdesc->key_idx = hw_key->hw_key_idx; in rt2x00crypto_create_tx_descriptor() 67 txdesc->iv_len = hw_key->iv_len; in rt2x00crypto_create_tx_descriptor() 69 if (!(hw_key->flags & IEEE80211_KEY_FLAG_GENERATE_IV)) in rt2x00crypto_create_tx_descriptor() 72 if (!(hw_key->flags & IEEE80211_KEY_FLAG_GENERATE_MMIC)) in rt2x00crypto_create_tx_descriptor() 80 struct ieee80211_key_conf *key = tx_info->control.hw_key; in rt2x00crypto_tx_overhead()
|
D | rt2x00mac.c | 76 rts_info->control.hw_key = NULL; in rt2x00mac_tx_rts_cts()
|
/drivers/net/wireless/p54/ |
D | txrx.c | 805 if (info->control.hw_key) { in p54_tx_80211() 807 if (info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in p54_tx_80211() 902 if (info->control.hw_key) { in p54_tx_80211() 903 txhdr->key_type = p54_convert_algo(info->control.hw_key->cipher); in p54_tx_80211() 904 txhdr->key_len = min((u8)16, info->control.hw_key->keylen); in p54_tx_80211() 905 memcpy(txhdr->key, info->control.hw_key->key, txhdr->key_len); in p54_tx_80211() 906 if (info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in p54_tx_80211() 909 memcpy(skb_put(skb, 8), &(info->control.hw_key->key in p54_tx_80211() 913 len += info->control.hw_key->icv_len; in p54_tx_80211() 914 memset(skb_put(skb, info->control.hw_key->icv_len), 0, in p54_tx_80211() [all …]
|
/drivers/net/wireless/ti/wl1251/ |
D | tx.c | 189 if (control->control.hw_key && in wl1251_tx_send_packet() 190 control->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in wl1251_tx_send_packet() 289 if (info->control.hw_key) { in wl1251_tx_frame() 290 idx = info->control.hw_key->hw_key_idx; in wl1251_tx_frame() 408 if (info->control.hw_key && in wl1251_tx_packet_cb() 409 info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in wl1251_tx_packet_cb()
|
/drivers/net/wireless/ath/ath9k/ |
D | common.c | 34 if (tx_info->control.hw_key) { in ath9k_cmn_get_hw_crypto_keytype() 35 switch (tx_info->control.hw_key->cipher) { in ath9k_cmn_get_hw_crypto_keytype()
|
D | xmit.c | 1763 struct ieee80211_key_conf *hw_key = tx_info->control.hw_key; in setup_frame_info() local 1787 if (hw_key) in setup_frame_info() 1788 fi->keyix = hw_key->hw_key_idx; in setup_frame_info() 1893 if (info->control.hw_key) in ath_tx_start() 1894 frmlen += info->control.hw_key->icv_len; in ath_tx_start()
|
D | htc_drv_txrx.c | 253 mgmt_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_mgmt() 320 tx_hdr.keyix = tx_info->control.hw_key->hw_key_idx; in ath9k_htc_tx_data()
|
/drivers/net/wireless/ti/wl18xx/ |
D | tx.c | 123 info->control.hw_key && in wl18xx_tx_complete_packet() 124 info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in wl18xx_tx_complete_packet()
|
/drivers/net/wireless/ti/wlcore/ |
D | tx.c | 377 info->control.hw_key && in wl1271_prepare_tx_frame() 378 info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) in wl1271_prepare_tx_frame() 381 if (info->control.hw_key) { in wl1271_prepare_tx_frame() 383 u8 idx = info->control.hw_key->hw_key_idx; in wl1271_prepare_tx_frame() 384 u32 cipher = info->control.hw_key->cipher; in wl1271_prepare_tx_frame() 941 info->control.hw_key && in wl1271_tx_complete_packet() 942 info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in wl1271_tx_complete_packet() 1103 info->control.hw_key && in wl12xx_tx_reset() 1104 info->control.hw_key->cipher == in wl12xx_tx_reset()
|
/drivers/net/wireless/b43legacy/ |
D | xmit.c | 195 int use_encryption = !!info->control.hw_key; in generate_txhdr_fw3() 238 u8 key_idx = info->control.hw_key->hw_key_idx; in generate_txhdr_fw3() 248 plcp_fragment_len += info->control.hw_key->icv_len; in generate_txhdr_fw3() 257 iv_len = min((size_t)info->control.hw_key->iv_len, in generate_txhdr_fw3()
|
/drivers/net/wireless/b43/ |
D | xmit.c | 252 int use_encryption = !!info->control.hw_key; in b43_generate_txhdr() 299 u8 key_idx = info->control.hw_key->hw_key_idx; in b43_generate_txhdr() 317 plcp_fragment_len += info->control.hw_key->icv_len; in b43_generate_txhdr() 331 ieee80211_get_tkip_p1k(info->control.hw_key, skb_frag, phase1key); in b43_generate_txhdr() 340 iv_len = min((size_t) info->control.hw_key->iv_len, in b43_generate_txhdr()
|
/drivers/net/wireless/rtlwifi/rtl8192se/ |
D | trx.c | 463 if (info->control.hw_key) { in rtl92se_tx_fill_desc() 466 keyconf = info->control.hw_key; in rtl92se_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | trx.c | 469 if (info->control.hw_key) { in rtl8723ae_tx_fill_desc() 471 info->control.hw_key; in rtl8723ae_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | trx.c | 535 if (info->control.hw_key) { in rtl92ce_tx_fill_desc() 537 info->control.hw_key; in rtl92ce_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | trx.c | 573 if (info->control.hw_key) { in rtl92cu_tx_fill_desc() 574 struct ieee80211_key_conf *keyconf = info->control.hw_key; in rtl92cu_tx_fill_desc()
|
/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | trx.c | 608 if (info->control.hw_key) { in rtl88ee_tx_fill_desc() 610 keyconf = info->control.hw_key; in rtl88ee_tx_fill_desc()
|
/drivers/net/wireless/iwlwifi/mvm/ |
D | tx.c | 229 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto() 280 if (info->control.hw_key) in iwl_mvm_set_tx_params()
|
/drivers/net/wireless/ath/carl9170/ |
D | tx.c | 939 if (info->control.hw_key) { in carl9170_tx_prepare() 940 len += info->control.hw_key->icv_len; in carl9170_tx_prepare() 942 switch (info->control.hw_key->cipher) { in carl9170_tx_prepare()
|
/drivers/net/wireless/rtlwifi/rtl8192de/ |
D | trx.c | 667 if (info->control.hw_key) { in rtl92de_tx_fill_desc() 670 keyconf = info->control.hw_key; in rtl92de_tx_fill_desc()
|
/drivers/net/wireless/iwlwifi/dvm/ |
D | tx.c | 226 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwlagn_tx_cmd_build_hwcrypto() 389 if (info->control.hw_key) in iwlagn_tx_skb()
|
/drivers/net/wireless/ath/ath5k/ |
D | base.c | 709 if (info->control.hw_key) { in ath5k_txbuf_setup() 710 keyidx = info->control.hw_key->hw_key_idx; in ath5k_txbuf_setup() 711 pktlen += info->control.hw_key->icv_len; in ath5k_txbuf_setup()
|
/drivers/net/wireless/rtlwifi/ |
D | pci.c | 472 if (info->control.hw_key) in _rtl_update_earlymode_info() 473 additionlen += info->control.hw_key->icv_len; in _rtl_update_earlymode_info()
|
/drivers/net/wireless/iwlegacy/ |
D | 3945-mac.c | 389 TX_CMD_SEC_WEP | (info->control.hw_key-> in il3945_build_tx_cmd_hwcrypto() 396 info->control.hw_key->hw_key_idx); in il3945_build_tx_cmd_hwcrypto() 567 if (info->control.hw_key) in il3945_tx_skb()
|
D | 4965-mac.c | 1607 struct ieee80211_key_conf *keyconf = info->control.hw_key; in il4965_tx_cmd_build_hwcrypto() 1798 if (info->control.hw_key) in il4965_tx_skb()
|
/drivers/net/wireless/ |
D | mwl8k.c | 888 key_conf = tx_info->control.hw_key; in mwl8k_encapsulate_tx_frame()
|