WAPI (Wireless API) provides an easy-to-use function set to configure wireless network interfaces on a GNU/Linux system. One can think WAPI as a lightweight C API for iwconfig, wlanconfig, ifconfig, and route commands. (But it is not a thin wrapper for these command line tools.)
WAPI: A generic C API to (wireless) network interfaces in GNU/Linux systems | Heykuki News