Heterogenous Wireless Ad Hoc and Sensor Networks