Re: [ns] Newbie questions on wpan demo

2006-04-04 Thread Bruce Who
Finally I add ErrorModel to wpan_demo2.tcl, and but the result I get is quite different from the that of the paper "A Comprehensive Performance Study of IEEE 802.15.4" which is written by the author of wpan module. Here is my result: pps is 15.1 throughput is 1.6 KBps packet delivery ratio is 98

Re: [ns] Newbie questions on wpan demo

2006-04-03 Thread Bruce Who
Hi, I got it. Page 127 of ns-doc.pdf tells us how to do it. But it's really hard to find it. I thought it is covered in "Chapter 16 Mobile Networking in ns" or "Chapter 6 Links: Simple Links" Another question, How long does it take to transmit a packet? I found this snippet in ns/tcl/ex/wpan:

Re: [ns] Newbie questions on wpan demo

2006-04-03 Thread Ahmad Khayyat
Hi Bruce, Read chapeter 13 in ns-manual.. I think you are looking for Error Model instead of Loss Model. The commands you are using are for wired networks only, if I am not mistaken. Bruce Who wrote: >hi, Ahmad: > >=== 2006-04-03 02:05:24 Ahmad Khayyat wrote: === > > > >>Hi Bruce, >>

Re: [ns] Newbie questions on wpan demo

2006-04-02 Thread Bruce Who
hi, Ahmad: === 2006-04-03 02:05:24 Ahmad Khayyat wrote: === >Hi Bruce, > >If you enable AGT and RTR tracing (in node-config command in the tcl >file), you will see that when a tcp packet is sent out of the RTR layer, >its size is larger than its size when sent by the AGT layer. This >ref

Re: [ns] Newbie questions on wpan demo

2006-04-02 Thread Ahmad Khayyat
Hi Bruce, If you enable AGT and RTR tracing (in node-config command in the tcl file), you will see that when a tcp packet is sent out of the RTR layer, its size is larger than its size when sent by the AGT layer. This reflects the fact that the RTR layer adds some headers that contribute to the p

Re: [ns] Newbie questions on wpan demo

2006-04-02 Thread Bruce Who
hi, Ahmad: === 2006-03-31 23:40:43 Ahmad Khayyat wrote: === >2) assoPermit means whether the node should permit other nodes to >associate with it so that it becomes their coordinator. Look at the >802.15.4-2003 standard for details. > >5) This is not how LossModel is used. Consult ns-m

Re: [ns] Newbie questions on wpan demo

2006-04-02 Thread Bruce Who
hi, Ahmad: === 2006-03-31 23:40:43 Ahmad Khayyat wrote: === >2) assoPermit means whether the node should permit other nodes to >associate with it so that it becomes their coordinator. Look at the >802.15.4-2003 standard for details. > >5) This is not how LossModel is used. Consult ns-

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Ahmad Khayyat
2) assoPermit means whether the node should permit other nodes to associate with it so that it becomes their coordinator. Look at the 802.15.4-2003 standard for details. 5) This is not how LossModel is used. Consult ns-manual for the correct usage. It still applies for wpan. Bruce Who wrote:

Re: [ns] Newbie questions on wpan demo

2006-03-31 Thread Bruce Who
Hi, Stan: I read the slides distributed with the wpan modules, but I can only find some descriptions for the commands and cannot find answers to my questions. I'll look for papers and may get the answer to the question no.2, but I don't think I can find any clues to the others. I read