Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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 UE
Commits
4af5f60c
Commit
4af5f60c
authored
Jul 30, 2014
by
Raymond Knopp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@5627
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
ae4ceb35
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+4
-3
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+5
-4
openair2/RRC/LITE/MESSAGES/asn1_msg.c
openair2/RRC/LITE/MESSAGES/asn1_msg.c
+2
-2
No files found.
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
4af5f60c
...
...
@@ -140,10 +140,10 @@ uint8_t find_active_UEs(module_id_t module_idP){
if
(((
rnti
=
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
rnti
)
!=
0
)
&&
(
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
ul_active
==
TRUE
)){
if
(
mac_xface
->
get_eNB_UE_stats
(
module_idP
,
rnti
)
!=
NULL
){
// check at the phy enb_ue state for this rnti
nb_active_ue
++
;
nb_active_ue
++
;
}
else
{
// this ue is removed at the phy => remove it at the mac as well
mac_remove_ue
(
module_idP
,
ue_mod_id
);
mac_remove_ue
(
module_idP
,
ue_mod_id
);
}
}
}
...
...
@@ -239,7 +239,8 @@ void SR_indication(module_id_t enb_mod_idP, frame_t frameP, rnti_t rntiP, sub_fr
eNB_mac_inst
[
enb_mod_idP
].
UE_template
[
ue_mod_id
].
ul_active
=
TRUE
;
}
else
{
// AssertFatal(0, "find_UE_id(%u,rnti %d) not found", enb_mod_idP, rntiP);
AssertError
(
0
,
0
,
"Frame %d: find_UE_id(%u,rnti %d) not found
\n
"
,
frameP
,
enb_mod_idP
,
rntiP
);
// AssertError(0, 0, "Frame %d: find_UE_id(%u,rnti %d) not found\n", frameP, enb_mod_idP, rntiP);
LOG_D
(
MAC
,
"[eNB %d][SR %x] Frame %d subframeP %d Signaling SR for UE %d (unknown UEid)
\n
"
,
enb_mod_idP
,
rntiP
,
frameP
,
subframeP
,
ue_mod_id
);
}
}
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
4af5f60c
...
...
@@ -293,6 +293,7 @@ void schedule_ulsch_rnti(module_id_t module_idP,
uint32_t
buffer_occupancy
;
uint32_t
tmp_bsr
;
uint32_t
cqi_req
,
cshift
,
ndi
,
mcs
,
rballoc
;
int
rvidx_tab
[
4
]
=
{
0
,
3
,
1
,
2
};
for
(
ue_mod_id
=
0
;
ue_mod_id
<
granted_UEs
&&
(
*
nCCE_available
>
(
1
<<
aggregation
));
ue_mod_id
++
)
{
...
...
@@ -346,7 +347,7 @@ void schedule_ulsch_rnti(module_id_t module_idP,
if
(
round
>
0
)
{
ndi
=
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
oldNDI_UL
[
harq_pid
];
mcs
=
(
r
ound
&
3
)
+
28
;
//not correct for round==4!
mcs
=
(
r
vidx_tab
[
round
&
3
])
+
29
;
//not correct for round==4!
}
else
{
ndi
=
1
-
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
oldNDI_UL
[
harq_pid
];
...
...
@@ -461,14 +462,14 @@ void schedule_ulsch_rnti(module_id_t module_idP,
}
// ndi==1
else
{
//we schedule a retransmission
LOG_I
(
MAC
,
"[eNB %d][PUSCH %d/%x] Frame %d subframeP %d Scheduled UE retransmission (mcs %d, first rb %d, nb_rb %d, TBS %d, harq_pid %d)
\n
"
,
module_idP
,
ue_mod_
id
,
rnti
,
frameP
,
subframeP
,
mcs
,
module_idP
,
harq_p
id
,
rnti
,
frameP
,
subframeP
,
mcs
,
*
first_rb
,
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
nb_rb_ul
[
harq_pid
],
mac_xface
->
get_TBS_UL
(
mcs
,
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
nb_rb_ul
[
harq_pid
]),
harq_pid
);
rballoc
=
mac_xface
->
computeRIV
(
mac_xface
->
lte_frame_parms
->
N_RB_UL
,
*
first_rb
,
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
nb_rb_ul
[
harq_pid
]);
*
first_rb
,
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
nb_rb_ul
[
harq_pid
]);
*
first_rb
+=
eNB_mac_inst
[
module_idP
].
UE_template
[
ue_mod_id
].
nb_rb_ul
[
harq_pid
];
// increment for next UE allocation
}
...
...
openair2/RRC/LITE/MESSAGES/asn1_msg.c
View file @
4af5f60c
...
...
@@ -899,8 +899,8 @@ uint8_t do_SIB23(uint8_t Mod_id,
(
*
sib2
)
->
radioResourceConfigCommon
.
prach_Config
.
prach_ConfigInfo
.
prach_FreqOffset
=
2
;
// PDSCH-Config
#ifdef EXMIMO
(
*
sib2
)
->
radioResourceConfigCommon
.
pdsch_ConfigCommon
.
referenceSignalPower
=-
32
;
#ifdef EXMIMO
// This corresponds to raw output of ExpressMIMO2 v2
(
*
sib2
)
->
radioResourceConfigCommon
.
pdsch_ConfigCommon
.
referenceSignalPower
=-
24
;
#else
(
*
sib2
)
->
radioResourceConfigCommon
.
pdsch_ConfigCommon
.
referenceSignalPower
=
15
;
#endif
...
...
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