[ns] FW: Passing variables from Wireless-Phy to MAC

Dan Dechene ddechene at uwo.ca
Wed Nov 15 12:24:49 PST 2006


Hello again,

Specifically the received power. In wireless-phy.cc, the comparison is made
whether or not the received power meets the CSthresh and RXthresh. I want to
able store this received power (that is >Csthresh but <Rxthresh) in a
variable at the MAC layer for further processing.

Hope that clarified what I am trying to do.

Thanks in advance,


Dan

-----Original Message-----
From: ns-users-bounces at ISI.EDU [mailto:ns-users-bounces at ISI.EDU] On Behalf
Of Dan Dechene
Sent: Wednesday, November 15, 2006 12:02 PM
To: NS-2
Subject: [ns] Passing variables from Wireless-Phy to MAC


Hello all,

 

I am trying to access information from each packet coming in at the PHY
Layer (wireless-phy) and access that information at the MAC layer. Does
anyone know a good way to pass this information up to the MAC (I am talking
about information for both packets received as well as ones that were not
received, so I cannot just simply grab that information from the packet
passed up).

 

Hope this makes sense.

 

Dan

 



More information about the Ns-users mailing list