summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/b43/nphy.h
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-01-13 20:23:44 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-01-28 23:09:53 (GMT)
commit53a6e2342d73d509318836e320f70cd286acd69c (patch)
tree835a25c8d48465840a8cdea8c363c58f567d921c /drivers/net/wireless/b43/nphy.h
parentaf4b7450788426a113057ce2d85c25b4f4e440d1 (diff)
downloadlinux-fsl-qoriq-53a6e2342d73d509318836e320f70cd286acd69c.tar.xz
b43: Add NPHY radio init code
This adds some code to init the 2055 radio. This patch adds two files "tables_nphy.h" and "tables_nphy.c" Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/nphy.h')
-rw-r--r--drivers/net/wireless/b43/nphy.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/nphy.h b/drivers/net/wireless/b43/nphy.h
index 71446dc..812761d 100644
--- a/drivers/net/wireless/b43/nphy.h
+++ b/drivers/net/wireless/b43/nphy.h
@@ -177,6 +177,7 @@
#define B43_NPHY_RFCTL_CMD_RXEN 0x0100 /* RX enable */
#define B43_NPHY_RFCTL_CMD_TXEN 0x0200 /* TX enable */
#define B43_NPHY_RFCTL_CMD_CHIP0PU 0x0400 /* Chip0 PU */
+#define B43_NPHY_RFCTL_CMD_EN 0x0800 /* Radio enabled */
#define B43_NPHY_RFCTL_CMD_SEQENCORE 0xF000 /* Seq en core */
#define B43_NPHY_RFCTL_CMD_SEQENCORE_SHIFT 12
#define B43_NPHY_RFCTL_RSSIO1 B43_PHY_N(0x07A) /* RF control (RSSI others 1) */
@@ -913,4 +914,12 @@ struct b43_wldev;
int b43_phy_initn(struct b43_wldev *dev);
+void b43_nphy_radio_turn_on(struct b43_wldev *dev);
+void b43_nphy_radio_turn_off(struct b43_wldev *dev);
+
+void b43_nphy_selectchannel(struct b43_wldev *dev, u8 channel);
+
+void b43_nphy_xmitpower(struct b43_wldev *dev);
+void b43_nphy_set_rxantenna(struct b43_wldev *dev, int antenna);
+
#endif /* B43_NPHY_H_ */