[ns] Computing RxThreshold for long distances

2013-03-27 Thread wben-jab
Dear All, I want to ask about the receving RxThreshold. I compute it for two distances, one with 300m and the other with 1000m, using TwoRayGround propagation model. I have for 300m , the following output: distance = 300 propagation model: TwoRayGround Selected parameters: transmit power:

[ns] number of retransmissions of a packet

2012-12-14 Thread wben-jab
dear all, In order to detect the number of retransmissions/collisions of a packet, is it possible to verify it by the difference between the ID in application layer(pktId) minus the ID in the MAC layer which could be obtained by the ch-id(), in the receiver side. If it is not possible,

[ns] malloc Problem in NS

2012-11-01 Thread wben-jab
Dear all, I have the following execution problem, when trying to execute a protocol on ns-2.29. I have a problem related to malloc, and I think that there is something that did not match the kernel and libraries. What could be the problem? Thanks. ns: malloc.c:3096: sYSMALLOc: Assertion

[ns] running multiple simulations.

2012-08-16 Thread wben-jab
Dear all, I want to do many simulations using .TCL script with different seed, and then clearing the different objects that are created in the previous simulations. Could someone help me whether there is an idea, or giving a link. I tried to do as follows, but it executes only the first

[ns] .tcl script for newmcast

2012-08-16 Thread wben-jab
Dear all, I'm looking for a file under NS2, ns-2/tcl/ex/newmcast/pim-test-suite-1.tcl. But, I didn't have it in my NS2 folder. Could someone know where I could find it? Thanks.

Re: [ns] RXThresh values!!

2012-08-05 Thread wben-jab
It works with me. Thanks, Quoting Saravanan Kandasamy svana...@gmail.com: Dear Wben, I presume you like to know the relationship between distance vs RXthresh ? It might not be that straight forward as it depends on which multipath propagation you like to use. Assume this topology -Two

[ns] A question about message Generation

2012-08-05 Thread wben-jab
Dear all, I have to conceive a control message generator located between the application layer and the transport layer. My question is as follows : a) Where is better to implement the generation of messages in .TCL script or in C++ file. Because I have to deal with timers to schedule the

[ns] RXThresh values!!

2012-08-04 Thread wben-jab
Dear all, Has anyone an idea about the different corresponding values of the parameter RXThresh, when varying the distances. Or when I could find these values? set RXThresh 1.76149e-10 ;#compute with threshold.cc for distance 300m Thanks.

[ns] Start Command No received messages

2012-08-03 Thread wben-jab
Dear all, I'm a newbee on NS2 simulation. However, I have a problem considering the following scenario. I want to broadcast one control packet, for each time interval, by a node chosen randomly. Then, after a certain period, I could send a data packet by a designated node. My problem is