[ns] Handover Simulation NS-2

2011-10-16 Thread Syed Faraz Hasan

Hi Guys,

I am playing with handover simulation in NS-2 and having some difficulty in 
interpreting the results. Two 802.11 APs are placed at a certain distance such 
that their footprints are not overlapping. A mobile node is made to move from 
the footprint of one AP to the next (passing through the uncovered region). 
According to the trace file generated for this simulation, the mobile node does 
not handover to the next AP even when it enters its footprint. It is tuned to 
passive scanning. I reckon it should initiate a handover as soon as it enters 
AP footprint?

I simulated another scenario when the AP footprints are overlapping and in this 
case handover works fine. But, the authentication messages are a little 
strange. Near the edge of the AP-1 footprint, the mobile node authenticates 
with the first AP again. After moving out of AP-1 range it authenticates with 
AP-2. This may be because of ping-pong effect? If so, I didn't observe this for 
simulation where APs are highly overlapping (inter AP distance is equal to the 
range of APs).

Could some one please add some sense to what's going on? I shall be grateful.

Cheers,
Faraz


[ns] Change .nam output format to CSV or XLS

2011-10-16 Thread samira h

Dear all,

Does anybody know how to export or change out.nam file into CSV format or
Excel in NS-2 code or by an external program? As I'm going to use the
content of out.nam file in MATLAB, it should be in Excel.


[ns] Please help me

2011-10-16 Thread m ali

Dear All,

I am using ns-2.34 and have written some c++ codes and
added them  under the ns-2.34 sub-directory. I did
"make clear", but when I did "make" to re-compile, the following error
(see below)
occur. Can anyone help me.
Thanks alot.

M.A.



./common/ptypes2tcl > gen/ptypes.cc
/bin/sh cannot create gen/ptypes.cc permission denied
make: *** [gen/ptypes.cc] Error 2