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
1b4ae8fb
Commit
1b4ae8fb
authored
Dec 01, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfixes_w48' into develop
parents
7489644c
4526622b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
openair2/LAYER2/MAC/eNB_scheduler.c
openair2/LAYER2/MAC/eNB_scheduler.c
+5
-5
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
+8
-5
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
+3
-3
No files found.
openair2/LAYER2/MAC/eNB_scheduler.c
View file @
1b4ae8fb
...
@@ -352,17 +352,17 @@ schedule_SR(module_id_t module_idP, frame_t frameP, sub_frame_t subframeP)
...
@@ -352,17 +352,17 @@ schedule_SR(module_id_t module_idP, frame_t frameP, sub_frame_t subframeP)
ul_req
=
ul_req
=
&
RC
.
mac
[
module_idP
]
->
UL_req
[
CC_id
].
ul_config_request_body
;
&
RC
.
mac
[
module_idP
]
->
UL_req
[
CC_id
].
ul_config_request_body
;
// drop the allocation if the UE hasn't send RRCConnectionSetupComplete yet
if
(
mac_eNB_get_rrc_status
(
module_idP
,
UE_RNTI
(
module_idP
,
UE_id
))
<
RRC_CONNECTED
)
continue
;
AssertFatal
(
UE_list
->
AssertFatal
(
UE_list
->
UE_template
[
CC_id
][
UE_id
].
physicalConfigDedicated
UE_template
[
CC_id
][
UE_id
].
physicalConfigDedicated
!=
NULL
,
!=
NULL
,
"physicalConfigDedicated is null for UE %d
\n
"
,
"physicalConfigDedicated is null for UE %d
\n
"
,
UE_id
);
UE_id
);
// drop the allocation if the UE hasn't send RRCConnectionSetupComplete yet
if
(
mac_eNB_get_rrc_status
(
module_idP
,
UE_RNTI
(
module_idP
,
UE_id
))
<
RRC_CONNECTED
)
continue
;
if
((
SRconfig
=
if
((
SRconfig
=
UE_list
->
UE_list
->
UE_template
[
CC_id
][
UE_id
].
physicalConfigDedicated
->
UE_template
[
CC_id
][
UE_id
].
physicalConfigDedicated
->
...
...
openair2/LAYER2/MAC/eNB_scheduler_primitives.c
View file @
1b4ae8fb
...
@@ -1349,9 +1349,14 @@ fill_nfapi_harq_information(module_id_t module_idP,
...
@@ -1349,9 +1349,14 @@ fill_nfapi_harq_information(module_id_t module_idP,
AssertFatal
(
UE_id
>=
0
,
"UE_id cannot be found, impossible
\n
"
);
AssertFatal
(
UE_id
>=
0
,
"UE_id cannot be found, impossible
\n
"
);
AssertFatal
(
UE_list
!=
NULL
,
"UE_list is null
\n
"
);
AssertFatal
(
UE_list
!=
NULL
,
"UE_list is null
\n
"
);
#if 0
/* TODO: revisit, don't use Assert, it's perfectly possible to
* have physicalConfigDedicated NULL here
*/
AssertFatal(UE_list->UE_template[CC_idP][UE_id].
AssertFatal(UE_list->UE_template[CC_idP][UE_id].
physicalConfigDedicated != NULL,
physicalConfigDedicated != NULL,
"physicalConfigDedicated for rnti %x is null\n", rntiP);
"physicalConfigDedicated for rnti %x is null\n", rntiP);
#endif
harq_information
->
harq_information_rel11
.
num_ant_ports
=
1
;
harq_information
->
harq_information_rel11
.
num_ant_ports
=
1
;
...
@@ -3588,11 +3593,9 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
...
@@ -3588,11 +3593,9 @@ extract_harq(module_id_t mod_idP, int CC_idP, int UE_id,
uint8_t
*
pdu
;
uint8_t
*
pdu
;
#ifdef Rel14
#ifdef Rel14
AssertFatal
(
UE_list
->
if
(
UE_list
->
UE_template
[
pCCid
][
UE_id
].
physicalConfigDedicated
!=
NULL
&&
UE_template
[
pCCid
][
UE_id
].
physicalConfigDedicated
->
UE_list
->
UE_template
[
pCCid
][
UE_id
].
physicalConfigDedicated
->
pucch_ConfigDedicated
!=
NULL
&&
pucch_ConfigDedicated
!=
NULL
,
(
UE_list
->
UE_template
[
pCCid
][
UE_id
].
physicalConfigDedicated
->
ext7
)
"pucch_ConfigDedicated is null!
\n
"
);
if
((
UE_list
->
UE_template
[
pCCid
][
UE_id
].
physicalConfigDedicated
->
ext7
)
&&
(
UE_list
->
UE_template
[
pCCid
][
UE_id
].
&&
(
UE_list
->
UE_template
[
pCCid
][
UE_id
].
physicalConfigDedicated
->
ext7
->
pucch_ConfigDedicated_r13
)
physicalConfigDedicated
->
ext7
->
pucch_ConfigDedicated_r13
)
&&
&&
...
...
openair2/LAYER2/MAC/eNB_scheduler_ulsch.c
View file @
1b4ae8fb
...
@@ -268,6 +268,9 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -268,6 +268,9 @@ rx_sdu(const module_id_t enb_mod_idP,
"[eNB %d] Frame %d, Subframe %d CC_id %d MAC CE_LCID %d (ce %d/%d): CRNTI %x (UE_id %d) in Msg3
\n
"
,
"[eNB %d] Frame %d, Subframe %d CC_id %d MAC CE_LCID %d (ce %d/%d): CRNTI %x (UE_id %d) in Msg3
\n
"
,
enb_mod_idP
,
frameP
,
subframeP
,
CC_idP
,
rx_ces
[
i
],
i
,
enb_mod_idP
,
frameP
,
subframeP
,
CC_idP
,
rx_ces
[
i
],
i
,
num_ce
,
old_rnti
,
old_UE_id
);
num_ce
,
old_rnti
,
old_UE_id
);
/* receiving CRNTI means that the current rnti has to go away */
cancel_ra_proc
(
enb_mod_idP
,
CC_idP
,
frameP
,
current_rnti
);
if
(
old_UE_id
!=
-
1
)
{
if
(
old_UE_id
!=
-
1
)
{
/* TODO: if the UE did random access (followed by a MAC uplink with
/* TODO: if the UE did random access (followed by a MAC uplink with
* CRNTI) because none of its scheduling request was granted, then
* CRNTI) because none of its scheduling request was granted, then
...
@@ -288,9 +291,6 @@ rx_sdu(const module_id_t enb_mod_idP,
...
@@ -288,9 +291,6 @@ rx_sdu(const module_id_t enb_mod_idP,
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
mac_eNB_rrc_ul_in_sync
(
enb_mod_idP
,
CC_idP
,
frameP
,
subframeP
,
old_rnti
);
subframeP
,
old_rnti
);
}
}
/* receiving CRNTI means that the current rnti has to go away */
cancel_ra_proc
(
enb_mod_idP
,
CC_idP
,
frameP
,
current_rnti
);
current_rnti
=
old_rnti
;
current_rnti
=
old_rnti
;
}
}
crnti_rx
=
1
;
crnti_rx
=
1
;
...
...
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