Commenting out the initial GTP-C packing functions (for now).

master
Pedro Alvarez 7 years ago
parent 542edb988a
commit 2088b3967b

@ -183,6 +183,7 @@ typedef struct gtpc_header
* Ref: 3GPP TS 29.274 v10.14.0 Table 7.2.1-1 * Ref: 3GPP TS 29.274 v10.14.0 Table 7.2.1-1
* *
***************************************************************************/ ***************************************************************************/
/*
typedef struct gtpc_create_session_request typedef struct gtpc_create_session_request
{ {
bool imsi_present; bool imsi_present;
@ -251,7 +252,7 @@ typedef struct gtpc_create_session_request
uint8_t apco; // CO uint8_t apco; // CO
bool ext; // O bool ext; // O
} gtpc_create_session_request_t; } gtpc_create_session_request_t;
*/
}; };

@ -134,3 +134,17 @@ const uint8_t GTPC_IE_TYPE_APCO = 163;
const uint8_t GTPC_IE_TYPE_CHANGE_TO_REPORT_FLAGS = 165; const uint8_t GTPC_IE_TYPE_CHANGE_TO_REPORT_FLAGS = 165;
//168 TO 254 SPARE. FOR FUTURE USE. //168 TO 254 SPARE. FOR FUTURE USE.
const uint8_t GTPC_IE_TYPE_PRIVATE_EXTENSION = 255; const uint8_t GTPC_IE_TYPE_PRIVATE_EXTENSION = 255;
/****************************************************************
*
* GTP-C IMSI IE
* Ref: TS 29.274 v10.14.0 Table 8.3-1
*
****************************************************************/
/*
The IMSI should be kept as a uint64_t.
The responsibility to convert from uint64_t to BCD coded is on
the pack_imsi_ie function
*/
pack_imsi_ie(uint64_t imsi, **ptr);

@ -29,7 +29,7 @@
namespace srslte{ namespace srslte{
/*
int int
gtpc_pack_create_session_request(gtpc_create_session_request_t, srslte::byte_buffer_t) gtpc_pack_create_session_request(gtpc_create_session_request_t, srslte::byte_buffer_t)
{ {
@ -37,5 +37,5 @@ gtpc_pack_create_session_request(gtpc_create_session_request_t, srslte::byte_buf
return 0; return 0;
} }
*/
}; };

Loading…
Cancel
Save