X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/060c85b4cbcec4bd77bf5485c6bbc7539aecb62b..ebe4d354283f45ba15f83d080e8a93a46ee29a9e:/package/rt2x00/src/rt2500usb.h 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 */