diff options
author | sam <sam@FreeBSD.org> | 2007-09-05 21:25:58 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2007-09-05 21:25:58 +0000 |
commit | fd6b073d62a4ab2b7f54272df8821d91edb0465c (patch) | |
tree | 65586fb401a5f5362ea3996701e7894329da5e3d | |
parent | 8550799f32251b171ad318dfac1bdf8dded2bcc1 (diff) | |
download | FreeBSD-src-fd6b073d62a4ab2b7f54272df8821d91edb0465c.zip FreeBSD-src-fd6b073d62a4ab2b7f54272df8821d91edb0465c.tar.gz |
add defs just removed from ieee80211.h
Approved by: re (blanket wireless)
-rw-r--r-- | sys/dev/ray/if_ray.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/dev/ray/if_ray.c b/sys/dev/ray/if_ray.c index 1477c84..0742c7c 100644 --- a/sys/dev/ray/if_ray.c +++ b/sys/dev/ray/if_ray.c @@ -275,6 +275,16 @@ __FBSDID("$FreeBSD$"); #include <dev/ray/if_raydbg.h> #include <dev/ray/if_rayvar.h> +typedef uint8_t *ieee80211_mgt_beacon_t; +typedef uint8_t *ieee80211_mgt_auth_t; + +#define IEEE80211_AUTH_ALGORITHM(auth) \ + ((auth)[0] | ((auth)[1] << 8)) +#define IEEE80211_AUTH_TRANSACTION(auth) \ + ((auth)[2] | ((auth)[3] << 8)) +#define IEEE80211_AUTH_STATUS(auth) \ + ((auth)[4] | ((auth)[5] << 8)) + static MALLOC_DEFINE(M_RAYCOM, "raycom", "Raylink command queue entry"); /* * Prototyping |