Skip to content
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

Merged
merged 3 commits into from
Sep 1, 2020

Conversation

edingroot
Copy link
Contributor

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

@@ -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)
Copy link
Contributor

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)
Copy link
Contributor

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

@edingroot
Copy link
Contributor Author

Hi @free5gc-org,
Updated the two other message responses, please help to check the correctness (logical, procedural...), thanks.

@free5gc-org free5gc-org merged commit 3788328 into free5gc:master Sep 1, 2020
free5gc-org pushed a commit that referenced this pull request Jan 18, 2021
…est #3)

Feature/FR5GC-757 user plane routing rule config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants