Wireless backbone protocols in homogeneous and heterogeneous ad hoc networks: an NS3 implementation and simulations.