Re: [ns] ARQ implementation in ns 2

2011-05-05 Thread bibhu


thank you for replying
i have gone through the link and have implemented the same one..in my
project i have 1 mobile station with tow antennas  labelled as wl_n1 and
wl_n2 and a base station labelled as bs.. for arq to take in affect , i have
inserted the followinf tcl code in my project...

set em [new ErrorModel]
$em set rate_ 0.01
$em unit pkt
$em ranvar [new RandomVariable/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 it is showing following 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 168)

can you please suggest me to recover from it


thank you



Teerawat@UBC wrote:
> 
> 
> If you are interested in implementing ARQ in NS2, please read
> 
> http://www.ns2ultimate.com/post/1539258323/arq-module-program-update
> 
> Best Wishes,
> 
> 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 Feb 15, 2011, at 5:00 PM, bibhu wrote:
> 
>> 
>> 
>> hi friends
>> m trying to implement ARQ in ns2 but i thing ns 2.31 doesn't support ARQ
>> .can anybody tell me what should i do to implement stop-n-wait arq.
>> pls give your suggestions
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/ARQ-implementation-in-ns-2-tp30929430p30929430.html
>> Sent from the ns-users mailing list archive at Nabble.com.
>> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/ARQ-implementation-in-ns-2-tp30929430p31548864.html
Sent from the ns-users mailing list archive at Nabble.com.



Re: [ns] ARQ implementation in ns 2

2011-02-15 Thread Teerawat@UBC

If you are interested in implementing ARQ in NS2, please read

http://www.ns2ultimate.com/post/1539258323/arq-module-program-update

Best Wishes,

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 Feb 15, 2011, at 5:00 PM, bibhu wrote:

> 
> 
> hi friends
> m trying to implement ARQ in ns2 but i thing ns 2.31 doesn't support ARQ
> .can anybody tell me what should i do to implement stop-n-wait arq.
> pls give your suggestions
> 
> -- 
> View this message in context: 
> http://old.nabble.com/ARQ-implementation-in-ns-2-tp30929430p30929430.html
> Sent from the ns-users mailing list archive at Nabble.com.
> 




[ns] ARQ implementation in ns 2

2011-02-15 Thread bibhu


hi friends
m trying to implement ARQ in ns2 but i thing ns 2.31 doesn't support ARQ
.can anybody tell me what should i do to implement stop-n-wait arq.
pls give your suggestions

-- 
View this message in context: 
http://old.nabble.com/ARQ-implementation-in-ns-2-tp30929430p30929430.html
Sent from the ns-users mailing list archive at Nabble.com.