Commit Graph

332 Commits

Author SHA1 Message Date
Ismael Gomez 5d9433b340 Removed log info 2018-04-13 11:34:04 +02:00
Ismael Gomez ffb8337be7 Merge branch 'next' into sync_states 2018-04-12 18:30:19 +02:00
Ismael Gomez d3e5aa072e Mutex overflow logic with rrc API in phch_recv 2018-04-11 18:02:13 +02:00
Ismael Gomez 97546d92a5 Continue if SIB>2 is not received 2018-04-11 16:26:03 +02:00
Ismael Gomez ff1269add3 HO working 2018-04-11 15:37:27 +02:00
Xavier Arteaga 15173c5c30 Added gaussian filter configuration options in srsue.conf 2018-04-10 13:25:26 +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
Andre Puschmann ff85e8b77f fixing remaining printf formating issues 2018-03-29 17:23:55 +02:00
Joseph Giovatto 49da57c8a1 Changed log methods to take string literal vs string object
to allow for format checking and save on object copy.
Fixed log format specifier warnings.
2018-03-29 16:59:19 +02:00
Andre Puschmann 0435e996f3 print PUSCH payload as hex 2018-03-26 13:09:48 +02:00
Ismael Gomez b3be54b274 Attach and paging ok. Reselection on IDLE not working 2018-03-21 10:46:24 +01:00
Ismael Gomez 2c3386a486 Updated missing changes 2018-03-20 15:09:32 +01:00
Ismael Gomez 28e12dbf7d Merge branch 'next' into sync_states 2018-03-20 14:36:31 +01:00
Ismael Gomez f88f465c97 Refactored NAS/RRC/PHY cell_search/selection procedures 2018-03-19 14:14:51 +01:00
Andre Puschmann 8b04d7c308 fix compile warning 2018-03-19 13:25:33 +01:00
Ismael Gomez 24b1096209 Fixed bug in compute_ri() when passed NULL parameter causing segfault in MIMO 2018-03-15 18:35:40 +01:00
Ismael Gomez 86d4ce52e0 Make intra-frequency measurement period/length a parameter 2018-03-15 12:27:55 +01:00
Ismael Gomez df0dcb27e7 Revert "PHCH Receive is reset, the current EARFCN becomes the first one in the list."
This reverts commit f3c04949b7.
2018-03-15 11:31:39 +01:00
Ismael Gomez 5772f61aaf Revert "fix issue when cell search doesn't set rx frequency because phy init takes too long"
This reverts commit 25ccd29646.
2018-03-15 11:31:37 +01:00
Andre Puschmann 25ccd29646 fix issue when cell search doesn't set rx frequency because phy init takes too long
See commit f3c04949b7 for reference and a more
detailed description.
2018-03-15 09:59:39 +01:00
Ismael Gomez f9d770e50e Added option for Doppler frequency correction 2018-03-14 17:30:55 +01:00
Ismael Gomez c0aea5ae13 Neighbour cell RSRP measurement always and only with correlation method 2018-03-14 10:23:41 +01:00
Ismael Gomez c815051238 Increased str buffer for DCI printing 2018-03-14 10:23:36 +01:00
Ismael Gomez 33ebde5387 Fixed bug SIB3 loop and window_start 10s wait in disconnect 2018-03-14 09:53:48 +01:00
Ismael Gomez 0fbeee72a1 Fixed offset int in previous commit 2018-03-13 20:47:31 +01:00
Ismael Gomez b77e3b0be5 Avoid negative offset in neighbour cell search 2018-03-13 20:04:07 +01:00
Ismael Gomez dc21580695 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-13 19:07:21 +01:00
Ismael Gomez 809c550ca2 Use RS power estimation for serving cell RSRP/SNR measurements. Use correlation of RS sequences for neighbour cell verification of Cell ID 2018-03-13 19:07:15 +01:00
Ismael Gomez c2098ad626 Removed unused sample offset correction 2018-03-13 18:52:21 +01:00
Xavier Arteaga 8bda956330 Solved logging error trace 2018-03-13 01:01:53 +01:00
Andre Puschmann cbda94f0a6 fix mem leak in phch_recv 2018-03-08 22:04:58 +01:00
Andre Puschmann 9553784e2f change phy_log in UE to log_filter 2018-03-08 22:04:58 +01:00
Xavier Arteaga f3c04949b7 PHCH Receive is reset, the current EARFCN becomes the first one in the list. 2018-03-08 16:56:51 +01:00
Andre Puschmann 57e0c01fc4 check max buffer length in hex print 2018-03-07 21:23:57 +01:00
Andre Puschmann 04f6634b49 fix condition check in cell HO 2018-03-07 15:02:07 +01:00
Ismael Gomez 99e088ee5b Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-07 14:51:31 +01:00
Ismael Gomez ac95976a6b Check Cell is valid before HO. Do cell search if going back to source fails 2018-03-07 14:50:56 +01:00
Ismael Gomez 3adc6b5cbc
Merge pull request #158 from softwareradiosystems/csi
Csi
2018-03-07 14:40:57 +01:00
Ismael Gomez bdf379ee1c Fixed roaming PLMN attach. Add out-of-sync debugging 2018-03-07 10:57:34 +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
Ismael Gomez 5a8454f5a8 Fix for staying on PLMN search after disconnect 2018-03-06 13:44:19 +01:00
Ismael Gomez b5166e10cd Do not restart insync/outsync counters after multiple events 2018-03-06 13:18:25 +01:00
Ismael Gomez acd78dbb85 Change in-sync snr threshold and pass PCCH only if ack=true 2018-03-06 12:40:55 +01:00
Ismael Gomez 0ce4e30905 Minor looging edits 2018-03-06 12:40:34 +01:00
Ismael Gomez defe167672 Do not lock on set_crnti worker 2018-03-05 16:20:45 +01:00
Ismael Gomez 76ed6fd8d8 Check cell state before infra_freq.meas 2018-03-05 16:19:26 +01:00
Ismael Gomez 73602a8558 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-03-05 13:07:34 +01:00
Ismael Gomez 90553e830d Fixed cell search for non-home PLMN 2018-03-05 13:07:24 +01:00
Andre Puschmann 8fcf25360e fix missing newline 2018-03-04 21:53:06 +01:00
Ismael Gomez b257ab96bf Locking on worker::reset() causes dead-lock 2018-03-04 21:51:32 +01:00
Ismael Gomez ed52604d30 Restart rx_stream on radio error 2018-03-04 21:51:14 +01:00
Ismael Gomez 91664ef2be Do sell reselection on IDLE by phch_recv thread instead of worker 2018-03-04 11:55:58 +01:00
Ismael Gomez 650f433532 Add mutex to worker_imp/set_cell worker 2018-03-04 11:55:31 +01:00
Ismael Gomez df1a0c68e2 Disable ul_reset 2018-03-02 22:46:24 +01:00
Ismael Gomez e64f3240cb Disable tx_end before PRACH (not needed now?) 2018-03-02 21:33:28 +01:00
Ismael Gomez fd0c8168f0 Set to Continuous RX and TX 2018-03-02 20:59:17 +01:00
Ismael Gomez 0fcb065ae8 Disabled TX continuous and sleep on cell search 2018-03-02 14:08:29 +01:00
Ismael Gomez fb53a515da Disable tx_end during HO 2018-03-01 12:48:14 +01:00
Ismael Gomez a92a5d65f8 Try to fix tx_end issue during HO 2018-03-01 12:30:47 +01:00
Xavier Arteaga 8cabfa82cf Added CSI report enable option in SRS UE 2018-02-28 12:30:34 +01:00
Ismael Gomez beccfd2919 Average RSRP in linear domain to get better resolution 2018-02-25 23:36:08 +01:00
Ismael Gomez cfaa5e9b28 Fix previous commit could not HO more than once due to not refreshing serving cell after 1st HO 2018-02-25 19:13:12 +01:00
Ismael Gomez df67735a99 Reset UL after IDLEling PHY 2018-02-25 13:08:36 +01:00
Ismael Gomez 42ece73453 Changed cell selection/reselection to avoid stopping/restarting radio. Fixed SIB message search 2018-02-24 21:33:13 +01:00
Ismael Gomez 7e091b8e60 Fix Underflow when PHY Reset 2018-02-23 10:12:44 +01:00
Ismael Gomez 7c276318b2 Merge branch 'next' into raa 2018-02-21 14:53:54 +01:00
Xavier Arteaga 4df6227f5b UE stores last PMI and last RI in common phy 2018-02-21 14:51:09 +01:00
Ismael Gomez 09c5ddb730 Merge branch 'next' into raa 2018-02-21 11:53:36 +01:00
Ismael Gomez 56df710d1f Add rx_gain_offset interface for RSRP calibration 2018-02-21 11:51:55 +01:00
Ismael Gomez d250dd51ad Reduce LO leakage by not transmit signal on idle 2018-02-21 11:51:08 +01:00
Ismael Gomez f6a17d1182 Logs to test snr drop issue 2018-02-21 11:04:35 +01:00
Ismael Gomez e59822f9a9 Fixed bug in previous commit 2018-02-16 18:41:38 +01:00
Ismael Gomez bf691e8c65 Do not stop RX during HO 2018-02-16 18:14:00 +01:00
Ismael Gomez 62116bf1ae Revert "Logs to test snr drop issue"
This reverts commit 097005684a.
2018-02-16 17:16:03 +01:00
Ismael Gomez e6dcb81d99 Ignore TA cmd 2018-02-16 16:37:36 +01:00
Ismael Gomez 056e379347 Set TA to time_adv instead of nsamples 2018-02-16 16:09:07 +01:00
Ismael Gomez 097005684a Logs to test snr drop issue 2018-02-16 12:05:45 +01:00
Ismael Gomez 9a8257048d Casted phy_log vector to srslte::log 2018-02-16 12:04:10 +01:00
Ismael Gomez e6274801ce Restored pathloss metric 2018-02-13 22:33:28 +01:00
Ismael Gomez 70dfa3b2a9 Fixes #6 AGC 2018-02-13 18:15:13 +01:00
Ismael Gomez fd1e22a710 Fixed Measure neighbour exiting too early 2018-02-13 18:15:07 +01:00
Ismael Gomez 913be7b290 Fix sensor calibration on sync measure 2018-02-12 17:28:46 +01:00
Xavier Arteaga 0c2f0ac038 Fixed srsue freq_offset compensation for UL 2018-02-07 18:36:06 +01:00
Xavier Arteaga 34233e64a4 Fixed SNR source from equalizer to average 2018-02-07 18:26:20 +01:00
Xavier Arteaga 4949759cdc Fixed simultaneous PHICH (ACK) and CQI request. 2018-02-06 10:42:57 +01:00
Xavier Arteaga 610edac801 Do not append RI in RM30 if no TM3/4 2018-02-06 10:42:57 +01:00
Ismael Gomez 69895d2928 Do not reset rx_gain_offset when PHY reset. Added log messages to debug Measurement reports 2018-02-05 13:05:05 +01:00
Ismael Gomez a279ab47f0 Improved neighbour cell accuracy. Changed RRC to avoid segfault when neighbour cell addition 2018-02-02 19:31:22 +01:00
Ismael Gomez 348117df3c Recover on radio overflow 2018-02-02 10:58:40 +01:00
Ismael Gomez 36358fa34b Use SNR as out-of-sync threshold in addition to RSRP 2018-02-01 20:16:10 +01:00
Ismael Gomez e2c3a304b7 In-sync and out-of-sync after 100 and 200 ms. Use RSRP -124 dBm as per the specs instead of SNR 2018-02-01 18:17:40 +01:00
Andre Puschmann 07cd9ae528 fix coverity issues 2018-02-01 16:34:38 +01:00
Andre Puschmann f49c1d8d65 Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-31 11:00:11 +01:00
Andre Puschmann 02856704c8 more coverity fixes 2018-01-31 10:32:26 +01:00
Xavier Arteaga 0299e9aae1 Fixed Aperiodic reporting RM31 for TM4 (Amarisoft proof) 2018-01-31 10:18:48 +01:00
Ismael Gomez d9560dc155 Fixed RSRP increasing with traffic 2018-01-30 18:23:51 +01:00
Ismael Gomez afaf6679ea Merge branch 'next' of github.com:softwareradiosystems/srsLTE into next 2018-01-30 13:13:52 +01:00
Ismael Gomez 7d633951a9 Improved srsUE stability when loosing signal and restoring it 2018-01-30 13:13:41 +01:00
Xavier Arteaga c386bee399 Fixed PUSCH aperiodic report bug. 2018-01-30 12:52:55 +01:00
Ismael Gomez 8418c74a2d Fixes RLC small grant issue in eNodeB and non-adaptive retx 2018-01-25 12:51:39 +01:00
Xavier Arteaga 373afcddc9 Added cross channels to srsue GUI 2018-01-18 17:14:04 +01:00
Xavier Arteaga 43549ee942 Fixes #135. 2018-01-18 17:13:26 +01:00
Xavier Arteaga 57d443ace2 Merge branch 'next' into enbmimo 2018-01-15 13:56:50 +01:00
Andre Puschmann f948a75b55 initialize variables 2018-01-14 20:52:57 +01:00
Xavier Arteaga 9ffdb1e62d Refactored PMI/CQI/RI reporting 2018-01-11 14:37:01 +01:00
Xavier Arteaga de654cd344 Merge branch 'next' into enbmimo 2018-01-10 16:30:36 +01:00
Xavier Arteaga 7a840d9f59 Solved RI reporting bug and improved PUSCH log trace 2018-01-10 16:29:17 +01:00
Ismael Gomez a799098784 Merge branch 'next' into merge_patch 2017-12-21 11:28:18 +01:00
Ismael Gomez c6ab02f3f4 Minor changes to logging 2017-12-21 11:26:05 +01:00
yagoda 318afbd8b4 minor fixes to phy logging 2017-12-20 15:15:27 +00:00
yagoda 23afd44a7d modifications to enable phy lib logging 2017-12-20 14:57:22 +00:00
Ismael Gomez 37ee5505e9 Removed unused log_line() functions. Added DCI info string 2017-12-19 21:25:55 +01:00
yagoda 1b1301101c adding support for phy(C level) logging to file 2017-12-18 19:04:47 +00:00
Ismael Gomez c54cb02efd Increased REF BW CFO loop 2017-12-18 16:35:21 +01:00
Ismael Gomez 6711387ad7 Disabled AGC for initial cell search. Copy CFO from search and disable CP based CFO after search to reduce overhead 2017-12-17 23:05:28 +01:00
Ismael Gomez 9355cd5732 Improved CFO loop. Fixed issue with sinusoid tolerance 2017-12-16 12:46:29 +01:00
Ismael Gomez 60b81f47f1 Do chest on filter only when sic_pss is enabled. Do not equalize SSS by default (something is not ok and takes more time to decode it) 2017-12-14 12:57:44 +01:00
Ismael Gomez 7e29430c81 remove unused function 2017-12-14 11:15:26 +01:00
Ismael Gomez 09dc96a370 Changed neighbour cell to find PSS over multiple frames 2017-12-13 10:20:19 +01:00
Ismael Gomez 93a47df015 Fixed segfault when exit due to prach destructor 2017-12-04 15:00:23 -06:00
Ismael Gomez b0a2fa3b0b Merge branch 'enbmimo' into mob_crypto_mimo 2017-12-04 12:10:46 -06:00
Ismael Gomez e720568e82 Revert "Added UE Mode 3-1 aperiodic reporting"
This reverts commit 0bd683b3c4.
2017-12-04 12:08:02 -06:00
Ismael Gomez eefbdbc913 Revert "Added Aperiodic mode 3-1 in enb and some more optimizations"
This reverts commit 8ab196901f.
2017-12-04 12:07:49 -06:00
Xavier Arteaga 8ab196901f Added Aperiodic mode 3-1 in enb and some more optimizations 2017-12-04 12:01:05 -06:00
Xavier Arteaga 0bd683b3c4 Added UE Mode 3-1 aperiodic reporting 2017-12-04 11:58:23 -06:00
Ismael Gomez 48dfc08fa3 Fixed SIC for PSS using channel estimates, added option to disable it (not usable on synchronous same-site cells). Use PSS CE in SSS decoding 2017-12-03 22:13:07 -06:00
Ismael Gomez 5c31800ccb Fixed HO with ciphering 2017-12-02 22:43:35 +01:00
Ismael Gomez c816be525e Testing Reestablishment 2017-12-02 20:32:44 +01:00
Ismael Gomez f3b1bc0e2d Look for multiple cells on each n_id_2 while cancelling the self interference 2017-12-02 12:02:01 +01:00
Ismael Gomez 8f39a622fe Added cancelation of self interference of PSS and SSS signals 2017-12-01 19:50:42 +01:00
Ismael Gomez c69d4a37e8 Implemented proper cell reselection. Tested reestablishment from one cell to another. 2017-12-01 17:00:30 +01:00
Ismael Gomez c0e79477b5 Fixed cell reselection when radio-link failure 2017-12-01 14:05:54 +01:00
Ismael Gomez 6b264732d2 Disabled subframe average 2017-12-01 11:25:27 +01:00
Ismael Gomez f1c6bcd252 Merge branch 'next' into mobility 2017-11-30 20:13:06 +01:00
Ismael Gomez dd8bacf466 Calibrated CFO loop default values 2017-11-30 20:01:35 +01:00
Ismael Gomez a3a1d268b7 Improved CFO estimation/correction by filtering central 6 PRB. Cleaned ue_sync/sync/pss objects. Used const attr in vector and other objects 2017-11-29 18:30:21 +01:00
Ismael Gomez aacd9e1e5b Revert "Use CP-based CFO estimation only for DL and UL. Estimate every subframe. Calibrated EMA to 0.3 highest valid for low SNR"
This reverts commit 6196c096af.
2017-11-27 18:27:48 +01:00
Ismael Gomez 3a0ab02264 S1/X2 handover tested and working 2017-11-27 13:57:05 +01:00
Ismael Gomez cfbea7a6c1 Restored non-guru DFT interface. Removed input buffer from ue_dl interface 2017-11-26 00:38:23 +01:00
Ismael Gomez 8447c965e3 Fixing RSRP measurements 2017-11-25 10:40:53 +01:00
Ismael Gomez d428760b20 Merge branch 'next' into mobility 2017-11-24 12:02:41 +01:00
Ismael Gomez 408545dab8 X2 (constant NCC) working 2017-11-23 19:46:34 +01:00
Ismael Gomez 8b6bd607a7 Fixed and tested AGC 2017-11-23 12:38:44 +01:00
Ismael Gomez 6196c096af Use CP-based CFO estimation only for DL and UL. Estimate every subframe. Calibrated EMA to 0.3 highest valid for low SNR 2017-11-23 12:36:16 +01:00
Xavier Arteaga 58aac96a6e Added Power Allocation from HL in UE side 2017-11-21 16:11:08 +01:00
Xavier Arteaga 4ecd73c984 Added power allocation p_a in UE 2017-11-21 11:51:18 +01:00
Ismael Gomez 12d8b373c7 srsUE takes and reports intra-frequency measurements correctly 2017-11-20 10:02:39 +01:00
Xavier Arteaga e2a61af462 Added Aperiodic mode 3-1 in enb and some more optimizations 2017-11-16 14:48:03 +01:00
Xavier Arteaga d041431c13 Merge branch 'reporting' into enbmimo 2017-11-14 17:25:43 +01:00