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
2a0f0ab4
Commit
2a0f0ab4
authored
Feb 13, 2024
by
Arash Sahbafard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified: openair2/RRC/NR/nr_rrc_config.c
parent
c20b54d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
18 deletions
+60
-18
openair2/RRC/NR/nr_rrc_config.c
openair2/RRC/NR/nr_rrc_config.c
+60
-18
No files found.
openair2/RRC/NR/nr_rrc_config.c
View file @
2a0f0ab4
...
@@ -2244,26 +2244,68 @@ static NR_SpCellConfig_t *get_initial_SpCellConfig(int uid,
...
@@ -2244,26 +2244,68 @@ static NR_SpCellConfig_t *get_initial_SpCellConfig(int uid,
configuredGrantConfig
->
repK_RV
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
repK_RV
));
configuredGrantConfig
->
repK_RV
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
repK_RV
));
*
configuredGrantConfig
->
repK_RV
=
NR_ConfiguredGrantConfig__repK_RV_s1_0231
;
*
configuredGrantConfig
->
repK_RV
=
NR_ConfiguredGrantConfig__repK_RV_s1_0231
;
configuredGrantConfig
->
configuredGrantTimer
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
configuredGrantTimer
));
configuredGrantConfig
->
configuredGrantTimer
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
configuredGrantTimer
));
*
configuredGrantConfig
->
configuredGrantTimer
=
10
;
*
configuredGrantConfig
->
configuredGrantTimer
;
configuredGrantConfig
->
resourceAllocation
=
4
;
configuredGrantConfig
->
resourceAllocation
;
configuredGrantConfig
->
powerControlLoopToUse
=
5
;
configuredGrantConfig
->
powerControlLoopToUse
;
configuredGrantConfig
->
nrofHARQ_Processes
=
5
;
configuredGrantConfig
->
nrofHARQ_Processes
;
configuredGrantConfig
->
repK
=
5
;
configuredGrantConfig
->
repK
;
configuredGrantConfig
->
periodicity
=
5
;
configuredGrantConfig
->
periodicity
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
));
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
));
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
timeDomainOffset
=
5
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
timeDomainOffset
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
timeDomainAllocation
=
5
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
timeDomainAllocation
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
antennaPort
=
2
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
antennaPort
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
dmrs_SeqInitialization
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
dmrs_SeqInitialization
));
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
dmrs_SeqInitialization
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
dmrs_SeqInitialization
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
dmrs_SeqInitialization
=
5
;
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
dmrs_SeqInitialization
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
precodingAndNumberOfLayers
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
srs_ResourceIndicator
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
srs_ResourceIndicator
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
srs_ResourceIndicator
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
mcsAndTBS
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
frequencyHoppingOffset
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
frequencyHoppingOffset
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
frequencyHoppingOffset
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
pathlossReferenceIndex
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
->
pusch_RepTypeIndicator_r16
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
->
frequencyHoppingPUSCH_RepTypeB_r16
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext1
->
timeReferenceSFN_r16
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
->
pathlossReferenceIndex2_r17
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
->
srs_ResourceIndicator2_r17
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
->
precodingAndNumberOfLayers2_r17
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
->
timeDomainAllocation_v1710
;
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
));
*
configuredGrantConfig
->
rrc_ConfiguredUplinkGrant
->
ext2
->
timeDomainOffset_r17
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
cg_RetransmissionTimer_r16
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
cg_minDFI_Delay_r16
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
cg_nrofPUSCH_InSlot_r16
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
cg_nrofSlots_r16
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
cg_UCI_Multiplexing_r16
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingOffset_r16
;
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
->
cg_COT_SharingList_r16
));
*
configuredGrantConfig
->
ext1
->
betaOffsetCG_UCI_r16
;
configuredGrantConfig
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
));
*
configuredGrantConfig
->
ext1
->
harq_ProcID_Offset_r16
;
configuredGrantConfig
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
));
*
configuredGrantConfig
->
ext1
->
harq_ProcID_Offset2_r16
;
configuredGrantConfig
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
));
*
configuredGrantConfig
->
ext1
->
periodicityExt_r16
;
configuredGrantConfig
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
));
*
configuredGrantConfig
->
ext1
->
startingFromRV0_r16
;
configuredGrantConfig
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
));
*
configuredGrantConfig
->
ext1
->
phy_PriorityIndex_r16
;
configuredGrantConfig
->
ext1
=
calloc
(
1
,
sizeof
(
*
configuredGrantConfig
->
ext1
));
*
configuredGrantConfig
->
ext1
->
autonomousTx_r16
;
//TO do: start implimenting from line 270 and check back all the strucks you have not implimented yet
}
}
if
(
configuredGrantConfig
!=
NULL
){
if
(
configuredGrantConfig
!=
NULL
){
...
...
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