Build for Netgear R7800

What are experiences of this build on Gbit fiber WAN? Is it possibly faster than the standard stable release due to tweaks? Thanks.

Thanks for making this awesome build. One of the problem I encounter is that for master-r13474-2f5a242f67-20200603 (ath10k-ct), opkg update takes forever to downloads packages. Is there any reason for the extreme slow speed for opkg update?

Thanks

Hi, I was wondering - if I were to experiment with different builds of yours and/or official 19.07 build, how "interchangeable" are they? For example, can I sysupgrade from your stable 19.07 build to your master ath10k-ct build to compare wifi performance then sysupgrade back to stable if I wish so, or would build change necessitate flashing factory image?

I am constantly jumping between 19.07, master -ct and master mainline ath10k. Same settings work. Sysupgrade works and settings can be kept.

No need to use factory image.

2 Likes

Lately more and more routers are switched over to DSA though, and that will break the jumping back and forth.

Agreed. This isn’t the case (yet) for the R7800

Thanks for the great work with this (and others prior) router.

Your dropbox has 4 different builds for this router

I think I get that the last (owrt1907) is the one I want to install today to replace the 'generic' 19.07 I installed. Can you explain the difference amongst the group of 4 and explain why I might want to choose one of the others?

After reading through (most) of the 2300 posts, I'm more confused than clear on the distinction.

Thanks.

I'll save my stupid questions - like 'does it need to be plugged in to work' for another time .

Andrew

1907 is a branch off of “master” back in July 2019. They only make minor security edits but otherwise there is not much change, “stable”. “Master” is the latest OpenWRT with now another year of updates.

Kernel 5.4:
Master is the latest and greatest with default CT wifi drivers (I run this version)

Master-ath10k is the latest and greatest with the optional ath10k wifi drivers

1907 is hynman’s build features using the most recent 1907 version.

You can use the sysupgrade to change between all these versions or from stock OpenWRT.

3 Likes

Tried to install "master-r13583-c4037a5b9e-20200616 (ath10k-ct) " today and could not get 5GHz working. Then I noticed that the channels only went up to 144 (missing channels 149, 153, 157, 161, 165). Just for a trial I tried the Kong (https://www.desipro.de/openwrt/19.07/) OpenWrt version for the R7800 and it had all the channels and 5GHz worked. Flashed back to "master-r13583-c4037a5b9e-20200616 (ath10k-ct) " and 5GHz still would not work and the 5GHz channels 149, 153, 157, 161, 165 were still missing. Any idea's, I'm stumped.

I had that happen on a recent unit. I chose country code Canada (where I live) , reboot and then the higher channels showed up again. My guess is they are now hidden on the default non specific country code.

Anyone seeing issues on the 2.4GHz radio in the latest builds? Same for both ct or old builds, clients just get disconnected and they don't reconnect. Lots of these from logread:

Thu Jun 18 10:33:09 2020 daemon.notice hostapd: wlan1: STA 64:16:xxxxx IEEE 802.11: did not acknowledge authentication response

I'm on master built yesterday and haven't seen those. WEP support has been disabled as per this commit:

https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=472fd98c5b12

Maybe you still have devices using WEP?

rawd,

Once I set the country in the Advanced Settings tab and entered my Wi-Fi data, 5Ghz started working and the missing channels appeared in the list.

Been running "master-r13583-c4037a5b9e-20200616 (ath10k-ct)" for most of the day now with no problems.

Thanks so much for pointing me in the right direction!

1 Like

No WEP, stopped using that as soon as WPA came out.

I'm seeing an issue that I haven't seen a post on here about.
I am currently running R7800-master-r13552-cd09f26660-20200611-2309-factory.img.
I just started using this router a week or two ago, so very fresh - this is the first I've used it.

I have 1 - 5Ghz SSID and 2 - 2.4 Ghz SSID's being broadcast.
I noticed initially there was a problem on the second 2.4Ghz SSID... it was not allowing my ESP based devices (wifi) to get IP's. Two non-esp based wifi devices were fine as are two wired devices. After looking all over I restarted dnsmasq and they got IP's and everything was back to normal.

After a restart (had a random restart yesterday after 1 week up) I saw the same thing happen again.

daemon.warn dnsmasq-dhcp[1925]: no address range available for DHCP request via br-IOT

The wired, and other wifi devices are fine - so it is not all devices effected, just the ones running custom firmware (ESP-Home).

The DHCP Server is active for this interface (Ignore Interface is not checked) but Dynamic DHCP is unchecked as well. All devices are setup with static leases. I copied the exact settings from my previous router (TEW-673GRU) and did not have this problem.

The only thing I could guess is a problem is that the devices that are having the IP issue have IP's in the range between the Start and Limit of the DHCP General Setup. But since everything is using static leases, I don't see how this would cause a problem (will never duplicate). Especially when restarting dnsmasq causing everything to come up and work.

So, any idea's?

Thanks and Cheers! - sorry for the book...
DeadEnd

I think I'm having a similar issue. whenever my 2.4ghz radio is active the 5.0 fails to broadcast and 2.4 stops issuing dhcp. 2.4 by its self is just fine.

I think this was an issue in master a couple weeks ago. A newer build should fix it.

I just updated to master-r13611-3f27a6e640-20200622 and the problem persists. Just to be thorough, I did change my DHCP range to not overlap the static leases, and that did not resolve it either.

Very consistent though - on every reboot the second SSID with dynamic DHCP disabled (although this may have nothing to do with it) does not give out static leases until dnsmasq is restarted.

If there is any information I can supply to help diagnose the issue I'm more than happy to help. Other than the single message I shared showing up for every device that fails - I haven't found any other errors.

okay - I did find something in the kernel log, but don't have how relavent it is since I don't understand it much... but it lists 15 peers, and that is how many devices were connecting to the SSID with the problem:

[   89.810162] ath10k_pci 0001:01:00.0: Invalid peer id 4 or peer stats buffer, peer: 00000000  sta: 00000000
[  134.603196] ath10k_pci 0000:01:00.0: htt tx: fixing invalid VHT TX rate code 0xff
[  155.036645] ath10k_pci 0000:01:00.0: Invalid VHT mcs 15 peer stats

maybe that says something useful?
For the 2.4 GHz I have the wireless set to N, channel 1, 40 MHz channel width.
Is the VHT message just about it changing the width to 20 instead of 40?
From the timestamps I expect that was around the time I restarted dnsmasq.

Thanks,
DeadEnd

Sounds like something in wifi & DHCP config and the hotplug actions, nothing specifically related to my build. You might get answers from wider audience, if you would open an own thread about the it.

My guess would be that when dnsmasq originally starts, if does not yet see the wifi interface up, and fails to include that in the run-time config.

2 Likes

That makes perfect sense.
I'll split off into a new thread - Thanks!

Update:
Ends up the interface for the second SSID did not have force link flagged.
I must have missed this during my configuration... user error :slight_smile: .

Long time listener, first time caller:

I'm using standard snapshot build and not this one, but this thread has the largest collection of R7800 users - I'm experiencing occasional oops within the ath10k stack.

But first, I'm offering up my sysfs.d local file that might be helpful for people using any R7800 (unrelated to the ath10k crash):

/etc/sysfs.d/local:

# local sysctl settings can be stored in this directory

devices/system/cpu/cpufreq/policy0/scaling_governor = performance
devices/system/cpu/cpufreq/policy1/scaling_governor = performance
devices/system/cpu/cpufreq/policy0/scaling_max_freq = 1725000
devices/system/cpu/cpufreq/policy1/scaling_min_freq = 800000
devices/system/cpu/cpufreq/ondemand/up_threshold = 75
devices/system/cpu/cpufreq/ondemand/sampling_down_factor = 10

devices/virtual/net/br-lan/queues/rx-0/rps_cpus = 3
devices/virtual/net/eth0.2/queues/rx-0/rps_cpus = 3
devices/virtual/net/eth1.1/queues/rx-0/rps_cpus = 3
devices/virtual/net/ifb4eth0.2/queues/rx-0/rps_cpus = 3
devices/virtual/net/lo/queues/rx-0/rps_cpus = 3

devices/platform/soc/29000000.sata/ata1/host0/scsi_host/host0/link_power_management_policy = 'min_power'

Crash:

[354147.746549] ------------[ cut here ]------------
[354147.746661] WARNING: CPU: 0 PID: 9 at backports-5.7-rc3-1/net/mac80211/sta_info.c:1929 ieee80211_sta_update_pending_airtime+0x1f8/0x1fc [mac80211]
[354147.750291] STA a4:d9:31:00:56:37 AC 2 txq pending airtime underflow: 4294966496, 800
[354147.750293] Modules linked in: xt_connlimit pppoe ppp_async nf_conncount iptable_nat ath10k_pci ath10k_core ath xt_state xt_nat xt_helper xt_conntrack xt_connmark xt_connbytes xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack_rtcache nf_conntrack_netlink nf_conntrack mac80211 ipt_REJECT ebtable_nat ebtable_filter ebtable_broute cfg80211 xt_time xt_tcpudp xt_tcpmss xt_statistic xt_recent xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_ecn xt_dscp xt_comment xt_TCPMSS xt_LOG xt_HL xt_DSCP xt_CLASSIFY wireguard slhc sch_cake nlmon nfnetlink_queue nfnetlink_log nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_raw iptable_mangle iptable_filter ipt_ECN ip_tables ebtables ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit ebt_among ebt_802_3 crc_ccitt compat sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit
[354147.763399]  act_mirred ledtrig_usbport ledtrig_heartbeat xt_set 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_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 ifb ip6_udp_tunnel udp_tunnel netlink_diag leds_gpio xhci_plat_hcd xhci_pci xhci_hcd dwc3 dwc3_qcom ohci_platform ohci_hcd phy_qcom_dwc3 ahci fsl_mph_dr_of ehci_platform ehci_fsl sd_mod ahci_platform libahci_platform libahci libata scsi_mod ehci_hcd gpio_button_hotplug
[354147.900989] CPU: 0 PID: 9 Comm: ksoftirqd/0 Not tainted 5.4.46 #0
[354147.923141] Hardware name: Generic DT based system
[354147.929141] [<c030f954>] (unwind_backtrace) from [<c030b96c>] (show_stack+0x14/0x20)
[354147.933920] [<c030b96c>] (show_stack) from [<c08d8ac0>] (dump_stack+0x94/0xa8)
[354147.941907] [<c08d8ac0>] (dump_stack) from [<c031e7b4>] (__warn+0xb4/0xd0)
[354147.949017] [<c031e7b4>] (__warn) from [<c031e850>] (warn_slowpath_fmt+0x80/0x90)
[354147.956008] [<c031e850>] (warn_slowpath_fmt) from [<bf428af0>] (ieee80211_sta_update_pending_airtime+0x1f8/0x1fc [mac80211])
[354147.963718] [<bf428af0>] (ieee80211_sta_update_pending_airtime [mac80211]) from [<bf42313c>] (ieee80211_report_low_ack+0x254/0x50c [mac80211])
[354147.975047] [<bf42313c>] (ieee80211_report_low_ack [mac80211]) from [<bf423408>] (ieee80211_free_txskb+0x14/0x2c [mac80211])
[354147.987733] [<bf423408>] (ieee80211_free_txskb [mac80211]) from [<bf5678d8>] (ath10k_txrx_tx_unref+0x608/0x738 [ath10k_core])
[354147.999168] [<bf5678d8>] (ath10k_txrx_tx_unref [ath10k_core]) from [<bf56188c>] (ath10k_htt_t2h_msg_handler+0xe6c/0x1288 [ath10k_core])
[354148.010421] [<bf56188c>] (ath10k_htt_t2h_msg_handler [ath10k_core]) from [<bf5bd7e4>] (ath10k_pci_htt_rx_cb+0x178/0x230 [ath10k_pci])
[354148.022845] [<bf5bd7e4>] (ath10k_pci_htt_rx_cb [ath10k_pci]) from [<bf581b44>] (ath10k_ce_per_engine_service+0x9c/0x10c [ath10k_core])
[354148.034741] [<bf581b44>] (ath10k_ce_per_engine_service [ath10k_core]) from [<bf581c34>] (ath10k_ce_per_engine_service_any+0x80/0xd8 [ath10k_core])
[354148.046791] [<bf581c34>] (ath10k_ce_per_engine_service_any [ath10k_core]) from [<bf5bf95c>] (ath10k_pci_napi_poll+0x54/0x15c [ath10k_pci])
[354148.059972] [<bf5bf95c>] (ath10k_pci_napi_poll [ath10k_pci]) from [<c0779ff4>] (net_rx_action+0x118/0x374)
[354148.072461] [<c0779ff4>] (net_rx_action) from [<c0302298>] (__do_softirq+0x130/0x2d4)
[354148.082179] [<c0302298>] (__do_softirq) from [<c03228dc>] (run_ksoftirqd+0x38/0x4c)
[354148.090164] [<c03228dc>] (run_ksoftirqd) from [<c0341798>] (smpboot_thread_fn+0xfc/0x1c8)
[354148.098067] [<c0341798>] (smpboot_thread_fn) from [<c033e13c>] (kthread+0x160/0x164)
[354148.106135] [<c033e13c>] (kthread) from [<c03010e8>] (ret_from_fork+0x14/0x2c)
[354148.114030] Exception stack(0xdd465fb0 to 0xdd465ff8)
[354148.121152] 5fa0:                                     00000000 00000000 00000000 00000000
[354148.126369] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[354148.134611] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[354148.142905] ---[ end trace 34d2bd0d6810903a ]---

[   15.370966] ath10k_pci 0000:01:00.0: assign IRQ: got 35
[   15.370992] ath10k 5.1 driver, optimized for CT firmware, probing pci device: 0x46.
[   15.371750] ath10k_pci 0000:01:00.0: enabling device (0140 -> 0142)
[   15.377527] ath10k_pci 0000:01:00.0: enabling bus mastering
[   15.378031] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[   15.966252] ath10k_pci 0000:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[   15.966285] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 0
[   15.976767] ath10k_pci 0000:01:00.0: firmware ver 10.4b-ct-9984-fH-013-4ab470999 api 5 features mfp,peer-flow-ctrl,txstatus-noack,wmi-10.x-CT,ratemask-CT,regdump-CT,txrate-CT,flush-all-CT,pingpong-CT,ch-regs-CT,nop-CT,htt-mgt-CT,set-special-CT,tx-rc-CT,cust-stats-CT,txrate2-CT,beacon-cb-CT,wmi-block-ack-CT,wmi-bcn-rc-CT crc32 34b2045a
[   18.306064] ath10k_pci 0000:01:00.0: board_file api 2 bmi_id 0:1 crc32 85498734
[   24.146989] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[   24.148025] ath10k_pci 0000:01:00.0: 10.4 wmi init: vdevs: 16  peers: 48  tid: 96
[   24.152495] ath10k_pci 0000:01:00.0: msdu-desc: 2500  skid: 32
[   24.235422] ath10k_pci 0000:01:00.0: wmi print 'P 48/48 V 16 K 144 PH 176 T 186  msdu-desc: 2500  sw-crypt: 0 ct-sta: 0'
[   24.236265] ath10k_pci 0000:01:00.0: wmi print 'free: 84872 iram: 13412 sram: 11224'
[   24.524857] ath10k_pci 0000:01:00.0: htt-ver 2.2 wmi-op 6 htt-op 4 cal pre-cal-file max-sta 32 raw 0 hwcrypto 1

Build: OpenWrt SNAPSHOT r13600-9a477b833a / LuCI Master git-20.168.54087-84a0b68


My config is 98% identical to the config file used to make this build.

Should this post go elsewhere? I did want to share my sysfs.d with people here, though, too.