From: Johannes Berg <johannes@sipsolutions.net>
To: Arik Nemtsov <arik@wizery.com>
Cc: Eliad Peller <eliad@wizery.com>,
linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: mac80211 auth/assoc in multi-channel scenarios
Date: Thu, 28 Jun 2012 12:10:54 +0200 [thread overview]
Message-ID: <1340878254.4491.36.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <CA+XVXfc9F9-FMZyBytDT-5D4KxSFfTSwbhFd2g3oxdLPNFWWxg@mail.gmail.com> (sfid-20120628_120208_348993_6A166C7D)
On Thu, 2012-06-28 at 13:01 +0300, Arik Nemtsov wrote:
> >> How about somehow requiring a multi channel driver to give always
> >> Tx-ack? That will mean we can abandon the retry timers, and rely on
> >> the driver to give an answer within a reasonable time.
> >
> > That doesn't mean we can abandon the retry timers though? Then again,
> > maybe it does, we could start the timer only when we get the status
> > information I guess?
>
> I'm not really sure why the assoc timers are there now. If it's
> because we want to be sure we gave the peer a chance to respond, well
> the Tx-ack already gives us that. Waiting any longer won't help.
> Or does waiting in general before the next Tx help with something?
> (clear temporary congestion etc).
Well the only timer there is is retrying the frame. Arguably that isn't
needed as the frame has been retried on the air already multiple times
by the hardware, but sometimes temporary channel conditions exist so
waiting 100ms until the next retry can make sense.
If we actually receive a response, we cancel all timers right away.
> > I'm not sure I'd want to *require* this, but it sounds like a good thing
> > we could do to address this possible race for drivers that do support
> > reliable status reports?
>
> Yea. And then, if all current multi-channel drivers support Tx-ack, we
> can skip implemeting tx_sync.
We could, but I'm not sure I'd go there? It would mean that the driver
has to buffer the frame, schedule a work to do whatever it needs to sync
up, and then at the end of the work TX the frame. Since this only comes
in from contexts in mac80211 that can sleep, from a whole system
complexity POV it seems much simpler to give the driver a chance to do
whatever it needs to do before the TX even happens?
johannes
next prev parent reply other threads:[~2012-06-28 10:11 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-25 16:05 mac80211 auth/assoc in multi-channel scenarios Johannes Berg
2012-06-26 10:09 ` 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 [this message]
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=1340878254.4491.36.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=arik@wizery.com \
--cc=eliad@wizery.com \
--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.