Deleted Added
full compact
ieee80211_ioctl.h (203556) ieee80211_ioctl.h (223145)
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2009 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:

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 *
1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2009 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:

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

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
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 * $FreeBSD: head/sys/net80211/ieee80211_ioctl.h 203556 2010-02-06 19:24:16Z rpaulo $
26 * $FreeBSD: head/sys/net80211/ieee80211_ioctl.h 223145 2011-06-16 09:37:20Z kevlo $
27 */
28#ifndef _NET80211_IEEE80211_IOCTL_H_
29#define _NET80211_IEEE80211_IOCTL_H_
30
31/*
32 * IEEE 802.11 ioctls.
33 */
34#include <net80211/_ieee80211.h>

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

573/*
574 * FreeBSD-style ioctls.
575 */
576/* the first member must be matched with struct ifreq */
577struct ieee80211req {
578 char i_name[IFNAMSIZ]; /* if_name, e.g. "wi0" */
579 uint16_t i_type; /* req type */
580 int16_t i_val; /* Index or simple value */
27 */
28#ifndef _NET80211_IEEE80211_IOCTL_H_
29#define _NET80211_IEEE80211_IOCTL_H_
30
31/*
32 * IEEE 802.11 ioctls.
33 */
34#include <net80211/_ieee80211.h>

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

573/*
574 * FreeBSD-style ioctls.
575 */
576/* the first member must be matched with struct ifreq */
577struct ieee80211req {
578 char i_name[IFNAMSIZ]; /* if_name, e.g. "wi0" */
579 uint16_t i_type; /* req type */
580 int16_t i_val; /* Index or simple value */
581 int16_t i_len; /* Index or simple value */
581 uint16_t i_len; /* Index or simple value */
582 void *i_data; /* Extra data */
583};
584#define SIOCS80211 _IOW('i', 234, struct ieee80211req)
585#define SIOCG80211 _IOWR('i', 235, struct ieee80211req)
586#define SIOCG80211STATS _IOWR('i', 236, struct ifreq)
587
588#define IEEE80211_IOC_SSID 1
589#define IEEE80211_IOC_NUMSSIDS 2

--- 260 unchanged lines hidden ---
582 void *i_data; /* Extra data */
583};
584#define SIOCS80211 _IOW('i', 234, struct ieee80211req)
585#define SIOCG80211 _IOWR('i', 235, struct ieee80211req)
586#define SIOCG80211STATS _IOWR('i', 236, struct ifreq)
587
588#define IEEE80211_IOC_SSID 1
589#define IEEE80211_IOC_NUMSSIDS 2

--- 260 unchanged lines hidden ---