aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/tables_nphy.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-10-14 15:16:33 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-15 15:57:40 -0400
commit5161bec5a8b3509b8cf69418129a191cf90bbd87 (patch)
tree6a77bedbc09f5e3c52fa6452eb4e4b2c85123739 /drivers/net/wireless/b43/tables_nphy.c
parent886b42bf5e54098061c8bae3d5e292a8b6897401 (diff)
b43: N-PHY: put 2056-radio's specific code in separated file
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/tables_nphy.c')
-rw-r--r--drivers/net/wireless/b43/tables_nphy.c20
1 files changed, 1 insertions, 19 deletions
diff --git a/drivers/net/wireless/b43/tables_nphy.c b/drivers/net/wireless/b43/tables_nphy.c
index cff7bd379ad8..d60db078eae2 100644
--- a/drivers/net/wireless/b43/tables_nphy.c
+++ b/drivers/net/wireless/b43/tables_nphy.c
@@ -1,7 +1,7 @@
1/* 1/*
2 2
3 Broadcom B43 wireless driver 3 Broadcom B43 wireless driver
4 IEEE 802.11n PHY and radio device data tables 4 IEEE 802.11n PHY data tables
5 5
6 Copyright (c) 2008 Michael Buesch <mb@bu3sch.de> 6 Copyright (c) 2008 Michael Buesch <mb@bu3sch.de>
7 7
@@ -27,24 +27,6 @@
27#include "phy_common.h" 27#include "phy_common.h"
28#include "phy_n.h" 28#include "phy_n.h"
29 29
30static const struct b43_nphy_channeltab_entry_rev3 b43_nphy_channeltab_rev3[] = {
31};
32
33const struct b43_nphy_channeltab_entry_rev3 *
34b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq)
35{
36 const struct b43_nphy_channeltab_entry_rev3 *e;
37 unsigned int i;
38
39 for (i = 0; i < ARRAY_SIZE(b43_nphy_channeltab_rev3); i++) {
40 e = &(b43_nphy_channeltab_rev3[i]);
41 if (e->freq == freq)
42 return e;
43 }
44
45 return NULL;
46}
47
48static const u8 b43_ntab_adjustpower0[] = { 30static const u8 b43_ntab_adjustpower0[] = {
49 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01, 31 0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01,
50 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03, 32 0x02, 0x02, 0x02, 0x02, 0x03, 0x03, 0x03, 0x03,