diff options
author | Duncan Barclay <dmlb@FreeBSD.org> | 2000-03-31 20:13:03 +0000 |
---|---|---|
committer | Duncan Barclay <dmlb@FreeBSD.org> | 2000-03-31 20:13:03 +0000 |
commit | 22962767d5ada507003addced04674a8b010bd7f (patch) | |
tree | 29cc3ddea7815895d16919d19b3e456e56573599 /sys/dev/ray | |
parent | 5d42d35e02be94936e69a8e38060782c8ba28f58 (diff) | |
download | src-test-22962767d5ada507003addced04674a8b010bd7f.tar.gz src-test-22962767d5ada507003addced04674a8b010bd7f.zip |
Notes
Diffstat (limited to 'sys/dev/ray')
-rw-r--r-- | sys/dev/ray/if_raymib.h | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/sys/dev/ray/if_raymib.h b/sys/dev/ray/if_raymib.h index 8906181053b65..86433157dce2d 100644 --- a/sys/dev/ray/if_raymib.h +++ b/sys/dev/ray/if_raymib.h @@ -28,7 +28,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_raymib.h,v 1.1 2000/02/27 19:47:06 dmlb Exp $ + * $Id: if_raymib.h,v 1.3 2000/03/21 14:27:46 dmlb Exp $ * */ @@ -169,7 +169,19 @@ struct ray_stats_req { #define SIOCSRAYPARAM SIOCSIFGENERIC #define SIOCGRAYPARAM SIOCGIFGENERIC /* Get the error counters the data is a ray_stats_req structure */ -#define SIOCGRAYSTATS _IOWR('i', 59, struct ifreq) +#define SIOCGRAYSTATS _IOWR('i', 201, struct ifreq) +#define SIOCGRAYSIGLEV _IOWR('i', 202, struct ifreq) + +#define RAY_NSIGLEVRECS 8 +#define RAY_NSIGLEV 8 +#define RAY_NANTENNA 8 + +struct ray_siglev { + u_int8_t rsl_host[ETHER_ADDR_LEN]; /* MAC address */ + u_int8_t rsl_siglevs[RAY_NSIGLEV]; /* levels, newest in [0] */ + u_int8_t rsl_antennas[RAY_NANTENNA]; /* best antenna */ + struct timeval rsl_time; /* time of last packet */ +}; /* * MIB IDs for the update/report param commands |