diff options
author | Felix Fietkau <nbd@openwrt.org> | 2010-07-01 18:09:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-07-02 13:44:35 -0400 |
commit | ba17bc5e55ba541d2a8765fca53b6883b667ab21 (patch) | |
tree | 82676c197dc6bbf702a0f9d90e4eda3e21765280 /drivers/net/wireless/ath/ath9k/ar9001_initvals.h | |
parent | 2e1f25662ba06c40f9f2097927274f1712d9b7a7 (diff) |
ath9k_hw: sync initvals for ar9001 and ar9002 with Atheros
This includes the following changes/fixes:
- a bugfix for stuck beacon issues
- timing changes for improved performance
- AGC setting improvements
- fixes for high temperature issues on some chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9001_initvals.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9001_initvals.h | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9001_initvals.h b/drivers/net/wireless/ath/ath9k/ar9001_initvals.h index b98f137efaeb..69a94c7e45cb 100644 --- a/drivers/net/wireless/ath/ath9k/ar9001_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9001_initvals.h | |||
@@ -21,6 +21,8 @@ static const u32 ar5416Modes_9100[][6] = { | |||
21 | {0x000010f0, 0x0000a000, 0x00014000, 0x00016000, 0x0000b000, 0x00014008}, | 21 | {0x000010f0, 0x0000a000, 0x00014000, 0x00016000, 0x0000b000, 0x00014008}, |
22 | {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00, 0x06e006e0}, | 22 | {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00, 0x06e006e0}, |
23 | {0x0000801c, 0x128d93a7, 0x128d93cf, 0x12e013d7, 0x12e013ab, 0x098813cf}, | 23 | {0x0000801c, 0x128d93a7, 0x128d93cf, 0x12e013d7, 0x12e013ab, 0x098813cf}, |
24 | {0x00008120, 0x08f04800, 0x08f04800, 0x08f04810, 0x08f04810, 0x08f04810}, | ||
25 | {0x000081d0, 0x00003210, 0x00003210, 0x0000320a, 0x0000320a, 0x0000320a}, | ||
24 | {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300, 0x00000303}, | 26 | {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300, 0x00000303}, |
25 | {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200, 0x02020200}, | 27 | {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200, 0x02020200}, |
26 | {0x00009824, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e}, | 28 | {0x00009824, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e}, |
@@ -31,17 +33,17 @@ static const u32 ar5416Modes_9100[][6] = { | |||
31 | {0x00009848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, | 33 | {0x00009848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, |
32 | {0x0000a848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, | 34 | {0x0000a848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, |
33 | {0x0000b848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, | 35 | {0x0000b848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, |
34 | {0x00009850, 0x6d48b4e2, 0x6d48b4e2, 0x6d48b0e2, 0x6d48b0e2, 0x6d48b0e2}, | 36 | {0x00009850, 0x6c48b4e2, 0x6d48b4e2, 0x6d48b0e2, 0x6c48b0e2, 0x6c48b0e2}, |
35 | {0x00009858, 0x7ec82d2e, 0x7ec82d2e, 0x7ec86d2e, 0x7ec84d2e, 0x7ec82d2e}, | 37 | {0x00009858, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e}, |
36 | {0x0000985c, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e, 0x3139605e}, | 38 | {0x0000985c, 0x31395d5e, 0x3139605e, 0x3139605e, 0x31395d5e, 0x31395d5e}, |
37 | {0x00009860, 0x00048d18, 0x00048d18, 0x00048d20, 0x00048d20, 0x00048d18}, | 39 | {0x00009860, 0x00048d18, 0x00048d18, 0x00048d20, 0x00048d20, 0x00048d18}, |
38 | {0x0000c864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00}, | 40 | {0x0000c864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00}, |
39 | {0x00009868, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0}, | 41 | {0x00009868, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0}, |
40 | {0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081}, | 42 | {0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081}, |
41 | {0x00009914, 0x000007d0, 0x000007d0, 0x00000898, 0x00000898, 0x000007d0}, | 43 | {0x00009914, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898, 0x000007d0}, |
42 | {0x00009918, 0x0000000a, 0x00000014, 0x00000016, 0x0000000b, 0x00000016}, | 44 | {0x00009918, 0x0000000a, 0x00000014, 0x00000016, 0x0000000b, 0x00000016}, |
43 | {0x00009924, 0xd00a8a07, 0xd00a8a07, 0xd00a8a11, 0xd00a8a0d, 0xd00a8a0d}, | 45 | {0x00009924, 0xd00a8a07, 0xd00a8a07, 0xd00a8a0d, 0xd00a8a0d, 0xd00a8a0d}, |
44 | {0x00009940, 0x00754604, 0x00754604, 0xfff81204, 0xfff81204, 0xfff81204}, | 46 | {0x00009940, 0x00750604, 0x00754604, 0xfff81204, 0xfff81204, 0xfff81204}, |
45 | {0x00009944, 0xdfb81020, 0xdfb81020, 0xdfb81020, 0xdfb81020, 0xdfb81020}, | 47 | {0x00009944, 0xdfb81020, 0xdfb81020, 0xdfb81020, 0xdfb81020, 0xdfb81020}, |
46 | {0x00009954, 0x5f3ca3de, 0x5f3ca3de, 0xe250a51e, 0xe250a51e, 0xe250a51e}, | 48 | {0x00009954, 0x5f3ca3de, 0x5f3ca3de, 0xe250a51e, 0xe250a51e, 0xe250a51e}, |
47 | {0x00009958, 0x2108ecff, 0x2108ecff, 0x3388ffff, 0x3388ffff, 0x3388ffff}, | 49 | {0x00009958, 0x2108ecff, 0x2108ecff, 0x3388ffff, 0x3388ffff, 0x3388ffff}, |
@@ -52,7 +54,7 @@ static const u32 ar5416Modes_9100[][6] = { | |||
52 | {0x0000c9bc, 0x001a0600, 0x001a0600, 0x001a1000, 0x001a0c00, 0x001a0c00}, | 54 | {0x0000c9bc, 0x001a0600, 0x001a0600, 0x001a1000, 0x001a0c00, 0x001a0c00}, |
53 | {0x000099c0, 0x038919be, 0x038919be, 0x038919be, 0x038919be, 0x038919be}, | 55 | {0x000099c0, 0x038919be, 0x038919be, 0x038919be, 0x038919be, 0x038919be}, |
54 | {0x000099c4, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77}, | 56 | {0x000099c4, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77}, |
55 | {0x000099c8, 0x60f65329, 0x60f65329, 0x60f65329, 0x60f65329, 0x60f65329}, | 57 | {0x000099c8, 0x6af65329, 0x6af65329, 0x6af65329, 0x6af65329, 0x6af65329}, |
56 | {0x000099cc, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8}, | 58 | {0x000099cc, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8}, |
57 | {0x000099d0, 0x00046384, 0x00046384, 0x00046384, 0x00046384, 0x00046384}, | 59 | {0x000099d0, 0x00046384, 0x00046384, 0x00046384, 0x00046384, 0x00046384}, |
58 | {0x000099d4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 60 | {0x000099d4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
@@ -395,12 +397,12 @@ static const u32 ar5416Common_9100[][2] = { | |||
395 | {0x0000a22c, 0x00000000}, | 397 | {0x0000a22c, 0x00000000}, |
396 | {0x0000a234, 0x20202020}, | 398 | {0x0000a234, 0x20202020}, |
397 | {0x0000a238, 0x20202020}, | 399 | {0x0000a238, 0x20202020}, |
398 | {0x0000a23c, 0x13c889ae}, | 400 | {0x0000a23c, 0x13c889af}, |
399 | {0x0000a240, 0x38490a20}, | 401 | {0x0000a240, 0x38490a20}, |
400 | {0x0000a244, 0x00007bb6}, | 402 | {0x0000a244, 0x00007bb6}, |
401 | {0x0000a248, 0x0fff3ffc}, | 403 | {0x0000a248, 0x0fff3ffc}, |
402 | {0x0000a24c, 0x00000001}, | 404 | {0x0000a24c, 0x00000001}, |
403 | {0x0000a250, 0x0000a000}, | 405 | {0x0000a250, 0x0000e000}, |
404 | {0x0000a254, 0x00000000}, | 406 | {0x0000a254, 0x00000000}, |
405 | {0x0000a258, 0x0cc75380}, | 407 | {0x0000a258, 0x0cc75380}, |
406 | {0x0000a25c, 0x0f0f0f01}, | 408 | {0x0000a25c, 0x0f0f0f01}, |
@@ -671,6 +673,8 @@ static const u32 ar5416Modes_9160[][6] = { | |||
671 | {0x000010f0, 0x0000a000, 0x00014000, 0x00016000, 0x0000b000, 0x00014008}, | 673 | {0x000010f0, 0x0000a000, 0x00014000, 0x00016000, 0x0000b000, 0x00014008}, |
672 | {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00, 0x06e006e0}, | 674 | {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00, 0x06e006e0}, |
673 | {0x0000801c, 0x128d93a7, 0x128d93cf, 0x12e013d7, 0x12e013ab, 0x098813cf}, | 675 | {0x0000801c, 0x128d93a7, 0x128d93cf, 0x12e013d7, 0x12e013ab, 0x098813cf}, |
676 | {0x00008120, 0x08f04800, 0x08f04800, 0x08f04810, 0x08f04810, 0x08f04810}, | ||
677 | {0x000081d0, 0x00003210, 0x00003210, 0x0000320a, 0x0000320a, 0x0000320a}, | ||
674 | {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300, 0x00000303}, | 678 | {0x00009804, 0x00000300, 0x000003c4, 0x000003c4, 0x00000300, 0x00000303}, |
675 | {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200, 0x02020200}, | 679 | {0x00009820, 0x02020200, 0x02020200, 0x02020200, 0x02020200, 0x02020200}, |
676 | {0x00009824, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e}, | 680 | {0x00009824, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e, 0x00000e0e}, |
@@ -681,11 +685,11 @@ static const u32 ar5416Modes_9160[][6] = { | |||
681 | {0x00009848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, | 685 | {0x00009848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, |
682 | {0x0000a848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, | 686 | {0x0000a848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, |
683 | {0x0000b848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, | 687 | {0x0000b848, 0x001a6a65, 0x001a6a65, 0x00197a68, 0x00197a68, 0x00197a68}, |
684 | {0x00009850, 0x6c48b4e2, 0x6c48b4e2, 0x6c48b0e2, 0x6c48b0e2, 0x6c48b0e2}, | 688 | {0x00009850, 0x6c48b4e2, 0x6d48b4e2, 0x6d48b0e2, 0x6c48b0e2, 0x6c48b0e2}, |
685 | {0x00009858, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e}, | 689 | {0x00009858, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e, 0x7ec82d2e}, |
686 | {0x0000985c, 0x31395d5e, 0x31395d5e, 0x31395d5e, 0x31395d5e, 0x31395d5e}, | 690 | {0x0000985c, 0x31395d5e, 0x3139605e, 0x3139605e, 0x31395d5e, 0x31395d5e}, |
687 | {0x00009860, 0x00048d18, 0x00048d18, 0x00048d20, 0x00048d20, 0x00048d18}, | 691 | {0x00009860, 0x00048d18, 0x00048d18, 0x00048d20, 0x00048d20, 0x00048d18}, |
688 | {0x0000c864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00}, | 692 | {0x00009864, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00, 0x0001ce00}, |
689 | {0x00009868, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0}, | 693 | {0x00009868, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0, 0x409a40d0}, |
690 | {0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081}, | 694 | {0x0000986c, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081, 0x050cb081}, |
691 | {0x00009914, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898, 0x000007d0}, | 695 | {0x00009914, 0x000007d0, 0x00000fa0, 0x00001130, 0x00000898, 0x000007d0}, |
@@ -697,10 +701,10 @@ static const u32 ar5416Modes_9160[][6] = { | |||
697 | {0x0000b960, 0x00009b40, 0x00009b40, 0x00009b40, 0x00009b40, 0x00009b40}, | 701 | {0x0000b960, 0x00009b40, 0x00009b40, 0x00009b40, 0x00009b40, 0x00009b40}, |
698 | {0x00009964, 0x00001120, 0x00001120, 0x00001120, 0x00001120, 0x00001120}, | 702 | {0x00009964, 0x00001120, 0x00001120, 0x00001120, 0x00001120, 0x00001120}, |
699 | {0x0000c968, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce, 0x000003ce}, | 703 | {0x0000c968, 0x000003b5, 0x000003b5, 0x000003ce, 0x000003ce, 0x000003ce}, |
700 | {0x0000c9bc, 0x001a0600, 0x001a0600, 0x001a0c00, 0x001a0c00, 0x001a0c00}, | 704 | {0x000099bc, 0x001a0600, 0x001a0600, 0x001a0c00, 0x001a0c00, 0x001a0c00}, |
701 | {0x000099c0, 0x038919be, 0x038919be, 0x038919be, 0x038919be, 0x038919be}, | 705 | {0x000099c0, 0x038919be, 0x038919be, 0x038919be, 0x038919be, 0x038919be}, |
702 | {0x000099c4, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77}, | 706 | {0x000099c4, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77, 0x06336f77}, |
703 | {0x000099c8, 0x60f65329, 0x60f65329, 0x60f65329, 0x60f65329, 0x60f65329}, | 707 | {0x000099c8, 0x6af65329, 0x6af65329, 0x6af65329, 0x6af65329, 0x6af65329}, |
704 | {0x000099cc, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8}, | 708 | {0x000099cc, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8, 0x08f186c8}, |
705 | {0x000099d0, 0x00046384, 0x00046384, 0x00046384, 0x00046384, 0x00046384}, | 709 | {0x000099d0, 0x00046384, 0x00046384, 0x00046384, 0x00046384, 0x00046384}, |
706 | {0x000099d4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, | 710 | {0x000099d4, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, |
@@ -851,7 +855,6 @@ static const u32 ar5416Common_9160[][2] = { | |||
851 | {0x00008110, 0x00000168}, | 855 | {0x00008110, 0x00000168}, |
852 | {0x00008118, 0x000100aa}, | 856 | {0x00008118, 0x000100aa}, |
853 | {0x0000811c, 0x00003210}, | 857 | {0x0000811c, 0x00003210}, |
854 | {0x00008120, 0x08f04800}, | ||
855 | {0x00008124, 0x00000000}, | 858 | {0x00008124, 0x00000000}, |
856 | {0x00008128, 0x00000000}, | 859 | {0x00008128, 0x00000000}, |
857 | {0x0000812c, 0x00000000}, | 860 | {0x0000812c, 0x00000000}, |
@@ -867,7 +870,6 @@ static const u32 ar5416Common_9160[][2] = { | |||
867 | {0x00008178, 0x00000100}, | 870 | {0x00008178, 0x00000100}, |
868 | {0x0000817c, 0x00000000}, | 871 | {0x0000817c, 0x00000000}, |
869 | {0x000081c4, 0x00000000}, | 872 | {0x000081c4, 0x00000000}, |
870 | {0x000081d0, 0x00003210}, | ||
871 | {0x000081ec, 0x00000000}, | 873 | {0x000081ec, 0x00000000}, |
872 | {0x000081f0, 0x00000000}, | 874 | {0x000081f0, 0x00000000}, |
873 | {0x000081f4, 0x00000000}, | 875 | {0x000081f4, 0x00000000}, |
@@ -898,6 +900,7 @@ static const u32 ar5416Common_9160[][2] = { | |||
898 | {0x00008258, 0x00000000}, | 900 | {0x00008258, 0x00000000}, |
899 | {0x0000825c, 0x400000ff}, | 901 | {0x0000825c, 0x400000ff}, |
900 | {0x00008260, 0x00080922}, | 902 | {0x00008260, 0x00080922}, |
903 | {0x00008264, 0x88a00010}, | ||
901 | {0x00008270, 0x00000000}, | 904 | {0x00008270, 0x00000000}, |
902 | {0x00008274, 0x40000000}, | 905 | {0x00008274, 0x40000000}, |
903 | {0x00008278, 0x003e4180}, | 906 | {0x00008278, 0x003e4180}, |
@@ -1058,9 +1061,9 @@ static const u32 ar5416Common_9160[][2] = { | |||
1058 | {0x0000a25c, 0x0f0f0f01}, | 1061 | {0x0000a25c, 0x0f0f0f01}, |
1059 | {0x0000a260, 0xdfa91f01}, | 1062 | {0x0000a260, 0xdfa91f01}, |
1060 | {0x0000a268, 0x00000001}, | 1063 | {0x0000a268, 0x00000001}, |
1061 | {0x0000a26c, 0x0ebae9c6}, | 1064 | {0x0000a26c, 0x0e79e5c6}, |
1062 | {0x0000b26c, 0x0ebae9c6}, | 1065 | {0x0000b26c, 0x0e79e5c6}, |
1063 | {0x0000c26c, 0x0ebae9c6}, | 1066 | {0x0000c26c, 0x0e79e5c6}, |
1064 | {0x0000d270, 0x00820820}, | 1067 | {0x0000d270, 0x00820820}, |
1065 | {0x0000a278, 0x1ce739ce}, | 1068 | {0x0000a278, 0x1ce739ce}, |
1066 | {0x0000a27c, 0x050701ce}, | 1069 | {0x0000a27c, 0x050701ce}, |