From 7ebe3d30d15e9c0764ffeb6d2ba43988c5006d50 Mon Sep 17 00:00:00 2001 From: Gard Spreemann Date: Wed, 21 Sep 2022 19:04:09 +0000 Subject: [PATCH] lte: (fixes #748) compare against UL bandwidth instead of DL in LteFrStrictAlgorithm --- src/lte/model/lte-fr-strict-algorithm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lte/model/lte-fr-strict-algorithm.cc b/src/lte/model/lte-fr-strict-algorithm.cc index c809de86f..4e1291085 100644 --- a/src/lte/model/lte-fr-strict-algorithm.cc +++ b/src/lte/model/lte-fr-strict-algorithm.cc @@ -340,7 +340,7 @@ LteFrStrictAlgorithm::InitializeUplinkRbgMaps () NS_ASSERT_MSG (m_ulCommonSubBandwidth <= m_ulBandwidth,"UlCommonSubBandwidth higher than UlBandwidth"); NS_ASSERT_MSG (m_ulEdgeSubBandOffset <= m_ulBandwidth,"UlEdgeSubBandOffset higher than UlBandwidth"); NS_ASSERT_MSG (m_ulEdgeSubBandwidth <= m_ulBandwidth,"UlEdgeSubBandwidth higher than UlBandwidth"); - NS_ASSERT_MSG ((m_ulCommonSubBandwidth + m_ulEdgeSubBandOffset + m_ulEdgeSubBandwidth) <= m_dlBandwidth, + NS_ASSERT_MSG ((m_ulCommonSubBandwidth + m_ulEdgeSubBandOffset + m_ulEdgeSubBandwidth) <= m_ulBandwidth, "(UlCommonSubBandwidth+UlEdgeSubBandOffset+UlEdgeSubBandwidth) higher than UlBandwidth"); for (uint8_t i = 0; i < m_ulCommonSubBandwidth; i++)