Re: [ath5k-devel] 2.3 GHz coverage on my Acer Aspire One AR5BXB63 Atheros Card ?

2011-10-19 Thread Holger Schurig
Hi, DH3HS here.

Madwifi source code is End-of-life here, I wouldn't recommend this.
There are amateur radio specific WLAN router distributions available,
you should go to one of them to ask for specifics (e.g. source code).

There are various project to build links all over the country, e.g.
HAMNET in Austria and now also Germany. They have lists of recommended
hardware/software, e.g. Ubiquiti, Mikrotik, or a modified Fonera
router.

If you're a programmer and want to do such a thing on your own, then
I'd recommend the ath5k / ath9k driver on Linux. That is current
software, maintained and all. You need to learn about specific
frequency setting, make sure you don't violate the allowed bandwith in
your country, encode your call sign into the MAC address, get an IP
address in the ham radio range (www.ampr.org). Things like that ...


Here's a german language website with the DD-WRT/Fonera info:
http://www.dl8rds.de/index.php/How_to_install_DD-WRT_on_a_Fonera_box.
Use your favorite translate service :-)
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] Performance regression between Madwifi/net80211 and ath5k/mac80211

2011-10-19 Thread Joerg Pommnitz
Bob,
real world work interfered back in June but now I have a few more data points.
I made a cross test with ath5k on Fedora 2.6.40 (e.g. 3.0) and Madwifi-0.9.4 on
2.6.23. The interesting observation is, that the ath5k bottleneck seems to be
on the transmission end, e.g if the iperf client is attached to ath5k, the
performance is consistently lower.

Here is a table:
ath5k-ath5k = iperf server attached to ath5k, iperf client attached to ath5k
madwifi-ath5k   = iperf server attached to madwifi, iperf client attached to 
ath5k
ath5k-madwifi   = iperf server attached to ath5k, iperf client attached to 
madwifi
madwifi-madwifi = iperf server attached to madwifi, iperf client attached to 
madwifi

Note that on iperf the server is the traffic sink (and the measurement point) 
and
the client is the traffic source. Measured traffic was UDP as generated by
iperf -c ip of server -u -b 54M -t 15

The test setup was as followed:
* 59db attenuation between the two boxes (calibrated HF cable)
* Frequency 5200MHz (eg. 802.11a channel 40)
* txpower 10dBm on both sides
* ANI disabled on Madwifi

*SLOW*      *SLOW*          *FAST*          *FAST*
ath5k-ath5k madwifi-ath5k   ath5k-madwifi   madwifi-madwifi
2755368027553680        7426440     33998160
28082880    28135800        24866520        33851160
28212240    28212240        32281200        33615960
28323960    28112280        33033840        34027560
28300440    28259280        32363520        34303920
28088760    28276920        34739040        34021680
28112280    28212240        34874280        34415640
28247520    28088760        34298040        33886440
28247520    28235760        34004040        34292160
28176960    28141680        34944840        34409760
2793    28224000        35015400        34174560
28206360    28159320        35085960        34403880
28135800    28082880        33574800        33951120
28135800    28041720        34986000        34045200
28147560    27965280        35133000        34174560

I will run with tcpdump on a monitoring interface for the combination
ath5k sender and madwifi sender shortly. Where should I capture the trace?

-- 
Regards
Joerg


- Ursprüngliche Message -
 Von: Bob Copeland m...@bobcopeland.com
 An: Joerg Pommnitz pommn...@yahoo.com
 Cc: linux-wirel...@vger.kernel.org; ath5k-devel@lists.ath5k.org
 Gesendet: 13:02 Donnerstag, 30.Juni 2011
 Betreff: Re: [ath5k-devel] Performance regression between Madwifi/net80211 
 and ath5k/mac80211

 On Wed, Jun 22, 2011 at 11:07 AM, Joerg Pommnitz pommn...@yahoo.com
 wrote:
  I guess you'll  need more help from the HW people here.

  Bob, Bruno, Felix, Luis, Nick: Do you read?

 I guess I would be interested to know if there are any obvious
 differences in the streams. E.g. taking a monitor mode capture
 near the receiver should show whether the received power is similar,
 whether the # of retransmissions is significantly higher in ath5k
 vs madwifi, whether packets are sent at the same bitrates, if there
 are any pauses where ath5k doesn't seem to be doing anything, etc.

 Would it be possible to do a few captures with your setup?
 --
 Bob Copeland %% www.bobcopeland.com

___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] Performance regression between Madwifi/net80211 and ath5k/mac80211

2011-10-19 Thread Adrian Chadd
.. does madwifi have that net80211 aggressive mode by default, where
it overrides the best-effort WME queue parameters to allow for
bursting?

I see exactly that difference in FreeBSD (33mbit vs 22mbit) when I
disable that aggressive mode code.

Thanks,


Adrian
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel


Re: [ath5k-devel] Performance regression between Madwifi/net80211 and ath5k/mac80211

2011-10-19 Thread Pavel Roskin
On Wed, 19 Oct 2011 19:33:53 +0800
Adrian Chadd adr...@freebsd.org wrote:

 .. does madwifi have that net80211 aggressive mode by default, where
 it overrides the best-effort WME queue parameters to allow for
 bursting?

I tried madwifi-0.9.4 snapshot on a CM9 card, and I got:

# iwpriv ath0 get_abolt
ath0  get_abolt:218  

218 is 0xda, which means that the following capabilities are enabled:

IEEE80211_ABOLT_TURBO_PRIME
IEEE80211_ABOLT_FAST_FRAME
IEEE80211_ABOLT_BURST
IEEE80211_ABOLT_XR
IEEE80211_ABOLT_AR

And those are not enabled:

IEEE80211_ABOLT_TURBO_G
IEEE80211_ABOLT_COMPRESSION
IEEE80211_ABOLT_WME_ELE

I would just unset all capabilities and retry.

 I see exactly that difference in FreeBSD (33mbit vs 22mbit) when I
 disable that aggressive mode code.

-- 
Regards,
Pavel Roskin
___
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel