summaryrefslogtreecommitdiff
path: root/package/mac80211
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2009-10-11 04:00:58 +0000
committerNicolas Thill <nico@openwrt.org>2009-10-11 04:00:58 +0000
commit9da14e1275ed89868020c3f0e14f6d28afe77e89 (patch)
tree1eab708f6b63d3933b01ea70f8268a7e163be33e /package/mac80211
parent75d1518a84107fdc14d53b2675d64675f369eea9 (diff)
downloadmtk-20170518-9da14e1275ed89868020c3f0e14f6d28afe77e89.zip
mtk-20170518-9da14e1275ed89868020c3f0e14f6d28afe77e89.tar.gz
mtk-20170518-9da14e1275ed89868020c3f0e14f6d28afe77e89.tar.bz2
mac80211: fix rt2800pci, tx ack timeout is now hardcoded
SVN-Revision: 18031
Diffstat (limited to 'package/mac80211')
-rw-r--r--package/mac80211/patches/302-rt2x00-Implement-support-for-rt2800pci.patch5
1 files 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 6b9d282..80ff246 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 <IvDoorn@gmail.com>
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
+ <http://rt2x00.serialmonkey.com>
@@ -720,8 +720,7 @@ Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
+ u32 reg;
+
+ rt2x00pci_register_read(rt2x00dev, TX_TIMEOUT_CFG, &reg);
-+ rt2x00_set_field32(&reg, TX_TIMEOUT_CFG_RX_ACK_TIMEOUT,
-+ DIV_ROUND_UP(erp->ack_timeout, erp->slot_time));
++ rt2x00_set_field32(&reg, TX_TIMEOUT_CFG_RX_ACK_TIMEOUT, 0x20);
+ rt2x00pci_register_write(rt2x00dev, TX_TIMEOUT_CFG, reg);
+
+ rt2x00pci_register_read(rt2x00dev, AUTO_RSP_CFG, &reg);