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
93be3017
Commit
93be3017
authored
Jan 20, 2021
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Retrieve SR result
parent
d6dd9b31
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
+10
-0
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
+1
-0
No files found.
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_uci.c
View file @
93be3017
...
@@ -356,6 +356,11 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
...
@@ -356,6 +356,11 @@ void handle_nr_uci_pucch_0_1(module_id_t mod_id,
handle_dl_harq
(
mod_id
,
UE_id
,
pid
,
harq_value
==
1
&&
harq_confidence
==
0
);
handle_dl_harq
(
mod_id
,
UE_id
,
pid
,
harq_value
==
1
&&
harq_confidence
==
0
);
}
}
}
}
// check scheduling request result, confidence_level == 0 is good
if
(
uci_01
->
pduBitmap
&
0x1
)
{
sched_ctrl
->
SR
|=
uci_01
->
sr
->
sr_indication
&&
uci_01
->
sr
->
sr_confidence_level
==
0
;
}
}
}
void
handle_nr_uci_pucch_2_3_4
(
module_id_t
mod_id
,
void
handle_nr_uci_pucch_2_3_4
(
module_id_t
mod_id
,
...
@@ -401,6 +406,11 @@ void handle_nr_uci_pucch_2_3_4(module_id_t mod_id,
...
@@ -401,6 +406,11 @@ void handle_nr_uci_pucch_2_3_4(module_id_t mod_id,
handle_dl_harq
(
mod_id
,
UE_id
,
pid
,
uci_234
->
harq
.
harq_crc
!=
1
&&
acknack
);
handle_dl_harq
(
mod_id
,
UE_id
,
pid
,
uci_234
->
harq
.
harq_crc
!=
1
&&
acknack
);
}
}
}
}
// check scheduling request result, confidence_level == 0 is good
if
(
uci_234
->
pduBitmap
&
0x1
)
{
AssertFatal
(
0
,
"PUCCH Formats 2/3/4: we do not handle SR
\n
"
);
}
}
}
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_gNB.h
View file @
93be3017
...
@@ -450,6 +450,7 @@ typedef struct {
...
@@ -450,6 +450,7 @@ typedef struct {
uint8_t
tpc0
;
uint8_t
tpc0
;
uint8_t
tpc1
;
uint8_t
tpc1
;
uint16_t
ul_rssi
;
uint16_t
ul_rssi
;
bool
SR
;
/// information about every HARQ process
/// information about every HARQ process
NR_UE_harq_t
harq_processes
[
NR_MAX_NB_HARQ_PROCESSES
];
NR_UE_harq_t
harq_processes
[
NR_MAX_NB_HARQ_PROCESSES
];
/// HARQ processes that are free
/// HARQ processes that are free
...
...
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