/usr/bin/wdutil
wdutil provides functionality of the Wireless Diagnostics application in command line form.