From owner-freebsd-wireless@freebsd.org Thu Jun 23 00:40:10 2016 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A575AB726A8 for ; Thu, 23 Jun 2016 00:40:10 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 70DAC16C6 for ; Thu, 23 Jun 2016 00:40:10 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id a5so114185908ita.1 for ; Wed, 22 Jun 2016 17:40:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=ysKQA1G8t++Igcub85s7ZC2Yum/LGmC8OtGyfCyUDQM=; b=xeM/rSk72sVR3nooTrM4o3CTFCPD9nqqwH4NMZ1RpGhTXsVrnlWxGIOXdGHhi0qOcK mGMHhLl/FerTCPHirNmSrA3i6Adcnff4zzITrYtFX1ANEInas1+3PvuvO0a+EweD9xMr R6zXOugsOIPhJxB7TOtl3Yg68FYdNClxkOgTfJWH8Q4JrZatHRro6CCR1srvia77XdCw fgyY4DRwcJWVyXZ5wxVp1tekaY6fNXIweZWNenAUqsLZsNG4Sp2dr3nxEbIrcFbk+xrI CXl/h/kP9rAU5qD3VxrJSkx2hHfLaQntR2m1fby+2o3H6MUcXrk7UO6+QJZ4FOn+lEmN Eeyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=ysKQA1G8t++Igcub85s7ZC2Yum/LGmC8OtGyfCyUDQM=; b=JGD65j4HgrUt0IHp+69KEhgcH0xmrCVViQBLbIdg8r32uy9ugyaX7GoZKo8DpgQFmg GpzqsLdwgdki1frjLWkxJpDP2OlfgwlY4tzkn0GqqHLYaIjaA5WZn8+empbvtsZl/iX4 PmNdDPO6aEiElAkDsMhfval/+L/hjgvcscYkqqdYNf+vE4RbyNqdQUXh4wsweY6TCzOg 3asprsrxJ0WOACJYddv7hV2o49C46l1fuXA44nq6rCxqOoojWqe26RVC5MlJdObbeMva 4ib0A3UK1n8a3vDLXLrYFMAqHh4qy6Zw4PwYhbE01ETKLgUfUZPo8+Wk96mmldX6SIy6 2xyA== X-Gm-Message-State: ALyK8tLK6Pgesrkjppl47ppusx416Rmrnm10aEokRcuQ1YuSuVapf4Rd4Zuk4DwmZaw3sUfuIHtWVvGU8+ThrA== X-Received: by 10.36.39.78 with SMTP id g75mr16855721ita.53.1466642409575; Wed, 22 Jun 2016 17:40:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.141.135 with HTTP; Wed, 22 Jun 2016 17:39:50 -0700 (PDT) In-Reply-To: <1317185710.20160623004836@sm.msk.ru> References: <20160622113238.GA502046@albireo.intra.vdsz.de> <1317185710.20160623004836@sm.msk.ru> From: Ang Iongchun Date: Thu, 23 Jun 2016 08:39:50 +0800 Message-ID: Subject: Re: Wireless 3165, Intel Corporation To: Sergey Cc: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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, 23 Jun 2016 00:40:10 -0000 Hi Sergey, Try also replace sys/contrib/dev/iwm and sys/dev/iwm from Emmanuel's branch= . If you can see the driver message from kernel log like this (my 3165): iwm0: mem 0xd5100000-0xd5101fff at device 0.0 on pci2 iwm0: hw rev 0x210, fw ver 16.242414.0, address 08:d4:0c:xx:xx:xx Then you can create the interface and scan: ifconfig wlan0 create wlandev iwm0 ifconfig wlan0 up scan More configuration can be found in Wireless Networking, FreeBSD Handbook. Regards. 2016-06-23 5:48 GMT+08:00 Sergey : > > Thank you a lot! > However it does not seem to work. > > I have fetched the sources from https://github.com/evadot/freebsd/tree/iw= m > and replaced in my /usr/src both sys/modules/{iwm,iwmfw} > Have re-built the kernel - and I still see no interface. > > Have I missed something? > > Here are lines from /var/log/messages > > > Jun 23 00:16:52 vf kernel: FreeBSD 11.0-ALPHA4 #5: Wed Jun 22 16:31:47 MS= K 2016 > Jun 23 00:16:52 vf kernel: root@vf:/usr/obj/usr/src/sys/vf amd64 > Jun 23 00:16:52 vf kernel: FreeBSD clang version 3.8.0 (tags/RELEASE_380/= final 262564) (based on LLVM 3.8.0) > Jun 23 00:16:52 vf kernel: WARNING: WITNESS option enabled, expect reduce= d performance. > Jun 23 00:16:52 vf kernel: can't re-use a leaf (ixl_rx_miss_bufs)! > Jun 23 00:16:52 vf kernel: VT(vga): resolution 640x480 > Jun 23 00:16:52 vf kernel: module iwm3160fw_fw already present! > Jun 23 00:16:52 vf kernel: module iwm7260fw_fw already present! > Jun 23 00:16:52 vf kernel: module iwm7265fw_fw already present! > Jun 23 00:16:52 vf kernel: module_register: cannot register pci/iwm from = kernel; already loaded from if_iwm.ko > Jun 23 00:16:52 vf kernel: Module pci/iwm failed to register: 17 > Jun 23 00:16:52 vf kernel: CPU: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz = (2592.12-MHz K8-class CPU) > > > vf# ifconfig -a > re0: flags=3D8843 metric 0 mtu 15= 00 > options=3D8209b > ether 70:5a:0f:1a:cb:b2 > inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=3D29 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=3D8049 metric 0 mtu 16384 > options=3D600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=3D21 > groups: lo > vf# > vf# fgrep iwm /usr/src/sys/amd64/conf/vf > device iwm > device iwmfw > vf# cat /boot/loader.conf > id_ath_load=3D"YES" > wlan_wep_load=3D"YES" > wlan_ccmp_load=3D"YES" > wlan_tkip_load=3D"YES" > if_bwn_load=3D"YES" > > if_iwm_load=3D"YES" > iwm3160fw_load=3D"YES" > iwm7260fw_load=3D"YES" > iwm7265fw_load=3D"YES" > iwm8000C_load=3D"YES" > > vf# > vf# cd /usr/src > vf# svn diff > Index: sys/conf/files > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/conf/files (revision 302085) > +++ sys/conf/files (working copy) > @@ -1711,6 +1711,14 @@ > compile-with "${NORMAL_FW}" \ > no-obj no-implicit-rule \ > clean "iwi_monitor.fw" > +dev/iwa/if_iwm.c optional iwa > +dev/iwa/if_iwa_firmware.c optional iwa > +dev/iwa/if_iwa_fw_util.c optional iwa > +dev/iwa/if_iwa_nvm.c optional iwa > +dev/iwa/if_iwa_pci.c optional iwa > +dev/iwa/if_iwa_rx.c optional iwa > +dev/iwa/if_iwa_trans.c optional iwa > +dev/iwa/if_iwa.c optional iwa > dev/iwm/if_iwm.c optional iwm > dev/iwm/if_iwm_binding.c optional iwm > dev/iwm/if_iwm_led.c optional iwm > Index: sys/modules/iwmfw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/Makefile (revision 302085) > +++ sys/modules/iwmfw/Makefile (working copy) > @@ -1,5 +1,5 @@ > # $FreeBSD$ > > -SUBDIR=3D iwm3160fw iwm7260fw iwm7265fw > +SUBDIR=3D iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw > > .include > Index: sys/modules/iwmfw/iwm3160fw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/iwm3160fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm3160fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > KMOD=3D iwm3160fw > -IMG=3D iwm-3160-9 > +IMG=3D iwm-3160-16 > > .include > Index: sys/modules/iwmfw/iwm7260fw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/iwm7260fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm7260fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > KMOD=3D iwm7260fw > -IMG=3D iwm-7260-9 > +IMG=3D iwm-7260-16 > > .include > Index: sys/modules/iwmfw/iwm7265fw/Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- sys/modules/iwmfw/iwm7265fw/Makefile (revision 302085) > +++ sys/modules/iwmfw/iwm7265fw/Makefile (working copy) > @@ -1,6 +1,6 @@ > # $FreeBSD$ > > KMOD=3D iwm7265fw > -IMG=3D iwm-7265-9 > +IMG=3D iwm-7265-16 > > .include > > >> Hi, > >> The Intel 3165 wireless chipset should work with Emmanuel Vadot's iwm >> update/sync: >> >> https://lists.freebsd.org/pipermail/freebsd-wireless/2016-June/006805.ht= ml > >> Regards, >> Imre > > > > -- > =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, > Sergey mailto:freebsd-wireless@sm.msk.ru > > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g"