Home
last modified time | relevance | path

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

/drivers/staging/vt6656/
Drxtx.c299 struct ieee80211_key_conf *tx_key = info->control.hw_key; in vnt_fill_txkey() local
308 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
310 switch (tx_key->cipher) { in vnt_fill_txkey()
313 memcpy(fifo->tx_key, iv, 3); in vnt_fill_txkey()
314 memcpy(fifo->tx_key + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
316 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
317 memcpy(fifo->tx_key + 8, iv, 3); in vnt_fill_txkey()
318 memcpy(fifo->tx_key + 11, in vnt_fill_txkey()
319 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
325 ieee80211_get_tkip_p2k(tx_key, skb, fifo->tx_key); in vnt_fill_txkey()
[all …]
Drxtx.h155 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/drivers/staging/vt6655/
Drxtx.c1147 struct ieee80211_key_conf *tx_key, in vnt_fill_txkey() argument
1156 payload_len -= tx_key->icv_len; in vnt_fill_txkey()
1158 switch (tx_key->cipher) { in vnt_fill_txkey()
1162 memcpy(key_buffer + 3, tx_key->key, tx_key->keylen); in vnt_fill_txkey()
1164 if (tx_key->keylen == WLAN_KEY_LEN_WEP40) { in vnt_fill_txkey()
1167 tx_key->key, WLAN_KEY_LEN_WEP40); in vnt_fill_txkey()
1172 ieee80211_get_tkip_p2k(tx_key, skb, key_buffer); in vnt_fill_txkey()
1184 pn64 = atomic64_read(&tx_key->tx_pn); in vnt_fill_txkey()
1209 memcpy(key_buffer, tx_key->key, WLAN_KEY_LEN_CCMP); in vnt_fill_txkey()
1224 struct ieee80211_key_conf *tx_key; in vnt_generate_fifo_header() local
[all …]
Drxtx.h166 u8 tx_key[WLAN_KEY_LEN_CCMP]; member
/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()
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()
Dorinoco.h120 u16 wep_restrict, tx_key; member
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()
/drivers/net/wireless/
Drndis_wlan.c402 bool tx_key; member