Andre Puschmann
81e28aa9dc
add basic support for TimingInfo field from tester
...
this fixes an issue where commands are received out of
order and we are therefore applying configs incorrectly. if
commands include a timinginfo we are now putting the command
on a queue that the SS reads after the start of a new TTI.
the security and cell reconfig commands will be added in another
PR after the AS_security command has been fixed.
2020-02-27 21:27:43 +01:00
Pedro Alvarez
746de79859
Adding const to some setters (adressing Francisco's comments).
2020-02-26 18:15:13 +00:00
Pedro Alvarez
126e6126fa
Removed unused function.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
1be699ce32
Removed unused variable in HSS.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
38411a8417
Clang-formated the EPC in preperation for PR.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
3d4f300b6f
Moved some helper setters/getters to hss_ue_ctx_t to remove more useless lookups.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
88c7988813
Fix bug in re-sync procedure.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
469c3ad273
Removed more useless lookups.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
93fbf741d7
Remove unecessary context lookup in increment_ue_sqn
2020-02-26 18:15:13 +00:00
Pedro Alvarez
4f62e6c08c
Started to remove unecesssary lookups in gen_auth_info_answer_milenage
2020-02-26 18:15:13 +00:00
Pedro Alvarez
a99ce1fc51
Started to remove unecesssary lookups in gen_auth_info_answer_xor
2020-02-26 18:15:13 +00:00
Pedro Alvarez
98400f65e2
Changed hss ue_ctx map to use unique pointers.
2020-02-26 18:15:13 +00:00
Pedro Alvarez
58bd5631e3
Starting to change map in HSS to use uinque_ptr.
2020-02-26 18:15:13 +00:00
Francisco Paisana
56b0d0d3c3
fix s1ap packing issue
2020-02-26 17:55:12 +00:00
Francisco Paisana
052892916e
fix mme/enb id assignment. Also, now using the macro for invalid rnti and a boolean flag for the uninitialized mme s1ap id
2020-02-26 15:17:45 +00:00
Francisco Paisana
2f57db5352
changed invalid rnti to 0
2020-02-26 15:17:45 +00:00
Francisco Paisana
7557ef45c8
changed the s1ap to allow the insertion of users without rnti
2020-02-26 15:17:45 +00:00
Andre Puschmann
55a5947df7
add default init to TTCN3 syssim to prevent segfault when tc_start isn't received
2020-02-26 12:20:23 +01:00
Andre Puschmann
39f2011699
fix issue in SS where Msg4 wouldn't be sent because ConnectionSetup is provided too late
2020-02-25 21:28:15 +01:00
Andre Puschmann
b88e877b4c
ttcn3: make SS single threaded and use SCTP for test ports
...
- remove all threading from SS
- use epoll to handle test port connections, signals, and timers
- convert testport interface to SCTP
2020-02-25 21:28:15 +01:00
Andre Puschmann
6d88b640b7
rrc: log full message if decoding fails
2020-02-25 21:28:15 +01:00
Andre Puschmann
0272506add
enable TTCN3 and 5GNR for Travis builds
2020-02-24 17:05:00 +01:00
Pedro Alvarez
830dffb05b
Small change in pkt compare function.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
5dd081846b
Removed unnecessary macro and some newlines.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
08c81c274b
Fix PDCP NR tests.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
aecfb151ce
Apply clang-format to the lib in preperation for PR.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
940626108b
Fix PDCP DRB test. Enabled encryption on PDCP LTE tests. Tests passing now.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
d98b888ca4
Separating PDCP read_header function from discard_header_function. Starting to add DRB unit test.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
dbb5c6c06c
Adding PDCP LTE SRB1 test. Test failing for now.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
284a0f7b4e
Starting to add PDCP LTE unit tests. Test failing for now.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
b841859220
Moved pdcp test functionality to a common header. Fixed linking issue in 5GNR PDCP
2020-02-20 20:53:27 +01:00
Pedro Alvarez
5f39c79bda
Moved some more packing functions to base class.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
d3d5da682e
Fix mistake in writting packet twice to upper layers.
2020-02-20 20:53:27 +01:00
Pedro Alvarez
fdd67c3865
Fix issue in integrity check in PDCP SRBs. Moved some helper functions to the pdcp base class
2020-02-20 20:53:27 +01:00
Pedro Alvarez
6508bd411f
Fix some issues with MAC copying
2020-02-20 20:53:27 +01:00
Pedro Alvarez
6648f7ebca
Update COUNT estimation for SRBs in PDCP
2020-02-20 20:53:27 +01:00
Pedro Alvarez
965b0ee99b
Starting to fix handling of RX SRB PDUs in PDCP.
2020-02-20 20:53:27 +01:00
Francisco Paisana
82629c6910
made failure to compute si periodicity more explicit. Created a const for sib1 periodicity
2020-02-20 20:48:36 +01:00
Francisco Paisana
5a64fc0a93
sib_acquire_proc is not tti-driven anymore. No need to call run explicitly
2020-02-20 20:48:36 +01:00
Francisco Paisana
57da7fd986
fixed issue with setting retry timer. I had to account for si_window_start in the timer duration
2020-02-20 20:48:36 +01:00
Francisco Paisana
925ac862cb
sib acquiring is failing for sib2
2020-02-20 20:48:36 +01:00
Francisco Paisana
c29f08d8d5
refactored si acquisition procedure to use stack timers. Also created an interface that is going to be used for the task/timer handling
2020-02-20 20:48:36 +01:00
Xavier Arteaga
f8165383f6
Neighbour SCell measurement test waits for final measurement before exiting-xx
2020-02-18 21:26:20 +01:00
Ismael Gomez
d56b87f68c
Typo
2020-02-18 14:54:09 +01:00
Ismael Gomez
7cdd1c2ba4
Set FIND sampling rate before setting frequency
2020-02-18 12:26:39 +01:00
Francisco Paisana
4d80856359
fix bug in cell selection initiation
2020-02-18 09:47:33 +01:00
Francisco Paisana
22f51bb30b
made cell select non-blocking using background threads
2020-02-18 09:47:33 +01:00
Ismael Gomez
21f01f6140
Do not print error when UL RNTI is not valid
2020-02-17 13:11:43 +01:00
Ismael Gomez
72e6fa40fc
Fix multiple issues with DCI sizes when using CA.
2020-02-17 11:21:34 +01:00
Ismael Gomez
a5b7dcdf16
Remove boost string ( #936 )
...
* Remove boost string
* Make sure that int/enc algos can be specified in capital case in the MME.
* Use == instead of compare for comparing strings with const chars
Co-authored-by: Pedro Alvarez <pedro.alvarez@softwareradiosystems.com>
2020-02-16 21:32:49 +01:00