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
8ec2f370
Commit
8ec2f370
authored
Aug 16, 2017
by
mohamed.said
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added frequncy hopping config in do_SIB23 - ready to test
parent
defe1ece
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
309 additions
and
1 deletion
+309
-1
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+14
-0
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+147
-0
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+131
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
...JECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
+17
-0
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
8ec2f370
...
...
@@ -271,6 +271,20 @@ typedef struct RrcConfigurationReq_s {
long
*
pucch_NumRepetitionCE_Msg4_Level3_r13
[
MAX_NUM_CCs
];
bool
sib2_freq_hoppingParameters_r13_exists
[
MAX_NUM_CCs
];
long
*
sib2_mpdcch_pdsch_hoppingNB_r13
[
MAX_NUM_CCs
];
long
*
sib2_interval_DLHoppingConfigCommonModeA_r13
[
MAX_NUM_CCs
];
long
sib2_interval_DLHoppingConfigCommonModeA_r13_val
[
MAX_NUM_CCs
];
long
*
sib2_interval_DLHoppingConfigCommonModeB_r13
[
MAX_NUM_CCs
];
long
sib2_interval_DLHoppingConfigCommonModeB_r13_val
[
MAX_NUM_CCs
];
long
*
sib2_interval_ULHoppingConfigCommonModeA_r13
[
MAX_NUM_CCs
];
long
sib2_interval_ULHoppingConfigCommonModeA_r13_val
[
MAX_NUM_CCs
];
long
*
sib2_interval_ULHoppingConfigCommonModeB_r13
[
MAX_NUM_CCs
];
long
sib2_interval_ULHoppingConfigCommonModeB_r13_val
[
MAX_NUM_CCs
];
long
*
sib2_mpdcch_pdsch_hoppingOffset_r13
[
MAX_NUM_CCs
];
#endif
}
RrcConfigurationReq
;
...
...
openair2/ENB_APP/enb_config.c
View file @
8ec2f370
This diff is collapsed.
Click to expand it.
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
8ec2f370
...
...
@@ -1201,7 +1201,137 @@ uint8_t do_SIB23(uint8_t Mod_id,
}
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
=
NULL
;
if
(
configuration
->
sib2_freq_hoppingParameters_r13_exists
[
CC_id
])
{
puts
(
"[DEBUGGING][KOGO][SIB23]: Structure exists"
);
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
=
CALLOC
(
1
,
sizeof
(
FreqHoppingParameters_r13_t
));
if
(
configuration
->
sib2_mpdcch_pdsch_hoppingNB_r13
[
CC_id
])
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
mpdcch_pdsch_HoppingNB_r13
=
CALLOC
(
1
,
sizeof
(
long
));
*
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
mpdcch_pdsch_HoppingNB_r13
=
*
configuration
->
sib2_mpdcch_pdsch_hoppingNB_r13
[
CC_id
];
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
mpdcch_pdsch_HoppingNB_r13
=
NULL
;
}
if
(
configuration
->
sib2_interval_DLHoppingConfigCommonModeA_r13
[
CC_id
])
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeA_r13
=
CALLOC
(
1
,
sizeof
(
struct
FreqHoppingParameters_r13__interval_DLHoppingConfigCommonModeA_r13
));
if
(
*
configuration
->
sib2_interval_DLHoppingConfigCommonModeA_r13
[
CC_id
]
==
0
)
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeA_r13
->
present
=
FreqHoppingParameters_r13__interval_DLHoppingConfigCommonModeA_r13_PR_interval_FDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeA_r13
->
choice
.
interval_FDD_r13
=
configuration
->
sib2_interval_DLHoppingConfigCommonModeA_r13_val
[
CC_id
];
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeA_r13
->
present
=
FreqHoppingParameters_r13__interval_DLHoppingConfigCommonModeA_r13_PR_interval_TDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeA_r13
->
choice
.
interval_TDD_r13
=
configuration
->
sib2_interval_DLHoppingConfigCommonModeA_r13_val
[
CC_id
];
}
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeA_r13
=
NULL
;
}
if
(
configuration
->
sib2_interval_DLHoppingConfigCommonModeB_r13
[
CC_id
])
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeB_r13
=
CALLOC
(
1
,
sizeof
(
struct
FreqHoppingParameters_r13__interval_DLHoppingConfigCommonModeB_r13
));
if
(
*
configuration
->
sib2_interval_DLHoppingConfigCommonModeB_r13
[
CC_id
]
==
0
)
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeB_r13
->
present
=
FreqHoppingParameters_r13__interval_DLHoppingConfigCommonModeB_r13_PR_interval_FDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeB_r13
->
choice
.
interval_FDD_r13
=
configuration
->
sib2_interval_DLHoppingConfigCommonModeB_r13_val
[
CC_id
];
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeB_r13
->
present
=
FreqHoppingParameters_r13__interval_DLHoppingConfigCommonModeB_r13_PR_interval_TDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeB_r13
->
choice
.
interval_TDD_r13
=
configuration
->
sib2_interval_DLHoppingConfigCommonModeB_r13_val
[
CC_id
];
}
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_DLHoppingConfigCommonModeB_r13
=
NULL
;
}
if
(
configuration
->
sib2_interval_ULHoppingConfigCommonModeA_r13
[
CC_id
])
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeA_r13
=
CALLOC
(
1
,
sizeof
(
struct
FreqHoppingParameters_r13__interval_ULHoppingConfigCommonModeA_r13
));
if
(
*
configuration
->
sib2_interval_ULHoppingConfigCommonModeA_r13
[
CC_id
]
==
0
)
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeA_r13
->
present
=
FreqHoppingParameters_r13__interval_ULHoppingConfigCommonModeA_r13_PR_interval_FDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeA_r13
->
choice
.
interval_FDD_r13
=
configuration
->
sib2_interval_ULHoppingConfigCommonModeA_r13_val
[
CC_id
];
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeA_r13
->
present
=
FreqHoppingParameters_r13__interval_ULHoppingConfigCommonModeA_r13_PR_interval_TDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeA_r13
->
choice
.
interval_TDD_r13
=
configuration
->
sib2_interval_ULHoppingConfigCommonModeA_r13_val
[
CC_id
];
}
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeA_r13
=
NULL
;
}
if
(
configuration
->
sib2_interval_ULHoppingConfigCommonModeB_r13
[
CC_id
])
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeB_r13
=
CALLOC
(
1
,
sizeof
(
struct
FreqHoppingParameters_r13__interval_ULHoppingConfigCommonModeB_r13
));
if
(
*
configuration
->
sib2_interval_ULHoppingConfigCommonModeB_r13
[
CC_id
]
==
0
)
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeB_r13
->
present
=
FreqHoppingParameters_r13__interval_ULHoppingConfigCommonModeB_r13_PR_interval_FDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeB_r13
->
choice
.
interval_FDD_r13
=
configuration
->
sib2_interval_ULHoppingConfigCommonModeB_r13_val
[
CC_id
];
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeB_r13
->
present
=
FreqHoppingParameters_r13__interval_ULHoppingConfigCommonModeB_r13_PR_interval_TDD_r13
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeB_r13
->
choice
.
interval_TDD_r13
=
configuration
->
sib2_interval_ULHoppingConfigCommonModeB_r13_val
[
CC_id
];
}
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
interval_ULHoppingConfigCommonModeB_r13
=
NULL
;
}
if
(
configuration
->
sib2_mpdcch_pdsch_hoppingOffset_r13
[
CC_id
])
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
mpdcch_pdsch_HoppingOffset_r13
=
CALLOC
(
1
,
sizeof
(
long
));
*
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
mpdcch_pdsch_HoppingOffset_r13
=
*
configuration
->
sib2_mpdcch_pdsch_hoppingOffset_r13
[
CC_id
];
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
->
mpdcch_pdsch_HoppingOffset_r13
=
NULL
;
}
}
else
{
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
freqHoppingParameters_r13
=
NULL
;
}
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
pdsch_ConfigCommon_v1310
=
NULL
;
(
*
sib2
)
->
radioResourceConfigCommon
.
ext4
->
pusch_ConfigCommon_v1310
=
NULL
;
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band13.tm1.50PRB.emtc.conf
View file @
8ec2f370
...
...
@@ -205,6 +205,23 @@ eNBs =
#pucch_NumRepetitionCE_Msg4_Level2_r13 = 2;
#pucch_NumRepetitionCE_Msg4_Level3_r13 = 3;
sib2_freq_hoppingParameters_r13
:
{
sib2_mpdcch_pdsch_hoppingNB_r13
=
1
;
sib2_interval_DLHoppingConfigCommonModeA_r13
=
2
;
# choice -> (0, FDD) (1, TDD)
sib2_interval_DLHoppingConfigCommonModeA_r13_val
=
3
;
sib2_interval_DLHoppingConfigCommonModeB_r13
=
4
;
# choice -> (0, FDD) (1, TDD)
sib2_interval_DLHoppingConfigCommonModeB_r13_val
=
5
;
sib2_interval_ULHoppingConfigCommonModeA_r13
=
6
;
# choice -> (0, FDD) (1, TDD)
sib2_interval_ULHoppingConfigCommonModeA_r13_val
=
7
;
sib2_interval_ULHoppingConfigCommonModeB_r13
=
8
;
# choice -> (0, FDD) (1, TDD)
sib2_interval_ULHoppingConfigCommonModeB_r13_val
=
9
;
sib2_mpdcch_pdsch_hoppingOffset_r13
=
10
;
}
mpdcch_startSF_CSS_RA_r13
=
"fdd-r13"
mpdcch_startSF_CSS_RA_r13_val
=
5
;
...
...
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