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 void 35 _halrf_iqk_psd_init_8723f( 36 void *dm_void, 37 boolean onoff); 38 39 u64 40 halrf_get_iqk_psd_data( 41 void *dm_void, 42 u32 point); 43 44 u32 45 halrf_psd_query( 46 void *dm_void, 47 u32 *outbuf, 48 u32 buf_size); 49 50 u32 51 halrf_psd_init_query( 52 void *dm_void, 53 u32 *outbuf, 54 u32 point, 55 u32 start_point, 56 u32 stop_point, 57 u32 average, 58 u32 buf_size); 59 60 #endif /*#__HALRF_PSD_H__*/ 61