A cross-layer stability-based on-demand routing protocol for mobile ad-hoc networks