xref: /haiku/src/libs/compat/freebsd_wlan/net80211/ieee80211_adhoc.h (revision 8244a9baad63102214028afbb3b1e2326f4c4cca)
1753c7e08SAugustin Cavalier /*-
2*8244a9baSAugustin Cavalier  * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
3*8244a9baSAugustin Cavalier  *
4753c7e08SAugustin Cavalier  * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
5753c7e08SAugustin Cavalier  * All rights reserved.
6753c7e08SAugustin Cavalier  *
7753c7e08SAugustin Cavalier  * Redistribution and use in source and binary forms, with or without
8753c7e08SAugustin Cavalier  * modification, are permitted provided that the following conditions
9753c7e08SAugustin Cavalier  * are met:
10753c7e08SAugustin Cavalier  * 1. Redistributions of source code must retain the above copyright
11753c7e08SAugustin Cavalier  *    notice, this list of conditions and the following disclaimer.
12753c7e08SAugustin Cavalier  * 2. Redistributions in binary form must reproduce the above copyright
13753c7e08SAugustin Cavalier  *    notice, this list of conditions and the following disclaimer in the
14753c7e08SAugustin Cavalier  *    documentation and/or other materials provided with the distribution.
15753c7e08SAugustin Cavalier  *
16753c7e08SAugustin Cavalier  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17753c7e08SAugustin Cavalier  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18753c7e08SAugustin Cavalier  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19753c7e08SAugustin Cavalier  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20753c7e08SAugustin Cavalier  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21753c7e08SAugustin Cavalier  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22753c7e08SAugustin Cavalier  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23753c7e08SAugustin Cavalier  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24753c7e08SAugustin Cavalier  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25753c7e08SAugustin Cavalier  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26753c7e08SAugustin Cavalier  *
27*8244a9baSAugustin Cavalier  * $FreeBSD: releng/12.0/sys/net80211/ieee80211_adhoc.h 326272 2017-11-27 15:23:17Z pfg $
28753c7e08SAugustin Cavalier  */
29753c7e08SAugustin Cavalier #ifndef _NET80211_IEEE80211_ADHOC_H_
30753c7e08SAugustin Cavalier #define _NET80211_IEEE80211_ADHOC_H_
31753c7e08SAugustin Cavalier 
32753c7e08SAugustin Cavalier /*
33753c7e08SAugustin Cavalier  * Adhoc-mode (ibss+ahdemo) implementation definitions.
34753c7e08SAugustin Cavalier  */
35753c7e08SAugustin Cavalier void	ieee80211_adhoc_attach(struct ieee80211com *);
36753c7e08SAugustin Cavalier void	ieee80211_adhoc_detach(struct ieee80211com *);
37753c7e08SAugustin Cavalier #endif /* !_NET80211_IEEE80211_STA_H_ */
38