Optimal routing in random ad-hoc networks with multiple antennas