49 Commits
Author SHA1 Message Date
Robert Schmidt 66c3b7d192 Break coding_defs.h dependency on logging module
coding_defs.h included defs_common.h, which pulls in many dependencies,
e.g., the logging module, which pulls in T. However, it does not use
anything of this. So remove, and include stdbool.h instead (because bool
is used in coding_defs.h.

nr_polar_defs.h relied on some includes done in coding_defs. Use
includes for pthreads and SIMD to define types that are used in
nr_polar_defs.h.
2025-09-29 09:04:02 +02:00
Laurent THOMAS f919246121 remove part of code using _m64 type (so old mmx instructions) 2025-01-14 10:07:59 +01:00
Laurent THOMAS d5c72cf843 remove a race condition in viberti_lte and a useless global table 2025-01-14 10:07:30 +01:00
Romain Beurdouche 244355a3d2 fix(nrLDPC_coding_segment): move rate matching, interleaving and their counterparts to segment coding implementation 2025-01-08 08:13:43 +00:00
Laurent THOMAS bba9aac079 fix most of doxygen warnings and errors 2023-10-26 16:47:19 +02:00
luis_pereira87 58f6cb2af9 Implement function for reversing bits with better performance 2023-09-27 08:30:06 +01:00
laurent 615324294b ldpc check based on crc 2023-06-12 10:24:57 +02:00
Roberto Louro Magueta 93756a56eb Fix hardcoded number of layers for the UL 2022-12-14 14:03:22 +00:00
Sakthivel Velumani 5a7f227513 Change LDPC decoder rate based on round/rv 2022-10-04 16:40:12 +02:00
Sakthivel Velumani 1d99c8e695 LDPC iterations as command line parameter 2022-06-08 21:32:07 +05:30
francescomani c4c93cc498 Merge remote-tracking branch 'origin/develop' into NR_dl_ul_fapi_improv 2022-05-12 08:56:45 +02:00
francescomani c6b4f97d19 coderate according to SCF and get tbs,qm,R only at MAC 2022-03-26 13:37:34 +01:00
francescomani 65d0318504 using tbslbrm at mac also for ulsch as in scf spec 2022-03-25 17:52:44 +01:00
francescomani 77153fbf5f TBSLBRM for DL computed ad MAC (added fapi parameter) 2022-02-17 10:16:22 +01:00
hardy d61f45ecb9 Merge remote-tracking branch 'origin/ulsch_decode_mthread' into integration_2020_wk40 2020-10-06 11:00:09 +02:00
Sakthivel Velumani e686da4e48 fixed tbslbrm 2020-09-08 16:08:30 +02:00
cig 9ac6dfee09 Minor fixes UE
- added some descriptions to the code
- fixed hardcoded factors
- removed commented out and unused code
- phy_procedures_nrUE_RX: removed unused do_pdcch_flag
- updated LTE naming to 5G
2020-09-08 14:09:05 +02:00
Raphael Defosseux 4747f287d1 Merge remote-tracking branch 'origin/nr_pucch2_polar' into develop_integration_2020_w25 2020-06-18 11:35:12 +02:00
Raymond Knopp 100f75ba45 polar coding for UCI (PUCCH) integrated into polartest for lengths 12...64 2020-05-14 00:41:15 +02:00
Francesco Mani 6ff42815eb scheduling of msg2 and filling of fapi structures 2020-02-21 16:40:15 +01:00
Florian Kaltenberger debe10c296 fixing a bad merge, removing a log, resetting MAX_LDPC_ITERATIONS=5 2020-02-06 14:57:16 +01:00
Raymond Knopp cf4df7266c fix rate-matching receiver and mappings in nr_dlsch_decoding.c and nr_ulsch_decoding.c. Performance with dlschsim and ulschsim seem correct. Code written for all RV_IDX but only rv_idx=0 tested. ulschsim performance seems a bit too good. 2020-01-08 15:48:46 +01:00
Raymond Knopp c94d7632e0 debugging of nr_dlschsim, rate matching optimization 2020-01-06 23:04:52 +01:00
Francesco Mani 6e38f7540f moving scale inside tbs computation function 2019-10-24 09:14:14 +02:00
Francesco Mani 668de031ec a single function to compute tbs and an additional function to compute tbslbrm 2019-10-21 16:39:02 +02:00
Francesco Mani 57c01460c6 adding mcs tables and using good mcs for tbs computation 2019-09-27 17:07:16 +02:00
Francesco Mani d351060b6b making segmentation BG dependent 2019-09-27 10:21:56 +02:00
Ahmed Hussein aca390e63f Fixed repeating CRC NOK for 7 times, as well as CRC NOK occuring a lot more than CRC OK
- changed Mdlharq to Mlimit when comparing with the round number
- Not incrementing the HARQ round in case of err_flag = 1, until HARQ is implemented
- Changed MAX_LDPC_ITERATIONS to 5 from 4 (provided better performance)
2019-08-13 17:40:59 +02:00
Ahmed bc53a0a771 indentation + some comments 2019-03-07 11:28:08 +01:00
Thomas Schlichter 268d1c8d17 Fix order of DLSCH deinterleaving and rate matching
On the gNB side tha data are first rate-matched and then interleaved.
So on the UE side, the received LLRs have to be deinterleaved first before rate-matching.

This significantly improved the performance, especially for MCS values > 3.
2019-02-07 11:53:24 +01:00
yilmazt b44e15fd06 More warning removals but nr_dlschsim still not working 2019-01-17 21:06:15 +01:00
Raymond Knopp cb9321c65d Merge remote-tracking branch 'origin/nr_pdsch' into nr-polar-encoder-optimizations
Conflicts:
	cmake_targets/CMakeLists.txt
	openair1/PHY/CODING/TESTBENCH/ldpctest.c
	openair1/PHY/CODING/nrLDPC_encoder/ldpc_encoder2.c
	openair1/PHY/CODING/nrLDPC_encoder/ldpc_generate_coefficient.c
	openair1/PHY/CODING/nr_compute_tbs.c
	openair1/PHY/CODING/nr_segmentation.c
	openair1/PHY/MODULATION/slot_fep_nr.c
	openair1/PHY/NR_REFSIG/nr_dmrs_rx.c
	openair1/PHY/NR_TRANSPORT/nr_dci_tools.c
	openair1/PHY/NR_UE_ESTIMATION/nr_dl_channel_estimation.c
	openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
	openair1/SCHED_NR/fapi_nr_l1.c
	openair1/SCHED_NR/nr_ru_procedures.c
	openair1/SCHED_NR/phy_procedures_nr_common.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair1/SCHED_NR_UE/defs.h
	openair1/SCHED_NR_UE/fapi_nr_ue_l1.c
	openair1/SCHED_NR_UE/phy_procedures_nr_ue.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
	targets/RT/USER/nr-gnb.c
	targets/RT/USER/nr-ru.c
	targets/RT/USER/nr-ue.c
2019-01-04 16:46:50 +01:00
Raymond Knopp 2da40731dd Merge branch 'nr-polar-encoder-optimizations' of https://gitlab.eurecom.fr/oai/openairinterface5g into nr-polar-encoder-optimizations
Conflicts:
	openair1/PHY/CODING/TESTBENCH/polartest.c
	openair1/PHY/CODING/nrPolar_tools/nr_polar_encoder.c
	openair1/PHY/CODING/nr_compute_tbs.c
	openair1/PHY/CODING/nr_segmentation.c
	openair1/PHY/INIT/nr_parms.c
	openair1/PHY/NR_TRANSPORT/nr_pbch.c
2018-11-11 09:20:55 +01:00
Guy De Souza fea11c173e Merge with develop-nr 2018-11-06 14:46:16 +01:00
yilmazt 1da3a24c41 Warning removals. 2018-10-30 11:25:50 +01:00
Wolfgang A. Mozart 411d0d6ef0 fixing lots of warnings, but nr-uesoftmodem still crashes 2018-10-27 18:02:17 +02:00
yilmazt 97c65436f6 Merge branch 'nr_pdcch' into develop-nr 2018-10-11 15:37:50 +02:00
Florian Kaltenberger f047570254 Merge branch 'develop-nr' into nr_pdsch 2018-10-01 13:37:58 -07:00
Hongzhi Wang 835034894c update nr segmentation 2018-09-18 13:34:15 +02:00
Hongzhi Wang d6f3297f55 nr ue adding dlsch_decoding 2018-09-13 17:12:25 +02:00
Hongzhi Wang d651fe9c5d nr adding ratematching interleaving in header file 2018-09-13 09:17:53 +02:00
Hongzhi Wang 5905e61ca4 nr adding rate matching interleaving 2018-09-13 08:47:09 +02:00
Hongzhi Wang c8a6bbd528 ue add nr_compute_tbs in header 2018-08-31 17:53:50 +02:00
WEI-TAI CHEN 1a74c352c6 solve the conflict type between crc_byte.c and coding_defs.h 2018-08-29 06:27:31 -07:00
yilmazt a4f8f49eef Polar coding update 1of2 2018-08-22 10:42:29 +02:00
laurent 2e3b588477 fix #include 2018-07-03 22:40:44 +02:00
laurent 6468f32c3b remove precomputed turbo codec interleaver table, remove useless F1 and F2 parameters to turbo codec (also remove global var dependancy between libraries) 2018-07-03 22:40:44 +02:00
Sebastian Wagner 4a523a394d Arrays for CRC calculation are defined as constants. 2018-06-26 12:05:30 +02:00
Raymond Knopp 551f32cc20 more splitting eNB/UE files/directories 2018-04-08 13:00:08 -07:00