Francisco Paisana
ad9e126299
test for different enb_cc_idxs as pcell. Bug fixes
2020-03-02 16:33:31 +00:00
Xavier Arteaga
f35ed14f76
SRSENB: refactored PHY common UE database
2020-03-02 12:19:09 +01:00
Andre Puschmann
9e113f8b27
pdcp: allow to configure security for rx/tx seperately
...
previously PDCP security (integrity and ciphering) could only
be enabled for both Rx and Tx at the same time.
this, however, caused an issue during the conformance testing in which,
in TC_8_2_1_1() for example, the eNB sends a SecModeCommand and a
RRC Reconfiguration in the same MAC TB. In this case, the eNB
needs to be able to enable DL security right after sending the SecModeCmd
in order to send the RRCReconfig encrypted. However, enabling UL security needs
to be postponed until after the SecModeComplete is received.
This patch allows to enable PDCP security for rx/tx independently if
that is needed. The default way is like before, enabling it for tx/rx at
the same time.
2020-03-01 18:26:45 +01:00
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
2020-02-20 20:48:36 +01:00
Francisco Paisana
22f51bb30b
made cell select non-blocking using background threads
2020-02-18 09:47:33 +01:00
Ismael Gomez
4fb83ae26d
Run configure_prach_params as a background task
2020-02-16 21:27:24 +01:00
Francisco Paisana
d831522692
addition of SCell Activation CE Cmd to scheduler and MAC
2020-02-14 21:49:01 +00:00
Francisco Paisana
838053e8f2
added SCell Activation CE to scheduler. Handling this CE in the MAC is still missing
2020-02-14 21:49:01 +00:00
Xavier Arteaga
385102fa2d
SRSENB: minor format, renaming and interface changes
2020-02-13 10:29:00 +01:00
Xavier Arteaga
bf4ecc8064
Fix srsenb PHY and unit/component tests
2020-02-13 10:29:00 +01:00
Xavier Arteaga
231431f569
SRSENB: enabled CA PUCCH decode in eNb
2020-02-13 10:29:00 +01:00
Xavier Arteaga
40772eae19
SRSENB: UE PHY dedicated takes a flat configuration structure
2020-02-13 10:29:00 +01:00
Francisco Paisana
c8fc0d91b3
changed the supported cc list to a vector of structs
2020-02-07 15:06:46 +00:00
Francisco Paisana
42b15c7bed
use common ue_cfg interface to set the ue antenna info
2020-02-07 15:06:46 +00:00
Francisco Paisana
5f557700f2
changed the sched::ue_cfg(...) function to allow diff configurations. The RRC now activates all carriers after rrc reconf complete
2020-02-07 15:06:46 +00:00
Francisco Paisana
b66bc3a6b0
create a sched_interface struct for antenna info dedicated. This way we remove the asn1 as a dependency in the scheduler
2020-02-07 15:06:46 +00:00
Francisco Paisana
88a22e7dbf
support cc cfg from rrc
2020-02-07 15:06:46 +00:00
Francisco Paisana
e86862611c
update the scheduler interfaces to accommodate the configuration of multiple carriers
2020-02-07 15:06:46 +00:00
Francisco Paisana
2dc31ea440
added interface to configure multiple cells from the RRC
2020-02-07 15:06:46 +00:00
Andre Puschmann
d3cb2eac83
add RLC suspend/resume to eNB interface
2020-02-03 16:26:15 +01:00
Xavier Arteaga
fe199e6be2
SRSUE: Undo enable/disable RA procedure flag
2020-02-03 12:51:46 +01:00
Xavier Arteaga
f8294fb9df
SRSUE: RRC measurements refactor and more fixes
2020-02-03 12:51:46 +01:00
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
2020-02-03 12:51:46 +01:00
Xavier Arteaga
c080cb3395
SRSUE: expose correct synch error parameter
2020-01-29 12:25:13 +01:00
Ismael Gomez
17f9ff326b
Expose in-sync and out-of-sync constants to ue.conf
2020-01-29 11:46:55 +01:00
Ismael Gomez
cc7dfefa1a
Fix logic for UL HARQ retx causing Msg3 adaptive retx to be identified as a new transmission
2020-01-28 21:33:10 +01:00
Xavier Arteaga
b08c1f003e
SRSENB: enabled multiple cells from rr.cfg
2020-01-28 11:22:50 +01:00
Francisco Paisana
5468189cd9
fix some variables' naming (e.g. x2_ap -> x2ap, e_rab -> erab)
2020-01-21 00:58: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
b6c53d786b
updated s1ap rrc interface with new asn1 lib types
2020-01-21 00:58:19 +00:00
Andre Puschmann
06afe74bef
add virtual dtor in sched_interface base class
2019-12-30 22:15:31 +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
Xavier Arteaga
c92dce71b7
srsLTE: AGC only uses boundaries for requesting gain to Radio
2019-12-23 22:57:37 +01:00
Xavier Arteaga
9c51af491a
SRSUE: phy default arguments are set in constructor
2019-12-19 13:01:05 +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
Ismael Gomez
9546f3ccc4
Make PDCP/RLC write_sdu() calls non-blocking by default
2019-12-12 16:32:23 +01:00
Xavier Arteaga
1fa5a19a55
SRSUE: SRSUE: fix timealigmenttimer
2019-12-12 12:05:51 +01:00
Francisco Paisana
6b4488d5c1
added sending of enb status transfer from SeNB
2019-12-11 17:41:49 +00:00
Francisco Paisana
524c80a804
added handling of ho command
2019-12-05 17:36:15 +00:00
Pedro Alvarez
e1cdd51eba
Clang-formated before pull request
2019-12-04 18:21:14 +01:00
Pedro Alvarez
2e7ddef038
Continue to add discard_sdu to RLC interfaces.
2019-12-04 18:21:14 +01:00
Pedro Alvarez
a77dd4e959
Starting to add boiler-plate code to support Discard at RLC.
2019-12-04 18:21:14 +01:00
Francisco Paisana
ab3d7dd413
updated sched interface for multiple carriers
2019-12-03 15:46:22 +00:00
Francisco Paisana
3159a5b84a
added cc_idx to dl_rach_info
2019-12-02 12:36:27 +00:00
Francisco Paisana
cab9327b1a
updated scheduler interfaces to accommodate multiple carriers
2019-12-02 12:36:27 +00:00
Xavier Arteaga
8dd1c59e18
Added amplitude and power conversions to dB and viceversa
2019-12-02 09:47:22 +01:00
Xavier Arteaga
67935d2b99
SRSUE: RRC blocks MAC RA procedure during reestablishment
2019-11-28 16:33:35 +01:00
Andre Puschmann
b32a4cf294
add RLC AM NR PDU packing and unpacking
2019-11-26 16:52:14 +01:00
Francisco Paisana
73e06a0858
removed threads from eNB MAC
2019-11-20 15:52:21 +00:00
Francisco Paisana
e8487211e4
changed the naming of mch to m1u in the gtpu class
2019-11-20 10:34:35 +00:00
Francisco Paisana
2512e0fd79
removed thread from GTPU MCH
2019-11-20 10:34:35 +00:00
Francisco Paisana
1400777639
removed 1st thread from GTPU
2019-11-20 10:34:35 +00:00
Francisco Paisana
0539d932b8
clang format on the interface files
2019-11-18 11:43:31 +00:00
Andre Puschmann
b20f7ba541
refactor RLC UM and add NR receiver
2019-11-16 14:35:16 +01:00
Francisco Paisana
76673d2d40
cleaned up socket util methods, and made the S1AP non-blocking.
2019-11-15 17:57:36 +00:00
Francisco Paisana
ff62ae6ad0
created the method chain in RRC to receive and handle the response to a S1AP HORequired
2019-11-10 22:06:31 +00:00
Francisco Paisana
57cd40ca31
added an ho required message send from SeNB to MME
2019-11-10 22:06:31 +00:00
Francisco Paisana
690a9850e7
cleaned up some old patterns and run clang-format in RRC and scheduler
2019-11-08 13:59:38 +00:00
Xavier Arteaga
2e1479e9d6
SRSENB: Added PHY CA PRACH workers
2019-11-07 16:01:01 +01:00
Pedro Alvarez
b92c99ad2f
Removing PDCP config from rrc_interfaces_types. Starting to add t_reordering configuration.
2019-11-07 14:12:08 +01:00
Pedro Alvarez
45d298507b
Starting to move pdcp configs to rrc_interface_types. Starting to add test for reorder timeout.
2019-11-07 14:12:08 +01:00
Francisco Paisana
b254bdbb93
typedefed the proc_result_t<void> to become proc_state_t
2019-10-23 18:19:25 +02:00
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.
2019-10-23 18:19:25 +02:00
Ismael Gomez
3828e03f33
Refactor in eNodeB, add channel emulator and fixes in OFDM
...
* Added channel emulator to srsENB. Added support for fixed delay
* Bug in OFDM when using nonguru mode
* A few changes and refactor in eNodeB
2019-10-23 11:09:39 -05:00
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
2019-10-18 16:38:55 +02:00
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
2019-10-09 11:34:49 +02:00
Francisco Paisana
2fb830fcfa
moved cell search to background task thread pool, and provided a stack interface to rrc to call "start_cell_search". Once completed, the background task signals back to RRC
2019-10-04 22:01:44 +02:00
Andre Puschmann
c7f0caa24a
add TTI field to MAC dl/ul grants and fix PCAP to include TTI
2019-10-02 16:49:46 +02:00
Francisco Paisana
6db0e474be
moved RA waiting procedure to a background task of the stack thread pool
2019-10-02 11:04:47 +02:00
Francisco Paisana
fc9bb3c934
removed rrc asn1 header include from the ue_interfaces and phy
2019-09-30 21:05:32 +02:00
Andre Puschmann
c99d5077c8
add RLC UM NR transmitter
2019-09-20 16:33:25 +02:00
Ismael Gomez
0984debe1b
Fix issues with RLF in B210 and X300 ( #669 )
...
* Calling tx_end() from radio_reset() causes long execution time in B210. Using boolean to call later instead. Fixes RLF failing in B210. Checked in X300
* Fix issue #655
2019-09-20 15:41:16 +02:00
Francisco Paisana
946ead06e8
using an interface between the stack and lower mac to process demux pdus.
2019-09-19 10:19:46 +02:00
Ismael Gomez
6bb0790cf1
Fix coverty issues ( #652 )
2019-09-13 15:06:20 +02:00
Xavier Arteaga
1a567a764e
SRSUE: Call Radio tx-end when PHY is reseted and removed redundant attribute is_start_of_burst.
2019-09-12 09:49:56 +02:00
Andre Puschmann
49279c89d8
send DL-DCCH on SRB2 after it has been established
2019-09-09 17:16:22 +02:00
Harald Welte
2e426948fe
[ENB] Add CFSB support
...
This commit introduces CSFB (circuit switched fall-back) capabilities to
srsLTE. Actually, all the eNB has to do is to send a
RrcConnectionRelease with the RedirectedCarrierInfo IE.
The MME triggers this by the S1AP CS Fallback Indicator IE, which may
be present either in the Initial Context Setup Requst or in the
UE Context Modification Request.
As srsLTE has no support for the UE Context Modification Request at all
yet (!), basic support for this message is introduced in this patch.
Both Mobile Originated and Mobile Terminated CSFB with a coupel of
different UE models have been verified using this patch in a setup
consisting of srsENB attached to an undisclosed EPC connected via SGsAP
to a complete Osmocom 2G network.
Closes : #358
Closes : #363
2019-09-09 16:59:00 +02:00
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)
2019-09-04 16:59:10 +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
c9d3b61038
added resumable procedures to make RRC and NAS non-blocking
2019-08-08 10:56:54 +02:00
Pedro Alvarez
6efa944b5e
Removed srslte prefix from pdcp_config_t
2019-07-30 15:01:50 +02:00
Pedro Alvarez
457f35699d
Reverted back to a single config structure between PDCP NR and PDCP LTE.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
c9e99443d8
Adding PDCP NR Tx test.
2019-07-30 15:01:50 +02:00
Pedro Alvarez
005d03cb1a
Starting to split pdcp_entity into pdcp_entity_lte and pdcp_entity_nr to support NR PDCP
2019-07-30 15:01:50 +02:00
Francisco Paisana
424876c5e4
added DL TTI mask for MBMS
2019-07-21 22:27:17 +02:00
Ismael Gomez
8c41625599
Add RLC suspend and resume
2019-07-12 13:08:42 +02:00
Xavier Arteaga
20823e191d
SRSUE: Added UL force amplitude optional parameter
2019-07-12 13:05:10 +02:00
Andre Puschmann
4e86b2f6b2
introduce layerd architecture we use for UE to eNB
...
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
2019-07-12 04:17:56 +02:00
Francisco Paisana
92b4b168fe
added default rlc um and am in the interface as factories
2019-07-05 10:44:15 +02:00
Francisco Paisana
58e2e51044
removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC.
2019-07-05 10:44:15 +02:00
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.
2019-07-05 10:44:15 +02:00
Xavier Arteaga
87433c83da
SRSUE: 64QAM R8 compatible
2019-07-02 16:36:06 +02:00
Pedro Alvarez
8f5ad55c4a
Added attach request as a UL info trasnfer in the UE. Added interface to remove eps bearer map when going idle. Fixed bug in GW in assignment of IPv4 addresses. UE seems to rebound from the service reject now.
2019-06-26 18:04:41 +02:00
Andre Puschmann
e0a28cf4c0
simplify PDCP init and also bypass it for SRB0 on eNB
2019-06-21 15:49:46 +02:00
Andre Puschmann
0ef96f789b
bypass PDCP for SRB0 processing chain
2019-06-21 15:49:46 +02:00
Francisco Paisana
ce29ed545d
moved mac thread to the stack. Protect the interface of the stack with PHY and gateway via a queue of tasks
2019-06-21 13:01:41 +02:00
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
2019-06-20 15:26:52 +02:00
Xavier Arteaga
1f4cf8121b
SRSUE: Initial UL channel simulator
2019-06-11 12:06:11 +02:00
Andre Puschmann
2b7b4d0e7e
remove hard-coded LCID for dedicated bearer in GW
2019-06-07 21:40:03 +02:00
Pedro Alvarez
2723aa9b12
Added EPS bearer id to apply_tft interface. Sending packets to the correct LCID if they match the packet filter.
2019-06-07 21:40:03 +02:00
Pedro Alvarez
a7e0a0624b
Starting to add interface apply_traffic_flow_template between NAS and GW.
2019-06-07 21:40:03 +02:00
Francisco Paisana
415d3418b6
reorganized enb to mirror ue director/class structure with a stack class
2019-06-07 15:41:56 +02:00
Pedro Alvarez
d67d18cc6b
Removing deplicated error codes.
2019-06-07 13:51:56 +02:00
Xavier Arteaga
bd3ec34f7b
SRSUE: Apply CLang format phy args structure
2019-06-06 15:00:26 +02:00
Xavier Arteaga
fd3671a7e5
SRSUE: Enable AGC
2019-06-06 15:00:26 +02:00
Ismael Gomez
c2e9817f41
Possible solution to RLC Reestablishment
2019-06-06 14:34:25 +02:00
Ismael Gomez
14b526f2aa
Add PDCP per-bearer reestablish
2019-06-06 14:34:25 +02:00
Andre Puschmann
3f613d7183
nas/gw/rrc: make LCID for DRB dynamic
...
- add interface to RRC to allow NAS to query the DRB for a given
EPS bearer id
- extend interface for NAS to setup GW to also pass LCID of bearer
- in NAS, use this new interface to pass actual LCID of the default
DRB when creating the TUN device
2019-06-05 20:50:52 +02:00
Xavier Arteaga
9ab2b2de81
SRSUE: Created delay channel emulator and added fading to the UE
2019-05-30 13:07:23 +02:00
Andre Puschmann
20c9f4687c
remove duplicated code mac_cfg_t
2019-05-27 12:37:52 +02:00
Xavier Arteaga
7629863c5a
SRSUE MAC: 36.331 v10 9.2.2 MAC main config defaults does not include RACH
2019-05-27 12:37:52 +02:00
Xavier Arteaga
080b4a327c
SRSUE: Refactored asynchronous cell and ue_radio. CA Fixed.
2019-05-17 18:13:51 +02:00
Andre Puschmann
65f50cd7ba
introduce new UE layer design
...
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
2019-05-17 17:46:28 +02:00
Francisco Paisana
3bedc93ba5
added _t to unique_byte_buffer type
2019-05-16 12:35:01 +02:00
Francisco Paisana
f469e2178b
replaced byte_buffer_t allocated by the buffer pool for unique_byte_buffer which is safer and easier to use
2019-05-16 12:35:01 +02:00
Francisco Paisana
0976ea6f27
created a unique byte buffer that automatically deallocates
2019-05-16 12:35:01 +02:00
Francisco Paisana
7be183c223
rework scheduler
2019-05-14 22:34:50 +02:00
Andre Puschmann
e77adbe5a5
fix uninitialized members in ue_interface
2019-05-02 12:43:19 +02:00
Andre Puschmann
4b01a2e4a0
update copyright notice
2019-04-29 09:20:02 +02:00
Ismael Gomez
7780b1aba5
add tdd/ca support
2019-04-25 20:57:58 +02:00
David Rupprecht
b84e49310e
Enable encryption in reconfiguration and after security mode command (NOT TEST)
2019-04-11 21:38:01 +02:00
David Rupprecht
eb3a83ac45
User Plane key in configuration interface
2019-04-11 21:38:01 +02:00
Pedro Alvarez
ca603810ce
Adding Downlink data notification and paging functionality to the EPC.
...
This entails:
* Adding S1AP paging messaging to the MME.
* Adding the Downlink Data Notification, Donlink Data Notification Acknoledgment, and Downlink Data Notification Failure Messages.
* Adding the logic at the GTP-U to detect that Downlink Data notification needs to be sent.
* Proper handling of the new GTP-C messages at the MME GTPC and SPGW GTPC classes
* Add queuing mechanisms at the GTP-U while waiting for paging response. Queue is flushed when paging fails (timeout or other).
* Make sure eNB's SCTP information is properly stored.
* Make sure UE's GUTI information is properly stored.
2019-04-09 16:59:44 +02:00
Pedro Alvarez
1db959c661
Added NAS timer functionality to the EPC. This entails:
...
* Adding timer creation at NAS using timerfd_create
* Adding the ability to add and remove the timer file descriptor to the MME main select loop
* Adding the ability to the MME for the NAS to check if a timer is running
* Adding the timer expiry handling functionality at the MME
2019-04-08 13:05:54 +02:00
Pedro Alvarez
5f7b6ba79e
Split GTP-C and GTP-U functionality into seperate classes in the SPGW. Added GTP-U specific logging in the EPC. Added handle_s11_pdu function to both the MME GTP-C entity and the SPGW GTP-C entity.
2019-04-02 09:17:00 +02:00
Pedro Alvarez
add60c1288
Applied clang-format to the EPC.
2019-03-20 14:00:02 +01:00
Francisco Paisana
0204db2e12
new asn1 rrc library
2019-01-17 17:43:13 +01:00
Andre Puschmann
d6196ba234
simplify RRC-NAS interface and only have msg as param (RRC selects LCID)
2018-12-10 17:48:52 +01:00
Andre Puschmann
c3441046c9
simplify RLC buffer status query procedures
...
- add a simple and low-overhead has_data() method to check whether
an RLC entity has data to transmit or not
- use this method for all calls that are actually not interested
in the amount of data to send
- use the more expensive get_buffer_state() for all cases where
the actual size of the buffer is of importance
2018-12-10 17:48:52 +01:00
Pedro Alvarez
dc727a192b
Changing way UL NAS count is used to generate the K_enb.
2018-11-30 21:42:43 +01:00
Andre Puschmann
db910cb84b
add CSV metrics for eNB
2018-11-20 12:15:04 +01:00
Andre Puschmann
8a1368c8d6
send connection reject if MME isn't connected
2018-11-16 14:56:39 +01:00
Andre Puschmann
0af19b070c
add function to query if RLC bearer exists to UE interface
2018-11-02 21:28:03 +01:00
Andre Puschmann
1ed225a10b
add getter for IPv4 and IPv6 addresses
2018-10-26 13:09:03 +02:00
Pedro Alvarez
5c29dba741
Changed Interface between NAS and GW to avoid the GW start function being called twice in IPv4v6 mode.
2018-10-26 11:42:27 +02:00
Pedro Alvarez
ac1c300126
Adding the ability to set the interface local link IPv6 address.
2018-10-26 11:42:27 +02:00
Pedro Alvarez
8dc029cc47
Merging next into NAS cleanup.
2018-09-25 18:56:03 +01:00
Andre Puschmann
184539b87d
add LCID change API to UE interface, add method to reestablish single RLC bearer
2018-09-18 15:09:24 +02:00
Ismael Gomez
bc9d342959
New optimization on the PHY for both UE and eNodeB ( #251 )
...
* New parallel Turbodecoder implementation in SSE/AVX 16-bit and 8-bit
* Optimised UL Interleaver
* Include TB CRC calculation in FEC encoder
* New threading priorities
2018-09-04 17:51:35 +02:00
Pedro Alvarez
0d80ae795b
Added IMSI attach from unknown UE as a static function.
2018-08-27 19:17:23 +01:00
Pedro Alvarez
860e1b5491
Changing Handling of initial UE NAS messages to use static methods. Handling of unknown GUTI attach request should be ok.
2018-08-27 16:06:18 +01:00
Pedro Alvarez
93222f582c
Changed authentication response to use downlink_nas_transport().
2018-08-21 15:17:08 +01:00
Pedro Alvarez
f6b8982939
Moved most of the GUTI attach to nas.cc.
2018-08-20 15:48:23 +01:00
Pedro Alvarez
7077530a29
Merge branch 'next' into nas_cleanup
2018-08-13 11:59:23 +01:00
Andre Puschmann
f56592b0fe
add getter for PDCP ul/dl counter
2018-08-08 16:26:32 +02:00
Andre Puschmann
91492b87ef
add del_bearer for RLC/PDCP
2018-08-06 13:17:51 +02:00
Andre Puschmann
3b8371d090
add detach support (for switch off)
2018-08-06 11:10:12 +02:00
Andre Puschmann
ee5b055829
rename pdcp function for GW to is_lcid_enabled()
2018-07-25 15:09:19 +02:00
Andre Puschmann
b8438e9cc3
extend PDCP interface to allow non-blocking write of SDUs
2018-07-24 15:49:09 +02:00
Pedro Alvarez
de8679b536
Continuing to cleanup. Starting to compile again.
2018-07-23 15:30:19 +01:00
Pedro Alvarez
f03967776a
Continuing to clean nas.cc
2018-07-20 19:50:46 +01:00
Pedro Alvarez
b25c12a084
Fixing nas.cc
2018-07-18 19:25:59 +01:00
Pedro Alvarez
85672d4a3f
Fixing up s1ap.cc
2018-07-18 17:25:37 +01:00
Pedro Alvarez
3663d59920
Starting to add s1ap_interface_gtpc and s1ap_interface_nas. Adapting send initial context setup request accordingly.
2018-07-16 13:50:12 +01:00
Ismael Gomez
589e569ce9
Changes on srsENB mutexing logic to fix general race condition and deadlock issues ( #229 )
...
* fixed some issues with the UL scheduling
* Hack to fix UL scheduler
* minor fix
* Cleaned up code and fixed issue with the update_allocation function
* fixed the console printing in the enb
* log/console fix
* fixed the log print
* added a normalization factor
* RLC: entity uses dynamic instances. Simplified stop/reset/reestablish procedure. Added non-blocking interface
* Limit decimals in metrics stdout
* Changed mutexes to rwlock in RLC/RRC/MAC/PDCP to fix race conditions when removing users
* Fix deadlock bug for MIMO
* Remove headers
* Fix missing unlock causing overflows
* Do not decrease CQI when PUCCH (this is a temporal fix, requires to reduce the maximum MCS)
* Fix mutex unlock in worker
* Configurable RLC tx buffer. Default to 512 for enodeb
* Check NULL SDU in write_sdu()
* Protect RLC objects and tx_queue from being destroyed while using it
* Remove superfluous code
* Disable SIB logging
* Fix block_queue for enb
2018-07-05 11:00:19 +02:00
Ismael Gomez
8c92f3fddc
Improvements and fixes on srsENB scheduler ( #228 )
2018-06-29 11:25:22 +02:00
Pedro Alvarez
66db3deeb4
Starting to add Bearer QoS parameter to create session request.
2018-06-27 15:10:17 +01:00
Andre Puschmann
064d7bd2dc
use original UE establishment cause in S1AP initial UE message
2018-06-25 18:19:57 +02:00
Ismael Gomez
6120f20290
Changes in RRC and S1AP to make enb more robust on UE add/rem operations.
...
* Consolidated functions in S1AP
* Fixed ASAN in some GCC
* Stop quicker the enb
* Minor typo edit
* Fixed mutexing issues in RRC and possibly RLC/PDCP when adding/removing users
2018-06-12 17:31:07 +02:00
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
2018-05-22 10:39:05 +02:00
Ismael Gomez
467ba4e326
Average sampling offset estimate before adjusting timing to be more robust against EVA and ETU fading
2018-05-21 23:00:57 +02:00
Andre Puschmann
9ce3be974a
Merge branch 'next' into embms_merge_final
2018-05-15 22:32:56 +02:00
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
2018-05-15 17:27:10 +02:00
yagoda
ec918eab76
adding support for embms in common functions and interfaces
2018-05-15 16:50:57 +02:00
Andre Puschmann
3fe6dad323
adding hard SIM card support using PCSC
2018-05-15 12:40:29 +02:00
Ismael Gomez
ffb8337be7
Merge branch 'next' into sync_states
2018-04-12 18:30:19 +02:00
Xavier Arteaga
15173c5c30
Added gaussian filter configuration options in srsue.conf
2018-04-10 13:25:26 +02:00
Ismael Gomez
edd9cbf4dc
Merge branch 'next' into sync_states
2018-04-10 09:35:21 +02:00
David Rupprecht
06d4559294
Change include path absolut to project dir
2018-04-01 18:08:24 +02:00
David Rupprecht
9d71bec7b6
Unified include guards
2018-03-31 19:04:04 +02:00
Ismael Gomez
b3be54b274
Attach and paging ok. Reselection on IDLE not working
2018-03-21 10:46:24 +01:00
Ismael Gomez
f88f465c97
Refactored NAS/RRC/PHY cell_search/selection procedures
2018-03-19 14:14:51 +01:00
Ismael Gomez
86d4ce52e0
Make intra-frequency measurement period/length a parameter
2018-03-15 12:27:55 +01:00
Ismael Gomez
f9d770e50e
Added option for Doppler frequency correction
2018-03-14 17:30:55 +01:00
Ismael Gomez
c2098ad626
Removed unused sample offset correction
2018-03-13 18:52:21 +01:00
Ismael Gomez
3adc6b5cbc
Merge pull request #158 from softwareradiosystems/csi
...
Csi
2018-03-07 14:40:57 +01:00
Ismael Gomez
13efa740e8
Changed logic in RRC/NAS/PHY for cell/plmn search to avoid stucking in IDLE
2018-03-06 22:20:38 +01:00
Ismael Gomez
90553e830d
Fixed cell search for non-home PLMN
2018-03-05 13:07:24 +01:00
Ismael Gomez
91664ef2be
Do sell reselection on IDLE by phch_recv thread instead of worker
2018-03-04 11:55:58 +01:00
Xavier Arteaga
8cabfa82cf
Added CSI report enable option in SRS UE
2018-02-28 12:30:34 +01:00
Ismael Gomez
cfaa5e9b28
Fix previous commit could not HO more than once due to not refreshing serving cell after 1st HO
2018-02-25 19:13:12 +01:00
Ismael Gomez
56df710d1f
Add rx_gain_offset interface for RSRP calibration
2018-02-21 11:51:55 +01:00
Pedro Alvarez
cc9845ef07
Merging HSS resynch functionality from David Rupprecht. Resolving conflict in user_db.csv.
2018-02-09 15:04:22 +00:00
Ismael Gomez
a279ab47f0
Improved neighbour cell accuracy. Changed RRC to avoid segfault when neighbour cell addition
2018-02-02 19:31:22 +01:00
David Rupprecht
5db5399b2f
Added HSS sync support (not tested)
2018-01-29 16:12:36 +01:00
David Rupprecht
3ead643c64
Introducing epc interfaces for hss and srsepc namespace
2018-01-29 16:12:36 +01:00
Andre Puschmann
74138071db
move radio bearer definition to RRC
2018-01-12 14:57:38 +01:00
Ismael Gomez
b0a2fa3b0b
Merge branch 'enbmimo' into mob_crypto_mimo
2017-12-04 12:10:46 -06:00
Ismael Gomez
48dfc08fa3
Fixed SIC for PSS using channel estimates, added option to disable it (not usable on synchronous same-site cells). Use PSS CE in SSS decoding
2017-12-03 22:13:07 -06:00
Ismael Gomez
5c31800ccb
Fixed HO with ciphering
2017-12-02 22:43:35 +01:00
Ismael Gomez
9a255b477a
Merge branch 'crypto' into mobility_crypto
2017-12-02 12:23:05 +01:00
Paul Sutton
1a323770c9
Added support for AS ciphering
2017-12-01 19:19:38 +00:00
Ismael Gomez
f1c6bcd252
Merge branch 'next' into mobility
2017-11-30 20:13:06 +01:00
Ismael Gomez
dd8bacf466
Calibrated CFO loop default values
2017-11-30 20:01:35 +01:00
Paul Sutton
84724d2ab1
NAS-plane encryption working (thanks to David Rupprecht)
2017-11-30 17:09:12 +00:00
Ismael Gomez
3a0ab02264
S1/X2 handover tested and working
2017-11-27 13:57:05 +01:00
Ismael Gomez
8447c965e3
Fixing RSRP measurements
2017-11-25 10:40:53 +01:00
Ismael Gomez
d428760b20
Merge branch 'next' into mobility
2017-11-24 12:02:41 +01:00
Ismael Gomez
408545dab8
X2 (constant NCC) working
2017-11-23 19:46:34 +01:00
Paul Sutton
4877c7ab07
Adding support for GUTI attach
2017-11-23 18:42:48 +00:00