recv_osdep.h (1510B)
1/* SPDX-License-Identifier: GPL-2.0 */ 2/****************************************************************************** 3 * 4 * Copyright(c) 2007 - 2010 Realtek Corporation. All rights reserved. 5 * 6 * Modifications for inclusion into the Linux staging tree are 7 * Copyright(c) 2010 Larry Finger. All rights reserved. 8 * 9 * Contact information: 10 * WLAN FAE <wlanfae@realtek.com> 11 * Larry Finger <Larry.Finger@lwfinger.net> 12 * 13 ******************************************************************************/ 14#ifndef __RECV_OSDEP_H_ 15#define __RECV_OSDEP_H_ 16 17#include "osdep_service.h" 18#include "drv_types.h" 19#include <linux/skbuff.h> 20 21void _r8712_init_recv_priv(struct recv_priv *precvpriv, 22 struct _adapter *padapter); 23void _r8712_free_recv_priv(struct recv_priv *precvpriv); 24void r8712_recv_entry(union recv_frame *precv_frame); 25void r8712_recv_indicatepkt(struct _adapter *adapter, 26 union recv_frame *precv_frame); 27void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup); 28void r8712_init_recv_priv(struct recv_priv *precvpriv, 29 struct _adapter *padapter); 30void r8712_free_recv_priv(struct recv_priv *precvpriv); 31void r8712_os_recv_resource_alloc(struct _adapter *padapter, 32 union recv_frame *precvframe); 33int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter, 34 struct recv_buf *precvbuf); 35void r8712_os_recvbuf_resource_free(struct _adapter *padapter, 36 struct recv_buf *precvbuf); 37void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl); 38 39#endif