Commit Graph

61 Commits

Author SHA1 Message Date
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 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 f7bdfdc3a8 in NAS test, use real GW class in attach test 2018-11-15 10:48:47 +01:00
Pedro Alvarez 5c29dba741 Changed Interface between NAS and GW to avoid the GW start function being called twice in IPv4v6 mode. 2018-10-26 11:42:27 +02:00
Pedro Alvarez ac1c300126 Adding the ability to set the interface local link IPv6 address. 2018-10-26 11:42:27 +02:00
Andre Puschmann 3ebf4792de fix missing length reset in NAS test 2018-10-10 16:01:51 +02:00
Andre Puschmann 4a68d0777b fix NAS tests
- Modifications needed after only accepting NAS messages whose integrity check passes
- Turns off loading a (possibly) existing NAS ctxt
- Modifies some test vectors such that they have a zero MAC and counter 0
2018-09-26 10:16:11 +02:00
Pedro Alvarez f301bb6373 Merging next into op_vs_opc and resolving conflicts. 2018-06-26 11:36:40 +01:00
Pedro Alvarez 25aafa1f63 Fixing the USIM test. 2018-06-26 10:49:46 +01:00
Pedro Alvarez 4eb9d1abac Revert "fix USIM test by replacing OP with OPc"
This reverts commit 16b2172e36.
2018-06-19 18:11:26 +01:00
Andre Puschmann 16b2172e36 fix USIM test by replacing OP with OPc 2018-06-13 17:44:34 +02:00
Paul Sutton 2f73b52419 Fixing and disabling faulty tests - asserts only failing in debug 2018-06-12 18:31:37 +01:00
Andre Puschmann 9ce3be974a Merge branch 'next' into embms_merge_final 2018-05-15 22:32:56 +02:00
yagoda 12c9f50ba9 adding upper layer embms support to the UE 2018-05-15 17:20:51 +02:00
Andre Puschmann a30ad8952c fix indent and simplify auth request packing 2018-05-15 12:40:29 +02:00
Andre Puschmann d0457211ad adding support for CHAP auth 2018-05-15 12:40:29 +02:00
Andre Puschmann 4dc2951d59 perform initial attach with ESM info transfer 2018-05-15 12:40:29 +02:00
Andre Puschmann d7d6bd1a78 fix IMSI reading from SIM 2018-05-15 12:40:29 +02:00
Andre Puschmann 3fe6dad323 adding hard SIM card support using PCSC 2018-05-15 12:40:29 +02:00
Ismael Gomez 4ffee4326b Fix memory leaks in unit tests 2018-05-03 17:36:39 +02:00
Andre Puschmann 8df9f46e13 fix NAS and NAS test 2018-04-26 13:21:13 +02:00
Ismael Gomez edd9cbf4dc Merge branch 'next' into sync_states 2018-04-10 09:35:21 +02:00
David Rupprecht 06d4559294 Change include path absolut to project dir 2018-04-01 18:08:24 +02:00
Ismael Gomez b3be54b274 Attach and paging ok. Reselection on IDLE not working 2018-03-21 10:46:24 +01:00
Ismael Gomez f88f465c97 Refactored NAS/RRC/PHY cell_search/selection procedures 2018-03-19 14:14:51 +01:00
Andre Puschmann 9553784e2f change phy_log in UE to log_filter 2018-03-08 22:04:58 +01:00
Ismael Gomez be7dc37e7c Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-06 22:20:46 +01:00
Ismael Gomez 13efa740e8 Changed logic in RRC/NAS/PHY for cell/plmn search to avoid stucking in IDLE 2018-03-06 22:20:38 +01:00
Andre Puschmann b5421301af fix mem leak in NAS test 2018-03-06 18:45:31 +01:00
Ismael Gomez 9a8257048d Casted phy_log vector to srslte::log 2018-02-16 12:04:10 +01:00
Pedro Alvarez e4b1525982 Removed AMF from USIM configuration. AMF is exctracted from the authentication request now. 2018-02-01 14:08:16 +00:00
Andre Puschmann 02856704c8 more coverity fixes 2018-01-31 10:32:26 +01:00
Andre Puschmann f5f9963807 fix NAS test PDU contents 2018-01-08 15:25:51 +01:00
Andre Puschmann 93053701a4 fix and enable NAS test 2018-01-08 10:47:20 +01:00
Paul Sutton d34ce74419 NAS security context file tidy-up, usim_test minor edit 2017-11-28 13:01:38 +00:00
Andre Puschmann d562a70261 fix USIM test 2017-11-23 21:55:49 +01:00
Andre Puschmann d836defd57 add field to CSV metrics that contains the UE connection state 2017-09-27 18:33:20 +02:00
Andre Puschmann 6eb6468ba9 add CSV metrics object 2017-09-23 22:24:37 +02:00
Andre Puschmann 124bd0a2ba add basic metrics test 2017-09-23 19:43:01 +02:00
Ismael Gomez 8fd4ba7486 added per-thread PHY logging 2017-09-20 19:57:43 +02:00
Xavier Arteaga c29af35158 Solved bug: when a retransmission of a succesfully decoded block was received 2017-09-18 15:56:58 +02:00
Ismael Gomez b0639ab394 resolved merge conflicts 2017-09-05 15:26:36 +02:00
Ismael Gomez a51b6b09dd Merged with next. Attach successful 2017-09-01 19:32:57 +02:00
Andre Puschmann 82c206c2bb Merge branch 'master' into next 2017-07-24 18:11:58 +02:00
Andre Puschmann 32b3046d0f fix segfault in UE PHY tests
- added dummy rrc class to UE phy tests
2017-07-24 18:10:31 +02:00
Andre Puschmann 39ebc0e5fd gracefully exit MAC test when radio init fails 2017-07-14 10:48:26 +02:00
Andre Puschmann 588dc7978d gracefully exit MAC test when radio init fails 2017-07-14 10:46:27 +02:00
Andre Puschmann 8dbabb2834 rework bearer/LCID handling
This is a larger patch that reworks the LCID handling throughout the
code.

- It first moves the RB/LCID mapping out of common.h into the RRC object
  because different RATs may have different mappings.
- It adds a interface to RRC that other objects like RLC/PDCP/etc. may
  use to get the bearer name of a specific LCID.
- The patch also introduces a PDCP config class.
2017-07-04 17:48:39 +02:00
Ismael Gomez 93ff9294f5 Merge branch 'next' into mobility 2017-06-23 16:34:16 +02:00
Ismael Gomez 6037a2f2bd changed logger classes 2017-06-23 16:29:46 +02:00