Commit 10ff25e5 authored by Teodora Vladić's avatar Teodora Vladić

Decompress IQ properly for ARM architecture

Signed-off-by: default avatarTeodora Vladić <teodora.vladic@openairinterface.org>
Fixes: https://github.com/duranta-project/openairinterface5g/commit/f65b8f564ffc90af553865784c8074170ac04e39 ("Correctly extract the PUSCH PRBs from an internet frame (one fragment)")
parent a52883c0
......@@ -724,7 +724,7 @@ int xran_fh_rx_read_slot(ru_info_t *ru, int *frame, int *slot)
xranlib_decompress_avx512(&bfp_decom_req, &bfp_decom_rsp);
#elif defined(__arm__) || defined(__aarch64__)
armral_bfp_decompression(pRbElm->iqWidth, numRB, (int8_t *)src, (int16_t *)local_dst);
armral_bfp_decompression(pRbElm->iqWidth, numRB, (int8_t *)src, (int16_t *)(local_dst + startRB * N_SC_PER_PRB));
#else
AssertFatal(1 == 0, "BFP compression not supported on this architecture");
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment