From: Michael Wu <flamingice@sourmilk.net>
To: Daniel Drake <dsd@gentoo.org>
Cc: John Linville <linville@tuxdriver.com>,
netdev@vger.kernel.org, Ulrich Kunitz <kune@deine-taler.de>
Subject: Re: d80211-drivers pull request (week-48)
Date: Mon, 11 Dec 2006 21:20:53 -0500 [thread overview]
Message-ID: <200612112120.58157.flamingice@sourmilk.net> (raw)
In-Reply-To: <457E00D4.7010201@gentoo.org>
[-- Attachment #1: Type: text/plain, Size: 1623 bytes --]
On Monday 11 December 2006 20:07, Daniel Drake wrote:
> Michael Wu wrote:
> > zd1211rw-d80211: Use ieee80211_tx_status
>
> I've thought some more about this and I'm not so sure that this is the
> right approach.
>
> Can't devicescape be taught that the ZD1211 handles retries in hardware
> and the stack doesn't need to worry about it?
>
All 802.11 devices have to be able to handle retries in hardware to do random
backoff properly. Still, the stack wants to know what happened.
> I think I remember reading that devicescape uses failed transmission
> rate in the rate adjustment calculations. Even without this racy ack
> system we can still achieve that - the device tells us every time it
> retries a transmit, and then it sends a special interrupt at the end
> saying that all retries failed.
>
Yes, but it also uses successful transmissions in rate adjustment.
I don't think this race is such a big deal. It will only happen when someone
is really trying to mess with the link, and would cause the rate control to
jump to the highest speed. However, if someone is really trying to mess with
the link this way, the stability of the link is in trouble anyways. Wait for
stations to send frames, and send an ack for every unicast frame - everyone
will get confused. To actually mess with this code, the attacker would have
to transmit acks nearly continuously as it can't tell exactly when is a good
time to screw things up, and the driver recovers as soon as the queue is
emptied. Someone transmitting all the time is a problem for all wireless
cards. :)
-Michael Wu
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-12-12 2:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-11 6:01 d80211-drivers pull request (week-48) Michael Wu
2006-12-12 1:07 ` Daniel Drake
2006-12-12 2:20 ` Michael Wu [this message]
2006-12-12 3:51 ` Daniel Drake
2006-12-12 4:28 ` Michael Wu
2006-12-12 23:39 ` Ulrich Kunitz
2006-12-13 2:35 ` Michael Wu
2006-12-12 9:35 ` Michael Buesch
2006-12-15 5:54 ` Simon Barber
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=200612112120.58157.flamingice@sourmilk.net \
--to=flamingice@sourmilk.net \
--cc=dsd@gentoo.org \
--cc=kune@deine-taler.de \
--cc=linville@tuxdriver.com \
--cc=netdev@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 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).