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
4f3fcbfe
Commit
4f3fcbfe
authored
Jan 23, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
free cellGroupConfig in RRC where it is allocated
parent
11b78317
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
openair1/SIMULATION/NR_PHY/dlsim.c
openair1/SIMULATION/NR_PHY/dlsim.c
+2
-0
openair2/LAYER2/NR_MAC_UE/config_ue.c
openair2/LAYER2/NR_MAC_UE/config_ue.c
+0
-2
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+6
-2
No files found.
openair1/SIMULATION/NR_PHY/dlsim.c
View file @
4f3fcbfe
...
...
@@ -870,6 +870,8 @@ int main(int argc, char **argv)
nr_rrc_mac_config_req_mib
(
0
,
0
,
mib
->
message
.
choice
.
mib
,
false
);
nr_rrc_mac_config_req_cg
(
0
,
0
,
UE_CellGroup
);
asn1cFreeStruc
(
asn_DEF_NR_CellGroupConfig
,
UE_CellGroup
);
UE_mac
->
state
=
UE_CONNECTED
;
UE_mac
->
ra
.
ra_state
=
RA_SUCCEEDED
;
...
...
openair2/LAYER2/NR_MAC_UE/config_ue.c
View file @
4f3fcbfe
...
...
@@ -1967,6 +1967,4 @@ void nr_rrc_mac_config_req_cg(module_id_t module_id,
if
(
!
mac
->
dl_config_request
||
!
mac
->
ul_config_request
)
ue_init_config_request
(
mac
,
mac
->
current_DL_BWP
->
scs
);
asn1cFreeStruc
(
asn_DEF_NR_CellGroupConfig
,
cell_group_config
);
}
openair2/RRC/NR_UE/rrc_UE.c
View file @
4f3fcbfe
...
...
@@ -216,8 +216,10 @@ static void nr_rrc_ue_process_rrcReconfiguration(NR_UE_RRC_INST_t *rrc,
nr_rrc_cellgroup_configuration
(
rrcNB
,
rrc
,
cellGroupConfig
);
if
(
!
get_softmodem_params
()
->
sa
)
nr_rrc_mac_config_req_cg
(
0
,
0
,
cellGroupConfig
);
AssertFatal
(
!
get_softmodem_params
()
->
sa
,
"secondaryCellGroup only used in NSA for now
\n
"
);
nr_rrc_mac_config_req_cg
(
rrc
->
ue_id
,
0
,
cellGroupConfig
);
asn1cFreeStruc
(
asn_DEF_NR_CellGroupConfig
,
cellGroupConfig
);
}
if
(
ie
->
measConfig
!=
NULL
)
{
LOG_I
(
NR_RRC
,
"Measurement Configuration is present
\n
"
);
...
...
@@ -821,6 +823,8 @@ static void nr_rrc_ue_process_masterCellGroup(NR_UE_RRC_INST_t *rrc,
LOG_D
(
RRC
,
"Sending CellGroupConfig to MAC
\n
"
);
nr_rrc_mac_config_req_cg
(
rrc
->
ue_id
,
0
,
cellGroupConfig
);
asn1cFreeStruc
(
asn_DEF_NR_CellGroupConfig
,
cellGroupConfig
);
}
static
void
rrc_ue_generate_RRCSetupComplete
(
const
NR_UE_RRC_INST_t
*
rrc
,
const
uint8_t
Transaction_id
)
...
...
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