Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / staging / rtl8712 / xmit_osdep.h
blobca439378953d47fa9ec846118df1b8b8675a78c6
1 #ifndef __XMIT_OSDEP_H_
2 #define __XMIT_OSDEP_H_
4 #include "osdep_service.h"
5 #include "drv_types.h"
7 struct pkt_file {
8 _pkt *pkt;
9 u32 pkt_len; /*the remainder length of the open_file*/
10 _buffer *cur_buffer;
11 u8 *buf_start;
12 u8 *cur_addr;
13 u32 buf_len;
16 #define NR_XMITFRAME 256
18 struct xmit_priv;
19 struct pkt_attrib;
20 struct sta_xmit_priv;
21 struct xmit_frame;
22 struct xmit_buf;
24 int r8712_xmit_entry(_pkt *pkt, struct net_device *pnetdev);
25 int r8712_xmit_resource_alloc(struct _adapter *padapter,
26 struct xmit_buf *pxmitbuf);
27 void r8712_xmit_resource_free(struct _adapter *padapter,
28 struct xmit_buf *pxmitbuf);
30 void r8712_set_qos(struct pkt_file *ppktfile,
31 struct pkt_attrib *pattrib);
32 void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
33 uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
34 sint r8712_endofpktfile(struct pkt_file *pfile);
35 void r8712_xmit_complete(struct _adapter *padapter,
36 struct xmit_frame *pxframe);
38 #endif