Commit Graph

3859 Commits

Author SHA1 Message Date
Pedro Alvarez 879f5e627d Fixed clang-format to work with Fedora 29 2019-04-26 13:57:31 +02:00
Andre Puschmann 11414271d8 only write valid IPv4/v6 packets to tun 2019-04-26 12:10:45 +02:00
Andre Puschmann c4e8bed042 log SDU dropping in info in RLC AM 2019-04-26 12:10:45 +02:00
Andre Puschmann 45de6c3305 fix selection for EEA0 and disallow EIA0 2019-04-26 12:10:40 +02:00
Xavier Arteaga e2daeca0b5 UHD v3.14 Set sample rate walkaround for N310 and X310 2019-04-26 11:56:55 +02:00
Ismael Gomez 7780b1aba5 add tdd/ca support 2019-04-25 20:57:58 +02:00
Xavier Arteaga 963a5faad0 Disable UHD inmediate messages automatically 2019-04-25 17:27:51 +02:00
Xavier Arteaga 54d11f9e88 UE AGC Fix. Tries to set the Rx gain even if it reaches the limit. 2019-04-25 17:05:13 +02:00
Andre Puschmann 7d95766c7b fix line break in command line arguments 2019-04-25 16:31:41 +02:00
Andre Puschmann c6e19645af add zmq-based rf driver 2019-04-25 10:25:49 +02:00
Andre Puschmann f2266bb264 add uint64 (sample based) time stamp helpers 2019-04-22 15:35:26 +02:00
Andre Puschmann bdfb408857 fix uninitialized loop counter 2019-04-22 11:33:20 +02:00
Xavier Arteaga ed6b138cb2 Added safe and good quality random generator in phy/utils 2019-04-21 21:41:17 +02:00
Xavier Arteaga c42fbbe6a5 Created 3GPP fading channel emulator 2019-04-21 15:27:31 +02:00
Pedro Alvarez 64d50040e7 Changed some paging logs to debug and removed noisy print to console in the EPC 2019-04-15 14:52:09 +01:00
Andre Puschmann 3149e4191a Merge branch 'master' into next 2019-04-15 15:23:33 +02:00
Pedro Alvarez 49577b6b5f Making sure that packet queued in the SPGW is freed when queue_downlink_packet enconters errors. Reverse the order of sending paging and queueing packet so that paging_pending is properly set to true. 2019-04-15 12:52:14 +02:00
Pedro Alvarez 7cdc012bb2 Printing fixes in the EPC for ARM 2019-04-12 20:08:25 +02:00
Pedro Alvarez 435d63b871 Making sure errors in the enb.conf is handled gracefully 2019-04-12 16:24:57 +02:00
Pedro Alvarez 1bac758a85 EPC now sends service reject to a UE that sends service request with bad integrity. 2019-04-12 16:24:57 +02:00
David Rupprecht dabf586316 ISMI to IMSI typo 2019-04-11 21:38:01 +02:00
David Rupprecht 39c49ab1ef Configurable sec algo preference list 2019-04-11 21:38:01 +02:00
David Rupprecht fd34e22c84 Started with local preference selection algorithm 2019-04-11 21:38:01 +02:00
David Rupprecht 735f97ceb6 Fixed Bearer ID for data Bearer and changed debug type for enc data pdus 2019-04-11 21:38:01 +02:00
David Rupprecht b84e49310e Enable encryption in reconfiguration and after security mode command (NOT TEST) 2019-04-11 21:38:01 +02:00
David Rupprecht eb3a83ac45 User Plane key in configuration interface 2019-04-11 21:38:01 +02:00
Pedro Alvarez d7d461fb8c Change user_db.csv.example to consider static IPs. Changed warning print in HSS. 2019-04-11 15:55:46 +02:00
Joseph Giovatto 056bfef996 use inet_pton to vefify ip address validity 2019-04-11 15:55:46 +02:00
Joseph Giovatto fa99aa590e added support for optional ue static ip address (rebase #225) 2019-04-11 15:55:46 +02:00
Francisco Paisana 185242d5f5 default release for ack_nack_repeat 2019-04-11 09:44:20 +01:00
Andre Puschmann 41c85adaf2 handle EPC config file errors gracefully 2019-04-09 17:28:09 +02:00
Pedro Alvarez 3ad19f21b6 Adding per UE authentication algorithm choice to the HSS and users_db.csv. 2019-04-09 17:17:02 +02:00
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.
2019-04-09 16:59:44 +02:00
Pedro Alvarez 1db959c661 Added NAS timer functionality to the EPC. This entails:
* Adding timer creation at NAS using timerfd_create
  * Adding the ability to add and remove the timer file descriptor to the MME main select loop
  * Adding the ability to the MME for the NAS to check if a timer is running
  * Adding the timer expiry handling functionality at the MME
2019-04-08 13:05:54 +02:00
aholtzma 429ee9019d Fix enb putting the SSS in the wrong place with ext CP enabled. 2019-04-05 09:19:49 +02:00
Pedro Alvarez 9463b95dc1 Remove unused mutex in the SPGW. 2019-04-03 09:52:18 +02:00
Pedro Alvarez 3933b269d7 Added GTP-C message passing between MME and SPGW using UNIX sockets.
* Added S11 sockets to SPGW select and MME select
  * Added send_s11_pdu message to SPGW and MME
  * Remove pointer for replies in handle_s11_pdu
2019-04-03 09:52:18 +02:00
Pedro Alvarez 3e9f10e20d Adding S11 initialization in MME and SPGW as unix sockets. 2019-04-03 09:52:18 +02:00
Francisco Paisana 8a0ae614c2 added default value to ack_nack_repeat 2019-04-02 11:03:37 +02:00
Francisco Paisana f778c6ca8d make mcch check 2019-04-02 11:03:37 +02:00
Francisco Paisana 41338293ea added a default radioframe alloc 2019-04-02 11:03:37 +02:00
Francisco Paisana dc0b903130 added default enum inits 2019-04-02 11:03:37 +02:00
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. 2019-04-02 09:17:00 +02:00
Andre Puschmann 3405a1bff6 add multi-channel support for soapy 2019-03-20 14:07:15 +01:00
Andre Puschmann beec489dd4 fix issue in SoapySDR tx routine
correct offsetting tx buffer when first call couldn't tx all samples
2019-03-20 14:07:15 +01:00
Pedro Alvarez 6e500c5b86 Changed initilization of the NAS at the EPC, to make it easier to add new interfaces. 2019-03-20 14:00:02 +01:00
Pedro Alvarez add60c1288 Applied clang-format to the EPC. 2019-03-20 14:00:02 +01:00
Andre Puschmann d8814a05f0 use stack-allocated messages for tx/rx'ing RRC messages (cherry-picked) 2019-03-19 11:31:10 +01:00
Pedro Alvarez aa3a2a3dba Fix compilation issue with GCC 8.x using complex numbers. 2019-03-13 13:18:17 +01:00
Andre Puschmann 3702a6660e fix compilation for gcc 4.x 2019-03-11 14:39:47 +01:00