Latest build without Customized DD-WRT drivers

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2
Author Message
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3004
Location: Germany

PostPosted: Sun Aug 28, 2022 21:30    Post subject: Reply with quote
ho1Aetoo wrote:
No, there is no need to reboot.
BS has implemented it that way.
The router always starts with the dd-wrt radio firmware.
THEN - a firmware crash is simulated and the vanilla firmware is loaded - without reboot and this is always the case.


root@DD-WRT:~# find / | grep crash
/sys/kernel/debug/ieee80211/phy1/ath10k/simulate_fw_crash
/sys/kernel/debug/ieee80211/phy0/ath10k/simulate_fw_crash

Wink



https://github.com/mirror/dd-wrt/blob/master/src/router/services/networking/wifi/mac80211.c#L353

Code:
if (nvram_match(fwtype, "vanilla"))
            sysprintf("echo vanilla > /sys/kernel/debug/ieee80211/%s/ath10k/fw_post", wif);
         else
            sysprintf("echo > /sys/kernel/debug/ieee80211/%s/ath10k/fw_post", wif);
         sysprintf("echo fw-reload > /sys/kernel/debug/ieee80211/%s/ath10k/simulate_fw_crash", wif);
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Sun Aug 28, 2022 21:43    Post subject: Reply with quote
Basic troubleshooting example, select firmware type DD-WRT so simulated crash and subsequent reload never occurs.
If radio scheduling issue still exists then I highly doubt the firmware type switching feature has any part of root cause.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3004
Location: Germany

PostPosted: Mon Aug 29, 2022 12:12    Post subject: Reply with quote
@Tripod3

Are you using a fixed channel or auto-channel?

Auto-Channel also hangs from time to time
Tripod3
DD-WRT Novice


Joined: 08 Dec 2018
Posts: 16

PostPosted: Tue Aug 30, 2022 21:16    Post subject: Reply with quote
blkt wrote:
@Tripod3 about asking same question already answered 1st reply r44715 (r44719). Try dmesg | grep 'firmware ver'

I pointed out load FW type dd-wrt first before vanilla when this was implemented so to make sure this was intended.
Also please stop calling dd-wrt or vanilla firmware type 'drivers' they are wireless or radio binary blobs so that is all.

Is r44715 the last release without dd-wrt radio binary blobs or the first one with it?


Quote:

Maybe this needs to be reassessed, but at the same time just because an old build 'works' does not prove anything.

If saying something is broken or to combine this with 'it worked before' provides next to nothing to identify or solve.
Full circle to this question, have you provided enough configuration information or all steps to reproduce a problem?


That's what I posted in of the builds threads:

TP-Link ARCHER-C7 v2

Issues: Wifi doesn't turn on according to schedule if router is rebooted while wifi is turned off.

1) Disable Wifi on 2.4 GHz completely.
2) Set up Wifi schedule for 5 GHz.
3) Once Wifi turns off (according to schedule), reboot router.
4) Wifi will never turn on again, unless rebooted 2+ times during a time when Wifi is scheduled to be on.
Tripod3
DD-WRT Novice


Joined: 08 Dec 2018
Posts: 16

PostPosted: Tue Aug 30, 2022 21:17    Post subject: Reply with quote
ho1Aetoo wrote:
@Tripod3

Are you using a fixed channel or auto-channel?

Auto-Channel also hangs from time to time


Auto channel. Do you know of any version after r40559 where it is working correctly?
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 5700

PostPosted: Tue Aug 30, 2022 22:40    Post subject: Reply with quote
I answered the very first question, so there is no need to rephrase 4x or complicate also this solves nothing.
Critical lack of information did not specify any wireless radio or scheduler settings to reproduce the problem.

Any settings changed from factory defaults are interesting. Set both radio channels, as ho1Aetoo suggested.
Try firmware type DD-WRT binary, so a reload never occurs during boot and replicate behavior of old builds.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 3004
Location: Germany

PostPosted: Wed Aug 31, 2022 6:36    Post subject: Reply with quote
Tripod3 wrote:
ho1Aetoo wrote:
@Tripod3

Are you using a fixed channel or auto-channel?

Auto-Channel also hangs from time to time


Auto channel. Do you know of any version after r40559 where it is working correctly?


No as far as I know this is faulty for 3 years.
However, the problem is poorly reproducible and therefore also poorly fixable.

I have given up testing because I do not want to restart my router 100x.
If auto-channel hangs the router takes much longer to boot and the WLAN is then unconfigured.

See

https://svn.dd-wrt.com/ticket/6965#comment:158

To exclude this problem, you can test with fixed channels as already mentioned.
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum