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
21 #ifndef __PHYDMACS_H__
\r
22 #define __PHYDMACS_H__
\r
24 #define ACS_VERSION "1.0"
\r
26 #define ODM_MAX_CHANNEL_2G 14
\r
27 #define ODM_MAX_CHANNEL_5G 24
\r
29 typedef struct _ACS_
\r
31 BOOLEAN bForceACSResult;
\r
32 u1Byte CleanChannel_2G;
\r
33 u1Byte CleanChannel_5G;
\r
34 u2Byte Channel_Info_2G[2][ODM_MAX_CHANNEL_2G]; //Channel_Info[1]: Channel Score, Channel_Info[2]:Channel_Scan_Times
\r
35 u2Byte Channel_Info_5G[2][ODM_MAX_CHANNEL_5G];
\r
40 odm_AutoChannelSelectInit(
\r
45 odm_AutoChannelSelectReset(
\r
50 odm_AutoChannelSelect(
\r
56 ODM_GetAutoChannelSelectResult(
\r