Category: Misc

  • Playing DTS-WAV with Audigy2

    DTS-WAV is a format found on DTS Audio CDs. It’s basically a hack, as it uses a standard WAV header to trick the CD player into playing the track, while the music format is DTS. The WAV header must be removed before the file can be played in Windows. I used the latest BeSplit beta…

  • OMNeT++ Mobility Framework Compilation

    On error messages like: BasicSnrEval.cc:36: error: no matching function for call to ‘BasicSnrEval::BasicSnrEval()’ BasicSnrEval.h:82: note: candidates are: BasicSnrEval::BasicSnrEval(const char*, cModule*, unsigned int) edit the header file like this: BasicSnrEval(const char* n=NULL, cModule *p=NULL, unsigned s=0)

  • OMNeT++ INET framework compilation with GCC 4

    If you get compilation errors like these: error: cast from ‘something*’ to ‘int’ loses precision change the (int) cast to a (long) cast in the corresponding line.

  • Running GloMoSim on Debian/gcc-4.0

    First, create /usr/local/parsec and copy the contents of parsec/redhat-7.2 there. Then include /usr/local/parsec/bin in the PATH system variable. Running pcc should be possible now. To compile GloMoSim, change to glomosim/main, run export PCC_PP_OPTIONS = “-D__builtin_va_list=void* -D__STRICT_ANSI__ -E -U__GNUC__ -I.” and “make”.

  • RTS/CTS and ns2

    RTS/CTS in ns2 can be turned on/off by setting the Mac/802_11 set RTSThreshold_ parameter to a certain value. Is the packet size bigger than this value, RTS/CTS will be used, otherwise it won’t. The default threshold is 3000 bytes. Recent 802.11b cards apparently do not use RTS/CTS as this degrades the performance. This is not…

  • Transmission Delay in ns2

    My observation is that packets are retransmitted 4 times until they are dropped on the MAC layer. This is the default value for MAC_LongRetryLimit in ns2. The Transmission Delay in my simulation consisting of two nodes has only a minor randomness. It highly depends on the current data rate, and graphs are as angular as…

  • Queues and Retransmissions in ns2

    Ns2 implements an interface queue on wireless links. In my simulation it is a FIFO queue that may contain up to 50 packets. When no route to the destination node exists each packet is queued by the AODV routing protocol. It queues (an unlimited amount of?) packets for up to 5 seconds (set by the…

  • ns2 Multi-Rate 802.11 simulation: no success with ns2.28

    ns2 does not have built-in multi-rate support for wireless links, not even in the latest 2.28 release. There is an RBAR (Receiver Based Auto Rate) and OAR (Opportunistic Auto Rate) extension for ns2 available at Rice Networks Group. Unfortunately it applies to ns2.1b7a only. I’ve created a patch and tried to apply it to the…