Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ZhouShuya
OpenXG-RAN
Commits
76346c45
Commit
76346c45
authored
Aug 18, 2020
by
Rakesh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tdd configuration and a small fix for get_band() for FR2
parent
e4088f7f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
14 deletions
+13
-14
executables/nr-uesoftmodem.c
executables/nr-uesoftmodem.c
+7
-8
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+1
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band257.tm1.32PRB.usrpx300.conf
.../GENERIC-LTE-EPC/CONF/gnb.band257.tm1.32PRB.usrpx300.conf
+5
-5
No files found.
executables/nr-uesoftmodem.c
View file @
76346c45
...
...
@@ -687,13 +687,6 @@ int main( int argc, char **argv ) {
fapi_nr_config_request_t
*
nrUE_config
=
&
UE
[
CC_id
]
->
nrUE_config
;
nr_init_frame_parms_ue
(
frame_parms
[
CC_id
],
nrUE_config
,
NORMAL
);
// Overwrite DL frequency (for FR2 testing)
if
(
downlink_frequency
[
0
][
0
]
!=
0
){
frame_parms
[
CC_id
]
->
dl_CarrierFreq
=
downlink_frequency
[
0
][
0
];
if
(
frame_parms
[
CC_id
]
->
frame_type
==
TDD
)
frame_parms
[
CC_id
]
->
ul_CarrierFreq
=
downlink_frequency
[
0
][
0
];
}
init_nr_ue_vars
(
UE
[
CC_id
],
frame_parms
[
CC_id
],
0
,
abstraction_flag
);
UE
[
CC_id
]
->
mac_enabled
=
1
;
...
...
@@ -752,8 +745,14 @@ int main( int argc, char **argv ) {
UE
[
CC_id
]
->
N_TA_offset
=
(
int
)(
N_TA_offset
*
factor
);
LOG_I
(
PHY
,
"UE %d Setting N_TA_offset to %d samples (factor %f, UL Freq %lu, N_RB %d)
\n
"
,
UE
[
CC_id
]
->
Mod_id
,
UE
[
CC_id
]
->
N_TA_offset
,
factor
,
UE
[
CC_id
]
->
frame_parms
.
ul_CarrierFreq
,
N_RB
);
}
}
// Overwrite DL frequency (for FR2 testing)
if
(
downlink_frequency
[
0
][
0
]
!=
0
){
frame_parms
[
CC_id
]
->
dl_CarrierFreq
=
downlink_frequency
[
0
][
0
];
if
(
frame_parms
[
CC_id
]
->
frame_type
==
TDD
)
frame_parms
[
CC_id
]
->
ul_CarrierFreq
=
downlink_frequency
[
0
][
0
];
}
}
// printf("tx_max_power = %d -> amp %d\n",tx_max_power[0],get_tx_amp(tx_max_poHwer,tx_max_power));
init_openair0
();
// init UE_PF_PO and mutex lock
...
...
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
76346c45
...
...
@@ -205,7 +205,7 @@ void config_common_ue(NR_UE_MAC_INST_t *mac,
uint16_t
band
;
int32_t
offset
;
get_band
((
cfg
->
carrier_config
.
dl_frequency
)
*
1000
,
get_band
((
uint64_t
)(
cfg
->
carrier_config
.
dl_frequency
)
*
1000
,
&
band
,
&
offset
,
&
frame_type
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band257.tm1.32PRB.usrpx300.conf
View file @
76346c45
...
...
@@ -170,11 +170,11 @@ gNBs =
# pattern1
# dl_UL_TransmissionPeriodicity
# 0=ms0p5, 1=ms0p625, 2=ms1, 3=ms1p25, 4=ms2, 5=ms2p5, 6=ms5, 7=ms10
dl_UL_TransmissionPeriodicity
=
5
;
nrofDownlinkSlots
=
10
;
nrofDownlinkSymbols
=
0
;
nrofUplinkSlots
=
10
;
nrofUplinkSymbols
=
0
;
dl_UL_TransmissionPeriodicity
=
3
;
nrofDownlinkSlots
=
7
;
nrofDownlinkSymbols
=
6
;
nrofUplinkSlots
=
2
;
nrofUplinkSymbols
=
4
;
ssPBCH_BlockPower
=
10
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment