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
ec702c88
Commit
ec702c88
authored
Aug 29, 2018
by
Louis Adrien Dufrene
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commentaries modifications
parent
c12e3234
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
26 deletions
+26
-26
openair2/RRC/LTE/MESSAGES/asn1_msg.c
openair2/RRC/LTE/MESSAGES/asn1_msg.c
+24
-24
openair2/RRC/LTE/MESSAGES/asn1_msg.h
openair2/RRC/LTE/MESSAGES/asn1_msg.h
+1
-1
openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-13.9.1.asn1
...ir2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-13.9.1.asn1
+1
-1
No files found.
openair2/RRC/LTE/MESSAGES/asn1_msg.c
View file @
ec702c88
...
...
@@ -183,45 +183,45 @@ uint8_t do_MIB(rrc_eNB_carrier_data_t *carrier, uint32_t N_RB_DL, uint32_t phich
{
asn_enc_rval_t
enc_rval
;
BCCH_BCH_Message_t
*
mib
=
&
carrier
->
mib
;
BCCH_BCH_Message_t
*
mib
=
&
carrier
->
mib
;
uint8_t
sfn
=
(
uint8_t
)((
frame
>>
2
)
&
0xff
);
uint16_t
*
spare
=
calloc
(
1
,
sizeof
(
uint16_t
));
uint16_t
*
spare
=
calloc
(
1
,
sizeof
(
uint16_t
));
if
(
spare
==
NULL
)
abort
();
switch
(
N_RB_DL
)
{
case
6
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n6
;
break
;
case
6
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n6
;
break
;
case
15
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n15
;
break
;
case
15
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n15
;
break
;
case
25
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n25
;
break
;
case
25
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n25
;
break
;
case
50
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n50
;
break
;
case
50
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n50
;
break
;
case
75
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n75
;
break
;
case
75
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n75
;
break
;
case
100
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n100
;
break
;
default:
AssertFatal
(
1
==
0
,
"Unknown dl_Bandwidth %d
\n
"
,
N_RB_DL
);
case
100
:
mib
->
message
.
dl_Bandwidth
=
MasterInformationBlock__dl_Bandwidth_n100
;
break
;
default:
AssertFatal
(
1
==
0
,
"Unknown dl_Bandwidth %d
\n
"
,
N_RB_DL
);
}
AssertFatal
(
phich_Resource
<=
PHICH_Config__phich_Resource_two
,
"Illegal phich_Resource
\n
"
);
mib
->
message
.
phich_Config
.
phich_Resource
=
phich_Resource
;
AssertFatal
(
phich_duration
<=
PHICH_Config__phich_Duration_extended
,
"Illegal phich_Duration
\n
"
);
mib
->
message
.
phich_Config
.
phich_Duration
=
phich_duration
;
LOG_I
(
RRC
,
"[MIB] systemBandwidth %x, phich_duration %x, phich_resource %x,sfn %x
\n
"
,
LOG_I
(
RRC
,
"[MIB] systemBandwidth %x, phich_duration %x, phich_resource %x,
sfn %x
\n
"
,
(
uint32_t
)
mib
->
message
.
dl_Bandwidth
,
(
uint32_t
)
phich_duration
,
(
uint32_t
)
phich_Resource
,
...
...
openair2/RRC/LTE/MESSAGES/asn1_msg.h
View file @
ec702c88
...
...
@@ -57,7 +57,7 @@ uint16_t get_adjacent_cell_id(uint8_t Mod_id,uint8_t index);
uint8_t
get_adjacent_cell_mod_id
(
uint16_t
phyCellId
);
/**
\brief Generate configuration for
SIB1
(eNB).
\brief Generate configuration for
MIB
(eNB).
@param carrier pointer to Carrier information
@param N_RB_DL Number of downlink PRBs
@param phich_Resource PHICH resoure parameter
...
...
openair2/RRC/LTE/MESSAGES/asn1c/ASN1_files/lte-rrc-13.9.1.asn1
View file @
ec702c88
...
...
@@ -735,7 +735,7 @@ Paging-v1130-IEs ::= SEQUENCE {
}
Paging-v1310-IEs ::= SEQUENCE {
redistributionIndication-r13 ENUMERATED {true} OPTIONAL, --Need ON
redistributionIndication-r13 ENUMERATED {true} OPTIONAL, --
Need ON
systemInfoModification-eDRX-r13 ENUMERATED {true} OPTIONAL, -- Need ON
nonCriticalExtension SEQUENCE {} OPTIONAL
}
...
...
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