From: Bruno Randolf <br1@einfach.org>
To: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: linville@tuxdriver.com, ath5k-devel@venema.h4ckr.net,
linux-wireless@vger.kernel.org
Subject: Re: [PATCH 1/2] ath5k: Use high bitrates for ACK/CTS
Date: Mon, 19 Apr 2010 09:24:25 +0900 [thread overview]
Message-ID: <201004190924.25709.br1@einfach.org> (raw)
In-Reply-To: <20100416155907.6e33c722@dhcp-lab-109.englab.brq.redhat.com>
On Friday 16 April 2010 22:59:07 Stanislaw Gruszka wrote:
> On Mon, 12 Apr 2010 16:38:47 +0900
>
> Bruno Randolf <br1@einfach.org> wrote:
> > There was a confusion in the usage of the bits AR5K_STA_ID1_ACKCTS_6MB
> > and AR5K_STA_ID1_BASE_RATE_11B. If they are set (1), we will get lower
> > bitrates for ACK and CTS. Therefore ath5k_hw_set_ack_bitrate_high(ah,
> > false) actually resulted in high bitrates, which i think is what we want
> > anyways. Cleared the confusion and added some documentation.
>
> I thought ACK and other control frames have to be modulated at slow/robust
> bitrates, but can't remember where I read that ...
this has been discussed on ath5k-devel before. i'm copying it here. please let
me know if i missed something...
(https://lists.ath5k.org/pipermail/ath5k-devel/2010-March/003391.html)
control frames have to be sent at one of the lower bitrates - one of the
"basic rates". in G mode these are 1, 2, 5.5, 11, 6, 12, 24Mbps.
this is from the 802.11g spec:
"a STA responding to a received frame shall transmit its Control Response
(either CTS or ACK) frames at the highest rate in the BSSBasicRateSet that is
less than or equal to the rate of the immediately previous frame in the frame
exchange sequence (as defined in 9.7)"
basically we have to make a tradeoff here: using lower rates for ACK/CTS will
improve reliability, but lower performance. for example i could get only
10Mbps truput with ACK/CTS at the lowest bitrates and RTS/CTS enabled
(iwconfig wlan0 rts 250) and i can get more than 20Mbps with higher bitrates.
so i think it's worth to use high bitrates. actually also this should be
tuneable for the user, too...
bruno
next prev parent reply other threads:[~2010-04-19 0:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-12 7:38 [PATCH 1/2] ath5k: Use high bitrates for ACK/CTS Bruno Randolf
2010-04-12 7:38 ` [PATCH 2/2] ath5k: treat RXORN as non-fatal Bruno Randolf
2010-04-16 13:59 ` [PATCH 1/2] ath5k: Use high bitrates for ACK/CTS Stanislaw Gruszka
2010-04-19 0:24 ` Bruno Randolf [this message]
2010-04-19 10:14 ` Gábor Stefanik
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=201004190924.25709.br1@einfach.org \
--to=br1@einfach.org \
--cc=ath5k-devel@venema.h4ckr.net \
--cc=linux-wireless@vger.kernel.org \
--cc=linville@tuxdriver.com \
--cc=sgruszka@redhat.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