From: Mohammed Shafi <mshajakhan@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: "linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] mac80211: sets basic rate set parameter for IBSS creator
Date: Tue, 28 Sep 2010 16:30:03 +0530 [thread overview]
Message-ID: <4CA1CAB3.4070303@atheros.com> (raw)
In-Reply-To: <1285670865.3885.8.camel@jlt3.sipsolutions.net>
On Tuesday 28 September 2010 04:17 PM, Johannes Berg wrote:
> On Tue, 2010-09-28 at 15:01 +0530, Mohammed Shafi wrote:
>
>
>>>> + if (ifibss->basic_rates == 0)
>>>> + ifibss->basic_rates = ieee80211_mandatory_rates(local,
>>>> + local->hw.conf.channel->band);
>>>>
>>>>
>>> Shouldn't cfg80211 do this?
>>>
>
>> Thank you for your suggestion,just found out ,i
>> think its already there to configure basic rates (if the user had not
>> expicitly specified the basic rates in user space) in the
>> nl80211_join_ibss(nl80211.c) , but the basic rates does not seems to get
>> set there.I had checked its status in mac80211 in function
>> ieee80211_ibss_join function , its still zero and I thought of calling
>> it there itself , but the basic rate was not properly set for 2Ghz, so
>> called it here and I had tested it ,and everything working fine.
>> Pleas correct me if I am wrong .
>>
> Well, I still think cfg80211 should do this, and it looks like it will
> except when you use iwconfig. So are you using iw or iwconfig? If
> iwconfig latter, you need to fix the wext code in cfg80211, if the
> former you need to figure out where the information gets lost.
>
> johannes
>
Sorry , I was using iwconfig and thanks for fixing it.
with regards ,
shafi
prev parent reply other threads:[~2010-09-28 11:00 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-28 8:29 [RFC] mac80211: sets basic rate set parameter for IBSS creator Mohammed Shafi Shajakhan
2010-09-28 9:02 ` Johannes Berg
2010-09-28 9:31 ` Mohammed Shafi
2010-09-28 10:47 ` Johannes Berg
2010-09-28 10:53 ` [PATCH] cfg80211: always set IBSS basic rates Johannes Berg
2010-09-28 11:00 ` Mohammed Shafi [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=4CA1CAB3.4070303@atheros.com \
--to=mshajakhan@atheros.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.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).