1/* 2 * Copyright (c) 2002-2008 Sam Leffler, Errno Consulting 3 * Copyright (c) 2002-2004 Atheros Communications, Inc. 4 * 5 * Permission to use, copy, modify, and/or distribute this software for any 6 * purpose with or without fee is hereby granted, provided that the above 7 * copyright notice and this permission notice appear in all copies. 8 * 9 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 * 17 * $FreeBSD$ 18 */ 19 20 /* crete register init */ 21 { 0x00009800, 0x00000047 }, 22 { 0x00009808, 0x00000000 }, 23 { 0x0000980c, 0x09848ea6 }, 24 { 0x00009810, 0x3d32e000 }, 25 { 0x00009814, 0x0000076b }, 26 { 0x0000981c, 0x00000000 }, 27 { 0x00009820, 0x02020200 }, 28 { 0x00009824, 0x00000e0e }, 29 { 0x00009828, 0x0a020201 }, 30 { 0x0000982c, 0x00036ffc }, 31 { 0x00009830, 0x00000000 }, 32 { 0x00009834, 0x00000e0e }, 33 { 0x00009838, 0x00000007 }, 34 { 0x0000983c, 0x00020100 }, 35 { 0x00009840, 0x89630000 }, 36 { 0x00009844, 0x1372169c }, 37 { 0x00009848, 0x0018b633 }, 38 { 0x0000984c, 0x1284613c }, 39 { 0x00009850, 0x0de8b8e0 }, 40 { 0x00009854, 0x00074859 }, 41 { 0x00009858, 0x7e80beba }, 42 { 0x0000985c, 0x313a665e }, 43 { 0x00009860, 0x00001d08 }, 44 { 0x00009864, 0x0001ce00 }, 45 { 0x00009868, 0x409a4190 }, 46 { 0x00009870, 0x0000000f }, 47 { 0x00009874, 0x00000080 }, 48 { 0x00009878, 0x00000004 }, 49 { 0x00009900, 0x00000000 }, 50 { 0x00009904, 0x00000000 }, 51 { 0x00009908, 0x00000000 }, 52 { 0x0000990c, 0x00800000 }, 53 { 0x00009910, 0x00000003 }, 54 55 56 /* bb gain table */ 57 { 0x00009b00, 0x00000000 }, 58 { 0x00009b04, 0x00000020 }, 59 { 0x00009b08, 0x00000010 }, 60 { 0x00009b0c, 0x00000030 }, 61 { 0x00009b10, 0x00000008 }, 62 { 0x00009b14, 0x00000028 }, 63 { 0x00009b18, 0x00000028 }, 64 { 0x00009b1c, 0x00000004 }, 65 { 0x00009b20, 0x00000024 }, 66 { 0x00009b24, 0x00000014 }, 67 { 0x00009b28, 0x00000034 }, 68 { 0x00009b2c, 0x0000000c }, 69 { 0x00009b30, 0x0000002c }, 70 { 0x00009b34, 0x00000002 }, 71 { 0x00009b38, 0x00000022 }, 72 { 0x00009b3c, 0x00000012 }, 73 { 0x00009b40, 0x00000032 }, 74 { 0x00009b44, 0x0000000a }, 75 { 0x00009b48, 0x0000002a }, 76 { 0x00009b4c, 0x00000001 }, 77 { 0x00009b50, 0x00000021 }, 78 { 0x00009b54, 0x00000011 }, 79 { 0x00009b58, 0x00000031 }, 80 { 0x00009b5c, 0x00000009 }, 81 { 0x00009b60, 0x00000029 }, 82 { 0x00009b64, 0x00000005 }, 83 { 0x00009b68, 0x00000025 }, 84 { 0x00009b6c, 0x00000015 }, 85 { 0x00009b70, 0x00000035 }, 86 { 0x00009b74, 0x0000000d }, 87 { 0x00009b78, 0x0000002d }, 88 { 0x00009b7c, 0x00000003 }, 89 { 0x00009b80, 0x00000023 }, 90 { 0x00009b84, 0x00000013 }, 91 { 0x00009b88, 0x00000033 }, 92 { 0x00009b8c, 0x0000000b }, 93 { 0x00009b90, 0x0000002b }, 94 { 0x00009b94, 0x00000007 }, 95 { 0x00009b98, 0x00000027 }, 96 { 0x00009b9c, 0x00000017 }, 97 { 0x00009ba0, 0x00000037 }, 98 { 0x00009ba4, 0x0000000f }, 99 { 0x00009ba8, 0x0000002f }, 100 { 0x00009bac, 0x0000002f }, 101 { 0x00009bb0, 0x0000002f }, 102 { 0x00009bb4, 0x0000002f }, 103 { 0x00009bb8, 0x0000002f }, 104 { 0x00009bbc, 0x0000002f }, 105 { 0x00009bc0, 0x0000002f }, 106 { 0x00009bc4, 0x0000002f }, 107 { 0x00009bc8, 0x0000002f }, 108 { 0x00009bcc, 0x0000002f }, 109 { 0x00009bd0, 0x0000002f }, 110 { 0x00009bd4, 0x0000002f }, 111 { 0x00009bd8, 0x0000002f }, 112 { 0x00009bdc, 0x0000002f }, 113 { 0x00009be0, 0x0000002f }, 114 { 0x00009be4, 0x0000002f }, 115 { 0x00009be8, 0x0000002f }, 116 { 0x00009bec, 0x0000002f }, 117 { 0x00009bf0, 0x0000002f }, 118 { 0x00009bf4, 0x0000002f }, 119 { 0x00009bf8, 0x0000002f }, 120 { 0x00009bfc, 0x0000002f }, 121 122 /* rf gain table */ 123 { 0x00009a00, 0x0000001d }, 124 { 0x00009a04, 0x0000005d }, 125 { 0x00009a08, 0x0000009d }, 126 { 0x00009a0c, 0x000000dd }, 127 { 0x00009a10, 0x0000011d }, 128 { 0x00009a14, 0x00000021 }, 129 { 0x00009a18, 0x00000061 }, 130 { 0x00009a1c, 0x000000a1 }, 131 { 0x00009a20, 0x000000e1 }, 132 { 0x00009a24, 0x00000031 }, 133 { 0x00009a28, 0x00000071 }, 134 { 0x00009a2c, 0x000000b1 }, 135 { 0x00009a30, 0x0000001c }, 136 { 0x00009a34, 0x0000005c }, 137 { 0x00009a38, 0x00000029 }, 138 { 0x00009a3c, 0x00000069 }, 139 { 0x00009a40, 0x000000a9 }, 140 { 0x00009a44, 0x00000020 }, 141 { 0x00009a48, 0x00000019 }, 142 { 0x00009a4c, 0x00000059 }, 143 { 0x00009a50, 0x00000099 }, 144 { 0x00009a54, 0x00000030 }, 145 { 0x00009a58, 0x00000005 }, 146 { 0x00009a5c, 0x00000025 }, 147 { 0x00009a60, 0x00000065 }, 148 { 0x00009a64, 0x000000a5 }, 149 { 0x00009a68, 0x00000028 }, 150 { 0x00009a6c, 0x00000068 }, 151 { 0x00009a70, 0x0000001f }, 152 { 0x00009a74, 0x0000001e }, 153 { 0x00009a78, 0x00000018 }, 154 { 0x00009a7c, 0x00000058 }, 155 { 0x00009a80, 0x00000098 }, 156 { 0x00009a84, 0x00000003 }, 157 { 0x00009a88, 0x00000004 }, 158 { 0x00009a8c, 0x00000044 }, 159 { 0x00009a90, 0x00000084 }, 160 { 0x00009a94, 0x00000013 }, 161 { 0x00009a98, 0x00000012 }, 162 { 0x00009a9c, 0x00000052 }, 163 { 0x00009aa0, 0x00000092 }, 164 { 0x00009aa4, 0x000000d2 }, 165 { 0x00009aa8, 0x0000002b }, 166 { 0x00009aac, 0x0000002a }, 167 { 0x00009ab0, 0x0000006a }, 168 { 0x00009ab4, 0x000000aa }, 169 { 0x00009ab8, 0x0000001b }, 170 { 0x00009abc, 0x0000001a }, 171 { 0x00009ac0, 0x0000005a }, 172 { 0x00009ac4, 0x0000009a }, 173 { 0x00009ac8, 0x000000da }, 174 { 0x00009acc, 0x00000006 }, 175 { 0x00009ad0, 0x00000006 }, 176 { 0x00009ad4, 0x00000006 }, 177 { 0x00009ad8, 0x00000006 }, 178 { 0x00009adc, 0x00000006 }, 179 { 0x00009ae0, 0x00000006 }, 180 { 0x00009ae4, 0x00000006 }, 181 { 0x00009ae8, 0x00000006 }, 182 { 0x00009aec, 0x00000006 }, 183 { 0x00009af0, 0x00000006 }, 184 { 0x00009af4, 0x00000006 }, 185 { 0x00009af8, 0x00000006 }, 186 { 0x00009afc, 0x00000006 }, 187 188 /* fez register init */ 189 { 0x000098d4, 0x00000020 }, 190 { 0x000098cc, 0x00000004 }, 191 { 0x000098c8, 0x00060106 }, 192 { 0x0000989c, 0x0000006d }, 193 { 0x000098c0, 0x00000000 }, 194 { 0x000098d0, 0x00000014 }, 195