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
d2bbbb16
Commit
d2bbbb16
authored
Jan 26, 2024
by
Ejaz Ahmed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Temporarily Removed number of PSFCH symbols from number of PSSCH symbhols computation
parent
7e83f75d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
openair2/LAYER2/NR_MAC_UE/nr_ue_sci_slsch.c
openair2/LAYER2/NR_MAC_UE/nr_ue_sci_slsch.c
+8
-0
No files found.
openair2/LAYER2/NR_MAC_UE/nr_ue_sci_slsch.c
View file @
d2bbbb16
...
@@ -244,10 +244,12 @@ void fill_pssch_pscch_pdu(sl_nr_tx_config_pscch_pssch_pdu_t *nr_sl_pssch_pscch_p
...
@@ -244,10 +244,12 @@ void fill_pssch_pscch_pdu(sl_nr_tx_config_pscch_pssch_pdu_t *nr_sl_pssch_pscch_p
nr_sl_pssch_pscch_pdu
->
pscch_dmrs_scrambling_id
,
nr_sl_pssch_pscch_pdu
->
pscch_dmrs_scrambling_id
,
nr_sl_pssch_pscch_pdu
->
num_subch
,
nr_sl_pssch_pscch_pdu
->
num_subch
,
nr_sl_pssch_pscch_pdu
->
subchannel_size
);
nr_sl_pssch_pscch_pdu
->
subchannel_size
);
#if 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) {
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++;
}
}
#endif
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
;
...
@@ -491,10 +493,12 @@ void config_pscch_pdu_rx(sl_nr_rx_config_pscch_pdu_t *nr_sl_pscch_pdu,
...
@@ -491,10 +493,12 @@ void config_pscch_pdu_rx(sl_nr_rx_config_pscch_pdu_t *nr_sl_pscch_pdu,
//Guard symbol + AGC symbol are also excluded
//Guard symbol + AGC symbol are also excluded
//Indicates the number of symbols for PSCCH+PSSCH txn
//Indicates the number of symbols for PSCCH+PSSCH txn
int
num_psfch_symbols
=
0
;
int
num_psfch_symbols
=
0
;
#if 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) {
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++;
}
}
#endif
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.
nr_sl_pscch_pdu
->
sci_1a_length
=
nr_sci_size
(
sl_res_pool
,
&
dummy_sci
,
NR_SL_SCI_FORMAT_1A
);
nr_sl_pscch_pdu
->
sci_1a_length
=
nr_sci_size
(
sl_res_pool
,
&
dummy_sci
,
NR_SL_SCI_FORMAT_1A
);
...
@@ -651,10 +655,12 @@ void config_pssch_slsch_pdu_rx(sl_nr_rx_config_pssch_pdu_t *nr_sl_pssch_pdu,
...
@@ -651,10 +655,12 @@ void config_pssch_slsch_pdu_rx(sl_nr_rx_config_pssch_pdu_t *nr_sl_pssch_pdu,
NRRIV2BW
(
sl_bwp
->
sl_BWP_Generic_r16
->
sl_BWP_r16
->
locationAndBandwidth
,
273
),
NRRIV2BW
(
sl_bwp
->
sl_BWP_Generic_r16
->
sl_BWP_r16
->
locationAndBandwidth
,
273
),
nr_sl_pssch_pdu
->
num_layers
);
nr_sl_pssch_pdu
->
num_layers
);
int
num_psfch_symbols
=
0
;
int
num_psfch_symbols
=
0
;
#if 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) {
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++;
}
}
#endif
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
;
convNRFRIV
(
sci_pdu
->
frequency_resource_assignment
.
val
,
convNRFRIV
(
sci_pdu
->
frequency_resource_assignment
.
val
,
...
@@ -745,10 +751,12 @@ int config_pssch_sci_pdu_rx(sl_nr_rx_config_pssch_sci_pdu_t *nr_sl_pssch_sci_pdu
...
@@ -745,10 +751,12 @@ int config_pssch_sci_pdu_rx(sl_nr_rx_config_pssch_sci_pdu_t *nr_sl_pssch_sci_pdu
//Guard symbol + AGC symbol are also excluded
//Guard symbol + AGC symbol are also excluded
//Indicates the number of symbols for PSCCH+PSSCH txn
//Indicates the number of symbols for PSCCH+PSSCH txn
int
num_psfch_symbols
=
0
;
int
num_psfch_symbols
=
0
;
#if 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) {
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++;
}
}
#endif
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
;;
//DMRS SYMBOL MASK. If bit set to 1 indicates it is a DMRS symbol. LSB is symbol 0
//DMRS SYMBOL MASK. If bit set to 1 indicates it is a DMRS symbol. LSB is symbol 0
...
...
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