diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-01-14 00:05:57 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:09:53 -0800 |
commit | d15913140645d9c23e8b0a9a0bb307ca889688d3 (patch) | |
tree | 7bd05a3d5f082d4dc7adcb82d066cb56e35eb847 /drivers/net/wireless/b43/nphy.h | |
parent | 53a6e2342d73d509318836e320f70cd286acd69c (diff) |
b43: Add NPHY channel switch code
This adds code and table data for channel switching on NPHYs.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/nphy.h b/drivers/net/wireless/b43/nphy.h index 812761d8e1e9..896b46849ba1 100644 --- a/drivers/net/wireless/b43/nphy.h +++ b/drivers/net/wireless/b43/nphy.h @@ -12,6 +12,7 @@ #define B43_NPHY_CHANNEL B43_PHY_N(0x005) /* Channel */ #define B43_NPHY_TXERR B43_PHY_N(0x007) /* TX error */ #define B43_NPHY_BANDCTL B43_PHY_N(0x009) /* Band control */ +#define B43_NPHY_BANDCTL_5GHZ 0x0001 /* Use the 5GHz band */ #define B43_NPHY_4WI_ADDR B43_PHY_N(0x00B) /* Four-wire bus address */ #define B43_NPHY_4WI_DATAHI B43_PHY_N(0x00C) /* Four-wire bus data high */ #define B43_NPHY_4WI_DATALO B43_PHY_N(0x00D) /* Four-wire bus data low */ @@ -917,7 +918,7 @@ 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); +int 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); |