From: Benoit PAPILLAULT <benoit.papillault@free.fr>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: Bruno Randolf <br1@einfach.org>,
linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: fix rates setup on IBSS merge
Date: Thu, 25 Feb 2010 00:56:40 +0100 [thread overview]
Message-ID: <4B85BCB8.1000006@free.fr> (raw)
In-Reply-To: <43e72e891002231128w45c357a6v157dc4f7ddf3bbae@mail.gmail.com>
Luis R. Rodriguez a écrit :
> On Tue, Feb 23, 2010 at 1:51 AM, Bruno Randolf <br1@einfach.org> wrote:
>
>> when an IBSS merge happened, the supported rates for the newly added station
>> were left empty, causing the rate control module to be initialized with only
>> the basic rates.
>>
>> also the section of the ibss code which deals with updating supported rates for
>> an already existing station fails to inform the rate control module about the
>> new rates. as i don't know how to fix this (minstrel does not have an update
>> function), i have just added a comment for now.
>>
>> Signed-off-by: Bruno Randolf <br1@einfach.org>
>>
>
> This seems like a stable fix, if it applies can you please resend with a
>
> Cc: stable@kernel.org
>
> on the commit log entry right below your own SOB.
>
> Luis
>
Hi Bruno,
I think the root cause is that IBSS neighbor entries are added whenever
we received any packet from a neighbor. However, the supported rates are
only available in the beacon/probe responses. I think one fix is to only
add IBSS neighbors on beacon/probe response reception (and moreover,
beacon/probe responses contains the timestamp that is needed for IBSS
merge).
Basically, I removed the call to ieee80211_ibss_add_sta in
net/mac80211/rx.c.
Can you try that and tell me about the result?
In fact, I did this change to have HT rates in IBSS mode (but I'm still
missing some stuff).
Regards,
Benoit
next prev parent reply other threads:[~2010-02-24 23:56 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-23 9:51 [PATCH] mac80211: fix rates setup on IBSS merge Bruno Randolf
2010-02-23 19:28 ` Luis R. Rodriguez
2010-02-24 23:56 ` Benoit PAPILLAULT [this message]
2010-03-01 8:24 ` Bruno Randolf
2010-03-01 21:17 ` Benoit PAPILLAULT
2010-02-24 23:38 ` 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=4B85BCB8.1000006@free.fr \
--to=benoit.papillault@free.fr \
--cc=br1@einfach.org \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=mcgrof@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.