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
wangjie
OpenXG-RAN
Commits
fd571e90
Commit
fd571e90
authored
Oct 12, 2020
by
hardy
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/small-bugfixes-w40' into integration_2020_wk41
parents
e801d038
0ec02eaf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
4 deletions
+25
-4
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+18
-4
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+1
-0
openair3/S1AP/s1ap_eNB_encoder.c
openair3/S1AP/s1ap_eNB_encoder.c
+6
-0
No files found.
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
fd571e90
...
...
@@ -244,8 +244,15 @@ void common_signal_procedures_fembms (PHY_VARS_eNB *eNB,int frame, int subframe)
eNB
->
pbch_configured
=
0
;
}
T
(
T_ENB_PHY_MIB
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_BUFFER
(
pbch_pdu
,
3
));
if
(
T_ACTIVE
(
T_ENB_PHY_MIB
))
{
/* MIB is stored in reverse in pbch_pdu, reverse it for properly logging */
uint8_t
mib
[
3
];
mib
[
0
]
=
pbch_pdu
[
2
];
mib
[
1
]
=
pbch_pdu
[
1
];
mib
[
2
]
=
pbch_pdu
[
0
];
T
(
T_ENB_PHY_MIB
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_BUFFER
(
mib
,
3
));
}
generate_pbch_fembms
(
&
eNB
->
pbch
,
txdataF
,
AMP
,
fp
,
pbch_pdu
,
(
frame
&
15
)
/
4
);
}
//else if ((subframe == 1) && (fp->frame_type == TDD)) {
//generate_pss (txdataF, AMP, fp, 2, 2);
...
...
@@ -313,8 +320,15 @@ void common_signal_procedures (PHY_VARS_eNB *eNB,int frame, int subframe) {
eNB
->
pbch_configured
=
0
;
}
T
(
T_ENB_PHY_MIB
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_BUFFER
(
pbch_pdu
,
3
));
if
(
T_ACTIVE
(
T_ENB_PHY_MIB
))
{
/* MIB is stored in reverse in pbch_pdu, reverse it for properly logging */
uint8_t
mib
[
3
];
mib
[
0
]
=
pbch_pdu
[
2
];
mib
[
1
]
=
pbch_pdu
[
1
];
mib
[
2
]
=
pbch_pdu
[
0
];
T
(
T_ENB_PHY_MIB
,
T_INT
(
eNB
->
Mod_id
),
T_INT
(
frame
),
T_INT
(
subframe
),
T_BUFFER
(
mib
,
3
));
}
generate_pbch
(
&
eNB
->
pbch
,
txdataF
,
AMP
,
fp
,
pbch_pdu
,
frame
&
3
);
}
else
if
((
subframe
==
1
)
&&
(
fp
->
frame_type
==
TDD
))
{
generate_pss
(
txdataF
,
AMP
,
fp
,
2
,
2
);
...
...
openair2/RRC/LTE/rrc_eNB.c
View file @
fd571e90
...
...
@@ -7884,6 +7884,7 @@ rrc_eNB_decode_dcch(
if
(
ul_dcch_msg
->
message
.
choice
.
c1
.
choice
.
rrcConnectionReconfigurationComplete
.
criticalExtensions
.
choice
.
rrcConnectionReconfigurationComplete_r8
.
nonCriticalExtension
->
nonCriticalExtension
->
nonCriticalExtension
->
nonCriticalExtension
->
nonCriticalExtension
->
nonCriticalExtension
->
scg_ConfigResponseNR_r15
!=
NULL
)
{
dedicated_DRB
=
-
1
;
/* put a value that does not run anything below */
ue_context_p
->
ue_context
.
Status
=
RRC_NR_NSA_RECONFIGURED
;
/*Trigger E-RAB Modification Indication */
rrc_eNB_send_E_RAB_Modification_Indication
(
ctxt_pP
,
ue_context_p
);
...
...
openair3/S1AP/s1ap_eNB_encoder.c
View file @
fd571e90
...
...
@@ -137,6 +137,8 @@ int s1ap_eNB_encode_initiating(S1AP_S1AP_PDU_t *pdu,
res
=
asn_encode_to_new_buffer
(
NULL
,
ATS_ALIGNED_CANONICAL_PER
,
&
asn_DEF_S1AP_S1AP_PDU
,
pdu
);
*
buffer
=
res
.
buffer
;
*
len
=
res
.
result
.
encoded
;
if
(
res
.
result
.
encoded
==
-
1
)
return
-
1
;
return
0
;
}
...
...
@@ -189,6 +191,8 @@ int s1ap_eNB_encode_successfull_outcome(S1AP_S1AP_PDU_t *pdu,
res
=
asn_encode_to_new_buffer
(
NULL
,
ATS_ALIGNED_CANONICAL_PER
,
&
asn_DEF_S1AP_S1AP_PDU
,
pdu
);
*
buffer
=
res
.
buffer
;
*
len
=
res
.
result
.
encoded
;
if
(
res
.
result
.
encoded
==
-
1
)
return
-
1
;
return
0
;
}
...
...
@@ -218,5 +222,7 @@ int s1ap_eNB_encode_unsuccessfull_outcome(S1AP_S1AP_PDU_t *pdu,
res
=
asn_encode_to_new_buffer
(
NULL
,
ATS_ALIGNED_CANONICAL_PER
,
&
asn_DEF_S1AP_S1AP_PDU
,
pdu
);
*
buffer
=
res
.
buffer
;
*
len
=
res
.
result
.
encoded
;
if
(
res
.
result
.
encoded
==
-
1
)
return
-
1
;
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