]>
git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blob - drivers/staging/rtl8723au/include/xmit_osdep.h
1 /******************************************************************************
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5 * This program is free software; you can redistribute it and/or modify it
6 * under the terms of version 2 of the GNU General Public License as
7 * published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
14 ******************************************************************************/
15 #ifndef __XMIT_OSDEP_H_
16 #define __XMIT_OSDEP_H_
18 #include <osdep_service.h>
19 #include <drv_types.h>
23 __kernel_size_t pkt_len
; /* the remainder length of the open_file */
24 unsigned char *cur_buffer
;
27 __kernel_size_t buf_len
;
31 #define NR_XMITFRAME 256
39 int rtw_xmit23a_entry23a(struct sk_buff
*pkt
, struct net_device
*pnetdev
);
41 void rtw_os_xmit_schedule23a(struct rtw_adapter
*padapter
);
43 int rtw_os_xmit_resource_alloc23a(struct rtw_adapter
*padapter
,
44 struct xmit_buf
*pxmitbuf
, u32 alloc_sz
);
45 void rtw_os_xmit_resource_free23a(struct rtw_adapter
*padapter
,
46 struct xmit_buf
*pxmitbuf
);
47 uint
rtw_remainder_len23a(struct pkt_file
*pfile
);
48 void _rtw_open_pktfile23a(struct sk_buff
*pkt
, struct pkt_file
*pfile
);
49 uint
_rtw_pktfile_read23a(struct pkt_file
*pfile
, u8
*rmem
, uint rlen
);
50 int rtw_endofpktfile23a(struct pkt_file
*pfile
);
52 void rtw_os_pkt_complete23a(struct rtw_adapter
*padapter
, struct sk_buff
*pkt
);
53 void rtw_os_xmit_complete23a(struct rtw_adapter
*padapter
,
54 struct xmit_frame
*pxframe
);
55 int netdev_open23a(struct net_device
*pnetdev
);
57 #endif /* __XMIT_OSDEP_H_ */