Commit Graph
8075 Commits
Author SHA1 Message Date
matzakos bdef3296c4 Add handling of F1 Ue context setup request message at the DU side
- Trigger SRB2 and DRB configuration and RRC->MAC configuration
- Remaining: gtp-u tunnel creation at the DU side, triggering and handling of UE context setup response
2021-08-25 16:58:29 +02:00
francescomani b356a8166b Merge remote-tracking branch 'origin/develop' into NR_msg3_retransmission 2021-08-25 16:02:31 +02:00
Thomas Schlichter 054c1e53b7 Fix for vrb_map occupation loop 2021-08-25 13:49:30 +00:00
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
Thomas Schlichter b4a20d062d Fix in rbSize loop 2021-08-25 12:21:18 +00:00
Laurent THOMAS 22b072d85a fix my regression 2021-08-25 13:24:31 +02: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
Laurent THOMAS e0cb79d2d8 make SIB1 encoding readable and ARM compatible 2021-08-24 11:21:53 +02: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 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
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
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
Laurent Thomas d7ed6d6270 small fix 2021-08-20 09:59:32 +02:00
francescomani b962dda8c9 prach vrb wrt bwp start 2021-08-20 08:41:21 +02:00
Melissa Elkadi 0ee8f20d54 Updated gNB conf file & last RRC msg in LTE/NR UE 2021-08-19 13:53:12 -07:00
francescomani 44fc5c1072 fix vrb occupation for msg2 and msg4 2021-08-19 13:00:02 +02:00
Laurent Thomas 1a43c21b12 remove a race F1AP->NR RRC 2021-08-19 12:09:06 +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
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
mjoang 9e59a26146 1. Add nr_ue_init_mac() to initialize the fields in nr_mac instance. 2. Fix bug on handling padding BSR. 2021-08-17 12:29:34 -04:00
Laurent THOMAS 18fce2b173 fix several bugs, remain critical design mistakes 2021-08-17 14:55:44 +02:00
Sakthivel Velumani 7f5009d7cc fixed SA issues 2021-08-17 17:59:41 +05:30
Eurecom dc92538744 DCI formats 1_1/0_1 on initialBWP 2021-08-17 13:44:50 +02:00
Laurent THOMAS 058b040c56 ue context setup first fix, the feature is not well implemented 2021-08-17 09:04:28 +02:00