Users of nl80211
Current users of nl80211:
OpenWrt folks created a tiny version of libnl based on a git snapshot, which only contains genl, not rtnetlink or any of the netfilter stuff, and compiles down to less than 30k in binary size. You can find it here:
svn co svn://svn.openwrt.org/openwrt/trunk/package/libs/libnl-tiny
Kerneldoc for nl80211
The nl80211 testmode command helps implementing things like factory calibration or validation tools for wireless chips.
This functionality could possibly be used for SAR testing (Specific Absorption Rate), MPE testing (Maximum Permissible Exposure), RF testing (Radio Frequency), as possibly requested by institutions such as FCC.
This setting is currently provided by net/wireless/Kconfig.
For a way to determine whether a wireless driver actually supports nl80211 testmode interface, see [PATCH] nl80211: add testmode to the list of supported commands.
Current users of the testmode interface are:
wl12xx calibrator (chipsets WL1271 etc.)
TODO: could list (references to) ready-made scripts which implement nicely automated / elegant workflows for SAR testing etc.
For ATH9K chipsets, there's SAR testing functionality provided via the non-testmode setting CONFIG_ATH9K_TX99. Hmm, this possibly needs conversion to (additionally?) providing the generic nl80211 testmode functionality?