Wifi driver crash on AGX

Hi all,
Wifi module crash is observed in AGX when ever connected to wireless network.
I am using jetson-AGX with L4T 32.5
I have attached the error log obtained while connecting to wireless network.

[Jan28 21:29] ------------[ cut here ]------------
[  +0.000218] WARNING: CPU: 0 PID: 6415 at net/wireless/nl80211.c:14141 cfg80211_ch_switch_notify+0x150/0x170 [cfg80211]
[  +0.000170] Modules linked in: bnep fuse ksz9477_spi ksz9477 ksz_common zram overlay rtl8822ce cfg80211 ar0230 spidev userspace_alert nvgpu bluedroid_pm ip_tables x_tables

[  +0.000058] CPU: 0 PID: 6415 Comm: RTW_CMD_THREAD Not tainted 4.9.201-tegra #1
[  +0.000002] Hardware name: Jetson-AGX (DT)
[  +0.000004] task: ffffffc7bef16200 task.stack: ffffffc7bede0000
[  +0.000085] PC is at cfg80211_ch_switch_notify+0x150/0x170 [cfg80211]
[  +0.000438] LR is at rtw_cfg80211_ch_switch_notify+0x94/0x98 [rtl8822ce]
[  +0.000004] pc : [<ffffff8001382080>] lr : [<ffffff80014ffac8>] pstate: 60c00045
[  +0.000003] sp : ffffffc7bede3c20
[  +0.000003] x29: ffffffc7bede3c20 x28: ffffff8001490760 
[  +0.000007] x27: ffffff800bc721bc x26: ffffff8001655008 
[  +0.000006] x25: ffffff80016d8bbc x24: ffffffc7c7ab0000 
[  +0.000007] x23: ffffffc7c09ba000 x22: ffffffc7bc533800 
[  +0.000006] x21: 0000000000000002 x20: ffffffc7bede3ca8 
[  +0.000007] x19: ffffffc7bcb30000 x18: 0000000000000030 
[  +0.000007] x17: 0000000000000002 x16: 0000000000000003 
[  +0.000006] x15: ffffffc7dac1b028 x14: 0000000000000008 
[  +0.000006] x13: 7f1201c70000002a x12: 0105c00363fffa03 
[  +0.000006] x11: 0000000000000004 x10: 0000000000000002 
[  +0.000008] x9 : 0000000000000004 x8 : ffffffc7bede3d3a 
[  +0.000006] x7 : 0000000000000000 x6 : 0000000000000001 
[  +0.000006] x5 : 0000000000000040 x4 : 00000000000009b4 
[  +0.000007] x3 : 0000145a00000003 x2 : ffffffc7bc535048 
[  +0.000006] x1 : 0000145a00000003 x0 : 0000000000000000 

[  +0.000009] ---[ end trace f47f7901bbf6e2b4 ]---
[  +0.000081] Call trace:
[  +0.000083] [<ffffff8001382080>] cfg80211_ch_switch_notify+0x150/0x170 [cfg80211]
[  +0.000434] [<ffffff80014ffac8>] rtw_cfg80211_ch_switch_notify+0x94/0x98 [rtl8822ce]
[  +0.000429] [<ffffff80014906c4>] rtw_chk_start_clnt_join+0x43c/0x4d8 [rtl8822ce]
[  +0.000420] [<ffffff8001490998>] join_cmd_hdl+0x238/0x330 [rtl8822ce]
[  +0.000419] [<ffffff800144d420>] rtw_cmd_thread+0x308/0x608 [rtl8822ce]
[  +0.000009] [<ffffff80080db074>] kthread+0xec/0xf0
[  +0.000006] [<ffffff80080838a0>] ret_from_fork+0x10/0x30
[  +0.251667] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready

Regards,
deepika.s

Hi @WayneWWW
Could you please help me on the above issue…

Regards,
deepika.s

Maybe you can add some debug print in the kernel driver and see why it gets crashed.