summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-02-08 10:22:43 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-02-08 10:22:43 +0000
commit6f1b4b4e437f4a26894df683f78753ce3f6820f5 (patch)
treec78ef4d3b3be4784f906f3d558b4da749b5df489 /package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch
parent64ba52d3a1339ad35e643b6cc36e3f8e1cf14caa (diff)
downloadmtk-20170518-6f1b4b4e437f4a26894df683f78753ce3f6820f5.zip
mtk-20170518-6f1b4b4e437f4a26894df683f78753ce3f6820f5.tar.gz
mtk-20170518-6f1b4b4e437f4a26894df683f78753ce3f6820f5.tar.bz2
mac80211: add rt2800 patches from the rt2x00 git rope
SVN-Revision: 14435
Diffstat (limited to 'package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch')
-rw-r--r--package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch b/package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch
new file mode 100644
index 0000000..0a4f4da
--- /dev/null
+++ b/package/mac80211/patches/307-rt2x00-Clean-header-rt2800usb.patch
@@ -0,0 +1,30 @@
+From 620724c1db862bbb09824855a19a8d1836752be2 Mon Sep 17 00:00:00 2001
+From: Ivo van Doorn <IvDoorn@gmail.com>
+Date: Thu, 5 Feb 2009 22:44:30 +0100
+Subject: [PATCH] rt2x00: Clean header (rt2800usb)
+
+Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
+---
+ drivers/net/wireless/rt2x00/rt2800usb.h | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+--- a/drivers/net/wireless/rt2x00/rt2800usb.h
++++ b/drivers/net/wireless/rt2x00/rt2800usb.h
+@@ -1213,7 +1213,7 @@
+ * TX_STA_FIFO: TX Result for specific PID status fifo register
+ */
+ #define TX_STA_FIFO 0x1718
+-#define TX_STA_FIFO_B_VALID FIELD32(0x00000001)
++#define TX_STA_FIFO_VALID FIELD32(0x00000001)
+ #define TX_STA_FIFO_PID_TYPE FIELD32(0x0000001e)
+ #define TX_STA_FIFO_TX_SUCCESS FIELD32(0x00000020)
+ #define TX_STA_FIFO_TX_AGGRE FIELD32(0x00000040)
+@@ -1436,7 +1436,7 @@ struct mac_iveiv_entry {
+ /*
+ * HW_BEACON_BASE
+ * In order to support maximum 8 MBSS and its maximum length
+- * is 512 bytes for each beacon
++ * is 512 bytes for each beacon
+ * Three section discontinue memory segments will be used.
+ * 1. The original region for BCN 0~3
+ * 2. Extract memory from FCE table for BCN 4~5