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
lizhongxiao
OpenXG-RAN
Commits
0113d992
Commit
0113d992
authored
Sep 10, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rnti from UE_list in pucch pdu
parent
99d220c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
+1
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
+2
-1
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
+1
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler.c
View file @
0113d992
...
@@ -351,6 +351,7 @@ void nr_schedule_pucch(int Mod_idP,
...
@@ -351,6 +351,7 @@ void nr_schedule_pucch(int Mod_idP,
nr_configure_pucch
(
pucch_pdu
,
nr_configure_pucch
(
pucch_pdu
,
scc
,
scc
,
ubwp
,
ubwp
,
UE_list
->
rnti
[
UE_id
],
curr_pucch
->
resource_indicator
,
curr_pucch
->
resource_indicator
,
O_uci
,
O_uci
,
O_ack
,
O_ack
,
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_primitives.c
View file @
0113d992
...
@@ -543,6 +543,7 @@ int nr_configure_pdcch(gNB_MAC_INST *nr_mac,
...
@@ -543,6 +543,7 @@ int nr_configure_pdcch(gNB_MAC_INST *nr_mac,
void
nr_configure_pucch
(
nfapi_nr_pucch_pdu_t
*
pucch_pdu
,
void
nr_configure_pucch
(
nfapi_nr_pucch_pdu_t
*
pucch_pdu
,
NR_ServingCellConfigCommon_t
*
scc
,
NR_ServingCellConfigCommon_t
*
scc
,
NR_BWP_Uplink_t
*
bwp
,
NR_BWP_Uplink_t
*
bwp
,
uint16_t
rnti
,
uint8_t
pucch_resource
,
uint8_t
pucch_resource
,
uint16_t
O_uci
,
uint16_t
O_uci
,
uint16_t
O_ack
,
uint16_t
O_ack
,
...
@@ -649,7 +650,7 @@ void nr_configure_pucch(nfapi_nr_pucch_pdu_t* pucch_pdu,
...
@@ -649,7 +650,7 @@ void nr_configure_pucch(nfapi_nr_pucch_pdu_t* pucch_pdu,
if
(
pucchres
->
pucch_ResourceId
==
*
resource_id
)
{
if
(
pucchres
->
pucch_ResourceId
==
*
resource_id
)
{
res_found
=
1
;
res_found
=
1
;
pucch_pdu
->
prb_start
=
pucchres
->
startingPRB
;
pucch_pdu
->
prb_start
=
pucchres
->
startingPRB
;
pucch_pdu
->
rnti
=
0x1234
;
// temporarily set same value as oai ue
pucch_pdu
->
rnti
=
rnti
;
// FIXME why there is only one frequency hopping flag
// FIXME why there is only one frequency hopping flag
// what about inter slot frequency hopping?
// what about inter slot frequency hopping?
pucch_pdu
->
freq_hop_flag
=
pucchres
->
intraSlotFrequencyHopping
!=
NULL
?
1
:
0
;
pucch_pdu
->
freq_hop_flag
=
pucchres
->
intraSlotFrequencyHopping
!=
NULL
?
1
:
0
;
...
...
openair2/LAYER2/NR_MAC_gNB/mac_proto.h
View file @
0113d992
...
@@ -210,6 +210,7 @@ int nr_is_dci_opportunity(nfapi_nr_search_space_t search_space,
...
@@ -210,6 +210,7 @@ int nr_is_dci_opportunity(nfapi_nr_search_space_t search_space,
void
nr_configure_pucch
(
nfapi_nr_pucch_pdu_t
*
pucch_pdu
,
void
nr_configure_pucch
(
nfapi_nr_pucch_pdu_t
*
pucch_pdu
,
NR_ServingCellConfigCommon_t
*
scc
,
NR_ServingCellConfigCommon_t
*
scc
,
NR_BWP_Uplink_t
*
bwp
,
NR_BWP_Uplink_t
*
bwp
,
uint16_t
rnti
,
uint8_t
pucch_resource
,
uint8_t
pucch_resource
,
uint16_t
O_uci
,
uint16_t
O_uci
,
uint16_t
O_ack
,
uint16_t
O_ack
,
...
...
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