Hi jow thanks for dropping by on this thread.
Any specific version you want me to try?
I have tried several versions in the past, the releases for sure, can't recall which intermediate versions though.
also, is there an easy/quick way to backup/restore the entire flash (e.g. dd style?)
it would make returning to my stable setup after trying out versions less of a hassle.
To add, NAC 5 GHz comes up on an R6100, but it's not stable, and will crash after an indefinite period of time. (kmod-ath10k.) The CandelaTech driver seems to last longer, but will also crash after some longer time has elapsed.
I couldn't figure out where/why/how $FIRMWARE (needs to) gets set differently for the NBG6716 but a quick fix is to simply rename the generated calibration file cal... to **pre-**cal.... mv /lib/firmware/ath10k/cal-pci-0000:01:00.0.bin /lib/firmware/ath10k/pre-cal-pci-0000:01:00.0.bin
currently i'm running 10.2.4-1.0-0029 (latest from kvalo), it's complaining that the board id is missing from otp but otherwise initial tests seem fine. let me know how you fare!
Try a reboot after configuring. 5 Ghz was always twitchy on OpenWRT IMO and used to just need a reboot to get back on track. I'm just glad the latest update fixed my 5 Ghz woes AND I can use AC for the first time since original firmware. It took three updates but, so far so good, I'd say LEDE is absolutely delivering right now. Solid work.
Can you modify the /etc/hotplug.d/firmware/11-ath10k-caldata file by adding the "pre"-prefix there in the block containing NBG6716? Then remove the previously generated file under /lib/firmware/ath10k and reboot. Seems that 6716 has incomplete calibration data in flash, which needs to be loaded differently.
Edit: Better still, could someone provide a full dump of the RFdata partition somewhere?
The support state for QCA9984 is better in master than the lede-17.01 branch, especially in case of problems I would suggest to concentrate on snapshots instead of the stable release.
I'd be happy to give that a try if I knew how
it's not clear to me where the detection call/pre-cal is made ($FIRMWARE is set where?)
i've moved to NB6716 bit to the "pre-" block but that didn't work.
I've upgraded to a snapshot, but also to no avail.
as for dumping RFdata, I'd be happy to oblige, just give me the magic incantation for dd
cat /proc/mtd
dev: size erasesize name
mtd0: 00040000 00010000 "u-boot"
mtd1: 00010000 00010000 "env"
mtd2: 00010000 00010000 "RFdata"
mtd3: 00fa0000 00010000 "nbu"
mtd4: 00200000 00020000 "zyxel_rfsd"
mtd5: 00200000 00020000 "romd"
mtd6: 00100000 00020000 "header"
mtd7: 00200000 00020000 "kernel"
mtd8: 0f900000 00020000 "ubi"
(not near my nbg6716 right now but)
without the pre-cal files the ath10k modules refuse to load.
without the 11-ath10k-caldata no (pre-)cal file
ergo no 5Ghz?
or put differently how to check mac etc, without the ath10k modules loaded?
It doesn't load because the (nonexistent) calibration data from flash is bogus and crashes the firmware. If you remove the files I listed, the on-board calibration data is tried next, and it just might work after reboot.
Well... with the bogus calibration data in the pre-cal file the 5Ghz works just fine.
without that file present the firmware crashes. cfr. the logs i posted earlier. e.g.
you are probably correct.
so preferably we figure out where/how to get proper calibration data.
or figure out how to get the hotplug script to create the pre-cal file instead (but let it run uncalibrated)
or maybe use this option with ath10k: skip_otp=y (haven't tried it yet, but i'm assuming it'll run uncalibrated as well)