Commit Graph

309 Commits

Author SHA1 Message Date
Matan Perelman 88998385eb NAS: Add configuration for LAC. 2022-07-21 09:55:38 +02: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
Alejandro Leal Conejos f3be849d6b Fixes coverity 339793 2021-10-27 19:47:45 +02:00
Matan Perelman f4adf80263 Add option to request IMEISV 2021-10-26 15:46:21 +02:00
Alejandro Leal Conejos 1a64c6adad Enum fixes so clang 12 can build the repo 2021-10-14 08:48:04 +02:00
David Rupprecht e8a464228d Cleaned string helpers 2021-09-16 15:24:32 +02:00
Andre Puschmann 598594c51a all: bunch of pass by const& changes suggested by LGTM 2021-04-29 10:00:09 +02:00
Matan Perelman ee997a4e4e NAS: Add configuration for full and short network names. 2021-04-23 20:31:36 +02:00
Codebot 4523ee6087 rename srsLTE to srsRAN 2021-03-21 21:47:01 +01:00
Francisco 3e9f93eb8a refactor - remove old log_filter and logmap libraries from the codebase 2021-03-11 20:10:54 +00:00
faluco 6359a2d948 - Upgrade the gtpu class in lib dir to srslog.
- Propagate old log elimination through all the dependencies of gtpu.
2021-02-11 14:37:27 +01:00
Francisco 798f1e57e6 fix byte buffer double free in EPC 2021-02-08 12:20:37 +00:00
Francisco 3265d940ec remove byte buffer pool cached member variables as they are unnecessary now. 2021-02-07 18:48:21 +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
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.
2020-12-18 10:52:51 +00:00
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.
2020-12-12 15:59:27 +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
Francisco Paisana 510959b50f update nr asn1 files, and asn1 tests 2020-12-12 15:58:32 +01:00
faluco 0b127fa8c7 - Fixed several errors that could sent uninitialized data through the network. 2020-09-22 18:00:50 +02:00
faluco 8d1705d6c6 - Fixed a leak in mme_gtpc where the singleton instance was not freed.
- Rewritten the class to be self manage its lifetime.
2020-09-22 18:00:50 +02:00
faluco b5b726ed48 - Fixed a memory leak in s1ap_paging. The static instance was not getting freed.
- Rewrite the singleton to self manage its lifetime.
2020-09-22 18:00:50 +02:00
Pedro Alvarez f85fe1c5ac Don't allow S1 setup with mis-matched TA codes between eNB and EPC. 2020-09-16 13:41:47 +02:00
faluco cfd3f51931
Import of srslog into srsepc and srsenb. (#1574)
* - Import of srslog into srsepc and srsenb.
* - Removed logger_file and logger_stdout files.
2020-07-30 19:17:23 +02:00
Pedro Alvarez 5746375b05 srsEPC: Deleted unsued bool in ue context removal interface 2020-06-25 16:32:16 +01:00
Pedro Alvarez 10050d2651 srsEPC: Fix sending release bearers request uncessarly on dettach request. 2020-06-25 16:32:16 +01:00
Francisco Paisana 0b701022a3 added ue nr mac 2020-05-26 10:02:08 +01:00
faluco 7ff251f112 - Fixed warnings caught by Clang 9.0.0 2020-05-07 10:10:24 +02:00
Francisco Paisana 38f848ecdf fix type name deducing for clang 2020-04-27 22:19:08 +01:00
Xavier Arteaga 77d5dedddc Fix LGTM warnings and recommendations 2020-04-22 18:01:43 +02:00
Francisco Paisana 344eaf49ec use logmap in the whole enb and ue 2020-03-25 15:50:30 +00: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 a8bbe551ac move thread class into srslte namespace to avoid ambiguity between std::thread 2020-03-03 16:22:04 +01:00
Pedro Alvarez 746de79859 Adding const to some setters (adressing Francisco's comments). 2020-02-26 18:15:13 +00:00
Pedro Alvarez 126e6126fa Removed unused function. 2020-02-26 18:15:13 +00:00
Pedro Alvarez 38411a8417 Clang-formated the EPC in preperation for PR. 2020-02-26 18:15:13 +00:00
Pedro Alvarez 3d4f300b6f Moved some helper setters/getters to hss_ue_ctx_t to remove more useless lookups. 2020-02-26 18:15:13 +00:00
Pedro Alvarez 469c3ad273 Removed more useless lookups. 2020-02-26 18:15:13 +00:00
Pedro Alvarez 93fbf741d7 Remove unecessary context lookup in increment_ue_sqn 2020-02-26 18:15:13 +00:00
Pedro Alvarez 4f62e6c08c Started to remove unecesssary lookups in gen_auth_info_answer_milenage 2020-02-26 18:15:13 +00:00
Pedro Alvarez a99ce1fc51 Started to remove unecesssary lookups in gen_auth_info_answer_xor 2020-02-26 18:15:13 +00:00
Pedro Alvarez 98400f65e2 Changed hss ue_ctx map to use unique pointers. 2020-02-26 18:15:13 +00:00
Pedro Alvarez 58bd5631e3 Starting to change map in HSS to use uinque_ptr. 2020-02-26 18:15:13 +00:00
Merlin Chlosta c2e95b1e2a Reject TAU to force UE to reconnect 2020-01-28 11:50:28 +00:00
Pedro Alvarez 48f9df8615 Applied clang-format to all of the srsepc folder. 2019-10-18 15:40:40 +02:00
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
2019-09-04 15:28:09 +02:00
Andre Puschmann 5faa819dcd fixing uninitialized class members found by coverity 2019-07-08 11:12:46 +01:00
Pedro Alvarez b97d1191f4 Added more debug info at eNB GTP-U. Changed the pdcp_entity to follow the standard more strictly for RLC AM DRBs. 2019-06-27 17:09:52 +02:00