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
Michael Black
OpenXG-RAN
Commits
ad859ddf
Commit
ad859ddf
authored
Nov 16, 2017
by
Xu Bo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modify for ue expansion
parent
34bc0877
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
openair1/PHY/impl_defs_lte.h
openair1/PHY/impl_defs_lte.h
+2
-1
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+2
-0
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+4
-4
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+1
-1
No files found.
openair1/PHY/impl_defs_lte.h
View file @
ad859ddf
...
@@ -635,8 +635,9 @@ typedef struct {
...
@@ -635,8 +635,9 @@ typedef struct {
uint16_t
phich_reg
[
MAX_NUM_PHICH_GROUPS
][
3
];
uint16_t
phich_reg
[
MAX_NUM_PHICH_GROUPS
][
3
];
struct
MBSFN_SubframeConfig
*
mbsfn_SubframeConfig
[
MAX_MBSFN_AREA
];
struct
MBSFN_SubframeConfig
*
mbsfn_SubframeConfig
[
MAX_MBSFN_AREA
];
#ifdef UE_EXPANSION
uint32_t
ue_multiple_max
;
uint32_t
ue_multiple_max
;
#endif
}
LTE_DL_FRAME_PARMS
;
}
LTE_DL_FRAME_PARMS
;
typedef
enum
{
typedef
enum
{
...
...
openair2/COMMON/rrc_messages_types.h
View file @
ad859ddf
...
@@ -166,7 +166,9 @@ typedef struct RrcConfigurationReq_s {
...
@@ -166,7 +166,9 @@ typedef struct RrcConfigurationReq_s {
long
ue_TimersAndConstants_n310
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_n310
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_n311
[
MAX_NUM_CCs
];
long
ue_TimersAndConstants_n311
[
MAX_NUM_CCs
];
long
ue_TransmissionMode
[
MAX_NUM_CCs
];
long
ue_TransmissionMode
[
MAX_NUM_CCs
];
#ifdef UE_EXPANSION
long
ue_multiple_max
[
MAX_NUM_CCs
];
long
ue_multiple_max
[
MAX_NUM_CCs
];
#endif
}
RrcConfigurationReq
;
}
RrcConfigurationReq
;
// UE: NAS -> RRC messages
// UE: NAS -> RRC messages
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
ad859ddf
...
@@ -2029,7 +2029,7 @@ void ulsch_scheduler_pre_ue_select(
...
@@ -2029,7 +2029,7 @@ void ulsch_scheduler_pre_ue_select(
UE_list_t
*
UE_list
=
&
eNB
->
UE_list
;
UE_list_t
*
UE_list
=
&
eNB
->
UE_list
;
uint8_t
aggregation
=
4
;
uint8_t
aggregation
=
2
;
int
format_flag
;
int
format_flag
;
nfapi_hi_dci0_request_body_t
*
HI_DCI0_req
;
nfapi_hi_dci0_request_body_t
*
HI_DCI0_req
;
nfapi_hi_dci0_request_pdu_t
*
hi_dci0_pdu
;
nfapi_hi_dci0_request_pdu_t
*
hi_dci0_pdu
;
...
@@ -2137,7 +2137,7 @@ void ulsch_scheduler_pre_ue_select(
...
@@ -2137,7 +2137,7 @@ void ulsch_scheduler_pre_ue_select(
hi_dci0_pdu
=
&
HI_DCI0_req
->
hi_dci0_pdu_list
[
HI_DCI0_req
->
number_of_dci
+
HI_DCI0_req
->
number_of_hi
];
hi_dci0_pdu
=
&
HI_DCI0_req
->
hi_dci0_pdu_list
[
HI_DCI0_req
->
number_of_dci
+
HI_DCI0_req
->
number_of_hi
];
format_flag
=
2
;
format_flag
=
2
;
rnti
=
UE_RNTI
(
module_idP
,
UE_id
);
rnti
=
UE_RNTI
(
module_idP
,
first_ue_id
[
CC_id
][
temp
]
);
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
cc_id_flag
[
CC_id
]
=
1
;
cc_id_flag
[
CC_id
]
=
1
;
break
;
break
;
...
@@ -2220,7 +2220,7 @@ void ulsch_scheduler_pre_ue_select(
...
@@ -2220,7 +2220,7 @@ void ulsch_scheduler_pre_ue_select(
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
for
(
CC_id
=
0
;
CC_id
<
MAX_NUM_CCs
;
CC_id
++
)
{
HI_DCI0_req
=
&
eNB
->
HI_DCI0_req
[
CC_id
].
hi_dci0_request_body
;
HI_DCI0_req
=
&
eNB
->
HI_DCI0_req
[
CC_id
].
hi_dci0_request_body
;
for
(
int
temp
=
0
;
temp
<
u
e_first
_num
[
CC_id
];
temp
++
)
{
for
(
int
temp
=
0
;
temp
<
u
l_inactivity
_num
[
CC_id
];
temp
++
)
{
if
(
(
ulsch_ue_select
[
CC_id
].
ue_num
>=
ulsch_ue_max_num
[
CC_id
])
||
(
cc_id_flag
[
CC_id
]
==
1
)
)
{
if
(
(
ulsch_ue_select
[
CC_id
].
ue_num
>=
ulsch_ue_max_num
[
CC_id
])
||
(
cc_id_flag
[
CC_id
]
==
1
)
)
{
HI_DCI0_req
=
&
eNB
->
HI_DCI0_req
[
CC_id
].
hi_dci0_request_body
;
HI_DCI0_req
=
&
eNB
->
HI_DCI0_req
[
CC_id
].
hi_dci0_request_body
;
cc_id_flag
[
CC_id
]
=
1
;
cc_id_flag
[
CC_id
]
=
1
;
...
@@ -2229,7 +2229,7 @@ void ulsch_scheduler_pre_ue_select(
...
@@ -2229,7 +2229,7 @@ void ulsch_scheduler_pre_ue_select(
hi_dci0_pdu
=
&
HI_DCI0_req
->
hi_dci0_pdu_list
[
HI_DCI0_req
->
number_of_dci
+
HI_DCI0_req
->
number_of_hi
];
hi_dci0_pdu
=
&
HI_DCI0_req
->
hi_dci0_pdu_list
[
HI_DCI0_req
->
number_of_dci
+
HI_DCI0_req
->
number_of_hi
];
format_flag
=
2
;
format_flag
=
2
;
rnti
=
UE_RNTI
(
module_idP
,
UE_id
);
rnti
=
UE_RNTI
(
module_idP
,
ul_inactivity_id
[
CC_id
][
temp
]
);
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
if
(
CCE_allocation_infeasible
(
module_idP
,
CC_id
,
format_flag
,
subframeP
,
aggregation
,
rnti
)
==
1
)
{
cc_id_flag
[
CC_id
]
=
1
;
cc_id_flag
[
CC_id
]
=
1
;
return
;
return
;
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
ad859ddf
...
@@ -230,7 +230,7 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich
...
@@ -230,7 +230,7 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich
AssertFatal
(
phich_Resource
<=
PHICH_Config__phich_Resource_two
,
"Illegal phich_Resource
\n
"
);
AssertFatal
(
phich_Resource
<=
PHICH_Config__phich_Resource_two
,
"Illegal phich_Resource
\n
"
);
mib
->
message
.
phich_Config
.
phich_Resource
=
phich_Resource
;
mib
->
message
.
phich_Config
.
phich_Resource
=
phich_Resource
;
AssertFatal
(
phich_
Resource
<=
PHICH_Config__phich_Duration_extended
,
"Illegal phich_Duration
\n
"
);
AssertFatal
(
phich_
duration
<=
PHICH_Config__phich_Duration_extended
,
"Illegal phich_Duration
\n
"
);
mib
->
message
.
phich_Config
.
phich_Duration
=
phich_duration
;
mib
->
message
.
phich_Config
.
phich_Duration
=
phich_duration
;
LOG_I
(
RRC
,
"[MIB] systemBandwidth %x, phich_duration %x, phich_resource %x,sfn %x
\n
"
,
LOG_I
(
RRC
,
"[MIB] systemBandwidth %x, phich_duration %x, phich_resource %x,sfn %x
\n
"
,
(
uint32_t
)
mib
->
message
.
dl_Bandwidth
,
(
uint32_t
)
mib
->
message
.
dl_Bandwidth
,
...
...
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