<html>
<head>
</head>
<body>
<div style="color: black;">
<div style="color: black;">
<p style="margin: 0 0 1em 0; color: black;"><a
href="https://dev.openwrt.org/ticket/20201">https://dev.openwrt.org/ticket/20201</a></p>
<p style="margin: 0 0 1em 0; color: black;">On BB I used 20dBm for both 2.4
and 5GHz on the same router.</p>
<p style="margin: 0 0 1em 0; color: black;">Sent with AquaMail for Android<br>
<a href="http://www.aqua-mail.com">http://www.aqua-mail.com</a></p>
</div>
<div style="color: black;">
<p
style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0;">On
29 юли 2015 г. 18:40:10 Ben West <ben@gowasabi.net> wrote:</p>
<blockquote type="cite" class="gmail_quote"
style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;"><div
dir="ltr"><div class="gmail_extra">This is what I observe running Barrier
Breaker
on UBNT M5 products, too. I believe the 17dBm limit is intentional, i.e.
per regulation. The
30dBm tx power limit applies to channels 149 and above, I
believe.<br></div><br>> Also (kind of off-topic): Do you know why 5Ghz
channels 36-48 are forced<br>
> to be 17dBm only on the WNDR3800? I found two possible explanations:<br>
> either because of the factory calibration<div
class="gmail_extra"><br></div><br><div class="gmail_extra"><div
class="gmail_quote">On Wed, Jul 29, 2015 at 10:25 AM, Gerald Matzka <span
dir="ltr"><<a href="mailto:mgerald21@yahoo.de"
target="_blank">mgerald21@yahoo.de</a>></span> wrote:<br><blockquote
class="gmail_quote"
style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Well,
it looks like the txpower of your wdnr3800 is limited to 17dBm because of
the hardware reg-domain settings.<br>
<br>
Kind regards,<br>
<br>
... sent from my iPhone<br>
<div class=""><div class="h5"><br>
> Am 29.07.2015 um 10:43 schrieb Nicola von Thadden <<a
href="mailto:nico@vthadden.de">nico@vthadden.de</a>>:<br>
><br>
> Hi,<br>
><br>
> I have this strange behaviour down below, for which I also opened a<br>
> ticket because I think this should not be like that ;)<br>
><br>
> Does anyone have an idea where the problem could originate from and
how<br>
> to fix it?<br>
><br>
> Thanks<br>
> Nico<br>
><br>
>> On 07/29/2015 12:37 AM, OpenWrt wrote:<br>
>> #20222: 2.4Ghz limited to 50mW in DFS-ETSI<br>
>> ----------------------+----------------------------------<br>
>> Reporter: nicoduck | Owner: developers<br>
>> Type: defect | Status: new<br>
>> Priority: normal | Milestone: Chaos Calmer (trunk)<br>
>> Component: kernel | Version: Trunk<br>
>> Keywords: wndr3800 |<br>
>> ----------------------+----------------------------------<br>
>> I have got a Netgear WNDR 3800 running with openwrt since quite a
while.<br>
>> I now upgraded to the latest version (trunk) and wanted to use
WLAN within<br>
>> the regulations here in Germany but also wanted to max out the
output<br>
>> power (within the regulations).<br>
>> Switching the country to Germany limits the maximum output power
to 17dBm,<br>
>> although it does show as being limited on 20dBm:<br>
>> root@OpenWrt:/# iwinfo wlan0 txpower<br>
>> 0 dBm ( 1 mW)<br>
>> 1 dBm ( 1 mW)<br>
>> 2 dBm ( 1 mW)<br>
>> 3 dBm ( 1 mW)<br>
>> 4 dBm ( 2 mW)<br>
>> 5 dBm ( 3 mW)<br>
>> 6 dBm ( 3 mW)<br>
>> 7 dBm ( 5 mW)<br>
>> 8 dBm ( 6 mW)<br>
>> 9 dBm ( 7 mW)<br>
>> 10 dBm ( 10 mW)<br>
>> 11 dBm ( 12 mW)<br>
>> 12 dBm ( 15 mW)<br>
>> 13 dBm ( 19 mW)<br>
>> 14 dBm ( 25 mW)<br>
>> 15 dBm ( 31 mW)<br>
>> 16 dBm ( 39 mW)<br>
>> * 17 dBm ( 50 mW)<br>
>> 18 dBm ( 63 mW)<br>
>> 19 dBm ( 79 mW)<br>
>> 20 dBm ( 100 mW)<br>
>><br>
>> What I did: reset the device, flash it with various builts from
trunk and<br>
>> try to figure out what was going on.<br>
>> I now modified my regdb and was able to isolate the source of the
problem:<br>
>> country DE: DFS-ETSI<br>
>> # entries 279004 and 280006<br>
>> (2400 - 2483.5 @ 40), (100 mW)<br>
>> # entry 303005<br>
>> (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW<br>
>> # entries 304002 and 305002<br>
>> (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW<br>
>> # entries 308002, 309001 and 310003<br>
>> (5470 - 5725 @ 160), (500 mW), DFS<br>
>> # 60 gHz band channels 1-4, ref: Etsi En 302 567<br>
>> (57000 - 66000 @ 2160), (40)<br>
>> Thas does not work and has the mentioned behaviour, 2.4Ghz is
limited at<br>
>> 17dBm. It also does not depend on which values are set in the
regulatory<br>
>> database for the 2.4Ghz channels, anything over 17dBm will be
limited to<br>
>> 17dBm.<br>
>> running "iw phy phy0 set txpower fixed 2000" gives no
error but does not<br>
>> change it to 20dBm. Changing the value to anything below 17dBm
works<br>
>> though.<br>
>><br>
>> country DE: DFS-FCC<br>
>> # entries 279004 and 280006<br>
>> (2400 - 2483.5 @ 40), (100 mW)<br>
>> # entry 303005<br>
>> (5150 - 5250 @ 80), (200 mW), NO-OUTDOOR, AUTO-BW<br>
>> # entries 304002 and 305002<br>
>> (5250 - 5350 @ 80), (100 mW), NO-OUTDOOR, DFS, AUTO-BW<br>
>> # entries 308002, 309001 and 310003<br>
>> (5470 - 5725 @ 160), (500 mW), DFS<br>
>> # 60 gHz band channels 1-4, ref: Etsi En 302 567<br>
>> (57000 - 66000 @ 2160), (40)<br>
>><br>
>> Thad does work. The only change to the entry above is
"DFS-FCC" instead of<br>
>> "DFS-ETSI". I can now select any powerlevel between 1
and 20dBm and it is<br>
>> also reported as being used:<br>
>> root@OpenWrt:/# iwinfo wlan0 txpower<br>
>> 0 dBm ( 1 mW)<br>
>> 1 dBm ( 1 mW)<br>
>> 2 dBm ( 1 mW)<br>
>> 3 dBm ( 1 mW)<br>
>> 4 dBm ( 2 mW)<br>
>> 5 dBm ( 3 mW)<br>
>> 6 dBm ( 3 mW)<br>
>> 7 dBm ( 5 mW)<br>
>> 8 dBm ( 6 mW)<br>
>> 9 dBm ( 7 mW)<br>
>> 10 dBm ( 10 mW)<br>
>> 11 dBm ( 12 mW)<br>
>> 12 dBm ( 15 mW)<br>
>> 13 dBm ( 19 mW)<br>
>> 14 dBm ( 25 mW)<br>
>> 15 dBm ( 31 mW)<br>
>> 16 dBm ( 39 mW)<br>
>> 17 dBm ( 50 mW)<br>
>> 18 dBm ( 63 mW)<br>
>> 19 dBm ( 79 mW)<br>
>> * 20 dBm ( 100 mW)<br>
>><br>
>><br>
>> I have no idea why but there seems to be a bug in the code parsing
the DFS<br>
>> regulations, limiting 2.4Ghz to lot lower values than allowed.
Changing it<br>
>> to DFS-FCC works for using the applicaple output power but does
not seem<br>
>> to be in compliance which German law.<br>
>><br>
>> Do you have an idea where the problem could be? I'm happy to
try out more<br>
>> builds and future versions.<br>
>><br>
>> Also (kind of off-topic): Do you know why 5Ghz channels 36-48 are
forced<br>
>> to be 17dBm only on the WNDR3800? I found two possible
explanations:<br>
>> either because of the factory calibration (is it possible to get
them in a<br>
>> human readable form somehow? The hexdump is not really readable
and I have<br>
>> not been able to find the code which pases them) or because these
channels<br>
>> are considered as "edge-channels" and someone thought it
would be safe to<br>
>> limit the power, to not disturb any other systems running on even
lower<br>
>> channels. The latter explanation is kind of weird because it would
make no<br>
>> sense to limit these 4 channels but no other ones. I find it
especially<br>
>> strange because that is typically the job of regulatory
authorities, to<br>
>> define those power levels.<br>
>><br>
>> --<br>
>> Ticket URL: <<a href="https://dev.openwrt.org/ticket/20222"
rel="noreferrer"
target="_blank">https://dev.openwrt.org/ticket/20222</a>><br>
>> OpenWrt <<a href="http://openwrt.org" rel="noreferrer"
target="_blank">http://openwrt.org</a>><br>
>> Opensource Wireless Router Technology<br>
> _______________________________________________<br>
> openwrt-devel mailing list<br>
> <a
href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
> <a
href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel"
rel="noreferrer"
target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a
href="mailto:openwrt-devel@lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel"
rel="noreferrer"
target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div
class="gmail_signature">Ben West<div><a href="http://gowasabi.net"
target="_blank">http://gowasabi.net</a><br><a
href="mailto:ben@gowasabi.net"
target="_blank">ben@gowasabi.net</a><br>314-246-9434<br></div></div>
</div></div>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a class="aqm-autolink aqm-autowrap"
href="mailto:openwrt-devel%40lists.openwrt.org">openwrt-devel@lists.openwrt.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
<br>
</blockquote>
</div>
</div>
</body>
</html>