airport – the Little Known Command Line Wireless Utility
http://osxdaily.com/2007/01/18/airport-the-little-known-command-line-wireless-utility/
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport is a command line tool for accessing airport data.
the -I flag is the most interesting one, for me at least.
0