From: Joerg Pommnitz Date: Mon, 23 Nov 2009 08:44:15 -0800 (PST) Subject: [ath9k-devel] Rate Selection problems in mixed 802.11b/802.11g IBSS In-Reply-To: <43e72e890911170907m673cac0bnf6b68c4015dae276@mail.gmail.com> References: <319036.9736.qm@web51403.mail.re2.yahoo.com> <43e72e890911170907m673cac0bnf6b68c4015dae276@mail.gmail.com> Message-ID: <381632.96139.qm@web51404.mail.re2.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Luis, I'm retracting my retraction :-). And I think I can provide an easy way to reproduce the stuck rate: * connect two nodes in an IBSS network in 802.11g mode * run iperf and watch the data rate on the client (e.g. the sender) with "iw dev wlan0 station dump" * change the IBSS network to 802.11a * run iperf and watch the data rate on the client (e.g. the sender) with "iw dev wlan0 station dump" After the switch to 802.11a the rate seems to be stuck at 1Mbit/s. Watching /sys/kernel/debug/ath9k/phy0/rcstat shows that the RC algorithm sees the statistics, but it never tries to send at a rate above 1Mbit/s. Can you reproduce this? Attached is the script I'm using to create the IBSS network. -- Regards Joerg ----- Urspr?ngliche Mail ---- > Von: Luis R. Rodriguez > An: Joerg Pommnitz > CC: ath9k-devel at lists.ath9k.org > Gesendet: Dienstag, den 17. November 2009, 18:07:12 Uhr > Betreff: Re: [ath9k-devel] Rate Selection problems in mixed 802.11b/802.11g IBSS > > On Tue, Nov 17, 2009 at 12:34 AM, Joerg Pommnitz wrote: > > Hello all, > > I have seen a problem using ath9k in an IBSS network formed from > > two nodes: one AR5xxx running Madwifi and one A9xxx using ath9k. > > > > The network was running on channel 14 which Madwifi limits to 802.11b > > for regulatory reasons (we have permission to use this channel). > > > > The strange part was ath9k: Using "iwdevwlan0 stations dump" I could see > > that the TX rate to the Madwifi node was stuck at 1 Mbit/s. An iperf run > > confirmed the miserable data rate. I could force > > the rate with "iwconfigwlan0 rate 11M" to something reasonable (once again > > measured with iperf). In the latter case, iw still claimed a TX rate of > 1Mbit/s > > but iperf did show the expected data rate. > > > > The Madwifi node on the other end was happily selecting 11Mbit/s on its own. > > > > Any ideas? > > Yeah I'm curious can you try on the ath9k station: > > iw list > > And then please try monitoring the rcstat file as root: > > watch cat /sys/kernel/debug/ath9k/phy0/rcstat > > When you run iperf what rates do you see being used? After a while of > running iperf (3 times) with UDP: > > iperc -c ip-address-of-server -u -i 1 -b 30M > > please paste the output of the rcstat file. > > Luis __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verf?gt ?ber einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com -------------- next part -------------- A non-text attachment was scrubbed... Name: ibss.sh Type: application/x-sh Size: 296 bytes Desc: not available Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20091123/13bd915a/attachment.sh