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
canghaiwuhen
OpenXG-RAN
Commits
e9d04428
Commit
e9d04428
authored
May 23, 2019
by
wujing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix segfault because RRU uses RC.mac
parent
2700c3ae
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
openair2/PHY_INTERFACE/IF_Module.c
openair2/PHY_INTERFACE/IF_Module.c
+7
-3
targets/RT/USER/lte-enb.c
targets/RT/USER/lte-enb.c
+2
-2
No files found.
openair2/PHY_INTERFACE/IF_Module.c
View file @
e9d04428
...
...
@@ -573,7 +573,10 @@ void UL_indication(UL_IND_t *UL_info) {
int
CC_id
=
UL_info
->
CC_id
;
Sched_Rsp_t
*
sched_info
=
&
Sched_INFO
[
module_id
][
CC_id
];
IF_Module_t
*
ifi
=
if_inst
[
module_id
];
eNB_MAC_INST
*
mac
=
RC
.
mac
[
module_id
];
eNB_MAC_INST
*
mac
=
NULL
;
if
(
NFAPI_MODE
!=
NFAPI_MODE_PNF
)
{
mac
=
RC
.
mac
[
module_id
];
}
LOG_D
(
PHY
,
"SFN/SF:%d%d module_id:%d CC_id:%d UL_info[rx_ind:%d harqs:%d crcs:%d cqis:%d preambles:%d sr_ind:%d]
\n
"
,
UL_info
->
frame
,
UL_info
->
subframe
,
module_id
,
CC_id
,
...
...
@@ -595,15 +598,16 @@ void UL_indication(UL_IND_t *UL_info) {
}
ifi
->
CC_mask
|=
(
1
<<
CC_id
);
}
// clear DL/UL info for new scheduling round
clear_nfapi_information
(
RC
.
mac
[
module_id
],
CC_id
,
UL_info
->
frame
,
UL_info
->
subframe
);
}
handle_rach
(
UL_info
);
handle_sr
(
UL_info
);
handle_cqi
(
UL_info
);
handle_harq
(
UL_info
);
if
(
NFAPI_MODE
!=
NFAPI_MODE_PNF
)
{
// clear HI prior to handling ULSCH
uint8_t
sf_ahead_dl
=
ul_subframe2_k_phich
(
&
mac
->
common_channels
[
CC_id
],
UL_info
->
subframe
);
...
...
@@ -611,7 +615,7 @@ void UL_indication(UL_IND_t *UL_info) {
mac
->
HI_DCI0_req
[
CC_id
][(
UL_info
->
subframe
+
sf_ahead_dl
)
%
10
].
hi_dci0_request_body
.
number_of_hi
=
0
;
LOG_D
(
MAC
,
"current (%d,%d) clear HI_DCI0_req[0][%d]
\n
"
,
UL_info
->
frame
,
UL_info
->
subframe
,(
UL_info
->
subframe
+
sf_ahead_dl
)
%
10
);
}
}
handle_ulsch
(
UL_info
);
if
(
NFAPI_MODE
!=
NFAPI_MODE_PNF
)
{
...
...
targets/RT/USER/lte-enb.c
View file @
e9d04428
...
...
@@ -204,9 +204,9 @@ static inline int rxtx(PHY_VARS_eNB *eNB,L1_rxtx_proc_t *proc, char *thread_name
wakeup_prach_eNB_br
(
eNB
,
NULL
,
proc
->
frame_rx
,
proc
->
subframe_rx
);
#endif
}
if
(
NFAPI_MODE
==
NFAPI_MODE_VNF
)
{
release_UE_in_freeList
(
eNB
->
Mod_id
);
}
// UE-specific RX processing for subframe n
if
(
NFAPI_MODE
==
NFAPI_MONOLITHIC
||
NFAPI_MODE
==
NFAPI_MODE_PNF
)
{
phy_procedures_eNB_uespec_RX
(
eNB
,
proc
);
...
...
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