xref: /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/phydm/halrf/halrf_psd.h (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1 /******************************************************************************
2  *
3  * Copyright(c) 2007 - 2017 Realtek Corporation.
4  *
5  * This program is free software; you can redistribute it and/or modify it
6  * under the terms of version 2 of the GNU General Public License as
7  * published by the Free Software Foundation.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT
10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12  * more details.
13  *
14  *****************************************************************************/
15 
16 #ifndef __HALRF_PSD_H__
17 #define __HALRF_PSD_H__
18 
19 
20 struct _halrf_psd_data {
21 	u32 point;
22 	u32 start_point;
23 	u32 stop_point;
24 	u32 average;
25 	u32 buf_size;
26 	u32 psd_data[256];
27 	u32 psd_progress;
28 };
29 
30 u32
31 halrf_psd_init(
32 	void *dm_void);
33 
34 u32
35 halrf_psd_query(
36 	void *dm_void,
37 	u32 *outbuf,
38 	u32 buf_size);
39 
40 u32
41 halrf_psd_init_query(
42 	void *dm_void,
43 	u32 *outbuf,
44 	u32 point,
45 	u32 start_point,
46 	u32 stop_point,
47 	u32 average,
48 	u32 buf_size);
49 
50 #endif /*#__HALRF_PSD_H__*/
51