mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 14:13:16 +00:00
9958bc43c8
SVN-Revision: 24629
130 lines
8.0 KiB
Diff
130 lines
8.0 KiB
Diff
--- a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
|
|
+++ b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
|
|
@@ -34,9 +34,9 @@ static const u32 ar9300_2p2_radio_postam
|
|
|
|
static const u32 ar9300Modes_lowest_ob_db_tx_gain_table_2p2[][5] = {
|
|
/* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */
|
|
- {0x0000a2dc, 0x0380c7fc, 0x0380c7fc, 0x00637800, 0x00637800},
|
|
- {0x0000a2e0, 0x0000f800, 0x0000f800, 0x03838000, 0x03838000},
|
|
- {0x0000a2e4, 0x03ff0000, 0x03ff0000, 0x03fc0000, 0x03fc0000},
|
|
+ {0x0000a2dc, 0x00033800, 0x00033800, 0x00637800, 0x00637800},
|
|
+ {0x0000a2e0, 0x0003c000, 0x0003c000, 0x03838000, 0x03838000},
|
|
+ {0x0000a2e4, 0x03fc0000, 0x03fc0000, 0x03fc0000, 0x03fc0000},
|
|
{0x0000a2e8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
{0x0000a410, 0x000050d9, 0x000050d9, 0x000050d9, 0x000050d9},
|
|
{0x0000a500, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
@@ -56,21 +56,21 @@ static const u32 ar9300Modes_lowest_ob_d
|
|
{0x0000a538, 0x4702244a, 0x4702244a, 0x34000e24, 0x34000e24},
|
|
{0x0000a53c, 0x4b02244c, 0x4b02244c, 0x38001640, 0x38001640},
|
|
{0x0000a540, 0x4e02246c, 0x4e02246c, 0x3c001660, 0x3c001660},
|
|
- {0x0000a544, 0x5302266c, 0x5302266c, 0x3f001861, 0x3f001861},
|
|
- {0x0000a548, 0x5702286c, 0x5702286c, 0x43001a81, 0x43001a81},
|
|
- {0x0000a54c, 0x5c02486b, 0x5c02486b, 0x47001a83, 0x47001a83},
|
|
- {0x0000a550, 0x61024a6c, 0x61024a6c, 0x4a001c84, 0x4a001c84},
|
|
- {0x0000a554, 0x66026a6c, 0x66026a6c, 0x4e001ce3, 0x4e001ce3},
|
|
- {0x0000a558, 0x6b026e6c, 0x6b026e6c, 0x52001ce5, 0x52001ce5},
|
|
- {0x0000a55c, 0x7002708c, 0x7002708c, 0x56001ce9, 0x56001ce9},
|
|
- {0x0000a560, 0x7302b08a, 0x7302b08a, 0x5a001ceb, 0x5a001ceb},
|
|
- {0x0000a564, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
- {0x0000a568, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
- {0x0000a56c, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
- {0x0000a570, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
- {0x0000a574, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
- {0x0000a578, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
- {0x0000a57c, 0x7702b08c, 0x7702b08c, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a544, 0x52022470, 0x52022470, 0x3f001861, 0x3f001861},
|
|
+ {0x0000a548, 0x55022490, 0x55022490, 0x43001a81, 0x43001a81},
|
|
+ {0x0000a54c, 0x59022492, 0x59022492, 0x47001a83, 0x47001a83},
|
|
+ {0x0000a550, 0x5d022692, 0x5d022692, 0x4a001c84, 0x4a001c84},
|
|
+ {0x0000a554, 0x61022892, 0x61022892, 0x4e001ce3, 0x4e001ce3},
|
|
+ {0x0000a558, 0x65024890, 0x65024890, 0x52001ce5, 0x52001ce5},
|
|
+ {0x0000a55c, 0x69024892, 0x69024892, 0x56001ce9, 0x56001ce9},
|
|
+ {0x0000a560, 0x6e024c92, 0x6e024c92, 0x5a001ceb, 0x5a001ceb},
|
|
+ {0x0000a564, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a568, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a56c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a570, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a574, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a578, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
+ {0x0000a57c, 0x74026e92, 0x74026e92, 0x5d001eec, 0x5d001eec},
|
|
{0x0000a580, 0x00800000, 0x00800000, 0x00800000, 0x00800000},
|
|
{0x0000a584, 0x06800003, 0x06800003, 0x04800002, 0x04800002},
|
|
{0x0000a588, 0x0a800020, 0x0a800020, 0x08800004, 0x08800004},
|
|
@@ -88,44 +88,44 @@ static const u32 ar9300Modes_lowest_ob_d
|
|
{0x0000a5b8, 0x4782244a, 0x4782244a, 0x34800e24, 0x34800e24},
|
|
{0x0000a5bc, 0x4b82244c, 0x4b82244c, 0x38801640, 0x38801640},
|
|
{0x0000a5c0, 0x4e82246c, 0x4e82246c, 0x3c801660, 0x3c801660},
|
|
- {0x0000a5c4, 0x5382266c, 0x5382266c, 0x3f801861, 0x3f801861},
|
|
- {0x0000a5c8, 0x5782286c, 0x5782286c, 0x43801a81, 0x43801a81},
|
|
- {0x0000a5cc, 0x5c82486b, 0x5c82486b, 0x47801a83, 0x47801a83},
|
|
- {0x0000a5d0, 0x61824a6c, 0x61824a6c, 0x4a801c84, 0x4a801c84},
|
|
- {0x0000a5d4, 0x66826a6c, 0x66826a6c, 0x4e801ce3, 0x4e801ce3},
|
|
- {0x0000a5d8, 0x6b826e6c, 0x6b826e6c, 0x52801ce5, 0x52801ce5},
|
|
- {0x0000a5dc, 0x7082708c, 0x7082708c, 0x56801ce9, 0x56801ce9},
|
|
- {0x0000a5e0, 0x7382b08a, 0x7382b08a, 0x5a801ceb, 0x5a801ceb},
|
|
- {0x0000a5e4, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
- {0x0000a5e8, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
- {0x0000a5ec, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
- {0x0000a5f0, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
- {0x0000a5f4, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
- {0x0000a5f8, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
- {0x0000a5fc, 0x7782b08c, 0x7782b08c, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5c4, 0x52822470, 0x52822470, 0x3f801861, 0x3f801861},
|
|
+ {0x0000a5c8, 0x55822490, 0x55822490, 0x43801a81, 0x43801a81},
|
|
+ {0x0000a5cc, 0x59822492, 0x59822492, 0x47801a83, 0x47801a83},
|
|
+ {0x0000a5d0, 0x5d822692, 0x5d822692, 0x4a801c84, 0x4a801c84},
|
|
+ {0x0000a5d4, 0x61822892, 0x61822892, 0x4e801ce3, 0x4e801ce3},
|
|
+ {0x0000a5d8, 0x65824890, 0x65824890, 0x52801ce5, 0x52801ce5},
|
|
+ {0x0000a5dc, 0x69824892, 0x69824892, 0x56801ce9, 0x56801ce9},
|
|
+ {0x0000a5e0, 0x6e824c92, 0x6e824c92, 0x5a801ceb, 0x5a801ceb},
|
|
+ {0x0000a5e4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5e8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5ec, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5f0, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5f4, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5f8, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
+ {0x0000a5fc, 0x74826e92, 0x74826e92, 0x5d801eec, 0x5d801eec},
|
|
{0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
{0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
{0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
{0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
{0x0000a610, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
- {0x0000a614, 0x01404000, 0x01404000, 0x01404000, 0x01404000},
|
|
- {0x0000a618, 0x01404501, 0x01404501, 0x01404501, 0x01404501},
|
|
- {0x0000a61c, 0x02008802, 0x02008802, 0x02008501, 0x02008501},
|
|
- {0x0000a620, 0x0300cc03, 0x0300cc03, 0x0280ca03, 0x0280ca03},
|
|
- {0x0000a624, 0x0300cc03, 0x0300cc03, 0x03010c04, 0x03010c04},
|
|
- {0x0000a628, 0x0300cc03, 0x0300cc03, 0x04014c04, 0x04014c04},
|
|
- {0x0000a62c, 0x03810c03, 0x03810c03, 0x04015005, 0x04015005},
|
|
- {0x0000a630, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
|
|
- {0x0000a634, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
|
|
- {0x0000a638, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
|
|
- {0x0000a63c, 0x03810e04, 0x03810e04, 0x04015005, 0x04015005},
|
|
- {0x0000b2dc, 0x0380c7fc, 0x0380c7fc, 0x00637800, 0x00637800},
|
|
- {0x0000b2e0, 0x0000f800, 0x0000f800, 0x03838000, 0x03838000},
|
|
- {0x0000b2e4, 0x03ff0000, 0x03ff0000, 0x03fc0000, 0x03fc0000},
|
|
+ {0x0000a614, 0x02004000, 0x02004000, 0x01404000, 0x01404000},
|
|
+ {0x0000a618, 0x02004801, 0x02004801, 0x01404501, 0x01404501},
|
|
+ {0x0000a61c, 0x02808a02, 0x02808a02, 0x02008501, 0x02008501},
|
|
+ {0x0000a620, 0x0380ce03, 0x0380ce03, 0x0280ca03, 0x0280ca03},
|
|
+ {0x0000a624, 0x04411104, 0x04411104, 0x03010c04, 0x03010c04},
|
|
+ {0x0000a628, 0x04411104, 0x04411104, 0x04014c04, 0x04014c04},
|
|
+ {0x0000a62c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
|
|
+ {0x0000a630, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
|
|
+ {0x0000a634, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
|
|
+ {0x0000a638, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
|
|
+ {0x0000a63c, 0x04411104, 0x04411104, 0x04015005, 0x04015005},
|
|
+ {0x0000b2dc, 0x00033800, 0x00033800, 0x00637800, 0x00637800},
|
|
+ {0x0000b2e0, 0x0003c000, 0x0003c000, 0x03838000, 0x03838000},
|
|
+ {0x0000b2e4, 0x03fc0000, 0x03fc0000, 0x03fc0000, 0x03fc0000},
|
|
{0x0000b2e8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
- {0x0000c2dc, 0x0380c7fc, 0x0380c7fc, 0x00637800, 0x00637800},
|
|
- {0x0000c2e0, 0x0000f800, 0x0000f800, 0x03838000, 0x03838000},
|
|
- {0x0000c2e4, 0x03ff0000, 0x03ff0000, 0x03fc0000, 0x03fc0000},
|
|
+ {0x0000c2dc, 0x00033800, 0x00033800, 0x00637800, 0x00637800},
|
|
+ {0x0000c2e0, 0x0003c000, 0x0003c000, 0x03838000, 0x03838000},
|
|
+ {0x0000c2e4, 0x03fc0000, 0x03fc0000, 0x03fc0000, 0x03fc0000},
|
|
{0x0000c2e8, 0x00000000, 0x00000000, 0x00000000, 0x00000000},
|
|
{0x00016044, 0x012492d4, 0x012492d4, 0x012492d4, 0x012492d4},
|
|
{0x00016048, 0x62480001, 0x62480001, 0x62480001, 0x62480001},
|