We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d3b162 commit 22cbb6bCopy full SHA for 22cbb6b
lib/fapi_adaptor/mac/fapi_to_mac_data_msg_translator.cpp
@@ -183,7 +183,12 @@ static void convert_fapi_to_mac_pusch_uci_ind(mac_uci_pdu::pusch_type& mac_pusch
183
if (fapi_pusch.pdu_bitmap.test(fapi::uci_pusch_pdu::HARQ_BIT)) {
184
mac_uci_pdu::pusch_type::harq_information& harq = mac_pusch.harq_info.emplace();
185
harq.harq_status = fapi_pusch.harq.detection_status;
186
- harq.payload = fapi_pusch.harq.payload;
+ if (fapi_pusch.harq.payload.size() > 0) {
187
+ harq.payload = fapi_pusch.harq.payload;
188
+ } else {
189
+ harq.payload.resize(fapi_pusch.harq.expected_bit_length);
190
+ harq.payload.reset();
191
+ }
192
}
193
194
// Fill CSI Part 1.
0 commit comments