SO_WIFI_STATUS socket option in Linux -
could shed light on so_wifi_status socket option - encountered in hostapd nl80211 driver code. find it's declaration in /usr/include/asm-generic/socket.h file not find relevant documentation anywhere.
the explanation , patch: [rfc] net: add wireless tx status socket option
http://www.spinics.net/lists/netdev/msg176403.html
a sample application:
http://www.spinics.net/lists/netdev/msg176415.html
the references:
http://lxr.free-electrons.com/ident?i=so_wifi_status
if not find in /usr/include/asm-generic/socket.h
, it's because kernel old. in mine:
jbm@sumo:~$ grep -n so_wifi_status /usr/include/asm-generic/socket.h 68:#define so_wifi_status 41 69:#define scm_wifi_status so_wifi_status jbm@sumo:~$ uname -a linux sumo 4.3.0-1-amd64 #1 smp debian 4.3.3-7 (2016-01-19) x86_64 gnu/linux
Comments
Post a Comment