472 Commits (e07cf513d0ef4f6b05e91ee68a6bf1d6405172c8)

Author SHA1 Message Date
Francisco Paisana 4f5e65781f created task scheduler class to deal with timers, thread pool, multiqueue, internal tasks 4 years ago
Andre Puschmann 2749c870e3 rlc_am: refactor control test
* move both tests into own functions and call those in main()
* use common test header and macros
4 years ago
Andre Puschmann 58e255cb63 pdu_test: add unit test to verify correct packing of 3B PDU with Short BSR 4 years ago
Andre Puschmann 5589816690 pdu_test: fix PCAP output
API now requires to pass CC index
4 years ago
Francisco Paisana e550bf726d updated fsm to allow enter methods to receive event that caused them 4 years ago
Francisco Paisana 84f34bc736 changed to a label filtering approach for ctest 4 years ago
Francisco Paisana ebb8f18000 set some extra tests with the prefix "long_" 4 years ago
Andre Puschmann a3d7d4517c rlc_um: add dedicated unit test for the PDU packing bug
Here is the test output with the fix disabled:

13:47:42.679774 [RLC_UM_1] [D] MAC opportunity - 14 bytes
13:47:42.679784 [RLC_UM_1] [D] pdu_space=14, head_len=2
13:47:42.679790 [RLC_UM_1] [D]  adding new SDU segment - 10 bytes of 10 remaining
13:47:42.679834 [RLC_UM_1] [D]  Complete SDU scheduled for tx. Stack latency: 0 us
13:47:42.679909 [RLC_UM_1] [D] pdu_space=4, head_len=2
13:47:42.679922 [RLC_UM_1] [D]  adding new SDU segment - 0 bytes of 10 remaining
13:47:42.679928 [RLC_UM_1] [I]  Tx PDU SN=0 (14 B)
13:47:42.679974 [RLC_UM_1] [D]  vt_us = 1

The test checks the correct packing and of the two PDUs at the end.
4 years ago
Andre Puschmann df50dd7d3c rlc: extend RLC metrics
extend RLC metrics to count Rx/Tx PDUs/SDUs bytes/#
4 years ago
Andre Puschmann 48db31c5cf rlc_stress_test: fix random PDU dropping
the rand() was sometimes giving NaN so this case needs to be handled
and the PDU not dropped to have real zero drop-rate
4 years ago
Andre Puschmann fc3cd24177 rlc_um: fix counting of lost PDUs
* change try_push() return value to indicate whether the addition
  of the SDU to the tx queue was successful or not
* count lost PDUs
4 years ago
Andre Puschmann 96726a03e0 rlc_stress_test: fix PCAP support
expose actual RLC configuration to PCAP object
4 years ago
Andre Puschmann 1c7bfde404 rlc_stress_test: fix compilation with PCAP enabled 4 years ago
Francisco Paisana e3e9bbcd62 fix PNF PDU size cutting 4 years ago
Francisco Paisana a0606669e2 fix ue nr gw initialization 4 years ago
Francisco Paisana e6418b4b39 fix variable naming 4 years ago
Francisco Paisana 1d07258458 created pnf bridge executable 4 years ago
Francisco Paisana f0874b780b add radio_base/null classes 4 years ago
Francisco Paisana 64e8f5e3ed update license year 4 years ago
Pedro Alvarez 9c1a7d2cf1 Removed get_bearer_status in PDCP. Renamed get_state/set_state to
get_bearer_state/set_bearer_state.
4 years ago
Pedro Alvarez 208a539499 Split PDCP tx_count state variable into tx_hfn and next_pdcp_tx_sn
variables.
4 years ago
Pedro Alvarez 08578a7331 Switched to use a struct to hold the PDCP entity state variables. Deleted some unecessary setters. 4 years ago
Andre Puschmann 1f73e6ae69 multiqueue: add option to create queue with non-default capacity
this allows to create a queue that has a non-default capacity
currently this is 8192, but the value might now be suitable in some
cases like for TTI sync events
4 years ago
Francisco Paisana 27e5d98ef9 added vnf phy nr 4 years ago
Francisco Paisana b05ce2fe57 added pnf_dummy test 4 years ago
Francisco Paisana 8a022fb35b fix noexcept declaration issue in gcc4.8 4 years ago
Francisco Paisana 6509399ed3 fix for move-only events 4 years ago
Francisco Paisana 12dda03bb8 add ability for fsms to self-trigger 4 years ago
Xavier Arteaga 039f2164a6 Initial Sounding Reference Signals implementation 4 years ago
Francisco Paisana edba7f57e4 corrected mac_nr_pdu includes 5 years ago
Francisco Paisana b4b5cd7cd6 added nr gnb and ue interfaces 5 years ago
Francisco Paisana a2b76a4a5f use references rather than pointers 5 years ago
Francisco Paisana a88bffa5d5 created expected type and respective test 5 years ago
Francisco Paisana cf9d31ea64 fix coverity warning for useless call 5 years ago
Francisco Paisana 2204cab4c8 old gcc version cannot support the detected pattern. Removing it 5 years ago
Francisco Paisana e3d0b1c89e format missing fsm table 5 years ago
Francisco Paisana f4d19a6d44 added fsm table formmatting comments 5 years ago
Francisco Paisana 3ef8c67d67 enter/exit are now inside the state class. No need for friend classes anymore 5 years ago
Francisco Paisana 9b48130ae1 use of transition table to support guards in fsms 5 years ago
Francisco Paisana 04e192eb0f redesign fsm to use transition table 5 years ago
Francisco Paisana e79fc9bf08 fixed generation of ie containers of one single ie object 5 years ago
Xavier Arteaga d94078d543 Minor changes
Fix UE sequence generation

minor change
5 years ago
Xavier Arteaga 9d0a3268e8 Added DL channel estimator algorithm options 5 years ago
Andre Puschmann 39680ffd26 rrc_asn1_decoder: fix uninit var 5 years ago
Francisco Paisana 1c74c5675e remove ambiguous enter/exit template method 5 years ago
Francisco Paisana e1ac6d7cfe use macro to disable throw 5 years ago
David Rupprecht 4e283ec942 Standalone decoders for nas and rrc in asn1 test. Thanks Dirk 5 years ago
Andre Puschmann 5d92111586 pcap: adding SL-SCH support 5 years ago
Francisco Paisana b506e29b72 removed common ce_typeenum 5 years ago
Francisco Paisana 6ddedd5972 moved pdu to common mac folder 5 years ago
Francisco Paisana df0da116ce removed enter state visitor, and srslte::same_state return special case in fsms 5 years ago
Francisco Paisana 63142899d1 simplified some of the fsm sfinae conditions 5 years ago
Francisco Paisana 6322e447e9 fixed issue with subfsm revisits not starting in initial substate 5 years ago
Francisco Paisana d40dcd28f3 removed uneeded swap method 5 years ago
Francisco Paisana b5abba41a3 use normal polymorphism to create vtable 5 years ago
Francisco Paisana e2b10307ea changed inplace_task name to move_callback 5 years ago
Francisco Paisana ee50ed08c2 allow inplace task to be called in const contexts 5 years ago
Francisco Paisana ef834b3c60 changed inplace_task file name 5 years ago
Francisco Paisana a6b7c5d1d2 inplace task now uses small buffer optimization for bigger captures 5 years ago
Francisco Paisana 4b2b76cf01 created inplace task to avoid mallocs in task enqueuing 5 years ago
Andre Puschmann ba4d0aa860 remove blacklisted ARM PHY tests
issue causing decoding failure for QAM256 are fixed now so blacklist can go away
5 years ago
Xavier Arteaga 71476d1079 Minor phy_dl_test modification 5 years ago
Francisco Paisana 4ac07e5abb simplified power off state transition 5 years ago
Francisco Paisana ff988127fe wrote nas fsm test 5 years ago
Francisco Paisana 977a1acc5e eliminated unhandled_event special function. Use react instead. 5 years ago
Francisco Paisana 6e34dadce2 reverted back to tuples to store fsm state_list 5 years ago
Francisco Paisana 4036a6887a clean up enter/exit state methods 5 years ago
Francisco Paisana 8d3427e88a removed namespacing from state printing 5 years ago
Francisco Paisana b699e0e490 enter/exit moved outside of the states, into the fsm. Now i just use the type_name function to get a state name 5 years ago
Francisco Paisana 4a4827a603 created a method to detect unhandled events 5 years ago
Francisco Paisana ec3ef4474e created a simple procedure fsm 5 years ago
Francisco Paisana 1aae510e9d enter/exit are now being called in order 5 years ago
Francisco Paisana 2e15514d00 fix enter/exit calls 5 years ago
Francisco Paisana dc0427804f clean up comments and add some util functions 5 years ago
Francisco Paisana 7dc1489ea7 reintroduced optional enter/exit methods for each state 5 years ago
Francisco Paisana 6675e92806 implement fsm based on choice type 5 years ago
Francisco Paisana 018f9e7db2 implement visit pattern 5 years ago
Francisco Paisana 278a1686fb creation of choice/variant type 5 years ago
Francisco Paisana a2ade9edd1 break down rrc_interface_types.h into multiple files. moved pdcp_config.h to same folder 5 years ago
Francisco Paisana 2950d26daa remove asn1 namespace from srsue files 5 years ago
Xavier Arteaga 9a2b0b7cc7 Standard vector allocation uses vector library 5 years ago
Francisco Paisana 30ae2226c1 common interface for stack multiqueue tasks, background tasks and timers 5 years ago
Andre Puschmann 890f346808 pdcp: fixing LTE rx test
the test was introducing two lost SN and the number of expected SDUs
wasn't changed. Changed now counters, etc to only drop one SN.
5 years ago
Francisco Paisana 67f6eebf61 fix rlc stress test to reflect threading in stack 5 years ago
Andre Puschmann 5e9aa38551 pdcp: add test for reception of dublicate PDU 5 years ago
Francisco Paisana 8aa44928e9 fix 5g compilation errors 5 years ago
Francisco Paisana 344eaf49ec use logmap in the whole enb and ue 5 years ago
Francisco Paisana 8e837e173d printf has already a way to pad spaces. If we use it, we can avoid accidentally adding extra logs because we did srslte::logmap::get("MAC") instead of srslte::logmap::get("MAC ") 5 years ago
Francisco Paisana 82cb6baef0 now the whole ue and enb mac uses the logmap 5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
Francisco Paisana 5330249625 created tti_point type and unit test. Added also the tti_point to the scheduler harqs, and rrc procedure 5 years ago
Francisco Paisana 7548402632 change scell activation interface to use arrays. Added a method to the scheduler to get the current set of activated carriers 5 years ago
Pedro Alvarez 96c82b3fc6 Moved PDCP configs to pdcp_config.h. Added `as_security_cfg_t` structure to hold access stratum keys.
Refactored PDCP, RRC and USIM accordingly.
5 years ago
Francisco Paisana aaa333c1ff removed some clang warnings 5 years ago
Francisco Paisana 62609fdc11 fixed some logs. Also now use one single log obj for all the asn1 5 years ago
Andre Puschmann 9e113f8b27 pdcp: allow to configure security for rx/tx seperately
previously PDCP security (integrity and ciphering) could only
be enabled for both Rx and Tx at the same time.

this, however, caused an issue during the conformance testing in which,
in TC_8_2_1_1() for example, the eNB sends a SecModeCommand and a
RRC Reconfiguration in the same MAC TB. In this case, the eNB
needs to be able to enable DL security right after sending the SecModeCmd
in order to send the RRCReconfig encrypted. However, enabling UL security needs
to be postponed until after the SecModeComplete is received.

This patch allows to enable PDCP security for rx/tx independently if
that is needed. The default way is like before, enabling it for tx/rx at
the same time.
5 years ago
Francisco Paisana 6b96d21732 extension of the timer test to check safe running timer erasure 5 years ago
Francisco Paisana 5b2da779b7 new method in timer_handler to dispatch calls without an associated unique_timer 5 years ago
Francisco Paisana af76778fc8 remove fixmes 5 years ago
Francisco Paisana ac52208409 removed most of clang-tidy warnings, introduced logmap in asn1, fixed info object naming in s1ap and ngap for successful and unsuccessful outcomes 5 years ago