diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-01-21 19:53:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-22 16:11:37 -0500 |
commit | 75377b2476d85d90c0db07e780ee95741cff3a2d (patch) | |
tree | a5a104387be23f3140307cc8ec93d2ca474e9f6e /drivers/net/wireless/b43/tables_nphy.h | |
parent | aa4c7b2a2547db95388f795f092ea286fbdd98a1 (diff) |
b43: N-PHY: implement overriding RF control
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 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/tables_nphy.h b/drivers/net/wireless/b43/tables_nphy.h index 6bbef894010c..5d38172a152d 100644 --- a/drivers/net/wireless/b43/tables_nphy.h +++ b/drivers/net/wireless/b43/tables_nphy.h | |||
@@ -51,6 +51,22 @@ struct nphy_txiqcal_ladder { | |||
51 | u8 g_env; | 51 | u8 g_env; |
52 | }; | 52 | }; |
53 | 53 | ||
54 | struct nphy_rf_control_override_rev2 { | ||
55 | u8 addr0; | ||
56 | u8 addr1; | ||
57 | u16 bmask; | ||
58 | u8 shift; | ||
59 | }; | ||
60 | |||
61 | struct nphy_rf_control_override_rev3 { | ||
62 | u16 val_mask; | ||
63 | u8 val_shift; | ||
64 | u8 en_addr0; | ||
65 | u8 val_addr0; | ||
66 | u8 en_addr1; | ||
67 | u8 val_addr1; | ||
68 | }; | ||
69 | |||
54 | /* Upload the default register value table. | 70 | /* Upload the default register value table. |
55 | * If "ghz5" is true, we upload the 5Ghz table. Otherwise the 2.4Ghz | 71 | * If "ghz5" is true, we upload the 5Ghz table. Otherwise the 2.4Ghz |
56 | * table is uploaded. If "ignore_uploadflag" is true, we upload any value | 72 | * table is uploaded. If "ignore_uploadflag" is true, we upload any value |
@@ -178,4 +194,9 @@ extern const u16 tbl_tx_iqlo_cal_cmds_recal[]; | |||
178 | extern const u16 tbl_tx_iqlo_cal_cmds_fullcal[]; | 194 | extern const u16 tbl_tx_iqlo_cal_cmds_fullcal[]; |
179 | extern const u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[]; | 195 | extern const u16 tbl_tx_iqlo_cal_cmds_fullcal_nphyrev3[]; |
180 | 196 | ||
197 | extern const struct nphy_rf_control_override_rev2 | ||
198 | tbl_rf_control_override_rev2[]; | ||
199 | extern const struct nphy_rf_control_override_rev3 | ||
200 | tbl_rf_control_override_rev3[]; | ||
201 | |||
181 | #endif /* B43_TABLES_NPHY_H_ */ | 202 | #endif /* B43_TABLES_NPHY_H_ */ |