[go: nahoru, domu]

1/******************************************************************************
2 *
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
4 *
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.
8 *
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
12 * more details.
13 *
14 ******************************************************************************/
15#ifndef __XMIT_OSDEP_H_
16#define __XMIT_OSDEP_H_
17
18#include <osdep_service.h>
19#include <drv_types.h>
20
21
22#define NR_XMITFRAME	256
23
24int rtw_xmit23a_entry23a(struct sk_buff *pkt, struct net_device *pnetdev);
25
26void rtw_os_xmit_schedule23a(struct rtw_adapter *padapter);
27
28int rtw_os_xmit_resource_alloc23a(struct rtw_adapter *padapter,
29			       struct xmit_buf *pxmitbuf, u32 alloc_sz);
30void rtw_os_xmit_resource_free23a(struct rtw_adapter *padapter,
31			       struct xmit_buf *pxmitbuf);
32
33void rtw_os_pkt_complete23a(struct rtw_adapter *padapter, struct sk_buff *pkt);
34void rtw_os_xmit_complete23a(struct rtw_adapter *padapter,
35			  struct xmit_frame *pxframe);
36int netdev_open23a(struct net_device *pnetdev);
37
38#endif /* __XMIT_OSDEP_H_ */
39