Guest editorial for special issue on cross-layer design in ad hoc and sensor networks