]> git.karo-electronics.de Git - linux-beck.git/commitdiff
b43: LCN-PHY: upload additional 0x7 table
authorRafał Miłecki <zajec5@gmail.com>
Wed, 31 Aug 2011 21:36:19 +0000 (23:36 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 19:53:45 +0000 (15:53 -0400)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/tables_phy_lcn.c

index 95efea645077ac6e419792e3bbb8af58c4ef5502..fd2b16d9d661843f8bc2dc7810bdd609eeaa7ea9 100644 (file)
@@ -295,6 +295,20 @@ static const u32 b43_lcntab_0x18[] = {
        0x00080000, 0x00080000, 0x00080000, 0x00080000,
 };
 
+const u16 b43_lcntab_0x0f_late[] = {
+       0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
+       0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
+       0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
+       0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
+       0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
+       0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
+       0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
+       0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
+       0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
+       0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
+       0x0002, 0x0008, 0x0004, 0x0001,
+};
+
 /**************************************************
  * R/W ops.
  **************************************************/
@@ -486,6 +500,9 @@ void b43_phy_lcn_tables_init(struct b43_wldev *dev)
 {
        b43_phy_lcn_upload_static_tables(dev);
        /* TODO: various tables ops here */
+       b43_lcntab_write_bulk(dev, B43_LCNTAB16(0xf, 0),
+                       ARRAY_SIZE(b43_lcntab_0x0f_late), b43_lcntab_0x0f_late);
+       /* TODO: various tables ops here */
        b43_phy_lcn_rewrite_tables(dev);
        b43_phy_lcn_clean_0x18_table(dev);
 }