Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 516392 - kernel 3.15* - drivers/net/wireless/b43/xmit.c - module current firmware not connecting
Summary: kernel 3.15* - drivers/net/wireless/b43/xmit.c - module current firmware not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/cgit/linux/kern...
Whiteboard: linux-3.15
Keywords: InVCS, PATCH
Depends on:
Blocks:
 
Reported: 2014-07-04 22:07 UTC by Kenneth Miller
Modified: 2014-07-11 22:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenneth Miller 2014-07-04 22:07:29 UTC
Waited until kernel-3.15.3 to see a fix to the issue with b43 module using current firmware which was not working. Workaround was to use firmware 4.17, but a patch is available and have built kernel-3.15.3 with patch and confirm that b43 is working. Please include so I do not have to manually patch. Linked to patch from wireless.kernel.org. Patch provided below. At the least this may help others to resolve issue.
Thank You

Reproducible: Always




diff --git a/drivers/net/wireless/b43/xmit.c b/drivers/net/wireless/b43/xmit.c
index 4f38f19..6e6ef3f 100644
--- a/drivers/net/wireless/b43/xmit.c
+++ b/drivers/net/wireless/b43/xmit.c
@@ -811,9 +811,13 @@ void b43_rx(struct b43_wldev *dev, struct sk_buff *skb, const void *_rxhdr)
break;
case B43_PHYTYPE_G:
status.band = IEEE80211_BAND_2GHZ;
- /* chanid is the radio channel cookie value as used
- * to tune the radio. */
- status.freq = chanid + 2400;
+ /* Somewhere between 478.104 and 508.1084 firmware for G-PHY
+ * has been modified to be compatible with N-PHY and others.
+ */
+ if (dev->fw.rev >= 508)
+ status.freq = ieee80211_channel_to_frequency(chanid, status.band);
+ else
+ status.freq = chanid + 2400;
break;
case B43_PHYTYPE_N:
case B43_PHYTYPE_LP:
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-05 09:51:18 UTC
Where is that link?
Comment 2 Mike Pagano gentoo-dev 2014-07-06 00:00:08 UTC
Committed for next release of 3.15.X

Mike Pagano [Sat, 5 Jul 2014 19:58:43 -0400 (19:58 -0400)] 
Patch to fix frequency reported on G-PHY with /new/ firmware. See bug #516392