1/*-
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 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:
--- 15 unchanged lines hidden (view full) ---
24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/net80211/ieee80211_proto.h 160690 2006-07-26 03:15:16Z sam $
33 */
34#ifndef _NET80211_IEEE80211_PROTO_H_
35#define _NET80211_IEEE80211_PROTO_H_
36
37/*
38 * 802.11 protocol implementation definitions.
39 */
40
--- 18 unchanged lines hidden (view full) ---
59struct ieee80211_node;
60int ieee80211_input(struct ieee80211com *, struct mbuf *,
61 struct ieee80211_node *, int, u_int32_t);
62int ieee80211_setup_rates(struct ieee80211_node *ni,
63 const u_int8_t *rates, const u_int8_t *xrates, int flags);
64void ieee80211_saveie(u_int8_t **, const u_int8_t *);
65void ieee80211_recv_mgmt(struct ieee80211com *, struct mbuf *,
66 struct ieee80211_node *, int, int, u_int32_t);
67struct ieee80211_bpf_params;
68int ieee80211_raw_xmit(struct ieee80211_node *, struct mbuf *,
69 const struct ieee80211_bpf_params *);
70int ieee80211_output(struct ifnet *, struct mbuf *,
71 struct sockaddr *, struct rtentry *);
72int ieee80211_send_nulldata(struct ieee80211_node *);
73int ieee80211_send_probereq(struct ieee80211_node *ni,
74 const u_int8_t sa[IEEE80211_ADDR_LEN],
75 const u_int8_t da[IEEE80211_ADDR_LEN],
76 const u_int8_t bssid[IEEE80211_ADDR_LEN],
77 const u_int8_t *ssid, size_t ssidlen,
78 const void *optie, size_t optielen);
79int ieee80211_send_mgmt(struct ieee80211com *, struct ieee80211_node *,
--- 184 unchanged lines hidden ---
2 * Copyright (c) 2001 Atsushi Onoe
3 * Copyright (c) 2002-2005 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:
--- 15 unchanged lines hidden (view full) ---
24 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
25 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
26 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 *
32 * $FreeBSD: head/sys/net80211/ieee80211_proto.h 160690 2006-07-26 03:15:16Z sam $
33 */
34#ifndef _NET80211_IEEE80211_PROTO_H_
35#define _NET80211_IEEE80211_PROTO_H_
36
37/*
38 * 802.11 protocol implementation definitions.
39 */
40
--- 18 unchanged lines hidden (view full) ---
59struct ieee80211_node;
60int ieee80211_input(struct ieee80211com *, struct mbuf *,
61 struct ieee80211_node *, int, u_int32_t);
62int ieee80211_setup_rates(struct ieee80211_node *ni,
63 const u_int8_t *rates, const u_int8_t *xrates, int flags);
64void ieee80211_saveie(u_int8_t **, const u_int8_t *);
65void ieee80211_recv_mgmt(struct ieee80211com *, struct mbuf *,
66 struct ieee80211_node *, int, int, u_int32_t);
67struct ieee80211_bpf_params;
68int ieee80211_raw_xmit(struct ieee80211_node *, struct mbuf *,
69 const struct ieee80211_bpf_params *);
70int ieee80211_output(struct ifnet *, struct mbuf *,
71 struct sockaddr *, struct rtentry *);
72int ieee80211_send_nulldata(struct ieee80211_node *);
73int ieee80211_send_probereq(struct ieee80211_node *ni,
74 const u_int8_t sa[IEEE80211_ADDR_LEN],
75 const u_int8_t da[IEEE80211_ADDR_LEN],
76 const u_int8_t bssid[IEEE80211_ADDR_LEN],
77 const u_int8_t *ssid, size_t ssidlen,
78 const void *optie, size_t optielen);
79int ieee80211_send_mgmt(struct ieee80211com *, struct ieee80211_node *,
--- 184 unchanged lines hidden ---