Commit Graph
707 Commits
Author SHA1 Message Date
mjoang 4db04d7bee first version of sr bsr. remove test code 2021-08-16 14:19:29 -04:00
mjoang 5df1f412be first version of sr bsr. remove test code 2021-08-16 12:35:40 -04:00
mjoang 607578f080 first version of sr bsr. 2021-08-16 10:09:53 -04:00
Thomas Schlichter b5fb1dc05f Merge remote-tracking branch 'origin/develop' into nr_ue_mac_pdu_fixes 2021-08-12 11:35:27 +02:00
Raphael Defosseux 5f9e0a235d Merge remote-tracking branch 'origin/code-cleanup-20210716' into integration_2021_w32 2021-08-09 10:07:45 +02:00
Laurent THOMAS b7857a505e try to fix CUDA, and fix infinite loop in nr UE uplink data collect 2021-08-05 17:31:31 +02:00
Thomas Schlichter 6c227f4d6b NR_UE: Assure correct padding in nr_ue_get_sdu()
In case no MAC CE needs to be transmitted and we filled the buffer with SDUs from RLC, we missed to add padding for the last 3 bytes.
2021-08-05 12:33:09 +02:00
Laurent THOMAS 464520304b merge develop, make DNN, NSSAI configurable, fix infinite loop 2021-08-05 09:49:25 +02:00
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 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
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
francescomani d9fdbe6338 fix for pucch prb size 2021-07-29 15:59:02 +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
francescomani bd816e5175 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-23 13:51:41 +02:00
luis_pereira87 67bccd8c80 Fix handling failure of CFRA procedure for OAI UE 2021-07-22 11:36:52 +01:00
francescomani 227529c129 Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-21 17:49:33 +02:00
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
rmagueta a2450bb4b7 Protect some xer_fprints by an if 2021-07-14 15:30:07 +01:00
Thomas Schlichter 44d57829cc NR_UE: revert changes in nr_ue_procedures.c
I have to revert this to be consistent with the OAI gNB.
But I think it is wrong to take the BWPSize from scc or scc_SIB, and the BWPStart from DLbwp[0].
2021-07-13 20:44:39 +02:00
francescomani 8ad3b40cd5 fixes in pucch configuration for SA 2021-07-12 11:53:35 +02:00
francescomani 8981f5cbd7 fix in pucch ue scheduler for pucch_Config = NULL 2021-07-10 11:41:38 +02:00
francescomani 3228ebf3f6 using pdsch_pdu for sib1 indication 2021-07-10 11:26:56 +02:00
francescomani 724b0c076b fix in rsrp table including max and min int for out of range report 2021-07-08 15:15:22 +02:00
francescomani b15c39d9f8 bugfix in pucch resource selection for csi meas report 2021-07-08 14:35:18 +02:00
francescomani 19c356ee23 first implementation of MAC function for SSB RSRP (to be verified) 2021-07-05 18:00:44 +02:00
Thomas Schlichter c3482e376d Merge remote-tracking branch 'origin/develop' into nr-dl-mimo-2layer 2021-07-05 16:25:26 +02:00
francescomani a49ebe249b Merge remote-tracking branch 'origin/develop' into NR_UE_reworking_UCI_procedures 2021-07-01 16:38:41 +02:00
rmagueta 160cb0b930 Merge remote-tracking branch 'origin/NR_SA_F1AP_5GRECORDS' into develop-NR_SA_F1AP_5GRECORDS-lts2
# Conflicts:
#	cmake_targets/CMakeLists.txt
#	cmake_targets/build_oai
#	cmake_targets/tools/build_helper
#	executables/nr-gnb.c
#	openair1/PHY/INIT/nr_init_ru.c
#	openair1/PHY/NR_TRANSPORT/nr_dlsch_coding.c
#	openair1/PHY/NR_TRANSPORT/nr_ulsch.c
#	openair1/PHY/NR_TRANSPORT/nr_ulsch_demodulation.c
#	openair1/PHY/NR_UE_TRANSPORT/nr_prach.c
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair1/SCHED_NR_UE/pucch_uci_ue_nr.c
#	openair2/F1AP/f1ap_du_rrc_message_transfer.c
#	openair2/F1AP/f1ap_du_rrc_message_transfer.h
#	openair2/F1AP/f1ap_du_task.c
#	openair2/GNB_APP/gnb_app.c
#	openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
#	openair2/LAYER2/NR_MAC_gNB/config.c
#	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.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/gNB_scheduler_ulsch.c
#	openair2/LAYER2/nr_pdcp/nr_pdcp_entity.c
#	openair2/LAYER2/nr_pdcp/nr_pdcp_oai_api.c
#	openair2/RRC/LTE/rrc_eNB_GTPV1U.c
#	openair2/RRC/NR/L2_nr_interface.c
#	openair2/RRC/NR/MESSAGES/asn1_msg.c
#	openair2/RRC/NR/rrc_gNB.c
#	openair2/RRC/NR/rrc_gNB_NGAP.c
#	openair2/RRC/NR_UE/rrc_UE.c
#	openair3/NAS/NR_UE/nr_nas_msg_sim.c
#	openair3/ocp-gtpu/gtp_itf.cpp
#	targets/ARCH/USRP/USERSPACE/LIB/usrp_lib.cpp
2021-06-30 17:00:30 +01:00
Laurent THOMAS 64e58a4300 dirty fixes that fix the UL malformed packets (detected in wireshark), and also internally memory corrpution 2021-06-23 21:41:56 +02:00
luis_pereira87 4015724213 Fix a regression in UE (LCID loop) 2021-06-23 11:29:37 +01:00
rmagueta a675de4c8b Initialization of ssb_mask and ssb_period at UE for SA 2021-06-22 18:48:46 +01:00
Laurent THOMAS aef67d0310 fix merge NR_SA_F1AP_5GRECORDS and fix warnings, a regression in UE (LCID lopp) 2021-06-21 21:01:59 +02: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
Laurent THOMAS a88c33b148 fix array overflow and wrong LCID 2021-06-21 12:56:57 +02:00
francescomani f879260bf9 removing unused fapi structures at UE 2021-06-11 18:11:09 +02:00
rmagueta e72a6798c1 Change some LOG levels 2021-06-05 14:20:39 +01:00
francescomani 049c8314f9 triggering SR transmission at UE 2021-05-24 10:29:09 +02:00
Thomas Schlichter ff5eb3e657 Merge remote-tracking branch 'origin/develop' into nr-dl-mimo-2layer 2021-05-19 11:42:04 +00:00
francescomani 5bf3b09a48 adding call to fill_scheduled_response 2021-05-19 10:06:56 +02:00
francescomani cd9a8f963f moving pucch functions for harq at MAC (version still to be tested) 2021-05-18 11:04:10 +02:00
rmagueta 6dab5f4a8d Fix segmentations fault after merge 2021-05-17 14:40:41 +01:00