summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/tables_nphy.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2012-07-26 10:25:09 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-08-06 15:01:56 -0400
commitc071b9f666beee2b27b5a4667f099026ca539bd7 (patch)
treee33e03aacc02fa03424c748dbd5aae518a99aa88 /drivers/net/wireless/b43/tables_nphy.h
parent2fdf8c54ea6ea161fa519a701188cbc56a3bb106 (diff)
downloadop-kernel-dev-c071b9f666beee2b27b5a4667f099026ca539bd7.zip
op-kernel-dev-c071b9f666beee2b27b5a4667f099026ca539bd7.tar.gz
b43: N-PHY: add overriding RF control for rev7+
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.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/tables_nphy.h b/drivers/net/wireless/b43/tables_nphy.h
index f348953..c600700 100644
--- a/drivers/net/wireless/b43/tables_nphy.h
+++ b/drivers/net/wireless/b43/tables_nphy.h
@@ -35,6 +35,14 @@ struct nphy_rf_control_override_rev3 {
u8 val_addr1;
};
+struct nphy_rf_control_override_rev7 {
+ u16 field;
+ u16 val_addr_core0;
+ u16 val_addr_core1;
+ u16 val_mask;
+ u8 val_shift;
+};
+
struct nphy_gain_ctl_workaround_entry {
s8 lna1_gain[4];
s8 lna2_gain[4];
@@ -202,5 +210,7 @@ extern const struct nphy_rf_control_override_rev2
tbl_rf_control_override_rev2[];
extern const struct nphy_rf_control_override_rev3
tbl_rf_control_override_rev3[];
+const struct nphy_rf_control_override_rev7 *b43_nphy_get_rf_ctl_over_rev7(
+ struct b43_wldev *dev, u16 field, u8 override);
#endif /* B43_TABLES_NPHY_H_ */
OpenPOWER on IntegriCloud