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 unsigned int phydw0; 18 19 unsigned int phydw1; 20 21 unsigned int phydw2; 22 23 unsigned int phydw3; 24 25 unsigned int phydw4; 26 27 unsigned int phydw5; 28 29 unsigned int phydw6; 30 31 unsigned int phydw7; 32 }; 33 34 /* Rx smooth factor */ 35 #define Rx_Smooth_Factor (20) 36 37 38 void rtl8192c_translate_rx_signal_stuff(union recv_frame *precvframe, struct phy_stat *pphy_status); 39 void rtl8192c_query_rx_desc_status(union recv_frame *precvframe, struct recv_stat *pdesc); 40 41 #endif 42