diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-06-27 09:48:03 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2006-06-27 09:48:03 +0000 |
commit | 97bd295e6618bcd4b720143d30c5f2235d070c89 (patch) | |
tree | af57079b7a5ed295c20071bd682a0e699dd450d7 /sys/dev/ic/if_wi_ieee.h | |
parent | 1da690cdd04505eb2ceb359438f1e44b21fa89e9 (diff) |
add some more net80211 compatibility glue:
- support scanning and node listing ("ifconfig -M"). this will replace
wicontrol -L in station mode and wicontrol -l in hostap mode.
- allow to print the BSSID
tested by quite a few people
ok jsg@
Diffstat (limited to 'sys/dev/ic/if_wi_ieee.h')
-rw-r--r-- | sys/dev/ic/if_wi_ieee.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/ic/if_wi_ieee.h b/sys/dev/ic/if_wi_ieee.h index 1a7601de36d..aa084f199fa 100644 --- a/sys/dev/ic/if_wi_ieee.h +++ b/sys/dev/ic/if_wi_ieee.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_ieee.h,v 1.27 2005/12/13 10:30:35 jsg Exp $ */ +/* $OpenBSD: if_wi_ieee.h,v 1.28 2006/06/27 09:48:02 reyk Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -665,7 +665,14 @@ struct wi_scan_res { u_int8_t wi_rate; u_int8_t wi_rsvd; }; +#define WI_WAVELAN_RES_1M 0x0a +#define WI_WAVELAN_RES_2M 0x14 +#define WI_WAVELAN_RES_5M 0x37 +#define WI_WAVELAN_RES_11M 0x6e + #define WI_WAVELAN_RES_SIZE 50 +#define WI_WAVELAN_RES_TIMEOUT ((hz / 10) * 2) /* 200ms */ +#define WI_WAVELAN_RES_TRIES 100 struct wi_scan_p2_hdr { u_int16_t wi_rsvd; @@ -673,7 +680,6 @@ struct wi_scan_p2_hdr { }; #define WI_PRISM2_RES_SIZE 62 - /* * prism2 debug mode definitions */ |