Commit 48d1962a authored by gauthier's avatar gauthier

Sebastian Held patches15/0007-fix-invalid-memory-accesses.patch

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@7309 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 5616e656
...@@ -2418,14 +2418,12 @@ uint8_t do_ULInformationTransfer(uint8_t **buffer, uint32_t pdu_length, uint8_t ...@@ -2418,14 +2418,12 @@ uint8_t do_ULInformationTransfer(uint8_t **buffer, uint32_t pdu_length, uint8_t
return encoded; return encoded;
} }
//OAI_UECapability_t *fill_ue_capability(void) {
OAI_UECapability_t *fill_ue_capability(char *UE_EUTRA_Capability_xer_fname) OAI_UECapability_t *fill_ue_capability(char *UE_EUTRA_Capability_xer_fname)
{ {
static OAI_UECapability_t UECapability; /* TODO declared static to allow returning this has an address should be allocated in a cleaner way. */ static OAI_UECapability_t UECapability; /* TODO declared static to allow returning this has an address should be allocated in a cleaner way. */
SupportedBandEUTRA_t Bandlist[4]; static SupportedBandEUTRA_t Bandlist[4]; // the macro ASN_SEQUENCE_ADD() does not copy the source, but only stores a reference to it
// BandInfoEUTRA_t BandInfo_meas[4]; static InterFreqBandInfo_t InterFreqBandInfo[4][4]; // the macro ASN_SEQUENCE_ADD() does not copy the source, but only stores a reference to it
InterFreqBandInfo_t InterFreqBandInfo[4][4]; static BandInfoEUTRA_t BandInfoEUTRA[4]; // the macro ASN_SEQUENCE_ADD() does not copy the source, but only stores a reference to it
BandInfoEUTRA_t BandInfoEUTRA[4];
asn_enc_rval_t enc_rval; asn_enc_rval_t enc_rval;
asn_dec_rval_t dec_rval; asn_dec_rval_t dec_rval;
...@@ -2447,7 +2445,6 @@ OAI_UECapability_t *fill_ue_capability(char *UE_EUTRA_Capability_xer_fname) ...@@ -2447,7 +2445,6 @@ OAI_UECapability_t *fill_ue_capability(char *UE_EUTRA_Capability_xer_fname)
Bandlist[0].bandEUTRA = 3; // UL 1710-1785, DL 1805-1880 FDD Bandlist[0].bandEUTRA = 3; // UL 1710-1785, DL 1805-1880 FDD
Bandlist[0].halfDuplex = 0; Bandlist[0].halfDuplex = 0;
Bandlist[1].bandEUTRA = 20; // UL 824-849 , DL 869-894 FDD Bandlist[1].bandEUTRA = 20; // UL 824-849 , DL 869-894 FDD
Bandlist[1].halfDuplex = 0; Bandlist[1].halfDuplex = 0;
Bandlist[2].bandEUTRA = 7; // UL 2500-2570, DL 2620-2690 FDD Bandlist[2].bandEUTRA = 7; // UL 2500-2570, DL 2620-2690 FDD
Bandlist[2].halfDuplex = 0; Bandlist[2].halfDuplex = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment