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
8de7d0a9
Commit
8de7d0a9
authored
Oct 04, 2022
by
Swetank Srivastava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working commit for TC 8.1.1.3
parent
af391348
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
143 additions
and
145 deletions
+143
-145
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+4
-3
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+18
-12
openair3/SS/ss_eNB_sys_task.c
openair3/SS/ss_eNB_sys_task.c
+121
-130
No files found.
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
8de7d0a9
...
@@ -4405,12 +4405,13 @@ uint8_t do_Paging(uint8_t Mod_id, uint8_t *buffer, size_t buffer_size,
...
@@ -4405,12 +4405,13 @@ uint8_t do_Paging(uint8_t Mod_id, uint8_t *buffer, size_t buffer_size,
pcch_msg
.
message
.
choice
.
c1
.
choice
.
paging
.
pagingRecordList
=
CALLOC
(
1
,
sizeof
(
*
pcch_msg
.
message
.
choice
.
c1
.
choice
.
paging
.
pagingRecordList
));
pcch_msg
.
message
.
choice
.
c1
.
choice
.
paging
.
pagingRecordList
=
CALLOC
(
1
,
sizeof
(
*
pcch_msg
.
message
.
choice
.
c1
.
choice
.
paging
.
pagingRecordList
));
pcch_msg
.
message
.
choice
.
c1
.
choice
.
paging
.
pagingRecordList
->
list
.
count
=
0
;
pcch_msg
.
message
.
choice
.
c1
.
choice
.
paging
.
pagingRecordList
->
list
.
count
=
0
;
if
((
paging_record_p
=
calloc
(
1
,
sizeof
(
LTE_PagingRecord_t
)))
==
NULL
)
{
return
(
-
1
);
}
oneTimeProcessingFlag
=
1
;
oneTimeProcessingFlag
=
1
;
}
}
if
((
paging_record_p
=
calloc
(
1
,
sizeof
(
LTE_PagingRecord_t
)))
==
NULL
)
{
return
(
-
1
);
}
if
(
count
<=
pagingRecordCount
)
if
(
count
<=
pagingRecordCount
)
{
{
memset
(
paging_record_p
,
0
,
sizeof
(
LTE_PagingRecord_t
));
memset
(
paging_record_p
,
0
,
sizeof
(
LTE_PagingRecord_t
));
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
8de7d0a9
...
@@ -652,9 +652,10 @@ static int rrc_eNB_process_SS_PAGING_IND(MessageDef *msg_p, const char *msg_name
...
@@ -652,9 +652,10 @@ static int rrc_eNB_process_SS_PAGING_IND(MessageDef *msg_p, const char *msg_name
ue_paging_identity
.
presenceMask
=
0
;
ue_paging_identity
.
presenceMask
=
0
;
ss_paging_identity_t
*
p_paging_record
=
SS_PAGING_IND
(
msg_p
).
paging_recordList
;
ss_paging_identity_t
*
p_paging_record
=
SS_PAGING_IND
(
msg_p
).
paging_recordList
;
count
=
SS_PAGING_IND
(
msg_p
).
num_paging_record
;
count
=
SS_PAGING_IND
(
msg_p
).
num_paging_record
;
LOG_A
(
RRC
,
" Number of paging records::%d
\n
"
,
SS_PAGING_IND
(
msg_p
).
num_paging_record
);
while
(
count
>
0
)
while
(
count
>
0
)
{
{
if
(
SS_PAGING_IND
(
msg_p
).
paging_recordList
)
if
(
p_paging_record
)
{
{
LOG_A
(
RRC
,
"[eNB %ld] In SS_PAGING_IND: MASK %d, S_TMSI mme_code %d, m_tmsi %u SFN %d subframe %d cn_domain %d ue_index %d
\n
"
,
instance
,
LOG_A
(
RRC
,
"[eNB %ld] In SS_PAGING_IND: MASK %d, S_TMSI mme_code %d, m_tmsi %u 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
.
presenceMask
,
...
@@ -664,22 +665,27 @@ static int rrc_eNB_process_SS_PAGING_IND(MessageDef *msg_p, const char *msg_name
...
@@ -664,22 +665,27 @@ static int rrc_eNB_process_SS_PAGING_IND(MessageDef *msg_p, const char *msg_name
SS_PAGING_IND
(
msg_p
).
sf
,
SS_PAGING_IND
(
msg_p
).
sf
,
SS_PAGING_IND
(
msg_p
).
paging_recordList
->
cn_domain
,
SS_PAGING_IND
(
msg_p
).
paging_recordList
->
cn_domain
,
(
uint16_t
)
SS_PAGING_IND
(
msg_p
).
ue_index_value
);
(
uint16_t
)
SS_PAGING_IND
(
msg_p
).
ue_index_value
);
//memcpy(&ue_paging_identity, &(SS_PAGING_IND(msg_p).paging_recordList->ue_paging_identity), sizeof(ue_paging_identity_t));
memcpy
(
&
ue_paging_identity
,
&
(
p_paging_record
->
ue_paging_identity
),
sizeof
(
ue_paging_identity_t
));
memcpy
(
&
ue_paging_identity
,
&
(
p_paging_record
->
ue_paging_identity
),
sizeof
(
ue_paging_identity_t
));
cn_domain
=
p_paging_record
->
cn_domain
;
cn_domain
=
p_paging_record
->
cn_domain
;
}
/* Create message for PDCP (DLInformationTransfer_t) */
/* Create message for PDCP (DLInformationTransfer_t) */
if
(
ue_paging_identity
.
presenceMask
!=
UE_PAGING_IDENTITY_NONE
)
if
(
ue_paging_identity
.
presenceMask
!=
UE_PAGING_IDENTITY_NONE
)
{
length
=
do_Paging
(
instance
,
buffer
,
RRC_BUF_SIZE
,
ue_paging_identity
,
cn_domain
,
SS_PAGING_IND
(
msg_p
).
systemInfoModification
,
SS_PAGING_IND
(
msg_p
).
num_paging_record
);
count
--
;
}
p_paging_record
++
;
}
else
{
{
length
=
do_Paging
(
instance
,
LOG_E
(
RRC
,
"Received empty paging record"
);
buffer
,
return
-
1
;
RRC_BUF_SIZE
,
ue_paging_identity
,
cn_domain
,
SS_PAGING_IND
(
msg_p
).
systemInfoModification
,
SS_PAGING_IND
(
msg_p
).
num_paging_record
);
count
--
;
}
}
}
}
if
(
length
==
-
1
)
if
(
length
==
-
1
)
...
...
openair3/SS/ss_eNB_sys_task.c
View file @
8de7d0a9
This diff is collapsed.
Click to expand it.
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