Reply
Deleted Account
Posts: 0

Re: iwpriv to make 2x2 devices work like 1x1

Do you see better results with 1x1 MCS rate w/ STBC (tx diversity), than a 1x1 w/out STBC (only using one polarity)?
Deleted Account
Posts: 0

Re: iwpriv to make 2x2 devices work like 1x1

Where I'm going with this is, if you use a 2x2 devices at MCS0-7, it uses a 1x1 rate, with STBC/FEC. I would think this would yield better results than a 1x1 rate with no error correction... but would be interested if you're seeing the opposite in the field Icon Smile
Member
Posts: 123
Registered: ‎08-08-2010
Kudos: 16
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

One benefit of single pol is we can use +3db tx power
2x2 use 17 db H + 17 db V = 20db eirp
so a singel pol Client see a 3db lower signal
Established Member
Posts: 1,207
Registered: ‎02-19-2010
Kudos: 72
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

No one with a Ns M5 can use only V polarity??
Dott. Elia Spadoni
---
Network Administrator
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE
Spadhausen Internet Provider
www.spadhausen.com
Established Member
Posts: 1,207
Registered: ‎02-19-2010
Kudos: 72
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

Do you see better results with 1x1 MCS rate w/ STBC (tx diversity), than a 1x1 w/out STBC (only using one polarity)?


tx diversity?

so leaving V+H in tx and rx only in one polarity?
Dott. Elia Spadoni
---
Network Administrator
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE
Spadhausen Internet Provider
www.spadhausen.com
Established Member
Posts: 1,207
Registered: ‎02-19-2010
Kudos: 72
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

Well
it is quite simple.

I have situations where I got:

V: -75
H: -85

If I disable H polarity, I get a clean -75 signal and the connection goes better.
better ping times, no renegotiations


Also I have activated today one customer with Ns M5 with H pol very bad, and V pol very good.. If I could disable H pol, I could be very happy.

A device with only pol (good signal) is better that one pol good and one pol bad.
Dott. Elia Spadoni
---
Network Administrator
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE
Spadhausen Internet Provider
www.spadhausen.com
Ancient Member
Posts: 30,000
Registered: ‎03-17-2008
Kudos: 5945
Solutions: 128

Re: iwpriv to make 2x2 devices work like 1x1


If I disable H polarity, I get a clean -75 signal and the connection goes better.
better ping times, no renegotiations
Yes, I've already shown that. Filter out the noisy polarity and it's much better.
WHT = Short Form Acronym for "You couldn't handle me even if I came with instructions!"
Well engineered projects are indistinguishable from crazy ideas.

Speed, distance, reliability, cost...Pick three.
...World's First Ubiquiti AirMax WISP....
Member
Posts: 123
Registered: ‎08-08-2010
Kudos: 16
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

OK Facts


AP1 NS2M all client 4.01 NS2L
1055724 recv error interrupts
36 global txmit timeout interrupts
27 carrier sense timeout interrupts
132804779 # packets sent on the interface
267 tx max bf in use
3257 tx failed
3257 tx failed 'cuz too many retries
120038792 tx frames with no ack marked
12765961 tx frames with short preamble
500000 tx frames with an alternate rate
5228538 total frames received
973600 rx ack frames
1 rx ack frames with pwr mgmt set
11178862768 total number of bytes received
18693923794 total number of bytes transmitted
30 rx rssi from histogram
rssi of last rcv: 16
rssi of last rcv: 30
2767918 beacons transmitted
9688 periodic calibrations
Antenna profile:
tx 0 rx 126655841
tx 132801522 rx 0
3 hw resets was done
3 layer 80211 initiated resets

11n stats
2448900350 tx schedule ac queue empty
126655841 rx pkts
128 draining tid buf queue on error
528 draining tid buf queue on node cleanup
16 tid paused
16 tid resumed
TXQ:BE tx 6243316 xretry 951 fifoerr 0 filtered 0 no buffs 0 draintxq 0
lcount 0 inusemx 266
TXQ:VO tx 126561464 xretry 2306 fifoerr 0 filtered 0 no buffs 0 draintxq 0
lcount 0 inusemx 0
0.00 tx unaggregated excessive retry percent
0.00 tx aggregated long retry percent
0.00 tx aggregated excessive retry percent
0.00 tx aggregate subframe retry percent
0.00 tx aggregate subframe excessive retry percent






AP2 NS2M all client NS2M
59 recv overrun interrupts
57 recv eol interrupts
735 global txmit timeout interrupts
295 carrier sense timeout interrupts
728 tx failed 'cuz no tx buffer (hook)
137 tx max bf in use
251 tx failed 'cuz too many retries
734158595 tx frames with no ack marked
190869756 tx frames with short preamble
1020145 tx frames with an alternate rate
103696622 total frames received
6459444 rx ack frames
69687 rx too short frames
187 rx invalid frames from dma
272 rx invalid frames from mcast src
17668281906 total number of bytes received
285430442855 total number of bytes transmitted
36 rx rssi from histogram
rssi of last rcv: 35
rssi of last rcv: 32
29378103 beacons transmitted
527480 periodic calibrations
Antenna profile:
1 switched default/rx antenna
tx 0 rx 22
tx 850637072 rx 151892527
4 hw resets was done
1/1 stuck beacon resets
3 layer 80211 initiated resets

11n stats
161404297 total tx data packets
19587301 tx when h/w queue depth is low
141811927 tx pkts when h/w queue is busy
2745210499 tx schedule pkt queue empty
31 tx bars sent
55382753 tx unaggregated frame completions
31625975 tx aggregated completions
161399194 tx block ack window advanced
3960389 tx block ack window retries
161399194 tx block ack window additions
161399194 tx block ack window updates
161399194 tx block ack window advances
3960389 tx retries of sub frames
31 tx excessive retries of aggregates
35795529 tx frames not aggregated
106016325 tx aggr good completions
3960505 tx aggr unacked subframes
3274480 tx aggr old frames requeued
151892558 rx pkts
97164832 rx aggregated packets
2530958 rx non qos-data frames
69 rx sequence resets
383751 rx old packets
60 rx block ack window reset
4 rx pts indicated due to baw resets
13769 rx duplicate pkts
93435543 rx block ack window advanced
94236354 rx pkt completions
95615 rx pkt sequences skipped on timeout
203521 rx indications due to timeout
192 draining tid buf queue on error
720 draining tid buf queue on node cleanup
34 buffers drained from pending tid queue
108 tid paused
108 tid resumed
TXQ:BE tx 168962738 xretry 6 fifoerr 0 filtered 0 no buffs 0 draintxq 119
lcount 0 inusemx 136
TXQ:VI tx 35403 xretry 68 fifoerr 0 filtered 0 no buffs 0 draintxq 0
lcount 0 inusemx 0
TXQ:VO tx 759989998 xretry 177 fifoerr 0 filtered 0 no buffs 728 draintxq 19
lcount 0 inusemx 0
0.00 tx unaggregated excessive retry percent
0.00 tx aggregated long retry percent
0.00 tx aggregated excessive retry percent
2.45 tx aggregate subframe retry percent
0.00 tx aggregate subframe excessive retry percent

Member
Posts: 123
Registered: ‎08-08-2010
Kudos: 16
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

and a ptp NS5M Client in 2x2 to a 11A AP
with no signal on chain 0
21 recv eol interrupts
1102 global txmit timeout interrupts
68 tx max bf in use
633 tx failed 'cuz too many retries
2496546 tx frames with an alternate rate
28468018 total frames received
1222808 rx ack frames
364 rx too short frames
16 tx rssi of last ack
30632167989 total number of bytes received
3065858003 total number of bytes transmitted
rssi of last ack: 16 only ch1 in use
15 rx rssi from histogram
rssi of last rcv: 15
10079 periodic calibrations
Antenna profile:
tx 0 rx 28468018
tx 15678937 rx 0
11n stats
202116683 tx schedule pkt queue empty
28468018 rx pkts
352 draining tid buf queue on error
TXQ:BE tx 15395017 xretry 632 fifoerr 0 filtered 0 no buffs 0 draintxq 0
lcount 0 inusemx 66
TXQ:VO tx 284553 xretry 1 fifoerr 0 filtered 0 no buffs 0 draintxq 0
lcount 0 inusemx 0
0.00 tx unaggregated excessive retry percent
0.00 tx aggregated long retry percent
0.00 tx aggregated excessive retry percent
0.00 tx aggregate subframe retry percent
0.00 tx aggregate subframe excessive retry percent
New Member
Posts: 15
Registered: ‎10-05-2010
Kudos: 4

Re: iwpriv to make 2x2 devices work like 1x1

Thank you for this thread. I wrote a prestart script that rewrites /etc/sysinit/radio.conf by using sed and it works.


#! /bin/sh

#File: /etc/persist/rc.prestart
#Description: Script to run NSM5 as in 1x1 Mode
#tested with: AirOS 5.3
#Inspired by: http://www.ubnt.com/forum/showthread.php?t=23245
#Installation: copy to /etc/persist/rc.prestart (use e.g. ssh)
# after your next linksetup you should see 1x1 Link in GUI
# to make it persistent cfgmtd -w -p /etc/

#direct setup is overpowered by later startup script
#and setting the link down and up again at a later time of statup removes routes which are setup by the gui

#i use sed to edit sysinit scripts

sed -e's@iwpriv "wifi0" txchainmask 3@iwpriv "wifi0" txchainmask 2@' -i /etc/sysinit/radio.conf
sed -e's@iwpriv "wifi0" rxchainmask 3@iwpriv "wifi0" rxchainmask 2@' -i /etc/sysinit/radio.conf

#use horizontal chains only (Bit 2^0 vertical Bit 2^1 horizontal)
#(3 -> both, 2 -> horizontal, 1 -> vertical, 0 -> none)


I am not sure about the numbers bay be the chains are swaped. My providers said use only horizontal and the 2 worked for me.


It says to apply to etc/persist/rc.prestart via SSH. SSH'ing via PUTTY takes me to the busybox shell that doesn't give me write privilages or even the persist directory. What am I doing wrong here? Icon Redface I'm assuming I don't have to build this into the SDK and compile.

Thanks
Member
Posts: 123
Registered: ‎08-08-2010
Kudos: 16
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

for a first try run all 4 command from comand line
iwpriv wifi0 txchainmask 1
iwpriv wifi0 rxchainmask 1
iwpriv ath0 tx_chainmask 1
iwpriv ath0 rx_chainmask 1

its only temporary
Established Member
Posts: 1,207
Registered: ‎02-19-2010
Kudos: 72
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

Ok but how to apply them to a Nanostation M5 ?
Dott. Elia Spadoni
---
Network Administrator
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE
Spadhausen Internet Provider
www.spadhausen.com
Established Member
Posts: 1,207
Registered: ‎02-19-2010
Kudos: 72
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

up

how can I apply to a NS M5 ?

that commands doesnt work
Dott. Elia Spadoni
---
Network Administrator
MTCNA, MTCRE, MTCTCE, MTCINE, MTCWE
Spadhausen Internet Provider
www.spadhausen.com
Senior Member
Posts: 3,429
Registered: ‎05-19-2009
Kudos: 212
Solutions: 8

Re: iwpriv to make 2x2 devices work like 1x1

is there a way to apply this to a SDK? or only by SSH? would be nice to have it on a SDK for fast testing. also if someone added a check box in a GUI for if you wanted to use 1 chain or 2 that would be awesome. this would really benefit people on 900Mhz gear and 2.4Ghz gear
Regular Member
Posts: 616
Registered: ‎09-18-2008
Kudos: 28
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

No: Ubiquiti does not need to 'add the
ability to disable' a chain. Dave

So I have a defective, new, LocoM2. Speed was ~1-9mbps before disabling 1 chain.
So now there is a proof that disabling one chain sometimes help and we have the right to have this option.
2chains.JPG
1 chain.JPG
Deleted Account
Posts: 0

Re: iwpriv to make 2x2 devices work like 1x1

It looks like the device isn't aimed properly, there's a chain signal mismatch of 11dB, and the noise looks very high. I would try to re-aim to get the chains similar, and possibly use a 1x1 rate instead of 2x2 rate, even when both chains are enabled.
-Matt
Regular Member
Posts: 616
Registered: ‎09-18-2008
Kudos: 28
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

It looks like the device isn't aimed properly, there's a chain signal mismatch of 11dB, and the noise looks very high. I would try to re-aim to get the chains similar, and possibly use a 1x1 rate instead of 2x2 rate, even when both chains are enabled.
-Matt

don't worry, is in my office after 2 hours spend at the client. It's not working with 2 chains. I know you don't want to believe but one picture says more than words. If it make you feel better I can make a picture with same signals on both chains, but it's still not working.
SuperUser
Posts: 5,566
Registered: ‎08-26-2009
Kudos: 1686
Solutions: 50

Re: iwpriv to make 2x2 devices work like 1x1

Mr. InoX, why can't you try the suggestions posted, or explain why they don't work. Instead of just saying that your picture says it all, try and explain what happens when you run both sides at, say, MCS 7 max. compare it to your 1 chain performance. (and for the record i'd love a GUI option to control which chains actually get used)
Regular Member
Posts: 616
Registered: ‎09-18-2008
Kudos: 28
Solutions: 1

Re: iwpriv to make 2x2 devices work like 1x1

Why do you think I didn't tried already? This loco is broken. I have more loco, is not the only one.
I've just made an "antenna modd". Now it works very well, nice noise floor as well. Now I'm open to opinions, could the antenna be broken?
2012-08-10 21.20.39.jpg
2012-08-10 21.20.49.jpg
Established Member
Posts: 1,752
Registered: ‎06-27-2010
Kudos: 600
Solutions: 45

Re: iwpriv to make 2x2 devices work like 1x1

[ Edited ]

What ever happened to the idea of having the option to disable a chain on the radio? Did the AirOs team try and they found a bug preventing it in the gui?

"All things are possible but not everything is probable."
Location: Alabama, U.S.A.
Reply