Home
last modified time | relevance | path

Searched refs:tx_key (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/staging/vt6656/
Drxtx.c715 u8 *key_buffer, struct ieee80211_key_conf *tx_key, in vnt_fill_txkey() argument
725 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
727 switch (tx_key->cipher) { in vnt_fill_txkey()
731 memcpy(key_buffer + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
733 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
736 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
741 ieee80211_get_tkip_p2k(tx_key, skb, key_buffer); in vnt_fill_txkey()
753 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
778 memcpy(key_buffer, tx_key->key, WLAN_KEY_LEN_CCMP); in vnt_fill_txkey()
791 struct ieee80211_key_conf *tx_key; in vnt_tx_packet() local
[all …]
Drxtx.h211 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/Linux-v4.19/drivers/staging/vt6655/
Drxtx.c1198 struct ieee80211_key_conf *tx_key, in vnt_fill_txkey() argument
1207 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
1209 switch (tx_key->cipher) { in vnt_fill_txkey()
1213 memcpy(key_buffer + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
1215 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
1218 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
1223 ieee80211_get_tkip_p2k(tx_key, skb, key_buffer); in vnt_fill_txkey()
1235 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
1260 memcpy(key_buffer, tx_key->key, WLAN_KEY_LEN_CCMP); in vnt_fill_txkey()
1275 struct ieee80211_key_conf *tx_key; in vnt_generate_fifo_header() local
[all …]
Drxtx.h166 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/Linux-v4.19/drivers/net/wireless/intersil/orinoco/
Dwext.c242 int setindex = priv->tx_key; in orinoco_ioctl_setiwencode()
269 index = priv->tx_key; in orinoco_ioctl_setiwencode()
306 priv->tx_key = setindex; in orinoco_ioctl_setiwencode()
342 index = priv->tx_key; in orinoco_ioctl_getiwencode()
741 idx = priv->tx_key; in orinoco_ioctl_set_encodeext()
748 (void) orinoco_clear_tkip_key(priv, priv->tx_key); in orinoco_ioctl_set_encodeext()
752 priv->tx_key = idx; in orinoco_ioctl_set_encodeext()
839 idx = priv->tx_key; in orinoco_ioctl_get_encodeext()
Dorinoco.h120 u16 wep_restrict, tx_key; member
Dhw.c850 priv->tx_key); in __orinoco_hw_setup_wepkeys()
862 keylen = priv->keys[priv->tx_key].key_len; in __orinoco_hw_setup_wepkeys()
866 priv->ndev->name, priv->tx_key, keylen); in __orinoco_hw_setup_wepkeys()
893 priv->tx_key); in __orinoco_hw_setup_wepkeys()
Dmain.c366 key = (struct orinoco_tkip_key *) priv->keys[priv->tx_key].key; in orinoco_process_xmit_skb()
372 *tx_control |= (priv->tx_key << HERMES_MIC_KEY_ID_SHIFT) | in orinoco_process_xmit_skb()
2093 priv->tx_key = 0; in orinoco_init()
/Linux-v4.19/arch/um/drivers/
Dvector_transports.c31 uint32_t tx_key; member
103 (*(uint32_t *) (header + td->key_offset)) = td->tx_key; in gre_form_header()
275 td->tx_key = cpu_to_be32(temp_tx); in build_gre_transport_data()
/Linux-v4.19/net/wireless/
Dwext-compat.c400 const u8 *addr, bool remove, bool tx_key, in __cfg80211_set_encryption() argument
487 tx_key = false; in __cfg80211_set_encryption()
517 (tx_key || (!addr && wdev->wext.default_key == -1))) { in __cfg80211_set_encryption()
540 (tx_key || (!addr && wdev->wext.default_mgmt_key == -1))) { in __cfg80211_set_encryption()
553 const u8 *addr, bool remove, bool tx_key, in cfg80211_set_encryption() argument
560 remove, tx_key, idx, params); in cfg80211_set_encryption()
/Linux-v4.19/drivers/net/wireless/
Drndis_wlan.c420 bool tx_key; member