98 Commits (e19a0aa281fd4f1daf291f838287ba0aa5820558)

Author SHA1 Message Date
Andre Puschmann 598594c51a all: bunch of pass by const& changes suggested by LGTM 4 years ago
Codebot 4523ee6087 rename srsLTE to srsRAN 4 years ago
Francisco 3e9f93eb8a refactor - remove old log_filter and logmap libraries from the codebase 4 years ago
Francisco 3265d940ec remove byte buffer pool cached member variables as they are unnecessary now. 4 years ago
faluco c18e35bc93
Upgrade loggers in srsepc (#2167)
* Started logger replacement in epc main.

* Replaced loggers in nas and s1ap.

* Replace loggers in nas statics.

* Replaced loggers in s1ap ctx mngmt.

* Replace loggers in s1ap erab mngmt.

* Replaced loggers in s1ap mngmt proc.

* Replaced loggers in s1ap nas transport.

* Replaced loggers in s1ap paging.

* Replaced loggers in mme.

* Replaced loggers in mme gtpc.

* Started removing logger injection in init functions and cleaned up argument passing to nas statics.

* Remove logger injection from mme and s1ap.

* Replaced loggers in the hss class.

* Replaced loggers in gtpc.

* Replaced loggers in GTPU and SPGW.

* Replaced loggers in MBMS.
4 years ago
Pedro Alvarez 0c20b7a455 Added support for S1AP modify bearer request support. This includes:
- Handle received E-RAB S1AP at s1ap.cc.
 - Added methods to rrc.cc, rrc_ue.cc and rrc_bearer_cfg.cc to handle erab modify request.
 - Made RLC add_bearer() function capable of re-creating the RLC entity.
 - Send RRC reconfiguration to the UE and reply to the EPC with S1AP
   modify bearer response.

This commit also adds support to srsEPC to send S1AP modify bearer request for
testing purposes.
4 years ago
Pedro Alvarez 7eebd71627 Added S1AP E-RAB release command/response handling to srsENB.
Added the ability to srsEPC to send the E-RAB release command.
4 years ago
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 4 years ago
Francisco Paisana 510959b50f update nr asn1 files, and asn1 tests 4 years ago
Pedro Alvarez f85fe1c5ac Don't allow S1 setup with mis-matched TA codes between eNB and EPC. 4 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
Pedro Alvarez bd3598f774 Moved srsEPC to the new S1AP library. Deleted liblte_s1ap.cc and liblte_s1ap.h. 5 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
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.
6 years ago
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
6 years ago
Pedro Alvarez add60c1288 Applied clang-format to the EPC. 6 years ago
Pedro Alvarez 0d80ae795b Added IMSI attach from unknown UE as a static function. 6 years ago
Pedro Alvarez 860e1b5491 Changing Handling of initial UE NAS messages to use static methods. Handling of unknown GUTI attach request should be ok. 6 years ago
Pedro Alvarez 93222f582c Changed authentication response to use downlink_nas_transport(). 6 years ago
Pedro Alvarez 872f7adc49 Added find imsi from TMSI helper function. 6 years ago
Pedro Alvarez 4ba777c9c3 Added nas log. Fixed gen_auth_info_anwser. Authentication is working again. 6 years ago
Pedro Alvarez f03967776a Continuing to clean nas.cc 6 years ago
Pedro Alvarez 6ef3124fc9 Fixed up release ue ctx command. 6 years ago
Pedro Alvarez 85672d4a3f Fixing up s1ap.cc 6 years ago
Pedro Alvarez 3663d59920 Starting to add s1ap_interface_gtpc and s1ap_interface_nas. Adapting send initial context setup request accordingly. 6 years ago
Pedro Alvarez 4c164acbc3 Moving many of the functions fron s1ap_nas_transport to it's own NAS class. 6 years ago
Pedro Alvarez 151efc61d5 Added s1ap_tx_pdu function. This function will record to pcap if PCAP is enabled. 6 years ago
Pedro Alvarez b89ad628e2 Added config option to enable pcap. 6 years ago
Pedro Alvarez ba5708dc60 Starting to add S1AP pcap to EPC. 6 years ago
Pedro Alvarez 362c856e53 Changed UE set to be accessible from SCTP association. 7 years ago
Pedro Alvarez 300b9e7757 Starting to add UEs to the eNB context again. 7 years ago
Pedro Alvarez a6fbdb62cd Adding function to mark the UE as present to in the eNB 7 years ago
David Rupprecht 06d4559294 Change include path absolut to project dir 7 years ago
David Rupprecht 9d71bec7b6 Unified include guards 7 years ago
Pedro Alvarez b1f4ee47d1 Temporally removed unhandled UE cap info. 7 years ago
Pedro Alvarez 1f3ccb9bda Fixed bug in integrity check, UE is IMSI attaching again. 7 years ago
Pedro Alvarez 9617a63d27 continuing to change the way context is stored. Compiling now. 7 years ago
Pedro Alvarez 7d37c6b9c3 Continuing to fix compilation issues. Starting to change S1AP to use the new functions to store ctx. 7 years ago
Pedro Alvarez be84ee854a Changing the way that ECM context is stored to keep uplink teids active when the context is release. 7 years ago
Pedro Alvarez a3b31966b8 Changing Activate EPS bearer function to work with IMSI. 7 years ago
Pedro Alvarez ecb846717c Starting to handle UE capability info indication 7 years ago
Pedro Alvarez c6e2f144d7 Merging next into guti_attach branch 7 years ago
Pedro Alvarez 3f7bea1af6 Starting to integrity check GUTI attach. Integrity failing for now. 7 years ago
Pedro Alvarez 2cc717b506 Starting to check NAS intgrity of GUTI attach. 7 years ago
Pedro Alvarez 386e56ef40 Fixed bug when GUTI is unknown but EMM context was previously present. Added function to delete EMM context. 7 years ago
Pedro Alvarez 95bc4f8b08 adding tmp emm storage for when the UE uses an unknown guti and id request has to be sent. 7 years ago
Pedro Alvarez d9da1f84f0 Continuing to separate EMM and ECM context 7 years ago
Pedro Alvarez 336af1ed93 Adding functions to get context from IMSI or MME UE S1AP Id. 7 years ago
David Rupprecht 8ea2e73b63 Making hss an interface for testing 7 years ago
Pedro Alvarez 45effcca08 Starting to add GUTI attach support. 7 years ago