Deleted Added
full compact
ieee80211_freebsd.c (151967) ieee80211_freebsd.c (153349)
1/*-
2 * Copyright (c) 2003-2005 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 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2003-2005 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 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27
28#include <sys/cdefs.h>
29__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_freebsd.c 151967 2005-11-02 13:46:32Z andre $");
29__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_freebsd.c 153349 2005-12-12 18:04:44Z sam $");
30
31/*
32 * IEEE 802.11 support (FreeBSD-specific code)
33 */
34#include <sys/param.h>
35#include <sys/kernel.h>
36#include <sys/systm.h>
37#include <sys/linker.h>

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

121 "station authentication timeout (sec)");
122 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
123 "inact_init", CTLTYPE_INT | CTLFLAG_RW, &ic->ic_inact_init, 0,
124 ieee80211_sysctl_inact, "I",
125 "station initial state timeout (sec)");
126 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
127 "driver_caps", CTLFLAG_RW, &ic->ic_caps, 0,
128 "driver capabilities");
30
31/*
32 * IEEE 802.11 support (FreeBSD-specific code)
33 */
34#include <sys/param.h>
35#include <sys/kernel.h>
36#include <sys/systm.h>
37#include <sys/linker.h>

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

121 "station authentication timeout (sec)");
122 SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
123 "inact_init", CTLTYPE_INT | CTLFLAG_RW, &ic->ic_inact_init, 0,
124 ieee80211_sysctl_inact, "I",
125 "station initial state timeout (sec)");
126 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
127 "driver_caps", CTLFLAG_RW, &ic->ic_caps, 0,
128 "driver capabilities");
129 SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(oid), OID_AUTO,
130 "bmiss_max", CTLFLAG_RW, &ic->ic_bmiss_max, 0,
131 "consecutive beacon misses before scanning");
129 ic->ic_sysctl = ctx;
130}
131
132void
133ieee80211_sysctl_detach(struct ieee80211com *ic)
134{
135
136 if (ic->ic_sysctl != NULL) {

--- 213 unchanged lines hidden ---
132 ic->ic_sysctl = ctx;
133}
134
135void
136ieee80211_sysctl_detach(struct ieee80211com *ic)
137{
138
139 if (ic->ic_sysctl != NULL) {

--- 213 unchanged lines hidden ---