MadWIFI-N TX-Power & Antenna chain problem

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page 1, 2  Next
Author Message
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Wed Aug 04, 2010 18:55    Post subject: MadWIFI-N TX-Power & Antenna chain problem Reply with quote
SPLITED TOPIC!

guys how much max tx-power do u get out of the 941?! told by the gui

and what tells
Code:
iwlist ath0 txpower

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!


Last edited by Sash on Tue Sep 14, 2010 9:24; edited 3 times in total
Sponsor
Kozaki666
DD-WRT Novice


Joined: 09 Nov 2006
Posts: 23

PostPosted: Wed Aug 04, 2010 21:23    Post subject: Reply with quote
Build 14684.

Working as AP

Selected: 20dbi, 0 dbi antenna gain, rd USA, outdoor band, autochannel.

Gui reports 19 dbi
iwlist reports 19 dbi

Confused:


Pd: When I eat octopus usually do not ask about football Twisted Evil Twisted Evil Twisted Evil

_________________
"Sólo se sabe dónde está el límite cuando se traspasa"
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Wed Aug 04, 2010 23:05    Post subject: Reply with quote
Kozaki666 wrote:
Build 14684.

Working as AP

Selected: 20dbi, 0 dbi antenna gain, rd USA, outdoor band, autochannel.

Gui reports 19 dbi
iwlist reports 19 dbi

Confused:


Pd: When I eat octopus usually do not ask about football Twisted Evil Twisted Evil Twisted Evil


To find absolute max do the following:

1. Reg domain Canada or USA, I recommend Canada. Do NOT use channel 11 when in 40 MHz mode!
2. Set TX power to 36dBm.
3. Set network mode to NG-Mixed
4. Channel width to 40 MHz.
5. Note TX power through GUI and telnet.
6. Repeat steps 3-5 replacing 40 MHz with 20 MHz.
7. Repeat steps 3-5 again this time replacing NG-Mixed with G-Only along with changing 40 MHz to 20 MHz.

Make sure antenna chains are set correctly or this will have a huge impact on TX power and performance, going by FCC ID documents it seems like 1+2+3 is the correct setting but do test them. The documents also say max TX power should be 24dBm with the correct settings.

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

Kozaki666
DD-WRT Novice


Joined: 09 Nov 2006
Posts: 23

PostPosted: Thu Aug 05, 2010 0:13    Post subject: Reply with quote
tatsuya46 wrote:


Make sure antenna chains are set correctly or this will have a huge impact on TX power and performance, going by FCC ID documents it seems like 1+2+3 is the correct setting but do test them. The documents also say max TX power should be 24dBm with the correct settings.


Using TX antenna chains setting as 1+2+3, actual tx power increases to 21dbm (gui/iwlist) with any of the settings you suggested.

Default Tx a.c. , 1+3, only 19dbm.

I haven´t been able to get more.

Code:
ath0      8 available transmit-powers :
     0 dBm     (1 mW)
     7 dBm     (5 mW)
     11 dBm     (12 mW)
     15 dBm     (31 mW)
     19 dBm     (79 mW)
     23 dBm     (199 mW)
     27 dBm     (501 mW)
     31 dBm     (1258 mW)
          Current Tx-Power=21 dBm     (125 mW)
Maximum Power: 1258 mW


I´ll check whether this increase in tx power is real or "just numbers".

_________________
"Sólo se sabe dónde está el límite cuando se traspasa"
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Thu Aug 05, 2010 1:55    Post subject: Reply with quote
Kozaki666 wrote:
tatsuya46 wrote:


Make sure antenna chains are set correctly or this will have a huge impact on TX power and performance, going by FCC ID documents it seems like 1+2+3 is the correct setting but do test them. The documents also say max TX power should be 24dBm with the correct settings.


Using TX antenna chains setting as 1+2+3, actual tx power increases to 21dbm (gui/iwlist) with any of the settings you suggested.

Default Tx a.c. , 1+3, only 19dbm.

I haven´t been able to get more.

Code:
ath0      8 available transmit-powers :
     0 dBm     (1 mW)
     7 dBm     (5 mW)
     11 dBm     (12 mW)
     15 dBm     (31 mW)
     19 dBm     (79 mW)
     23 dBm     (199 mW)
     27 dBm     (501 mW)
     31 dBm     (1258 mW)
          Current Tx-Power=21 dBm     (125 mW)
Maximum Power: 1258 mW


I´ll check whether this increase in tx power is real or "just numbers".


99.9% of the time when iwlist and GUI agree its actually working. If you have a iPhone running sbsettings or any smartphone capable of displaying dBm strength of wifi they make excellent dBm measurers.

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Thu Aug 05, 2010 9:08    Post subject: Reply with quote
ok there seem to be some problems with the driver. i only use chain 1 cause the unit is in client mode but the gui reports me 14dbm and the cli 20dbm (which i dont belive in).
and your cli showing with a max of 1200mw is surely wrong

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
tatsuya46
DD-WRT Guru


Joined: 03 Jan 2010
Posts: 7568
Location: YWG, Canada

PostPosted: Thu Aug 05, 2010 9:27    Post subject: Reply with quote
Sash wrote:
ok there seem to be some problems with the driver. i only use chain 1 cause the unit is in client mode but the gui reports me 14dbm and the cli 20dbm (which i dont belive in).
and your cli showing with a max of 1200mw is surely wrong


Majority of routers have that problem, DIR-615 C1 being the worst I seen.

DIR-615 C1 @ HT40

1/1 = 12dBm
1+2/1+2 = 15dBm, chain 2 isn't connected, TX/RX speeds are lower and incorrect
1+3/1+3 = 15dBm, proper connected chains, TX/RX speeds are proper.
1+2+3/1+2+3 = 20dBm, but no clients can connect

Huge conflict right there if you ask me. As well as the DIR-825, max is 18dBm, FCC ID documents say it should be going up to 26dBm like the WNDR3700 does. Both routers have the same radios too.

_________________
LATEST FIRMWARE(S)

BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers

[x86_64] Haswell i3-4150/QCA9984/QCA9882 ------> r55797 std
[QUALCOMM] DIR-862L --------------------------------> r55797 std
▲ ACTIVE / INACTIVE ▼
[QUALCOMM] WNDR4300 v1 --------------------------> r50485 std
[BROADCOM] DIR-860L A1 ----------------------------> r50485 std


Sigh.. why do i exist anyway.. | I love you Anthony.. never forget that.. my other 99% that ill never see again..

Kozaki666
DD-WRT Novice


Joined: 09 Nov 2006
Posts: 23

PostPosted: Thu Aug 05, 2010 10:20    Post subject: Reply with quote
I forgot to indicate the hardware version: V. 3.0

Perhaps this is helpful

_________________
"Sólo se sabe dónde está el límite cuando se traspasa"
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Thu Aug 05, 2010 13:41    Post subject: Reply with quote
mine is a TL-WR941ND v3.2.

and i see following max set txpwr's in the iwconfig

chains: 1
tx-power: 14dbm

chains: 1+2
tx-power: no wifi access possible

chains: 1+3
tx-power: 17dbm

chains: 1+2+3
tx-power: 19dbm

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Gingernut
DD-WRT User


Joined: 29 Jul 2007
Posts: 229

PostPosted: Thu Aug 05, 2010 13:49    Post subject: Reply with quote
I don't have a WR941ND but here's my WZR-HP-G300NH info:

Wireless Settings:

Wireless Network Mode: NG-Mixed
Channel Width: Turbo(40Mhz)
Wireless Channel: 6
Regulatory Domain: United_States
Tx power: 30dBm
Tx chains: 1+3
Rx chains: 1+2+3

On wireless status page Tx power is 14dBm

iwlist ath0 txpower

ath0 8 available transmit-powers :
0 dBm (1 mW)
6 dBm (3 mW)
10 dBm (10 mW)
14 dBm (25 mW)
18 dBm (63 mW)
22 dBm (158 mW)
26 dBm (398 mW)
30 dBm (1000 mW)
Current Tx-Power=14 dBm (25 mW)
Maximum Power: 1000 mW
H3llh0und
DD-WRT User


Joined: 06 Mar 2008
Posts: 124

PostPosted: Wed Aug 25, 2010 10:01    Post subject: TP-Link TL-WR941ND v4.1 Reply with quote
Hi Sash,

IMHO posting values w/o Channel and Regulatory Domain makes "lesser" sense. If I change Channel to 6 and Regulatory Domain to CANADA I get 21dBm 125mW.

But if your just hunting the diff in GUI and CLI the values might suffice

Router Model: TP-Link TL-WR941ND v4.1
Firmware Version: DD-WRT v24-sp2 (08/12/10) std - build 14929


Wireless Channel: 13
Regulatory Domain: GERMANY
Tx power: 21dBm
Tx chains: 1+2+3
Rx chains: 1+2+3

Code:
root@TL-WR-941ND:~# iwlist ath0 txpower
ath0      8 available transmit-powers :
          0 dBm         (1 mW)
          3 dBm         (1 mW)
          6 dBm         (3 mW)
          9 dBm         (7 mW)
          12 dBm        (15 mW)
          15 dBm        (31 mW)
          18 dBm        (63 mW)
          21 dBm        (125 mW)
          Current Tx-Power=20 dBm       (100 mW)

Maximum Power: 125 mW
GUI: 20dBm

Tx chains: 1 = 18dBm
Tx chains: 1+2 = 20dBm
Tx chains: 1+3 = 18dBm
Tx chains: 1+2+3 = 20dBm

The Maximum Power from iwlist is always the value I enterd in the Wireless Tab

Example: TX Power 32
Code:
root@TL-WR-941ND:~# iwlist ath0 txpower
ath0      8 available transmit-powers :
          0 dBm         (1 mW)
          7 dBm         (5 mW)
          11 dBm        (12 mW)
          15 dBm        (31 mW)
          19 dBm        (79 mW)
          23 dBm        (199 mW)
          27 dBm        (501 mW)
          31 dBm        (1258 mW)
          Current Tx-Power=20 dBm       (100 mW)

Maximum Power: 1258 mW
Kozaki666
DD-WRT Novice


Joined: 09 Nov 2006
Posts: 23

PostPosted: Thu Aug 26, 2010 12:25    Post subject: Reply with quote
Is this really a bug, or a strategy to meet some sort of EIRP regulation?
_________________
"Sólo se sabe dónde está el límite cuando se traspasa"
moorebt
DD-WRT Novice


Joined: 12 Aug 2010
Posts: 9

PostPosted: Thu Aug 26, 2010 21:38    Post subject: Re: MadWIFI-N TX-Power & Antenna chain problem Reply with quote
Sash wrote:
SPLITED TOPIC!

guys how much max tx-power do u get out of the 941?! told by the gui

and what tells
Code:
iwlist ath0 txpower


Here are 2 of my routers.

Router 1
GUI
Router Model Buffalo WZR-HP-G300NH
Firmware Version DD-WRT v24-sp2 (08/12/10) std - build 14929
Channel9 (2452 MHz)
TX Power19 dBm

CLI
root@tressel:~# iwlist ath0 txpower
ath0 8 available transmit-powers :
0 dBm (1 mW)
7 dBm (5 mW)
11 dBm (12 mW)
15 dBm (31 mW)
19 dBm (79 mW)
23 dBm (199 mW)
27 dBm (501 mW)
31 dBm (1258 mW)
Current Tx-Power=19 dBm (79 mW)

Maximum Power: 1258 mW

Router 2
GUI
Router Model Buffalo WHR-HP-G300N
Firmware Version DD-WRT v24-sp2 (08/12/10) std - build 14929
Channel9 (2452 MHz)
TX Power21 dBm

CLI
root@gateway:~# iwlist ath0 txpower
ath0 8 available transmit-powers :
0 dBm (1 mW)
7 dBm (5 mW)
11 dBm (12 mW)
15 dBm (31 mW)
19 dBm (79 mW)
23 dBm (199 mW)
27 dBm (501 mW)
31 dBm (1258 mW)
Current Tx-Power=21 dBm (125 mW)
LOM
DD-WRT Guru


Joined: 28 Dec 2008
Posts: 7647

PostPosted: Fri Aug 27, 2010 9:34    Post subject: Reply with quote
Sash wrote:
mine is a TL-WR941ND v3.2.

and i see following max set txpwr's in the iwconfig

chains: 1
tx-power: 14dbm

chains: 1+2
tx-power: no wifi access possible

chains: 1+3
tx-power: 17dbm

chains: 1+2+3
tx-power: 19dbm


It's not very much of error and the increase of 3dBm when going from 1 to 2 chains is as expected, you have doubled your output power.
Adding the 3rd chain should give 2dBm more so that is also as expected.

FCC measurements are between 20-24 dBm

_________________
Kernel panic: Aiee, killing interrupt handler!
Sash
DD-WRT Guru


Joined: 20 Sep 2006
Posts: 17619
Location: Hesse/Germany

PostPosted: Fri Aug 27, 2010 12:36    Post subject: Reply with quote
is this pic for the 941? im asking cause its a "MIMO infrastructure ... 2 transmitting and 3 receiving chains" unit which doesnt apply to the attachment u give on first sight. so it should give us about 20 dbm (~17,5dbm + 3db) at tx setting 1+2 or 1+3 (or 1+2+3 cause this should be fallback to 1+X) for a 54mbit link which my units have at least.
as u see even on 1 chain in the B-mode the unit cant do 14dbm. the hw spec shows at least >15dbm as min tx power.
atm my slowest tx connection is at 54mbit and the unit shows 17dbm tx power which should be 20 according to your list.

_________________
Forum Guidelines...How to get help
&
Forum Rules
&
RTFM/STFW
&
Throw some buzzwords into the WIKI search Exclamation
_________________
I'm NOT rude, just offer pure facts!
_________________
Atheros (TP-Link & Clones, etc ) debrick service in EU
_________________
Guide on HowTo be Safe, Secure and Protect Your Online Anonymity!
Goto page 1, 2  Next Display posts from previous:    Page 1 of 2
Post new topic   This topic is locked: you cannot edit posts or make replies.    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