Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 19:46:31 +0200
From:      Mykola Dzham <freebsd@levsha.org.ua>
To:        Bernhard Schmidt <bschmidt@techwires.net>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Intel WiFi 5100/5300
Message-ID:  <20091031174631.GA32588@expo.ukrweb.net>
In-Reply-To: <200910300926.32286.bschmidt@techwires.net>
References:  <20091009170839.142800@gmx.net> <11167f520910241241o6a1ada3cmf076add6374a1add@mail.gmail.com> <200910251024.06856.bschmidt@techwires.net> <200910300926.32286.bschmidt@techwires.net>

next in thread | previous in thread | raw e-mail | index | archive | help
 Bernhard Schmidt wrote:
> On Sunday 25 October 2009 10:24:06 Bernhard Schmidt wrote:
> > On Saturday 24 October 2009 21:41:39 Sam Fourman Jr. wrote:
> > > Just wanted to make everyone aware that OpenBSD just 1 hour ago commited
> > > a bunch of changes to their iwn driver. maybe some of it is useful for
> > > FreeBSD as well?
> > 
> > Definitely, I'll look into that.
> 
> Another update:
> 
> * ICT interrupts for 5000/6000 series
> * New firmware
> * Initial support for 1000 series and initial bits for upcoming 6000  series 
> (untested as hardware is not available to the general public)
> * Many bug fixes, including workarounds for hardware bugs
> * Addresses kern/140036
> 
> Most of this stuff has been obtained from OpeBSD. Testes/Feedback welcome!
> 
> http://techwires.net/~bschmidt/patches/freebsd/iwn/iwn_merge_20081028.diff.bz2

This update fix my panic. And now if_iwn detect my Intel 5100BGN :

iwn0: <Intel(R) PRO/Wireless 5100> mem 0xec800000-0xec801fff irq 17 at device 0.0 on pci6
iwn0: Reserved 0x2000 bytes for rid 0x10 type 3 at 0xec800000
iwn0: attempting to allocate 1 MSI vectors (1 supported)
msi: routing MSI IRQ 259 to local APIC 0 vector 48
iwn0: using IRQ 259 for MSI
iwn0: MIMO 1T2R, MoW, address 00:16:ea:5c:6c:d8
iwn0: [MPSAFE]
iwn0: [ITHREAD]
iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
iwn0: 11na MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbp
s
iwn0: 11ng MCS: 15Mbps 30Mbps 45Mbps 60Mbps 90Mbps 120Mbps 135Mbps 150Mbps 30Mbps 60Mbps 90Mbps 120Mbps 180Mbps 240Mbps 270Mbps 300Mbp
s

And now my card cat scan networks and connect to AP when i create wlan
interface manually:

ifconfig wlan0 create wlandev iwn0 wlanmode sta
ifconfig wlan0 up
/etc/rc.d/wpa_supplicant start wlan0
dhclient wlan0

But sometimes i receive error:

iwn0: iwn5000_post_alive: could not configure WiMAX coexistence, error 35
iwn0: iwn_init_locked: could not initialize hardware, error 35

And adapter not work after this error kldunload if_iwn && kldload
if_iwn does not fix problem, only reboot.
If i add any other options to ifconfig wlan0 create (for example mode,
country, or up) i always receive this error.

Thanks!

-- 
LEFT-(UANIC|RIPE)
JID: levsha@jabber.net.ua
PGP fingerprint: 1BCD 7C80 2E04 7282 C944  B0E0 7E67 619E 4E72 9280



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091031174631.GA32588>