Ali Bahar | 0e54f60 | 2011-08-23 13:53:37 +0800 | [diff] [blame^] | 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 | * |
| 18 | * |
| 19 | ******************************************************************************/ |
Larry Finger | 2865d42 | 2010-08-20 10:15:30 -0500 | [diff] [blame] | 20 | #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 | |
| 27 | sint _r8712_init_recv_priv(struct recv_priv *precvpriv, |
| 28 | struct _adapter *padapter); |
| 29 | void _r8712_free_recv_priv(struct recv_priv *precvpriv); |
| 30 | s32 r8712_recv_entry(union recv_frame *precv_frame); |
| 31 | void r8712_recv_indicatepkt(struct _adapter *adapter, |
| 32 | union recv_frame *precv_frame); |
| 33 | void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup); |
Javier M. Mellid | 0593758 | 2011-04-02 03:01:49 +0200 | [diff] [blame] | 34 | int r8712_init_recv_priv(struct recv_priv *precvpriv, |
| 35 | struct _adapter *padapter); |
Larry Finger | 2865d42 | 2010-08-20 10:15:30 -0500 | [diff] [blame] | 36 | void r8712_free_recv_priv(struct recv_priv *precvpriv); |
| 37 | int r8712_os_recv_resource_alloc(struct _adapter *padapter, |
| 38 | union recv_frame *precvframe); |
| 39 | int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, |
| 40 | struct recv_buf *precvbuf); |
| 41 | int r8712_os_recvbuf_resource_free(struct _adapter *padapter, |
| 42 | struct recv_buf *precvbuf); |
| 43 | void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf); |
| 44 | void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl); |
| 45 | |
| 46 | #endif |