Searched refs:mic_hdr (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/staging/vt6656/ |
H A D | rxtx.c | 296 struct vnt_mic_hdr *mic_hdr; in vnt_fill_txkey() local 335 mic_hdr->id = 0x59; 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() 343 mic_hdr->ccmp_pn[2] = pn64 >> 24; in vnt_fill_txkey() 344 mic_hdr->ccmp_pn[1] = pn64 >> 32; in vnt_fill_txkey() 345 mic_hdr->ccmp_pn[0] = pn64 >> 40; in vnt_fill_txkey() 348 mic_hdr->hlen = cpu_to_be16(28); in vnt_fill_txkey() 350 mic_hdr->hlen = cpu_to_be16(22); in vnt_fill_txkey() [all …]
|
/openbmc/linux/drivers/staging/vt6655/ |
H A D | rxtx.c | 1121 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() 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() 1191 mic_hdr->ccmp_pn[1] = pn64 >> 32; in vnt_fill_txkey() 1205 mic_hdr->seq_ctrl = cpu_to_le16( in vnt_fill_txkey() [all …]
|
H A D | desc.h | 218 void *mic_hdr; member
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | dp_rx.c | 2782 u8 mic_hdr[16] = {0}; in ath12k_dp_rx_h_michael_mic() local 2800 memcpy(mic_hdr, ieee80211_get_DA(hdr), ETH_ALEN); in ath12k_dp_rx_h_michael_mic() 2801 memcpy(mic_hdr + ETH_ALEN, ieee80211_get_SA(hdr), ETH_ALEN); in ath12k_dp_rx_h_michael_mic() 2804 mic_hdr[12] = tid; in ath12k_dp_rx_h_michael_mic() 2806 ret = crypto_shash_update(desc, mic_hdr, 16); in ath12k_dp_rx_h_michael_mic()
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 3176 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()
|