yagoda
6f95418689
eMBMS: adding mch mutex to avoid race conditions in SIB13 R/W
2 years ago
Andre Puschmann
be40336089
all: mark various function args as const& to avoid pass by value
2 years ago
Andre Puschmann
15c6feeba6
srsue: init softbuffer structs for mch,pch
2 years ago
yagoda
19918d9a67
phy,mac,mbms: moving payload buffer from MAC to PHY to avoid thread clashes
2 years ago
Andre Puschmann
70eaec21e2
all: fix uninitialized variables detected by coverity
3 years ago
Ismael Gomez
f8c2fa05bf
srsue,phy: support n_ta_offset parameter from sib1
3 years ago
Ismael Gomez
edeb8e8f18
srsue,nr: add TA support from RAR and MAC CE
3 years ago
Joaquim Broquetas
520128162e
Add CFR to srsue LTE UL ( #3865 )
...
lte,phy: Add CFR to srsue LTE UL
This commit adds the configuration steps needed to enable
and configure the CFR module for the srsue's uplink signal.
Parsing of the CFR manual threshold has been streamlined.
3 years ago
Francisco Paisana
e4a15c9c51
rrc,gnb: move non-phy fields out of phy_cell_nr_t
3 years ago
Andre Puschmann
96ef1beaf2
srsue,phy,nr: only read metrics for NR rat
3 years ago
Xavier Arteaga
57b50edbe2
Fix initial buffer data and removed unimplemented method
3 years ago
Fabian Eckermann
12cc7cb4d7
Add support for RRC redirect.
3 years ago
Xavier Arteaga
0812a90d21
Removed unused attribute and fix end-of-burst in NR UE SA PHY
3 years ago
Xavier Arteaga
d089653bd2
Fix concurrent access in UE NR PHY clear pending states
3 years ago
Ismael Gomez
89f910e79e
srsue,phy: do not queue set_scell command in background if running from set_cells_to_meas comman
3 years ago
Xavier Arteaga
d6ee282796
Created dummy radio and moved UE dummy PHY into real UE SA PHY
3 years ago
Xavier Arteaga
a5130673f6
More cell search development
3 years ago
Xavier Arteaga
6c4c1ea155
NR UE PHY: interfaced fix wideband CQI reporting in nr_phy_test
3 years ago
Ismael Gomez
2d31e11144
ue,lte: update rx_gain_offset more frequently. Avoid calling UHD driver when getting rx_gain
3 years ago
Ismael Gomez
120ad5c72f
ue: store new EARFCN in the foreground of cell_select to avoid race conditions with the other cmd_worker
3 years ago
Matan Perelman
0dff58613f
srsUE: Add option to filter N_id_1 / SSS to configuration
3 years ago
Ismael Gomez
46f4be458a
ue,sa: can sync and receive pbch successfully
3 years ago
Ismael Gomez
219bae4fd3
srsue,sa: dummy rrc_nr to initiate dummy cell_select and phy_cfg
3 years ago
Ismael Gomez
c71ab70b83
Completed basic sync module with bypass camping. Removed ue_phy_nr and ue_phy_lte base classes
3 years ago
Ismael Gomez
6947f87bcb
Add minimum NR SA logic in parent PHY class
3 years ago
Ismael Gomez
fb897d2998
Refactor PHY interfaces to remove difference between SA and NSA PHY
3 years ago
Xavier Arteaga
fb17e3326f
More development in UE NR SA cell search
3 years ago
Xavier Arteaga
47b857db25
Initial gnb emulator
3 years ago
Xavier Arteaga
b1bcc1a8c0
Initial UE NR SA PHY classes
3 years ago
faluco
91677a9dcb
Fix data race in sync::state, the stop() did not acquire the required lock.
3 years ago
Xavier Arteaga
ebab12403f
Asynchronous NR PHY configuration ( #3527 )
...
* Fix a race condition when accessing the NR PHY cfg by the RRC and phy workers.
Rework how the phy cfg is handled, now workers have their own copy that gets updated after a reconfig moving it out of the state class.
* Default initialize sf_len member in sf_worker for consistency.
* Asynchronous NR PHY configuration
* Fix compilation
* Corrected method override and fix unitialised value
* Added carrier equal comparison to avoid aligment byte padding comparison
Co-authored-by: faluco <borja.ferrer@softwareradiosystems.com>
3 years ago
faluco
5f93ff6ed0
Batch of data race fixes in the following classes: RLC AM, Intra measure, UL HARQ, PHY common.
3 years ago
Carlo Galiotto
4e3564a8a2
mac,stdout: add PUSCH and PUCCH SINR to stdout
...
This commit implements the PUCCH and PUSCH metrics in the MAC,
to be displayed in the eNB console.
Signed-off-by: Carlo Galiotto <carlo@srs.io>
3 years ago
Ismael Gomez
d32bfa3756
remove warning when UE is already in camping
3 years ago
Andre Puschmann
908c469f30
sync: don't fail camping on cell if current and target srate match
...
this fixes #3437 . The check/requirement for target srate to be different
to current srate isn't needed, and in fact fails for 6 PRBs where both are
indentical always.
3 years ago
Andre Puschmann
1068a84bd0
sync: fix typo
3 years ago
Xavier Arteaga
1bffebe0bf
Removed cached PRACH signals
3 years ago
Xavier Arteaga
4cea3d92bd
NR PHY accepts multiple SF PRACH sequence
3 years ago
Xavier Arteaga
d5b34696b4
Sepparate CSI report configuration from quantification and integrate in nr_phy_test with assertions
3 years ago
faluco
666cb73cc9
Fix data race in phy_common::set_neighbour_cells.
3 years ago
faluco
72088dadb5
Fix race conditions in intra measure class.
3 years ago
faluco
fa351cd285
Rename functions that contain the unsafe word to nolock.
...
The term "unsafe" does not clearly state that the function is not locking the shared date and it sounds "dangerous", so use a more explicit term.
3 years ago
Ismael Gomez
ad646f436c
Ignore PDSCH during cell selection
3 years ago
Xavier Arteaga
de00b80228
Review NR NSA CFO estimation and compensation
3 years ago
faluco
1e3ba607ce
Fix data race in is_pending_tx_end.
3 years ago
Andre Puschmann
cc2d71183e
ue,phy,nr: fix race condition when setting UL grant for Msg3
...
the Msg3 UL grant requires the TTI in which the RAR has been received
to calcualte the correct timing. There was a race between PHY and Stack
thread.
This patch circumvents the issue by removing a PHY state member that only holds
the RAR Rx timing. In the new interface the RA proc passes the Rx TTI
to the PHY again when setting the UL grant so the PHY can calculate the
correct timing without any state.
3 years ago
Xavier Arteaga
8aa7ae7d95
Remove unused attribute
3 years ago
Xavier Arteaga
4cb633e6e6
UE dicards NR CFO measurement if SNR is negative
3 years ago
Xavier Arteaga
83b9b2d1ff
Implemented UE open loop CFO compensation for NR
3 years ago
Xavier Arteaga
cba6df3722
Extended NR PHY robustnes against wrong RRC configuration
3 years ago