42 Commits (31b03fdd8a19fc24aee3a770570be8afaeb0b282)

Author SHA1 Message Date
Francisco 3e9f93eb8a refactor - remove old log_filter and logmap libraries from the codebase 4 years ago
faluco 6359a2d948 - Upgrade the gtpu class in lib dir to srslog.
- Propagate old log elimination through all the dependencies of gtpu.
4 years ago
Francisco 798f1e57e6 fix byte buffer double free in EPC 4 years ago
Francisco 8a9c326bcb remove old direct uses of byte_buffer_pool 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
Andre Puschmann 07d2bc4fe8 change license header to agnostic version with hint to root LICENSE file 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
Francisco Paisana 344eaf49ec use logmap in the whole enb and ue 5 years ago
Xavier Arteaga e832769ae6 Updated copyright 5 years ago
Andre Puschmann a8bbe551ac move thread class into srslte namespace to avoid ambiguity between std::thread 5 years ago
Pedro Alvarez 48f9df8615 Applied clang-format to all of the srsepc folder. 5 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Joseph Giovatto fa99aa590e added support for optional ue static ip address (rebase #225) 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 9463b95dc1 Remove unused mutex in the SPGW. 6 years ago
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
6 years ago
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. 6 years ago
Pedro Alvarez add60c1288 Applied clang-format to the EPC. 6 years ago
Pedro Alvarez 3cddad79cc Adding ability to configure names of TUN interfaces. (#277)
* added config option for tun dev names vs fixed names added config option for M1-U interface addr

* Added options to sgi_mb tun name.

* Added some comments to mbms.conf.example

* Added some comments to example configs to explain the new values.
6 years ago
David Rupprecht 9d71bec7b6 Unified include guards 7 years ago
Pedro Alvarez ff8818590a Changing SPGW's handle_create_session_request to check weather GTP context already exists. 7 years ago
Pedro Alvarez d5478ff7a2 Starting to use EMM state to know whether attach request or service request are initiating the NAS. 7 years ago
Pedro Alvarez 2b84e78389 Adding release access bearer request to SPGW. Compiling now. 7 years ago
Pedro Alvarez d301d7599f Quick and dirty hack to not send activate default eps bearer when a service request is received. 7 years ago
Pedro Alvarez bdc72c65c4 Adding print to debug TPC issue. 7 years ago
Pedro Alvarez 8c9704ef3c Adding delete session request. 7 years ago
Pedro Alvarez 80780bfb2f Changed the way UE's IPs are assigned 7 years ago
Pedro Alvarez c183ac509d Fixed endianess bug of S-GW address sent to eNB. S-GW now receives upstream user traffic. Starting to strip the gtp-u header. 7 years ago
Pedro Alvarez 2b7bd546bc Able to find eNB F-TEID from destination IP. Starting to add the GTP-U header to the packet. 7 years ago
Pedro Alvarez d18ff13d27 Modify Bearer response parsed ok. Starting to setup the user-plane tunnels 7 years ago
Pedro Alvarez 04d67509cf Getting all information necessary at the SP-GW to setup the user tunnels from the modify bearer response. 7 years ago
Pedro Alvarez d972549124 Starting to create structure for modify bearer response 7 years ago
Pedro Alvarez 489865fa22 Starting to parse Modify Bearer Request at the S-GW. 7 years ago
Pedro Alvarez fd6baaf15c Changed S1AP to singleton. Continuing to work on the intial context setup request. Added a TEID to MME_UE_S1AP_ID map. 7 years ago
Pedro Alvarez ee21a277e5 Added PAA information in the create session response. 7 years ago
Pedro Alvarez d76daf3db5 Added GTP-C cause value enum. 7 years ago
Pedro Alvarez 2e6050bf38 Started to fill in the necessary information for the create session response. 7 years ago
Pedro Alvarez 606520d244 Added a TUN interface for the SGi and a socket to receive packets from the S1-U. Select is able choose the fd that needs to be read from. 7 years ago
Pedro Alvarez 796fba6f55 Adding socket for S1-U interface. 7 years ago
Pedro Alvarez f9b2c6434a Added TUN SGi interface to SP-GW. 7 years ago
Pedro Alvarez eac3ee26c1 Starting to add TUN if for SGi interface 7 years ago
Pedro Alvarez b6d0fcfdbe Renamed s-gw to sp-gw. 7 years ago