[NS-2] RTS/CTS

  • 0
引用自  RTS/CTS enable/disable http://csn.hzu.edu.cn/oblog/more.asp?id=584


    Almost all commercial 802.11b cards have the RTS/CTS exchange turned off by default. This is not a bad decision since I think most people's home wlan networks are simple enough so that the RTS/CTS really is just unnecessary overhead. NS2 by default has this feature turned on, so we probably want to tell NS not to use this feature. Add this line to the beginning of your script:

Mac/802_11 set RTSThreshold_ 3000 # bytes ,Disable RTS/CTS

Mac/802_11 set RTSThreshold_ 0    # bytes ,Enable RTS/CTS

    This means that an RTS will only be sent for packets that are bigger than 3000 bytes, which should be never. Note: if you want RTS/CTS on, then set this value to zero.
Remind that default value is 0,  寫在 ns-2.34/tcl/lib/ns-default.tcl  裡
----------------------------------------------------------------------------------------------------
Another possible issues

沒有留言 :

張貼留言