-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support pdu session establishment IEs #3
Support pdu session establishment IEs #3
Conversation
(more constants defined in TS 24.008 10.5.6.3 needed to be added, ref: edingroot/nas@68ffa38)
@@ -25,7 +26,7 @@ func BuildGSMPDUSessionEstablishmentAccept(smContext *SMContext) ([]byte, error) | |||
pDUSessionEstablishmentAccept.SetPDUSessionID(uint8(smContext.PDUSessionID)) | |||
pDUSessionEstablishmentAccept.SetMessageType(nas.MsgTypePDUSessionEstablishmentAccept) | |||
pDUSessionEstablishmentAccept.SetExtendedProtocolDiscriminator(nasMessage.Epd5GSSessionManagementMessage) | |||
pDUSessionEstablishmentAccept.SetPTI(0x00) | |||
pDUSessionEstablishmentAccept.SetPTI(smContext.Pti) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @edingroot
According to TS24.501 6.2.1
The PTI value should be set in every response from UE-requested transaction.
e.g., PTI should also be set in BuildGSMPDUSessionEstablishmentReject
, BuildGSMPDUSessionModificationCommand
... so on and so forth.
@@ -134,7 +163,7 @@ func BuildGSMPDUSessionReleaseCommand(smContext *SMContext) ([]byte, error) { | |||
pDUSessionReleaseCommand.SetMessageType(nas.MsgTypePDUSessionReleaseCommand) | |||
pDUSessionReleaseCommand.SetExtendedProtocolDiscriminator(nasMessage.Epd5GSSessionManagementMessage) | |||
pDUSessionReleaseCommand.SetPDUSessionID(uint8(smContext.PDUSessionID)) | |||
pDUSessionReleaseCommand.SetPTI(0x00) | |||
pDUSessionReleaseCommand.SetPTI(smContext.Pti) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@edingroot ,
same PTI issue here
Hi @free5gc-org, |
…est #3) Feature/FR5GC-757 user plane routing rule config
Hi team,
This PR supports more IEs which are originally unknown in the PDU session establishment request handler, and add the corresponding parameters requested by the UE. In addition, the PTI field value of the PDU session estab. req. and accept should be the same, this is important to the (some) UE to recognize the estab. accept message.
Note: this PR should be MERGE ALONG WITH PR#3 in nas library in order to make it compilable.
Best,
Chi