nl80211
nl80211 is the Linux kernel netlink API for configuring and monitoring wireless LAN devices. It is the user-space interface to the mac80211 subsystem (via cfg80211) and provides a structured, event-driven way to control interfaces, trigger scans, and manage connections. It is the modern replacement for Wireless Extensions.
As a netlink family, programs communicate with the kernel using a defined set of commands and attributes
nl80211 works with cfg80211 and mac80211 to implement 802.11 management, regulatory domain handling, and driver features.
Events and data are delivered via netlink; the kernel posts messages for new scan results, associations, disconnections,
Support for nl80211 varies by device and driver. It is the standard interface on Linux wireless hardware