Update MIMO on Ctrl signaling for having the same behavior of data
authorMarco Miozzo <marco.miozzo@cttc.es>
Fri, 29 Jun 2012 11:01:30 +0200
changeset 9040 d65e695781d2
parent 9039 5bdf0c1be85f
child 9041 f04376f2d4ac
Update MIMO on Ctrl signaling for having the same behavior of data
src/lte/model/lte-spectrum-phy.cc
--- a/src/lte/model/lte-spectrum-phy.cc	Thu Jun 28 17:30:43 2012 +0200
+++ b/src/lte/model/lte-spectrum-phy.cc	Fri Jun 29 11:01:30 2012 +0200
@@ -875,11 +875,7 @@
   // apply transmission mode gain
   NS_LOG_DEBUG (this << " txMode " << (uint16_t)m_transmissionMode << " gain " << m_txModeGain.at (m_transmissionMode));
   NS_ASSERT (m_transmissionMode < m_txModeGain.size ());
-  if (m_transmissionMode > 0)
-    {
-      // Control signaling always is tranmissted in Tx diversity mode
-      m_sinrPerceived *= m_txModeGain.at (1);
-    }
+  m_sinrPerceived *= m_txModeGain.at (m_transmissionMode);
   // TODO: Check correctness
   bool error = false;
   if (!error)