From: Juuso Oikarinen <juuso.oikarinen@nokia.com>
To: ext Johannes Berg <johannes@sipsolutions.net>
Cc: "linville@tuxdriver.com" <linville@tuxdriver.com>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: Fix basic rates for created IBSS networks
Date: Wed, 26 May 2010 15:42:32 +0300 [thread overview]
Message-ID: <1274877752.5277.1878.camel@wimaxnb.nmp.nokia.com> (raw)
In-Reply-To: <1274877298.3658.6.camel@jlt3.sipsolutions.net>
On Wed, 2010-05-26 at 14:34 +0200, ext Johannes Berg wrote:
> On Wed, 2010-05-26 at 15:34 +0300, Juuso Oikarinen wrote:
> > Currently the mac80211 marks rates 1 and 2 mbps as basic rates for created
> > ad-hoc networks. To be certifiable, rates 1, 2, 5.5 and 12 need to be marked
> > basic.
> >
> > Change this.
> >
> > Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
> > ---
> > net/mac80211/ibss.c | 3 ++-
> > 1 files changed, 2 insertions(+), 1 deletions(-)
> >
> > diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
> > index b2cc1fd..448cf57 100644
> > --- a/net/mac80211/ibss.c
> > +++ b/net/mac80211/ibss.c
> > @@ -529,7 +529,8 @@ static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
> > sdata->drop_unencrypted = 0;
> >
> > __ieee80211_sta_join_ibss(sdata, bssid, sdata->vif.bss_conf.beacon_int,
> > - ifibss->channel, 3, /* first two are basic */
> > + ifibss->channel,
> > + 15, /* 1, 2, 5.5 and 12 are basic */
>
> 12?
>
> In any case, this is incorrect in 5 GHz (at least the comment is).
Damn! The comment has a typo!
I must have a serious brain leak.
-Juuso
> johannes
>
prev parent reply other threads:[~2010-05-26 12:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-26 12:34 [PATCH] mac80211: Fix basic rates for created IBSS networks Juuso Oikarinen
2010-05-26 12:34 ` Johannes Berg
2010-05-26 12:42 ` Juuso Oikarinen [this message]
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=1274877752.5277.1878.camel@wimaxnb.nmp.nokia.com \
--to=juuso.oikarinen@nokia.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.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 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).