Commit Graph
18763 Commits
Author SHA1 Message Date
francescomani e3c4a9806f Merge remote-tracking branch 'origin/develop' into NR_msg4_retransmission 2021-08-25 15:43:54 +02:00
Eurecom 902c04e60a integrated ABS patch for IP address string allocation in UE 2021-08-25 15:15:35 +02:00
francescomani b6ef23a395 Merge remote-tracking branch 'origin/develop' into NR_UE_SA 2021-08-25 15:01:40 +02:00
Remi Hardy b28a368308 Integration Branch 2021 Week 33
MR 1170 : 5G nFAPI Improvements
- Bugfixes in packing/unpacking
- Adds uplink indication functionality
- Changes the nFAPI system architecture to account for architecture changes in the develop branch
- Adds nFAPI system documentation
- Removes hardcodings

MR 1222 : Update RRC ASN1 file to version 16.4.1 

MR 1223 : Fixes to NR UE MAC 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

MR 1227 : removed duplicate structure, changed 'x' to 'r' and 'y' to 'i'
2021-08-25 12:39:08 +00:00
Thomas Schlichter b4a20d062d Fix in rbSize loop 2021-08-25 12:21:18 +00:00
Eurecom d98d7c26c5 DCI 0_1/1_1 for SA UE, arbitrary initialBWP configuration 2021-08-25 02:20:25 +02:00
Melissa Elkadi 9b6b905bb8 Adding hacks to stop gNB from crashing 2021-08-24 16:25:40 -07:00
Melissa Elkadi e695224903 Adding 'Receiving RAR' as LOG_A for NSA mode 2021-08-24 15:51:58 -07:00
Mario Joa-Ng 382086d151 NR_UE: set mac->logicalChannelBearer_exist to false when RLC bearer is released. 2021-08-24 14:28:23 -04:00
Mario Joa-Ng 1d33305a70 NR_UE: set mac->logicalChannelBearer_exist to false when RLC bearer is released. 2021-08-24 12:51:32 -04:00
francescomani a1595c3109 setting ulsch inactivity timer from slots to frames and removing it from config files (default 10 frames) 2021-08-24 18:02:54 +02:00
Melissa d1c9821869 Merge branch 'episys/mel/merge_develop_cfra_working_bufsize' into 'episys/mel/merge_develop_cfra_working'
Be more careful about buffer sizes

See merge request aburger/openairinterface5g!54
2021-08-23 21:06:10 +00:00
Michael Cook d768522466 Be more careful about buffer sizes 2021-08-23 21:06:09 +00:00
mjoang e8156ddba7 1. Move NR_LONG_BSR_TABLE and NR_SHORT_BSR_TABLE to nr_mac_common.c 2. Change nr_rlc_mac_config_req_ue_logicalChannelBearer to nr_rrc_mac_config_req_ue_logicalChannelBearer. 2021-08-23 15:38:52 -04:00
mjoang f2c0178b34 1. Call mac_rlc_status_ind only for existing bearers. 2. Re-enable logging in mac_rlc_status to detect any call for non-existing bearer. 2021-08-23 11:52:28 -04:00
Cedric Roux 6bf2874711 nr: add T trace for msg4 (rrc setup) 2021-08-23 17:09:25 +02:00
francescomani e86a48bc1f fixes 2021-08-23 14:41:08 +02:00
francescomani 01de60f95c initialization of harq ndi 2021-08-23 12:14:17 +02:00
francescomani 3a07b6bf1b rewriting downlink harq process function 2021-08-23 11:55:20 +02:00
francescomani d78861dbf0 use the same buffer and size for msg4 retransmission 2021-08-23 11:46:34 +02:00
francescomani 7ab05b666d reset dci at ue after processing 2021-08-22 18:06:45 +02:00
francescomani 965945f9e7 bugfix in dlsch scramblingid 2021-08-22 14:55:17 +02:00
Eurecom bafd82a935 Merge remote-tracking branch 'origin/NR_UE_SA' into bandwidth-testing
Conflicts:
	executables/nr-ru.c
	openair1/PHY/NR_ESTIMATION/nr_ul_channel_estimation.c
	openair1/SCHED_NR/phy_procedures_nr_gNB.c
	openair2/LAYER2/NR_MAC_gNB/config.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_dlsch.c
	openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
	openair2/RRC/NR/MESSAGES/asn1_msg.c
	openair2/RRC/NR/nr_rrc_proto.h
	openair2/RRC/NR/rrc_gNB.c
	openair2/RRC/NR/rrc_gNB_reconfig.c
2021-08-21 07:48:04 +02:00
Melissa Elkadi 1116d16df2 Need to call scheduler after RACH indefinitly
The ue_sched_mode is reset to 0 again when we
memset the ul_info and after the CFRA procedure
is complete, then uplink CRCs with the PUCCH
response (PUSCH) are not being sent because the
scheduler isnt being called. This makes the
gNB run out of uplink harq ids since its never
getting the proper responses. The change below
will ensure that we call the scheduler AFTER the
RACH is sent and all the time after that.
2021-08-20 14:50:23 -07:00
Melissa Elkadi 671f461e6c Making sure we never are in ONLY_PUSCH mode
When running on some machines, the ue_sched_mode
will be initialized to zero. This will cause
the ul_info the go into the ONLY_PUSCH mode.
We do not want to ever call the scheduler and return.
Furthermore, we only want to call the scheduler after
the NRUE has sent the RACH_IND to the gNB.
2021-08-20 10:50:39 -07:00
Melissa Elkadi 0eb90bd8c8 Setting ue_sched_mode after filling RACH_IND
Also, removed the check before calling the
nr_uescheduler that was associated with the
ra.state. Lastly, removed the DL_HARQ_PID
position change as that was incorrect.
2021-08-20 09:55:17 -07:00
francescomani cebe8b7997 do not process rar in case of nack 2021-08-20 18:34:18 +02:00
francescomani 1d09adc74c fixes for msg4 retransmission 2021-08-20 18:06:53 +02:00
Melissa Elkadi e6709fe9e6 DCI format options were being set incorrectly.
Had to add a check for our NSA mode. If we are in
NSA mode, the DCI format options should be populated
with formats 1 and 7 exclusively. This fixed the
DLBWP calculation for the PDCCH PDUs.
2021-08-20 07:41:54 -07:00
Raymond Knopp 4b25f774f8 commit minor logging changes before merge 2021-08-20 14:19:50 +02:00
Eurecom f41890b3f5 testing in SA, initialBWP 2021-08-20 14:17:37 +02:00
francescomani 17b1db302c adjusting vrb map in uci functions 2021-08-20 11:10:58 +02:00
francescomani b962dda8c9 prach vrb wrt bwp start 2021-08-20 08:41:21 +02:00
Melissa Elkadi 2fb0e41d44 Merge branch 'episys/mel/merge_develop_cfra_working' of 10.1.1.59:aburger/openairinterface5g into episys/mel/merge_develop_cfra_working 2021-08-19 13:54:31 -07:00
Melissa Elkadi 0ee8f20d54 Updated gNB conf file & last RRC msg in LTE/NR UE 2021-08-19 13:53:12 -07:00
Melissa Elkadi 9fb130b8b4 Updated gNB conf file & last RRC msg in LTE/NR UE 2021-08-19 10:26:50 -07:00
francescomani 44fc5c1072 fix vrb occupation for msg2 and msg4 2021-08-19 13:00:02 +02:00
francescomani 1ff08037fb other fixes for msg3 bwp start 2021-08-19 12:08:10 +02:00
francescomani 282fd65575 fix msg3 rb_start condition 2021-08-19 11:37:21 +02:00
francescomani 76bc07a35d Merge remote-tracking branch 'origin/NR_msg3_allocation_fix' into NR_BWP_fixes 2021-08-19 11:19:59 +02:00
Sakthivel Velumani 38d1782f9b minor fixes (review comments) 2021-08-19 13:40:12 +05:30
francescomani 834af3d5c6 Merge remote-tracking branch 'origin/fix-513-duplicate-complex-structure' into integration_2021_w33 2021-08-19 08:33:00 +02:00
Melissa Elkadi 2c5f0af081 CFRA procedure is working! But gNB still crashes
How? Well, we had to properly allocate the
ul_config_req. We also had to update the
ue_get_rach function. There were several
places where the functionality would check
for a particular mode (ra, sa, phy_test, etc).
In some of these places we had to add NSA mode.
In the VNF, they start the scheduler after 3 sec,
this is sort of a hack, might want to revisit.
This commit also includes removal of printfs.
2021-08-18 16:09:37 -07:00
mjoang 464c095420 Suppress warning message. 2021-08-18 14:59:13 -04:00
mjoang 120e6a59b3 Suppress warning message. 2021-08-18 12:29:06 -04:00
francescomani 2780e00456 fix vrb map filling for csi-rs 2021-08-18 18:21:08 +02:00
francescomani d606e73a53 fix PRB allocation for phytest mode 2021-08-18 18:11:04 +02:00
francescomani ba816f699f fix PRB allocation for UE-specific ULSCH 2021-08-18 17:59:35 +02:00
francescomani 1f1d40591e fix PRB allocation for UE-specific DLSCH 2021-08-18 17:37:18 +02:00
Laurent THOMAS c310d246bb merge develop 2021-08-18 11:20:39 +02:00