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
40add2d5
Commit
40add2d5
authored
Jan 06, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/various-fixes-2016-w50' into develop_integration_wk01
parents
4f235bb8
3f4a993e
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
25 deletions
+38
-25
cmake_targets/CMakeLists.txt
cmake_targets/CMakeLists.txt
+1
-1
openair1/PHY/LTE_TRANSPORT/dci_tools.c
openair1/PHY/LTE_TRANSPORT/dci_tools.c
+0
-6
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
+18
-3
openair2/ENB_APP/enb_config.c
openair2/ENB_APP/enb_config.c
+1
-1
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
+13
-12
openair2/RRC/LITE/rrc_eNB_S1AP.c
openair2/RRC/LITE/rrc_eNB_S1AP.c
+5
-2
No files found.
cmake_targets/CMakeLists.txt
View file @
40add2d5
...
@@ -1691,7 +1691,7 @@ endif()
...
@@ -1691,7 +1691,7 @@ endif()
# Atlas is required by some packages, but not found in pkg-config
# Atlas is required by some packages, but not found in pkg-config
if
(
EXISTS
"/usr/include/atlas/cblas.h"
)
if
(
EXISTS
"/usr/include/atlas/cblas.h"
)
include_directories
(
"/usr/include/atlas"
)
include_directories
(
"/usr/include/atlas"
)
list
(
APPEND ATLAS_LIBRARIES
lapack cblas atlas
)
list
(
APPEND ATLAS_LIBRARIES
cblas atlas lapack
)
else
()
else
()
message
(
"No Blas/Atlas libs found, some targets will fail"
)
message
(
"No Blas/Atlas libs found, some targets will fail"
)
endif
()
endif
()
...
...
openair1/PHY/LTE_TRANSPORT/dci_tools.c
View file @
40add2d5
...
@@ -1270,12 +1270,6 @@ int generate_eNB_dlsch_params_from_dci(int frame,
...
@@ -1270,12 +1270,6 @@ int generate_eNB_dlsch_params_from_dci(int frame,
dlsch0_harq
->
TBS
=
TBStable
[
get_I_TBS
(
dlsch0_harq
->
mcs
)][
NPRB
-
1
];
dlsch0_harq
->
TBS
=
TBStable
[
get_I_TBS
(
dlsch0_harq
->
mcs
)][
NPRB
-
1
];
}
}
else
{
LOG_E
(
PHY
,
"DL Received HarqReTx round=%d mcs=%d rballoc=%d rv=%d
\n
"
,
dlsch0_harq
->
round
,
mcs
,
rballoc
,
rv
);
}
dlsch
[
0
]
->
current_harq_pid
=
harq_pid
;
dlsch
[
0
]
->
current_harq_pid
=
harq_pid
;
dlsch
[
0
]
->
harq_ids
[
subframe
]
=
harq_pid
;
dlsch
[
0
]
->
harq_ids
[
subframe
]
=
harq_pid
;
...
...
openair1/PHY/LTE_TRANSPORT/ulsch_decoding.c
View file @
40add2d5
...
@@ -1440,7 +1440,7 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
...
@@ -1440,7 +1440,7 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
j2
+=
Q_m
;
j2
+=
Q_m
;
}
}
/* To be improved according to alignment of j2
#if defined(__x86_64__)||defined(__i386__)
#if defined(__x86_64__)||defined(__i386__)
#ifndef __AVX2__
#ifndef __AVX2__
for (iprime=0; iprime<G;iprime+=8,j2+=8)
for (iprime=0; iprime<G;iprime+=8,j2+=8)
...
@@ -1453,7 +1453,22 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
...
@@ -1453,7 +1453,22 @@ unsigned int ulsch_decoding(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,
for (iprime=0; iprime<G;iprime+=8,j2+=8)
for (iprime=0; iprime<G;iprime+=8,j2+=8)
*((int16x8_t *)&ulsch_harq->e[iprime]) = *((int16x8_t *)&y[j2]);
*((int16x8_t *)&ulsch_harq->e[iprime]) = *((int16x8_t *)&y[j2]);
#endif
#endif
*/
int16_t
*
yp
,
*
ep
;
for
(
iprime
=
0
,
yp
=&
y
[
j2
],
ep
=&
ulsch_harq
->
e
[
0
];
iprime
<
G
;
iprime
+=
8
,
j2
+=
8
,
ep
+=
8
,
yp
+=
8
)
{
ep
[
0
]
=
yp
[
0
];
ep
[
1
]
=
yp
[
1
];
ep
[
2
]
=
yp
[
2
];
ep
[
3
]
=
yp
[
3
];
ep
[
4
]
=
yp
[
4
];
ep
[
5
]
=
yp
[
5
];
ep
[
6
]
=
yp
[
6
];
ep
[
7
]
=
yp
[
7
];
}
}
}
stop_meas
(
&
eNB
->
ulsch_demultiplexing_stats
);
stop_meas
(
&
eNB
->
ulsch_demultiplexing_stats
);
...
...
openair2/ENB_APP/enb_config.c
View file @
40add2d5
openair2/LAYER2/MAC/eNB_scheduler_dlsch.c
View file @
40add2d5
...
@@ -814,7 +814,7 @@ schedule_ue_spec(
...
@@ -814,7 +814,7 @@ schedule_ue_spec(
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
// There is DCCH to transmit
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
// There is DCCH to transmit
LOG_D
(
MAC
,
"[eNB %d] Frame %d, DL-DCCH->DLSCH CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
LOG_D
(
MAC
,
"[eNB %d] Frame %d, DL-DCCH->DLSCH CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
module_idP
,
frameP
,
CC_id
,
TBS
-
header_len_dcch
);
module_idP
,
frameP
,
CC_id
,
TBS
-
header_len_dcch
);
sdu_lengths
[
0
]
+
=
mac_rlc_data_req
(
sdu_lengths
[
0
]
=
mac_rlc_data_req
(
module_idP
,
module_idP
,
rnti
,
rnti
,
module_idP
,
module_idP
,
...
@@ -822,7 +822,7 @@ schedule_ue_spec(
...
@@ -822,7 +822,7 @@ schedule_ue_spec(
ENB_FLAG_YES
,
ENB_FLAG_YES
,
MBMS_FLAG_NO
,
MBMS_FLAG_NO
,
DCCH
,
DCCH
,
(
char
*
)
&
dlsch_buffer
[
sdu_lengths
[
0
]
]);
(
char
*
)
&
dlsch_buffer
[
0
]);
T
(
T_ENB_MAC_UE_DL_SDU
,
T_INT
(
module_idP
),
T_INT
(
CC_id
),
T_INT
(
rnti
),
T_INT
(
frameP
),
T_INT
(
subframeP
),
T
(
T_ENB_MAC_UE_DL_SDU
,
T_INT
(
module_idP
),
T_INT
(
CC_id
),
T_INT
(
rnti
),
T_INT
(
frameP
),
T_INT
(
subframeP
),
T_INT
(
harq_pid
),
T_INT
(
DCCH
),
T_INT
(
sdu_lengths
[
0
]));
T_INT
(
harq_pid
),
T_INT
(
DCCH
),
T_INT
(
sdu_lengths
[
0
]));
...
@@ -860,9 +860,10 @@ schedule_ue_spec(
...
@@ -860,9 +860,10 @@ schedule_ue_spec(
DCCH
+
1
,
DCCH
+
1
,
(
TBS
-
ta_len
-
header_len_dcch
-
sdu_length_total
));
// transport block set size less allocations for timing advance and
(
TBS
-
ta_len
-
header_len_dcch
-
sdu_length_total
));
// transport block set size less allocations for timing advance and
// DCCH SDU
// DCCH SDU
sdu_lengths
[
num_sdus
]
=
0
;
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
if
(
rlc_status
.
bytes_in_buffer
>
0
)
{
LOG_
D
(
MAC
,
"[eNB %d], Frame %d, DCCH1->DLSCH, CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
LOG_
I
(
MAC
,
"[eNB %d], Frame %d, DCCH1->DLSCH, CC_id %d, Requesting %d bytes from RLC (RRC message)
\n
"
,
module_idP
,
frameP
,
CC_id
,
TBS
-
header_len_dcch
-
sdu_length_total
);
module_idP
,
frameP
,
CC_id
,
TBS
-
header_len_dcch
-
sdu_length_total
);
sdu_lengths
[
num_sdus
]
+=
mac_rlc_data_req
(
sdu_lengths
[
num_sdus
]
+=
mac_rlc_data_req
(
module_idP
,
module_idP
,
...
@@ -872,7 +873,7 @@ schedule_ue_spec(
...
@@ -872,7 +873,7 @@ schedule_ue_spec(
ENB_FLAG_YES
,
ENB_FLAG_YES
,
MBMS_FLAG_NO
,
MBMS_FLAG_NO
,
DCCH
+
1
,
DCCH
+
1
,
(
char
*
)
&
dlsch_buffer
[
sdu_length
s
[
num_sdus
]
]);
(
char
*
)
&
dlsch_buffer
[
sdu_length
_total
]);
T
(
T_ENB_MAC_UE_DL_SDU
,
T_INT
(
module_idP
),
T_INT
(
CC_id
),
T_INT
(
rnti
),
T_INT
(
frameP
),
T_INT
(
subframeP
),
T
(
T_ENB_MAC_UE_DL_SDU
,
T_INT
(
module_idP
),
T_INT
(
CC_id
),
T_INT
(
rnti
),
T_INT
(
frameP
),
T_INT
(
subframeP
),
T_INT
(
harq_pid
),
T_INT
(
DCCH
+
1
),
T_INT
(
sdu_lengths
[
num_sdus
]));
T_INT
(
harq_pid
),
T_INT
(
DCCH
+
1
),
T_INT
(
sdu_lengths
[
num_sdus
]));
...
...
openair2/RRC/LITE/rrc_eNB_S1AP.c
View file @
40add2d5
...
@@ -774,7 +774,7 @@ rrc_eNB_process_S1AP_DOWNLINK_NAS(
...
@@ -774,7 +774,7 @@ rrc_eNB_process_S1AP_DOWNLINK_NAS(
ue_initial_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
ue_initial_id
;
ue_initial_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
ue_initial_id
;
eNB_ue_s1ap_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
eNB_ue_s1ap_id
;
eNB_ue_s1ap_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
eNB_ue_s1ap_id
;
ue_context_p
=
rrc_eNB_get_ue_context_from_s1ap_ids
(
instance
,
ue_initial_id
,
eNB_ue_s1ap_id
);
ue_context_p
=
rrc_eNB_get_ue_context_from_s1ap_ids
(
instance
,
ue_initial_id
,
eNB_ue_s1ap_id
);
srb_id
=
ue_context_p
->
ue_context
.
Srb2
.
Srb_info
.
Srb_id
;
LOG_I
(
RRC
,
"[eNB %d] Received %s: ue_initial_id %d, eNB_ue_s1ap_id %d
\n
"
,
LOG_I
(
RRC
,
"[eNB %d] Received %s: ue_initial_id %d, eNB_ue_s1ap_id %d
\n
"
,
instance
,
instance
,
...
@@ -822,6 +822,9 @@ rrc_eNB_process_S1AP_DOWNLINK_NAS(
...
@@ -822,6 +822,9 @@ rrc_eNB_process_S1AP_DOWNLINK_NAS(
}
else
{
}
else
{
PROTOCOL_CTXT_SET_BY_INSTANCE
(
&
ctxt
,
instance
,
ENB_FLAG_YES
,
ue_context_p
->
ue_context
.
rnti
,
0
,
0
);
PROTOCOL_CTXT_SET_BY_INSTANCE
(
&
ctxt
,
instance
,
ENB_FLAG_YES
,
ue_context_p
->
ue_context
.
rnti
,
0
,
0
);
srb_id
=
ue_context_p
->
ue_context
.
Srb2
.
Srb_info
.
Srb_id
;
/* Is it the first income from S1AP ? */
/* Is it the first income from S1AP ? */
if
(
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
==
0
)
{
if
(
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
==
0
)
{
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
eNB_ue_s1ap_id
;
ue_context_p
->
ue_context
.
eNB_ue_s1ap_id
=
S1AP_DOWNLINK_NAS
(
msg_p
).
eNB_ue_s1ap_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