Commit 52f8506b authored by matzakos's avatar matzakos

Include PDU session type field in PDU Session Establishment Request NAS message

parent 9f0c1061
...@@ -54,6 +54,8 @@ int encode_pdu_session_establishment_request(pdu_session_establishment_request_m ...@@ -54,6 +54,8 @@ int encode_pdu_session_establishment_request(pdu_session_establishment_request_m
encoded++; encoded++;
IES_ENCODE_U16(buffer, encoded, pdusessionestablishrequest->maxdatarate); IES_ENCODE_U16(buffer, encoded, pdusessionestablishrequest->maxdatarate);
*(buffer + encoded) = pdusessionestablishrequest->pdusessiontype;
encoded++;
return encoded; return encoded;
} }
......
...@@ -53,6 +53,7 @@ typedef struct pdu_session_establishment_request_msg_tag { ...@@ -53,6 +53,7 @@ typedef struct pdu_session_establishment_request_msg_tag {
uint8_t pti; uint8_t pti;
MessageType pdusessionestblishmsgtype; MessageType pdusessionestblishmsgtype;
uint16_t maxdatarate; uint16_t maxdatarate;
uint8_t pdusessiontype;
/* Optional fields */ /* Optional fields */
} pdu_session_establishment_request_msg; } pdu_session_establishment_request_msg;
......
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