Deleted Added
full compact
ieee80211_proto.c (218916) ieee80211_proto.c (218927)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2008 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:

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2008 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:

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

20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */
26
27#include <sys/cdefs.h>
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_proto.c 218916 2011-02-21 15:49:59Z adrian $");
28__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_proto.c 218927 2011-02-21 19:59:43Z bschmidt $");
29
30/*
31 * IEEE 802.11 protocol support.
32 */
33
34#include "opt_inet.h"
35#include "opt_wlan.h"
36

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

59/* XXX tunables */
60#define AGGRESSIVE_MODE_SWITCH_HYSTERESIS 3 /* pkts / 100ms */
61#define HIGH_PRI_SWITCH_THRESH 10 /* pkts / 100ms */
62
63const char *ieee80211_mgt_subtype_name[] = {
64 "assoc_req", "assoc_resp", "reassoc_req", "reassoc_resp",
65 "probe_req", "probe_resp", "reserved#6", "reserved#7",
66 "beacon", "atim", "disassoc", "auth",
29
30/*
31 * IEEE 802.11 protocol support.
32 */
33
34#include "opt_inet.h"
35#include "opt_wlan.h"
36

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

59/* XXX tunables */
60#define AGGRESSIVE_MODE_SWITCH_HYSTERESIS 3 /* pkts / 100ms */
61#define HIGH_PRI_SWITCH_THRESH 10 /* pkts / 100ms */
62
63const char *ieee80211_mgt_subtype_name[] = {
64 "assoc_req", "assoc_resp", "reassoc_req", "reassoc_resp",
65 "probe_req", "probe_resp", "reserved#6", "reserved#7",
66 "beacon", "atim", "disassoc", "auth",
67 "deauth", "action", "reserved#14", "reserved#15"
67 "deauth", "action", "action_noack", "reserved#15"
68};
69const char *ieee80211_ctl_subtype_name[] = {
70 "reserved#0", "reserved#1", "reserved#2", "reserved#3",
71 "reserved#3", "reserved#5", "reserved#6", "reserved#7",
72 "reserved#8", "reserved#9", "ps_poll", "rts",
73 "cts", "ack", "cf_end", "cf_end_ack"
74};
75const char *ieee80211_opmode_name[IEEE80211_OPMODE_MAX] = {

--- 1829 unchanged lines hidden ---
68};
69const char *ieee80211_ctl_subtype_name[] = {
70 "reserved#0", "reserved#1", "reserved#2", "reserved#3",
71 "reserved#3", "reserved#5", "reserved#6", "reserved#7",
72 "reserved#8", "reserved#9", "ps_poll", "rts",
73 "cts", "ack", "cf_end", "cf_end_ack"
74};
75const char *ieee80211_opmode_name[IEEE80211_OPMODE_MAX] = {

--- 1829 unchanged lines hidden ---