Re: BCM4321 wireless card

2016-07-24 Thread Björn Jonare
On Friday 22 July 2016 at 19:35, Valery Filipchuk wrote:
> Hello Björn!
>  
> I am trying to make BCM4321 work with PC-BSD (10.3)
> which I installed on my laptop.  
> I had done a few step toward this goal which I found at various sites:
>  
> 1. % cd /usr/ports/net/bwn-firmware-kmod
> 2. % make install clean  
> 3. updated /boot/defaults/loader.conf with if_bwn_load-"YES"
> 4. rebooted
>  
> After reboot my card is still not recognized.  
> Even "lspci" lists the card, "ifconfig" doesn't show wlan0 .
> "kldstat | grep bwn" lists following bwn modules:

Hi!

The support for newer broadcom wifi-cards is new to FreeBSD-11. This means that 
you either have to install the latest PC-BSD-11 beta or wait for the final 
release of 11 (which should be ”soonish”) to follow these instructions.
  
First you have to reconfig/recompile your kernel. This is done by adding the 
following lines to your kernel config (found at 
/usr/src/sys/amd64/conf/GENERIC):

options BWN_GPL_PHY
options BWN_DEBUG

You then need to uncomment some lines in /usr/src/sys/modules/bwn/Makefile, 
just read the comments in the Makefile and it should be obvious which lines.

Then run "make buildkernel && make installkernel” in /usr/src. If everything 
went right, you should then add these lines to /boot/loader.conf and reboot:

bwn_v4_ucode_load="YES"
bwn_v4_n_ucode_load="YES"
if_bwn_load="YES"



Now, with any luck, you should have a working BCM4321! Just remember that it 
doesn’t do 802.11n yet. This however is far superior to no wireless at all!

If you have any further questions, don’t hesitate to ask!

--
/Hälsningar Björn  


___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Broadcom BCM4318

2016-06-03 Thread Björn Jonare
Hi,  

I just wanted to report that a BCM4318 in an iMac G5  now works after Adrian’s 
recent broadcom refactoring. This particular chip used to work ’when the stars 
where right’ - that is quite unreliably and most often not at all, well done! 
How sadly this is now some ten years after these machines were somewhat top of 
the line and usable... Still, electricity is cheap around here and I have toy 
that is now usable without a mess of cables, oh wonders, everything old is new 
again!

--
/Hälsningar Björn



___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: bwn updates - now BCM4321, BCM4322

2016-05-30 Thread Björn Jonare
On Saturday 28 May 2016 at 20:02, Adrian Chadd wrote:
> hi,
>  
> I'll go add some more debugging to the attach side of things. It does
> that when it doesn't recognise the phy, and that's silly.
>  
>  
>  
> -adrian

Hi,

Turned out the problem was at my end, I apologize for the noise. Though I was 
sure I've checked I was running a kernel _without_ the GPL PHY code. After 
donning a pointy hat and standing in a corner for a while, I now have a working 
BCM4321, this is brilliant!

Again thank you for your work and putting up with all the line noise from 
resulting from stupid user mistakes :)

--
/Hälsningar Björn  


___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Re: bwn updates - now BCM4321, BCM4322

2016-05-28 Thread Björn Jonare
Hi,  

First let me say that I very much appreciate your work on bwn. Broadcom devices 
are, alas all too common :( Anyway I dug an old iMac out of storage and 
installed a recent CURRENT (r300836) since I knew the wifi chip in it to be 
some variant of the BCM4322.

After uncommenting all needed lines (?) in the Makefile regarding GNU PHY 
support I loaded bwn_v4_ucode,  bwn_v4_n_ucode and if_bwn. Upon checking dmesg 
I got this:

siba_bwn0:  mem 
0xd020-0xd0203fff,0xd000-0xd00f irq 17 at device 0.0 on pci3
siba_bwn0: warn: multiple PCI(E) cores
siba_bwn0: unsupported coreid (USB 1.1 Host)
bwn0 on siba_bwn0
bwn0: failed
device_attach: bwn0 attach returned 6



So, the driver doesn’t attach :(

Since my understanding of drivers is well, lacking, is there anything I could 
do to get this specific version of BCM4322 to work[1]? I would be glad to 
provide any information needed.


[1] That is to get the driver to attach. I have no illusions regarding 
functionality, this is after all a Broadcom chipset!


--
/Hälsningar Björn



On Thursday 19 May 2016 at 09:01, Adrian Chadd wrote:

> Hiya,
>  
> I managed to get the BCM4321 and BCM4322 working. You need to load
> bwn_v4_n_ucode for BCM4322 and then it should "just work".
>  
> BCM4321 also works on bwn_v4_n_ucode - it uses the same newer ucode API.
>  
> You can't load bwn_v4_n_ucode and bwn_v4_lp_ucode just yet - I need to
> address that.
>  
> Let me know if you can test out either of these chips!
>  
>  
> -adrian
> ___
> freebsd-wireless@freebsd.org (mailto:freebsd-wireless@freebsd.org) mailing 
> list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org 
> (mailto:freebsd-wireless-unsubscr...@freebsd.org)"



___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"

Atheros AR9287 and 5Ghz 11n

2016-01-27 Thread Björn Jonare
Hello,  

I recently had need for working wireless on an old iMac I use for running 
FreeBSD. As the computer originally had a unsupported broadcom card I swapped 
it out for an AR9287 I had in a drawer. Now, the problem is that while the card 
connects fine in the 2.4Ghz it won't connect, or more precisely won't see 
anything in the 5Ghz spectrum. A command like 'ifconfig wlan0 list regdomain' 
for example only lists 2.4Ghz channels.

Now according to my dmesg (relevant bits below) this card has a 5Ghz radio (as 
it should). So what should I do to actually be able to actually connect or see 
anything over 5Ghz?

ath0:  mem 0xc810-0xc810 irq 17 at device 0.0 on pci3
ath0: [HT] enabling HT modes
ath0: [HT] enabling short-GI in 20MHz mode
ath0: [HT] 1 stream STBC receive enabled
ath0: [HT] 1 stream STBC transmit enabled
ath0: [HT] 2 RX streams; 2 TX streams
ath0: AR9287 mac 384.2 RF5133 phy 15.15
ath0: 2GHz radio: 0x; 5GHz radio: 0x00c0



The relevant parts of my rc.conf would be:

create_args_wlan0="country SE"
ifconfig_wlan0="WPA SYNCDHCP"





--  
Björn Jonare
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"