Transmission power control in wireless ad-hoc networks