2011-08-22 23:53:37 -06:00
|
|
|
/******************************************************************************
|
|
|
|
*
|
|
|
|
* Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of version 2 of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License along with
|
|
|
|
* this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
|
|
|
|
*
|
|
|
|
*
|
|
|
|
******************************************************************************/
|
2010-08-20 09:15:30 -06:00
|
|
|
#ifndef __RECV_OSDEP_H_
|
|
|
|
#define __RECV_OSDEP_H_
|
|
|
|
|
|
|
|
#include "osdep_service.h"
|
|
|
|
#include "drv_types.h"
|
|
|
|
#include <linux/skbuff.h>
|
|
|
|
|
|
|
|
sint _r8712_init_recv_priv(struct recv_priv *precvpriv,
|
|
|
|
struct _adapter *padapter);
|
|
|
|
void _r8712_free_recv_priv(struct recv_priv *precvpriv);
|
|
|
|
s32 r8712_recv_entry(union recv_frame *precv_frame);
|
|
|
|
void r8712_recv_indicatepkt(struct _adapter *adapter,
|
|
|
|
union recv_frame *precv_frame);
|
|
|
|
void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup);
|
2011-04-01 19:01:49 -06:00
|
|
|
int r8712_init_recv_priv(struct recv_priv *precvpriv,
|
|
|
|
struct _adapter *padapter);
|
2010-08-20 09:15:30 -06:00
|
|
|
void r8712_free_recv_priv(struct recv_priv *precvpriv);
|
|
|
|
int r8712_os_recv_resource_alloc(struct _adapter *padapter,
|
|
|
|
union recv_frame *precvframe);
|
|
|
|
int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter,
|
|
|
|
struct recv_buf *precvbuf);
|
|
|
|
int r8712_os_recvbuf_resource_free(struct _adapter *padapter,
|
|
|
|
struct recv_buf *precvbuf);
|
|
|
|
void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf);
|
|
|
|
void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
|
|
|
|
|
|
|
|
#endif
|