Linux-libre 5.3.12-gnu
[librecmc/linux-libre.git] / drivers / staging / rtl8723bs / include / rtl8192c_recv.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /******************************************************************************
3  *
4  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
5  *
6  ******************************************************************************/
7 #ifndef _RTL8192C_RECV_H_
8 #define _RTL8192C_RECV_H_
9
10 #define RECV_BLK_SZ 512
11 #define RECV_BLK_CNT 16
12 #define RECV_BLK_TH RECV_BLK_CNT
13
14 #define MAX_RECVBUF_SZ (10240)
15
16 struct phy_stat
17 {
18         unsigned int phydw0;
19
20         unsigned int phydw1;
21
22         unsigned int phydw2;
23
24         unsigned int phydw3;
25
26         unsigned int phydw4;
27
28         unsigned int phydw5;
29
30         unsigned int phydw6;
31
32         unsigned int phydw7;
33 };
34
35 /*  Rx smooth factor */
36 #define Rx_Smooth_Factor (20)
37
38
39 void rtl8192c_translate_rx_signal_stuff(union recv_frame *precvframe, struct phy_stat *pphy_status);
40 void rtl8192c_query_rx_desc_status(union recv_frame *precvframe, struct recv_stat *pdesc);
41
42 #endif