First, there is a built in
airportcommand you merely need to add a link to. Once you do that, you can do a number of queries on the command line. Details can be found here:
airport – the Little Known Command Line Wireless Utility
Second, just hold down the
optionkey and click on your Airport icon on the menu bar. This provides some pretty detailed information about your connection.