From 83c803086c686aa73663f6c6391a7c2c916d1dd1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 30 Jul 2014 21:15:42 +0000 Subject: mac80211: b43: update b43 to version master-2014-07-29-1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This add 5GHz support for N-PHY to b43, thanks Rafał Miłecki. b43_wflush16 was put into an extra function because it is pretty big in asm. Signed-off-by: Hauke Mehrtens SVN-Revision: 41900 --- package/kernel/mac80211/patches/801-fix-5ghz.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/kernel/mac80211/patches/801-fix-5ghz.patch (limited to 'package/kernel/mac80211/patches/801-fix-5ghz.patch') diff --git a/package/kernel/mac80211/patches/801-fix-5ghz.patch b/package/kernel/mac80211/patches/801-fix-5ghz.patch new file mode 100644 index 0000000000..91d72a33af --- /dev/null +++ b/package/kernel/mac80211/patches/801-fix-5ghz.patch @@ -0,0 +1,12 @@ +--- a/drivers/net/wireless/b43/phy_n.c ++++ b/drivers/net/wireless/b43/phy_n.c +@@ -6217,6 +6217,9 @@ static void b43_nphy_channel_setup(struc + u16 tmp16; + + if (new_channel->band == IEEE80211_BAND_5GHZ) { ++ /* Switch to 2 GHz for a moment to access B43_PHY_B_BBCFG */ ++ b43_phy_mask(dev, B43_NPHY_BANDCTL, ~B43_NPHY_BANDCTL_5GHZ); ++ + tmp16 = b43_read16(dev, B43_MMIO_PSM_PHY_HDR); + b43_write16(dev, B43_MMIO_PSM_PHY_HDR, tmp16 | 4); + /* Put BPHY in the reset */ -- cgit v1.2.3