Commit Graph
17276 Commits
Author SHA1 Message Date
cig 92fb370258 Removed unnecessary sdu_lengths array in nr_ue_get_sdu 2021-08-04 13:06:31 +02:00
cig 05a4c48d96 Bugfix in the generation of UL MAC PDU in Msg3
- restored FIXED subheader length
- restored SHORT subheader in MAX TBS (still unclear the reason behind the
  selection of SHORT subheader here by developer)
2021-08-04 13:06:31 +02:00
cig 6e0737d9e4 Send Msg3 CCCH SDU in SA mode only
- send C-RNTI MAC CE otherwise
- init RA if there are bytes to send and is a PRACH occasion
- minor cleanups
2021-08-04 13:06:31 +02:00
cig 9af71a7a46 Set the tc-rnti only in CBRA
- TC-RNTI is set and used after RAR reception according to the specs
- C-RNTI is used in CFRA
2021-08-04 13:06:31 +02:00
cig b6e3718d70 Changes to nr_write_ce_ulsch_pdu
- takes in input MAC instance
- uses a mac ce struct
- minor fixes
2021-08-04 13:06:31 +02:00
cig 07a80bc84e Do generation of UL padding in nr_ue_get_sdu only
- removed code from outside this function
- generate random padding in RFSIM mode
- generate 0 padding in real-time
- padding is generated either to complete the PDU or to transmit a new one
  when no data from RLC was fetched
2021-08-04 13:06:31 +02:00
cig 02012e77ee Minor MAC UE fixes
- set constant variables to const
2021-08-04 13:06:31 +02:00
cig 021788c7a7 Improved logging in the MAC PDU processing function at gNB
- improved debug logging
- minor fixes and cleanup
2021-08-04 13:06:31 +02:00
cig 5cfa2cd2f4 Removed OAI exit in mac_rlc_data_req when no RB is present
- this prevents crashes when the function is called for LCIDs that have no RB
- and simply print error message and return 0 when no RB is found
2021-08-04 12:49:42 +02:00
cig 4277d4e1bb Fixes to UE ULSCH PDU generation
- included MAC CE sub-PDUs size in the computation of RLC data to transmit
  this fixes the error with residual mac pdu appearing at gNB side when
  transmitting higher amount of data
- got rid of the nr_generate_ulsch_pdu and moved the relevant UL-SCH MAC PDU
  generation procedure within the nr_ue_get_sdu and nr_ue_get_rach
- reduced memcpy calls and unnecessary memory allocations
- fetching RLC data and SDU size from the mac_rlc_data_req, removed the call
  to mac_rlc_get_buffer_occupancy_ind
- introduced a new function to generate the MAC CEs sub-PDUs
- removed unnecessary function input parameters
- minor fixes and cleanup
- enhanced logging
2021-08-04 12:49:42 +02:00
Raphael Defosseux efc696cce9 fix(ci): split 4G RF sim / 5G RF sim into 2 stages
- Fix the SA RF test (wrong conf file)
- No more copy of RAW files in SA
- Fix no-detection of failures on RA

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-03 15:41:16 +02:00
Raphael Defosseux 96997d1eca Merge branch 'integration_2021_wk31' into 'develop'
integration_2021_wk31

See merge request oai/openairinterface5g!1219
2021-08-02 15:07:36 +00:00
Raphael Defosseux 6b6215e628 fix(ci): adding detection of timed-out run on the physims on cluster
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-08-02 10:00:36 +02:00
Raphael Defosseux a9ffbc6b07 Merge remote-tracking branch 'origin/hack-bch-no-sched-sf-0' into develop 2021-08-02 10:00:14 +02:00
Raphael Defosseux 599287b632 Merge remote-tracking branch 'origin/fix-retransmission-rbg' into develop 2021-08-02 09:59:46 +02:00
Raphael Defosseux 5adf940b99 Merge remote-tracking branch 'origin/ci_nsa_2x2_implem' into develop 2021-08-02 09:58:35 +02:00
hardy 58825cd92a fix USRP address detection in xml 2021-07-29 09:42:58 +02:00
Raphael Defosseux 3cfb169b37 fix(build): protobuf location has changed
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-07-29 08:29:27 +02:00
hardy 7c12ec6b30 Merge remote-tracking branch 'origin/ci_update_build_nasmesh' into ci_nsa_2x2_implem 2021-07-29 08:04:19 +02:00
hardy 087a2da298 SA test pipeline udpate 2021-07-28 21:41:15 +02:00
Remi Hardy 32e5e46490 [CI] support for 5G Core (sabox only for the moment) 2021-07-28 09:35:05 +00:00
hardy dabf5c8b55 fix ping target address for module, depending on EPC type 2021-07-27 17:53:22 +02:00
hardy de6d928d1f fix remote access for LogRotation method 2021-07-27 17:37:09 +02:00
hardy 65aa130547 sa xml testcase (basic) 2021-07-27 16:47:43 +02:00
hardy 017b362359 added reboot control of Eth USRP 2021-07-27 15:50:25 +02:00
hardy bd5ac98793 add ping to testcase 2021-07-26 17:35:22 +02:00
hardy 515a30a636 fix avg file size computation when folder is empty 2021-07-26 17:32:28 +02:00
Raphael Defosseux 22e1f0c220 fix(ci): fix build HTML report
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-07-26 08:48:28 +02:00
Remi Hardy 4bfbb6f128 integration_2021_wk30
MR !1206 : nr_ue_remove_high_speed_flag
This flag is always set to 1, 
With multiple DMRS symbols configuration, very recent DMRS containing symbol shall be for channel estimation.

MR !1205 : fix-lte-ue-modem-in-docker-container
We bind the socket to any_addr (instead of localhost), so the commands to the UE can come also from a remote machine

MR !1178 : NR_CSIRS_tomerge
Implementation of CSI RS transmission at gNB

MR !1211 : develop-NSA_SA_fixes
Small fixes for NSA and SA
2021-07-25 07:32:44 +00:00
hardy c93a9497db Merge remote-tracking branch 'origin/develop-NSA_SA_fixes' into integration_2021_wk30_b 2021-07-24 17:56:38 +02:00
hardy e241fb5034 fix ssh remote access to UE module 2021-07-23 16:31:43 +02:00
rmagueta 165b406839 Avoid segmentation fault for LTE 2021-07-23 13:12:35 +01:00
hardy 03edcdeceb make module log storage configurable 2021-07-23 11:55:26 +02:00
Raphael Defosseux 1c907e922f fix(ci): removed the 2 log expected by nasmesh and rbtool builds
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-07-23 10:29:41 +02:00
hardy 94ba6157ef Merge remote-tracking branch 'origin/fix-lte-ue-modem-in-docker-container' into integration_2021_wk30 2021-07-23 09:19:15 +02:00
hardy 0b472dd9f9 Merge remote-tracking branch 'origin/nr_ue_remove_high_speed_flag' into integration_2021_wk30 2021-07-23 09:18:52 +02:00
hardy fad5fbda34 Merge remote-tracking branch 'origin/NR_CSIRS_tomerge' into integration_2021_wk30 2021-07-23 09:18:33 +02:00
luis_pereira87 1beffd1ecc Remove the MAC and RRC context after UL failure when gNB is not connected to CN5G 2021-07-22 14:05:10 +01:00
luis_pereira87 67bccd8c80 Fix handling failure of CFRA procedure for OAI UE 2021-07-22 11:36:52 +01:00
Raphael Defosseux 244a7a9a3d feat(ci): adding support for 5G Core (sabox only for the moment)
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-07-22 12:17:57 +02:00
luis_pereira87 7c61f6d969 Fix pusch_TargetSNRx10 and pucch_TargetSNRx10 in configuration files 2021-07-22 11:13:14 +01:00
luis_pereira87 a038df0459 Discard Random Access when max number of users is achieved 2021-07-22 10:55:46 +01:00
luis_pereira87 95372bd2da Fix RNTI selection for CFRA 2021-07-22 10:51:49 +01:00
luis_pereira87 17f466a9bf Fix define MACRLC idx that overlaps 2021-07-22 10:50:44 +01:00
hardy 7ce90b8dc4 Merge remote-tracking branch 'origin/ci_update_build_nasmesh' into ci_nsa_2x2_implem 2021-07-22 11:41:28 +02:00
hardy c72ac04f63 remove nasmesh compile ; nokrnmod =1 by default 2021-07-22 11:34:41 +02:00
Remi Hardy d7839d8a60 integration_2021_wk29
MR !1193 : Update for 5G SA implementation
2021-07-22 09:14:34 +00:00
francescomani 618e33aca0 adding check for ul failure in nr_csi_meas_reporting 2021-07-22 09:16:10 +02:00
Cedric Roux 4a2c0b1eff bugfix: fix allocation of RBGs for retransmission
When there is a retransmission, we want to use the same number of RBs.

The RBs are allocated by groups (RBGs).

In some cases (like a cell with 25 PRBs), the last RBG contains less RBs.
So in case of a retransmission, if this last RBG was used before we need
to reuse it to have the same number of RBs. If not, we will use more RBs
for the retransmission than the previous transmission.

In an experiment with two UEs (quectel modules) it was seen that when a
retransmission happens with a different number of RBs then the UE is not
happy at all, leading to way more NACKs in the harq processes than should
happen (actually the first NACK was not a NACK at all, but the eNB did
interpret it as a NACK; so the next transmission should simply be discarded
by the UE that successfully received the first transmission; instead the UE
fails to decode the data and sends a NACK, a real one this time).

Maybe it's not the correct solution, but it improve things, there are
much less NACKs.
2021-07-21 23:22:48 +02:00
Cedric Roux f6e0321860 hack: do not use BCH RBs for DL scheduling in subframe 0
The problem is that when using those RBs with MCS 28 we may exceed the
code rate 0.93 and according to 36.213 7.1.7 the UE may skip decoding
PDSCH entirely in this case.

This is a hack. The real solution is to check that the code rate is below
0.93 for each scheduling decision and, I don't know, reduce the MCS if the
code rate is above, so that in the end it is below. That means that we need
a proper resource grid for the configuration of the eNB and this is not an
easy thing (at least from my point of view) given all the possible
configurations for the eNB, so I prefer not to do it rather than do something
incorrect, thus this hack.

The problem of this hack is that we won't use all the available RBs for
scheduling, potentially reducing the maximum throughput achievable.

To be fixed properly at some time, by someone who understands fully the
resource grid and all the possible combinations (fdd/tdd, number of
antennas, whatever else).
2021-07-21 23:22:02 +02:00