Xavier Arteaga
7ba5099bee
Implement CSI-RS resource mapping validation
3 years ago
Andre Puschmann
07019a5bd6
nr: refactor DL/UL frequency deriviation
...
* add separate DL/UL freq point a in NR carrier struct
* use freqInfoDL/freqInfoUL to get freq point a
* simplify carrier tuning logic
3 years ago
David Rupprecht
0ef8976d53
Remove length from class and pass by reference
3 years ago
Xavier Arteaga
de89e829e7
Added NR PUCCH Resource ASN1 helper
3 years ago
Andre Puschmann
c9c3a68fae
asn1,rrc_nr: add error code handling to packing/unpacking of pdcch_cfg
3 years ago
Ismael Gomez
3f5094f30e
Remove confusing subband_size variable and replace with subband_wideband_ratio
3 years ago
Pedro Alvarez
8d41c0d476
Maded SRB configuration optional in rb.conf
4 years ago
David Rupprecht
e0b09f1301
Fixed coverity findings
4 years ago
David Rupprecht
724af2b060
Added nas 5g msg packing and unpacking
4 years ago
Andre Puschmann
fa461f0129
rrc_nr: fix linker error in setup_release_c
...
move implementation to cc file to avoid
[build] /bin/ld: CMakeFiles/rrc_nr_asn1_test.dir/rrc_nr_test.cc.o: in function `asn1::rrc_nr::setup_release_c<asn1::rrc_nr::pdcch_serving_cell_cfg_s>::set_setup()':
[build] /home/anpu/src/srsLTE/lib/include/srsran/asn1/rrc_nr.h:2276: undefined reference to `asn1::rrc_nr::setup_release_c<asn1::rrc_nr::pdcch_serving_cell_cfg_s>::set(asn1::rrc_nr::setup_release_c<asn1::rrc_nr::pdcch_serving_cell_cfg_s>::types_opts::options)'
[build] clang: error: linker command failed with exit code 1 (use -v to see invocation)
4 years ago
Xavier Arteaga
e3afd945bc
Refactored NR HARQ ACK feedback
4 years ago
David Rupprecht
4ed33fed7d
Fixed unpack bytes limit
4 years ago
David Rupprecht
6d5391756c
Refactor build of RLC NR config
4 years ago
David Rupprecht
d1d8500ce5
Add testcase for reconfiguration
4 years ago
David Rupprecht
ff3e7c321d
Added bref function for calc distance til end
4 years ago
Xavier Arteaga
48e0fc3c99
Implemented initial PBCH decoder and refactored SSB candidate selection
4 years ago
Xavier Arteaga
a57336d64f
Integrate periodic SSB measurement in SRSUE and fix related defects
4 years ago
Andre Puschmann
598594c51a
all: bunch of pass by const& changes suggested by LGTM
4 years ago
Xavier Arteaga
6c39a5e4ff
Added PDSCH DMRS aditional unpacking
4 years ago
Xavier Arteaga
86ad0446e1
Added NR PDSCH and PUSCH resource allocating flattening
4 years ago
Andre Puschmann
4dd17aee45
rrc/phy/nr: calculate tuning freq of NR carrier from RRC signaling params
...
skip initial tuning to hard-coded NR frequency and use RRC-provided
values to calculate center frequency
4 years ago
AlaiaL
23f0bd4d4f
Fixed coverity 369716
4 years ago
Francisco
289559af82
asn1 fix - fix choice access correct type assert
4 years ago
Francisco
ff3fc0826b
asn1 fixes and improvements
...
- use const char* instead of std::string in enumerated<>::to_string() to avoid mallocs.
- Remove the use of "typedef", and use "using" keyword instead.
- Fix rrc_nr::setup_release_c<>::to_string() broken linkage.
4 years ago
Xavier Arteaga
47523935f6
Minor NR RRC fixes
4 years ago
David Rupprecht
6b41ae7e8b
Updated PDCP config struct for rat type
4 years ago
Xavier Arteaga
77b6b60b82
Fix rach_cfg.nof_groupA_preambles
4 years ago
David Rupprecht
db9dd85783
Parse carrier config in NR RRC reconfig
4 years ago
Andre Puschmann
936bebcfd7
rrc_nr_utils: fix extraction of HARQ processes from ASN1 reconfig
4 years ago
David Rupprecht
bfe2ad98ef
Added parsing for NR DL HARQ cfg
4 years ago
David Rupprecht
fe8727050b
Added new rrc_nr to phy flattening functions and fixes
4 years ago
Francisco
66988ffd32
s1ap - simplified erab setup procedure. Handle correctly the failure to setup causes
4 years ago
Francisco
f401683960
s1ap - simplified erab modify procedure
4 years ago
Francisco
76978f0d14
s1ap - simplified erab release procedure
4 years ago
Francisco
d2c404b166
handover - setup s1ap cause in case of handover failure at the target enb
4 years ago
David Rupprecht
5a3a2a6d6f
Added functions for adding phr and tag config
4 years ago
Xavier Arteaga
2f8ea05132
SRSUE: Add periodic CQI R10 parsing
4 years ago
Xavier Arteaga
17a3c76540
Fix NR TDD pattern configuration
4 years ago
Xavier Arteaga
49731ab5a1
Initial NR-DCI refactor
...
Added NR DCI 1_1 size
Several DCI NR fixes
4 years ago
Xavier Arteaga
6219500148
Added NR-RRC RACH parsing
4 years ago
David Rupprecht
8c86d2084d
Adding NR phy config RRC parsing
...
Added error handling
Reworked flattening error handling
4 years ago
Codebot
4523ee6087
rename srsLTE to srsRAN
4 years ago
Xavier Arteaga
81cc8de2b7
Protect NAS unbounded message read
4 years ago
David Rupprecht
8f49b92760
Using PDCP entity lte instead of nr for nr bearer
4 years ago
David Rupprecht
0f1586dd2d
Deleted all HAVE_5GNR in CC and h files
...
CMakeList and travis yaml
4 years ago
David Rupprecht
876858b44c
Added mac nr prach common config convert function with test case
4 years ago
David Rupprecht
a3be380e3b
workaround to mitigate the linking error
4 years ago
Pedro Alvarez
3eab97340b
Fix issue in getting PDCP discard timer from configs
4 years ago
Francisco
6a178693a8
handle rrc configs with pdcp with sn=15 or 18 bits
4 years ago
Francisco
faf2adde90
set last_submitted_pdcp_rx_sn to -1 of the next ul rx sn
4 years ago
Pedro Alvarez
89a23cec7e
Added statusReportRequired to the PDCP entity config.
4 years ago
Francisco
c2dfe615e7
fixed alignment of LIBLTE_BYTE_MSG_STRUCT to reflect the one of byte_buffer. Add bzero in liblte packers
4 years ago
Francisco
4188b5146e
fix uninitialized memory access in gtpu_test and liblte_mme unpacking
4 years ago
Francisco
0c7c317be5
refactor byte_buffer class and move it to separate file
4 years ago
Francisco
9e25e95545
fix S1AP UE Capability Indication message. Created helper to log received S1AP messages
4 years ago
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.
4 years ago
David Rupprecht
ceda458bb3
Added MAC NR to EUTRA and NR with stack interfaces including MAC config build
...
Moved MAC logical channel config to MAC interface types
4 years ago
David Rupprecht
a6046ca875
Added funcs for asn flat config RLC and PDCP
4 years ago
Francisco
049ad77fca
simplify asn1 choice types with one single type with a packer
4 years ago
Francisco
c336c3eed2
added to_number() conversion of rrc_nr poll_byte
4 years ago
David Rupprecht
020d0dacc8
add the additional sec cap to NAS attach request
...
use same capabilities that are signaled for EUTRA
4 years ago
Andre Puschmann
c02aa8f124
liblte_mme: add DCNR UE capabilties packing
4 years ago
Francisco Paisana
74ffe393c6
asn1 update: s1ap asn1 is now v16.1 (2020-03)
4 years ago
Francisco Paisana
66aa34d173
update RRC NR ASN1 to 2020-09 v15.11
4 years ago
Francisco Paisana
e27c0869e5
update RRC ASN1 to 2020-09 v15.11
4 years ago
Francisco Paisana
1ea635f9ae
asn1 utils fix: avoid unpacking an unconstrained integer length twice
4 years ago
Francisco Paisana
ea36e46635
fix asn1 length determinant packing/unpacking. avoid subtracting len by zero before the packing
4 years ago
Francisco Paisana
d198e8fb31
fix asn1 length determinant packing for upper bounds above 64K
4 years ago
Francisco Paisana
1304746bce
use of fmt lib in asn1 utils
4 years ago
David Rupprecht
848496bb0f
Moved get_earfcn to srslte get_carrier_freq func
4 years ago
David Rupprecht
2e51cfc1a5
Added black cells with index function
...
Added new index functios
Use asn1 list functions for toAddMod and toRem lists
4 years ago
Francisco
b41fc96d6d
fix asn1 integer packing for integer values whose length is equal or above 32 bits
4 years ago
Andre Puschmann
00a6e16c14
update license header for liblte_*.{h,cc} files
...
user license-agnostic text to refer to license file.
make sure copyrights/years are correct.
4 years ago
Andre Puschmann
07d2bc4fe8
change license header to agnostic version with hint to root LICENSE file
4 years ago
Francisco
2dc3fce9bd
fix derivation of UL-64QAM support from the UE Capabilities in the eNB
...
Before this PR, the eNB was not activating UL-64QAM if the UE release was below 12,
due to an erroneous convertion of the ASN1 EUTRA Capabilities struct into the flattened
srslte::ue_capabilities_t.
With this PR, the eNB activates UL-64QAM for the following cases:
- UE category 5
- UE category 8 and release >= 10
- UE category UL 8 and release >= 12
4 years ago
Francisco Paisana
bf7c587e4f
add UL 64QAM support to eNB RRC and scheduler
4 years ago
Francisco Paisana
510959b50f
update nr asn1 files, and asn1 tests
4 years ago
Francisco Paisana
b40a5a958e
use common function to fill rrc reconf message in handover
4 years ago
Francisco Paisana
e9b693942f
diff-based cell selection activation
4 years ago
Francisco Paisana
836e7d7ede
refactor scell addition in the srsenb::rrc to follow the same style of other rrc recfg fields
4 years ago
Francisco Paisana
97f2e4336e
refactor of functions for filling the asn1 radio resource config structs. This functions are used during rrc setup/reest/reconf
4 years ago
Andre Puschmann
5e7de0a95b
cmake: install individual libraries (common, phy, etc)
...
this seems to be important for package maintainers
or people who use srslte components in other projects
thar require to link against static libs
so besides installing headers, the apps and the RF lib, we also
install all individual libraries
this fixes https://github.com/srsLTE/srsLTE/issues/500#
and https://github.com/softwareradiosystems/srsLTE/issues/1754
4 years ago
Pedro Alvarez
b43e724b4c
Remove packing/unpacking code for M2AP.
4 years ago
Xavier Arteaga
ef9d77c966
SRSUE: add PRACH config present field in PHY configuration structure
4 years ago
Francisco Paisana
7605c7df23
added s1ap handover notification, fixed s1ap asn1 bug, and fixed bad fields for admitted erabs in ho req ack
4 years ago
Francisco Paisana
26f46ea067
add S1 Handover Request handling in target eNB
4 years ago
Francisco Paisana
2de702f50e
disable carrier aggregation when ue release is below 10 or category is below 5
5 years ago
Francisco Paisana
613003ac53
add srsenb::rrc class
5 years ago
Francisco Paisana
2da8c923b1
removed commented code and fixed interfaces
5 years ago
Francisco Paisana
b4b5cd7cd6
added nr gnb and ue interfaces
5 years ago
Francisco Paisana
e8aff22e1b
using new rrc obj id util methods in handover code
5 years ago
Francisco Paisana
ca0db7fffe
created generic methods to apply toaddmodlist and removelists.
5 years ago
Francisco Paisana
fbd889ad4d
fix formatting issues in asn1
5 years ago
Francisco Paisana
e79fc9bf08
fixed generation of ie containers of one single ie object
5 years ago
Francisco Paisana
f8c6f55cac
fix uninit var usages and signed bit manipulations
5 years ago
Francisco Paisana
de4d58d8fe
fix coverity scan issues in master
5 years ago
Xavier Arteaga
562590e595
Fix LGTM warnings
5 years ago
Pedro Alvarez
ad0abe740b
Added support to PDCP SN len of 7. Also added a check for valid configs in pdcp entity.
5 years ago
Andre Puschmann
09ee7588b0
npdsch_ue: decode SIB1 and extract scheduling params for SIB2/3
...
also extend GUI and show JSON formated system information
5 years ago
Francisco Paisana
c38a3721a6
added nbiot asn1 lib
5 years ago