diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-02-27 07:03:32 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-09 15:06:49 -0500 |
commit | 9734485c8d2064f39ff77acf615e87da0766ce76 (patch) | |
tree | fc3e81b9251db0ff281871d65ebbe093787dd998 /drivers/net/wireless/b43 | |
parent | fa9029f8c34576e121a4b6ddbbd645081fe50c74 (diff) |
b43: N-PHY: add some registers and structs definitions
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/b43.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/b43/phy_n.h | 9 | ||||
-rw-r--r-- | drivers/net/wireless/b43/tables_nphy.h | 9 |
3 files changed, 19 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index b8807fb12c92..3a003e6803a5 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -104,6 +104,7 @@ | |||
104 | #define B43_MMIO_MACFILTER_CONTROL 0x420 | 104 | #define B43_MMIO_MACFILTER_CONTROL 0x420 |
105 | #define B43_MMIO_MACFILTER_DATA 0x422 | 105 | #define B43_MMIO_MACFILTER_DATA 0x422 |
106 | #define B43_MMIO_RCMTA_COUNT 0x43C | 106 | #define B43_MMIO_RCMTA_COUNT 0x43C |
107 | #define B43_MMIO_PSM_PHY_HDR 0x492 | ||
107 | #define B43_MMIO_RADIO_HWENABLED_LO 0x49A | 108 | #define B43_MMIO_RADIO_HWENABLED_LO 0x49A |
108 | #define B43_MMIO_GPIO_CONTROL 0x49C | 109 | #define B43_MMIO_GPIO_CONTROL 0x49C |
109 | #define B43_MMIO_GPIO_MASK 0x49E | 110 | #define B43_MMIO_GPIO_MASK 0x49E |
diff --git a/drivers/net/wireless/b43/phy_n.h b/drivers/net/wireless/b43/phy_n.h index 403aad3f894f..47d20dcafbf6 100644 --- a/drivers/net/wireless/b43/phy_n.h +++ b/drivers/net/wireless/b43/phy_n.h | |||
@@ -711,6 +711,8 @@ | |||
711 | #define B43_NPHY_PAPD_EN1 B43_PHY_N(0x29B) /* PAPD Enable1 TBD */ | 711 | #define B43_NPHY_PAPD_EN1 B43_PHY_N(0x29B) /* PAPD Enable1 TBD */ |
712 | #define B43_NPHY_EPS_TABLE_ADJ1 B43_PHY_N(0x29C) /* EPS Table Adj1 TBD */ | 712 | #define B43_NPHY_EPS_TABLE_ADJ1 B43_PHY_N(0x29C) /* EPS Table Adj1 TBD */ |
713 | 713 | ||
714 | #define B43_PHY_B_BBCFG B43_PHY_N_BMODE(0x001) /* BB config */ | ||
715 | #define B43_PHY_B_TEST B43_PHY_N_BMODE(0x00A) | ||
714 | 716 | ||
715 | 717 | ||
716 | /* Broadcom 2055 radio registers */ | 718 | /* Broadcom 2055 radio registers */ |
@@ -924,6 +926,13 @@ | |||
924 | 926 | ||
925 | struct b43_wldev; | 927 | struct b43_wldev; |
926 | 928 | ||
929 | struct b43_chanspec { | ||
930 | u8 channel; | ||
931 | u8 sideband; | ||
932 | u8 b_width; | ||
933 | u8 b_freq; | ||
934 | }; | ||
935 | |||
927 | struct b43_phy_n_iq_comp { | 936 | struct b43_phy_n_iq_comp { |
928 | s16 a0; | 937 | s16 a0; |
929 | s16 b0; | 938 | s16 b0; |
diff --git a/drivers/net/wireless/b43/tables_nphy.h b/drivers/net/wireless/b43/tables_nphy.h index 9c1c6ecd3672..b23036f7dc19 100644 --- a/drivers/net/wireless/b43/tables_nphy.h +++ b/drivers/net/wireless/b43/tables_nphy.h | |||
@@ -4,6 +4,15 @@ | |||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | 5 | ||
6 | 6 | ||
7 | struct b43_phy_n_sfo_cfg { | ||
8 | u16 phy_bw1a; | ||
9 | u16 phy_bw2; | ||
10 | u16 phy_bw3; | ||
11 | u16 phy_bw4; | ||
12 | u16 phy_bw5; | ||
13 | u16 phy_bw6; | ||
14 | }; | ||
15 | |||
7 | struct b43_nphy_channeltab_entry { | 16 | struct b43_nphy_channeltab_entry { |
8 | /* The channel number */ | 17 | /* The channel number */ |
9 | u8 channel; | 18 | u8 channel; |