[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [ns] GPRS simulation problem




Yes, it do has the problem. I guess the reason is that GPRS extension
injects 
RLC layer into the network stack.  Therefore, in simple-wireless.tcl,  the 
layer 2 protocol stack looks like:

		LL
		RLC
		Mac/802.11

Then, RLC objects interferes Mac802_11 objects in the network stack.
Does it right Jain ?

My point, actually it's a question, is why not inherits LL class when 
implements RLC class. Just like MacGprs inherits Mac. The benefit
is obvious that less core src code of ns-2 is modified and more 
cohesion of software components.

If so, Link Layer components can be:    LL, RLC(inherits LL)
MAC Layer components can be:    Mac, Mac802_3, Mac802_11, MacGprs, MacTdma

best rgds,

zroger


-----Original Message-----
From: Jeff Di Costanzo [mailto:[email protected]]
Sent: Tuesday, August 28, 2001 9:24 PM
To: [email protected]
Subject: [ns] GPRS simulation problem


Hi everyone,
has anybody applied the GPRS module patch contributed by Richa Jain to
ns2.1b7a and experienced problems running all/some of the wireless example 
tcl scripts such as simple-wireless.tcl?....
the error i'm getting looks something like...

[jeff@localhost ex]$ ns simple-wireless.tcl
warning: Please use -channel as shown in tcl/ex/wireless-mitf.tcl
can't read "rlcType_": no such variable
    while executing
"$node add-interface $chan $propInstance_ $llType_ $rlcType_ $macType_
$ifqType_ $ifqlen_ $phyType_ $antType_ "
    (procedure "_o3" line 50)
    (Simulator create-wireless-node line 50)
    invoked from within
"_o3 create-wireless-node"
    ("eval" body line 1)
    invoked from within
"eval $self create-wireless-node $args"
    (procedure "_o3" line 14)
    (Simulator node line 14)
    invoked from within
"$ns_ node"
    ("for" body line 2)
    invoked from within
"for {set i 0} {$i < $val(nn) } {incr i} {
                set node_($i) [$ns_ node]
                $node_($i) random-motion 0              ;# disable random 
motion        }"
    (file "simple-wireless.tcl" line 93)

-------------------end

thanks in advance,
jeff


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp