1.\" $NetBSD: ieee80211_ioctl.9,v 1.5 2007/03/07 00:41:17 dogcow 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_ioctl.9,v 1.2 2004/07/07 12:59:39 ru Exp $ 29.\" 30.Dd September 12, 2006 31.Dt IEEE80211_IOCTL 9 32.Os 33.Sh NAME 34.Nm ieee80211_cfgget , ieee80211_cfgset , ieee80211_ioctl 35.Nd 802.11 interface ioctl commands 36.Sh SYNOPSIS 37.In net80211/ieee80211_var.h 38.In net80211/ieee80211_proto.h 39.In net80211/ieee80211_ioctl.h 40.Ft int 41.Fn ieee80211_cfgget "struct ieee80211com *ic" "u_long cmd" "void *data" 42.Ft int 43.Fn ieee80211_cfgset "struct ieee80211com *ic" "u_long cmd" "void *data" 44.Ft int 45.Fn ieee80211_ioctl "struct ieee80211com *ic" "u_long cmd" "void *data" 46.Sh DESCRIPTION 47These 48functions are typically invoked by drivers in response to requests 49for information or to change settings from the userland. 50.Pp 51.\" 52The 53.Fn ieee80211_cfgget 54and 55.Fn ieee80211_cfgset 56functions implement a legacy interface for getting and setting 802.11 57interface attributes respectively. 58The interface is compatible with the RIDs implemented by the 59.Xr wi 4 60driver and used by the 61.Xr wiconfig 8 62utility. 63.Pp 64.\" 65The 66.Fn ieee80211_ioctl 67function implements ioctls such as key management for wireless devices. 68Ioctls related to the Ethernet layer also pass through here, but are 69handed off to 70.Fn ether_ioctl 71when no match for 72.Fa cmd 73is found. 74.\" 75.Sh SEE ALSO 76.Xr wi 4 , 77.Xr ifconfig 8 , 78.Xr wiconfig 8 , 79.Xr ieee80211 9 80.Sh HISTORY 81The 82.Nm ieee80211 83series of functions first appeared in 84.Nx 1.5 , 85and were later ported to 86.Fx 4.6 . 87.Sh AUTHORS 88.An -nosplit 89This man page was written by 90.An Bruce M. Simpson Aq bms@FreeBSD.org 91and 92.An Darron Broad Aq darron@kewl.org . 93