Commit Graph

9404 Commits

Author SHA1 Message Date
Carlo Galiotto d95c31d2de rlc,rrc,nr: fix rlc bearer string diplayed in logs
Signed-off-by: Carlo Galiotto <carlo@srs.io>
2021-11-03 19:31:47 +01:00
Andre Puschmann c02aeee0d8 gtpu: only add missing whitespace 2021-11-03 17:55:32 +01:00
Andre Puschmann 79c443fd60 rrc_nr: add log_rrc_message helper to UE object to print RNTI 2021-11-03 17:55:32 +01:00
Andre Puschmann c913db5ade enb,rrc_nr: log RRC messages as Json
* add log messages for RRC NR message containers sent to EUTRA RRC
* add helper function to pack RRC message into byte_buffer
2021-11-03 17:55:32 +01:00
faluco 90d21f8426 Fix invalid log line formatting. 2021-11-03 16:51:33 +01:00
Andre Puschmann 0bf2674d22 bearer_manager: reduce log level for clean/delete operations
this was causing errors in logs that aren't severe. the operations
are called when removing a UE regardless whether a bearer has been
created or not
2021-11-03 16:20:16 +01:00
Francisco f6e1ecdaf3 nr,gnb,mac: remove redundant checks and unused lcid enum constants 2021-11-03 13:31:16 +00:00
Francisco c615df9d1d nr,gnb,mac: prioritize CRNTI CE handling over remaining SDUs and CEs in gNB mac receiver 2021-11-03 13:31:16 +00:00
Francisco 4286ab81d9 nr,gnb,mac: fix const-correctness of some methods of class srsran::mac_sch_pdu_nr 2021-11-03 13:31:16 +00:00
Francisco 885e1bcc60 nr,gnb,sched: ensure the users only get allocated if they have buffer state > 0 2021-11-02 00:41:24 +00:00
Francisco 6fb5257609 nr,gnb,sched: cleanup of checks in sched_nr_allocator and removal of unused classes 2021-11-02 00:41:24 +00:00
Francisco 7b989d9976 nr,gnb,sched: refactored slot_ue class to use pointer to ue_carrier instead of deriving all necessary parameters 2021-11-02 00:41:24 +00:00
Francisco da9c564ad4 nr,gnb,sched: remove unused sched_nr_interface types 2021-11-02 00:41:24 +00:00
Francisco 1a56629a72 nr,gnb,sched: centralized all feedback/event management (cc-specific and non-cc-specific) into a single class 2021-11-02 00:41:24 +00:00
Francisco 7c146c5198 nr,gnb,sched: refactored sched nr common event handling to use accumulated event handling logging 2021-11-02 00:41:24 +00:00
Francisco e5e047bc63 nr,gnb,sched: avoid that the nr sched handles the rach before it creates the ue object 2021-11-02 00:41:24 +00:00
Francisco 40fded7222 nr,gnb,sched: improve logging of slot events in the scheduler 2021-11-02 00:41:24 +00:00
Francisco e19a0aa281 nr,gnb,sched: refactored sched nr common event handling 2021-11-02 00:41:24 +00:00
Francisco f2409534e4 nr,gnb,sched: Simplify sched api and locking design to better reflect the mac-phy FAPI interface
- removal of condition variables from sched main calls
- addition of sched sched::slot_indication call as a point of synchronization per slot
- removal of sched_worker_manager class
- removal of serv_cell_manager class
- centralization of cc-specific functionality and components in cc_worker
2021-11-02 00:41:24 +00:00
Francisco fa09a9d11a enb: make the pcap default boost arguments consistent with enb.conf 2021-11-01 17:01:06 +00:00
Francisco d3a100257d lte,enb,s1 handover: stop ts1 handover timers when an handover cancel occurs after the Handover preparation 2021-11-01 12:42:43 +00:00
Francisco 0dc9cf142a lte,enb,rrc: verify the drbtoaddmodlist is correctly updated in the add_erab case, and change the function add_erab to addmod_erab 2021-10-30 15:31:19 +01:00
Francisco 638dbc6f7e lte,enb,rrc: the erab should not be fully released during an s1ap erab modify procedure. Instead, it should be overwritten 2021-10-30 15:31:19 +01:00
Francisco b3d11af32d nr,gnb,mac: fix access to uninit array in MAC UE NR metrics read 2021-10-29 16:39:47 +01:00
faluco 74456bf3d2 Whitelist a reported deadlock involving read lock. 2021-10-29 12:45:47 +02:00
faluco dfd16718fe Fix data race in proc_sr_nr. 2021-10-29 12:45:47 +02:00
Francisco dfc2ea0a3e nr,gnb,pdcp: extend the use of local rb_name member to pdcp nr 2021-10-28 21:21:46 +01:00
Francisco c64be663d2 nr,gnb,pdcp: store the PDCP RB name in base class for easier use 2021-10-28 21:21:46 +01:00
Francisco 3c18e7c1f3 lte,enb,pdcp: fix addition of DRB logging in PDCP 2021-10-28 21:21:46 +01:00
Francisco 5b8d4c39af pdcp,lte: fix drb/srb id logging to account for dynamic mapping 2021-10-28 21:21:46 +01:00
Andre Puschmann fa1c06e477 readme: update CI badges and eNB brief info 2021-10-28 19:14:34 +02:00
Andre Puschmann 3b66c2cb2a github: remove memcheck from actions workflow
the memcheck gives constant errors on github machines. disabling them.
they work fine on internal CI machines.

 393/1465 MemCheck  #393: pusch_test-n50-L50-puci_ack10-m0 ................................***Exception: Illegal  1.49 sec
          Start  394: pusch_test-n50-L50-puci_ack10-pcqiwideband-m0
2021-10-28 19:14:34 +02:00
Andre Puschmann e491aef74e rlc_um_nr_test: disable test9 until low TCP UL rates are understood/fixed 2021-10-28 19:09:35 +02:00
Andre Puschmann 296758e4ab Revert "rlc_um_nr: reimplement update of RX_Next_Reassembly"
This reverts commit 5b025cfbf8.
2021-10-28 19:09:35 +02:00
faluco 3b2f0d2f65 Fix several issues in GW class:
- Avoid triggering an assertion when the  gw thread is pending termination.
- Re-order gw::stop method to avoid a race condition when closing the TUN device while the gw thread is still running.
2021-10-28 17:42:08 +02:00
Andre Puschmann 229b1eef21 radio,test: fix Coverity warning about dead code
add default in switch instead of using the the END state directly
that is checked before entering the switch. Coverity correctly
reports this as dead code.
2021-10-28 17:25:21 +02:00
Ismael Gomez 8a53a9d35c ssb_decode_test: Fix stack overflow pbch_msg buffer 2021-10-28 16:13:02 +02:00
Francisco 1272f4c327 nr,gnb,mac: fix log tti context overflow 2021-10-28 14:49:29 +01:00
Andre Puschmann 4c7bc57b01 enb,ue_nr: fix warning when unpacking MAC PDU with padding 2021-10-28 10:45:54 +02:00
Pedro Alvarez 5735118ea0 Make sure SCTP notifications are not handled. Improve logging of SCTP ASSOC CHANGE 2021-10-27 21:45:48 +02:00
Andre Puschmann 5f837c0c67 enb,nr: rewrite UL PDU processing to handle CEs in reverse order but SDUs in order
this makes sure that C-RNTI CE gets processed before any SDU gets processed.
but it also makes sure that all SDUs then are processed in-order to
avoid reordering at higher layers.
2021-10-27 19:50:35 +02:00
Andre Puschmann 6d0aafcf69 rlc_um_nr: fix has_missing_byte_segment() routine
return true if rx_window contains segment of this SN
2021-10-27 19:50:35 +02:00
Andre Puschmann 5b025cfbf8 rlc_um_nr: reimplement update of RX_Next_Reassembly 2021-10-27 19:50:35 +02:00
Andre Puschmann 2366dc286d rlc_um_nr: improve logging 2021-10-27 19:50:35 +02:00
Andre Puschmann 85e478d8ad rlc_um_nr_test: add TC to reproduce reassembly issue
* add TC to reproduce reassembly issue that causes low TCP throughput
* fix PCAP writing
* fix other testcase to wait for t_reassembly to expire
2021-10-27 19:50:35 +02:00
Alejandro Leal Conejos ca7a377878 Fixes coverity 262740 2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos f3be849d6b Fixes coverity 339793 2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos 4bd8b6f2de Fixes coverity 359677 2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos af3a2ef589 Fixes coverity 359789 2021-10-27 19:47:45 +02:00
Alejandro Leal Conejos eb889d740d Fixes coverity 369513 2021-10-27 19:47:45 +02:00