• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef __XMIT_OSDEP_H_
8 #define __XMIT_OSDEP_H_
9 
10 #include <osdep_service.h>
11 #include <drv_types.h>
12 
13 #define NR_XMITFRAME	256
14 
15 struct xmit_priv;
16 struct pkt_attrib;
17 struct sta_xmit_priv;
18 struct xmit_frame;
19 struct xmit_buf;
20 
21 int rtw_xmit_entry(struct sk_buff *pkt, struct  net_device *pnetdev);
22 
23 void rtw_os_xmit_schedule(struct adapter *padapter);
24 
25 int rtw_os_xmit_resource_alloc(struct adapter *padapter,
26 			       struct xmit_buf *pxmitbuf, u32 alloc_sz);
27 void rtw_os_xmit_resource_free(struct xmit_buf *pxmitbuf);
28 
29 void rtw_os_pkt_complete(struct adapter *padapter, struct sk_buff *pkt);
30 void rtw_os_xmit_complete(struct adapter *padapter,
31 			  struct xmit_frame *pxframe);
32 
33 #endif /* __XMIT_OSDEP_H_ */
34