IEEE80211_IOCTL(9)
π IEEE80211_IOCTL π
okay bestie, this is the ieee80211_ioctl(9) man page, straight out of the Kernel Developer's Manual β¨ it's giving "wireless driver dev energy" and honestly it ate.
πΈ NAME πΈ
ieee80211_cfgget, ieee80211_cfgset, ieee80211_ioctl β the 802.11 interface ioctl commands, aka the girlies that handle your wireless interface business π
π¦ SYNOPSIS π¦
#include <net80211/ieee80211_var.h>
#include <net80211/ieee80211_proto.h>
#include <net80211/ieee80211_ioctl.h>
int
ieee80211_cfgget(struct ieee80211com *ic, u_long cmd, void *data);
int
ieee80211_cfgset(struct ieee80211com *ic, u_long cmd, void *data);
int
ieee80211_ioctl(struct ieee80211com *ic, u_long cmd, void *data);
three little functions, three little entry points, all iconic, no cap π
π DESCRIPTION π
so here's the vibe: these functions are typically invoked by drivers in response to requests for information, or to change settings from the userland. like, the driver's the one calling them, and userland is the one asking. main character energy from both sides tbh π«Ά
The ieee80211_cfgget() and ieee80211_cfgset() functions implement a legacy interface for getting and setting 802.11 interface attributes respectively. yes, bestie, legacy β it's vintage, it's retro, it's still here π
This interface is compatible with the RIDs implemented by the wi(4) driver and used by the wiconfig(8) utility. so if you know those two, you already know what's up. iykyk π
The ieee80211_ioctl() function implements ioctls such as key management for wireless devices. πβ¨ and here's the fun part β ioctls related to the Ethernet layer also pass through here, but they get handed off to ether_ioctl() when no match for cmd is found. like a bouncer at the club: not on the list? over to ether_ioctl() you go π
π SEE ALSO π
wi(4)ifconfig(8)wiconfig(8)ieee80211(9)
go read those too, they're all part of the same friend group π
β HISTORY β
The ieee80211 series of functions first appeared in NetBSD 1.5, and were later ported to FreeBSD 4.6. glow-up of the century fr fr π₯π
π AUTHORS π
This man page was written by Bruce M. Simpson <bms@FreeBSD.org> and Darron Broad <darron@kewl.org>. legends, both of them π«ΆπΈ
ngl bestie, if you're writing a wireless driver and you need to handle info requests or setting changes from userland, this is your girl. just remember the legacy path is legacy, and unmatchedcmds bounce toether_ioctl(). that's the whole tea βπ
and that's the page, babes π§ this was Debian, dated September 12, 2006, for IEEE80211_IOCTL(9) β mwah, slay, periodt π β¨π
π¦ where this page comes from
- nixpkgs unstable: netbsd-source 11.0
- Copyright (c) 2004 Bruce M. Simpson <bms@spc.org>
- Copyright (c) 2004 Darron Broad <darron@kewl.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms