Francisco Paisana
58a9610efa
use of stack event loop to propagate cell search and selection results
4 years ago
Francisco Paisana
d48a45976e
moved cell selection/search complete event signalling out of phy_controller
4 years ago
Francisco Paisana
48138b5281
removal of phy cell selection procedure as it now it is replaced by phy controller
4 years ago
Francisco Paisana
489969722e
implemented phy controller FSM to perform cell selection & search. The controller also tracks the phy sync state
4 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
4 years ago
Francisco Paisana
5e06430455
removal of stack handler interface
4 years ago
Francisco Paisana
7c364070ee
creation of task scheduler interface for classes/functions running outside the main control thread
4 years ago
Francisco Paisana
1a9c04bf2f
use of task scheduler handle in pdcp
4 years ago
Francisco Paisana
4f5e65781f
created task scheduler class to deal with timers, thread pool, multiqueue, internal tasks
4 years ago
Pedro Alvarez
528777fa29
Added sleep to avoid nas test concurrency issue.
4 years ago
Francisco Paisana
510687766f
added comments in rrc cell select test
4 years ago
Francisco Paisana
c6f422d23e
improved cell selection test in srsue::rrc
4 years ago
Andre Puschmann
218fa5cf55
ttcn3_dut: fix bug in DUT
...
reducing the sync queue len to 1 caused an issue when the
PHY was locking the mutex while trying to push a TTI event
on the stack.
instead of signaling the new TTI within the PHY, we now do it outside
in the DUT (after releasing the PHY mutex)
4 years ago
Francisco Paisana
84f34bc736
changed to a label filtering approach for ctest
4 years ago
Francisco Paisana
ebb8f18000
set some extra tests with the prefix "long_"
4 years ago
Francisco Paisana
c6323478d2
remove unecessary sleeps in mac test, and add long_ prefix in long tests
4 years ago
Andre Puschmann
a5c0f96fa7
srsue: limit sync queue length to 1 for ZMQ radio
...
apply same change that we've done on the eNB also on the UE
to avoid the PHY processing TTIs faster than the stack.
Without that, we see lots of those in the logs:
...
08:39:17.580325 [STCK] [W] Detected slow task processing (sync_queue_len=7).
...
4 years ago
Andre Puschmann
c15b2ec810
ttcn3_dut: always create timer when enabling TESTMODE B
...
create timer but dont yet set it. this avoid adding multiple
checks if the timer var is actually initialized.
4 years ago
Andre Puschmann
63f1ea1bec
ttcn3: streamline DRB and SRB Tx interface
...
use the same tx interface with const uint8_t* and length byte instead of std::string
4 years ago
Daniel Willmann
7a25d1d300
Send the RRC_PDU_IND as JSON
...
Fixes: srslte_ttcn3#13, srslte_ttcn3#15
4 years ago
Andre Puschmann
2c5e159420
ttcn3_drb_interface: remove use of GetArray()
...
unfortunately, the rapidjson version shipped with Ubuntu 16.04
doesn't support the GetArray() API so we need to use
normal iterator to loop over the array
4 years ago
Andre Puschmann
bf6ddbe976
ttcn3_drb_interface: use uint8_t and len as tx interface
4 years ago
Andre Puschmann
7f47edf67f
fix issue where PDCP SDU was not going through UE stack to SS
...
this cause the PDCP echo reply not to appear in MAC/PCAP
4 years ago
Andre Puschmann
07f22326b4
pass current SS TTI when formatting DRB common IND
4 years ago
Daniel Willmann
8652f75510
Don't try to guess the lcid, use what we got
4 years ago
Daniel Willmann
0b88161b3c
Send DRB PDUs as JSON to TTCN3
4 years ago
Daniel Willmann
31f1516d74
Use callback to establish connection before sending PDUs in TestmodeB
4 years ago
Daniel Willmann
9aa441f8b6
ttcn3_ue::timer_expired(): Loop through the correct queue
...
Fixes a segfault when a NULL pdu is passed to loop_back_pdu_with_tft()
4 years ago
Daniel Willmann
a3adba0081
Implement DRB establishment and handle rx/tx
4 years ago
Daniel Willmann
999de5f484
ttcn3_helpers: Add function to generate JSON for DRB PDUs
4 years ago
Pedro Alvarez
9c1a7d2cf1
Removed get_bearer_status in PDCP. Renamed get_state/set_state to
...
get_bearer_state/set_bearer_state.
4 years ago
Xavier Arteaga
e0e8405285
SRSUE: initial scell sync
...
SRSUE: SCell Synch feedbacks delay
SRSUE: Implemented SCell Radio offset correction
4 years ago
Xavier Arteaga
f04cf2090a
Integrates number of samples in radio buffer
...
Fix minor issue
Radio: Fix minor bug and add unit test
4 years ago
Xavier Arteaga
de230826b9
Added string helper for removing spaces and parsing list
...
Fix
Fix string parser
4 years ago
Xavier Arteaga
89b24b54e5
Refactored radio class for acommodating multiple RF devices
4 years ago
Daniel Willmann
0e99e2f6eb
srsue: Refactor definition to live in its own .cc file
4 years ago
Xavier Arteaga
e605a6f367
UE PHY test disabled due to unstable behaviour
5 years ago
Xavier Arteaga
0d2b3eb55d
Removed ue_phy_test log overload
5 years ago
Xavier Arteaga
2d8bd0692a
SRSUE: fix and enable UE PHY test
5 years ago
Francisco Paisana
38f848ecdf
fix type name deducing for clang
5 years ago
Francisco Paisana
b8e6ba02e4
remove warnings related to unused vars and fwd declarations with trivial dtors
5 years ago
Francisco Paisana
b506e29b72
removed common ce_typeenum
5 years ago
Xavier Arteaga
58803d1b3e
Added UL EARFCN map and UE PHY interface cleanup
5 years ago
Xavier Arteaga
77d5dedddc
Fix LGTM warnings and recommendations
5 years ago
Francisco Paisana
6ddedd5972
moved pdu to common mac folder
5 years ago
Xavier Arteaga
e6792cf9b7
Refactored OFDM and added half CP window offset in UL Demodulator
5 years ago
Francisco Paisana
c09f76ed6c
unified stack task defer method
5 years ago
Andre Puschmann
d35c9e2b89
nas: add support ot UE test loop mode B
...
extend GW-NAS interface to signal test mode activation.
The method is a noop in the normal GW but is implemented in
the TTCN3 DUT according to TS 36.509 for Mode B
5 years ago
Andre Puschmann
451bbb20e8
ttcn3_ss: refactor AS security activation and use new timed call
5 years ago
Andre Puschmann
54a99d3f66
ttcn3_dut: add basic DRB handler skeleton
...
the handler is currently just listening on the designated port
and prints the received JSON string
5 years ago
Andre Puschmann
84d80f3e32
ss: use factory method to create PDCP config for SRB
5 years ago
Xavier Arteaga
9a2b0b7cc7
Standard vector allocation uses vector library
5 years ago
Xavier Arteaga
25312e81b4
SRSUE: cell select RRC MEAS CFO is carried to PHY Cell object
5 years ago
Xavier Arteaga
cbaba9c0bd
Fix RRC and TTCN3 test
5 years ago
Francisco Paisana
30ae2226c1
common interface for stack multiqueue tasks, background tasks and timers
5 years ago
Andre Puschmann
94c6034339
nas: rename start_attach_request to start_attach_proc
...
this is to better differentiate from "send_attach_request" that
only packs and send the actual attach request message. The
entire attach procedure may include PLMN search, etc.
5 years ago
Andre Puschmann
9239bb14a6
ss: store current TTI in DL/UL grant struct
...
this fixes the TTI log in the PCAP generated by the UE
5 years ago
Andre Puschmann
5267a88d60
ttcn3_ss: remove unneeded NDI reset
5 years ago
Andre Puschmann
562b4ef6c8
ttcn3_ss: add missing timer stepping
5 years ago
Francisco Paisana
344eaf49ec
use logmap in the whole enb and ue
5 years ago
Francisco Paisana
c7741f368f
update rrc_meas_test
5 years ago
Andre Puschmann
b9a2217355
fix uninit vars reported by Coverity
5 years ago
Xavier Arteaga
5e6828c3a0
SRSUE: fix add/mod meas object
5 years ago
Francisco Paisana
70c2510c25
simplified mac_test step interface
5 years ago
Francisco Paisana
e91a7ea513
removed stack-mac interface dedicated methods. We use now the task dispatch methods instead
5 years ago
Francisco Paisana
de03c96c3b
mac::process_pdus now uses the stack task dispatch interface
5 years ago
Francisco Paisana
7f6bde59fc
move write_pdu_pcch and write_pdu_bcch_bch to stack thread
5 years ago
Francisco Paisana
de3c28e52d
added task dispatch capabilities to stack interface
5 years ago
Francisco Paisana
46a1be3e76
updated mac-rlc interface to use unique_byte_buffer
5 years ago
Francisco Paisana
82cb6baef0
now the whole ue and enb mac uses the logmap
5 years ago
Francisco Paisana
45bc123967
remove manual tti counters from the rrc
5 years ago
Francisco Paisana
138347b6b5
nas using stack timers
5 years ago
Francisco Paisana
d3f49d0e3c
changed interface sync-stack to allow tti jumps > 1
5 years ago
Andre Puschmann
cf9306abdb
fix UE CSV metrics header typo
5 years ago
Xavier Arteaga
e832769ae6
Updated copyright
5 years ago
Daniel Willmann
3a804e23fa
ttcn3_sys_interface: Parse SIBs even when "StaticCellInfo" is missing
...
The test TC_9_2_1_1_1 sends a Cell->AddOrReconfigure->Basic message
without a "StaticCellInfo" member. This is used to change SIB1 of
the cell and simulate a different PLMN/TAC in the test.
handle_request_cell_basic() ignored the json message if "StaticCellInfo"
is missing which results in the SIB not being updated (PLMN stays as
00102 for example).
With this patch the SIBs after the json are now parsed even if there
"StaticCellInfo" is missing. A confirmation of the json is not sent
because the test does not seem to expect one in that case.
Related: TC_9_2_1_1_1
5 years ago
Daniel Willmann
bc4e4ff97b
ttcn3_ip_sock_interface.h: Don't respond to UDP/ICMP Close
...
A close request should not be responded to with a ctrl_cnf
5 years ago
Ismael Gomez
e8b8c9922e
Add RF per-channel frequency band constraints ( #1026 )
5 years ago
Xavier Arteaga
76408b195e
Rename TX_DELAY and FDD_HARQ_DELAY_MS
5 years ago
Xavier Arteaga
65711d06dc
PRACH TA base default to 0 and apply clang-format
5 years ago
Xavier Arteaga
e8f9bfc6ba
Addition of PRACH TA correction
5 years ago
Pedro Alvarez
96c82b3fc6
Moved PDCP configs to pdcp_config.h. Added `as_security_cfg_t` structure to hold access stratum keys.
...
Refactored PDCP, RRC and USIM accordingly.
5 years ago
Daniel Willmann
1314b8f653
Implement override_lcid() function in ttcn3_sys_interface
...
Fixes: TC_7_1_1_1 (#6 )
5 years ago
Ismael Gomez
4e12405fff
Remove radio_multi class and organize channels, ports and carrier buffers ( #1019 )
5 years ago
Andre Puschmann
664170fec6
pcap: add CC index when writing PCAP
5 years ago
Andre Puschmann
a8bbe551ac
move thread class into srslte namespace to avoid ambiguity between std::thread
5 years ago
Andre Puschmann
e7c10270fa
ttcn3_ss: fix security activation for PDCP
5 years ago
Andre Puschmann
5a03eaed2b
ss: move timing_info_t to ttcn3_helpers, fix PDCP count handling
5 years ago
Andre Puschmann
72c5b381e4
fix bug when parsing cipher algo config for SS
5 years ago
Andre Puschmann
8a69772ebc
rewrite packing of DL PDU in SS
...
the new algo tries to write more than just one RLC PDU inside a MAC PDU
if this is possible
5 years ago
Andre Puschmann
e919c57a32
add handling of FollowOnFlag from tester
5 years ago
Andre Puschmann
89d5876470
add TimingInfo support for remaining SS commands
5 years ago
Francisco Paisana
e859d622c7
added logref class to forbid logmap pointer invalidation. Created a test for the logref, and introduced it in the scheduler, rrc and nas
5 years ago
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.
5 years ago
Andre Puschmann
55a5947df7
add default init to TTCN3 syssim to prevent segfault when tc_start isn't received
5 years ago
Andre Puschmann
39f2011699
fix issue in SS where Msg4 wouldn't be sent because ConnectionSetup is provided too late
5 years ago
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
5 years ago
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
5 years ago
Xavier Arteaga
f8165383f6
Neighbour SCell measurement test waits for final measurement before exiting-xx
5 years ago
Francisco Paisana
22f51bb30b
made cell select non-blocking using background threads
5 years ago
Ismael Gomez
4fb83ae26d
Run configure_prach_params as a background task
5 years ago
Andre Puschmann
701e4aa6be
fix bug causing segfault when UE wasn't initialized
5 years ago
Andre Puschmann
b15cd3fdaa
add error handling to TTCN3 socket handlers
5 years ago
Andre Puschmann
42920d508f
fix SS debug output
5 years ago
Xavier Arteaga
6672f6df0f
Minor aesthetic changes in intra measure class and changed scell_search test arguments
5 years ago
Xavier Arteaga
344016ef0a
Refactored and commented SRSUE's Intra measure component
5 years ago
Xavier Arteaga
8f6dd184be
SRSUE: neighbour cell measurement test defined
5 years ago
Andre Puschmann
0e337a01c3
fix SRB2 security handling in SS
5 years ago
Andre Puschmann
9720449cbb
fixing RRC measurement test after logmap refactor
5 years ago
Andre Puschmann
3d7598a4cb
rewrite cell handling in TTCN3 PHY and SS
5 years ago
Andre Puschmann
bbacc35e24
move configuration of default logger to main
...
this prevents the case where a layer requests a new log_filter
before the default logger has been configured
5 years ago
Xavier Arteaga
66bb7d6f82
SRSUE: fix TTCN3 compile
5 years ago
Xavier Arteaga
f8294fb9df
SRSUE: RRC measurements refactor and more fixes
5 years ago
Ismael Gomez
52716f8716
Process HO complete in the background to avoid heap-after-use bug when PHY measurements are reported during a HO
...
rrc_meas refactor. Need to split commit
Fix typo
Temporal commit
Apply rx_gain_offset to neighbour cell measurements
srsLTE: modify TESTASSERT Macro to follow codeline
SRSUE: prevent RRC from having serving cell in neighbour list
SRSUE: DL HARQ does not need Time Aligment Timer. UL is disabled using PUCCH resources release
SRSUE: extend intra-frequency to CA SCell
SRSUE: fix confusing/ambiguous code in the RRC measurements and fix concurrency issue
SRSUE: remove RRC measurement report triggers when measurements are modified or HO succesful
SRSUE: fix compilation issues and Reest SIB indexes
Fixes sync using incorrect cell configuration when search cell does not find a correct cell
Small refactor to remove measurement report triggers always after removing measurement
SRSUE: Removed SIC PSS from UE
SRSUE: fix inter-frequency reestablishment and added more traces
SRSUE: Fix compilation issue
5 years ago
Francisco Paisana
ea777d92e8
applied new logmap class to nas
5 years ago
Ismael Gomez
cc7dfefa1a
Fix logic for UL HARQ retx causing Msg3 adaptive retx to be identified as a new transmission
5 years ago
Francisco Paisana
5ae3afd2b8
created cbit_ref for unpacking const buffers
5 years ago
Andre Puschmann
bc6aa1a166
fixing PDCP call in TTCN3 SS
...
this fixes an issue introduced in 6ec573987a
5 years ago
Andre Puschmann
e24d33562a
disabling ue_phy_test temporarily
5 years ago
Andre Puschmann
e5609e299d
fix UE PHY test compilation on 32 bit systems
5 years ago
Xavier Arteaga
36b2102de8
SRSUE: avoid testing ue_phy_test
5 years ago
Xavier Arteaga
11eafa8ab4
srsLTE: FFTW wisdom gets loaded and saved by default
5 years ago
Xavier Arteaga
c92dce71b7
srsLTE: AGC only uses boundaries for requesting gain to Radio
5 years ago
Pedro Alvarez
6d4303cd94
Added option to force 32bit compilation (useful for debug). Fixed various warnings when compiling in a 32 bit arch.
5 years ago
Xavier Arteaga
089a5e21dc
Label test that memcheck is excessively long
5 years ago
Xavier Arteaga
ad46fc006f
srsLTE: Fix thread memory leak. Moved test. Fix CLang warnings.
5 years ago
Xavier Arteaga
447ede327c
srsLTE: removed unused argument
5 years ago
Xavier Arteaga
384c420c7c
SRSUE: fix phy workers concurrency issue
5 years ago
Xavier Arteaga
dc7ac0a8d6
SRSUE: Updated PHY test
5 years ago
Xavier Arteaga
6895bfa70a
SRSUE initial PHY worker test
5 years ago
Andre Puschmann
476f970ee1
replace FIXME with TODO
5 years ago
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
5 years ago
Xavier Arteaga
bcde542111
SRSUE: fix typo
5 years ago
Pedro Alvarez
e68956bcf6
Adding discard timer timeout to PDCP config.
5 years ago
Pedro Alvarez
2e7ddef038
Continue to add discard_sdu to RLC interfaces.
5 years ago
Xavier Arteaga
b48bb0d754
Removed atof, atoll and atoi calls
5 years ago
Xavier Arteaga
8dd1c59e18
Added amplitude and power conversions to dB and viceversa
5 years ago
Pedro Alvarez
c6ddada488
Fix compilation issue when enabling TTCN3
5 years ago
Andre Puschmann
2f00fd62ec
fix PDCP config in TTCN3 SS
5 years ago
Francisco Paisana
8440126d35
removal of srslte::timers class
5 years ago
Francisco Paisana
d2c56caf7e
applied new timer class to the whole code base
5 years ago
Francisco Paisana
b254bdbb93
typedefed the proc_result_t<void> to become proc_state_t
5 years ago
Francisco Paisana
f2d88e5a5b
simplified NAS rrc connection request procedure
...
move non-type-specific methods of proc_t to its base class.
procedure state machine was simplified via a future-type. Now procedures dont get stuck until the user reads the procedure outcome.
made the NAS procedures more event trigger/reaction-based.
5 years ago
Andre Puschmann
44dcfbe5c2
use info_long to print full message rxed on SYS interface
5 years ago
Andre Puschmann
755a0599c4
rework cell list and SIB handling in SS
5 years ago
Andre Puschmann
891a66a2e5
make the establishment cause a paramter when sending a connection request
...
needed to signal a mo_sig establishment cause after a RLF
5 years ago
Francisco Paisana
e94755c471
revert nas_test fix
5 years ago
Francisco Paisana
9bcb268421
added for-range loop and bool decay checks to clang-tidy. Applied some of the recommendations of clang-tidy to nas.cc
5 years ago
Andre Puschmann
4d688bce98
fixing nas test
5 years ago
Andre Puschmann
487fdd5616
ttcn3: split SS interface and protect SS main thread properly
...
the SS main thread and the provided interaces weren't protecting members
correctly
5 years ago
Andre Puschmann
c5f52adfba
nas: fix issue in which NAS wouldn't allow to attach once it failed
...
the main issue was the plmn_selected variable. the solution
was to create a function to enter the deregistered state that resets the variable
and performs all other actions that need to be performed, like clearing
EPS bearers.
The patch also extends the SS to support AT commands to enable/disable
data services and now succesfully passes TC_9_2_2_1_7
5 years ago
Andre Puschmann
a166b3c2d9
fix PHY-MAC interface in TTCN3 PHY
5 years ago
Andre Puschmann
08418b17ce
fix concurrency issue in TTCN3 PHY
5 years ago
Francisco Paisana
6db0e474be
moved RA waiting procedure to a background task of the stack thread pool
5 years ago
Xavier Arteaga
665f899a74
Fixed some coverity and Clang tidy warnings
5 years ago
Francisco Paisana
fc9bb3c934
removed rrc asn1 header include from the ue_interfaces and phy
5 years ago
Andre Puschmann
db4cc71240
minor changes to TTCN3 dut to make reading logs easier
5 years ago
Xavier Arteaga
3c25e2b16c
SCell Search Test: Return success always if test is finished
5 years ago
Xavier Arteaga
9ee8cc0ad2
CRS SCell searcher: Fixed memory leaks
5 years ago
Xavier Arteaga
91a7bbf2b6
SCell search test: removed basic_string header
5 years ago
Xavier Arteaga
4c85b99ec5
SRSUE: Added intra frequency SCell search test
5 years ago
Xavier Arteaga
35f85c651c
SRSUE: Added SCell synchronizer and measurements based on reference signals
5 years ago
Xavier Arteaga
8e17aba5d8
Improved SSS decoding and improved scell_search_test
5 years ago
Xavier Arteaga
368690ea6b
SRSUE: Added intra frequency SCell search test
5 years ago
Francisco Paisana
0f166ce739
fixed mac_test
5 years ago
Francisco Paisana
946ead06e8
using an interface between the stack and lower mac to process demux pdus.
5 years ago
Andre Puschmann
9e1c46dfb0
add initial TTCN3 code
5 years ago
Pedro Alvarez
004db4a067
Applied clang-format to zuc_support PR.
5 years ago
David Rupprecht
4ff70b6008
reconfigured test case for eia sec matching
5 years ago
David Rupprecht
06ac8143a4
NAS test working again due to replayed sec caps mismatch
5 years ago
Ismael Gomez
bfddc55148
RRC-PHY interface ( #639 )
...
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1
Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
5 years ago
Francisco Paisana
67d6a25194
Moving mac timers to stack timers ( #638 )
...
* first step towards moving MAC timers to stack. Mac is still using its own timers. srslte::timers class can be restructured.
* moved timers out of the UE MAC
5 years ago
Ismael Gomez
69edee4e6c
Fix issues in uplink QoS ( #636 )
...
Fix bugs in Long BSR and Truncated BSR and added unit tests
5 years ago
Francisco Paisana
c9d3b61038
added resumable procedures to make RRC and NAS non-blocking
5 years ago
Pedro Alvarez
1944bf9a80
Continue to split pdcp_entity_lte and pdcp_entity_nr. Compiling now.
5 years ago
Andre Puschmann
2e9a981a8a
fix home plmn extraction for PCSC USIM module
5 years ago
Ismael Gomez
b81d4c5c9c
Fix MAC test
5 years ago
Andre Puschmann
e9342969f8
fix typo
5 years ago
Ismael Gomez
f6a5d28283
Addressed @andrepuschmann comments
5 years ago
Ismael Gomez
773c2a9721
Fixed multiple issues in Random Access procedure and extended MAC test
5 years ago
Francisco Paisana
bb0dbf0f1c
created a asn1 utils with helper functions and types related to the asn1. These types/functions will help isolate the rrc_asn1 lib from most of the layers, reducing this way the compile times, and leading to better isolation. This will also make the transition to NR smoother. I removed the asn1 types from the NAS and USIM interface so far.
5 years ago
Andre Puschmann
0094fbd191
mux/bsr: fix issue with corrupted UL-SCH PDU
...
BSR was triggered although there was not enough space in MAC PDU
5 years ago
Andre Puschmann
58763fb714
stack: move initialization of log object into ctor
...
this fixes the issue when the stack is torn down if, for example,
the radio couldn't be loaded correctly. it will hence call stop() on all stack
components which are not initialzized yet, and logging therefore doesn't work.
the log object is know during contruction time and therefore can be passed
in as soon as possible.
5 years ago
Andre Puschmann
dffbc4404f
add three more MAC tests for short PDUs
5 years ago
Andre Puschmann
7145cd2358
fix padding BSR generation and add test for it
5 years ago
Andre Puschmann
db224335a7
add MUX step function for PBR counting
5 years ago
Andre Puschmann
2dfc6698eb
add MAC tests
5 years ago
Francisco Paisana
8f8d9f3f30
applied changes in the stack internal method naming
5 years ago
Francisco Paisana
ce29ed545d
moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks
5 years ago
Francisco Paisana
46d298fd9a
formatting
5 years ago
Francisco Paisana
10a56e2a84
moved GW out of the UE stack. This is important to keep concurrency out of the stack once it becomes single-threaded
5 years ago
Andre Puschmann
2b7b4d0e7e
remove hard-coded LCID for dedicated bearer in GW
5 years ago
Pedro Alvarez
7a184a8cd8
Added log to tft_packet_filter.
5 years ago
Pedro Alvarez
39f5b03674
Removed empty line. Changed comment. Removed unused variables.
5 years ago
Pedro Alvarez
2723aa9b12
Added EPS bearer id to apply_tft interface. Sending packets to the correct LCID if they match the packet filter.
5 years ago
Pedro Alvarez
684ee2834e
Starting to add ToS field checking to tft_packet_filter.
5 years ago
Pedro Alvarez
40dd3e332c
Added logic and test to match IPv4 local address
5 years ago
Pedro Alvarez
0f6c55023b
Adding logic and testing for single remote port matching.
5 years ago
Pedro Alvarez
326aef4431
Added match logic for local UDP port. Starting to add logic for remote UDP port.
5 years ago
Pedro Alvarez
ccf404f12b
Fix in getting filter information for local port.
5 years ago