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
zzha zzha
OpenXG-RAN
Commits
a0a92f45
Commit
a0a92f45
authored
Apr 04, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/NR_UE_aperiodic_SRS' into integration_2023_w14
parents
1f6d111f
0de51bcd
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
145 additions
and
68 deletions
+145
-68
nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h
nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h
+0
-4
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/mac_proto.h
+2
-0
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+8
-2
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
+135
-62
No files found.
nfapi/open-nFAPI/nfapi/public_inc/fapi_nr_ue_interface.h
View file @
a0a92f45
...
...
@@ -422,9 +422,6 @@ typedef struct {
typedef
struct
{
fapi_nr_dl_config_dci_dl_pdu_rel15_t
dci_config_rel15
;
}
fapi_nr_dl_config_dci_pdu
;
typedef
struct
{
uint8_t
aperiodicSRS_ResourceTrigger
;
}
fapi_nr_dl_srs_config_t
;
typedef
enum
{
vrb_to_prb_mapping_non_interleaved
=
0
,
vrb_to_prb_mapping_interleaved
=
1
}
vrb_to_prb_mapping_t
;
...
...
@@ -461,7 +458,6 @@ typedef struct {
uint16_t
dmrs_ports
;
uint8_t
n_front_load_symb
;
uint8_t
tci_state
;
fapi_nr_dl_srs_config_t
srs_config
;
uint8_t
cbgti
;
uint8_t
codeBlockGroupFlushIndicator
;
// to be check the fields needed to L1 with NR_DL_UE_HARQ_t and NR_UE_DLSCH_t
...
...
openair2/LAYER2/NR_MAC_UE/mac_proto.h
View file @
a0a92f45
...
...
@@ -190,6 +190,8 @@ int8_t nr_ue_process_csirs_measurements(module_id_t module_id, frame_t frame, in
uint32_t
get_ssb_frame
(
uint32_t
test
);
void
nr_ue_aperiodic_srs_scheduling
(
NR_UE_MAC_INST_t
*
mac
,
long
resource_trigger
,
int
frame
,
int
slot
);
bool
trigger_periodic_scheduling_request
(
NR_UE_MAC_INST_t
*
mac
,
PUCCH_sched_t
*
pucch
,
frame_t
frame
,
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
a0a92f45
...
...
@@ -538,6 +538,11 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
// - SECOND_DAI
// - SRS_RESOURCE_IND
/* SRS_REQUEST */
AssertFatal
(
dci
->
srs_request
.
nbits
==
2
,
"If SUL is supported in the cell, there is an additional bit in SRS request field
\n
"
);
if
(
dci
->
srs_request
.
val
>
0
)
nr_ue_aperiodic_srs_scheduling
(
mac
,
dci
->
srs_request
.
val
,
frame
,
slot
);
// Schedule PUSCH
tda_info
=
get_ul_tda_info
(
current_UL_BWP
,
coreset_type
,
dci_ind
->
ss_type
,
get_rnti_type
(
mac
,
rnti
),
dci
->
time_domain_assignment
.
val
);
if
(
tda_info
.
nrOfSymbols
==
0
)
...
...
@@ -1076,8 +1081,9 @@ int8_t nr_ue_process_dci(module_id_t module_id, int cc_id, uint8_t gNB_index, fr
dlsch_config_pdu_1_1
->
tci_state
=
dci
->
transmission_configuration_indication
.
val
;
}
/* SRS_REQUEST */
// if SUL is supported in the cell, there is an additional bit in this field and the value of this bit represents table 7.1.1.1-1 TS 38.212 FIXME!!!
dlsch_config_pdu_1_1
->
srs_config
.
aperiodicSRS_ResourceTrigger
=
(
dci
->
srs_request
.
val
&
0x11
);
// as per Table 7.3.1.1.2-24 TS 38.212
AssertFatal
(
dci
->
srs_request
.
nbits
==
2
,
"If SUL is supported in the cell, there is an additional bit in SRS request field
\n
"
);
if
(
dci
->
srs_request
.
val
>
0
)
nr_ue_aperiodic_srs_scheduling
(
mac
,
dci
->
srs_request
.
val
,
frame
,
slot
);
/* CBGTI */
dlsch_config_pdu_1_1
->
cbgti
=
dci
->
cbgti
.
val
;
/* CBGFI */
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_scheduler.c
View file @
a0a92f45
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