aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-08-31 17:36:19 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-09-13 15:53:45 -0400
commit71c1d1e97f5849078a68992aee97d0bbe128ac63 (patch)
tree36a13fac743b073c5143bcb617bc64ba45a8fe70 /drivers/net/wireless/b43
parent095be64ebf112a7427490e360db4505ebd39a212 (diff)
b43: LCN-PHY: upload additional 0x7 table
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r--drivers/net/wireless/b43/tables_phy_lcn.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/tables_phy_lcn.c b/drivers/net/wireless/b43/tables_phy_lcn.c
index 95efea645077..fd2b16d9d661 100644
--- a/drivers/net/wireless/b43/tables_phy_lcn.c
+++ b/drivers/net/wireless/b43/tables_phy_lcn.c
@@ -295,6 +295,20 @@ static const u32 b43_lcntab_0x18[] = {
295 0x00080000, 0x00080000, 0x00080000, 0x00080000, 295 0x00080000, 0x00080000, 0x00080000, 0x00080000,
296}; 296};
297 297
298const u16 b43_lcntab_0x0f_late[] = {
299 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
300 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
301 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
302 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
303 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
304 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
305 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
306 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
307 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008,
308 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001,
309 0x0002, 0x0008, 0x0004, 0x0001,
310};
311
298/************************************************** 312/**************************************************
299 * R/W ops. 313 * R/W ops.
300 **************************************************/ 314 **************************************************/
@@ -486,6 +500,9 @@ void b43_phy_lcn_tables_init(struct b43_wldev *dev)
486{ 500{
487 b43_phy_lcn_upload_static_tables(dev); 501 b43_phy_lcn_upload_static_tables(dev);
488 /* TODO: various tables ops here */ 502 /* TODO: various tables ops here */
503 b43_lcntab_write_bulk(dev, B43_LCNTAB16(0xf, 0),
504 ARRAY_SIZE(b43_lcntab_0x0f_late), b43_lcntab_0x0f_late);
505 /* TODO: various tables ops here */
489 b43_phy_lcn_rewrite_tables(dev); 506 b43_phy_lcn_rewrite_tables(dev);
490 b43_phy_lcn_clean_0x18_table(dev); 507 b43_phy_lcn_clean_0x18_table(dev);
491} 508}