Hi @garywang , once I enable the driver (using init.d and doing echo A to enable AP too), I get the following log in dmesg, any idea?
I think wifi crashes the kernel at some point, for example I had to reboot the board after hours because I was not able to login to it via SSH anymore and the board was offline (the bridge was working but the OS wasn’t). I only noticed following logs so ATM I’m testing without enabling MT6625.
I’m using latest Ubuntu kernel (commit 81d24bb)
[ 19.107464] 0x01 0x01 0xe9 0x03 0x02 0xdd 0x3c 0x3e 0x00 0x6c 0x34 0xd5 0x17 0x2f 0xe0 0x6c 0x02 0x01 0x01 0x00 0x00 0x01 0x01 0xe9 0x03 0x02 0x4c 0x02 0xc1 0x78 0x48 0x00 0x01 0x7c 0x46 0x08 0x11 0x02 0x01 0x01 0x00 0x00 0x01 0x01 0xe9 0x03 0x02 0xd5 0x0c 0x84 0x0c 0xd5 0x08 0x49 0xfe 0x24 0x23 0x84 0x02 0x01 0x01 0x00 0x00 0x01 0x01 0xe9 0x03 0x02 0x49 0xfe 0x45 0x70 0xec 0x04 0x3a 0x6f 0xa4 0x84 0xdd 0x02 0x01 0x01 0x00 0x00 0x01 0x01 0xe9 0x03 0x02 0x4e 0x82 0x00 0x0d 0x3c 0x1c 0x07 0x7f 0x84 0x02 0xdd 0x02 0x01 0x01 0x00 0x00 0x01 0x01 0x35 0x00 0x03 0xd4 0xef 0x06 0x00 0x08 0x00 0x00 0x00 0x02 0x00 0x00 0x02 0x01 0x01 0x00 0x00 0x01 0x07 0x01 0x00 0x04 0x02 0x07 0x01 0x00 0x00 0x01 0x08 0x10 0x00 0x01 0x01 0x00 0x01 0x0c 0x01 0x00 0x80 0x00 0x4d 0x84 0x00 0x02 0x08 0x04 0x00 0x00 0x00 0x00
[ 19.107728] 0x01 0x01 0x08 0x10 0x00 0x01 0x01 0x00 0x01 0x34 0x03 0x00 0x80 0x00 0x00 0x00 0x00 0x02 0x08 0x04 0x00 0x00 0x00 0x00 0x01 0x01 0x14 0x01 0x00 0x01 0x02 0x14 0x72 0x02 0x00 0x01 0x01 0x11 0x11 0x4d 0x4d 0x4c 0x4c 0x4b 0x4b 0x4a 0x01 0x10 0x02 0x00 0x01 0x00 0x02 0x10 0x01 0x00 0x00 0x01 0x05 0x02 0x00 0x02 0x02 0x02 0x05 0x02 0x00 0x00 0x02 0x01 0x03 0x01 0x00 0x01 0x02 0x03 0x02 0x00 0x00 0x01 0x02 0x03 0x02 0x00 0x00 0x03 0x01 0x03 0x01 0x00 0x01 0x02 0x03 0x02 0x00 0x00 0x01
[ 19.108167] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.121870] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.121884] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.121891] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.121920] [STP-BTM] [W]_stp_btm_handler: get consys dump num packet_num(7)
[ 19.125197] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 19.133763] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.147530] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.147566] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.161158] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.161184] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.161190] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.172907] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.186612] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.186645] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.200266] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.200284] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.200290] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.212049] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.225818] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.225861] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.231927] 0x3c 0x41 0x53 0x53 0x45 0x52 0x54 0x3e 0x20 0x77 0x69 0x66 0x69 0x2f 0x6e 0x69
[ 19.231928] g_coredump_mode: 0!
[ 19.246953] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.246969] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.246975] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.258819] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.272640] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.272651] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.272657] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.284618] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.298867] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.298900] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.313100] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.313123] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.313129] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.325393] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.339709] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.339753] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.353735] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.353751] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.353757] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.366032] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.380127] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.380156] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.394198] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.394210] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.394222] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.406415] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.420625] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.420660] drivers/misc/mediatek/connectivity/common/conn_soc/core/btm_core.c, 824, (!RB_EMPTY(pOpQ))
[ 19.435243] [STP-BTM] [W]_stp_btm_get_op: RB_GET fail
[ 19.435257] [STP-BTM] [W]_stp_btm_dump_type: get_free_lxop fail
[ 19.435267] [STP-BTM] [E]_stp_btm_notify_wmt_dmp_wq(1132):ERROR! paged dump fail
[ 19.441717] [STP-BTM] [E]_stp_btm_handler(750):ERROR! polling CTRL STATE fail
[ 19.441763] [STP-BTM] [W]_stp_btm_proc: opid id(0x7)(STP_OPID_BTM_PAGED_TRACE) error(-1)
[ 19.441842] [MTK-WIFI] wifi_reset_start: Turn off p2p/ap mode
[ 19.441843] [STP-PSM] [W]_stp_psm_put_op: RB_FULL, RB_COUNT=16 , RB_SIZE=16
[ 19.441845] [STP-PSM] [W]_stp_psm_proc: +++++++++++ Put op to FreeOpQ fail, maybe disable/enable psm
[ 19.441870] [WMT-CTRL][W]wmt_ctrl_rx:wmt_ctrl_rx be signaled, but no rx data(1966)
[ 21.441614] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(19), show wmtd_thread stack!
[ 21.456326] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 21.456342] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 21.456355] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 21.456369] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 21.456381] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 21.456391] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 21.456401] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 21.456412] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 21.456421] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 21.456432] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 21.456447] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 21.456463] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 21.456474] [WMT-LIB][W]wmt_lib_hw_state_show:WMT_OPID_HW_STATE_SHOW failed
[ 23.451669] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(11), show wmtd_thread stack!
[ 23.466709] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 23.466731] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 23.466748] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 23.466766] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 23.466781] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 23.466792] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 23.466808] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 23.466831] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 23.466848] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 23.466869] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 23.466887] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 23.466904] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 23.466915] [WMT-LIB][W]wmt_lib_hw_rst:WMT_OPID_HW_RST failed
[ 23.466923] [WMT-LIB][E]wmt_lib_cmb_rst(1674):[whole chip reset] fail at wmt_lib_hw_rst!
[ 25.471611] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(19), show wmtd_thread stack!
[ 25.486285] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 25.486300] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 25.486313] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 25.486328] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 25.486339] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 25.486350] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 25.486360] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 25.486370] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 25.486379] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 25.486390] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 25.486405] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 25.486419] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 25.486430] [WMT-LIB][W]wmt_lib_hw_state_show:WMT_OPID_HW_STATE_SHOW failed
[ 27.481631] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(11), show wmtd_thread stack!
[ 27.496216] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 27.496230] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 27.496244] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 27.496258] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 27.496270] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 27.496281] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 27.496291] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 27.496301] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 27.496311] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 27.496322] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 27.496337] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 27.496351] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 27.496362] [WMT-LIB][W]wmt_lib_hw_rst:WMT_OPID_HW_RST failed
[ 27.496370] [WMT-LIB][E]wmt_lib_cmb_rst(1674):[whole chip reset] fail at wmt_lib_hw_rst!
[ 29.501653] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(19), show wmtd_thread stack!
[ 29.516511] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 29.516527] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 29.516537] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 29.516548] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 29.516561] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 29.516572] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 29.516582] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 29.516592] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 29.516602] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 29.516614] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 29.516628] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 29.516644] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 29.516656] [WMT-LIB][W]wmt_lib_hw_state_show:WMT_OPID_HW_STATE_SHOW failed
[ 30.091602] br0: port 1(eth1) entered forwarding state
[ 30.091671] br0: port 2(eth0) entered forwarding state
[ 31.511696] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(11), show wmtd_thread stack!
[ 31.526371] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 31.526391] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 31.526406] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 31.526422] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 31.526434] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 31.526445] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 31.526455] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 31.526466] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 31.526476] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 31.526487] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 31.526502] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 31.526518] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 31.526529] [WMT-LIB][W]wmt_lib_hw_rst:WMT_OPID_HW_RST failed
[ 31.526538] [WMT-LIB][E]wmt_lib_cmb_rst(1674):[whole chip reset] fail at wmt_lib_hw_rst!
[ 33.531667] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(19), show wmtd_thread stack!
[ 33.546432] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 33.546453] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 33.546467] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 33.546481] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 33.546493] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 33.546504] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 33.546514] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 33.546524] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 33.546534] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 33.546545] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 33.546560] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 33.546576] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 33.546589] [WMT-LIB][W]wmt_lib_hw_state_show:WMT_OPID_HW_STATE_SHOW failed
[ 35.493761] [WDK]: kick Ex WDT
[ 35.494368] [WDK]: kick Ex WDT
[ 35.494519] [WDK]: kick Ex WDT
[ 35.496202] [WDK]: kick Ex WDT
[ 35.496352] [WDK]: kick Ex WDT
[ 35.496536] [WDK]: kick Ex WDT
[ 35.496686] [WDK]: kick Ex WDT
[ 35.496900] [WDK]: kick Ex WDT
[ 35.497053] [WDK]: kick Ex WDT
[ 35.497206] [WDK]: kick Ex WDT
[ 35.497390] [WDK]: kick Ex WDT
[ 35.497540] [WDK]: kick Ex WDT
[ 35.541696] [WMT-LIB][E]wmt_lib_put_act_op(1056):wait completion timeout, opId(11), show wmtd_thread stack!
[ 35.551670] [<c0ad23f0>] (__schedule) from [<c0ad28c0>] (schedule+0x50/0xa8)
[ 35.551689] [<c0ad28c0>] (schedule) from [<c0ad574c>] (schedule_timeout+0x144/0x244)
[ 35.551702] [<c0ad574c>] (schedule_timeout) from [<c0700454>] (wmt_dev_rx_timeout+0x154/0x1b0)
[ 35.551716] [<c0700454>] (wmt_dev_rx_timeout) from [<c06e4e9c>] (wmt_ctrl_rx+0x180/0x294)
[ 35.551728] [<c06e4e9c>] (wmt_ctrl_rx) from [<c06e5824>] (wmt_ctrl+0x44/0xc0)
[ 35.551738] [<c06e5824>] (wmt_ctrl) from [<c06e0c20>] (wmt_core_rx+0x34/0x88)
[ 35.551748] [<c06e0c20>] (wmt_core_rx) from [<c06e2334>] (opfunc_pwr_sv+0x228/0x6dc)
[ 35.551758] [<c06e2334>] (opfunc_pwr_sv) from [<c06e1ca0>] (wmt_core_opid_handler+0x34/0x54)
[ 35.551767] [<c06e1ca0>] (wmt_core_opid_handler) from [<c06e1cec>] (wmt_core_opid+0x2c/0x6c)
[ 35.551779] [<c06e1cec>] (wmt_core_opid) from [<c06eb044>] (wmtd_thread+0x1a0/0x254)
[ 35.551793] [<c06eb044>] (wmtd_thread) from [<c0053dac>] (kthread+0x108/0x120)
[ 35.551808] [<c0053dac>] (kthread) from [<c000fd38>] (ret_from_fork+0x14/0x3c)
[ 35.551819] [WMT-LIB][W]wmt_lib_hw_rst:WMT_OPID_HW_RST failed
[ 35.551827] [WMT-LIB][E]wmt_lib_cmb_rst(1674):[whole chip reset] fail at wmt_lib_hw_rst!
I get the above logs many times (almost one each minute?), sometimes it’s followed by the following log:
[ 591.267678] [WMT-LIB][W]wmt_lib_hw_state_show:WMT_OPID_HW_STATE_SHOW failed
[ 592.591955] [WMT-DEV][E]wmt_dev_rx_timeout(1430):gRxCount != 0 (-1), reset it!
[ 592.664334] [WMT-CTRL][E]wmt_ctrl_rx(263):wmt_dev_rx_timeout: timeout,jiffies(29265),timeoutvalue(20000)
[ 592.678873] [WMT-CORE][E]wmt_core_rx(346):WMT-CORE: wmt_core_ctrl failed: WMT_CTRL_RX, iRet:-1
[ 592.692499] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 348, (0)
[ 592.705570] [WMT-CORE][E]opfunc_pwr_sv(1269):wmt_core: read WAKEUP_EVT fail(-1) len(0, 6)
[ 592.713707] [WMT-CTRL][E]wmt_ctrl_evt_parser(969):parser wmt evt from BTIF buf fail(0)
[ 592.731869] [WMT-CORE][E]wmt_core_ctrl(500):WMT-CORE: wmt_core_ctrl failed: id(29), type(2), value(0) iRet:(-1)
[ 592.747062] drivers/misc/mediatek/connectivity/common/conn_soc/core/wmt_core.c, 501, (0)
[ 592.760289] [WMT-CTRL][W]wmt_ctrl_evt_err_trg_assert:wmt-ctrl:drv_type(4),reason(34)
[ 592.760310] [STP-PSM] [E]_stp_psm_notify_stp(1007):ERROR! Action = WAKEUP, ACT state, the case should not happens
[ 592.775826] [STP-PSM] [E]_stp_psm_notify_stp(1008):ERROR! state = 0, flag = 40
[ 592.793488] [WMT-LIB][W]wmtd_thread:opid (7) failed, iRet(-1)
[ 592.793510] [WMT-CORE][W]wmt_core_dump_func_state:[BE HW RST]status(b:0 f:0 g:0 w:2 lpbk:0 coredump:0 wmt:2 stp:0)
[ 592.793522] [WMT-FUNC][W]wmt_func_wifi_off:WMT-FUNC: wmt wlan func on before wlan remove
[ 592.793530] [MTK-WIFI] register_set_p2p_mode_handler: (pid 489) register set p2p mode handler (null)
[ 592.981555] [WMT-FUNC][W]wmt_func_wifi_off:WMT-FUNC: wmt call wlan remove ok
[ 593.042226] vcn18: mode operation not allowed
[ 593.115297] vcn18: mode operation not allowed
[ 593.129054] [WMT-CONSYS-HW][E]mtk_wcn_consys_hw_reg_ctrl(292):Read CONSYS chipId(0xfffff093)
[ 593.211423] [WMT-CORE][W]opfunc_hw_rst:WMT-CORE: -->[HW RST] ok
[ 593.216702] [WMT-CORE][W]wmt_core_dump_func_state:[AF HW RST]status(b:0 f:0 g:0 w:0 lpbk:0 coredump:0 wmt:1 stp:0)
[ 593.216868] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6620.defAnt'.
[ 593.291907] [WMT-CONF][W]wmt_conf_parse:parse fail (mt6620.defAnt, mt6620_ant_m3.cfg, -1)
[ 593.292114] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6628.defAnt'.
[ 593.304472] [WMT-CONF][W]wmt_conf_parse:parse fail (mt6628.defAnt, mt6628_ant_m1.cfg, -1)
[ 593.304487] [WMT-CONF][E]wmt_conf_parse_pair(323):unknown field 'mt6630.defAnt'.
[ 593.316597] [WMT-CONF][W]wmt_conf_parse:parse fail (mt6630.defAnt, mt6630_ant_m1.cfg, -1)
[ 593.318476] [WMT-IC][W]mtk_wcn_soc_ver_check:0x7623: read hw_ver (hw version) (0x8a00)
[ 593.319373] [WMT-IC][W]mtk_wcn_soc_ver_check:0x7623: read fw_ver (rom version) (0x8a00)
[ 593.319386] [WMT-IC][W]mtk_wcn_soc_ver_check:0x7623: ic info: SOC_CONSYS.E1 (0x8a00/0x8a00, WMTHWVER:0, patch_ext:_e1)
[ 593.395408] [WMT-IC][W]mtk_wcn_soc_patch_dwn:wmt_core: patch dwn:0 frag(51, 268) ok
[ 593.568587] [WMT-IC][W]mtk_wcn_soc_patch_dwn:wmt_core: patch dwn:0 frag(114, 52) ok
[ 593.893784] [WMT-IC][W]mtk_wcn_soc_sw_init:co-clock disabled.
[ 593.895192] [STP] mtk_wcn_stp_psm_enable:[W] STP Not Ready, Dont do Sleep/Wakeup
[ 593.895658] [STP-BTM] [W]_stp_btm_put_op: RB_FULL(0xc11333b8) 64 ,rFreeOpQ = c11333b8, rActiveOpQ = c11334dc
[ 593.895962] [MTK-WIFI] wifi_reset_end: WIFI state recovering...
[ 593.896373] [WMT-FUNC][W]wmt_func_wifi_on:WMT-FUNC: wmt wlan func on before wlan probe
[ 594.934076] [MTK-WIFI] register_set_p2p_mode_handler: (pid 489) register set p2p mode handler c07217a4
[ 594.934107] [WMT-FUNC][W]wmt_func_wifi_on:WMT-FUNC: wmt call wlan probe ok
[ 594.934120] [WMT-CORE][W]wmt_core_dump_func_state:[AF FUNC ON]status(b:0 f:0 g:0 w:2 lpbk:0 coredump:0 wmt:2 stp:0)
[ 594.934195] [WMT-EXP][W]mtk_wcn_wmt_func_ctrl:OPID(3) type(3) ok
[ 594.934205] [MTK-WIFI] wifi_reset_end: WMT turn on WIFI success!
[ 594.935364] [MTK-WIFI] wifi_reset_end: Set wlan mode 1