Firmware build information:
I reproduced the issue again with:
iwpriv rax3 get_mac_table
Result:
rax3 get_mac_table:
Segmentation fault
Immediately afterwards I ran:
dmesg | tail -n 30
There does not appear to be any new kernel or MediaTek Wi-Fi driver error associated with the segmentation fault. The most recent messages in dmesg are normal Wi-Fi/mesh events and no ioctl fault, kernel exception, or driver crash is reported.
This therefore appears to be limited to the iwpriv userspace process rather than causing a driver or kernel fault.
I also tested:
iwpriv rax3 get_ba_table
This does not crash, but only returns:
rax3 get_ba_table:B
Running dmesg | tail -n 30 immediately afterwards also produces no new related kernel or driver messages.
For reference, iwinfo rax3 assoclist continues to work normally and correctly displays the connected Beryl AX mesh peer.
root@GL-MT6000:~# dmesg | tail -n 30
[ 9040.905268]
[ 9046.094827] 7986@C15L1,PMF_MlmeSAQueryReq() 140: [PMF] -- SAQueryTimer
[ 9047.096720] 7986@C01L2,wifi_sys_disconn_act() 1002: wdev_idx=3
[ 9047.102932] 7986@C08L3,hw_ctrl_flow_v2_disconnt_act() 172: wdev_idx=3
[ 9047.110074] 7986@C13L2,MacTableDeleteEntry() 1942: Del Sta:3c:e9:f7:42:e3:d4
[ 9246.444909] 7986@C15L1,PMF_MlmeSAQueryReq() 140: [PMF] -- SAQueryTimer
[ 9247.446919] 7986@C01L2,wifi_sys_disconn_act() 1002: wdev_idx=6
[ 9247.453098] 7986@C08L3,hw_ctrl_flow_v2_disconnt_act() 172: wdev_idx=6
[ 9247.460255] 7986@C13L2,MacTableDeleteEntry() 1942: Del Sta:42:80:e1:9d:55:ae
[ 9248.634578] entrytb_aid_aquire(): found non-occupied aid:8, allocated from:8
[ 9248.641644] 7986@C13L2,MacTableInsertEntry() 1577: New Sta:42:80:e1:9d:55:ae
[ 9248.669744] 7986@C08L3,ap_cmm_peer_assoc_req_action() 1723: Recv Assoc from STA - 42:80:e1:9d:55:ae
[ 9248.678904] 7986@C01L2,wifi_sys_disconn_act() 1002: wdev_idx=6
[ 9248.685463] 7986@C08L3,ap_cmm_peer_assoc_req_action() 2329: ASSOC Send ASSOC response (Status=0)...
[ 9248.694657] 7986@C01L3,wifi_sys_conn_act() 1115: wdev idx = 6
[ 9248.700860] 7986@C08L3,hw_ctrl_flow_v2_connt_act() 215: wdev_idx=6
[ 9248.835431] 7986@C15L3,WPABuildPairMsg1() 5309: <=== send Msg1 of 4-way
[ 9248.845772] 7986@C15L3,PeerPairMsg2Action() 6302: ===>Receive msg 2
[ 9248.852679] 7986@C15L3,WPABuildPairMsg3() 5594: <=== send Msg3 of 4-way
[ 9248.890574] 7986@C15L3,PeerPairMsg4Action() 6733: ===>Receive msg 4
[ 9248.903055] 7986@C15L2,PeerPairMsg4Action() 7104: AP SETKEYS DONE(rax3) - AKM Map=WPA3PSK, PairwiseCipher=AES, GroupCipher=AES, wcid=256 from 42:80:e1:9d:55:a e
[ 9248.903055]
[ 9255.662754] br-lan: port 8(rax3) received tcn bpdu
[ 9255.667554] br-lan: topology change detected, propagating
[ 9263.120984] br-lan: port 8(rax3) received tcn bpdu
[ 9263.125779] br-lan: topology change detected, propagating
[ 9281.567012] 7986@C01L2,wifi_sys_disconn_act() 1002: wdev_idx=0
[ 9281.573511] 7986@C08L3,hw_ctrl_flow_v2_disconnt_act() 172: wdev_idx=0
[ 9281.584578] 7986@C13L2,MacTableDeleteEntry() 1942: Del Sta:ac:d5:64:bb:12:00
[ 9641.571805] WiFi@C15L1,RTMPDeletePMKIDCache() 1311: IF(3), del PMKID CacheIdx =0