summaryrefslogtreecommitdiffstats
path: root/package/rt2x00/src/rt2500usb.h
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-07 09:12:49 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-08-07 09:12:49 +0000
commite141a9231dc8a20e7ba6e2dd0b29b4f1082ed094 (patch)
tree704340b18ee1594a3af47d6d525c3473edc42572 /package/rt2x00/src/rt2500usb.h
parent96455c222d2b7bc4033fc43ffd0411684faba4fc (diff)
Upgrade rt2x00 to a more recent snapshot, master mode now working, thanks to Daniel Gimpelevich
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8367 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/rt2x00/src/rt2500usb.h')
-rw-r--r--package/rt2x00/src/rt2500usb.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/package/rt2x00/src/rt2500usb.h b/package/rt2x00/src/rt2500usb.h
index e756d6eb6..814bd0452 100644
--- a/package/rt2x00/src/rt2500usb.h
+++ b/package/rt2x00/src/rt2500usb.h
@@ -38,10 +38,18 @@
#define RF5222 0x0010
/*
- * Max RSSI value, required for RSSI <-> dBm conversion.
+ * RT2570 version
*/
-#define MAX_RX_SSI 120
+#define RT2570_VERSION_B 2
+#define RT2570_VERSION_C 3
+#define RT2570_VERSION_D 4
+
+/*
+ * Signal information.
+ */
+#define MAX_RX_SSI -1
#define MAX_RX_NOISE -110
+#define DEFAULT_RSSI_OFFSET 120
/*
* Register layout information.
@@ -729,9 +737,4 @@
(__txpower)); \
})
-/*
- * Interrupt functions.
- */
-static void rt2500usb_interrupt_rxdone(struct urb *urb);
-
#endif /* RT2500USB_H */