/linux/drivers/net/wireless/ath/ath10k/ |
A D | wow.c | 105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211() 107 memcpy(hdr_8023_bit_mask + old->pkt_offset, in ath10k_wow_convert_8023_to_80211() 108 old->mask, ETH_HLEN - old->pkt_offset); in ath10k_wow_convert_8023_to_80211() 127 if (old->pkt_offset < ETH_ALEN) in ath10k_wow_convert_8023_to_80211() 128 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211() 131 new->pkt_offset = old->pkt_offset + in ath10k_wow_convert_8023_to_80211() 135 new->pkt_offset = old->pkt_offset + hdr_len + rfc_len - ETH_HLEN; in ath10k_wow_convert_8023_to_80211() 152 hdr_80211_pattern + new->pkt_offset, in ath10k_wow_convert_8023_to_80211() 155 hdr_80211_bit_mask + new->pkt_offset, in ath10k_wow_convert_8023_to_80211() 343 if (patterns[i].pkt_offset < ETH_HLEN) in ath10k_vif_wow_set_wakeups() [all …]
|
/linux/drivers/staging/r8188eu/hal/ |
A D | usb_ops_linux.c | 209 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local 253 pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + pattrib->shift_sz + pattrib->pkt_len; in recvbuf2recvframe() 255 if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) { in recvbuf2recvframe() 319 pkt_offset = (u16)_RND128(pkt_offset); in recvbuf2recvframe() 322 pkt_offset = (u16)_RND4(pkt_offset); in recvbuf2recvframe() 351 transfer_len -= pkt_offset; in recvbuf2recvframe() 352 pbuf += pkt_offset; in recvbuf2recvframe()
|
A D | rtl8188eu_xmit.c | 176 if (pxmitframe->pkt_offset > 0) in update_txdesc() 177 ptxdesc->txdw1 |= cpu_to_le32((pxmitframe->pkt_offset << 26) & 0x7c000000); in update_txdesc() 428 pxmitframe->pkt_offset = 1; /* first frame of aggregation, reserve offset */ in rtl8188eu_xmitframe_complete() 437 …len = xmitframe_need_length(pfirstframe) + TXDESC_SIZE + (pfirstframe->pkt_offset * PACKET_OFFSET_… in rtl8188eu_xmitframe_complete() 486 pxmitframe->pkt_offset = 0; /* not first frame of aggregation, no need to reserve offset */ in rtl8188eu_xmitframe_complete() 488 …len = xmitframe_need_length(pxmitframe) + TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ… in rtl8188eu_xmitframe_complete() 492 pxmitframe->pkt_offset = 1; in rtl8188eu_xmitframe_complete() 543 pfirstframe->pkt_offset--; in rtl8188eu_xmitframe_complete() 554 pbuf_tail -= (pfirstframe->pkt_offset * PACKET_OFFSET_SZ); in rtl8188eu_xmitframe_complete()
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | sta_tx.c | 51 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local 109 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd() 113 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_sta_txpd() 116 local_tx_pd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_sta_txpd()
|
A D | uap_txrx.c | 464 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 508 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd() 512 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_uap_txpd() 515 txpd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_uap_txpd()
|
/linux/drivers/net/wireless/ti/wlcore/ |
A D | rx.c | 207 u32 pkt_offset, des; in wlcore_rx() local 251 pkt_offset = 0; in wlcore_rx() 252 while (pkt_offset < buf_size) { in wlcore_rx() 263 wl->aggr_buf + pkt_offset, in wlcore_rx() 277 pkt_offset += wlcore_rx_get_align_buf_size(wl, pkt_len); in wlcore_rx()
|
/linux/drivers/hv/ |
A D | ring_buffer.c | 475 u32 bytes_avail, pkt_len, pkt_offset; in hv_pkt_iter_first() local 488 pkt_offset = READ_ONCE(desc->offset8) << 3; in hv_pkt_iter_first() 501 if (pkt_offset < sizeof(struct vmpacket_descriptor) || pkt_offset > pkt_len) in hv_pkt_iter_first() 502 pkt_offset = sizeof(struct vmpacket_descriptor); in hv_pkt_iter_first() 514 desc_copy->offset8 = pkt_offset >> 3; in hv_pkt_iter_first()
|
/linux/drivers/net/wireless/microchip/wilc1000/ |
A D | mon.c | 26 u32 header, pkt_offset; in wilc_wfi_monitor_rx() local 43 pkt_offset = FIELD_GET(WILC_PKT_HDR_OFFSET_FIELD, header); in wilc_wfi_monitor_rx() 45 if (pkt_offset & IS_MANAGMEMENT_CALLBACK) { in wilc_wfi_monitor_rx() 65 if (pkt_offset & IS_MGMT_STATUS_SUCCES) { in wilc_wfi_monitor_rx()
|
A D | wlan.c | 957 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local 966 pkt_offset = FIELD_GET(WILC_PKT_HDR_OFFSET_FIELD, header); in wilc_wlan_handle_rx_buff() 973 if (pkt_offset & IS_MANAGMEMENT) { in wilc_wlan_handle_rx_buff() 979 pkt_offset); in wilc_wlan_handle_rx_buff() 983 buff_ptr += pkt_offset; in wilc_wlan_handle_rx_buff()
|
A D | netdev.h | 286 void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
|
/linux/drivers/staging/rtl8723bs/hal/ |
A D | rtl8723bs_recv.c | 231 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local 262 pkt_offset = rx_report_sz + in rtl8723bs_recv_tasklet() 266 if (pkt_exceeds_tail(precvpriv, ptr + pkt_offset, in rtl8723bs_recv_tasklet() 353 pkt_offset = round_up(pkt_offset, 8); in rtl8723bs_recv_tasklet() 354 precvbuf->pdata += pkt_offset; in rtl8723bs_recv_tasklet()
|
/linux/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_rx.c | 322 int pkt_offset, frag_len, i; in hinic_copy_lp_data() local 336 pkt_offset = nic_dev->lb_test_rx_idx * lb_len; in hinic_copy_lp_data() 338 memcpy(lb_buf + pkt_offset, skb->data, frag_len); in hinic_copy_lp_data() 339 pkt_offset += frag_len; in hinic_copy_lp_data() 343 memcpy((lb_buf + pkt_offset), frag_data, frag_len); in hinic_copy_lp_data() 344 pkt_offset += frag_len; in hinic_copy_lp_data()
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | bcmsdh.c | 382 unsigned int req_sz, func_blk_sz, sg_cnt, sg_data_sz, pkt_offset; in brcmf_sdiod_sglist_rw() local 449 pkt_offset = 0; in brcmf_sdiod_sglist_rw() 450 while (pkt_offset < pkt_next->len) { in brcmf_sdiod_sglist_rw() 451 pkt_data = pkt_next->data + pkt_offset; in brcmf_sdiod_sglist_rw() 452 sg_data_sz = pkt_next->len - pkt_offset; in brcmf_sdiod_sglist_rw() 463 pkt_offset += sg_data_sz; in brcmf_sdiod_sglist_rw()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
A D | fw.c | 211 u32 pkt_offset; in rtw_fw_c2h_cmd_handle() local 214 pkt_offset = *((u32 *)skb->cb); in rtw_fw_c2h_cmd_handle() 215 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_handle() 216 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_handle() 251 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_c2h_cmd_rx_irqsafe() argument 257 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_rx_irqsafe() 258 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_rx_irqsafe() 259 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe() 283 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe()
|
A D | fw.h | 620 u32 pkt_offset; in get_c2h_from_skb() local 622 pkt_offset = *((u32 *)skb->cb); in get_c2h_from_skb() 623 return (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in get_c2h_from_skb() 632 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset,
|
A D | pci.c | 1078 u32 pkt_offset; in rtw_pci_rx_napi() local 1098 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_pci_rx_napi() 1104 new_len = pkt_stat.pkt_len + pkt_offset; in rtw_pci_rx_napi() 1113 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, new); in rtw_pci_rx_napi() 1116 skb_pull(new, pkt_offset); in rtw_pci_rx_napi()
|
/linux/drivers/net/wireless/ath/ath11k/ |
A D | hal_tx.h | 26 u32 pkt_offset; member
|
A D | hal_tx.c | 65 FIELD_PREP(HAL_TCL_DATA_CMD_INFO1_PKT_OFFSET, ti->pkt_offset); in ath11k_hal_tx_cmd_desc_setup()
|
/linux/drivers/staging/rtl8712/ |
A D | rtl8712_recv.c | 977 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local 1021 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe() 1055 transfer_len -= pkt_offset; in recvbuf2recvframe() 1056 pbuf += pkt_offset; in recvbuf2recvframe()
|
/linux/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_io.c | 1202 int index, length, cksum, pkt_offset, is_lb_pkt; in qlcnic_process_rcv() local 1217 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv() 1234 if (pkt_offset) in qlcnic_process_rcv() 1235 skb_pull(skb, pkt_offset); in qlcnic_process_rcv() 1497 int index, length, cksum, pkt_offset; in qlcnic_process_rcv_diag() local 1510 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv_diag() 1521 if (pkt_offset) in qlcnic_process_rcv_diag() 1522 skb_pull(skb, pkt_offset); in qlcnic_process_rcv_diag()
|
/linux/drivers/net/ethernet/amazon/ena/ |
A D | ena_eth_com.h | 49 u8 pkt_offset; member
|
/linux/drivers/net/usb/ |
A D | catc.c | 217 int pkt_len, pkt_offset = 0; in catc_rx_done() local 222 pkt_offset = 2; in catc_rx_done() 246 skb_copy_to_linear_data(skb, pkt_start + pkt_offset, pkt_len); in catc_rx_done()
|
/linux/drivers/net/ethernet/qlogic/netxen/ |
A D | netxen_nic_init.c | 1523 int index, length, cksum, pkt_offset; in netxen_process_rcv() local 1538 pkt_offset = netxen_get_sts_pkt_offset(sts_data0); in netxen_process_rcv() 1550 if (pkt_offset) in netxen_process_rcv() 1551 skb_pull(skb, pkt_offset); in netxen_process_rcv()
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_security.c | 37 hw_hdr_offset = TXDESC_SIZE + pxmitframe->pkt_offset * PACKET_OFFSET_SZ; in rtw_wep_encrypt() 464 hw_hdr_offset = TXDESC_SIZE + pxmitframe->pkt_offset * PACKET_OFFSET_SZ; in rtw_tkip_encrypt() 1112 hw_hdr_offset = TXDESC_SIZE + pxmitframe->pkt_offset * PACKET_OFFSET_SZ; in rtw_aes_encrypt()
|
/linux/drivers/staging/r8188eu/include/ |
A D | rtw_xmit.h | 217 s8 pkt_offset; member
|