New build: KONG PTB 29300 - 2016/03/23 (Kernel 3.10)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5  Next
Author Message
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Tue Jul 05, 2016 23:04    Post subject: Reply with quote
I'd like to second HalfBit's endorsement of 29300 30/03/2016 build on the R7000. It is very stable, and the wifi range and throughput on the 5GHz radio far exceed anything I've found on other dd-wrt releases, shibby tomato, or OEM stock firmware. The 3.10 kernel indeed does seem to play very nicely with the R7000.

In hopes of helping other users, I'm happy to leave the following for the sake of posterity:

1. This build is available on the Kong archive site, which many people don't know exists: http://ddwrt-kong.clonevince.fr/29300-3/

2. Many people struggle with which regulatory country to use for the maximum wifi coverage (without regard to their own country's regulatory limits). Buried somewhere, I was able to find to the link to the Linux wireless regulatory database that dd-wrt seems to follow:

https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-regdb.git/tree/db.txt?id=HEAD

Here you can easily see the regulatory limits for each country, such as the US:

country US: DFS-FCC
(2402 - 2472 @ 40), (30)
(5170 - 5250 @ 80), (17), AUTO-BW
(5250 - 5330 @ 80), (23), DFS, AUTO-BW
(5735 - 5835 @ 80), (30)

The 2402-2472 range is the 2.4GHz channels.
The 5170-5250 range is the 5GHz low channels.
The 5250-5330 range is the 5GHz mid (usually DFS) channels.
The 5735-5835 range is the 5GHz high channels.
Max power is listed for each range in dBm.

If you need help cross referencing the two-character country codes to a country name, use this chart:
http://www.nationsonline.org/oneworld/country_code_list.htm

For my situation, I need maximum power on the lowest possible 5GHz frequency in the hopes that the signal will penetrate through a two walls to my home office and give me the maximum amount of bandwidth. Many countries will allow 24dBM in the 5GHz low range, but only one country will allow 30dBM in the 5GHz mid channels: Bolivia.

country BO: DFS-JP
(2402 - 2482 @ 40), (20)
(5250 - 5330 @ 80), (30), DFS
(5735 - 5835 @ 80), (30)

I have verified the transmission power in this configuration using the "wl txpwr" command which yielded the result of "31.75 dBm = 1496 mw".

After lengthy experimentation, I can confirm that the R7000 running dd-wrt 29300 30/03/2016, using Bolivia as the regulatory domain, and the 5GHz radio configured for channel 52 with extension channel lower-lower and an 80 MHz width produces unsurpassed wifi results in my environment.
Sponsor
Doppel-D
DD-WRT User


Joined: 13 Jul 2014
Posts: 215
Location: Germany

PostPosted: Wed Jul 06, 2016 7:10    Post subject: Reply with quote
@vonLampertheim Thanks for sharing! I put a link inside the sticky R7000 thread.
_________________
IT Crowd - Have You Tried Turning It Off And On Again?
Xeon2k8
DD-WRT Guru


Joined: 11 Feb 2016
Posts: 1288

PostPosted: Wed Jul 06, 2016 19:35    Post subject: Reply with quote
vonLampertheim wrote:

...
I have verified the transmission power in this configuration using the "wl txpwr" command which yielded the result of "31.75 dBm = 1496 mw".
...


That's useless since it will give you the same value for any country.
Kong wrote:

The default "auto" power shows

31.75 dBm = 1496 mw

This is no real value it is a broadcom internal val which means "default" power.

Whatever you set, the unit will not allow more output than defined in the regions output table.
It is not possible on these units to boost the output, that's why I added the option "Auto" so that people don't even try to mess with txpwr value.


Also, can you give some actual comparison numbers on how Bolivia was the best of all?
Doppel-D
DD-WRT User


Joined: 13 Jul 2014
Posts: 215
Location: Germany

PostPosted: Thu Jul 07, 2016 6:03    Post subject: Reply with quote
Xeon2k8 wrote:
Also, can you give some actual comparison numbers on how Bolivia was the best of all?



vonLampertheim wrote:

After lengthy experimentation, I can confirm that the R7000 running dd-wrt 29300 30/03/2016, using Bolivia as the regulatory domain, and the 5GHz radio configured for channel 52 with extension channel lower-lower and an 80 MHz width produces unsurpassed wifi results in my environment.


Field studies :- )

Quicktest tried by myself (beamforming expl./impl. enabled,AC connection), no significant signal strength change metered with wifi analyzer but after router reboot the smartphone internal meter showed increased signal quality. After switching back regulatory domain signal quality stayed good so no, can't confirm signal boost on my site (Germany/Bolivia,channel 52 low/low)

Anyone can confirm/falsify this?

www.dd-wrt.com/phpBB2/viewtopic.php?t=302940&start=52

_________________
IT Crowd - Have You Tried Turning It Off And On Again?
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Thu Jul 07, 2016 7:53    Post subject: Reply with quote
Sincere thanks for the peer review!

My r7000 is my main router in my home so I will have to wake up before the family tomorrow to do the science experiments on it.

However, I have a backup wrt1200ac and the tx power levels do seem to be following the regulatory domain limits at the link I posted earlier.

Reg limits for the US:
country US: DFS-FCC
(2402 - 2472 @ 40), (30)
(5170 - 5250 @ 80), (17), AUTO-BW
(5250 - 5330 @ 80), (23), DFS, AUTO-BW
(5735 - 5835 @ 80), (30)

The router reports 23 transmission power when on the US regulatory domain using channel 52:



Reg limits for Bolivia:
country BO: DFS-JP
(2402 - 2482 @ 40), (20)
(5250 - 5330 @ 80), (30), DFS
(5735 - 5835 @ 80), (30)

The router reports 30 transmission power when on the Bolivia regulatory domain using channel 52:



According to the router, I picked up 7 dBm by switching nothing more than the regulatory domain.
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Thu Jul 07, 2016 8:04    Post subject: Reply with quote
If the router is truly following the regulatory database of the kernel that I included above, then this is the best all around profile I can find that gives maximum power across most frequencies:

(2402 - 2472 @ 40), (30)
(5170 - 5250 @ 80), (24), AUTO-BW
(5250 - 5330 @ 80), (24), DFS, AUTO-BW
(5490 - 5730 @ 160), (24), DFS
(5735 - 5835 @ 80), (30)

This profile is available on the following countries: American Samoa, Bermuda, Micronesia, Haiti, Marshall Islands, Northern Marinara Islands, Nicaragua, Palau, and US Virgin Islands. However, not all of these regulatory domains are available as choices in the dd-wrt dropdown lists.

Also of note, Bolivia is the only country to offer 30 dBM on the 5.2GHz mid band, but it doesn't offer 5.2GHz lows at all and it only gives 20 dBm on the 2.4 GHz channels:

country BO: DFS-JP Bolivia
(2402 - 2482 @ 40), (20)
(5250 - 5330 @ 80), (30), DFS
(5735 - 5835 @ 80), (30)

Venezuela had power limits just under the "max" profile above, and it is available as a choice in dd-wrt. It also gives you channel 13 on the 2.4 GHz band.

country VE: DFS-FCC Venezuela
(2402 - 2482 @ 40), (30)
(5170 - 5250 @ 80), (23), AUTO-BW
(5250 - 5330 @ 80), (23), DFS, AUTO-BW
(5735 - 5835 @ 80), (30)
Xeon2k8
DD-WRT Guru


Joined: 11 Feb 2016
Posts: 1288

PostPosted: Thu Jul 07, 2016 12:24    Post subject: Reply with quote
Yeah by actual comparison numbers I mean file transfer rates comparison, range signal quality comparison etc.
I know that theorically you gained 7dBM but I'm curious to check if that actually translate to real performance or it is just crap. I would try it myself but haven't got my router since few weeks.

Thanks Doppel-D I was expecting those results.
E-Man
DD-WRT User


Joined: 10 Mar 2014
Posts: 85

PostPosted: Thu Jul 07, 2016 15:29    Post subject: Reply with quote
vonLampertheim wrote:

Also of note, Bolivia is the only country to offer 30 dBM on the 5.2GHz mid band, but it doesn't offer 5.2GHz lows at all and it only gives 20 dBm on the 2.4 GHz channels:

country BO: DFS-JP Bolivia
(2402 - 2482 @ 40), (20)
(5250 - 5330 @ 80), (30), DFS
(5735 - 5835 @ 80), (30)

Venezuela had power limits just under the "max" profile above, and it is available as a choice in dd-wrt. It also gives you channel 13 on the 2.4 GHz band.


I did some thorough analysis on this yesterday and you stole the words right out of my mouth. Bolivia's power limit for 2.4GHz completely sucks in comparison with USA's.

Also, there is no other Regulatory Domain which has a 2.4GHz DBm higher than 30DBm anyway so there isn't much of an incentive to switch it as far as I can see.
JN
DD-WRT Guru


Joined: 29 Mar 2007
Posts: 771

PostPosted: Thu Jul 07, 2016 18:11    Post subject: Reply with quote
vonLampertheim wrote:
Buried somewhere, I was able to find to the link to the Linux wireless regulatory database that dd-wrt seems to follow:

https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-regdb.git/tree/db.txt?id=HEAD

Here you can easily see the regulatory limits for each country


Kong states on this other thread where he gets the regulatory limits during a discussion where a user felt his router was changing channels for DFS too easily.

Potentially ignorant question: BS vs Kong builds
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=301405&postdays=0&postorder=asc&start=15

<Kong> wrote:
https://wireless.wiki.kernel.org/en/developers/regulatory


Is this essentially the same information as vonLampertheim is referring to?

<Kong> also stated on the topic I linked above how to check firmware output to confirm it matches regulatory limits.

<Kong> wrote:
Just compare firmware output for channels and country by using these commands:

iw phy0 info (2.4G on a 1200AC)
iw phy1 info (5G on a 1200AC)

and compare output with regulatory rules.


This year, the FCC has newly allowed some looser limits in USA allowing more transmit power on the lower 5ghz channels and allowing (with DFS) certain channels that were banned before.

I find this through reference 21 on this article

https://en.wikipedia.org/wiki/List_of_WLAN_channels

which leads to

https://apps.fcc.gov/oetcf/kdb/forms/FTSSearchResultPage.cfm?switch=P&id=27155

Referring to links at the bottom of that page for diagrams of the 5ghz limits

905462 D05 802.11 Channel Plans Old Rules v01
905462 D06 802 11 Channel Plans New Rules v02

We see transmit power allowed is raised to 30 dBm for channels 36-48 and their overlapping 40 and 80 mhz wide channels.

Also, channels 120, 124, and 128 (along with overlapping 40 and 80 mhz channels) are added, subject to DFS for Doppler Radar.

How can we configure our R7000's to take advantage of these new legal options here in the USA? I would like to be able to do this, utilizing fully, but also staying within the correct limits of the new regulations.

It seems the regulation databases quoted above still show the older USA FCC guidelines.

I am curious, given that one user was complaining about the router changing channels too easily for DFS (on an older build), what are current impressions as to whether DFS is working as it should on the R7000 (changing channels when it should, but not too easily, and reverting back to the original channel when it should)?

What changes have there been in the history of DD-WRT for R7000 that might affect user setting of transmit power or operation of DFS? Can we set tranmit power as we wish, anywhere between very low values and the legal limit as directed by the selected regulatory domain?

Are there versions of DD-WRT (that we may want to avoid to ensure compliance) that did not correctly limit transmit power on some or all channels or did not implement DFS when it should have been implemented?

Also, what builds will allow us to use transmit power fully up to the lesser of the hardware capability of the router and the legal limit as per the selected regulatory domain? Is that only the 29300 discussed on this thread, or what other builds?
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Thu Jul 07, 2016 19:56    Post subject: Reply with quote
JN wrote:


<Kong> also stated on the topic I linked above how to check firmware output to confirm it matches regulatory limits.

<Kong> wrote:
Just compare firmware output for channels and country by using these commands:

iw phy0 info (2.4G on a 1200AC)
iw phy1 info (5G on a 1200AC)

and compare output with regulatory rules.


JN, please note that "iw phy0 info" did not yield the desired results on the WRT1200AC, and instead I used "iw ath1 info" to get the txpower values.

WRT1200AC
Kong 30015 06/24/16

country NZ: DFS-FCC
(2402 - 2482 @ 40), (30)
(5170 - 5250 @ 80), (17), AUTO-BW
(5250 - 5330 @ 80), (24), DFS, AUTO-BW
(5490 - 5730 @ 160), (24), DFS
(5735 - 5835 @ 80), (30)

root@DD-WRT:~# iw ath1 info
Interface ath1
ifindex 38
wdev 0x100000010
addr c0:56:27:b9:78:9c
ssid Wellington
type AP
wiphy 1
channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
txpower 30.00 dBm

Conclusion: txpower matches the regulatory domain of 30 dBm @ 2.4 GHz.


country BO: DFS-JP
(2402 - 2482 @ 40), (20)
(5250 - 5330 @ 80), (30), DFS
(5735 - 5835 @ 80), (30)

root@DD-WRT:~# iw ath0 info
Interface ath0
ifindex 27
wdev 0xb
addr c0:56:27:b9:78:9b
ssid Wellington-5GHz
type AP
wiphy 0
channel 52 (5260 MHz), width: 80 MHz, center1: 5290 MHz
txpower 30.00 dBm

Conclusion: txpower matches the regulatory domain of 30 dBm on channel 52, which is the only regulatory domain which allows that power at that frequency.

I also tried the following:

country US: DFS-FCC
(2402 - 2472 @ 40), (30)
(5170 - 5250 @ 80), (17), AUTO-BW
(5250 - 5330 @ 80), (23), DFS, AUTO-BW
(5735 - 5835 @ 80), (30)

root@DD-WRT:~# iw ath0 info
Interface ath0
ifindex 33
wdev 0xe
addr c0:56:27:b9:78:9b
ssid Wellington-5GHz
type AP
wiphy 0
channel 52 (5260 MHz), width: 80 MHz, center1: 5290 MHz
txpower 23.00 dBm

Conclusion: The 5GHz band followed the regulatory domain change down to 23 dBm on channel 52 when US was selected.

root@DD-WRT:~# iw ath1 info
Interface ath1
ifindex 34
wdev 0x10000000e
addr c0:56:27:b9:78:9c
ssid Wellington
type AP
wiphy 1
channel 1 (2412 MHz), width: 40 MHz, center1: 2422 MHz
txpower 30.00 dBm

Conclusion: txpower matches the US regulatory domain of 30 dBm @ 2.4 GHz.
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Thu Jul 07, 2016 20:02    Post subject: Reply with quote
JN wrote:


We see transmit power allowed is raised to 30 dBm for channels 36-48 and their overlapping 40 and 80 mhz wide channels.


Hi JN,

On the WRT1200AC Kong build 30015, the output for channel 36 using the US regulatory domain is:

root@DD-WRT:~# iw ath0 info
Interface ath0
ifindex 39
wdev 0x11
addr c0:56:27:b9:78:9b
ssid Wellington-5GHz
type AP
wiphy 0
channel 36 (5180 MHz), width: 80 MHz, center1: 5210 MHz
txpower 23.00 dBm

It does not seem to be adopting the new guidelines.

If the working theory is correct and it is the kernel wireless database setting the txpower limits, the kernel on this build is:

Linux 3.18.35 #44 SMP Fri Jun 24 07:57:03 CEST 2016 armv7l

Perhaps a Linux expert can comment how the updated guidelines would find their way into a the kernel.


Last edited by vonLampertheim on Thu Jul 07, 2016 21:47; edited 1 time in total
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Thu Jul 07, 2016 20:28    Post subject: Reply with quote
Xeon2k8 wrote:

That's useless since it will give you the same value for any country.
Kong wrote:

The default "auto" power shows

31.75 dBm = 1496 mw

This is no real value it is a broadcom internal val which means "default" power.

Whatever you set, the unit will not allow more output than defined in the regions output table.
It is not possible on these units to boost the output, that's why I added the option "Auto" so that people don't even try to mess with txpwr value.


You are right: the "wl txpwr" command seems useless for determining what tx power the R7000 is actually using. It is the same value every time.

root@DD-WRT:~# wl country
BO (BO/0) BOLIVIA
root@DD-WRT:~# wl txpwr
31.75 dBm = 1496 mw.
root@DD-WRT:~# wl txpwr1
TxPower is 127 qdbm, 31.75 dbm, 1496 mW Override is Off

root@DD-WRT:~# wl country
US (US/0) UNITED STATES
root@DD-WRT:~# wl txpwr
31.75 dBm = 1496 mw.
root@DD-WRT:~# wl txpwr1
TxPower is 127 qdbm, 31.75 dbm, 1496 mW Override is Off

root@DD-WRT:~# wl country
NZ (NZ/0) NEW ZEALAND
root@DD-WRT:~# wl txpwr
31.75 dBm = 1496 mw.
root@DD-WRT:~# wl txpwr1
TxPower is 127 qdbm, 31.75 dbm, 1496 mW Override is Off
root@DD-WRT:~#

Do you know of a better command on the R7000 to check what tx power the unit is actually transmitting? The GUI reports "auto" which is also of little help.

As you see from the above posts, the WRT1200AC seems to have a better command set for determining actual tx power output. Any help with similar R7000 commands is appreciated.
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Thu Jul 07, 2016 21:13    Post subject: Reply with quote
Xeon2k8 wrote:

Also, can you give some actual comparison numbers on how Bolivia was the best of all?


Hi Xeon,

Admitting all of the inherent problems of posting subjective results in my particular environment, here's a quick and dirty comparison:

R7000
Kong build 29300
Transmitting to my client 30 feet away through 2 layers of sheetrock, which was the problem I was trying to solve when I started experimenting in the first place:

US regulatory domain, channel 52, 80 width, 23 dBm regulatory limit: -58 RSSI
BO regulatory domain, channel 52, 80 width, 30 dBm regulatory limit: -52 RSSI

Per the earlier post, I have yet to find an R7000 command that returns the actual tx power value being used by the unit, so all I have to go on is the published regulatory limits and how my client behaves when changing the regulatory domains.
vonLampertheim
DD-WRT Novice


Joined: 06 Nov 2015
Posts: 16

PostPosted: Fri Jul 08, 2016 20:01    Post subject: Reply with quote
Xeon2k8 wrote:

Also, can you give some actual comparison numbers on how Bolivia was the best of all?


Hi Xeon,

Update: I've ran a second batch of tests and updated the findings below.

R7000
-Kong build 29300
-Transmitting to my client 30 feet away through 2 layers of sheetrock.
-File copy of a 500MB file from the USB 3.0 port to my PC

US regulatory domain, channel 36, 80 width, 17 dBm regulatory limit: -55 RSSI, 12.4MBps file copy speed
US regulatory domain, channel 52, 80 width, 23 dBm regulatory limit: -56 RSSI, 15.7MBps file copy speed
US regulatory domain, channel 149, 80 width, 23 dBm regulatory limit: -51 RSSI, 17.1MBps file copy speed
BO regulatory domain, channel 52, 80 width, 30 dBm regulatory limit: -52 RSSI, 17.8MBps file copy speed

I'm now very happy to conclude that the R7000 is indeed following the regulatory domain database that we've identified (as documented with the power output statistics generated from the wrt1200ac, which don't seem to be available on the R7000).

The Bolivian 30 dBM power limit on channel 52 is yielding the best 5GHZ performance in my environment. However, as noted above, selecting Bolivia means a reduction to 20 dBm on the 2.4GHz band over the US. Horses for courses.
HalfBit
DD-WRT Guru


Joined: 04 Sep 2009
Posts: 776
Location: AR, USA

PostPosted: Fri Aug 05, 2016 3:27    Post subject: Reply with quote
115 days with this build, still going strong. Smile
_________________
R7000 Nighthawk - DD-WRT v3.0-r50308
R7000 Nighthawk - DD-WRT v3.0-r50308
~~~~~~~~~~Dismantled for learning opportunities~~~~~~~~~~
WRT54Gv2
WRT54Gv8.2
~~~~~~~~~~Other Settings~~~~~~~~~
https://nextdns.io/?from=2d3sq39x
https://pi-hole.net/
https://github.com/DNSCrypt/dnscrypt-proxy
Goto page Previous  1, 2, 3, 4, 5  Next Display posts from previous:    Page 4 of 5
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