[ns] to recover the RSS value

2012-11-03 Thread Basma Bejaoui

Hi every body , i'm trying to recover RSS value in a handover procedure,
I use this instruction defined in mac/wirelss-phy.cc
p-txinfo_.RxPr
but the value is always null ??
why ?
and how can I resolve this problem??
thx in advance
-- 
*Cordialement*
*Basma Bejaoui*
*Ingénieur Informatique, Génie Télécommunication et Réseaux *
*+216  20 09 52 02 *


[ns] how to Re compile NS2 after modifing a .cc file ?

2012-11-03 Thread Basma Bejaoui

I modify a .cc files for my project simulation,
How to recompile NS2, to consider the modification ??
thx

-- 
*Cordialement*
*Basma Bejaoui*
*Ingénieur Informatique, Génie Télécommunication et Réseaux *
*+216  20 09 52 02 *


Re: [ns] how to Re compile NS2 after modifing a .cc file ?

2012-11-03 Thread Rafael P B Mota

Just run make command in ns-2.xx folder.
Rafael
Em 03/11/2012 07:23, Basma Bejaoui bejaoui.ba...@gmail.com escreveu:


 I modify a .cc files for my project simulation,
 How to recompile NS2, to consider the modification ??
 thx

 --
 *Cordialement*
 *Basma Bejaoui*
 *Ingénieur Informatique, Génie Télécommunication et Réseaux *
 *+216 20 09 52 02 *



Re: [ns] to recover the RSS value

2012-11-03 Thread Saravanan Kandasamy

Hi,

I am not so clear on your description.

1. Where do you want to retrieve the Pr value, in mac/wireless-phy.cc or
else where?

2. If within mac/wireless-phy.cc, you may use Pr or p-txinfo_.getTxPr()
depending the function where you are invoking the value.

rgds
Saravanan K


On Sat, Nov 3, 2012 at 8:39 AM, Basma Bejaoui bejaoui.ba...@gmail.comwrote:


 Hi every body , i'm trying to recover RSS value in a handover procedure,
 I use this instruction defined in mac/wirelss-phy.cc
 p-txinfo_.RxPr
 but the value is always null ??
 why ?
 and how can I resolve this problem??
 thx in advance
 --
 *Cordialement*
 *Basma Bejaoui*
 *Ingénieur Informatique, Génie Télécommunication et Réseaux *
 *+216 20 09 52 02 *



[ns] about contention window

2012-11-03 Thread shiny

hi frndz,
In ns2 back end file mac i have found getCWMin() function was called in
mac-802_11.cc ,mac-802_11Ext.cc. I want to where this function was actually
defined. can anybody help me plz. am eagerly awaiting for ur reply...
-- 
With Regards,
John Shiny.J