Hi there,
I am looking for a C API that would let me interact with my wireless NIC (such as listing available SSIDs etc...)? Well, a bit of googling revealed there is no API high level APIs in FreeBSD.
I had a quick look at some of the code in /usr/src/sys/net80211, but I really would appreciate any recommendations you could give in terms of any ioctl(2) usage examples, further reading (tutorials...) etc...
/usr/src/sbin/ifconfig/ifieee80211.c has some useful code in it (such as implementation
I am looking for a C API that would let me interact with my wireless NIC (such as listing available SSIDs etc...)? Well, a bit of googling revealed there is no API high level APIs in FreeBSD.
I had a quick look at some of the code in /usr/src/sys/net80211, but I really would appreciate any recommendations you could give in terms of any ioctl(2) usage examples, further reading (tutorials...) etc...
/usr/src/sbin/ifconfig/ifieee80211.c has some useful code in it (such as implementation
list_scan()
function that is called when ifconfig wlan0 list scan
is invoked) but I could not see any usage example for ioctl(2).
Last edited: