1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
private:
void ReceivePacket (Ptr<Socket> socket);
void SetPosition (Ptr<Node> node, Vector position);
Vector GetPosition (Ptr<Node> node);
void AdvancePosition0 (Ptr<Node> node);
void AdvancePosition1 (Ptr<Node> node);
Ptr<Socket> SetupPacketReceive (Ptr<Node> node);
void MonitorSnifferRx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, double signalDbm, double noiseDbm);
void MonitorSnifferTx (Ptr<const Packet> packet, uint16_t channelFreqMhz, uint16_t channelNumber, uint32_t rate, bool isShortPreamble, uint8_t txPower);
double stability (double RXThr, double SS1, double SS2, double Thr1, double Thr2, double DSS, double u1, double u2, double LS, double LU);
// Attributes
double RXThr;
double SS1;
double SS2;
//double SS2 = signalDbm;
double Thr1;
double Thr2;
double DSS;
double u1;
double u2;
double LS;
double LU;
|