b43: Fix bandswitch
PATCH 1/1 b43: Fix bandswitch
This fixes bandswitching for the new mac80211 band API.
Signed-off-by Michael Buesch <[email protected]>
---
John, for 2.6.26
drivers/net/wireless/b43/b43.h +4 -7
@@ -455,20 +455,17 @@ struct b43_iv {__be16 d16;__be32 d32; } data __attribute__((__packed__)); } __attribute__((__packed__)); -#define B43_PHYMODE (phytype) (1 << (phytype)) -#define B43_PHYMODE_A B43_PHYMODE(B43_PHYTYPE_A) -#define B43_PHYMODE_B B43_PHYMODE(B43_PHYTYPE_B) -#define B43_PHYMODE_G B43_PHYMODE(B43_PHYTYPE_G) -struct b43_phy { -/* Possible PHYMODEs on this PHY */ -u8 possible_phymodes; +/* Band support flags. */ +bool supports_2ghz; +bool supports_5ghz; +/* GMODE bit enabled? */ bool gmode;/* Analog Type */ u8 analog;/* B43_PHYTYPE_ */
drivers/net/wireless/b43/main.c +195 -122
448 lines not on this page · raw message