Commit Graph
9284 Commits
Author SHA1 Message Date
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
mjoang 4db04d7bee first version of sr bsr. remove test code 2021-08-16 14:19:29 -04:00
Abhijith f2a1023d8e Merge remote-tracking branch 'origin/develop' into scs_60_iisc 2021-08-16 23:01:31 +05:30
mjoang 5df1f412be first version of sr bsr. remove test code 2021-08-16 12:35:40 -04:00
francescomani 009f7fd94f restart content resolution timer at each msg3 retransmission 2021-08-16 18:07:51 +02:00
francescomani 4fc24374d5 fixes for contention resolution timer etc 2021-08-16 17:42:07 +02:00
francescomani 275b82eab2 fix for contention resolution timer at NR UE 2021-08-16 17:21:18 +02:00
mjoang 607578f080 first version of sr bsr. 2021-08-16 10:09:53 -04:00
Sakthivel Velumani a87dca8691 Merge branch 'develop' into prb_based_dl_channel_estimation 2021-08-16 18:59:29 +05:30
Laurent THOMAS 90999e5a15 Fix F1 bugs 2021-08-16 14:14:52 +02:00
francescomani 356e6cadd8 Merge remote-tracking branch 'origin/develop' into NR_msg3_retransmission 2021-08-16 12:36:29 +02:00
francescomani 02d86a889c additional fix for dci_pdu format 2021-08-16 11:53:58 +02:00
Abhijith 8b1138c89f Hardcoding of bwp_id at UE removed 2021-08-16 14:12:04 +05:30
francescomani f2fc22df81 fix for dci_pdu format 2021-08-16 10:18:04 +02:00
francescomani d2b131af1d msg3 retransmission rounds at gnb 2021-08-15 18:16:15 +02:00
francescomani 13980b5ebb msg3 retransmission at UE 2021-08-15 16:23:25 +02:00