Apple has added a new Wi-Fi Diagnostics utility to monitor the performance of wireless networks, record events, capture raw network frames, and log diagnostic data that can be sent to Apple by users for troubleshooting.
Originally posted here:
Inside Mac OS X 10.7 Lion: New Wi-Fi Diagnostics tool