Commit Graph
44 Commits
Author SHA1 Message Date
mjoang 619a2c7d3a fix compilation warning. 2021-12-17 14:44:14 -05:00
mjoang 43eb8e40ac enable running thread in parallel for RFSIM. 2021-12-17 14:09:00 -05:00
mjoang ae5b65efa7 handle the boundary case when tx_req_body->pdu_length > 0 2021-12-08 22:27:46 -05:00
mjoang 1dc78a8a98 remove unused structure per review request. 2021-12-03 11:08:12 -05:00
mjoang 31f12b62e0 fix the race condition in UE where PUSCH could not be sent when UE sends PUCCH and PUSCH at the same slot. 2021-11-29 10:15:02 -05:00
Mario Joa-Ng d47f127602 fix the problem in nr_dlschsim where init_dlsch_tpool() is missing. 2021-11-24 15:10:20 -05:00
mjoang 483b552a23 change response fifo from static to lcoal variable to make dlsch decoding function reentrant. 2021-11-16 19:31:43 -05:00
mjoang 1c225d278d Remove the global variables harq_process->processedSegments and phy_vars_ue->nbDecode so that it will not be an issue in concurrent slot decoding. 2021-11-16 11:03:49 -05:00
mjoang 41e2b21d08 Change missing mutex init per review. 2021-11-15 13:58:25 -05:00
mjoang d0488b5d51 small change on adding mutex to protect ul_config_pdu against race condition. 2021-11-10 15:39:06 -05:00
Mario Joa-Ng b965cbbb0a Using rnti to assign different pucch resource to different UE. 2021-11-09 13:24:26 -05:00
Mario Joa-Ng 30bfd72920 fix parallelization of LDPC decoding in dlsim 2021-11-08 11:59:17 -05:00
Mario Joa-Ng 33927d85a8 handle the case where dl_harq lists have been created. 2021-11-08 09:11:26 +01:00
mjoang 4a9c74f41b rebase to develop 2021-11-05 22:46:09 -04:00
mjoang 1b2d5b0c96 minor change to clear ul_config_list array 2021-11-05 09:38:28 -04:00
mjoang 834cd841d5 fix a a bug to handle tx_req_body if the number is > 1. Merge 2021-11-04 19:41:30 -04:00
mjoang 03dda0a942 fix a a bug to handle tx_req_body if the number is > 1 2021-11-04 19:35:07 -04:00
mjoang 698b75eba7 fix a bug from review on memsetting the complete structure (including the mutex). 2021-11-04 16:39:54 -04:00
mjoang 764da1379e protect ul_config_pdu against race condition 2021-11-03 14:39:25 -04:00
mjoang 0e8d5798fe Fix a logical error that sends obsolete buffer erroneously on UL and causes crash in gNB. 2021-11-03 14:38:49 -04:00
mjoang f150e37deb Fix a logical error that sends obsolete buffer erroneously on UL and causes crash in gNB. 2021-11-03 14:38:26 -04:00
mjoang ed84d40f72 add mutex to protect ul_config_pdu against race condition. 2021-11-03 14:30:42 -04:00
Mario Joa-Ng b64f9f379f fix bug in GNB MAC nr_store_dlsch_buffer() to handle multipe UEs correctly. 2021-11-03 11:34:47 -04:00
mjoang f0c98e2b74 encapsulate mac_ce related logic into separate functionsin nr_ue_get_sdu. 2021-10-25 09:37:20 -04:00
Mario Joa-Ng d483410e2a Merge develop. 2021-10-20 21:06:16 -04:00
Mario Joa-Ng b84ef41159 Merge remote-tracking branch 'origin/develop' into nr_ue_mac_pdu_fixes_sr_bsr 2021-10-20 20:13:59 -04:00
mjoang 5e50a8cc1d remove newlines, add space after comma, fix identation 2021-10-09 14:37:45 -04:00
mjoang 1fac8d6963 Revert "run astyle to change format"
This reverts commit 721594102a.
2021-10-09 13:07:23 -04:00
Mario Joa-Ng dffd63d35a fix a segfault when uci_01->harq is null 2021-09-30 17:12:02 +01:00
mjoang f48c1d913b handle pdu_length up 65535byte. 2021-09-30 13:22:04 +01:00
mjoang 721594102a run astyle to change format 2021-09-29 09:57:15 -04:00
mjoang 5664999f9b Fix a bug so that BSR will be triggered when RLC entity has data. 2021-09-28 17:58:08 -04:00
Mario Joa-Ng a64a892abc remove #if 0 2021-09-24 09:24:44 -04:00
mjoang 626e3a7015 merge develop 2021-09-23 10:44:43 -04:00
Mario Joa-Ng b5536c3a9c gNB assigns SR resources for UE according to its rtni 2021-08-27 17:29:34 -04: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
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
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
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
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