Commit Graph

248 Commits

Author SHA1 Message Date
Codebot 38a520b3c2 Merge branch 'next' into agpl_next 2022-07-24 21:12:22 +00:00
Matan Perelman 88998385eb NAS: Add configuration for LAC. 2022-07-21 09:55:38 +02:00
Codebot 4d2b5b8eda Adding AGPL copyright to new files 2022-04-29 07:28:44 +00:00
Codebot 9664aa3cf4 Merge branch 'next' into agpl_next
# Conflicts:
#	lib/include/srsran/phy/channel/ch_awgn.h
2022-01-23 23:12:27 +01:00
Francisco f7efee9884 asn1: use typedefs for amf_ue_ngap_id, ran_ue_ngap_id, mme_ue_s1ap_id and enb_ue_s1ap_id and changed interface to access s1ap and ngap protocol_ies 2022-01-11 22:59:38 +00:00
Codebot fc3ac4d491 Merge branch 'next' into agpl_next 2021-12-03 09:27:03 +01:00
Pedro Alvarez 2d42766b2e epc,s1ap,nas: reduce the logging level of MAC failures on identity response and authentication response 2021-12-02 15:20:09 +00:00
Andre Puschmann f31a7d1d02 epc,nas: add handler for PDN connectivity request
COTS phones seem to send standalone PDN connectivity request
messages even after the initial attach was complete. We don't fully support
them in the EPC but instead of logging a warning we can just send
a reject at least to keep the logs clean.
2021-11-26 14:51:14 +01:00
Codebot 1cd26af06b Merge branch 'next' into agpl_next 2021-10-28 13:01:49 +02:00
Matan Perelman f4adf80263 Add option to request IMEISV 2021-10-26 15:46:21 +02:00
Codebot 887f1da10c Merge branch 'next' into agpl_next 2021-04-28 12:40:09 +02:00
Matan Perelman ee997a4e4e NAS: Add configuration for full and short network names. 2021-04-23 20:31:36 +02:00
Codebot 0a15eeb57a Adding AGPL copyright to new files 2021-04-22 10:59:40 +02:00
Codebot 24290dcae2 Adding AGPL copyright to new files 2021-03-28 23:12:42 +02:00
Codebot 4523ee6087 rename srsLTE to srsRAN 2021-03-21 21:47:01 +01:00
Francisco 798f1e57e6 fix byte buffer double free in EPC 2021-02-08 12:20:37 +00:00
Francisco 8a9c326bcb remove old direct uses of byte_buffer_pool 2021-02-07 18:48:21 +00:00
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.
2021-01-29 11:29:20 +01:00
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 2020-12-12 15:59:25 +01:00
faluco dfeed52514 - Rename out_stream function to console. 2020-09-29 17:38:13 +02:00
faluco 62faef7c71 - Replaced all uses of the log::console method. 2020-09-29 17:38:13 +02:00
Xavier Arteaga e832769ae6 Updated copyright 2020-03-16 11:26:06 +01:00
Pedro Alvarez bd3598f774 Moved srsEPC to the new S1AP library. Deleted liblte_s1ap.cc and liblte_s1ap.h. 2020-03-06 11:57:07 +00:00
Andre Puschmann 476f970ee1 replace FIXME with TODO 2019-12-18 11:25:56 +01:00
Pedro Alvarez 48f9df8615 Applied clang-format to all of the srsepc folder. 2019-10-18 15:40:40 +02:00
Pedro Alvarez 50506ffa26 Changed NAS initialization from init function to constructor. Continuing to add the logic to handle attach request as a Uplink NAS message. Added debug log to s1ap::send_downling_nas_message. 2019-06-24 21:27:08 +02:00
Pedro Alvarez 20ee17088f Starting to add handling of attach request as a Uplink NAS transport message. 2019-06-24 21:27:08 +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
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 3933b269d7 Added GTP-C message passing between MME and SPGW using UNIX sockets.
* Added S11 sockets to SPGW select and MME select
  * Added send_s11_pdu message to SPGW and MME
  * Remove pointer for replies in handle_s11_pdu
2019-04-03 09:52:18 +02:00
Pedro Alvarez 6e500c5b86 Changed initilization of the NAS at the EPC, to make it easier to add new interfaces. 2019-03-20 14:00:02 +01:00
Pedro Alvarez add60c1288 Applied clang-format to the EPC. 2019-03-20 14:00:02 +01:00
Pedro Alvarez 179aeddfa2 Added encryption of security mode command and attach accept again. Attach is working with encryption. 2019-01-11 18:13:29 +00:00
Pedro Alvarez 412b08c4bf Fixed UL nas count increment for GUTI with known UE and Service Request. Both seem to work now. 2019-01-11 16:28:35 +00:00
Pedro Alvarez 997c24c099 Added config of cipher_algo and integ_algo initialization in NAS class. 2018-12-18 18:27:31 +00:00
Pedro Alvarez 5eacdd5418 Fixed compilation issues. Attach failing with COTS UE. 2018-12-18 16:48:25 +00:00
Pedro Alvarez 31a25067f5 Merging David Ruprecth's mme_msg_encryption branch into next. Not compiling. 2018-12-18 12:03:52 +00:00
Andre Puschmann df7ab7ffe8 Merge branch 'master' into next 2018-12-14 16:54:46 +01:00
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 2018-12-03 10:36:15 +01:00
David Rupprecht c480e57721 Config based security algorithm selection 2018-11-19 15:34:57 +01:00
David Rupprecht 3b7eeb5909 Do security (integrity checks in case of NAS UL message 2018-11-19 14:38:44 +01:00
David Rupprecht 1442606ee1 Encryption for ESM request 2018-11-19 14:11:33 +01:00
David Rupprecht 82f69d66dc ul_nas_count increment tau request 2018-11-19 13:40:54 +01:00
David Rupprecht 2543a84aa4 Minor changes in nas uplink transport and increase uplink count 2018-11-19 13:39:30 +01:00
David Rupprecht 718262eaaf restucture NAS uplink message: todo security of message 2018-11-18 22:29:32 +01:00
David Rupprecht 894471e326 restructure handle_initial_ue_message 2018-11-18 21:36:36 +01:00
David Rupprecht 0dfa6426dd restructure handle_initial_ue_message 2018-11-18 21:35:55 +01:00
David Rupprecht e5e091b0c9 Minor fixes and code clean up 2018-11-18 21:18:17 +01:00