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
84d511e4
Commit
84d511e4
authored
Oct 03, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5837
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
4eedd587
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
12 deletions
+17
-12
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+2
-2
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+11
-6
openair2/LAYER2/MAC/pre_processor.c
openair2/LAYER2/MAC/pre_processor.c
+2
-2
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+2
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
84d511e4
...
...
@@ -183,9 +183,9 @@ void eNB_dlsch_ulsch_scheduler(module_id_t module_idP,uint8_t cooperation_flag,
}
//if (subframeP%5 == 0)
#ifdef EXMIMO
//
#ifdef EXMIMO
pdcp_run
(
frameP
,
1
,
0
,
module_idP
);
#endif
//
#endif
// check HO
rrc_rx_tx
(
module_idP
,
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
84d511e4
...
...
@@ -590,6 +590,10 @@ void schedule_ulsch_rnti(module_id_t module_idP,
// loop over all active UEs
for
(
UE_id
=
UE_list
->
head_ul
;
UE_id
>=
0
;
UE_id
=
UE_list
->
next_ul
[
UE_id
])
{
// don't schedule if Msg4 is not received yet
if
(
UE_list
->
UE_template
[
UE_PCCID
(
module_idP
,
UE_id
)][
UE_id
].
configured
==
FALSE
)
continue
;
rnti
=
UE_RNTI
(
module_idP
,
UE_id
);
if
(
rnti
==
0
)
{
LOG_W
(
MAC
,
"[eNB %d] frame %d subfarme %d, UE %d CC %d: no RNTI
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
CC_id
);
...
...
@@ -603,11 +607,11 @@ void schedule_ulsch_rnti(module_id_t module_idP,
frame_parms
=
mac_xface
->
get_lte_frame_parms
(
module_idP
,
CC_id
);
eNB_UE_stats
=
mac_xface
->
get_eNB_UE_stats
(
module_idP
,
CC_id
,
rnti
);
if
(
eNB_UE_stats
==
NULL
){
LOG_W
(
MAC
,
"[eNB %d] frame %d subf
ar
me %d, UE %d CC %d: no PHY context
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
CC_id
);
LOG_W
(
MAC
,
"[eNB %d] frame %d subf
ra
me %d, UE %d CC %d: no PHY context
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
CC_id
);
continue
;
// mac_xface->macphy_exit("[MAC][eNB] Cannot find eNB_UE_stats\n");
}
if
(
nCCE_available
[
CC_id
]
<
(
1
<<
aggregation
)){
LOG_W
(
MAC
,
"[eNB %d] frame %d subf
ar
me %d, UE %d CC %d: not enough nCCE
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
CC_id
);
LOG_W
(
MAC
,
"[eNB %d] frame %d subf
ra
me %d, UE %d CC %d: not enough nCCE
\n
"
,
module_idP
,
frameP
,
subframeP
,
UE_id
,
CC_id
);
continue
;
// break;
}
...
...
@@ -628,6 +632,7 @@ void schedule_ulsch_rnti(module_id_t module_idP,
module_idP
,
frameP
,
subframeP
,
UE_id
,
CC_id
,
harq_pid
,
round
,
nCCE
[
CC_id
],
rnti
,
mode_string
[
eNB_UE_stats
->
mode
]);
#ifndef EXMIMO_IOT
if
(((
UE_is_to_be_scheduled
(
module_idP
,
CC_id
,
UE_id
)
>
0
))
||
(
round
>
0
)
||
((
frameP
%
10
)
==
0
))
// if there is information on bsr of DCCH, DTCH or if there is UL_SR, or if there is a packet to retransmit, or we want to schedule a periodic feedback every 10 frames
...
...
@@ -639,18 +644,18 @@ void schedule_ulsch_rnti(module_id_t module_idP,
UE_template
->
ul_SR
=
0
;
aggregation
=
process_ue_cqi
(
module_idP
,
UE_id
);
// =2 by default!!
status
=
mac_get_rrc_status
(
module_idP
,
1
,
UE_id
);
cqi_req
=
(
status
<
RRC_CONNECTED
)
?
0
:
1
;
cqi_req
=
0
;
//
(status < RRC_CONNECTED)? 0:1;
// new transmission
if
(
round
==
0
)
{
ndi
=
1
-
UE_template
->
oldNDI_UL
[
harq_pid
];
UE_template
->
oldNDI_UL
[
harq_pid
]
=
ndi
;
mcs
=
cmin
(
UE_template
->
pre_assigned_mcs_ul
,
openair_daq_vars
.
target_ue_ul_mcs
);
// adjust, based on user-defined MCS
mcs
=
10
;
//
cmin (UE_template->pre_assigned_mcs_ul, openair_daq_vars.target_ue_ul_mcs); // adjust, based on user-defined MCS
if
(
UE_template
->
pre_allocated_rb_table_index_ul
>=
0
)
rb_table_index
=
UE_template
->
pre_allocated_rb_table_index_ul
;
else
{
// NN-->RK: check this condition
mcs
=
5
;
rb_table_index
=
1
;
// for PHR
mcs
=
10
;
rb_table_index
=
5
;
// for PHR
}
buffer_occupancy
=
UE_template
->
ul_total_buffer
;
...
...
openair2/LAYER2/MAC/pre_processor.c
View file @
84d511e4
...
...
@@ -913,8 +913,8 @@ void assign_max_mcs_min_rb(module_id_t module_idP,int frameP, sub_frame_t subfra
uint16_t
n
,
UE_id
;
uint8_t
CC_id
;
rnti_t
rnti
=
-
1
;
int
mcs
=
cmin
(
16
,
openair_daq_vars
.
target_ue_ul_mcs
);
int
rb_table_index
=
1
,
tbs
,
tx_power
;
int
mcs
=
10
;
//
cmin(16,openair_daq_vars.target_ue_ul_mcs);
int
rb_table_index
=
0
,
tbs
,
tx_power
;
UE_list_t
*
UE_list
=
&
eNB_mac_inst
[
module_idP
].
UE_list
;
UE_TEMPLATE
*
UE_template
;
LTE_DL_FRAME_PARMS
*
frame_parms
;
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
84d511e4
...
...
@@ -740,8 +740,8 @@ uint8_t do_SIB23(uint8_t Mod_id,
// uplinkPowerControlCommon
#ifdef EXMIMO
(
*
sib2
)
->
radioResourceConfigCommon
.
uplinkPowerControlCommon
.
p0_NominalPUSCH
=
-
9
8
;
//-90;
(
*
sib2
)
->
radioResourceConfigCommon
.
uplinkPowerControlCommon
.
p0_NominalPUCCH
=
-
9
8
;
//-96;
(
*
sib2
)
->
radioResourceConfigCommon
.
uplinkPowerControlCommon
.
p0_NominalPUSCH
=
-
9
0
;
//-90;
(
*
sib2
)
->
radioResourceConfigCommon
.
uplinkPowerControlCommon
.
p0_NominalPUCCH
=
-
9
6
;
//-96;
#else
(
*
sib2
)
->
radioResourceConfigCommon
.
uplinkPowerControlCommon
.
p0_NominalPUSCH
=
-
108
;
(
*
sib2
)
->
radioResourceConfigCommon
.
uplinkPowerControlCommon
.
p0_NominalPUCCH
=
-
108
;
...
...
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