From owner-freebsd-net@FreeBSD.ORG Sat Oct 31 17:46:18 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E9B91065670 for ; Sat, 31 Oct 2009 17:46:18 +0000 (UTC) (envelope-from freebsd@levsha.org.ua) Received: from expo.ukrweb.net (mail.univua.net [91.202.128.78]) by mx1.freebsd.org (Postfix) with ESMTP id CE2DA8FC1D for ; Sat, 31 Oct 2009 17:46:17 +0000 (UTC) Received: from levsha by expo.ukrweb.net with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1N4I23-0008zd-6O; Sat, 31 Oct 2009 19:46:31 +0200 Date: Sat, 31 Oct 2009 19:46:31 +0200 From: Mykola Dzham To: Bernhard Schmidt Message-ID: <20091031174631.GA32588@expo.ukrweb.net> References: <20091009170839.142800@gmx.net> <11167f520910241241o6a1ada3cmf076add6374a1add@mail.gmail.com> <200910251024.06856.bschmidt@techwires.net> <200910300926.32286.bschmidt@techwires.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200910300926.32286.bschmidt@techwires.net> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-net@freebsd.org Subject: Re: Intel WiFi 5100/5300 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Oct 2009 17:46:18 -0000 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: 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