From: Adam Wozniak <awozniak@irobot.com>
To: Christian Lamparter <chunkeey@googlemail.com>
Cc: Derek Smithies <derek@indranet.co.nz>,
linux-wireless@vger.kernel.org, nbd@openwrt.org
Subject: Re: compat-wireless and minstrel
Date: Wed, 04 Nov 2009 13:46:59 -0800 [thread overview]
Message-ID: <4AF1F653.4000905@irobot.com> (raw)
In-Reply-To: <200911042242.48991.chunkeey@googlemail.com>
$ ls -la /lib/firmware/ar9170*
-rw-r--r-- 1 root root 83968 2009-10-17 15:55 /lib/firmware/ar9170-1.fw
-rw-r--r-- 1 root root 3508 2009-10-17 15:55 /lib/firmware/ar9170-2.fw
-rw-r--r-- 1 root root 15960 2009-10-17 15:55 /lib/firmware/ar9170.fw
It is unclear to me which are actually used. I will try removing the
two stage firmware files and see what happens.
Christian Lamparter wrote:
> On Wednesday 04 November 2009 22:01:39 Derek Smithies wrote:
>
>> Hi,
>> On Wed, 4 Nov 2009, Christian Lamparter wrote:
>>
>>
>>> On Wednesday 04 November 2009 02:13:49 Adam Wozniak wrote:
>>>
>>>> I have two systems under test, both Dell laptops (a Latitude D630 and an
>>>> Inspiron 600m) both running Ubuntu 9.10 with the latest updates, and
>>>> bleeding edge compat-wireless-2009-11-02. I'm using identical AR9170
>>>> based D-Link DWA-160 USB 802.11adapters. I'm using nuttcp to measure
>>>> throughput. I'm running in ad-hoc mode. Both machines have the same
>>>> ar9170 files in /lib/firmware. The machines are sitting about 5 feet
>>>> apart in my office.
>>>>
> by the way: I forgot to ask, but which firmware do you use?
> If you still have *two - stage*, then get rid of it.
> Since one-stage fws contain a few fixes for most temporarily MAC/BB-hiccups.
>
>
>>>> I'm having occasional problems where throughput drops through the floor
>>>> (0.5Mbps - 1.5Mbps). When I cat
>>>> /sys/kernel/debug/ieee80211/*/stations/*/rc_stats, one of the machines
>>>> lists the full set of rates, but the other only lists 1M and 54M. After
>>>> a period of time, that machine drops 54M and lists only one rate
>>>> (1Mbps), and the throughput listed by nuttcp drops accordingly. I
>>>> assume that, for whatever reason, the rates drop off the list and
>>>> minstrel uses the only one left available to it.
>>>>
>>>> If I modify include/net/mac80211.h and force the inline function
>>>> rate_supported to always return 1, this fixes the problem. However, I
>>>> think this is a band aid around some other issue.
>>>>
>>>> Any clues or ideas what the real issue might be here?
>>>>
>> My guess::
>>
>> When an adhoc node (call it A) merges with a second adhoc node (call it
>> B) there is a capability comparison.
>> Node A looks at the rates supported by B and says,
>> "I must only transmit at rates supported by B"
>>
>> Some management frames don't contain a full report of the rates supported
>> by the sender.
>> My view is that node A (in this example) is incorrectly determining that B
>> only supports the 1mb/sec rate. Consequently, node A fills the
>> rate_supported array with one rate - 1mb/sec.
>>
> well, that's the thing... it sounds like something in cfg80211/mac80211 has
> gone wrong. Since ibss supported/basic rates IEs should always include all
> mandatory rates for the given band & mode. Therefore you should see the
> 2Mbit, 11Mbit, 6MBit, 12Mbit 24Mbit rates in rc_stats array as well.
>
>
>> =====
>>
> =====
>
>
>> There is no evidence that Minstrel is doing anything wrong.
>>
> ?but no one said it was minstrel fault? And it clearly isn't.
>
> But something OT: do you have already thoughts about
> _extending_ minstrel to support 802.11n MCS rates?
>
> The current endeavor is stuck and needs a kick-start.
> This is partly because of a hen-egg problem:
> no driver <-> no 11n rc. But it should be easy to get
> 11n capable hw now (e.g. Mikrotik's R52N) and
> ath9k should be the perfect testing platform right now.
>
> nbd has/had some thought about grouping rates and options
> (e.g SGI/40MHz) together to reduce the number of rates to
> improve the _search for best tp_ time. But dunno, maybe he
> has already something better than the proof-of-concept I wrote earlier.
>
> Regards,
> Chr
>
next prev parent reply other threads:[~2009-11-04 21:46 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-04 1:13 compat-wireless and minstrel Adam Wozniak
2009-11-04 15:53 ` Christian Lamparter
2009-11-04 15:57 ` Luis R. Rodriguez
2009-11-04 21:01 ` Derek Smithies
2009-11-04 21:42 ` Christian Lamparter
2009-11-04 21:46 ` Adam Wozniak [this message]
2009-11-04 21:50 ` Luis R. Rodriguez
2009-11-04 21:53 ` Adam Wozniak
2009-11-04 21:55 ` Luis R. Rodriguez
2009-11-04 22:18 ` Christian Lamparter
2009-11-04 22:20 ` Luis R. Rodriguez
2009-11-04 22:31 ` Christian Lamparter
2009-11-04 22:34 ` Luis R. Rodriguez
2009-11-10 22:59 ` Adam Wozniak
2009-11-11 0:55 ` Derek Smithies
2009-11-11 1:08 ` Adam Wozniak
2009-11-11 2:09 ` Derek Smithies
2009-11-12 19:43 ` Adam Wozniak
2009-11-12 20:03 ` Christian Lamparter
2009-11-12 22:38 ` Adam Wozniak
2009-11-12 22:41 ` Adam Wozniak
2009-11-13 7:29 ` Johannes Berg
2009-11-13 22:35 ` Adam Wozniak
2009-11-14 9:30 ` Johannes Berg
2009-11-16 17:25 ` Adam Wozniak
2009-11-16 17:27 ` Johannes Berg
2009-11-16 17:57 ` Adam Wozniak
2009-11-16 18:07 ` Johannes Berg
2009-11-16 21:02 ` Adhoc networking, was " Derek Smithies
2009-11-16 22:39 ` Adam Wozniak
2009-11-16 23:13 ` Derek Smithies
2009-11-16 23:39 ` Adam Wozniak
2009-11-16 23:43 ` Felix Fietkau
2009-11-17 0:20 ` Derek Smithies
2009-11-17 7:38 ` Johannes Berg
2009-11-17 17:39 ` Adam Wozniak
2009-11-23 20:21 ` Adam Wozniak
2009-11-23 23:27 ` Johannes Berg
2009-11-24 0:57 ` [PATCH 0/2] mac80211: IBSS rates Adam Wozniak
2009-11-24 17:05 ` [PATCH v2 " Adam Wozniak
2009-11-24 0:57 ` [PATCH 1/2] mac80211: supp_rates initialization and rate control notification Adam Wozniak
2009-11-24 1:16 ` Johannes Berg
2009-11-24 17:05 ` [PATCH v2 " Adam Wozniak
2009-11-24 17:13 ` Johannes Berg
2009-11-24 0:57 ` [PATCH 2/2] mac80211: minstrel try all rates Adam Wozniak
2009-11-24 1:11 ` Johannes Berg
2009-11-24 16:13 ` Adam Wozniak
2009-11-24 16:17 ` Adam Wozniak
2009-11-24 17:17 ` Adam Wozniak
2009-11-24 17:41 ` Johannes Berg
2009-11-24 17:55 ` Adam Wozniak
2009-11-24 17:58 ` Johannes Berg
2009-11-24 18:34 ` Adam Wozniak
2009-11-24 18:36 ` Johannes Berg
2009-11-24 18:43 ` Adam Wozniak
2009-11-24 19:00 ` Johannes Berg
2009-11-24 19:44 ` Adam Wozniak
2009-11-24 19:47 ` Johannes Berg
2009-11-24 19:58 ` Adam Wozniak
2009-11-24 17:05 ` [PATCH v2 " Adam Wozniak
2009-11-24 17:14 ` Johannes Berg
2009-11-12 23:35 ` compat-wireless and minstrel Christian Lamparter
2009-11-13 0:25 ` Adam Wozniak
2009-11-13 0:32 ` Adam Wozniak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF1F653.4000905@irobot.com \
--to=awozniak@irobot.com \
--cc=chunkeey@googlemail.com \
--cc=derek@indranet.co.nz \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@openwrt.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).