Netgear R7800 exploration (IPQ8065, QCA9984)

Hi Hyman, following you from the beginning with WNDR3700v2 and now decided to follow also with R7800 which I bought a few days ago.
I want to thank you for the great work you are doing on this router.
I'm successfully compiling your build for R7800 LEDE snapshots and successfully upgraded the firmware from stock to LEDE without problems.
Unfortunayely having problems with leds. In fact 2ghz and 5ghz are wrongly driving the wifi on/off and wps leds instead of the rigth ones.
I read the thread and at the beginning was said that your build has a workaround for this problem, but it seems not to have worked for me. I obviously followed all steps for the building of the the compiling environment.
Can you please explain how to apply the workaround so that it will stay there each time I build a new release?
Thanks in advance for your kind help.
EDIT: I misunderstood the workaround. I realized that 2 and 5ghz leds still not being supported by current drivers.

Good that you figured it out.
Sadly the proper wifi LEDs in R7800 still can't be controlled by opensource ath10k drivers, so I use the wifi on/off and wps LEDs as the workaround to have at least some wifi activity indication.

@hnyman @mroek @tetsuo55 wonder if it fixes rx ring buffer corruption
https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/commit/?h=pending&id=f35a7f91f66af528b3ee1921de16bea31d347ab0

Interesting. Can we get this added to the master tree?

2 Likes

@Magnetron1.1
Could you post syslog output of ath10k wireless cards initialisation, maybe there are different revisions

@hnyman
Hi,i download "R7800-lede-r4751-4b3ffecf2b-20170828-1827-sqfs-sysupgrade.tar" from you dropbox. but 5G wireless still has problems.

[ 59.884126] br-lan: port 2(wlan0) entered blocking state
[ 59.889192] br-lan: port 2(wlan0) entered forwarding state
[ 1990.348762] ath10k_pci 0000:01:00.0: rx ring became corrupted: -5
[ 4939.372771] device wlan0 left promiscuous mode
[ 4939.372871] br-lan: port 2(wlan0) entered disabled state
[ 4944.432613] ath10k_pci 0000:01:00.0: failed to flush transmit queue (skip 0 ar-state 1): 0
[ 4944.473604] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
[ 4944.473649] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
[ 4944.479421] ath10k_pci 0000:01:00.0: peer-unmap-event: unknown peer id 1
[ 4944.818420] ath10k_pci 0000:01:00.0: firmware crashed! (uuid 3fb1a044-2ae6-4e78-93fc-efa57c4eb515)
[ 4944.818456] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 4944.826344] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 4944.838678] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[ 4944.844935] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 751efba1
[ 4944.857842] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 4944.877168] ath10k_pci 0000:01:00.0: failed to get memcpy hi address for firmware address 4: -16
[ 4944.877192] ath10k_pci 0000:01:00.0: failed to read firmware dump area: -16
[ 4944.885076] ath10k_pci 0000:01:00.0: Copy Engine register dump:
[ 4944.891698] ath10k_pci 0000:01:00.0: [00]: 0x0004a000 3735928559 3735928559 3735928559 3735928559
[ 4944.897665] ath10k_pci 0000:01:00.0: [01]: 0x0004a400 3735928559 3735928559 3735928559 3735928559
[ 4944.906692] ath10k_pci 0000:01:00.0: [02]: 0x0004a800 3735928559 3735928559 3735928559 3735928559
[ 4944.915533] ath10k_pci 0000:01:00.0: [03]: 0x0004ac00 3735928559 3735928559 3735928559 3735928559
[ 4944.924405] ath10k_pci 0000:01:00.0: [04]: 0x0004b000 3735928559 3735928559 3735928559 3735928559
[ 4944.933247] ath10k_pci 0000:01:00.0: [05]: 0x0004b400 3735928559 3735928559 3735928559 3735928559
[ 4944.942046] ath10k_pci 0000:01:00.0: [06]: 0x0004b800 3735928559 3735928559 3735928559 3735928559
[ 4944.950960] ath10k_pci 0000:01:00.0: [07]: 0x0004bc00 3735928559 3735928559 3735928559 3735928559
[ 4944.959800] ath10k_pci 0000:01:00.0: [08]: 0x0004c000 3735928559 3735928559 3735928559 3735928559
[ 4944.968672] ath10k_pci 0000:01:00.0: [09]: 0x0004c400 3735928559 3735928559 3735928559 3735928559
[ 4944.977516] ath10k_pci 0000:01:00.0: [10]: 0x0004c800 3735928559 3735928559 3735928559 3735928559
[ 4944.986385] ath10k_pci 0000:01:00.0: [11]: 0x0004cc00 3735928559 3735928559 3735928559 3735928559
[ 4945.035173] ath10k_pci 0000:01:00.0: cannot restart a device that hasn't been started
[ 4951.251155] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 7
[ 4951.251182] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 1
[ 4951.257687] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 2
[ 4951.265217] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 8
[ 4951.272777] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 9
[ 4951.280269] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 11
[ 4951.287897] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 12
[ 4951.295426] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 14
[ 4951.303087] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 15
[ 4951.310663] ath10k_pci 0000:01:00.0: received tx completion for invalid msdu_id: 16
[ 4951.474607] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 4951.498492] br-lan: port 2(wlan0) entered blocking state
[ 4951.498544] br-lan: port 2(wlan0) entered disabled state

@hnyman do you have buffer sizes restored in that build?
@tetsuo55 is running my build for more than 7 days without issues already, while before it has been 1-2 days till crash

@hnyman
Hi Hyman,following "R7800-lede-r4767-9adfeccd84-20170830-2114-sqfs-sysupgrade". Config 5G wireless of (option htmode 'VHT80')then carsh,but VHT40 is ok.

cat /proc/version
Linux version 4.9.45 (perus@ub1704) (gcc version 5.4.0 (LEDE GCC 5.4.0 r4767-9adfeccd84) ) #0 SMP Wed Aug 30 17:35:56 2017

cat /etc/config/wireless
onfig wifi-device 'radio0'
option type 'mac80211'
option hwmode '11a'
option path 'soc/1b500000.pci/pci0000:00/0000:00:00.0/0000:01:00.0'
option country 'CN'
option channel '44'
option htmode 'VHT80'

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'Virtual-5G'
option encryption 'psk-mixed'
option key 'xxxxxxxx'
option wps_pushbutton '0'
option macfilter 'allow'
list maclist '48:3C:0C:7F:C0:00'
list maclist '00:23:24:F8:2F:2C'
list maclist '88:70:8C:49:04:F0'
list maclist '54:25:EA:97:C4:29'

config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'soc/1b700000.pci/pci0001:00/0001:00:00.0/0001:01:00.0'
option country 'CN'
option channel '6'
option htmode 'HT40'

config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'Virtual'
option encryption 'psk-mixed'
option key 'xxxxxxxx'
option wps_pushbutton '0'
option macfilter 'allow'
list maclist 'D4:97:0B:8D:93:74'
list maclist 'A0:04:60:11:79:DA'
list maclist '88:70:8C:49:04:F0'
list maclist '48:3C:0C:7F:C0:00'
list maclist '54:25:EA:97:C4:29'
list maclist '10:0B:A9:22:4C:C4'
list maclist '8C:91:09:FA:1D:A7'

[14305.000415] br-lan: port 3(wlan0) entered blocking state
[14305.005797] br-lan: port 3(wlan0) entered forwarding state
[14315.775700] ------------[ cut here ]------------
[14315.775752] WARNING: CPU: 0 PID: 0 at net/core/dev.c:5214 net_rx_action+0x11c/0x2a8
[14315.779389] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_log_ipv4 nf_defrag_ipv4 nf_conntrack_rtsp nf_conntrack_rtcache nf_conntrack_netlink iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc_ccitt fuse sch_cake act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_tbf sch_htb sch_hfsc sch_ingress ath10k_pci ath10k_core ath mac80211
[14315.856637] cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_nat nf_conntrack ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables msdos ip_gre gre ifb sit tunnel4 ip_tunnel tun vfat fat hfsplus cifs nls_utf8 nls_iso8859_15 nls_iso8859_1 nls_cp850 nls_cp437 nls_cp1250 sha1_generic md5 md4 usb_storage leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_of_simple ohci_platform ohci_hcd phy_qcom_dwc3 ahci ehci_platform sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug ext4 jbd2 mbcache exfat crc32c_generic
[14315.943362] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.9.45 #0
[14315.943622] Hardware name: Generic DT based system
[14315.949390] [] (unwind_backtrace) from [] (show_stack+0x10/0x14)
[14315.954238] [] (show_stack) from [] (dump_stack+0x7c/0x9c)
[14315.962133] [] (dump_stack) from [] (__warn+0xbc/0xec)
[14315.969157] [] (__warn) from [] (warn_slowpath_null+0x1c/0x24)
[14315.976016] [] (warn_slowpath_null) from [] (net_rx_action+0x11c/0x2a8)
[14315.983576] [] (net_rx_action) from [] (__do_softirq+0xd0/0x204)
[14315.991817] [] (__do_softirq) from [] (irq_exit+0x94/0x104)
[14315.999810] [] (irq_exit) from [] (__handle_domain_irq+0x90/0xb4)
[14316.006835] [] (__handle_domain_irq) from [] (gic_handle_irq+0x50/0x94)
[14316.014826] [] (gic_handle_irq) from [] (__irq_svc+0x6c/0x90)
[14316.022967] Exception stack(0xc0763f60 to 0xc0763fa8)
[14316.030628] 3f60: 00000001 00000000 00000000 c021a420 00000000 c0762000 c0764fe4 00000001
[14316.035668] 3f80: c075ea30 00000000 c0763fb8 00000001 00000000 c0763fb0 c020f510 c020f514
[14316.043807] 3fa0: 60000013 ffffffff
[14316.051970] [] (__irq_svc) from [] (arch_cpu_idle+0x2c/0x38)
[14316.055273] [] (arch_cpu_idle) from [] (cpu_startup_entry+0xe8/0x198)
[14316.062912] [] (cpu_startup_entry) from [] (start_kernel+0x36c/0x3f0)
[14316.071090] ---[ end trace 19de91d94220c248 ]---
[14316.080276] ath10k_pci 0000:01:00.0: rx ring became corrupted: -5

No, r4767 build contains the rx ring fix, but not the buffer size change:

A  package/kernel/mac80211/patches/332-ath10k-fix-rx-ring-buffer-memory-leak.patch
A  package/kernel/mac80211/patches/333-ath10k-fix-spectral-scan.patch
M  package/kernel/mac80211/patches/921-ath10k_init_devices_synchronously.patch
M  package/kernel/mac80211/patches/936-ath10k-fix-otp-failure-result.patch

In my build I also have buffers restored and this PR applied


Could you please make a test build as well to verify what combo fixes it?

I've been running the r4751 rxring test build and my 5GHz still crashes after a day or two.

My logs show a bunch of different error messages like this:

Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.484949] WARNING: CPU: 0 PID: 9282 at compat-wireless-2017-01-31/net/mac80211/driver-ops.h:866 ieee80211_iter_chan_contexts_atomic+0x310/0x4b8 [mac80211]
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485232] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipThu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485489]  cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_natThu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485579] CPU: 0 PID: 9282 Comm: kworker/0:1 Tainted: G        W       4.9.44 #0
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485586] Hardware name: Generic DT based system
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485723] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485760] [<c0215670>] (unwind_backtrace) from [<c0211f1c>] (show_stack+0x10/0x14)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485787] [<c0211f1c>] (show_stack) from [<c0396ea8>] (dump_stack+0x7c/0x9c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485811] [<c0396ea8>] (dump_stack) from [<c021d860>] (__warn+0xbc/0xec)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485836] [<c021d860>] (__warn) from [<c021d934>] (warn_slowpath_null+0x1c/0x24)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.485969] [<c021d934>] (warn_slowpath_null) from [<bf35ffc8>] (ieee80211_iter_chan_contexts_atomic+0x310/0x4b8 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.486224] [<bf35ffc8>] (ieee80211_iter_chan_contexts_atomic [mac80211]) from [<bf360220>] (ieee80211_chanctx_refcount+0xb0/0xc8 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.486478] [<bf360220>] (ieee80211_chanctx_refcount [mac80211]) from [<bf361980>] (ieee80211_vif_unreserve_chanctx+0x908/0x924 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.486731] [<bf361980>] (ieee80211_vif_unreserve_chanctx [mac80211]) from [<bf36200c>] (ieee80211_vif_release_channel+0x34/0x58 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.486985] [<bf36200c>] (ieee80211_vif_release_channel [mac80211]) from [<bf34b28c>] (ieee80211_stop_ap+0x1d8/0x1f8 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487192] [<bf34b28c>] (ieee80211_stop_ap [mac80211]) from [<bf3170fc>] (__cfg80211_stop_ap+0x4c/0xb8 [cfg80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487340] [<bf3170fc>] (__cfg80211_stop_ap [cfg80211]) from [<bf2f58e0>] (cfg80211_leave+0x24/0x30 [cfg80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487489] [<bf2f58e0>] (cfg80211_leave [cfg80211]) from [<bf2f5ad8>] (cfg80211_netdev_notifier_call+0x1ec/0x4ec [cfg80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487585] [<bf2f5ad8>] (cfg80211_netdev_notifier_call [cfg80211]) from [<c0236fb4>] (notifier_call_chain+0x40/0x68)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487609] [<c0236fb4>] (notifier_call_chain) from [<c023705c>] (raw_notifier_call_chain+0x14/0x1c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487639] [<c023705c>] (raw_notifier_call_chain) from [<c04f3d64>] (call_netdevice_notifiers+0xc/0x14)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487667] [<c04f3d64>] (call_netdevice_notifiers) from [<c04f3ea8>] (__dev_close_many+0x48/0xb8)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487694] [<c04f3ea8>] (__dev_close_many) from [<c04f3f78>] (dev_close_many+0x60/0xd4)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487716] [<c04f3f78>] (dev_close_many) from [<c04f7ab0>] (dev_close+0x30/0x48)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.487796] [<c04f7ab0>] (dev_close) from [<bf2f5434>] (cfg80211_shutdown_all_interfaces+0x64/0xb0 [cfg80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488000] [<bf2f5434>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf35d50c>] (ieee80211_reconfig+0x32c/0x9ac [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488246] [<bf35d50c>] (ieee80211_reconfig [mac80211]) from [<bf332180>] (ieee80211_restart_work+0x84/0x98 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488382] [<bf332180>] (ieee80211_restart_work [mac80211]) from [<c0231174>] (process_one_work+0x1d4/0x310)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488405] [<c0231174>] (process_one_work) from [<c0231e68>] (worker_thread+0x2d8/0x414)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488432] [<c0231e68>] (worker_thread) from [<c0235de4>] (kthread+0xd8/0xec)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488460] [<c0235de4>] (kthread) from [<c020ec78>] (ret_from_fork+0x14/0x3c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488638] ---[ end trace 1566e06bc476a251 ]---
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162434.488679] ath10k_pci 0000:01:00.0: failed to flush transmit queue (skip 1 ar-state 0): 500
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.163345] wlan0:  Failed check-sdata-in-driver check, flags: 0x9
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.171771] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipThu Aug 31 08:49:00 2017 kern.warn kernel: [162439.247804]  cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_natThu Aug 31 08:49:00 2017 kern.warn kernel: [162439.334535] CPU: 1 PID: 16 Comm: ksoftirqd/1 Tainted: G        W       4.9.44 #0
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.334797] Hardware name: Generic DT based system
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.342292] [<c0215670>] (unwind_backtrace) from [<c0211f1c>] (show_stack+0x10/0x14)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.346972] [<c0211f1c>] (show_stack) from [<c0396ea8>] (dump_stack+0x7c/0x9c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.354956] [<c0396ea8>] (dump_stack) from [<c021d860>] (__warn+0xbc/0xec)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.362069] [<c021d860>] (__warn) from [<c021d8c4>] (warn_slowpath_fmt+0x34/0x44)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.369155] [<c021d8c4>] (warn_slowpath_fmt) from [<bf3569d0>] (ieee80211_unreserve_tid+0x4b8/0x4ec [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.376909] [<bf3569d0>] (ieee80211_unreserve_tid [mac80211]) from [<bf35808c>] (ieee80211_tx_prepare_skb+0x1dc/0x214 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.387241] [<bf35808c>] (ieee80211_tx_prepare_skb [mac80211]) from [<bf359138>] (__ieee80211_subif_start_xmit+0x848/0x89c [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.398784] [<bf359138>] (__ieee80211_subif_start_xmit [mac80211]) from [<bf3593fc>] (ieee80211_subif_start_xmit+0x270/0x280 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.410740] [<bf3593fc>] (ieee80211_subif_start_xmit [mac80211]) from [<c04fa5f0>] (dev_hard_start_xmit+0xac/0x120)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.423101] [<c04fa5f0>] (dev_hard_start_xmit) from [<c04fab60>] (__dev_queue_xmit+0x43c/0x680)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.433703] [<c04fab60>] (__dev_queue_xmit) from [<c05b19c0>] (br_dev_queue_push_xmit+0xcc/0x11c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.442464] [<c05b19c0>] (br_dev_queue_push_xmit) from [<c05b1a40>] (br_forward_finish+0x30/0x90)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.451230] [<c05b1a40>] (br_forward_finish) from [<c05b1b30>] (__br_forward+0x90/0x10c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.460167] [<c05b1b30>] (__br_forward) from [<c05b1bf0>] (deliver_clone+0x44/0x50)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.468413] [<c05b1bf0>] (deliver_clone) from [<c05b1d0c>] (maybe_deliver+0x68/0x80)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.476224] [<c05b1d0c>] (maybe_deliver) from [<c05b1ddc>] (br_flood+0xb8/0x148)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.483952] [<c05b1ddc>] (br_flood) from [<c05afa30>] (br_dev_xmit+0x23c/0x250)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.491415] [<c05afa30>] (br_dev_xmit) from [<c04fa5f0>] (dev_hard_start_xmit+0xac/0x120)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.498877] [<c04fa5f0>] (dev_hard_start_xmit) from [<c04fab60>] (__dev_queue_xmit+0x43c/0x680)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.506949] [<c04fab60>] (__dev_queue_xmit) from [<c05576bc>] (arp_xmit+0x24/0x84)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.515885] [<c05576bc>] (arp_xmit) from [<c055812c>] (arp_solicit+0x1b4/0x1d8)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.523277] [<c055812c>] (arp_solicit) from [<c0504684>] (neigh_probe+0x64/0x90)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.530918] [<c0504684>] (neigh_probe) from [<c0506ba0>] (__neigh_event_send+0x1f4/0x24c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.538291] [<c0506ba0>] (__neigh_event_send) from [<c05074b4>] (neigh_resolve_output+0x4c/0x174)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.546448] [<c05074b4>] (neigh_resolve_output) from [<c052f148>] (ip_finish_output2+0x208/0x250)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.555389] [<c052f148>] (ip_finish_output2) from [<c0530eb0>] (ip_output+0x50/0xb4)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.564326] [<c0530eb0>] (ip_output) from [<c052de0c>] (ip_forward+0x2d0/0x33c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.572223] [<c052de0c>] (ip_forward) from [<c052cb04>] (ip_rcv+0x258/0x2b8)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.579700] [<c052cb04>] (ip_rcv) from [<c04f6544>] (__netif_receive_skb_core+0x6c4/0x8fc)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.586730] [<c04f6544>] (__netif_receive_skb_core) from [<c04f8858>] (process_backlog+0x7c/0x11c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.594881] [<c04f8858>] (process_backlog) from [<c04f8f4c>] (net_rx_action+0xe8/0x2a8)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.603921] [<c04f8f4c>] (net_rx_action) from [<c0220fdc>] (__do_softirq+0xd0/0x204)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.612248] [<c0220fdc>] (__do_softirq) from [<c022113c>] (run_ksoftirqd+0x2c/0x50)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.619980] [<c022113c>] (run_ksoftirqd) from [<c0238c34>] (smpboot_thread_fn+0x164/0x17c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.627791] [<c0238c34>] (smpboot_thread_fn) from [<c0235de4>] (kthread+0xd8/0xec)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.635864] [<c0235de4>] (kthread) from [<c020ec78>] (ret_from_fork+0x14/0x3c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.643596] ---[ end trace 1566e06bc476a252 ]---
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.652646] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.656025] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.670466] ------------[ cut here ]------------
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.670574] WARNING: CPU: 0 PID: 9282 at compat-wireless-2017-01-31/net/mac80211/driver-ops.h:17 ieee80211_iter_keys_rcu+0x154/0x538 [mac80211]
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.675220] wlan0:  Failed check-sdata-in-driver check, flags: 0x9
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.688199] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipThu Aug 31 08:49:00 2017 kern.warn kernel: [162439.764031]  cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_natThu Aug 31 08:49:00 2017 kern.warn kernel: [162439.850753] CPU: 0 PID: 9282 Comm: kworker/0:1 Tainted: G        W       4.9.44 #0
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.851019] Hardware name: Generic DT based system
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.858535] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.870299] [<c0215670>] (unwind_backtrace) from [<c0211f1c>] (show_stack+0x10/0x14)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.870386] [<c0211f1c>] (show_stack) from [<c0396ea8>] (dump_stack+0x7c/0x9c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.878199] [<c0396ea8>] (dump_stack) from [<c021d860>] (__warn+0xbc/0xec)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.885311] [<c021d860>] (__warn) from [<c021d8c4>] (warn_slowpath_fmt+0x34/0x44)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.892294] [<c021d8c4>] (warn_slowpath_fmt) from [<bf35a08c>] (ieee80211_iter_keys_rcu+0x154/0x538 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.899963] [<bf35a08c>] (ieee80211_iter_keys_rcu [mac80211]) from [<bf35ad84>] (ieee80211_free_keys+0xbc/0x1d0 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.910292] [<bf35ad84>] (ieee80211_free_keys [mac80211]) from [<bf344798>] (ieee80211_del_virtual_monitor+0x590/0x7a8 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.921489] [<bf344798>] (ieee80211_del_virtual_monitor [mac80211]) from [<bf3449c0>] (ieee80211_stop+0x10/0x18 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.933011] [<bf3449c0>] (ieee80211_stop [mac80211]) from [<c04f3ef4>] (__dev_close_many+0x94/0xb8)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.944431] [<c04f3ef4>] (__dev_close_many) from [<c04f3f78>] (dev_close_many+0x60/0xd4)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.953544] [<c04f3f78>] (dev_close_many) from [<c04f7ab0>] (dev_close+0x30/0x48)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.961648] [<c04f7ab0>] (dev_close) from [<bf2f5434>] (cfg80211_shutdown_all_interfaces+0x64/0xb0 [cfg80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.969139] [<bf2f5434>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf35d50c>] (ieee80211_reconfig+0x32c/0x9ac [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.979128] [<bf35d50c>] (ieee80211_reconfig [mac80211]) from [<bf332180>] (ieee80211_restart_work+0x84/0x98 [mac80211])
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162439.991252] [<bf332180>] (ieee80211_restart_work [mac80211]) from [<c0231174>] (process_one_work+0x1d4/0x310)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.002157] [<c0231174>] (process_one_work) from [<c0231e68>] (worker_thread+0x2d8/0x414)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.012053] [<c0231e68>] (worker_thread) from [<c0235de4>] (kthread+0xd8/0xec)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.020297] [<c0235de4>] (kthread) from [<c020ec78>] (ret_from_fork+0x14/0x3c)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.027555] ---[ end trace 1566e06bc476a253 ]---
Thu Aug 31 08:49:00 2017 kern.err kernel: [162440.034836] wlan0: failed to remove key (2, ff:ff:ff:ff:ff:ff) from hardware (-5)
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.040751] ------------[ cut here ]------------
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.047452] WARNING: CPU: 0 PID: 9282 at compat-wireless-2017-01-31/net/mac80211/driver-ops.h:17 ieee80211_iter_keys_rcu+0x154/0x538 [mac80211]
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.052027] wlan0:  Failed check-sdata-in-driver check, flags: 0x9
Thu Aug 31 08:49:00 2017 kern.warn kernel: [162440.064981] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipThu Aug 31 08:49:01 2017 kern.warn kernel: [162440.140854]  cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_natThu Aug 31 08:49:01 2017 kern.warn kernel: [162440.227576] CPU: 0 PID: 9282 Comm: kworker/0:1 Tainted: G        W       4.9.44 #0
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.227841] Hardware name: Generic DT based system
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.235359] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.247118] [<c0215670>] (unwind_backtrace) from [<c0211f1c>] (show_stack+0x10/0x14)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.247209] [<c0211f1c>] (show_stack) from [<c0396ea8>] (dump_stack+0x7c/0x9c)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.255020] [<c0396ea8>] (dump_stack) from [<c021d860>] (__warn+0xbc/0xec)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.262133] [<c021d860>] (__warn) from [<c021d8c4>] (warn_slowpath_fmt+0x34/0x44)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.269116] [<c021d8c4>] (warn_slowpath_fmt) from [<bf35a08c>] (ieee80211_iter_keys_rcu+0x154/0x538 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.276784] [<bf35a08c>] (ieee80211_iter_keys_rcu [mac80211]) from [<bf35ad84>] (ieee80211_free_keys+0xbc/0x1d0 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.287117] [<bf35ad84>] (ieee80211_free_keys [mac80211]) from [<bf344798>] (ieee80211_del_virtual_monitor+0x590/0x7a8 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.298312] [<bf344798>] (ieee80211_del_virtual_monitor [mac80211]) from [<bf3449c0>] (ieee80211_stop+0x10/0x18 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.309833] [<bf3449c0>] (ieee80211_stop [mac80211]) from [<c04f3ef4>] (__dev_close_many+0x94/0xb8)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.321253] [<c04f3ef4>] (__dev_close_many) from [<c04f3f78>] (dev_close_many+0x60/0xd4)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.330367] [<c04f3f78>] (dev_close_many) from [<c04f7ab0>] (dev_close+0x30/0x48)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.338461] [<c04f7ab0>] (dev_close) from [<bf2f5434>] (cfg80211_shutdown_all_interfaces+0x64/0xb0 [cfg80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.345960] [<bf2f5434>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf35d50c>] (ieee80211_reconfig+0x32c/0x9ac [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.355950] [<bf35d50c>] (ieee80211_reconfig [mac80211]) from [<bf332180>] (ieee80211_restart_work+0x84/0x98 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.368075] [<bf332180>] (ieee80211_restart_work [mac80211]) from [<c0231174>] (process_one_work+0x1d4/0x310)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.378980] [<c0231174>] (process_one_work) from [<c0231e68>] (worker_thread+0x2d8/0x414)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.388876] [<c0231e68>] (worker_thread) from [<c0235de4>] (kthread+0xd8/0xec)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.397120] [<c0235de4>] (kthread) from [<c020ec78>] (ret_from_fork+0x14/0x3c)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.404402] ---[ end trace 1566e06bc476a254 ]---
Thu Aug 31 08:49:01 2017 kern.err kernel: [162440.411609] wlan0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-5)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.776511] ------------[ cut here ]------------
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.781356] WARNING: CPU: 0 PID: 9282 at compat-wireless-2017-01-31/net/mac80211/driver-ops.c:39 ieee80211_del_virtual_monitor+0x768/0x7a8 [mac80211]
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.786076] Modules linked in: pppoe ppp_async pptp pppox ppp_mppe ppp_generic iptable_nat ipt_REJECT ipt_MASQUERADE xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CLASSIFY usbserial slhc nf_reject_ipv4 nf_nat_rtsp nf_nat_redirect nf_nat_masquerade_ipThu Aug 31 08:49:01 2017 kern.warn kernel: [162440.869238]  cfg80211 compat ledtrig_usbport xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT ip6t_MASQUERADE nf_nat_masquerade_ipv6 ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 nf_natThu Aug 31 08:49:01 2017 kern.warn kernel: [162440.955962] CPU: 0 PID: 9282 Comm: kworker/0:1 Tainted: G        W       4.9.44 #0
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.956227] Hardware name: Generic DT based system
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.963735] Workqueue: events_freezable ieee80211_restart_work [mac80211]
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.975498] [<c0215670>] (unwind_backtrace) from [<c0211f1c>] (show_stack+0x10/0x14)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.975591] [<c0211f1c>] (show_stack) from [<c0396ea8>] (dump_stack+0x7c/0x9c)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.983406] [<c0396ea8>] (dump_stack) from [<c021d860>] (__warn+0xbc/0xec)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.990519] [<c021d860>] (__warn) from [<c021d934>] (warn_slowpath_null+0x1c/0x24)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162440.997496] [<c021d934>] (warn_slowpath_null) from [<bf344970>] (ieee80211_del_virtual_monitor+0x768/0x7a8 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.005168] [<bf344970>] (ieee80211_del_virtual_monitor [mac80211]) from [<bf3449c0>] (ieee80211_stop+0x10/0x18 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.015908] [<bf3449c0>] (ieee80211_stop [mac80211]) from [<c04f3ef4>] (__dev_close_many+0x94/0xb8)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.027331] [<c04f3ef4>] (__dev_close_many) from [<c04f3f78>] (dev_close_many+0x60/0xd4)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.036441] [<c04f3f78>] (dev_close_many) from [<c04f7ab0>] (dev_close+0x30/0x48)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.044534] [<c04f7ab0>] (dev_close) from [<bf2f5434>] (cfg80211_shutdown_all_interfaces+0x64/0xb0 [cfg80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.052032] [<bf2f5434>] (cfg80211_shutdown_all_interfaces [cfg80211]) from [<bf35d50c>] (ieee80211_reconfig+0x32c/0x9ac [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.062028] [<bf35d50c>] (ieee80211_reconfig [mac80211]) from [<bf332180>] (ieee80211_restart_work+0x84/0x98 [mac80211])
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.074149] [<bf332180>] (ieee80211_restart_work [mac80211]) from [<c0231174>] (process_one_work+0x1d4/0x310)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.085056] [<c0231174>] (process_one_work) from [<c0231e68>] (worker_thread+0x2d8/0x414)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.094950] [<c0231e68>] (worker_thread) from [<c0235de4>] (kthread+0xd8/0xec)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.103196] [<c0235de4>] (kthread) from [<c020ec78>] (ret_from_fork+0x14/0x3c)
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.110457] ---[ end trace 1566e06bc476a256 ]---
Thu Aug 31 08:49:01 2017 daemon.notice netifd: Network device 'wlan0' link is down
Thu Aug 31 08:49:01 2017 kern.info kernel: [162441.118020] br-lan: port 2(wlan0) entered disabled state
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.123167] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.128021] ath10k_pci 0001:01:00.0: SWBA overrun on vdev 0, skipped old beacon
Thu Aug 31 08:49:01 2017 daemon.err hostapd: Failed to set beacon parameters
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.160874] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request
Thu Aug 31 08:49:01 2017 kern.warn kernel: [162441.161333] ath10k_pci 0000:01:00.0: failed to send pdev bss chan info request

Having fun at the moment porting all the NSS related HW acceleration code from codeaurora, it's a long slog but I've now got most of qca-nss-ecm, the connection manager that handles offloading processing to NSS, compiling, just need to track down a few more patches that need applying.

1 Like

lede-r4773-12930fc045-20170831-rxring-buffersize-pcie-test

I made a test build that contains all three fixes under discussion:

  • this QSDK pcie fix set
  • rx ring memory leak fix
  • remove ath10k buffersize reduction patch (in order to have same buffersize as in 17.01)

The r4750 "official" build (Aug 30) and the r4723, r4767, and r4773 hnyman builds have the MAC error problem on my router. The MAC error occurred so frequently on r4773 that the web GUI was useless. Had to use TFTP to restore r3498 (4.4 kernel) and all is well again. I'm beginning to think that there may be a timing "hole" or "window of vulnerablity" when using the Atheros Wi-Fi drivers with the 4.9 kernel.

Weird enough, but I have similar issues on 2.4 ghz only - broken GUI - wrong styles and buttons (looks indeed like frames corruption), but 5ghz is perfectly fine

Please, post your ath10k init log, it could be different qca9984 revisions in the same model (for different countries?) that may require different board data files like @chunkeey suspects.

edit: @hnyman does your 3498 build includes cal -> pre-cal fix? If yes then it’s not board data after all.

Yes. My 17.01 build includes the calibration data reading fix.
But official 17.01 releases do not.

BusyBox v1.25.1 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | |
/ DE / \ | |
| _|| |) | _|
/
_/ LE \ |||/|| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (17.01-SNAPSHOT, r3498-dc8392f6a1)
________/ -----------------------------------------------------------

root@R7800RT1:~# dmesg|grep ath
[ 22.521630] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 22.521740] ath10k_pci 0000:01:00.0: enabling bus mastering
[ 22.522304] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 23.094867] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 23.094935] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 23.110276] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[ 25.419779] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 751efba1
[ 31.271638] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 31.345670] ath: EEPROM regdomain: 0x0
[ 31.345688] ath: EEPROM indicates default country code should be used
[ 31.345702] ath: doing EEPROM country->regdmn map search
[ 31.345718] ath: country maps to regdmn code: 0x3a
[ 31.345731] ath: Country alpha2 being used: US
[ 31.345742] ath: Regpair used: 0x3a
[ 31.352198] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[ 31.352326] ath10k_pci 0001:01:00.0: enabling bus mastering
[ 31.352922] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 31.532623] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 31.532658] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 31.544246] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[ 33.823970] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 751efba1
[ 39.685447] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 39.815945] ath: EEPROM regdomain: 0x0
[ 39.815966] ath: EEPROM indicates default country code should be used
[ 39.815981] ath: doing EEPROM country->regdmn map search
[ 39.816001] ath: country maps to regdmn code: 0x3a
[ 39.816016] ath: Country alpha2 being used: US
[ 39.816029] ath: Regpair used: 0x3a

===================================================================

Here's another dump using different firmware.

BusyBox v1.26.2 () built-in shell (ash)

 _________
/        /\      _    ___ ___  ___

/ LE / \ | | | | | |
/ DE / \ | |
| _|| |) | _|
/
_/ LE \ |||/|| lede-project.org
\ \ DE /
\ LE \ / -----------------------------------------------------------
\ DE \ / Reboot (SNAPSHOT, r4767-9adfeccd84)
________/ -----------------------------------------------------------

root@R7800RT1:~# dmesg|grep ath
[ 19.464311] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[ 19.464396] ath10k_pci 0000:01:00.0: enabling bus mastering
[ 19.464848] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 19.643682] ath10k_pci 0000:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0000:01:00.0.bin failed with error -2
[ 19.643732] ath10k_pci 0000:01:00.0: Falling back to user helper
[ 36.978538] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 36.978594] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 36.996727] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[ 39.282406] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 751efba1
[ 45.131241] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 45.211861] ath: EEPROM regdomain: 0x0
[ 45.211871] ath: EEPROM indicates default country code should be used
[ 45.211878] ath: doing EEPROM country->regdmn map search
[ 45.211889] ath: country maps to regdmn code: 0x3a
[ 45.211897] ath: Country alpha2 being used: US
[ 45.211904] ath: Regpair used: 0x3a
[ 45.217376] ath10k_pci 0001:01:00.0: enabling device (0140 -> 0142)
[ 45.217498] ath10k_pci 0001:01:00.0: enabling bus mastering
[ 45.218036] ath10k_pci 0001:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ 45.413744] ath10k_pci 0001:01:00.0: Direct firmware load for ath10k/pre-cal-pci-0001:01:00.0.bin failed with error -2
[ 45.413784] ath10k_pci 0001:01:00.0: Falling back to user helper
[ 45.676852] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[ 45.676895] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[ 45.691371] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.4-00082 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast crc32 f301de65
[ 47.966629] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 751efba1
[ 53.816432] ath10k_pci 0001:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 512 raw 0 hwcrypto 1
[ 53.902735] ath: EEPROM regdomain: 0x0
[ 53.902746] ath: EEPROM indicates default country code should be used
[ 53.902752] ath: doing EEPROM country->regdmn map search
[ 53.902765] ath: country maps to regdmn code: 0x3a
[ 53.902775] ath: Country alpha2 being used: US
[ 53.902783] ath: Regpair used: 0x3a

=====================================================================

I see the error -2 on DD-WRT firmwares and so far nothing horrible has happened to my routers.
Is the "user helper" loading the pre-cal data or are the Atheros drivers assuming built-in defaults?

Update 1
After searching the all-wise, all-knowing internet, I can now answer my own question.
Error -2 means the kernel could not directly find the pre-cal data and firmware files and called upon a user space helper to find them which was successful. It seems strange that the 4.9 kernel had trouble with this, but the 4.4 kernel didn't.

  • Magnetron1.1

This a great post from another thread on issues with this device when using the 4.9 kernel. I'm just bringing it over but the credit all goes to Megnetron1.1:

Following @LuisGC idea about using ethtool, I was able to overcome the MAC error problem with the r4773 build.
Install ethtool (opkg install ethtool) and experiment with the br-lan interface since it is the center point for most of the other interfaces.

First list how this interface is configured before changing anything:

root@R7800RT1:~# ethtool -k br-lan

Features for br-lan:
rx-checksumming: off [fixed]
tx-checksumming: on
	tx-checksum-ipv4: off [fixed]
	tx-checksum-ip-generic: on
	tx-checksum-ipv6: off [fixed]
	tx-checksum-fcoe-crc: off [fixed]
	tx-checksum-sctp: off [fixed]
scatter-gather: on
	tx-scatter-gather: on
	tx-scatter-gather-fraglist: off [requested on]
tcp-segmentation-offload: on
	tx-tcp-segmentation: on
	tx-tcp-ecn-segmentation: on
	tx-tcp-mangleid-segmentation: on
	tx-tcp6-segmentation: on
udp-fragmentation-offload: off [requested on]
generic-segmentation-offload: on
generic-receive-offload: on
large-receive-offload: off [fixed]
rx-vlan-offload: off [fixed]
tx-vlan-offload: on
ntuple-filters: off [fixed]
receive-hashing: off [fixed]
highdma: on
rx-vlan-filter: off [fixed]
vlan-challenged: off [fixed]
tx-lockless: on [fixed]
netns-local: on [fixed]
tx-gso-robust: off [requested on]
tx-fcoe-segmentation: off [requested on]
tx-gre-segmentation: on
tx-gre-csum-segmentation: on
tx-ipxip4-segmentation: on
tx-ipxip6-segmentation: on
tx-udp_tnl-segmentation: on
tx-udp_tnl-csum-segmentation: on
tx-gso-partial: on
tx-sctp-segmentation: off [requested on]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off [fixed]
tx-vlan-stag-hw-insert: on
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
busy-poll: off [fixed]
hw-tc-offload: off [fixed]

Notice how most of the tx settings are "on". Try setting them "off".

root@R7800RT1:~# ethtool --offload br-lan tx off

Actual changes:
tx-checksumming: off
	tx-checksum-ip-generic: off
tcp-segmentation-offload: off
	tx-tcp-segmentation: off [requested on]
	tx-tcp-ecn-segmentation: off [requested on]
	tx-tcp-mangleid-segmentation: off [requested on]
	tx-tcp6-segmentation: off [requested on]

Now re-run the "tree /" test (which fails every time for me on r4xxx builds).

root@R7800RT1:~# tree /
The entire tree is displayed followed by
12302 directories, 61309 files

Although I took a "shotgun" approach, so far these changes haven't had much impact on performance, but could possibly be refined.

Unfortunately the ethtool changes won't survive a router power-cycle or reboot.
To fix that, on LuCi go to System => Startup and in the box under Local Startup insert the ethtool syntax.

# Put your custom commands here that should be executed once
# the system init finished. By default this file does nothing.
ethtool --offload br-lan tx off
exit 0

These changes should hold unless the router's firmware is overwritten, then the ethtool will need re-installing.

That's the good news; now for the bad news which has nothing to do with ethtool.
Has anyone noticed that the r4xxx builds (4.9 kernel) have poor Wi-Fi performance? Install iperf3 (opkg install iperf3) and test with one of my octacore HP laptops configured as an iperf3 server (iperf3 -s) on the 5GHz radio. Router is still on r4773. The router antennas are 4 feet from the laptop's Wi-Fi dongle.

root@R7800RT1:~# iperf3 -c 192.168.16.121

Connecting to host 192.168.16.121, port 5201
[  5] local 192.168.16.1 port 44032 connected to 192.168.16.121 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  3.25 MBytes  27.2 Mbits/sec   45   14.1 KBytes       
[  5]   1.00-2.00   sec  3.15 MBytes  26.4 Mbits/sec   50   11.3 KBytes       
[  5]   2.00-3.00   sec  3.29 MBytes  27.6 Mbits/sec   48   29.7 KBytes       
[  5]   3.00-4.00   sec  3.76 MBytes  31.5 Mbits/sec   42   7.07 KBytes       
[  5]   4.00-5.00   sec  3.37 MBytes  28.3 Mbits/sec   49   7.07 KBytes       
[  5]   5.00-6.00   sec  2.73 MBytes  22.9 Mbits/sec   42   8.48 KBytes       
[  5]   6.00-7.00   sec  2.49 MBytes  20.9 Mbits/sec   44   7.07 KBytes       
[  5]   7.00-8.00   sec  2.86 MBytes  24.0 Mbits/sec   42   14.1 KBytes       
[  5]   8.00-9.00   sec  3.36 MBytes  28.1 Mbits/sec   46   7.07 KBytes       
[  5]   9.00-10.00  sec  2.98 MBytes  25.0 Mbits/sec   35   9.90 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  31.2 MBytes  26.2 Mbits/sec  443             sender
[  5]   0.00-10.00  sec  31.1 MBytes  26.1 Mbits/sec                  receiver

iperf Done.

Notice the low transfer and high retry count.

What tcp congestion algorithms are on this router?

root@R7800RT1:~# sysctl -a 2>/dev/null|grep congestion
net.ipv4.tcp_allowed_congestion_control = cubic reno
net.ipv4.tcp_available_congestion_control = cubic reno
net.ipv4.tcp_congestion_control = cubic

So "cubic" is the default; try "reno".

root@R7800RT1:~# iperf3 -c 192.168.16.121 -C reno

Connecting to host 192.168.16.121, port 5201
[  5] local 192.168.16.1 port 44040 connected to 192.168.16.121 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  3.99 MBytes  33.5 Mbits/sec   54   15.6 KBytes       
[  5]   1.00-2.00   sec  3.73 MBytes  31.3 Mbits/sec   49   9.90 KBytes       
[  5]   2.00-3.00   sec  3.73 MBytes  31.3 Mbits/sec   55   11.3 KBytes       
[  5]   3.00-4.00   sec  3.85 MBytes  32.3 Mbits/sec   47   11.3 KBytes       
[  5]   4.00-5.00   sec  3.36 MBytes  28.1 Mbits/sec   54   8.48 KBytes       
[  5]   5.00-6.00   sec  3.42 MBytes  28.7 Mbits/sec   52   24.0 KBytes       
[  5]   6.00-7.00   sec  3.54 MBytes  29.7 Mbits/sec   51   15.6 KBytes       
[  5]   7.00-8.00   sec  3.17 MBytes  26.6 Mbits/sec   58   2.83 KBytes       
[  5]   8.00-9.00   sec  3.79 MBytes  31.8 Mbits/sec   54   18.4 KBytes       
[  5]   9.00-10.00  sec  3.73 MBytes  31.3 Mbits/sec   50   7.07 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  36.3 MBytes  30.5 Mbits/sec  524             sender
[  5]   0.00-10.00  sec  36.1 MBytes  30.3 Mbits/sec                  receiver

iperf Done.

Higher transfer but higher retry count.

Now try a wired connection.

root@R7800RT1:~# iperf3 -c 192.168.16.196

Connecting to host 192.168.16.196, port 5201
[  5] local 192.168.16.1 port 38042 connected to 192.168.16.196 port 5201
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec   101 MBytes   847 Mbits/sec    0    595 KBytes       
[  5]   1.00-2.01   sec   110 MBytes   922 Mbits/sec    0    622 KBytes       
[  5]   2.01-3.01   sec  97.5 MBytes   813 Mbits/sec    0    822 KBytes       
[  5]   3.01-4.01   sec   101 MBytes   855 Mbits/sec    0    822 KBytes       
[  5]   4.01-5.00   sec   101 MBytes   852 Mbits/sec    0    933 KBytes       
[  5]   5.00-6.01   sec   112 MBytes   936 Mbits/sec    0    933 KBytes       
[  5]   6.01-7.00   sec   101 MBytes   855 Mbits/sec    0    984 KBytes       
[  5]   7.00-8.00   sec   100 MBytes   842 Mbits/sec    0    984 KBytes       
[  5]   8.00-9.01   sec  78.8 MBytes   654 Mbits/sec    0   1.07 MBytes       
[  5]   9.01-10.00  sec   109 MBytes   920 Mbits/sec    0   1.07 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-10.00  sec  1013 MBytes   849 Mbits/sec    0             sender
[  5]   0.00-10.00  sec  1013 MBytes   849 Mbits/sec                  receiver

iperf Done. <== Very good.

===========================================================================

Re-install r3498 build (4.4 kernel) and iperf3.

root@R7800RT1:~# cat /etc/os-release|grep -i rel
LEDE_RELEASE="LEDE Reboot 17.01-SNAPSHOT r3498-dc8392f6a1"

root@R7800RT1:~# uname -mrvos
Linux 4.4.83 #0 SMP Sun Aug 27 16:31:45 2017 armv7l GNU/Linux

root@R7800RT1:~# iperf3 -c 192.168.16.121

Connecting to host 192.168.16.121, port 5201
[  4] local 192.168.16.1 port 42076 connected to 192.168.16.121 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  17.3 MBytes   145 Mbits/sec    0    411 KBytes       
[  4]   1.00-2.00   sec  19.1 MBytes   161 Mbits/sec    0    544 KBytes       
[  4]   2.00-3.00   sec  17.8 MBytes   149 Mbits/sec    0    632 KBytes       
[  4]   3.00-4.00   sec  18.3 MBytes   154 Mbits/sec    0    740 KBytes       
[  4]   4.00-5.00   sec  17.5 MBytes   146 Mbits/sec    0    740 KBytes       
[  4]   5.00-6.00   sec  18.1 MBytes   152 Mbits/sec    0    740 KBytes       
[  4]   6.00-7.00   sec  16.7 MBytes   140 Mbits/sec    0    861 KBytes       
[  4]   7.00-8.01   sec  18.7 MBytes   156 Mbits/sec    0   1.05 MBytes       
[  4]   8.01-9.00   sec  17.9 MBytes   151 Mbits/sec    0   1.22 MBytes       
[  4]   9.00-10.00  sec  17.0 MBytes   142 Mbits/sec    0   1.29 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   178 MBytes   150 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   176 MBytes   147 Mbits/sec                  receiver

iperf Done.

Now that's more like it.

Try the "reno" algorithm

root@R7800RT1:~# iperf3 -c 192.168.16.121 -C reno

Connecting to host 192.168.16.121, port 5201
[  4] local 192.168.16.1 port 42080 connected to 192.168.16.121 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec  22.0 MBytes   184 Mbits/sec    0   2.76 MBytes       
[  4]   1.00-2.01   sec  19.7 MBytes   165 Mbits/sec    0   3.14 MBytes       
[  4]   2.01-3.00   sec  20.0 MBytes   168 Mbits/sec    0   4.96 MBytes       
[  4]   3.00-4.05   sec  20.0 MBytes   160 Mbits/sec    0   6.01 MBytes       
[  4]   4.05-5.00   sec  19.4 MBytes   172 Mbits/sec    0   6.01 MBytes       
[  4]   5.00-6.00   sec  19.9 MBytes   167 Mbits/sec    0   6.01 MBytes       
[  4]   6.00-7.00   sec  19.5 MBytes   164 Mbits/sec    0   6.01 MBytes       
[  4]   7.00-8.00   sec  18.0 MBytes   151 Mbits/sec    0   6.01 MBytes       
[  4]   8.00-9.00   sec  19.5 MBytes   163 Mbits/sec    0   6.01 MBytes       
[  4]   9.00-10.00  sec  19.9 MBytes   167 Mbits/sec    0   6.01 MBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec   198 MBytes   166 Mbits/sec    0             sender
[  4]   0.00-10.00  sec   195 MBytes   163 Mbits/sec                  receiver

iperf Done.

Here "reno" has better transfer than the default "cubic".

Now try a wired connection.

root@R7800RT1:~# iperf3 -c 192.168.16.196

Connecting to host 192.168.16.196, port 5201
[  4] local 192.168.16.1 port 52298 connected to 192.168.16.196 port 5201
[ ID] Interval           Transfer     Bandwidth       Retr  Cwnd
[  4]   0.00-1.00   sec   112 MBytes   942 Mbits/sec    0    478 KBytes       
[  4]   1.00-2.00   sec   111 MBytes   935 Mbits/sec    0    478 KBytes       
[  4]   2.00-3.00   sec   107 MBytes   897 Mbits/sec    0    499 KBytes       
[  4]   3.00-4.00   sec   112 MBytes   942 Mbits/sec    0    499 KBytes       
[  4]   4.00-5.00   sec   107 MBytes   895 Mbits/sec    0    522 KBytes       
[  4]   5.00-6.00   sec   112 MBytes   941 Mbits/sec    0    522 KBytes       
[  4]   6.00-7.00   sec   106 MBytes   892 Mbits/sec    0    522 KBytes       
[  4]   7.00-8.01   sec   108 MBytes   894 Mbits/sec    0    522 KBytes       
[  4]   8.01-9.00   sec   106 MBytes   897 Mbits/sec    0    588 KBytes       
[  4]   9.00-10.00  sec   112 MBytes   941 Mbits/sec    0    588 KBytes       
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Retr
[  4]   0.00-10.00  sec  1.07 GBytes   918 Mbits/sec    0             sender
[  4]   0.00-10.00  sec  1.07 GBytes   916 Mbits/sec                  receiver

	[  4]   0.00-10.00  sec  1.07 GBytes   916 Mbits/sec                  receiver
 
iperf Done. <== Very good.

=========================================================================

These are my results, but YMMV.
Magnetron1.1