Bug 204228 - wlan interface cannot connect to AP if_iwm driver - Intel Dual Band Wireless AC 3160
Summary: wlan interface cannot connect to AP if_iwm driver - Intel Dual Band Wireless...
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: wireless (show other bugs)
Version: CURRENT
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-wireless (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 19:03 UTC by Stefan Kohl
Modified: 2018-12-09 03:31 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kohl 2015-11-02 19:03:11 UTC
WLAN Driver if_iwm (Intel Dual Band Wireless AC 3160) cannot connect to AP.

The driver loads correctly, I can create a wlan0 interface but when I want to connect to a WPA2 secured AP the connection fails with the error message:

kernel: iwm0: <Intel Dual Band Wireless AC 3160> mem 0xf7c00000-0xf7c01fff irq 18 at device 0.0 on pci1
kernel: iwm0: revision: 0x160, firmware 25.228 (API ver. 9)
kernel: wlan0: Ethernet address: 34:e6:ad:50:55:87
wpa_supplicant[1085]: Successfully initialized wpa_supplicant
wpa_supplicant[1086]: wlan0: Trying to associate with 00:15:0c:4e:9f:52 (SSID='NET.HAYAT_WLAN_01' freq=2442 MHz)
kernel: iwm0: iwm_update_edca: called
[...]
kernel: iwm0: fatal firmware error
kernel: iwm0: iwm_auth: binding cmd
kernel: iwm0: iwm_newstate: could not move to auth state: 35
wpa_supplicant[1317]: wlan0: Authentication with 00:15:0c:4e:9f:52 timed out.
wpa_supplicant[1317]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:15:0c:4e:9f:52 reason=3 locally_generated=1
wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="NET.HAYAT_WLAN_01" auth_failures=1 duration=10 reason=CONN_FAILED
kernel: iwm0: could not initiate scan

HW: Zotac ZBox RI323 with Intel Dual Band Wireless AC 3160
SW: FreeBDS 11-CURRENT at r290151

WLan Interface (after kldload if_iwm und wpa_supplicant start wlan0):
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	ether 34:e6:ad:50:55:87
	nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
	media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
	status: no carrier
	ssid "" channel 7 (2442 MHz 11g)
	country US authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 0
	bmiss 10 scanvalid 60 protmode CTS wme roaming MANUAL
	groups: wlan
Comment 1 Fotis Zabaras 2015-11-20 23:08:02 UTC
Hello Stefan,

I jsut got an intel 7260.hmwwb.r today and I got the same problem.
On my AP setup I had my ssid hidden. When I made it public I managed to associate with wpa_supplicant(but it shows 11g, havent tried speedtests yes)
I guess it is a probe problem and it cannot verify the hidden SSID even if you add the line scan_ssid=1 on wpa_supplicant.conf
Hope than helps

Fotis

P.S.

dmesg and ifconfing wlan0:

# dmesg|grep 7260
iwm0: <Intel Dual Band Wireless AC 7260> mem 0xf7c00000-0xf7c01fff irq 19 at device 0.0 on pci2

# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 7c:5c:f8:2f:15:8e
        inet 192.168.1.62 netmask 0xffffff00 broadcast 192.168.1.255
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
        media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
        status: associated
        ssid TEST channel 6 (2437 MHz 11g) bssid <HIDDEN>
        country US authmode WPA2/802.11i privacy ON deftxkey UNDEF
        AES-CCM 2:128-bit txpower 0 bmiss 10 scanvalid 60 protmode CTS wme
        roaming MANUAL
        groups: wlan
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2016-06-26 19:09:01 UTC
Please have a look at

https://reviews.freebsd.org/D6967

which has some updates to iwm and new firmware included.
Comment 3 Andriy Voskoboinyk freebsd_committer freebsd_triage 2018-12-09 03:31:20 UTC
Fixed in r305470.