Merge branch 'upstream' of git://git.linux-mips.org/pub/scm/upstream-linus
[linux-btrfs-devel.git] / drivers / staging / rtl8712 / recv_osdep.h
blob60a54dd90ff1587addfb3711f344b16c8fe1335c
1 #ifndef __RECV_OSDEP_H_
2 #define __RECV_OSDEP_H_
4 #include "osdep_service.h"
5 #include "drv_types.h"
6 #include <linux/skbuff.h>
8 sint _r8712_init_recv_priv(struct recv_priv *precvpriv,
9 struct _adapter *padapter);
10 void _r8712_free_recv_priv(struct recv_priv *precvpriv);
11 s32 r8712_recv_entry(union recv_frame *precv_frame);
12 void r8712_recv_indicatepkt(struct _adapter *adapter,
13 union recv_frame *precv_frame);
14 void r8712_handle_tkip_mic_err(struct _adapter *padapter, u8 bgroup);
15 int r8712_init_recv_priv(struct recv_priv *precvpriv,
16 struct _adapter *padapter);
17 void r8712_free_recv_priv(struct recv_priv *precvpriv);
18 int r8712_os_recv_resource_alloc(struct _adapter *padapter,
19 union recv_frame *precvframe);
20 int r8712_os_recvbuf_resource_alloc(struct _adapter *padapter,
21 struct recv_buf *precvbuf);
22 int r8712_os_recvbuf_resource_free(struct _adapter *padapter,
23 struct recv_buf *precvbuf);
24 void r8712_os_read_port(struct _adapter *padapter, struct recv_buf *precvbuf);
25 void r8712_init_recv_timer(struct recv_reorder_ctrl *preorder_ctrl);
27 #endif