Optimal common transmit power in ad hoc wireless networks