Commit Graph

8731 Commits

Author SHA1 Message Date
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
Andre Puschmann 7ab52500e9 enb,mac_nr: add NR sched class and add basic init calls 2021-07-27 18:26:20 +02:00
Andre Puschmann 45c1971249 mac,phy,interface: clean up and add NR interface to LTE stack
* remove obsolte rx_data_ind
* add mac_phy_interface_nr to LTE stack
2021-07-27 18:26:20 +02:00
Francisco Paisana 8e174c96ed sched,nr: provide allocated byte_buffer in DL sched output + changes in RA procedure + added sched nr in default nr_phy_tests 2021-07-27 12:47:31 +02:00
David Rupprecht 04ef6e120d Added new SIM functions to get MCC, MNC and MSIN 2021-07-27 09:26:52 +02:00
Bedran Karakoc a6226379b4 Introducing NGAP UE context procedures 2021-07-26 19:12:01 +02:00
Ismael Gomez a896e32cf4 Refactor sub-band CQI processing 2021-07-26 12:02:14 +02:00
Ismael Gomez 9b10e1c45d Fix sub-band CQI in UE. Refactor variable names 2021-07-26 12:02:14 +02:00
Francisco Paisana 12e33483e1 sched,nr: add slot_point to sched nr 2021-07-26 11:52:07 +02:00
Francisco Paisana a0a1af9d0f nr: slot value that handles wrapping around 2021-07-26 11:52:07 +02:00
Xavier Arteaga 5b31fa72d3 Fix gnb race condition in asynchronous PRACH processing by setting number of threads to 0 2021-07-26 11:50:16 +02:00
Andre Puschmann 9c298b203d srsue: reduce the default RRC release to 8 (minimum value) 2021-07-26 11:04:02 +02:00