1 /******************************************************************************
\r
3 * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved.
\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
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
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
19 ******************************************************************************/
\r
20 #ifndef __PHYDMRXHP_H__
\r
21 #define __PHYDMRXHP_H__
\r
23 #define RXHP_VERSION "1.0"
\r
25 #if (DM_ODM_SUPPORT_TYPE == ODM_WIN)
\r
27 #define AFH_PSD 1 //0:normal PSD scan, 1: only do 20 pts PSD
\r
28 #define MODE_40M 0 //0:20M, 1:40M
\r
30 #define PSD_CHMIN 20 // Minimum channel number for BT AFH
\r
31 #define SIR_STEP_SIZE 3
\r
32 #define Smooth_Size_1 5
\r
33 #define Smooth_TH_1 3
\r
34 #define Smooth_Size_2 10
\r
35 #define Smooth_TH_2 4
\r
36 #define Smooth_Size_3 20
\r
37 #define Smooth_TH_3 4
\r
38 #define Smooth_Step_Size 5
\r
39 #define Adaptive_SIR 1
\r
40 #define PSD_RESCAN 4
\r
41 #define PSD_SCAN_INTERVAL 700 //ms
\r
43 typedef struct _RX_High_Power_
\r
46 u1Byte PSD_func_trigger;
\r
47 u1Byte PSD_bitmap_RXHP[80];
\r
52 BOOLEAN First_time_enter;
\r
53 BOOLEAN RXHP_enable;
\r
57 RT_WORK_ITEM PSDTimeWorkitem;
\r
61 #define dm_PSDMonitorCallback odm_PSDMonitorCallback
\r
62 VOID odm_PSDMonitorCallback(PRT_TIMER pTimer);
\r
93 odm_PSD_RXHPWorkitemCallback(
98 odm_PSDMonitorWorkItemCallback(