Commit Graph

488 Commits

Author SHA1 Message Date
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
Ismael Gomez 6ca6919694 Handle T300 expiry to avoid blocking on RLC TM UL CCCH when ConnectionRequest fails 2018-03-11 21:47:15 -04:00
Andre Puschmann 3afb93fcb9 exit the UE with q in console 2018-03-09 17:05:46 +01:00
Ismael Gomez b85a220145 Fix HO not setting serving cell 2018-03-08 16:35:37 -05: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 938e56fa2c streamline log output in RLC AM/UM 2018-03-08 11:41:21 +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 c6c170e737 Do HO after correct synchronization 2018-03-07 00:40:26 +01:00
Ismael Gomez a85368cac0 Discard duplicated TB after timeout 2018-03-07 00:40:19 +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
Andre Puschmann f5e3049f63 add check for possible buffer pool misallocation in RRC/NAS/GW 2018-03-06 14:46:50 +01:00
Ismael Gomez 5a8454f5a8 Fix for staying on PLMN search after disconnect 2018-03-06 13:44:19 +01:00
Ismael Gomez 69a2542e0f Fixed deallocating PDU in NAS too early 2018-03-06 13:30:52 +01:00
Ismael Gomez b5166e10cd Do not restart insync/outsync counters after multiple events 2018-03-06 13:18:25 +01:00
Paul Sutton 57505725e0
Merge pull request #157 from softwareradiosystems/issue_154fix
Issue 154fix
2018-03-06 12:51:02 +01:00
Ismael Gomez be959d0575 Fix several pool leaks in RRC/NAS 2018-03-06 12:46:02 +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 8f028e34f3 Do not deallocate BCCH buffer in dl_harq 2018-03-06 12:39:29 +01:00
Ismael Gomez dc65061dbb Print buffer pool status every 10s (Debugging commit) 2018-03-06 12:37:45 +01:00
Ismael Gomez dcdb2d6449 Make sure request connection when NAS attaching 2018-03-05 16:26:51 +01:00
Ismael Gomez defe167672 Do not lock on set_crnti worker 2018-03-05 16:20:45 +01:00
Ismael Gomez 8b1ba55eaf Check payload length before demux 2018-03-05 16:20:06 +01:00
Ismael Gomez 76ed6fd8d8 Check cell state before infra_freq.meas 2018-03-05 16:19:26 +01:00
Ismael Gomez b8b39d6d1b NULL payload buffer in dl_harq in the constructor 2018-03-05 15:16:21 +01:00
Ismael Gomez 23f3086669 Deallocate properly on dl_harq 2018-03-05 15:13:24 +01:00
Ismael Gomez f53cb11e82 Remove mutex from ul_harq 2018-03-05 14:54:01 +01:00
Ismael Gomez 8591049e92 Added mutex to ul/dl harq reset 2018-03-05 14:33:51 +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 c198547728 add new RF RX error type and make the UHD driver issue that if anything unexpected happens 2018-03-04 21:53:06 +01:00
Andre Puschmann 8fcf25360e fix missing newline 2018-03-04 21:53:06 +01:00
Andre Puschmann f6ee0e1c8a move byte_buffer to UE base class 2018-03-04 21:53:06 +01:00
Andre Puschmann 3dddae0566 rrc: check pool buffer allocation and handle error 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 5fe066df69 Merge branch 'raa' into next 2018-03-02 18:08:53 +01:00
Ismael Gomez de747f4e1c MUX retx Msg3 correctly 2018-03-02 16:58:52 +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 56455b31ef Use dedicated thread for MAC timers 2018-02-24 21:29:57 +01:00
Ismael Gomez aced809146 Set rx_gain_offset for B210 2018-02-24 21:28:05 +01:00
Ismael Gomez 8474c6e3aa Fixed HO to unkown cell issue 2018-02-23 13:05:02 +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 42c4b97f7e Stop PDCCH RX before HO 2018-02-16 17:59:48 +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 65023f576e Merge branch 'test_snr' into raa 2018-02-16 15:33:27 +01:00
Ismael Gomez 79e59f1bf8 Missed headers in previous commit 2018-02-16 15:25:53 +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 90fe4a218b Fix RNTI in Msg3 after non-contention HO in PCAP 2018-02-16 11:37:57 +01:00
Andre Puschmann b2ce6ec9a9
Merge pull request #139 from mrlnc/apn_cfg
Add APN to config and PDN connectivity request
2018-02-16 09:43:20 +01:00
Ismael Gomez 9322804ef9 Merge branch 'raa' into next 2018-02-14 21:52:19 +01:00
Ismael Gomez 90de622f6c Fixed SIB searching 2018-02-14 21:52:14 +01:00
Ismael Gomez 23e722f97a Fixed issue rsrp=0 in neighbour cell measurements 2018-02-14 19:38:53 +01:00
Ismael Gomez b54efc6d9f Added testing log info 2018-02-14 17:15:30 +01:00
Ismael Gomez 9acefc53f8 Set C-RNTI when grant from RAR but no Msg3 2018-02-14 00:00:31 +01:00
Ismael Gomez d52c2402ff Revert "Set PHY crnti before RA done no contention"
This reverts commit 1db4644c7b.
2018-02-13 23:53:08 +01:00
Ismael Gomez 1db4644c7b Set PHY crnti before RA done no contention 2018-02-13 23:46:12 +01:00
Ismael Gomez 13a16e200c Transmit Msg3 only if available (2) 2018-02-13 23:31:52 +01:00
Ismael Gomez ca4a22aeaf Transmit Msg3 only if available 2018-02-13 23:20:35 +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