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
17a828e8
Commit
17a828e8
authored
Aug 23, 2016
by
Florian Kaltenberger
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'enhancement-16-tm_rrc_reconfig' into feature-59-tm4
parents
b6356123
ab8a332d
Changes
13
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
153 additions
and
6511 deletions
+153
-6511
cmake_targets/autotests/test_case_list.xml
cmake_targets/autotests/test_case_list.xml
+100
-100
cmake_targets/tools/build_helper
cmake_targets/tools/build_helper
+3
-7
openair1/SIMULATION/LTE_PHY/pucchsim.c
openair1/SIMULATION/LTE_PHY/pucchsim.c
+2
-1
openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0
openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0
+0
-13
openair2/RRC/LITE/rrc_eNB_S1AP.c
openair2/RRC/LITE/rrc_eNB_S1AP.c
+37
-22
openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0
openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0
+0
-5082
openair3/S1AP/MESSAGES/ASN1/asn1cpatch_2.p0
openair3/S1AP/MESSAGES/ASN1/asn1cpatch_2.p0
+0
-22
openair3/S1AP/MESSAGES/ASN1/asn1cpatch_3.p0
openair3/S1AP/MESSAGES/ASN1/asn1cpatch_3.p0
+0
-1264
openair3/S1AP/s1ap_eNB_nas_procedures.c
openair3/S1AP/s1ap_eNB_nas_procedures.c
+2
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.bladerfx40.conf
...OJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.bladerfx40.conf
+2
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.lmssdr.conf
...s/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.lmssdr.conf
+2
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
...ECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
+2
-0
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpx310.conf
...PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpx310.conf
+3
-0
No files found.
cmake_targets/autotests/test_case_list.xml
View file @
17a828e8
This diff is collapsed.
Click to expand it.
cmake_targets/tools/build_helper
View file @
17a828e8
...
...
@@ -397,13 +397,9 @@ install_asn1c_from_source(){
asn1_install_log=$OPENAIR_DIR/cmake_targets/log/asn1c_install_log.txt
echo_info "\nInstalling ASN1. The log file for ASN1 installation is here: $asn1_install_log "
(
$SUDO rm -rf /tmp/asn1c-r1516
svn co https://github.com/vlm/asn1c/trunk /tmp/asn1c-r1516 -r 1516
cd /tmp/asn1c-r1516
patch -p0 < $OPENAIR_DIR/openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0
patch -p0 < $OPENAIR_DIR/openair3/S1AP/MESSAGES/ASN1/asn1cpatch_2.p0
patch -p0 < $OPENAIR_DIR/openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0
patch -p0 < $OPENAIR_DIR/openair3/S1AP/MESSAGES/ASN1/asn1cpatch_3.p0
$SUDO rm -rf /tmp/asn1c
git clone https://gitlab.eurecom.fr/oai/asn1c.git /tmp/asn1c
cd /tmp/asn1c
./configure
make -j`nproc`
$SUDO make install
...
...
openair1/SIMULATION/LTE_PHY/pucchsim.c
View file @
17a828e8
...
...
@@ -311,10 +311,11 @@ int main(int argc, char **argv)
n_rx
,
transmission_mode
,
extended_prefix_flag
,
Nid_cell
,
FDD
,
Nid_cell
,
3
,
N_RB_DL
,
0
,
osf
,
0
);
...
...
openair2/RRC/LITE/MESSAGES/asn1c/asn1cpatch.p0
deleted
100644 → 0
View file @
b6356123
Index: skeletons/per_opentype.c
===================================================================
--- skeletons/per_opentype.c (revision 1516)
+++ skeletons/per_opentype.c (working copy)
@@ -277,7 +306,7 @@
(void)constraints;
(void)sptr;
- while(per_get_few_bits(pd, 24) >= 0);
+ while(per_get_few_bits(pd, 1 /*24*/) >= 0);
rv.code = RC_OK;
rv.consumed = pd->moved;
openair2/RRC/LITE/rrc_eNB_S1AP.c
View file @
17a828e8
...
...
@@ -60,6 +60,8 @@
#endif
#include "msc.h"
#include "UERadioAccessCapabilityInformation.h"
#include "gtpv1u_eNB_task.h"
#include "RRC/LITE/rrc_eNB_GTPV1U.h"
...
...
@@ -584,29 +586,42 @@ void rrc_eNB_send_S1AP_UE_CAPABILITIES_IND(
//------------------------------------------------------------------------------
{
UECapabilityInformation_t
*
ueCapabilityInformation
=
&
ul_dcch_msg
->
message
.
choice
.
c1
.
choice
.
ueCapabilityInformation
;
/* 4096 is arbitrary, should be big enough */
unsigned
char
buf
[
4096
];
unsigned
char
*
buf2
;
UERadioAccessCapabilityInformation_t
rac
;
if
(
ueCapabilityInformation
->
criticalExtensions
.
present
!=
UECapabilityInformation__criticalExtensions_PR_c1
||
ueCapabilityInformation
->
criticalExtensions
.
choice
.
c1
.
present
!=
UECapabilityInformation__criticalExtensions__c1_PR_ueCapabilityInformation_r8
)
{
LOG_E
(
RRC
,
"[eNB %d][UE %x] bad UE capabilities
\n
"
,
ctxt_pP
->
module_id
,
ue_context_pP
->
ue_context
.
rnti
);
return
;
}
asn_enc_rval_t
ret
=
uper_encode_to_buffer
(
&
asn_DEF_UECapabilityInformation
,
ueCapabilityInformation
,
buf
,
4096
);
if
(
ret
.
encoded
==
-
1
)
abort
();
memset
(
&
rac
,
0
,
sizeof
(
UERadioAccessCapabilityInformation_t
));
rac
.
criticalExtensions
.
present
=
UERadioAccessCapabilityInformation__criticalExtensions_PR_c1
;
rac
.
criticalExtensions
.
choice
.
c1
.
present
=
UERadioAccessCapabilityInformation__criticalExtensions__c1_PR_ueRadioAccessCapabilityInformation_r8
;
rac
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueRadioAccessCapabilityInformation_r8
.
ue_RadioAccessCapabilityInfo
.
buf
=
buf
;
rac
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueRadioAccessCapabilityInformation_r8
.
ue_RadioAccessCapabilityInfo
.
size
=
(
ret
.
encoded
+
7
)
/
8
;
rac
.
criticalExtensions
.
choice
.
c1
.
choice
.
ueRadioAccessCapabilityInformation_r8
.
nonCriticalExtension
=
NULL
;
/* 8192 is arbitrary, should be big enough */
buf2
=
malloc16
(
8192
);
if
(
buf2
==
NULL
)
abort
();
ret
=
uper_encode_to_buffer
(
&
asn_DEF_UERadioAccessCapabilityInformation
,
&
rac
,
buf2
,
8192
);
if
(
ret
.
encoded
==
-
1
)
abort
();
if
((
ueCapabilityInformation
->
criticalExtensions
.
present
==
UECapabilityInformation__criticalExtensions_PR_c1
)
&&
(
ueCapabilityInformation
->
criticalExtensions
.
choice
.
c1
.
present
==
UECapabilityInformation__criticalExtensions__c1_PR_ueCapabilityInformation_r8
)
&&
(
ueCapabilityInformation
->
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityInformation_r8
.
ue_CapabilityRAT_ContainerList
.
list
.
count
>
0
))
{
UE_CapabilityRAT_ContainerList_t
*
ue_CapabilityRAT_ContainerList
=
&
ueCapabilityInformation
->
criticalExtensions
.
choice
.
c1
.
choice
.
ueCapabilityInformation_r8
.
ue_CapabilityRAT_ContainerList
;
MessageDef
*
msg_p
;
msg_p
=
itti_alloc_new_message
(
TASK_RRC_ENB
,
S1AP_UE_CAPABILITIES_IND
);
S1AP_UE_CAPABILITIES_IND
(
msg_p
).
eNB_ue_s1ap_id
=
ue_context_pP
->
ue_context
.
eNB_ue_s1ap_id
;
S1AP_UE_CAPABILITIES_IND
(
msg_p
).
ue_radio_cap
.
length
=
ue_CapabilityRAT_ContainerList
->
list
.
array
[
0
]
->
ueCapabilityRAT_Container
.
size
;
S1AP_UE_CAPABILITIES_IND
(
msg_p
).
ue_radio_cap
.
buffer
=
ue_CapabilityRAT_ContainerList
->
list
.
array
[
0
]
->
ueCapabilityRAT_Container
.
buf
;
S1AP_UE_CAPABILITIES_IND
(
msg_p
).
ue_radio_cap
.
length
=
(
ret
.
encoded
+
7
)
/
8
;
S1AP_UE_CAPABILITIES_IND
(
msg_p
).
ue_radio_cap
.
buffer
=
buf2
;
itti_send_msg_to_task
(
TASK_S1AP
,
ctxt_pP
->
instance
,
msg_p
);
if
(
ue_CapabilityRAT_ContainerList
->
list
.
count
>
1
)
{
LOG_W
(
RRC
,
"[eNB %d][UE %x] can only handle 1 UE capability RAT item for now (%d)
\n
"
,
ctxt_pP
->
module_id
,
ue_context_pP
->
ue_context
.
rnti
,
ue_CapabilityRAT_ContainerList
->
list
.
count
);
}
}
}
//------------------------------------------------------------------------------
...
...
openair3/S1AP/MESSAGES/ASN1/asn1cpatch.p0
deleted
100644 → 0
View file @
b6356123
This diff is collapsed.
Click to expand it.
openair3/S1AP/MESSAGES/ASN1/asn1cpatch_2.p0
deleted
100644 → 0
View file @
b6356123
--- skeletons/OCTET_STRING.c.orig 2015-04-28 10:40:04.036970492 +0200
+++ skeletons/OCTET_STRING.c 2015-04-28 10:40:09.619970869 +0200
@@ -159,7 +159,7 @@
}
static struct _stack *
-_new_stack() {
+_new_stack(void) {
return (struct _stack *)CALLOC(1, sizeof(struct _stack));
}
--- skeletons/converter-sample.c.orig 2015-04-28 10:40:32.164972391 +0200
+++ skeletons/converter-sample.c 2015-04-28 10:40:37.140972727 +0200
@@ -353,7 +353,7 @@
} DynamicBuffer;
static void
-buffer_dump() {
+buffer_dump(void) {
uint8_t *p = DynamicBuffer.data + DynamicBuffer.offset;
uint8_t *e = p + DynamicBuffer.length - (DynamicBuffer.unbits ? 1 : 0);
if(!opt_debug) return;
openair3/S1AP/MESSAGES/ASN1/asn1cpatch_3.p0
deleted
100644 → 0
View file @
b6356123
This diff is collapsed.
Click to expand it.
openair3/S1AP/s1ap_eNB_nas_procedures.c
View file @
17a828e8
...
...
@@ -668,6 +668,8 @@ int s1ap_eNB_ue_capabilities(instance_t instance,
return
-
1
;
}
free
(
ue_cap_info_ind_p
->
ue_radio_cap
.
buffer
);
MSC_LOG_TX_MESSAGE
(
MSC_S1AP_ENB
,
MSC_S1AP_MME
,
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.bladerfx40.conf
View file @
17a828e8
...
...
@@ -33,6 +33,7 @@ eNBs =
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antenna_ports
=
1
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
60
;
...
...
@@ -98,6 +99,7 @@ eNBs =
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
ue_TransmissionMode
=
1
;
}
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.lmssdr.conf
View file @
17a828e8
...
...
@@ -33,6 +33,7 @@ eNBs =
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antennas_ports
=
1
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
60
;
...
...
@@ -98,6 +99,7 @@ eNBs =
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
ue_TransmissionMode
=
1
;
}
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.rrh.usrpb210.conf
View file @
17a828e8
...
...
@@ -33,6 +33,7 @@ eNBs =
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antennna_ports
=
1
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
90
;
...
...
@@ -98,6 +99,7 @@ eNBs =
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
ue_TransmissionMode
=
1
;
}
);
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/enb.band7.tm1.usrpx310.conf
View file @
17a828e8
...
...
@@ -32,6 +32,7 @@ eNBs =
Nid_cell
=
0
;
N_RB_DL
=
25
;
Nid_cell_mbsfn
=
0
;
nb_antenna_ports
=
1
;
nb_antennas_tx
=
1
;
nb_antennas_rx
=
1
;
tx_gain
=
32
;
...
...
@@ -96,6 +97,8 @@ eNBs =
ue_TimersAndConstants_t311
=
10000
;
ue_TimersAndConstants_n310
=
20
;
ue_TimersAndConstants_n311
=
1
;
ue_TransmissionMode
=
1
;
}
);
...
...
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