Cross-Layering between Physical Layer and Routing Protocol in Wireless Ad-hoc Networks