About /sbin/wifi how to create a phy ath0/ath1(ssid in mode ap).
iw-5.0.1.tar is used to act as
iw phy phy0 interface add ath0 type __ap
to create an ap interface.
netlink编程介绍.pdf covers what AF_NETLINK protol family does.
精通Linux内核网络.pdf involves iw and NETLINK in section 2, besides wireless related to in section 12.