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
alex037yang
OpenXG-RAN
Commits
8e8a9bb9
Commit
8e8a9bb9
authored
Feb 19, 2019
by
masayuki.harada
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add x2handover message for tdd.
# Conflicts: # openair2/RRC/LTE/rrc_eNB.c
parent
7e81b4af
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
0 deletions
+36
-0
openair2/RRC/LTE/rrc_eNB.c
openair2/RRC/LTE/rrc_eNB.c
+36
-0
No files found.
openair2/RRC/LTE/rrc_eNB.c
View file @
8e8a9bb9
...
@@ -3622,6 +3622,33 @@ flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt
...
@@ -3622,6 +3622,33 @@ flexran_rrc_eNB_generate_defaultRRCConnectionReconfiguration(const protocol_ctxt
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
size
=
1
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
size
=
1
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
bits_unused
=
6
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
neighCellConfig
.
bits_unused
=
6
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
offsetFreq
=
NULL
;
// Default is 15 or 0dB
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
offsetFreq
=
NULL
;
// Default is 15 or 0dB
if
(
rrc_inst
->
carrier
[
0
].
sib1
->
tdd_Config
!=
NULL
)
{
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
=
CALLOC
(
1
,
sizeof
(
struct
MeasObjectEUTRA__ext1
));
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measCycleSCell_r10
=
NULL
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
=
CALLOC
(
1
,
sizeof
(
struct
MeasSubframePatternConfigNeigh_r10
));
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
present
=
MeasSubframePatternConfigNeigh_r10_PR_setup
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
present
=
MeasSubframePattern_r10_PR_subframePatternTDD_r10
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
present
=
MeasSubframePattern_r10__subframePatternTDD_r10_PR_subframeConfig1_5_r10
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
=
CALLOC
(
3
,
sizeof
(
uint8_t
));
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
size
=
3
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
bits_unused
=
4
;
switch
(
rrc_inst
->
carrier
[
0
].
sib1
->
tdd_Config
->
subframeAssignment
)
{
case
1
:
//subframe 0,4,5,9
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
[
0
]
=
0x8C
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
[
1
]
=
0x63
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
[
2
]
=
0x10
;
break
;
default:
//subframe 0 , 5
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
[
0
]
=
0x84
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
[
1
]
=
0x21
;
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
ext1
->
measSubframePatternConfigNeigh_r10
->
choice
.
setup
.
measSubframePatternNeigh_r10
.
choice
.
subframePatternTDD_r10
.
choice
.
subframeConfig1_5_r10
.
buf
[
2
]
=
0x00
;
break
;
}
}
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
cellsToAddModList
=
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
cellsToAddModList
=
(
LTE_CellsToAddModList_t
*
)
CALLOC
(
1
,
sizeof
(
*
CellsToAddModList
));
(
LTE_CellsToAddModList_t
*
)
CALLOC
(
1
,
sizeof
(
*
CellsToAddModList
));
CellsToAddModList
=
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
cellsToAddModList
;
CellsToAddModList
=
MeasObj
->
measObject
.
choice
.
measObjectEUTRA
.
cellsToAddModList
;
...
@@ -4763,7 +4790,16 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
...
@@ -4763,7 +4790,16 @@ rrc_eNB_generate_HO_RRCConnectionReconfiguration(const protocol_ctxt_t *const ct
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
ackNackRepetition
.
present
=
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
ackNackRepetition
.
present
=
LTE_PUCCH_ConfigDedicated__ackNackRepetition_PR_release
;
LTE_PUCCH_ConfigDedicated__ackNackRepetition_PR_release
;
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
ackNackRepetition
.
choice
.
release
=
0
;
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
ackNackRepetition
.
choice
.
release
=
0
;
<<<<<<<
HEAD
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
tdd_AckNackFeedbackMode
=
NULL
;
//PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode_multiplexing;
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
tdd_AckNackFeedbackMode
=
NULL
;
//PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode_multiplexing;
=======
if
(
rrc_inst
->
carrier
[
0
].
sib1
->
tdd_Config
==
NULL
)
{
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
tdd_AckNackFeedbackMode
=
NULL
;
//PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode_multiplexing;
}
else
{
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
tdd_AckNackFeedbackMode
=
CALLOC
(
1
,
sizeof
(
long
));
*
(
physicalConfigDedicated2
->
pucch_ConfigDedicated
->
tdd_AckNackFeedbackMode
)
=
PUCCH_ConfigDedicated__tdd_AckNackFeedbackMode_bundling
;
}
>>>>>>>
4295321e4
...
Add
x2handover
message
for
tdd
.
// Pusch_config_dedicated
// Pusch_config_dedicated
physicalConfigDedicated2
->
pusch_ConfigDedicated
->
betaOffset_ACK_Index
=
0
;
// 2.00
physicalConfigDedicated2
->
pusch_ConfigDedicated
->
betaOffset_ACK_Index
=
0
;
// 2.00
physicalConfigDedicated2
->
pusch_ConfigDedicated
->
betaOffset_RI_Index
=
0
;
// 1.25
physicalConfigDedicated2
->
pusch_ConfigDedicated
->
betaOffset_RI_Index
=
0
;
// 1.25
...
...
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