Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Jun 2015 22:36:30 -0700
From:      Rui Paulo <rpaulo@me.com>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        "freebsd-wireless@freebsd.org" <freebsd-wireless@freebsd.org>, dchagin@freebsd.org, adrian@freebsd.org
Subject:   Re: Intel 3160/7260/7265 driver
Message-ID:  <15089990.yCYE9Adp01@akita>
In-Reply-To: <CAOc73CChm1vJczABSSsxsbNvsZEdm9H46a_TNNK6fasBOF78JQ@mail.gmail.com>
References:  <CAOc73CChm1vJczABSSsxsbNvsZEdm9H46a_TNNK6fasBOF78JQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 03 June 2015 18:44:59 Ben Woods wrote:
> On Sun, May 10, 2015 at 09:48:51AM -0700, Rui Paulo wrote:
> > Hi,
> > 
> > I've ported the OpenBSD iwm driver and it's sort of working now:
> > 
> > https://github.com/rpaulo/iwm
> > 
> > Some issues:
> > - scanning is sort of broken now, so you must set the channel with
> > ifconfig
> > - ultra debugging mode is activated, so expect a lot of logs.
> > 
> > This still needs quite a bit of work before it can be part of FreeBSD, but
> > this email is being sent over iwm.  :-)
> > 
> > I only have a 7265, so I'd like people with 3160 or 7260 to try it out.
> 
> Hi,
> 
> Running this driver on my NEC Lavie HZ750 (same hardware as the Lenovo
> Lavie) and this is working fine. Thank you so much for your efforts to
> date.
> 
> # pciconf -lv
> iwm0@pci0:2:0:0: class=0x028000 card=0x52108086 chip=0x095b8086
> rev=0x61 hdr=0x00
>     vendor     = 'Intel Corporation'
>     class      = network
> 
> 
> I was using code from http://github.com/rpaulo/iwm:
> commit 6d5cbfa58f152180bbf8f6bcda7c63a6a0abc59a
> Merge: 74ebc8a 68be4af
> Author: Adrian Chadd <adrian@freebsd.org>
> Date:   Mon Jun 1 22:05:47 2015 -0700
> 
> 
> I do get some errors, but the wireless still associates using WPA2
> pre-shared key. Unfortunately, it seems to connect in 802.11b mode,
> even though I have tried forcing it to 802.11g or 802.11n modes with
> the following entry in /etc/rc.conf:
> ifconfig_wlan0="mode 11n country AU channel 11 WPA DHCP"
> 
> 
> "# service netif restart" gives the following errors:
> ifconfig: SIOCSIFMEDIA (media): Device not configured
> kernel: iwm0: iwm_load_firmware: chunk 0 of 3 returned error 35
> wpa_supplicant[1662]: ioctl[SIOCS80211, op=26, val=0, arg_len=0]:
> Operation not supported
> 
> 
> # ifconfig
> iwm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
> ether 34:02:86:34:13:18
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
> status: associated
> wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
> ether 34:02:86:34:13:18
> inet 192.168.1.100 netmask 0xffffff00 broadcast 192.168.1.255
> nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
> status: associated
> ssid 17aHindmarshAve channel 11 (2462 MHz 11b) bssid 04:f0:21:14:c9:7d
> regdomain ROW country AU authmode WPA2/802.11i privacy ON
> deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 30 bmiss 10
> scanvalid 60 roaming MANUAL
> groups: wlan
> 
> 
> Note that the new Lenovo X1 Carbon gen3 has the same hardware, so
> should give similar results.

I'm not sure it's doing 11b.  It's all firmware based, so it's probably doing 
11g, but we're reporting it incorrectly.

-- 
Rui Paulo



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