Deleted Added
sdiff udiff text old ( 167242 ) new ( 167441 )
full compact
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 15 unchanged lines hidden (view full) ---

24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/net80211/ieee80211_var.h 167242 2007-03-05 18:52:35Z sam $
33 */
34#ifndef _NET80211_IEEE80211_VAR_H_
35#define _NET80211_IEEE80211_VAR_H_
36
37/*
38 * Definitions for IEEE 802.11 drivers.
39 */
40#define IEEE80211_DEBUG

--- 373 unchanged lines hidden (view full) ---

414#define ieee80211_msg_dumpradius(_ic) \
415 ((_ic)->ic_debug & IEEE80211_MSG_RADDUMP)
416#define ieee80211_msg_dumpradkeys(_ic) \
417 ((_ic)->ic_debug & IEEE80211_MSG_RADKEYS)
418#define ieee80211_msg_scan(_ic) \
419 ((_ic)->ic_debug & IEEE80211_MSG_SCAN)
420#define ieee80211_msg_assoc(_ic) \
421 ((_ic)->ic_debug & IEEE80211_MSG_ASSOC)
422#else
423#define IEEE80211_DPRINTF(_ic, _m, _fmt, ...)
424#define IEEE80211_NOTE_FRAME(_ic, _m, _wh, _fmt, ...)
425#define IEEE80211_NOTE_MAC(_ic, _m, _mac, _fmt, ...)
426#define ieee80211_msg_dumppkts(_ic) 0
427#define ieee80211_msg(_ic, _m) 0
428#endif
429
430#endif /* _NET80211_IEEE80211_VAR_H_ */