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
zzha zzha
OpenXG-RAN
Commits
1af4e819
Commit
1af4e819
authored
Oct 30, 2023
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Paging: not fully implemented, make clear is dummy
parent
8cdb2363
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
openair2/F1AP/f1ap_du_paging.c
openair2/F1AP/f1ap_du_paging.c
+1
-3
openair2/RRC/NR/nr_rrc_proto.h
openair2/RRC/NR/nr_rrc_proto.h
+1
-1
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+5
-4
openair2/RRC/NR/rrc_gNB_NGAP.c
openair2/RRC/NR/rrc_gNB_NGAP.c
+2
-1
No files found.
openair2/F1AP/f1ap_du_paging.c
View file @
1af4e819
...
...
@@ -87,9 +87,7 @@ int DU_handle_Paging(instance_t instance, sctp_assoc_t assoc_id, uint32_t stream
F1AP_FIND_PROTOCOLIE_BY_ID
(
F1AP_PagingIEs_t
,
ie
,
paging
,
F1AP_ProtocolIE_ID_id_PagingCell_List
,
true
);
for
(
uint8_t
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
rrc_gNB_generate_pcch_msg
((
uint32_t
)
tmsi
,
pagingdrx
,
instance
,
CC_id
);
}
AssertFatal
(
false
,
"not implemented
\n
"
);
return
0
;
}
openair2/RRC/NR/nr_rrc_proto.h
View file @
1af4e819
...
...
@@ -159,7 +159,7 @@ void nr_pdcp_add_drbs(eNB_flag_t enb_flag,
uint8_t
*
const
kUPenc
,
uint8_t
*
const
kUPint
);
int
rrc_gNB_generate_pcch_msg
(
uint32_t
tmsi
,
uint8_t
paging_drx
,
instance_t
instance
,
uint8_t
CC_id
);
int
rrc_gNB_generate_pcch_msg
(
sctp_assoc_t
assoc_id
,
const
NR_SIB1_t
*
sib
,
uint32_t
tmsi
,
uint8_t
paging_drx
);
void
nr_rrc_transfer_protected_rrc_message
(
const
gNB_RRC_INST
*
rrc
,
const
gNB_RRC_UE_t
*
ue_p
,
uint8_t
srb_id
,
const
uint8_t
*
buffer
,
int
size
);
/** @}*/
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
1af4e819
...
...
@@ -2663,7 +2663,10 @@ void rrc_gNB_trigger_release_bearer(int rnti)
rrc
->
mac_rrc
.
ue_context_modification_request
(
&
ue_context_modif_req
);
}
int
rrc_gNB_generate_pcch_msg
(
uint32_t
tmsi
,
uint8_t
paging_drx
,
instance_t
instance
,
uint8_t
CC_id
){
int
rrc_gNB_generate_pcch_msg
(
sctp_assoc_t
assoc_id
,
const
NR_SIB1_t
*
sib1
,
uint32_t
tmsi
,
uint8_t
paging_drx
)
{
instance_t
instance
=
0
;
uint8_t
CC_id
=
0
;
const
unsigned
int
Ttab
[
4
]
=
{
32
,
64
,
128
,
256
};
uint8_t
Tc
;
uint8_t
Tue
;
...
...
@@ -2674,9 +2677,6 @@ int rrc_gNB_generate_pcch_msg(uint32_t tmsi, uint8_t paging_drx, instance_t inst
uint32_t
T
;
/* DRX cycle */
uint32_t
length
;
uint8_t
buffer
[
RRC_BUF_SIZE
];
const
nr_rrc_du_container_t
*
du
=
RC
.
nrrrc
[
0
]
->
du
;
DevAssert
(
du
!=
NULL
);
struct
NR_SIB1
*
sib1
=
du
->
sib1
;
/* get default DRX cycle from configuration */
Tc
=
sib1
->
servingCellConfigCommon
->
downlinkConfigCommon
.
pcch_Config
.
defaultPagingCycle
;
...
...
@@ -2784,6 +2784,7 @@ int rrc_gNB_generate_pcch_msg(uint32_t tmsi, uint8_t paging_drx, instance_t inst
return
-
1
;
}
// TODO, send message to pdcp
(
void
)
assoc_id
;
return
0
;
}
openair2/RRC/NR/rrc_gNB_NGAP.c
View file @
1af4e819
...
...
@@ -1356,6 +1356,7 @@ int rrc_gNB_process_PAGING_IND(MessageDef *msg_p, instance_t instance)
&&
RC
.
nrrrc
[
instance
]
->
configuration
.
mnc
[
j
]
==
NGAP_PAGING_IND
(
msg_p
).
plmn_identity
[
tai_size
].
mnc
&&
RC
.
nrrrc
[
instance
]
->
configuration
.
tac
==
NGAP_PAGING_IND
(
msg_p
).
tac
[
tai_size
])
{
for
(
uint8_t
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
AssertFatal
(
false
,
"to be implemented properly
\n
"
);
if
(
NODE_IS_CU
(
RC
.
nrrrc
[
instance
]
->
node_type
))
{
MessageDef
*
m
=
itti_alloc_new_message
(
TASK_RRC_GNB
,
0
,
F1AP_PAGING_IND
);
F1AP_PAGING_IND
(
m
).
plmn
.
mcc
=
RC
.
nrrrc
[
j
]
->
configuration
.
mcc
[
0
];
...
...
@@ -1368,7 +1369,7 @@ int rrc_gNB_process_PAGING_IND(MessageDef *msg_p, instance_t instance)
LOG_E
(
F1AP
,
"ueidentityindexvalue %u fiveg_s_tmsi %ld paging_drx %u
\n
"
,
F1AP_PAGING_IND
(
m
).
ueidentityindexvalue
,
F1AP_PAGING_IND
(
m
).
fiveg_s_tmsi
,
F1AP_PAGING_IND
(
m
).
paging_drx
);
itti_send_msg_to_task
(
TASK_CU_F1
,
instance
,
m
);
}
else
{
rrc_gNB_generate_pcch_msg
(
NGAP_PAGING_IND
(
msg_p
).
ue_paging_identity
.
s_tmsi
.
m_tmsi
,(
uint8_t
)
NGAP_PAGING_IND
(
msg_p
).
paging_drx
,
instance
,
CC_id
);
//
rrc_gNB_generate_pcch_msg(NGAP_PAGING_IND(msg_p).ue_paging_identity.s_tmsi.m_tmsi,(uint8_t)NGAP_PAGING_IND(msg_p).paging_drx, instance, CC_id);
}
// end of nodetype check
}
// end of cc loop
}
// end of mcc mnc check
...
...
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