Cooperative Networking in a Heterogeneous Wireless Medium