⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 在网络仿真模拟工具下实现支持QoS的MAC层EDCF协议
💻
字号:
Installation of MAC 802.11e EDCF-Code:**************************************1. please change into the directory ns-whatever/ns-x.y/mac/2. copy the file 80211e_EDCF_CFB.tgz into this directory and extract it with:     tar -xvzf 80211e_EDCF_CFB.tgz 	3. changes to your Makefile.in in ns-whatever/ns-x.y/:   - add to INCLUDES:                -I./mac/802_11e   - add to OBJ_CC:                  mac/802_11e/mac-802_11e.o mac/802_11e/priq.o                mac/802_11e/d-tail.o mac/802_11e/mac-timers_802_11e.o	    - exclude in NS_TCL_LIB:               tcl/lib/ns-mobilenode.tcl \	          - add to NS_TCL_LIB:               mac/802_11e/ns-mobilenode_802_11e.tcl \	       mac/802_11e/priority.tcl \4. changes to your ns-whatever/ns-x.y/tcl/lib/ns-lib.tcl:   - exclude from the source list:	       source ns-mobilenode.tcl   - add to the source list:                source ../../mac/802_11e/ns-mobilenode_802_11e.tcl               source ../../mac/802_11e/priority.tcl5. changes to your ns-whatever/ns-x.y/tcl/lib/ns-default.tcl:   - add:               Queue/DTail set drop_front_ false               Queue/DTail set summarystats_ false               Queue/DTail set queue_in_bytes_ false               Queue/DTail set mean_pktsize_ 500	       Queue/DTail/PriQ set Prefer_Routing_Protocols    1               Queue/DTail/PriQ set Max_Levels   4                Queue/DTail/PriQ set Levels    46.  add to tcl/lan/ns-mac.tcl:               if [TclObject is-class Mac/802_11e] {                 ...	         copy settings of MAC/802.11 		 (which are contained in this file) into this section                 ...	         Mac/802_11e set cfb_ 0 ;# disables CFB	       }7. run ./configure; make clean; make depend; make in your ns directory8. happy simulating :o) (e.g with the example script ../ns-x/mac/802.11e/multi_udpflows.tcl) Simulations with 802.11e EDCF*****************************- in your simulation script: After defining your transport_agent  % set transport_agent [new Agent/UDP]  ,just add   % $your_transport_agent prio_ x   to give a certain flow a specific priority  (x between 0 and 3, 0 being the highest, 3 being the lowest priority).- changes to 802.11e parameters (CW_MIN, CW_MAX, AIFS, TXOPLimit, PF) should be  made in ../ns-x/mac/802_11e/priority.tcl for each queue. Please rerun make afterwards.- please set Mac/802_11e cfb_ to 1 (in tcl/lan/ns-mac.tcl) if you want to enable CFB in   your simulations. Rerun make afterwards. 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -