From owner-freebsd-wireless@FreeBSD.ORG Thu Jun 4 09:37:52 2015 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D4A4E322; Thu, 4 Jun 2015 09:37:52 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from st11p00im-asmtp004.me.com (st11p00im-asmtp004.me.com [17.172.80.98]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id ACCF01A91; Thu, 4 Jun 2015 09:37:52 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from me.com (c-73-162-13-215.hsd1.ca.comcast.net [73.162.13.215]) by st11p00im-asmtp004.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Dec 4 2014)) with ESMTPSA id <0NPE00726NKUHY40@st11p00im-asmtp004.me.com>; Thu, 04 Jun 2015 05:36:32 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-06-04_03:2015-06-03,2015-06-04,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1506040080 From: Rui Paulo To: Ben Woods Cc: "freebsd-wireless@freebsd.org" , dchagin@freebsd.org, adrian@freebsd.org Subject: Re: Intel 3160/7260/7265 driver Date: Wed, 03 Jun 2015 22:36:30 -0700 Message-id: <15089990.yCYE9Adp01@akita> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-reply-to: References: MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jun 2015 09:37:53 -0000 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 > 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 metric 0 mtu 2290 > ether 34:02:86:34:13:18 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11b > status: associated > wlan0: flags=8843 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 > 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