Commit Graph
6736 Commits
Author SHA1 Message Date
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
Rahul Gottipati 4ec3434128 Rebase to latest develop 2021-08-04 14:57:52 +05:30
Raghavendra Dinavahi 6d051b4229 Changes in ASN extraction PERL script 2021-08-03 14:27:11 +02:00
Gokul Srinivasan 85b8f78d71 process ID overflow bugfix 2021-08-03 17:57:11 +05:30
Raghavendra Dinavahi 7043f64da3 Fixes of compilation errors after ASN update 2021-08-03 14:27:11 +02:00
Raghavendra Dinavahi 2380646da0 Updated ASN to Spec 38.331 version 16.4.1 2021-08-03 14:27:11 +02:00
francescomani 39307247c9 change error log to log_d to avoid flooding of error messages at ue 2021-08-02 12:49:50 +02:00
francescomani 5c744429c9 bugfix: not scheduling pucch transmission at UE when there is only negative SR 2021-08-02 12:47:32 +02:00
Sakthivel Velumani 6050776f55 Merge branch 'develop' into prb_based_dl_channel_estimation 2021-08-02 12:17:03 +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
Abhijith 94808d4326 Added switching delay requirements 2021-07-30 15:57:36 +05:30
Laurent OpenCells d649434be9 Merge branch 'develop' of https://gitlab.eurecom.fr/oai/openairinterface5g into code-cleanup-20210716 2021-07-29 22:29:52 +02:00
francescomani d9fdbe6338 fix for pucch prb size 2021-07-29 15:59:02 +02:00
francescomani 8d7636bb1e temp fix for SIB1 coreset 2021-07-29 14:31:38 +02:00
Abhijith 000142c3e3 Cosmetic changes 2021-07-29 16:00:23 +05:30
spclab ac4ae0e0fd Hardcodings removed fully, system runs but unstable 2021-07-27 15:10:54 +05:30
francescomani ea6cd95009 bugfix in rrc configuration 2021-07-27 07:29:19 +02:00
francescomani d2127b65f3 flexible csi configuration including do_csirs config parameter 2021-07-26 12:45:04 +02:00
francescomani 17ee4648c7 fixes in ssb rsrp functions at ue 2021-07-26 11:47:32 +02:00
francescomani 5c70aa96c4 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-26 07:39:57 +02:00
Laurent OpenCells 754e8e3043 CMakeList cleanup,improvement and trial to run in ubuntu 16 2021-07-25 13:52:01 +02: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
rmagueta 165b406839 Avoid segmentation fault for LTE 2021-07-23 13:12:35 +01:00
francescomani bd816e5175 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-23 13:51:41 +02:00
Shruthi 104e532731 Review comments on SA mode addressed 2021-07-23 13:42:14 +05:30
Shruthi 6fa460dd2d Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-07-23 13:06:12 +05:30
hardy fad5fbda34 Merge remote-tracking branch 'origin/NR_CSIRS_tomerge' into integration_2021_wk30 2021-07-23 09:18:33 +02:00
Laurent OpenCells f62b7e1f9e nfapi work around (missing malloc) 2021-07-22 15:32:09 +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
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
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
francescomani 227529c129 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-21 17:49:33 +02:00
Laurent OpenCells 3f436e3e2f merge develop (was in conflict) 2021-07-20 17:26:15 +02:00
Laurent OpenCells 5ed848c76e more fixes on gcc warnings, misleading indentation and CPU mitigation when the traffic demand in 5G exeeds the available througput 2021-07-20 16:30:14 +02:00
francescomani bff2251242 Merge remote-tracking branch 'origin/develop' into NR_CSIRS_tomerge 2021-07-20 07:03:24 +02:00
Mahesh c79a61b895 Merge remote-tracking branch 'origin/develop' into nfapi_nr_arch_mod 2021-07-20 08:39:08 +05:30
Mahesh c9c1df5e32 fix tdd slot config pack/unpack 2021-07-20 08:29:55 +05:30
rmagueta 3ea6d6f878 Merge remote-tracking branch 'origin/develop' into develop-NR_SA_F1AP_5GRECORDS-abs
# Conflicts:
#	openair1/PHY/INIT/nr_init_ru.c
2021-07-19 13:51:38 +01:00
hardy 042e45efa7 Merge remote-tracking branch 'origin/nr-dl-mimo-2layer' into integration_2021_wk28_b 2021-07-18 10:37:36 +02:00
hardy 3c64c73dd1 Merge remote-tracking branch 'origin/NR_phytest_bugfixes' into integration_2021_wk28_b 2021-07-18 10:37:08 +02:00
luis_pereira87 9c010e3056 Apply patch for gNB ulsch retransmission scheduler 2021-07-17 22:25:07 +01:00
rmagueta 64c28bf9ac Normalization of energy over ifft and receive antennas 2021-07-16 16:50:51 +01:00
Roberto Louro Magueta abef7f0b08 Revert "Temporary fix for prach_thres"
This reverts commit af0d7dabba
2021-07-16 15:34:53 +00:00