[Solved] Strange 5g to 2.4g transition of clients

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


Joined: 08 May 2018
Posts: 7443
Location: Texas, USA

PostPosted: Wed Sep 09, 2020 7:10    Post subject: Reply with quote
Wired ethernet FTW! Damn, that's some sh*t. Maybe some lead wallpaper in the laundry room, to include the inside of the door? Twisted Evil
_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Sponsor
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 1738

PostPosted: Wed Sep 09, 2020 12:39    Post subject: Reply with quote
We are getting to the point when there is no option to buy a home appliance without smart home junk.

IoT phone home until you open it up yourself and attack with a soldering iron.

Saw an advertisement the other day for a car with Alexa installed...

Here's hoping for an LG resistant firmware binary. https://svn.dd-wrt.com/changeset/44337
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 7443
Location: Texas, USA

PostPosted: Wed Sep 09, 2020 13:37    Post subject: Reply with quote
The secondary vehicle is "smart" enough. Drive by wire, save and except for steering, brakes, and drivetrain. Everything else is electronic sensors. My Tacoma is one of the last model years with an actual throttle cable. I'd rather risk it sticking wide open or breaking than having SkyNet decide my fate Laughing

Anyhow, yes, here's hoping...

_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1415
Location: Illinois Moderator

PostPosted: Wed Sep 16, 2020 3:43    Post subject: Reply with quote
FOUND THE CULPRIT....


802.11r

had it enabled on both radios...

My best guess at the whole mess...

despite the wifi being off on the appliance, when it is first turned on the default is that it starts broadcasting as an AP and then turns off in 3-10 seconds... That's just long enough to disrupt the wifi environment and cause devices to want to jump ship...

turning off 802.11r made the issue go away.

I'll keep my eye's peeled on the status window and will reply back if this gremlin comes back, but I don't think it will.

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]44863 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]napping
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1415
Location: Illinois Moderator

PostPosted: Thu Sep 17, 2020 4:46    Post subject: Reply with quote
I wanted to think turning off 802.11r would help, like it first appeared to....nope...

New experiment, bumping up the beacon intervals... 5ghz 449 and 2.4 at 523 DTIM=2 for both...

we'll see how this one runs for 24hrs.

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]44863 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]napping
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1415
Location: Illinois Moderator

PostPosted: Thu Oct 22, 2020 17:19    Post subject: Reply with quote
OK, I've been upgrading the nightly builds so far and as of the last month or so I haven't noticed any issues...

So here is the solution that was implemented:

I changed both radio's beacon interval to something that was more realistic. 100 is a very very short window for a beacon interval. Stealing from the "idealogy" of bluetooth beacons used for position detection, a 100 beacon will eat through battery like none other for bluetooth position sensors. The same science/theory applies to wifi. Having a super low beacon interval will cause your wifi clients to always get pinged by the router thus reducing battery life of your phone/tablet/laptop.

Applies to Bluetooth:

But here is how it looks to the router when you physically move and have the various beacon intervals:

So you can see that having a super short beacon interval is not really useful and setting it between 300 and 600 is a happy "split the difference" solution. This is what ultimately led me to use the values I am using- with great success to boot!

I am still a firm believer in using prime numbers for a beacon interval to assure that mathematically you never can overlap a neighboring AP. With that in mind, I ended up settling on:

5g: 449 DTIM=1
2.4g: 523 DTIM=1

Changing from DTIM 2 to 1 seems to have made a difference, too, because otherwise the beacon is nearly 1 second long
(dtim=2- so every other beacon = double the time) which makes for a bad experience for moving/mobile devices on wifi.

This seems to have stopped the washer and dryer from blasting out whatever pulse they broadcast and killing the router's wifi for milliseconds causing clients to jump the 5ghz ship for 2.4ghz.... It's been amazingly stable now with the beacon intervals set at the above.

I will get around to making this official in the best settings sticky and wiki's for bcm and qca wifi... but until then I will leave this nugget of info for the dedicated readers.



_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]44863 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]napping
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)


Last edited by msoengineer on Thu Oct 22, 2020 22:05; edited 4 times in total
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6614
Location: Netherlands

PostPosted: Thu Oct 22, 2020 17:42    Post subject: Reply with quote
Nice work!!
_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 5358
Location: Texas

PostPosted: Fri Oct 23, 2020 12:22    Post subject: Reply with quote
msoengineer wrote:
...beacon intervals...

My settings on two E2100L units WDS-AP & WDS-Sta that only talk to each other using oldass r27506 (2015).
Signal shoots thru powerlines and across state hywy.
Only thing I found that won't drop wireless.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6614
Location: Netherlands

PostPosted: Fri Oct 23, 2020 16:16    Post subject: Reply with quote
Strange observation, I used your settings and everything worked well except one IOT device on my VAP, this would not function, the connection status showed Legacy2.5

I lowered the Beacon interval to 199 and then it started to function again, showing connection HT20

(router R7800 running build 44467)

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1415
Location: Illinois Moderator

PostPosted: Fri Oct 23, 2020 17:04    Post subject: Reply with quote
egc wrote:
Strange observation, I used your settings and everything worked well except one IOT device on my VAP, this would not function, the connection status showed Legacy2.5

I lowered the Beacon interval to 199 and then it started to function again, showing connection HT20

(router R7800 running build 44467)


IoT devices are a total crapshoot with their low cost chipsets and what drivers are hard baked in... We'll have to keep an eye out and see if we can come to a consensus, but I think it may end up that we will need to be at multiples of 100...

See what happens with 300 for me please. I'm curious is the prime number may be the issue since it's a funky time unit value and might be actually rounding to something else...I haven't dug into the cli to see what is actually happening in a while...

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]44863 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]napping
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6614
Location: Netherlands

PostPosted: Fri Oct 23, 2020 17:34    Post subject: Reply with quote
300 works, dtim still on 1
_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
msoengineer
DD-WRT Guru


Joined: 21 Jan 2017
Posts: 1415
Location: Illinois Moderator

PostPosted: Fri Oct 23, 2020 17:47    Post subject: Reply with quote
egc wrote:
300 works, dtim still on 1


so that IoT device has shit code that cannot handle prime number time units... I wonder how much you can deviate from increments of 100 before it turns to shit...

101, 103, 107, 109, 113, 127, 131, 137, 139, 149, 151, 157, 163, 167, 173, 179, 181, 191, 193, 197, 199, 211, 223, 227, 229, 233, 239, 241, 251, 257, 263, 269, 271, 277, 281, 283, 293, 307, 311, 313, 317, 331, 337, 347, 349, 353, 359, 367, 373, 379, 383, 389, 397, 401, 409, 419, 421, 431, 433, 439, 443, 449, 457, 461, 463, 467, 479, 487, 491, 499, 503, 509, 521, 523, 541, 547, 557, 563, 569, 571, 577, 587, 593, 599, 601, 607, 613, 617, 619, 631, 641, 643, 647, 653, 659, 661, 673, 677, 683, 691

I know a long list and don't expect, or ask, to test all values in the list...but I bet it's within 5%-10% or so...not sure what kind of error/buffer is built into the code... maybe a worthwhile question to BS to see if there is some tolerance in the 802.11 standard for beacon TU...there must be one....

_________________
FORUM RULES

TIPS/TRICKS: Best QCA Wifi Settings | Latency tricks | QoS Port priority | NEVER USE MU-MIMO |
Why to NOT use MU-MIMO | Max Wifi Pwr by Country | Linux Wifi Pwr | AC MCS & AX MCS | QCA 5Ghz chnls to use | WIFI Freq WIKI | TFTP R7800 | Don't buy AX | IPERF3 How-To

[R9000]44863 nightly (Main Router)
[EA8500]43192 nightly (2xOffsite)
[R7800]napping
[WDR3600]BS 42567 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 6614
Location: Netherlands

PostPosted: Fri Oct 23, 2020 17:54    Post subject: Reply with quote
I will test later, but this is the master/family router so cannot test too much, but I will keep you posted
_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
OpenVPN Policy Based Routing: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=321686
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
OpenVPN Server Setup:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=318795
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Wireguard Server setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1183135
Wireguard Client setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324624
Wireguard Advanced setup guide:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324787
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
Goto page Previous  1, 2, 3 Display posts from previous:    Page 3 of 3
Post new topic   Reply to topic    DD-WRT Forum 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