ieee80211_cfgset.9freebsd

Langue: en

Version: 307103 (debian - 07/07/09)

Section: 9 (Appels noyau Linux)


BSD mandoc

NAME

ieee80211_cfgget , ieee80211_cfgset , ieee80211_ioctl - 802.11 interface ioctl commands

SYNOPSIS

In net80211/ieee80211_var.h In net80211/ieee80211_proto.h In net80211/ieee80211_ioctl.h Ft int Fn ieee80211_cfgget struct ifnet *ifp u_long cmd caddr_t data Ft int Fn ieee80211_cfgset struct ifnet *ifp u_long cmd caddr_t data Ft int Fn ieee80211_ioctl struct ifnet *ifp u_long cmd caddr_t data

DESCRIPTION

These functions are typically invoked by drivers in response to requests for information or to change settings from the userland.

The Fn ieee80211_cfgget and Fn ieee80211_cfgset functions implement a legacy interface for getting and setting 802.11 interface attributes respectively.

The Fn ieee80211_ioctl function provides a default implementation of the SIOCS80211 and SIOCG80211 ifioctls commands for 802.11 drivers. The call signature is identical to that of the if_ioctl member found in Vt struct ifnet , however, many drivers store attributes such as IEEE80211_IOC_STATIONNAME in the driver's private soft state structure, so driver writers may prefer to use this as the catch-all in a switch statement to avoid code duplication.

SEE ALSO

ifconfig(8), ieee80211(9), ifnet(9)

HISTORY

The ieee80211 series of functions first appeared in Nx 1.5 , and were later ported to Fx 4.6 .

AUTHORS

An -nosplit This manual page was written by An Bruce M. Simpson Aq bms@FreeBSD.org and An Darron Broad Aq darron@kewl.org .