1 /* 2 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 3 * Copyright (c) 2005-2006 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$ 19 */ 20 21 #ifndef __AH_REGDOMAIN_FREQBANDS_H__ 22 #define __AH_REGDOMAIN_FREQBANDS_H__ 23 24 #define AFTER(x) ((x)+1) 25 26 /* 27 * Frequency band collections are defined using bitmasks. Each bit 28 * in a mask is the index of an entry in one of the following tables. 29 * Bitmasks are BMLEN*64 bits so if a table grows beyond that the bit 30 * vectors must be enlarged or the tables split somehow (e.g. split 31 * 1/2 and 1/4 rate channels into a separate table). 32 * 33 * Beware of ordering; the indices are defined relative to the preceding 34 * entry so if things get off there will be confusion. A good way to 35 * check the indices is to collect them in a switch statement in a stub 36 * function so the compiler checks for duplicates. 37 */ 38 39 /* 40 * 5GHz 11A channel tags 41 */ 42 static REG_DMN_FREQ_BAND regDmn5GhzFreq[] = { 43 { 4915, 4925, 23, 0, 10, 5, NO_DFS, PSCAN_MKK2 }, 44 #define F1_4915_4925 0 45 { 4935, 4945, 23, 0, 10, 5, NO_DFS, PSCAN_MKK2 }, 46 #define F1_4935_4945 AFTER(F1_4915_4925) 47 { 4920, 4980, 23, 0, 20, 20, NO_DFS, PSCAN_MKK2 }, 48 #define F1_4920_4980 AFTER(F1_4935_4945) 49 { 4942, 4987, 27, 6, 5, 5, NO_DFS, PSCAN_FCC }, 50 #define F1_4942_4987 AFTER(F1_4920_4980) 51 { 4945, 4985, 30, 6, 10, 5, NO_DFS, PSCAN_FCC }, 52 #define F1_4945_4985 AFTER(F1_4942_4987) 53 { 4950, 4980, 33, 6, 20, 5, NO_DFS, PSCAN_FCC }, 54 #define F1_4950_4980 AFTER(F1_4945_4985) 55 { 5035, 5040, 23, 0, 10, 5, NO_DFS, PSCAN_MKK2 }, 56 #define F1_5035_5040 AFTER(F1_4950_4980) 57 { 5040, 5080, 23, 0, 20, 20, NO_DFS, PSCAN_MKK2 }, 58 #define F1_5040_5080 AFTER(F1_5035_5040) 59 { 5055, 5055, 23, 0, 10, 5, NO_DFS, PSCAN_MKK2 }, 60 #define F1_5055_5055 AFTER(F1_5040_5080) 61 62 { 5120, 5240, 5, 6, 20, 20, NO_DFS, NO_PSCAN }, 63 #define F1_5120_5240 AFTER(F1_5055_5055) 64 { 5120, 5240, 5, 6, 10, 10, NO_DFS, NO_PSCAN }, 65 #define F2_5120_5240 AFTER(F1_5120_5240) 66 { 5120, 5240, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 67 #define F3_5120_5240 AFTER(F2_5120_5240) 68 69 { 5170, 5230, 23, 0, 20, 20, NO_DFS, PSCAN_MKK1 | PSCAN_MKK2 }, 70 #define F1_5170_5230 AFTER(F3_5120_5240) 71 { 5170, 5230, 20, 0, 20, 20, NO_DFS, PSCAN_MKK1 | PSCAN_MKK2 }, 72 #define F2_5170_5230 AFTER(F1_5170_5230) 73 74 { 5180, 5240, 15, 0, 20, 20, NO_DFS, PSCAN_FCC | PSCAN_ETSI }, 75 #define F1_5180_5240 AFTER(F2_5170_5230) 76 { 5180, 5240, 17, 6, 20, 20, NO_DFS, PSCAN_FCC }, 77 #define F2_5180_5240 AFTER(F1_5180_5240) 78 { 5180, 5240, 18, 0, 20, 20, NO_DFS, PSCAN_FCC | PSCAN_ETSI }, 79 #define F3_5180_5240 AFTER(F2_5180_5240) 80 { 5180, 5240, 20, 0, 20, 20, NO_DFS, PSCAN_FCC | PSCAN_ETSI }, 81 #define F4_5180_5240 AFTER(F3_5180_5240) 82 { 5180, 5240, 23, 0, 20, 20, NO_DFS, PSCAN_FCC | PSCAN_ETSI }, 83 #define F5_5180_5240 AFTER(F4_5180_5240) 84 { 5180, 5240, 23, 6, 20, 20, NO_DFS, PSCAN_FCC }, 85 #define F6_5180_5240 AFTER(F5_5180_5240) 86 { 5180, 5240, 17, 6, 20, 10, NO_DFS, PSCAN_FCC }, 87 #define F7_5180_5240 AFTER(F6_5180_5240) 88 { 5180, 5240, 17, 6, 20, 5, NO_DFS, PSCAN_FCC }, 89 #define F8_5180_5240 AFTER(F7_5180_5240) 90 { 5180, 5320, 20, 6, 20, 20, DFS_ETSI, PSCAN_ETSI }, 91 92 #define F1_5180_5320 AFTER(F8_5180_5240) 93 { 5240, 5280, 23, 0, 20, 20, DFS_FCC3, PSCAN_FCC | PSCAN_ETSI }, 94 95 #define F1_5240_5280 AFTER(F1_5180_5320) 96 { 5260, 5280, 23, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC | PSCAN_ETSI }, 97 98 #define F1_5260_5280 AFTER(F1_5240_5280) 99 { 5260, 5320, 18, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC | PSCAN_ETSI }, 100 101 #define F1_5260_5320 AFTER(F1_5260_5280) 102 { 5260, 5320, 20, 0, 20, 20, DFS_FCC3 | DFS_ETSI | DFS_MKK4, PSCAN_FCC | PSCAN_ETSI | PSCAN_MKK3 }, 103 #define F2_5260_5320 AFTER(F1_5260_5320) 104 105 { 5260, 5320, 20, 6, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 106 #define F3_5260_5320 AFTER(F2_5260_5320) 107 { 5260, 5320, 23, 6, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 108 #define F4_5260_5320 AFTER(F3_5260_5320) 109 { 5260, 5320, 23, 6, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 110 #define F5_5260_5320 AFTER(F4_5260_5320) 111 { 5260, 5320, 30, 0, 20, 20, NO_DFS, NO_PSCAN }, 112 #define F6_5260_5320 AFTER(F5_5260_5320) 113 { 5260, 5320, 23, 6, 20, 10, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 114 #define F7_5260_5320 AFTER(F6_5260_5320) 115 { 5260, 5320, 23, 6, 20, 5, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 116 #define F8_5260_5320 AFTER(F7_5260_5320) 117 118 { 5260, 5700, 5, 6, 20, 20, DFS_FCC3 | DFS_ETSI, NO_PSCAN }, 119 #define F1_5260_5700 AFTER(F8_5260_5320) 120 { 5260, 5700, 5, 6, 10, 10, DFS_FCC3 | DFS_ETSI, NO_PSCAN }, 121 #define F2_5260_5700 AFTER(F1_5260_5700) 122 { 5260, 5700, 5, 6, 5, 5, DFS_FCC3 | DFS_ETSI, NO_PSCAN }, 123 #define F3_5260_5700 AFTER(F2_5260_5700) 124 125 { 5280, 5320, 17, 6, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 126 #define F1_5280_5320 AFTER(F3_5260_5700) 127 128 { 5500, 5580, 23, 6, 20, 20, DFS_FCC3, PSCAN_FCC }, 129 #define F1_5500_5580 AFTER(F1_5280_5320) 130 131 { 5500, 5620, 30, 6, 20, 20, DFS_ETSI, PSCAN_ETSI }, 132 #define F1_5500_5620 AFTER(F1_5500_5580) 133 134 { 5500, 5700, 20, 6, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC }, 135 #define F1_5500_5700 AFTER(F1_5500_5620) 136 { 5500, 5700, 27, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC | PSCAN_ETSI }, 137 #define F2_5500_5700 AFTER(F1_5500_5700) 138 { 5500, 5700, 30, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC | PSCAN_ETSI }, 139 #define F3_5500_5700 AFTER(F2_5500_5700) 140 { 5500, 5700, 23, 0, 20, 20, DFS_FCC3 | DFS_ETSI | DFS_MKK4, PSCAN_MKK3 | PSCAN_FCC }, 141 #define F4_5500_5700 AFTER(F3_5500_5700) 142 { 5660, 5720, 23, 6, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_FCC | PSCAN_ETSI }, 143 #define F2_5660_5720 AFTER(F4_5500_5700) 144 145 { 5745, 5805, 23, 0, 20, 20, NO_DFS, NO_PSCAN }, 146 #define F1_5745_5805 AFTER(F2_5660_5720) 147 { 5745, 5805, 30, 6, 20, 20, NO_DFS, NO_PSCAN }, 148 #define F2_5745_5805 AFTER(F1_5745_5805) 149 { 5745, 5805, 30, 6, 20, 20, DFS_ETSI, PSCAN_ETSI }, 150 #define F3_5745_5805 AFTER(F2_5745_5805) 151 { 5745, 5825, 5, 6, 20, 20, NO_DFS, NO_PSCAN }, 152 #define F1_5745_5825 AFTER(F3_5745_5805) 153 { 5745, 5825, 17, 0, 20, 20, NO_DFS, NO_PSCAN }, 154 #define F2_5745_5825 AFTER(F1_5745_5825) 155 { 5745, 5825, 20, 0, 20, 20, NO_DFS, NO_PSCAN }, 156 #define F3_5745_5825 AFTER(F2_5745_5825) 157 { 5745, 5825, 30, 0, 20, 20, NO_DFS, NO_PSCAN }, 158 #define F4_5745_5825 AFTER(F3_5745_5825) 159 { 5745, 5825, 30, 6, 20, 20, NO_DFS, NO_PSCAN }, 160 #define F5_5745_5825 AFTER(F4_5745_5825) 161 { 5745, 5825, 30, 6, 20, 20, NO_DFS, NO_PSCAN }, 162 #define F6_5745_5825 AFTER(F5_5745_5825) 163 { 5745, 5825, 5, 6, 10, 10, NO_DFS, NO_PSCAN }, 164 #define F7_5745_5825 AFTER(F6_5745_5825) 165 { 5745, 5825, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 166 #define F8_5745_5825 AFTER(F7_5745_5825) 167 { 5745, 5825, 30, 6, 20, 10, NO_DFS, NO_PSCAN }, 168 #define F9_5745_5825 AFTER(F8_5745_5825) 169 { 5745, 5825, 30, 6, 20, 5, NO_DFS, NO_PSCAN }, 170 #define F10_5745_5825 AFTER(F9_5745_5825) 171 172 /* 173 * Below are the world roaming channels 174 * All WWR domains have no power limit, instead use the card's CTL 175 * or max power settings. 176 */ 177 { 4920, 4980, 30, 0, 20, 20, NO_DFS, PSCAN_WWR }, 178 #define W1_4920_4980 AFTER(F10_5745_5825) 179 { 5040, 5080, 30, 0, 20, 20, NO_DFS, PSCAN_WWR }, 180 #define W1_5040_5080 AFTER(W1_4920_4980) 181 { 5170, 5230, 30, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 182 #define W1_5170_5230 AFTER(W1_5040_5080) 183 { 5180, 5240, 30, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 184 #define W1_5180_5240 AFTER(W1_5170_5230) 185 { 5260, 5320, 30, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 186 #define W1_5260_5320 AFTER(W1_5180_5240) 187 { 5745, 5825, 30, 0, 20, 20, NO_DFS, PSCAN_WWR }, 188 #define W1_5745_5825 AFTER(W1_5260_5320) 189 { 5500, 5700, 30, 0, 20, 20, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 190 #define W1_5500_5700 AFTER(W1_5745_5825) 191 { 5260, 5320, 30, 0, 20, 20, NO_DFS, NO_PSCAN }, 192 #define W2_5260_5320 AFTER(W1_5500_5700) 193 { 5180, 5240, 30, 0, 20, 20, NO_DFS, NO_PSCAN }, 194 #define W2_5180_5240 AFTER(W2_5260_5320) 195 { 5825, 5825, 30, 0, 20, 20, NO_DFS, PSCAN_WWR }, 196 #define W2_5825_5825 AFTER(W2_5180_5240) 197 }; 198 199 200 /* 201 * 5GHz Turbo (dynamic & static) tags 202 */ 203 static REG_DMN_FREQ_BAND regDmn5GhzTurboFreq[] = { 204 { 5130, 5210, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 205 #define T1_5130_5210 0 206 { 5250, 5330, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 207 #define T1_5250_5330 AFTER(T1_5130_5210) 208 { 5370, 5490, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 209 #define T1_5370_5490 AFTER(T1_5250_5330) 210 { 5530, 5650, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 211 #define T1_5530_5650 AFTER(T1_5370_5490) 212 { 5200, 5200, 23, 6, 40, 40, NO_DFS, NO_PSCAN }, 213 #define T7_5200_5200 AFTER(T1_5530_5650) 214 { 5150, 5190, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 215 #define T1_5230_5310 AFTER(T7_5200_5200) 216 { 5350, 5470, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 217 #define T1_5150_5190 AFTER(T1_5230_5310) 218 { 5230, 5310, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 219 #define T1_5350_5470 AFTER(T1_5150_5190) 220 { 5510, 5670, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 221 #define T1_5510_5670 AFTER(T1_5350_5470) 222 223 { 5200, 5240, 17, 6, 40, 40, NO_DFS, NO_PSCAN }, 224 #define T1_5200_5240 AFTER(T1_5510_5670) 225 { 5200, 5240, 23, 6, 40, 40, NO_DFS, NO_PSCAN }, 226 #define T2_5200_5240 AFTER(T1_5200_5240) 227 { 5210, 5210, 17, 6, 40, 40, NO_DFS, NO_PSCAN }, 228 #define T1_5210_5210 AFTER(T2_5200_5240) 229 { 5210, 5210, 23, 0, 40, 40, NO_DFS, NO_PSCAN }, 230 #define T2_5210_5210 AFTER(T1_5210_5210) 231 { 5210, 5210, 23, 6, 40, 40, NO_DFS, NO_PSCAN }, 232 #define T7_5210_5210 AFTER(T2_5210_5210) 233 234 { 5240, 5240, 23, 6, 40, 40, NO_DFS, PSCAN_FCC_T }, 235 #define T1_5240_5240 AFTER(T7_5210_5210) 236 { 5280, 5280, 23, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 237 #define T1_5280_5280 AFTER(T1_5240_5240) 238 { 5280, 5280, 20, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 239 #define T2_5280_5280 AFTER(T1_5280_5280) 240 { 5250, 5250, 17, 0, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 241 #define T1_5250_5250 AFTER(T2_5280_5280) 242 { 5290, 5290, 20, 0, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 243 #define T1_5290_5290 AFTER(T1_5250_5250) 244 { 5250, 5290, 20, 0, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 245 #define T1_5250_5290 AFTER(T1_5290_5290) 246 { 5250, 5290, 23, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 247 #define T2_5250_5290 AFTER(T1_5250_5290) 248 { 5250, 5290, 23, 6, 40, 40, NO_DFS, PSCAN_FCC_T }, 249 #define T3_5250_5290 AFTER(T2_5250_5290) 250 251 { 5540, 5660, 20, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 252 #define T1_5540_5660 AFTER(T3_5250_5290) 253 { 5760, 5800, 20, 0, 40, 40, NO_DFS, NO_PSCAN }, 254 #define T1_5760_5800 AFTER(T1_5540_5660) 255 { 5760, 5800, 30, 6, 40, 40, NO_DFS, NO_PSCAN }, 256 #define T2_5760_5800 AFTER(T1_5760_5800) 257 258 { 5765, 5805, 30, 6, 40, 40, NO_DFS, NO_PSCAN }, 259 #define T1_5765_5805 AFTER(T2_5760_5800) 260 261 /* 262 * Below are the WWR frequencies 263 */ 264 { 5210, 5250, 15, 0, 40, 40, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 265 #define WT1_5210_5250 AFTER(T1_5765_5805) 266 { 5290, 5290, 18, 0, 40, 40, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 267 #define WT1_5290_5290 AFTER(WT1_5210_5250) 268 { 5540, 5660, 20, 0, 40, 40, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 269 #define WT1_5540_5660 AFTER(WT1_5290_5290) 270 { 5760, 5800, 20, 0, 40, 40, NO_DFS, PSCAN_WWR }, 271 #define WT1_5760_5800 AFTER(WT1_5540_5660) 272 }; 273 274 /* 275 * 2GHz 11b channel tags 276 */ 277 static REG_DMN_FREQ_BAND regDmn2GhzFreq[] = { 278 { 2312, 2372, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 279 #define F1_2312_2372 0 280 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 281 #define F2_2312_2372 AFTER(F1_2312_2372) 282 283 { 2412, 2472, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 284 #define F1_2412_2472 AFTER(F2_2312_2372) 285 { 2412, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA }, 286 #define F2_2412_2472 AFTER(F1_2412_2472) 287 { 2412, 2472, 30, 0, 20, 5, NO_DFS, NO_PSCAN }, 288 #define F3_2412_2472 AFTER(F2_2412_2472) 289 290 { 2412, 2462, 27, 6, 20, 5, NO_DFS, NO_PSCAN }, 291 #define F1_2412_2462 AFTER(F3_2412_2472) 292 { 2412, 2462, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA }, 293 #define F2_2412_2462 AFTER(F1_2412_2462) 294 295 { 2432, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 296 #define F1_2432_2442 AFTER(F2_2412_2462) 297 298 { 2457, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 299 #define F1_2457_2472 AFTER(F1_2432_2442) 300 301 { 2467, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA2 | PSCAN_MKKA }, 302 #define F1_2467_2472 AFTER(F1_2457_2472) 303 304 { 2484, 2484, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 305 #define F1_2484_2484 AFTER(F1_2467_2472) 306 { 2484, 2484, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA | PSCAN_MKKA1 | PSCAN_MKKA2 }, 307 #define F2_2484_2484 AFTER(F1_2484_2484) 308 309 { 2512, 2732, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 310 #define F1_2512_2732 AFTER(F2_2484_2484) 311 312 /* 313 * WWR have powers opened up to 20dBm. 314 * Limits should often come from CTL/Max powers 315 */ 316 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 317 #define W1_2312_2372 AFTER(F1_2512_2732) 318 { 2412, 2412, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 319 #define W1_2412_2412 AFTER(W1_2312_2372) 320 { 2417, 2432, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 321 #define W1_2417_2432 AFTER(W1_2412_2412) 322 { 2437, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 323 #define W1_2437_2442 AFTER(W1_2417_2432) 324 { 2447, 2457, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 325 #define W1_2447_2457 AFTER(W1_2437_2442) 326 { 2462, 2462, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 327 #define W1_2462_2462 AFTER(W1_2447_2457) 328 { 2467, 2467, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 329 #define W1_2467_2467 AFTER(W1_2462_2462) 330 { 2467, 2467, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 331 #define W2_2467_2467 AFTER(W1_2467_2467) 332 { 2472, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 333 #define W1_2472_2472 AFTER(W2_2467_2467) 334 { 2472, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 335 #define W2_2472_2472 AFTER(W1_2472_2472) 336 { 2484, 2484, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 337 #define W1_2484_2484 AFTER(W2_2472_2472) 338 { 2484, 2484, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 339 #define W2_2484_2484 AFTER(W1_2484_2484) 340 }; 341 342 /* 343 * 2GHz 11g channel tags 344 */ 345 static REG_DMN_FREQ_BAND regDmn2Ghz11gFreq[] = { 346 { 2312, 2372, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 347 #define G1_2312_2372 0 348 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 349 #define G2_2312_2372 AFTER(G1_2312_2372) 350 { 2312, 2372, 5, 6, 10, 5, NO_DFS, NO_PSCAN }, 351 #define G3_2312_2372 AFTER(G2_2312_2372) 352 { 2312, 2372, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 353 #define G4_2312_2372 AFTER(G3_2312_2372) 354 355 { 2412, 2472, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 356 #define G1_2412_2472 AFTER(G4_2312_2372) 357 { 2412, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA_G }, 358 #define G2_2412_2472 AFTER(G1_2412_2472) 359 { 2412, 2472, 30, 0, 20, 5, NO_DFS, NO_PSCAN }, 360 #define G3_2412_2472 AFTER(G2_2412_2472) 361 { 2412, 2472, 5, 6, 10, 5, NO_DFS, NO_PSCAN }, 362 #define G4_2412_2472 AFTER(G3_2412_2472) 363 { 2412, 2472, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 364 #define G5_2412_2472 AFTER(G4_2412_2472) 365 366 { 2412, 2462, 27, 6, 20, 5, NO_DFS, NO_PSCAN }, 367 #define G1_2412_2462 AFTER(G5_2412_2472) 368 { 2412, 2462, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA_G }, 369 #define G2_2412_2462 AFTER(G1_2412_2462) 370 { 2412, 2462, 27, 6, 10, 5, NO_DFS, NO_PSCAN }, 371 #define G3_2412_2462 AFTER(G2_2412_2462) 372 { 2412, 2462, 27, 6, 5, 5, NO_DFS, NO_PSCAN }, 373 #define G4_2412_2462 AFTER(G3_2412_2462) 374 375 { 2432, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 376 #define G1_2432_2442 AFTER(G4_2412_2462) 377 378 { 2457, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 379 #define G1_2457_2472 AFTER(G1_2432_2442) 380 381 { 2512, 2732, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 382 #define G1_2512_2732 AFTER(G1_2457_2472) 383 { 2512, 2732, 5, 6, 10, 5, NO_DFS, NO_PSCAN }, 384 #define G2_2512_2732 AFTER(G1_2512_2732) 385 { 2512, 2732, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 386 #define G3_2512_2732 AFTER(G2_2512_2732) 387 388 { 2467, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA2 | PSCAN_MKKA }, 389 #define G1_2467_2472 AFTER(G3_2512_2732) 390 391 /* 392 * WWR open up the power to 20dBm 393 */ 394 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 395 #define WG1_2312_2372 AFTER(G1_2467_2472) 396 { 2412, 2412, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 397 #define WG1_2412_2412 AFTER(WG1_2312_2372) 398 { 2417, 2432, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 399 #define WG1_2417_2432 AFTER(WG1_2412_2412) 400 { 2437, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 401 #define WG1_2437_2442 AFTER(WG1_2417_2432) 402 { 2447, 2457, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 403 #define WG1_2447_2457 AFTER(WG1_2437_2442) 404 { 2462, 2462, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 405 #define WG1_2462_2462 AFTER(WG1_2447_2457) 406 { 2467, 2467, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 407 #define WG1_2467_2467 AFTER(WG1_2462_2462) 408 { 2467, 2467, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 409 #define WG2_2467_2467 AFTER(WG1_2467_2467) 410 { 2472, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 411 #define WG1_2472_2472 AFTER(WG2_2467_2467) 412 { 2472, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 413 #define WG2_2472_2472 AFTER(WG1_2472_2472) 414 }; 415 416 /* 417 * 2GHz Dynamic turbo tags 418 */ 419 static REG_DMN_FREQ_BAND regDmn2Ghz11gTurboFreq[] = { 420 { 2312, 2372, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 421 #define T1_2312_2372 0 422 { 2437, 2437, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 423 #define T1_2437_2437 AFTER(T1_2312_2372) 424 { 2437, 2437, 20, 6, 40, 40, NO_DFS, NO_PSCAN }, 425 #define T2_2437_2437 AFTER(T1_2437_2437) 426 { 2437, 2437, 18, 6, 40, 40, NO_DFS, PSCAN_WWR }, 427 #define T3_2437_2437 AFTER(T2_2437_2437) 428 { 2512, 2732, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 429 #define T1_2512_2732 AFTER(T3_2437_2437) 430 }; 431 432 #endif 433