openwrt: honour gcc extra configuration flags
[openwrt.git] / package / rt2x00 / src / rt2500usb.h
index e756d6e..814bd04 100644 (file)
 #define RF5222                         0x0010
 
 /*
 #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 MAX_RX_NOISE                   -110
+#define DEFAULT_RSSI_OFFSET            120
 
 /*
  * Register layout information.
 
 /*
  * Register layout information.
        (__txpower));                                   \
 })
 
        (__txpower));                                   \
 })
 
-/*
- * Interrupt functions.
- */
-static void rt2500usb_interrupt_rxdone(struct urb *urb);
-
 #endif /* RT2500USB_H */
 #endif /* RT2500USB_H */
This page took 0.025249 seconds and 4 git commands to generate.