Belkin RT3200/Linksys E8450 WiFi AX discussion

I was about to suggest that to you, but good that you managed yourself. Let me explain what happened:

By flashing the non-UBI build, the OS then could not find its root filesystem and would crash during boot.
When ever the OS crashes the details are recorded in RAM (pstore/ramoops) and the device reboots. At the next boot the bootloader checks that place in RAM and finds the recorded data of the crash, which triggers it to boot into recovery mode. You have then probably already rectified your mistake and flashed the UBI build of 22.03.5, however, the data of the recorded crash persisted in RAM until you turned off the router.

5 Likes

Wondering if anyone is experiencing router hang with the latest master builds? My E8450 hung twice, roughly 1 week apart. Happened again an hour ago. This time, I access the serial console to check what's wrong. Although the router is running, it appears that mt7915e driver hung.

"ifconfig" resulted in mt7915e reporting timeouts.

My E8450 is running my own master build from two weeks ago, if it makes any difference. Hardware offload and "wed" are enabled, with bridge vlan filtering.

Previous builds works great. Looks like the latest mt76/mt7915e driver has introduced issues?

Edit: Ethernet doesn't work as well when this happens. Forgot to look at dmesg output as I needed to get the network up and running fast.

1 Like

Do you have WED enabled by any chance?

Yes, I have WED enabled with hardware offloading.

Turns out I may not be the first and this issue may have been simmering for a while for mt7915e. Been reading Github issues for openwrt/mt76 and what was discussed seem like what I'm seeing from the serial console log.

My older builds seems stable, so now considering whether to revert back. Let see if I will encounter the issue for the third time.

Noticed the same, mine hung when I opened luci and was not reachable with ethernet or wireless.

No acceleration, WED, or vlan filtering

1 Like

They have been trying hard to debug this over at this thread.

3 Likes

I had thought this is due to my openclash ipk...Certainly felt 22.03.5 is not as smooth as 22.03.4 due to this experience. OR my experience could be irrelevant, since I wouldn't know how to produce the logs, etc. But really, the openclash thingy seems to disconnect every now and then on its own under 22.03.5

Sorry for the delay. I had to turn off twice. Can't remember what I did exactly. But i was fretting and spent several hours on this upgrade. I will watch out for build 22.03.6 next time. Wish the Openclash ipk can be part of the attended sysupgrade, but I guess it would never make the cut. Just in case people wonder what openclash is. Please refer to https://github.com/vernesong/OpenClash/releases. Many thanks again. Other than openclash subscription seems to have disconnected on its own under 22.03.5 every now and then, I guess 22.03.5 is better than .4.

Is anyone seeing this in 22.03.5? I have an E8450 set up as a dumb AP using WDS to connect to another E8450.

Tue May  9 22:06:54 2023 kern.info kernel: [854000.783876] mt7530 mdio-bus:00 lan1: Link is Down
Tue May  9 22:06:54 2023 kern.info kernel: [854000.789065] br-lan: port 1(lan1) entered disabled state
Tue May  9 22:06:54 2023 daemon.notice netifd: Network device 'lan1' link is down
Tue May  9 22:06:58 2023 kern.info kernel: [854004.060999] mt7530 mdio-bus:00 lan1: Link is Up - 1Gbps/Full - flow control rx/tx
Tue May  9 22:06:58 2023 kern.info kernel: [854004.068691] br-lan: port 1(lan1) entered blocking state
Tue May  9 22:06:58 2023 kern.info kernel: [854004.074068] br-lan: port 1(lan1) entered forwarding state
Tue May  9 22:06:58 2023 daemon.notice netifd: Network device 'lan1' link is up

Is anyone seeing this in 22.03.5?

Yes, pretty much byte for byte except mine is 100Mbps/Full, once or twice a day, usually middle of the night when my backups run.

Yes, I also see this:

daemon.notice netifd: Network device 'lan1' link is down

Why is the connection lost? Do you have logs from the other side of the connection?

I see the link down messages too for my E8450, but that's because my TV is connected to it, and I see this when it is in standby mode. My TV seems to wake up periodically and sleep again. I see the link up/down messages in system log.

Yes, this may be expected behavior, when LAN devices go down and come up again.

I would like to know if ethernet links go down unexpected, especially when the WAN or LAN uplink port goes down. Is it a problem

  • of the other side of the connection
  • too long or bad isolated cable
  • E8450 hardware problem
  • or driver problem?

When unexpected LAN connection drops happen more often and disturb services we need more debug logs.

When you see these logs in your router, do you know if the device connected to that LAN port is down or up?

AFAIK E8450 do not bring down any ports. It only senses whether the other end connected to its port is up or down. When it boots, OpenWrt will bring up all ports as configured by user. After that it doesn't actively managed the ports.

Do you see any weird behaviour (e.g. no traffic flowing) for your router?

The device is up in my case and I can't see the cause for the disconnect.

I have no traffic flow log since it's only a few seconds.

I can also confirm that latest master builds are causing the wireless interfaces to become inaccessible after a while. Sometimes very soon after updating the firmware, but sometimes after several days of continuous working without issues. The device is used as a classic router (PPPoE WAN connection) but I am using only wireless devices so I enabled WED. After the latest event I was able to connect to the Ethernet interface and downloaded the log:

[300123.965932] IPv6: ADDRCONF(NETDEV_CHANGE): wl1-ap0: link becomes ready
[324943.103266] mt7915e 0000:01:00.0: Message 00002ced (seq 14) timeout
[324943.109684] mt7915e 0000:01:00.0: Message 00002ced (seq 15) timeout
[324950.450415] ------------[ cut here ]------------
[324950.455144] Timeout waiting for MCU reset state 8
[324950.460018] WARNING: CPU: 0 PID: 5925 at mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324950.467810] Modules linked in: ksmbd asn1_decoder pppoe ppp_async wireguard pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 libchacha20poly1305 ipt_REJECT chacha_neon cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc sch_cake poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_counter nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat cls_flower act_vlan ntfs3 cls_bpf act_bpf sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow
[324950.468352]  cls_basic act_skbedit act_mirred act_gact xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ifb ip6_udp_tunnel udp_tunnel oid_registry nls_utf8 nls_iso8859_1 nls_cp437 nls_cp1250 seqiv md5 md4 des_generic libdes usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug vfat fat exfat usbcore usb_common
[324950.614236] CPU: 0 PID: 5925 Comm: kworker/u4:5 Tainted: G S                5.15.111 #0
[324950.622321] Hardware name: Linksys E8450 (UBI) (DT)
[324950.627278] Workqueue: mt76 mt7915_mac_reset_work [mt7915e]
[324950.632946] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[324950.639988] pc : mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324950.645646] lr : mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324950.651308] sp : ffffffc00befbc50
[324950.654700] x29: ffffffc00befbc50 x28: ffffff8003434968 x27: ffffff80034325d0
[324950.661921] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8003432020
[324950.669138] x23: 0000000000000000 x22: ffffff8003436020 x21: 0000000000000008
[324950.676356] x20: ffffff8003439d88 x19: 0000000000000000 x18: ffffffc008aca260
[324950.683573] x17: 0000000000000000 x16: 0000000000000000 x15: 000000000000050a
[324950.690791] x14: 00000000000001ae x13: ffffffc00befb978 x12: ffffffc008b22260
[324950.698009] x11: 4d20726f6620676e x10: ffffffc008b22260 x9 : 0000000000000000
[324950.705227] x8 : ffffffc008aca210 x7 : ffffffc008aca260 x6 : 0000000000000001
[324950.712444] x5 : ffffff801fea36f8 x4 : 0000000000000000 x3 : 0000000000000027
[324950.719662] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 0000000000000025
[324950.726880] Call trace:
[324950.729404]  mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324950.734714]  mt7915_mac_reset_work+0x218/0xd0c [mt7915e]
[324950.740110]  process_one_work+0x210/0x3b0
[324950.744203]  worker_thread+0x178/0x4d4
[324950.748031]  kthread+0x11c/0x130
[324950.751343]  ret_from_fork+0x10/0x20
[324950.755000] ---[ end trace d792c91ee858d6f3 ]---
[324981.169996] ------------[ cut here ]------------
[324981.174724] Timeout waiting for MCU reset state 20
[324981.179641] WARNING: CPU: 0 PID: 5925 at mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324981.187401] Modules linked in: ksmbd asn1_decoder pppoe ppp_async wireguard pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 libchacha20poly1305 ipt_REJECT chacha_neon cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc sch_cake poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_counter nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat cls_flower act_vlan ntfs3 cls_bpf act_bpf sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow
[324981.187592]  cls_basic act_skbedit act_mirred act_gact xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ifb ip6_udp_tunnel udp_tunnel oid_registry nls_utf8 nls_iso8859_1 nls_cp437 nls_cp1250 seqiv md5 md4 des_generic libdes usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug vfat fat exfat usbcore usb_common
[324981.333464] CPU: 0 PID: 5925 Comm: kworker/u4:5 Tainted: G S      W         5.15.111 #0
[324981.341549] Hardware name: Linksys E8450 (UBI) (DT)
[324981.346506] Workqueue: mt76 mt7915_mac_reset_work [mt7915e]
[324981.352170] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[324981.359211] pc : mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324981.364868] lr : mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324981.370524] sp : ffffffc00befbc50
[324981.373915] x29: ffffffc00befbc50 x28: ffffff8003434968 x27: ffffff80034325d0
[324981.381133] x26: 0000000000000000 x25: 0000000000000000 x24: ffffff8003432020
[324981.388353] x23: 0000000000000000 x22: ffffff8003436020 x21: 0000000000000020
[324981.395572] x20: ffffff8003439d88 x19: 0000000000000000 x18: ffffffc008aca260
[324981.402789] x17: 0000000000003e80 x16: ffffffc008e7f000 x15: 0000000000000564
[324981.410007] x14: 00000000000001cc x13: ffffffc00befb978 x12: ffffffc008b22260
[324981.417224] x11: 434d20726f662067 x10: ffffffc008b22260 x9 : 0000000000000000
[324981.424442] x8 : ffffffc008aca210 x7 : ffffffc008aca260 x6 : 0000000000000001
[324981.431661] x5 : ffffff801fea36f8 x4 : 0000000000000000 x3 : 0000000000000027
[324981.438878] x2 : 0000000000000027 x1 : 0000000000000023 x0 : 0000000000000026
[324981.446096] Call trace:
[324981.448619]  mt7915_mcu_rf_regval+0x570/0x700 [mt7915e]
[324981.453933]  mt7915_mac_reset_work+0x344/0xd0c [mt7915e]
[324981.459329]  process_one_work+0x210/0x3b0
[324981.463422]  worker_thread+0x178/0x4d4
[324981.467251]  kthread+0x11c/0x130
[324981.470562]  ret_from_fork+0x10/0x20
[324981.474219] ---[ end trace d792c91ee858d6f4 ]---
[324993.330189] mt7915e 0000:01:00.0: Message 00002ced (seq 1) timeout
[325013.809600] mt7915e 0000:01:00.0: Message 000026ed (seq 2) timeout
[325034.289338] mt7915e 0000:01:00.0: Message 00005aed (seq 3) timeout
[325054.769087] mt7915e 0000:01:00.0: Message 00002ced (seq 4) timeout
[325075.248987] mt7915e 0000:01:00.0: Message 000025ed (seq 5) timeout
[325075.255416] ------------[ cut here ]------------
[325075.260126] WARNING: CPU: 1 PID: 6543 at ___ieee80211_stop_tx_ba_session+0x34c/0x3b0 [mac80211]
[325075.269033] Modules linked in: ksmbd asn1_decoder pppoe ppp_async wireguard pppox ppp_generic nft_redir nft_nat nft_masq nft_flow_offload nft_fib_inet nft_ct nft_chain_nat nf_nat nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet nf_flow_table nf_conntrack_netlink nf_conntrack mt7915e mt7615e mt7615_common mt76_connac_lib mt76 mac80211 libchacha20poly1305 ipt_REJECT chacha_neon cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc sch_cake poly1305_neon nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_quota nft_objref nft_numgen nft_log nft_limit nft_hash nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_counter nf_tables nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 libcurve25519_generic libcrc32c libchacha iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat cls_flower act_vlan ntfs3 cls_bpf act_bpf sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow
[325075.269583]  cls_basic act_skbedit act_mirred act_gact xt_set x_tables ip_set_list_set ip_set_hash_netportnet ip_set_hash_netport ip_set_hash_netnet ip_set_hash_netiface ip_set_hash_net ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ipmac ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ifb ip6_udp_tunnel udp_tunnel oid_registry nls_utf8 nls_iso8859_1 nls_cp437 nls_cp1250 seqiv md5 md4 des_generic libdes usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug vfat fat exfat usbcore usb_common
[325075.415690] CPU: 1 PID: 6543 Comm: kworker/u4:4 Tainted: G S      W         5.15.111 #0
[325075.423790] Hardware name: Linksys E8450 (UBI) (DT)
[325075.428756] Workqueue: phy1 ieee80211_ba_session_work [mac80211]
[325075.434954] pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[325075.442013] pc : ___ieee80211_stop_tx_ba_session+0x34c/0x3b0 [mac80211]
[325075.448793] lr : ___ieee80211_stop_tx_ba_session+0x214/0x3b0 [mac80211]
[325075.455570] sp : ffffffc00c733c80
[325075.458970] x29: ffffffc00c733c80 x28: ffffffc008b8d000 x27: 0000000000000001
[325075.466214] x26: ffffff80063cd080 x25: ffffff8003430880 x24: ffffffc008b8d000
[325075.473457] x23: ffffffc000cded48 x22: ffffff8004d7a0e8 x21: 0000000000000001
[325075.480698] x20: ffffff8007c81300 x19: ffffff8004d78000 x18: ffffffc008aca260
[325075.487940] x17: 0000000000000000 x16: 0000000000000000 x15: 00000000000005c7
[325075.495181] x14: 00000000000001ed x13: 0000000000000000 x12: ffffffc008817678
[325075.502422] x11: 000001902e0195ff x10: ffffff8000960c40 x9 : 0000000000000003
[325075.509663] x8 : 00000000005e9980 x7 : 0000000000399800 x6 : 0000000000000001
[325075.516903] x5 : 0000000000000000 x4 : ffffff801feb91c0 x3 : 0000000000000000
[325075.524143] x2 : 0000000000000001 x1 : 0000000000000002 x0 : 00000000ffffff92
[325075.531384] Call trace:
[325075.533918]  ___ieee80211_stop_tx_ba_session+0x34c/0x3b0 [mac80211]
[325075.540353]  ieee80211_ba_session_work+0x4e8/0x510 [mac80211]
[325075.546266]  process_one_work+0x210/0x3b0
[325075.550375]  worker_thread+0x178/0x4d4
[325075.554217]  kthread+0x11c/0x130
[325075.557546]  ret_from_fork+0x10/0x20
[325075.561217] ---[ end trace d792c91ee858d6f5 ]---
[325095.728584] mt7915e 0000:01:00.0: Message 00002ced (seq 6) timeout
[325116.208332] mt7915e 0000:01:00.0: Message 0000aded (seq 7) timeout
[325136.688381] mt7915e 0000:01:00.0: Message 00005aed (seq 8) timeout
[325157.167825] mt7915e 0000:01:00.0: Message 00002ced (seq 9) timeout
[325170.419768] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[325177.539472] mt7530 mdio-bus:00 lan4: Link is Down
[325177.647574] mt7915e 0000:01:00.0: Message 0000aded (seq 10) timeout
[325179.978721] mt7530 mdio-bus:00 lan4: Link is Up - 1Gbps/Full - flow control rx/tx
[325198.127330] mt7915e 0000:01:00.0: Message 00005aed (seq 11) timeout
[325218.607075] mt7915e 0000:01:00.0: Message 00002ced (seq 12) timeout
[325239.086828] mt7915e 0000:01:00.0: Message 0000aded (seq 13) timeout
[325259.566583] mt7915e 0000:01:00.0: Message 00005aed (seq 14) timeout
[325280.046522] mt7915e 0000:01:00.0: Message 00002ced (seq 15) timeout
[325300.526071] mt7915e 0000:01:00.0: Message 0000aded (seq 1) timeout
[325321.005816] mt7915e 0000:01:00.0: Message 00005aed (seq 2) timeout
[325321.013059] br-lan: port 4(lan4) entered blocking state
[325321.018466] br-lan: port 4(lan4) entered forwarding state
[325341.485565] mt7915e 0000:01:00.0: Message 00002ced (seq 3) timeout
[325361.965293] mt7915e 0000:01:00.0: Message 000026ed (seq 4) timeout
[325382.445053] mt7915e 0000:01:00.0: Message 00002ced (seq 5) timeout
[325402.924824] mt7915e 0000:01:00.0: Message 00005aed (seq 6) timeout

Latest messages are during my Ethernet connection for debugging the router, but I left them to see the subsequent timeouts.
I also remember that I've tested a more recent mt76 build than the one used until yesterday by openwrt and noticed that WED was not active. I saw now that they recently updated the mt76 build, will test soon.

1 Like

Well, my E8450 is happily purring away for more than 10 days now. I've setup a cronjob to detect issues and force a kernel panic so that I can capture the kernel logs. Will know if mine is the same as yours once I get my hands on the logs.

My problem seems to be an old one, resurrected: https://github.com/openwrt/mt76/issues/690

Oh no, my fears were confirmed, with latest mt76 wed is not working, router goes up to 85% CPU usage and the wireless client download speed is lower than before, not even reaching 700Mbps... I have several entries listed in /sys/kernel/debug/ppe0/entries but /sys/kernel/debug/ppe0/bind is empty. What a disappointment :frowning_face:

1 Like

Good news, I've found the cause, this commit: wifi: mt76: mt7915 add tc offloading support. After reverting the changes, wed is back: 30% CPU usage at over 800Mbps. Here is the reverting patch if needed:

--- a/mt7915/init.c
+++ b/mt7915/init.c
@@ -346,9 +346,6 @@ mt7915_init_wiphy(struct mt7915_phy *phy)
 	hw->max_tx_aggregation_subframes = IEEE80211_MAX_AMPDU_BUF_HE;
 	hw->netdev_features = NETIF_F_RXCSUM;
 
-	if (mtk_wed_device_active(&mdev->mmio.wed))
-		hw->netdev_features |= NETIF_F_HW_TC;
-
 	hw->radiotap_timestamp.units_pos =
 		IEEE80211_RADIOTAP_TIMESTAMP_UNIT_US;
 
--- a/mt7915/main.c
+++ b/mt7915/main.c
@@ -1514,20 +1514,6 @@ mt7915_net_fill_forward_path(struct ieee80211_hw *hw,
 
 	return 0;
 }
-
-static int
-mt7915_net_setup_tc(struct ieee80211_hw *hw, struct ieee80211_vif *vif,
-		    struct net_device *netdev, enum tc_setup_type type,
-		    void *type_data)
-{
-	struct mt7915_dev *dev = mt7915_hw_dev(hw);
-	struct mtk_wed_device *wed = &dev->mt76.mmio.wed;
-
-	if (!mtk_wed_device_active(wed))
-		return -EOPNOTSUPP;
-
-	return mtk_wed_device_setup_tc(wed, netdev, type, type_data);
-}
 #endif
 
 const struct ieee80211_ops mt7915_ops = {
@@ -1580,6 +1566,5 @@ const struct ieee80211_ops mt7915_ops = {
 	.set_radar_background = mt7915_set_radar_background,
 #ifdef CONFIG_NET_MEDIATEK_SOC_WED
 	.net_fill_forward_path = mt7915_net_fill_forward_path,
-	.net_setup_tc = mt7915_net_setup_tc,
 #endif
 };

Save the text as something like 120-revert-mt7915-add-tc-offloading-support.patch in /package/kernel/mt76/patches and recompile.
@nbd Dear Felix, please look at your commit mentioned here, because it breaks wed acceleration on RT3200/E8450. Thanks!

3 Likes