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
wangjie
OpenXG-RAN
Commits
24edd58f
Commit
24edd58f
authored
Jul 02, 2021
by
Fang-WANG
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
100M--rfsim ok
parent
9af8daef
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
301 additions
and
4 deletions
+301
-4
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
+2
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
+2
-2
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.273PRB.usrpb210.conf
...ENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.273PRB.usrpb210.conf
+297
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_RA.c
View file @
24edd58f
...
...
@@ -946,7 +946,7 @@ void nr_generate_Msg2(module_id_t module_idP, int CC_id, frame_t frameP, sub_fra
i
=
0
;
}
}
LOG_I
(
MAC
,
"rar: frame %d, %d, bwpstart %d, bwpsize %d
\n
"
,
frameP
,
slotP
,
BWPStart
,
BWPSize
);
if
(
rbStart
>
(
BWPSize
-
rbSize
))
{
LOG_E
(
NR_MAC
,
"%s(): cannot find free vrb_map for RA RNTI %04x!
\n
"
,
__func__
,
ra
->
RA_rnti
);
return
;
...
...
@@ -1621,7 +1621,7 @@ void nr_fill_rar(uint8_t Mod_idP,
bwp_size
=
pusch_pdu
->
bwp_size
;
prb_alloc
=
PRBalloc_to_locationandbandwidth0
(
ra
->
msg3_nb_rb
,
ra
->
msg3_first_rb
,
bwp_size
);
if
(
bwp_size
>
180
)
{
AssertFatal
(
1
==
0
,
"Initial UBWP larger than 180 currently not supported"
);
//
AssertFatal(1==0,"Initial UBWP larger than 180 currently not supported");
}
else
{
valid_bits
=
(
uint8_t
)
ceil
(
log2
(
bwp_size
*
(
bwp_size
+
1
)
>>
1
));
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_bch.c
View file @
24edd58f
...
...
@@ -353,7 +353,7 @@ void schedule_control_sib1(module_id_t module_id,
const
uint16_t
bwpSize
=
type0_PDCCH_CSS_config
->
num_rbs
;
int
rbStart
=
0
;
//type0_PDCCH_CSS_config->cset_start_rb;
LOG_
D
(
PHY
,
"cset_start_rb is %d
\n
"
,
type0_PDCCH_CSS_config
->
cset_start_rb
);
LOG_
I
(
PHY
,
"cset_start_rb is %d, ccdindex %d
\n
"
,
type0_PDCCH_CSS_config
->
cset_start_rb
,
gNB_mac
->
sched_ctrlCommon
->
cce_index
);
int
startSymbolIndex
=
0
;
int
nrOfSymbols
=
0
;
...
...
@@ -585,7 +585,7 @@ void schedule_nr_sib1(module_id_t module_idP, frame_t frameP, sub_frame_t slotP)
(
type0_PDCCH_CSS_config
->
num_rbs
>
0
)
&&
(
type0_PDCCH_CSS_config
->
active
==
true
))
{
LOG_
D
(
NR_MAC
,
"(%d.%d) SIB1 transmission: ssb_index %d
\n
"
,
frameP
,
slotP
,
type0_PDCCH_CSS_config
->
ssb_index
);
LOG_
I
(
NR_MAC
,
"(%d.%d) SIB1 transmission: ssb_index %d
\n
"
,
frameP
,
slotP
,
type0_PDCCH_CSS_config
->
ssb_index
);
// Get SIB1
uint8_t
sib1_payload
[
NR_MAX_SIB_LENGTH
/
8
];
...
...
targets/PROJECTS/GENERIC-NR-5GC/CONF/gnb.sa.band78.fr1.273PRB.usrpb210.conf
0 → 100644
View file @
24edd58f
This diff is collapsed.
Click to expand it.
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