Merge tag 'sound-5.13-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai...
[linux-2.6-microblaze.git] / drivers / staging / rtl8712 / recv_osdep.h
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
21 void _r8712_init_recv_priv(struct recv_priv *precvpriv,
22                            struct _adapter *padapter);
23 void _r8712_free_recv_priv(struct recv_priv *precvpriv);
24 void r8712_recv_entry(union recv_frame *precv_frame);
25 void r8712_recv_indicatepkt(struct _adapter *adapter,
26                             union recv_frame *precv_frame);
27 void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup);
28 void r8712_init_recv_priv(struct recv_priv *precvpriv,
29                           struct _adapter *padapter);
30 void r8712_free_recv_priv(struct recv_priv *precvpriv);
31 void r8712_os_recv_resource_alloc(struct _adapter *padapter,
32                                   union recv_frame *precvframe);
33 int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter,
34                                     struct recv_buf *precvbuf);
35 void r8712_os_recvbuf_resource_free(struct _adapter *padapter,
36                                     struct recv_buf *precvbuf);
37 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
38
39 #endif