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
alex037yang
OpenXG-RAN
Commits
10b046f5
Commit
10b046f5
authored
Feb 03, 2020
by
laurent
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge continue: take develop latest commits, fix compilation for test tools
parent
4abaa559
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
13 deletions
+21
-13
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
+1
-1
openair1/PHY/LTE_TRANSPORT/pucch.c
openair1/PHY/LTE_TRANSPORT/pucch.c
+1
-1
openair1/PHY/LTE_UE_TRANSPORT/prach_ue.c
openair1/PHY/LTE_UE_TRANSPORT/prach_ue.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+1
-1
openair1/PHY/NR_UE_TRANSPORT/nr_prach.c
openair1/PHY/NR_UE_TRANSPORT/nr_prach.c
+1
-1
openair1/PHY/TOOLS/tools_defs.h
openair1/PHY/TOOLS/tools_defs.h
+8
-0
openair1/SCHED_NR_UE/phy_frame_config_nr.c
openair1/SCHED_NR_UE/phy_frame_config_nr.c
+1
-1
openair1/SIMULATION/LTE_PHY/dlsim.c
openair1/SIMULATION/LTE_PHY/dlsim.c
+3
-3
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+1
-1
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+1
-1
openair2/LAYER2/RLC/rlc.h
openair2/LAYER2/RLC/rlc.h
+2
-2
No files found.
openair1/PHY/LTE_ESTIMATION/lte_ue_measurements.c
View file @
10b046f5
...
...
@@ -1029,7 +1029,7 @@ void lte_ue_measurements(PHY_VARS_UE *ue,
int
N_RB_DL
=
frame_parms
->
N_RB_DL
;
int
rank_tm3_tm4
;
int
rank_tm3_tm4
=-
1
;
ue
->
measurements
.
nb_antennas_rx
=
frame_parms
->
nb_antennas_rx
;
...
...
openair1/PHY/LTE_TRANSPORT/pucch.c
View file @
10b046f5
...
...
@@ -180,7 +180,7 @@ uint16_t pucchfmt3_ChannelEstimation( int16_t SubCarrierDeMapData[NB_ANTENNAS_RX
uint16_t
n3_pucch_array
[
NUMBER_OF_UE_MAX
],
uint8_t
ncs_cell
[
20
][
7
]
)
{
uint32_t
aa
,
symNo
,
k
,
slotNo
,
sym
,
i
,
j
;
int16_t
np
,
np_n
,
ip_ind
;
int16_t
np
,
np_n
,
ip_ind
=-
1
;
//int16_t npucch_sf;
int16_t
calctmp
[
2
];
int16_t
BsCshData
[
NB_ANTENNAS_RX
][
D_NSYM1SF
][
D_NSC1RB
][
2
];
...
...
openair1/PHY/LTE_UE_TRANSPORT/prach_ue.c
View file @
10b046f5
...
...
@@ -65,7 +65,7 @@ int32_t generate_prach( PHY_VARS_UE *ue, uint8_t eNB_id, uint8_t subframe, uint1
uint16_t
*
prach_root_sequence_map
;
uint16_t
preamble_offset
,
preamble_shift
;
uint16_t
preamble_index0
,
n_shift_ra
,
n_shift_ra_bar
;
uint16_t
d_start
,
numshift
;
uint16_t
d_start
=-
1
,
numshift
;
uint8_t
prach_fmt
=
get_prach_fmt
(
prach_ConfigIndex
,
frame_type
);
//uint8_t Nsp=2;
//uint8_t f_ra,t1_ra;
...
...
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
10b046f5
...
...
@@ -2070,7 +2070,7 @@ uint16_t nr_dci_format_size (PHY_VARS_NR_UE *ue,
dl_res_alloc_type_1
=
1
;
}
uint8_t
n_bits_freq_dom_res_assign_dl
=
0
,
n_dl_RGB_tmp
;
uint8_t
n_bits_freq_dom_res_assign_dl
=
0
,
n_dl_RGB_tmp
=-
1
;
if
(
dl_res_alloc_type_0
==
1
)
{
// implementation of Table 5.1.2.2.1-1 TC 38.214 subclause 6.1.2.2.1
// config1: PDSCH-Config IE contains rbg-Size ENUMERATED {config1, config2}
...
...
openair1/PHY/NR_UE_TRANSPORT/nr_prach.c
View file @
10b046f5
...
...
@@ -585,7 +585,7 @@ int32_t generate_nr_prach( PHY_VARS_NR_UE *ue, uint8_t eNB_id, uint8_t subframe,
uint16_t
*
prach_root_sequence_map
;
uint16_t
preamble_offset
,
preamble_shift
;
uint16_t
preamble_index0
,
n_shift_ra
,
n_shift_ra_bar
;
uint16_t
d_start
,
numshift
;
uint16_t
d_start
=-
1
,
numshift
;
uint16_t
prach_fmt
=
get_nr_prach_fmt
(
prach_ConfigIndex
);
//uint8_t Nsp=2;
...
...
openair1/PHY/TOOLS/tools_defs.h
View file @
10b046f5
...
...
@@ -29,6 +29,10 @@
*/
#ifdef __cplusplus
extern
"C"
{
#endif
#include <stdint.h>
#include "PHY/sse_intrin.h"
...
...
@@ -428,4 +432,8 @@ double interp(double x, double *xs, double *ys, int count);
int
write_output
(
const
char
*
fname
,
const
char
*
vname
,
void
*
data
,
int
length
,
int
dec
,
char
format
);
#ifdef __cplusplus
}
#endif
#endif //__PHY_TOOLS_DEFS__H__
openair1/SCHED_NR_UE/phy_frame_config_nr.c
View file @
10b046f5
...
...
@@ -135,7 +135,7 @@ int set_tdd_config_nr(NR_DL_FRAME_PARMS *frame_parms, int dl_UL_TransmissionPeri
void
add_tdd_dedicated_configuration_nr
(
NR_DL_FRAME_PARMS
*
frame_parms
,
int
slotIndex
,
int
nrofDownlinkSymbols
,
int
nrofUplinkSymbols
)
{
TDD_UL_DL_SlotConfig_t
*
p_TDD_UL_DL_ConfigDedicated
=
frame_parms
->
p_TDD_UL_DL_ConfigDedicated
;
TDD_UL_DL_SlotConfig_t
*
p_previous_TDD_UL_DL_ConfigDedicated
;
TDD_UL_DL_SlotConfig_t
*
p_previous_TDD_UL_DL_ConfigDedicated
=
NULL
;
int
next
=
0
;
while
(
p_TDD_UL_DL_ConfigDedicated
!=
NULL
)
{
...
...
openair1/SIMULATION/LTE_PHY/dlsim.c
View file @
10b046f5
...
...
@@ -515,7 +515,7 @@ int main(int argc, char **argv) {
char
fname
[
32
],
vname
[
32
];
FILE
*
bler_fd
;
char
bler_fname
[
256
];
FILE
*
time_meas_fd
;
FILE
*
time_meas_fd
=
NULL
;
char
time_meas_fname
[
256
];
// FILE *tikz_fd;
// char tikz_fname[256];
...
...
@@ -1446,7 +1446,7 @@ int main(int argc, char **argv) {
sched_resp
.
subframe
=
subframe
;
sched_resp
.
frame
=
proc_eNB
->
frame_tx
;
eNB
->
abstraction_flag
=
0
;
schedule_response
(
&
sched_resp
);
schedule_response
(
&
sched_resp
,
proc_eNB
);
phy_procedures_eNB_TX
(
eNB
,
proc_eNB
,
1
);
if
(
uncoded_ber_bit
==
NULL
)
{
...
...
@@ -1480,7 +1480,7 @@ int main(int argc, char **argv) {
TX_req
.
tx_request_body
.
number_of_pdus
=
0
;
proc_eNB
->
subframe_tx
=
subframe
+
1
;
sched_resp
.
subframe
=
subframe
+
1
;
schedule_response
(
&
sched_resp
);
schedule_response
(
&
sched_resp
,
proc_eNB
);
phy_procedures_eNB_TX
(
eNB
,
proc_eNB
,
0
);
ru
->
proc
.
tti_tx
=
(
subframe
+
1
)
%
10
;
feptx_prec
(
ru
,
proc_eNB
->
frame_tx
,
subframe
+
1
);
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
10b046f5
...
...
@@ -995,7 +995,7 @@ int main(int argc, char **argv) {
srs_flag
);
sched_resp
.
subframe
=
(
subframe
+
6
)
%
10
;
sched_resp
.
frame
=
(
1024
+
eNB
->
proc
.
frame_rx
+
((
subframe
<
4
)
?-
1
:
0
))
&
1023
;
schedule_response
(
&
sched_resp
);
schedule_response
(
&
sched_resp
,
proc_rxtx
);
/////////////////////
if
(
abstx
)
{
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
10b046f5
...
...
@@ -2067,7 +2067,7 @@ void nr_ue_send_sdu(module_id_t module_idP,
if
(
opt_enabled
)
{
trace_pdu
(
DIRECTION_DOWNLINK
,
pduP
,
pdu_len
,
module_idP
,
WS_C_RNTI
,
(
int
)
UE_mac_inst
[
module_idP
].
cs_RNTI
,
frameP
,
ttiP
,
0
,
0
);
//subframeP
*
UE_mac_inst
[
module_idP
].
cs_RNTI
,
frameP
,
ttiP
,
0
,
0
);
//subframeP
LOG_D
(
OPT
,
"[UE %d][DLSCH] Frame %d trace pdu for rnti %p with size %d
\n
"
,
module_idP
,
frameP
,
UE_mac_inst
[
module_idP
].
cs_RNTI
,
pdu_len
);
}
...
...
openair2/LAYER2/RLC/rlc.h
View file @
10b046f5
...
...
@@ -137,7 +137,7 @@ void (*rlc_rrc_data_ind)(
const
protocol_ctxt_t
*
const
ctxtP
,
const
rb_id_t
rb_idP
,
const
sdu_size_t
sdu_sizeP
,
const
uint8_t
*
const
sduP
);
const
uint8_t
*
const
sduP
)
__attribute__
((
aligned
(
32
)))
;
void
(
*
rlc_rrc_data_conf
)(
const
protocol_ctxt_t
*
const
ctxtP
,
...
...
@@ -250,7 +250,7 @@ logical_chan_id_t rlc_mbms_rbid2lcid_eNB[MAX_eNB][NB_RB_MBMS_MAX];
(((hash_key_t)(sESSION_ID)) << 37) | \
(((hash_key_t)(0x0000000000000001)) << 63))
hash_table_t
*
rlc_coll_p
;
hash_table_t
*
rlc_coll_p
__attribute__
((
aligned
(
32
)))
;
/*! \fn tbs_size_t mac_rlc_serialize_tb (char* bufferP, list_t transport_blocksP)
* \brief Serialize a list of transport blocks coming from RLC in order to be processed by MAC.
...
...
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