Commit Graph

3853 Commits

Author SHA1 Message Date
Igor Kim 9def82d15b add error handling on binding s1c socket (#267) 2018-12-14 12:02:25 +01:00
Eric Schreiber 46d41a5dc5 Remove undefined increment of an erased iterator. (#274) 2018-12-14 12:01:44 +01:00
David Rupprecht a9032bb91a Fix problems when TA timer is set to infinity 2018-12-14 11:35:28 +01:00
Andre Puschmann 22503541b1 disable clang tidy by default during build 2018-12-13 11:06:57 +01:00
Andre Puschmann 463b00d82d check sys_info_change flag in paging message 2018-12-13 10:54:51 +01:00
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.
2018-12-12 15:22:35 +01:00
Ismael Gomez a8a0c3ebe7 Fixed compilation in zynq 2018-12-12 14:34:13 +01:00
Ismael Gomez 8f541cf4e1 Merge branch 'next' into neon_windowed_tdec 2018-12-12 11:47:50 +01:00
yagoda 3762738bc1 adding windowed neon turbodecoder (can be further optimized) 2018-12-12 11:27:07 +01:00
Andre Puschmann 571963b53d update install config script to allow installation to /etc 2018-12-11 20:50:36 +01:00
Andre Puschmann c88cc35fdf try to load config files from /etc/srslte before checking users's home 2018-12-11 17:40:48 +01:00
Andre Puschmann 59435c2c34 add own cpuid helper to detect avx2 support
the cpuid.h version caused issues with older GCC 5.4
2018-12-10 22:16:13 +01:00
Pedro Alvarez 21e1573152 Clang-format style guide. (#296)
* Added initial clang-format style guide.

* Added Inline exception for single-line functions. Changed pointer alignment to left. Changed AlignConsecotiveDeclaration to true.

* Changed BreakTemplateDeclarations to true. Changed Standard to Cpp03

* Changed break after class, inheritance list breaks and constructor initializers list.

* Changed Case indentation to have space. Changed the options for inheritance lists / contructor initializer lists.

* Removed comment.
2018-12-10 17:55:55 +01:00
Andre Puschmann 96f057d34b typo in phch_worker 2018-12-10 17:48:52 +01:00
Andre Puschmann 34f552fae9 add universal executable to select binary based on current ISA
- using cpuid to check x86 features
- using hwcap on ARM to check for NEON
2018-12-10 17:48:52 +01:00
Andre Puschmann d7ab2b8d66 add stop_timers function to RRC and call it in rrc::stop()
- this solves an issue with shutting down RRC when the UE
  just sent a connection request (and activated timer T300)
  and stop was called.
2018-12-10 17:48:52 +01:00
Andre Puschmann 2bc4d70199 reset TA before sending PRACH (fixes #285)
as suggested by Xavier in phch_recv.cc
2018-12-10 17:48:52 +01:00
Andre Puschmann d6196ba234 simplify RRC-NAS interface and only have msg as param (RRC selects LCID) 2018-12-10 17:48:52 +01:00
Andre Puschmann c9857fe4ad add handler for EMM status message 2018-12-10 17:48:52 +01:00
Andre Puschmann e02ed62d02 update tx adv nsamples calibrated with UXM 2018-12-10 17:48:52 +01:00
Andre Puschmann d52ea8b602 decrease threshold for DL scheduler to allocate SDU
since the RLC buffer state now returns the actual number of
bytes, which may be as low as 2B for a single RLC AM status PDU waiting
to be transmitted, the current DL scheduler wasn't allocating the
PDU even though it was given a grant
2018-12-10 17:48:52 +01:00
Andre Puschmann c3441046c9 simplify RLC buffer status query procedures
- add a simple and low-overhead has_data() method to check whether
  an RLC entity has data to transmit or not
- use this method for all calls that are actually not interested
  in the amount of data to send
- use the more expensive get_buffer_state() for all cases where
  the actual size of the buffer is of importance
2018-12-10 17:48:52 +01:00
Andre Puschmann 946a50adf0 in UL MAC mux, allow multiple RLC PDUs for each LCID 2018-12-10 17:48:52 +01:00
Andre Puschmann df40259c26 fix issue in PDCP when bearer ID for DRBs was not starting with 1 2018-12-10 16:58:08 +01:00
Andre Puschmann 4867b16e38 move config file parsing in enb to beginning of init
- this waits with initializing the radio until after the configs have been read
- in case the config files contain any mistake, the enb shuts down gracefully
2018-12-10 10:39:42 +01:00
Pedro Alvarez e88e1bb4d2 Fixed TMSI packing length (was giving trouble with Xperia). 2018-12-07 10:28:05 +00:00
yagoda 77fb9c3ad5 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 2018-12-04 17:49:30 +01:00
Andre Puschmann bba2987eb0 print LCID when adding DRB 2018-12-03 15:00:54 +01:00
Andre Puschmann e25d0f5d8a fix Soapy deactivation during build if lib was found 2018-12-03 14:59:44 +01:00
rubund b801c3dd4e Fix some spelling errors detected by lintian (#271) 2018-12-03 10:36:15 +01:00
Andre Puschmann c60f7e9013 remove "disconnected" from enb console trace 2018-12-03 09:46:44 +01:00
Pedro Alvarez 548808ecee Changing RRC key logging from debug to info. Small readability fix. 2018-11-30 21:42:43 +01:00
Pedro Alvarez 553f8260bb Fixing up logs and comments. 2018-11-30 21:42:43 +01:00
Pedro Alvarez e3d7ccd7e1 Changed the way UL NAS count is obtained to generate K_enb in the UE. Incrementing UL NAS count on integrity protected dettach request. 2018-11-30 21:42:43 +01:00
Pedro Alvarez dc727a192b Changing way UL NAS count is used to generate the K_enb. 2018-11-30 21:42:43 +01:00
Pedro Alvarez 645bd60d75 More debug prints 2018-11-30 21:42:43 +01:00
Andre Puschmann fb78cc2996 Adding some debug prints. 2018-11-30 21:41:30 +01:00
yagoda b31538a0b9 small fix to interpolator to fix pmch test 2018-11-28 16:20:26 +01:00
Andre Puschmann 8ca73b9c4e remove unused variable 2018-11-28 16:17:36 +01:00
yagoda 2acf282a8b adding fixes to embms channel estimation 2018-11-28 14:14:40 +01:00
Pedro Alvarez 0320d475e9 Fix Uninitialized QoS options in attach accept. 2018-11-28 11:16:50 +00:00
yagoda 69dc16c4c8 changes to fix arm compilation 2018-11-27 14:27:59 +01:00
Andre Puschmann 398e271eee add out-of-order test for RLC AM PDUs 2018-11-22 13:18:53 +01:00
Andre Puschmann 1ffd8d48ce log warning when receiving unexpected RLC AM segment 2018-11-22 11:46:24 +01:00
Xavier Arteaga 8c3a0153b9 Added missing AVX512 intrinsics and flags. Fixes #291. 2018-11-21 18:09:09 +01:00
Andre Puschmann 05abdc9516 remove printf from eNB RRC 2018-11-20 18:36:00 +01:00
yagoda 1f9b392be1 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 2018-11-20 17:07:12 +01:00
Andre Puschmann db910cb84b add CSV metrics for eNB 2018-11-20 12:15:04 +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