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
lizhongxiao
OpenXG-RAN
Commits
6d051b42
Commit
6d051b42
authored
Jul 29, 2021
by
Raghavendra Dinavahi
Committed by
Thomas Schlichter
Aug 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes in ASN extraction PERL script
parent
7043f64d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
23 deletions
+37
-23
openair2/RRC/NR/MESSAGES/asn1c/ASN1_files/extract_asn1_from_spce.pl
...RC/NR/MESSAGES/asn1c/ASN1_files/extract_asn1_from_spce.pl
+37
-23
No files found.
openair2/RRC/NR/MESSAGES/asn1c/ASN1_files/extract_asn1_from_spce.pl
View file @
6d051b42
...
...
@@ -26,38 +26,52 @@ while (<INPUT_FILE>) {
syswrite
OUTPUT_FILE
,"
END
\n\n
";
while
(
<
INPUT_FILE
>
)
{
if
(
m/NR-UE-Variables DEFINITIONS AUTOMATIC TAGS ::=/
){
syswrite
OUTPUT_FILE
,"
$_
\n
";
syswrite
OUTPUT_FILE
,"
BEGIN
\n\n
";
while
(
<
INPUT_FILE
>
)
{
if
(
m/PC5-RRC-Definitions DEFINITIONS AUTOMATIC TAGS ::=/
){
syswrite
OUTPUT_FILE
,"
$_
\n
";
syswrite
OUTPUT_FILE
,"
BEGIN
\n\n
";
# Get all the text delimited by -- ASN1START and -- ASN1STOP
extract_asn1
();
# Get all the text delimited by -- ASN1START and -- ASN1STOP
extract_asn1
();
syswrite
OUTPUT_FILE
,"
END
\n\n
";
syswrite
OUTPUT_FILE
,"
END
\n\n
";
while
(
<
INPUT_FILE
>
)
{
while
(
<
INPUT_FILE
>
)
{
if
(
m/NR-UE-Variables DEFINITIONS AUTOMATIC TAGS ::=/
){
syswrite
OUTPUT_FILE
,"
$_
\n
";
syswrite
OUTPUT_FILE
,"
BEGIN
\n\n
";
# Get all the text delimited by -- ASN1START and -- ASN1STOP
extract_asn1
();
syswrite
OUTPUT_FILE
,"
END
\n\n
";
while
(
<
INPUT_FILE
>
)
{
if
(
m/NR-Sidelink-Preconf DEFINITIONS AUTOMATIC TAGS ::=/
){
syswrite
OUTPUT_FILE
,"
$_
\n
";
syswrite
OUTPUT_FILE
,"
BEGIN
\n\n
";
# Get all the text delimited by -- ASN1START and -- ASN1STOP
extract_asn1
();
syswrite
OUTPUT_FILE
,"
END
\n\n
";
while
(
<
INPUT_FILE
>
)
{
if
(
m/NR-InterNodeDefinitions DEFINITIONS AUTOMATIC TAGS ::=/
){
syswrite
OUTPUT_FILE
,"
$_
\n
";
syswrite
OUTPUT_FILE
,"
BEGIN
\n\n
";
syswrite
OUTPUT_FILE
,"
$_
\n
";
syswrite
OUTPUT_FILE
,"
BEGIN
\n\n
";
# Get all the text delimited by -- ASN1START and -- ASN1STOP
extract_asn1
();
# Get all the text delimited by -- ASN1START and -- ASN1STOP
extract_asn1
();
syswrite
OUTPUT_FILE
,"
END
\n\n
";
}
syswrite
OUTPUT_FILE
,"
END
\n\n
";
}
}
}
}
}
}
}
}
}
}
close
(
OUTPUT_FILE
);
}
}
close
(
INPUT_FILE
);
...
...
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