diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2009-09-06 09:14:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-09-09 11:18:14 -0400 |
commit | 4789666e13fb0b2d45feb1b4a5119a1b997ec84c (patch) | |
tree | 2071e79396f94d56177eab6386b5ce09e799abb8 /drivers/net/wireless/rt2x00/rt73usb.c | |
parent | fd413da852991e96c555ad7253cc481bc133e221 (diff) |
rt2x00: Hardcode TX ack timeout and consume time
The calculated values for the ACK timeout and ACK
consume time are different then the values as
used by the Legacy drivers.
After testing from James Ledwith it appeared that
the calculated values caused a high amount of TX
failures, and the values from the Legacy drivers
were the most optimal to prevent TX failure due to
excessive retries.
The symptoms of this problem:
- Rate control module always falls back to 1Mbs
- Low throughput when bitrate was fixed
Possible side-effects (not confirmed but highly likely)
- Problems with DHCP
- Broken connections due to lack of probe response
This should fix at least:
Kernel bugzilla reports: [13362], [13009], [9273]
Fedora bugzilla reports: [443203]
but possible some additional bugs as well.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt73usb.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt73usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index 90e117263051..1cbd9b4a3efc 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c | |||
@@ -561,7 +561,7 @@ static void rt73usb_config_erp(struct rt2x00_dev *rt2x00dev, | |||
561 | u32 reg; | 561 | u32 reg; |
562 | 562 | ||
563 | rt2x00usb_register_read(rt2x00dev, TXRX_CSR0, ®); | 563 | rt2x00usb_register_read(rt2x00dev, TXRX_CSR0, ®); |
564 | rt2x00_set_field32(®, TXRX_CSR0_RX_ACK_TIMEOUT, erp->ack_timeout); | 564 | rt2x00_set_field32(®, TXRX_CSR0_RX_ACK_TIMEOUT, 0x32); |
565 | rt2x00_set_field32(®, TXRX_CSR0_TSF_OFFSET, IEEE80211_HEADER); | 565 | rt2x00_set_field32(®, TXRX_CSR0_TSF_OFFSET, IEEE80211_HEADER); |
566 | rt2x00usb_register_write(rt2x00dev, TXRX_CSR0, reg); | 566 | rt2x00usb_register_write(rt2x00dev, TXRX_CSR0, reg); |
567 | 567 | ||