ath9k: update initvals for ar9003
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 534-ar9003_clc_initvals_update.patch
1 --- a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
2 +++ b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
3 @@ -34,9 +34,9 @@ static const u32 ar9300_2p2_radio_postam
4
5 static const u32 ar9300Modes_lowest_ob_db_tx_gain_table_2p2[][5] = {
6 /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
7 - {0x0000a2dc, 0x0380c7fc, 0x0380c7fc, 0x00637800, 0x00637800},
8 - {0x0000a2e0, 0x0000f800, 0x0000f800, 0x03838000, 0x03838000},
9 - {0x0000a2e4, 0x03ff0000, 0x03ff0000, 0x03fc0000, 0x03fc0000},
10 + {0x0000a2dc, 0x00033800, 0x00033800, 0x00637800, 0x00637800},
11 + {0x0000a2e0, 0x0003c000, 0x0003c000, 0x03838000, 0x03838000},
12 + {0x0000a2e4, 0x03fc0000, 0x03fc0000, 0x03fc0000, 0x03fc0000},
13 {0x0000a2e8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
14 {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d9, 0x000050d9},
15 {0x0000a500, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
16 @@ -56,21 +56,21 @@ static const u32 ar9300Modes_lowest_ob_d
17 {0x0000a538, 0x4702244a, 0x4702244a, 0x34000e24, 0x34000e24},
18 {0x0000a53c, 0x4b02244c, 0x4b02244c, 0x38001640, 0x38001640},
19 {0x0000a540, 0x4e02246c, 0x4e02246c, 0x3c001660, 0x3c001660},
20 - {0x0000a544, 0x5302266c, 0x5302266c, 0x3f001861, 0x3f001861},
21 - {0x0000a548, 0x5702286c, 0x5702286c, 0x43001a81, 0x43001a81},
22 - {0x0000a54c, 0x5c02486b, 0x5c02486b, 0x47001a83, 0x47001a83},
23 - {0x0000a550, 0x61024a6c, 0x61024a6c, 0x4a001c84, 0x4a001c84},
24 - {0x0000a554, 0x66026a6c, 0x66026a6c, 0x4e001ce3, 0x4e001ce3},
25 - {0x0000a558, 0x6b026e6c, 0x6b026e6c, 0x52001ce5, 0x52001ce5},
26 - {0x0000a55c, 0x7002708c, 0x7002708c, 0x56001ce9, 0x56001ce9},
27 - {0x0000a560, 0x7302b08a, 0x7302b08a, 0x5a001ceb, 0x5a001ceb},
28 - {0x0000a564, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
29 - {0x0000a568, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
30 - {0x0000a56c, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
31 - {0x0000a570, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
32 - {0x0000a574, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
33 - {0x0000a578, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
34 - {0x0000a57c, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
35 + {0x0000a544, 0x52022470, 0x52022470, 0x3f001861, 0x3f001861},
36 + {0x0000a548, 0x55022490, 0x55022490, 0x43001a81, 0x43001a81},
37 + {0x0000a54c, 0x59022492, 0x59022492, 0x47001a83, 0x47001a83},
38 + {0x0000a550, 0x5d022692, 0x5d022692, 0x4a001c84, 0x4a001c84},
39 + {0x0000a554, 0x61022892, 0x61022892, 0x4e001ce3, 0x4e001ce3},
40 + {0x0000a558, 0x65024890, 0x65024890, 0x52001ce5, 0x52001ce5},
41 + {0x0000a55c, 0x69024892, 0x69024892, 0x56001ce9, 0x56001ce9},
42 + {0x0000a560, 0x6e024c92, 0x6e024c92, 0x5a001ceb, 0x5a001ceb},
43 + {0x0000a564, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
44 + {0x0000a568, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
45 + {0x0000a56c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
46 + {0x0000a570, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
47 + {0x0000a574, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
48 + {0x0000a578, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
49 + {0x0000a57c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
50 {0x0000a580, 0x00800000, 0x00800000, 0x00800000, 0x00800000},
51 {0x0000a584, 0x06800003, 0x06800003, 0x04800002, 0x04800002},
52 {0x0000a588, 0x0a800020, 0x0a800020, 0x08800004, 0x08800004},
53 @@ -88,44 +88,44 @@ static const u32 ar9300Modes_lowest_ob_d
54 {0x0000a5b8, 0x4782244a, 0x4782244a, 0x34800e24, 0x34800e24},
55 {0x0000a5bc, 0x4b82244c, 0x4b82244c, 0x38801640, 0x38801640},
56 {0x0000a5c0, 0x4e82246c, 0x4e82246c, 0x3c801660, 0x3c801660},
57 - {0x0000a5c4, 0x5382266c, 0x5382266c, 0x3f801861, 0x3f801861},
58 - {0x0000a5c8, 0x5782286c, 0x5782286c, 0x43801a81, 0x43801a81},
59 - {0x0000a5cc, 0x5c82486b, 0x5c82486b, 0x47801a83, 0x47801a83},
60 - {0x0000a5d0, 0x61824a6c, 0x61824a6c, 0x4a801c84, 0x4a801c84},
61 - {0x0000a5d4, 0x66826a6c, 0x66826a6c, 0x4e801ce3, 0x4e801ce3},
62 - {0x0000a5d8, 0x6b826e6c, 0x6b826e6c, 0x52801ce5, 0x52801ce5},
63 - {0x0000a5dc, 0x7082708c, 0x7082708c, 0x56801ce9, 0x56801ce9},
64 - {0x0000a5e0, 0x7382b08a, 0x7382b08a, 0x5a801ceb, 0x5a801ceb},
65 - {0x0000a5e4, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
66 - {0x0000a5e8, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
67 - {0x0000a5ec, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
68 - {0x0000a5f0, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
69 - {0x0000a5f4, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
70 - {0x0000a5f8, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
71 - {0x0000a5fc, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
72 + {0x0000a5c4, 0x52822470, 0x52822470, 0x3f801861, 0x3f801861},
73 + {0x0000a5c8, 0x55822490, 0x55822490, 0x43801a81, 0x43801a81},
74 + {0x0000a5cc, 0x59822492, 0x59822492, 0x47801a83, 0x47801a83},
75 + {0x0000a5d0, 0x5d822692, 0x5d822692, 0x4a801c84, 0x4a801c84},
76 + {0x0000a5d4, 0x61822892, 0x61822892, 0x4e801ce3, 0x4e801ce3},
77 + {0x0000a5d8, 0x65824890, 0x65824890, 0x52801ce5, 0x52801ce5},
78 + {0x0000a5dc, 0x69824892, 0x69824892, 0x56801ce9, 0x56801ce9},
79 + {0x0000a5e0, 0x6e824c92, 0x6e824c92, 0x5a801ceb, 0x5a801ceb},
80 + {0x0000a5e4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
81 + {0x0000a5e8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
82 + {0x0000a5ec, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
83 + {0x0000a5f0, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
84 + {0x0000a5f4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
85 + {0x0000a5f8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
86 + {0x0000a5fc, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
87 {0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
88 {0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
89 {0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
90 {0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
91 {0x0000a610, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
92 - {0x0000a614, 0x01404000, 0x01404000, 0x01404000, 0x01404000},
93 - {0x0000a618, 0x01404501, 0x01404501, 0x01404501, 0x01404501},
94 - {0x0000a61c, 0x02008802, 0x02008802, 0x02008501, 0x02008501},
95 - {0x0000a620, 0x0300cc03, 0x0300cc03, 0x0280ca03, 0x0280ca03},
96 - {0x0000a624, 0x0300cc03, 0x0300cc03, 0x03010c04, 0x03010c04},
97 - {0x0000a628, 0x0300cc03, 0x0300cc03, 0x04014c04, 0x04014c04},
98 - {0x0000a62c, 0x03810c03, 0x03810c03, 0x04015005, 0x04015005},
99 - {0x0000a630, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
100 - {0x0000a634, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
101 - {0x0000a638, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
102 - {0x0000a63c, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
103 - {0x0000b2dc, 0x0380c7fc, 0x0380c7fc, 0x00637800, 0x00637800},
104 - {0x0000b2e0, 0x0000f800, 0x0000f800, 0x03838000, 0x03838000},
105 - {0x0000b2e4, 0x03ff0000, 0x03ff0000, 0x03fc0000, 0x03fc0000},
106 + {0x0000a614, 0x02004000, 0x02004000, 0x01404000, 0x01404000},
107 + {0x0000a618, 0x02004801, 0x02004801, 0x01404501, 0x01404501},
108 + {0x0000a61c, 0x02808a02, 0x02808a02, 0x02008501, 0x02008501},
109 + {0x0000a620, 0x0380ce03, 0x0380ce03, 0x0280ca03, 0x0280ca03},
110 + {0x0000a624, 0x04411104, 0x04411104, 0x03010c04, 0x03010c04},
111 + {0x0000a628, 0x04411104, 0x04411104, 0x04014c04, 0x04014c04},
112 + {0x0000a62c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
113 + {0x0000a630, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
114 + {0x0000a634, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
115 + {0x0000a638, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
116 + {0x0000a63c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
117 + {0x0000b2dc, 0x00033800, 0x00033800, 0x00637800, 0x00637800},
118 + {0x0000b2e0, 0x0003c000, 0x0003c000, 0x03838000, 0x03838000},
119 + {0x0000b2e4, 0x03fc0000, 0x03fc0000, 0x03fc0000, 0x03fc0000},
120 {0x0000b2e8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
121 - {0x0000c2dc, 0x0380c7fc, 0x0380c7fc, 0x00637800, 0x00637800},
122 - {0x0000c2e0, 0x0000f800, 0x0000f800, 0x03838000, 0x03838000},
123 - {0x0000c2e4, 0x03ff0000, 0x03ff0000, 0x03fc0000, 0x03fc0000},
124 + {0x0000c2dc, 0x00033800, 0x00033800, 0x00637800, 0x00637800},
125 + {0x0000c2e0, 0x0003c000, 0x0003c000, 0x03838000, 0x03838000},
126 + {0x0000c2e4, 0x03fc0000, 0x03fc0000, 0x03fc0000, 0x03fc0000},
127 {0x0000c2e8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
128 {0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
129 {0x00016048, 0x62480001, 0x62480001, 0x62480001, 0x62480001},