2020#include " srsran/phy/lower/sampling_rate.h"
2121#include " srsran/phy/support/resource_grid_pool.h"
2222#include " srsran/ran/cyclic_prefix.h"
23+ #include " srsran/ran/n_ta_offset.h"
2324#include " srsran/ran/subcarrier_spacing.h"
2425#include " srsran/support/executors/task_executor.h"
2526
@@ -45,24 +46,6 @@ struct lower_phy_sector_description {
4546 std::vector<lower_phy_sector_port_mapping> port_mapping;
4647};
4748
48- // / \brief Time advance offset - parameter \f$N_{TA,offset}\f$ in TS38.211 Section 4.3.3.
49- // /
50- // / This value must be selected from the parameter \e n-TimingAdvanceOffset (TS38.331 Section 6.3.2, Information Element
51- // / \e ServingCellConfigCommon) if it is present. Otherwise, it is given by TS38.133 Section 7.1.2 depending on the
52- // / duplex mode of the cell and the frequency range.
53- // /
54- // / The values are given in units of \f$T_c\f$ (see TS38.211 Section 4.1).
55- enum class lower_phy_ta_offset {
56- // / For FR1 FDD band with LTE-NR coexistence case.
57- n0 = 0 ,
58- // / For FR1 FDD band without LTE-NR coexistence case or for FR1 TDD band without LTE-NR coexistence case.
59- n25600 = 25600 ,
60- // / For FR2.
61- n13792 = 13792 ,
62- // / For FR1 TDD band with LTE-NR coexistence case.
63- n39936 = 39936
64- };
65-
6649// / Lower physical layer configuration.
6750struct lower_phy_configuration {
6851 // / Indicates the log level.
@@ -87,7 +70,7 @@ struct lower_phy_configuration {
8770 // / Sampling rate.
8871 sampling_rate srate;
8972 // / Time alignment offset.
90- lower_phy_ta_offset ta_offset;
73+ n_ta_offset ta_offset;
9174 // / \brief Time alignment calibration in number of samples.
9275 // /
9376 // / Models the reception and transmission time misalignment inherent to the RF device. This time adjustment is
0 commit comments