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
63866165
Commit
63866165
authored
Jan 22, 2020
by
Francesco Mani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing some warnings
parent
a82300d7
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
60 additions
and
65 deletions
+60
-65
executables/nr-softmodem.c
executables/nr-softmodem.c
+2
-2
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
+38
-37
openair2/LAYER2/NR_MAC_UE/mac_proto.h
openair2/LAYER2/NR_MAC_UE/mac_proto.h
+6
-6
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
+7
-11
openair2/LAYER2/NR_MAC_gNB/nr_mac_common.c
openair2/LAYER2/NR_MAC_gNB/nr_mac_common.c
+2
-2
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
+1
-2
openair2/RRC/NR/rrc_gNB.c
openair2/RRC/NR/rrc_gNB.c
+1
-2
openair2/RRC/NR/rrc_gNB_UE_context.c
openair2/RRC/NR/rrc_gNB_UE_context.c
+2
-2
openair2/RRC/NR/rrc_gNB_internode.c
openair2/RRC/NR/rrc_gNB_internode.c
+1
-1
No files found.
executables/nr-softmodem.c
View file @
63866165
...
...
@@ -679,7 +679,7 @@ void wait_RUs(void) {
}
void
wait_gNBs
(
void
)
{
int
i
,
j
;
int
i
;
int
waiting
=
1
;
while
(
waiting
==
1
)
{
...
...
@@ -854,7 +854,7 @@ void init_pdcp(void) {
int
main
(
int
argc
,
char
**
argv
)
{
int
i
,
ru_id
,
CC_id
=
0
;
int
ru_id
,
CC_id
=
0
;
start_background_system
();
///static configuration for NR at the moment
...
...
openair1/PHY/NR_UE_TRANSPORT/dci_nr.c
View file @
63866165
...
...
@@ -39,6 +39,7 @@
#include "PHY/phy_extern_nr_ue.h"
#include "PHY/CODING/coding_extern.h"
#include "PHY/sse_intrin.h"
#include "PHY/NR_TRANSPORT/nr_dci.h"
#include "assertions.h"
#include "T.h"
...
...
@@ -768,9 +769,9 @@ int32_t nr_rx_pdcch(PHY_VARS_NR_UE *ue,
rel15
->
coreset
.
pdcch_dmrs_scrambling_id
);
LOG_DD
(
"we end nr_pdcch_unscrambling()
\n
"
);
LOG_DD
(
"Ending nr_rx_pdcch() function
\n
"
);
return
(
0
);
}
}
return
(
0
);
}
/*
int32_t nr_rx_pdcch(PHY_VARS_NR_UE *ue,
...
...
openair2/LAYER2/NR_MAC_UE/mac_proto.h
View file @
63866165
...
...
@@ -138,7 +138,7 @@ void nr_ue_send_sdu(module_id_t module_idP, uint8_t CC_id, frame_t frameP, sub_f
void
ue_dci_configuration
(
NR_UE_MAC_INST_t
*
mac
,
fapi_nr_dl_config_request_t
*
dl_config
,
int
frame
,
int
slot
);
int
nr_extract_dci_info
(
NR_UE_MAC_INST_t
*
mac
,
void
nr_extract_dci_info
(
NR_UE_MAC_INST_t
*
mac
,
int
dci_format
,
uint8_t
dci_length
,
uint16_t
rnti
,
...
...
openair2/LAYER2/NR_MAC_UE/nr_ue_procedures.c
View file @
63866165
...
...
@@ -1651,16 +1651,12 @@ uint8_t table_7_3_2_3_3_4_twoCodeword[6][10] = {
{
2
,
0
,
1
,
2
,
3
,
6
,
7
,
8
,
0
,
2
},
{
2
,
0
,
1
,
2
,
3
,
6
,
7
,
8
,
9
,
2
}
};
int8_t
nr_ue_process_dci_freq_dom_resource_assignment
(
fapi_nr_ul_config_pusch_pdu_rel15_t
*
ulsch_config_pdu
,
int8_t
nr_ue_process_dci_freq_dom_resource_assignment
(
fapi_nr_ul_config_pusch_pdu_rel15_t
*
ulsch_config_pdu
,
fapi_nr_dl_config_dlsch_pdu_rel15_t
*
dlsch_config_pdu
,
uint16_t
n_RB_ULBWP
,
uint16_t
n_RB_DLBWP
,
uint16_t
riv
){
uint16_t
l_RB
;
uint16_t
start_RB
;
uint16_t
tmp_RIV
;
/*
* TS 38.214 subclause 5.1.2.2 Resource allocation in frequency domain (downlink)
...
...
@@ -3039,7 +3035,7 @@ nr_ue_send_sdu(module_id_t module_idP,
}
int
nr_extract_dci_info
(
NR_UE_MAC_INST_t
*
mac
,
void
nr_extract_dci_info
(
NR_UE_MAC_INST_t
*
mac
,
int
dci_format
,
uint8_t
dci_size
,
uint16_t
rnti
,
...
...
openair2/LAYER2/NR_MAC_gNB/nr_mac_common.c
View file @
63866165
...
...
@@ -732,9 +732,9 @@ int16_t fill_dmrs_mask(NR_PDSCH_Config_t *pdsch_Config,int dmrs_TypeA_Position,i
AssertFatal
(
NrOfSymbols
>
3
,
"Illegal NrOfSymbols %d for len2 DMRS
\n
"
,
NrOfSymbols
);
if
(
NrOfSymbols
<
10
)
return
(
1
<<
l0
);
if
(
NrOfSymbols
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
==
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
NrOfSymbols
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
|
|
1
<<
8
);
if
(
NrOfSymbols
<
13
&&
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
|
1
<<
8
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos0
)
return
(
1
<<
l0
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos1
)
return
(
1
<<
l0
|
|
1
<<
10
);
if
(
*
dmrs_config
->
dmrs_AdditionalPosition
!=
NR_DMRS_DownlinkConfig__dmrs_AdditionalPosition_pos1
)
return
(
1
<<
l0
|
1
<<
10
);
}
}
else
if
(
pdsch_Config
->
dmrs_DownlinkForPDSCH_MappingTypeB
&&
...
...
openair2/NR_UE_PHY_INTERFACE/NR_IF_Module.c
View file @
63866165
...
...
@@ -155,8 +155,7 @@ int nr_ue_dl_indication(nr_downlink_indication_t *dl_info){
LOG_D
(
MAC
,
">>>NR_IF_Module i=%d, dl_info->dci_ind->number_of_dcis=%d
\n
"
,
i
,
dl_info
->
dci_ind
->
number_of_dcis
);
// fapi_nr_dci_pdu_rel15_t *dci = &dl_info->dci_ind->dci_list[i].dci;
ret_mask
|=
(
handle_dci
(
dl_info
->
module_id
,
ret_mask
|=
(
handle_dci
(
dl_info
->
module_id
,
dl_info
->
cc_id
,
dl_info
->
gNB_index
,
dl_info
->
dci_ind
->
dci_list
+
i
)
<<
FAPI_NR_DCI_IND
);
...
...
openair2/RRC/NR/rrc_gNB.c
View file @
63866165
...
...
@@ -259,7 +259,6 @@ static void init_NR_SI(gNB_RRC_INST *rrc) {
char
openair_rrc_gNB_configuration
(
const
module_id_t
gnb_mod_idP
,
gNB_RrcConfigurationReq
*
configuration
)
{
protocol_ctxt_t
ctxt
;
int
CC_id
;
gNB_RRC_INST
*
rrc
=
RC
.
nrrrc
[
gnb_mod_idP
];
...
...
@@ -284,7 +283,7 @@ char openair_rrc_gNB_configuration(const module_id_t gnb_mod_idP, gNB_RrcConfigu
rrc
->
carrier
.
Srb0
.
Active
=
0
;
uid_linear_allocator_init
(
&
rrc
->
uid_allocator
);
nr_
uid_linear_allocator_init
(
&
rrc
->
uid_allocator
);
RB_INIT
(
&
rrc
->
rrc_ue_head
);
rrc
->
initial_id2_s1ap_ids
=
hashtable_create
(
NUMBER_OF_UE_MAX
*
2
,
NULL
,
NULL
);
rrc
->
s1ap_id2_s1ap_ids
=
hashtable_create
(
NUMBER_OF_UE_MAX
*
2
,
NULL
,
NULL
);
...
...
openair2/RRC/NR/rrc_gNB_UE_context.c
View file @
63866165
...
...
@@ -169,13 +169,13 @@ rrc_gNB_get_ue_context(
}
}
rrc_gNB_free_mem_UE_context
(
void
rrc_gNB_free_mem_UE_context
(
const
protocol_ctxt_t
*
const
ctxt_pP
,
struct
rrc_gNB_ue_context_s
*
const
ue_context_pP
)
//-----------------------------------------------------------------------------
{
int
i
;
LOG_T
(
RRC
,
PROTOCOL_RRC_CTXT_UE_FMT
" Clearing UE context 0x%p (free internal structs)
\n
"
,
PROTOCOL_RRC_CTXT_UE_ARGS
(
ctxt_pP
),
...
...
openair2/RRC/NR/rrc_gNB_internode.c
View file @
63866165
...
...
@@ -53,7 +53,7 @@ int parse_CG_ConfigInfo(gNB_RRC_INST *rrc, NR_CG_ConfigInfo_t *CG_ConfigInfo) {
cg_ConfigInfo
->
ue_CapabilityInfo
->
buf
,
cg_ConfigInfo
->
ue_CapabilityInfo
->
size
,
0
,
0
);
if
((
dec_rval
.
code
!=
RC_OK
)
&&
(
dec_rval
.
consumed
==
0
))
{
AssertFatal
(
1
==
0
,
"[InterNode] Failed to decode NR_UE_CapabilityRAT_ContainerList (%zu bits), size of OCTET_STRING %
d
\n
"
,
AssertFatal
(
1
==
0
,
"[InterNode] Failed to decode NR_UE_CapabilityRAT_ContainerList (%zu bits), size of OCTET_STRING %
lu
\n
"
,
dec_rval
.
consumed
,
cg_ConfigInfo
->
ue_CapabilityInfo
->
size
);
}
rrc_parse_ue_capabilities
(
rrc
,
UE_CapabilityRAT_ContainerList
);
...
...
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