Skip to content

Commit

Permalink
b43: Fix bandswitch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Buesch authored and John W. Linville committed Feb 29, 2008
1 parent b9e0b44 commit bb1eeff
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 129 deletions.
11 changes: 4 additions & 7 deletions drivers/net/wireless/b43/b43.h
Original file line number Diff line number Diff line change
Expand Up @@ -458,14 +458,11 @@ struct b43_iv {
} __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;

Expand Down
Loading

0 comments on commit bb1eeff

Please sign in to comment.