Home
last modified time | relevance | path

Searched refs:pkt_offset (Results 1 – 31 of 31) sorted by relevance

/linux-4.4.14/drivers/staging/rtl8188eu/hal/
Drtl8188eu_xmit.c211 if ((pull) && (pxmitframe->pkt_offset > 0)) in update_txdesc()
212 pxmitframe->pkt_offset = pxmitframe->pkt_offset - 1; in update_txdesc()
217 if (pxmitframe->pkt_offset > 0) in update_txdesc()
218 ptxdesc->txdw1 |= cpu_to_le32((pxmitframe->pkt_offset << 26) & 0x7c000000); in update_txdesc()
481 pxmitframe->pkt_offset = 1; /* first frame of aggregation, reserve offset */ in rtl8188eu_xmitframe_complete()
493 …len = xmitframe_need_length(pfirstframe) + TXDESC_SIZE + (pfirstframe->pkt_offset*PACKET_OFFSET_SZ… in rtl8188eu_xmitframe_complete()
542 pxmitframe->pkt_offset = 0; /* not first frame of aggregation, no need to reserve offset */ in rtl8188eu_xmitframe_complete()
544 len = xmitframe_need_length(pxmitframe) + TXDESC_SIZE + (pxmitframe->pkt_offset*PACKET_OFFSET_SZ); in rtl8188eu_xmitframe_complete()
548 pxmitframe->pkt_offset = 1; in rtl8188eu_xmitframe_complete()
599 pfirstframe->pkt_offset--; in rtl8188eu_xmitframe_complete()
[all …]
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dsta_tx.c51 u16 pkt_type, pkt_offset; in mwifiex_process_sta_txpd() local
110 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
114 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_sta_txpd()
117 local_tx_pd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_sta_txpd()
Duap_txrx.c375 u16 pkt_type, pkt_offset; in mwifiex_process_uap_txpd() local
420 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd()
424 pkt_offset += MWIFIEX_MGMT_FRAME_HEADER_SIZE; in mwifiex_process_uap_txpd()
427 txpd->tx_pkt_offset = cpu_to_le16(pkt_offset); in mwifiex_process_uap_txpd()
Dcfg80211.c3006 if (!wowlan->patterns[i].pkt_offset) { in mwifiex_set_wowlan_mef_entry()
3024 wowlan->patterns[i].pkt_offset; in mwifiex_set_wowlan_mef_entry()
3215 if (!crule->patterns[i].pkt_offset) { in mwifiex_fill_coalesce_rule_info()
3237 param->offset = crule->patterns[i].pkt_offset; in mwifiex_fill_coalesce_rule_info()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Drx.c221 u32 pkt_offset, des; in wlcore_rx() local
258 pkt_offset = 0; in wlcore_rx()
259 while (pkt_offset < buf_size) { in wlcore_rx()
270 wl->aggr_buf + pkt_offset, in wlcore_rx()
284 pkt_offset += wlcore_rx_get_align_buf_size(wl, pkt_len); in wlcore_rx()
/linux-4.4.14/drivers/staging/wilc1000/
Dlinux_mon.c54 u32 header, pkt_offset; in WILC_WFI_monitor_rx() local
74 pkt_offset = GET_PKT_OFFSET(header); in WILC_WFI_monitor_rx()
76 if (pkt_offset & IS_MANAGMEMENT_CALLBACK) { in WILC_WFI_monitor_rx()
101 if (pkt_offset & IS_MGMT_STATUS_SUCCES) { in WILC_WFI_monitor_rx()
Dwilc_wfi_netdevice.h211 void frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset);
Dwilc_wlan.c1154 u32 pkt_len, pkt_offset, tp_len; in wilc_wlan_handle_rxq() local
1167 pkt_offset = (header >> 22) & 0x1ff; in wilc_wlan_handle_rxq()
1181 if (pkt_offset & IS_MANAGMEMENT) { in wilc_wlan_handle_rxq()
1183 pkt_offset &= ~(IS_MANAGMEMENT | IS_MANAGMEMENT_CALLBACK | IS_MGMT_STATUS_SUCCES); in wilc_wlan_handle_rxq()
1195 pkt_offset); in wilc_wlan_handle_rxq()
1203 wilc_wlan_cfg_indicate_rx(&buffer[pkt_offset + offset], pkt_len, &rsp); in wilc_wlan_handle_rxq()
Dlinux_wlan.c1561 void frmw_to_linux(struct wilc *wilc, u8 *buff, u32 size, u32 pkt_offset) in frmw_to_linux() argument
1575 buff += pkt_offset; in frmw_to_linux()
Dwilc_wfi_cfgoperations.c1918 u32 header, pkt_offset; in WILC_WFI_p2p_rx() local
1931 pkt_offset = GET_PKT_OFFSET(header); in WILC_WFI_p2p_rx()
1933 if (pkt_offset & IS_MANAGMEMENT_CALLBACK) { in WILC_WFI_p2p_rx()
1939 if (pkt_offset & IS_MGMT_STATUS_SUCCES) { in WILC_WFI_p2p_rx()
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dusb_ops_linux.c48 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local
96 pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + pattrib->shift_sz + pattrib->pkt_len; in recvbuf2recvframe()
98 if ((pattrib->pkt_len <= 0) || (pkt_offset > transfer_len)) { in recvbuf2recvframe()
163 pkt_offset = (u16)round_up(pkt_offset, 128); in recvbuf2recvframe()
166 pkt_offset = (u16)round_up(pkt_offset, 4); in recvbuf2recvframe()
198 transfer_len -= pkt_offset; in recvbuf2recvframe()
199 pbuf += pkt_offset; in recvbuf2recvframe()
Dmon.c128 offset = TXDESC_SIZE + frame->pkt_offset * PACKET_OFFSET_SZ; in rtl88eu_mon_xmit_hook()
/linux-4.4.14/drivers/staging/rtl8723au/hal/
Dusb_ops_linux.c350 u32 pkt_offset, skb_len, alloc_sz; in recvbuf2recvframe() local
396 pkt_offset = RXDESC_SIZE + pattrib->drvinfo_sz + in recvbuf2recvframe()
399 if (pattrib->pkt_len <= 0 || pkt_offset > transfer_len) { in recvbuf2recvframe()
475 transfer_len -= pkt_offset; in recvbuf2recvframe()
476 pbuf += pkt_offset; in recvbuf2recvframe()
Drtl8723au_xmit.c149 pxmitframe->pkt_offset--; in update_txdesc()
280 if (pxmitframe->pkt_offset > 0) in update_txdesc()
281 ptxdesc->txdw1 |= cpu_to_le32((pxmitframe->pkt_offset << 26) & 0x7c000000); in update_txdesc()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c511 unsigned int req_sz, func_blk_sz, sg_cnt, sg_data_sz, pkt_offset; in brcmf_sdiod_sglist_rw() local
557 pkt_offset = 0; in brcmf_sdiod_sglist_rw()
583 pkt_data = pkt_next->data + pkt_offset; in brcmf_sdiod_sglist_rw()
584 sg_data_sz = pkt_next->len - pkt_offset; in brcmf_sdiod_sglist_rw()
595 pkt_offset += sg_data_sz; in brcmf_sdiod_sglist_rw()
596 if (pkt_offset == pkt_next->len) { in brcmf_sdiod_sglist_rw()
597 pkt_offset = 0; in brcmf_sdiod_sglist_rw()
Dcfg80211.c3108 wowl->patterns[i].pkt_offset); in brcmf_configure_wowl()
/linux-4.4.14/drivers/staging/rtl8723au/include/
Drtl8723a_xmit.h96 u32 pkt_offset:5; /* unit: 8 bytes */ member
Drtw_xmit.h231 s8 pkt_offset; member
/linux-4.4.14/drivers/staging/rtl8712/
Drtl8712_recv.c1016 u16 pkt_cnt, drvinfo_sz, pkt_offset, tmp_len, alloc_sz; in recvbuf2recvframe() local
1058 pkt_offset = (u16)round_up(tmp_len, 128); in recvbuf2recvframe()
1096 transfer_len -= pkt_offset; in recvbuf2recvframe()
1097 pbuf += pkt_offset; in recvbuf2recvframe()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c1200 int index, length, cksum, pkt_offset, is_lb_pkt; in qlcnic_process_rcv() local
1215 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv()
1232 if (pkt_offset) in qlcnic_process_rcv()
1233 skb_pull(skb, pkt_offset); in qlcnic_process_rcv()
1494 int index, length, cksum, pkt_offset; in qlcnic_process_rcv_diag() local
1507 pkt_offset = qlcnic_get_sts_pkt_offset(sts_data0); in qlcnic_process_rcv_diag()
1518 if (pkt_offset) in qlcnic_process_rcv_diag()
1519 skb_pull(skb, pkt_offset); in qlcnic_process_rcv_diag()
/linux-4.4.14/drivers/net/usb/
Dcatc.c228 int pkt_len, pkt_offset = 0; in catc_rx_done() local
233 pkt_offset = 2; in catc_rx_done()
257 skb_copy_to_linear_data(skb, pkt_start + pkt_offset, pkt_len); in catc_rx_done()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwow.c134 patterns[i].pkt_offset); in ath10k_vif_wow_set_wakeups()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
Drtw_xmit.h230 s8 pkt_offset; member
/linux-4.4.14/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c1544 int index, length, cksum, pkt_offset; in netxen_process_rcv() local
1559 pkt_offset = netxen_get_sts_pkt_offset(sts_data0); in netxen_process_rcv()
1571 if (pkt_offset) in netxen_process_rcv()
1572 skb_pull(skb, pkt_offset); in netxen_process_rcv()
/linux-4.4.14/drivers/staging/rtl8188eu/core/
Drtw_security.c162 (((struct xmit_frame *)pxmitframe)->pkt_offset * PACKET_OFFSET_SZ); in rtw_wep_encrypt()
585 (((struct xmit_frame *)pxmitframe)->pkt_offset * PACKET_OFFSET_SZ); in rtw_tkip_encrypt()
1217 (((struct xmit_frame *)pxmitframe)->pkt_offset * PACKET_OFFSET_SZ); in rtw_aes_encrypt()
Drtw_xmit.c647 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in xmitframe_addmic()
998 hw_hdr_offset = TXDESC_SIZE + (pxmitframe->pkt_offset * PACKET_OFFSET_SZ); in rtw_xmitframe_coalesce()
1400 pxframe->pkt_offset = 1;/* default use pkt_offset to fill tx desc */ in rtw_alloc_xmitframe()
/linux-4.4.14/drivers/net/wireless/realtek/rtl8xxxu/
Drtl8xxxu.h202 u8 pkt_offset; member
Drtl8xxxu.c4792 tx_desc->pkt_offset = sizeof(struct rtl8xxxu_tx_desc); in rtl8xxxu_tx()
/linux-4.4.14/net/wireless/
Dnl80211.c8945 wowlan->patterns[i].pkt_offset)) in nl80211_send_wowlan_patterns()
9393 int rem, pat_len, mask_len, pkt_offset; in nl80211_set_wowlan() local
9432 pkt_offset = 0; in nl80211_set_wowlan()
9434 pkt_offset = nla_get_u32( in nl80211_set_wowlan()
9436 if (pkt_offset > wowlan->max_pkt_offset) in nl80211_set_wowlan()
9438 new_triggers.patterns[i].pkt_offset = pkt_offset; in nl80211_set_wowlan()
9557 rule->patterns[j].pkt_offset)) in nl80211_send_coalesce_rules()
9625 int rem, pat_len, mask_len, pkt_offset, n_patterns = 0; in nl80211_parse_coalesce_rule() local
9681 pkt_offset = 0; in nl80211_parse_coalesce_rule()
9683 pkt_offset = nla_get_u32(pat_tb[NL80211_PKTPAT_OFFSET]); in nl80211_parse_coalesce_rule()
[all …]
/linux-4.4.14/include/net/
Dcfg80211.h1972 int pkt_offset; member
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_xmit.c1428 pxframe->pkt_offset = 1;/* default use pkt_offset to fill tx desc */ in rtw_init_xmitframe()