I added a real ITU-T codec to the ns-2 simulator to do this. I created
a "encoder_interface" class as a subclass of class Application. I
connected the encoder_interface class to the encoder using a socket. Every
20ms, the encoder_interface timer (subclass of TimerHandler) went off
and the enco
Hi,
I am trying to simulate an Elliott-Gilbert two-state error model in 802.11 in
which the ratio of the time spent in good vs. bad states is 10:1. I am using
the following tcl code:
proc tserr {} {
set rvgood [new RandomVariable/Exponential]
$rvgood set avg_ 10.0
set rvbad [new Rand
Hi,
I'm simulating a wired-cum-wireless scenario. I'm attaching a loss model to
all the wireless nodes (including the base-station) by adding the line
"-IncomingErrProc my_err_proc" to the node-config.
Now, I have 3 uplink and 3 downlink CBR flows with very small packet sizes
(30B).