diff options
author | dmlb <dmlb@FreeBSD.org> | 2000-03-31 20:13:03 +0000 |
---|---|---|
committer | dmlb <dmlb@FreeBSD.org> | 2000-03-31 20:13:03 +0000 |
commit | 34ac70fb1ff46ebc0730cdcacb2438aabe91bcd2 (patch) | |
tree | 5220166f3a2c4ccd8d19ef1aa14979de991dbe29 | |
parent | ad959eace7ec60722b97205345487090696014f6 (diff) | |
download | FreeBSD-src-34ac70fb1ff46ebc0730cdcacb2438aabe91bcd2.zip FreeBSD-src-34ac70fb1ff46ebc0730cdcacb2438aabe91bcd2.tar.gz |
Add signal strength cache structures.
-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 8906181..8643315 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 |