[Bug 278935] [wlan] [iwlwifi] fails to establish a connection, or fails to maintain it

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 May 2024 13:57:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278935

            Bug ID: 278935
           Summary: [wlan] [iwlwifi] fails to establish a connection, or
                    fails to maintain it
           Product: Base System
           Version: 14.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: wireless
          Assignee: wireless@FreeBSD.org
          Reporter: dch@freebsd.org

This is my 14.0-RELEASE old Dell XP13 laptop, with an intel 8265 nic swapped
in, this
has been pretty solid for many years on iwm, including suspend/resume.

Swapping to iwlwifi periodically during last years development has generally
worked
fine, but I've had problems recently where the laptop can't make the connection
to the network at all, or makes a connection, and then drops it minutes later.

BAD STARTUP:

wlan0: flags=8c43<UP,BROADCAST,RUNNING,DRV_OACTIVE,SIMPLEX,MULTICAST> metric 0
mtu 1500
        options=0
        ether 00:28:f8:d0:91:52
        inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
        inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
        groups: wlan
        ssid "" channel 1 (2412 MHz 11g)
        regdomain ETSI2 country AT authmode WPA1+WPA2/802.11i privacy ON
        deftxkey UNDEF txpower 30 bmiss 7 scanvalid 60 protmode CTS wme
        roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
        status: no carrier
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

Sometimes it works:

GOOD STARTUP:

wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether 00:28:f8:d0:91:52
        inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
        inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
        groups: wlan
        ssid skunkwerks channel 1 (2412 MHz 11g) bssid 80:2a:a8:84:e2:a3
        regdomain ETSI2 country AT authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
        protmode CTS wme roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet OFDM/24Mbps mode 11g
        status: associated
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

And then stops a minute or two later. Sometimes it recovers tho:

RECOVERED:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=0
        ether 00:28:f8:d0:91:52
        inet 172.16.2.21 netmask 0xffffff00 broadcast 172.16.2.255
        inet6 fe80::228:f8ff:fed0:9152%wlan0 prefixlen 64 scopeid 0x2
        groups: wlan
        ssid skunkwerks channel 1 (2412 MHz 11g) bssid 80:2a:a8:5a:bd:3f
        regdomain ETSI2 country AT authmode WPA2/802.11i privacy ON
        deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
        protmode CTS wme roaming MANUAL
        parent interface: iwlwifi0
        media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
        status: associated
        nd6 options=23<PERFORMNUD,ACCEPT_RTADV,AUTO_LINKLOCAL>

NB there are a few other moving parameters here, including ubiquiti AP
self-update their firmware & with security patches.

I've attached ifconfig, dmesg, from the relevant phases with most of the 
wifi debug flags turned on.

I don't know what I'm looking for, but it's as if the firmware gets stuck
and just won't work. Switching to iwm sometimes seems to reset it, but not
always.

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