Beacon numbers for radiation/congestion reduction settings.

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2  Next
Author Message
danielwritesback
DD-WRT User


Joined: 29 Aug 2011
Posts: 240

PostPosted: Mon Jun 10, 2019 5:57    Post subject: Beacon numbers for radiation/congestion reduction settings. Reply with quote
Prime beacon interval numbers don't readily collide with other wifi access points. Update: However, that may be incompatible with recent IOT updates, such as Google Home and some Marvell clients (some of those need beacon divisible by 100).

For rf sensitive people, longer time in-between 2.4ghz beacons, such as 300, prevents headache.
You can leave the 5ghz on the default setting.

Other tip, Try DTIM set to 2 to enhance phone and tablet power saving.

See also https://play.google.com/store/apps/details?id=com.pzolee.wifiinfo Wifi Network Analyzer phone app--you probably don't want the 2.4ghz signal more than halfway up the scale if measured from your bedroom.


Last edited by danielwritesback on Sun Mar 06, 2022 14:34; edited 1 time in total
Sponsor
SinCalChewy
DD-WRT User


Joined: 09 Nov 2014
Posts: 314
Location: Bakersfield, CA

PostPosted: Fri Jun 28, 2019 20:54    Post subject: Reply with quote
This post has been super helpful, as I'm in an apartment complex with lots of signals flying around.

My only question: I have client bridges on my network to the gateway. I have the beacon interval set there, and currently on my client bridges as the same. Should client bridges have the same interval? Or is it better off having a different interval than the gateway?

DTIM at 2 has helped a lot as well. Just wondering about the client bridge interval issue.

TIA! Smile

_________________

Deployed Routers:
Netgear R7800 - 1x build 46979
- Gateway (USB /w Entware, CAKE QoS)
Netgear R7000 - 3x build 46979
kernel-panic69
DD-WRT Guru


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

PostPosted: Mon Jul 01, 2019 9:55    Post subject: Reply with quote
Setting 2.4GHz band to 293 and 5GHz band to 241 seems to be working good on my E4200 v1. I left the GTK renewal at the default of 3600 and so far, NO ISSUES, save and except for the first couple of hours of uptime after I had to de-brick after a bad flash on 40167. Currently still using 40065 K3.x mega.
tinkeruntilitworks
Guest





PostPosted: Tue Jul 02, 2019 16:29    Post subject: Reply with quote
i would get some errors that would accumulate over time. always still "100%" though. never noticable.

i adjusted the beacons to primes and the dtim to 2. i haven't seen any errors since it's been up and running.

for some reason when my phone first connects it sends packets that are errors. then it quickly resolves the issue.

those initial errors are all I've seen. thanks for posting
bushant
DD-WRT Guru


Joined: 18 Nov 2015
Posts: 2030

PostPosted: Tue Jul 02, 2019 17:35    Post subject: Reply with quote
More about which prime numbers to use:
https://www.dslreports.com/forum/r14241618-Theory-on-Optimizing-a-802-11-Beacon

_________________
Forum Guide Lines (with helpful pointers about how to research your router, where and what firmware to download, where and how to post and many other helpful tips!)
How to get help the right way

Before asking for help - Read the forum guidelines AND Upgrade DD-WRT!
Adblock by eibgrad + Blocklist Collection
dTX
DD-WRT User


Joined: 28 Dec 2018
Posts: 83

PostPosted: Thu Jul 04, 2019 15:26    Post subject: Reply with quote
DEV's,make this post Sticky please. It's very informative and beneficial to everyone here.I also had no idea about the proper interval numbers.
danielwritesback thanks for posting this !!!!

_________________
Router: ASUS AC1900(RT-AC68U)
danielwritesback
DD-WRT User


Joined: 29 Aug 2011
Posts: 240

PostPosted: Mon Dec 23, 2019 22:27    Post subject: Reply with quote
SinCalChewy wrote:
...I'm in an apartment complex with lots of signals flying around.
...
Just wondering about the client bridge interval issue.

For an apartment with wifi congestion, CTS to auto and lowering the RTS value could help. Lower RTS costs some throughput but reduces lag, and can get more range for 5ghz. Theoretically, the setting could be done at clients or access points; but, it is usually done at the access point.

Client-mode specific WL commands exist but they aren't represented in the user interface; and, clients don't beacon. So, generally, those settings are done at the access point.
danielwritesback
DD-WRT User


Joined: 29 Aug 2011
Posts: 240

PostPosted: Mon Oct 26, 2020 14:27    Post subject: Reply with quote
Another source of congestion is junk packets. CVE-2019-11477 CVE-2019-11478 CVE-2019-11479
To fix, you can use:
iptables -t mangle -A PREROUTING -p tcp -m conntrack --ctstate NEW -m tcpmss ! --mss 536:65535 -j DROP
msoengineer
DD-WRT Guru


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

PostPosted: Mon Oct 26, 2020 15:19    Post subject: Reply with quote
For the moment, the following is what is recommended:

Use 300 for the beacon interval for the primary radio you want seen first (5ghz most likely). DTIM should be 1.

Use 400 for the other radio if you have a router with two radios. DTIM should also be 1.

Enable RTS/CTS and then set the separate box for threshold to 784.

mtu=1500 bytes divide by half to yield 750 plus 34 bytes for overhead = 784.

prime numbers for BI may prove problematic for some client devices and YMMV if you use a prime number. 300-600 is the "sweet spot" for beacon interval vs. client power consumption. 300 seems to be a BI time unit recommended by advanced network guru's.

_________________
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]52396 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
itwontbewe
DD-WRT User


Joined: 29 Sep 2020
Posts: 260
Location: United States

PostPosted: Mon Oct 26, 2020 17:06    Post subject: Reply with quote
R7000P here
the RTS/CTS looks different than your qca settings

do i just set rts threshold to 784 and leave the rest as is? is the fragmentation threshold related to it as well?
msoengineer
DD-WRT Guru


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

PostPosted: Mon Oct 26, 2020 19:49    Post subject: Reply with quote
Set both thresholds to 784.
_________________
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]52396 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
itwontbewe
DD-WRT User


Joined: 29 Sep 2020
Posts: 260
Location: United States

PostPosted: Mon Oct 26, 2020 20:34    Post subject: Reply with quote
thank you
mac913
DD-WRT Guru


Joined: 02 May 2008
Posts: 1848
Location: Canada

PostPosted: Mon Oct 26, 2020 22:15    Post subject: Reply with quote
msoengineer wrote:
For the moment, the following is what is recommended:

Use 300 for the beacon interval for the primary radio you want seen first (5ghz most likely). DTIM should be 1.

Use 400 for the other radio if you have a router with two radios. DTIM should also be 1.

Enable RTS/CTS and then set the separate box for threshold to 784.

mtu=1500 bytes divide by half to yield 750 plus 34 bytes for overhead = 784.

prime numbers for BI may prove problematic for some client devices and YMMV if you use a prime number. 300-600 is the "sweet spot" for beacon interval vs. client power consumption. 300 seems to be a BI time unit recommended by advanced network guru's.


Thanks for the good info. Made the changes to all 3 sites in my Signature. I will report back...

_________________
Home Network on Telus 1Gb PureFibre - 10GbE Copper Backbone
2x R7800 - Gateway & WiFi & 3xWireGuard - DDWRT r53562 Std k4.9

Off Site 1

R7000 - Gateway & WiFi & WireGuard - DDWRT r54517 Std
E3000 - Station Bridge - DDWRT r49626 Mega K4.4

Off Site 2

R7000 - Gateway & WiFi - DDWRT r54517 Std
E2000 - Wired ISP IPTV PVR Blocker - DDWRT r35531


YAMon 3.4.6 | DNSCrypt-Proxy V2
mrjcd
DD-WRT Guru


Joined: 31 Jan 2015
Posts: 6268
Location: Texas

PostPosted: Mon Oct 26, 2020 22:55    Post subject: Reply with quote
just a note --
all my brcm WAPs & Gateways I have:
Fragmentation Threshold 1792
RTS Threshold 1792

AND also

all QCA units - gateways & WAPs:
Protection Mode RTS/CTS
RTS Threshold Enabled
Threshold 1792

has worked very well for me for couple years
msoengineer
DD-WRT Guru


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

PostPosted: Tue Oct 27, 2020 0:09    Post subject: Reply with quote
I think anything set higher than 1500 will make no difference for wifi to wan traffic. For wifi to lan that 1792 might still be useful, but wan traffic is 1500 bytes or less making 1792 similar to 2346...
_________________
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]52396 nightly (Main Router)
[EA8500]43192 & 45493 (2xOffsite)
[R7800] resting
[WDR3600]BS 44715 (Offsite)
[A7v5]BS 43038 (Offsite+spare napping)
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC 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 can attach files in this forum
You can download files in this forum