equal
deleted
inserted
replaced
160 /** |
160 /** |
161 * MAC SAP |
161 * MAC SAP |
162 */ |
162 */ |
163 |
163 |
164 void |
164 void |
165 LteRlcAm::DoNotifyTxOpportunity (uint32_t bytes) |
165 LteRlcAm::DoNotifyTxOpportunity (uint32_t bytes, uint8_t layer) |
166 { |
166 { |
167 NS_LOG_FUNCTION (this << bytes); |
167 NS_LOG_FUNCTION (this << bytes); |
168 NS_ASSERT_MSG (bytes > 2, "Tx opportunity too small = " << bytes); |
168 NS_ASSERT_MSG (bytes > 2, "Tx opportunity too small = " << bytes); |
169 |
169 |
170 if ( m_statusPduRequested && ! m_statusProhibitTimer.IsRunning () ) |
170 if ( m_statusPduRequested && ! m_statusProhibitTimer.IsRunning () ) |
498 // Send RLC PDU to MAC layer |
498 // Send RLC PDU to MAC layer |
499 LteMacSapProvider::TransmitPduParameters params; |
499 LteMacSapProvider::TransmitPduParameters params; |
500 params.pdu = packet; |
500 params.pdu = packet; |
501 params.rnti = m_rnti; |
501 params.rnti = m_rnti; |
502 params.lcid = m_lcid; |
502 params.lcid = m_lcid; |
|
503 params.layer = layer; |
503 |
504 |
504 m_macSapProvider->TransmitPdu (params); |
505 m_macSapProvider->TransmitPdu (params); |
505 } |
506 } |
506 |
507 |
507 void |
508 void |