All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arend van Spriel <arend@broadcom.com>
To: Fredrik Kempe <l.f.kempe@gmail.com>
Cc: <linux-wireless@vger.kernel.org>
Subject: Re: Wireless doesn't work on macbook air 6.2
Date: Tue, 26 Aug 2014 23:10:32 +0200	[thread overview]
Message-ID: <53FCF7C8.6020309@broadcom.com> (raw)
In-Reply-To: <CAOUSx5cR2TjbtJ+Eb+JvdG4c_GEj5O3ZSAubaGenOy7cXhZLNg@mail.gmail.com>

On 08/26/14 22:15, Fredrik Kempe wrote:
> Hope I'm sending this to the right mailinglist and that i provided all info.
>
> Wireless doesn't work on macbook air 6.2
>
> Im trying out new kernels to get monitor via thunderbolt and i noticed
> that the wireless stoped working for me. While installing the kernel i
> get an error.
> ERROR LOG:
> make: Entering directory `/usr/src/linux-headers-3.17.0-031700rc2-generic'
> CFG80211 API is prefered for this kernel version
> Using CFG80211 API
>    LD /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/built-in.o
>    CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/shared/linux_osl.o
>    CC [M] /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o
> /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c: In
> function ‘wl_alloc_linux_if’:
> /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:64:
> error: macro "alloc_netdev" requires 4 arguments, but only 3 given
>    dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
>                                                                  ^
> /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:8:
> error: ‘alloc_netdev’ undeclared (first use in this function)
>    dev = alloc_netdev(sizeof(priv_link_t), intf_name, ether_setup);
>          ^
> /var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.c:1354:8:
> note: each undeclared identifier is reported only once for each
> function it appears in
> make[1]: *** [/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build/src/wl/sys/wl_linux.o]
> Error 1
> make: *** [_module_/var/lib/dkms/bcmwl/6.30.223.141+bdcom/build] Error 2
> make: Leaving directory `/usr/src/linux-headers-3.17.0-031700rc2-generic'

The bcmwl driver is an out-of-tree driver with binary blob. So this is 
not an upstream driver, which is what linux-wireless is about. Now the 
error message seems clear to me and it means that in the new 3.17-rc2 
kernel alloc_netdev interface changed. So you could try fixing that. 
This is the commit changing the api:

   commit c835a677331495cf137a7f8a023463afd9f032f8
   Author: Tom Gundersen <teg@jklm.no>
   Date:   Mon Jul 14 16:37:24 2014 +0200

       net: set name_assign_type in alloc_netdev()

Regards,
Arend

      reply	other threads:[~2014-08-26 21:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-26 20:15 Wireless doesn't work on macbook air 6.2 Fredrik Kempe
2014-08-26 21:10 ` Arend van Spriel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53FCF7C8.6020309@broadcom.com \
    --to=arend@broadcom.com \
    --cc=l.f.kempe@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.