The problem seems to occur during the roaming event. Say we have two APs with SSID "myap’ - only is strong and one is week. Initially Orin will connect to the strong one. The fault occurs when the strong AP is lost. Sometimes it will recover, sometimes not, sometimes it will take long time to recover.
Here is another crash:
Jan 15 17:56:04 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:c0:ca:b1:a8:2e reason=3
Jan 15 17:56:04 orin systemd-networkd[2213]: wlan0: Lost carrier
Jan 15 17:56:04 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jan 15 17:56:04 orin systemd-networkd[2213]: wlan0: DHCP lease lost
Jan 15 17:56:14 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:56:23 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:56:27 orin wpa_supplicant[2250]: wlan0: Trying to associate with 9c:ef:d5:fa:96:29 (SSID='grapes' freq=5745 MHz)
Jan 15 17:56:27 orin wpa_supplicant[2250]: nl80211: kernel reports: Authentication algorithm number required
Jan 15 17:56:27 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5745 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5755 cf2=0
Jan 15 17:56:29 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=1
Jan 15 17:56:29 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jan 15 17:56:29 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:56:33 orin wpa_supplicant[2250]: wlan0: Trying to associate with 9c:ef:d5:fa:96:29 (SSID='grapes' freq=5745 MHz)
Jan 15 17:56:33 orin wpa_supplicant[2250]: nl80211: kernel reports: Authentication algorithm number required
Jan 15 17:56:33 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5745 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5755 cf2=0
Jan 15 17:56:34 orin kernel: arm-smmu 8000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0xff693000, fsynr=0x160003, cbfrsynra=0x805, cb=5
Jan 15 17:56:34 orin kernel: mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
Jan 15 17:56:34 orin kernel: arm-smmu 8000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0xff693000, fsynr=0x160003, cbfrsynra=0x805, cb=5
Jan 15 17:56:34 orin kernel: mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
Jan 15 17:56:35 orin kernel: arm-smmu 8000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0xff693800, fsynr=0x160003, cbfrsynra=0xc05, cb=5
Jan 15 17:56:35 orin kernel: mc-err: unknown mcerr fault, int_status=0x00000000, ch_int_status=0x00000000, hubc_int_status=0x00000000 sbs_int_status=0x00000000, hub_int_status=0x00000000
Jan 15 17:56:35 orin kernel: arm-smmu 8000000.iommu: Unhandled context fault: fsr=0x80000402, iova=0xff693800, fsynr=0x160003, cbfrsynra=0xc05, cb=5
Jan 15 17:56:35 orin kernel: mc-err: Too many MC errors; throttling prints
Jan 15 17:56:35 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=1
Jan 15 17:56:35 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jan 15 17:56:37 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:56:40 orin wpa_supplicant[2250]: wlan0: Trying to associate with 9c:ef:d5:fa:96:29 (SSID='grapes' freq=5745 MHz)
Jan 15 17:56:40 orin wpa_supplicant[2250]: nl80211: kernel reports: Authentication algorithm number required
Jan 15 17:56:41 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=1
Jan 15 17:56:41 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="grapes" auth_failures=1 duration=10 reason=CONN_FAILED
Jan 15 17:56:50 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="grapes"
Jan 15 17:56:50 orin wpa_supplicant[2250]: wlan0: Trying to associate with 9c:ef:d5:fa:96:29 (SSID='grapes' freq=5745 MHz)
Jan 15 17:56:50 orin wpa_supplicant[2250]: nl80211: kernel reports: Authentication algorithm number required
Jan 15 17:56:51 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5745 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5755 cf2=0
Jan 15 17:56:51 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:56:53 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=1
Jan 15 17:56:53 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="grapes" auth_failures=2 duration=23 reason=CONN_FAILED
Jan 15 17:56:53 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Jan 15 17:57:17 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:57:21 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="grapes"
Jan 15 17:57:26 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:57:35 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:57:44 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:57:53 orin kernel: start_addr=(0x20000), end_addr=(0x40000), buffer_size=(0x20000), smp_number_max=(16384)
Jan 15 17:57:57 orin wpa_supplicant[2250]: wlan0: Trying to associate with 9c:ef:d5:fa:96:29 (SSID='grapes' freq=5745 MHz)
Jan 15 17:57:57 orin wpa_supplicant[2250]: nl80211: kernel reports: Authentication algorithm number required
Jan 15 17:57:57 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5745 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5755 cf2=0
Jan 15 17:57:58 orin kernel: ------------[ cut here ]------------
Jan 15 17:57:58 orin kernel: WARNING: CPU: 0 PID: 0 at /dvs/git/dirty/git-master_linux/kernel/nvidia/drivers/net/wireless/realtek/rtl8822ce/hal/hal_com.c:2250 rtw_hal_update_sta_mimo_type+0x14c/0x17c [rtl8822ce]
Jan 15 17:57:58 orin kernel: Modules linked in: rtl8822ce cfg80211 uvcvideo videobuf2_vmalloc nf_conntrack_netlink nfnetlink xt_addrtype br_netfilter overlay lzo_rle lzo_compress zram loop ip6table_filter ip6_tables xt_state xt_conntrack iptable_filter xt_MASQUERADE iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c snd_soc_tegra210_ope snd_soc_tegra186_asrc snd_soc_tegra186_dspk snd_soc_tegra186_arad snd_soc_tegra210_mvc snd_soc_tegra210_iqc snd_soc_tegra210_dmic snd_soc_tegra210_afc snd_soc_tegra210_admaif snd_soc_tegra210_mixer snd_soc_tegra210_adx snd_soc_tegra210_amx snd_soc_tegra_pcm snd_soc_tegra210_i2s snd_soc_tegra210_sfc aes_ce_blk crypto_simd cryptd aes_ce_cipher ghash_ce sha2_ce sha256_arm64 snd_soc_tegra210_adsp sha1_ce ucsi_ccg snd_soc_tegra_machine_driver typec_ucsi snd_soc_tegra_utils snd_soc_spdif_tx snd_soc_simple_card_utils snd_soc_tegra210_ahub typec nvadsp tegra210_adma rtk_btusb nv_ar0234(E) snd_hda_codec_hdmi userspace_alert bmi088 btusb nct1008 kfifo_buf btrtl
Jan 15 17:57:58 orin kernel: ofpart max96712(E) tegra_bpmp_thermal btbcm btintel cmdlinepart snd_hda_tegra snd_hda_codec snd_hda_core qspi_mtd mtd spi_tegra114 nvidia(O) ina3221 pwm_fan nvgpu nvmap mttcan can_dev can_raw can ramoops reed_solomon ip_tables x_tables [last unloaded: cfg80211]
Jan 15 17:57:58 orin kernel: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W OE 5.10.104-tegra #1
Jan 15 17:57:58 orin kernel: Hardware name: /, BIOS 1.0-d7fb19b 08/10/2022
Jan 15 17:57:58 orin kernel: pstate: 00400009 (nzcv daif +PAN -UAO -TCO BTYPE=--)
Jan 15 17:57:58 orin kernel: pc : rtw_hal_update_sta_mimo_type+0x14c/0x17c [rtl8822ce]
Jan 15 17:57:58 orin kernel: lr : rtw_hal_update_sta_mimo_type+0x40/0x17c [rtl8822ce]
Jan 15 17:57:58 orin kernel: sp : ffff8000100039f0
Jan 15 17:57:58 orin kernel: x29: ffff8000100039f0 x28: ffffababdcbb6000
Jan 15 17:57:58 orin kernel: x27: ffff8000115012e8 x26: ffff8000182b9890
Jan 15 17:57:58 orin kernel: x25: ffff8000115011f1 x24: ffff80001827f780
Jan 15 17:57:58 orin kernel: x23: ffff8000115010a8 x22: ffff23b3f240a8f1
Jan 15 17:57:58 orin kernel: x21: 0000000000000000 x20: ffff800011501000
Jan 15 17:57:58 orin kernel: x19: ffff8000182b9890 x18: 0000000000000000
Jan 15 17:57:58 orin kernel: x17: 0000000000000000 x16: ffffababdaee0eac
Jan 15 17:57:58 orin kernel: x15: 0000000000000000 x14: 0000000000000000
Jan 15 17:57:58 orin kernel: x13: 0000000000000000 x12: 0000000000000000
Jan 15 17:57:58 orin kernel: x11: 0000000000000000 x10: 0000000000000000
Jan 15 17:57:58 orin kernel: x9 : 0000000000000000 x8 : 1100000000000000
Jan 15 17:57:58 orin kernel: x7 : 0000000000000000 x6 : ffff8000182b9c28
Jan 15 17:57:58 orin kernel: x5 : ffff8000115b5000 x4 : 00000000000000ff
Jan 15 17:57:58 orin kernel: x3 : 0000000000000000 x2 : 0000000000000000
Jan 15 17:57:58 orin kernel: x1 : 0000000000000000 x0 : 0000000000000000
Jan 15 17:57:58 orin kernel: Call trace:
Jan 15 17:57:58 orin kernel: rtw_hal_update_sta_mimo_type+0x14c/0x17c [rtl8822ce]
Jan 15 17:57:58 orin kernel: rtw_hal_update_sta_ra_info+0x2c/0x50 [rtl8822ce]
Jan 15 17:57:58 orin kernel: rtw_joinbss_event_prehandle+0x410/0x6ec [rtl8822ce]
Jan 15 17:57:58 orin kernel: report_join_res+0xcc/0x128 [rtl8822ce]
Jan 15 17:57:58 orin kernel: OnAssocRsp+0x1a0/0x388 [rtl8822ce]
Jan 15 17:57:58 orin kernel: OnAtim+0x21c/0x260 [rtl8822ce]
Jan 15 17:57:58 orin kernel: mgt_dispatcher+0x238/0x2a4 [rtl8822ce]
Jan 15 17:57:58 orin kernel: validate_recv_mgnt_frame+0x444/0x518 [rtl8822ce]
Jan 15 17:57:58 orin kernel: validate_recv_frame+0x364/0x5a8 [rtl8822ce]
Jan 15 17:57:58 orin kernel: recv_func_prehandle+0x50/0x94 [rtl8822ce]
Jan 15 17:57:58 orin kernel: recv_func+0x4c/0x1c8 [rtl8822ce]
Jan 15 17:57:58 orin kernel: rtw_recv_entry+0x2c/0x68 [rtl8822ce]
Jan 15 17:57:58 orin kernel: pre_recv_entry+0x100/0x154 [rtl8822ce]
Jan 15 17:57:58 orin kernel: rtl8822ce_tx_isr+0x428/0x748 [rtl8822ce]
Jan 15 17:57:58 orin kernel: tasklet_action_common.isra.0+0x15c/0x180
Jan 15 17:57:58 orin kernel: tasklet_hi_action+0x30/0x40
Jan 15 17:57:58 orin kernel: __do_softirq+0x140/0x3e8
Jan 15 17:57:58 orin kernel: irq_exit+0xc0/0xe0
Jan 15 17:57:58 orin kernel: __handle_domain_irq+0x74/0xd0
Jan 15 17:57:58 orin kernel: gic_handle_irq+0x68/0x134
Jan 15 17:57:58 orin kernel: el1_irq+0xd0/0x180
Jan 15 17:57:58 orin kernel: cpuidle_enter_state+0xb8/0x410
Jan 15 17:57:58 orin kernel: cpuidle_enter+0x40/0x60
Jan 15 17:57:58 orin kernel: call_cpuidle+0x44/0x80
Jan 15 17:57:58 orin kernel: do_idle+0x208/0x270
Jan 15 17:57:58 orin kernel: cpu_startup_entry+0x2c/0x70
Jan 15 17:57:58 orin kernel: rest_init+0xdc/0xe8
Jan 15 17:57:58 orin kernel: arch_call_rest_init+0x18/0x20
Jan 15 17:57:58 orin kernel: start_kernel+0x514/0x54c
Jan 15 17:57:58 orin kernel: ---[ end trace f5b36bbe0dafa83a ]---
Jan 15 17:57:58 orin wpa_supplicant[2250]: wlan0: Associated with 9c:ef:d5:fa:96:29
Jan 15 17:57:58 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
Jan 15 17:57:58 orin wpa_supplicant[2250]: wlan0: WPA: Key negotiation completed with 9c:ef:d5:fa:96:29 [PTK=CCMP GTK=CCMP]
Jan 15 17:57:58 orin wpa_supplicant[2250]: wlan0: CTRL-EVENT-CONNECTED - Connection to 9c:ef:d5:fa:96:29 completed [id=0 id_str=]
Jan 15 17:57:58 orin systemd-networkd[2213]: wlan0: Gained carrier
Jan 15 17:58:01 orin systemd-networkd[2213]: wlan0: DHCPv4 address 172.16.16.162/24 via 172.16.16.16