Commit Graph
3990 Commits
Author SHA1 Message Date
rmagueta 99ec7f0958 Fix ul_failure option for phy_test mode 2021-06-22 13:05:52 +01:00
Roberto Louro Magueta 0649737aa7 Revert "Revert ul_failure option"
This reverts commit 0cd356864a
2021-06-22 13:50:04 +02:00
rmagueta 0cd356864a Revert ul_failure option 2021-06-22 12:34:20 +01:00
rmagueta 6cefe15467 Fix issues after cherry-pick 2021-06-21 17:48:47 +01:00
Laurent THOMAS 5d11b7444e fix array overflow and wrong LCID 2021-06-21 16:48:44 +01:00
Raymond Knopp 6293f61087 small changes for multiple lcid handling in gNB scheduler. PUSCH DTX handling and suspension of scheduling when UL failure is detected 2021-06-21 11:34:17 +01:00
rmagueta 5293e9bbe0 Merge remote-tracking branch 'origin/develop' into develop-NR_SA_F1AP_5GRECORDS
# Conflicts:
#	common/utils/system.c
2021-06-18 14:41:01 +01:00
hardy 03f7deccda Merge remote-tracking branch 'origin/512-dataplane-bug-in-l2nfapi_nos1' into integration_2021_wk24 2021-06-18 07:10:05 +02:00
rmagueta ebede5c932 Merge remote-tracking branch 'origin/develop' into develop-NR_SA_F1AP_5GRECORDS
# Conflicts:
#	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
2021-06-14 16:53:10 +01:00
luis_pereira87 630b8b5806 Differentiate NSA and SA in some pieces of code 2021-06-11 16:22:16 +01:00
hardy c923a9ea30 Merge remote-tracking branch 'origin/nr-pdcp-small-bugfixes' into integration_2021_wk23 2021-06-11 11:04:18 +02:00
hardy 0494d38459 Merge remote-tracking branch 'origin/bugfix-nr-t-reordering' into integration_2021_wk23 2021-06-11 11:03:50 +02:00
Masayuki Harada 1b69c2a00d Remove pdcp_layer_init_for_CU function and merge to pdcp_layer_init. 2021-06-08 15:32:12 +09:00
rmagueta e72a6798c1 Change some LOG levels 2021-06-05 14:20:39 +01:00
rmagueta 98e9ee81c5 Fix build 2021-06-05 02:22:38 +01:00
luis_pereira87 37cf95c40a Fix indentation 2021-06-04 21:48:50 +01:00
luis_pereira87 126db8c96a Revert rlc_data_req instead of du_rlc_data_req for LTE 2021-06-04 21:37:46 +01:00
matzakos 0f98a57162 Remove redundant hack to send RRCSetupRequest through DCCH in F1 (CU/DU) mode
-Instead RRCSetupRequest is sent from DU to CU through nr_mac_rrc_data_ind()->DU_send_INITIAL_UL_RRC_MESSAGE_TRANSFER() and then through F1AP to CU.
2021-06-02 20:57:45 +02:00
luis_pereira87 5406a4534d Release RNTI of LTE PHY when RA does not succeed 2021-06-02 16:29:45 +01:00
luis_pereira87 ff531831be Avoid decoding UL-CCCH with all zeros 2021-06-01 14:54:42 +01:00
Roberto Louro Magueta 2e518d95fa Revert "Merge remote-tracking branch 'remotes/oai/develop-NR_SA_F1AP_5GRECORDS' into..."
This reverts commit 4100dc3338
2021-05-31 14:13:46 +02:00
Masayuki Harada 4100dc3338 Merge remote-tracking branch 'remotes/oai/develop-NR_SA_F1AP_5GRECORDS' into develop-NR_SA_F1AP_5GRECORDS 2021-05-31 20:30:21 +09:00
rmagueta a205dcbf44 Fix GTP for LTE 2021-05-31 12:10:24 +01:00
Xue Song 7379717ddf Remove duplicate code
In the UE executable, delete the initialization of NR.nrrrc and check the NULL of NR.nrrrc
2021-05-31 17:36:18 +09:00
Roberto Louro Magueta 1145a5516c Revert "Change hardcoded task id to TASK_VARIABLE"
This reverts commit 64aa42d646
2021-05-31 02:05:38 +02:00
rmagueta 64aa42d646 Change hardcoded task id to TASK_VARIABLE 2021-05-30 20:16:55 +01:00
luis_pereira87 8d096b22fd Remove unused variable 2021-05-26 22:24:03 +01:00
luis_pereira87 2be74a6452 Revert dci format indicator assignment for NR_UL_DCI_FORMAT_0_0 2021-05-26 17:53:06 +01:00
luis_pereira87 145dd0c9bf Update condition to preconfigure DRB in phy-test mode 2021-05-25 12:32:03 +01:00
Xenofon Foukas db4769bc35 Fixes to L2NFAPI_NOS1 dataplane traffic forwarding
This commit fixes a bug that makes the dataplane traffic of all the
emulated UEs to go through the interface of the first UE (oaitun_ue1).

The fix uses the last octet of the IP assigned to each UE to map it to its
UE_id, which is then used to get its RNTI and the correct PDCP queue.
For the emulator to work properly, the routing tables of the emulated UEs
must also be set. This patch introduces a script (setup_routes.sh) in
cmake_targets/tools that configures the routing tables. This script
must be run at the UE host machine once the UEs have successfully attached,
passing the number of emulated UEs as the argument. For example, in the
case of 16 emulated UEs, one must run "./setup_routes.sh 16".
2021-05-24 16:33:12 +01:00
luis_pereira87 2a0510e29d Fix num_dmrs_cdm_grps_no_data in allocate_dl_retransmission 2021-05-24 16:17:11 +01:00
Cedric Roux 02cedc0ca1 nr pdcp: bugfix: better nettle version detection
This fix may fail to work.

we should stop supporting old versions of nettle at some point.
2021-05-22 12:56:52 +02:00
Cedric Roux e26c1f6f6d nr pdcp: bugfix: bad HFN computation at PDU reception 2021-05-22 12:56:43 +02:00
rmagueta a7a3bf5d90 Merge remote-tracking branch 'origin/NR_multiplexing_HARQ_CSI_PUCCH' into develop-NR_SA_F1AP_5GRECORDS
# Conflicts:
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
#	openair2/LAYER2/NR_MAC_gNB/mac_proto.h
2021-05-19 15:00:52 +01:00
Cedric Roux e257f76dd0 nr: rlc: minor: set log level to error for max retx reached
Just in case there is a problem, better to see it.

max retx reached means "radio link failure". We should do
something about it at some point. For the moment, let's
inform the user that there is a problem.

We can set back to LOG_D later in time when we deal with it
properly.
2021-05-18 10:30:26 +02:00
Cedric Roux 913f402280 nr: pdcp: accept "infinity" for t-reordering
"infinity" is -1 in the code.
2021-05-18 10:30:26 +02:00
Cedric Roux 8393744c3f nr: bugfix: bad check
38.323 5.2.2.1 says:

    "if t-Reordering is running, and if RX_DELIV >= RX_REORD"

Let's do as is said.
2021-05-18 10:30:26 +02:00
rmagueta 6dab5f4a8d Fix segmentations fault after merge 2021-05-17 14:40:41 +01:00
rmagueta fd3a45de82 Fix build issues 2021-05-17 12:01:32 +01:00
hardy ca60a69fc6 Merge remote-tracking branch 'origin/NR_multiplexing_HARQ_CSI_PUCCH' into integration_2021_wk20_a 2021-05-17 10:13:39 +02:00
rmagueta cf605f4c77 Merge remote-tracking branch 'origin/develop' into develop-NR_SA_F1AP_5GRECORDS
# Conflicts:
#	cmake_targets/CMakeLists.txt
#	cmake_targets/build_oai
#	openair1/PHY/INIT/nr_init_ru.c
#	openair1/PHY/NR_TRANSPORT/nr_ulsch.c
#	openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair1/SIMULATION/NR_PHY/ulsim.c
#	openair2/COMMON/platform_constants.h
#	openair2/ENB_APP/enb_config.c
#	openair2/F1AP/f1ap_cu_interface_management.c
#	openair2/F1AP/f1ap_cu_rrc_message_transfer.c
#	openair2/F1AP/f1ap_cu_ue_context_management.c
#	openair2/F1AP/f1ap_du_interface_management.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
#	openair2/RRC/LTE/rrc_eNB.c
#	openair2/RRC/NR/rrc_gNB.c
#	openair2/RRC/NR_UE/rrc_UE.c
2021-05-17 01:36:39 +01:00
Francesco Mani e15231264a Update description of function nr_acknack_scheduling 2021-05-14 07:10:40 +00:00
luis_pereira87 b62e8d9c1f Change LOG level 2021-05-13 16:31:42 +01:00
rmagueta 0ef6ef2b28 Code format improvements in differences for develop 2021-05-12 19:29:10 +01:00
francescomani 052f254306 fix in a condition for pucch2 2021-05-12 10:23:58 +02:00
rmagueta bfd7954fb7 Fix srb cppcheck errors/warnings 2021-05-11 15:43:40 +01:00
rmagueta 9c417e1a14 Fix uplink data in phy-test 2021-05-11 15:38:49 +01:00
rmagueta 0792bf767a Merge remote-tracking branch 'origin/develop-NR_SA_F1AP_5GRECORDS' into develop-NR_SA_F1AP_5GRECORDS 2021-05-11 15:01:08 +01:00
rmagueta 5919b891bb Fix new cppcheck errors/warnings 2021-05-11 15:00:39 +01:00
Laurent THOMAS 7d3c60ed37 small fixes, make all compile is same tree 2021-05-11 14:34:27 +02:00