Francisco Paisana
5ae3afd2b8
created cbit_ref for unpacking const buffers
2020-01-23 12:22:19 +00:00
Francisco Paisana
5468189cd9
fix some variables' naming (e.g. x2_ap -> x2ap, e_rab -> erab)
2020-01-21 00:58:19 +00:00
Andre Puschmann
b0bfc7956d
use const& in metrics interface
2020-01-14 20:52:09 +01:00
Andre Puschmann
77522a6b69
add srsUE parameter to change netns before creating TUN in GW
2020-01-14 20:52:09 +01:00
yagoda
260648582e
small formatting fix
2020-01-14 16:53:57 +01:00
yagoda
fc1c506d1f
refactoring TA command structure in UE
2020-01-14 16:53:57 +01:00
yagoda
2db90c5dd3
allowing TA CE commands in Msg4
2020-01-14 16:53:57 +01:00
Andre Puschmann
d045213fb9
fixing bug in RRC measurement when receiving periodic config
...
in the UE conformance testing we've spotted an issue
where an event was evaluated even though the trigger type for
the report was periodic which caused an exception in RRC
2020-01-08 17:34:06 +01:00
Andre Puschmann
bc6aa1a166
fixing PDCP call in TTCN3 SS
...
this fixes an issue introduced in 6ec573987a
2020-01-07 11:05:20 +01:00
Andre Puschmann
e24d33562a
disabling ue_phy_test temporarily
2019-12-30 00:16:59 +01:00
Andre Puschmann
6ec573987a
remove default value for 'blocking' param from pdcp::write_sdu()
...
there were two defaults and one was shadowing the other. This
commit removes both defaults and uses blocking-mode for RRC
calls to PDCP in the UE. The eNB write_sdu() uses the non-blocking
mode by default. We have to review the eNB's RRC perhaps and use blocking
there too and non-blocking only for data plane
2019-12-29 23:45:37 +01:00
Andre Puschmann
8f419c035b
fixing snprintf issue where return value was used for length calculation
2019-12-29 23:38:27 +01:00
Andre Puschmann
e5609e299d
fix UE PHY test compilation on 32 bit systems
2019-12-23 23:06:52 +01:00
Xavier Arteaga
36b2102de8
SRSUE: avoid testing ue_phy_test
2019-12-23 22:57:37 +01:00
Xavier Arteaga
0134d47ee8
SRSUE: clear EARFCN list if the list is not empty
2019-12-23 22:57:37 +01:00
Xavier Arteaga
11eafa8ab4
srsLTE: FFTW wisdom gets loaded and saved by default
2019-12-23 22:57:37 +01:00
Xavier Arteaga
c92dce71b7
srsLTE: AGC only uses boundaries for requesting gain to Radio
2019-12-23 22:57:37 +01:00
Pedro Alvarez
6d4303cd94
Added option to force 32bit compilation (useful for debug). Fixed various warnings when compiling in a 32 bit arch.
2019-12-20 17:33:55 +01:00
Xavier Arteaga
089a5e21dc
Label test that memcheck is excessively long
2019-12-19 13:01:05 +01:00
Xavier Arteaga
ad46fc006f
srsLTE: Fix thread memory leak. Moved test. Fix CLang warnings.
2019-12-19 13:01:05 +01:00
Xavier Arteaga
a7e92c384e
srsLTE: applied minor comments in tti semaphore
2019-12-19 13:01:05 +01:00
Xavier Arteaga
d2c6dda025
SRSUE: Avoid sf_worker return without calling worker_end
2019-12-19 13:01:05 +01:00
Xavier Arteaga
447ede327c
srsLTE: removed unused argument
2019-12-19 13:01:05 +01:00
Xavier Arteaga
384c420c7c
SRSUE: fix phy workers concurrency issue
2019-12-19 13:01:05 +01:00
Xavier Arteaga
dc7ac0a8d6
SRSUE: Updated PHY test
2019-12-19 13:01:05 +01:00
Xavier Arteaga
6895bfa70a
SRSUE initial PHY worker test
2019-12-19 13:01:05 +01:00
Andre Puschmann
476f970ee1
replace FIXME with TODO
2019-12-18 11:25:56 +01:00
Andre Puschmann
f874722cfb
fix error handling in UE init
...
previously we've returned the init() function when a sublayer
init failed. This leaves the pointers to the layers unset which, in turn,
breaks the stop() call for the UE
2019-12-18 11:25:36 +01:00
Andre Puschmann
4a9e3728c9
add condtional variable for PHY initialization and configuration
...
adding a cond variable and mutex to protect init and (re-)config of PHY
currently this is only used during init. If the stack couldn't be
initialized but the PHY init thread was already started, we need to
properly wait until this is done
2019-12-18 11:25:36 +01:00
Andre Puschmann
705cd3c211
fix typos spotted by aleksander0m
2019-12-17 16:54:02 +01:00
Andre Puschmann
3127f59b4c
wait with init of GUI until cell is found and initialized
...
with the stack refactor we've introduced a regression in which
the GUI was started too early when no cell was found yet.
this caused the GUI to be initilized with only one Tx port. When connecting
to a cell with ports, the GUI plotter would then write
into unitialized memory.
2019-12-16 21:03:08 +01:00
Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
2019-12-16 16:04:22 +01:00
Andre Puschmann
c7ee887170
add factory function for creating PDCP config
2019-12-16 14:06:26 +01:00
Andre Puschmann
f7f956708c
use helper function to print MIB content
2019-12-16 12:49:07 +01:00
Andre Puschmann
8a064cd3a6
pass msg_type from caller when logging RRC message
...
before the type of some message wasn't displayed correctly,
like SIBs, for example because the logger didn't
know the filed to retrieve the type string
2019-12-16 12:49:07 +01:00
Andre Puschmann
60d07f1656
assign msg-type to temp variable before logging ASN1 message in RRC
2019-12-16 12:49:07 +01:00
Andre Puschmann
fa2821a4e7
fixing periodic measurment reporting
...
fixes various issues with unset timers, interval parameters, etc.
with those fixes, TC_8_3_1_1 and TC_8_3_1_2 pass
2019-12-13 13:25:24 +01:00
Francisco Paisana
d59016ae68
use of srslte::log* type for ASN1 logging. Initialization of the asn1 and rrc_asn1 loggers done now in both the ue and enb
2019-12-12 15:45:24 +00:00
Ismael Gomez
44c23b1690
Fix bug in rrc_meas in ASN to_number() conversion, making the UE to generate Measurement reports every TTI
2019-12-12 13:04:50 +01:00
Xavier Arteaga
1fa5a19a55
SRSUE: SRSUE: fix timealigmenttimer
2019-12-12 12:05:51 +01:00
Xavier Arteaga
bcde542111
SRSUE: fix typo
2019-12-12 12:04:36 +01:00
Xavier Arteaga
b9492bbd73
SRSUE: Fix set intra-frequency cell during cell search
2019-12-12 12:04:36 +01:00
Xavier Arteaga
8ad69b0c4d
SRSUE: Fixed minor RRC measurement
2019-12-12 12:04:36 +01:00
Xavier Arteaga
db36fb08a2
SRSUE: fix intra-frequency measurement cell select
2019-12-12 12:04:36 +01:00
Xavier Arteaga
22e4d3c905
SRSUE: Camping SFN synchronism discards cell
2019-12-12 11:57:17 +01:00
Xavier Arteaga
e89dde0f35
SRSUE: Check cell is valid
2019-12-12 11:57:17 +01:00
Xavier Arteaga
4be4f56333
SRSUE: Fix duplicates ACK
2019-12-12 11:55:58 +01:00
Francisco Paisana
d270518d69
updated rrc to new srsasn1 version
2019-12-11 19:58:20 +00:00
Xavier Arteaga
0ec49f00f7
SRSUE: Reset measurements during cell search in PHY
2019-12-09 11:53:22 +01:00
Pedro Alvarez
e68956bcf6
Adding discard timer timeout to PDCP config.
2019-12-04 18:21:14 +01:00