483 Commits (81f28a4d4571b81115573626a4dc47d1f84ab996)

Author SHA1 Message Date
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
Pedro Alvarez 38411a8417 Clang-formated the EPC in preperation for PR. 5 years ago
Andre Puschmann cccabdaf4f removing unneeded install targets for static libs (reported by Filipe) 5 years ago
Merlin Chlosta c2e95b1e2a Reject TAU to force UE to reconnect 5 years ago
Andre Puschmann 476f970ee1 replace FIXME with TODO 5 years ago
Pedro Alvarez 48f9df8615 Applied clang-format to all of the srsepc folder. 5 years ago
Andre Puschmann 4ac5448ad7 fix formatting in NAS 5 years ago
David Rupprecht bb97d7d199 fixing key naming 5 years ago
David Rupprecht 50332089ce Add EEA3 and EIA3 support for UE/enodeb and MME 5 years ago
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
5 years ago
Pedro Alvarez 494be243c0 Changed security direction to use an enum. 5 years ago
Pedro Alvarez de4d459e5f Fix issue of IMSI context already present when receiving a GUTI attach with bad integrity. This could cause a sigpipe in the EPC when the eNB was re-started. 5 years ago
Pedro Alvarez b617f76bdc S1AP Debug message. 5 years ago
Pedro Alvarez 609e5cce2c Initializing attach request in EPC NAS. 5 years ago
Pedro Alvarez 2ed60412b9 Removing debug printfs. 5 years ago
Pedro Alvarez 36bd20d308 Making sure that the security algorithms are kept when the NAS context is reset. Attach request after a service reject seems to work now (with COTS UE). 5 years ago
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. 5 years ago
Pedro Alvarez 20ee17088f Starting to add handling of attach request as a Uplink NAS transport message. 5 years ago
Andre Puschmann e47010130f extend thread class to set unique thread name in ctor
this will also extend all classes that use srslte::thread
to specify the name of the thread in the ctor as well
as to set the name of the worker threads in the thread pool
the thread name will be displayed in gdb.
6 years ago
Francisco Paisana 0e3baa0f2f Renamed the reset() method of byte_buffer_t to clear() 6 years ago
Andre Puschmann 7e5e2b142e fix uninitialized members in MME NAS 6 years ago
Pedro Alvarez f303167206 Fix GTP-C socket initialization to remove compiler warnings. 6 years ago
Andre Puschmann 4c16a1f719 fix uninitialized struct 6 years ago
Andre Puschmann 64dd4c1fc4 fix issue when packing service reject fails and NAS uses initialized logger 6 years ago
Andre Puschmann 4b01a2e4a0 update copyright notice 6 years ago
Ismael Gomez 7780b1aba5 add tdd/ca support 6 years ago
Pedro Alvarez 49577b6b5f Making sure that packet queued in the SPGW is freed when queue_downlink_packet enconters errors. Reverse the order of sending paging and queueing packet so that paging_pending is properly set to true. 6 years ago
Pedro Alvarez 7cdc012bb2 Printing fixes in the EPC for ARM 6 years ago
Pedro Alvarez 1bac758a85 EPC now sends service reject to a UE that sends service request with bad integrity. 6 years ago
David Rupprecht dabf586316 ISMI to IMSI typo 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 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 3e9f10e20d Adding S11 initialization in MME and SPGW as unix sockets. 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 6e500c5b86 Changed initilization of the NAS at the EPC, to make it easier to add new interfaces. 6 years ago
Pedro Alvarez add60c1288 Applied clang-format to the EPC. 6 years ago
Pedro Alvarez b675e1fcc9 Ciphering EMM information message. Chainging detach_request security header in the UE to integrity and ciphered to avoid malformed message. 6 years ago
Pedro Alvarez b5d5f9f91c Re-adding support for EIA2 in EPC. 6 years ago
Pedro Alvarez 179aeddfa2 Added encryption of security mode command and attach accept again. Attach is working with encryption. 6 years ago
Pedro Alvarez 412b08c4bf Fixed UL nas count increment for GUTI with known UE and Service Request. Both seem to work now. 6 years ago
Pedro Alvarez 997c24c099 Added config of cipher_algo and integ_algo initialization in NAS class. 6 years ago
Pedro Alvarez 5eacdd5418 Fixed compilation issues. Attach failing with COTS UE. 6 years ago
Pedro Alvarez 31a25067f5 Merging David Ruprecth's mme_msg_encryption branch into next. Not compiling. 6 years ago
Pedro Alvarez a5a7eb02d2 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 6 years ago
Andre Puschmann df7ab7ffe8 Merge branch 'master' into next 6 years ago
Pedro Alvarez 60fdc9ebe2 Small commit. 6 years ago
Pedro Alvarez ac0aa76afc Small print changes on NAS. 6 years ago
Pedro Alvarez 9380d56bbf Changing prints in S1AP and SPGW. 6 years ago
Pedro Alvarez 7fd6ae4c40 Changing NAS printing. 6 years ago
yagoda 94ec379f68 Small commit to test changes in prints. 6 years ago
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 6 years ago
Pedro Alvarez 0320d475e9 Fix Uninitialized QoS options in attach accept. 6 years ago
David Rupprecht c480e57721 Config based security algorithm selection 6 years ago
David Rupprecht 3b7eeb5909 Do security (integrity checks in case of NAS UL message 6 years ago
David Rupprecht 1442606ee1 Encryption for ESM request 6 years ago
David Rupprecht 82f69d66dc ul_nas_count increment tau request 6 years ago
David Rupprecht 4a2c563f85 increase uplink ul nas count 6 years ago
David Rupprecht 2543a84aa4 Minor changes in nas uplink transport and increase uplink count 6 years ago
David Rupprecht 718262eaaf restucture NAS uplink message: todo security of message 6 years ago
David Rupprecht 894471e326 restructure handle_initial_ue_message 6 years ago
David Rupprecht 0dfa6426dd restructure handle_initial_ue_message 6 years ago
David Rupprecht e5e091b0c9 Minor fixes and code clean up 6 years ago
David Rupprecht e547883a8f Wrapper functions for integrity generate 6 years ago
Andre Puschmann cd7008a269 fix typo 6 years ago
David Rupprecht 7eef2c1c4b start with decryption function 6 years ago
Pedro Alvarez 8072aaa091 Fixed minor mistake in resolving conflict. 6 years ago
Pedro Alvarez 8dc029cc47 Merging next into NAS cleanup. 6 years ago
Pedro Alvarez b4f9fb06dd Changing EPC to use uint32_to_uint8 function 6 years ago
Pedro Alvarez 7bad5a52a0 Merging handling of initial UE messages as static methods into nas cleanup. 6 years ago
Pedro Alvarez 9350e03810 Changed detach request and tracking area update request to nas.cc 6 years ago
Pedro Alvarez d2cb01ce87 Deleted old service request. 6 years ago
Pedro Alvarez a9e5b3b8e9 Changed service request to nas.cc 6 years ago
Pedro Alvarez 4313fb1e72 Making sure M-TMSI is in host order in other small bug fixes. 6 years ago
Pedro Alvarez 3337f21ffa Added handle GUTI attach from known UE again. 6 years ago
Pedro Alvarez 0d80ae795b Added IMSI attach from unknown UE as a static function. 6 years ago
Pedro Alvarez 0ddb3d39dc Moved handle_imsi_attach_request_from_unknown_ue to nas.cc in static method. Working. 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 9e808ff968 Starting to handle NAS initial UE messages as static methods of the nas class. 6 years ago
Pedro Alvarez c011df5612 Changing Service request to nas.cc 6 years ago
Pedro Alvarez a46f1e4e9a Changing Tracking Area Update Request Initial Message to nas.cc 6 years ago
Pedro Alvarez e3286897ce Changed the rest of the nas handling to use send_downlink_nas_transport. 6 years ago
Pedro Alvarez f1d30c7f23 Changed handle guti_attach_from_known_ue and unknown_ue to use send_downstream_nas_message. 6 years ago
Pedro Alvarez dd725be60c Changed pack identity request. 6 years ago
Pedro Alvarez 65a5139751 Fixed mistake in downlink nas transport. Changing authication request to use downlink_nas_transport. 6 years ago
Pedro Alvarez 21c34b9ce5 Changing security mode complete to use downlink nas transport 6 years ago
Pedro Alvarez 93222f582c Changed authentication response to use downlink_nas_transport(). 6 years ago
Pedro Alvarez 3073ab6822 Changed dettach request to use downlink nas transport. 6 years ago
Pedro Alvarez 749e84315a Starting to add send_downlink_nas_transport helper function. 6 years ago
Pedro Alvarez 8bcc8ecaeb Starting to move initial attach request handling to nas.cc 6 years ago
Pedro Alvarez 872f7adc49 Added find imsi from TMSI helper function. 6 years ago
Pedro Alvarez fa0c8d5995 Moved most of IMSI attach request into nas.cc. 6 years ago
Pedro Alvarez f6b8982939 Moved most of the GUTI attach to nas.cc. 6 years ago
Pedro Alvarez c518d3fde3 Starting to move inital UE messages to nas.cc. Breaking up attach request handling into smaller functions. 6 years ago
Pedro Alvarez 1f2e22adf4 coding style fixup. 6 years ago
Pedro Alvarez 23bd95c432 Whitespace fix. 6 years ago
Pedro Alvarez 55675eb532 Fixed bug in setting MCC and MNC in attach accept. Attach seems to be working again. 6 years ago
Pedro Alvarez 1fba7f0afa Moved function that gets NAS type string to liblte_mme.cc 6 years ago
Pedro Alvarez 127e214b07 Added function to print string of NAS message type based on the message code. 6 years ago