[ns] how new link is added

2008-11-24 Thread Spyros Marinis
hi! I am currently working on writing an add ip extension for mobile sctp, that must add a new interface and the suitable new link to an interface that already exists. does anybody know in which c++  file I can find a function that creates this new link so that I can call it from my code? 

[ns] Mobile sctp

2008-12-11 Thread Spyros Marinis
Hi everyone, I am currently working on my diploma thesis and i want to make a simulation about mobile sctp. Does anyone know if there is an extension for the add-ip/delete-ip procedures that don't exist on the current sctp patch on ns2? If anyone has worked on it, I would be very grateful if

[ns] Multi-interface support

2008-12-27 Thread Spyros Marinis
Hello everybody! I am trying to implement multi-interface support for wireless nodes, using the Module-based Wireless Node: http://www.q2s.ntnu.no/~paquerea/ns.php Has anyone worked on it? Does anybody know if (and where) I can find some example tcl scripts? Thanks in advance, Spyros

[ns] Mobile sctp and MW node (multiple interfaces)

2009-01-13 Thread Spyros Marinis
Hi all! I am trying to simulate handover between UMTS/WLAN using sctp. I use ns2.33. I try to modify the standard sctp code to implement the add-ip, delete-ip procedures and I use the MW node patch: http://www.q2s.ntnu.no/~paquerea/ns.php to use multiple interfaces. I installed the patch but

[ns] How a mobile node detects a new AP

2009-02-03 Thread Spyros Marinis
Hi everybody! I want to know how a mobile node can detect that it has come to the area covered by a new base station. How can I  measure the power of the signal received by the mobile node from an access point, either the old one that currently uses to transmit data, or the new one?? I know the

[ns] How to get the power a node receives from a BS

2009-02-06 Thread Spyros Marinis
Hi all! Please could anyone help me with this? It is really important. How can I get the power of the signal a mobile node receives from a base station as it moves in the topology?? Is there a c++ function I can call from my code? Thank you very much in advance! Spyros

[ns] Beacon messages-scanType-HELP!!

2009-02-15 Thread Spyros Marinis
Hi all! I am trying to use the beacon messages as in mac-802_11.cc to trigger some changes when a new access point is detected. I haven't changed anything there yet. I have in my tcl script something like this: set AP_ADDR1 [$mac_(2) id] $mac_(2) ap $AP_ADDR1 set AP_ADDR2 [$mac_(5) id]

[ns] How to get number of Base stations and their addresses

2009-02-21 Thread Spyros Marinis
Hi everybody!! I am in a great hurry, so if anybody knows, please answer me!! It is very important! How can I get from my c++ source code the number of base stations that are defined in the tcl script? Can I also get their address or node_id? I am using the wired-cum-wireless topology with

[ns] How to assign a new address to a node

2009-03-06 Thread Spyros Marinis
Hi all! I have a mobile node that has been defined with a certain hierarchical address and bound to the appropriate base station, like this: set if_1 [$ns_ node 1.0.1]            $if_1 base-station [AddrParams addr2id [$BS_umts node-addr]] How can I change

[ns] Mobile ip and sctp

2009-03-09 Thread Spyros Marinis
Hello all! Does anyone know how I can use mobile ip with sctp at transport layer, in a wired-cum-wireless topology with hierarchical addresses? The standard method doesn't work in this case; should I modify something??? I would be very grateful if you could help in any way, Spyros

[ns] Scheduler: Event UID not valid!

2009-03-11 Thread Spyros Marinis
Hi all! I use ns-2.33 and I am running a simulation for wireless sctp. However the simulation stops at the very beginning, and it shows: Scheduler: Event UID not valid! I have read some older posts here about this, but they are all, as well as the proposed solutions, for older versions of ns,

[ns] 802.11 infra mode and Scheduler: Event UID not valid! error

2009-03-12 Thread Spyros Marinis
, ___ Helber Wagner da Silva MSc. Student in Applied Informatics University of Fortaleza - Ceará - Brazil URL: http://www.nr2.ufpr.br/~helber De: Spyros Marinis spyros_...@yahoo.gr Para: ns-users@ISI.EDU Enviadas: Quarta-feira, 11 de Março de 2009 12

[ns] How to get the transmit power of a mobile node?

2009-03-16 Thread Spyros Marinis
Hi all! Could anyone tell me how I can get the transmit power of a mobile node from the C++ code? I mean the one that is defined by: Phy/WirelessPhy set Pt_ 4.5099 in the tcl script. I used the  bsWlan-radius() to calculate it from there, but it gives me zero. I have used different Pt_

[ns] Tcp rate

2009-03-28 Thread Spyros Marinis
Hi all! Does anybody know how I can change the rate a TCP agent transmits data?? I mean the agent now sends many packets one after another, but I want to reduce that rate so that it sends less packets, one by one. How can I do that?? Should I change the window or the congestion window of the

[ns] Mobile ip handover problem

2009-04-02 Thread Spyros Marinis
Hi all! I am trying to simulate a simple handover scenario, one with tcp, just like in wireless3.tcl, and one with sctp. However, it doesn't work properly and there are time periods where the mobile node doesn't send or receive any packets, while beng in the range of an access point. Handover

Re: [ns] Evaluation of Handover Latency in a WiFi-WiMax scenario

2009-04-04 Thread Spyros Marinis
Hi all! I am working on something similar and I would appreciate if I get an answer. The handover latency you get when running a certain scenario, is always the same? I mean in the same simulation if the mobile node moves from range of node A to node B and then back to A, the two handover

[ns] Ping packets -no acks- SOS help!

2009-06-03 Thread Spyros Marinis
Hello everyone!! I want to use tcp and sctp protocols without receiving acknowledgements. I have tried ping packets, like: set sender1 [new Agent/Ping] $ns_ attach-agent $Server $sender1 for {set i 1} {$i52000} {incr i} {   $ns_ at [expr ($i*0.01)] $sender1 send; } but I don't get exactly what