blob: 1040f94828c01ce15a38a212bdca24d243065ccc [file] [log] [blame]
Ali Bahar0e54f602011-08-23 13:53:37 +08001/******************************************************************************
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 *
18 *
19 ******************************************************************************/
Larry Finger2865d422010-08-20 10:15:30 -050020#ifndef __RECV_OSDEP_H_
21#define __RECV_OSDEP_H_
22
23#include "osdep_service.h"
24#include "drv_types.h"
25#include <linux/skbuff.h>
26
27sint _r8712_init_recv_priv(struct recv_priv *precvpriv,
28 struct _adapter *padapter);
29void _r8712_free_recv_priv(struct recv_priv *precvpriv);
30s32 r8712_recv_entry(union recv_frame *precv_frame);
31void r8712_recv_indicatepkt(struct _adapter *adapter,
32 union recv_frame *precv_frame);
33void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup);
Javier M. Mellid05937582011-04-02 03:01:49 +020034int r8712_init_recv_priv(struct recv_priv *precvpriv,
35 struct _adapter *padapter);
Larry Finger2865d422010-08-20 10:15:30 -050036void r8712_free_recv_priv(struct recv_priv *precvpriv);
37int r8712_os_recv_resource_alloc(struct _adapter *padapter,
38 union recv_frame *precvframe);
39int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter,
40 struct recv_buf *precvbuf);
41int r8712_os_recvbuf_resource_free(struct _adapter *padapter,
42 struct recv_buf *precvbuf);
43void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf);
44void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
45
46#endif