[ns] IsNeighbor function

2009-08-05 Thread neerajgupta
hi all i am using IsNeigbor() function(defined in /mobile/god.cc) in mac802_11.cc to check whether the two nodes are neighbors or not. the parameters are like God::instance()->IsNeighbor((u_int32_t)index_,src) in god.cc i have diable the energy model in IsNeighbor(int i, int j) function.

[ns] adaptive algorithm and carrier sensing

2009-07-26 Thread neerajgupta
hi all i am simulating a scenario where i have 5 nodes arranged in following order 2 4 0 1 3 the script of the file is # Define options # == set val(chan) Channel/WirelessChannel

[ns] RxThreshold and carrier sense range

2009-07-22 Thread neerajgupta
hi thr RTS/CTS packets are switched off by default. what is default value of Rx Threshold to switch on the RTS/CTS. the neighobrs in vicinty of the source node can hear the packets. hence can set their NAV values. during the simulation i find that the value of Ma in trace file is giveing

[ns] setting the parameters

2009-07-21 Thread neerajgupta
Hi all i simulating a paper for my work to start with. I need to set the following parameters for the simulation MAC Header (bytes) : 34 PHY Header (bytes) : 16 ACK (bytes) : 30 how will following parameters be given. Anyhow if we dont chage the structure in 802_11.h what is size of the above

[ns] simulation work.

2009-07-21 Thread neerajgupta
Hello i Hope this mail of mine will find you in best of health. i generate the tcl script for the following scenarion. 2 4 0 3 1 the above figure is the position of the nodes. all the nodes are in transmission range of each other. The problems starts as whe