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>
22 #define NR_XMITFRAME 256
24 int rtw_xmit23a_entry23a(struct sk_buff *pkt, struct net_device *pnetdev);
26 void rtw_os_xmit_schedule23a(struct rtw_adapter *padapter);
28 int rtw_os_xmit_resource_alloc23a(struct rtw_adapter *padapter,
29 struct xmit_buf *pxmitbuf, u32 alloc_sz);
30 void rtw_os_xmit_resource_free23a(struct rtw_adapter *padapter,
31 struct xmit_buf *pxmitbuf);
33 void rtw_os_pkt_complete23a(struct rtw_adapter *padapter, struct sk_buff *pkt);
34 void rtw_os_xmit_complete23a(struct rtw_adapter *padapter,
35 struct xmit_frame *pxframe);
36 int netdev_open23a(struct net_device *pnetdev);
38 #endif /* __XMIT_OSDEP_H_ */