diff options
author | proski <proski> | 2006-08-07 02:35:55 +0000 |
---|---|---|
committer | proski <proski> | 2006-08-07 02:35:55 +0000 |
commit | 4ab42f90102b14ba0925dcca053f1b75fdfd6331 (patch) | |
tree | 73ae2abdcc8e62b58fd6475456a87c6c55347a95 | |
parent | 984e26a9b51d7a3514a612b4f4e636a27eabeb33 (diff) |
Fix compatibility defines for old wireless extensionsversion_0_14beta1
-rw-r--r-- | at76c503.c | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -48,15 +48,18 @@ #include "at76c503.h" -#if WIRELESS_EXT < 20 -#define IW_QUAL_QUAL_UPDATED 0x01 /* Value was updated since last read */ +#if WIRELESS_EXT < 17 +#define IW_QUAL_QUAL_UPDATED 0x01 #define IW_QUAL_LEVEL_UPDATED 0x02 #define IW_QUAL_NOISE_UPDATED 0x04 -#define IW_QUAL_ALL_UPDATED 0x07 -#define IW_QUAL_DBM 0x08 /* Level + Noise are dBm */ -#define IW_QUAL_QUAL_INVALID 0x10 /* Driver doesn't provide value */ +#define IW_QUAL_QUAL_INVALID 0x10 #define IW_QUAL_LEVEL_INVALID 0x20 #define IW_QUAL_NOISE_INVALID 0x40 +#endif + +#if WIRELESS_EXT < 19 +#define IW_QUAL_ALL_UPDATED 0x07 +#define IW_QUAL_DBM 0x08 #define IW_QUAL_ALL_INVALID 0x70 #endif |