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
wangwenhui
OpenXG-RAN
Commits
05033b0b
Commit
05033b0b
authored
Sep 11, 2020
by
zhenghuangkun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add InitialContextSetupResponse Message
parent
3b3452dc
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
138 additions
and
65 deletions
+138
-65
openair2/COMMON/ngap_messages_types.h
openair2/COMMON/ngap_messages_types.h
+19
-1
openair2/GNB_APP/gnb_config.c
openair2/GNB_APP/gnb_config.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_mch.c
openair2/LAYER2/MAC/eNB_scheduler_mch.c
+3
-2
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
+1
-0
openair3/NGAP/ngap_gNB_nas_procedures.c
openair3/NGAP/ngap_gNB_nas_procedures.c
+114
-61
No files found.
openair2/COMMON/ngap_messages_types.h
View file @
05033b0b
...
...
@@ -275,6 +275,18 @@ typedef struct pdusession_s {
uint32_t
gtp_teid
;
}
pdusession_t
;
typedef
enum
pdusession_qosflow_mapping_ind_e
{
QOSFLOW_MAPPING_INDICATION_UL
=
0
,
QOSFLOW_MAPPING_INDICATION_DL
=
1
,
QOSFLOW_MAPPING_INDICATION_NON
=
0xFF
}
pdusession_qosflow_mapping_ind_t
;
typedef
struct
pdusession_associate_qosflow_s
{
uint8_t
qci
;
pdusession_qosflow_mapping_ind_t
qos_flow_mapping_ind
;
}
pdusession_associate_qosflow_t
;
typedef
struct
pdusession_setup_s
{
/* Unique pdusession_id for the UE. */
uint8_t
pdusession_id
;
...
...
@@ -282,8 +294,14 @@ typedef struct pdusession_setup_s {
/* The transport layer address for the IP packets */
ngap_transport_layer_addr_t
gNB_addr
;
/*
S-GW
Tunnel endpoint identifier */
/*
UPF
Tunnel endpoint identifier */
uint32_t
gtp_teid
;
/* qos flow list number */
uint8_t
nb_of_qos_flow
;
/* qos flow list(1 ~ 64) */
pdusession_associate_qosflow_t
associated_qos_flows
[
QOSFLOW_MAX_VALUE
];
}
pdusession_setup_t
;
typedef
struct
pdusession_tobe_added_s
{
...
...
openair2/GNB_APP/gnb_config.c
View file @
05033b0b
...
...
@@ -814,7 +814,7 @@ int RCconfig_NR_NG(MessageDef *msg_p, uint32_t i) {
paramdef_t
SCTPParams
[]
=
GNBSCTPPARAMS_DESC
;
paramdef_t
NETParams
[]
=
GNBNETPARAMS_DESC
;
char
aprefix
[
MAX_OPTNAME_SIZE
*
2
+
8
];
sprintf
(
aprefix
,
"%s.[%i]"
,
GNB_CONFIG_STRING_GNB_LIST
,
k
);
sprintf
(
aprefix
,
"%s.[%i]"
,
GNB_CONFIG_STRING_GNB_LIST
,
k
);
NGAP_REGISTER_GNB_REQ
(
msg_p
).
gNB_id
=
gnb_id
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_mch.c
View file @
05033b0b
...
...
@@ -209,8 +209,9 @@ schedule_MBMS_NFAPI(module_id_t module_idP, uint8_t CC_id, frame_t frameP,
msi_pos
=
0
;
if
((
frameP
&
3
)
==
0
)
msi_pos
++
;
while
((
non_mbsfn_SubframeConfig
&
(
0x100
>>
msi_pos
))
==
(
0x100
>>
msi_pos
))
msi_pos
++
;
while
((
non_mbsfn_SubframeConfig
&
(
0x100
>>
msi_pos
))
==
(
0x100
>>
msi_pos
)){
msi_pos
++
;
}
mbms_mch_i
=
0
;
if
((
subframeP
==
0
)){
...
...
openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
View file @
05033b0b
...
...
@@ -837,6 +837,7 @@ void nr_schedule_uss_ulsch_phytest(int Mod_idP,
else
if
(
mu
==
2
)
K2
=
2
;
else
K2
=
3
;
}
LOG_D
(
MAC
,
"nr_schedule_uss_ulsch_phytest K2 %d
\n
"
,
K2
);
pusch_pdu
->
pdu_bit_map
=
PUSCH_PDU_BITMAP_PUSCH_DATA
;
pusch_pdu
->
rnti
=
rnti
;
...
...
openair3/NGAP/ngap_gNB_nas_procedures.c
View file @
05033b0b
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