| /Linux-v5.4/drivers/net/wireless/ath/ath10k/ |
| D | wow.c | 88 int total_len = old->pkt_offset + old->pattern_len; in ath10k_wow_convert_8023_to_80211() 105 memcpy(hdr_8023_pattern + old->pkt_offset, in ath10k_wow_convert_8023_to_80211() 106 old->pattern, ETH_HLEN - 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() 130 else if (old->pkt_offset < offsetof(struct ethhdr, h_proto)) 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() [all …]
|
| /Linux-v5.4/drivers/staging/rtl8188eu/hal/ |
| D | rtl8188eu_xmit.c | 195 if ((pull) && (pxmitframe->pkt_offset > 0)) in update_txdesc() 196 pxmitframe->pkt_offset = pxmitframe->pkt_offset - 1; in update_txdesc() 201 if (pxmitframe->pkt_offset > 0) in update_txdesc() 202 ptxdesc->txdw1 |= cpu_to_le32((pxmitframe->pkt_offset << 26) & 0x7c000000); in update_txdesc() 461 pxmitframe->pkt_offset = 1; /* first frame of aggregation, reserve offset */ in rtl8188eu_xmitframe_complete() 470 …len = xmitframe_need_length(pfirstframe) + TXDESC_SIZE + (pfirstframe->pkt_offset*PACKET_OFFSET_SZ… in rtl8188eu_xmitframe_complete() 519 pxmitframe->pkt_offset = 0; /* not first frame of aggregation, no need to reserve offset */ in rtl8188eu_xmitframe_complete() 521 len = xmitframe_need_length(pxmitframe) + TXDESC_SIZE + (pxmitframe->pkt_offset*PACKET_OFFSET_SZ); in rtl8188eu_xmitframe_complete() 525 pxmitframe->pkt_offset = 1; in rtl8188eu_xmitframe_complete() 576 pfirstframe->pkt_offset--; in rtl8188eu_xmitframe_complete() [all …]
|
| /Linux-v5.4/drivers/net/wireless/marvell/mwifiex/ |
| 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()
|
| D | uap_txrx.c | 468 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local 512 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd() 516 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_uap_txpd() 519 txpd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_uap_txpd()
|
| /Linux-v5.4/drivers/net/wireless/ti/wlcore/ |
| 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-v5.4/drivers/staging/wilc1000/ |
| D | wilc_mon.c | 26 u32 header, pkt_offset; in wilc_wfi_monitor_rx() local 43 pkt_offset = GET_PKT_OFFSET(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()
|
| D | wilc_wlan.c | 686 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rx_buff() local 695 pkt_offset = (header >> 22) & 0x1ff; in wilc_wlan_handle_rx_buff() 702 if (pkt_offset & IS_MANAGMEMENT) { in wilc_wlan_handle_rx_buff() 709 pkt_len, pkt_offset); in wilc_wlan_handle_rx_buff() 714 buff_ptr += pkt_offset; in wilc_wlan_handle_rx_buff()
|
| D | wilc_wfi_netdevice.h | 285 void wilc_frmw_to_host(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
|
| D | wilc_netdev.c | 784 u32 pkt_offset) in wilc_frmw_to_host() argument 800 buff += pkt_offset; in wilc_frmw_to_host()
|
| D | wilc_wfi_cfgoperations.c | 1027 u32 header, pkt_offset; in wilc_wfi_p2p_rx() local 1032 pkt_offset = GET_PKT_OFFSET(header); in wilc_wfi_p2p_rx() 1034 if (pkt_offset & IS_MANAGMEMENT_CALLBACK) { in wilc_wfi_p2p_rx() 1038 pkt_offset & IS_MGMT_STATUS_SUCCES) in wilc_wfi_p2p_rx()
|
| /Linux-v5.4/drivers/staging/rtl8723bs/hal/ |
| D | rtl8723bs_recv.c | 227 __func__, __LINE__, ptr, pkt_offset, precvbuf->ptail); in pkt_exceeds_tail() 245 u32 pkt_offset, skb_len, alloc_sz; in rtl8723bs_recv_tasklet() local 277 pkt_offset = rx_report_sz + in rtl8723bs_recv_tasklet() 281 if (pkt_exceeds_tail(precvpriv, ptr + pkt_offset, in rtl8723bs_recv_tasklet() 392 pkt_offset = _RND8(pkt_offset); in rtl8723bs_recv_tasklet() 393 precvbuf->pdata += pkt_offset; in rtl8723bs_recv_tasklet()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtw88/ |
| D | fw.c | 33 u32 pkt_offset; in rtw_fw_c2h_cmd_handle() local 36 pkt_offset = *((u32 *)skb->cb); in rtw_fw_c2h_cmd_handle() 37 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_handle() 38 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_handle() 59 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset, in rtw_fw_c2h_cmd_rx_irqsafe() argument 65 c2h = (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in rtw_fw_c2h_cmd_rx_irqsafe() 66 len = skb->len - pkt_offset - 2; in rtw_fw_c2h_cmd_rx_irqsafe() 67 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe() 78 *((u32 *)skb->cb) = pkt_offset; in rtw_fw_c2h_cmd_rx_irqsafe()
|
| D | fw.h | 259 u32 pkt_offset; in get_c2h_from_skb() local 261 pkt_offset = *((u32 *)skb->cb); in get_c2h_from_skb() 262 return (struct rtw_c2h_cmd *)(skb->data + pkt_offset); in get_c2h_from_skb() 265 void rtw_fw_c2h_cmd_rx_irqsafe(struct rtw_dev *rtwdev, u32 pkt_offset,
|
| D | pci.c | 815 u32 pkt_offset; in rtw_pci_rx_isr() local 843 pkt_offset = pkt_desc_sz + pkt_stat.drv_info_sz + in rtw_pci_rx_isr() 849 new_len = pkt_stat.pkt_len + pkt_offset; in rtw_pci_rx_isr() 858 rtw_fw_c2h_cmd_rx_irqsafe(rtwdev, pkt_offset, new); in rtw_pci_rx_isr() 861 skb_pull(new, pkt_offset); in rtw_pci_rx_isr()
|
| D | tx.c | 42 SET_TX_DESC_PKT_OFFSET(txdesc, pkt_info->pkt_offset); in rtw_tx_fill_tx_desc()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/os_dep/ |
| D | usb_ops_linux.c | 37 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local 86 pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + pattrib->shift_sz + pattrib->pkt_len; in recvbuf2recvframe() 88 if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) { in recvbuf2recvframe() 136 pkt_offset = (u16)round_up(pkt_offset, 128); in recvbuf2recvframe() 139 pkt_offset = (u16)round_up(pkt_offset, 4); in recvbuf2recvframe() 169 transfer_len -= pkt_offset; in recvbuf2recvframe() 170 pbuf += pkt_offset; in recvbuf2recvframe()
|
| D | mon.c | 120 offset = TXDESC_SIZE + frame->pkt_offset * PACKET_OFFSET_SZ; in rtl88eu_mon_xmit_hook()
|
| /Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| 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-v5.4/drivers/staging/rtl8712/ |
| D | rtl8712_recv.c | 991 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local 1035 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe() 1075 transfer_len -= pkt_offset; in recvbuf2recvframe() 1076 pbuf += pkt_offset; in recvbuf2recvframe()
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_io.c | 1203 int index, length, cksum, pkt_offset, is_lb_pkt; in qlcnic_process_rcv() local 1218 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv() 1235 if (pkt_offset) in qlcnic_process_rcv() 1236 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-v5.4/drivers/net/usb/ |
| 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-v5.4/drivers/staging/rtl8188eu/include/ |
| D | rtw_xmit.h | 217 s8 pkt_offset; member
|
| /Linux-v5.4/drivers/net/ethernet/qlogic/netxen/ |
| D | netxen_nic_init.c | 1524 int index, length, cksum, pkt_offset; in netxen_process_rcv() local 1539 pkt_offset = netxen_get_sts_pkt_offset(sts_data0); in netxen_process_rcv() 1551 if (pkt_offset) in netxen_process_rcv() 1552 skb_pull(skb, pkt_offset); in netxen_process_rcv()
|
| /Linux-v5.4/drivers/staging/rtl8188eu/core/ |
| D | rtw_security.c | 152 (((struct xmit_frame *)pxmitframe)->pkt_offset * PACKET_OFFSET_SZ); in rtw_wep_encrypt() 598 (((struct xmit_frame *)pxmitframe)->pkt_offset * PACKET_OFFSET_SZ); in rtw_tkip_encrypt() 1238 (((struct xmit_frame *)pxmitframe)->pkt_offset * PACKET_OFFSET_SZ); in rtw_aes_encrypt()
|
| /Linux-v5.4/drivers/net/wireless/realtek/rtl8xxxu/ |
| D | rtl8xxxu.h | 368 u8 pkt_offset; member 382 u8 pkt_offset; member
|