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
07c5cf3c
Commit
07c5cf3c
authored
Feb 04, 2024
by
francescomani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove instance hardcoding in nsa_rrc_ue_process_ueCapabilityEnquiry
parent
3a6e93b8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
openair2/RRC/NR_UE/rrc_UE.c
openair2/RRC/NR_UE/rrc_UE.c
+5
-5
No files found.
openair2/RRC/NR_UE/rrc_UE.c
View file @
07c5cf3c
...
@@ -1610,9 +1610,9 @@ void *recv_msgs_from_lte_ue(void *args_p)
...
@@ -1610,9 +1610,9 @@ void *recv_msgs_from_lte_ue(void *args_p)
return
NULL
;
return
NULL
;
}
}
static
void
nsa_rrc_ue_process_ueCapabilityEnquiry
(
void
)
static
void
nsa_rrc_ue_process_ueCapabilityEnquiry
(
NR_UE_RRC_INST_t
*
rrc
)
{
{
NR_UE_NR_Capability_t
*
UE_Capability_nr
=
NR_UE_rrc_inst
[
0
].
UECap
.
UE_NR_Capability
=
CALLOC
(
1
,
sizeof
(
NR_UE_NR_Capability_t
));
NR_UE_NR_Capability_t
*
UE_Capability_nr
=
rrc
->
UECap
.
UE_NR_Capability
=
CALLOC
(
1
,
sizeof
(
NR_UE_NR_Capability_t
));
NR_BandNR_t
*
nr_bandnr
=
CALLOC
(
1
,
sizeof
(
NR_BandNR_t
));
NR_BandNR_t
*
nr_bandnr
=
CALLOC
(
1
,
sizeof
(
NR_BandNR_t
));
nr_bandnr
->
bandNR
=
78
;
nr_bandnr
->
bandNR
=
78
;
asn1cSeqAdd
(
&
UE_Capability_nr
->
rf_Parameters
.
supportedBandListNR
.
list
,
nr_bandnr
);
asn1cSeqAdd
(
&
UE_Capability_nr
->
rf_Parameters
.
supportedBandListNR
.
list
,
nr_bandnr
);
...
@@ -1634,8 +1634,8 @@ static void nsa_rrc_ue_process_ueCapabilityEnquiry(void)
...
@@ -1634,8 +1634,8 @@ static void nsa_rrc_ue_process_ueCapabilityEnquiry(void)
memset
(
&
ue_CapabilityRAT_Container
,
0
,
sizeof
(
NR_UE_CapabilityRAT_Container_t
));
memset
(
&
ue_CapabilityRAT_Container
,
0
,
sizeof
(
NR_UE_CapabilityRAT_Container_t
));
ue_CapabilityRAT_Container
.
rat_Type
=
NR_RAT_Type_nr
;
ue_CapabilityRAT_Container
.
rat_Type
=
NR_RAT_Type_nr
;
OCTET_STRING_fromBuf
(
&
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
,
OCTET_STRING_fromBuf
(
&
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
,
(
const
char
*
)
NR_UE_rrc_inst
[
0
].
UECap
.
sdu
,
(
const
char
*
)
rrc
->
UECap
.
sdu
,
NR_UE_rrc_inst
[
0
].
UECap
.
sdu_size
);
rrc
->
UECap
.
sdu_size
);
nsa_sendmsg_to_lte_ue
(
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
.
buf
,
nsa_sendmsg_to_lte_ue
(
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
.
buf
,
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
.
size
,
ue_CapabilityRAT_Container
.
ue_CapabilityRAT_Container
.
size
,
...
@@ -1698,7 +1698,7 @@ static void process_lte_nsa_msg(NR_UE_RRC_INST_t *rrc, nsa_msg_t *msg, int msg_l
...
@@ -1698,7 +1698,7 @@ static void process_lte_nsa_msg(NR_UE_RRC_INST_t *rrc, nsa_msg_t *msg, int msg_l
break
;
break
;
}
}
LOG_I
(
NR_RRC
,
"Calling nsa_rrc_ue_process_ueCapabilityEnquiry
\n
"
);
LOG_I
(
NR_RRC
,
"Calling nsa_rrc_ue_process_ueCapabilityEnquiry
\n
"
);
nsa_rrc_ue_process_ueCapabilityEnquiry
();
nsa_rrc_ue_process_ueCapabilityEnquiry
(
rrc
);
break
;
break
;
}
}
...
...
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