xref: /freebsd/sys/net80211/ieee80211_hostap.h (revision e7f0d7cf47e83acdfbd3695ba317c9ef7c843669)
1b032f27cSSam Leffler /*-
2b032f27cSSam Leffler  * Copyright (c) 2007-2008 Sam Leffler, Errno Consulting
3b032f27cSSam Leffler  * All rights reserved.
4b032f27cSSam Leffler  *
5b032f27cSSam Leffler  * Redistribution and use in source and binary forms, with or without
6b032f27cSSam Leffler  * modification, are permitted provided that the following conditions
7b032f27cSSam Leffler  * are met:
8b032f27cSSam Leffler  * 1. Redistributions of source code must retain the above copyright
9b032f27cSSam Leffler  *    notice, this list of conditions and the following disclaimer.
10b032f27cSSam Leffler  * 2. Redistributions in binary form must reproduce the above copyright
11b032f27cSSam Leffler  *    notice, this list of conditions and the following disclaimer in the
12b032f27cSSam Leffler  *    documentation and/or other materials provided with the distribution.
13b032f27cSSam Leffler  *
14b032f27cSSam Leffler  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15b032f27cSSam Leffler  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16b032f27cSSam Leffler  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17b032f27cSSam Leffler  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18b032f27cSSam Leffler  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19b032f27cSSam Leffler  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20b032f27cSSam Leffler  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21b032f27cSSam Leffler  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22b032f27cSSam Leffler  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23b032f27cSSam Leffler  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24b032f27cSSam Leffler  *
25b032f27cSSam Leffler  * $FreeBSD$
26b032f27cSSam Leffler  */
27b032f27cSSam Leffler #ifndef _NET80211_IEEE80211_HOSTAP_H_
28b032f27cSSam Leffler #define _NET80211_IEEE80211_HOSTAP_H_
29b032f27cSSam Leffler 
30b032f27cSSam Leffler /*
31b032f27cSSam Leffler  * Hostap implementation definitions.
32b032f27cSSam Leffler  */
33b032f27cSSam Leffler void	ieee80211_hostap_attach(struct ieee80211com *);
34b032f27cSSam Leffler void	ieee80211_hostap_detach(struct ieee80211com *);
35*e7f0d7cfSAdrian Chadd 
36*e7f0d7cfSAdrian Chadd /*
37*e7f0d7cfSAdrian Chadd  * This method can be overridden
38*e7f0d7cfSAdrian Chadd  */
39*e7f0d7cfSAdrian Chadd void ieee80211_recv_pspoll(struct ieee80211_node *, struct mbuf *);
40*e7f0d7cfSAdrian Chadd 
41b032f27cSSam Leffler #endif /* !_NET80211_IEEE80211_HOSTAP_H_ */
42