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
a5af0163
Commit
a5af0163
authored
Oct 14, 2019
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop-nr_cppcheck' into integration_develop-nr_2019w42
parents
f26373c5
954e6c64
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
116 additions
and
115 deletions
+116
-115
openair2/COMMON/mac_rrc_primitives.h
openair2/COMMON/mac_rrc_primitives.h
+2
-5
openair2/COMMON/rrc_messages_types.h
openair2/COMMON/rrc_messages_types.h
+2
-2
openair2/LAYER2/MAC/eNB_scheduler_bch.c
openair2/LAYER2/MAC/eNB_scheduler_bch.c
+5
-3
openair2/RRC/NR/MESSAGES/asn1_msg.c
openair2/RRC/NR/MESSAGES/asn1_msg.c
+92
-90
openair2/RRC/NR/MESSAGES/asn1_msg.h
openair2/RRC/NR/MESSAGES/asn1_msg.h
+15
-15
No files found.
openair2/COMMON/mac_rrc_primitives.h
View file @
a5af0163
...
...
@@ -20,15 +20,14 @@
*/
#ifndef __MAC_RRC_PRIMITIVES_H__
# define __MAC_RRC_PRIMITIVES_H__
#define __MAC_RRC_PRIMITIVES_H__
#ifndef OPENAIR2_IN
#include "LAYER2/RLC/rlc.h"
#endif
#include "COMMON/platform_types.h"
#include "COMMON/platform_constants.h"
#include "openair2/RRC/LTE/rrc_defs.h"
#include "LTE_RadioResourceConfigCommonSIB.h"
#include "LTE_RadioResourceConfigDedicated.h"
...
...
@@ -398,5 +397,3 @@ typedef struct {
#define REMOVE_LC 1
#endif
openair2/COMMON/rrc_messages_types.h
View file @
a5af0163
...
...
@@ -429,9 +429,9 @@ typedef struct NRRrcConfigurationReq_s {
long
DL_absoluteFrequencyPointA
[
MAX_NUM_CCs
];
//NR DL SCS-SpecificCarrier
uint32_t
DL_offsetToCarrier
[
MAX_NUM_CCs
];
long
DL_offsetToCarrier
[
MAX_NUM_CCs
];
long
DL_SCS_SubcarrierSpacing
[
MAX_NUM_CCs
];
uint32_t
DL_carrierBandwidth
[
MAX_NUM_CCs
];
long
DL_carrierBandwidth
[
MAX_NUM_CCs
];
//NR BWP-DownlinkCommon
uint32_t
DL_locationAndBandwidth
[
MAX_NUM_CCs
];
...
...
openair2/LAYER2/MAC/eNB_scheduler_bch.c
View file @
a5af0163
...
...
@@ -200,7 +200,8 @@ schedule_SIB1_MBMS(module_id_t module_idP,
// Note: definition of k above and rvidx from 36.321 section 5.3.1
rvidx
=
(((
3
*
k
)
>>
1
)
+
(
k
&
1
))
&
3
;
i
=
cc
->
SIB1_BR_cnt
&
(
m
-
1
);
n_NB
=
Sj
[((
cc
->
physCellId
%
N_S_NB
)
+
(
i
*
N_S_NB
/
m
))
%
N_S_NB
];
if
(
Sj
)
n_NB
=
Sj
[((
cc
->
physCellId
%
N_S_NB
)
+
(
i
*
N_S_NB
/
m
))
%
N_S_NB
];
bcch_sdu_length
=
mac_rrc_data_req
(
module_idP
,
CC_id
,
frameP
,
BCCH_SIB1_BR
,
1
,
&
cc
->
BCCH_BR_pdu
[
0
].
payload
[
0
],
0
);
// not used in this case
AssertFatal
(
cc
->
mib
->
message
.
schedulingInfoSIB1_BR_r13
<
19
,
"schedulingInfoSIB1_BR_r13 %d > 18
\n
"
,
...
...
@@ -429,7 +430,8 @@ schedule_SIB1_BR(module_id_t module_idP,
// Note: definition of k above and rvidx from 36.321 section 5.3.1
rvidx
=
(((
3
*
k
)
>>
1
)
+
(
k
&
1
))
&
3
;
i
=
cc
->
SIB1_BR_cnt
&
(
m
-
1
);
n_NB
=
Sj
[((
cc
->
physCellId
%
N_S_NB
)
+
(
i
*
N_S_NB
/
m
))
%
N_S_NB
];
if
(
Sj
)
n_NB
=
Sj
[((
cc
->
physCellId
%
N_S_NB
)
+
(
i
*
N_S_NB
/
m
))
%
N_S_NB
];
bcch_sdu_length
=
mac_rrc_data_req
(
module_idP
,
CC_id
,
frameP
,
BCCH_SIB1_BR
,
0xFFFF
,
1
,
&
cc
->
BCCH_BR_pdu
[
0
].
payload
[
0
],
0
);
// not used in this case
AssertFatal
(
cc
->
mib
->
message
.
schedulingInfoSIB1_BR_r13
<
19
,
"schedulingInfoSIB1_BR_r13 %d > 18
\n
"
,
...
...
@@ -595,7 +597,7 @@ schedule_SI_BR(module_id_t module_idP, frame_t frameP,
long
si_Narrowband_r13
=
schedulingInfoList_BR_r13
->
list
.
array
[
i
]
->
si_Narrowband_r13
;
long
si_TBS_r13
=
si_TBS_r13tab
[
schedulingInfoList_BR_r13
->
list
.
array
[
i
]
->
si_TBS_r13
];
// check if the SI is to be scheduled now
int
period_in_sf
;
int
period_in_sf
=
0
;
if
((
si_Periodicity
>=
0
)
&&
(
si_Periodicity
<
25
))
{
// 2^i * 80 subframes, note: si_Periodicity is 2^i * 80ms
...
...
openair2/RRC/NR/MESSAGES/asn1_msg.c
View file @
a5af0163
This diff is collapsed.
Click to expand it.
openair2/RRC/NR/MESSAGES/asn1_msg.h
View file @
a5af0163
...
...
@@ -91,21 +91,21 @@ void do_SERVINGCELLCONFIGCOMMON(uint8_t Mod_id,
#endif
int
initial_flag
);
void
do_RLC_BEARER
(
uint8_t
Mod_id
,
int
CC_id
,
struct
NR_CellGroupConfig__rlc_BearerToAddModList
*
rlc_BearerToAddModList
,
rlc_bearer_config_t
*
rlc_config
);
void
do_RLC_BEARER
(
uint8_t
Mod_id
,
int
CC_id
,
struct
NR_CellGroupConfig__rlc_BearerToAddModList
*
rlc_BearerToAddModList
,
rlc_bearer_config_t
*
rlc_config
);
void
do_MAC_CELLGROUP
(
uint8_t
Mod_id
,
int
CC_id
,
struct
NR_MAC_CellGroupConfig
*
mac_CellGroupConfig
,
mac_cellgroup_t
*
mac_cellgroup_config
);
void
do_MAC_CELLGROUP
(
uint8_t
Mod_id
,
int
CC_id
,
NR_MAC_CellGroupConfig_t
*
mac_CellGroupConfig
,
mac_cellgroup_t
*
mac_cellgroup_config
);
void
do_PHYSICALCELLGROUP
(
uint8_t
Mod_id
,
int
CC_id
,
struct
NR_PhysicalCellGroupConfig
*
physicalCellGroupConfig
,
physicalcellgroup_t
*
physicalcellgroup_config
);
void
do_PHYSICALCELLGROUP
(
uint8_t
Mod_id
,
int
CC_id
,
NR_PhysicalCellGroupConfig_t
*
physicalCellGroupConfig
,
physicalcellgroup_t
*
physicalcellgroup_config
);
void
do_SpCellConfig
(
uint8_t
Mod_id
,
int
CC_id
,
struct
NR_SpCellConfig
*
spconfig
);
void
do_SpCellConfig
(
uint8_t
Mod_id
,
int
CC_id
,
NR_SpCellConfig_t
*
spconfig
);
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