iPXE
ar9003_2p2_initvals.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2010-2011 Atheros Communications Inc.
00003  *
00004  * Permission to use, copy, modify, and/or distribute this software for any
00005  * purpose with or without fee is hereby granted, provided that the above
00006  * copyright notice and this permission notice appear in all copies.
00007  *
00008  * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
00009  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
00010  * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
00011  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
00012  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
00013  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
00014  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
00015  */
00016 
00017 #ifndef INITVALS_9003_2P2_H
00018 #define INITVALS_9003_2P2_H
00019 
00020 /* AR9003 2.2 */
00021 
00022 static __unused const u32 ar9300_2p2_radio_postamble[][5] = {
00023         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00024         {0x0001609c, 0x0dd08f29, 0x0dd08f29, 0x0b283f31, 0x0b283f31},
00025         {0x000160ac, 0xa4653c00, 0xa4653c00, 0x24652800, 0x24652800},
00026         {0x000160b0, 0x03284f3e, 0x03284f3e, 0x05d08f20, 0x05d08f20},
00027         {0x0001610c, 0x08000000, 0x00000000, 0x00000000, 0x00000000},
00028         {0x00016140, 0x10804008, 0x10804008, 0x50804008, 0x50804008},
00029         {0x0001650c, 0x08000000, 0x00000000, 0x00000000, 0x00000000},
00030         {0x00016540, 0x10804008, 0x10804008, 0x50804008, 0x50804008},
00031         {0x0001690c, 0x08000000, 0x00000000, 0x00000000, 0x00000000},
00032         {0x00016940, 0x10804008, 0x10804008, 0x50804008, 0x50804008},
00033 };
00034 
00035 static __unused const u32 ar9300Modes_lowest_ob_db_tx_gain_table_2p2[][5] = {
00036         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00037         {0x0000a2dc, 0x00033800, 0x00033800, 0x03aaa352, 0x03aaa352},
00038         {0x0000a2e0, 0x0003c000, 0x0003c000, 0x03ccc584, 0x03ccc584},
00039         {0x0000a2e4, 0x03fc0000, 0x03fc0000, 0x03f0f800, 0x03f0f800},
00040         {0x0000a2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00041         {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d9, 0x000050d9},
00042         {0x0000a500, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00043         {0x0000a504, 0x06000003, 0x06000003, 0x04000002, 0x04000002},
00044         {0x0000a508, 0x0a000020, 0x0a000020, 0x08000004, 0x08000004},
00045         {0x0000a50c, 0x10000023, 0x10000023, 0x0b000200, 0x0b000200},
00046         {0x0000a510, 0x16000220, 0x16000220, 0x0f000202, 0x0f000202},
00047         {0x0000a514, 0x1c000223, 0x1c000223, 0x12000400, 0x12000400},
00048         {0x0000a518, 0x21002220, 0x21002220, 0x16000402, 0x16000402},
00049         {0x0000a51c, 0x27002223, 0x27002223, 0x19000404, 0x19000404},
00050         {0x0000a520, 0x2b022220, 0x2b022220, 0x1c000603, 0x1c000603},
00051         {0x0000a524, 0x2f022222, 0x2f022222, 0x21000a02, 0x21000a02},
00052         {0x0000a528, 0x34022225, 0x34022225, 0x25000a04, 0x25000a04},
00053         {0x0000a52c, 0x3a02222a, 0x3a02222a, 0x28000a20, 0x28000a20},
00054         {0x0000a530, 0x3e02222c, 0x3e02222c, 0x2c000e20, 0x2c000e20},
00055         {0x0000a534, 0x4202242a, 0x4202242a, 0x30000e22, 0x30000e22},
00056         {0x0000a538, 0x4702244a, 0x4702244a, 0x34000e24, 0x34000e24},
00057         {0x0000a53c, 0x4b02244c, 0x4b02244c, 0x38001640, 0x38001640},
00058         {0x0000a540, 0x4e02246c, 0x4e02246c, 0x3c001660, 0x3c001660},
00059         {0x0000a544, 0x52022470, 0x52022470, 0x3f001861, 0x3f001861},
00060         {0x0000a548, 0x55022490, 0x55022490, 0x43001a81, 0x43001a81},
00061         {0x0000a54c, 0x59022492, 0x59022492, 0x47001a83, 0x47001a83},
00062         {0x0000a550, 0x5d022692, 0x5d022692, 0x4a001c84, 0x4a001c84},
00063         {0x0000a554, 0x61022892, 0x61022892, 0x4e001ce3, 0x4e001ce3},
00064         {0x0000a558, 0x65024890, 0x65024890, 0x52001ce5, 0x52001ce5},
00065         {0x0000a55c, 0x69024892, 0x69024892, 0x56001ce9, 0x56001ce9},
00066         {0x0000a560, 0x6e024c92, 0x6e024c92, 0x5a001ceb, 0x5a001ceb},
00067         {0x0000a564, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00068         {0x0000a568, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00069         {0x0000a56c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00070         {0x0000a570, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00071         {0x0000a574, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00072         {0x0000a578, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00073         {0x0000a57c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
00074         {0x0000a580, 0x00800000, 0x00800000, 0x00800000, 0x00800000},
00075         {0x0000a584, 0x06800003, 0x06800003, 0x04800002, 0x04800002},
00076         {0x0000a588, 0x0a800020, 0x0a800020, 0x08800004, 0x08800004},
00077         {0x0000a58c, 0x10800023, 0x10800023, 0x0b800200, 0x0b800200},
00078         {0x0000a590, 0x16800220, 0x16800220, 0x0f800202, 0x0f800202},
00079         {0x0000a594, 0x1c800223, 0x1c800223, 0x12800400, 0x12800400},
00080         {0x0000a598, 0x21802220, 0x21802220, 0x16800402, 0x16800402},
00081         {0x0000a59c, 0x27802223, 0x27802223, 0x19800404, 0x19800404},
00082         {0x0000a5a0, 0x2b822220, 0x2b822220, 0x1c800603, 0x1c800603},
00083         {0x0000a5a4, 0x2f822222, 0x2f822222, 0x21800a02, 0x21800a02},
00084         {0x0000a5a8, 0x34822225, 0x34822225, 0x25800a04, 0x25800a04},
00085         {0x0000a5ac, 0x3a82222a, 0x3a82222a, 0x28800a20, 0x28800a20},
00086         {0x0000a5b0, 0x3e82222c, 0x3e82222c, 0x2c800e20, 0x2c800e20},
00087         {0x0000a5b4, 0x4282242a, 0x4282242a, 0x30800e22, 0x30800e22},
00088         {0x0000a5b8, 0x4782244a, 0x4782244a, 0x34800e24, 0x34800e24},
00089         {0x0000a5bc, 0x4b82244c, 0x4b82244c, 0x38801640, 0x38801640},
00090         {0x0000a5c0, 0x4e82246c, 0x4e82246c, 0x3c801660, 0x3c801660},
00091         {0x0000a5c4, 0x52822470, 0x52822470, 0x3f801861, 0x3f801861},
00092         {0x0000a5c8, 0x55822490, 0x55822490, 0x43801a81, 0x43801a81},
00093         {0x0000a5cc, 0x59822492, 0x59822492, 0x47801a83, 0x47801a83},
00094         {0x0000a5d0, 0x5d822692, 0x5d822692, 0x4a801c84, 0x4a801c84},
00095         {0x0000a5d4, 0x61822892, 0x61822892, 0x4e801ce3, 0x4e801ce3},
00096         {0x0000a5d8, 0x65824890, 0x65824890, 0x52801ce5, 0x52801ce5},
00097         {0x0000a5dc, 0x69824892, 0x69824892, 0x56801ce9, 0x56801ce9},
00098         {0x0000a5e0, 0x6e824c92, 0x6e824c92, 0x5a801ceb, 0x5a801ceb},
00099         {0x0000a5e4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00100         {0x0000a5e8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00101         {0x0000a5ec, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00102         {0x0000a5f0, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00103         {0x0000a5f4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00104         {0x0000a5f8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00105         {0x0000a5fc, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
00106         {0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00107         {0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00108         {0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00109         {0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00110         {0x0000a610, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00111         {0x0000a614, 0x02004000, 0x02004000, 0x01404000, 0x01404000},
00112         {0x0000a618, 0x02004801, 0x02004801, 0x01404501, 0x01404501},
00113         {0x0000a61c, 0x02808a02, 0x02808a02, 0x02008501, 0x02008501},
00114         {0x0000a620, 0x0380ce03, 0x0380ce03, 0x0280ca03, 0x0280ca03},
00115         {0x0000a624, 0x04411104, 0x04411104, 0x03010c04, 0x03010c04},
00116         {0x0000a628, 0x04411104, 0x04411104, 0x04014c04, 0x04014c04},
00117         {0x0000a62c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
00118         {0x0000a630, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
00119         {0x0000a634, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
00120         {0x0000a638, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
00121         {0x0000a63c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
00122         {0x0000b2dc, 0x00033800, 0x00033800, 0x03aaa352, 0x03aaa352},
00123         {0x0000b2e0, 0x0003c000, 0x0003c000, 0x03ccc584, 0x03ccc584},
00124         {0x0000b2e4, 0x03fc0000, 0x03fc0000, 0x03f0f800, 0x03f0f800},
00125         {0x0000b2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00126         {0x0000c2dc, 0x00033800, 0x00033800, 0x03aaa352, 0x03aaa352},
00127         {0x0000c2e0, 0x0003c000, 0x0003c000, 0x03ccc584, 0x03ccc584},
00128         {0x0000c2e4, 0x03fc0000, 0x03fc0000, 0x03f0f800, 0x03f0f800},
00129         {0x0000c2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00130         {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
00131         {0x00016048, 0x62480001, 0x62480001, 0x62480001, 0x62480001},
00132         {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
00133         {0x00016444, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
00134         {0x00016448, 0x62480001, 0x62480001, 0x62480001, 0x62480001},
00135         {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
00136         {0x00016844, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
00137         {0x00016848, 0x62480001, 0x62480001, 0x62480001, 0x62480001},
00138         {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
00139 };
00140 
00141 static __unused const u32 ar9300Modes_fast_clock_2p2[][3] = {
00142         /* Addr      5G_HT20     5G_HT40   */
00143         {0x00001030, 0x00000268, 0x000004d0},
00144         {0x00001070, 0x0000018c, 0x00000318},
00145         {0x000010b0, 0x00000fd0, 0x00001fa0},
00146         {0x00008014, 0x044c044c, 0x08980898},
00147         {0x0000801c, 0x148ec02b, 0x148ec057},
00148         {0x00008318, 0x000044c0, 0x00008980},
00149         {0x00009e00, 0x0372131c, 0x0372131c},
00150         {0x0000a230, 0x0000000b, 0x00000016},
00151         {0x0000a254, 0x00000898, 0x00001130},
00152 };
00153 
00154 static __unused const u32 ar9300_2p2_radio_core[][2] = {
00155         /* Addr      allmodes  */
00156         {0x00016000, 0x36db6db6},
00157         {0x00016004, 0x6db6db40},
00158         {0x00016008, 0x73f00000},
00159         {0x0001600c, 0x00000000},
00160         {0x00016040, 0x7f80fff8},
00161         {0x0001604c, 0x76d005b5},
00162         {0x00016050, 0x556cf031},
00163         {0x00016054, 0x13449440},
00164         {0x00016058, 0x0c51c92c},
00165         {0x0001605c, 0x3db7fffc},
00166         {0x00016060, 0xfffffffc},
00167         {0x00016064, 0x000f0278},
00168         {0x0001606c, 0x6db60000},
00169         {0x00016080, 0x00000000},
00170         {0x00016084, 0x0e48048c},
00171         {0x00016088, 0x54214514},
00172         {0x0001608c, 0x119f481e},
00173         {0x00016090, 0x24926490},
00174         {0x00016098, 0xd2888888},
00175         {0x000160a0, 0x0a108ffe},
00176         {0x000160a4, 0x812fc370},
00177         {0x000160a8, 0x423c8000},
00178         {0x000160b4, 0x92480080},
00179         {0x000160c0, 0x00adb6d0},
00180         {0x000160c4, 0x6db6db60},
00181         {0x000160c8, 0x6db6db6c},
00182         {0x000160cc, 0x01e6c000},
00183         {0x00016100, 0x3fffbe01},
00184         {0x00016104, 0xfff80000},
00185         {0x00016108, 0x00080010},
00186         {0x00016144, 0x02084080},
00187         {0x00016148, 0x00000000},
00188         {0x00016280, 0x058a0001},
00189         {0x00016284, 0x3d840208},
00190         {0x00016288, 0x05a20408},
00191         {0x0001628c, 0x00038c07},
00192         {0x00016290, 0x00000004},
00193         {0x00016294, 0x458aa14f},
00194         {0x00016380, 0x00000000},
00195         {0x00016384, 0x00000000},
00196         {0x00016388, 0x00800700},
00197         {0x0001638c, 0x00800700},
00198         {0x00016390, 0x00800700},
00199         {0x00016394, 0x00000000},
00200         {0x00016398, 0x00000000},
00201         {0x0001639c, 0x00000000},
00202         {0x000163a0, 0x00000001},
00203         {0x000163a4, 0x00000001},
00204         {0x000163a8, 0x00000000},
00205         {0x000163ac, 0x00000000},
00206         {0x000163b0, 0x00000000},
00207         {0x000163b4, 0x00000000},
00208         {0x000163b8, 0x00000000},
00209         {0x000163bc, 0x00000000},
00210         {0x000163c0, 0x000000a0},
00211         {0x000163c4, 0x000c0000},
00212         {0x000163c8, 0x14021402},
00213         {0x000163cc, 0x00001402},
00214         {0x000163d0, 0x00000000},
00215         {0x000163d4, 0x00000000},
00216         {0x00016400, 0x36db6db6},
00217         {0x00016404, 0x6db6db40},
00218         {0x00016408, 0x73f00000},
00219         {0x0001640c, 0x00000000},
00220         {0x00016440, 0x7f80fff8},
00221         {0x0001644c, 0x76d005b5},
00222         {0x00016450, 0x556cf031},
00223         {0x00016454, 0x13449440},
00224         {0x00016458, 0x0c51c92c},
00225         {0x0001645c, 0x3db7fffc},
00226         {0x00016460, 0xfffffffc},
00227         {0x00016464, 0x000f0278},
00228         {0x0001646c, 0x6db60000},
00229         {0x00016500, 0x3fffbe01},
00230         {0x00016504, 0xfff80000},
00231         {0x00016508, 0x00080010},
00232         {0x00016544, 0x02084080},
00233         {0x00016548, 0x00000000},
00234         {0x00016780, 0x00000000},
00235         {0x00016784, 0x00000000},
00236         {0x00016788, 0x00800700},
00237         {0x0001678c, 0x00800700},
00238         {0x00016790, 0x00800700},
00239         {0x00016794, 0x00000000},
00240         {0x00016798, 0x00000000},
00241         {0x0001679c, 0x00000000},
00242         {0x000167a0, 0x00000001},
00243         {0x000167a4, 0x00000001},
00244         {0x000167a8, 0x00000000},
00245         {0x000167ac, 0x00000000},
00246         {0x000167b0, 0x00000000},
00247         {0x000167b4, 0x00000000},
00248         {0x000167b8, 0x00000000},
00249         {0x000167bc, 0x00000000},
00250         {0x000167c0, 0x000000a0},
00251         {0x000167c4, 0x000c0000},
00252         {0x000167c8, 0x14021402},
00253         {0x000167cc, 0x00001402},
00254         {0x000167d0, 0x00000000},
00255         {0x000167d4, 0x00000000},
00256         {0x00016800, 0x36db6db6},
00257         {0x00016804, 0x6db6db40},
00258         {0x00016808, 0x73f00000},
00259         {0x0001680c, 0x00000000},
00260         {0x00016840, 0x7f80fff8},
00261         {0x0001684c, 0x76d005b5},
00262         {0x00016850, 0x556cf031},
00263         {0x00016854, 0x13449440},
00264         {0x00016858, 0x0c51c92c},
00265         {0x0001685c, 0x3db7fffc},
00266         {0x00016860, 0xfffffffc},
00267         {0x00016864, 0x000f0278},
00268         {0x0001686c, 0x6db60000},
00269         {0x00016900, 0x3fffbe01},
00270         {0x00016904, 0xfff80000},
00271         {0x00016908, 0x00080010},
00272         {0x00016944, 0x02084080},
00273         {0x00016948, 0x00000000},
00274         {0x00016b80, 0x00000000},
00275         {0x00016b84, 0x00000000},
00276         {0x00016b88, 0x00800700},
00277         {0x00016b8c, 0x00800700},
00278         {0x00016b90, 0x00800700},
00279         {0x00016b94, 0x00000000},
00280         {0x00016b98, 0x00000000},
00281         {0x00016b9c, 0x00000000},
00282         {0x00016ba0, 0x00000001},
00283         {0x00016ba4, 0x00000001},
00284         {0x00016ba8, 0x00000000},
00285         {0x00016bac, 0x00000000},
00286         {0x00016bb0, 0x00000000},
00287         {0x00016bb4, 0x00000000},
00288         {0x00016bb8, 0x00000000},
00289         {0x00016bbc, 0x00000000},
00290         {0x00016bc0, 0x000000a0},
00291         {0x00016bc4, 0x000c0000},
00292         {0x00016bc8, 0x14021402},
00293         {0x00016bcc, 0x00001402},
00294         {0x00016bd0, 0x00000000},
00295         {0x00016bd4, 0x00000000},
00296 };
00297 
00298 static __unused const u32 ar9300Common_rx_gain_table_merlin_2p2[][2] = {
00299         /* Addr      allmodes  */
00300         {0x0000a000, 0x02000101},
00301         {0x0000a004, 0x02000102},
00302         {0x0000a008, 0x02000103},
00303         {0x0000a00c, 0x02000104},
00304         {0x0000a010, 0x02000200},
00305         {0x0000a014, 0x02000201},
00306         {0x0000a018, 0x02000202},
00307         {0x0000a01c, 0x02000203},
00308         {0x0000a020, 0x02000204},
00309         {0x0000a024, 0x02000205},
00310         {0x0000a028, 0x02000208},
00311         {0x0000a02c, 0x02000302},
00312         {0x0000a030, 0x02000303},
00313         {0x0000a034, 0x02000304},
00314         {0x0000a038, 0x02000400},
00315         {0x0000a03c, 0x02010300},
00316         {0x0000a040, 0x02010301},
00317         {0x0000a044, 0x02010302},
00318         {0x0000a048, 0x02000500},
00319         {0x0000a04c, 0x02010400},
00320         {0x0000a050, 0x02020300},
00321         {0x0000a054, 0x02020301},
00322         {0x0000a058, 0x02020302},
00323         {0x0000a05c, 0x02020303},
00324         {0x0000a060, 0x02020400},
00325         {0x0000a064, 0x02030300},
00326         {0x0000a068, 0x02030301},
00327         {0x0000a06c, 0x02030302},
00328         {0x0000a070, 0x02030303},
00329         {0x0000a074, 0x02030400},
00330         {0x0000a078, 0x02040300},
00331         {0x0000a07c, 0x02040301},
00332         {0x0000a080, 0x02040302},
00333         {0x0000a084, 0x02040303},
00334         {0x0000a088, 0x02030500},
00335         {0x0000a08c, 0x02040400},
00336         {0x0000a090, 0x02050203},
00337         {0x0000a094, 0x02050204},
00338         {0x0000a098, 0x02050205},
00339         {0x0000a09c, 0x02040500},
00340         {0x0000a0a0, 0x02050301},
00341         {0x0000a0a4, 0x02050302},
00342         {0x0000a0a8, 0x02050303},
00343         {0x0000a0ac, 0x02050400},
00344         {0x0000a0b0, 0x02050401},
00345         {0x0000a0b4, 0x02050402},
00346         {0x0000a0b8, 0x02050403},
00347         {0x0000a0bc, 0x02050500},
00348         {0x0000a0c0, 0x02050501},
00349         {0x0000a0c4, 0x02050502},
00350         {0x0000a0c8, 0x02050503},
00351         {0x0000a0cc, 0x02050504},
00352         {0x0000a0d0, 0x02050600},
00353         {0x0000a0d4, 0x02050601},
00354         {0x0000a0d8, 0x02050602},
00355         {0x0000a0dc, 0x02050603},
00356         {0x0000a0e0, 0x02050604},
00357         {0x0000a0e4, 0x02050700},
00358         {0x0000a0e8, 0x02050701},
00359         {0x0000a0ec, 0x02050702},
00360         {0x0000a0f0, 0x02050703},
00361         {0x0000a0f4, 0x02050704},
00362         {0x0000a0f8, 0x02050705},
00363         {0x0000a0fc, 0x02050708},
00364         {0x0000a100, 0x02050709},
00365         {0x0000a104, 0x0205070a},
00366         {0x0000a108, 0x0205070b},
00367         {0x0000a10c, 0x0205070c},
00368         {0x0000a110, 0x0205070d},
00369         {0x0000a114, 0x02050710},
00370         {0x0000a118, 0x02050711},
00371         {0x0000a11c, 0x02050712},
00372         {0x0000a120, 0x02050713},
00373         {0x0000a124, 0x02050714},
00374         {0x0000a128, 0x02050715},
00375         {0x0000a12c, 0x02050730},
00376         {0x0000a130, 0x02050731},
00377         {0x0000a134, 0x02050732},
00378         {0x0000a138, 0x02050733},
00379         {0x0000a13c, 0x02050734},
00380         {0x0000a140, 0x02050735},
00381         {0x0000a144, 0x02050750},
00382         {0x0000a148, 0x02050751},
00383         {0x0000a14c, 0x02050752},
00384         {0x0000a150, 0x02050753},
00385         {0x0000a154, 0x02050754},
00386         {0x0000a158, 0x02050755},
00387         {0x0000a15c, 0x02050770},
00388         {0x0000a160, 0x02050771},
00389         {0x0000a164, 0x02050772},
00390         {0x0000a168, 0x02050773},
00391         {0x0000a16c, 0x02050774},
00392         {0x0000a170, 0x02050775},
00393         {0x0000a174, 0x00000776},
00394         {0x0000a178, 0x00000776},
00395         {0x0000a17c, 0x00000776},
00396         {0x0000a180, 0x00000776},
00397         {0x0000a184, 0x00000776},
00398         {0x0000a188, 0x00000776},
00399         {0x0000a18c, 0x00000776},
00400         {0x0000a190, 0x00000776},
00401         {0x0000a194, 0x00000776},
00402         {0x0000a198, 0x00000776},
00403         {0x0000a19c, 0x00000776},
00404         {0x0000a1a0, 0x00000776},
00405         {0x0000a1a4, 0x00000776},
00406         {0x0000a1a8, 0x00000776},
00407         {0x0000a1ac, 0x00000776},
00408         {0x0000a1b0, 0x00000776},
00409         {0x0000a1b4, 0x00000776},
00410         {0x0000a1b8, 0x00000776},
00411         {0x0000a1bc, 0x00000776},
00412         {0x0000a1c0, 0x00000776},
00413         {0x0000a1c4, 0x00000776},
00414         {0x0000a1c8, 0x00000776},
00415         {0x0000a1cc, 0x00000776},
00416         {0x0000a1d0, 0x00000776},
00417         {0x0000a1d4, 0x00000776},
00418         {0x0000a1d8, 0x00000776},
00419         {0x0000a1dc, 0x00000776},
00420         {0x0000a1e0, 0x00000776},
00421         {0x0000a1e4, 0x00000776},
00422         {0x0000a1e8, 0x00000776},
00423         {0x0000a1ec, 0x00000776},
00424         {0x0000a1f0, 0x00000776},
00425         {0x0000a1f4, 0x00000776},
00426         {0x0000a1f8, 0x00000776},
00427         {0x0000a1fc, 0x00000776},
00428         {0x0000b000, 0x02000101},
00429         {0x0000b004, 0x02000102},
00430         {0x0000b008, 0x02000103},
00431         {0x0000b00c, 0x02000104},
00432         {0x0000b010, 0x02000200},
00433         {0x0000b014, 0x02000201},
00434         {0x0000b018, 0x02000202},
00435         {0x0000b01c, 0x02000203},
00436         {0x0000b020, 0x02000204},
00437         {0x0000b024, 0x02000205},
00438         {0x0000b028, 0x02000208},
00439         {0x0000b02c, 0x02000302},
00440         {0x0000b030, 0x02000303},
00441         {0x0000b034, 0x02000304},
00442         {0x0000b038, 0x02000400},
00443         {0x0000b03c, 0x02010300},
00444         {0x0000b040, 0x02010301},
00445         {0x0000b044, 0x02010302},
00446         {0x0000b048, 0x02000500},
00447         {0x0000b04c, 0x02010400},
00448         {0x0000b050, 0x02020300},
00449         {0x0000b054, 0x02020301},
00450         {0x0000b058, 0x02020302},
00451         {0x0000b05c, 0x02020303},
00452         {0x0000b060, 0x02020400},
00453         {0x0000b064, 0x02030300},
00454         {0x0000b068, 0x02030301},
00455         {0x0000b06c, 0x02030302},
00456         {0x0000b070, 0x02030303},
00457         {0x0000b074, 0x02030400},
00458         {0x0000b078, 0x02040300},
00459         {0x0000b07c, 0x02040301},
00460         {0x0000b080, 0x02040302},
00461         {0x0000b084, 0x02040303},
00462         {0x0000b088, 0x02030500},
00463         {0x0000b08c, 0x02040400},
00464         {0x0000b090, 0x02050203},
00465         {0x0000b094, 0x02050204},
00466         {0x0000b098, 0x02050205},
00467         {0x0000b09c, 0x02040500},
00468         {0x0000b0a0, 0x02050301},
00469         {0x0000b0a4, 0x02050302},
00470         {0x0000b0a8, 0x02050303},
00471         {0x0000b0ac, 0x02050400},
00472         {0x0000b0b0, 0x02050401},
00473         {0x0000b0b4, 0x02050402},
00474         {0x0000b0b8, 0x02050403},
00475         {0x0000b0bc, 0x02050500},
00476         {0x0000b0c0, 0x02050501},
00477         {0x0000b0c4, 0x02050502},
00478         {0x0000b0c8, 0x02050503},
00479         {0x0000b0cc, 0x02050504},
00480         {0x0000b0d0, 0x02050600},
00481         {0x0000b0d4, 0x02050601},
00482         {0x0000b0d8, 0x02050602},
00483         {0x0000b0dc, 0x02050603},
00484         {0x0000b0e0, 0x02050604},
00485         {0x0000b0e4, 0x02050700},
00486         {0x0000b0e8, 0x02050701},
00487         {0x0000b0ec, 0x02050702},
00488         {0x0000b0f0, 0x02050703},
00489         {0x0000b0f4, 0x02050704},
00490         {0x0000b0f8, 0x02050705},
00491         {0x0000b0fc, 0x02050708},
00492         {0x0000b100, 0x02050709},
00493         {0x0000b104, 0x0205070a},
00494         {0x0000b108, 0x0205070b},
00495         {0x0000b10c, 0x0205070c},
00496         {0x0000b110, 0x0205070d},
00497         {0x0000b114, 0x02050710},
00498         {0x0000b118, 0x02050711},
00499         {0x0000b11c, 0x02050712},
00500         {0x0000b120, 0x02050713},
00501         {0x0000b124, 0x02050714},
00502         {0x0000b128, 0x02050715},
00503         {0x0000b12c, 0x02050730},
00504         {0x0000b130, 0x02050731},
00505         {0x0000b134, 0x02050732},
00506         {0x0000b138, 0x02050733},
00507         {0x0000b13c, 0x02050734},
00508         {0x0000b140, 0x02050735},
00509         {0x0000b144, 0x02050750},
00510         {0x0000b148, 0x02050751},
00511         {0x0000b14c, 0x02050752},
00512         {0x0000b150, 0x02050753},
00513         {0x0000b154, 0x02050754},
00514         {0x0000b158, 0x02050755},
00515         {0x0000b15c, 0x02050770},
00516         {0x0000b160, 0x02050771},
00517         {0x0000b164, 0x02050772},
00518         {0x0000b168, 0x02050773},
00519         {0x0000b16c, 0x02050774},
00520         {0x0000b170, 0x02050775},
00521         {0x0000b174, 0x00000776},
00522         {0x0000b178, 0x00000776},
00523         {0x0000b17c, 0x00000776},
00524         {0x0000b180, 0x00000776},
00525         {0x0000b184, 0x00000776},
00526         {0x0000b188, 0x00000776},
00527         {0x0000b18c, 0x00000776},
00528         {0x0000b190, 0x00000776},
00529         {0x0000b194, 0x00000776},
00530         {0x0000b198, 0x00000776},
00531         {0x0000b19c, 0x00000776},
00532         {0x0000b1a0, 0x00000776},
00533         {0x0000b1a4, 0x00000776},
00534         {0x0000b1a8, 0x00000776},
00535         {0x0000b1ac, 0x00000776},
00536         {0x0000b1b0, 0x00000776},
00537         {0x0000b1b4, 0x00000776},
00538         {0x0000b1b8, 0x00000776},
00539         {0x0000b1bc, 0x00000776},
00540         {0x0000b1c0, 0x00000776},
00541         {0x0000b1c4, 0x00000776},
00542         {0x0000b1c8, 0x00000776},
00543         {0x0000b1cc, 0x00000776},
00544         {0x0000b1d0, 0x00000776},
00545         {0x0000b1d4, 0x00000776},
00546         {0x0000b1d8, 0x00000776},
00547         {0x0000b1dc, 0x00000776},
00548         {0x0000b1e0, 0x00000776},
00549         {0x0000b1e4, 0x00000776},
00550         {0x0000b1e8, 0x00000776},
00551         {0x0000b1ec, 0x00000776},
00552         {0x0000b1f0, 0x00000776},
00553         {0x0000b1f4, 0x00000776},
00554         {0x0000b1f8, 0x00000776},
00555         {0x0000b1fc, 0x00000776},
00556 };
00557 
00558 static __unused const u32 ar9300_2p2_mac_postamble[][5] = {
00559         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00560         {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160},
00561         {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c},
00562         {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38},
00563         {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00},
00564         {0x0000801c, 0x128d8027, 0x128d804f, 0x12e00057, 0x12e0002b},
00565         {0x00008120, 0x08f04800, 0x08f04800, 0x08f04810, 0x08f04810},
00566         {0x000081d0, 0x00003210, 0x00003210, 0x0000320a, 0x0000320a},
00567         {0x00008318, 0x00003e80, 0x00007d00, 0x00006880, 0x00003440},
00568 };
00569 
00570 static __unused const u32 ar9300_2p2_soc_postamble[][5] = {
00571         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00572         {0x00007010, 0x00000023, 0x00000023, 0x00000023, 0x00000023},
00573 };
00574 
00575 static __unused const u32 ar9200_merlin_2p2_radio_core[][2] = {
00576         /* Addr      allmodes  */
00577         {0x00007800, 0x00040000},
00578         {0x00007804, 0xdb005012},
00579         {0x00007808, 0x04924914},
00580         {0x0000780c, 0x21084210},
00581         {0x00007810, 0x6d801300},
00582         {0x00007814, 0x0019beff},
00583         {0x00007818, 0x07e41000},
00584         {0x0000781c, 0x00392000},
00585         {0x00007820, 0x92592480},
00586         {0x00007824, 0x00040000},
00587         {0x00007828, 0xdb005012},
00588         {0x0000782c, 0x04924914},
00589         {0x00007830, 0x21084210},
00590         {0x00007834, 0x6d801300},
00591         {0x00007838, 0x0019beff},
00592         {0x0000783c, 0x07e40000},
00593         {0x00007840, 0x00392000},
00594         {0x00007844, 0x92592480},
00595         {0x00007848, 0x00100000},
00596         {0x0000784c, 0x773f0567},
00597         {0x00007850, 0x54214514},
00598         {0x00007854, 0x12035828},
00599         {0x00007858, 0x92592692},
00600         {0x0000785c, 0x00000000},
00601         {0x00007860, 0x56400000},
00602         {0x00007864, 0x0a8e370e},
00603         {0x00007868, 0xc0102850},
00604         {0x0000786c, 0x812d4000},
00605         {0x00007870, 0x807ec400},
00606         {0x00007874, 0x001b6db0},
00607         {0x00007878, 0x00376b63},
00608         {0x0000787c, 0x06db6db6},
00609         {0x00007880, 0x006d8000},
00610         {0x00007884, 0xffeffffe},
00611         {0x00007888, 0xffeffffe},
00612         {0x0000788c, 0x00010000},
00613         {0x00007890, 0x02060aeb},
00614         {0x00007894, 0x5a108000},
00615 };
00616 
00617 static __unused const u32 ar9300_2p2_baseband_postamble[][5] = {
00618         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00619         {0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8011, 0xd00a8011},
00620         {0x00009820, 0x206a022e, 0x206a022e, 0x206a012e, 0x206a012e},
00621         {0x00009824, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0, 0x5ac640d0},
00622         {0x00009828, 0x06903081, 0x06903081, 0x06903881, 0x06903881},
00623         {0x0000982c, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4, 0x05eea6d4},
00624         {0x00009830, 0x0000059c, 0x0000059c, 0x0000119c, 0x0000119c},
00625         {0x00009c00, 0x000000c4, 0x000000c4, 0x000000c4, 0x000000c4},
00626         {0x00009e00, 0x0372111a, 0x0372111a, 0x037216a0, 0x037216a0},
00627         {0x00009e04, 0x001c2020, 0x001c2020, 0x001c2020, 0x001c2020},
00628         {0x00009e0c, 0x6c4000e2, 0x6d4000e2, 0x6d4000e2, 0x6c4000e2},
00629         {0x00009e10, 0x7ec88d2e, 0x7ec88d2e, 0x7ec84d2e, 0x7ec84d2e},
00630         {0x00009e14, 0x37b95d5e, 0x37b9605e, 0x3379605e, 0x33795d5e},
00631         {0x00009e18, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00632         {0x00009e1c, 0x0001cf9c, 0x0001cf9c, 0x00021f9c, 0x00021f9c},
00633         {0x00009e20, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce},
00634         {0x00009e2c, 0x0000001c, 0x0000001c, 0x00000021, 0x00000021},
00635         {0x00009e3c, 0xcf946220, 0xcf946220, 0xcf946222, 0xcf946222},
00636         {0x00009e44, 0x02321e27, 0x02321e27, 0x02291e27, 0x02291e27},
00637         {0x00009e48, 0x5030201a, 0x5030201a, 0x50302012, 0x50302012},
00638         {0x00009fc8, 0x0003f000, 0x0003f000, 0x0001a000, 0x0001a000},
00639         {0x0000a204, 0x000037c0, 0x000037c4, 0x000037c4, 0x000037c0},
00640         {0x0000a208, 0x00000104, 0x00000104, 0x00000004, 0x00000004},
00641         {0x0000a22c, 0x01026a2f, 0x01026a2f, 0x01026a2f, 0x01026a2f},
00642         {0x0000a230, 0x0000000a, 0x00000014, 0x00000016, 0x0000000b},
00643         {0x0000a234, 0x00000fff, 0x10000fff, 0x10000fff, 0x00000fff},
00644         {0x0000a238, 0xffb81018, 0xffb81018, 0xffb81018, 0xffb81018},
00645         {0x0000a250, 0x00000000, 0x00000000, 0x00000210, 0x00000108},
00646         {0x0000a254, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898},
00647         {0x0000a258, 0x02020002, 0x02020002, 0x02020002, 0x02020002},
00648         {0x0000a25c, 0x01000e0e, 0x01000e0e, 0x01000e0e, 0x01000e0e},
00649         {0x0000a260, 0x0a021501, 0x0a021501, 0x3a021501, 0x3a021501},
00650         {0x0000a264, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e},
00651         {0x0000a280, 0x00000007, 0x00000007, 0x0000000b, 0x0000000b},
00652         {0x0000a284, 0x00000000, 0x00000000, 0x00000150, 0x00000150},
00653         {0x0000a288, 0x00000110, 0x00000110, 0x00000110, 0x00000110},
00654         {0x0000a28c, 0x00022222, 0x00022222, 0x00022222, 0x00022222},
00655         {0x0000a2c4, 0x00158d18, 0x00158d18, 0x00158d18, 0x00158d18},
00656         {0x0000a2d0, 0x00071981, 0x00071981, 0x00071981, 0x00071982},
00657         {0x0000a2d8, 0x7999a83a, 0x7999a83a, 0x7999a83a, 0x7999a83a},
00658         {0x0000a358, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00659         {0x0000a830, 0x0000019c, 0x0000019c, 0x0000019c, 0x0000019c},
00660         {0x0000ae04, 0x001c0000, 0x001c0000, 0x001c0000, 0x001c0000},
00661         {0x0000ae18, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00662         {0x0000ae1c, 0x0000019c, 0x0000019c, 0x0000019c, 0x0000019c},
00663         {0x0000ae20, 0x000001b5, 0x000001b5, 0x000001ce, 0x000001ce},
00664         {0x0000b284, 0x00000000, 0x00000000, 0x00000150, 0x00000150},
00665         {0x0000b830, 0x0000019c, 0x0000019c, 0x0000019c, 0x0000019c},
00666         {0x0000be04, 0x001c0000, 0x001c0000, 0x001c0000, 0x001c0000},
00667         {0x0000be18, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00668         {0x0000be1c, 0x0000019c, 0x0000019c, 0x0000019c, 0x0000019c},
00669         {0x0000be20, 0x000001b5, 0x000001b5, 0x000001ce, 0x000001ce},
00670         {0x0000c284, 0x00000000, 0x00000000, 0x00000150, 0x00000150},
00671 };
00672 
00673 static __unused const u32 ar9300_2p2_baseband_core[][2] = {
00674         /* Addr      allmodes  */
00675         {0x00009800, 0xafe68e30},
00676         {0x00009804, 0xfd14e000},
00677         {0x00009808, 0x9c0a9f6b},
00678         {0x0000980c, 0x04900000},
00679         {0x00009814, 0x9280c00a},
00680         {0x00009818, 0x00000000},
00681         {0x0000981c, 0x00020028},
00682         {0x00009834, 0x6400a290},
00683         {0x00009838, 0x0108ecff},
00684         {0x0000983c, 0x0d000600},
00685         {0x00009880, 0x201fff00},
00686         {0x00009884, 0x00001042},
00687         {0x000098a4, 0x00200400},
00688         {0x000098b0, 0x32840bbe},
00689         {0x000098d0, 0x004b6a8e},
00690         {0x000098d4, 0x00000820},
00691         {0x000098dc, 0x00000000},
00692         {0x000098f0, 0x00000000},
00693         {0x000098f4, 0x00000000},
00694         {0x00009c04, 0xff55ff55},
00695         {0x00009c08, 0x0320ff55},
00696         {0x00009c0c, 0x00000000},
00697         {0x00009c10, 0x00000000},
00698         {0x00009c14, 0x00046384},
00699         {0x00009c18, 0x05b6b440},
00700         {0x00009c1c, 0x00b6b440},
00701         {0x00009d00, 0xc080a333},
00702         {0x00009d04, 0x40206c10},
00703         {0x00009d08, 0x009c4060},
00704         {0x00009d0c, 0x9883800a},
00705         {0x00009d10, 0x01834061},
00706         {0x00009d14, 0x00c0040b},
00707         {0x00009d18, 0x00000000},
00708         {0x00009e08, 0x0038230c},
00709         {0x00009e24, 0x990bb515},
00710         {0x00009e28, 0x0c6f0000},
00711         {0x00009e30, 0x06336f77},
00712         {0x00009e34, 0x6af6532f},
00713         {0x00009e38, 0x0cc80c00},
00714         {0x00009e40, 0x0d261820},
00715         {0x00009e4c, 0x00001004},
00716         {0x00009e50, 0x00ff03f1},
00717         {0x00009e54, 0x00000000},
00718         {0x00009fc0, 0x803e4788},
00719         {0x00009fc4, 0x0001efb5},
00720         {0x00009fcc, 0x40000014},
00721         {0x00009fd0, 0x01193b93},
00722         {0x0000a20c, 0x00000000},
00723         {0x0000a220, 0x00000000},
00724         {0x0000a224, 0x00000000},
00725         {0x0000a228, 0x10002310},
00726         {0x0000a23c, 0x00000000},
00727         {0x0000a244, 0x0c000000},
00728         {0x0000a2a0, 0x00000001},
00729         {0x0000a2c0, 0x00000001},
00730         {0x0000a2c8, 0x00000000},
00731         {0x0000a2cc, 0x18c43433},
00732         {0x0000a2d4, 0x00000000},
00733         {0x0000a2ec, 0x00000000},
00734         {0x0000a2f0, 0x00000000},
00735         {0x0000a2f4, 0x00000000},
00736         {0x0000a2f8, 0x00000000},
00737         {0x0000a344, 0x00000000},
00738         {0x0000a34c, 0x00000000},
00739         {0x0000a350, 0x0000a000},
00740         {0x0000a364, 0x00000000},
00741         {0x0000a370, 0x00000000},
00742         {0x0000a390, 0x00000001},
00743         {0x0000a394, 0x00000444},
00744         {0x0000a398, 0x001f0e0f},
00745         {0x0000a39c, 0x0075393f},
00746         {0x0000a3a0, 0xb79f6427},
00747         {0x0000a3a4, 0x00000000},
00748         {0x0000a3a8, 0xaaaaaaaa},
00749         {0x0000a3ac, 0x3c466478},
00750         {0x0000a3c0, 0x20202020},
00751         {0x0000a3c4, 0x22222220},
00752         {0x0000a3c8, 0x20200020},
00753         {0x0000a3cc, 0x20202020},
00754         {0x0000a3d0, 0x20202020},
00755         {0x0000a3d4, 0x20202020},
00756         {0x0000a3d8, 0x20202020},
00757         {0x0000a3dc, 0x20202020},
00758         {0x0000a3e0, 0x20202020},
00759         {0x0000a3e4, 0x20202020},
00760         {0x0000a3e8, 0x20202020},
00761         {0x0000a3ec, 0x20202020},
00762         {0x0000a3f0, 0x00000000},
00763         {0x0000a3f4, 0x00000246},
00764         {0x0000a3f8, 0x0cdbd380},
00765         {0x0000a3fc, 0x000f0f01},
00766         {0x0000a400, 0x8fa91f01},
00767         {0x0000a404, 0x00000000},
00768         {0x0000a408, 0x0e79e5c6},
00769         {0x0000a40c, 0x00820820},
00770         {0x0000a414, 0x1ce739ce},
00771         {0x0000a418, 0x2d001dce},
00772         {0x0000a41c, 0x1ce739ce},
00773         {0x0000a420, 0x000001ce},
00774         {0x0000a424, 0x1ce739ce},
00775         {0x0000a428, 0x000001ce},
00776         {0x0000a42c, 0x1ce739ce},
00777         {0x0000a430, 0x1ce739ce},
00778         {0x0000a434, 0x00000000},
00779         {0x0000a438, 0x00001801},
00780         {0x0000a43c, 0x00100000},
00781         {0x0000a440, 0x00000000},
00782         {0x0000a444, 0x00000000},
00783         {0x0000a448, 0x06000080},
00784         {0x0000a44c, 0x00000001},
00785         {0x0000a450, 0x00010000},
00786         {0x0000a458, 0x00000000},
00787         {0x0000a640, 0x00000000},
00788         {0x0000a644, 0x3fad9d74},
00789         {0x0000a648, 0x0048060a},
00790         {0x0000a64c, 0x00003c37},
00791         {0x0000a670, 0x03020100},
00792         {0x0000a674, 0x09080504},
00793         {0x0000a678, 0x0d0c0b0a},
00794         {0x0000a67c, 0x13121110},
00795         {0x0000a680, 0x31301514},
00796         {0x0000a684, 0x35343332},
00797         {0x0000a688, 0x00000036},
00798         {0x0000a690, 0x00000838},
00799         {0x0000a7c0, 0x00000000},
00800         {0x0000a7c4, 0xfffffffc},
00801         {0x0000a7c8, 0x00000000},
00802         {0x0000a7cc, 0x00000000},
00803         {0x0000a7d0, 0x00000000},
00804         {0x0000a7d4, 0x00000004},
00805         {0x0000a7dc, 0x00000001},
00806         {0x0000a8d0, 0x004b6a8e},
00807         {0x0000a8d4, 0x00000820},
00808         {0x0000a8dc, 0x00000000},
00809         {0x0000a8f0, 0x00000000},
00810         {0x0000a8f4, 0x00000000},
00811         {0x0000b2d0, 0x00000080},
00812         {0x0000b2d4, 0x00000000},
00813         {0x0000b2ec, 0x00000000},
00814         {0x0000b2f0, 0x00000000},
00815         {0x0000b2f4, 0x00000000},
00816         {0x0000b2f8, 0x00000000},
00817         {0x0000b408, 0x0e79e5c0},
00818         {0x0000b40c, 0x00820820},
00819         {0x0000b420, 0x00000000},
00820         {0x0000b8d0, 0x004b6a8e},
00821         {0x0000b8d4, 0x00000820},
00822         {0x0000b8dc, 0x00000000},
00823         {0x0000b8f0, 0x00000000},
00824         {0x0000b8f4, 0x00000000},
00825         {0x0000c2d0, 0x00000080},
00826         {0x0000c2d4, 0x00000000},
00827         {0x0000c2ec, 0x00000000},
00828         {0x0000c2f0, 0x00000000},
00829         {0x0000c2f4, 0x00000000},
00830         {0x0000c2f8, 0x00000000},
00831         {0x0000c408, 0x0e79e5c0},
00832         {0x0000c40c, 0x00820820},
00833         {0x0000c420, 0x00000000},
00834 };
00835 
00836 static __unused const u32 ar9300Modes_high_power_tx_gain_table_2p2[][5] = {
00837         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00838         {0x0000a2dc, 0x0380c7fc, 0x0380c7fc, 0x03aaa352, 0x03aaa352},
00839         {0x0000a2e0, 0x0000f800, 0x0000f800, 0x03ccc584, 0x03ccc584},
00840         {0x0000a2e4, 0x03ff0000, 0x03ff0000, 0x03f0f800, 0x03f0f800},
00841         {0x0000a2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00842         {0x0000a410, 0x000050d8, 0x000050d8, 0x000050d9, 0x000050d9},
00843         {0x0000a500, 0x00002220, 0x00002220, 0x00000000, 0x00000000},
00844         {0x0000a504, 0x04002222, 0x04002222, 0x04000002, 0x04000002},
00845         {0x0000a508, 0x09002421, 0x09002421, 0x08000004, 0x08000004},
00846         {0x0000a50c, 0x0d002621, 0x0d002621, 0x0b000200, 0x0b000200},
00847         {0x0000a510, 0x13004620, 0x13004620, 0x0f000202, 0x0f000202},
00848         {0x0000a514, 0x19004a20, 0x19004a20, 0x11000400, 0x11000400},
00849         {0x0000a518, 0x1d004e20, 0x1d004e20, 0x15000402, 0x15000402},
00850         {0x0000a51c, 0x21005420, 0x21005420, 0x19000404, 0x19000404},
00851         {0x0000a520, 0x26005e20, 0x26005e20, 0x1b000603, 0x1b000603},
00852         {0x0000a524, 0x2b005e40, 0x2b005e40, 0x1f000a02, 0x1f000a02},
00853         {0x0000a528, 0x2f005e42, 0x2f005e42, 0x23000a04, 0x23000a04},
00854         {0x0000a52c, 0x33005e44, 0x33005e44, 0x26000a20, 0x26000a20},
00855         {0x0000a530, 0x38005e65, 0x38005e65, 0x2a000e20, 0x2a000e20},
00856         {0x0000a534, 0x3c005e69, 0x3c005e69, 0x2e000e22, 0x2e000e22},
00857         {0x0000a538, 0x40005e6b, 0x40005e6b, 0x31000e24, 0x31000e24},
00858         {0x0000a53c, 0x44005e6d, 0x44005e6d, 0x34001640, 0x34001640},
00859         {0x0000a540, 0x49005e72, 0x49005e72, 0x38001660, 0x38001660},
00860         {0x0000a544, 0x4e005eb2, 0x4e005eb2, 0x3b001861, 0x3b001861},
00861         {0x0000a548, 0x53005f12, 0x53005f12, 0x3e001a81, 0x3e001a81},
00862         {0x0000a54c, 0x59025eb2, 0x59025eb2, 0x42001a83, 0x42001a83},
00863         {0x0000a550, 0x5e025f12, 0x5e025f12, 0x44001c84, 0x44001c84},
00864         {0x0000a554, 0x61027f12, 0x61027f12, 0x48001ce3, 0x48001ce3},
00865         {0x0000a558, 0x6702bf12, 0x6702bf12, 0x4c001ce5, 0x4c001ce5},
00866         {0x0000a55c, 0x6b02bf14, 0x6b02bf14, 0x50001ce9, 0x50001ce9},
00867         {0x0000a560, 0x6f02bf16, 0x6f02bf16, 0x54001ceb, 0x54001ceb},
00868         {0x0000a564, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00869         {0x0000a568, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00870         {0x0000a56c, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00871         {0x0000a570, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00872         {0x0000a574, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00873         {0x0000a578, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00874         {0x0000a57c, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00875         {0x0000a580, 0x00802220, 0x00802220, 0x00800000, 0x00800000},
00876         {0x0000a584, 0x04802222, 0x04802222, 0x04800002, 0x04800002},
00877         {0x0000a588, 0x09802421, 0x09802421, 0x08800004, 0x08800004},
00878         {0x0000a58c, 0x0d802621, 0x0d802621, 0x0b800200, 0x0b800200},
00879         {0x0000a590, 0x13804620, 0x13804620, 0x0f800202, 0x0f800202},
00880         {0x0000a594, 0x19804a20, 0x19804a20, 0x11800400, 0x11800400},
00881         {0x0000a598, 0x1d804e20, 0x1d804e20, 0x15800402, 0x15800402},
00882         {0x0000a59c, 0x21805420, 0x21805420, 0x19800404, 0x19800404},
00883         {0x0000a5a0, 0x26805e20, 0x26805e20, 0x1b800603, 0x1b800603},
00884         {0x0000a5a4, 0x2b805e40, 0x2b805e40, 0x1f800a02, 0x1f800a02},
00885         {0x0000a5a8, 0x2f805e42, 0x2f805e42, 0x23800a04, 0x23800a04},
00886         {0x0000a5ac, 0x33805e44, 0x33805e44, 0x26800a20, 0x26800a20},
00887         {0x0000a5b0, 0x38805e65, 0x38805e65, 0x2a800e20, 0x2a800e20},
00888         {0x0000a5b4, 0x3c805e69, 0x3c805e69, 0x2e800e22, 0x2e800e22},
00889         {0x0000a5b8, 0x40805e6b, 0x40805e6b, 0x31800e24, 0x31800e24},
00890         {0x0000a5bc, 0x44805e6d, 0x44805e6d, 0x34801640, 0x34801640},
00891         {0x0000a5c0, 0x49805e72, 0x49805e72, 0x38801660, 0x38801660},
00892         {0x0000a5c4, 0x4e805eb2, 0x4e805eb2, 0x3b801861, 0x3b801861},
00893         {0x0000a5c8, 0x53805f12, 0x53805f12, 0x3e801a81, 0x3e801a81},
00894         {0x0000a5cc, 0x59825eb2, 0x59825eb2, 0x42801a83, 0x42801a83},
00895         {0x0000a5d0, 0x5e825f12, 0x5e825f12, 0x44801c84, 0x44801c84},
00896         {0x0000a5d4, 0x61827f12, 0x61827f12, 0x48801ce3, 0x48801ce3},
00897         {0x0000a5d8, 0x6782bf12, 0x6782bf12, 0x4c801ce5, 0x4c801ce5},
00898         {0x0000a5dc, 0x6b82bf14, 0x6b82bf14, 0x50801ce9, 0x50801ce9},
00899         {0x0000a5e0, 0x6f82bf16, 0x6f82bf16, 0x54801ceb, 0x54801ceb},
00900         {0x0000a5e4, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00901         {0x0000a5e8, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00902         {0x0000a5ec, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00903         {0x0000a5f0, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00904         {0x0000a5f4, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00905         {0x0000a5f8, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00906         {0x0000a5fc, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
00907         {0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00908         {0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00909         {0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00910         {0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
00911         {0x0000a610, 0x00804000, 0x00804000, 0x00000000, 0x00000000},
00912         {0x0000a614, 0x00804201, 0x00804201, 0x01404000, 0x01404000},
00913         {0x0000a618, 0x0280c802, 0x0280c802, 0x01404501, 0x01404501},
00914         {0x0000a61c, 0x0280ca03, 0x0280ca03, 0x02008501, 0x02008501},
00915         {0x0000a620, 0x04c15104, 0x04c15104, 0x0280ca03, 0x0280ca03},
00916         {0x0000a624, 0x04c15305, 0x04c15305, 0x03010c04, 0x03010c04},
00917         {0x0000a628, 0x04c15305, 0x04c15305, 0x04014c04, 0x04014c04},
00918         {0x0000a62c, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
00919         {0x0000a630, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
00920         {0x0000a634, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
00921         {0x0000a638, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
00922         {0x0000a63c, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
00923         {0x0000b2dc, 0x0380c7fc, 0x0380c7fc, 0x03aaa352, 0x03aaa352},
00924         {0x0000b2e0, 0x0000f800, 0x0000f800, 0x03ccc584, 0x03ccc584},
00925         {0x0000b2e4, 0x03ff0000, 0x03ff0000, 0x03f0f800, 0x03f0f800},
00926         {0x0000b2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00927         {0x0000c2dc, 0x0380c7fc, 0x0380c7fc, 0x03aaa352, 0x03aaa352},
00928         {0x0000c2e0, 0x0000f800, 0x0000f800, 0x03ccc584, 0x03ccc584},
00929         {0x0000c2e4, 0x03ff0000, 0x03ff0000, 0x03f0f800, 0x03f0f800},
00930         {0x0000c2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00931         {0x00016044, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6},
00932         {0x00016048, 0xae480001, 0xae480001, 0xae480001, 0xae480001},
00933         {0x00016068, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c},
00934         {0x00016444, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6},
00935         {0x00016448, 0xae480001, 0xae480001, 0xae480001, 0xae480001},
00936         {0x00016468, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c},
00937         {0x00016844, 0x056db2e6, 0x056db2e6, 0x056db2e6, 0x056db2e6},
00938         {0x00016848, 0xae480001, 0xae480001, 0xae480001, 0xae480001},
00939         {0x00016868, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c, 0x6eb6db6c},
00940 };
00941 
00942 static __unused const u32 ar9300Modes_high_ob_db_tx_gain_table_2p2[][5] = {
00943         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
00944         {0x0000a2dc, 0x01feee00, 0x01feee00, 0x03aaa352, 0x03aaa352},
00945         {0x0000a2e0, 0x0000f000, 0x0000f000, 0x03ccc584, 0x03ccc584},
00946         {0x0000a2e4, 0x01ff0000, 0x01ff0000, 0x03f0f800, 0x03f0f800},
00947         {0x0000a2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
00948         {0x0000a410, 0x000050d8, 0x000050d8, 0x000050d9, 0x000050d9},
00949         {0x0000a500, 0x00002220, 0x00002220, 0x00000000, 0x00000000},
00950         {0x0000a504, 0x04002222, 0x04002222, 0x04000002, 0x04000002},
00951         {0x0000a508, 0x09002421, 0x09002421, 0x08000004, 0x08000004},
00952         {0x0000a50c, 0x0d002621, 0x0d002621, 0x0b000200, 0x0b000200},
00953         {0x0000a510, 0x13004620, 0x13004620, 0x0f000202, 0x0f000202},
00954         {0x0000a514, 0x19004a20, 0x19004a20, 0x11000400, 0x11000400},
00955         {0x0000a518, 0x1d004e20, 0x1d004e20, 0x15000402, 0x15000402},
00956         {0x0000a51c, 0x21005420, 0x21005420, 0x19000404, 0x19000404},
00957         {0x0000a520, 0x26005e20, 0x26005e20, 0x1b000603, 0x1b000603},
00958         {0x0000a524, 0x2b005e40, 0x2b005e40, 0x1f000a02, 0x1f000a02},
00959         {0x0000a528, 0x2f005e42, 0x2f005e42, 0x23000a04, 0x23000a04},
00960         {0x0000a52c, 0x33005e44, 0x33005e44, 0x26000a20, 0x26000a20},
00961         {0x0000a530, 0x38005e65, 0x38005e65, 0x2a000e20, 0x2a000e20},
00962         {0x0000a534, 0x3c005e69, 0x3c005e69, 0x2e000e22, 0x2e000e22},
00963         {0x0000a538, 0x40005e6b, 0x40005e6b, 0x31000e24, 0x31000e24},
00964         {0x0000a53c, 0x44005e6d, 0x44005e6d, 0x34001640, 0x34001640},
00965         {0x0000a540, 0x49005e72, 0x49005e72, 0x38001660, 0x38001660},
00966         {0x0000a544, 0x4e005eb2, 0x4e005eb2, 0x3b001861, 0x3b001861},
00967         {0x0000a548, 0x53005f12, 0x53005f12, 0x3e001a81, 0x3e001a81},
00968         {0x0000a54c, 0x59025eb2, 0x59025eb2, 0x42001a83, 0x42001a83},
00969         {0x0000a550, 0x5e025f12, 0x5e025f12, 0x44001c84, 0x44001c84},
00970         {0x0000a554, 0x61027f12, 0x61027f12, 0x48001ce3, 0x48001ce3},
00971         {0x0000a558, 0x6702bf12, 0x6702bf12, 0x4c001ce5, 0x4c001ce5},
00972         {0x0000a55c, 0x6b02bf14, 0x6b02bf14, 0x50001ce9, 0x50001ce9},
00973         {0x0000a560, 0x6f02bf16, 0x6f02bf16, 0x54001ceb, 0x54001ceb},
00974         {0x0000a564, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00975         {0x0000a568, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00976         {0x0000a56c, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00977         {0x0000a570, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00978         {0x0000a574, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00979         {0x0000a578, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00980         {0x0000a57c, 0x6f02bf16, 0x6f02bf16, 0x56001eec, 0x56001eec},
00981         {0x0000a580, 0x00802220, 0x00802220, 0x00800000, 0x00800000},
00982         {0x0000a584, 0x04802222, 0x04802222, 0x04800002, 0x04800002},
00983         {0x0000a588, 0x09802421, 0x09802421, 0x08800004, 0x08800004},
00984         {0x0000a58c, 0x0d802621, 0x0d802621, 0x0b800200, 0x0b800200},
00985         {0x0000a590, 0x13804620, 0x13804620, 0x0f800202, 0x0f800202},
00986         {0x0000a594, 0x19804a20, 0x19804a20, 0x11800400, 0x11800400},
00987         {0x0000a598, 0x1d804e20, 0x1d804e20, 0x15800402, 0x15800402},
00988         {0x0000a59c, 0x21805420, 0x21805420, 0x19800404, 0x19800404},
00989         {0x0000a5a0, 0x26805e20, 0x26805e20, 0x1b800603, 0x1b800603},
00990         {0x0000a5a4, 0x2b805e40, 0x2b805e40, 0x1f800a02, 0x1f800a02},
00991         {0x0000a5a8, 0x2f805e42, 0x2f805e42, 0x23800a04, 0x23800a04},
00992         {0x0000a5ac, 0x33805e44, 0x33805e44, 0x26800a20, 0x26800a20},
00993         {0x0000a5b0, 0x38805e65, 0x38805e65, 0x2a800e20, 0x2a800e20},
00994         {0x0000a5b4, 0x3c805e69, 0x3c805e69, 0x2e800e22, 0x2e800e22},
00995         {0x0000a5b8, 0x40805e6b, 0x40805e6b, 0x31800e24, 0x31800e24},
00996         {0x0000a5bc, 0x44805e6d, 0x44805e6d, 0x34801640, 0x34801640},
00997         {0x0000a5c0, 0x49805e72, 0x49805e72, 0x38801660, 0x38801660},
00998         {0x0000a5c4, 0x4e805eb2, 0x4e805eb2, 0x3b801861, 0x3b801861},
00999         {0x0000a5c8, 0x53805f12, 0x53805f12, 0x3e801a81, 0x3e801a81},
01000         {0x0000a5cc, 0x59825eb2, 0x59825eb2, 0x42801a83, 0x42801a83},
01001         {0x0000a5d0, 0x5e825f12, 0x5e825f12, 0x44801c84, 0x44801c84},
01002         {0x0000a5d4, 0x61827f12, 0x61827f12, 0x48801ce3, 0x48801ce3},
01003         {0x0000a5d8, 0x6782bf12, 0x6782bf12, 0x4c801ce5, 0x4c801ce5},
01004         {0x0000a5dc, 0x6b82bf14, 0x6b82bf14, 0x50801ce9, 0x50801ce9},
01005         {0x0000a5e0, 0x6f82bf16, 0x6f82bf16, 0x54801ceb, 0x54801ceb},
01006         {0x0000a5e4, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01007         {0x0000a5e8, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01008         {0x0000a5ec, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01009         {0x0000a5f0, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01010         {0x0000a5f4, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01011         {0x0000a5f8, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01012         {0x0000a5fc, 0x6f82bf16, 0x6f82bf16, 0x56801eec, 0x56801eec},
01013         {0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01014         {0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01015         {0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01016         {0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01017         {0x0000a610, 0x00804000, 0x00804000, 0x00000000, 0x00000000},
01018         {0x0000a614, 0x00804201, 0x00804201, 0x01404000, 0x01404000},
01019         {0x0000a618, 0x0280c802, 0x0280c802, 0x01404501, 0x01404501},
01020         {0x0000a61c, 0x0280ca03, 0x0280ca03, 0x02008501, 0x02008501},
01021         {0x0000a620, 0x04c15104, 0x04c15104, 0x0280ca03, 0x0280ca03},
01022         {0x0000a624, 0x04c15305, 0x04c15305, 0x03010c04, 0x03010c04},
01023         {0x0000a628, 0x04c15305, 0x04c15305, 0x04014c04, 0x04014c04},
01024         {0x0000a62c, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
01025         {0x0000a630, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
01026         {0x0000a634, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
01027         {0x0000a638, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
01028         {0x0000a63c, 0x04c15305, 0x04c15305, 0x04015005, 0x04015005},
01029         {0x0000b2dc, 0x01feee00, 0x01feee00, 0x03aaa352, 0x03aaa352},
01030         {0x0000b2e0, 0x0000f000, 0x0000f000, 0x03ccc584, 0x03ccc584},
01031         {0x0000b2e4, 0x01ff0000, 0x01ff0000, 0x03f0f800, 0x03f0f800},
01032         {0x0000b2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
01033         {0x0000c2dc, 0x01feee00, 0x01feee00, 0x03aaa352, 0x03aaa352},
01034         {0x0000c2e0, 0x0000f000, 0x0000f000, 0x03ccc584, 0x03ccc584},
01035         {0x0000c2e4, 0x01ff0000, 0x01ff0000, 0x03f0f800, 0x03f0f800},
01036         {0x0000c2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
01037         {0x00016044, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4},
01038         {0x00016048, 0x8e480001, 0x8e480001, 0x8e480001, 0x8e480001},
01039         {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
01040         {0x00016444, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4},
01041         {0x00016448, 0x8e480001, 0x8e480001, 0x8e480001, 0x8e480001},
01042         {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
01043         {0x00016844, 0x056db2e4, 0x056db2e4, 0x056db2e4, 0x056db2e4},
01044         {0x00016848, 0x8e480001, 0x8e480001, 0x8e480001, 0x8e480001},
01045         {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
01046 };
01047 
01048 static __unused const u32 ar9300Common_rx_gain_table_2p2[][2] = {
01049         /* Addr      allmodes  */
01050         {0x0000a000, 0x00010000},
01051         {0x0000a004, 0x00030002},
01052         {0x0000a008, 0x00050004},
01053         {0x0000a00c, 0x00810080},
01054         {0x0000a010, 0x00830082},
01055         {0x0000a014, 0x01810180},
01056         {0x0000a018, 0x01830182},
01057         {0x0000a01c, 0x01850184},
01058         {0x0000a020, 0x01890188},
01059         {0x0000a024, 0x018b018a},
01060         {0x0000a028, 0x018d018c},
01061         {0x0000a02c, 0x01910190},
01062         {0x0000a030, 0x01930192},
01063         {0x0000a034, 0x01950194},
01064         {0x0000a038, 0x038a0196},
01065         {0x0000a03c, 0x038c038b},
01066         {0x0000a040, 0x0390038d},
01067         {0x0000a044, 0x03920391},
01068         {0x0000a048, 0x03940393},
01069         {0x0000a04c, 0x03960395},
01070         {0x0000a050, 0x00000000},
01071         {0x0000a054, 0x00000000},
01072         {0x0000a058, 0x00000000},
01073         {0x0000a05c, 0x00000000},
01074         {0x0000a060, 0x00000000},
01075         {0x0000a064, 0x00000000},
01076         {0x0000a068, 0x00000000},
01077         {0x0000a06c, 0x00000000},
01078         {0x0000a070, 0x00000000},
01079         {0x0000a074, 0x00000000},
01080         {0x0000a078, 0x00000000},
01081         {0x0000a07c, 0x00000000},
01082         {0x0000a080, 0x22222229},
01083         {0x0000a084, 0x1d1d1d1d},
01084         {0x0000a088, 0x1d1d1d1d},
01085         {0x0000a08c, 0x1d1d1d1d},
01086         {0x0000a090, 0x171d1d1d},
01087         {0x0000a094, 0x11111717},
01088         {0x0000a098, 0x00030311},
01089         {0x0000a09c, 0x00000000},
01090         {0x0000a0a0, 0x00000000},
01091         {0x0000a0a4, 0x00000000},
01092         {0x0000a0a8, 0x00000000},
01093         {0x0000a0ac, 0x00000000},
01094         {0x0000a0b0, 0x00000000},
01095         {0x0000a0b4, 0x00000000},
01096         {0x0000a0b8, 0x00000000},
01097         {0x0000a0bc, 0x00000000},
01098         {0x0000a0c0, 0x001f0000},
01099         {0x0000a0c4, 0x01000101},
01100         {0x0000a0c8, 0x011e011f},
01101         {0x0000a0cc, 0x011c011d},
01102         {0x0000a0d0, 0x02030204},
01103         {0x0000a0d4, 0x02010202},
01104         {0x0000a0d8, 0x021f0200},
01105         {0x0000a0dc, 0x0302021e},
01106         {0x0000a0e0, 0x03000301},
01107         {0x0000a0e4, 0x031e031f},
01108         {0x0000a0e8, 0x0402031d},
01109         {0x0000a0ec, 0x04000401},
01110         {0x0000a0f0, 0x041e041f},
01111         {0x0000a0f4, 0x0502041d},
01112         {0x0000a0f8, 0x05000501},
01113         {0x0000a0fc, 0x051e051f},
01114         {0x0000a100, 0x06010602},
01115         {0x0000a104, 0x061f0600},
01116         {0x0000a108, 0x061d061e},
01117         {0x0000a10c, 0x07020703},
01118         {0x0000a110, 0x07000701},
01119         {0x0000a114, 0x00000000},
01120         {0x0000a118, 0x00000000},
01121         {0x0000a11c, 0x00000000},
01122         {0x0000a120, 0x00000000},
01123         {0x0000a124, 0x00000000},
01124         {0x0000a128, 0x00000000},
01125         {0x0000a12c, 0x00000000},
01126         {0x0000a130, 0x00000000},
01127         {0x0000a134, 0x00000000},
01128         {0x0000a138, 0x00000000},
01129         {0x0000a13c, 0x00000000},
01130         {0x0000a140, 0x001f0000},
01131         {0x0000a144, 0x01000101},
01132         {0x0000a148, 0x011e011f},
01133         {0x0000a14c, 0x011c011d},
01134         {0x0000a150, 0x02030204},
01135         {0x0000a154, 0x02010202},
01136         {0x0000a158, 0x021f0200},
01137         {0x0000a15c, 0x0302021e},
01138         {0x0000a160, 0x03000301},
01139         {0x0000a164, 0x031e031f},
01140         {0x0000a168, 0x0402031d},
01141         {0x0000a16c, 0x04000401},
01142         {0x0000a170, 0x041e041f},
01143         {0x0000a174, 0x0502041d},
01144         {0x0000a178, 0x05000501},
01145         {0x0000a17c, 0x051e051f},
01146         {0x0000a180, 0x06010602},
01147         {0x0000a184, 0x061f0600},
01148         {0x0000a188, 0x061d061e},
01149         {0x0000a18c, 0x07020703},
01150         {0x0000a190, 0x07000701},
01151         {0x0000a194, 0x00000000},
01152         {0x0000a198, 0x00000000},
01153         {0x0000a19c, 0x00000000},
01154         {0x0000a1a0, 0x00000000},
01155         {0x0000a1a4, 0x00000000},
01156         {0x0000a1a8, 0x00000000},
01157         {0x0000a1ac, 0x00000000},
01158         {0x0000a1b0, 0x00000000},
01159         {0x0000a1b4, 0x00000000},
01160         {0x0000a1b8, 0x00000000},
01161         {0x0000a1bc, 0x00000000},
01162         {0x0000a1c0, 0x00000000},
01163         {0x0000a1c4, 0x00000000},
01164         {0x0000a1c8, 0x00000000},
01165         {0x0000a1cc, 0x00000000},
01166         {0x0000a1d0, 0x00000000},
01167         {0x0000a1d4, 0x00000000},
01168         {0x0000a1d8, 0x00000000},
01169         {0x0000a1dc, 0x00000000},
01170         {0x0000a1e0, 0x00000000},
01171         {0x0000a1e4, 0x00000000},
01172         {0x0000a1e8, 0x00000000},
01173         {0x0000a1ec, 0x00000000},
01174         {0x0000a1f0, 0x00000396},
01175         {0x0000a1f4, 0x00000396},
01176         {0x0000a1f8, 0x00000396},
01177         {0x0000a1fc, 0x00000196},
01178         {0x0000b000, 0x00010000},
01179         {0x0000b004, 0x00030002},
01180         {0x0000b008, 0x00050004},
01181         {0x0000b00c, 0x00810080},
01182         {0x0000b010, 0x00830082},
01183         {0x0000b014, 0x01810180},
01184         {0x0000b018, 0x01830182},
01185         {0x0000b01c, 0x01850184},
01186         {0x0000b020, 0x02810280},
01187         {0x0000b024, 0x02830282},
01188         {0x0000b028, 0x02850284},
01189         {0x0000b02c, 0x02890288},
01190         {0x0000b030, 0x028b028a},
01191         {0x0000b034, 0x0388028c},
01192         {0x0000b038, 0x038a0389},
01193         {0x0000b03c, 0x038c038b},
01194         {0x0000b040, 0x0390038d},
01195         {0x0000b044, 0x03920391},
01196         {0x0000b048, 0x03940393},
01197         {0x0000b04c, 0x03960395},
01198         {0x0000b050, 0x00000000},
01199         {0x0000b054, 0x00000000},
01200         {0x0000b058, 0x00000000},
01201         {0x0000b05c, 0x00000000},
01202         {0x0000b060, 0x00000000},
01203         {0x0000b064, 0x00000000},
01204         {0x0000b068, 0x00000000},
01205         {0x0000b06c, 0x00000000},
01206         {0x0000b070, 0x00000000},
01207         {0x0000b074, 0x00000000},
01208         {0x0000b078, 0x00000000},
01209         {0x0000b07c, 0x00000000},
01210         {0x0000b080, 0x2a2d2f32},
01211         {0x0000b084, 0x21232328},
01212         {0x0000b088, 0x19191c1e},
01213         {0x0000b08c, 0x12141417},
01214         {0x0000b090, 0x07070e0e},
01215         {0x0000b094, 0x03030305},
01216         {0x0000b098, 0x00000003},
01217         {0x0000b09c, 0x00000000},
01218         {0x0000b0a0, 0x00000000},
01219         {0x0000b0a4, 0x00000000},
01220         {0x0000b0a8, 0x00000000},
01221         {0x0000b0ac, 0x00000000},
01222         {0x0000b0b0, 0x00000000},
01223         {0x0000b0b4, 0x00000000},
01224         {0x0000b0b8, 0x00000000},
01225         {0x0000b0bc, 0x00000000},
01226         {0x0000b0c0, 0x003f0020},
01227         {0x0000b0c4, 0x00400041},
01228         {0x0000b0c8, 0x0140005f},
01229         {0x0000b0cc, 0x0160015f},
01230         {0x0000b0d0, 0x017e017f},
01231         {0x0000b0d4, 0x02410242},
01232         {0x0000b0d8, 0x025f0240},
01233         {0x0000b0dc, 0x027f0260},
01234         {0x0000b0e0, 0x0341027e},
01235         {0x0000b0e4, 0x035f0340},
01236         {0x0000b0e8, 0x037f0360},
01237         {0x0000b0ec, 0x04400441},
01238         {0x0000b0f0, 0x0460045f},
01239         {0x0000b0f4, 0x0541047f},
01240         {0x0000b0f8, 0x055f0540},
01241         {0x0000b0fc, 0x057f0560},
01242         {0x0000b100, 0x06400641},
01243         {0x0000b104, 0x0660065f},
01244         {0x0000b108, 0x067e067f},
01245         {0x0000b10c, 0x07410742},
01246         {0x0000b110, 0x075f0740},
01247         {0x0000b114, 0x077f0760},
01248         {0x0000b118, 0x07800781},
01249         {0x0000b11c, 0x07a0079f},
01250         {0x0000b120, 0x07c107bf},
01251         {0x0000b124, 0x000007c0},
01252         {0x0000b128, 0x00000000},
01253         {0x0000b12c, 0x00000000},
01254         {0x0000b130, 0x00000000},
01255         {0x0000b134, 0x00000000},
01256         {0x0000b138, 0x00000000},
01257         {0x0000b13c, 0x00000000},
01258         {0x0000b140, 0x003f0020},
01259         {0x0000b144, 0x00400041},
01260         {0x0000b148, 0x0140005f},
01261         {0x0000b14c, 0x0160015f},
01262         {0x0000b150, 0x017e017f},
01263         {0x0000b154, 0x02410242},
01264         {0x0000b158, 0x025f0240},
01265         {0x0000b15c, 0x027f0260},
01266         {0x0000b160, 0x0341027e},
01267         {0x0000b164, 0x035f0340},
01268         {0x0000b168, 0x037f0360},
01269         {0x0000b16c, 0x04400441},
01270         {0x0000b170, 0x0460045f},
01271         {0x0000b174, 0x0541047f},
01272         {0x0000b178, 0x055f0540},
01273         {0x0000b17c, 0x057f0560},
01274         {0x0000b180, 0x06400641},
01275         {0x0000b184, 0x0660065f},
01276         {0x0000b188, 0x067e067f},
01277         {0x0000b18c, 0x07410742},
01278         {0x0000b190, 0x075f0740},
01279         {0x0000b194, 0x077f0760},
01280         {0x0000b198, 0x07800781},
01281         {0x0000b19c, 0x07a0079f},
01282         {0x0000b1a0, 0x07c107bf},
01283         {0x0000b1a4, 0x000007c0},
01284         {0x0000b1a8, 0x00000000},
01285         {0x0000b1ac, 0x00000000},
01286         {0x0000b1b0, 0x00000000},
01287         {0x0000b1b4, 0x00000000},
01288         {0x0000b1b8, 0x00000000},
01289         {0x0000b1bc, 0x00000000},
01290         {0x0000b1c0, 0x00000000},
01291         {0x0000b1c4, 0x00000000},
01292         {0x0000b1c8, 0x00000000},
01293         {0x0000b1cc, 0x00000000},
01294         {0x0000b1d0, 0x00000000},
01295         {0x0000b1d4, 0x00000000},
01296         {0x0000b1d8, 0x00000000},
01297         {0x0000b1dc, 0x00000000},
01298         {0x0000b1e0, 0x00000000},
01299         {0x0000b1e4, 0x00000000},
01300         {0x0000b1e8, 0x00000000},
01301         {0x0000b1ec, 0x00000000},
01302         {0x0000b1f0, 0x00000396},
01303         {0x0000b1f4, 0x00000396},
01304         {0x0000b1f8, 0x00000396},
01305         {0x0000b1fc, 0x00000196},
01306 };
01307 
01308 static __unused const u32 ar9300Modes_low_ob_db_tx_gain_table_2p2[][5] = {
01309         /* Addr      5G_HT20     5G_HT40     2G_HT40     2G_HT20   */
01310         {0x0000a2dc, 0x00033800, 0x00033800, 0x03aaa352, 0x03aaa352},
01311         {0x0000a2e0, 0x0003c000, 0x0003c000, 0x03ccc584, 0x03ccc584},
01312         {0x0000a2e4, 0x03fc0000, 0x03fc0000, 0x03f0f800, 0x03f0f800},
01313         {0x0000a2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
01314         {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d9, 0x000050d9},
01315         {0x0000a500, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01316         {0x0000a504, 0x06000003, 0x06000003, 0x04000002, 0x04000002},
01317         {0x0000a508, 0x0a000020, 0x0a000020, 0x08000004, 0x08000004},
01318         {0x0000a50c, 0x10000023, 0x10000023, 0x0b000200, 0x0b000200},
01319         {0x0000a510, 0x16000220, 0x16000220, 0x0f000202, 0x0f000202},
01320         {0x0000a514, 0x1c000223, 0x1c000223, 0x12000400, 0x12000400},
01321         {0x0000a518, 0x21002220, 0x21002220, 0x16000402, 0x16000402},
01322         {0x0000a51c, 0x27002223, 0x27002223, 0x19000404, 0x19000404},
01323         {0x0000a520, 0x2b022220, 0x2b022220, 0x1c000603, 0x1c000603},
01324         {0x0000a524, 0x2f022222, 0x2f022222, 0x21000a02, 0x21000a02},
01325         {0x0000a528, 0x34022225, 0x34022225, 0x25000a04, 0x25000a04},
01326         {0x0000a52c, 0x3a02222a, 0x3a02222a, 0x28000a20, 0x28000a20},
01327         {0x0000a530, 0x3e02222c, 0x3e02222c, 0x2c000e20, 0x2c000e20},
01328         {0x0000a534, 0x4202242a, 0x4202242a, 0x30000e22, 0x30000e22},
01329         {0x0000a538, 0x4702244a, 0x4702244a, 0x34000e24, 0x34000e24},
01330         {0x0000a53c, 0x4b02244c, 0x4b02244c, 0x38001640, 0x38001640},
01331         {0x0000a540, 0x4e02246c, 0x4e02246c, 0x3c001660, 0x3c001660},
01332         {0x0000a544, 0x52022470, 0x52022470, 0x3f001861, 0x3f001861},
01333         {0x0000a548, 0x55022490, 0x55022490, 0x43001a81, 0x43001a81},
01334         {0x0000a54c, 0x59022492, 0x59022492, 0x47001a83, 0x47001a83},
01335         {0x0000a550, 0x5d022692, 0x5d022692, 0x4a001c84, 0x4a001c84},
01336         {0x0000a554, 0x61022892, 0x61022892, 0x4e001ce3, 0x4e001ce3},
01337         {0x0000a558, 0x65024890, 0x65024890, 0x52001ce5, 0x52001ce5},
01338         {0x0000a55c, 0x69024892, 0x69024892, 0x56001ce9, 0x56001ce9},
01339         {0x0000a560, 0x6e024c92, 0x6e024c92, 0x5a001ceb, 0x5a001ceb},
01340         {0x0000a564, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01341         {0x0000a568, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01342         {0x0000a56c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01343         {0x0000a570, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01344         {0x0000a574, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01345         {0x0000a578, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01346         {0x0000a57c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
01347         {0x0000a580, 0x00800000, 0x00800000, 0x00800000, 0x00800000},
01348         {0x0000a584, 0x06800003, 0x06800003, 0x04800002, 0x04800002},
01349         {0x0000a588, 0x0a800020, 0x0a800020, 0x08800004, 0x08800004},
01350         {0x0000a58c, 0x10800023, 0x10800023, 0x0b800200, 0x0b800200},
01351         {0x0000a590, 0x16800220, 0x16800220, 0x0f800202, 0x0f800202},
01352         {0x0000a594, 0x1c800223, 0x1c800223, 0x12800400, 0x12800400},
01353         {0x0000a598, 0x21802220, 0x21802220, 0x16800402, 0x16800402},
01354         {0x0000a59c, 0x27802223, 0x27802223, 0x19800404, 0x19800404},
01355         {0x0000a5a0, 0x2b822220, 0x2b822220, 0x1c800603, 0x1c800603},
01356         {0x0000a5a4, 0x2f822222, 0x2f822222, 0x21800a02, 0x21800a02},
01357         {0x0000a5a8, 0x34822225, 0x34822225, 0x25800a04, 0x25800a04},
01358         {0x0000a5ac, 0x3a82222a, 0x3a82222a, 0x28800a20, 0x28800a20},
01359         {0x0000a5b0, 0x3e82222c, 0x3e82222c, 0x2c800e20, 0x2c800e20},
01360         {0x0000a5b4, 0x4282242a, 0x4282242a, 0x30800e22, 0x30800e22},
01361         {0x0000a5b8, 0x4782244a, 0x4782244a, 0x34800e24, 0x34800e24},
01362         {0x0000a5bc, 0x4b82244c, 0x4b82244c, 0x38801640, 0x38801640},
01363         {0x0000a5c0, 0x4e82246c, 0x4e82246c, 0x3c801660, 0x3c801660},
01364         {0x0000a5c4, 0x52822470, 0x52822470, 0x3f801861, 0x3f801861},
01365         {0x0000a5c8, 0x55822490, 0x55822490, 0x43801a81, 0x43801a81},
01366         {0x0000a5cc, 0x59822492, 0x59822492, 0x47801a83, 0x47801a83},
01367         {0x0000a5d0, 0x5d822692, 0x5d822692, 0x4a801c84, 0x4a801c84},
01368         {0x0000a5d4, 0x61822892, 0x61822892, 0x4e801ce3, 0x4e801ce3},
01369         {0x0000a5d8, 0x65824890, 0x65824890, 0x52801ce5, 0x52801ce5},
01370         {0x0000a5dc, 0x69824892, 0x69824892, 0x56801ce9, 0x56801ce9},
01371         {0x0000a5e0, 0x6e824c92, 0x6e824c92, 0x5a801ceb, 0x5a801ceb},
01372         {0x0000a5e4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01373         {0x0000a5e8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01374         {0x0000a5ec, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01375         {0x0000a5f0, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01376         {0x0000a5f4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01377         {0x0000a5f8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01378         {0x0000a5fc, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
01379         {0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01380         {0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01381         {0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01382         {0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01383         {0x0000a610, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
01384         {0x0000a614, 0x02004000, 0x02004000, 0x01404000, 0x01404000},
01385         {0x0000a618, 0x02004801, 0x02004801, 0x01404501, 0x01404501},
01386         {0x0000a61c, 0x02808a02, 0x02808a02, 0x02008501, 0x02008501},
01387         {0x0000a620, 0x0380ce03, 0x0380ce03, 0x0280ca03, 0x0280ca03},
01388         {0x0000a624, 0x04411104, 0x04411104, 0x03010c04, 0x03010c04},
01389         {0x0000a628, 0x04411104, 0x04411104, 0x04014c04, 0x04014c04},
01390         {0x0000a62c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
01391         {0x0000a630, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
01392         {0x0000a634, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
01393         {0x0000a638, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
01394         {0x0000a63c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
01395         {0x0000b2dc, 0x00033800, 0x00033800, 0x03aaa352, 0x03aaa352},
01396         {0x0000b2e0, 0x0003c000, 0x0003c000, 0x03ccc584, 0x03ccc584},
01397         {0x0000b2e4, 0x03fc0000, 0x03fc0000, 0x03f0f800, 0x03f0f800},
01398         {0x0000b2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
01399         {0x0000c2dc, 0x00033800, 0x00033800, 0x03aaa352, 0x03aaa352},
01400         {0x0000c2e0, 0x0003c000, 0x0003c000, 0x03ccc584, 0x03ccc584},
01401         {0x0000c2e4, 0x03fc0000, 0x03fc0000, 0x03f0f800, 0x03f0f800},
01402         {0x0000c2e8, 0x00000000, 0x00000000, 0x03ff0000, 0x03ff0000},
01403         {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
01404         {0x00016048, 0x66480001, 0x66480001, 0x66480001, 0x66480001},
01405         {0x00016068, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
01406         {0x00016444, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
01407         {0x00016448, 0x66480001, 0x66480001, 0x66480001, 0x66480001},
01408         {0x00016468, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
01409         {0x00016844, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
01410         {0x00016848, 0x66480001, 0x66480001, 0x66480001, 0x66480001},
01411         {0x00016868, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c, 0x6db6db6c},
01412 };
01413 
01414 static __unused const u32 ar9300_2p2_mac_core[][2] = {
01415         /* Addr      allmodes  */
01416         {0x00000008, 0x00000000},
01417         {0x00000030, 0x00020085},
01418         {0x00000034, 0x00000005},
01419         {0x00000040, 0x00000000},
01420         {0x00000044, 0x00000000},
01421         {0x00000048, 0x00000008},
01422         {0x0000004c, 0x00000010},
01423         {0x00000050, 0x00000000},
01424         {0x00001040, 0x002ffc0f},
01425         {0x00001044, 0x002ffc0f},
01426         {0x00001048, 0x002ffc0f},
01427         {0x0000104c, 0x002ffc0f},
01428         {0x00001050, 0x002ffc0f},
01429         {0x00001054, 0x002ffc0f},
01430         {0x00001058, 0x002ffc0f},
01431         {0x0000105c, 0x002ffc0f},
01432         {0x00001060, 0x002ffc0f},
01433         {0x00001064, 0x002ffc0f},
01434         {0x000010f0, 0x00000100},
01435         {0x00001270, 0x00000000},
01436         {0x000012b0, 0x00000000},
01437         {0x000012f0, 0x00000000},
01438         {0x0000143c, 0x00000000},
01439         {0x0000147c, 0x00000000},
01440         {0x00008000, 0x00000000},
01441         {0x00008004, 0x00000000},
01442         {0x00008008, 0x00000000},
01443         {0x0000800c, 0x00000000},
01444         {0x00008018, 0x00000000},
01445         {0x00008020, 0x00000000},
01446         {0x00008038, 0x00000000},
01447         {0x0000803c, 0x00000000},
01448         {0x00008040, 0x00000000},
01449         {0x00008044, 0x00000000},
01450         {0x00008048, 0x00000000},
01451         {0x0000804c, 0xffffffff},
01452         {0x00008054, 0x00000000},
01453         {0x00008058, 0x00000000},
01454         {0x0000805c, 0x000fc78f},
01455         {0x00008060, 0x0000000f},
01456         {0x00008064, 0x00000000},
01457         {0x00008070, 0x00000310},
01458         {0x00008074, 0x00000020},
01459         {0x00008078, 0x00000000},
01460         {0x0000809c, 0x0000000f},
01461         {0x000080a0, 0x00000000},
01462         {0x000080a4, 0x02ff0000},
01463         {0x000080a8, 0x0e070605},
01464         {0x000080ac, 0x0000000d},
01465         {0x000080b0, 0x00000000},
01466         {0x000080b4, 0x00000000},
01467         {0x000080b8, 0x00000000},
01468         {0x000080bc, 0x00000000},
01469         {0x000080c0, 0x2a800000},
01470         {0x000080c4, 0x06900168},
01471         {0x000080c8, 0x13881c20},
01472         {0x000080cc, 0x01f40000},
01473         {0x000080d0, 0x00252500},
01474         {0x000080d4, 0x00a00000},
01475         {0x000080d8, 0x00400000},
01476         {0x000080dc, 0x00000000},
01477         {0x000080e0, 0xffffffff},
01478         {0x000080e4, 0x0000ffff},
01479         {0x000080e8, 0x3f3f3f3f},
01480         {0x000080ec, 0x00000000},
01481         {0x000080f0, 0x00000000},
01482         {0x000080f4, 0x00000000},
01483         {0x000080fc, 0x00020000},
01484         {0x00008100, 0x00000000},
01485         {0x00008108, 0x00000052},
01486         {0x0000810c, 0x00000000},
01487         {0x00008110, 0x00000000},
01488         {0x00008114, 0x000007ff},
01489         {0x00008118, 0x000000aa},
01490         {0x0000811c, 0x00003210},
01491         {0x00008124, 0x00000000},
01492         {0x00008128, 0x00000000},
01493         {0x0000812c, 0x00000000},
01494         {0x00008130, 0x00000000},
01495         {0x00008134, 0x00000000},
01496         {0x00008138, 0x00000000},
01497         {0x0000813c, 0x0000ffff},
01498         {0x00008144, 0xffffffff},
01499         {0x00008168, 0x00000000},
01500         {0x0000816c, 0x00000000},
01501         {0x000081c0, 0x00000000},
01502         {0x000081c4, 0x33332210},
01503         {0x000081c8, 0x00000000},
01504         {0x000081cc, 0x00000000},
01505         {0x000081ec, 0x00000000},
01506         {0x000081f0, 0x00000000},
01507         {0x000081f4, 0x00000000},
01508         {0x000081f8, 0x00000000},
01509         {0x000081fc, 0x00000000},
01510         {0x00008240, 0x00100000},
01511         {0x00008244, 0x0010f424},
01512         {0x00008248, 0x00000800},
01513         {0x0000824c, 0x0001e848},
01514         {0x00008250, 0x00000000},
01515         {0x00008254, 0x00000000},
01516         {0x00008258, 0x00000000},
01517         {0x0000825c, 0x40000000},
01518         {0x00008260, 0x00080922},
01519         {0x00008264, 0x9bc00010},
01520         {0x00008268, 0xffffffff},
01521         {0x0000826c, 0x0000ffff},
01522         {0x00008270, 0x00000000},
01523         {0x00008274, 0x40000000},
01524         {0x00008278, 0x003e4180},
01525         {0x0000827c, 0x00000004},
01526         {0x00008284, 0x0000002c},
01527         {0x00008288, 0x0000002c},
01528         {0x0000828c, 0x000000ff},
01529         {0x00008294, 0x00000000},
01530         {0x00008298, 0x00000000},
01531         {0x0000829c, 0x00000000},
01532         {0x00008300, 0x00000140},
01533         {0x00008314, 0x00000000},
01534         {0x0000831c, 0x0000010d},
01535         {0x00008328, 0x00000000},
01536         {0x0000832c, 0x00000007},
01537         {0x00008330, 0x00000302},
01538         {0x00008334, 0x00000700},
01539         {0x00008338, 0x00ff0000},
01540         {0x0000833c, 0x02400000},
01541         {0x00008340, 0x000107ff},
01542         {0x00008344, 0xaa48105b},
01543         {0x00008348, 0x008f0000},
01544         {0x0000835c, 0x00000000},
01545         {0x00008360, 0xffffffff},
01546         {0x00008364, 0xffffffff},
01547         {0x00008368, 0x00000000},
01548         {0x00008370, 0x00000000},
01549         {0x00008374, 0x000000ff},
01550         {0x00008378, 0x00000000},
01551         {0x0000837c, 0x00000000},
01552         {0x00008380, 0xffffffff},
01553         {0x00008384, 0xffffffff},
01554         {0x00008390, 0xffffffff},
01555         {0x00008394, 0xffffffff},
01556         {0x00008398, 0x00000000},
01557         {0x0000839c, 0x00000000},
01558         {0x000083a0, 0x00000000},
01559         {0x000083a4, 0x0000fa14},
01560         {0x000083a8, 0x000f0c00},
01561         {0x000083ac, 0x33332210},
01562         {0x000083b0, 0x33332210},
01563         {0x000083b4, 0x33332210},
01564         {0x000083b8, 0x33332210},
01565         {0x000083bc, 0x00000000},
01566         {0x000083c0, 0x00000000},
01567         {0x000083c4, 0x00000000},
01568         {0x000083c8, 0x00000000},
01569         {0x000083cc, 0x00000200},
01570         {0x000083d0, 0x000301ff},
01571 };
01572 
01573 static __unused const u32 ar9300Common_wo_xlna_rx_gain_table_2p2[][2] = {
01574         /* Addr      allmodes  */
01575         {0x0000a000, 0x00010000},
01576         {0x0000a004, 0x00030002},
01577         {0x0000a008, 0x00050004},
01578         {0x0000a00c, 0x00810080},
01579         {0x0000a010, 0x00830082},
01580         {0x0000a014, 0x01810180},
01581         {0x0000a018, 0x01830182},
01582         {0x0000a01c, 0x01850184},
01583         {0x0000a020, 0x01890188},
01584         {0x0000a024, 0x018b018a},
01585         {0x0000a028, 0x018d018c},
01586         {0x0000a02c, 0x03820190},
01587         {0x0000a030, 0x03840383},
01588         {0x0000a034, 0x03880385},
01589         {0x0000a038, 0x038a0389},
01590         {0x0000a03c, 0x038c038b},
01591         {0x0000a040, 0x0390038d},
01592         {0x0000a044, 0x03920391},
01593         {0x0000a048, 0x03940393},
01594         {0x0000a04c, 0x03960395},
01595         {0x0000a050, 0x00000000},
01596         {0x0000a054, 0x00000000},
01597         {0x0000a058, 0x00000000},
01598         {0x0000a05c, 0x00000000},
01599         {0x0000a060, 0x00000000},
01600         {0x0000a064, 0x00000000},
01601         {0x0000a068, 0x00000000},
01602         {0x0000a06c, 0x00000000},
01603         {0x0000a070, 0x00000000},
01604         {0x0000a074, 0x00000000},
01605         {0x0000a078, 0x00000000},
01606         {0x0000a07c, 0x00000000},
01607         {0x0000a080, 0x29292929},
01608         {0x0000a084, 0x29292929},
01609         {0x0000a088, 0x29292929},
01610         {0x0000a08c, 0x29292929},
01611         {0x0000a090, 0x22292929},
01612         {0x0000a094, 0x1d1d2222},
01613         {0x0000a098, 0x0c111117},
01614         {0x0000a09c, 0x00030303},
01615         {0x0000a0a0, 0x00000000},
01616         {0x0000a0a4, 0x00000000},
01617         {0x0000a0a8, 0x00000000},
01618         {0x0000a0ac, 0x00000000},
01619         {0x0000a0b0, 0x00000000},
01620         {0x0000a0b4, 0x00000000},
01621         {0x0000a0b8, 0x00000000},
01622         {0x0000a0bc, 0x00000000},
01623         {0x0000a0c0, 0x001f0000},
01624         {0x0000a0c4, 0x01000101},
01625         {0x0000a0c8, 0x011e011f},
01626         {0x0000a0cc, 0x011c011d},
01627         {0x0000a0d0, 0x02030204},
01628         {0x0000a0d4, 0x02010202},
01629         {0x0000a0d8, 0x021f0200},
01630         {0x0000a0dc, 0x0302021e},
01631         {0x0000a0e0, 0x03000301},
01632         {0x0000a0e4, 0x031e031f},
01633         {0x0000a0e8, 0x0402031d},
01634         {0x0000a0ec, 0x04000401},
01635         {0x0000a0f0, 0x041e041f},
01636         {0x0000a0f4, 0x0502041d},
01637         {0x0000a0f8, 0x05000501},
01638         {0x0000a0fc, 0x051e051f},
01639         {0x0000a100, 0x06010602},
01640         {0x0000a104, 0x061f0600},
01641         {0x0000a108, 0x061d061e},
01642         {0x0000a10c, 0x07020703},
01643         {0x0000a110, 0x07000701},
01644         {0x0000a114, 0x00000000},
01645         {0x0000a118, 0x00000000},
01646         {0x0000a11c, 0x00000000},
01647         {0x0000a120, 0x00000000},
01648         {0x0000a124, 0x00000000},
01649         {0x0000a128, 0x00000000},
01650         {0x0000a12c, 0x00000000},
01651         {0x0000a130, 0x00000000},
01652         {0x0000a134, 0x00000000},
01653         {0x0000a138, 0x00000000},
01654         {0x0000a13c, 0x00000000},
01655         {0x0000a140, 0x001f0000},
01656         {0x0000a144, 0x01000101},
01657         {0x0000a148, 0x011e011f},
01658         {0x0000a14c, 0x011c011d},
01659         {0x0000a150, 0x02030204},
01660         {0x0000a154, 0x02010202},
01661         {0x0000a158, 0x021f0200},
01662         {0x0000a15c, 0x0302021e},
01663         {0x0000a160, 0x03000301},
01664         {0x0000a164, 0x031e031f},
01665         {0x0000a168, 0x0402031d},
01666         {0x0000a16c, 0x04000401},
01667         {0x0000a170, 0x041e041f},
01668         {0x0000a174, 0x0502041d},
01669         {0x0000a178, 0x05000501},
01670         {0x0000a17c, 0x051e051f},
01671         {0x0000a180, 0x06010602},
01672         {0x0000a184, 0x061f0600},
01673         {0x0000a188, 0x061d061e},
01674         {0x0000a18c, 0x07020703},
01675         {0x0000a190, 0x07000701},
01676         {0x0000a194, 0x00000000},
01677         {0x0000a198, 0x00000000},
01678         {0x0000a19c, 0x00000000},
01679         {0x0000a1a0, 0x00000000},
01680         {0x0000a1a4, 0x00000000},
01681         {0x0000a1a8, 0x00000000},
01682         {0x0000a1ac, 0x00000000},
01683         {0x0000a1b0, 0x00000000},
01684         {0x0000a1b4, 0x00000000},
01685         {0x0000a1b8, 0x00000000},
01686         {0x0000a1bc, 0x00000000},
01687         {0x0000a1c0, 0x00000000},
01688         {0x0000a1c4, 0x00000000},
01689         {0x0000a1c8, 0x00000000},
01690         {0x0000a1cc, 0x00000000},
01691         {0x0000a1d0, 0x00000000},
01692         {0x0000a1d4, 0x00000000},
01693         {0x0000a1d8, 0x00000000},
01694         {0x0000a1dc, 0x00000000},
01695         {0x0000a1e0, 0x00000000},
01696         {0x0000a1e4, 0x00000000},
01697         {0x0000a1e8, 0x00000000},
01698         {0x0000a1ec, 0x00000000},
01699         {0x0000a1f0, 0x00000396},
01700         {0x0000a1f4, 0x00000396},
01701         {0x0000a1f8, 0x00000396},
01702         {0x0000a1fc, 0x00000196},
01703         {0x0000b000, 0x00010000},
01704         {0x0000b004, 0x00030002},
01705         {0x0000b008, 0x00050004},
01706         {0x0000b00c, 0x00810080},
01707         {0x0000b010, 0x00830082},
01708         {0x0000b014, 0x01810180},
01709         {0x0000b018, 0x01830182},
01710         {0x0000b01c, 0x01850184},
01711         {0x0000b020, 0x02810280},
01712         {0x0000b024, 0x02830282},
01713         {0x0000b028, 0x02850284},
01714         {0x0000b02c, 0x02890288},
01715         {0x0000b030, 0x028b028a},
01716         {0x0000b034, 0x0388028c},
01717         {0x0000b038, 0x038a0389},
01718         {0x0000b03c, 0x038c038b},
01719         {0x0000b040, 0x0390038d},
01720         {0x0000b044, 0x03920391},
01721         {0x0000b048, 0x03940393},
01722         {0x0000b04c, 0x03960395},
01723         {0x0000b050, 0x00000000},
01724         {0x0000b054, 0x00000000},
01725         {0x0000b058, 0x00000000},
01726         {0x0000b05c, 0x00000000},
01727         {0x0000b060, 0x00000000},
01728         {0x0000b064, 0x00000000},
01729         {0x0000b068, 0x00000000},
01730         {0x0000b06c, 0x00000000},
01731         {0x0000b070, 0x00000000},
01732         {0x0000b074, 0x00000000},
01733         {0x0000b078, 0x00000000},
01734         {0x0000b07c, 0x00000000},
01735         {0x0000b080, 0x32323232},
01736         {0x0000b084, 0x2f2f3232},
01737         {0x0000b088, 0x23282a2d},
01738         {0x0000b08c, 0x1c1e2123},
01739         {0x0000b090, 0x14171919},
01740         {0x0000b094, 0x0e0e1214},
01741         {0x0000b098, 0x03050707},
01742         {0x0000b09c, 0x00030303},
01743         {0x0000b0a0, 0x00000000},
01744         {0x0000b0a4, 0x00000000},
01745         {0x0000b0a8, 0x00000000},
01746         {0x0000b0ac, 0x00000000},
01747         {0x0000b0b0, 0x00000000},
01748         {0x0000b0b4, 0x00000000},
01749         {0x0000b0b8, 0x00000000},
01750         {0x0000b0bc, 0x00000000},
01751         {0x0000b0c0, 0x003f0020},
01752         {0x0000b0c4, 0x00400041},
01753         {0x0000b0c8, 0x0140005f},
01754         {0x0000b0cc, 0x0160015f},
01755         {0x0000b0d0, 0x017e017f},
01756         {0x0000b0d4, 0x02410242},
01757         {0x0000b0d8, 0x025f0240},
01758         {0x0000b0dc, 0x027f0260},
01759         {0x0000b0e0, 0x0341027e},
01760         {0x0000b0e4, 0x035f0340},
01761         {0x0000b0e8, 0x037f0360},
01762         {0x0000b0ec, 0x04400441},
01763         {0x0000b0f0, 0x0460045f},
01764         {0x0000b0f4, 0x0541047f},
01765         {0x0000b0f8, 0x055f0540},
01766         {0x0000b0fc, 0x057f0560},
01767         {0x0000b100, 0x06400641},
01768         {0x0000b104, 0x0660065f},
01769         {0x0000b108, 0x067e067f},
01770         {0x0000b10c, 0x07410742},
01771         {0x0000b110, 0x075f0740},
01772         {0x0000b114, 0x077f0760},
01773         {0x0000b118, 0x07800781},
01774         {0x0000b11c, 0x07a0079f},
01775         {0x0000b120, 0x07c107bf},
01776         {0x0000b124, 0x000007c0},
01777         {0x0000b128, 0x00000000},
01778         {0x0000b12c, 0x00000000},
01779         {0x0000b130, 0x00000000},
01780         {0x0000b134, 0x00000000},
01781         {0x0000b138, 0x00000000},
01782         {0x0000b13c, 0x00000000},
01783         {0x0000b140, 0x003f0020},
01784         {0x0000b144, 0x00400041},
01785         {0x0000b148, 0x0140005f},
01786         {0x0000b14c, 0x0160015f},
01787         {0x0000b150, 0x017e017f},
01788         {0x0000b154, 0x02410242},
01789         {0x0000b158, 0x025f0240},
01790         {0x0000b15c, 0x027f0260},
01791         {0x0000b160, 0x0341027e},
01792         {0x0000b164, 0x035f0340},
01793         {0x0000b168, 0x037f0360},
01794         {0x0000b16c, 0x04400441},
01795         {0x0000b170, 0x0460045f},
01796         {0x0000b174, 0x0541047f},
01797         {0x0000b178, 0x055f0540},
01798         {0x0000b17c, 0x057f0560},
01799         {0x0000b180, 0x06400641},
01800         {0x0000b184, 0x0660065f},
01801         {0x0000b188, 0x067e067f},
01802         {0x0000b18c, 0x07410742},
01803         {0x0000b190, 0x075f0740},
01804         {0x0000b194, 0x077f0760},
01805         {0x0000b198, 0x07800781},
01806         {0x0000b19c, 0x07a0079f},
01807         {0x0000b1a0, 0x07c107bf},
01808         {0x0000b1a4, 0x000007c0},
01809         {0x0000b1a8, 0x00000000},
01810         {0x0000b1ac, 0x00000000},
01811         {0x0000b1b0, 0x00000000},
01812         {0x0000b1b4, 0x00000000},
01813         {0x0000b1b8, 0x00000000},
01814         {0x0000b1bc, 0x00000000},
01815         {0x0000b1c0, 0x00000000},
01816         {0x0000b1c4, 0x00000000},
01817         {0x0000b1c8, 0x00000000},
01818         {0x0000b1cc, 0x00000000},
01819         {0x0000b1d0, 0x00000000},
01820         {0x0000b1d4, 0x00000000},
01821         {0x0000b1d8, 0x00000000},
01822         {0x0000b1dc, 0x00000000},
01823         {0x0000b1e0, 0x00000000},
01824         {0x0000b1e4, 0x00000000},
01825         {0x0000b1e8, 0x00000000},
01826         {0x0000b1ec, 0x00000000},
01827         {0x0000b1f0, 0x00000396},
01828         {0x0000b1f4, 0x00000396},
01829         {0x0000b1f8, 0x00000396},
01830         {0x0000b1fc, 0x00000196},
01831 };
01832 
01833 static __unused const u32 ar9300_2p2_soc_preamble[][2] = {
01834         /* Addr      allmodes  */
01835         {0x000040a4, 0x00a0c1c9},
01836         {0x00007008, 0x00000000},
01837         {0x00007020, 0x00000000},
01838         {0x00007034, 0x00000002},
01839         {0x00007038, 0x000004c2},
01840         {0x00007048, 0x00000008},
01841 };
01842 
01843 static __unused const u32 ar9300PciePhy_pll_on_clkreq_disable_L1_2p2[][2] = {
01844         /* Addr      allmodes  */
01845         {0x00004040, 0x0821265e},
01846         {0x00004040, 0x0008003b},
01847         {0x00004044, 0x00000000},
01848 };
01849 
01850 static __unused const u32 ar9300PciePhy_clkreq_enable_L1_2p2[][2] = {
01851         /* Addr      allmodes  */
01852         {0x00004040, 0x08253e5e},
01853         {0x00004040, 0x0008003b},
01854         {0x00004044, 0x00000000},
01855 };
01856 
01857 static __unused const u32 ar9300PciePhy_clkreq_disable_L1_2p2[][2] = {
01858         /* Addr      allmodes  */
01859         {0x00004040, 0x08213e5e},
01860         {0x00004040, 0x0008003b},
01861         {0x00004044, 0x00000000},
01862 };
01863 
01864 #endif /* INITVALS_9003_2P2_H */