Commit Graph

8693 Commits

Author SHA1 Message Date
Xavier Arteaga 01390a7340 Better NR softbuffer size adjustment 2021-08-31 18:56:41 +02:00
Andre Puschmann a80fdc0703 mac_nr: set logger slot context in get_dl_sched() 2021-08-31 17:20:13 +02:00
Andre Puschmann f20e131083 mac_nr: when reserving RNTI in MAC, don't automatically reserve it in RRC
we assume that RRC itself will reserve the RNTI if it needs to
2021-08-31 17:20:13 +02:00
Andre Puschmann 9bf74843f6 mac_pdu_nr: add error handling to init_tx() method
check provided byte_buffer and return error if it's not valid
2021-08-31 17:20:13 +02:00
Andre Puschmann 4ef1ac2649 gw: (re-)use class mutex when updating the DL/UL metrics 2021-08-31 17:01:50 +02:00
Andre Puschmann aa43e3c8d6 ue,mac: adding missing mutex when updating metrics 2021-08-31 17:01:50 +02:00
Andre Puschmann e1776f8d28 ue,phy: update the PRACH params inside the lambda that also executes the reconfig
setting the new PRACH params (writing the the local var) needs to protected as well
because it is called from the RRC context and the PHY worker will call configure_prach_params()
if it sees changes to it.
2021-08-31 17:01:50 +02:00
Andre Puschmann 40499e6b6d ue_stack_lte: use std::atomic for running var 2021-08-31 17:01:50 +02:00
Andre Puschmann 79cdc28015 nas_test_common: call NAS layer from stack thread context
since NAS layers insn't thread safe, all calls must come from
the same thread
2021-08-31 17:00:59 +02:00
Andre Puschmann 78d60bc138 nas: remove all uses of atomic from 4G and 5G classes
the NAS classes aren't thread safe and thread-safety shouldn't be
pretended by using atomics. Remove them and add explicit notice.
2021-08-31 17:00:59 +02:00
Fabian Eckermann c63932f514 Added RACH, PDSCH, PUCCH, Sounding Reference Signal and UL Power Control configurations from target cell to RRCConnectionReconfigurationMessage 2021-08-31 15:47:46 +02:00
Francisco Paisana 5f9cfb56f6 lte,gtpu: fix and refactor gtpu tunnel management during handover 2021-08-31 15:46:46 +02:00
Francisco Paisana b311806179 mac,nr: avoid repacking NR DL retxs 2021-08-31 15:46:05 +02:00
Francisco Paisana 01441d143d mac,nr: avoid use of uninitialized rnti value 2021-08-31 15:46:05 +02:00
Francisco Paisana fec60344dd sched,nr: fix rar softbuffer allocation 2021-08-27 15:50:23 +02:00
Francisco Paisana 04e5c81edf sched,nr: nr_phy_test now uses the whole mac class rather than just the scheduler 2021-08-27 15:50:23 +02:00
Francisco Paisana 05a5f4115f sched,nr: extended sched nr DL output to account for RAR content and assist with RAR encoding in the mac_nr class 2021-08-27 15:50:23 +02:00
Francisco Paisana b486d2a1b5 sched,nr: implement prb grant fmt formatting 2021-08-26 12:09:11 +02:00
Francisco Paisana 8686a17f69 sched,nr: fill remaining DCI fields of RAR in NR scheduler 2021-08-26 12:09:11 +02:00
Francisco Paisana da4b7e4f80 sched,nr: fix sched RAR NR test; update test assert macros 2021-08-26 12:09:11 +02:00
Francisco Paisana 8f00c9363c sched,nr: change ra nr sched and bwp allocator interfaces 2021-08-26 12:09:11 +02:00
Francisco Paisana 3d810bc88a sched,nr: fix RAR DCI values and extended RAR test 2021-08-26 12:09:11 +02:00
Francisco Paisana 2b114cb7b9 sched,nr: create simple NR scheduler RAR test 2021-08-26 12:09:11 +02:00
Xavier Arteaga 8aa7ae7d95 Remove unused attribute 2021-08-26 09:34:43 +02:00
Xavier Arteaga 4cb633e6e6 UE dicards NR CFO measurement if SNR is negative 2021-08-26 09:34:43 +02:00
Xavier Arteaga 83b9b2d1ff Implemented UE open loop CFO compensation for NR 2021-08-26 09:34:43 +02:00
Xavier Arteaga 5aa2279990 Fix NZP-CSI-RS CFO sign 2021-08-26 09:34:43 +02:00
Xavier Arteaga 7da2d20447 Added UE UL NR frequency offset option 2021-08-26 09:34:43 +02:00
Xavier Arteaga cfe2b305a1 Fix CORESET0 related PDSCH resource allocation procedure 2021-08-26 09:34:43 +02:00
Xavier Arteaga 36207db615 Added CORESET start_rb helper function 2021-08-26 09:34:43 +02:00
Xavier Arteaga 89ef3b64b4 Optimization NR PDCCH mapping minor optimization 2021-08-26 09:34:43 +02:00
Xavier Arteaga ae0d8f83f0 Add PDCCH interleaved mapping in phy_dl_nr_test and iterate all possible 15kHz SCS bandwidths 2021-08-26 09:34:43 +02:00
Xavier Arteaga 9c3dd56398 Added PDCCH DMRS interleaved mapping 2021-08-26 09:34:43 +02:00
Xavier Arteaga f5f18054eb Added PDCCH NR interleaved mapping 2021-08-26 09:34:43 +02:00
Xavier Arteaga d61d6aa59f Integrated CORESET0 into UE's RRC 2021-08-26 09:34:43 +02:00
Xavier Arteaga e07263ee26 Added band helper for getting band from ARFCN 2021-08-26 09:34:43 +02:00
Xavier Arteaga 7377496417 Added SCS to string and corrected coreset0 2021-08-26 09:34:43 +02:00
Xavier Arteaga 62ba7d386d Initial CORESET Zero constructor 2021-08-26 09:34:43 +02:00
Xavier Arteaga 5d149a4b78 Moved NR time/frequency allocation SLIV to new component 2021-08-26 09:34:43 +02:00
Francisco Paisana 359cff2302 sched,lte: fix test for LTE scheduler Msg3 detection 2021-08-24 20:17:45 +02:00
Francisco Paisana 7a527cd09e fix,lte: zero-initialize phy_meas_t in rlf test 2021-08-24 20:15:33 +02:00
Francisco Paisana 36eee0ab40 test,nr: add ra_search_space configuration to phy_cfg_nr; now the test ue searches for RA-RNTI while expecting a RAR 2021-08-24 20:15:22 +02:00
Francisco Paisana 2668a8f68b sched,nr: fix Msg3 decoding in PHY to not expect any UCI 2021-08-24 20:15:22 +02:00
Francisco Paisana d8d99054d5 sched,nr: fix RAR encoding in NR scheduler 2021-08-24 20:15:22 +02:00
Pedro Alvarez b762e62125 Bump SCTP event notification logging to info. 2021-08-24 16:11:47 +01:00
Xavier Arteaga 2cd5e98132 Fix NULL check in DCI NR for RAR type 2021-08-24 14:45:40 +02:00
Xavier Arteaga 3784359da5 Use NR DCI format 0_0 packing and unpacking for TC-RNTI type 2021-08-24 14:45:40 +02:00
Xavier Arteaga b846116c5c Added NR RAR UL DCI packing 2021-08-24 14:45:40 +02:00
Francisco Paisana 55d83a1279 fix compilation issue due to wrong include path for srsran_assert.h file 2021-08-24 12:06:24 +02:00
Francisco Paisana 664bc626bf sched,nr: creation of basic logic for NR SI scheduling 2021-08-24 10:29:36 +02:00