Annotation of sys/dev/ic/rln.h, Revision 1.1
1.1 ! nbrk 1: /* $OpenBSD: rln.h,v 1.1 1999/07/30 13:43:36 d Exp $ */
! 2: /*
! 3: * David Leonard <d@openbsd.org>, 1999. Public domain.
! 4: *
! 5: * Proxim RangeLAN2 parameters.
! 6: */
! 7:
! 8: /*
! 9: * Eventually, there should be a way of getting and setting these
! 10: * from user space. Ideally, via ioctl().
! 11: */
! 12:
! 13: /* User-configurable station parameters. */
! 14: struct rln_param {
! 15: u_int32_t rp_security; /* Security ID */
! 16: #define RLN_SECURITY_DEFAULT 0x0010203
! 17: u_int8_t rp_station_type; /* Station type */
! 18: #define RLN_STATIONTYPE_SLAVE 0
! 19: #define RLN_STATIONTYPE_ALTMASTER 1
! 20: #define RLN_STATIONTYPE_MASTER 2
! 21: u_int8_t rp_domain; /* Network domain */
! 22: u_int8_t rp_channel; /* Phys channel when master */
! 23: u_int8_t rp_subchannel; /* Logical master subchannel */
! 24: char rp_master[11]; /* Name when master */
! 25: u_int8_t rp_mac_optimize;
! 26: #define RLN_MAC_OPTIM_LIGHT 0
! 27: #define RLN_MAC_OPTIM_NORMAL 1
! 28: u_int8_t rp_roam_config; /* Roaming speed */
! 29: #define RLN_ROAM_SLOW 0
! 30: #define RLN_ROAM_NORMAL 1
! 31: #define RLN_ROAM_FAST 2
! 32: u_int8_t rp_peer_to_peer; /* Ability to talk to peers */
! 33: };
! 34:
! 35: #ifdef notyet
! 36: #define RLNIOSPARAM _IOW('2', 1, struct rln_param) /* set params */
! 37: #define RLNIOGPARAM _IOR('2', 2, struct rln_param) /* get params */
! 38: #endif
! 39:
CVSweb