1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
6 * Modifications for inclusion into the Linux staging tree are
7 * Copyright(c) 2010 Larry Finger. All rights reserved.
10 * WLAN FAE <wlanfae@realtek.com>
11 * Larry Finger <Larry.Finger@lwfinger.net>
13 ******************************************************************************/
14 #ifndef __XMIT_OSDEP_H_
15 #define __XMIT_OSDEP_H_
17 #include "osdep_service.h"
18 #include "drv_types.h"
22 u32 pkt_len; /*the remainder length of the open_file*/
29 #define NR_XMITFRAME 256
37 int r8712_xmit_entry(_pkt *pkt, struct net_device *pnetdev);
38 void r8712_SetFilter(struct work_struct *work);
39 int r8712_xmit_resource_alloc(struct _adapter *padapter,
40 struct xmit_buf *pxmitbuf);
41 void r8712_xmit_resource_free(struct _adapter *padapter,
42 struct xmit_buf *pxmitbuf);
44 void r8712_set_qos(struct pkt_file *ppktfile,
45 struct pkt_attrib *pattrib);
46 void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
47 uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
48 sint r8712_endofpktfile(struct pkt_file *pfile);
49 void r8712_xmit_complete(struct _adapter *padapter,
50 struct xmit_frame *pxframe);