计算机科学 ›› 2016, Vol. 43 ›› Issue (Z6): 281-284.doi: 10.11896/j.issn.1002-137X.2016.6A.067

• 无线网络与通信 • 上一篇    下一篇

NS-3 802.11物理层源代码实现原理分析

王悦   

  1. 中央财经大学信息学院信息管理系 北京100081
  • 出版日期:2018-11-14 发布日期:2018-11-14
  • 基金资助:
    本文受国家自然科学基金项目(61309030,2),教育部人文社会科学研究一般项目(13YJA630089),教育部人文社会科学研究规划基金项目(15YJAZH066),北京市哲学社会科学规划项目(13JGA004),北京市社科联青年社科人才资助

Analyzing Source Code of 802.11 Physical Layer Implementation in NS-3

WANG Yue   

  • Online:2018-11-14 Published:2018-11-14

摘要: NS-3是国外近几年发展起来的重要网络仿真软件,它提供了比NS-2更低层次的无线功能抽象,更贴近真实的无线物理层的工作原理。分析了802.11无线物理层的源代码,对其主要实现机制进行了详细剖析,包括节点状态与接收分组的条件、信道繁忙起止时间的计算、信道支持多个路径损耗衰落模型、误码率与分组接收成功率的计算、多个干扰分组的跟踪管理和以分块为单位的累积干扰计算;并对协议修改给出了建议。该工作为理解NS-3无线仿真原理做出了有益贡献。

关键词: NS-3,802.11,无线物理层,源代码分析

Abstract: NS-3 is an important network simulator,offering a lower level abstraction of wireless functionality than NS-2 and is more close to realistic wireless physical layer.In this work,we read the source code and analyzed simulation mechanisms of 802.11 physical layer,including node states and the condition that packets can be received,the computation of the starting and ending time of channel busy state,packet reception power considering the addition effect of multiple path loss and fading models,the computation of bit error rate and packet error rate,and tracking of multiple interfering packets and the computation of interference based on chunk units.We gave some advices for protocol modification.This paper makes a contribution to understand the wireless simulation principle of NS-3.

Key words: NS-3,802.11,Physical layer,Source code analysis

[1] NS-3.http://www.nsnam.org
[2] Lacage M,Henderson T R.Yet another network simulator[C]∥Proceeding from the 2006 workshop on ns-2:the IP network simulator(WNS2’06).ACM,2006:12
[3] Pei G,Henderson T.Validation of ns-3 802.11b PHY model[Z].Boeing Research Technology,2009
[4] Pei G,Henderson T.Validation of OFDM error rate model in ns-3[Z].Boeing Research Technology,2010
[5] Chen B,Yenamandra V,Srinivasan K.FlexRadio:fully flexibleradios and networks[C]∥NSDI’15.2015:205-218
[6] Yu H,Bejarano O,Zhong L.Combating inter-cell interference in 802.11ac-based multi-user MIMO networks[C]∥ Mobicom’14.ACM,2014:141-152
[7] Dale N,Lewis J.Chapter 7:Problem Solving and Algorithm,Computer Science Illuminated (5th edition)[M].Jones & Bartlett Learning,2012
[8] 王悦,刘灿涛,朱雷,等.NS-2无线物理层实现与衰落功能扩展研究[J].计算机工程,2014,40(7):58-61
[9] 廖海帆.LTE无线资源调度算法研究及NS_3仿真平台实现[D].北京:北京邮电大学,2015
[10] Wang Yue,Yue O C.A Tutorial of 802.11 Implementation in NS-2[R/OL].http://www.docin.com/p-677082566.html

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!