Re: [ns] to recover the RSS value

2012-11-04 Thread Basma Bejaoui

Hi,

I tryed (p-txinfo_.getTxPr()) in handover.cc file, it returns :

_RSS__
 
4701078767221575252533258498677752091175435645514137209324564737773203026335495769300515350221373503471893237663974772597738489095006859542959597859536422282128501859411807524880384.00


this value of RSS is the value measured at the moment of the instruction
execution, isn't it ?

thx


2012/11/4 Basma Bejaoui bejaoui.ba...@gmail.com

 Hi Sir
 which particular location ?
 is this statement used only in mac/wireless-phy.cc file ??
 thx in advance


 2012/11/3 Saravanan Kandasamy svana...@gmail.com

 Hi,

 p-txinfo_.RxPr is a packet stamp, if you dont record anything you dont
 retrieve anything. If you like to use this, first you have to check if
 anything recorded at place you wanted.

 p-txinfo_.getTxPr() is a live packet information retrieval. It will
 return Pr of a packet at a particular location instantaneously

 rgds
 SK


 On Sat, Nov 3, 2012 at 12:57 PM, Basma Bejaoui 
 bejaoui.ba...@gmail.comwrote:

 Hi Sir,
 I want to use RSS value in handover1.cc file , so I invoked the packet
 object and put the instruction

 return (p-txinfo_.RxPr)

 but the return is always = 0.00

 I'm trying  p-txinfo_.getTxPr() 

 thanks for helping

 2012/11/3 Saravanan Kandasamy svana...@gmail.com

 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 *





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





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




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


[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 *


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 *