PageRenderTime 12ms CodeModel.GetById 5ms app.highlight 6ms RepoModel.GetById 0ms app.codeStats 0ms

/drivers/staging/rtl8712/xmit_osdep.h

https://bitbucket.org/slukk/jb-tsm-kernel-4.2
C Header | 38 lines | 31 code | 7 blank | 0 comment | 0 complexity | 69c98c6bd40c601fcc981f7ed8ce9adb MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
 1#ifndef __XMIT_OSDEP_H_
 2#define __XMIT_OSDEP_H_
 3
 4#include "osdep_service.h"
 5#include "drv_types.h"
 6
 7struct 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;
14};
15
16#define NR_XMITFRAME	256
17
18struct xmit_priv;
19struct pkt_attrib;
20struct sta_xmit_priv;
21struct xmit_frame;
22struct xmit_buf;
23
24int r8712_xmit_entry(_pkt *pkt, struct  net_device *pnetdev);
25int r8712_xmit_resource_alloc(struct _adapter *padapter,
26			   struct xmit_buf *pxmitbuf);
27void r8712_xmit_resource_free(struct _adapter *padapter,
28			   struct xmit_buf *pxmitbuf);
29
30void r8712_set_qos(struct pkt_file *ppktfile,
31		    struct pkt_attrib *pattrib);
32void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
33uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
34sint r8712_endofpktfile(struct pkt_file *pfile);
35void r8712_xmit_complete(struct _adapter *padapter,
36			     struct xmit_frame *pxframe);
37
38#endif