Cross-layer QoS routing framework for wireless mesh networks