Home
last modified time | relevance | path

Searched refs:mic_hdr (Results 1 – 5 of 5) sorted by relevance

/drivers/staging/vt6656/
Drxtx.c296 struct vnt_mic_hdr *mic_hdr; in vnt_fill_txkey() local
328 mic_hdr = &tx_buffer->tx_head.tx_rts.tx.mic.hdr; in vnt_fill_txkey()
330 mic_hdr = &tx_buffer->tx_head.tx_cts.tx.mic.hdr; in vnt_fill_txkey()
332 mic_hdr = &tx_buffer->tx_head.tx_ab.tx.mic.hdr; in vnt_fill_txkey()
335 mic_hdr->id = 0x59; in vnt_fill_txkey()
336 mic_hdr->payload_len = cpu_to_be16(payload_len); in vnt_fill_txkey()
337 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey()
340 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey()
341 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey()
342 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey()
[all …]
/drivers/staging/vt6655/
Drxtx.c1121 td_info->mic_hdr = pMICHDR; in s_cbFillTxBufHead()
1151 struct vnt_mic_hdr *mic_hdr) in vnt_fill_txkey() argument
1179 if (!mic_hdr) in vnt_fill_txkey()
1182 mic_hdr->id = 0x59; in vnt_fill_txkey()
1183 mic_hdr->payload_len = cpu_to_be16(payload_len); in vnt_fill_txkey()
1184 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey()
1187 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey()
1188 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey()
1189 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey()
1190 mic_hdr->ccmp_pn[2] = pn64 >> 24; in vnt_fill_txkey()
[all …]
Ddesc.h218 void *mic_hdr; member
/drivers/net/wireless/ath/ath12k/
Ddp_rx.c2786 u8 mic_hdr[16] = {0}; in ath12k_dp_rx_h_michael_mic() local
2804 memcpy(mic_hdr, ieee80211_get_DA(hdr), ETH_ALEN); in ath12k_dp_rx_h_michael_mic()
2805 memcpy(mic_hdr + ETH_ALEN, ieee80211_get_SA(hdr), ETH_ALEN); in ath12k_dp_rx_h_michael_mic()
2808 mic_hdr[12] = tid; in ath12k_dp_rx_h_michael_mic()
2810 ret = crypto_shash_update(desc, mic_hdr, 16); in ath12k_dp_rx_h_michael_mic()
/drivers/net/wireless/ath/ath11k/
Ddp_rx.c3176 u8 mic_hdr[16] = {0}; in ath11k_dp_rx_h_michael_mic() local
3194 memcpy(mic_hdr, ieee80211_get_DA(hdr), ETH_ALEN); in ath11k_dp_rx_h_michael_mic()
3195 memcpy(mic_hdr + ETH_ALEN, ieee80211_get_SA(hdr), ETH_ALEN); in ath11k_dp_rx_h_michael_mic()
3198 mic_hdr[12] = tid; in ath11k_dp_rx_h_michael_mic()
3200 ret = crypto_shash_update(desc, mic_hdr, 16); in ath11k_dp_rx_h_michael_mic()