Wireless 3165, Intel Corporation

Ang Iongchun yongjhen at gmail.com
Thu Jun 23 00:40:10 UTC 2016


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: <Intel Dual Band Wireless AC 3165> 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 <freebsd-wireless at sm.msk.ru>:
>
> Thank you a lot!
> However it does not seem to work.
>
> I have fetched the sources from https://github.com/evadot/freebsd/tree/iwm
> 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 MSK 2016
> Jun 23 00:16:52 vf kernel: root at 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 reduced 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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>         options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
>         ether 70:5a:0f:1a:cb:b2
>         inet 192.168.1.11 netmask 0xffffff00 broadcast 192.168.1.255
>         nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>         media: Ethernet autoselect (100baseTX <full-duplex>)
>         status: active
> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>         options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>         inet6 ::1 prefixlen 128
>         inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>         inet 127.0.0.1 netmask 0xff000000
>         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>         groups: lo
> vf#
> vf# fgrep iwm /usr/src/sys/amd64/conf/vf
> device iwm
> device iwmfw
> vf# cat /boot/loader.conf
> id_ath_load="YES"
> wlan_wep_load="YES"
> wlan_ccmp_load="YES"
> wlan_tkip_load="YES"
> if_bwn_load="YES"
>
> if_iwm_load="YES"
> iwm3160fw_load="YES"
> iwm7260fw_load="YES"
> iwm7265fw_load="YES"
> iwm8000C_load="YES"
>
> vf#
> vf# cd /usr/src
> vf# svn diff
> Index: sys/conf/files
> ===================================================================
> --- 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
> ===================================================================
> --- sys/modules/iwmfw/Makefile  (revision 302085)
> +++ sys/modules/iwmfw/Makefile  (working copy)
> @@ -1,5 +1,5 @@
>  # $FreeBSD$
>
> -SUBDIR=        iwm3160fw iwm7260fw iwm7265fw
> +SUBDIR=        iwm3160fw iwm7260fw iwm7265fw iwm8000Cfw
>
>  .include <bsd.subdir.mk>
> Index: sys/modules/iwmfw/iwm3160fw/Makefile
> ===================================================================
> --- sys/modules/iwmfw/iwm3160fw/Makefile        (revision 302085)
> +++ sys/modules/iwmfw/iwm3160fw/Makefile        (working copy)
> @@ -1,6 +1,6 @@
>  # $FreeBSD$
>
>  KMOD=  iwm3160fw
> -IMG=   iwm-3160-9
> +IMG=   iwm-3160-16
>
>  .include <bsd.kmod.mk>
> Index: sys/modules/iwmfw/iwm7260fw/Makefile
> ===================================================================
> --- sys/modules/iwmfw/iwm7260fw/Makefile        (revision 302085)
> +++ sys/modules/iwmfw/iwm7260fw/Makefile        (working copy)
> @@ -1,6 +1,6 @@
>  # $FreeBSD$
>
>  KMOD=  iwm7260fw
> -IMG=   iwm-7260-9
> +IMG=   iwm-7260-16
>
>  .include <bsd.kmod.mk>
> Index: sys/modules/iwmfw/iwm7265fw/Makefile
> ===================================================================
> --- sys/modules/iwmfw/iwm7265fw/Makefile        (revision 302085)
> +++ sys/modules/iwmfw/iwm7265fw/Makefile        (working copy)
> @@ -1,6 +1,6 @@
>  # $FreeBSD$
>
>  KMOD=  iwm7265fw
> -IMG=   iwm-7265-9
> +IMG=   iwm-7265-16
>
>  .include <bsd.kmod.mk>
>
>
>> 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.html
>
>> Regards,
>> Imre
>
>
>
> --
> С уважением,
>  Sergey                          mailto:freebsd-wireless at sm.msk.ru
>
> _______________________________________________
> freebsd-wireless at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe at freebsd.org"


More information about the freebsd-wireless mailing list