2 * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License along
16 * with this program; if not, write to the Free Software Foundation, Inc.,
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 * Purpose: Country Code information
33 #if !defined(__TTYPE_H__)
38 /*--------------------- Export Definitions -------------------------*/
39 /************************************************************************
40 * The definition here should be complied with the INF country order
41 * Please check with VNWL.inf/VNWL64.inf/VNWL*.inf
42 ************************************************************************/
43 typedef enum _COUNTRY_CODE {
73 CCODE_BRUNEI_DARUSSALAM,
84 CCODE_DOMINICAN_REPUBLIC,
148 CCODE_TRINIDAD_TOBAGO,
153 CCODE_UNITED_ARAB_EMIRATES,
165 typedef struct tagSCountryTable
167 BYTE byChannelCountryCode; /* The country code */
168 CHAR chCountryCode[2];
169 BYTE bChannelIdxList[CB_MAX_CHANNEL]; /* Available channels Index */
170 BYTE byPower[CB_MAX_CHANNEL];
171 } SCountryTable, DEF* PSCountryTable;
173 /*--------------------- Export Classes ----------------------------*/
175 /*--------------------- Export Variables --------------------------*/
176 extern SCountryTable ChannelRuleTab[CCODE_MAX+1];
178 /*--------------------- Export Functions --------------------------*/
180 extern "C" { /* Assume C declarations for C++ */
181 #endif /* __cplusplus */
185 } /* End of extern "C" { */
186 #endif /* __cplusplus */
189 /************************************************************************
191 ************************************************************************/
192 #endif /* __COUNTRY_H__ */