$ sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport ~/bin/airport $ sudo airport sniff $ tcpdump -r /tmp/airportSniffxxxx.cap | less
There's bunch of cool options, including WiFi quality scan.
‘jzelinskie has the short instructions in their comment.