IEEE 802.16定义了无线城域网物理层(PHY)和媒质接入控制层(MAC)标准,其MAC支持点到多点和Mesh两种模式。为了满足Mesh模式网络研究中可扩展仿真平台的需要,根据IEEE 802.16—2004标准提出了基于NS2的Mesh模式功能仿真模型。该模型将Mesh模式的物理层和媒质接入控制层的必要功能分成相对独立的几个功能模块,每个模块都可以在NS2仿真中用面向对象的C++类实现其功能,具有很好的可扩展性。基于该模型,扩展了NS2,实现了Mesh模式的协调分布式调度功能和算法。通过建立仿真环境,对协调分布式调度三次握手时间和TCP数据流的吞吐量性能进行了仿真。根据仿真结果,分析了其性能改进的措施。
IEEE 802.16 standard has specified the physical (PHY) layer and medium access control (MAC) layer of wireless metropolitan area networks. The MAC layer supports point-to-multipoint (PMP) and Mesh mode. To meet the need for a scalable simulation platform in the study of Mesh mode networks, this paper proposed the functional simulation model of Mesh mode based on the IEEE 802.16-2004 standard and NS2. In this model, it divided the operation of MAC and PHY layer of Mesh mode into several independent function modules, so that every module could be implemented using a object-oriented C + + class in NS2, and thus had scalability. Furthermore, implemented the coordinated distributed scheduling and mini-slot allocation algorithm of Mesh mode in NS2 based on this model. It designed some simulation scenarios to analyze the performance of the three-way handshaking time and throughput of the TCP flow. It proposed several suggestions to improve the performance based on the results of simulation.