?? ns-mac802_16-defaults.tcl
字號:
# Copyright (c) 2006 Korea Advanced Institute of Science and Technology,# All rights reserved.# # Permission to use, copy, modify, and distribute this software and# its documentation for any purpose, without fee, and without# written agreement is hereby granted, provided that the above# copyright notice and the following two paragraphs appear in all# copies of this software.# # IN NO EVENT SHALL KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY BE# LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR# CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE AND# ITS DOCUMENTATION, EVEN IF KOREA ADVANCED INSTITUTE OF SCIENCE AND# TECHNOLOGY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.# # KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY SPECIFICALLY DISCLAIMS# ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE# SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND# KOREA ADVANCED INSTITUTE OF SCIENCE AND TECHNOLOGY HAS NO OBLIGATION TO# PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.# # Code contributed by Seungwoon Kim, swkim@cnlab.kaist.ac.kr, http://cnlab.kaist.ac.kr/~swkim## ns-mac802_16-default.tcl# Mac/802_16 default values#Mac/802_16 set FrameLength_ <frame length> ;# in sec, default 0.005#Mac/802_16 set DL_bandwidth_ <downlink bandwidth>;# in bps, default 10.0e6#Mac/802_16 set UL_bandwidth_ <uplink bandwidth> ;# in bps, default 10.0e6#Mac/802_16 set UplinkRatio_ <ratio of uplink slots> ;# ratio in a frame, default 0.5#Mac/802_16 set MiniSlotLength_ <mini-slot length> ;# in Bytes, default 8#Mac/802_16 set InitialRanging_ <Initial ranging period length> ;# in sec, default 1.0e-6#Mac/802_16 set BWRequest_ <bandwidth request period length> ;# in sec, default 1.0e-6#Mac/802_16 set PreambleLength_ <preamble length> ;# in sec, default 0#Mac/802_16 set FCH_ <FCH length> ;# in sec, default 0#Mac/802_16 set TTG <Tx/Rx transition gap> ;# in sec, default 0#Mac/802_16 set RTG <Rx/Tx transition gap> ;# in sec, default 0#Mac/802_16 set SSTG <SS transition gap> ;# in sec, default 0#Mac/802_16 set BitErrorRate_ <bit error rate> ;# for artificial loss, default 0#Mac/802_16 set InitBackoff_ <initial request backoff> ;# default 1 (window size = 2), not used currently#Mac/802_16 set MaxBackoff_ <maximum request backoff> ;# default 15 (window size = 32k), not used currently#Mac/802_16 set MAP_SIZE_ <DL_MAP + UL_MAP size> ;# default 16 in bytes, The size of the maps should be determined dynamically, but for the ease of implementing simulator, we use the pre-determined value.Mac/802_16 set FrameLength_ 0.005Mac/802_16 set DL_bandwidth_ 10.0e6Mac/802_16 set UL_bandwidth_ 10.0e6 Mac/802_16 set UplinkRatio_ 0.5 Mac/802_16 set MiniSlotLength_ 1600Mac/802_16 set InitialRanging_ 1.0e-6Mac/802_16 set BWRequest_ 1.0e-6 Mac/802_16 set PreambleLength_ 0Mac/802_16 set FCH_ 0Mac/802_16 set TTG 0Mac/802_16 set RTG 0Mac/802_16 set SSTG 0Mac/802_16 set BitErrorRate_ 0Mac/802_16 set InitBackoff_ 1 Mac/802_16 set MaxBackoff_ 15Mac/802_16 set MAP_SIZE_ 16
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -