From 9c866618408bbb1f425a01a54545081bd09acab3 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 11 Oct 2009 04:00:58 +0000 Subject: [PATCH] mac80211: fix rt2800pci, tx ack timeout is now hardcoded git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18031 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches/302-rt2x00-Implement-support-for-rt2800pci.patch | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/package/mac80211/patches/302-rt2x00-Implement-support-for-rt2800pci.patch b/package/mac80211/patches/302-rt2x00-Implement-support-for-rt2800pci.patch index 6b9d28273..80ff246cf 100644 --- a/package/mac80211/patches/302-rt2x00-Implement-support-for-rt2800pci.patch +++ b/package/mac80211/patches/302-rt2x00-Implement-support-for-rt2800pci.patch @@ -35,7 +35,7 @@ Signed-off-by: Ivo van Doorn obj-$(CONFIG_RT2800USB) += rt2800usb.o --- /dev/null +++ b/drivers/net/wireless/rt2x00/rt2800pci.c -@@ -0,0 +1,3241 @@ +@@ -0,0 +1,3240 @@ +/* + Copyright (C) 2004 - 2009 rt2x00 SourceForge Project + @@ -720,8 +720,7 @@ Signed-off-by: Ivo van Doorn + u32 reg; + + rt2x00pci_register_read(rt2x00dev, TX_TIMEOUT_CFG, ®); -+ rt2x00_set_field32(®, TX_TIMEOUT_CFG_RX_ACK_TIMEOUT, -+ DIV_ROUND_UP(erp->ack_timeout, erp->slot_time)); ++ rt2x00_set_field32(®, TX_TIMEOUT_CFG_RX_ACK_TIMEOUT, 0x20); + rt2x00pci_register_write(rt2x00dev, TX_TIMEOUT_CFG, reg); + + rt2x00pci_register_read(rt2x00dev, AUTO_RSP_CFG, ®); -- 2.20.1