net: wireless: rockchip_wlan: add rtl8723ds support
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / rtl8723ds / hal / phydm / phydm_noisemonitor.h
1 /******************************************************************************\r
2  *\r
3  * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.\r
4  *                                        \r
5  * This program is free software; you can redistribute it and/or modify it\r
6  * under the terms of version 2 of the GNU General Public License as\r
7  * published by the Free Software Foundation.\r
8  *\r
9  * This program is distributed in the hope that it will be useful, but WITHOUT\r
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or\r
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for\r
12  * more details.\r
13  *\r
14  * You should have received a copy of the GNU General Public License along with\r
15  * this program; if not, write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA\r
17  *\r
18  *\r
19  *****************************************************************************/\r
20 #ifndef __ODMNOISEMONITOR_H__\r
21 #define __ODMNOISEMONITOR_H__\r
22 \r
23 #define ODM_MAX_CHANNEL_NUM                                     38//14+24\r
24 struct noise_level\r
25 {\r
26         //u1Byte                                value_a, value_b;\r
27         u1Byte                          value[MAX_RF_PATH];\r
28         //s1Byte                                sval_a, sval_b;\r
29         s1Byte                          sval[MAX_RF_PATH];\r
30         \r
31         //s4Byte                                noise_a=0, noise_b=0,sum_a=0, sum_b=0;\r
32         //s4Byte                                noise[ODM_RF_PATH_MAX];\r
33         s4Byte                          sum[MAX_RF_PATH];\r
34         //u1Byte                                valid_cnt_a=0, valid_cnt_b=0, \r
35         u1Byte                          valid[MAX_RF_PATH];\r
36         u1Byte                          valid_cnt[MAX_RF_PATH];\r
37 \r
38 };\r
39 \r
40 \r
41 typedef struct _ODM_NOISE_MONITOR_\r
42 {\r
43         s1Byte                  noise[MAX_RF_PATH];\r
44         s2Byte                  noise_all;      \r
45 }ODM_NOISE_MONITOR;\r
46 \r
47 s2Byte ODM_InbandNoise_Monitor(PVOID pDM_VOID,u8 bPauseDIG,u8 IGIValue,u32 max_time);\r
48 \r
49 #endif\r