From: Johannes Berg <johannes@sipsolutions.net>
To: Luca Coelho <luca@coelho.fi>
Cc: Michal Kazior <michal.kazior@tieto.com>, linux-wireless@vger.kernel.org
Subject: Re: [RFC 2/2] cfg80211: move channel switch logic to cfg80211
Date: Tue, 04 Feb 2014 11:33:12 +0100 [thread overview]
Message-ID: <1391509992.4134.1.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1391508433.26522.61.camel@porter.coelho.fi>
On Tue, 2014-02-04 at 12:07 +0200, Luca Coelho wrote:
> > Hmm, that sounds a bit the wrong way around? Shouldn't the CSA not be
> > possible (userspace CSA) or cause the switching interface to disconnect,
> > rather than *others*??
>
> It depends. And this logic is too complicated to stay in the kernel,
> IMHO. If we are in a GO-follows-STA scenario, we want to disconnect the
> GO. Now, if you have an AP (with tons of STAs connected to it) and a
> P2P client gets a CSA for whatever reason, do we really want to stop the
> AP?
Well, what I was describing was really only the default policy if
userspace didn't do anything useful, which IMHO should really just be:
* client receives CSA - disconnect if it can't be done
* AP/GO wants CSA - refuse if it can't be done, let userspace sort it
out
In the first case, userspace still has the time between receiving the
CSA and actually acting on it to make another decision.
johannes
next prev parent reply other threads:[~2014-02-04 10:33 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-03 9:58 [RFC 0/2] cfg80211: add channel switching awareness Michal Kazior
2014-02-03 9:58 ` [RFC 1/2] mac80211: merge STA CSA code Michal Kazior
2014-02-03 13:18 ` Johannes Berg
2014-02-04 11:19 ` Michal Kazior
2014-02-04 9:09 ` Luca Coelho
2014-02-04 11:29 ` Michal Kazior
2014-02-04 11:50 ` Luca Coelho
2014-02-04 12:12 ` Johannes Berg
2014-02-03 9:58 ` [RFC 2/2] cfg80211: move channel switch logic to cfg80211 Michal Kazior
2014-02-03 13:41 ` Johannes Berg
2014-02-04 10:07 ` Luca Coelho
2014-02-04 10:33 ` Johannes Berg [this message]
2014-02-04 11:11 ` Luca Coelho
2014-02-04 11:15 ` Luca Coelho
2014-02-04 11:24 ` Johannes Berg
2014-02-04 11:42 ` Luca Coelho
2014-02-04 11:57 ` Johannes Berg
2014-02-04 12:07 ` Luca Coelho
2014-02-04 12:14 ` Michal Kazior
2014-02-05 7:39 ` Luca Coelho
2014-02-05 10:29 ` Michal Kazior
2014-02-05 12:11 ` Luca Coelho
2014-02-05 14:37 ` Michal Kazior
2014-02-11 13:51 ` Johannes Berg
2014-02-11 13:34 ` Johannes Berg
2014-02-03 12:43 ` [RFC 0/2] cfg80211: add channel switching awareness Johannes Berg
2014-02-03 13:24 ` Johannes Berg
2014-02-04 10:27 ` Luca Coelho
2014-02-04 12:26 ` Michal Kazior
2014-02-04 12:34 ` Johannes Berg
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=1391509992.4134.1.camel@jlt4.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=luca@coelho.fi \
--cc=michal.kazior@tieto.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).