Commit Graph

8592 Commits

Author SHA1 Message Date
Xavier Arteaga 64885a6741 Added PDSCH debug trace in slot worker 2021-08-03 10:46:13 +02:00
Alejandro Leal Conejos 184f51486e Added new line to split the header from the actual code. 2021-08-03 10:37:42 +02:00
Andre Puschmann be81fda08d phy: move initial NR config into init_nr() helper 2021-08-02 15:18:47 +02:00
Andre Puschmann 0a40880a9f fix typo 2021-08-02 15:18:47 +02:00
Andre Puschmann 6148ed043e rrc_nr: hard-code new UE id to 0x4602 2021-08-02 15:18:47 +02:00
Andre Puschmann 28668aac34 ue,proc_ra_nr: add temporary flag to skip RAR reception
this will be removed again as soon as the eNB supports full RAR
transmission.
2021-08-02 15:18:47 +02:00
Andre Puschmann 7e38a5119b enb: fix log IDs and default params 2021-08-02 15:18:47 +02:00
Andre Puschmann f1658cbf98 enb,mac_nr: fix handling of UCI data from PHY 2021-08-02 15:18:47 +02:00
Andre Puschmann 2adb1c0723 sched_nr_worker: make cond var to sync workers an integer
the boolean isn't enough for more than 2 PHY workers, replace by int
2021-08-02 15:18:47 +02:00
Andre Puschmann 3b5344b0f7 thread_pool: add optional ID to thread pool
this allows to prepend an ID to each thread pool to
better differentiate workers from different pools
2021-08-02 15:18:47 +02:00
Andre Puschmann 4d9d882d75 phy_common: fix getter for nof PRB and ports for NR carriers 2021-08-02 15:18:47 +02:00
Andre Puschmann c0163d7389 nr,slot_worker: add mutex to protect class from concurrent access
detected during debug while slot_worker was still initialized on the
main process, the PHY workers were already running and accessing
class members
2021-08-02 15:18:47 +02:00
Andre Puschmann 2656014f43 rrc_nr,enb: fix ARFCN values in RRC reconfig 2021-08-02 15:18:47 +02:00
Andre Puschmann 99eb671db2 prach_worker: fix PRACH plotting for NR 2021-08-02 15:18:47 +02:00
Andre Puschmann 38f1e158a5 enb,nr: fix NR PHY PRACH init and MAC-PHY interaction 2021-08-02 15:18:47 +02:00
Andre Puschmann d78cbdf9bb ue,proc_ra_nr: fix retransmission of PRACH after failed RAR rx
if the backoff value is calculated to be zero, don't start
a timer but tx new preamble directly
2021-08-02 15:18:47 +02:00
Andre Puschmann ffc63ea270 enb: use band_helper to derive freqencies for NR carrier 2021-08-02 15:18:47 +02:00
Andre Puschmann 1329bb336e rrc_nr: fix packing reconfig packing error 2021-08-02 15:18:47 +02:00
Andre Puschmann de60df9693 enb: initialize NR PHY in eNB
add required calls to initialize NR PHY alongside with LTE PHY
2021-08-02 15:18:47 +02:00
Andre Puschmann 519de5f84b rrc_ue: disable warning when RRC receives UE cap info that is not EUTRA 2021-08-02 15:18:47 +02:00
Xavier Arteaga a300a47673 Fix value selector for NEON 2021-08-02 11:10:25 +02:00
Andre Puschmann 99dc94ab38 nas: make state variables atomics
NAS states and substates maybe be requested from other threads so
they need to be protected.

Note that the caller still needs to hold it's own mutex if different
actions are required based on the state.
2021-08-01 11:41:11 +02:00
Xavier Arteaga 42b052112f Added TS reference and use SRSRAN_CEI_LOG2 macro 2021-07-30 20:23:09 +02:00
Xavier Arteaga 1f495cb008 Added generic SRSRAN_CEIL_LOG2 2021-07-30 20:23:09 +02:00
Andre Puschmann fd3a7ce098 sched_nr_ue: fix uninitialized values 2021-07-30 20:23:09 +02:00
Andre Puschmann b6f8280f67 cqi: protect potential div by zero bug 2021-07-30 20:23:09 +02:00
Xavier Arteaga d4f1839991 Increase enb_phy_test flush time 2021-07-30 16:15:21 +02:00
Xavier Arteaga f02e07c140 Fix enb worker concurrency 2021-07-30 16:15:21 +02:00
Xavier Arteaga 43ed5c2ad4 Add crash handler to enb_phy_test 2021-07-30 16:15:21 +02:00
David Rupprecht 7838b3c935 Fixed run_lte.sh script enb parameter 2021-07-30 09:33:05 +02:00
Andre Puschmann b388930325 srsran_asn1_rrc_nr_test: disable PCAP output by default 2021-07-29 18:16:03 +02:00
David Rupprecht 11f9ac75db Added PLMN to serving network string name 2021-07-29 17:50:04 +02:00
Francisco Paisana 589239bf7f sched: revert lifting of restriction of maximum UL coderate of 0.930 2021-07-29 13:57:06 +02:00
Francisco Paisana ce884ee4c6 sched: fix sched DL RBG allocation for subband CQI 2021-07-29 13:57:06 +02:00
Francisco Paisana 1f118aa238 sched: fix ul max coderate derivation 2021-07-29 13:57:06 +02:00
Xavier Arteaga c9183326ce Clean up some code and minor change 2021-07-28 12:14:37 +02:00
Xavier Arteaga 085e247ece Fix ZMQ TX channel mapping for NULL pointers
Fix ZMQ transmit frequency mapping

Use map mask in ZMQ to determine mapped channels

Fix ZMQ mapping
2021-07-28 12:14:37 +02:00
Xavier Arteaga 562fd1b4d4 Fix segfault 2021-07-28 12:14:37 +02:00
Xavier Arteaga dbb10dd6a2 Hold worker thread until baseband is transmitted 2021-07-28 12:14:37 +02:00
Xavier Arteaga 092e744c9e SRSENB: remove redundant semaphore push 2021-07-28 12:14:37 +02:00
Xavier Arteaga 0c7239e5df SRSUE: add RF channel offset 2021-07-28 12:14:37 +02:00
Xavier Arteaga 2d737016be Isolate gNb PHY init 2021-07-28 12:14:37 +02:00
Xavier Arteaga cdd33795ed Reset transmit buffer in enb after transmission 2021-07-28 12:14:37 +02:00
Xavier Arteaga b57df4db10 Refactored worker_end mechanism for concurrent workers 2021-07-28 12:14:37 +02:00
Andre Puschmann e833751031 rrc_nr: add CSI config packing 2021-07-28 10:26:09 +02:00
Andre Puschmann f181733c7e rrc_nr,enb: add more fields to spcell cfg dedicated 2021-07-28 10:26:09 +02:00
Andre Puschmann 4915dc9642 test_pcap: add function description 2021-07-28 10:26:09 +02:00
Pedro Alvarez 8ef7ab536f Change activation of GTP-U tunnel to after the reception of the reconfig complete. 2021-07-27 21:20:22 +01:00
Francisco Paisana bd08a64b5e sched: fix crash for 100 prbs and subband CQI reporting 2021-07-27 19:33:03 +02:00
Francisco Paisana e64fcf6ea6 sched,nr: extend sched nr to support RAR and msg3 DCI packing. 2021-07-27 19:32:48 +02:00