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
spbro
OpenXG-RAN
Commits
732081dd
Commit
732081dd
authored
Apr 08, 2020
by
matzakos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ENDC testing: Remove some remaining modifications used only for testing
parent
69017682
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
45 deletions
+0
-45
openair2/RRC/LTE/rrc_eNB_endc.c
openair2/RRC/LTE/rrc_eNB_endc.c
+0
-45
No files found.
openair2/RRC/LTE/rrc_eNB_endc.c
View file @
732081dd
...
...
@@ -35,39 +35,6 @@
extern
RAN_CONTEXT_t
RC
;
extern
mui_t
rrc_eNB_mui
;
static
int
generate_release_drb1
(
unsigned
char
*
nr1_buf
,
int
nr1_buf_size
)
{
NR_RadioBearerConfig_t
r
;
NR_DRB_ToReleaseList_t
l
;
NR_DRB_Identity_t
id
;
asn_enc_rval_t
enc_rval
;
memset
(
&
r
,
0
,
sizeof
(
r
));
memset
(
&
l
,
0
,
sizeof
(
l
));
memset
(
&
id
,
0
,
sizeof
(
id
));
id
=
1
;
r
.
drb_ToReleaseList
=
&
l
;
ASN_SEQUENCE_ADD
(
&
l
.
list
,
&
id
);
enc_rval
=
uper_encode_to_buffer
(
&
asn_DEF_NR_RadioBearerConfig
,
NULL
,
&
r
,
nr1_buf
,
nr1_buf_size
);
{
int
len
=
(
enc_rval
.
encoded
+
7
)
/
8
;
int
i
;
printf
(
"generate_release_drb1: len = %d (encoded %d)
\n
"
,
len
,
enc_rval
.
encoded
);
for
(
i
=
0
;
i
<
len
;
i
++
)
printf
(
" %2.2x"
,
nr1_buf
[
i
]);
printf
(
"
\n
"
);
}
return
(
enc_rval
.
encoded
+
7
)
/
8
;
}
int
rrc_eNB_generate_RRCConnectionReconfiguration_endc
(
protocol_ctxt_t
*
ctxt
,
rrc_eNB_ue_context_t
*
ue_context
,
unsigned
char
*
buffer
,
...
...
@@ -163,12 +130,10 @@ int rrc_eNB_generate_RRCConnectionReconfiguration_endc(protocol_ctxt_t *ctxt,
mac
.
choice
.
explicitValue
.
timeAlignmentTimerDedicated
=
LTE_TimeAlignmentTimer_sf10240
;
mac
.
choice
.
explicitValue
.
ext4
=
&
mac_ext4
;
#if 0
mac_ext4
.
dualConnectivityPHR
=
&
dc_phr
;
dc_phr
.
present
=
LTE_MAC_MainConfig__ext4__dualConnectivityPHR_PR_setup
;
dc_phr
.
choice
.
setup
.
phr_ModeOtherCG_r12
=
LTE_MAC_MainConfig__ext4__dualConnectivityPHR__setup__phr_ModeOtherCG_r12_virtual
;
#endif
/* NR config */
struct
LTE_RRCConnectionReconfiguration_v890_IEs
cr_890
;
...
...
@@ -229,7 +194,6 @@ int rrc_eNB_generate_RRCConnectionReconfiguration_endc(protocol_ctxt_t *ctxt,
long
sk_counter
=
0
;
cr_1510
.
sk_Counter_r15
=
&
sk_counter
;
#if 1
OCTET_STRING_t
dummy_nr1_conf
;
unsigned
char
nr1_buf
[
4
]
=
{
0
,
0
,
0
,
0
};
...
...
@@ -252,15 +216,6 @@ int rrc_eNB_generate_RRCConnectionReconfiguration_endc(protocol_ctxt_t *ctxt,
}
#endif
#else
OCTET_STRING_t
nr1_conf
;
unsigned
char
nr1_buf
[
1024
];
int
nr1_size
;
nr1_size
=
generate_release_drb1
(
nr1_buf
,
1024
);
cr_1510
.
nr_RadioBearerConfig1_r15
=
&
nr1_conf
;
nr1_conf
.
buf
=
nr1_buf
;
nr1_conf
.
size
=
nr1_size
;
#endif
#if 0
OCTET_STRING_t nr2_conf;
...
...
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