From: Ivo van Doorn <ivdoorn@gmail.com>
To: Benoit Papillault <benoit.papillault@free.fr>
Cc: gwingerde@gmail.com, linux-wireless@vger.kernel.org,
users@rt2x00.serialmonkey.com,
Luis Correia <luis.f.correia@gmail.com>
Subject: Re: [PATCH 1/2] rt2x00: Disable RX aggregation for rt2800usb
Date: Tue, 1 Dec 2009 20:17:11 +0100 [thread overview]
Message-ID: <200912012017.11986.IvDoorn@gmail.com> (raw)
In-Reply-To: <1259619690-2749-1-git-send-email-benoit.papillault@free.fr>
On Monday 30 November 2009, Benoit Papillault wrote:
> From: Benoit PAPILLAULT <benoit.papillault@free.fr>
>
> RX aggregation is a way to receive multiple 802.11 frames in one RX buffer.
> However, we don't know yet how to handle this case in rt2800usb_fill_rxdone
> and this has probably no impact on RX performance as well, so we disable it
>
> Signed-off-by: Benoit Papillault <benoit.papillault@free.fr>
> ---
> drivers/net/wireless/rt2x00/rt2800usb.c | 4 +---
> 1 files changed, 1 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/net/wireless/rt2x00/rt2800usb.c b/drivers/net/wireless/rt2x00/rt2800usb.c
> index af85d18..ed31763 100644
> --- a/drivers/net/wireless/rt2x00/rt2800usb.c
> +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
> @@ -295,9 +295,7 @@ static int rt2800usb_enable_radio(struct rt2x00_dev *rt2x00dev)
>
> rt2800_register_read(rt2x00dev, USB_DMA_CFG, ®);
> rt2x00_set_field32(®, USB_DMA_CFG_PHY_CLEAR, 0);
> - /* Don't use bulk in aggregation when working with USB 1.1 */
> - rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_AGG_EN,
> - (rt2x00dev->rx->usb_maxpacket == 512));
> + rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_AGG_EN, 0);
> rt2x00_set_field32(®, USB_DMA_CFG_RX_BULK_AGG_TIMEOUT, 128);
> /*
> * Total room for RX frames in kilobytes, PBF might still exceed
Are you sure this works? I think Luis tried this 2 weeks ago and it didn't
disable the aggregation... (Luis, please confirm that this was indeed the change you made...)
Ivo
next parent reply other threads:[~2009-12-01 19:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1259619690-2749-1-git-send-email-benoit.papillault@free.fr>
2009-12-01 19:17 ` Ivo van Doorn [this message]
2009-12-01 19:59 ` [rt2x00-users] [PATCH 1/2] rt2x00: Disable RX aggregation for rt2800usb Luis Correia
2009-12-01 20:33 ` Benoit PAPILLAULT
[not found] ` <1259619690-2749-2-git-send-email-benoit.papillault@free.fr>
2009-12-01 19:21 ` [PATCH 2/2] rt2x00: Fix rt2800usb RX frame format and as such L2PAD Ivo van Doorn
2009-12-01 20:40 ` Gertjan van Wingerde
2009-12-01 20:41 ` [PATCH 1/2] rt2x00: Disable RX aggregation for rt2800usb Gertjan van Wingerde
2009-12-01 21:55 ` Ivo van Doorn
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=200912012017.11986.IvDoorn@gmail.com \
--to=ivdoorn@gmail.com \
--cc=benoit.papillault@free.fr \
--cc=gwingerde@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=luis.f.correia@gmail.com \
--cc=users@rt2x00.serialmonkey.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;
as well as URLs for NNTP newsgroup(s).