Commit Graph
3397 Commits
Author SHA1 Message Date
Ahmed Hussein 2660f4ea4f Added frame loop to ulsim 2019-08-23 16:08:57 +02:00
Ahmed Hussein 0e78faa744 TBS fix at UE side + minor restructuring in "phy_procedures_nrUE_TX"
- TBS calculation was performed 2 times. Once in "phy_procedures_nrUE_TX" and
  another in "nr_ue_ulsch_procedures". The TBS calculation was wrong in "phy_procedures_nrUE_TX"
  and correct in "nr_ue_ulsch_procedures".

- The data generation was performed in "phy_procedures_nrUE_TX" with a wrongly
  calculated TBS because "ulsch_ue->nb_re_dmrs" wasn't set to a value, so the calculated
  TBS would be more than it should be. This doesn't create a problem in the test because
  the comparison between the TX and RX data is made using the correctly calculated TBS
  which is smaller.

- Solution was to perform data generation in "nr_ue_ulsch_procedures", and remove TBS calculation
  in "phy_procedures_nrUE_TX"
2019-08-23 16:08:57 +02:00
Ahmed Hussein 294e425645 Minor fixes and edits in ulsch_decoding 2019-08-23 16:08:57 +02:00
Khalid Ahmed 1d35890259 Add macro to print CRC OK at gNB PUSCH 2019-08-23 16:08:57 +02:00
Khalid Ahmed bb2efbe42c optimizing nr_ue_ulsch_procedures 2019-08-23 16:08:57 +02:00
Ahmed Hussein 779e8996e3 Minor fixes
- removing "Nsymb_pusch" and "Nsc_pusch" from "NR_UE_ULSCH_t"
- using "number_of_symbols" from "NR_UL_UE_HARQ_t" instead
- removing "generate_ue_ulsch_params"
2019-08-23 16:08:57 +02:00
Khalid Ahmed fc2bbeef69 Adding VCD liberaries to nr-softmodem/nr-uesoftmodem 2019-08-23 16:08:56 +02:00
Khalid Ahmed 69abec3df1 Fix ulsim and PUSCH in rf-simulator
- initialize PUSCH parameters properly
2019-08-23 16:08:56 +02:00
Thomas Schlichter 34899cd404 fix compilation of phy simulators introduced from the usage of get_band() 2019-08-23 16:08:56 +02:00
Khalid Ahmed 9148716641 TDD fixes in real-time environment 2019-08-23 16:08:56 +02:00
Khalid Ahmed 2b94608329 handle tx_offset with negative value 2019-08-23 16:08:56 +02:00
Khalid Ahmed 35b85d456c fixing a memory leak in nr_ue_ulsch_procedures 2019-08-23 16:08:56 +02:00
Khalid Ahmed f9b583e06e PUSCH running with rfsimulator 2019-08-23 16:08:56 +02:00
Thomas Schlichter 4541922258 fix crashes in nr_ulsch_decoding
- initialize p_decParams->Z from harq_process not only in round 0
- do not set opp_enabled=1, this crashes in LDPC encoder
2019-08-23 16:08:56 +02:00
Thomas Schlichter f51796180d fix gNB linker error and various warnings 2019-08-23 16:08:56 +02:00
Ahmed Hussein abfd072376 channel estimation, compensation, etc ..
Added the following folder:
- ../openair1/PHY/NR_ESTIMATION/

Added the following file to CMakelists.txt:
- ../openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c

Added the following functions:
- nr_pusch_dmrs_rx
- nr_gold_pusch
- nr_ulsch_channel_level
- nr_ulsch_channel_compensation
- nr_ulsch_scale_channel is commented out (I think only used for downlink)

Changes from Khalid Ahmed Mahmoud Mohamed:
- nr_pusch_channel_estimation is used
- nr_ulsch_scale_channel is used
- nr_ulsch_channel_level is used
- nr_ulsch_channel_compensation is used
- multiple logging options for channel and signal magnitude
2019-08-23 16:08:56 +02:00
Ahmed Hussein 9d27079f05 adding PUSCH procedures to gNB side in RT with some logs
- removed gNB RT from "ru_procedures.c" to "nr_ru_procedures"
- added a new thread "nr_feprx_thread"
- added some functionalities for fep for rx in "nr_ru_procedures.c"
2019-08-23 16:08:56 +02:00
Khalid Ahmed 978f683eca using LOG_I instead of LOG_D in RT PUSCH UE side 2019-08-23 16:08:56 +02:00
Thomas Schlichter ece26036e6 Consolidate header files for nr_phy_scope 2019-08-23 16:08:56 +02:00
Khalid Ahmed 705f2c1e42 enabling PUSCH UE side in RT 2019-08-23 16:08:56 +02:00
Florian Kaltenberger 26f1e090c5 fixing a bug in the allocation of the UE HARQ structures that was causing a segfault. Fixing some compiler warnings 2019-08-23 14:06:46 +02:00
Florian Kaltenberger ca1759b9e3 Merge branch '441-problems-transmitting-data-via-nr-pdsch' into 'develop-nr'
Resolve "Problems transmitting data via NR-PDSCH"

See merge request oai/openairinterface5g!658
2019-08-23 14:02:52 +02:00
Florian Kaltenberger f2f8d47384 hotfix: replacing msg with printf in unitary simulators (msg(...) was replaced with LOG_D(PHY,...) but it was used before log was initialized) 2019-08-20 09:13:02 +02:00
Raphael Defosseux e4632f204b CI: dummy commit to re-run CI job
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-07-26 15:37:55 +02:00
Ahmed Hussein e12c1ccc70 Adding PDCCH OK 2019-08-13 17:40:59 +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 Hussein 37015999e5 DL bug fixes
- Setting the payload to random data instead of all zeros at the Tx side

- Handling "nb_symb_sch" equal to 0 in "phy_procedures_nrUE_RX" which prevents
  entering "nr_ue_pdsch_procedures"

- Handling symbol loop problem in "nr_ue_pdsch_procedures"

- Handling resource block loop problem in "nr_rx_pdsch"
2019-08-13 17:37:42 +02:00
Florian Kaltenberger 1927e34312 Merge remote-tracking branch 'origin/develop-nr' into develop-nr-merge 2019-08-11 18:03:31 +02:00
yilmazt 7bb5320716 develop-nr up-to-date as of 8.8.19 2019-08-08 17:44:19 +02:00
Florian Kaltenberger a54cdfa3fb UE phy scope now displays all OFDM symbols of PDSCH 2019-08-08 16:48:45 +02:00
Florian Kaltenberger 51aa523c50 bugfix from Fraunhofer 2019-08-08 16:48:22 +02:00
Florian Kaltenberger 03ca7391d3 Merge remote-tracking branch 'origin/ue_adjust_gain' into integration_develop-nr_2019w32 2019-08-07 15:20:39 +02:00
Florian Kaltenberger 28cf0350fc Merge remote-tracking branch 'origin/ue_dlsch-multi-threading' into integration_develop-nr_2019w32 2019-08-07 15:20:17 +02:00
yilmazt 920c1452bd Minor changes to the organization of nr_phy simulators 2019-07-31 17:40:05 +02:00
yilmazt 4967e1b1ac develop&-nr up-to-date as of 30.7.19 2019-07-30 22:01:48 +02:00
Cedric Roux e844ed07d6 bugfix 2019-07-26 11:15:52 +02:00
Hongzhi Wang 3171ece714 nr ue adding adjust gain 2019-07-26 10:33:34 +02:00
yilmazt f37a17e540 develop&-nr current as of 22.7.19 & OAI fully ready for testing 2019-07-22 21:56:44 +02:00
yilmazt e823ae9d0b phy_simulators working again 2019-07-20 17:52:32 +02:00
Hongzhi Wang 660278a6d8 clean up dlsch decoding 2019-07-18 10:25:58 +02:00
yilmazt ff6710c898 develop-nr current as of 16.7.19 2019-07-16 17:06:20 +02:00
Raphael Defosseux dccda75168 Fix for FDD DL performance issue
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2019-07-16 12:33:12 +02:00
yilmazt 2b321fd1c7 Merging latest develop commits 2019-07-16 11:20:24 +02:00
Raphael Defosseux af93bf9232 Merge remote-tracking branch 'origin/ci-develop-multi-rru-support' into develop_integration_2019_w28 2019-07-12 11:07:05 +02:00
Raphael Defosseux 78fb79016d Merge remote-tracking branch 'origin/bugfixes-2019-w28' into develop_integration_2019_w28 2019-07-12 11:06:44 +02:00
laurent 3dfce6380e fix as per branch name 2019-07-11 15:42:40 +02:00
Cedric Roux 5775d325e0 phy: do not put random bits in unused DCI
This used to be done to ease power estimation in the UE,
but this is not correct. Let's put no energy in the REs
with no DCI data, which is what needs to be done.

Plus it consumes a lot of CPU because of calling taus()
way too much.
2019-07-11 15:26:00 +02:00
Raphael Defosseux 729aab5798 Merge remote-tracking branch 'origin/nfapi_cleanup1' into develop_integration_2019_w30 2019-07-24 08:29:01 +02:00
Raphael Defosseux 4eee2460f9 Merge remote-tracking branch 'origin/bugfix-pucch-power-estimation' into develop_integration_2019_w30 2019-07-23 13:02:42 +02:00
Raphael Defosseux bfc3912f3e Merge remote-tracking branch 'origin/loadtester_bugfixes' into develop_integration_2019_w30 2019-07-23 13:02:16 +02:00