Commit Graph

2487 Commits

Author SHA1 Message Date
Ismael Gomez aeb16a5b7a Fixed TA command when negative offset 2017-11-10 07:04:50 +01:00
Xavier Arteaga c2d8508dcb Merge branch 'next' into enbmimo 2017-11-09 16:50:29 +01:00
Ismael Gomez 84db678608 Fixed Format1C RV with P-RNTI 2017-11-09 16:18:59 +01:00
Xavier Arteaga 9fbcf95367 Merge branch 'next' of https://github.com/softwareradiosystems/srsLTE into enbmimo 2017-11-09 16:16:39 +01:00
Ismael Gomez d59bd77d40 Log TA commands 2017-11-09 07:45:56 +01:00
Xavier Arteaga 75957d41d7 Added DCI formats 2 and 2a inScheduler. Improved UE PHCH, corrected some MIMO bugs on both sides. 2017-11-08 17:10:16 +01:00
Ismael Gomez 641eceb328 Merge branch 'next' into mobility 2017-11-07 17:13:57 -08:00
Xavier Arteaga f9e428ef68 Optimised RI/PMI calculation call 2017-10-30 14:25:03 +01:00
Ismael Gomez be0b832927 Implement CW swap and TB to CW mapping for TM4 2017-10-29 10:29:53 -07:00
Ismael Gomez 9c04bf2848 Removed metrics period from listener 2017-10-28 16:13:17 -07:00
Xavier Arteaga 96a6d6ae9f Merge branch 'next' into enbmimo 2017-10-27 16:25:03 +02:00
Xavier Arteaga 6985682ef0 Added 2nd Codeword interface in scheduler, plus pmi close loop reporting 2017-10-26 17:09:28 +02:00
Xavier Arteaga af669a6cbb Added RI reporting in enb and optimised RI computing calling time 2017-10-24 10:07:54 +02:00
Ismael Gomez 3cbe526cbc Revert "Disable RSSI sensor by default"
This reverts commit c14393b24f.
2017-10-20 12:43:04 -04:00
Ismael Gomez 85571c47cd Added option to ue.conf to configure CFO EMA (set default to 0.4) 2017-10-20 12:34:34 -04:00
Ismael Gomez 7bef0b0e7f Merge branch 'next' into next_novolk 2017-10-20 10:13:04 -04:00
Xavier Arteaga c8bba2f4d0 DFT optimization. memcpy removal (#76)
* Solved PHICH Segmentation fault for MIMO

* Initial Guru FFT optimitzation

* Guru (i)FFT implemented. All test passed!

* Integrated new DFT into pdsch_enodeb and pdsch_ue. Solved more DFT bugs.

* Solved Merge Errors and bugs

* Solved UL Guru bug (DC missing). Updated Init and OFDM calls for enb and ue (cell measurement too).
2017-10-20 10:09:27 -04:00
Ismael Gomez 3b4649b9f7 Fixed bug in calc_new_transmission 2017-10-20 09:29:56 -04:00
Ismael Gomez c14393b24f Disable RSSI sensor by default 2017-10-19 19:39:54 -04:00
Ismael Gomez dfef7c1a25 coverty uninitialized member 2017-10-19 18:10:17 -04:00
Ismael Gomez 05d6a1c829 added option to configure netmask (rules out previous commit) 2017-10-19 16:26:00 -04:00
Ismael Gomez 9dbbe9731a missing netmaks string after merge 2017-10-19 16:18:40 -04:00
Ismael Gomez 2f44e2bf3a Refactored cases mcs>29 for ul/dl 2017-10-19 16:13:50 -04:00
Ismael Gomez 399f1cdbd1 Force retx for mcs>29 and new tb if rv=0 && mcs<29 2017-10-19 16:13:01 -04:00
Ismael Gomez f1ec1b2f3c disable attempt to resync after N310 (too soon if N310 is low) 2017-10-18 19:33:43 -04:00
Paul Sutton b8d5b5b6a9 count_dl fix 2017-10-18 19:06:43 -04:00
Ismael Gomez 177f36fc8c Improved cell reestablishment procedure timers (still not working the authentication) 2017-10-18 16:50:22 -04:00
Ismael Gomez 240eba2af5 Fix for async dl scheduling 2017-10-18 16:49:36 -04:00
Ismael Gomez 739b8fc457 Restored TA commands 2017-10-18 16:34:18 -04:00
Ismael Gomez 12877fe296 Missing ip_netmask configuration file 2017-10-18 16:33:19 -04:00
Ismael Gomez ed7856ea57 Merge branch 'next' into next_novolk 2017-10-18 11:21:31 -04:00
Ismael Gomez 0a1f51e592 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-10-18 11:20:36 -04:00
Andre Puschmann 5ee2a37c2b fix bug in dl_harq where if always returned true 2017-10-18 15:01:36 +02:00
Ismael Gomez 2b0b57176f Removed pid from demux 2017-10-17 12:10:31 -04:00
Ismael Gomez c4c1c62360 stable connection. Runs out of samples in ringbuffer if clock differences 2017-10-13 17:59:12 +02:00
Ismael Gomez db87a41d80 Merge branch 'next_novolk' into mobility 2017-10-13 10:27:04 +02:00
Ismael Gomez d3e3ecacb6 Merge branch 'next' into next_novolk 2017-10-13 10:26:33 +02:00
Ismael Gomez 4fe2904939 Removed unnecessary T311 timer start 2017-10-13 10:23:25 +02:00
Andre Puschmann 21d9cb6142 fix UL harq statistic printing 2017-10-12 20:52:31 +02:00
Andre Puschmann f5bc1049dc don't use log if USIM isn't initialized 2017-10-12 11:57:13 +02:00
Ismael Gomez aeabcb4551 Merge branch 'next' into next_novolk 2017-10-12 11:53:14 +02:00
Ismael Gomez eec7b27b89 Added check for msg3 buffer overflow. Increased msg3 buffer. Fixes #103 2017-10-11 17:09:51 +02:00
Xavier Arteaga 21355de77e Added TM3 (1 layer only) eNB support at RRC 2017-10-11 17:00:49 +02:00
Ismael Gomez f4e883d24f Divided phch_recv in subclasses 2017-10-10 16:42:24 +02:00
Xavier Arteaga e8da7160f0 eNB transmits diversity by default if two cell ports are configured 2017-10-10 13:24:23 +02:00
Ismael Gomez fda886407b Added option to force the DL/UL frequency at the UE 2017-10-10 12:33:10 +02:00
Ismael Gomez a180b5ebac Msg3 delay is added to harq delay 2017-10-10 12:06:24 +02:00
Ismael Gomez 1dff82065b Merge branch 'next' into next_novolk 2017-10-07 23:25:07 +02:00
Ismael Gomez 7a14e28837 Extened to all US MCC codes 2017-10-07 22:17:55 +02:00
Ismael Gomez e4529b943b Extened to all US MCC codes 2017-10-07 22:17:39 +02:00
Ismael Gomez c7d5231251 Read Home PLMN from IMSI 2017-10-07 21:58:41 +02:00
Ismael Gomez a5b384da4a Added support for roaming PLMN 2017-10-07 21:58:33 +02:00
Ismael Gomez 1c677f7183 Read Home PLMN from IMSI 2017-10-07 21:58:08 +02:00
Ismael Gomez 2159ad3280 Added support for roaming PLMN 2017-10-07 21:31:13 +02:00
Andre Puschmann 2311e2a715 Merge branch 'soapy_fixes' into next 2017-10-06 15:05:14 +02:00
Andre Puschmann 5d5e8167b7 stop radio after radio error 2017-10-06 15:04:17 +02:00
Ismael Gomez eb07dacfe9 Cleaning logging format 2017-10-06 14:33:22 +02:00
Ismael Gomez 404971703c PLMN update only on PLMN search state 2017-10-06 14:04:33 +02:00
Ismael Gomez 0c3d4e9ad3 Removed log 2017-10-06 14:04:14 +02:00
Ismael Gomez ca0cf017d6 Now working with variable HARQ scheduling 2017-10-05 16:52:02 +02:00
Ismael Gomez fb0a918f7a Merge branch 'next' into next_novolk 2017-10-05 12:27:00 +02:00
Ismael Gomez b353ed03dd cleaned stdout metric 2017-10-05 12:26:48 +02:00
Ismael Gomez c8dc3d1ad7 Merge branch 'next_with_variable_harq' into next_novolk 2017-10-04 18:30:10 +02:00
Ismael Gomez c066732095 Merge branch 'next' into next_with_variable_harq 2017-10-02 18:17:24 +01:00
Ismael Gomez 602b684352 Reduced default TX/RX gains in srsUE/srsENB 2017-10-01 21:04:41 +02:00
Ismael Gomez d6bdabfdc0 Changed all harq delays to variables 2017-09-29 20:38:12 +02:00
Ismael Gomez 32a29f1d34 Do not reset radio on srsUE receive error 2017-09-29 13:39:18 +02:00
Andre Puschmann d836defd57 add field to CSV metrics that contains the UE connection state 2017-09-27 18:33:20 +02:00
Ismael Gomez 92144ce15d Revert "Handle RRC ConnectionReject at eNodeB and UE"
This reverts commit b6f905e2df.
2017-09-26 18:26:57 +02:00
Ismael Gomez b6f905e2df Handle RRC ConnectionReject at eNodeB and UE 2017-09-26 16:45:02 +02:00
Ismael Gomez 736b73bb4b Print PDSCH iterations per codeword 2017-09-26 14:51:37 +02:00
Ismael Gomez 489ac43408 Minor logging edits 2017-09-25 11:21:19 +02:00
Ismael Gomez 95000edfd8 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-09-24 20:53:59 +02:00
Ismael Gomez 3aabd83289 fixed blocked timers due to syncrhonization lost 2017-09-24 20:51:26 +02:00
Andre Puschmann 15d89c3e95 add CSV metrics to UE 2017-09-24 13:36:31 +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
Andre Puschmann f92728ad6e add console message when prenting metrics in RRC_IDLE 2017-09-22 15:00:07 +02:00
Andre Puschmann 0636aa289c use metrics_hub in UE 2017-09-22 13:01:06 +02:00
Ismael Gomez c7c2ab6ed5 Fix to prevent USRP from disabling TX when transmitting zeros 2017-09-22 00:58:21 +02:00
Ismael Gomez b12d69b439 Set default TX mode to continuous and fixed uplink synchronization (radio set offset concurrent access) 2017-09-21 21:43:24 +02:00
Ismael Gomez 6de06457fa Removed MAC timers thread and call them from main MAC thread 2017-09-21 21:42:27 +02:00
Ismael Gomez 4753366096 Added option to ue.conf/enb.conf to forward logs to stdout 2017-09-21 21:21:35 +02:00
Ismael Gomez 18d2c44b71 Restored L/U/O metrics 2017-09-20 23:06:08 +02:00
Ismael Gomez bb9ff5fcc5 UE to recover from an sporadic loss of synchronization due to USRP overflow 2017-09-20 22:47:55 +02:00
Ismael Gomez 931cfa2db9 Add source of Late message 2017-09-20 22:47:14 +02:00
Ismael Gomez 8fd4ba7486 added per-thread PHY logging 2017-09-20 19:57:43 +02:00
Ismael Gomez f8c5eb28d3 Fix not showing L/U/O warnings 2017-09-20 19:22:20 +02:00
Xavier Arteaga 648f7c3591 Increased compatibility for TM3 and TM4 with one Rx antenna 2017-09-20 18:32:11 +02:00
Ismael Gomez 6556941e6d simplified MAC timers. Unified mac and upper timers in same background task 2017-09-19 17:51:35 +02:00
Ismael Gomez 5359c42b46 RLC UM release timer at stop() 2017-09-19 15:15:25 +02:00
Ismael Gomez 4a86967530 Improved stability after radio link failure and radio transport error 2017-09-18 18:34:33 +02:00
Ismael Gomez fcbcf1ec7b Removed grant size condition from calc_new_transmission 2017-09-18 16:58:28 +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 68b1782c86 Fixed Paging and reattachment in new state machine. Moved GW to srsue 2017-09-18 14:02:31 +02:00
Ismael Gomez 826667361e Reduced chances of uhd demuxer error. Reset device when it occurs 2017-09-15 17:49:31 +02:00
Ismael Gomez 05da1ac480 Merge branch 'mobility' of github.com:softwareradiosystems/srsLTE into mobility 2017-09-13 13:39:17 +02:00
Xavier Arteaga afd2bbbfc2 Added periodic RI on PUCCH for TM3 and TM4 2017-09-13 13:37:48 +02:00
Xavier Arteaga 65f5987ea8 Added RI reporting for TM3 and TM4 (no PMI) 2017-09-13 13:37:42 +02:00
Xavier Arteaga 709787b581 Improved robustness of PDSCH decoder 2017-09-13 13:37:12 +02:00
Xavier Arteaga 230eb63a97 Refactored grant: removed nof_tb from grant. Use tb_en instead. 2017-09-13 13:36:20 +02:00
Xavier Arteaga 4b00908abb Removed bug in dl_harq for multiple TB 2017-09-13 13:19:27 +02:00
Xavier Arteaga 1ac7f325df Solved bug for plotting srsue contellation and removed trace of tb_cw_swap 2017-09-13 13:17:42 +02:00
Xavier Arteaga 8eab3b4688 Removed redundant condition 2017-09-13 13:16:31 +02:00
Ismael Gomez 41188b409e cleaned up cfo set tolerance functions 2017-09-12 11:10:32 +02:00
Ismael Gomez 7b854476a2 fixed radio set/get freq precision 2017-09-12 11:10:13 +02:00
Ismael Gomez 8661503d59 restore RX gain to 50 dB 2017-09-07 13:25:40 +02:00
Ismael Gomez f0d9b333b2 Improved stability when UE reattaches 2017-09-07 13:19:53 +02:00
Ismael Gomez ea0f6f2e2a removed pdcch log 2017-09-06 18:13:37 +02:00
Ismael Gomez 394d8f166a Improved initial CFO estimation for PRACH. Fixed bug in PDCCH after changing cell 2017-09-06 18:05:07 +02:00
Ismael Gomez f1bacd009a Reduced time to sync to cell 2017-09-06 16:28:26 +02:00
Ismael Gomez b771c35371 add freq_offset option to ue.conf 2017-09-06 15:05:57 +02:00
Ismael Gomez 22f194182c fixed memory leaks 2017-09-06 09:51:12 +02:00
Ismael Gomez b0639ab394 resolved merge conflicts 2017-09-05 15:26:36 +02:00
Ismael Gomez 9ae21dfd5d reattaching cells with different IDs and PRB 2017-09-04 12:26:58 +02:00
Ismael Gomez 6e0fd43c1f Moved FFTW to WISDOM and save/load from file 2017-09-04 10:45:13 +02:00
Ismael Gomez 82a90fe4f1 Merge branch 'next' into mobility 2017-09-01 19:40:15 +02:00
Ismael Gomez a51b6b09dd Merged with next. Attach successful 2017-09-01 19:32:57 +02:00
Ismael Gomez 2335d2a644 remove boost::assign 2017-09-01 14:24:48 +02:00
Ismael Gomez e5feec1934 Temporal commit before merge. Changed sequence objects to avoid reallocating memory. new NAS/RRC working with initial attachment 2017-09-01 13:29:11 +02:00
Ismael Gomez c5bc3b11b7 remove spaces 2017-08-31 18:07:54 +02:00
Ismael Gomez 51fc9bffb1 added release function for mac timers 2017-08-29 12:01:30 +02:00
Ismael Gomez 9997f8c20a (fix typo) Added default value for filter coefficient in UL power control dedicated 2017-08-29 11:22:39 +02:00
Ismael Gomez c10f13139e Added default value for filter coefficient in UL power control dedicated 2017-08-29 10:10:05 +02:00
Ismael Gomez 955170bd52 Improved DL TCP performance by tweeking BSR reports and UL scheduler 2017-08-28 10:06:12 +02:00
Ismael Gomez 0f9f76ff00 calibrated configuration values 2017-08-22 15:06:32 +02:00
Andre Puschmann c474b24d32 add basic NAS configuration class 2017-08-07 13:17:11 +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 d6c027069c Merge branch 'master' into next 2017-07-14 10:49:15 +02:00
Andre Puschmann 00be4a5de7 fix bug with uninitalized number of rx antennas 2017-07-14 10:48:34 +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 bb34be24ac fix bug with uninitalized number of rx antennas 2017-07-14 10:41:44 +02:00
Philipp Gorczak 407d2ef024 Use runtime dir parameter for executables. 2017-07-13 10:21:38 +02:00
Philipp Gorczak 5fdcef60f6 Install binaries. 2017-07-12 16:30:06 +02:00
Andre Puschmann 80c0d0e694 fix printf's 2017-07-04 18:29:49 +02:00
Andre Puschmann 7ca0988ea3 refactor RLC to use RAT-agnostic config 2017-07-04 18:29:49 +02:00
Andre Puschmann 9398e0eff9 make number of HARQ processes a parameter for mux/demux objects 2017-07-04 17:48:45 +02:00
Andre Puschmann 4bc7b19595 only call PHR procedure in MUX when it's registered 2017-07-04 17:48:45 +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
Andre Puschmann 83c358d33f let demux use common interface 2017-07-04 17:46:50 +02:00
Andre Puschmann ce1e565c79 move RRC states definition into common header 2017-07-04 17:46:50 +02:00
Andre Puschmann c247f1103d parameterize TTI offset between UL grant and UL tx and UL tx and HARQ rx 2017-07-04 17:46:50 +02:00
Andre Puschmann 20a004a768 add seperate interface for MUX to query BSR procedure
- this is also intented to make MUX RAT-agnostic
2017-07-04 17:46:50 +02:00
Andre Puschmann f26969db8b adding UE base class
- this patch moves common code shared between multiple UE types, i.e.,
  UEs for different RATs into a commong base class
- it also introduces a switch during UE startup to instantiate the
  selected UE type
2017-07-04 17:46:50 +02:00
Andre Puschmann 9f3b4bf9a5 use dedicated UL harq config
- this patch changes the UL harq config to a dedicated one
  instead of passing the whole MAC config which may be specific to
  a specific RAT
- it also extends the RRC to fill the harq specific config field in the
  MAC config
- clean up dl_harq and remove unused mac config
2017-07-04 17:46:50 +02:00
Andre Puschmann 704b8c3dc4 make DL and UL harq template classes 2017-07-04 17:46:50 +02:00
Andre Puschmann 869786a27c adapt MAC procedures to also use MAC timers defined in mac_common.h 2017-07-04 17:46:50 +02:00
Andre Puschmann faf120501a make DL and UL harq header-only
- move src of DL and UL harq in to header in prep for templating both
- add commong MAC header
2017-07-04 17:46:50 +02:00
Ismael Gomez fa9eaee498 new NAS/RRC structure. Attaching and ping working 2017-06-23 19:15:30 +02:00
Paul Sutton 769c2c1f6b Merge branch 'next' of https://github.com/softwareradiosystems/srslte into next 2017-06-23 15:52:00 +01:00
Paul Sutton 776c1bbc9d Moving fftw checks to top CMakeLists 2017-06-23 15:51:36 +01:00
Ismael Gomez 93ff9294f5 Merge branch 'next' into mobility 2017-06-23 16:34:16 +02:00
Ismael Gomez 140cef69e0 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2017-06-23 16:30:02 +02:00
Ismael Gomez 6037a2f2bd changed logger classes 2017-06-23 16:29:46 +02:00
Paul Sutton b71f7b7080 Adding support for static builds 2017-06-23 14:49:21 +01:00
Ismael Gomez 4b5cbafdb5 upgraded to new code restruct 2017-06-21 18:29:17 +02:00
Ismael Gomez 79e9bccbd8 fixed indent 2017-06-21 12:32:00 +02:00
Ismael Gomez 215dac6662 fixed some issues with AVX machines 2017-06-09 13:03:47 +02:00
Paul Sutton 07d8997395 Merge branch 'next' into next_paul_libs 2017-06-08 11:26:33 +01:00
Paul Sutton 4b68272964 Switch to static internal libs, set -fPIC by default 2017-06-08 11:22:02 +01:00
Ismael Gomez 4a1b67a671 cleaned BSR logs 2017-06-08 11:29:08 +02:00
Ismael Gomez c0a103473b Cleaned BSR log 2017-06-08 10:34:57 +02:00
Ismael Gomez fc6a38cad1 removed more unused libraries in ue binary 2017-06-07 10:57:20 +02:00
Ismael Gomez b7ad261abe removed unused libraries in ue binary 2017-06-07 10:54:42 +02:00
Ismael Gomez 80092fd888 added pdu tstamp 2017-06-06 23:30:55 +02:00
Ismael Gomez 5e030dc805 renamed SRSUE_ constants to SRSLTE_ 2017-06-06 20:34:09 +02:00
Ismael Gomez 129b34201d Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next_private 2017-06-06 20:04:56 +02:00
Ismael Gomez d05b03e43a added buffer pool function call name debug feature 2017-06-06 20:04:19 +02:00
Paul Sutton 0b64e8a9ee Minor cleanup of security library handling in cmake 2017-06-02 15:59:03 +01:00
Ismael Gomez 3473aa1157 fixed default enb config files 2017-06-02 13:32:26 +02:00
Ismael Gomez e10816bfa2 removed unsupported options from conf 2017-06-02 12:39:38 +02:00
Ismael Gomez a4498aeb1e defaulted cpu affinity to all cores 2017-06-02 12:35:31 +02:00
Ismael Gomez 198c705fcd renamed srsue and srsenb 2017-06-02 12:10:33 +02:00
Ismael Gomez 930147fcda moved boost requirement to root cmake 2017-06-02 11:53:51 +02:00
Ismael Gomez 0fa3d2e219 Removed changelog/copyright/readme files from srsue 2017-06-01 12:39:25 +02:00
Ismael Gomez 8a367bf825 changed srsue namespace to srslte for all common objects 2017-06-01 12:25:42 +02:00
Ismael Gomez e75daee148 renamed include paths for common objects 2017-05-31 23:39:17 +02:00
Ismael Gomez 6475b7b7ad moved UE upper files to srsue 2017-05-31 22:33:30 +02:00
Ismael Gomez 3327024c16 added ENABLE_GUI option 2017-05-31 22:18:07 +02:00
Andre Puschmann 1d1916d6e0 Merge branch 'restruct_update' into restruct_update_paul 2017-05-31 16:21:18 +02:00
Andre Puschmann c51c4d2a38 fix compile warnings 2017-05-31 13:45:01 +02:00
Andre Puschmann bcecdf292b add C++ compile flags and enable useful warnings 2017-05-31 13:44:10 +02:00
Andre Puschmann ff7400f140 remove unused header 2017-05-31 13:32:58 +02:00
Paul Sutton 80140c7c38 minor cmake edits 2017-05-30 18:14:41 +01:00
Andre Puschmann 928ef71b82 adding remaining srsUE code 2017-05-30 15:50:48 +02:00