ath9k-devel.lists.ath9k.org archive mirror
 help / color / mirror / Atom feed
* [ath9k-devel] ath9k_htc 1mbps in IBSS mode
@ 2012-06-11  4:02 Nicolás Echániz
  2012-06-11  6:28 ` Adrian Chadd
  0 siblings, 1 reply; 14+ messages in thread
From: Nicolás Echániz @ 2012-06-11  4:02 UTC (permalink / raw)
  To: ath9k-devel

I'd like to bump this thread:

https://lists.ath9k.org/pipermail/ath9k-devel/2012-March/008335.html

...and add some more data and context.

Guido, myself and a group of people are involved in a project to build
community networks in small towns all over the country. It's a
project[0] from the National Ministry of Education that involves not
only the deployment of a number of nodes in each town in order to get
the networks started but also a process of theoretical and practical
training mainly targeted at young people in each town.

The networks need to meet two important characteristics:
1) easy replication of the network design
2) very low per-node cost

We have achieved the second goal with the hardware setup that Guido
mentioned but we are having difficulty with the ease of deployment due
to the increased complexity of designing mixed ad-hoc/infrastructure
networks.

We have tested a big number of usb wifi dongles but those based on
ath9k_htc have proven to be by far the most stable.

On the technical side of this issue, I can add to guido's report that in
rev.29960 of Openwrt, with the same configuration, our WN722N dongles
were capable of establishing 150Mbit/s HT mode links, although they did
not behave as stable as the internal ath9k based radios from the MR3220
routers.

With current revs of OpenWRT trunk, the behavior of ath9k-htc dongles in
ad-hoc mode has become unusable (always running at 1Mbit/s) so we are
forced to mixed mode network designs.


We are greatly interested in helping out in any way we can to help solve
this issue. We are in charge of three community network deployments that
can be used as test beds; these are at your disposal, but please let us
know if we can be of assistance in any other way.


Cheers!

NicoEch?niz
codigosur.org


[0] http://www.arraigodigital.org.ar

google (poorly) translated link:
http://translate.google.com/translate?js=n&sl=es&tl=en&u=http://www.arraigodigital.org.ar

^ permalink raw reply	[flat|nested] 14+ messages in thread
* [ath9k-devel] ath9k_htc 1mbps in IBSS mode
@ 2012-03-25 15:08 Guido Iribarren
  0 siblings, 0 replies; 14+ messages in thread
From: Guido Iribarren @ 2012-03-25 15:08 UTC (permalink / raw)
  To: ath9k-devel

Hi everyone,
I have a couple of usb dongles tplink wn722n spaced 150mts apart,
outdoors, with clear LOS.
and i'm facing issues with IBSS mode
(i've repeated the tests indoors, with dongles in the same room, 2 mts
apart... same results)

when set in adhoc mode, the link never reaches HT speeds.
In fact, most of the times they don't negotiate more than 1mbps speed.
The best i've seen happening is, one of them reaches 54mbps, and the
other one stays at 1mbps. (Both of them at 54mbps, never happened)
iperf measures confirm that it's not an "iw wlan0 station dump"
display issue, throughput is consistent with the speeds reported.

If I put one dongle as ap (hostapd) and the other one in managed mode,
the link works flawlessly with HT40 and negotiates 150mbps both ways
(iperf measures 30mbit/s throughput both ways)

# iw wlan1 station dump
Station 56:e6:fc:be:29:d4 (on wlan1)
	inactive time:	10 ms
[snip]
	signal:  	-70 dBm
	signal avg:	-69 dBm
	tx bitrate:	135.0 MBit/s MCS 6 40Mhz short GI
	rx bitrate:	150.0 MBit/s MCS 7 40Mhz short GI


each dongle is connected to its own tplink mr3220, on the usb port ,
running openwrt trunk r30919
# grep r30919 /etc/banner
 ATTITUDE ADJUSTMENT (bleeding edge, r30919) ----------
# uname -a
Linux bochita-muelle 3.2.9 #1 Tue Mar 13 20:33:19 MST 2012 mips GNU/Linux
# opkg list kmod-ath9k-htc
kmod-ath9k-htc - 3.2.9+2012-02-27-1

# OpenWRT radio config follow: (equal on both nodes, and kept the same
in infrastructure or adhoc mode)
config 'wifi-device' 'radio1'
	option 'type' 'mac80211'
	option 'hwmode' '11ng'
	list 'ht_capab' 'SHORT-GI-20'
	list 'ht_capab' 'SHORT-GI-40'
	list 'ht_capab' 'RX-STBC1'
	list 'ht_capab' 'DSSS_CCK-40'
	option 'htmode' 'HT40-'
	option 'channel' '9'
	option 'disabled' '0'
	option 'phy' 'phy1'

# Config used when testing infrastructure mode (Works flawlessly with
150mbps speeds)
config 'wifi-iface'
	option 'device' 'radio1'
	option 'encryption' 'none'
	option 'mode' 'sta' # Other node has this set to "ap"
	option 'ssid' 'mesh9.dl'
	option 'bssid' '56:E6:FC:BE:29:D4'

# Config used when testing adhoc mode (mostly works at 1mbps, sometimes 54mbps)
config 'wifi-iface'
	option 'device' 'radio1'
	option 'encryption' 'none'
	option 'mode' 'adhoc'
	option 'ssid' 'mesh9.dl'
	option 'bssid' '02:AA:BB:CC:DD:EE'

Those exact config snippets, when applied to the internal interface of
mr3220 (radio0, ath9k driver) work perfectly fine, reaching 150mbps
speeds , with no difference between working in IBSS mode or
infrastructure.

I've googled somewhat similar problems in the past, but with ath9k,
which for me it's already solved with that driver (the last post
mentions some patch, which has been included upstream, which is also
evident since I'm not having problems with ath9k ibss mode)
[1] https://forum.openwrt.org/viewtopic.php?id=29876

I'm aware that ath9k_htc is mostly a one- or two-men masterpiece [2]
(thanks a lot Sujith and Luis!), so i understand there's limited
support capacity, but any pointer will be greatly appreciated.
If any additional info or testing is needed I will be more than glad
to provide it.
[2] https://lists.ath9k.org/pipermail/ath9k-devel/2012-March/008226.html

I'm using these dongles in building a community mesh network in
argentina, in order to add a second interface to the nodes and
overcome the bandwidth degradation issue widespread in big
single-radio MANETs, while keeping the budget low so that everyone can
have their own two-radio node
I'm combining tplink mr3220 with these wn722n (32+12 usd), openwrt +
batman-adv, and so far it looks very promising, since (with the
"infrastructure mode" workaround) p2p links reach 30mbps speeds along
the mesh.
Getting the usb dongles to work in ibss mode would add the much wanted
redundancy, since in the current mixed setup, if a node in ap mode
goes offline, the nodes set to client mode cannot recover from it,
even though they could hear each other in ibss mode.

Thanks in advance, and have a great week!

Guido

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-09-20 23:47 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-11  4:02 [ath9k-devel] ath9k_htc 1mbps in IBSS mode Nicolás Echániz
2012-06-11  6:28 ` Adrian Chadd
2012-06-11 12:21   ` Guido Iribarren
2012-07-05  1:53     ` Guido Iribarren
2012-07-09  3:31       ` Sujith Manoharan
2012-07-12 19:52         ` Nicolás Echániz
2012-07-15  5:39           ` Sujith Manoharan
2012-07-15  8:28             ` Antonio Quartulli
2012-07-22 14:52               ` Guido Iribarren
2012-07-23 17:14                 ` Antonio Quartulli
2012-08-08 21:58             ` Antonio Quartulli
2012-08-08 23:02             ` Antonio Quartulli
2012-09-20 23:47               ` Gui Iribarren
  -- strict thread matches above, loose matches on Subject: below --
2012-03-25 15:08 Guido Iribarren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).