All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: linux-wireless <linux-wireless@vger.kernel.org>
Subject: mac80211 auth/assoc in multi-channel scenarios
Date: Mon, 25 Jun 2012 18:05:08 +0200	[thread overview]
Message-ID: <1340640308.27437.16.camel@jlt3.sipsolutions.net> (raw)

Hi all,

Some of us have discussed this before, but I wanted to get some wider
dissemination ...

With multi-channel, one problem that we get is managing the channel
timing for authentication/association. We'll have bound the channel
context (once we have that) before we even send a frame of course, but
setting up the timing as to when to use the channel is very hard, in
particular for connections to P2P GOs that might potentially be asleep.

I see a few obvious choices, open for other suggestions.

1) bring back something like the TX sync API, where the driver sleeps
   until the frame can be transmitted; this is done before every
   transmit
1a) do the same, but asynchronously (somewhat ugly)

2) sleep in sta_state in the driver; this is problematic because while
   we know that the auth frame will be sent right after the AP station
   is created, we don't see the retransmits properly

3) do it in the driver in tx(); this is problematic because it may mean
   delaying the frames quite a bit, and mac80211 might then try to
   retransmit too early etc

4) introduce a sleeping mgmt-tx driver call to send such frames; this is
   ugly in mac80211 code flows with the TX functions

5) do remain-on-channel from mac80211, but this doesn't address P2P GO
   synchronisation requirements

I haven't been able to come up with any other ways, and here we really
don't have much of a choice -- #1 is the only thing that seems sane to
me. Thoughts?

johannes


             reply	other threads:[~2012-06-25 16:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-25 16:05 Johannes Berg [this message]
2012-06-26 10:09 ` mac80211 auth/assoc in multi-channel scenarios Eliad Peller
2012-06-26 10:41   ` Johannes Berg
2012-06-26 11:18     ` Eliad Peller
2012-06-26 11:35       ` Arik Nemtsov
2012-06-26 13:10         ` Johannes Berg
2012-06-26 18:18           ` Arik Nemtsov
2012-06-27  7:00             ` Johannes Berg
2012-06-27 11:17         ` Johannes Berg
2012-06-27 11:27           ` Arik Nemtsov
2012-06-27 14:38             ` Johannes Berg
2012-06-27 15:20               ` Arik Nemtsov
2012-06-27 15:25                 ` Johannes Berg
2012-06-27 17:05                   ` Arik Nemtsov
2012-06-28  9:33                     ` Johannes Berg
2012-06-28 10:01                       ` Arik Nemtsov
2012-06-28 10:10                         ` Johannes Berg
2012-06-28 12:00                           ` Arik Nemtsov
2012-06-26 12:55       ` 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=1340640308.27437.16.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.