Created attachment 347212 [details]
broadcom-sta-188.8.131.52 has long had several outstanding issues. I propose this ebuild as broadcom-sta-184.108.40.206-r3.ebuild.
You can track my work in the tbc overlay.
The following issues have been fixed:
bug #306189 - a non-fatal check was introduced to warn against CONFIG_LIB80211_CRYPT_TKIP not being selected, which renders WPA functionality unavailable. This affects almost all recent routers.
Additional explanatory messages were added for various CONFIG_CHECKS.
check_kernel_built from linux-info.eclass gets called in order to make sure the kernel is ready to deal with external modules.
bug #407667 - replaced broadcom-sta-220.127.116.11-linux-3.2.patch with a similar patch that preserves multicast functionality. Can be found in the bugreport.
style issue: converted the sed in the ebuild for working with kernel 3.4 into patch file broadcom-sta-18.104.22.168-linux-3.4.patch, so it can actually fail if it doesn't fit anymore
bug #437898 - kernel oops upon loading with kernel 3.6 and later. It refers to a patch on https://bugzilla.rpmfusion.org/show_bug.cgi?id=2526 to fix the issue. This patch is incorporated in broadcom-sta-22.214.171.124-linux-3.6.patch, along with other adaptations. The patch actually loaded in this ebuild is identical to https://github.com/Sabayon/for-gentoo/blob/master/net-wireless/broadcom-sta/files/broadcom-sta-126.96.36.199-linux-3.6.patch
bug #459208 - attached patch gets loaded as broadcom-sta-188.8.131.52-linux-3.8.patch, makes it work with kernel 3.8
another patch from sabayon: "lxnay 2 days ago [net-wireless/broadcom-sta] more Linux 3.9 love, wheeeee" - gets loaded as broadcom-sta-184.108.40.206-linux-3.9.patch
bug #399747 - broadcom-sta-220.127.116.11-remove-rssi-errors.patch - silences EINVAL errors and is not actually a fix.
This ebuild was tested to compile fine against the following kernels:
It was tested to load fine with
However, i do get frequent disconnect/reconnects without ever obtaining an IP address with anything beyond kernel 3.5. Since I have the same problem with brcmsmac, I will need to further investigate.
Please comment if you get similar/different results.
My hardware is a BCM4313 [14e4:4727] (rev 01).
Created attachment 347218 [details, diff]
Created attachment 347220 [details, diff]
Created attachment 347222 [details, diff]
Created attachment 347224 [details, diff]
Created attachment 347226 [details, diff]
Created attachment 347228 [details, diff]
The files pasted here so far are the new files i added to (and are identical with the ones in) my commit 86a1ace73a9f6ae59ba442c957dfc7af59d70dcd in the tbc overlay.
+*broadcom-sta-18.104.22.168-r3 (12 May 2013)
+ 12 May 2013; Sergey Popov <firstname.lastname@example.org>
+ Revision bump: add compatibility with more kernel versions, wrt bugs #437898
+ and #468388, thanks to M. B. <tomboy64 AT sina.cn>