b43: N-PHY: update init tables
authorRafał Miłecki <zajec5@gmail.com>
Tue, 7 Dec 2010 08:42:04 +0000 (09:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 8 Dec 2010 20:38:43 +0000 (15:38 -0500)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/tables_nphy.c

index d60db078eae20127f394bc9fd1a0591d5d7f0e73..46f0a7a7752987b789e066925f8d914b9a0ac620 100644 (file)
 #include "phy_n.h"
 
 static const u8 b43_ntab_adjustpower0[] = {
-       0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
-       0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03,
-       0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05,
-       0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07,
-       0x08, 0x08, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09,
-       0x0A, 0x0A, 0x0A, 0x0A, 0x0B, 0x0B, 0x0B, 0x0B,
-       0x0C, 0x0C, 0x0C, 0x0C, 0x0D, 0x0D, 0x0D, 0x0D,
-       0x0E, 0x0E, 0x0E, 0x0E, 0x0F, 0x0F, 0x0F, 0x0F,
-       0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11,
-       0x12, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13,
-       0x14, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15,
-       0x16, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17,
-       0x18, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19,
-       0x1A, 0x1A, 0x1A, 0x1A, 0x1B, 0x1B, 0x1B, 0x1B,
-       0x1C, 0x1C, 0x1C, 0x1C, 0x1D, 0x1D, 0x1D, 0x1D,
-       0x1E, 0x1E, 0x1E, 0x1E, 0x1F, 0x1F, 0x1F, 0x1F,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 };
 
 static const u8 b43_ntab_adjustpower1[] = {
-       0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
-       0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03,
-       0x04, 0x04, 0x04, 0x04, 0x05, 0x05, 0x05, 0x05,
-       0x06, 0x06, 0x06, 0x06, 0x07, 0x07, 0x07, 0x07,
-       0x08, 0x08, 0x08, 0x08, 0x09, 0x09, 0x09, 0x09,
-       0x0A, 0x0A, 0x0A, 0x0A, 0x0B, 0x0B, 0x0B, 0x0B,
-       0x0C, 0x0C, 0x0C, 0x0C, 0x0D, 0x0D, 0x0D, 0x0D,
-       0x0E, 0x0E, 0x0E, 0x0E, 0x0F, 0x0F, 0x0F, 0x0F,
-       0x10, 0x10, 0x10, 0x10, 0x11, 0x11, 0x11, 0x11,
-       0x12, 0x12, 0x12, 0x12, 0x13, 0x13, 0x13, 0x13,
-       0x14, 0x14, 0x14, 0x14, 0x15, 0x15, 0x15, 0x15,
-       0x16, 0x16, 0x16, 0x16, 0x17, 0x17, 0x17, 0x17,
-       0x18, 0x18, 0x18, 0x18, 0x19, 0x19, 0x19, 0x19,
-       0x1A, 0x1A, 0x1A, 0x1A, 0x1B, 0x1B, 0x1B, 0x1B,
-       0x1C, 0x1C, 0x1C, 0x1C, 0x1D, 0x1D, 0x1D, 0x1D,
-       0x1E, 0x1E, 0x1E, 0x1E, 0x1F, 0x1F, 0x1F, 0x1F,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+       0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 };
 
 static const u16 b43_ntab_bdi[] = {
@@ -130,8 +130,8 @@ static const u32 b43_ntab_framestruct[] = {
        0x09804506, 0x00100030, 0x09804507, 0x00100030,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
-       0x08004A0C, 0x00100008, 0x01000A0D, 0x00100028,
-       0x0980450E, 0x00100038, 0x0980450F, 0x00100038,
+       0x08004A0C, 0x00100004, 0x01000A0D, 0x00100024,
+       0x0980450E, 0x00100034, 0x0980450F, 0x00100034,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000A04, 0x00100000, 0x11008A05, 0x00100020,
@@ -202,13 +202,13 @@ static const u32 b43_ntab_framestruct[] = {
        0x53028A06, 0x01900060, 0x53028A07, 0x01900060,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
-       0x4002140C, 0x000F4810, 0x6203140D, 0x00100050,
-       0x53028A0E, 0x01900070, 0x53028A0F, 0x01900070,
+       0x4002140C, 0x000F4808, 0x6203140D, 0x00100048,
+       0x53028A0E, 0x01900068, 0x53028A0F, 0x01900068,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
-       0x00000A0C, 0x00100008, 0x11008A0D, 0x00100028,
-       0x1980C50E, 0x00100038, 0x2181050E, 0x00100038,
-       0x2181050E, 0x00100038, 0x0180050C, 0x00100038,
+       0x00000A0C, 0x00100004, 0x11008A0D, 0x00100024,
+       0x1980C50E, 0x00100034, 0x2181050E, 0x00100034,
+       0x2181050E, 0x00100034, 0x0180050C, 0x00100038,
        0x1180850D, 0x00100038, 0x1181850D, 0x00100038,
        0x2981450F, 0x01100038, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
@@ -238,9 +238,9 @@ static const u32 b43_ntab_framestruct[] = {
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
-       0x4002140C, 0x00100010, 0x0200140D, 0x00100050,
-       0x0B004A0E, 0x01900070, 0x13008A0E, 0x01900070,
-       0x13008A0E, 0x01900070, 0x43020A0C, 0x00100070,
+       0x4002140C, 0x00100008, 0x0200140D, 0x00100048,
+       0x0B004A0E, 0x01900068, 0x13008A0E, 0x01900068,
+       0x13008A0E, 0x01900068, 0x43020A0C, 0x00100070,
        0x1B00CA0D, 0x00100070, 0x1B014A0D, 0x00100070,
        0x23010A0F, 0x01500070, 0x00000000, 0x00000000,
        0x00000000, 0x00000000, 0x00000000, 0x00000000,
@@ -337,73 +337,73 @@ static const u32 b43_ntab_framestruct[] = {
 };
 
 static const u32 b43_ntab_gainctl0[] = {
-       0x007F003F, 0x007E013F, 0x007D023E, 0x007C033E,
-       0x007B043D, 0x007A053D, 0x0079063C, 0x0078073C,
-       0x0077083B, 0x0076093B, 0x00750A3A, 0x00740B3A,
-       0x00730C39, 0x00720D39, 0x00710E38, 0x00700F38,
-       0x006F0037, 0x006E0137, 0x006D0236, 0x006C0336,
-       0x006B0435, 0x006A0535, 0x00690634, 0x00680734,
-       0x00670833, 0x00660933, 0x00650A32, 0x00640B32,
-       0x00630C31, 0x00620D31, 0x00610E30, 0x00600F30,
-       0x005F002F, 0x005E012F, 0x005D022E, 0x005C032E,
-       0x005B042D, 0x005A052D, 0x0059062C, 0x0058072C,
-       0x0057082B, 0x0056092B, 0x00550A2A, 0x00540B2A,
-       0x00530C29, 0x00520D29, 0x00510E28, 0x00500F28,
-       0x004F0027, 0x004E0127, 0x004D0226, 0x004C0326,
-       0x004B0425, 0x004A0525, 0x00490624, 0x00480724,
-       0x00470823, 0x00460923, 0x00450A22, 0x00440B22,
-       0x00430C21, 0x00420D21, 0x00410E20, 0x00400F20,
-       0x003F001F, 0x003E011F, 0x003D021E, 0x003C031E,
-       0x003B041D, 0x003A051D, 0x0039061C, 0x0038071C,
-       0x0037081B, 0x0036091B, 0x00350A1A, 0x00340B1A,
-       0x00330C19, 0x00320D19, 0x00310E18, 0x00300F18,
-       0x002F0017, 0x002E0117, 0x002D0216, 0x002C0316,
-       0x002B0415, 0x002A0515, 0x00290614, 0x00280714,
-       0x00270813, 0x00260913, 0x00250A12, 0x00240B12,
-       0x00230C11, 0x00220D11, 0x00210E10, 0x00200F10,
-       0x001F000F, 0x001E010F, 0x001D020E, 0x001C030E,
-       0x001B040D, 0x001A050D, 0x0019060C, 0x0018070C,
-       0x0017080B, 0x0016090B, 0x00150A0A, 0x00140B0A,
-       0x00130C09, 0x00120D09, 0x00110E08, 0x00100F08,
-       0x000F0007, 0x000E0107, 0x000D0206, 0x000C0306,
-       0x000B0405, 0x000A0505, 0x00090604, 0x00080704,
-       0x00070803, 0x00060903, 0x00050A02, 0x00040B02,
-       0x00030C01, 0x00020D01, 0x00010E00, 0x00000F00,
+       0x03CC2B44, 0x03CC2B42, 0x03CC2B40, 0x03CC2B3E,
+       0x03CC2B3D, 0x03CC2B3B, 0x03C82B44, 0x03C82B42,
+       0x03C82B40, 0x03C82B3E, 0x03C82B3D, 0x03C82B3B,
+       0x03C82B39, 0x03C82B38, 0x03C82B36, 0x03C82B34,
+       0x03C42B44, 0x03C42B42, 0x03C42B40, 0x03C42B3E,
+       0x03C42B3D, 0x03C42B3B, 0x03C42B39, 0x03C42B38,
+       0x03C42B36, 0x03C42B34, 0x03C42B33, 0x03C42B32,
+       0x03C42B30, 0x03C42B2F, 0x03C42B2D, 0x03C02B44,
+       0x03C02B42, 0x03C02B40, 0x03C02B3E, 0x03C02B3D,
+       0x03C02B3B, 0x03C02B39, 0x03C02B38, 0x03C02B36,
+       0x03C02B34, 0x03B02B44, 0x03B02B42, 0x03B02B40,
+       0x03B02B3E, 0x03B02B3D, 0x03B02B3B, 0x03B02B39,
+       0x03B02B38, 0x03B02B36, 0x03B02B34, 0x03B02B33,
+       0x03B02B32, 0x03B02B30, 0x03B02B2F, 0x03B02B2D,
+       0x03A02B44, 0x03A02B42, 0x03A02B40, 0x03A02B3E,
+       0x03A02B3D, 0x03A02B3B, 0x03A02B39, 0x03A02B38,
+       0x03A02B36, 0x03A02B34, 0x03902B44, 0x03902B42,
+       0x03902B40, 0x03902B3E, 0x03902B3D, 0x03902B3B,
+       0x03902B39, 0x03902B38, 0x03902B36, 0x03902B34,
+       0x03902B33, 0x03902B32, 0x03902B30, 0x03802B44,
+       0x03802B42, 0x03802B40, 0x03802B3E, 0x03802B3D,
+       0x03802B3B, 0x03802B39, 0x03802B38, 0x03802B36,
+       0x03802B34, 0x03802B33, 0x03802B32, 0x03802B30,
+       0x03802B2F, 0x03802B2D, 0x03802B2C, 0x03802B2B,
+       0x03802B2A, 0x03802B29, 0x03802B27, 0x03802B26,
+       0x03802B25, 0x03802B24, 0x03802B23, 0x03802B22,
+       0x03802B21, 0x03802B20, 0x03802B1F, 0x03802B1E,
+       0x03802B1E, 0x03802B1D, 0x03802B1C, 0x03802B1B,
+       0x03802B1A, 0x03802B1A, 0x03802B19, 0x03802B18,
+       0x03802B18, 0x03802B18, 0x03802B18, 0x03802B18,
+       0x03802B18, 0x03802B18, 0x03802B18, 0x03802B18,
+       0x03802B18, 0x03802B18, 0x03802B18, 0x00002B00,
 };
 
 static const u32 b43_ntab_gainctl1[] = {
-       0x007F003F, 0x007E013F, 0x007D023E, 0x007C033E,
-       0x007B043D, 0x007A053D, 0x0079063C, 0x0078073C,
-       0x0077083B, 0x0076093B, 0x00750A3A, 0x00740B3A,
-       0x00730C39, 0x00720D39, 0x00710E38, 0x00700F38,
-       0x006F0037, 0x006E0137, 0x006D0236, 0x006C0336,
-       0x006B0435, 0x006A0535, 0x00690634, 0x00680734,
-       0x00670833, 0x00660933, 0x00650A32, 0x00640B32,
-       0x00630C31, 0x00620D31, 0x00610E30, 0x00600F30,
-       0x005F002F, 0x005E012F, 0x005D022E, 0x005C032E,
-       0x005B042D, 0x005A052D, 0x0059062C, 0x0058072C,
-       0x0057082B, 0x0056092B, 0x00550A2A, 0x00540B2A,
-       0x00530C29, 0x00520D29, 0x00510E28, 0x00500F28,
-       0x004F0027, 0x004E0127, 0x004D0226, 0x004C0326,
-       0x004B0425, 0x004A0525, 0x00490624, 0x00480724,
-       0x00470823, 0x00460923, 0x00450A22, 0x00440B22,
-       0x00430C21, 0x00420D21, 0x00410E20, 0x00400F20,
-       0x003F001F, 0x003E011F, 0x003D021E, 0x003C031E,
-       0x003B041D, 0x003A051D, 0x0039061C, 0x0038071C,
-       0x0037081B, 0x0036091B, 0x00350A1A, 0x00340B1A,
-       0x00330C19, 0x00320D19, 0x00310E18, 0x00300F18,
-       0x002F0017, 0x002E0117, 0x002D0216, 0x002C0316,
-       0x002B0415, 0x002A0515, 0x00290614, 0x00280714,
-       0x00270813, 0x00260913, 0x00250A12, 0x00240B12,
-       0x00230C11, 0x00220D11, 0x00210E10, 0x00200F10,
-       0x001F000F, 0x001E010F, 0x001D020E, 0x001C030E,
-       0x001B040D, 0x001A050D, 0x0019060C, 0x0018070C,
-       0x0017080B, 0x0016090B, 0x00150A0A, 0x00140B0A,
-       0x00130C09, 0x00120D09, 0x00110E08, 0x00100F08,
-       0x000F0007, 0x000E0107, 0x000D0206, 0x000C0306,
-       0x000B0405, 0x000A0505, 0x00090604, 0x00080704,
-       0x00070803, 0x00060903, 0x00050A02, 0x00040B02,
-       0x00030C01, 0x00020D01, 0x00010E00, 0x00000F00,
+       0x03CC2B44, 0x03CC2B42, 0x03CC2B40, 0x03CC2B3E,
+       0x03CC2B3D, 0x03CC2B3B, 0x03C82B44, 0x03C82B42,
+       0x03C82B40, 0x03C82B3E, 0x03C82B3D, 0x03C82B3B,
+       0x03C82B39, 0x03C82B38, 0x03C82B36, 0x03C82B34,
+       0x03C42B44, 0x03C42B42, 0x03C42B40, 0x03C42B3E,
+       0x03C42B3D, 0x03C42B3B, 0x03C42B39, 0x03C42B38,
+       0x03C42B36, 0x03C42B34, 0x03C42B33, 0x03C42B32,
+       0x03C42B30, 0x03C42B2F, 0x03C42B2D, 0x03C02B44,
+       0x03C02B42, 0x03C02B40, 0x03C02B3E, 0x03C02B3D,
+       0x03C02B3B, 0x03C02B39, 0x03C02B38, 0x03C02B36,
+       0x03C02B34, 0x03B02B44, 0x03B02B42, 0x03B02B40,
+       0x03B02B3E, 0x03B02B3D, 0x03B02B3B, 0x03B02B39,
+       0x03B02B38, 0x03B02B36, 0x03B02B34, 0x03B02B33,
+       0x03B02B32, 0x03B02B30, 0x03B02B2F, 0x03B02B2D,
+       0x03A02B44, 0x03A02B42, 0x03A02B40, 0x03A02B3E,
+       0x03A02B3D, 0x03A02B3B, 0x03A02B39, 0x03A02B38,
+       0x03A02B36, 0x03A02B34, 0x03902B44, 0x03902B42,
+       0x03902B40, 0x03902B3E, 0x03902B3D, 0x03902B3B,
+       0x03902B39, 0x03902B38, 0x03902B36, 0x03902B34,
+       0x03902B33, 0x03902B32, 0x03902B30, 0x03802B44,
+       0x03802B42, 0x03802B40, 0x03802B3E, 0x03802B3D,
+       0x03802B3B, 0x03802B39, 0x03802B38, 0x03802B36,
+       0x03802B34, 0x03802B33, 0x03802B32, 0x03802B30,
+       0x03802B2F, 0x03802B2D, 0x03802B2C, 0x03802B2B,
+       0x03802B2A, 0x03802B29, 0x03802B27, 0x03802B26,
+       0x03802B25, 0x03802B24, 0x03802B23, 0x03802B22,
+       0x03802B21, 0x03802B20, 0x03802B1F, 0x03802B1E,
+       0x03802B1E, 0x03802B1D, 0x03802B1C, 0x03802B1B,
+       0x03802B1A, 0x03802B1A, 0x03802B19, 0x03802B18,
+       0x03802B18, 0x03802B18, 0x03802B18, 0x03802B18,
+       0x03802B18, 0x03802B18, 0x03802B18, 0x03802B18,
+       0x03802B18, 0x03802B18, 0x03802B18, 0x00002B00,
 };
 
 static const u32 b43_ntab_intlevel[] = {