133 Commits (fda1d040e7ad1ba0930576307177917274c10534)

Author SHA1 Message Date
Ismael Gomez a3932f9bea Minor change to fix coverty issue 5 years ago
Francisco Paisana e768989074 added a packer/unpacker for bytes. This should a faster version than normal bit_ref::pack, when we want to pack multiple bytes, and the bit_ref::offset is 0. Also added a way to skip a fixed number of bits 5 years ago
Ismael Gomez bfddc55148
RRC-PHY interface (#639)
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1

Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
5 years ago
Francisco Paisana ef61f0408c fix asn1 version separator string 5 years ago
Francisco Paisana ad64207a32 added test for unknown group extensions, and the asn1 lib version in its generated files 5 years ago
Francisco Paisana 939c8905cb now the unknown group exts are also consumed 5 years ago
Francisco Paisana 116dc0a57b fixed group extensions, removed extra presence flag for copy_ptr<T> types as it was just a source of bugs. 5 years ago
Pedro Alvarez 9597cc4c14 Clang-formated liblte_* 5 years ago
Francisco Paisana 58e2e51044 removed rlc_interfaces. The rlc_cnfg types are now part of the rrc_interface_types. Removed implicit RB initialization in the RLC. 5 years ago
Francisco Paisana c5509caece added extra operators and remove rrc_asn1 in some cmake targets 5 years ago
Francisco Paisana b936629221 removed rrc asn1 header from bcd_helpers, from rlc_interface, and rlc tests 5 years ago
Francisco Paisana bb0dbf0f1c created a asn1 utils with helper functions and types related to the asn1. These types/functions will help isolate the rrc_asn1 lib from most of the layers, reducing this way the compile times, and leading to better isolation. This will also make the transition to NR smoother. I removed the asn1 types from the NAS and USIM interface so far. 5 years ago
Francisco Paisana 416f9896ec fixes to include the findings from PR #550 5 years ago
Andre Puschmann f357c995fc liblte_mme: fix packing and unpacking of modify EPS bearer context
this just skips the security bits but the packing/unpacking of
the values, i.e. new TFT may still be wrong
6 years ago
Andre Puschmann e97343579b liblte_mme: fix typo in header 6 years ago
Andre Puschmann 1c749ad559 add basic handling for deactivating eps bearer 6 years ago
Andre Puschmann f000e36f21 liblte_mme: fix dedicated bearer handling, add handling for UE testmode 6 years ago
Francisco Paisana 4311c3121c avoid crash when converting nulltype to string 6 years ago
Francisco Paisana aca1e9612d revert back from max_sizeof(...) to macros 6 years ago
Francisco Paisana 14b6a1d483 setter method for choice types 6 years ago
Francisco Paisana 896ef5ee64 added default init for booleans and integers 6 years ago
Francisco Paisana 37d104a2c5 max_sizeof(...) now does a divide a conquer to reduce recursion depth 6 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
Francisco Paisana dc0b903130 added default enum inits 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
Francisco Paisana 80031d0846 shortened enumerated string/number conversion implementations. 6 years ago
Francisco Paisana ca3ea5e658 shortened enumerated types declarations 6 years ago
Francisco Paisana e50c062084 added extra separator comments 6 years ago
Francisco Paisana 0204db2e12 new asn1 rrc library 6 years ago
Pedro Alvarez 997c24c099 Added config of cipher_algo and integ_algo initialization in NAS class. 6 years ago
Pedro Alvarez 3205121015 M2 interface packing/unpacking (#305)
* Starting to add M2AP serialization structures.

* Added M2AP procedure ids.

* Added some M2AP max values.

* Removing m2ap.cc for now.

* Adding cause IE.

* Adding dummy m2ap.cc to check correct compilation of m2ap.h

* Fixed compilation issues in m2ap.h

* Adding Cell Information IE.

* Added Criticality diagnostics IE.

* Adding eNB-MBMS-ConfigurationDataItem.

* Adding MBMS-Service-Area-Id-List

* Added MBMS Service Area Id.

* Added Global eNB Id IE.

* Added Global MCE id IE.

* Added MBMS-Service-associatedLogicalM2-ConnectionItem IE.

* Added MBSFN_SUBFRAME_CONFIGURATION IE

* Added MCCHrelatedBCCH-ConfigPerMBSFNArea IE.

* Added MCH scheduling period IE.

* Added PMCH-Configuration IE.

* Added Time-to-Wait IE.

* Added TNL-Information IE.

* Starting to add M2SetupRequest msg.

* Adding M2 Setup Request message.

* Fixed up enums related to initiating messages, successful outcome and unscesseful outcome.

* Starting to add m2ap apck/unpack PDU functions.

* Started to add a test for M2 Setup Request Pack/Unpack.

* Filling in M2SetupRequest structure.

* Adding packing of more IEs in the M2SetupRequest.

* Starting to add unpacking functions to M2SetupRequest.

* Continuing to unpack M2SetupRequest. Unpacking PLMN Identity correctly now.

* Fixed up enb_id unpacking. eNB Id and eNB name unpacking correctly now.

* Starting to add unpacking for dataconfiguration item.

* Adding support for eCGI unpacking.

* Adding MBSFN Synchronization Area id Unpacking.

* Adding service area unpacking.

* Added unpacking functionality to the rest of the IEs in the M2 Setup Request. Unpacking the M2 Setup Request is passing unit test.

* Fized mistake in packing eNB Id. Starting to add packing to eCGI.

* Starting to pack value in ENB MBMS Configuration item.

* Fixed packing of ENB MBMS configuration item header.

* Packing of M2 Setup request is now passing the unit test.

* Starting to add M2setup response.

* Starting to add packing/unpacking succeful outcome.

* Starting to add M2SetupResponse to test.

* Continue to add testing to setup response. Choice type seems OK.

* Starting to add unpacking to MCE Id.

* Adding MCEname packing/unpacking.

* Continue to unpack m2setupresponse.

* Adding MBMS Area Id unpacking

* Added pddch length unpacking.

* Adding more IE unpacking.

* Adding more code to unpack M2 Setup response.

* Added M2 Setup response unpacking.

* Added M2 response packing. Fixed mistake on eCGI packing/unpacking, which broke M2 Setup request.

* M2 setup request and response pack and unpacking seems to work.

* Starting to add MBMS Session Start Request.

* Continue to unpack MBMS session start request.

* Added TMGI unpacking.

* Continue to add unpacking to MBMS session start request

* Starting to add TNL Information unpacking

* Added unpack for MBMS session start request.

* Strating to add MBMS session start request packing.

* Adding MCE MBMS M2AP Id packing.

* Added MBMS Session Start Reqeust pack and unpack.

* Added MBMS Session start response packing/unpacking.

* Starting to add unpacking of MBMS Scheduling information.

* Adding MCCH Update time Unpacking.

* Adding MBSFN Area Configuration List Unpacking.

* Starting to add unpack PMCH configuration Item.

* Adding AllocatedSubframesEnd unpack

* Fixed multiple mistakes in unpacking PMCH configuration.

* Unpacking MCH Scheduling Period

* Continue to unpack MBMS Session List Per PMCH Item.

* Added unpacking of PMCH Configuration List. Starting to add unpacking of MBSFN Subframe Configuration List.

* Adding radioframe allocation period and offset unpacking.

* Added unpacking of MBMS Scheduling Information (needs testing.)

* Added more testing to MBMS Scheduling Info.

* Small commit.

* Added more testing to the unpacking of MBMS Scheduling Information. Unpacking correctly now.

* Continue to pack MBMS Scheduling information. Packing PMCH Configuration.

* Fixed mistach in packing PMCH configuration list.

* Adding more packing to MBMS scheduling info message.

* Fixed more mistakes in MBMS Scheduling information packing. Passing tests now.

* Added MBMS Scheduling Information Response.

* Remove debug prints.
6 years ago
Andre Puschmann 23836a8ab3 Merge branch 'next' into nas_cleanup 6 years ago
Andre Puschmann 2645fb50b1 add aligned attribute to liblte_bit_msg_struct to fix issues on ARM 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
Andre Puschmann 9b894799f0 add support for ciphered authentication response 6 years ago
Pedro Alvarez 0a6540d8bf Saving QCI into ESM context. Different QCIs should be working now. 6 years ago
Pedro Alvarez 1b43c40422 Starting to add Bearer QoS IE to Create Session Request. 6 years ago
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 7 years ago
yagoda 49c3578f64 introducing embms support in common upper layer functions 7 years ago
Andre Puschmann a30ad8952c fix indent and simplify auth request packing 7 years ago
Andre Puschmann 4dc2951d59 perform initial attach with ESM info transfer 7 years ago
Andre Puschmann 455d4491c5 make RES length variable when packing auth response 7 years ago
Ismael Gomez b237d6063e Align header buffer to 8-byte boundary as expected by S1AP pack/unpack functions 7 years ago
Ismael Gomez 208871b251 Changed liblte structs to simple structs and initialized nas/rrc uses. 7 years ago
David Rupprecht 9d71bec7b6 Unified include guards 7 years ago
Pedro Alvarez 2cc4959667 Adding release access bearers request. 7 years ago
Pedro Alvarez e499fffe01 Starting to save GTP-C context in a map, to keep the GTP-C connection even when the NAS connection is released. 7 years ago
Pedro Alvarez 669ef9816f Added packing of TMSI to mobile station identity IE. 7 years ago
Pedro Alvarez 042552491b Merging next into epc branch. 7 years ago
Pedro Alvarez 8c9704ef3c Adding delete session request. 7 years ago
Pedro Alvarez a4e1707835 Fixed bug in packing ESM information request. 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 9f994dba04 Starting to generate modify bearer request. Fixed bug in unpacking activate default bearer accept. 7 years ago
Ismael Gomez 9a255b477a Merge branch 'crypto' into mobility_crypto 7 years ago
Paul Sutton 84724d2ab1 NAS-plane encryption working (thanks to David Rupprecht) 7 years ago
Pedro Alvarez f71c87d895 Starting to add attach accept and activate default bearer request NAS messages. 7 years ago
Pedro Alvarez 13595ccb2d Added logging to MME GTP-C. Fixed weird comment bug. 7 years ago
Pedro Alvarez 6cd055e80e Continuing to work on initial context setup request. 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
Ismael Gomez d428760b20 Merge branch 'next' into mobility 7 years ago
Ismael Gomez 408545dab8 X2 (constant NCC) working 7 years ago
Paul Sutton d9b9ae9454 Fix for GUTI pack bug, add support for integrity with attach req 7 years ago
Pedro Alvarez 2172662388 Added initial create session response structure. Compiling now. 7 years ago
Pedro Alvarez ff32f31c9b Added structures to create session request. Starting to add create session response structure 7 years ago
Pedro Alvarez e754c6cbf5 Fixed more compilation bugs. Bearer context IE still needs to be added. 7 years ago
Pedro Alvarez ccbeb9e1c5 Fixed a bunch of compilation errors. 7 years ago
Pedro Alvarez a8a370ec21 Starting to add Create Session Request function 7 years ago
Xavier Arteaga 4ecd73c984 Added power allocation p_a in UE 7 years ago
Ismael Gomez 12d8b373c7 srsUE takes and reports intra-frequency measurements correctly 7 years ago
Pedro Alvarez 2088b3967b Commenting out the initial GTP-C packing functions (for now). 7 years ago
Pedro Alvarez 542edb988a Added GTPC ie and msg type definitions 7 years ago
Pedro Alvarez 04d3a3f8ca Continue to work on pakcing the create session request message 7 years ago
Pedro Alvarez 99f6ffe63b Starting to add code to create the GTP-C messages. 7 years ago
Paul Sutton 7e3fbbc639 Adding ASN support for RRC measurement report messages 7 years ago
Ismael Gomez 8a367bf825 changed srsue namespace to srslte for all common objects 8 years ago
Andre Puschmann c51c4d2a38 fix compile warnings 8 years ago
Andre Puschmann 5898af3d0b add srslte_asn1 lib
- remove extra subfolder containing liblte
- add asn1 lib containing rrc msg packing and unpacking
- add security related bits to common
8 years ago