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
feaa8e28
Commit
feaa8e28
authored
Aug 15, 2017
by
mohamed.said
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed fdd_uplinkBitmap
parent
f0376c7e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
24 deletions
+39
-24
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+7
-7
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+12
-4
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+7
-7
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+13
-6
No files found.
openair2/COMMON/rrc_messages_types.h
View file @
feaa8e28
...
...
@@ -203,14 +203,14 @@ typedef struct RrcConfigurationReq_s {
int
scheduling_info_br_size
[
MAX_NUM_CCs
];
// end +kogo
long
si_WindowLength_BR_r13
[
MAX_NUM_CCs
];
long
si_RepetitionPattern_r13
[
MAX_NUM_CCs
];
long
si_WindowLength_BR_r13
[
MAX_NUM_CCs
];
long
si_RepetitionPattern_r13
[
MAX_NUM_CCs
];
BOOLEAN_t
*
fdd_DownlinkOrTddSubframeBitmapBR_r13
[
MAX_NUM_CCs
];
uint64_t
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
MAX_NUM_CCs
];
uint16_t
fdd_UplinkSubframeBitmapBR_r13
[
MAX_NUM_CCs
];
long
startSymbolBR_r13
[
MAX_NUM_CCs
];
long
si_HoppingConfigCommon_r13
[
MAX_NUM_CCs
];
long
*
si_ValidityTime_r13
[
MAX_NUM_CCs
];
uint64_t
fdd_DownlinkOrTddSubframeBitmapBR_val_r13
[
MAX_NUM_CCs
];
uint16_t
*
fdd_UplinkSubframeBitmapBR_r13
[
MAX_NUM_CCs
];
long
startSymbolBR_r13
[
MAX_NUM_CCs
];
long
si_HoppingConfigCommon_r13
[
MAX_NUM_CCs
];
long
*
si_ValidityTime_r13
[
MAX_NUM_CCs
];
// +kogo
long
systemInfoValueTagSi_r13
[
MAX_NUM_CCs
][
10
];
...
...
openair2/ENB_APP/enb_config.c
View file @
feaa8e28
...
...
@@ -3771,7 +3771,6 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
RRC_CONFIGURATION_REQ
(
msg_p
).
bandwidthReducedAccessRelatedInfo_r13
[
j
]
=
TRUE
;
if
(
!
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_SI_WINDOWLENGTH_BR
,
&
si_WindowLength_BR_r13
)
||
!
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_SI_REPETITIONPATTERN
,
&
si_RepetitionPattern_r13
)
||
!
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_FDD_ULSUBFRAMEBITMAPBR
,
&
fdd_UplinkSubframeBitmapBR_r13
)
||
!
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_STARTSYMBOLBR
,
&
startSymbolBR_r13
)
||
!
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_SI_HOPPINGCONFIGCOMMON
,
&
si_HoppingConfigCommon_r13
))
{
...
...
@@ -3800,10 +3799,19 @@ int RCconfig_RRC(MessageDef *msg_p, uint32_t i, eNB_RRC_INST *rrc) {
}
RRC_CONFIGURATION_REQ
(
msg_p
).
si_WindowLength_BR_r13
[
j
]
=
si_WindowLength_BR_r13
;
bool
fdd_uplink_exist
=
config_setting_lookup_int
(
setting_br13
,
ENB_CONFIG_STRING_FDD_ULSUBFRAMEBITMAPBR
,
&
fdd_UplinkSubframeBitmapBR_r13
);
if
(
fdd_uplink_exist
)
{
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_UplinkSubframeBitmapBR_r13
[
j
]
=
CALLOC
(
1
,
sizeof
(
BOOLEAN_t
));
*
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_UplinkSubframeBitmapBR_r13
[
j
]
=
fdd_UplinkSubframeBitmapBR_r13
;
}
else
{
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_UplinkSubframeBitmapBR_r13
[
j
]
=
NULL
;;
}
RRC_CONFIGURATION_REQ
(
msg_p
).
si_WindowLength_BR_r13
[
j
]
=
si_WindowLength_BR_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
si_RepetitionPattern_r13
[
j
]
=
si_RepetitionPattern_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
fdd_UplinkSubframeBitmapBR_r13
[
j
]
=
fdd_UplinkSubframeBitmapBR_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
si_HoppingConfigCommon_r13
[
j
]
=
si_HoppingConfigCommon_r13
;
RRC_CONFIGURATION_REQ
(
msg_p
).
startSymbolBR_r13
[
j
]
=
startSymbolBR_r13
;
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
feaa8e28
...
...
@@ -490,7 +490,7 @@ int mpdcch_sf_condition(eNB_MAC_INST *eNB,int CC_id, frame_t frameP,sub_frame_t
struct
PRACH_ConfigSIB_v1310
*
ext4_prach
=
eNB
->
common_channels
[
CC_id
].
radioResourceConfigCommon_BR
->
ext4
->
prach_ConfigCommon_v1310
;
EPDCCH_SetConfig_r11_t
*
epdcch_setconfig_r11
=
eNB
->
UE_list
->
UE_template
[
CC_id
][
UE_id
].
physicalConfigDedicated
->
ext4
->
epdcch_Config_r11
->
config_r11
.
choice
.
setup
.
setConfigToAddModList_r11
->
list
.
array
[
0
]
;
//
EPDCCH_SetConfig_r11_t *epdcch_setconfig_r11= eNB->UE_list ->UE_template[CC_id][UE_id].physicalConfigDedicated->ext4->epdcch_Config_r11->config_r11.choice.setup.setConfigToAddModList_r11->list.array[0] ;
int
T
;
...
...
@@ -517,13 +517,13 @@ int mpdcch_sf_condition(eNB_MAC_INST *eNB,int CC_id, frame_t frameP,sub_frame_t
AssertFatal
(
1
==
0
,
"MPDCCH Type 2A not handled yet
\n
"
);
break
;
case
TYPEUESPEC
:
AssertFatal
(
epdcch_setconfig_r11
!=
NULL
,
" epdcch_setconfig_r11 is null for UE specific
\n
"
);
AssertFatal
(
epdcch_setconfig_r11
->
ext2
!=
NULL
,
" ext2 doesn't exist in epdcch config '
\n
"
);
//
AssertFatal(epdcch_setconfig_r11 != NULL," epdcch_setconfig_r11 is null for UE specific \n");
//
AssertFatal(epdcch_setconfig_r11->ext2 != NULL," ext2 doesn't exist in epdcch config ' \n");
if
(
eNB
->
common_channels
[
CC_id
].
tdd_Config
==
NULL
)
//FDD
T
=
rmax
*
startSF_fdd_RA_times2
[
epdcch_setconfig_r11
->
ext2
->
mpdcch_config_r13
->
choice
.
setup
.
mpdcch_StartSF_UESS_r13
.
choice
.
fdd_r13
]
>>
1
;
else
//TDD
T
=
rmax
*
startSF_tdd_RA
[
epdcch_setconfig_r11
->
ext2
->
mpdcch_config_r13
->
choice
.
setup
.
mpdcch_StartSF_UESS_r13
.
choice
.
tdd_r13
];
//
if (eNB->common_channels[CC_id].tdd_Config==NULL) //FDD
//
T = rmax*startSF_fdd_RA_times2[epdcch_setconfig_r11->ext2->mpdcch_config_r13->choice.setup.mpdcch_StartSF_UESS_r13.choice.fdd_r13]>>1;
//
else //TDD
//
T = rmax*startSF_tdd_RA[epdcch_setconfig_r11->ext2->mpdcch_config_r13->choice.setup.mpdcch_StartSF_UESS_r13.choice.tdd_r13];
break
;
default:
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
feaa8e28
...
...
@@ -622,13 +622,20 @@ uint8_t do_SIB1(rrc_eNB_carrier_data_t *carrier,
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_DownlinkOrTddSubframeBitmapBR_r13
=
NULL
;
}
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
=
calloc
(
1
,
sizeof
(
BIT_STRING_t
));
memset
(
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
,
0
,
sizeof
(
BIT_STRING_t
));
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
buf
=
calloc
(
2
,
sizeof
(
uint8_t
));
memmove
(
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
buf
,
&
configuration
->
fdd_UplinkSubframeBitmapBR_r13
[
CC_id
],
if
(
configuration
->
fdd_UplinkSubframeBitmapBR_r13
[
CC_id
])
{
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
=
calloc
(
1
,
sizeof
(
BIT_STRING_t
));
memset
(
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
,
0
,
sizeof
(
BIT_STRING_t
));
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
buf
=
calloc
(
2
,
sizeof
(
uint8_t
));
memmove
(
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
buf
,
configuration
->
fdd_UplinkSubframeBitmapBR_r13
[
CC_id
],
2
*
sizeof
(
uint8_t
));
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
size
=
2
;
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
bits_unused
=
6
;
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
size
=
2
;
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
->
bits_unused
=
6
;
}
else
{
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
fdd_UplinkSubframeBitmapBR_r13
=
NULL
;
}
sib1_1310
->
bandwidthReducedAccessRelatedInfo_r13
->
startSymbolBR_r13
=
configuration
->
startSymbolBR_r13
[
CC_id
];
...
...
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