Deleted Added
full compact
ieee80211_ddb.c (189106) ieee80211_ddb.c (190526)
1/*-
2 * Copyright (c) 2007-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

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

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
26#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2007-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

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

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
26#include <sys/cdefs.h>
27__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_ddb.c 189106 2009-02-27 14:12:05Z bz $");
27__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_ddb.c 190526 2009-03-29 17:59:14Z sam $");
28
29#include "opt_ddb.h"
30#include "opt_route.h"
31#include "opt_wlan.h"
32
33#ifdef DDB
34/*
35 * IEEE 802.11 DDB support

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

440 db_printf("\tifp %p", ic->ic_ifp);
441 db_printf(" comlock %p", &ic->ic_comlock);
442 db_printf("\n");
443 db_printf("\theadroom %d", ic->ic_headroom);
444 db_printf(" phytype %d", ic->ic_phytype);
445 db_printf(" opmode %s", ieee80211_opmode_name[ic->ic_opmode]);
446 db_printf("\n");
447 db_printf("\tmedia %p", &ic->ic_media);
28
29#include "opt_ddb.h"
30#include "opt_route.h"
31#include "opt_wlan.h"
32
33#ifdef DDB
34/*
35 * IEEE 802.11 DDB support

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

440 db_printf("\tifp %p", ic->ic_ifp);
441 db_printf(" comlock %p", &ic->ic_comlock);
442 db_printf("\n");
443 db_printf("\theadroom %d", ic->ic_headroom);
444 db_printf(" phytype %d", ic->ic_phytype);
445 db_printf(" opmode %s", ieee80211_opmode_name[ic->ic_opmode]);
446 db_printf("\n");
447 db_printf("\tmedia %p", &ic->ic_media);
448 db_printf(" myaddr %s", ether_sprintf(ic->ic_myaddr));
449 db_printf(" inact %p", &ic->ic_inact);
450 db_printf("\n");
451
452 db_printf("\tflags=%b\n", ic->ic_flags, IEEE80211_F_BITS);
453 db_printf("\tflags_ext=%b\n", ic->ic_flags_ext, IEEE80211_FEXT_BITS);
454 db_printf("\tflags_ven=%b\n", ic->ic_flags_ven, IEEE80211_FVEN_BITS);
455 db_printf("\tcaps=%b\n", ic->ic_caps, IEEE80211_C_BITS);
456 db_printf("\tcryptocaps=%b\n",

--- 313 unchanged lines hidden ---
448 db_printf(" inact %p", &ic->ic_inact);
449 db_printf("\n");
450
451 db_printf("\tflags=%b\n", ic->ic_flags, IEEE80211_F_BITS);
452 db_printf("\tflags_ext=%b\n", ic->ic_flags_ext, IEEE80211_FEXT_BITS);
453 db_printf("\tflags_ven=%b\n", ic->ic_flags_ven, IEEE80211_FVEN_BITS);
454 db_printf("\tcaps=%b\n", ic->ic_caps, IEEE80211_C_BITS);
455 db_printf("\tcryptocaps=%b\n",

--- 313 unchanged lines hidden ---