Underwater Acoustic Localization and Packet Scheduling