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
常顺宇
OpenXG-RAN
Commits
0bb22945
Commit
0bb22945
authored
May 12, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/bugfix_Fujitsu_reviewed' into develop
parents
2d97b777
ad6d0ac5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
25 additions
and
13 deletions
+25
-13
openair1/PHY/LTE_TRANSPORT/rar_tools.c
openair1/PHY/LTE_TRANSPORT/rar_tools.c
+1
-1
openair1/SCHED/phy_procedures_lte_eNb.c
openair1/SCHED/phy_procedures_lte_eNb.c
+1
-1
openair1/SIMULATION/ETH_TRANSPORT/multicast_link.c
openair1/SIMULATION/ETH_TRANSPORT/multicast_link.c
+2
-2
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_test.c
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_test.c
+1
-1
openair2/UTIL/OTG/otg_rx_socket.c
openair2/UTIL/OTG/otg_rx_socket.c
+1
-1
targets/SIMU/PROC/Process.c
targets/SIMU/PROC/Process.c
+11
-4
targets/SIMU/PROC/channel_sim_proc.c
targets/SIMU/PROC/channel_sim_proc.c
+7
-2
targets/SIMU/USER/oaisim_functions.c
targets/SIMU/USER/oaisim_functions.c
+1
-1
No files found.
openair1/PHY/LTE_TRANSPORT/rar_tools.c
View file @
0bb22945
...
@@ -238,7 +238,7 @@ int generate_ue_ulsch_params_from_rar(PHY_VARS_UE *ue,
...
@@ -238,7 +238,7 @@ int generate_ue_ulsch_params_from_rar(PHY_VARS_UE *ue,
ulsch
->
harq_processes
[
harq_pid
]
->
TPC
=
(
rar
[
3
]
>>
3
)
&
7
;
//rar->TPC;
ulsch
->
harq_processes
[
harq_pid
]
->
TPC
=
(
rar
[
3
]
>>
2
)
&
7
;
//rar->TPC;
rballoc
=
(((
uint16_t
)(
rar
[
1
]
&
7
))
<<
7
)
|
(
rar
[
2
]
>>
1
);
rballoc
=
(((
uint16_t
)(
rar
[
1
]
&
7
))
<<
7
)
|
(
rar
[
2
]
>>
1
);
cqireq
=
rar
[
3
]
&
1
;
cqireq
=
rar
[
3
]
&
1
;
...
...
openair1/SCHED/phy_procedures_lte_eNb.c
View file @
0bb22945
...
@@ -2272,7 +2272,7 @@ void pucch_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,int UE_id,int harq
...
@@ -2272,7 +2272,7 @@ void pucch_procedures(PHY_VARS_eNB *eNB,eNB_rxtx_proc_t *proc,int UE_id,int harq
if
((
fp
->
frame_type
==
FDD
)
||
if
((
fp
->
frame_type
==
FDD
)
||
(
bundling_flag
==
bundling
)
||
(
bundling_flag
==
bundling
)
||
((
fp
->
frame_type
==
TDD
)
&&
(
fp
->
tdd_config
==
1
)
&&
((
subframe
!=
2
)
||
(
subframe
!=
7
))))
{
((
fp
->
frame_type
==
TDD
)
&&
(
fp
->
tdd_config
==
1
)
&&
((
subframe
!=
2
)
&&
(
subframe
!=
7
))))
{
format
=
pucch_format1a
;
format
=
pucch_format1a
;
}
else
{
}
else
{
format
=
pucch_format1b
;
format
=
pucch_format1b
;
...
...
openair1/SIMULATION/ETH_TRANSPORT/multicast_link.c
View file @
0bb22945
...
@@ -308,10 +308,10 @@ void* multicast_link_main_loop (void *param)
...
@@ -308,10 +308,10 @@ void* multicast_link_main_loop (void *param)
}
}
void
multicast_link_start
(
void
(
*
rx_handlerP
)
(
unsigned
int
,
char
*
),
void
multicast_link_start
(
void
(
*
rx_handlerP
)
(
unsigned
int
,
char
*
),
unsigned
char
multicast_group
,
char
*
multicast_ifname
)
unsigned
char
_
multicast_group
,
char
*
multicast_ifname
)
{
{
rx_handler
=
rx_handlerP
;
rx_handler
=
rx_handlerP
;
multicast_group
=
multicast_group
;
multicast_group
=
_
multicast_group
;
multicast_if
=
multicast_ifname
;
multicast_if
=
multicast_ifname
;
LOG_I
(
EMU
,
"[MULTICAST] LINK START on interface=%s for group=%d: handler=%p
\n
"
,
LOG_I
(
EMU
,
"[MULTICAST] LINK START on interface=%s for group=%d: handler=%p
\n
"
,
(
multicast_if
==
NULL
)
?
"not specified"
:
multicast_if
,
multicast_group
,
(
multicast_if
==
NULL
)
?
"not specified"
:
multicast_if
,
multicast_group
,
...
...
openair2/LAYER2/RLC/AM_v9.3.0/rlc_am_test.c
View file @
0bb22945
...
@@ -228,7 +228,7 @@ void rlc_am_v9_3_0_test_read_write_bit_field()
...
@@ -228,7 +228,7 @@ void rlc_am_v9_3_0_test_read_write_bit_field()
uint8_t
*
byte_pos_read
=
g_buffer
;
uint8_t
*
byte_pos_read
=
g_buffer
;
uint16_t
read_value
;
uint16_t
read_value
;
memset
(
g_buffer
,
0
,
1024
);
memset
(
g_buffer
,
0
,
sizeof
(
g_buffer
)
);
// byte 0
// byte 0
rlc_am_write8_bit_field
(
&
byte_pos_write
,
&
bit_pos_write
,
1
,
1
);
rlc_am_write8_bit_field
(
&
byte_pos_write
,
&
bit_pos_write
,
1
,
1
);
rlc_am_write8_bit_field
(
&
byte_pos_write
,
&
bit_pos_write
,
1
,
0
);
rlc_am_write8_bit_field
(
&
byte_pos_write
,
&
bit_pos_write
,
1
,
0
);
...
...
openair2/UTIL/OTG/otg_rx_socket.c
View file @
0bb22945
...
@@ -98,7 +98,7 @@ void *recv_ip4_tcp(void* csock)
...
@@ -98,7 +98,7 @@ void *recv_ip4_tcp(void* csock)
LOG_I
(
OTG
,
"SOCKET:: TCP-IP4 :: size=%d received=%d, Received buffer: %s
\n\n\n
"
,
strlen
(
buffer
),
sock_rcv
,
buffer
);
LOG_I
(
OTG
,
"SOCKET:: TCP-IP4 :: size=%d received=%d, Received buffer: %s
\n\n\n
"
,
strlen
(
buffer
),
sock_rcv
,
buffer
);
buffer
[
PAYLOAD_MAX
]
!=
'\0'
;
//
buffer[PAYLOAD_MAX] != '\0';
}
}
...
...
targets/SIMU/PROC/Process.c
View file @
0bb22945
...
@@ -284,8 +284,12 @@ void Channel_Inst(int node_id,int port,double **s_re[MAX_eNB+MAX_UE],double **s_
...
@@ -284,8 +284,12 @@ void Channel_Inst(int node_id,int port,double **s_re[MAX_eNB+MAX_UE],double **s_
u2e_t
[
UE_id
][
eNB_id
]
->
next_slot
=&
next_slot
;
u2e_t
[
UE_id
][
eNB_id
]
->
next_slot
=&
next_slot
;
u2e_t
[
UE_id
][
eNB_id
]
->
abstraction_flag
=&
abstraction_flag
;
u2e_t
[
UE_id
][
eNB_id
]
->
abstraction_flag
=&
abstraction_flag
;
u2e_t
[
UE_id
][
eNB_id
]
->
frame_parms
=
frame_parms
;
u2e_t
[
UE_id
][
eNB_id
]
->
frame_parms
=
frame_parms
;
u2e_t
[
UE_id
][
eNB_id
]
->
tx_data
[
3
]
=
tx
[
eNB_id
][
3
];
u2e_t
[
UE_id
][
eNB_id
]
->
rx_data
[
3
]
=
rx
[
NB_eNB_INST
+
UE_id
][
3
];
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
u2e_t
[
UE_id
][
eNB_id
]
->
tx_data
[
i
]
=
tx
[
eNB_id
][
i
];
u2e_t
[
UE_id
][
eNB_id
]
->
rx_data
[
i
]
=
rx
[
NB_eNB_INST
+
UE_id
][
i
];
}
if
(
pthread_cond_init
(
&
downlink_cond
[
eNB_id
][
UE_id
],
NULL
))
exit
(
1
);
if
(
pthread_cond_init
(
&
downlink_cond
[
eNB_id
][
UE_id
],
NULL
))
exit
(
1
);
...
@@ -316,8 +320,11 @@ void Channel_Inst(int node_id,int port,double **s_re[MAX_eNB+MAX_UE],double **s_
...
@@ -316,8 +320,11 @@ void Channel_Inst(int node_id,int port,double **s_re[MAX_eNB+MAX_UE],double **s_
e2u_t
[
eNB_id
][
UE_id
]
->
next_slot
=&
next_slot
;
e2u_t
[
eNB_id
][
UE_id
]
->
next_slot
=&
next_slot
;
e2u_t
[
eNB_id
][
UE_id
]
->
abstraction_flag
=&
abstraction_flag
;
e2u_t
[
eNB_id
][
UE_id
]
->
abstraction_flag
=&
abstraction_flag
;
e2u_t
[
eNB_id
][
UE_id
]
->
frame_parms
=
frame_parms
;
e2u_t
[
eNB_id
][
UE_id
]
->
frame_parms
=
frame_parms
;
e2u_t
[
eNB_id
][
UE_id
]
->
tx_data
[
3
]
=
tx
[
NB_eNB_INST
+
UE_id
][
3
];
for
(
int
i
=
0
;
i
<
3
;
i
++
)
e2u_t
[
eNB_id
][
UE_id
]
->
rx_data
[
3
]
=
rx
[
eNB_id
][
3
];
{
e2u_t
[
eNB_id
][
UE_id
]
->
tx_data
[
i
]
=
tx
[
NB_eNB_INST
+
UE_id
][
i
];
e2u_t
[
eNB_id
][
UE_id
]
->
rx_data
[
i
]
=
rx
[
eNB_id
][
i
];
}
if
(
pthread_cond_init
(
&
uplink_cond
[
UE_id
][
eNB_id
],
NULL
))
exit
(
1
);
if
(
pthread_cond_init
(
&
uplink_cond
[
UE_id
][
eNB_id
],
NULL
))
exit
(
1
);
...
...
targets/SIMU/PROC/channel_sim_proc.c
View file @
0bb22945
...
@@ -183,8 +183,13 @@ void do_DL_sig_channel_T(void *param)
...
@@ -183,8 +183,13 @@ void do_DL_sig_channel_T(void *param)
next_slot
=
(
cthread
->
next_slot
);
next_slot
=
(
cthread
->
next_slot
);
abstraction_flag
=*
(
cthread
->
abstraction_flag
);
abstraction_flag
=*
(
cthread
->
abstraction_flag
);
thread_id
=
(
cthread
->
thread_id
);
thread_id
=
(
cthread
->
thread_id
);
tx_data
[
3
]
=
cthread
->
tx_data
[
3
];
rx_data
[
3
]
=
cthread
->
rx_data
[
3
];
for
(
int
i
=
0
;
i
<
3
;
i
++
)
{
tx_data
[
i
]
=
cthread
->
tx_data
[
i
];
rx_data
[
i
]
=
cthread
->
rx_data
[
i
];
}
s32
att_eNB_id
=-
1
;
s32
att_eNB_id
=-
1
;
s32
**
txdata
,
**
rxdata
;
s32
**
txdata
,
**
rxdata
;
...
...
targets/SIMU/USER/oaisim_functions.c
View file @
0bb22945
...
@@ -1486,7 +1486,7 @@ void init_ocm(void)
...
@@ -1486,7 +1486,7 @@ void init_ocm(void)
break
;
break
;
case
TDD
:
case
TDD
:
frame_type
=
"
F
DD"
;
frame_type
=
"
T
DD"
;
break
;
break
;
}
}
...
...
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