Hi Bibhu,

Link-loss model is used in a wired network. In wireless networks, you will have 
to use other approach (e.g., propagation model) to impose error on the link.

Mobile node has different architecture than regular nodes. The ARQ module would 
still work. But you will have to find another place to attach the ARQ module.

Best Regards,

Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat


On May 5, 2011, at 4:34 PM, bibhu wrote:

> 
> 
> hello sir, i am implementing "TCP performance over wireless MIMO channels
> with ARQ". I have made proper changes for ARQ protocol.in my project i have
> a mobile station with two antennas and a base station. i have added this
> code in my tcl file to include ARQ.
> set em [new ErrorModel]
> $em set rate_ 0.5
> $em unit pkt
> $em ranvar [new RandomVari...able/Uniform]
> $em drop-target [new Agent/Null]
> $ns link-lossmodel $em $wl_n1 $bs
> $ns link-lossmodel $em $wl_n2 $bs
> $ns link-arq 3 $wl_n1 $bs
> proc show_tcp_seqno {} {
> 
> global tcp
> puts "The final tcp sequence number is
> [$tcp set t_seqno_]"
> }
> 
> 
> but when i run it,it shows error
> 
> Configuration of hierarchical addressing done
> num_nodes is set 3
> INITIALIZE THE LIST xListHead
> ...Base Station created
> Replacing scheduler
> wireless node1 created ...
> wireless node2 created ...
> invalid command name ""
> while executing
> "$link insert-linkloss $lossobj"
> (procedure "_o3" line 3)
> (Simulator link-lossmodel line 3)
> invoked from within
> "$ns link-lossmodel $em $wl_n1 $bs"
> (file "wimaxtest2.tcl" line 258)
> 
> what should i do? pls help..
> -- 
> View this message in context: 
> http://old.nabble.com/error-in-arq-insertion-in-tcl-code-tp31548804p31548804.html
> Sent from the ns-users mailing list archive at Nabble.com.
> 

Reply via email to