ah_rd_ctry.h revision 285830
1/* 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * Copyright (c) 2005-2011 Atheros Communications, Inc. 4 * All rights reserved. 5 * 6 * Permission to use, copy, modify, and/or distribute this software for any 7 * purpose with or without fee is hereby granted, provided that the above 8 * copyright notice and this permission notice appear in all copies. 9 * 10 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 11 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 12 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 13 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 14 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 15 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17 * 18 * $FreeBSD: releng/10.2/sys/dev/ath/ath_hal/ah_regdomain/ah_rd_ctry.h 224226 2011-07-20 12:46:58Z adrian $ 19 */ 20 21#ifndef __AH_REGDOMAIN_CTRY_H__ 22#define __AH_REGDOMAIN_CTRY_H__ 23 24#define DEF_REGDMN FCC1_FCCA 25 26/* 27 * This table maps country ISO codes from net80211 into regulatory 28 * domains which the ath regulatory domain code understands. 29 */ 30static COUNTRY_CODE_TO_ENUM_RD allCountries[] = { 31 { CTRY_DEBUG, NO_ENUMRD }, 32 { CTRY_DEFAULT, DEF_REGDMN }, 33 { CTRY_ALBANIA, NULL1_WORLD }, 34 { CTRY_ALGERIA, NULL1_WORLD }, 35 { CTRY_ARGENTINA, APL3_WORLD }, 36 { CTRY_ARMENIA, ETSI4_WORLD }, 37 { CTRY_AUSTRALIA, FCC3_WORLD }, 38 { CTRY_AUSTRIA, ETSI1_WORLD }, 39 { CTRY_AZERBAIJAN, ETSI4_WORLD }, 40 { CTRY_BAHRAIN, APL6_WORLD }, 41 { CTRY_BELARUS, NULL1_WORLD }, 42 { CTRY_BELGIUM, ETSI1_WORLD }, 43 { CTRY_BELIZE, APL1_ETSIC }, 44 { CTRY_BOLIVIA, APL1_ETSIC }, 45 { CTRY_BRAZIL, FCC3_WORLD }, 46 { CTRY_BRUNEI_DARUSSALAM,APL1_WORLD }, 47 { CTRY_BULGARIA, ETSI6_WORLD }, 48 { CTRY_CANADA, FCC2_FCCA }, 49 { CTRY_CHILE, APL6_WORLD }, 50 { CTRY_CHINA, APL1_WORLD }, 51 { CTRY_COLOMBIA, FCC1_FCCA }, 52 { CTRY_COSTA_RICA, NULL1_WORLD }, 53 { CTRY_CROATIA, ETSI3_WORLD }, 54 { CTRY_CYPRUS, ETSI1_WORLD }, 55 { CTRY_CZECH, ETSI1_WORLD }, 56 { CTRY_DENMARK, ETSI1_WORLD }, 57 { CTRY_DOMINICAN_REPUBLIC,FCC1_FCCA }, 58 { CTRY_ECUADOR, NULL1_WORLD }, 59 { CTRY_EGYPT, ETSI3_WORLD }, 60 { CTRY_EL_SALVADOR, NULL1_WORLD }, 61 { CTRY_ESTONIA, ETSI1_WORLD }, 62 { CTRY_FINLAND, ETSI1_WORLD }, 63 { CTRY_FRANCE, ETSI1_WORLD }, 64 { CTRY_FRANCE2, ETSI3_WORLD }, 65 { CTRY_GEORGIA, ETSI4_WORLD }, 66 { CTRY_GERMANY, ETSI1_WORLD }, 67 { CTRY_GREECE, ETSI1_WORLD }, 68 { CTRY_GUATEMALA, FCC1_FCCA }, 69 { CTRY_HONDURAS, NULL1_WORLD }, 70 { CTRY_HONG_KONG, FCC2_WORLD }, 71 { CTRY_HUNGARY, ETSI1_WORLD }, 72 { CTRY_ICELAND, ETSI1_WORLD }, 73 { CTRY_INDIA, APL6_WORLD }, 74 { CTRY_INDONESIA, APL1_WORLD }, 75 { CTRY_IRAN, APL1_WORLD }, 76 { CTRY_IRELAND, ETSI1_WORLD }, 77 { CTRY_ISRAEL, NULL1_WORLD }, 78 { CTRY_ITALY, ETSI1_WORLD }, 79 { CTRY_JAPAN, MKK1_MKKA }, 80 { CTRY_JAPAN1, MKK1_MKKB }, 81 { CTRY_JAPAN2, MKK1_FCCA }, 82 { CTRY_JAPAN3, MKK2_MKKA }, 83 { CTRY_JAPAN4, MKK1_MKKA1 }, 84 { CTRY_JAPAN5, MKK1_MKKA2 }, 85 { CTRY_JAPAN6, MKK1_MKKC }, 86 87 { CTRY_JAPAN7, MKK3_MKKB }, 88 { CTRY_JAPAN8, MKK3_MKKA2 }, 89 { CTRY_JAPAN9, MKK3_MKKC }, 90 91 { CTRY_JAPAN10, MKK4_MKKB }, 92 { CTRY_JAPAN11, MKK4_MKKA2 }, 93 { CTRY_JAPAN12, MKK4_MKKC }, 94 95 { CTRY_JAPAN13, MKK5_MKKB }, 96 { CTRY_JAPAN14, MKK5_MKKA2 }, 97 { CTRY_JAPAN15, MKK5_MKKC }, 98 99 { CTRY_JAPAN16, MKK6_MKKB }, 100 { CTRY_JAPAN17, MKK6_MKKA2 }, 101 { CTRY_JAPAN18, MKK6_MKKC }, 102 103 { CTRY_JAPAN19, MKK7_MKKB }, 104 { CTRY_JAPAN20, MKK7_MKKA2 }, 105 { CTRY_JAPAN21, MKK7_MKKC }, 106 107 { CTRY_JAPAN22, MKK8_MKKB }, 108 { CTRY_JAPAN23, MKK8_MKKA2 }, 109 { CTRY_JAPAN24, MKK8_MKKC }, 110 111 { CTRY_JORDAN, APL4_WORLD }, 112 { CTRY_KAZAKHSTAN, NULL1_WORLD }, 113 { CTRY_KOREA_NORTH, APL2_WORLD }, 114 { CTRY_KOREA_ROC, APL2_WORLD }, 115 { CTRY_KOREA_ROC2, APL2_WORLD }, 116 { CTRY_KOREA_ROC3, APL9_WORLD }, 117 { CTRY_KUWAIT, NULL1_WORLD }, 118 { CTRY_LATVIA, ETSI1_WORLD }, 119 { CTRY_LEBANON, NULL1_WORLD }, 120 { CTRY_LIECHTENSTEIN,ETSI1_WORLD }, 121 { CTRY_LITHUANIA, ETSI1_WORLD }, 122 { CTRY_LUXEMBOURG, ETSI1_WORLD }, 123 { CTRY_MACAU, FCC2_WORLD }, 124 { CTRY_MACEDONIA, NULL1_WORLD }, 125 { CTRY_MALAYSIA, APL8_WORLD }, 126 { CTRY_MALTA, ETSI1_WORLD }, 127 { CTRY_MEXICO, FCC1_FCCA }, 128 { CTRY_MONACO, ETSI4_WORLD }, 129 { CTRY_MOROCCO, NULL1_WORLD }, 130 { CTRY_NETHERLANDS, ETSI1_WORLD }, 131 { CTRY_NEW_ZEALAND, FCC2_ETSIC }, 132 { CTRY_NORWAY, ETSI1_WORLD }, 133 { CTRY_OMAN, APL6_WORLD }, 134 { CTRY_PAKISTAN, NULL1_WORLD }, 135 { CTRY_PANAMA, FCC1_FCCA }, 136 { CTRY_PERU, APL1_WORLD }, 137 { CTRY_PHILIPPINES, FCC3_WORLD }, 138 { CTRY_POLAND, ETSI1_WORLD }, 139 { CTRY_PORTUGAL, ETSI1_WORLD }, 140 { CTRY_PUERTO_RICO, FCC1_FCCA }, 141 { CTRY_QATAR, NULL1_WORLD }, 142 { CTRY_ROMANIA, NULL1_WORLD }, 143 { CTRY_RUSSIA, NULL1_WORLD }, 144 { CTRY_SAUDI_ARABIA,FCC2_WORLD }, 145 { CTRY_SINGAPORE, APL6_WORLD }, 146 { CTRY_SLOVAKIA, ETSI1_WORLD }, 147 { CTRY_SLOVENIA, ETSI1_WORLD }, 148 { CTRY_SOUTH_AFRICA,FCC3_WORLD }, 149 { CTRY_SPAIN, ETSI1_WORLD }, 150 { CTRY_SWEDEN, ETSI1_WORLD }, 151 { CTRY_SWITZERLAND, ETSI1_WORLD }, 152 { CTRY_SYRIA, NULL1_WORLD }, 153 { CTRY_TAIWAN, APL3_FCCA }, 154 { CTRY_THAILAND, FCC3_WORLD }, 155 { CTRY_TRINIDAD_Y_TOBAGO,ETSI4_WORLD }, 156 { CTRY_TUNISIA, ETSI3_WORLD }, 157 { CTRY_TURKEY, ETSI3_WORLD }, 158 { CTRY_UKRAINE, NULL1_WORLD }, 159 { CTRY_UAE, NULL1_WORLD }, 160 { CTRY_UNITED_KINGDOM, ETSI1_WORLD }, 161 { CTRY_UNITED_STATES, FCC1_FCCA }, 162 { CTRY_UNITED_STATES_FCC49,FCC4_FCCA }, 163 { CTRY_URUGUAY, FCC1_WORLD }, 164 { CTRY_UZBEKISTAN, FCC3_FCCA }, 165 { CTRY_VENEZUELA, APL2_ETSIC }, 166 { CTRY_VIET_NAM, NULL1_WORLD }, 167 { CTRY_ZIMBABWE, NULL1_WORLD } 168}; 169 170#endif 171