src/lte/model/lte-enb-phy.cc
changeset 9048 4aeb9111981b
parent 9047 284d30c8dd42
child 9053 974762654b12
--- a/src/lte/model/lte-enb-phy.cc	Thu Jul 19 13:02:41 2012 +0200
+++ b/src/lte/model/lte-enb-phy.cc	Mon Jul 23 18:57:37 2012 +0200
@@ -324,13 +324,20 @@
 }
 
 void
-LteEnbPhy::DoSetDownlinkSubChannels ()
+LteEnbPhy::SetDownlinkSubChannels (std::vector<int> mask)
 {
   NS_LOG_FUNCTION (this);
+  m_listOfDownlinkSubchannel = mask;
   Ptr<SpectrumValue> txPsd = CreateTxPowerSpectralDensity ();
   m_downlinkSpectrumPhy->SetTxPowerSpectralDensity (txPsd);
 }
 
+std::vector<int>
+LteEnbPhy::GetDownlinkSubChannels (void)
+{
+  NS_LOG_FUNCTION (this);
+  return m_listOfDownlinkSubchannel;
+}
 
 Ptr<SpectrumValue>
 LteEnbPhy::CreateTxPowerSpectralDensity ()