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
wangjie
OpenXG-RAN
Commits
db45121f
Commit
db45121f
authored
Sep 01, 2020
by
Xue Song
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue about CI L2 FAPI SIM cplane failure
parent
685896c1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
36 deletions
+2
-36
openair2/PHY_INTERFACE/phy_stub_UE.c
openair2/PHY_INTERFACE/phy_stub_UE.c
+1
-10
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+1
-1
targets/RT/USER/lte-ue.c
targets/RT/USER/lte-ue.c
+0
-25
No files found.
openair2/PHY_INTERFACE/phy_stub_UE.c
View file @
db45121f
...
@@ -252,11 +252,9 @@ void fill_ulsch_cqi_indication_UE_MAC(int Mod_id,
...
@@ -252,11 +252,9 @@ void fill_ulsch_cqi_indication_UE_MAC(int Mod_id,
UL_INFO
->
cqi_ind
.
sfn_sf
=
frame
<<
4
|
subframe
;
UL_INFO
->
cqi_ind
.
sfn_sf
=
frame
<<
4
|
subframe
;
// because of nfapi_vnf.c:733, set message id to 0, not
// because of nfapi_vnf.c:733, set message id to 0, not
// NFAPI_RX_CQI_INDICATION;
// NFAPI_RX_CQI_INDICATION;
UL_INFO
->
cqi_ind
.
header
.
message_id
=
NFAPI_RX_CQI_INDICATION
;
UL_INFO
->
cqi_ind
.
header
.
message_id
=
0
;
UL_INFO
->
cqi_ind
.
vendor_extension
=
ul_config_req
->
vendor_extension
;
UL_INFO
->
cqi_ind
.
cqi_indication_body
.
tl
.
tag
=
NFAPI_CQI_INDICATION_BODY_TAG
;
UL_INFO
->
cqi_ind
.
cqi_indication_body
.
tl
.
tag
=
NFAPI_CQI_INDICATION_BODY_TAG
;
pdu
->
instance_length
=
0
;
pdu
->
rx_ue_information
.
tl
.
tag
=
NFAPI_RX_UE_INFORMATION_TAG
;
pdu
->
rx_ue_information
.
tl
.
tag
=
NFAPI_RX_UE_INFORMATION_TAG
;
pdu
->
rx_ue_information
.
rnti
=
rnti
;
pdu
->
rx_ue_information
.
rnti
=
rnti
;
// Since we assume that CRC flag is always 0 (ACK) I guess that data_offset
// Since we assume that CRC flag is always 0 (ACK) I guess that data_offset
...
@@ -269,13 +267,6 @@ void fill_ulsch_cqi_indication_UE_MAC(int Mod_id,
...
@@ -269,13 +267,6 @@ void fill_ulsch_cqi_indication_UE_MAC(int Mod_id,
pdu
->
cqi_indication_rel8
.
timing_advance
=
0
;
pdu
->
cqi_indication_rel8
.
timing_advance
=
0
;
// pdu->cqi_indication_rel8.number_of_cc_reported = 1;
// pdu->cqi_indication_rel8.number_of_cc_reported = 1;
pdu
->
cqi_indication_rel9
.
tl
.
tag
=
NFAPI_CQI_INDICATION_REL9_TAG
;
pdu
->
cqi_indication_rel9
.
length
=
0
;
pdu
->
cqi_indication_rel9
.
ri
[
0
]
=
0
;
pdu
->
cqi_indication_rel9
.
timing_advance
=
0
;
pdu
->
cqi_indication_rel9
.
number_of_cc_reported
=
1
;
pdu
->
ul_cqi_information
.
tl
.
tag
=
NFAPI_UL_CQI_INFORMATION_TAG
;
pdu
->
ul_cqi_information
.
tl
.
tag
=
NFAPI_UL_CQI_INFORMATION_TAG
;
pdu
->
ul_cqi_information
.
channel
=
1
;
// PUSCH
pdu
->
ul_cqi_information
.
channel
=
1
;
// PUSCH
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
db45121f
...
@@ -2717,7 +2717,7 @@ do_RRCConnectionSetup(
...
@@ -2717,7 +2717,7 @@ do_RRCConnectionSetup(
physicalConfigDedicated2
->
schedulingRequestConfig
->
present
=
LTE_SchedulingRequestConfig_PR_setup
;
physicalConfigDedicated2
->
schedulingRequestConfig
->
present
=
LTE_SchedulingRequestConfig_PR_setup
;
int
sr_base
=
carrier
->
sib2
->
radioResourceConfigCommon
.
pucch_ConfigCommon
.
n1PUCCH_AN
-
1
;
int
sr_base
=
carrier
->
sib2
->
radioResourceConfigCommon
.
pucch_ConfigCommon
.
n1PUCCH_AN
-
1
;
if
(
carrier
->
sib1
->
tdd_Config
==
NULL
)
{
if
(
carrier
->
sib1
->
tdd_Config
==
NULL
)
{
physicalConfigDedicated2
->
schedulingRequestConfig
->
choice
.
setup
.
sr_PUCCH_ResourceIndex
=
71
-
ue_context_pP
->
local_uid
/
10
;
//ue_context_pP->local_uid;
physicalConfigDedicated2
->
schedulingRequestConfig
->
choice
.
setup
.
sr_PUCCH_ResourceIndex
=
sr_base
-
ue_context_pP
->
local_uid
/
10
;
//ue_context_pP->local_uid;
}
else
{
}
else
{
switch
(
carrier
->
sib1
->
tdd_Config
->
subframeAssignment
)
{
switch
(
carrier
->
sib1
->
tdd_Config
->
subframeAssignment
)
{
case
1
:
case
1
:
...
...
targets/RT/USER/lte-ue.c
View file @
db45121f
...
@@ -1335,31 +1335,6 @@ static void *UE_phy_stub_single_thread_rxn_txnp4(void *arg)
...
@@ -1335,31 +1335,6 @@ static void *UE_phy_stub_single_thread_rxn_txnp4(void *arg)
UL_INFO
->
sr_ind
.
sr_indication_body
.
number_of_srs
=
0
;
UL_INFO
->
sr_ind
.
sr_indication_body
.
number_of_srs
=
0
;
}
}
// Free UL_INFO messages
if
(
UL_INFO
->
crc_ind
.
crc_indication_body
.
crc_pdu_list
!=
NULL
){
free
(
UL_INFO
->
crc_ind
.
crc_indication_body
.
crc_pdu_list
);
UL_INFO
->
crc_ind
.
crc_indication_body
.
crc_pdu_list
=
NULL
;
}
if
(
UL_INFO
->
rx_ind
.
rx_indication_body
.
rx_pdu_list
!=
NULL
){
free
(
UL_INFO
->
rx_ind
.
rx_indication_body
.
rx_pdu_list
);
UL_INFO
->
rx_ind
.
rx_indication_body
.
rx_pdu_list
=
NULL
;
}
if
(
UL_INFO
->
harq_ind
.
harq_indication_body
.
harq_pdu_list
!=
NULL
){
free
(
UL_INFO
->
harq_ind
.
harq_indication_body
.
harq_pdu_list
);
UL_INFO
->
harq_ind
.
harq_indication_body
.
harq_pdu_list
=
NULL
;
}
if
(
UL_INFO
->
sr_ind
.
sr_indication_body
.
sr_pdu_list
!=
NULL
){
free
(
UL_INFO
->
sr_ind
.
sr_indication_body
.
sr_pdu_list
);
UL_INFO
->
sr_ind
.
sr_indication_body
.
sr_pdu_list
=
NULL
;
}
free
(
UL_INFO
->
cqi_ind
.
cqi_indication_body
.
cqi_pdu_list
);
UL_INFO
->
cqi_ind
.
cqi_indication_body
.
cqi_pdu_list
=
NULL
;
free
(
UL_INFO
->
cqi_ind
.
cqi_indication_body
.
cqi_raw_pdu_list
);
UL_INFO
->
cqi_ind
.
cqi_indication_body
.
cqi_raw_pdu_list
=
NULL
;
free
(
UL_INFO
);
UL_INFO
=
NULL
;
// De-allocate memory of nfapi requests copies before next subframe round
// De-allocate memory of nfapi requests copies before next subframe round
if
(
dl_config_req
!=
NULL
)
{
if
(
dl_config_req
!=
NULL
)
{
if
(
dl_config_req
->
vendor_extension
!=
NULL
)
{
if
(
dl_config_req
->
vendor_extension
!=
NULL
)
{
...
...
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