Francisco Paisana
39b380c8e0
fix compilation issue for gcc version < 5
4 years ago
Francisco Paisana
2f689372dd
added missing header
4 years ago
Francisco Paisana
c1755727d7
changed interval method names, and added comments and assertions
4 years ago
Francisco Paisana
b2dd46ccad
remove extra space in to_string
4 years ago
Francisco Paisana
20b69fb22e
substitution of ul_alloc_t for prb_interval
4 years ago
Francisco Paisana
26f46ea067
add S1 Handover Request handling in target eNB
4 years ago
Francisco Paisana
857cc141c7
fix macro checking for exceptions, added missing includes, fixed bounded bitset methods' noexcept specifiers
4 years ago
Francisco Paisana
caf862c99f
moved expected, bounded_bitset, move_callback to adt folder. created a test for bitset
4 years ago
Ismael Gomez
382811e10e
Update S1AP RNTI context when doing Reestablishment ( #1582 )
4 years ago
faluco
1253740da3
- Extracted traits from class to a detail namespace.
4 years ago
faluco
072e84cec8
- Simplified the usage of span now with implicit constructors as it should be.
...
- Added overload for generic containers that have size and data members like vector.
- Removed unnecessary uses of make_span.
4 years ago
faluco
eb4b2d4e43
- Added a clarification comment on why to use make_span.
...
- Moved byte_buffer utilities to common.h thus breaking the dependency of ADT to COMMON.
- Fixed compilation failures in tests.
4 years ago
faluco
af8dfcf19c
Extended a bit the span implementation with the following changes:
...
- Documented methods and class.
- Adapted interface to the latest standard: no init list and generic container constructors, new iterator pair ctor.
- Implemented some SFINAE for managing conversions in constructors.
- Re-organised some methods to be grouped by category (modifiers, observers, iterators, ...).
- Added convenience make_span functions.
- Added some more asserts.
- Adapted test to use some syntax that was modified.
4 years ago
Francisco Paisana
76a62909c1
use of span type for universal array views
4 years ago
Francisco Paisana
a9d882c1f1
fix task_scheduler_test. Fix potential reference invalidation in task_scheduler internal tasks data structure
4 years ago
faluco
9e2a116e11
- Fix a missing template parameter in the constructor.
...
- Decay the type to the template.
- Switched member order to improve memory layout.
4 years ago
Francisco Paisana
0f67bee556
creation of a scope exit standalone file. Created a new folder ADT. Added test for scope exit.
4 years ago
faluco
cfd3f51931
Import of srslog into srsepc and srsenb. ( #1574 )
...
* - Import of srslog into srsepc and srsenb.
* - Removed logger_file and logger_stdout files.
4 years ago
Xavier Arteaga
21e9a3958f
Minor changes
4 years ago
Xavier Arteaga
51c6e8d1a6
Radio: channel map includes device mapping, unmapped Rx uses dummy buffers
4 years ago
Ismael Gomez
dda91b14f7
Remove duplicate add_rnti() function since already done in set_config
4 years ago
Xavier Arteaga
fda1d040e7
SRSENB: implement PUSCH threshold for UCI bits
4 years ago
faluco
efdff8ba4c
Import srslog into srsue ( #1556 )
...
- Import the srslog project into srslte.
- Ported srsue app to use the new logging framework.
- Implemented a wrapper that dispatches log entries to srslog.
- Renamed an existing log test to be more specific to avoid name clashes.
4 years ago
Ismael Gomez
f380f46a10
Revert "Remove unnecessary zero memory ( #1564 )"
...
This reverts commit f662aeaff3
.
4 years ago
Andre Puschmann
9550bd3ef8
rlc: revisit interface for MAC and RRC
...
* add locked and unlocked version of has_data() since one is
called from stack and one from PHY threads
* add comments in each interface section as to why locking
is required or not
* remove RLC rwlock when not required
* move calls only used by RRC to RRC section
5 years ago
Francisco Paisana
58c4bcf288
reduce mcs for UL grants carrying UCI
5 years ago
Ismael Gomez
f662aeaff3
Remove unnecessary zero memory ( #1564 )
...
* RF drivers to allow nullptr buffers in send/recv
* Remove zeromem from radio
* remove unused buffers
5 years ago
Xavier Arteaga
729986f259
srsLTE: Added PUCCH format 3 valid correlation
5 years ago
Andre Puschmann
c8b4ba885b
rename rlc_tx_queue to byte_buffer_queue
...
this data structure will be used by the PDCP layer as well.
5 years ago
Francisco Paisana
36fc88d2e2
fsm log macros, and utility methods to convert event callbacks to move tasks
5 years ago
Francisco Paisana
9c5471b094
more ergonomic event callback
5 years ago
Francisco Paisana
d48a45976e
moved cell selection/search complete event signalling out of phy_controller
5 years ago
Francisco Paisana
489969722e
implemented phy controller FSM to perform cell selection & search. The controller also tracks the phy sync state
5 years ago
Andre Puschmann
a7911f0dab
pdcp,rlc: refactor SDU queueing policy
...
this patch refactors the SDU queuing and dropping policy of the RLC and PDCP layer.
the previous design had issues when packets have been generated at a higher
rate above the PDCP than they could be consumed below the RLC.
When the RLC SDU queues were full, we allowed two policies, one to block on the write
and the other to drop the SDU. Both options are not ideal because they either
lead to a blocking stack thread or to lost PDCP PDUs.
To avoid this, this patch makes the following changes:
* PDCP monitors RLC's SDU queue and drops packets on its north-bound SAP if queues are full
* a new method sdu_queue_is_full() has been added to the RLC interface for PDCP
* remove blocking write from pdcp and rlc write_sdu() interface
* all writes into queues need to be non-blocking
* if Tx queues are overflowing, SDUs are dropped above PDCP, not RLC
* log warning if RLC still needs to drop SDUs
* this case should be avoided with the monitoring mechanism
5 years ago
Andre Puschmann
7a66a00e15
block_queue: add method to check if given queue is full
5 years ago
Xavier Arteaga
f39abe0094
SRSENB: fix MAC pending PHY config
5 years ago
Francisco Paisana
5e06430455
removal of stack handler interface
5 years ago
Francisco Paisana
7c364070ee
creation of task scheduler interface for classes/functions running outside the main control thread
5 years ago
Francisco Paisana
039977aeb5
renamed interfaces
5 years ago
Francisco Paisana
1a9c04bf2f
use of task scheduler handle in pdcp
5 years ago
Francisco Paisana
e9f34c7613
using task scheduler in enb stack
5 years ago
Francisco Paisana
4f5e65781f
created task scheduler class to deal with timers, thread pool, multiqueue, internal tasks
5 years ago
Pedro Alvarez
89b6e0f714
Send paging message to all cells.
5 years ago
Francisco Paisana
fe8f8be62d
apply separate cqi configurations to scells
5 years ago
Andre Puschmann
035c369a43
mac_pdu: fix check of remaining length when adding new subheader to MAC PDU
...
when adding a new subheader to a MAC PDU we should only add the subheader
if at least 2 bytes are left in the PDU. Even a 1 Byte MAC Control Element requires
another byte to pack the subheader.
This fixes #1424 in which a 3 B MAC opportunity is provided in the UL. After
adding the Short BSR, we tried to add another MAC subheader. Adding the subheader
succeeded even though no space is left to add a single byte. With this patch,
adding the subheader fails and the generates MAC PDU is correct.
5 years ago
Francisco Paisana
e550bf726d
updated fsm to allow enter methods to receive event that caused them
5 years ago
Andre Puschmann
ff96336f91
rlc_um: fix reestablishment for sending UM entity
...
we've reset the rx state variables during reestablishment but not
the tx state variable.
5 years ago
Francisco Paisana
cb7f620254
created separate class to manage bearers buffers/status reports in the scheduler
5 years ago
Andre Puschmann
df50dd7d3c
rlc: extend RLC metrics
...
extend RLC metrics to count Rx/Tx PDUs/SDUs bytes/#
5 years ago
Andre Puschmann
82f811ed52
rlc_am: change return value when writing SDU
...
return false when SDU couldn't be added to SDU tx queue so
to count dropped SDUs in base
5 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
5 years ago
Andre Puschmann
96726a03e0
rlc_stress_test: fix PCAP support
...
expose actual RLC configuration to PCAP object
5 years ago
Ismael Gomez
493b7ea2da
Remove SNR threshold based link failure detection
5 years ago
Ismael Gomez
874e614970
Increase PUCCH detection threshold to avoid false alarms
5 years ago
Francisco Paisana
2de702f50e
disable carrier aggregation when ue release is below 10 or category is below 5
5 years ago
Francisco Paisana
9855749e9a
remove comments
5 years ago
Francisco Paisana
eee195c828
remote commented lines and added comments
5 years ago
Francisco Paisana
8ea059d578
fix pnf messages and shutdown
5 years ago
Francisco Paisana
e555e50a90
fix pnf packing for MIB messages
5 years ago
Francisco Paisana
e3e9bbcd62
fix PNF PDU size cutting
5 years ago
Ismael Gomez
29e126a583
Add per-channel TX gain ( #1450 )
...
* Change type of rf_set_gain() to avoid unambiguous return with negative gains
* Add per-channel TX gain
5 years ago
Francisco Paisana
0938c447f7
fix compilation error
5 years ago
Francisco Paisana
b68ef69ab4
fix comments and other minor issues
5 years ago
Francisco Paisana
0259d31b13
fix lack of final in pdcp virtual methods
5 years ago
Francisco Paisana
eb69683dc3
fix lack of final in virtual methods
5 years ago
Francisco Paisana
42969ad992
add tb size as argument to gnb
5 years ago
Francisco Paisana
2f8dad03cc
add rlc nr locking
5 years ago
Francisco Paisana
f0874b780b
add radio_base/null classes
5 years ago
Francisco Paisana
64e8f5e3ed
update license year
5 years ago
Pedro Alvarez
9c1a7d2cf1
Removed get_bearer_status in PDCP. Renamed get_state/set_state to
...
get_bearer_state/set_bearer_state.
5 years ago
Pedro Alvarez
208a539499
Split PDCP tx_count state variable into tx_hfn and next_pdcp_tx_sn
...
variables.
5 years ago
Pedro Alvarez
08578a7331
Switched to use a struct to hold the PDCP entity state variables. Deleted some unecessary setters.
5 years ago
Pedro Alvarez
66d4f320e5
Added intereface to set PDCP state after reestablishment.
5 years ago
Pedro Alvarez
33567d81db
Added interface to get internal PDCP state.
5 years ago
Pedro Alvarez
4093e75237
Starting to add getters and setters of the state in PDCP lte entity.
5 years ago
Xavier Arteaga
e0e8405285
SRSUE: initial scell sync
...
SRSUE: SCell Synch feedbacks delay
SRSUE: Implemented SCell Radio offset correction
5 years ago
Xavier Arteaga
f04cf2090a
Integrates number of samples in radio buffer
...
Fix minor issue
Radio: Fix minor bug and add unit test
5 years ago
Xavier Arteaga
de230826b9
Added string helper for removing spaces and parsing list
...
Fix
Fix string parser
5 years ago
Xavier Arteaga
89b24b54e5
Refactored radio class for acommodating multiple RF devices
5 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
5 years ago
Francisco Paisana
3c2e3dbdbf
added latest mac nr updates
5 years ago
Francisco Paisana
cc52edf820
added latest pnf/vnf api updates
5 years ago
Francisco Paisana
27e5d98ef9
added vnf phy nr
5 years ago
Francisco Paisana
b05ce2fe57
added pnf_dummy test
5 years ago
Francisco Paisana
8a022fb35b
fix noexcept declaration issue in gcc4.8
5 years ago
Francisco Paisana
6509399ed3
fix for move-only events
5 years ago
Francisco Paisana
12dda03bb8
add ability for fsms to self-trigger
5 years ago
Francisco Paisana
d859c33035
added check for UCI collision during DL scheduling for CA
5 years ago
Ismael Gomez
60b5fb9a74
Refactor variable name
5 years ago
Andre Puschmann
8512c10286
create simple helper method to log command line arguments
5 years ago
Xavier Arteaga
039f2164a6
Initial Sounding Reference Signals implementation
5 years ago
Francisco Paisana
613003ac53
add srsenb::rrc class
5 years ago
Ismael Gomez
84b84eaad6
Move search_in_common variable
5 years ago
Ismael Gomez
9b634b8d2a
Search DCI in UE space before common to avoid DCI size ambiguity. Fixes #1398
5 years ago
Francisco Paisana
c6dde24476
avoid blocking when new procedure is launched from within proc::then call
5 years ago
Pedro Alvarez
960c0e97cd
Added handling of RRC re-establishment to srsENB.
...
* Added the appropriate code for handling and sending the
re-establishment procedure messages to rrc_ue.c/.h.
* Triggered RRC reconfiguration after the reception of RRC
re-establishment complete
* Refreshed K_eNB at the reception of re-establishment
request
* Changed the mapping of TEIDs to RNTIs in the GTP-U layer,
as the RNTI might change with reestablishment.
5 years ago
Daniel Willmann
0e99e2f6eb
srsue: Refactor definition to live in its own .cc file
5 years ago
Francisco Paisana
452c043370
created a global map of lcids to srbs/drbs for NR
5 years ago
David Rupprecht
61b69a0dab
security: refactor code, fix race in eia1
...
* state funktion for eia1 (mitigate race condition)
* Extra file for snow3g
* just use mbedtls aes
* ref specification
* adding const keyword to security functions
5 years ago
faluco
cf5b321fb5
Replace magic numbers with macro constants.
...
Adjust comments to refer to these macros.
5 years ago