From: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de>,
linux-wireless@vger.kernel.org,
Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>,
Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Subject: Re: [RFC 0/4] add master channel switch announcement support
Date: Tue, 11 Jun 2013 16:18:12 +0200 [thread overview]
Message-ID: <20130611141811.GA9490@pandem0nium> (raw)
In-Reply-To: <1370953885.8356.38.camel@jlt4.sipsolutions.net>
[-- Attachment #1: Type: text/plain, Size: 2045 bytes --]
> > > > * could other drivers (next to ath9k) work with this API?
> > >
> > > Probably not easily. Any TI folks reading this?
> >
> > I was thinking about adding another callback function or option for that for drivers
> > who do the channel switch internally. Then we would only need mac80211 to adapt.
> >
> > Would that help, or what would be problematic?
>
> I don't really know. If you look at what we do in managed mode now, some
> drivers will do the switching and report back when done.
>
OK, maybe we should leave that open to people who implement that feature for
their respective drivers.
> > Yeah, that would be an alternative. I've been inspired by IEEE 802.11-2012/6.3.17
> > (MLME-CHANNELSWITCH) originally. :)
> > I think your suggestion is good for AP where we control the beacon. For IBSS it
> > would be a little different: when a channel switch is triggered, userspace does
> > not know the beacon (and will not set it). Therefore, we could only accept the
> > change IEs and skip the "after-switch-beacon" IEs (these would be re-generated
> > internally) in IBSS mode. I guess it would be similar for mesh.
>
> Yeah, agree, IBSS/mesh modes are somewhat different here, userspace
> doesn't really know the channel is switching at all, does it?
IBSS/Mesh does not process CSA so far. When we do, we should switch the channel
and inform userspace by using an event (the same way it is done for station, I think).
What I'm concered about is to initiate a channel switch from userspace. This will be
required for IBSS-DFS: when a radar is detected and this event is sent to userspace, it
must react by initiating a channel switch.
My plan was to use the same "channel switch" command, just without the CSA-IE and
after-change IEs (see the new PATCH series). The rest would be pretty similar to the
AP-operation: add CSA IEs, switch channel, create a new beacon for the new channel and
set it. Only that this would be done in kernel space instead of userspace.
Cheers,
Simon
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2013-06-11 14:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 19:13 [RFC 0/4] add master channel switch announcement support Simon Wunderlich
2013-05-06 19:13 ` [RFC 1/4] cfg80211: add chandef to operating class conversion Simon Wunderlich
2013-05-06 19:13 ` [RFC 2/4] nl80211/cfg80211: add channel switch command Simon Wunderlich
2013-05-06 19:13 ` [RFC 3/4] mac80211: add channel switch command and beacon callbacks Simon Wunderlich
2013-05-06 19:13 ` [RFC 4/4] ath9k: enable CSA functionality in ath9k Simon Wunderlich
2013-05-13 10:09 ` [RFC 0/4] add master channel switch announcement support Johannes Berg
2013-05-14 9:27 ` Simon Wunderlich
2013-05-28 10:43 ` Simon Wunderlich
2013-06-11 12:31 ` Johannes Berg
2013-06-11 14:18 ` Simon Wunderlich [this message]
2013-06-18 14:01 ` 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=20130611141811.GA9490@pandem0nium \
--to=simon.wunderlich@s2003.tu-chemnitz.de \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=mathias.kretschmer@fokus.fraunhofer.de \
--cc=siwu@hrz.tu-chemnitz.de \
/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