diff options
author | Michael Buesch <mb@bu3sch.de> | 2008-02-09 06:08:58 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-02-29 15:37:07 -0500 |
commit | bb1eeff12d4cd6c706ef9fae340a9c93bb41ad05 (patch) | |
tree | d95eee81b0fda1b734134fe46f6227d40f3cd3f4 /drivers/net/wireless/b43/b43.h | |
parent | b9e0b449aef50aabc295e4487a7a030a0d358367 (diff) |
b43: Fix bandswitch
This fixes bandswitching for the new mac80211 band API.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/b43.h')
-rw-r--r-- | drivers/net/wireless/b43/b43.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/drivers/net/wireless/b43/b43.h b/drivers/net/wireless/b43/b43.h index 3e40323cd43f..76ad811af399 100644 --- a/drivers/net/wireless/b43/b43.h +++ b/drivers/net/wireless/b43/b43.h | |||
@@ -458,14 +458,11 @@ struct b43_iv { | |||
458 | } __attribute__((__packed__)); | 458 | } __attribute__((__packed__)); |
459 | 459 | ||
460 | 460 | ||
461 | #define B43_PHYMODE(phytype) (1 << (phytype)) | ||
462 | #define B43_PHYMODE_A B43_PHYMODE(B43_PHYTYPE_A) | ||
463 | #define B43_PHYMODE_B B43_PHYMODE(B43_PHYTYPE_B) | ||
464 | #define B43_PHYMODE_G B43_PHYMODE(B43_PHYTYPE_G) | ||
465 | |||
466 | struct b43_phy { | 461 | struct b43_phy { |
467 | /* Possible PHYMODEs on this PHY */ | 462 | /* Band support flags. */ |
468 | u8 possible_phymodes; | 463 | bool supports_2ghz; |
464 | bool supports_5ghz; | ||
465 | |||
469 | /* GMODE bit enabled? */ | 466 | /* GMODE bit enabled? */ |
470 | bool gmode; | 467 | bool gmode; |
471 | 468 | ||