Re: iwlwifi AX203 intermittent - 14.3p2

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 25 Aug 2025 06:05:53 UTC
On Sun, 24 Aug 2025, Leo wrote:

> Hello Everyone:
>
> I have an Acer Nitro with AX203 & Asus Vivobook also with the AX203. Both are 
> running FreeBSD14.3p2 along with Win11 (the Nitro also OpenBSD) with Intel 
> CPUs. The issue is that iwlwifi sometimes comes up and connects and other 
> times does not. It appears sensitive to the AP it's connecting to but I am 
> not certain. The only way I can clear this issue is by a power cycle. I 
> observe different behavior at home, office, or when on travel connecting to 
> random APs. There is no problem with wifi when running Win11 on this 
> hardware.
>
> Here at home tonight I had a stable connection, rebooted (no changes), and 
> was met with error messages on the console and a continuous stream in 
> /var/log/messages. The laptop is next to the AP. If anyone has suggestions I 
> would really appreciate it. Thank you.
>
> I saved a dmesg verbose, ifconfig -v wlan0 if that would be helpful.
>
> Here is a snip of the dmesg error messages after reboot:
>
> iwlwifi0: No beacon heard and the session protection is over already...
> iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0177eaeec0 vap 
> 0xfffffe0177eae010 state RUN
> wlan0: link state changed to DOWN
> wlan0: link state changed to UP
> iwlwifi0: No beacon heard and the session protection is over already...
> iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0177eaeec0 vap 
> 0xfffffe0177eae010 state RUN
> wlan0: link state changed to DOWN
> wlan0: link state changed to UP
> iwlwifi0: No beacon heard and the session protection is over already...
> iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0177eaeec0 vap 
> 0xfffffe0177eae010 state RUN
> wlan0: link state changed to DOWN
> wlan0: link state changed to UP
> iwlwifi0: No beacon heard and the session protection is over already...
> iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0177eaeec0 vap 
> 0xfffffe0177eae010 state RUN
> wlan0: link state changed to DOWN
> wlan0: link state changed to UP
> iwlwifi0: No beacon heard and the session protection is over already...
> iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe0177eaeec0 vap 
> 0xfffffe0177eae010 state RUN
> wlan0: link state changed to DOWN

So this is one issue.  You'll find reports about this for the last years
and all kinds of Linux as well.

Some people said rebooting from wondows to another OS makes all kinds of
weird things happen (if there is no power off).
Funny enough some people said rebooting the AP helped.

If this happened after a reboot I wonder if we left state on the AP and
the AP is dumb but more likely it's other filtering stuff in the FW
which should be cleared but wasn't.

I have some work in progress here I'll try to get into main to see if
that'll help a bit at least.

Does it make a difference from reboot to doing a power off for a few
seconds and turning the laptop back on.


> iwlwifi0: Microcode SW error detected. Restarting 0x0.
> iwlwifi0: Start IWL Error Log Dump:
> iwlwifi0: Transport status: 0x0000004B, valid: 6
> iwlwifi0: Loaded firmware version: 89.6b44fa0b.0 so-a0-hr-b0-89.ucode
> iwlwifi0: 0x00000071 | NMI_INTERRUPT_UMAC_FATAL
> iwlwifi0: 0x00008200 | trm_hw_status0
> iwlwifi0: 0x00000000 | trm_hw_status1
> iwlwifi0: 0x004D7360 | branchlink2
> iwlwifi0: 0x004B845E | interruptlink1
> iwlwifi0: 0x004B845E | interruptlink2
> iwlwifi0: 0x0000B588 | data1
> iwlwifi0: 0x00000010 | data2
> iwlwifi0: 0x00000000 | data3
> iwlwifi0: 0x02018B73 | beacon time
> iwlwifi0: 0x771C7565 | tsf low
> iwlwifi0: 0x00000015 | tsf hi
> iwlwifi0: 0x00000000 | time gp1
> iwlwifi0: 0x00F3668B | time gp2
> iwlwifi0: 0x00000001 | uCode revision type
> iwlwifi0: 0x00000059 | uCode version major
> iwlwifi0: 0x6B44FA0B | uCode version minor
> iwlwifi0: 0x00000370 | hw version
> iwlwifi0: 0x00C80002 | board version
> iwlwifi0: 0x0000001C | hcmd
> iwlwifi0: 0xE6922000 | isr0
> iwlwifi0: 0x01040000 | isr1
> iwlwifi0: 0x48F00002 | isr2
> iwlwifi0: 0x00C7000F | isr3
> iwlwifi0: 0x00000000 | isr4
> iwlwifi0: 0x009E0103 | last cmd Id
> iwlwifi0: 0x0000B588 | wait_event
> iwlwifi0: 0x000000D4 | l2p_control
> iwlwifi0: 0x00018034 | l2p_duration
> iwlwifi0: 0x00000007 | l2p_mhvalid
> iwlwifi0: 0x00810048 | l2p_addr_match
> iwlwifi0: 0x00000009 | lmpm_pmg_sel
> iwlwifi0: 0x00000000 | timestamp
> iwlwifi0: 0x0000F87C | flow_handler
> iwlwifi0: Start IWL Error Log Dump:
> iwlwifi0: Transport status: 0x0000004B, valid: 7
> iwlwifi0: 0x20100232 | ADVANCED_SYSASSERT
> iwlwifi0: 0x00000000 | umac branchlink1
> iwlwifi0: 0x804824F0 | umac branchlink2
> iwlwifi0: 0xC00814F0 | umac interruptlink1
> iwlwifi0: 0x00000000 | umac interruptlink2
> iwlwifi0: 0x000000C4 | umac data1
> iwlwifi0: 0x8048B1AA | umac data2
> iwlwifi0: 0x00000001 | umac data3
> iwlwifi0: 0x00000059 | umac major
> iwlwifi0: 0x6B44FA0B | umac minor
> iwlwifi0: 0x00F36686 | frame pointer
> iwlwifi0: 0xC0887F18 | stack pointer
> iwlwifi0: 0x00A3030C | last host cmd

That's station removal from firmware.  I wonder if something else had
happened which we cannot see in the log snippet you posted.

> iwlwifi0: 0x00000000 | isr status reg
> iwlwifi0: IML/ROM dump:
> iwlwifi0: 0x00000B03 | IML/ROM error/state
> iwlwifi0: 0x000051AC | IML/ROM data1
> iwlwifi0: 0x00000090 | IML/ROM WFPM_AUTH_KEY_0
> iwlwifi0: Fseq Registers:
> iwlwifi0: 0x60000000 | FSEQ_ERROR_CODE
> iwlwifi0: 0x80350002 | FSEQ_TOP_INIT_VERSION
> iwlwifi0: 0x00150002 | FSEQ_CNVIO_INIT_VERSION
> iwlwifi0: 0x0000A482 | FSEQ_OTP_VERSION
> iwlwifi0: 0x00000003 | FSEQ_TOP_CONTENT_VERSION
> iwlwifi0: 0x4552414E | FSEQ_ALIVE_TOKEN
> iwlwifi0: 0x00080400 | FSEQ_CNVI_ID
> iwlwifi0: 0x01300504 | FSEQ_CNVR_ID
> iwlwifi0: 0x00080400 | CNVI_AUX_MISC_CHIP
> iwlwifi0: 0x01300504 | CNVR_AUX_MISC_CHIP
> iwlwifi0: 0x05B0905B | CNVR_SCU_SD_REGS_SD_REG_DIG_DCDC_VTRIM
> iwlwifi0: 0x0000025B | CNVR_SCU_SD_REGS_SD_REG_ACTIVE_VDIG_MIRROR
> iwlwifi0: 0x00150002 | FSEQ_PREV_CNVIO_INIT_VERSION
> iwlwifi0: 0x00350002 | FSEQ_WIFI_FSEQ_VERSION
> iwlwifi0: 0x2832E00A | FSEQ_BT_FSEQ_VERSION
> iwlwifi0: 0x000001B8 | FSEQ_CLASS_TP_VERSION
> iwlwifi0: UMAC CURRENT PC: 0x804a228c
> iwlwifi0: LMAC1 CURRENT PC: 0xd0
> iwlwifi0: WRT: Collecting data: ini trigger 4 fired (delay=0ms).
> iwlwifi0: FW error in SYNC CMD STA_REMOVE_CMD
> #0 0xffffffff80dd400b at linux_dump_stack+0x1b
> #1 0xffffffff83b1decb at iwl_trans_pcie_send_hcmd+0x44b
> #2 0xffffffff83aaddb8 at iwl_trans_send_cmd+0x88
> #3 0xffffffff83af8459 at iwl_mvm_send_cmd_pdu+0x49
> #4 0xffffffff83b02b29 at iwl_mvm_mld_rm_sta+0x389
> #5 0xffffffff83ac8619 at iwl_mvm_mac_sta_state_common+0xd99
> #6 0xffffffff80dcdff8 at lkpi_80211_mo_sta_state+0xa8
> #7 0xffffffff80dbcf18 at lkpi_sta_run_to_init+0x6f8
> #8 0xffffffff80dcb94e at lkpi_iv_newstate+0x3ce
> #9 0xffffffff80cf33f8 at ieee80211_newstate_cb+0x1f8
> #10 0xffffffff80bbe4d2 at taskqueue_run_locked+0x182
> #11 0xffffffff80bbf722 at taskqueue_thread_loop+0xc2
> #12 0xffffffff80b13641 at fork_exit+0x81
> #13 0xffffffff81024dfe at fork_trampoline+0xe
> iwlwifi0: Failed to remove station. Id=0
> iwlwifi0: Failed to send MAC_CONFIG_CMD (action:2): -5
> iwlwifi0: failed to update MAC 0xfffffe0177eaeed2M
> iwlwifi0: Failed to send LINK_CONFIG_CMD (action:2): -5
> iwlwifi0: Failed to send LINK_CONFIG_CMD (action:3): -5
> iwlwifi0: Failed to send LINK_CONFIG_CMD (action:1): -5
> iwlwifi0: PHY ctxt cmd error. ret=-5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
> iwlwifi0: Scan failed! ret -5
> iwlwifi0: ERROR: lkpi_ic_scan_start: hw_scan returned -5
>
> ...

At this point I'd do a:
 	ifconfig wlan0 down
 	service netif restart wlan0
and hope that'll work.

-- 
Bjoern A. Zeeb                                                     r15:7