Commit Graph

4209 Commits

Author SHA1 Message Date
Joseph Giovatto 0bb7f590b3 Moved include complex.h from header files to impl files to prevent
error /wr to complex.h and c linkage in CentOS 7.
2019-06-14 12:19:57 +02:00
Andre Puschmann 2b82f21fd2 fix compiler warning 2019-06-14 11:26:19 +02:00
Andre Puschmann acbe7fabe4 rlc: fix class member initialization
uninitialized member detected by coverity, now converted all default
initialization to be done in class definition
2019-06-14 11:26:19 +02:00
Andre Puschmann b32254c5e2 use lock_guard for GW 2019-06-12 20:44:23 +02:00
Andre Puschmann 89416a67c7 increase timeout for rlc stress tests
for valgrind where we sometimes hit the default timeout of 1500s
2019-06-12 20:44:23 +02:00
Xavier Arteaga 41d388dbaf SRSUE: Fixed UL channel emulator 2019-06-11 12:06:11 +02:00
Xavier Arteaga 1f4cf8121b SRSUE: Initial UL channel simulator 2019-06-11 12:06:11 +02:00
Xavier Arteaga ad9808c2aa SRSUE: SCell include files rearange 2019-06-11 10:34:49 +02:00
Xavier Arteaga ceac7a02c8 SRSUE: moved sync SCell classes in new namespace 2019-06-11 10:34:49 +02:00
Pedro Alvarez 22139afe09 Changed log to debug. Changed mutex to lock guard. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 6d05265d92 Adding mutex to protect the tft_filter map. 2019-06-07 21:40:03 +02:00
Andre Puschmann 71212dd447 remove console logging in GW 2019-06-07 21:40:03 +02:00
Andre Puschmann 2b7b4d0e7e remove hard-coded LCID for dedicated bearer in GW 2019-06-07 21:40:03 +02:00
Pedro Alvarez 7a184a8cd8 Added log to tft_packet_filter. 2019-06-07 21:40:03 +02:00
Pedro Alvarez fa7d91e1c9 Added comment to match function. Fixed mistake in IP flags. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 8b417a4259 Checking filter component flags before calling the match_* function. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 39f5b03674 Removed empty line. Changed comment. Removed unused variables. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 94ee294aea Removing debug printf's 2019-06-07 21:40:03 +02:00
Pedro Alvarez 2723aa9b12 Added EPS bearer id to apply_tft interface. Sending packets to the correct LCID if they match the packet filter. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 657ef090a2 Fix accidental deletion in conflict resolution. 2019-06-07 21:40:03 +02:00
Pedro Alvarez b55a4ccfee Revert "Refactored the gw.cc run thread to reduce excessive indentation. Starting to add TFT OP code handling."
This reverts commit 19af4d0052e5478f511edc3624429a9c98c13aed.
2019-06-07 21:40:03 +02:00
Pedro Alvarez 684ee2834e Starting to add ToS field checking to tft_packet_filter. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 40dd3e332c Added logic and test to match IPv4 local address 2019-06-07 21:40:03 +02:00
Pedro Alvarez 0f6c55023b Adding logic and testing for single remote port matching. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 326aef4431 Added match logic for local UDP port. Starting to add logic for remote UDP port. 2019-06-07 21:40:03 +02:00
Pedro Alvarez e2ca02bbe4 Starting to add match methods to tft_packet_filter 2019-06-07 21:40:03 +02:00
Pedro Alvarez 272e40a60d Started to add a lookup in the gw to see if there is a match in the packet filter. 2019-06-07 21:40:03 +02:00
Pedro Alvarez ccf404f12b Fix in getting filter information for local port. 2019-06-07 21:40:03 +02:00
Pedro Alvarez ede5f3318b Remove test function that is no longer used. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 190a0ff37e Adding test to unpacking of the packet filters. 2019-06-07 21:40:03 +02:00
Pedro Alvarez a8eaf16881 Starting to add a structure for the packet filters. 2019-06-07 21:40:03 +02:00
Pedro Alvarez f924a45421 Refactored the gw.cc run thread to reduce excessive indentation. Starting to add TFT OP code handling. 2019-06-07 21:40:03 +02:00
Pedro Alvarez a7e0a0624b Starting to add interface apply_traffic_flow_template between NAS and GW. 2019-06-07 21:40:03 +02:00
Pedro Alvarez 2fcf8c1827 Starting to add packing and unpacking tests to activate EPS bearer context request. 2019-06-07 21:40:03 +02:00
Pedro Alvarez d3761ccee5 Added some basic test of NAS activate dedicated EPS bearer context request handling. 2019-06-07 21:40:03 +02:00
Francisco Paisana 415d3418b6 reorganized enb to mirror ue director/class structure with a stack class 2019-06-07 15:41:56 +02:00
Pedro Alvarez d67d18cc6b Removing deplicated error codes. 2019-06-07 13:51:56 +02:00
Xavier Arteaga bd3ec34f7b SRSUE: Apply CLang format phy args structure 2019-06-06 15:00:26 +02:00
Xavier Arteaga fd3671a7e5 SRSUE: Enable AGC 2019-06-06 15:00:26 +02:00
Andre Puschmann e8d6236975 remove init for all RLC TM/UM/AM
- all RLC entities are now initialized during contruction
- there is no need to check for, e.g., existance of timers, during
  runtime
- there is also no need to call re-init during resume
- timers are freed in dtor
2019-06-06 14:34:25 +02:00
Ismael Gomez f24c0cef8c Use timer interface instead of local boolean to query timer state 2019-06-06 14:34:25 +02:00
Ismael Gomez 24b32f3223 Fix RLC resume bearer 2019-06-06 14:34:25 +02:00
Ismael Gomez c2e9817f41 Possible solution to RLC Reestablishment 2019-06-06 14:34:25 +02:00
Ismael Gomez 14b526f2aa Add PDCP per-bearer reestablish 2019-06-06 14:34:25 +02:00
Ismael Gomez ade720e032 Add RLC resume procedure 2019-06-06 14:34:25 +02:00
Andre Puschmann 3f613d7183 nas/gw/rrc: make LCID for DRB dynamic
- add interface to RRC to allow NAS to query the DRB for a given
  EPS bearer id
- extend interface for NAS to setup GW to also pass LCID of bearer
- in NAS, use this new interface to pass actual LCID of the default
  DRB when creating the TUN device
2019-06-05 20:50:52 +02:00
Xavier Arteaga ded01a00fd SRSUE: Fixed SRS for the SCell 2019-06-05 18:20:21 +02:00
Andre Puschmann b2a35f6b5a nas: add parser and sender for modify EPS bearer context messages 2019-06-05 17:41:46 +02:00
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
2019-06-05 17:41:46 +02:00
Andre Puschmann dcb04c6461 turn usim object into a unique_ptr 2019-06-05 17:41:46 +02:00