Commit Graph

3738 Commits

Author SHA1 Message Date
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
David Rupprecht 1442606ee1 Encryption for ESM request 2018-11-19 14:11:33 +01:00
David Rupprecht 82f69d66dc ul_nas_count increment tau request 2018-11-19 13:40:54 +01:00
David Rupprecht 4a2c563f85 increase uplink ul nas count 2018-11-19 13:40:16 +01:00
David Rupprecht 2543a84aa4 Minor changes in nas uplink transport and increase uplink count 2018-11-19 13:39:30 +01:00
David Rupprecht 718262eaaf restucture NAS uplink message: todo security of message 2018-11-18 22:29:32 +01:00
David Rupprecht 894471e326 restructure handle_initial_ue_message 2018-11-18 21:36:36 +01:00
David Rupprecht 0dfa6426dd restructure handle_initial_ue_message 2018-11-18 21:35:55 +01:00
David Rupprecht e5e091b0c9 Minor fixes and code clean up 2018-11-18 21:18:17 +01:00
David Rupprecht e547883a8f Wrapper functions for integrity generate 2018-11-18 20:30:22 +01:00
yagoda 438bbdf6c1 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into next 2018-11-18 14:58:15 +01:00
Andre Puschmann cd7008a269 fix typo 2018-11-16 14:56:43 +01:00
Andre Puschmann 8a1368c8d6 send connection reject if MME isn't connected 2018-11-16 14:56:39 +01:00
Xavier Arteaga 56c01ba3ee UE RRC Config from ue.conf overwritten in rrc:init. Fixes #293. 2018-11-16 12:19:13 +01:00
David Rupprecht 7eef2c1c4b start with decryption function 2018-11-15 23:02:30 +01:00
Andre Puschmann 759ab6341d fix access to possibly uninitialized variable in GW when receiving corrupted pkt 2018-11-15 10:49:50 +01:00