diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-10-14 13:33:36 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-10-15 15:57:38 -0400 |
commit | 6db507ff9232cc3874306f7b25b399cb2cdc1675 (patch) | |
tree | 638629ef516cc22a21592a36dfb5a056ed3ea861 /drivers/net/wireless/b43/tables_nphy.h | |
parent | 5818e989360b06d249cf1d88e7d4601ca70a7322 (diff) |
b43: N-PHY: put radio-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.h')
-rw-r--r-- | drivers/net/wireless/b43/tables_nphy.h | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/drivers/net/wireless/b43/tables_nphy.h b/drivers/net/wireless/b43/tables_nphy.h index 3eedb869f492..cb06d397ea2d 100644 --- a/drivers/net/wireless/b43/tables_nphy.h +++ b/drivers/net/wireless/b43/tables_nphy.h | |||
@@ -3,7 +3,6 @@ | |||
3 | 3 | ||
4 | #include <linux/types.h> | 4 | #include <linux/types.h> |
5 | 5 | ||
6 | |||
7 | struct b43_phy_n_sfo_cfg { | 6 | struct b43_phy_n_sfo_cfg { |
8 | u16 phy_bw1a; | 7 | u16 phy_bw1a; |
9 | u16 phy_bw2; | 8 | u16 phy_bw2; |
@@ -13,40 +12,6 @@ struct b43_phy_n_sfo_cfg { | |||
13 | u16 phy_bw6; | 12 | u16 phy_bw6; |
14 | }; | 13 | }; |
15 | 14 | ||
16 | struct b43_nphy_channeltab_entry_rev2 { | ||
17 | /* The channel number */ | ||
18 | u8 channel; | ||
19 | /* The channel frequency in MHz */ | ||
20 | u16 freq; | ||
21 | /* An unknown value */ | ||
22 | u16 unk2; | ||
23 | /* Radio register values on channelswitch */ | ||
24 | u8 radio_pll_ref; | ||
25 | u8 radio_rf_pllmod0; | ||
26 | u8 radio_rf_pllmod1; | ||
27 | u8 radio_vco_captail; | ||
28 | u8 radio_vco_cal1; | ||
29 | u8 radio_vco_cal2; | ||
30 | u8 radio_pll_lfc1; | ||
31 | u8 radio_pll_lfr1; | ||
32 | u8 radio_pll_lfc2; | ||
33 | u8 radio_lgbuf_cenbuf; | ||
34 | u8 radio_lgen_tune1; | ||
35 | u8 radio_lgen_tune2; | ||
36 | u8 radio_c1_lgbuf_atune; | ||
37 | u8 radio_c1_lgbuf_gtune; | ||
38 | u8 radio_c1_rx_rfr1; | ||
39 | u8 radio_c1_tx_pgapadtn; | ||
40 | u8 radio_c1_tx_mxbgtrim; | ||
41 | u8 radio_c2_lgbuf_atune; | ||
42 | u8 radio_c2_lgbuf_gtune; | ||
43 | u8 radio_c2_rx_rfr1; | ||
44 | u8 radio_c2_tx_pgapadtn; | ||
45 | u8 radio_c2_tx_mxbgtrim; | ||
46 | /* PHY register values on channelswitch */ | ||
47 | struct b43_phy_n_sfo_cfg phy_regs; | ||
48 | }; | ||
49 | |||
50 | struct b43_nphy_channeltab_entry_rev3 { | 15 | struct b43_nphy_channeltab_entry_rev3 { |
51 | /* The channel number */ | 16 | /* The channel number */ |
52 | u8 channel; | 17 | u8 channel; |
@@ -58,7 +23,6 @@ struct b43_nphy_channeltab_entry_rev3 { | |||
58 | struct b43_phy_n_sfo_cfg phy_regs; | 23 | struct b43_phy_n_sfo_cfg phy_regs; |
59 | }; | 24 | }; |
60 | 25 | ||
61 | |||
62 | struct b43_wldev; | 26 | struct b43_wldev; |
63 | 27 | ||
64 | struct nphy_txiqcal_ladder { | 28 | struct nphy_txiqcal_ladder { |
@@ -82,14 +46,6 @@ struct nphy_rf_control_override_rev3 { | |||
82 | u8 val_addr1; | 46 | u8 val_addr1; |
83 | }; | 47 | }; |
84 | 48 | ||
85 | /* Upload the default register value table. | ||
86 | * If "ghz5" is true, we upload the 5Ghz table. Otherwise the 2.4Ghz | ||
87 | * table is uploaded. If "ignore_uploadflag" is true, we upload any value | ||
88 | * and ignore the "UPLOAD" flag. */ | ||
89 | void b2055_upload_inittab(struct b43_wldev *dev, | ||
90 | bool ghz5, bool ignore_uploadflag); | ||
91 | |||
92 | |||
93 | /* Get the NPHY Channel Switch Table entry for a channel. | 49 | /* Get the NPHY Channel Switch Table entry for a channel. |
94 | * Returns NULL on failure to find an entry. */ | 50 | * Returns NULL on failure to find an entry. */ |
95 | const struct b43_nphy_channeltab_entry_rev2 * | 51 | const struct b43_nphy_channeltab_entry_rev2 * |