diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-08-07 09:12:49 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-08-07 09:12:49 +0000 |
commit | 195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d (patch) | |
tree | 881f2e1921a80a5701421cc99477c3592962a15f /package/rt2x00/src/rt2500usb.h | |
parent | ce173e209444843060cc64cc22b5c7f612a9bf54 (diff) | |
download | upstream-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.gz upstream-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.tar.bz2 upstream-195c4d9a3deacb973e7dc5d55f028ea9ed7c6d7d.zip |
Upgrade rt2x00 to a more recent snapshot, master mode now working, thanks to Daniel Gimpelevich
SVN-Revision: 8367
Diffstat (limited to 'package/rt2x00/src/rt2500usb.h')
-rw-r--r-- | package/rt2x00/src/rt2500usb.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/package/rt2x00/src/rt2500usb.h b/package/rt2x00/src/rt2500usb.h index e756d6eb6e..814bd0452e 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 */ |