Advances in wireless ad hoc and sensor networks.