Deleted Added
full compact
ieee80211_tdma.c (226296) ieee80211_tdma.c (230153)
1/*-
2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting
3 * Copyright (c) 2007-2009 Intel Corporation
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:

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

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#ifdef __FreeBSD__
1/*-
2 * Copyright (c) 2007-2009 Sam Leffler, Errno Consulting
3 * Copyright (c) 2007-2009 Intel Corporation
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:

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

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#ifdef __FreeBSD__
29__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_tdma.c 226296 2011-10-12 10:19:55Z adrian $");
29__FBSDID("$FreeBSD: head/sys/net80211/ieee80211_tdma.c 230153 2012-01-15 19:45:23Z adrian $");
30#endif
31
32/*
33 * IEEE 802.11 TDMA mode support.
34 */
35#include "opt_inet.h"
36#include "opt_tdma.h"
37#include "opt_wlan.h"
38
30#endif
31
32/*
33 * IEEE 802.11 TDMA mode support.
34 */
35#include "opt_inet.h"
36#include "opt_tdma.h"
37#include "opt_wlan.h"
38
39#ifdef IEEE80211_SUPPORT_TDMA
40
39#include <sys/param.h>
40#include <sys/systm.h>
41#include <sys/mbuf.h>
42#include <sys/malloc.h>
43#include <sys/kernel.h>
44
45#include <sys/socket.h>
46#include <sys/sockio.h>

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

815 return ENOSYS;
816 }
817 return 0;
818restart:
819 ieee80211_beacon_notify(vap, IEEE80211_BEACON_TDMA);
820 return ERESTART;
821}
822IEEE80211_IOCTL_SET(tdma, tdma_ioctl_set80211);
41#include <sys/param.h>
42#include <sys/systm.h>
43#include <sys/mbuf.h>
44#include <sys/malloc.h>
45#include <sys/kernel.h>
46
47#include <sys/socket.h>
48#include <sys/sockio.h>

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

817 return ENOSYS;
818 }
819 return 0;
820restart:
821 ieee80211_beacon_notify(vap, IEEE80211_BEACON_TDMA);
822 return ERESTART;
823}
824IEEE80211_IOCTL_SET(tdma, tdma_ioctl_set80211);
825
826#endif /* IEEE80211_SUPPORT_TDMA */