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
常顺宇
OpenXG-RAN
Commits
a4bc48a2
Commit
a4bc48a2
authored
Jun 23, 2018
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix in paging: iterate list of MCC/MNC/TAC
parent
4f997239
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
118 additions
and
116 deletions
+118
-116
openair2/RRC/LTE/rrc_eNB_S1AP.c
openair2/RRC/LTE/rrc_eNB_S1AP.c
+118
-116
No files found.
openair2/RRC/LTE/rrc_eNB_S1AP.c
View file @
a4bc48a2
...
@@ -1849,8 +1849,9 @@ int rrc_eNB_process_PAGING_IND(MessageDef *msg_p, const char *msg_name, instance
...
@@ -1849,8 +1849,9 @@ int rrc_eNB_process_PAGING_IND(MessageDef *msg_p, const char *msg_name, instance
for
(
uint16_t
tai_size
=
0
;
tai_size
<
S1AP_PAGING_IND
(
msg_p
).
tai_size
;
tai_size
++
)
{
for
(
uint16_t
tai_size
=
0
;
tai_size
<
S1AP_PAGING_IND
(
msg_p
).
tai_size
;
tai_size
++
)
{
LOG_D
(
RRC
,
"[eNB %d] In S1AP_PAGING_IND: MCC %d, MNC %d, TAC %d
\n
"
,
instance
,
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mcc
,
LOG_D
(
RRC
,
"[eNB %d] In S1AP_PAGING_IND: MCC %d, MNC %d, TAC %d
\n
"
,
instance
,
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mcc
,
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mnc
,
S1AP_PAGING_IND
(
msg_p
).
tac
[
tai_size
]);
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mnc
,
S1AP_PAGING_IND
(
msg_p
).
tac
[
tai_size
]);
if
(
RC
.
rrc
[
instance
]
->
configuration
.
mcc
==
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mcc
for
(
uint8_t
j
=
0
;
j
<
RC
.
rrc
[
instance
]
->
configuration
.
num_plmn
;
j
++
)
{
&&
RC
.
rrc
[
instance
]
->
configuration
.
mnc
==
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mnc
if
(
RC
.
rrc
[
instance
]
->
configuration
.
mcc
[
j
]
==
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mcc
&&
RC
.
rrc
[
instance
]
->
configuration
.
mnc
[
j
]
==
S1AP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mnc
&&
RC
.
rrc
[
instance
]
->
configuration
.
tac
==
S1AP_PAGING_IND
(
msg_p
).
tac
[
tai_size
])
{
&&
RC
.
rrc
[
instance
]
->
configuration
.
tac
==
S1AP_PAGING_IND
(
msg_p
).
tac
[
tai_size
])
{
for
(
uint8_t
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
uint8_t
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
lte_frame_type_t
frame_type
=
RC
.
eNB
[
instance
][
CC_id
]
->
frame_parms
.
frame_type
;
lte_frame_type_t
frame_type
=
RC
.
eNB
[
instance
][
CC_id
]
->
frame_parms
.
frame_type
;
...
@@ -1906,7 +1907,7 @@ int rrc_eNB_process_PAGING_IND(MessageDef *msg_p, const char *msg_name, instance
...
@@ -1906,7 +1907,7 @@ int rrc_eNB_process_PAGING_IND(MessageDef *msg_p, const char *msg_name, instance
/* insert data to UE_PF_PO or update data in UE_PF_PO */
/* insert data to UE_PF_PO or update data in UE_PF_PO */
pthread_mutex_lock
(
&
ue_pf_po_mutex
);
pthread_mutex_lock
(
&
ue_pf_po_mutex
);
uint16
_t
i
=
0
;
uint8
_t
i
=
0
;
for
(
i
=
0
;
i
<
MAX_MOBILES_PER_ENB
;
i
++
)
{
for
(
i
=
0
;
i
<
MAX_MOBILES_PER_ENB
;
i
++
)
{
if
((
UE_PF_PO
[
CC_id
][
i
].
enable_flag
==
TRUE
&&
UE_PF_PO
[
CC_id
][
i
].
ue_index_value
==
(
uint16_t
)(
S1AP_PAGING_IND
(
msg_p
).
ue_index_value
))
if
((
UE_PF_PO
[
CC_id
][
i
].
enable_flag
==
TRUE
&&
UE_PF_PO
[
CC_id
][
i
].
ue_index_value
==
(
uint16_t
)(
S1AP_PAGING_IND
(
msg_p
).
ue_index_value
))
||
(
UE_PF_PO
[
CC_id
][
i
].
enable_flag
!=
TRUE
))
{
||
(
UE_PF_PO
[
CC_id
][
i
].
enable_flag
!=
TRUE
))
{
...
@@ -1971,6 +1972,7 @@ int rrc_eNB_process_PAGING_IND(MessageDef *msg_p, const char *msg_name, instance
...
@@ -1971,6 +1972,7 @@ int rrc_eNB_process_PAGING_IND(MessageDef *msg_p, const char *msg_name, instance
}
}
}
}
}
}
}
return
(
0
);
return
(
0
);
}
}
...
...
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