These functions are typically invoked by drivers in response to requests for information or to change settings from the userland.
The ieee80211_cfgget and ieee80211_cfgset functions implement a legacy interface for getting and setting 802.11 interface attributes respectively. The interface is compatible with the RIDs implemented by the legacy owi(4) driver and used by the wicontrol(8) utility.
The 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 drivers private soft state structure, so driver writers may prefer to use this as the catch-all in a switch statement to avoid code duplication.
owi(4), ifconfig(8), wicontrol(8), ieee80211(9), ifnet(9)