Deleted Added
full compact
wlandebug.c (186904) wlandebug.c (195746)
1/*-
2 * Copyright (c) 2002-2009 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

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
1/*-
2 * Copyright (c) 2002-2009 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

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

21 * THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY,
22 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
25 * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 * THE POSSIBILITY OF SUCH DAMAGES.
28 *
29 * $FreeBSD: head/usr.sbin/wlandebug/wlandebug.c 186904 2009-01-08 17:12:47Z sam $
29 * $FreeBSD: head/usr.sbin/wlandebug/wlandebug.c 195746 2009-07-17 21:11:08Z sam $
30 */
31
32/*
33 * wlandebug [-i interface] flags
34 * (default interface is wlan.0).
35 */
36#include <sys/types.h>
37#include <sys/sysctl.h>

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

56#define IEEE80211_MSG_ELEMID 0x02000000 /* element id parsing */
57#define IEEE80211_MSG_NODE 0x01000000 /* node handling */
58#define IEEE80211_MSG_ASSOC 0x00800000 /* association handling */
59#define IEEE80211_MSG_AUTH 0x00400000 /* authentication handling */
60#define IEEE80211_MSG_SCAN 0x00200000 /* scanning */
61#define IEEE80211_MSG_OUTPUT 0x00100000 /* output handling */
62#define IEEE80211_MSG_STATE 0x00080000 /* state machine */
63#define IEEE80211_MSG_POWER 0x00040000 /* power save handling */
30 */
31
32/*
33 * wlandebug [-i interface] flags
34 * (default interface is wlan.0).
35 */
36#include <sys/types.h>
37#include <sys/sysctl.h>

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

56#define IEEE80211_MSG_ELEMID 0x02000000 /* element id parsing */
57#define IEEE80211_MSG_NODE 0x01000000 /* node handling */
58#define IEEE80211_MSG_ASSOC 0x00800000 /* association handling */
59#define IEEE80211_MSG_AUTH 0x00400000 /* authentication handling */
60#define IEEE80211_MSG_SCAN 0x00200000 /* scanning */
61#define IEEE80211_MSG_OUTPUT 0x00100000 /* output handling */
62#define IEEE80211_MSG_STATE 0x00080000 /* state machine */
63#define IEEE80211_MSG_POWER 0x00040000 /* power save handling */
64#define IEEE80211_MSG_DOT1X 0x00020000 /* 802.1x authenticator */
64#define IEEE80211_MSG_HWMP 0x00020000 /* hybrid mesh protocol */
65#define IEEE80211_MSG_DOT1XSM 0x00010000 /* 802.1x state machine */
66#define IEEE80211_MSG_RADIUS 0x00008000 /* 802.1x radius client */
67#define IEEE80211_MSG_RADDUMP 0x00004000 /* dump 802.1x radius packets */
65#define IEEE80211_MSG_DOT1XSM 0x00010000 /* 802.1x state machine */
66#define IEEE80211_MSG_RADIUS 0x00008000 /* 802.1x radius client */
67#define IEEE80211_MSG_RADDUMP 0x00004000 /* dump 802.1x radius packets */
68#define IEEE80211_MSG_RADKEYS 0x00002000 /* dump 802.1x keys */
68#define IEEE80211_MSG_MESH 0x00002000 /* mesh networking */
69#define IEEE80211_MSG_WPA 0x00001000 /* WPA/RSN protocol */
70#define IEEE80211_MSG_ACL 0x00000800 /* ACL handling */
71#define IEEE80211_MSG_WME 0x00000400 /* WME protocol */
72#define IEEE80211_MSG_SUPERG 0x00000200 /* Atheros SuperG protocol */
73#define IEEE80211_MSG_DOTH 0x00000100 /* 802.11h support */
74#define IEEE80211_MSG_INACT 0x00000080 /* inactivity handling */
75#define IEEE80211_MSG_ROAM 0x00000040 /* sta-mode roaming */
76#define IEEE80211_MSG_RATECTL 0x00000020 /* tx rate control */

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

92 { "elemid", IEEE80211_MSG_ELEMID },
93 { "node", IEEE80211_MSG_NODE },
94 { "assoc", IEEE80211_MSG_ASSOC },
95 { "auth", IEEE80211_MSG_AUTH },
96 { "scan", IEEE80211_MSG_SCAN },
97 { "output", IEEE80211_MSG_OUTPUT },
98 { "state", IEEE80211_MSG_STATE },
99 { "power", IEEE80211_MSG_POWER },
69#define IEEE80211_MSG_WPA 0x00001000 /* WPA/RSN protocol */
70#define IEEE80211_MSG_ACL 0x00000800 /* ACL handling */
71#define IEEE80211_MSG_WME 0x00000400 /* WME protocol */
72#define IEEE80211_MSG_SUPERG 0x00000200 /* Atheros SuperG protocol */
73#define IEEE80211_MSG_DOTH 0x00000100 /* 802.11h support */
74#define IEEE80211_MSG_INACT 0x00000080 /* inactivity handling */
75#define IEEE80211_MSG_ROAM 0x00000040 /* sta-mode roaming */
76#define IEEE80211_MSG_RATECTL 0x00000020 /* tx rate control */

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

92 { "elemid", IEEE80211_MSG_ELEMID },
93 { "node", IEEE80211_MSG_NODE },
94 { "assoc", IEEE80211_MSG_ASSOC },
95 { "auth", IEEE80211_MSG_AUTH },
96 { "scan", IEEE80211_MSG_SCAN },
97 { "output", IEEE80211_MSG_OUTPUT },
98 { "state", IEEE80211_MSG_STATE },
99 { "power", IEEE80211_MSG_POWER },
100 { "dot1x", IEEE80211_MSG_DOT1X },
100 { "hwmp", IEEE80211_MSG_HWMP },
101 { "dot1xsm", IEEE80211_MSG_DOT1XSM },
102 { "radius", IEEE80211_MSG_RADIUS },
103 { "raddump", IEEE80211_MSG_RADDUMP },
101 { "dot1xsm", IEEE80211_MSG_DOT1XSM },
102 { "radius", IEEE80211_MSG_RADIUS },
103 { "raddump", IEEE80211_MSG_RADDUMP },
104 { "radkeys", IEEE80211_MSG_RADKEYS },
104 { "mesh", IEEE80211_MSG_MESH },
105 { "wpa", IEEE80211_MSG_WPA },
106 { "acl", IEEE80211_MSG_ACL },
107 { "wme", IEEE80211_MSG_WME },
108 { "superg", IEEE80211_MSG_SUPERG },
109 { "doth", IEEE80211_MSG_DOTH },
110 { "inact", IEEE80211_MSG_INACT },
111 { "roam", IEEE80211_MSG_ROAM },
112 { "rate", IEEE80211_MSG_RATECTL },

--- 131 unchanged lines hidden ---
105 { "wpa", IEEE80211_MSG_WPA },
106 { "acl", IEEE80211_MSG_ACL },
107 { "wme", IEEE80211_MSG_WME },
108 { "superg", IEEE80211_MSG_SUPERG },
109 { "doth", IEEE80211_MSG_DOTH },
110 { "inact", IEEE80211_MSG_INACT },
111 { "roam", IEEE80211_MSG_ROAM },
112 { "rate", IEEE80211_MSG_RATECTL },

--- 131 unchanged lines hidden ---