From: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>
To: "John W. Linville" <linville@tuxdriver.com>,
Johannes Berg <johannes@sipsolutions.net>
Cc: Mohammed Shafi Shajakhan <mohammed@qca.qualcomm.com>,
Rajkumar Manoharan <rmanohar@qca.qualcomm.com>,
<linux-wireless@vger.kernel.org>
Subject: Re: [RFC] mac80211: minor cleanup
Date: Tue, 27 Dec 2011 21:44:14 +0530 [thread overview]
Message-ID: <4EF9EED6.4040805@qca.qualcomm.com> (raw)
In-Reply-To: <1325001841-1881-1-git-send-email-mohammed@qca.qualcomm.com>
Hi Johannes and all,
i have a doubt why we should stop scanning in the following scenario:
*we have created an IBSS network as we cannot find no other network for
IBSS_JOIN_TIMEOUT and when we had used 'fixed-freq' option, why can't we
still keep scanning in the fixed frequency?
*we create two networks IBSS1 and IBSS2 with 'fixed-freq' option and
they are not visible to each other till they had become
creators(IBSS_JOIN_TIMEOUT). i assume unless we scan in the 'fixed-freq'
they won't be joining with each other as they have their own 'BSSID'
which won't match when we receive each of their beacon frames. i will
test this scenario to
confirm. thanks in advance
thanks to Raj for his valuable inputs.
On Tuesday 27 December 2011 09:34 PM, Mohammed Shafi Shajakhan wrote:
> From: Mohammed Shafi Shajakhan<mohammed@qca.qualcomm.com>
>
> if we had set 'fixed-freq' paramter in iw ibss join command,
> scan request won't be intiated in this path with the state
> 'IEEE80211_IBSS_MLME_JOINED'
>
> Signed-off-by: Mohammed Shafi Shajakhan<mohammed@qca.qualcomm.com>
> ---
> net/mac80211/ibss.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff --git a/net/mac80211/ibss.c b/net/mac80211/ibss.c
> index f8a32bf..8875673 100644
> --- a/net/mac80211/ibss.c
> +++ b/net/mac80211/ibss.c
> @@ -642,8 +642,7 @@ static void ieee80211_sta_merge_ibss(struct ieee80211_sub_if_data *sdata)
> "IBSS networks with same SSID (merge)\n", sdata->name);
>
> ieee80211_request_internal_scan(sdata,
> - ifibss->ssid, ifibss->ssid_len,
> - ifibss->fixed_channel ? ifibss->channel : NULL);
> + ifibss->ssid, ifibss->ssid_len, NULL);
> }
>
> static void ieee80211_sta_create_ibss(struct ieee80211_sub_if_data *sdata)
--
thanks,
shafi
prev parent reply other threads:[~2011-12-27 16:14 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-27 16:04 [RFC] mac80211: minor cleanup Mohammed Shafi Shajakhan
2011-12-27 16:14 ` Mohammed Shafi Shajakhan [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=4EF9EED6.4040805@qca.qualcomm.com \
--to=mohammed@qca.qualcomm.com \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=rmanohar@qca.qualcomm.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).