ieee80211_freebsd.h (282406) | ieee80211_freebsd.h (283538) |
---|---|
1/*- 2 * Copyright (c) 2003-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * | 1/*- 2 * Copyright (c) 2003-2008 Sam Leffler, Errno Consulting 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * |
25 * $FreeBSD: head/sys/net80211/ieee80211_freebsd.h 282406 2015-05-04 00:47:22Z adrian $ | 25 * $FreeBSD: head/sys/net80211/ieee80211_freebsd.h 283538 2015-05-25 19:18:16Z adrian $ |
26 */ 27#ifndef _NET80211_IEEE80211_FREEBSD_H_ 28#define _NET80211_IEEE80211_FREEBSD_H_ 29 30#ifdef _KERNEL 31#include <sys/param.h> 32#include <sys/lock.h> 33#include <sys/mutex.h> --- 557 unchanged lines hidden (view full) --- 591 uint8_t ibp_ctsrate; /* IEEE tx rate for CTS */ 592 uint8_t ibp_try1; /* series 2 try count */ 593 uint8_t ibp_rate1; /* series 2 IEEE tx rate */ 594 uint8_t ibp_try2; /* series 3 try count */ 595 uint8_t ibp_rate2; /* series 3 IEEE tx rate */ 596 uint8_t ibp_try3; /* series 4 try count */ 597 uint8_t ibp_rate3; /* series 4 IEEE tx rate */ 598}; | 26 */ 27#ifndef _NET80211_IEEE80211_FREEBSD_H_ 28#define _NET80211_IEEE80211_FREEBSD_H_ 29 30#ifdef _KERNEL 31#include <sys/param.h> 32#include <sys/lock.h> 33#include <sys/mutex.h> --- 557 unchanged lines hidden (view full) --- 591 uint8_t ibp_ctsrate; /* IEEE tx rate for CTS */ 592 uint8_t ibp_try1; /* series 2 try count */ 593 uint8_t ibp_rate1; /* series 2 IEEE tx rate */ 594 uint8_t ibp_try2; /* series 3 try count */ 595 uint8_t ibp_rate2; /* series 3 IEEE tx rate */ 596 uint8_t ibp_try3; /* series 4 try count */ 597 uint8_t ibp_rate3; /* series 4 IEEE tx rate */ 598}; |
599 600/* 601 * Malloc API. Other BSD operating systems have slightly 602 * different malloc/free namings (eg DragonflyBSD.) 603 */ 604#define IEEE80211_MALLOC malloc 605#define IEEE80211_FREE free 606 607/* XXX TODO: get rid of WAITOK, fix all the users of it? */ 608#define IEEE80211_M_NOWAIT M_NOWAIT 609#define IEEE80211_M_WAITOK M_WAITOK 610#define IEEE80211_M_ZERO M_ZERO 611 612/* XXX TODO: the type fields */ 613 |
|
599#endif /* _NET80211_IEEE80211_FREEBSD_H_ */ | 614#endif /* _NET80211_IEEE80211_FREEBSD_H_ */ |