On 5.1.2014 2:42, Aleksandar Kuktin wrote:
>> On Sat, 04 Jan 2014 23:33:13 +0100
>> "Armin K." <kre...@email.com> wrote:
>>
>> On 01/04/2014 11:25 PM, Aleksandar Kuktin wrote:
>
>>> lspci reports:
>>> Broadcom Corporation BCM4311 802.11b/g WLAN [14e4:4311]
>>>
>>
>> 02:00.0 Network controller [0280]: Broadcom Corporation BCM4313
>> 802.11bgn Wireless Network Adapter [14e4:4727] (rev 01)
>
> I know I'll sound like an idiot, but correct me if I'm wrong: a 802.11b
> end-station is able to connect to a 802.11n AP, right? Ditto for
> 802.11g end-station and 802.11n AP, am I correct?
>
> That's what I read just about everywhere yet am unable to make it work.
> So naturally I have to doubt everything. :)
>

Can't comment on this. My router seems to be set up for n, but I've seen 
a mobile phone connect to it just fine. It has some dual mode set up or 
whatever.

>>> Is broadcom-sta the part I am missing?
>>>
>>
>> Probably. Some distros call it broadcom-wl or simply wl since the
>> module it builds is actually "wl". Since I got the source from Debian
>> (older one, upstream has only the latest one) and they call it
>> broadcom-sta, I kept the name.
>
> Aaaand.. it fails to build. Building against Linux-3.12.1 (weird how
> glibc is suddenly irrelevant).
>
> But the problem is, I have absolutely no idea where to start mending
> the problem. wl's code calls the function create_proc_entry(),
> supposedly expecting it to be defined in the kernel, but which only
> exists in two points in the kernel, both of them behind an "#if 0"
> switch which means the code is deleted by the preprocesor. IOW, there
> is no mention of create_proc_entry() in the kernel. And it also tries
> to access fields in some structure (struct proc_dir_entry) that simply
> do not exist.
>
> So I expect I will be unable to make it compile since I have no idea
> even where to begin with fixing this much lossage.
>

Use the patches from my Archlinux AUR package:

https://aur.archlinux.org/packages/br/broadcom-sta-dkms/broadcom-sta-dkms.tar.gz

Apply them in the same order as in the PKGBUILD (not really important, 
there are only two of them):

https://aur.archlinux.org/packages/br/broadcom-sta-dkms/PKGBUILD

Don't forget to run "depmod" after running "make install" and disable 
all of drivers that kernel provides or if they are built as modules, 
blacklist them.

> For reference, what kernel do you build your version against?

3.13.0-rc5, as mentioned in the document.

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to