/kernel/linux/linux-5.10/drivers/staging/vt6656/ |
H A D | rxtx.c | 294 /* returns true if mic_hdr is needed */ 300 struct vnt_mic_hdr *mic_hdr; in vnt_fill_txkey() local 332 mic_hdr = &tx_buffer->tx_head.tx_rts.tx.mic.hdr; in vnt_fill_txkey() 334 mic_hdr = &tx_buffer->tx_head.tx_cts.tx.mic.hdr; in vnt_fill_txkey() 336 mic_hdr = &tx_buffer->tx_head.tx_ab.tx.mic.hdr; in vnt_fill_txkey() 339 mic_hdr->id = 0x59; in vnt_fill_txkey() 340 mic_hdr->payload_len = cpu_to_be16(payload_len); in vnt_fill_txkey() 341 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey() 344 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey() 345 mic_hdr in vnt_fill_txkey() [all...] |
/kernel/linux/linux-6.6/drivers/staging/vt6656/ |
H A D | rxtx.c | 290 /* returns true if mic_hdr is needed */ 296 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 in vnt_fill_txkey() [all...] |
/kernel/linux/linux-5.10/drivers/staging/vt6655/ |
H A D | rxtx.c | 1119 td_info->mic_hdr = pMICHDR; in s_cbFillTxBufHead() 1149 struct vnt_mic_hdr *mic_hdr) in vnt_fill_txkey() 1177 if (!mic_hdr) in vnt_fill_txkey() 1180 mic_hdr->id = 0x59; in vnt_fill_txkey() 1181 mic_hdr->payload_len = cpu_to_be16(payload_len); in vnt_fill_txkey() 1182 ether_addr_copy(mic_hdr->mic_addr2, hdr->addr2); in vnt_fill_txkey() 1185 mic_hdr->ccmp_pn[5] = pn64; in vnt_fill_txkey() 1186 mic_hdr->ccmp_pn[4] = pn64 >> 8; in vnt_fill_txkey() 1187 mic_hdr->ccmp_pn[3] = pn64 >> 16; in vnt_fill_txkey() 1188 mic_hdr in vnt_fill_txkey() 1146 vnt_fill_txkey(struct ieee80211_hdr *hdr, u8 *key_buffer, struct ieee80211_key_conf *tx_key, struct sk_buff *skb, u16 payload_len, struct vnt_mic_hdr *mic_hdr) vnt_fill_txkey() argument [all...] |
H A D | desc.h | 220 void *mic_hdr; member
|
/kernel/linux/linux-6.6/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() 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 in vnt_fill_txkey() 1148 vnt_fill_txkey(struct ieee80211_hdr *hdr, u8 *key_buffer, struct ieee80211_key_conf *tx_key, struct sk_buff *skb, u16 payload_len, struct vnt_mic_hdr *mic_hdr) vnt_fill_txkey() argument [all...] |
H A D | desc.h | 218 void *mic_hdr; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | dp_rx.c | 3056 u8 mic_hdr[16] = {0}; in ath11k_dp_rx_h_michael_mic() local 3074 memcpy(mic_hdr, ieee80211_get_DA(hdr), ETH_ALEN); in ath11k_dp_rx_h_michael_mic() 3075 memcpy(mic_hdr + ETH_ALEN, ieee80211_get_SA(hdr), ETH_ALEN); in ath11k_dp_rx_h_michael_mic() 3078 mic_hdr[12] = tid; in ath11k_dp_rx_h_michael_mic() 3080 ret = crypto_shash_update(desc, mic_hdr, 16); in ath11k_dp_rx_h_michael_mic()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/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()
|