[PATCH][FIX][RESEND] b43: fix support for 5 GHz only BCM43228 model

Jonas Gorski <[email protected]>
Newsgroups org.infradead.lists.b43-dev,org.kernel.vger.linux-wireless
Message-ID <CAOiHx==Br=rzsXavM=hN99hPUi_rEKjoYfT2+JFy-Jb5+Ex0xw@mail.gmail.com>
On Tue, Mar 3, 2015 at 4:44 PM, Kalle Valo <[email protected]> wrote:
> Jonas Gorski <[email protected]> writes:
>
>> On Tue, Mar 3, 2015 at 4:05 PM, Kalle Valo <[email protected]> wrote:
>>>> RESEND: It seems patchwork didn't catch my patch. Trying again.
>>>
>>> Odd, I still don't see it in patchwork. I wonder what caused that?
>>
>> I also see it neither in my b43-dev nor linux-wireless archives, nor
>> does google find it (only your reply).
>
> Ok, that explains why patchwork didn't catch it (it scans patches from
> the linux-wireless mailing list). I already applied the patch to
> wireless-drivers.git but I would appreciate if people would still review
> it:
>
> commit 0ff66cffde47de51c155ebdd2356403276c04cc4
> Author: Rafa? Mi?ecki <[email protected]>
> Date:   Mon Mar 2 17:18:55 2015 +0100
>
>     b43: fix support for 5 GHz only BCM43228 model
>
>     It was incorrectly detected as 2 GHz device.
>
>     Signed-off-by: Rafa? Mi?ecki <[email protected]>
>     Cc: stable at vger.kernel.org # 3.17+
>     Signed-off-by: Kalle Valo <[email protected]>
>
> diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
> index ccbdb05b28cd..75345c1e8c34 100644
> --- a/drivers/net/wireless/b43/main.c
> +++ b/drivers/net/wireless/b43/main.c
> @@ -5370,6 +5370,7 @@ static void b43_supported_bands(struct b43_wldev *dev, bool *have_2ghz_phy,
>         case 0x432a: /* BCM4321 */
>         case 0x432d: /* BCM4322 */
>         case 0x4352: /* BCM43222 */
> +       case 0x435a: /* BCM43228 */

Broadcom agrees with that (taken from a broadcom sdk for bcm47xx):

#define BCM43228_D11N_ID        0x4359          /* 43228 802.11n
DualBand device */
#define BCM43228_D11N5G_ID      0x435a          /* 43228 802.11n 5GHz device */


If that's enough for you, feel free to add a Reviewed-By from me.


Jonas
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.