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
25b91af9
Commit
25b91af9
authored
Jun 30, 2022
by
Manu Agrawal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the Seg Fault on recv SysInfoMod in Paging
parent
225ec717
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
openair2/COMMON/ss_messages_types.h
openair2/COMMON/ss_messages_types.h
+1
-0
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+5
-0
openair3/SS/ss_eNB_sys_task.c
openair3/SS/ss_eNB_sys_task.c
+19
-0
No files found.
openair2/COMMON/ss_messages_types.h
View file @
25b91af9
...
...
@@ -199,6 +199,7 @@ typedef struct ss_paging_ind_s {
uint16_t
sfn
;
uint8_t
sf
;
ss_paging_identity_t
*
paging_recordList
;
bool
systemInfoModification
;
}
ss_paging_ind_t
;
typedef
enum
VtpCmd_e
{
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
25b91af9
...
...
@@ -533,6 +533,9 @@ static void rrc_eNB_process_SS_PAGING_IND(MessageDef *msg_p, const char *msg_nam
uint8_t
i_s
;
/* i_s = floor(UE_ID/N) mod Ns */
uint32_t
T
;
/* DRX cycle */
uint8_t
CC_id
=
0
;
LOG_A
(
RRC
,
"eNB received SS_PAGING_IND with paging_recordList=%p systemInfoModification=%d
\n
"
,
SS_PAGING_IND
(
msg_p
).
paging_recordList
,
SS_PAGING_IND
(
msg_p
).
systemInfoModification
);
if
(
SS_PAGING_IND
(
msg_p
).
paging_recordList
)
{
LOG_A
(
RRC
,
"[eNB %d] In S1AP_PAGING_IND: MASK %d, S_TMSI mme_code %d, m_tmsi %ld SFN %d subframe %d cn_domain %d ue_index %d
\n
"
,
instance
,
SS_PAGING_IND
(
msg_p
).
paging_recordList
->
ue_paging_identity
.
presenceMask
,
SS_PAGING_IND
(
msg_p
).
paging_recordList
->
ue_paging_identity
.
choice
.
s_tmsi
.
mme_code
,
...
...
@@ -673,6 +676,8 @@ static void rrc_eNB_process_SS_PAGING_IND(MessageDef *msg_p, const char *msg_nam
RRC_PCCH_DATA_REQ
(
message_p
).
CC_id
=
CC_id
;
LOG_A
(
RRC
,
"[eNB %d] CC_id %d In S1AP_PAGING_IND: send encdoed buffer to PDCP buffer_size %d
\n
"
,
instance
,
CC_id
,
length
);
itti_send_msg_to_task
(
TASK_PDCP_ENB
,
instance
,
message_p
);
}
LOG_A
(
RRC
,
"[eNB %d] Exiting ,rrc_eNB_process_SS_PAGING_IND
\n
"
);
return
(
0
);
}
...
...
openair3/SS/ss_eNB_sys_task.c
View file @
25b91af9
...
...
@@ -1232,6 +1232,16 @@ static void sys_handle_paging_req(struct PagingTrigger_Type *pagingRequest, ss_s
enum
ConfirmationResult_Type_Sel
resType
=
ConfirmationResult_Type_Success
;
bool
resVal
=
TRUE
;
MessageDef
*
message_p
=
itti_alloc_new_message
(
TASK_SYS
,
0
,
SS_SS_PAGING_IND
);
if
(
message_p
==
NULL
)
{
return
-
1
;
}
SS_PAGING_IND
(
message_p
).
sfn
=
tinfo
.
sfn
;
SS_PAGING_IND
(
message_p
).
sf
=
tinfo
.
sf
;
SS_PAGING_IND
(
message_p
).
paging_recordList
=
NULL
;
SS_PAGING_IND
(
message_p
).
systemInfoModification
=
false
;
switch
(
pagingRequest
->
Paging
.
message
.
d
)
{
case
PCCH_MessageType_c1
:
...
...
@@ -1283,6 +1293,15 @@ static void sys_handle_paging_req(struct PagingTrigger_Type *pagingRequest, ss_s
}
}
if
(
pagingRequest
->
Paging
.
message
.
v
.
c1
.
v
.
paging
.
systemInfoModification
.
d
)
{
LOG_A
(
ENB_SS
,
"[SYS] System Info Modification received in Paging request
\n
"
);
if
(
Paging_systemInfoModification_e_true
==
pagingRequest
->
Paging
.
message
.
v
.
c1
.
v
.
paging
.
systemInfoModification
.
v
)
{
SS_PAGING_IND
(
message_p
).
systemInfoModification
=
true
;
}
}
}
int
send_res
=
itti_send_msg_to_task
(
TASK_RRC_ENB
,
0
,
message_p
);
...
...
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