On Saturday 22 December 2007 22:55:38 Larry Finger wrote: > Michael Buesch wrote: > > This fixes antenna selection in b43. It adds a sanity check > > for the antenna numbers we get from mac80211. > > > > This patch depends on > > [PATCH] ssb: Fix extraction of values from SPROM > > > > Signed-off-by: Michael Buesch <mb@xxxxxxxxx> > > After applying the 4 patches you sent earlier, the compilation fails with > > CC [M] drivers/ssb/main.o > drivers/net/wireless/b43/main.c: In function ‘b43_ieee80211_antenna_sanitize’: > drivers/net/wireless/b43/main.c:2720: error: ‘struct ssb_sprom’ has no member named ‘ant_available_bg’ > drivers/net/wireless/b43/main.c:2722: error: ‘struct ssb_sprom’ has no member named ‘ant_available_a’ > > These members of ssb_sprom are defined in the patch you sent to Felix Fietkau on Dec. 10, but not in > this patch set. This patch was included in the series I just sent. [PATCH] ssb: Fix extraction of values from SPROM > Index: wireless-2.6/include/linux/ssb/ssb.h > =================================================================== > --- wireless-2.6.orig/include/linux/ssb/ssb.h 2007-12-14 > 13:15:42.000000000 +0100 +++ wireless-2.6/include/linux/ssb/ssb.h > 2007-12-20 18:58:49.000000000 +0100 @@ -22,7 +22,12 @@ struct ssb_sprom { > u8 et1mac[6]; /* MAC address for 802.11a */ > u8 et0phyaddr; /* MII address for enet0 */ > u8 et1phyaddr; /* MII address for enet1 */ > + u8 et0mdcport; /* MDIO for enet0 */ > + u8 et1mdcport; /* MDIO for enet1 */ > + u8 board_rev; /* Board revision number from SPROM. */ > u8 country_code; /* Country Code */ > + u8 ant_available_a; /* A-PHY antenna available bits (up to 4) > + u8 ant_available_bg; /* B/G-PHY antenna available bits (up to -- Greetings Michael. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html