0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #ifndef __XMIT_OSDEP_H_
0015 #define __XMIT_OSDEP_H_
0016
0017 #include "osdep_service.h"
0018 #include "drv_types.h"
0019
0020 struct pkt_file {
0021 _pkt *pkt;
0022 u32 pkt_len;
0023 _buffer *cur_buffer;
0024 u8 *buf_start;
0025 u8 *cur_addr;
0026 u32 buf_len;
0027 };
0028
0029 #define NR_XMITFRAME 256
0030
0031 struct xmit_priv;
0032 struct pkt_attrib;
0033 struct sta_xmit_priv;
0034 struct xmit_frame;
0035 struct xmit_buf;
0036
0037 int r8712_xmit_entry(_pkt *pkt, struct net_device *pnetdev);
0038 void r8712_SetFilter(struct work_struct *work);
0039 int r8712_xmit_resource_alloc(struct _adapter *padapter,
0040 struct xmit_buf *pxmitbuf);
0041 void r8712_xmit_resource_free(struct _adapter *padapter,
0042 struct xmit_buf *pxmitbuf);
0043
0044 void r8712_set_qos(struct pkt_file *ppktfile,
0045 struct pkt_attrib *pattrib);
0046 void _r8712_open_pktfile(_pkt *pktptr, struct pkt_file *pfile);
0047 uint _r8712_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
0048 sint r8712_endofpktfile(struct pkt_file *pfile);
0049 void r8712_xmit_complete(struct _adapter *padapter,
0050 struct xmit_frame *pxframe);
0051
0052 #endif