From owner-freebsd-wireless@FreeBSD.ORG Wed Jun 3 10:45:00 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 8D9ABE89; Wed, 3 Jun 2015 10:45:00 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BBD21D8E; Wed, 3 Jun 2015 10:45:00 +0000 (UTC) (envelope-from woodsb02@gmail.com) Received: by igbyr2 with SMTP id yr2so109269492igb.0; Wed, 03 Jun 2015 03:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=5yL6uQWlQgRm5ric0Dz3sE0OM0FYiAwMmnmjAMl0qv0=; b=tZ0pz4F5lsqYT8Q9BJ5t5Q7sZvK/gLbe2hZNIlefulPz7jjhpqayfbypAl62YkqtEg Sob2dXTtM6vj2HAOKQxi7L+n1hF0Z3VOl/YI64ZCxh+fM0Y3EzJinTj4GFRKuPWs03Ds icOOwD+M0uXYP0j2LoB9cotle+YNTaNK4KuF4mzltHOJM8OczCnrbWhUr9jnc/yBYiGB LDwieEdsxmumUTPC2JMhO3DSrpMD0pwM9lJwFkuV4/aoZkrmuuqkf7lRpUJya4sueg5Q R/CZclrM5qzhRstFLcgug510aU3jLvECp9j6NSSXwVvus2T7G0j5LJypMnd2BcRcV+Uk zlYQ== MIME-Version: 1.0 X-Received: by 10.107.138.208 with SMTP id c77mr12655281ioj.24.1433328299760; Wed, 03 Jun 2015 03:44:59 -0700 (PDT) Received: by 10.64.236.10 with HTTP; Wed, 3 Jun 2015 03:44:59 -0700 (PDT) Date: Wed, 3 Jun 2015 18:44:59 +0800 Message-ID: Subject: Re: Intel 3160/7260/7265 driver From: Ben Woods To: Rui Paulo , "freebsd-wireless@freebsd.org" , dchagin@freebsd.org, adrian@freebsd.org Content-Type: text/plain; charset=UTF-8 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: Wed, 03 Jun 2015 10:45:00 -0000 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. Thanks again, Ben -- From: Benjamin Woods woodsb02@gmail.com