From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luis R. Rodriguez Date: Tue, 17 Nov 2009 09:07:12 -0800 Subject: [ath9k-devel] Rate Selection problems in mixed 802.11b/802.11g IBSS In-Reply-To: <319036.9736.qm@web51403.mail.re2.yahoo.com> References: <319036.9736.qm@web51403.mail.re2.yahoo.com> Message-ID: <43e72e890911170907m673cac0bnf6b68c4015dae276@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org 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 "iw dev wlan0 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 "iwconfig wlan0 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