In this paper, the theoretical analysis showed that the length of the route and the interference of links were the main factors that influence the throughput of the network. Then, a dynamic channel allocation algorithm base on the length of routes and the interference of links was proposed to enhance the system throughput. In the proposed algorithm, ant colony algorithm was used to collect the information of network, such as the length of routes and the interference of links. Then, the priority of link access channel was decided according to the collected information. The simulation results showed that the proposed algorithm could improve the whole network throughput obviously.