Commit | Line | Data |
---|---|---|
0e54f609 AB |
1 | /****************************************************************************** |
2 | * | |
3 | * Copyright(c) 2007 - 2010 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 | * You should have received a copy of the GNU General Public License along with | |
15 | * this program; if not, write to the Free Software Foundation, Inc., | |
16 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA | |
17 | * | |
b4f6209d AB |
18 | * Modifications for inclusion into the Linux staging tree are |
19 | * Copyright(c) 2010 Larry Finger. All rights reserved. | |
20 | * | |
21 | * Contact information: | |
22 | * WLAN FAE <wlanfae@realtek.com> | |
23 | * Larry Finger <Larry.Finger@lwfinger.net> | |
0e54f609 AB |
24 | * |
25 | ******************************************************************************/ | |
2865d42c LF |
26 | #ifndef __RECV_OSDEP_H_ |
27 | #define __RECV_OSDEP_H_ | |
28 | ||
29 | #include "osdep_service.h" | |
30 | #include "drv_types.h" | |
31 | #include <linux/skbuff.h> | |
32 | ||
33 | sint _r8712_init_recv_priv(struct recv_priv *precvpriv, | |
34 | struct _adapter *padapter); | |
35 | void _r8712_free_recv_priv(struct recv_priv *precvpriv); | |
36 | s32 r8712_recv_entry(union recv_frame *precv_frame); | |
37 | void r8712_recv_indicatepkt(struct _adapter *adapter, | |
38 | union recv_frame *precv_frame); | |
39 | void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup); | |
0593758e JM |
40 | int r8712_init_recv_priv(struct recv_priv *precvpriv, |
41 | struct _adapter *padapter); | |
2865d42c LF |
42 | void r8712_free_recv_priv(struct recv_priv *precvpriv); |
43 | int r8712_os_recv_resource_alloc(struct _adapter *padapter, | |
44 | union recv_frame *precvframe); | |
45 | int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, | |
46 | struct recv_buf *precvbuf); | |
47 | int r8712_os_recvbuf_resource_free(struct _adapter *padapter, | |
48 | struct recv_buf *precvbuf); | |
49 | void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf); | |
50 | void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl); | |
51 | ||
52 | #endif |