Skip to content

Commit 2a116cb

Browse files
timyld11nn
authored andcommitted
fix: include UE location in N2 handover complete notification to SMF
When AMF sends UpdateSmContext with HoState=COMPLETED to SMF after N2 handover, include the UE's current location (ueLocation) in the request body so SMF can report the access network change to PCF via the AN_CH_COR trigger per TS 29.512. Previously, ueLocation was omitted from the COMPLETED notification, preventing SMF from accurately reporting the post-handover UE location to PCF for policy updates.
1 parent dbfb9a5 commit 2a116cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

internal/sbi/consumer/smf_service.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ func (s *nsmfService) SendUpdateSmContextN2HandoverComplete(
395395
) {
396396
updateData := models.SmfPduSessionSmContextUpdateData{}
397397
updateData.HoState = models.HoState_COMPLETED
398+
updateData.UeLocation = &ue.Location
398399
if amfid != "" {
399400
updateData.ServingNfId = amfid
400401
updateData.ServingNetwork = guami.PlmnId

0 commit comments

Comments
 (0)