Commit Graph
7230 Commits
Author SHA1 Message Date
Melissa Elkadi 0fd35a229a Instead of removing the frees we allocated from heap.
In SA mode, there were DCI_INDs and RX_INDS that
were allocated on the stack and were assigned to
pointers used in the MAC instance. In NSA mode we
allocated these members on the heap so we free'd
them once we were done. In SA mode, they were not
allocated on the heap so this free call caused an
a free() error. We have now allocated these pointers
on the heap to avoid this error and ensure the
pointers are correct.
2021-10-26 15:48:03 -07:00
Melissa Elkadi 0f1723a485 Properly calling init_tun and nas_conf for SA and NSA 2021-10-26 09:56:09 -07:00
Melissa Elkadi 99183b1761 Freeing memory that wasnt allocated on heap in SA mode 2021-10-26 09:19:41 -07:00
Melissa Elkadi 74b2dbe73a Merge branch 'origin-episys-merge-nsa' into eurecom-episys-merge-nsa 2021-10-25 10:34:53 -07:00
Melissa Elkadi b56c8ac3ce Merge remote-tracking branch 'eurecom/develop' into origin-episys-merge-nsa 2021-10-25 10:27:11 -07:00
Melissa Elkadi 7665f397a6 Only calling init_pdcp for NSA mode in gNB executable
Also, reverted some init_pdcp logic to match
the develop branch and added NSA mode. Lastly,
added additional error checking for cellConfig
to avoid crash in MAC layer.
2021-10-19 14:52:41 -07:00
rmagueta 4e949657fb Fix after merge 2021-10-14 14:59:11 +01:00
rmagueta b1a8b06547 Merge remote-tracking branch 'origin/integration_2021_wk41' into integration_2021_wk41_bwt-abs
# Conflicts:
#	ci-scripts/xml_files/fr1_sa_quectel.xml
#	openair1/SCHED_NR/fapi_nr_l1.c
#	openair1/SCHED_NR/phy_procedures_nr_gNB.c
#	openair2/GNB_APP/gnb_paramdef.h
2021-10-14 14:22:23 +01:00
Raymond Knopp 98a72d6c42 reduced logging 2021-10-14 07:56:58 +02:00
Raymond Knopp 166a8f69bb prb_mask calculation for mixed slot (for blacklisted PRBs) 2021-10-14 01:35:01 +02:00
Deokseong "David" Kim a5d23a0e08 Fixed nr_dlsim and nr_ulsim build errors. 2021-10-13 16:27:13 +00:00
Raymond Knopp 0a87da0b74 bugfix for allocation of blacklisted PRBs in MAC 2021-10-13 17:05:12 +02:00
Raymond Knopp c92899f704 blacklisting modification in ULSCH scheduler. 2021-10-13 15:54:27 +02:00
Melissa Elkadi 28391dad6a Updating pdcp init functions to maintain SA behavior 2021-10-13 06:52:15 -07:00
luis_pereira87 545ee44407 Remove unreachable "else" statement 2021-10-11 18:14:45 +01:00
Raymond Knopp 0e6e2c3c52 Msg3 PRB reduction to 8. Gives 8 byte Msg3 with MCS 0 2021-10-11 16:03:02 +02:00
Raymond Knopp b05d165cd0 hand cherry-picked PRB blacklisting 2021-10-11 14:34:49 +02:00
rmagueta a189a3a58c Revert BWPSize for Msg2 2021-10-08 13:52:00 +01:00
rmagueta 085a98b14c Improve get_coreset to handle also coreset0 2021-10-08 11:58:28 +01:00
francescomani 90ff07c6cc aggregation level loops at gnb (currently selecting the lowest value) 2021-10-07 16:45:38 +02:00
francescomani b59b94046f fix compilation 2021-10-07 09:22:07 +02:00
francescomani 652d0f57eb improve sib1 code for aggregation levels 2021-10-06 16:45:46 +02:00
luis_pereira87 db2c6ce79e Fix maxL for NSA 2021-10-04 18:40:41 +01:00
Raphael Defosseux 05f0206cf0 style(MAC): lowering one log line to match previous behavior
Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
2021-10-04 16:44:18 +02:00
luis_pereira87 4fd861a28a Fix nr_get_tpc to return increase 3dB 2021-10-01 13:36:49 +01:00
luis_pereira87 bf0bc0de54 Remove hardcoded maxL (kept only for do-ra) 2021-10-01 10:59:45 +01:00
luis_pereira87 c23117da6f Fix effective_BWPSize when coreset has 96 PRBs for Msg2 2021-10-01 10:26:09 +01:00
Melissa 3eafdff63a Syncing our OAI merge branch with our internal NSA master branch 2021-09-30 23:16:46 +00:00
rmagueta ff34838423 Put back scheduling request configuration after the cherry-pick which solved the segfault 2021-09-30 17:18:00 +01:00
rmagueta a58fd73e17 Merge remote-tracking branch 'origin/bandwidth-testing-abs' into bandwidth-testing-abs 2021-09-30 17:15:41 +01:00
Mario Joa-Ng dffd63d35a fix a segfault when uci_01->harq is null 2021-09-30 17:12:02 +01:00
francescomani 0fdd2fb42a comment added log fixed 2021-09-30 18:11:49 +02:00
francescomani 70d81ac8fa additional fix for coreset in calculate_preferred_dl_tda 2021-09-30 15:49:57 +02:00
mjoang f48c1d913b handle pdu_length up 65535byte. 2021-09-30 13:22:04 +01:00
rmagueta 081d566201 Fix calculate_preferred_dl_tda and remove duplicated code 2021-09-30 13:08:15 +01:00
rmagueta 568071cb57 Change LOG levels 2021-09-30 12:52:22 +01:00
rmagueta dc1cbfaa63 Revert wrong merge related to num_dmrs_cdm_grps_no_data in scheduler DLSCH 2021-09-30 10:16:11 +01:00
francescomani b8af250fb9 improve ssb sco condition 2021-09-30 09:47:03 +02:00
rmagueta 432e00a0c1 General tda selection 2021-09-29 15:56:13 +01:00
Deokseong "David" Kim a3557eb486 processing crc_ind and rx_ind per pdu in gNB. 2021-09-28 21:57:10 +00:00
rmagueta c5e877df58 Change LOG levels 2021-09-28 17:36:22 +01:00
rmagueta 1ab23d4b96 Remove commented functions 2021-09-28 17:25:38 +01:00
rmagueta 5630c434a8 Revert sl10 to 7 2021-09-28 17:13:56 +01:00
luis_pereira87 64fa82673c Fix in the improvement of ssb_SubcarrierOffset validation 2021-09-28 14:24:03 +01:00
luis_pereira87 061f1da363 Improve ssb_SubcarrierOffset validation 2021-09-28 14:07:03 +01:00
luis_pereira87 18fef22ad1 Fill lcid_mask for NSA 2021-09-28 13:30:14 +01:00
rmagueta 345ee2fd88 Revert min_rb to 5 2021-09-27 11:21:55 +01:00
rmagueta 280249bb2a Merge remote-tracking branch 'origin/bandwidth-testing' into bandwidth-testing-abs
# Conflicts:
#	openair1/PHY/NR_TRANSPORT/pucch_rx.c
2021-09-27 11:05:30 +01:00
Raymond Knopp fb4235fd50 changes in PUCCH0 SNR measurement, testing for PUCCH power control 2021-09-27 11:52:50 +02:00
rmagueta c0b260673d Merge remote-tracking branch 'origin/develop' into bandwidth-testing-abs 2021-09-27 10:08:14 +01:00