diff options
author | Damien Bergamini <damien@cvs.openbsd.org> | 2010-05-11 17:45:55 +0000 |
---|---|---|
committer | Damien Bergamini <damien@cvs.openbsd.org> | 2010-05-11 17:45:55 +0000 |
commit | 1bcc1e240634a6747ccec8faa3183ebb64963b5c (patch) | |
tree | 9fb542de198e0fd95df0aaedc04dbab395666762 /sys/dev/ic | |
parent | ad210f48591fede9c20726b8f36d2991a85e3b50 (diff) |
update initvals for AR9380 2.0.
see http://marc.info/?l=linux-wireless&m=127354213505700&q=raw
for the list of changes.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ar9380reg.h | 303 |
1 files changed, 153 insertions, 150 deletions
diff --git a/sys/dev/ic/ar9380reg.h b/sys/dev/ic/ar9380reg.h index 515e9083623..99fb11366e6 100644 --- a/sys/dev/ic/ar9380reg.h +++ b/sys/dev/ic/ar9380reg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ar9380reg.h,v 1.2 2010/05/10 17:53:37 damien Exp $ */ +/* $OpenBSD: ar9380reg.h,v 1.3 2010/05/11 17:45:54 damien Exp $ */ /*- * Copyright (c) 2010 Damien Bergamini <damien.bergamini@free.fr> @@ -321,83 +321,88 @@ static const uint8_t ar9380_def_rom[] = { static const uint16_t ar9380_2_0_regs[] = { P(0x07010), P(0x01030), P(0x01070), P(0x010b0), P(0x08014), P(0x0801c), P(0x08120), P(0x081d0), P(0x08318), P(0x1609c), - P(0x160ac), P(0x160b0), P(0x1610c), P(0x1650c), P(0x1690c), - P(0x09810), P(0x09820), P(0x09824), P(0x09828), P(0x0982c), - P(0x09830), P(0x09c00), P(0x09e00), P(0x09e04), P(0x09e0c), - P(0x09e10), P(0x09e14), P(0x09e18), P(0x09e1c), P(0x09e20), - P(0x09e2c), P(0x09e44), P(0x09e48), P(0x09fc8), P(0x0a204), - P(0x0a208), P(0x0a230), P(0x0a238), P(0x0a250), P(0x0a254), - P(0x0a258), P(0x0a25c), P(0x0a260), P(0x0a264), P(0x0a280), - P(0x0a284), P(0x0a288), P(0x0a28c), P(0x0a2c4), P(0x0a2d0), - P(0x0a2d8), P(0x0a358), P(0x0a830), P(0x0ae04), P(0x0ae18), - P(0x0ae1c), P(0x0ae20), P(0x0b284), P(0x0b830), P(0x0be04), - P(0x0be18), P(0x0be1c), P(0x0be20), P(0x0c284) + P(0x160ac), P(0x160b0), P(0x1610c), P(0x16140), P(0x1650c), + P(0x16540), P(0x1690c), P(0x16940), P(0x09810), P(0x09820), + P(0x09824), P(0x09828), P(0x0982c), P(0x09830), P(0x09c00), + P(0x09e00), P(0x09e04), P(0x09e0c), P(0x09e10), P(0x09e14), + P(0x09e18), P(0x09e1c), P(0x09e20), P(0x09e2c), P(0x09e44), + P(0x09e48), P(0x09fc8), P(0x0a204), P(0x0a208), P(0x0a230), + P(0x0a238), P(0x0a250), P(0x0a254), P(0x0a258), P(0x0a25c), + P(0x0a260), P(0x0a264), P(0x0a280), P(0x0a284), P(0x0a288), + P(0x0a28c), P(0x0a2c4), P(0x0a2d0), P(0x0a2d8), P(0x0a358), + P(0x0a830), P(0x0ae04), P(0x0ae18), P(0x0ae1c), P(0x0ae20), + P(0x0b284), P(0x0b830), P(0x0be04), P(0x0be18), P(0x0be1c), + P(0x0be20), P(0x0c284) }; static const uint32_t ar9380_2_0_vals_5g20[] = { 0x00000023, 0x00000230, 0x00000168, 0x00000e60, 0x03e803e8, 0x128d8027, 0x08f04800, 0x00003210, 0x00003e80, 0x0dd08f29, - 0xa4653c00, 0x03284f3e, 0x08000000, 0x08000000, 0x08000000, - 0xd00a8005, 0x206a022e, 0x5ac640d0, 0x06903081, 0x05eea6d4, - 0x0000059c, 0x00000044, 0x0372161e, 0x00802020, 0x6c4000e2, - 0x7ec88d2e, 0x31395d5e, 0x00000000, 0x0001cf9c, 0x000003b5, - 0x0000001c, 0x02321e27, 0x5030201a, 0x0003f000, 0x000037c0, - 0x00000104, 0x0000000a, 0xffb81018, 0x00000000, 0x000007d0, - 0x02020002, 0x01000e0e, 0x0a021501, 0x00000e0e, 0x00000007, - 0x00000000, 0x00000110, 0x00022222, 0x00158d18, 0x00071981, - 0xf999a83a, 0x00000000, 0x0000019c, 0x00800000, 0x00000000, - 0x0000019c, 0x000001b5, 0x00000000, 0x0000019c, 0x00800000, - 0x00000000, 0x0000019c, 0x000001b5, 0x00000000 + 0xa4653c00, 0x03284f3e, 0x08000000, 0x10804008, 0x08000000, + 0x10804008, 0x08000000, 0x10804008, 0xd00a8005, 0x206a022e, + 0x5ac640d0, 0x06903081, 0x05eea6d4, 0x0000059c, 0x00000044, + 0x0372161e, 0x00802020, 0x6c4000e2, 0x7ec88d2e, 0x31395d5e, + 0x00000000, 0x0001cf9c, 0x000003b5, 0x0000001c, 0x02321e27, + 0x5030201a, 0x0003f000, 0x000037c0, 0x00000104, 0x0000000a, + 0xffb81018, 0x00000000, 0x000007d0, 0x02020002, 0x01000e0e, + 0x0a021501, 0x00000e0e, 0x00000007, 0x00000000, 0x00000110, + 0x00022222, 0x00158d18, 0x00071981, 0xf999a83a, 0x00000000, + 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, 0x000001b5, + 0x00000000, 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, + 0x000001b5, 0x00000000 }; #ifndef IEEE80211_NO_HT static const uint32_t ar9380_2_0_vals_5g40[] = { 0x00000023, 0x00000460, 0x000002d0, 0x00001cc0, 0x07d007d0, 0x128d804f, 0x08f04800, 0x00003210, 0x00007d00, 0x0dd08f29, - 0xa4653c00, 0x03284f3e, 0x00000000, 0x00000000, 0x00000000, - 0xd00a8005, 0x206a022e, 0x5ac640d0, 0x06903081, 0x05eea6d4, - 0x0000059c, 0x000000c4, 0x0372161e, 0x00802020, 0x6d4000e2, - 0x7ec88d2e, 0x3139605e, 0x00000000, 0x0001cf9c, 0x000003b5, - 0x0000001c, 0x02321e27, 0x5030201a, 0x0003f000, 0x000037c4, - 0x00000104, 0x00000014, 0xffb81018, 0x00000000, 0x00000fa0, - 0x02020002, 0x01000e0e, 0x0a021501, 0x00000e0e, 0x00000007, - 0x00000000, 0x00000110, 0x00022222, 0x00158d18, 0x00071981, - 0xf999a83a, 0x00000000, 0x0000019c, 0x00800000, 0x00000000, - 0x0000019c, 0x000001b5, 0x00000000, 0x0000019c, 0x00800000, - 0x00000000, 0x0000019c, 0x000001b5, 0x00000000 + 0xa4653c00, 0x03284f3e, 0x00000000, 0x10804008, 0x00000000, + 0x10804008, 0x00000000, 0x10804008, 0xd00a8005, 0x206a022e, + 0x5ac640d0, 0x06903081, 0x05eea6d4, 0x0000059c, 0x000000c4, + 0x0372161e, 0x00802020, 0x6d4000e2, 0x7ec88d2e, 0x3139605e, + 0x00000000, 0x0001cf9c, 0x000003b5, 0x0000001c, 0x02321e27, + 0x5030201a, 0x0003f000, 0x000037c4, 0x00000104, 0x00000014, + 0xffb81018, 0x00000000, 0x00000fa0, 0x02020002, 0x01000e0e, + 0x0a021501, 0x00000e0e, 0x00000007, 0x00000000, 0x00000110, + 0x00022222, 0x00158d18, 0x00071981, 0xf999a83a, 0x00000000, + 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, 0x000001b5, + 0x00000000, 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, + 0x000001b5, 0x00000000 }; static const uint32_t ar9380_2_0_vals_2g40[] = { 0x00000023, 0x000002c0, 0x00000318, 0x00007c70, 0x10801600, 0x12e00057, 0x08f04810, 0x0000320a, 0x00006880, 0x0b283f31, - 0x24652800, 0x05d08f20, 0x00000000, 0x00000000, 0x00000000, - 0xd00a8005, 0x206a012e, 0x5ac640d0, 0x06903881, 0x05eea6d4, - 0x0000059c, 0x000000c4, 0x037216a0, 0x00802020, 0x6d4000e2, - 0x7ec84d2e, 0x3139605e, 0x00000000, 0x00021f9c, 0x000003ce, - 0x00000021, 0x02282324, 0x50302010, 0x0001a000, 0x000037c4, - 0x00000004, 0x00000016, 0xffb81018, 0x00000210, 0x00001130, - 0x02020002, 0x01000e0e, 0x3a021501, 0x00000e0e, 0x0000000b, - 0x00000150, 0x00000110, 0x00022222, 0x00158d18, 0x00071981, - 0xf999a83a, 0x00000000, 0x0000019c, 0x00800000, 0x00000000, - 0x0000019c, 0x000001ce, 0x00000150, 0x0000019c, 0x00800000, - 0x00000000, 0x0000019c, 0x000001ce, 0x00000150 + 0x24652800, 0x05d08f20, 0x00000000, 0x50804008, 0x00000000, + 0x50804008, 0x00000000, 0x50804008, 0xd00a8011, 0x206a012e, + 0x5ac640d0, 0x06903881, 0x05eea6d4, 0x0000119c, 0x000000c4, + 0x037216a0, 0x00802020, 0x6d4000e2, 0x7ec84d2e, 0x3139605e, + 0x00000000, 0x00021f9c, 0x000003ce, 0x00000021, 0x02291e27, + 0x50302012, 0x0001a000, 0x000037c4, 0x00000004, 0x00000016, + 0xffb81018, 0x00000210, 0x00001130, 0x02020002, 0x01000e0e, + 0x3a021501, 0x00000e0e, 0x0000000b, 0x00000150, 0x00000110, + 0x00022222, 0x00158d18, 0x00071981, 0xf999a83a, 0x00000000, + 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, 0x000001ce, + 0x00000150, 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, + 0x000001ce, 0x00000150 }; #endif static const uint32_t ar9380_2_0_vals_2g20[] = { 0x00000023, 0x00000160, 0x0000018c, 0x00003e38, 0x08400b00, 0x12e0002b, 0x08f04810, 0x0000320a, 0x00003440, 0x0b283f31, - 0x24652800, 0x05d08f20, 0x00000000, 0x00000000, 0x00000000, - 0xd00a800b, 0x206a012e, 0x5ac640d0, 0x06903881, 0x05eea6d4, - 0x00000b9c, 0x00000044, 0x037216a0, 0x00802020, 0x6c4000e2, - 0x7ec84d2e, 0x31395d5e, 0x00000000, 0x00021f9c, 0x000003ce, - 0x00000021, 0x02282324, 0x50302010, 0x0001a000, 0x000037c0, - 0x00000004, 0x0000000b, 0xffb81018, 0x00000108, 0x00000898, - 0x02020002, 0x01000e0e, 0x3a021501, 0x00000e0e, 0x0000000b, - 0x00000150, 0x00000110, 0x00022222, 0x00158d18, 0x00071982, - 0xf999a83a, 0x00000000, 0x0000019c, 0x00800000, 0x00000000, - 0x0000019c, 0x000001ce, 0x00000150, 0x0000019c, 0x00800000, - 0x00000000, 0x0000019c, 0x000001ce, 0x00000150 + 0x24652800, 0x05d08f20, 0x00000000, 0x50804008, 0x00000000, + 0x50804008, 0x00000000, 0x50804008, 0xd00a8011, 0x206a012e, + 0x5ac640d0, 0x06903881, 0x05eea6d4, 0x0000119c, 0x00000044, + 0x037216a0, 0x00802020, 0x6c4000e2, 0x7ec84d2e, 0x31395d5e, + 0x00000000, 0x00021f9c, 0x000003ce, 0x00000021, 0x02291e27, + 0x50302012, 0x0001a000, 0x000037c0, 0x00000004, 0x0000000b, + 0xffb81018, 0x00000108, 0x00000898, 0x02020002, 0x01000e0e, + 0x3a021501, 0x00000e0e, 0x0000000b, 0x00000150, 0x00000110, + 0x00022222, 0x00158d18, 0x00071982, 0xf999a83a, 0x00000000, + 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, 0x000001ce, + 0x00000150, 0x0000019c, 0x00800000, 0x00000000, 0x0000019c, + 0x000001ce, 0x00000150 }; static const uint16_t ar9380_2_0_cm_regs[] = { @@ -478,29 +483,28 @@ static const uint16_t ar9380_2_0_cm_regs[] = { P(0x16088), P(0x1608c), P(0x16090), P(0x16098), P(0x160a0), P(0x160a4), P(0x160a8), P(0x160b4), P(0x160c0), P(0x160c4), P(0x160c8), P(0x160cc), P(0x16100), P(0x16104), P(0x16108), - P(0x16140), P(0x16144), P(0x16148), P(0x16280), P(0x16284), - P(0x16288), P(0x1628c), P(0x16290), P(0x16294), P(0x16380), - P(0x16384), P(0x16388), P(0x1638c), P(0x16390), P(0x16394), - P(0x16398), P(0x1639c), P(0x163a0), P(0x163a4), P(0x163a8), - P(0x163ac), P(0x163b0), P(0x163b4), P(0x163b8), P(0x163bc), - P(0x163c0), P(0x163c4), P(0x163c8), P(0x163cc), P(0x163d0), - P(0x163d4), P(0x16400), P(0x16404), P(0x16408), P(0x1640c), - P(0x16440), P(0x1644c), P(0x16450), P(0x16454), P(0x16458), - P(0x1645c), P(0x16460), P(0x16464), P(0x1646c), P(0x16500), - P(0x16504), P(0x16508), P(0x16540), P(0x16544), P(0x16548), - P(0x16780), P(0x16784), P(0x16788), P(0x1678c), P(0x16790), - P(0x16794), P(0x16798), P(0x1679c), P(0x167a0), P(0x167a4), - P(0x167a8), P(0x167ac), P(0x167b0), P(0x167b4), P(0x167b8), - P(0x167bc), P(0x167c0), P(0x167c4), P(0x167c8), P(0x167cc), - P(0x167d0), P(0x167d4), P(0x16800), P(0x16804), P(0x16808), - P(0x1680c), P(0x16840), P(0x1684c), P(0x16850), P(0x16854), - P(0x16858), P(0x1685c), P(0x16860), P(0x16864), P(0x1686c), - P(0x16900), P(0x16904), P(0x16908), P(0x16940), P(0x16944), - P(0x16948), P(0x16b80), P(0x16b84), P(0x16b88), P(0x16b8c), - P(0x16b90), P(0x16b94), P(0x16b98), P(0x16b9c), P(0x16ba0), - P(0x16ba4), P(0x16ba8), P(0x16bac), P(0x16bb0), P(0x16bb4), - P(0x16bb8), P(0x16bbc), P(0x16bc0), P(0x16bc4), P(0x16bc8), - P(0x16bcc), P(0x16bd0), P(0x16bd4) + P(0x16144), P(0x16148), P(0x16280), P(0x16284), P(0x16288), + P(0x1628c), P(0x16290), P(0x16294), P(0x16380), P(0x16384), + P(0x16388), P(0x1638c), P(0x16390), P(0x16394), P(0x16398), + P(0x1639c), P(0x163a0), P(0x163a4), P(0x163a8), P(0x163ac), + P(0x163b0), P(0x163b4), P(0x163b8), P(0x163bc), P(0x163c0), + P(0x163c4), P(0x163c8), P(0x163cc), P(0x163d0), P(0x163d4), + P(0x16400), P(0x16404), P(0x16408), P(0x1640c), P(0x16440), + P(0x1644c), P(0x16450), P(0x16454), P(0x16458), P(0x1645c), + P(0x16460), P(0x16464), P(0x1646c), P(0x16500), P(0x16504), + P(0x16508), P(0x16544), P(0x16548), P(0x16780), P(0x16784), + P(0x16788), P(0x1678c), P(0x16790), P(0x16794), P(0x16798), + P(0x1679c), P(0x167a0), P(0x167a4), P(0x167a8), P(0x167ac), + P(0x167b0), P(0x167b4), P(0x167b8), P(0x167bc), P(0x167c0), + P(0x167c4), P(0x167c8), P(0x167cc), P(0x167d0), P(0x167d4), + P(0x16800), P(0x16804), P(0x16808), P(0x1680c), P(0x16840), + P(0x1684c), P(0x16850), P(0x16854), P(0x16858), P(0x1685c), + P(0x16860), P(0x16864), P(0x1686c), P(0x16900), P(0x16904), + P(0x16908), P(0x16944), P(0x16948), P(0x16b80), P(0x16b84), + P(0x16b88), P(0x16b8c), P(0x16b90), P(0x16b94), P(0x16b98), + P(0x16b9c), P(0x16ba0), P(0x16ba4), P(0x16ba8), P(0x16bac), + P(0x16bb0), P(0x16bb4), P(0x16bb8), P(0x16bbc), P(0x16bc0), + P(0x16bc4), P(0x16bc8), P(0x16bcc), P(0x16bd0), P(0x16bd4) }; static const uint32_t ar9380_2_0_cm_vals[] = { @@ -543,7 +547,7 @@ static const uint32_t ar9380_2_0_cm_vals[] = { 0x00000820, 0x00000000, 0x00000000, 0x00000000, 0xff55ff55, 0x0320ff55, 0x00000000, 0x00000000, 0x00046384, 0x05b6b440, 0x00b6b440, 0xc080a333, 0x40206c10, 0x009c4060, 0x9883800a, - 0x01834061, 0x00c0040b, 0x00000000, 0x0038233c, 0x990bb515, + 0x01834061, 0x00c0040b, 0x00000000, 0x0038230c, 0x990bb515, 0x0c6f0000, 0x06336f77, 0x6af6532f, 0x0cc80c00, 0xcf946222, 0x0d261820, 0x00001004, 0x00ff03f1, 0x00000000, 0x803e4788, 0x0001efb5, 0x40000014, 0x01193b93, 0x00000000, 0x00000000, @@ -576,34 +580,33 @@ static const uint32_t ar9380_2_0_cm_vals[] = { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0e79e5c0, 0x00820820, 0x00000000, 0x36db6db6, 0x6db6db40, 0x73f00000, 0x00000000, 0x7f80fff8, - 0x76d005b5, 0x556cf031, 0x43449440, 0x0c51c92c, 0x3db7fffc, + 0x76d005b5, 0x556cf031, 0x13449440, 0x0c51c92c, 0x3db7fffc, 0xfffffffc, 0x000f0278, 0x6db60000, 0x00000000, 0x0e48048c, 0x54214514, 0x119f481e, 0x24926490, 0xd2888888, 0x0a108ffe, 0x812fc370, 0x423c8000, 0x92480080, 0x00adb6d0, 0x6db6db60, 0x6db6db6c, 0x01e6c000, 0x3fffbe01, 0xfff80000, 0x00080010, - 0x10804008, 0x02084080, 0x00000000, 0x058a0001, 0x3d840208, - 0x01a20408, 0x00038c07, 0x40000004, 0x458aa14f, 0x00000000, - 0x00000000, 0x00800700, 0x00800700, 0x00800700, 0x00000000, - 0x00000000, 0x00000000, 0x00000001, 0x00000001, 0x00000000, - 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x000000a0, 0x000c0000, 0x14021402, 0x00001402, 0x00000000, - 0x00000000, 0x36db6db6, 0x6db6db40, 0x73f00000, 0x00000000, - 0x7f80fff8, 0x76d005b5, 0x556cf031, 0x43449440, 0x0c51c92c, - 0x3db7fffc, 0xfffffffc, 0x000f0278, 0x6db60000, 0x3fffbe01, - 0xfff80000, 0x00080010, 0x10804008, 0x02084080, 0x00000000, - 0x00000000, 0x00000000, 0x00800700, 0x00800700, 0x00800700, - 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0x00000001, - 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x000000a0, 0x000c0000, 0x14021402, 0x00001402, - 0x00000000, 0x00000000, 0x36db6db6, 0x6db6db40, 0x73f00000, - 0x00000000, 0x7f80fff8, 0x76d005b5, 0x556cf031, 0x43449440, - 0x0c51c92c, 0x3db7fffc, 0xfffffffc, 0x000f0278, 0x6db60000, - 0x3fffbe01, 0xfff80000, 0x00080010, 0x10804008, 0x02084080, - 0x00000000, 0x00000000, 0x00000000, 0x00800700, 0x00800700, - 0x00800700, 0x00000000, 0x00000000, 0x00000000, 0x00000001, - 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, 0x000000a0, 0x000c0000, 0x14021402, - 0x00001402, 0x00000000, 0x00000000 + 0x02084080, 0x00000000, 0x058a0001, 0x3d840208, 0x05a20408, + 0x00038c07, 0x40000004, 0x458aa14f, 0x00000000, 0x00000000, + 0x00800700, 0x00800700, 0x00800700, 0x00000000, 0x00000000, + 0x00000000, 0x00000001, 0x00000001, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000a0, + 0x000c0000, 0x14021402, 0x00001402, 0x00000000, 0x00000000, + 0x36db6db6, 0x6db6db40, 0x73f00000, 0x00000000, 0x7f80fff8, + 0x76d005b5, 0x556cf031, 0x13449440, 0x0c51c92c, 0x3db7fffc, + 0xfffffffc, 0x000f0278, 0x6db60000, 0x3fffbe01, 0xfff80000, + 0x00080010, 0x02084080, 0x00000000, 0x00000000, 0x00000000, + 0x00800700, 0x00800700, 0x00800700, 0x00000000, 0x00000000, + 0x00000000, 0x00000001, 0x00000001, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000a0, + 0x000c0000, 0x14021402, 0x00001402, 0x00000000, 0x00000000, + 0x36db6db6, 0x6db6db40, 0x73f00000, 0x00000000, 0x7f80fff8, + 0x76d005b5, 0x556cf031, 0x13449440, 0x0c51c92c, 0x3db7fffc, + 0xfffffffc, 0x000f0278, 0x6db60000, 0x3fffbe01, 0xfff80000, + 0x00080010, 0x02084080, 0x00000000, 0x00000000, 0x00000000, + 0x00800700, 0x00800700, 0x00800700, 0x00000000, 0x00000000, + 0x00000000, 0x00000001, 0x00000001, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000a0, + 0x000c0000, 0x14021402, 0x00001402, 0x00000000, 0x00000000 }; static const struct athn_ini ar9380_2_0_ini = { @@ -655,8 +658,8 @@ static const uint32_t ar9380_2_0_tx_gain_vals_5g[] = { 0x5382266c, 0x5782286c, 0x5c84286b, 0x61842a6c, 0x66862a6c, 0x6b862e6c, 0x7086308c, 0x738a308a, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, - 0x012492d4, 0x60001a61, 0x6db6db6c, 0x012492d4, 0x60001a61, - 0x6db6db6c, 0x012492d4, 0x60001a61, 0x6db6db6c + 0x012492d4, 0x62480001, 0x6db6db6c, 0x012492d4, 0x62480001, + 0x6db6db6c, 0x012492d4, 0x62480001, 0x6db6db6c }; static const uint32_t ar9380_2_0_tx_gain_vals_2g[] = { @@ -673,8 +676,8 @@ static const uint32_t ar9380_2_0_tx_gain_vals_2g[] = { 0x3f801861, 0x43801a81, 0x47801a83, 0x4a801c84, 0x4e801ce3, 0x52801ce5, 0x56801ce9, 0x5a801ceb, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, - 0x012492d4, 0x60001a61, 0x6db6db6c, 0x012492d4, 0x60001a61, - 0x6db6db6c, 0x012492d4, 0x60001a61, 0x6db6db6c + 0x012492d4, 0x62480001, 0x6db6db6c, 0x012492d4, 0x62480001, + 0x6db6db6c, 0x012492d4, 0x62480001, 0x6db6db6c }; static const struct athn_gain ar9380_2_0_tx_gain = { @@ -701,8 +704,8 @@ static const uint32_t ar9380_2_0_tx_gain_high_ob_db_vals_5g[] = { 0x4e825e8e, 0x53825eb2, 0x59825eb5, 0x5f825ef6, 0x62825f56, 0x66827f56, 0x6a829f56, 0x70849f56, 0x7584ff56, 0x7584ff56, 0x7584ff56, 0x7584ff56, 0x7584ff56, 0x7584ff56, 0x7584ff56, - 0x056db2e4, 0x8e481a61, 0x6db6db6c, 0x056db2e4, 0x8e481a61, - 0x6db6db6c, 0x056db2e4, 0x8e481a61, 0x6db6db6c + 0x056db2e4, 0x8e480001, 0x6db6db6c, 0x056db2e4, 0x8e480001, + 0x6db6db6c, 0x056db2e4, 0x8e480001, 0x6db6db6c }; static const uint32_t ar9380_2_0_tx_gain_high_ob_db_vals_2g[] = { @@ -719,8 +722,8 @@ static const uint32_t ar9380_2_0_tx_gain_high_ob_db_vals_2g[] = { 0x3b801861, 0x3e801a81, 0x42801a83, 0x44801c84, 0x48801ce3, 0x4c801ce5, 0x50801ce9, 0x54801ceb, 0x56801eec, 0x56801eec, 0x56801eec, 0x56801eec, 0x56801eec, 0x56801eec, 0x56801eec, - 0x056db2e4, 0x8e481a61, 0x6db6db6c, 0x056db2e4, 0x8e481a61, - 0x6db6db6c, 0x056db2e4, 0x8e481a61, 0x6db6db6c + 0x056db2e4, 0x8e480001, 0x6db6db6c, 0x056db2e4, 0x8e480001, + 0x6db6db6c, 0x056db2e4, 0x8e480001, 0x6db6db6c }; static const struct athn_gain ar9380_2_0_tx_gain_high_ob_db = { @@ -747,8 +750,8 @@ static const uint32_t ar9380_2_0_tx_gain_low_ob_db_vals_5g[] = { 0x5382266c, 0x5782286c, 0x5c84286b, 0x61842a6c, 0x66862a6c, 0x6b862e6c, 0x7086308c, 0x738a308a, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, 0x778a308c, - 0x012492d4, 0x64001a61, 0x6db6db6c, 0x012492d4, 0x64001a61, - 0x6db6db6c, 0x012492d4, 0x64001a61, 0x6db6db6c + 0x012492d4, 0x64000001, 0x6db6db6c, 0x012492d4, 0x64000001, + 0x6db6db6c, 0x012492d4, 0x64000001, 0x6db6db6c }; static const uint32_t ar9380_2_0_tx_gain_low_ob_db_vals_2g[] = { @@ -765,8 +768,8 @@ static const uint32_t ar9380_2_0_tx_gain_low_ob_db_vals_2g[] = { 0x3f801861, 0x43801a81, 0x47801a83, 0x4a801c84, 0x4e801ce3, 0x52801ce5, 0x56801ce9, 0x5a801ceb, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, 0x5d801eec, - 0x012492d4, 0x64001a61, 0x6db6db6c, 0x012492d4, 0x64001a61, - 0x6db6db6c, 0x012492d4, 0x64001a61, 0x6db6db6c + 0x012492d4, 0x64000001, 0x6db6db6c, 0x012492d4, 0x64000001, + 0x6db6db6c, 0x012492d4, 0x64000001, 0x6db6db6c }; static const struct athn_gain ar9380_2_0_tx_gain_low_ob_db = { @@ -835,27 +838,27 @@ static const uint16_t ar9380_2_0_rx_gain_regs[] = { }; static const uint32_t ar9380_2_0_rx_gain_vals[] = { - 0x00010000, 0x00030002, 0x00050004, 0x00810080, 0x01800082, - 0x01820181, 0x01840183, 0x01880185, 0x018a0189, 0x02850284, - 0x02890288, 0x028b028a, 0x028d028c, 0x02910290, 0x02930292, - 0x03910390, 0x03930392, 0x03950394, 0x00000396, 0x00000000, + 0x00010000, 0x00030002, 0x00050004, 0x00810080, 0x00830082, + 0x01810180, 0x01830182, 0x01850184, 0x01890188, 0x018b018a, + 0x018d018c, 0x01910190, 0x01930192, 0x01950194, 0x038a0196, + 0x038c038b, 0x0390038d, 0x03920391, 0x03940393, 0x03960395, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, 0x28282828, 0x21212128, 0x21212121, - 0x1c1c1c21, 0x1c1c1c1c, 0x17171c1c, 0x02020212, 0x02020202, + 0x00000000, 0x00000000, 0x22222229, 0x1d1d1d1d, 0x1d1d1d1d, + 0x1d1d1d1d, 0x171d1d1d, 0x11111717, 0x00030311, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, 0x00000000, 0x001f0000, 0x011f0100, - 0x011d011e, 0x011b011c, 0x02030204, 0x02010202, 0x021f0200, - 0x021d021e, 0x03010302, 0x031f0300, 0x0402031e, 0x04000401, - 0x041e041f, 0x05010502, 0x051f0500, 0x0602051e, 0x06000601, - 0x061e061f, 0x0703061d, 0x07010702, 0x00000700, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x001f0000, 0x01000101, + 0x011e011f, 0x011c011d, 0x02030204, 0x02010202, 0x021f0200, + 0x0302021e, 0x03000301, 0x031e031f, 0x0402031d, 0x04000401, + 0x041e041f, 0x0502041d, 0x05000501, 0x051e051f, 0x06010602, + 0x061f0600, 0x061d061e, 0x07020703, 0x07000701, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x001f0000, 0x011f0100, 0x011d011e, 0x011b011c, 0x02030204, - 0x02010202, 0x021f0200, 0x021d021e, 0x03010302, 0x031f0300, - 0x0402031e, 0x04000401, 0x041e041f, 0x05010502, 0x051f0500, - 0x0602051e, 0x06000601, 0x061e061f, 0x0703061d, 0x07010702, - 0x00000700, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x001f0000, 0x01000101, 0x011e011f, 0x011c011d, 0x02030204, + 0x02010202, 0x021f0200, 0x0302021e, 0x03000301, 0x031e031f, + 0x0402031d, 0x04000401, 0x041e041f, 0x0502041d, 0x05000501, + 0x051e051f, 0x06010602, 0x061f0600, 0x061d061e, 0x07020703, + 0x07000701, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, @@ -900,32 +903,32 @@ static const struct athn_gain ar9380_2_0_rx_gain = { * AR9380 2.0 without external low-noise amplifier Rx gains. */ static const uint32_t ar9380_2_0_rx_gain_wo_xlna_vals[] = { - 0x00010000, 0x00030002, 0x00050004, 0x00810080, 0x01800082, - 0x01820181, 0x01840183, 0x01880185, 0x018a0189, 0x02850284, - 0x02890288, 0x03850384, 0x03890388, 0x038b038a, 0x038d038c, - 0x03910390, 0x03930392, 0x03950394, 0x00000396, 0x00000000, + 0x00010000, 0x00030002, 0x00050004, 0x00810080, 0x00830082, + 0x01810180, 0x01830182, 0x01850184, 0x01890188, 0x018b018a, + 0x018d018c, 0x03820190, 0x03840383, 0x03880385, 0x038a0389, + 0x038c038b, 0x0390038d, 0x03920391, 0x03940393, 0x03960395, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, 0x28282828, 0x28282828, 0x28282828, - 0x28282828, 0x28282828, 0x21212128, 0x171c1c1c, 0x02020212, - 0x00000202, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, 0x00000000, 0x001f0000, 0x011f0100, - 0x011d011e, 0x011b011c, 0x02030204, 0x02010202, 0x021f0200, - 0x021d021e, 0x03010302, 0x031f0300, 0x0402031e, 0x04000401, - 0x041e041f, 0x05010502, 0x051f0500, 0x0602051e, 0x06000601, - 0x061e061f, 0x0703061d, 0x07010702, 0x00000700, 0x00000000, + 0x00000000, 0x00000000, 0x29292929, 0x29292929, 0x29292929, + 0x29292929, 0x22292929, 0x1d1d2222, 0x0c111117, 0x00030303, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x001f0000, 0x01000101, + 0x011e011f, 0x011c011d, 0x02030204, 0x02010202, 0x021f0200, + 0x0302021e, 0x03000301, 0x031e031f, 0x0402031d, 0x04000401, + 0x041e041f, 0x0502041d, 0x05000501, 0x051e051f, 0x06010602, + 0x061f0600, 0x061d061e, 0x07020703, 0x07000701, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x001f0000, 0x011f0100, 0x011d011e, 0x011b011c, 0x02030204, - 0x02010202, 0x021f0200, 0x021d021e, 0x03010302, 0x031f0300, - 0x0402031e, 0x04000401, 0x041e041f, 0x05010502, 0x051f0500, - 0x0602051e, 0x06000601, 0x061e061f, 0x0703061d, 0x07010702, - 0x00000700, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x001f0000, 0x01000101, 0x011e011f, 0x011c011d, 0x02030204, + 0x02010202, 0x021f0200, 0x0302021e, 0x03000301, 0x031e031f, + 0x0402031d, 0x04000401, 0x041e041f, 0x0502041d, 0x05000501, + 0x051e051f, 0x06010602, 0x061f0600, 0x061d061e, 0x07020703, + 0x07000701, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000396, - 0x00000396, 0x00000396, 0x00000296, 0x00010000, 0x00030002, + 0x00000396, 0x00000396, 0x00000196, 0x00010000, 0x00030002, 0x00050004, 0x00810080, 0x00830082, 0x01810180, 0x01830182, 0x01850184, 0x02810280, 0x02830282, 0x02850284, 0x02890288, 0x028b028a, 0x0388028c, 0x038a0389, 0x038c038b, 0x0390038d, |