[Bug 287258] iwx(4): requires "service netif restart" after resume

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 03 Jun 2025 10:35:53 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287258

            Bug ID: 287258
           Summary: iwx(4): requires "service netif restart" after resume
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: trasz@FreeBSD.org

After 969f6c635358a079c50fd3ecd3d060bb5d9e0816, resume _almost_ works with my
AX210 - it comes back up disassociated; manual "service netif restart" makes it
work again.  This is what it says after resume:

Jun  3 11:23:21 pustaq kernel: iwx0: acquiring device failed
Jun  3 11:23:21 pustaq wpa_supplicant[7888]: wlan0: CTRL-EVENT-DISCONNECTED
bssid=a2:b5:3c:9e:30:c0 reason=3 locally_generated=1
Jun  3 11:23:21 pustaq dhclient[7973]: wlan0 link state up -> down
Jun  3 11:23:22 pustaq kernel: iwx0: could not initiate scan

After manual "netif restart":

Jun  3 11:26:29 pustaq doas[27426]: trasz ran command /etc/rc.d/netif restart
as root from /usr/home/trasz
Jun  3 11:26:30 pustaq kernel: iwx0: could not initiate scan
Jun  3 11:26:30 pustaq kernel: lo0: link state changed to DOWN
Jun  3 11:26:32 pustaq dhclient[7973]: My address (192.168.1.185) was deleted,
dhclient exiting
Jun  3 11:26:32 pustaq dhclient[7973]: connection closed
Jun  3 11:26:32 pustaq dhclient[7973]: exiting.
Jun  3 11:26:32 pustaq wpa_supplicant[7888]: wlan0: CTRL-EVENT-DSCP-POLICY
clear_all
Jun  3 11:26:32 pustaq syslogd: last message repeated 1 times
Jun  3 11:26:32 pustaq kernel: Jun  3 11:26:32 pustaq dhclient[7973]: My
address (192.168.1.185) was deleted, dhclient exiting
Jun  3 11:26:32 pustaq kernel: Jun  3 11:26:32 pustaq dhclient[7973]:
connection closed
Jun  3 11:26:32 pustaq kernel: Jun  3 11:26:32 pustaq dhclient[7973]: exiting.
Jun  3 11:26:32 pustaq kernel: iwx0: fatal firmware error
Jun  3 11:26:33 pustaq wpa_supplicant[7888]: wlan0: CTRL-EVENT-TERMINATING
Jun  3 11:26:33 pustaq kernel: iwx_run_init_mvm_ucode:
IWX_INIT_EXTENDED_CFG_CMD error=35
Jun  3 11:26:33 pustaq kernel: iwx_init: iwx_init_hw failed (error 35)
Jun  3 11:26:34 pustaq kernel: wlan0: Ethernet address: c8:58:b3:fa:04:01
Jun  3 11:26:35 pustaq kernel: lo0: link state changed to UP
Jun  3 11:26:35 pustaq wpa_supplicant[27792]: Successfully initialized
wpa_supplicant
Jun  3 11:26:35 pustaq wpa_supplicant[27792]: ioctl[SIOCS80211, op=20, val=0,
arg_len=7]: Invalid argument
Jun  3 11:26:35 pustaq syslogd: last message repeated 1 times
Jun  3 11:26:35 pustaq kernel: Jun  3 11:26:35 pustaq wpa_supplicant[27792]:
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
Jun  3 11:26:37 pustaq wpa_supplicant[27793]: MBO: Disable MBO/OCE due to
misbehaving AP not having enabled PMF
Jun  3 11:26:37 pustaq wpa_supplicant[27793]: wlan0: Trying to associate with
a2:b5:3c:9e:30:c0 (SSID='Vodafone9E20B0' freq=5220 MHz)
Jun  3 11:26:37 pustaq wpa_supplicant[27793]: wlan0: Associated with
a2:b5:3c:9e:30:c0
Jun  3 11:26:37 pustaq wpa_supplicant[27793]: MBO: Disable MBO/OCE due to
misbehaving AP not having enabled PMF
Jun  3 11:26:37 pustaq wpa_supplicant[27793]: wlan0: WPA: Key negotiation
completed with a2:b5:3c:9e:30:c0 [PTK=CCMP GTK=CCMP]
Jun  3 11:26:37 pustaq wpa_supplicant[27793]: wlan0: CTRL-EVENT-CONNECTED -
Connection to a2:b5:3c:9e:30:c0 completed [id=0 id_str=]
Jun  3 11:26:37 pustaq dhclient[27882]: DHCPREQUEST on wlan0 to 255.255.255.255
port 67
Jun  3 11:26:37 pustaq dhclient[27882]: DHCPACK from 192.168.1.1
Jun  3 11:26:37 pustaq kernel: wlan0: link state changed to UP
Jun  3 11:26:37 pustaq dhclient[27892]: New IP Address (wlan0): 192.168.1.185
Jun  3 11:26:37 pustaq dhclient[27896]: New Subnet Mask (wlan0): 255.255.255.0
Jun  3 11:26:37 pustaq dhclient[27900]: New Broadcast Address (wlan0):
192.168.1.255
Jun  3 11:26:37 pustaq dhclient[27904]: New Routers (wlan0): 192.168.1.1
Jun  3 11:26:37 pustaq dhclient[27882]: bound to 192.168.1.185 -- renewal in
2147483647 seconds.

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