src/propagation/model/buildings-propagation-loss-model.cc
changeset 8244 ee25b5332a67
parent 8239 30a445e1f68b
equal deleted inserted replaced
8243:6b9cd1067820 8244:ee25b5332a67
   821 
   821 
   822 
   822 
   823 double
   823 double
   824 BuildingsPropagationLossModel::DoCalcRxPower (double txPowerDbm, Ptr<MobilityModel> a, Ptr<MobilityModel> b) const
   824 BuildingsPropagationLossModel::DoCalcRxPower (double txPowerDbm, Ptr<MobilityModel> a, Ptr<MobilityModel> b) const
   825 {
   825 {
   826   return txPowerDbm + GetLoss (a, b);
   826   return txPowerDbm - GetLoss (a, b);
   827 }
   827 }
   828 
   828 
   829 
   829 
   830 } // namespace ns3
   830 } // namespace ns3