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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
aff93918
Commit
aff93918
authored
Jan 30, 2024
by
Ejaz Ahmed
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'episys/sl-eurecom2' into episys/ea/psfch_configurations
parents
c734cfab
7fd180f3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
executables/nr-uesoftmodem.h
executables/nr-uesoftmodem.h
+1
-0
openair2/LAYER2/NR_MAC_UE/nr_ue_sci_slsch.c
openair2/LAYER2/NR_MAC_UE/nr_ue_sci_slsch.c
+4
-0
No files found.
executables/nr-uesoftmodem.h
View file @
aff93918
...
@@ -85,6 +85,7 @@ typedef struct {
...
@@ -85,6 +85,7 @@ typedef struct {
int
N_RB_DL
;
int
N_RB_DL
;
int
ssb_start_subcarrier
;
int
ssb_start_subcarrier
;
uint32_t
sync_ref
;
uint32_t
sync_ref
;
int
send_psfch_with_pucch
;
}
nrUE_params_t
;
}
nrUE_params_t
;
extern
uint64_t
get_nrUE_optmask
(
void
);
extern
uint64_t
get_nrUE_optmask
(
void
);
extern
uint64_t
set_nrUE_optmask
(
uint64_t
bitmask
);
extern
uint64_t
set_nrUE_optmask
(
uint64_t
bitmask
);
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_sci_slsch.c
View file @
aff93918
...
@@ -248,6 +248,7 @@ void fill_pssch_pscch_pdu(sl_nr_tx_config_pscch_pssch_pdu_t *nr_sl_pssch_pscch_p
...
@@ -248,6 +248,7 @@ void fill_pssch_pscch_pdu(sl_nr_tx_config_pscch_pssch_pdu_t *nr_sl_pssch_pscch_p
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
get_nrUE_params
()
->
send_psfch_with_pucch
)
num_psfch_symbols
=
0
;
}
}
nr_sl_pssch_pscch_pdu
->
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
nr_sl_pssch_pscch_pdu
->
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
nr_sl_pssch_pscch_pdu
->
pssch_startsym
=
*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_StartSymbol_r16
;
nr_sl_pssch_pscch_pdu
->
pssch_startsym
=
*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_StartSymbol_r16
;
...
@@ -495,6 +496,7 @@ void config_pscch_pdu_rx(sl_nr_rx_config_pscch_pdu_t *nr_sl_pscch_pdu,
...
@@ -495,6 +496,7 @@ void config_pscch_pdu_rx(sl_nr_rx_config_pscch_pdu_t *nr_sl_pscch_pdu,
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
get_nrUE_params
()
->
send_psfch_with_pucch
)
num_psfch_symbols
=
0
;
}
}
nr_sl_pscch_pdu
->
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
nr_sl_pscch_pdu
->
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
//sci 1A length used to decode on PSCCH.
//sci 1A length used to decode on PSCCH.
...
@@ -655,6 +657,7 @@ void config_pssch_slsch_pdu_rx(sl_nr_rx_config_pssch_pdu_t *nr_sl_pssch_pdu,
...
@@ -655,6 +657,7 @@ void config_pssch_slsch_pdu_rx(sl_nr_rx_config_pssch_pdu_t *nr_sl_pssch_pdu,
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
get_nrUE_params
()
->
send_psfch_with_pucch
)
num_psfch_symbols
=
0
;
}
}
int
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
int
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
uint16_t
l_subch
;
uint16_t
l_subch
;
...
@@ -749,6 +752,7 @@ int config_pssch_sci_pdu_rx(sl_nr_rx_config_pssch_sci_pdu_t *nr_sl_pssch_sci_pdu
...
@@ -749,6 +752,7 @@ int config_pssch_sci_pdu_rx(sl_nr_rx_config_pssch_sci_pdu_t *nr_sl_pssch_sci_pdu
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
if
(
sl_res_pool
->
sl_PSFCH_Config_r16
&&
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
&&
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
>
0
)
{
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
num_psfch_symbols
=
*
sl_res_pool
->
sl_PSFCH_Config_r16
->
choice
.
setup
->
sl_PSFCH_Period_r16
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
num_psfch_symbols
==
3
)
num_psfch_symbols
++
;
if
(
get_nrUE_params
()
->
send_psfch_with_pucch
)
num_psfch_symbols
=
0
;
}
}
nr_sl_pssch_sci_pdu
->
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
nr_sl_pssch_sci_pdu
->
pssch_numsym
=
7
+*
sl_bwp
->
sl_BWP_Generic_r16
->
sl_LengthSymbols_r16
-
num_psfch_symbols
-
2
;
...
...
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