Public Member Functions | |
MrclWirelessPhy () | |
void | sendDown (Packet *p) |
int | sendUp (Packet *p) |
double | getL () const |
double | getLambda () const |
Node * | node (void) const |
double | getPtconsume () |
double | getDist (double Pr, double Pt, double Gt, double Gr, double hr, double ht, double L, double lambda) |
virtual int | command (int argc, const char *const *argv) |
virtual void | dump (void) const |
void | node_on () |
void | node_off () |
double | getAntennaZ () |
double | getPt () |
double | getRXThresh () |
double | getCSThresh () |
double | getFreq () |
void | node_sleep () |
void | node_wakeup () |
bool & | Is_node_on () |
bool | Is_sleeping () |
Protected Types | |
enum | ChannelStatus { SLEEP, IDLE, RECV, SEND } |
Protected Attributes | |
double | Pt_ |
double | Pt_consume_ |
double | Pr_consume_ |
double | P_idle_ |
double | P_sleep_ |
double | P_transition_ |
double | T_transition_ |
double | last_send_time_ |
double | channel_idle_time_ |
double | update_energy_time_ |
double | freq_ |
double | lambda_ |
double | L_ |
double | RXThresh_ |
double | CSThresh_ |
double | CPThresh_ |
Antenna * | ant_ |
DeiPropagation * | propagation_ |
Modulation * | modulation_ |
bool | node_on_ |
MrclSleep_Timer | sleep_timer_ |
int | status_ |
Private Member Functions | |
int | initialized () |
void | UpdateIdleEnergy () |
void | UpdateSleepEnergy () |
EnergyModel * | em () |
Friends | |
class | MrclSleep_Timer |
Definition at line 68 of file mrcl_wireless-phy.h.
enum MrclWirelessPhy::ChannelStatus [protected] |