xref: /openbsd/share/man/man9/ieee80211_proto.9 (revision f0641c22)
1.\"	$OpenBSD: ieee80211_proto.9,v 1.5 2013/07/17 20:21:53 schwarze Exp $
2.\"
3.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>
4.\" Copyright (c) 2004 Darron Broad <darron@kewl.org>
5.\" All rights reserved.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright
11.\"    notice, this list of conditions and the following disclaimer.
12.\" 2. Redistributions in binary form must reproduce the above copyright
13.\"    notice, this list of conditions and the following disclaimer in the
14.\"    documentation and/or other materials provided with the distribution.
15.\"
16.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: src/share/man/man9/ieee80211_proto.9,v 1.2 2004/07/07 12:59:39 ru Exp $
29.\" $Id: ieee80211_proto.9,v 1.5 2013/07/17 20:21:53 schwarze Exp $
30.\"
31.Dd $Mdocdate: July 17 2013 $
32.Dt IEEE80211_PROTO 9
33.Os
34.Sh NAME
35.Nm ieee80211_proto_attach ,
36.Nm ieee80211_proto_detach ,
37.Nm ieee80211_print_essid ,
38.Nm ieee80211_dump_pkt ,
39.Nm ieee80211_fix_rate ,
40.Nm ieee80211_proto
41.Nd software 802.11 stack protocol helper functions
42.Sh SYNOPSIS
43.In net80211/ieee80211_var.h
44.In net80211/ieee80211_proto.h
45.Ft void
46.Fn ieee80211_proto_attach "struct ifnet *ifp"
47.Ft void
48.Fn ieee80211_proto_detach "struct ifnet *ifp"
49.Ft void
50.Fn ieee80211_print_essid "const u_int8_t *essid" "int len"
51.Ft void
52.Fn ieee80211_dump_pkt "const u_int8_t *buf" "int len" "int rate" "int rssi"
53.Ft int
54.Fo ieee80211_fix_rate
55.Fa "struct ieee80211com *ic" "struct ieee80211_node *ni" "int flags"
56.Fc
57.Sh DESCRIPTION
58These
59functions are helper functions used throughout the software 802.11 protocol
60stack.
61.Sh SEE ALSO
62.Xr ieee80211 9
63.Sh HISTORY
64The
65.Nm ieee80211
66series of functions first appeared in
67.Nx 1.5 ,
68and were later ported to
69.Fx 4.6
70and
71.Ox 3.6 .
72.Sh AUTHORS
73.An -nosplit
74This man page was written by
75.An Bruce M. Simpson Aq Mt bms@FreeBSD.org
76and
77.An Darron Broad Aq Mt darron@kewl.org .
78