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
canghaiwuhen
OpenXG-RAN
Commits
8d9069e9
Commit
8d9069e9
authored
Jan 09, 2020
by
Sravan Chintareddy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
additional fixes
parent
097a8a38
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
openair1/PHY/INIT/nr_init.c
openair1/PHY/INIT/nr_init.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/config.c
openair2/LAYER2/NR_MAC_gNB/config.c
+1
-1
openair2/LAYER2/NR_MAC_gNB/nr_mac_common.c
openair2/LAYER2/NR_MAC_gNB/nr_mac_common.c
+2
-2
No files found.
openair1/PHY/INIT/nr_init.c
View file @
8d9069e9
...
...
@@ -439,7 +439,7 @@ void nr_phy_config_request(NR_PHY_Config_t *phy_config)
get_band
(
fp
->
dl_CarrierFreq
,
&
gNB_config
->
nfapi_config
.
rf_bands
.
rf_band
[
0
],
&
uplink_frequency_offset
[
CC_id
][
0
],
&
fp
->
frame_type
);
fp
->
ul_CarrierFreq
=
fp
->
dl_CarrierFreq
+
uplink_frequency_offset
[
CC_id
][
0
];
fp
->
threequarter_fs
=
openair0_cfg
[
0
].
threequarter_fs
;
LOG_I
(
PHY
,
"Configuring MIB for instance %d, CCid %d : (band %d,N_RB_DL %d, N_RB_UL %d, Nid_cell %d,DL freq %
u, UL freq %
u)
\n
"
,
LOG_I
(
PHY
,
"Configuring MIB for instance %d, CCid %d : (band %d,N_RB_DL %d, N_RB_UL %d, Nid_cell %d,DL freq %
llu, UL freq %ll
u)
\n
"
,
Mod_id
,
CC_id
,
gNB_config
->
nfapi_config
.
rf_bands
.
rf_band
[
0
],
...
...
openair2/LAYER2/NR_MAC_gNB/config.c
View file @
8d9069e9
...
...
@@ -106,7 +106,7 @@ void config_common(int Mod_idP,
cfg
->
nfapi_config
.
rf_bands
.
tl
.
tag
=
NFAPI_PHY_RF_BANDS_TAG
;
cfg
->
num_tlv
++
;
cfg
->
nfapi_config
.
nrarfcn
.
value
=
to_nrarfcn
(
nr_bandP
,
dl_CarrierFreqP
,
dl_BandwidthP
*
180000
*
(
1
+
mu
));
cfg
->
nfapi_config
.
nrarfcn
.
value
=
to_nrarfcn
(
nr_bandP
,
dl_CarrierFreqP
,
dl_BandwidthP
*
180000
*
(
1
<<
mu
));
cfg
->
nfapi_config
.
nrarfcn
.
tl
.
tag
=
NFAPI_NR_NFAPI_NRARFCN_TAG
;
cfg
->
num_tlv
++
;
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_common.c
View file @
8d9069e9
...
...
@@ -76,7 +76,7 @@ void get_band(uint64_t downlink_frequency, ///// -----src5
lte_frame_type_t
*
current_type
)
{
int
ind
;
int64_t
dl_freq_khz
=
downlink_frequency
/
1000
;
u
int64_t
dl_freq_khz
=
downlink_frequency
/
1000
;
fprintf
(
stderr
,
"The value of dl_freq_khz in get_band() is %llu size of nr_bandtable = %d
\n
"
,(
long
long
unsigned
int
)
dl_freq_khz
,
sizeof
(
nr_bandtable
)
/
sizeof
(
nr_bandtable
[
0
]));
for
(
ind
=
0
;
ind
<
sizeof
(
nr_bandtable
)
/
sizeof
(
nr_bandtable
[
0
]);
...
...
@@ -102,7 +102,7 @@ void get_band(uint64_t downlink_frequency, ///// -----src5
}
AssertFatal
(
ind
!=
(
sizeof
(
nr_bandtable
)
/
sizeof
(
nr_bandtable
[
0
])),
"Can't find EUTRA band for frequency %u
\n
"
,
downlink_frequency
);
"Can't find EUTRA band for frequency %
ll
u
\n
"
,
downlink_frequency
);
}
...
...
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