faluco
806268f6cf
Por asn1 code in lib directory to srslog ( #2253 )
...
* Match hex dump indentation with srslog.
* Port asn1 utils to use srslog. Converted logging functions from taking varargs to variadic template functions.
* Remove trailing new lines in log lines from asn1 utils.
* First round of upgrades to srslog to asn1 tests.
* Second round of porting asn1 tests to srslog.
2021-02-01 11:58:28 +01:00
Francisco Paisana
1304746bce
use of fmt lib in asn1 utils
2020-12-15 15:56:59 +01:00
Francisco
b41fc96d6d
fix asn1 integer packing for integer values whose length is equal or above 32 bits
2020-12-12 15:59:27 +01:00
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
2020-12-12 15:59:25 +01:00
Francisco
1cb65f07f1
enable meas gaps in RRC and enb parser
2020-12-12 15:58:34 +01:00
Francisco Paisana
510959b50f
update nr asn1 files, and asn1 tests
2020-12-12 15:58:32 +01:00
Francisco Paisana
698af97ec4
updated asn1 utils to account for conversion from 0 to bitstring. Added asn1 utils test to repository.
2020-10-20 16:29:44 +01:00
Xavier Arteaga
f39abe0094
SRSENB: fix MAC pending PHY config
2020-07-13 15:27:46 +02:00
Francisco Paisana
ca0db7fffe
created generic methods to apply toaddmodlist and removelists.
2020-05-12 14:17:57 +01:00
Francisco Paisana
de4d58d8fe
fix coverity scan issues in master
2020-04-29 11:17:00 +02:00
Xavier Arteaga
e832769ae6
Updated copyright
2020-03-16 11:26:06 +01:00
Francisco Paisana
62609fdc11
fixed some logs. Also now use one single log obj for all the asn1
2020-03-03 21:26:50 +00:00
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
2020-02-28 18:03:29 +00:00
Francisco Paisana
5ae3afd2b8
created cbit_ref for unpacking const buffers
2020-01-23 12:22:19 +00:00
Francisco Paisana
ee24b59924
converted s1ap to new s1ap asn1 lib. Cleaned up bitstring packing/unpacking and bitstring types
2020-01-21 00:58:19 +00:00
Francisco Paisana
61b3e6b57e
imported new s1ap asn1 lib
2020-01-21 00:58:19 +00:00
Francisco Paisana
182a721329
fix some integer printf potential warnings
2020-01-07 21:33:31 +01:00
Andre Puschmann
1155adf007
fixing printfs in asn1_utils
2019-12-29 23:37:49 +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
Andre Puschmann
0feb8d1362
fixing two more issues reported by lgtm in asn1 libs
2019-12-16 12:49:07 +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
Francisco Paisana
d270518d69
updated rrc to new srsasn1 version
2019-12-11 19:58:20 +00:00
Francisco Paisana
514b9045ca
added begin/end methods to asn1 arrays and fixed v2x bug
2019-11-27 20:44:24 +01:00
Francisco Paisana
200e18ee3a
added diff computation for reportconfig and measid. Tests passing
2019-11-01 15:48:47 +00:00
Francisco Paisana
1524e28c3a
finished the function to compute diffs between cells/measObjs of two var_meas_cfg objects. Added tests for this. Now the update of a UE's var_meas_cfg is made via a shared pointer.
2019-11-01 15:48:47 +00:00
Francisco Paisana
b7559171b7
added logic to insert cells from conf file into var_meas_cfg and calculate diffs between meas_objs
2019-11-01 15:48:47 +00:00
Francisco Paisana
e768989074
added a packer/unpacker for bytes. This should a faster version than normal bit_ref::pack, when we want to pack multiple bytes, and the bit_ref::offset is 0. Also added a way to skip a fixed number of bits
2019-09-13 21:09:26 +02:00
Francisco Paisana
939c8905cb
now the unknown group exts are also consumed
2019-09-02 20:21:54 +02:00
Francisco Paisana
116dc0a57b
fixed group extensions, removed extra presence flag for copy_ptr<T> types as it was just a source of bugs.
2019-09-02 20:21:54 +02:00
Francisco Paisana
416f9896ec
fixes to include the findings from PR #550
2019-07-05 10:38:28 +02:00
Francisco Paisana
aca1e9612d
revert back from max_sizeof(...) to macros
2019-05-10 11:59:34 +02:00
Francisco Paisana
14b6a1d483
setter method for choice types
2019-05-10 11:59:34 +02:00
Francisco Paisana
37d104a2c5
max_sizeof(...) now does a divide a conquer to reduce recursion depth
2019-05-03 09:53:30 +02:00
Andre Puschmann
4b01a2e4a0
update copyright notice
2019-04-29 09:20:02 +02:00
Francisco Paisana
dc0b903130
added default enum inits
2019-04-02 11:03:37 +02:00
Francisco Paisana
ca3ea5e658
shortened enumerated types declarations
2019-02-21 15:56:23 +01:00
Francisco Paisana
0204db2e12
new asn1 rrc library
2019-01-17 17:43:13 +01:00