From: Johannes Berg <johannes@sipsolutions.net>
To: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [RFC] mac80211: sets basic rate set parameter for IBSS creator
Date: Tue, 28 Sep 2010 11:02:49 +0200 [thread overview]
Message-ID: <1285664569.3885.7.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1285662586-31646-1-git-send-email-mshajakhan@atheros.com>
On Tue, 2010-09-28 at 13:59 +0530, Mohammed Shafi Shajakhan wrote:
> From: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
>
> This fix sets the basic rate set parameter for IBSS creator when the
> basic rates are not explicitly specified in the user space.
>
> Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
> ---
> net/mac80211/ibss.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
> index 1a3aae5..e117155 100644
> --- a/net/mac80211/ibss.c
> +++ b/net/mac80211/ibss.c
> @@ -541,6 +541,9 @@ static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
> capability |= WLAN_CAPABILITY_PRIVACY;
> else
> sdata->drop_unencrypted = 0;
> + if (ifibss->basic_rates == 0)
> + ifibss->basic_rates = ieee80211_mandatory_rates(local,
> + local->hw.conf.channel->band);
Shouldn't cfg80211 do this?
johannes
next prev parent reply other threads:[~2010-09-28 9:02 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 [this message]
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 ` [RFC] mac80211: sets basic rate set parameter for IBSS creator Mohammed Shafi
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=1285664569.3885.7.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=mshajakhan@atheros.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).