Research of Congestion in Ad-Hoc Networks Based on Cross-layer Design