2006-09-17 16:13:02 +04:00
|
|
|
.\" $NetBSD: ieee80211_ioctl.9,v 1.4 2006/09/17 12:13:02 wiz Exp $
|
2005-04-25 01:11:07 +04:00
|
|
|
.\"
|
|
|
|
.\" Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>
|
|
|
|
.\" Copyright (c) 2004 Darron Broad <darron@kewl.org>
|
|
|
|
.\" All rights reserved.
|
|
|
|
.\"
|
|
|
|
.\" Redistribution and use in source and binary forms, with or without
|
|
|
|
.\" modification, are permitted provided that the following conditions
|
|
|
|
.\" are met:
|
|
|
|
.\" 1. Redistributions of source code must retain the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer.
|
|
|
|
.\" 2. Redistributions in binary form must reproduce the above copyright
|
|
|
|
.\" notice, this list of conditions and the following disclaimer in the
|
|
|
|
.\" documentation and/or other materials provided with the distribution.
|
|
|
|
.\"
|
|
|
|
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
|
|
|
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
|
|
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
|
|
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
|
|
|
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
|
|
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
|
|
|
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
|
|
|
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
|
|
|
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
|
|
|
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
|
|
|
.\" SUCH DAMAGE.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD: src/share/man/man9/ieee80211_ioctl.9,v 1.2 2004/07/07 12:59:39 ru Exp $
|
|
|
|
.\"
|
2006-09-12 15:05:23 +04:00
|
|
|
.Dd September 12, 2006
|
2005-04-25 01:11:07 +04:00
|
|
|
.Dt IEEE80211_IOCTL 9
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm ieee80211_cfgget , ieee80211_cfgset , ieee80211_ioctl
|
|
|
|
.Nd 802.11 interface ioctl commands
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
.In net80211/ieee80211_var.h
|
|
|
|
.In net80211/ieee80211_proto.h
|
|
|
|
.In net80211/ieee80211_ioctl.h
|
|
|
|
.Ft int
|
2006-09-12 15:05:23 +04:00
|
|
|
.Fn ieee80211_cfgget "struct ieee80211com *ic" "u_long cmd" "caddr_t data"
|
2005-04-25 01:11:07 +04:00
|
|
|
.Ft int
|
2006-09-12 15:05:23 +04:00
|
|
|
.Fn ieee80211_cfgset "struct ieee80211com *ic" "u_long cmd" "caddr_t data"
|
2005-04-25 01:11:07 +04:00
|
|
|
.Ft int
|
2006-09-12 15:05:23 +04:00
|
|
|
.Fn ieee80211_ioctl "struct ieee80211com *ic" "u_long cmd" "caddr_t data"
|
2005-04-25 01:11:07 +04:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
These
|
|
|
|
functions are typically invoked by drivers in response to requests
|
|
|
|
for information or to change settings from the userland.
|
|
|
|
.Pp
|
|
|
|
.\"
|
|
|
|
The
|
|
|
|
.Fn ieee80211_cfgget
|
|
|
|
and
|
|
|
|
.Fn ieee80211_cfgset
|
|
|
|
functions implement a legacy interface for getting and setting 802.11
|
|
|
|
interface attributes respectively.
|
2006-09-12 15:05:23 +04:00
|
|
|
The interface is compatible with the RIDs implemented by the
|
|
|
|
.Xr wi 4
|
2005-04-25 01:11:07 +04:00
|
|
|
driver and used by the
|
2006-09-17 16:13:02 +04:00
|
|
|
.Xr wiconfig 8
|
2005-04-25 01:11:07 +04:00
|
|
|
utility.
|
|
|
|
.Pp
|
|
|
|
.\"
|
|
|
|
The
|
|
|
|
.Fn ieee80211_ioctl
|
2006-09-12 15:05:23 +04:00
|
|
|
function implements ioctls such as key management for wireless devices.
|
|
|
|
Ioctls related to the Ethernet layer also pass through here, but are
|
|
|
|
handed off to
|
|
|
|
.Fn ether_ioctl
|
|
|
|
when no match for
|
|
|
|
.Fa cmd
|
|
|
|
is found.
|
2005-04-25 01:11:07 +04:00
|
|
|
.\"
|
|
|
|
.Sh SEE ALSO
|
2006-09-12 15:05:23 +04:00
|
|
|
.Xr wi 4 ,
|
2005-04-25 01:11:07 +04:00
|
|
|
.Xr ifconfig 8 ,
|
2006-09-17 16:13:02 +04:00
|
|
|
.Xr wiconfig 8 ,
|
2006-09-12 15:05:23 +04:00
|
|
|
.Xr ieee80211 9
|
2005-04-25 01:11:07 +04:00
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm ieee80211
|
|
|
|
series of functions first appeared in
|
|
|
|
.Nx 1.5 ,
|
|
|
|
and were later ported to
|
|
|
|
.Fx 4.6 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
.An -nosplit
|
|
|
|
This man page was written by
|
|
|
|
.An Bruce M. Simpson Aq bms@FreeBSD.org
|
|
|
|
and
|
|
|
|
.An Darron Broad Aq darron@kewl.org .
|