1 /*- 2 * SPDX-License-Identifier: ISC 3 * 4 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting 5 * Copyright (c) 2005-2006 Atheros Communications, Inc. 6 * All rights reserved. 7 * 8 * Permission to use, copy, modify, and/or distribute this software for any 9 * purpose with or without fee is hereby granted, provided that the above 10 * copyright notice and this permission notice appear in all copies. 11 * 12 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 13 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 14 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 15 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 16 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 17 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 18 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 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 * 5GHz Turbo (dynamic & static) tags 201 */ 202 static REG_DMN_FREQ_BAND regDmn5GhzTurboFreq[] = { 203 { 5130, 5210, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 204 #define T1_5130_5210 0 205 { 5250, 5330, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 206 #define T1_5250_5330 AFTER(T1_5130_5210) 207 { 5370, 5490, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 208 #define T1_5370_5490 AFTER(T1_5250_5330) 209 { 5530, 5650, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 210 #define T1_5530_5650 AFTER(T1_5370_5490) 211 { 5200, 5200, 23, 6, 40, 40, NO_DFS, NO_PSCAN }, 212 #define T7_5200_5200 AFTER(T1_5530_5650) 213 { 5150, 5190, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 214 #define T1_5230_5310 AFTER(T7_5200_5200) 215 { 5350, 5470, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 216 #define T1_5150_5190 AFTER(T1_5230_5310) 217 { 5230, 5310, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 218 #define T1_5350_5470 AFTER(T1_5150_5190) 219 { 5510, 5670, 5, 6, 40, 40, DFS_FCC3, NO_PSCAN }, 220 #define T1_5510_5670 AFTER(T1_5350_5470) 221 222 { 5200, 5240, 17, 6, 40, 40, NO_DFS, NO_PSCAN }, 223 #define T1_5200_5240 AFTER(T1_5510_5670) 224 { 5200, 5240, 23, 6, 40, 40, NO_DFS, NO_PSCAN }, 225 #define T2_5200_5240 AFTER(T1_5200_5240) 226 { 5210, 5210, 17, 6, 40, 40, NO_DFS, NO_PSCAN }, 227 #define T1_5210_5210 AFTER(T2_5200_5240) 228 { 5210, 5210, 23, 0, 40, 40, NO_DFS, NO_PSCAN }, 229 #define T2_5210_5210 AFTER(T1_5210_5210) 230 { 5210, 5210, 23, 6, 40, 40, NO_DFS, NO_PSCAN }, 231 #define T7_5210_5210 AFTER(T2_5210_5210) 232 233 { 5240, 5240, 23, 6, 40, 40, NO_DFS, PSCAN_FCC_T }, 234 #define T1_5240_5240 AFTER(T7_5210_5210) 235 { 5280, 5280, 23, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 236 #define T1_5280_5280 AFTER(T1_5240_5240) 237 { 5280, 5280, 20, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 238 #define T2_5280_5280 AFTER(T1_5280_5280) 239 { 5250, 5250, 17, 0, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 240 #define T1_5250_5250 AFTER(T2_5280_5280) 241 { 5290, 5290, 20, 0, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 242 #define T1_5290_5290 AFTER(T1_5250_5250) 243 { 5250, 5290, 20, 0, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 244 #define T1_5250_5290 AFTER(T1_5290_5290) 245 { 5250, 5290, 23, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 246 #define T2_5250_5290 AFTER(T1_5250_5290) 247 { 5250, 5290, 23, 6, 40, 40, NO_DFS, PSCAN_FCC_T }, 248 #define T3_5250_5290 AFTER(T2_5250_5290) 249 250 { 5540, 5660, 20, 6, 40, 40, DFS_FCC3, PSCAN_FCC_T }, 251 #define T1_5540_5660 AFTER(T3_5250_5290) 252 { 5760, 5800, 20, 0, 40, 40, NO_DFS, NO_PSCAN }, 253 #define T1_5760_5800 AFTER(T1_5540_5660) 254 { 5760, 5800, 30, 6, 40, 40, NO_DFS, NO_PSCAN }, 255 #define T2_5760_5800 AFTER(T1_5760_5800) 256 257 { 5765, 5805, 30, 6, 40, 40, NO_DFS, NO_PSCAN }, 258 #define T1_5765_5805 AFTER(T2_5760_5800) 259 260 /* 261 * Below are the WWR frequencies 262 */ 263 { 5210, 5250, 15, 0, 40, 40, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 264 #define WT1_5210_5250 AFTER(T1_5765_5805) 265 { 5290, 5290, 18, 0, 40, 40, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 266 #define WT1_5290_5290 AFTER(WT1_5210_5250) 267 { 5540, 5660, 20, 0, 40, 40, DFS_FCC3 | DFS_ETSI, PSCAN_WWR }, 268 #define WT1_5540_5660 AFTER(WT1_5290_5290) 269 { 5760, 5800, 20, 0, 40, 40, NO_DFS, PSCAN_WWR }, 270 #define WT1_5760_5800 AFTER(WT1_5540_5660) 271 }; 272 273 /* 274 * 2GHz 11b channel tags 275 */ 276 static REG_DMN_FREQ_BAND regDmn2GhzFreq[] = { 277 { 2312, 2372, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 278 #define F1_2312_2372 0 279 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 280 #define F2_2312_2372 AFTER(F1_2312_2372) 281 282 { 2412, 2472, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 283 #define F1_2412_2472 AFTER(F2_2312_2372) 284 { 2412, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA }, 285 #define F2_2412_2472 AFTER(F1_2412_2472) 286 { 2412, 2472, 30, 0, 20, 5, NO_DFS, NO_PSCAN }, 287 #define F3_2412_2472 AFTER(F2_2412_2472) 288 289 { 2412, 2462, 27, 6, 20, 5, NO_DFS, NO_PSCAN }, 290 #define F1_2412_2462 AFTER(F3_2412_2472) 291 { 2412, 2462, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA }, 292 #define F2_2412_2462 AFTER(F1_2412_2462) 293 294 { 2432, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 295 #define F1_2432_2442 AFTER(F2_2412_2462) 296 297 { 2457, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 298 #define F1_2457_2472 AFTER(F1_2432_2442) 299 300 { 2467, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA2 | PSCAN_MKKA }, 301 #define F1_2467_2472 AFTER(F1_2457_2472) 302 303 { 2484, 2484, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 304 #define F1_2484_2484 AFTER(F1_2467_2472) 305 { 2484, 2484, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA | PSCAN_MKKA1 | PSCAN_MKKA2 }, 306 #define F2_2484_2484 AFTER(F1_2484_2484) 307 308 { 2512, 2732, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 309 #define F1_2512_2732 AFTER(F2_2484_2484) 310 311 /* 312 * WWR have powers opened up to 20dBm. 313 * Limits should often come from CTL/Max powers 314 */ 315 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 316 #define W1_2312_2372 AFTER(F1_2512_2732) 317 { 2412, 2412, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 318 #define W1_2412_2412 AFTER(W1_2312_2372) 319 { 2417, 2432, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 320 #define W1_2417_2432 AFTER(W1_2412_2412) 321 { 2437, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 322 #define W1_2437_2442 AFTER(W1_2417_2432) 323 { 2447, 2457, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 324 #define W1_2447_2457 AFTER(W1_2437_2442) 325 { 2462, 2462, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 326 #define W1_2462_2462 AFTER(W1_2447_2457) 327 { 2467, 2467, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 328 #define W1_2467_2467 AFTER(W1_2462_2462) 329 { 2467, 2467, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 330 #define W2_2467_2467 AFTER(W1_2467_2467) 331 { 2472, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 332 #define W1_2472_2472 AFTER(W2_2467_2467) 333 { 2472, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 334 #define W2_2472_2472 AFTER(W1_2472_2472) 335 { 2484, 2484, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 336 #define W1_2484_2484 AFTER(W2_2472_2472) 337 { 2484, 2484, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 338 #define W2_2484_2484 AFTER(W1_2484_2484) 339 }; 340 341 /* 342 * 2GHz 11g channel tags 343 */ 344 static REG_DMN_FREQ_BAND regDmn2Ghz11gFreq[] = { 345 { 2312, 2372, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 346 #define G1_2312_2372 0 347 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 348 #define G2_2312_2372 AFTER(G1_2312_2372) 349 { 2312, 2372, 5, 6, 10, 5, NO_DFS, NO_PSCAN }, 350 #define G3_2312_2372 AFTER(G2_2312_2372) 351 { 2312, 2372, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 352 #define G4_2312_2372 AFTER(G3_2312_2372) 353 354 { 2412, 2472, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 355 #define G1_2412_2472 AFTER(G4_2312_2372) 356 { 2412, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA_G }, 357 #define G2_2412_2472 AFTER(G1_2412_2472) 358 { 2412, 2472, 30, 0, 20, 5, NO_DFS, NO_PSCAN }, 359 #define G3_2412_2472 AFTER(G2_2412_2472) 360 { 2412, 2472, 5, 6, 10, 5, NO_DFS, NO_PSCAN }, 361 #define G4_2412_2472 AFTER(G3_2412_2472) 362 { 2412, 2472, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 363 #define G5_2412_2472 AFTER(G4_2412_2472) 364 365 { 2412, 2462, 27, 6, 20, 5, NO_DFS, NO_PSCAN }, 366 #define G1_2412_2462 AFTER(G5_2412_2472) 367 { 2412, 2462, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA_G }, 368 #define G2_2412_2462 AFTER(G1_2412_2462) 369 { 2412, 2462, 27, 6, 10, 5, NO_DFS, NO_PSCAN }, 370 #define G3_2412_2462 AFTER(G2_2412_2462) 371 { 2412, 2462, 27, 6, 5, 5, NO_DFS, NO_PSCAN }, 372 #define G4_2412_2462 AFTER(G3_2412_2462) 373 374 { 2432, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 375 #define G1_2432_2442 AFTER(G4_2412_2462) 376 377 { 2457, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 378 #define G1_2457_2472 AFTER(G1_2432_2442) 379 380 { 2512, 2732, 5, 6, 20, 5, NO_DFS, NO_PSCAN }, 381 #define G1_2512_2732 AFTER(G1_2457_2472) 382 { 2512, 2732, 5, 6, 10, 5, NO_DFS, NO_PSCAN }, 383 #define G2_2512_2732 AFTER(G1_2512_2732) 384 { 2512, 2732, 5, 6, 5, 5, NO_DFS, NO_PSCAN }, 385 #define G3_2512_2732 AFTER(G2_2512_2732) 386 387 { 2467, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_MKKA2 | PSCAN_MKKA }, 388 #define G1_2467_2472 AFTER(G3_2512_2732) 389 390 /* 391 * WWR open up the power to 20dBm 392 */ 393 { 2312, 2372, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 394 #define WG1_2312_2372 AFTER(G1_2467_2472) 395 { 2412, 2412, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 396 #define WG1_2412_2412 AFTER(WG1_2312_2372) 397 { 2417, 2432, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 398 #define WG1_2417_2432 AFTER(WG1_2412_2412) 399 { 2437, 2442, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 400 #define WG1_2437_2442 AFTER(WG1_2417_2432) 401 { 2447, 2457, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 402 #define WG1_2447_2457 AFTER(WG1_2437_2442) 403 { 2462, 2462, 20, 0, 20, 5, NO_DFS, NO_PSCAN }, 404 #define WG1_2462_2462 AFTER(WG1_2447_2457) 405 { 2467, 2467, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 406 #define WG1_2467_2467 AFTER(WG1_2462_2462) 407 { 2467, 2467, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 408 #define WG2_2467_2467 AFTER(WG1_2467_2467) 409 { 2472, 2472, 20, 0, 20, 5, NO_DFS, PSCAN_WWR | IS_ECM_CHAN }, 410 #define WG1_2472_2472 AFTER(WG2_2467_2467) 411 { 2472, 2472, 20, 0, 20, 5, NO_DFS, NO_PSCAN | IS_ECM_CHAN }, 412 #define WG2_2472_2472 AFTER(WG1_2472_2472) 413 }; 414 415 /* 416 * 2GHz Dynamic turbo tags 417 */ 418 static REG_DMN_FREQ_BAND regDmn2Ghz11gTurboFreq[] = { 419 { 2312, 2372, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 420 #define T1_2312_2372 0 421 { 2437, 2437, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 422 #define T1_2437_2437 AFTER(T1_2312_2372) 423 { 2437, 2437, 20, 6, 40, 40, NO_DFS, NO_PSCAN }, 424 #define T2_2437_2437 AFTER(T1_2437_2437) 425 { 2437, 2437, 18, 6, 40, 40, NO_DFS, PSCAN_WWR }, 426 #define T3_2437_2437 AFTER(T2_2437_2437) 427 { 2512, 2732, 5, 6, 40, 40, NO_DFS, NO_PSCAN }, 428 #define T1_2512_2732 AFTER(T3_2437_2437) 429 }; 430 431 #endif 432