Andre Puschmann
3127f59b4c
wait with init of GUI until cell is found and initialized
...
with the stack refactor we've introduced a regression in which
the GUI was started too early when no cell was found yet.
this caused the GUI to be initilized with only one Tx port. When connecting
to a cell with ports, the GUI plotter would then write
into unitialized memory.
2019-12-16 21:03:08 +01:00
Pedro Alvarez
c5979f59eb
Clang format UE, eNB and lib ( #850 )
...
* Clang-formated UE, eNB and lib.
* Fixed compiling errors from clang-format.
* Fix linking issues introduced by clang-format
* Fix poor formating in initializing arrays of arrays.
* Fix mistake in conflict resolution on rm_turbo.c
* Re-apply clang format to gtpc_ies.h
2019-12-16 16:04:22 +01:00
Xavier Arteaga
bcde542111
SRSUE: fix typo
2019-12-12 12:04:36 +01:00
Xavier Arteaga
a8763cb7a0
SRSUE: Added Cell PCI in console trace
2019-12-04 15:30:07 +01:00
Xavier Arteaga
d96836a0fa
SRSUE: Stack TTI based purely in radio timestamp
2019-12-04 15:29:43 +01:00
Ismael Gomez
1d83bb08e2
Changes in ACK procedure to support CA. Tested 1 cell in SISO/MIMO
2019-10-14 11:20:35 +02:00
Xavier Arteaga
efdec15964
Renamed lock_guard (lg) to lock
2019-10-02 11:03:03 +02:00
Xavier Arteaga
665f899a74
Fixed some coverity and Clang tidy warnings
2019-10-02 11:03:03 +02:00
Francisco Paisana
e92632e729
zero-initialized mbms rrc interface types
2019-09-30 21:05:32 +02:00
Francisco Paisana
fc9bb3c934
removed rrc asn1 header include from the ue_interfaces and phy
2019-09-30 21:05:32 +02:00
Andre Puschmann
2f47010eb6
fix various uninitialized vars
2019-09-24 13:23:30 +02:00
Xavier Arteaga
35f85c651c
SRSUE: Added SCell synchronizer and measurements based on reference signals
2019-09-20 16:20:31 +02:00
Xavier Arteaga
8e17aba5d8
Improved SSS decoding and improved scell_search_test
2019-09-20 16:20:31 +02:00
Xavier Arteaga
54974d935e
SRSUE PHY: unitialised values and attributes clean-tidy up
2019-09-20 16:03:37 +02:00
Xavier Arteaga
78fcc11a30
Fixes minor unitialised/leaked memory
2019-09-20 16:03:37 +02:00
Ismael Gomez
0984debe1b
Fix issues with RLF in B210 and X300 ( #669 )
...
* Calling tx_end() from radio_reset() causes long execution time in B210. Using boolean to call later instead. Fixes RLF failing in B210. Checked in X300
* Fix issue #655
2019-09-20 15:41:16 +02:00
Andre Puschmann
9e1c46dfb0
add initial TTCN3 code
2019-09-17 21:56:47 +02:00
Andre Puschmann
08ca9ebd4e
write BCH to PCAP
...
this patch moves the BCH payload buffer into the UE sync object and
therefore allows to pass it to the MAC for PCAP logging
2019-09-17 21:56:06 +02:00
Xavier Arteaga
1a567a764e
SRSUE: Call Radio tx-end when PHY is reseted and removed redundant attribute is_start_of_burst.
2019-09-12 09:49:56 +02:00
Andre Puschmann
513c7b12e3
remove warning and replace with pragma message
2019-09-09 17:28:53 +02:00
Ismael Gomez
cbb1bbfaa1
Fix multiple PRACHs after SR fail and a minor issue in HO
2019-09-07 22:59:57 +02:00
Ismael Gomez
bfddc55148
RRC-PHY interface ( #639 )
...
RRC-PHY interface refactor. Moved RRC-MAC interface to rrc_asn1_utils and created RRC-PHY interface also in rrc_asn1_utils. All ASN1 includes should be made from rrc_asn1_utils only keeping ue_interfaces clean of ASN1
Tested with different common and dedicated configurations (64QAM UL, 256QAM, CA, SRS enabled/disabled, etc)
2019-09-04 16:59:10 +02:00
Xavier Arteaga
f653472aa8
SRSUE: SCell parameters condensed in a single structure
2019-07-19 18:10:23 +02:00
Xavier Arteaga
b5685c8f09
SRSUE: Fixed HO with carrier aggregation
2019-07-19 18:10:23 +02:00
Ismael Gomez
feafec2725
Fix srsENB PHY log and reorganized expert args
2019-07-17 12:40:57 +02:00
Andre Puschmann
4e86b2f6b2
introduce layerd architecture we use for UE to eNB
...
- this allows flexible use of different PHYs and radios
- use common radio_multi (moved to lib)
2019-07-12 04:17:56 +02:00
Xavier Arteaga
5dcf3b3563
Fix phy memory leaks
2019-07-08 17:13:32 +02:00
Andre Puschmann
8333a9be57
fix dtor of PHY when stack init fails
2019-06-26 17:57:25 +02:00
Xavier Arteaga
c7be984819
sync.h uses lock_guard for mutex
2019-06-19 11:49:55 +02:00
Xavier Arteaga
9068280896
SRSUE: Sync.h/.cc mutexes changed to C++11 std::mutex and fixed attributes initialisation
2019-06-19 11:49:55 +02:00
Xavier Arteaga
810ce0358e
SRSUE: removed CLang tidy warnings in phy.h and phy.cc except unused. Use smaer pointers for workers.
2019-06-19 11:49:55 +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
Ismael Gomez
4ce8d84339
Restored force frequency
2019-06-05 15:29:48 +02:00
Andre Puschmann
0e95867f13
remove task dispatcher class
2019-06-03 15:03:20 +02:00
Xavier Arteaga
9c84f8e3fd
SRSLTE: Added Uniform Random vector generator; Delay channel test; Fixed Delay channel SEGFAULT; SRSUE channel unique pointer;
2019-05-30 13:07:23 +02:00
Xavier Arteaga
9ab2b2de81
SRSUE: Created delay channel emulator and added fading to the UE
2019-05-30 13:07:23 +02:00
Andre Puschmann
af8564e376
add ue_lte_phy_base and move logger out of UE class
2019-05-22 11:40:23 +02:00
Xavier Arteaga
0b6efb657e
SRSUE: CA can be performed without requiring clock synchronization between RF devices. Added Asynchronous SCell Synch metrics to console trace
2019-05-20 13:16:38 +02:00
Xavier Arteaga
080b4a327c
SRSUE: Refactored asynchronous cell and ue_radio. CA Fixed.
2019-05-17 18:13:51 +02:00
Andre Puschmann
65f50cd7ba
introduce new UE layer design
...
- abstract UE object now consists of a radio, a PHY, and a stack layer
- add new stack abstraction layer that combines MAC, RLC, RRC, PDCP, NAS and GW
- PHY layer now has a single stack interface and does not talk to MAC and RRC seperatly
2019-05-17 17:46:28 +02:00
Andre Puschmann
dc9df36a24
remove unused radio_multi code
2019-05-16 12:30:26 +02:00
Xavier Arteaga
b037fb8e51
Added minimal UE synch tweak and fix
2019-04-30 15:06:05 +02:00
Xavier Arteaga
a1a797589a
Added UE synchronization error metric (hard-coded disabled by default)
2019-04-30 15:02:08 +02:00
Andre Puschmann
4b01a2e4a0
update copyright notice
2019-04-29 09:20:02 +02:00
Ismael Gomez
7780b1aba5
add tdd/ca support
2019-04-25 20:57:58 +02:00
Andre Puschmann
1cc6ae3c60
enable c++11 support
2019-03-11 13:31:43 +01:00
Xavier Arteaga
c782ef2aa5
Solved unitialised values in UE (up to prach) and free
2019-01-22 12:23:57 +01:00
Francisco Paisana
0204db2e12
new asn1 rrc library
2019-01-17 17:43:13 +01:00
Andre Puschmann
d34ecaaa5e
adding RI to DL metrics
2019-01-10 12:35:38 +01:00
Ismael Gomez
cfb3a43aed
Lower priority of workers
2018-09-26 14:30:39 +02:00
Ismael Gomez
6a791f1416
Change TX mutex to semaphores (mutex implementation was violating lock ownership requirement)
2018-09-06 15:22:37 +02:00
Ismael Gomez
aaeec591b6
Fix race condition in phy recv
2018-08-14 19:50:03 +02:00
Xavier Arteaga
5e4fb48184
Refactored CQI reporting logging in UE. Fixes #199
2018-06-25 14:57:12 +02:00
Xavier Arteaga
6ab69b1d4c
Added PDSCH coworkers
2018-06-06 16:59:00 +02:00
Xavier Arteaga
31496ab44c
srsue PUSCH, set mcs idx to previous if it is a retransmission
2018-05-25 16:06:32 +02:00
Andre Puschmann
61d525ea80
Merge branch 'next' into embms_merge_final
2018-05-22 10:39:05 +02:00
Ismael Gomez
467ba4e326
Average sampling offset estimate before adjusting timing to be more robust against EVA and ETU fading
2018-05-21 23:00:57 +02:00
Ismael Gomez
f8655f3260
Changed the way we detect out-of-sync
2018-05-18 18:55:23 +02:00
yagoda
e4c3f0bc30
adding mbms-gw and mch generation tables
2018-05-15 17:27:10 +02:00
yagoda
e35672e234
adding PHY embms support to the UE
2018-05-15 17:16:28 +02:00
Ismael Gomez
81b69327b1
Added TA to metrics
2018-05-10 21:49:00 -05:00
Ismael Gomez
3ab74fb552
Exposed continuous TX mode to ue.conf
2018-04-27 10:23:38 +02:00
Ismael Gomez
74d6028769
Delay application of time_adv by 1 subframe
2018-04-24 13:50:59 +02:00
Ismael Gomez
ab7a0842ba
Send PRACH from worker thread with zero time advance
2018-04-24 10:43:17 +02:00
Ismael Gomez
9c7b3339be
Get CRS-based RSRP estimate for in/out-sync measurement. New SNR estimation gives 0 SNR when cell signal is lost preventing from detecting out-of-sync
2018-04-24 10:18:13 +02:00
Ismael Gomez
ff1269add3
HO working
2018-04-11 15:37:27 +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
David Rupprecht
9d71bec7b6
Unified include guards
2018-03-31 19:04:04 +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
f88f465c97
Refactored NAS/RRC/PHY cell_search/selection procedures
2018-03-19 14:14:51 +01:00
Ismael Gomez
548a4ae29d
RRC is_connected return and srsgui crashing if ports=0 when init
2018-03-16 11:23:37 +01:00
Ismael Gomez
86d4ce52e0
Make intra-frequency measurement period/length a parameter
2018-03-15 12:27:55 +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
0fbeee72a1
Fixed offset int in previous commit
2018-03-13 20:47:31 +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
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
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
90553e830d
Fixed cell search for non-home PLMN
2018-03-05 13:07:24 +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
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
beccfd2919
Average RSRP in linear domain to get better resolution
2018-02-25 23:36:08 +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
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
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
62116bf1ae
Revert "Logs to test snr drop issue"
...
This reverts commit 097005684a
.
2018-02-16 17:16:03 +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