Commit Graph
9365 Commits
Author SHA1 Message Date
Thomas Schlichter 2b7e04784e fix linker errors for phy_simulators and NR realtime 2019-06-04 13:43:21 +02:00
Thomas Schlichter 339bb9e410 fix some implicit declarations 2019-06-04 13:43:21 +02:00
Thomas Schlichter e61cb078fc split refsig UE parts from gNB parts 2019-06-04 13:43:20 +02:00
Thomas Schlichter 3ccc9c99e9 move common parts of nr_dlsch.h to nr_transport_common_proto.h 2019-06-04 13:43:20 +02:00
Thomas Schlichter fc8dd8baa1 replace usage of get_Qm() with nr_get_Qm() in NR code 2019-06-04 13:43:20 +02:00
Thomas Schlichter 225ecc50ad remove unused file nr_mcs.c 2019-06-04 13:43:20 +02:00
Ahmed Hussein 77ed36a7b8 Fixing segmentation fault in llr computation
- This was due to alignment problem in rxdataF_ext when odd number of RBs were assigned
2019-06-04 13:43:20 +02:00
Ahmed Hussein c7a0c41191 removing "G" from "NR_UL_gNB_HARQ_t" and some printf's in "nr_ulsch_decoding" 2019-06-04 13:43:20 +02:00
Ahmed Hussein 10e3a299be Restructuring "nr_slot_fep_ul"
- Now it takes input and output pointers instead of gNB struct
2019-06-04 13:43:20 +02:00
Khalid Ahmed 3d9ae4227b Use nr_tti_tx instead of nr_slot_tx 2019-06-04 13:43:20 +02:00
Khalid Ahmed 3414cf31ed removing mac_pdu array 2019-06-04 13:43:20 +02:00
Khalid Ahmed cb09bb9f84 Code review meeting clean ups
- remove printf in nr_ulsch_coding.c
- renaming test_input to mac_pdu
- using memcpy for mac_pdu instead of pointing to data
- remove temp_nfapi struct from header file
2019-06-04 13:43:20 +02:00
Khalid Ahmed c0b4fcfbe4 Adding dummy definition of nr_ue_get_SR to ulsim and dlsim 2019-06-04 13:43:20 +02:00
Ahmed Hussein 4677c0abd7 Fixing ulschsim and applying minor change to ulsim
- Problem was related to UE_id and G
2019-06-04 13:43:20 +02:00
Khalid Ahmed b1c6538783 Adding AWGN noise to ulsim 2019-06-04 13:43:19 +02:00
Ahmed Hussein 02e329a35d SC-FDMA working for 1 SNR loop (enabled using "NR_SC_FDMA" MACRO)
- Added nr_dft at UE side and nr_idft at gNB side
- NR_SC_FDMA can be found in "PHY/defs_nr_common.h"
- For 1 SNR loop, the code executes correctly
- For more loops, it gives a segmentation fault in the LDPC decoder
- The segmentation fault is caused when nr_idft is used
- The code works fine when the "NR_SC_FDMA" is disabled
2019-06-04 13:43:19 +02:00
Khalid Ahmed d34868e693 adding phy_procedures_nrUE_TX to ulsim
- adding SCHED_NR_UE_LIB to ulsim compilation library
- fixing linking compilation problems
- using fapi_nr_dci_pdu_rel15_t struct to initialize PUSCH
- test_input random data is set in phy_procedures_nrUE_TX instead of ulsim
2019-06-04 13:43:19 +02:00
Khalid Ahmed 46968b1216 adding a temp nfapi_nr_ul_config and using it to initialize ulsch
- modifying generate_ue_ulsch_params to work with nfapi_nr_ul_config struct
- removing ulsim_params struct
2019-06-04 13:43:19 +02:00
Ahmed Hussein 176d873083 Shifting the QAM threshold by AMP, instead of shifting the data by AMP_SHIFT
This fixes the errors in bits introduced after LDPC decoding in case of mod_order = 6 and AMO_SHIFT = 9
2019-06-04 13:43:19 +02:00
Ahmed Hussein 63a2e61101 Minor fixes in "ulsim.c" and removing some warnings 2019-06-04 13:43:19 +02:00
Ahmed Hussein 5d0c0be1fe Fixing bug in "nr_ulsch_extract_rbs_single"
One of the function parameters was number of RBs, but instead number of REs was given
2019-06-04 13:43:19 +02:00
Ahmed Hussein c8d0da0dcb Fixing "CRC OK" bug.
Sometimes CRC OK is printed, but there are bits in error at the LDPC decoder output
2019-06-04 13:43:19 +02:00
Ahmed Hussein 15417570aa Restructuring ulsim and introducing more functionalities in RX at gNB 2019-06-04 13:43:19 +02:00
Khalid Ahmed 749bb66988 putting phy procedures into compact functions (UE side)
implementing:
- generate_ue_ulsch_params (customized for ulsim only)
- nr_ue_ulsch_procedures
- nr_ue_pusch_common_procedures
2019-06-04 13:43:19 +02:00
Khalid Ahmed 4a841aa83d fixing pusch_transform_precoding 2019-06-04 13:43:19 +02:00
Ahmed Hussein d9abc574fc Added RB extraction + FFT (completed with testing) 2019-06-04 13:43:19 +02:00
Khalid Ahmed ff440a30c4 SC-FDMA implemented and compiling. (NOT TESTED)!! 2019-06-04 13:43:19 +02:00
Khalid Ahmed c38a485949 adding signal_energy_amp_shift function 2019-06-04 13:43:18 +02:00
Khalid Ahmed 2628b7418d defining AMP_SHIFT 2019-06-04 13:43:18 +02:00
Khalid Ahmed 21b736cff3 Fixing DMRS generation in nr_ulsim 2019-06-04 13:43:18 +02:00
Khalid Ahmed 688acc4911 initializing txdataF_layer with zeros 2019-06-04 13:43:18 +02:00
Khalid Ahmed e73c6c3eca Fixing signal_energy and noise varience calculation 2019-06-04 13:43:18 +02:00
Khalid Ahmed 962c769440 Fixing RE mapping 2019-06-04 13:43:18 +02:00
Khalid Ahmed 1ec87df5a6 adding UL dmrs funtionalities to dmrs_nr.c in NR_UE_TRANSPORT 2019-06-04 13:43:16 +02:00
Khalid Ahmed 9c447c18a0 Removing txdataF from NR_UE_PUSCH struct 2019-06-04 13:42:05 +02:00
Ahmed Hussein 66442aa42d Implementation of LLR computation for 4, 16, and 64 QAM (tested) 2019-06-04 13:42:05 +02:00
Khalid Ahmed 54ebd39b79 changing txdataF to contain one slot only 2019-06-04 13:42:05 +02:00
Khalid Ahmed d9e077ead0 Adding AWGN channel to txdata 2019-06-04 13:42:05 +02:00
Khalid Ahmed 9edbe82dc8 UE IFFT 2019-06-04 13:42:05 +02:00
Khalid Ahmed a536aa298f fixing bugs 2019-06-04 13:42:03 +02:00
Khalid Ahmed bb4cf0df90 Data + DMRS RE mapping 2019-06-04 13:38:18 +02:00
Khalid Ahmed 714452baef fixing txdataF allocation in NR_gNB_DLSCH_t 2019-06-04 12:10:40 +02:00
Khalid Ahmed 566e603671 passing pointers to nr_generate_pdsch instead of structs 2019-06-04 12:10:40 +02:00
Khalid Ahmed 70b6ca6391 adding nr_layer_mapping to ulsim 2019-06-04 11:33:36 +02:00
Ahmed Hussein ef3c6add13 Added "nr_ulsch_unscrambling" + Tested scrambling and unscrambling chain in "ulsim.c" (works)
- Added "nr_ulsch.c" file in NR_TRANSPORT
- Renamed "nr_ulsch.c" in NR_UE_TRANSPORT to "nr_ulsch_ue.c"
- Added "nr_ulsch_unscrambling" declaration to "nr_ulsch.h"
- Added "nr_ulsch_unscrambling" definition to "nr_ulsch.c"
- Added new test in "ulsim.c" to test encoding/decoding + scrambling/unscrambling
2019-06-04 11:33:36 +02:00
Ahmed Hussein 54c96644ae Bug fixes in "ulschsim.c" and "nr_ulsch_coding.c" + minor cleanups 2019-06-04 11:33:36 +02:00
Khalid Ahmed 73db162804 Renaming and moving nr_layer_mapping to a common liberary between UE and gNB 2019-06-04 11:33:36 +02:00
Khalid Ahmed f1d4d5daf5 Using only one nr_modulation funtion across the code 2019-06-04 11:33:36 +02:00
Khalid Ahmed f3ebd69477 PUSCH DMRS generation is implemented 2019-06-04 11:33:36 +02:00
Khalid Ahmed 9b58180c88 removing a duplicate declaration of nr_rx_pdsch 2019-06-04 11:33:36 +02:00