Adaptive harvest-then-transmit for a two-tier heterogeneous wireless network