@hnyman can you test v5? http://lists.infradead.org/pipermail/ath10k/2018-February/010828.html
BrainSlayer (DD-WRT) has fixed the wifi led problem in build r35034. Now both leds not only turn on but also blink with activity.
good now we can say that the r7800 is perfect! good wifi all led working good cpu... stable WOW
Good to know. Hoping v5 fixes 2.4GHz not having life over on OpenWRT/LEDE.
There is even v6 patch
...and looking at the patch, it will require a few more iterations before anyone will really look at it (botched up indentation, supporting obsolete kernels, etc.; "checkpatch --strict" reveals "total: 22 errors, 130 warnings, 23 checks, 720 lines checked").
There is also a brief changelog contained in v6. It reads:
v2 add correct gpio count per chipset and remove IPQ4019 support since this chipset does not make use of specific gpios)
v5 fix compiling without LED_CLASS and GPIOLIB support, fix also error by kbuild test robot which does not occur in standard builds. curious
v6 correct return values and fix comment style
Testing v6 on a nbg6817 (basically the same hardware as the r7800) also shows that ath10k-phy1 (2.4 GHz) doesn't appear to work, with this patch applied:
--- a/target/linux/ipq806x/base-files/etc/board.d/01_leds
+++ b/target/linux/ipq806x/base-files/etc/board.d/01_leds
@@ -21,12 +21,19 @@ glinet,gl-b1300)
;;
netgear,d7800 |\
netgear,r7500 |\
-netgear,r7500v2 |\
+netgear,r7500v2)
+ ucidef_set_led_usbport "usb1" "USB 1" "${boardname}:white:usb1" "usb1-port1" "usb2-port1"
+ ucidef_set_led_usbport "usb2" "USB 2" "${boardname}:white:usb2" "usb3-port1" "usb4-port1"
+ ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:wan" "eth0"
+ ucidef_set_led_ide "esata" "eSATA" "${boardname}:white:esata"
+ ;;
netgear,r7800)
ucidef_set_led_usbport "usb1" "USB 1" "${boardname}:white:usb1" "usb1-port1" "usb2-port1"
ucidef_set_led_usbport "usb2" "USB 2" "${boardname}:white:usb2" "usb3-port1" "usb4-port1"
ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:wan" "eth0"
ucidef_set_led_ide "esata" "eSATA" "${boardname}:white:esata"
+ ucidef_set_led_wlan "wlan2g" "WLAN 2G" "ath10k-phy1" "phy1tpt"
+ ucidef_set_led_wlan "wlan5g" "WLAN 5G" "ath10k-phy0" "phy0tpt"
;;
tplink,c2600)
ucidef_set_led_usbport "usb1" "USB 1" "${boardname}:white:usb_2" "usb1-port1" "usb2-port1"
@@ -42,8 +49,8 @@ tplink,vr2600v)
ucidef_set_led_switch "wan" "wan" "${boardname}:white:wan" "switch0" "0x20"
;;
zyxel,nbg6817)
- ucidef_set_led_wlan "wlan2g" "WLAN2G" "${boardname}:amber:wifi2g" "phy1tpt"
- ucidef_set_led_wlan "wlan5g" "WLAN5G" "${boardname}:amber:wifi5g" "phy0tpt"
+ ucidef_set_led_wlan "wlan2g" "WLAN2G" "ath10k-phy1" "phy1tpt"
+ ucidef_set_led_wlan "wlan5g" "WLAN5G" "ath10k-phy0" "phy0tpt"
ucidef_set_led_netdev "wan" "WAN" "${boardname}:white:internet" "eth1"
;;
*)
and changing /etc/config/system accordingly.
ath10k-phy0 (5 GHz) seems to work though.
If it works in dd-wrt, then it sounds like we should dig into dd-wrt sources and look for specific changes there. Hopefully work clue can be found.
I tried BrainSlayerâs v6 patches. It works sporadically for both 2G and 5G LEDs for my R7800 running my own Lede-17.01 builds. Sometimes both LEDs worked, sometimes one worked, but most times both donât work.
Didnât spend too much time troubleshooting tho.
I tried two different firmware for the qca9984 chipset (3.4-0072 & 3.5.3-00053) with the same results, so looks like itâs not firmware issue.
Well, looks like some code sleuthing is required.
Is anybody working on bumping ipq806x to 4.14?
Its weird that some rarely used targets are bumped but ipq806x is not.
From what I saw a lot of patches could be dropped in move to 4.14
hmm, new driver doesn't seem to be thĂĄt stable:
[49571.908806] ath10k_pci 0001:01:00.0: firmware crashed! (guid db2142b7-545b-445f-9635-ead9cf2c6967)
[49571.913489] ath10k_pci 0001:01:00.0: qca9984/qca9994 hw1.0 target 0x01000000 chip_id 0x00000000 sub 168c:cafe
[49571.922261] ath10k_pci 0001:01:00.0: kconfig debug 0 debugfs 1 tracing 0 dfs 1 testmode 1
[49571.935447] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 4c56a386
[49571.941008] ath10k_pci 0001:01:00.0: board_file api 2 bmi_id 0:2 crc32 751efba1
[49571.954472] 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
[49571.973797] ath10k_pci 0001:01:00.0: failed to get memcpy hi address for firmware address 4: -16
[49571.973828] ath10k_pci 0001:01:00.0: failed to read firmware dump area: -16
[49571.981712] ath10k_pci 0001:01:00.0: Copy Engine register dump:
[49571.988338] ath10k_pci 0001:01:00.0: [00]: 0x0004a000 0 0 0 0
[49571.994312] ath10k_pci 0001:01:00.0: [01]: 0x0004a400 0 0 0 0
[49572.000900] ath10k_pci 0001:01:00.0: [02]: 0x0004a800 0 0 0 0
[49572.007257] ath10k_pci 0001:01:00.0: [03]: 0x0004ac00 0 0 0 0
[49572.013784] ath10k_pci 0001:01:00.0: [04]: 0x0004b000 0 0 0 0
[49572.020187] ath10k_pci 0001:01:00.0: [05]: 0x0004b400 0 0 0 0
[49572.026528] ath10k_pci 0001:01:00.0: [06]: 0x0004b800 0 0 0 0
[49572.033022] ath10k_pci 0001:01:00.0: [07]: 0x0004bc00 1 0 1 0
[49572.039375] ath10k_pci 0001:01:00.0: [08]: 0x0004c000 0 0 0 0
[49572.045885] ath10k_pci 0001:01:00.0: [09]: 0x0004c400 0 0 0 0
[49572.052290] ath10k_pci 0001:01:00.0: [10]: 0x0004c800 0 0 0 0
[49572.058648] ath10k_pci 0001:01:00.0: [11]: 0x0004cc00 0 0 0 0
[49572.074498] ath10k_pci 0001:01:00.0: cannot restart a device that hasn't been started
After some more testing, I have to agree with this - most of the time the 2.4 GHz LED is dead (only got it to work once, didn't survive a reboot without any changes), sometimes the 5 GHz LED is working - often both aren't working, but I've never seen both working at the same time.
Toggling the default state doesn't make any difference, nor do cold reboots (power unplugged). There seems to be an issue with the initialization and probably also with concurrency of multiple devices.
After more than 36 hours uptime on DD-WRT r35034, the 2 wifi leds continue to work properly even after several soft reboots and power cycles to test stability and repeatability.
More info about BrainSlayer's build:
root@R7800RT1:~# cat /tmp/loginprompt
DD-WRT v3.0-r35034 std (c) 2018 NewMedia-NET GmbH
Release: 02/17/18
root@R7800RT1:~# cat /proc/version
Linux version 4.9.82-rc1 (root@seg-desktop) (gcc version 7.1.0 (LEDE GCC 7.1.0 r4105-9448e16959) ) #50 SMP PREEMPT Fri Feb 16 13:25:26 CET 2018
root@R7800RT1:~# dmesg|grep 'firmware ver'
[ 8.081294] ath10k_pci 0000:01:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 4c56a386
[ 12.036247] ath10k_pci 0001:01:00.0: firmware ver 10.4-3.5.3-00053 api 5 features no-p2p,mfp,peer-flow-ctrl,btcoex-param,allows-mesh-bcast,no-ps crc32 4c56a386
root@R7800RT1:~# lsmod
Module Size Used by
nf_nat_pptp 1584 0
nf_conntrack_pptp 3171 1 nf_nat_pptp
nf_nat_proto_gre 929 1 nf_nat_pptp
nf_conntrack_proto_gre 2847 1 nf_conntrack_pptp
shortcut_fe 131923 0
ext4 313797 2
jbd2 47298 1 ext4
mbcache 4562 3 ext4
jffs2 104240 1
lzma_decompress 7204 1 jffs2
lzma_compress 19164 1 jffs2
ahci_platform 2743 0
ahci 13831 0
libahci_platform 4560 1 ahci_platform
libahci 18483 3 ahci_platform,ahci,libahci_platform
libata 139065 4 ahci_platform,ahci,libahci_platform,libahci
usb_storage 36977 2
sd_mod 24599 3
scsi_mod 86207 3 libata,usb_storage,sd_mod
xhci_plat_hcd 4868 0
dwc3 17803 0
dwc3_of_simple 2378 0
phy_qcom_dwc3 3848 4
xhci_pci 2824 0
xhci_hcd 83072 2 xhci_plat_hcd,xhci_pci
ohci_hcd 22633 0
ehci_pci 2909 0
ehci_platform 5014 0
ehci_hcd 32631 2 ehci_pci,ehci_platform
usbcore 126574 9 usb_storage,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_hcd,ehci_pci,ehci_platform,ehci_hcd
usb_common 2417 2 dwc3,usbcore
nls_base 5100 1 usbcore
ath10k_pci 35067 2
ath10k_core 291405 1 ath10k_pci
ath9k 86113 0
ath9k_common 20000 1 ath9k
ath9k_hw 335980 2 ath9k,ath9k_common
ath 14544 4 ath10k_core,ath9k,ath9k_common,ath9k_hw
mac80211 325516 3 ath10k_core,ath9k,ath9k_hw
cfg80211 216312 5 ath10k_core,ath9k,ath9k_common,ath,mac80211
compat 1411 5 ath10k_pci,ath9k,ath9k_common,mac80211,cfg80211
leds_gpio 2755 0
slhc 4163 0
root@R7800RT1:~# ls -l /lib/firmware/*/*/*
/lib/firmware/ath10k/QCA988X/hw2.0:
lrwxrwxrwx 1 root root 21 Feb 16 22:14 board.bin -> /tmp/ath10k-board.bin
-rw-r--r-- 1 root root 248108 Feb 16 05:49 firmware-5.bin
/lib/firmware/ath10k/QCA9984/hw1.0:
-rw-r--r-- 1 root root 121264 Dec 21 17:06 board-2.bin
lrwxrwxrwx 1 root root 15 Feb 16 22:14 board.bin -> /tmp/board1.bin
lrwxrwxrwx 1 root root 15 Feb 16 22:14 board_2.bin -> /tmp/board2.bin
-rw-r--r-- 1 root root 647380 Feb 16 05:49 firmware-5.bin
/lib/firmware/ath10k/QCA99X0/hw2.0:
-rw-r--r-- 1 root root 133392 Dec 21 17:06 board-2.bin
lrwxrwxrwx 1 root root 15 Feb 16 22:14 board.bin -> /tmp/board1.bin
-rw-r--r-- 1 root root 12064 Dec 21 17:06 boardData_AR900B_CUS239_5G_v2_001.bin
-rw-r--r-- 1 root root 12064 Dec 21 17:06 boardData_AR900B_CUS260_2G_v2_002.bin
lrwxrwxrwx 1 root root 15 Feb 16 22:14 board_2.bin -> /tmp/board2.bin
-rw-r--r-- 1 root root 581484 Feb 9 03:12 firmware-5.bin
root@R7800RT1:~# strings /lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin|head -n2
QCA-ATH10K
10.2.4-1.0-00037
root@R7800RT1:~# strings /lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin|head -n2
QCA-ATH10K
10.4-3.5.3-00053
root@R7800RT1:~# strings /lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin|head -n2
QCA-ATH10K
10.4-3.5.3-00050
root@R7800RT1:~# ls -l /lib/modules/4.9.82-rc1
-rw-r--r-- 1 root root 8672 Feb 16 22:15 ah6.ko
-rw-r--r-- 1 root root 19532 Feb 16 22:15 ahci.ko
-rw-r--r-- 1 root root 5408 Feb 16 22:15 ahci_platform.ko
-rw-r--r-- 1 root root 20164 Feb 16 22:15 ath.ko
-rw-r--r-- 1 root root 389280 Feb 16 22:15 ath10k_core.ko
-rw-r--r-- 1 root root 48756 Feb 16 22:15 ath10k_pci.ko
-rw-r--r-- 1 root root 122416 Feb 16 22:15 ath9k.ko
-rw-r--r-- 1 root root 28660 Feb 16 22:15 ath9k_common.ko
-rw-r--r-- 1 root root 365608 Feb 16 22:15 ath9k_hw.ko
-rw-r--r-- 1 root root 977240 Feb 16 22:15 btrfs.ko
-rw-r--r-- 1 root root 4108 Feb 16 22:15 cbc.ko
-rw-r--r-- 1 root root 21660 Feb 16 22:15 cdc-acm.ko
-rw-r--r-- 1 root root 255004 Feb 16 22:15 cfg80211.ko
-rw-r--r-- 1 root root 427276 Feb 16 22:15 cifs.ko
-rw-r--r-- 1 root root 4436 Feb 16 22:15 cmac.ko
-rw-r--r-- 1 root root 3552 Feb 16 22:15 compat.ko
-rw-r--r-- 1 root root 2296 Feb 16 22:15 crc-ccitt.ko
-rw-r--r-- 1 root root 2296 Feb 16 22:15 crc-itu-t.ko
-rw-r--r-- 1 root root 8708 Feb 16 22:15 dns_resolver.ko
-rw-r--r-- 1 root root 9784 Feb 16 22:15 drbg.ko
-rw-r--r-- 1 root root 4496 Feb 16 22:15 dwc3-of-simple.ko
-rw-r--r-- 1 root root 28504 Feb 16 22:15 dwc3.ko
-rw-r--r-- 1 root root 2260 Feb 16 22:15 ebt_802_3.ko
-rw-r--r-- 1 root root 4084 Feb 16 22:15 ebt_among.ko
-rw-r--r-- 1 root root 3212 Feb 16 22:15 ebt_arp.ko
-rw-r--r-- 1 root root 2868 Feb 16 22:15 ebt_arpreply.ko
-rw-r--r-- 1 root root 2532 Feb 16 22:15 ebt_dnat.ko
-rw-r--r-- 1 root root 2932 Feb 16 22:15 ebt_ip.ko
-rw-r--r-- 1 root root 3292 Feb 16 22:15 ebt_ip6.ko
-rw-r--r-- 1 root root 3044 Feb 16 22:15 ebt_limit.ko
-rw-r--r-- 1 root root 4888 Feb 16 22:15 ebt_log.ko
-rw-r--r-- 1 root root 2264 Feb 16 22:15 ebt_mark.ko
-rw-r--r-- 1 root root 2196 Feb 16 22:15 ebt_mark_m.ko
-rw-r--r-- 1 root root 2392 Feb 16 22:15 ebt_nflog.ko
-rw-r--r-- 1 root root 2132 Feb 16 22:15 ebt_pkttype.ko
-rw-r--r-- 1 root root 2596 Feb 16 22:15 ebt_redirect.ko
-rw-r--r-- 1 root root 2636 Feb 16 22:15 ebt_snat.ko
-rw-r--r-- 1 root root 3572 Feb 16 22:15 ebt_stp.ko
-rw-r--r-- 1 root root 2604 Feb 16 22:15 ebt_vlan.ko
-rw-r--r-- 1 root root 3028 Feb 16 22:15 ebtable_broute.ko
-rw-r--r-- 1 root root 3392 Feb 16 22:15 ebtable_filter.ko
-rw-r--r-- 1 root root 3236 Feb 16 22:15 ebtable_nat.ko
-rw-r--r-- 1 root root 21528 Feb 16 22:15 ebtables.ko
-rw-r--r-- 1 root root 3576 Feb 16 22:15 ecb.ko
-rw-r--r-- 1 root root 3412 Feb 16 22:15 echainiv.ko
-rw-r--r-- 1 root root 41040 Feb 16 22:15 ehci-hcd.ko
-rw-r--r-- 1 root root 6396 Feb 16 22:15 ehci-pci.ko
-rw-r--r-- 1 root root 9044 Feb 16 22:15 ehci-platform.ko
-rw-r--r-- 1 root root 11380 Feb 16 22:15 eoip.ko
-rw-r--r-- 1 root root 8812 Feb 16 22:15 esp6.ko
-rw-r--r-- 1 root root 8412 Feb 16 22:15 etherip.ko
-rw-r--r-- 1 root root 90208 Feb 16 22:15 exfat.ko
-rw-r--r-- 1 root root 4832 Feb 16 22:15 exportfs.ko
-rw-r--r-- 1 root root 397828 Feb 16 22:15 ext4.ko
-rw-r--r-- 1 root root 63856 Feb 16 22:15 fat.ko
-rw-r--r-- 1 root root 12768 Feb 16 22:15 fou.ko
-rw-r--r-- 1 root root 2460 Feb 16 22:15 fou6.ko
-rw-r--r-- 1 root root 49376 Feb 16 22:15 fscache.ko
-rw-r--r-- 1 root root 92100 Feb 16 22:15 fuse.ko
-rw-r--r-- 1 root root 54940 Feb 16 22:15 hfs.ko
-rw-r--r-- 1 root root 102900 Feb 16 22:15 hfsplus.ko
-rw-r--r-- 1 root root 4784 Feb 16 22:15 hmac.ko
-rw-r--r-- 1 root root 14724 Feb 16 22:15 ila.ko
-rw-r--r-- 1 root root 15296 Feb 16 22:15 ip6_tables.ko
-rw-r--r-- 1 root root 27896 Feb 16 22:15 ip6_tunnel.ko
-rw-r--r-- 1 root root 3056 Feb 16 22:15 ip6_udp_tunnel.ko
-rw-r--r-- 1 root root 3020 Feb 16 22:15 ip6t_REJECT.ko
-rw-r--r-- 1 root root 7256 Feb 16 22:15 ip6t_SYNPROXY.ko
-rw-r--r-- 1 root root 2512 Feb 16 22:15 ip6t_ah.ko
-rw-r--r-- 1 root root 2448 Feb 16 22:15 ip6t_eui64.ko
-rw-r--r-- 1 root root 2576 Feb 16 22:15 ip6t_frag.ko
-rw-r--r-- 1 root root 3020 Feb 16 22:15 ip6t_hbh.ko
-rw-r--r-- 1 root root 2732 Feb 16 22:15 ip6t_ipv6header.ko
-rw-r--r-- 1 root root 2348 Feb 16 22:15 ip6t_mh.ko
-rw-r--r-- 1 root root 3236 Feb 16 22:15 ip6t_rpfilter.ko
-rw-r--r-- 1 root root 3240 Feb 16 22:15 ip6t_rt.ko
-rw-r--r-- 1 root root 3476 Feb 16 22:15 ip6table_filter.ko
-rw-r--r-- 1 root root 3632 Feb 16 22:15 ip6table_mangle.ko
-rw-r--r-- 1 root root 3160 Feb 16 22:15 ip6table_raw.ko
-rw-r--r-- 1 root root 16200 Feb 16 22:15 ip_tunnel.ko
-rw-r--r-- 1 root root 146488 Feb 16 22:15 ip_vs.ko
-rw-r--r-- 1 root root 3084 Feb 16 22:15 ip_vs_dh.ko
-rw-r--r-- 1 root root 2280 Feb 16 22:15 ip_vs_fo.ko
-rw-r--r-- 1 root root 6272 Feb 16 22:15 ip_vs_ftp.ko
-rw-r--r-- 1 root root 6192 Feb 16 22:15 ip_vs_lblc.ko
-rw-r--r-- 1 root root 7344 Feb 16 22:15 ip_vs_lblcr.ko
-rw-r--r-- 1 root root 2344 Feb 16 22:15 ip_vs_lc.ko
-rw-r--r-- 1 root root 2408 Feb 16 22:15 ip_vs_nq.ko
-rw-r--r-- 1 root root 2344 Feb 16 22:15 ip_vs_ovf.ko
-rw-r--r-- 1 root root 4112 Feb 16 22:15 ip_vs_pe_sip.ko
-rw-r--r-- 1 root root 2636 Feb 16 22:15 ip_vs_rr.ko
-rw-r--r-- 1 root root 2408 Feb 16 22:15 ip_vs_sed.ko
-rw-r--r-- 1 root root 3580 Feb 16 22:15 ip_vs_sh.ko
-rw-r--r-- 1 root root 2408 Feb 16 22:15 ip_vs_wlc.ko
-rw-r--r-- 1 root root 3448 Feb 16 22:15 ip_vs_wrr.ko
-rw-r--r-- 1 root root 4768 Feb 16 22:15 ipcomp6.ko
-rw-r--r-- 1 root root 372424 Feb 16 22:15 ipv6.ko
-rw-r--r-- 1 root root 34344 Feb 16 22:15 isofs.ko
-rw-r--r-- 1 root root 65728 Feb 16 22:15 jbd2.ko
-rw-r--r-- 1 root root 138864 Feb 16 22:15 jffs2.ko
-rw-r--r-- 1 root root 7812 Feb 16 22:15 jitterentropy_rng.ko
-rw-r--r-- 1 root root 20720 Feb 16 22:15 l2tp_core.ko
-rw-r--r-- 1 root root 6564 Feb 16 22:15 l2tp_eth.ko
-rw-r--r-- 1 root root 11060 Feb 16 22:15 l2tp_ip.ko
-rw-r--r-- 1 root root 12368 Feb 16 22:15 l2tp_ip6.ko
-rw-r--r-- 1 root root 11832 Feb 16 22:15 l2tp_netlink.ko
-rw-r--r-- 1 root root 20976 Feb 16 22:15 l2tp_ppp.ko
-rw-r--r-- 1 root root 5536 Feb 16 22:15 leds-gpio.ko
-rw-r--r-- 1 root root 28388 Feb 16 22:15 libahci.ko
-rw-r--r-- 1 root root 8868 Feb 16 22:15 libahci_platform.ko
-rw-r--r-- 1 root root 190332 Feb 16 22:15 libata.ko
-rw-r--r-- 1 root root 2400 Feb 16 22:15 libcrc32c.ko
-rw-r--r-- 1 root root 20624 Feb 16 22:15 lzma_compress.ko
-rw-r--r-- 1 root root 8304 Feb 16 22:15 lzma_decompress.ko
-rw-r--r-- 1 root root 405928 Feb 16 22:15 mac80211.ko
-rw-r--r-- 1 root root 7756 Feb 16 22:15 mbcache.ko
-rw-r--r-- 1 root root 4680 Feb 16 22:15 md4.ko
-rw-r--r-- 1 root root 3516 Feb 16 22:15 md5.ko
-rw-r--r-- 1 root root 7124 Feb 16 22:15 mip6.ko
-rw-r--r-- 1 root root 10292 Feb 16 22:15 modules.builtin
-rw-r--r-- 1 root root 6051 Feb 16 22:15 modules.dep
-rw-r--r-- 1 root root 6307 Feb 16 22:15 modules.order
-rw-r--r-- 1 root root 3732 Feb 16 22:15 mpls_iptunnel.ko
-rw-r--r-- 1 root root 15236 Feb 16 22:15 mpls_router.ko
-rw-r--r-- 1 root root 9636 Feb 16 22:15 msdos.ko
-rw-r--r-- 1 root root 11040 Feb 16 22:15 nf_conntrack_ipv6.ko
-rw-r--r-- 1 root root 6696 Feb 16 22:15 nf_conntrack_pptp.ko
-rw-r--r-- 1 root root 6272 Feb 16 22:15 nf_conntrack_proto_gre.ko
-rw-r--r-- 1 root root 24880 Feb 16 22:15 nf_conntrack_sip.ko
-rw-r--r-- 1 root root 8908 Feb 16 22:15 nf_defrag_ipv6.ko
-rw-r--r-- 1 root root 8836 Feb 16 22:15 nf_log_ipv6.ko
-rw-r--r-- 1 root root 6732 Feb 16 22:15 nf_nat_ipv6.ko
-rw-r--r-- 1 root root 3800 Feb 16 22:15 nf_nat_pptp.ko
-rw-r--r-- 1 root root 2840 Feb 16 22:15 nf_nat_proto_gre.ko
-rw-r--r-- 1 root root 10748 Feb 16 22:15 nf_nat_sip.ko
-rw-r--r-- 1 root root 4100 Feb 16 22:15 nf_reject_ipv6.ko
-rw-r--r-- 1 root root 7356 Feb 16 22:15 nf_synproxy_core.ko
-rw-r--r-- 1 root root 7272 Feb 16 22:15 nls_base.ko
-rw-r--r-- 1 root root 6312 Feb 16 22:15 nls_cp437.ko
-rw-r--r-- 1 root root 4728 Feb 16 22:15 nls_iso8859-1.ko
-rw-r--r-- 1 root root 5256 Feb 16 22:15 nls_iso8859-2.ko
-rw-r--r-- 1 root root 2376 Feb 16 22:15 nls_utf8.ko
-rw-r--r-- 1 root root 33612 Feb 16 22:15 ohci-hcd.ko
-rw-r--r-- 1 root root 7920 Feb 16 22:15 ohci-platform.ko
-rw-r--r-- 1 root root 34624 Feb 16 22:15 option.ko
-rw-r--r-- 1 root root 4532 Feb 16 22:15 phy-qca-baldur.ko
-rw-r--r-- 1 root root 3672 Feb 16 22:15 phy-qca-uniphy.ko
-rw-r--r-- 1 root root 7032 Feb 16 22:15 phy-qcom-dwc3.ko
-rw-r--r-- 1 root root 11044 Feb 16 22:15 ppp_async.ko
-rw-r--r-- 1 root root 33084 Feb 16 22:15 ppp_generic.ko
-rw-r--r-- 1 root root 9112 Feb 16 22:15 ppp_mppe.ko
-rw-r--r-- 1 root root 9232 Feb 16 22:15 ppp_synctty.ko
-rw-r--r-- 1 root root 14612 Feb 16 22:15 pppoe.ko
-rw-r--r-- 1 root root 3540 Feb 16 22:15 pppox.ko
-rw-r--r-- 1 root root 10484 Feb 16 22:15 pptp.ko
-rw-r--r-- 1 root root 7384 Feb 16 22:15 qcserial.ko
-rw-r--r-- 1 root root 92588 Feb 16 22:15 raid6_pq.ko
-rw-r--r-- 1 root root 6828 Feb 16 22:15 sch_codel.ko
-rw-r--r-- 1 root root 132844 Feb 16 22:15 scsi_mod.ko
-rw-r--r-- 1 root root 37252 Feb 16 22:15 sd_mod.ko
-rw-r--r-- 1 root root 44936 Feb 16 22:15 shortcut-fe.ko
-rw-r--r-- 1 root root 10304 Feb 16 22:15 sierra.ko
-rw-r--r-- 1 root root 21012 Feb 16 22:15 sit.ko
-rw-r--r-- 1 root root 5960 Feb 16 22:15 slhc.ko
-rw-r--r-- 1 root root 5012 Feb 16 22:15 tunnel4.ko
-rw-r--r-- 1 root root 4408 Feb 16 22:15 tunnel6.ko
-rw-r--r-- 1 root root 90264 Feb 16 22:15 udf.ko
-rw-r--r-- 1 root root 4176 Feb 16 22:15 udp_tunnel.ko
-rw-r--r-- 1 root root 5052 Feb 16 22:15 usb-common.ko
-rw-r--r-- 1 root root 53844 Feb 16 22:15 usb-storage.ko
-rw-r--r-- 1 root root 7532 Feb 16 22:15 usb_wwan.ko
-rw-r--r-- 1 root root 174364 Feb 16 22:15 usbcore.ko
-rw-r--r-- 1 root root 8600 Feb 16 22:15 usbip-core.ko
-rw-r--r-- 1 root root 18840 Feb 16 22:15 usbip-host.ko
-rw-r--r-- 1 root root 27408 Feb 16 22:15 usbserial.ko
-rw-r--r-- 1 root root 12712 Feb 16 22:15 vfat.ko
-rw-r--r-- 1 root root 22120 Feb 16 22:15 vhci-hcd.ko
-rw-r--r-- 1 root root 108264 Feb 16 22:15 wireguard.ko
-rw-r--r-- 1 root root 2908 Feb 16 22:15 xfrm6_mode_beet.ko
-rw-r--r-- 1 root root 2216 Feb 16 22:15 xfrm6_mode_ro.ko
-rw-r--r-- 1 root root 2344 Feb 16 22:15 xfrm6_mode_transport.ko
-rw-r--r-- 1 root root 3024 Feb 16 22:15 xfrm6_mode_tunnel.ko
-rw-r--r-- 1 root root 6116 Feb 16 22:15 xfrm6_tunnel.ko
-rw-r--r-- 1 root root 6236 Feb 16 22:15 xfrm_algo.ko
-rw-r--r-- 1 root root 5668 Feb 16 22:15 xfrm_ipcomp.ko
-rw-r--r-- 1 root root 681228 Feb 16 22:15 xfs.ko
-rw-r--r-- 1 root root 111396 Feb 16 22:15 xhci-hcd.ko
-rw-r--r-- 1 root root 5796 Feb 16 22:15 xhci-pci.ko
-rw-r--r-- 1 root root 8396 Feb 16 22:15 xhci-plat-hcd.ko
-rw-r--r-- 1 root root 3760 Feb 16 22:15 xor-neon.ko
-rw-r--r-- 1 root root 7652 Feb 16 22:15 xor.ko
-rw-r--r-- 1 root root 3444 Feb 16 22:15 xt_DSCP.ko
-rw-r--r-- 1 root root 2556 Feb 16 22:15 xt_IMQ.ko
-rw-r--r-- 1 root root 4552 Feb 16 22:15 xt_addrtype.ko
-rw-r--r-- 1 root root 2132 Feb 16 22:15 xt_cpu.ko
-rw-r--r-- 1 root root 2260 Feb 16 22:15 xt_devgroup.ko
-rw-r--r-- 1 root root 2928 Feb 16 22:15 xt_dscp.ko
-rw-r--r-- 1 root root 3656 Feb 16 22:15 xt_ipvs.ko
-rw-r--r-- 1 root root 422504 Feb 16 22:15 xt_opendpi.ko
-rw-r--r-- 1 root root 3068 Feb 16 22:15 xt_physdev.ko
- Magnetron1.1
So dd-wrt is using the new qca firmware blob 3.5.3 that is also included in my own build..
What about LED definitions in config? Anything different there.
I can't do a test build with v4 or v6 patch until next week.
In any case it is good to hear that in principle that patch seems to work. Might be that some Openwrt specific ath10k patch skews things, or something like that, if v6 does not work with that 3.5.3 firmware.
All my experiments have been done with firmware-5.bin_10.4-3.5.3-00053 (PR #744).
config led 'led_wlan2g'
option name 'WLAN2G'
option sysfs 'ath10k-phy1'
option trigger 'phy1tpt'
config led 'led_wlan5g'
option name 'WLAN5G'
option sysfs 'ath10k-phy0'
option trigger 'phy0tpt'
instead of nbg6817:amber:wifi2g and nbg6817:amber:wifi5g (the nbg6817 has two colour LEDs (well, two LEDs sharing the same light pipe), the amber ones originally intended to display error conditions are connected to the SOC and work perfectly, the white ones are directly connected to the QCA9984 GPIOs).
The devices are registered at /sys/class/leds/ and appear to be fine, just their behaviour is unpredictable.
I don't see the nbg6817:amber:wifi2g or the nbg6817:amber:wifi5g LED devices in my lede-17.01 snapshot builds. Are they available only in the master builds?
Is there anyway to disable the amber WiFi LEDs controlled by the SoC GPIOs? Likely that is over-riding the white LEDs controlled by the QCA9984 GPIOs.
Sorry ... I don't know how to obtain this information from the r35034 firmware file. Perhaps you can give me some syntax. Have you tried looking at DD-WRT sources at http://svn.dd-wrt.com/browser ?
Has anyone tried the QCA NSS (i.e. network sub-system) driver on the R7800? Does it achieve wire line speed without SFE?