linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>,
	linux-wireless@vger.kernel.org, Jouni Malinen <j@w1.fi>,
	reinette chatre <reinette.chatre@intel.com>,
	Eliad Peller <eliad@wizery.com>
Subject: Re: [RFC] mac80211: properly go back to operational channel?
Date: Wed, 19 Oct 2011 11:48:11 -0700	[thread overview]
Message-ID: <4E9F1B6B.1080401@candelatech.com> (raw)
In-Reply-To: <1318948251.3958.29.camel@jlt3.sipsolutions.net>

On 10/18/2011 07:30 AM, Johannes Berg wrote:
> On Tue, 2011-10-18 at 16:19 +0200, Stanislaw Gruszka wrote:
>> For local->tmp_channel == NULL and local->scan_channel == NULL
>> ieee80211_cfg_on_oper_channel() will return false if
>> local->oper_channel != local->hw.conf.channel,
>> hece we do not properly go back to oper_channel from tmp_channel.
>
> Huh, good catch.
>
>> Does patch have sense?
>
> Let's see what Ben says. It seems a bit like the
> ieee80211_cfg_on_oper_channel() test there should be inverted instead of
> removed?
>
>> Could it fixes problems we are talking
>> in this thread?
>
> Yes, could be related, also some issue Jouni and Reinette have been
> seeing with P2P might be related as well.

Please see the patch I just posted.  I think it fixes the
issue (which was originally reported by
Eliad Peller <eliad@wizery.com>, who also posted a patch).
I re-worked his suggested patch to what I believe is a more
proper patch.

Also, Eliad had posted another patch that seems to be good
as is (which I also just re-posted).

Obviously, my tests cases are not catching all of these issues,
so please review the patches and/or test them out to see if
they fix the problem.

Thanks,
Ben

>
> johannes
>


-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


      parent reply	other threads:[~2011-10-19 18:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-27 11:12 [RFC] mac80211: remove per band sta supported rates Stanislaw Gruszka
2011-09-27 11:34 ` Johannes Berg
2011-09-29 15:00   ` Stanislaw Gruszka
2011-10-04 15:07     ` Johannes Berg
2011-10-05 11:15       ` Stanislaw Gruszka
2011-10-05 11:22         ` Johannes Berg
2011-10-18 14:19           ` [RFC] mac80211: properly go back to operational channel? Stanislaw Gruszka
2011-10-18 14:30             ` Johannes Berg
2011-10-18 14:53               ` Felix Fietkau
2011-10-18 16:03                 ` Ben Greear
2011-10-19 18:48               ` Ben Greear [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=4E9F1B6B.1080401@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=eliad@wizery.com \
    --cc=j@w1.fi \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=reinette.chatre@intel.com \
    --cc=sgruszka@redhat.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).