Re: [ns] dei80211mr-1.1.1 Tabella non inizializzata 1

2007-12-09 Thread Nicola Baldo


ryan m wrote:
 hello,
 I'm using dei80211mr-1.1.1 and ns-allinone-2.31 and I want to simulate
 a typical 802.11g ad-hoc network, so I set the following parameters to
 that end.
 
 $mac($i) dataMode_ Mode54Mb
 $mac($i) basicMode_ Mode2Mb
 
 With these settings (and several others) I'm getting the error
 Tabella non inizializzata 1 repetatly to cerr, 


Ok I'll translate that error message to something more meaningful for 
english speakers in the next release ;-)

This error occurs when a Packet Error Rate value cannot be found for 
some PHYMode. The common reason for the error is that you did not load 
the correct Packet Error Rate table into an instance of a PER object.

In the adhoc_tcp.tcl script this is done using the following command:

set per [new PER]
$per loadPERTable80211gTrivellato

but that table is for 802.11g modes only. If you try, e.g., to use 
Mode1Mb in the same simluation script, you'll get the error you mentioned.

In dei80211mr we provide also a PER table for 802.11b, which is loaded 
using this command:

$per loadPERTable80211bIntersilHFA3861B

You can also define your own PER table if you wish. Just have a look at 
src/per_table_*.tcl to see how to do it. The last four values for each 
row are: PHYmode packetsize SNR(dB) PacketErrorRate

Regards,

Nicola





[ns] dei80211mr-1.1.1 Tabella non inizializzata 1

2007-12-08 Thread ryan m

hello,
I'm using dei80211mr-1.1.1 and ns-allinone-2.31 and I want to simulate
a typical 802.11g ad-hoc network, so I set the following parameters to
that end.

$mac($i) dataMode_ Mode54Mb
$mac($i) basicMode_ Mode2Mb

With these settings (and several others) I'm getting the error
Tabella non inizializzata 1 repetatly to cerr, and the trace file
just has:

D 30.004070305 _14_ MAC  ERR 2 DSR 54 [0  b 800] ---
[11:255 -1:255 32 0] 0 [0 0 0 0-0]

when ever a node tries to send something.

Any help that anyone could offer would be greatly appreciated.

Ryan

PS attached is the tcl script I'm attempting to use.