Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Mar 2019 21:55:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 227044] Add support for Intel 9260 and 5165 (iwm) wireless devices
Message-ID:  <bug-227044-21060-X93ISZbt79@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-227044-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-227044-21060@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227044

--- Comment #1 from Nils Johannsen <nilsjohannsen@gmx.de> ---
Created attachment 202728
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D202728&action=
=3Dedit
tar includes sources, firmware, etc.

I'm still new to FreeBSD, especially developing drivers is new for me...
nevertheless I like to get the "Intel Wireless AC 9260" on my "ThinkPad E49=
0"
running in FreeBSD and tried to follow these changesets in the iwm whose
already solved a similar task for another chipsets:
[Add support for Intel 8265
WiFi](https://github.com/freebsd/freebsd/commit/a06e5178adcde2036444b756a2e=
996513ec570bd)
[Add support for iwm 3168
cards](https://github.com/freebsd/freebsd/commit/5237c88c1abcac87b47cc12cee=
1dff7de106d4d0)

But I still stock at the firmware whose I've downloaded and uuencoded but s=
eems
to be not compatible... could anybody follow up this issue?=20
My changes, sources, firmware you will find attached, as well as some resul=
ts.

# dmesg > dmesg-2.txt
iwm0: <Intel(R) Dual Band Wireless AC 9260> mem 0xa1200000-0xa1203fff at de=
vice
0.0 on pci3
iwm0: api index=3D0, flags=3D0xdd9afffb
iwm0: api index=3D1, flags=3D0x00000087
iwm0: api flags index 1 larger than supported by driver
iwm0: iwm_mvm_load_ucode_wait_alive: Loaded ucode is not valid
iwm0: Failed to start INIT ucode: 5

# pciconf -lbcev > pciconf-1.txt
iwm0@pci0:5:0:0:        class=3D0x028000 card=3D0x00148086 chip=3D0x2526808=
6 rev=3D0x29
hdr=3D0x00
    vendor     =3D 'Intel Corporation'
    device     =3D 'Wireless-AC 9260'
    class      =3D network
    bar   [10] =3D type Memory, range 64, base 0xa1200000, size 16384, enab=
led
    cap 01[c8] =3D powerspec 3  supports D0 D3  current D0
    cap 05[d0] =3D MSI supports 1 message, 64 bit=20
    cap 10[40] =3D PCI-Express 2 endpoint max data 128(128) FLR RO NS
                 link x1(x1) speed 5.0(5.0) ASPM L1(L1)
    cap 11[80] =3D MSI-X supports 16 messages
                 Table in map 0x10[0x2000], PBA in map 0x10[0x3000]
    ecap 0001[100] =3D AER 1 0 fatal 0 non-fatal 0 corrected
    ecap 0018[14c] =3D LTR 1
    ecap 001e[154] =3D unknown 1

# vi /usr/src/sys/conf/files
# vi /usr/src/sys/dev/iwm/if_iwm.c
# vi /usr/src/sys/dev/iwm/if_iwm_8000.c
# vi /usr/src/sys/dev/iwm/if_iwm_config.h
# vi /usr/src/sys/modules/iwmfw/Makefile
# vi /usr/src/sys/modules/iwmfw/iwm9260fw/Makefile
# grep '9260' /usr/src/sys/dev/iwm > grep-iwm-1.txt

https://www.intel.com/content/www/us/en/support/articles/000005511/network-=
and-i-o/wireless-networking.html
Download: [Intel=C2=AE Wireless-AC 9260](iwlwifi-9260-th-b0-jf-b0-34.618819=
.0.tgz]

# tar -xf iwlwifi-9260-*.tgz
# cd ./iwlwifi-9260*/
# b64encode -o iwm-9260-34.fw.uu iwlwifi-9260-*.ucode iwm-9260-34.fw.uu
# mv iwm-9260-34.fw.uu /usr/src/sys/contrib/dev/iwm/
=3D=3D> /usr/src/sys/contrib/dev/iwm/iwm-9260-34.fw.uu

# cd /usr/src/sys/modules/iwmfw/iwm9260fw
# make clean all install
=3D=3D> /boot/modules/iwm9260fw.ko

# cd /usr/src/sys/modules/iwm
# make install
=3D=3D> /boot/modules/if_iwm.ko

# kldload /boot/modules/iwm9260fw.ko
# kldload /boot/modules/if_iwm.ko
# service netif restart
# dmesg > dmesg-2.txt

Thanks and regards, Nils

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-227044-21060-X93ISZbt79>