sfn
e7da2c88b3
skip the precoding lines of the code if there is no precoding info from nfapi
2021-03-22 18:23:06 +01:00
Thomas Schlichter
bc041092c8
NR_UE: always break out of MAC PDU processing after pdu_len Bytes
...
In case of false positive PDSCH CRC check, a random MAC PDU is processed.
Currently pdu_len is unsigned 16 Bit, so we did break out of the processing loop only if we _exactly_ hit a residual pdu_len of 0, or we hit a LCID of DL_SCH_LCID_PADDING.
If we didn't hit either of these, pdu_len wrapped to a very positive value, and we continued processing the PDU even beyond its bounds!
This behavior was observed with SNR 1 dB and MCS 9.
So better make pdu_len signed and break out of the loop after processing at max. pdu_len Bytes!
2021-03-19 17:45:14 +01:00
Thomas Schlichter
dade64ea43
Merge remote-tracking branch 'develop' into NR_DL_MIMO
2021-03-19 11:18:02 +01:00
Thomas Schlichter
ccee372aa5
NR: don't enable PRINT_CRC_CHECK by default in nr_ulsch_decoding.c
2021-03-18 14:06:51 +01:00
Thomas Schlichter
2a73b2d0c4
NR_UE: fix typo in nr_dlsch_decoding()
2021-03-18 14:02:22 +01:00
Thomas Schlichter
58af72a640
fix nr_dlsim for CI: use AWGN instead of Rayleigh1 channel by default
2021-03-18 13:27:56 +01:00
Thomas Schlichter
62a1cf49ab
NR: initialize t_nrLDPC_time_stats structure
2021-03-18 13:25:18 +01:00
Thomas Schlichter
d7f89ae686
NR: allocate memory for 2 slots of OFDM symbols in txdataF_precoding
2021-03-18 13:23:37 +01:00
Thomas Schlichter
5d6863ddd2
NR_UE: fix memory allocations in phy_init_nr_ue__PDSCH()
2021-03-17 17:01:42 +01:00
hardy
9abc8a6425
Merge remote-tracking branch 'origin/ptrs_rrc_config' into integration_2021_wk11
2021-03-16 16:28:31 +01:00
hardy
d12aaf98e8
Merge remote-tracking branch 'origin/NR_10MHz' into integration_2021_wk11
2021-03-16 16:27:42 +01:00
hardy
dc60f04a46
Merge remote-tracking branch 'origin/NR_MAC_TCI_UCI_GlobalEdge' into integration_2021_wk11
2021-03-16 16:26:41 +01:00
Thomas Schlichter
b7ef903cb4
Merge remote-tracking branch 'develop' into NR_10MHz
2021-03-16 16:13:17 +01:00
sfn
f1083dc14a
Extend nr_dlsim to simulate performance over MIMO Rayleigh1 fading for MIMO test
2021-03-16 14:32:12 +01:00
Thomas Schlichter
8768deaf74
Merge remote-tracking branch 'develop' into ptrs_rrc_config
2021-03-16 14:01:32 +01:00
Thomas Schlichter
3152df445e
Merge remote-tracking branch 'develop' into NR_DL_MIMO
2021-03-16 13:37:07 +01:00
francescomani
5eb86207db
Merge remote-tracking branch 'origin/develop' into NR_MAC_TCI_UCI_GlobalEdge
2021-03-16 08:49:54 +01:00
sfn
1c2cbc76dc
review pdsch precoding
2021-03-15 21:43:04 +01:00
hardy
de32d6d555
Merge remote-tracking branch 'origin/rohan_ulsim2RxFix' into integration_2021_wk11
2021-03-15 09:31:57 +01:00
sfn
7dc97108e1
Fix indentation issues in nr_dlsch_demodulation.c
2021-03-12 13:04:14 +01:00
Remi Hardy
17e10eb2a6
Merge remote-tracking branch 'origin/PBCHNRTCFIX' into integration_2021_wk10
2021-03-12 11:07:58 +01:00
Remi Hardy
c12dd11d6e
Merge remote-tracking branch 'origin/develop-SA-RA' into integration_2021_wk10
2021-03-12 11:07:25 +01:00
sfn
3a83e8df03
Fix pdsch UE variables memory allocation
2021-03-12 09:19:44 +01:00
Shweta Shrivastava
a0fa146e04
Merge branch 'ptrs_rrc_config' of https://gitlab.eurecom.fr/oai/openairinterface5g into ptrs_rrc_config
2021-03-10 22:58:06 -06:00
Shweta Shrivastava
7eec3e3bcc
Merge branch 'develop' into ptrs_rrc_config
2021-03-10 22:37:44 -06:00
rmagueta
8cec7f7171
Revert commit b6ab1eb9
2021-03-10 20:04:14 +00:00
Remi Hardy
51c55f6f6a
Merge remote-tracking branch 'origin/gnb-threadpool' into integration_2021_wk10
2021-03-09 16:13:09 +01:00
Remi Hardy
1142acf0fe
Merge remote-tracking branch 'origin/t-gnb-tracer' into integration_2021_wk10
2021-03-09 16:12:52 +01:00
Thomas Schlichter
82cd7c44da
nr_ulsim: whitespace cleanup
2021-03-09 13:11:16 +01:00
rohan
7da57e7608
Update ulsim.c, whitespace error corrected.
2021-03-09 12:04:42 +01:00
Thomas Schlichter
2cf4daefa8
NR: move nr_bandtable from nr_mac_common.c to nr_common.c so PHY can use it, too
2021-03-09 11:56:06 +01:00
cig
a2e2968244
Fix after review MR 1039
...
- use LOG_D for debug logging
2021-03-09 10:06:33 +01:00
Thomas Schlichter
681c03667d
NR: fix init_symbol_rotation() for UL
2021-03-08 16:23:20 +01:00
Thomas Schlichter
606fa3c3aa
fix nr_prachsim: 3.5 GHz is _not_ a valid DL frequency for 30 kHz SCS, so change it to 3.6 GHz
2021-03-08 10:59:43 +01:00
Thomas Schlichter
2411743f44
gNB: move get_band() to its only user in nr_init.c
2021-03-05 17:27:45 +01:00
Thomas Schlichter
2266d4611a
NR_UE: move OFDM symbol cut position handling to nr_slot_fep()
...
this slightly cleans up nr_initial_sync() and UE_thread()
2021-03-05 15:02:18 +01:00
Thomas Schlichter
dd275d0148
improve nr_slot_fep() and variants
2021-03-05 15:01:19 +01:00
Thomas Schlichter
eab6379bff
gNB: cut OFDM symbol for PUSCH reception within 1/8th of CP to avoid ISI
2021-03-05 14:06:09 +01:00
Laurent THOMAS
a0922cef2f
merge develop
2021-03-04 14:49:38 +01:00
Laurent THOMAS
6c7dc65981
Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into gnb-threadpool
2021-03-04 12:05:01 +01:00
Rohan Patil
06b368914b
PBCH test case support for non-zero bchpyload
2021-03-04 15:19:22 +05:30
rohan
bae3bebdeb
Update ulsim.c, build issue resolved.
2021-03-04 08:02:48 +01:00
Thomas Schlichter
62612feebf
change get_band() to take the duplex spacing into account
2021-03-03 18:02:10 +01:00
Thomas Schlichter
7a6f789aed
Merge remote-tracking branch 'develop' into NR_FDD_FIX
2021-03-03 17:59:17 +01:00
cig
f2bc1012be
Minor cleanup UE
...
- removed commented out code
- improved logging in UL channel estimation
- minor fixes according to OAI coding guidelines
- moving fetching TDD configuration parameters in nr-ue.c only in TDD case
2021-03-03 17:58:07 +01:00
Thomas Schlichter
01645168f0
NR_UE: handle initial TA the same way as TA updates, independent of the UE_mode
...
In FDD mode, the UE_mode switches to PUSCH mode before the initial TA value was applied.
Because of this, the ta_command was misinterpreted.
Fix this by adding 31 to the initial TA comamnd and handle it the same as TA updates.
2021-03-03 17:58:07 +01:00
Rohan Patil
429a5d4187
Support added for 2 RX Antenna case in ulsim and fixed indexing issue in gNB RX chain
2021-03-03 17:10:02 +05:30
francescomani
97ed2dfe5b
Merge remote-tracking branch 'origin/develop' into NR_10MHz
2021-03-02 14:31:12 +01:00
rmagueta
5f66269a8b
Merge remote-tracking branch 'origin/develop' into develop-SA-RA
...
# Conflicts:
# openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_ulsch.c
2021-03-02 12:01:11 +00:00
Cedric Roux
95b659ab44
T tracer: add gnb tracer
...
Minimalist gnb tracer to trace (for the moment) rxdataF when some
decoding for PUCCH or PUSCH has been done.
Important: T_BUFFER_MAX and T_CACHE_SIZE have been changed. T_BUFFER_MAX
is twice as big as before. T_CACHE_SIZE has been devided by two. Globally,
the memory usage of the T tracer is the same, but since we divided by two
the number of buffers in the cache, we may hit some realtime problems if
all the buffers are busy at some point. The simple solution would be to
use 8192*2 for T_CACHE_SIZE as it was, but then we double the memory usage
of the T tracer. This, or another solution, to be defined.
2021-03-02 10:08:00 +01:00