Skip to content

Commit

Permalink
wip #close 23
Browse files Browse the repository at this point in the history
  • Loading branch information
louisroyer committed Dec 17, 2024
1 parent 391cb79 commit 23cad26
Show file tree
Hide file tree
Showing 6 changed files with 69 additions and 0 deletions.
10 changes: 10 additions & 0 deletions jsonapi/n1n2/handover_command.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package n1n2

// Handovercommand is sent by the CP to the source gNB to start the execution of handover, and forwarded to the UE
type HandoverCommand struct {
}
10 changes: 10 additions & 0 deletions jsonapi/n1n2/handover_confirm.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package n1n2

// HandoverConfirm is send by the target UE to the target gNB after the UE is synchronized to the new cell
type HandoverConfirm struct {
}
10 changes: 10 additions & 0 deletions jsonapi/n1n2/handover_notify.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package n1n2

// HandoverNotify is send by the target gNB to the CP after handover have been confirmed by the UE
type HandoverNotify struct {
}
10 changes: 10 additions & 0 deletions jsonapi/n1n2/handover_request.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package n1n2

// HandoverRequest is send by the CP to the target gNB during the handover preparation phase
type HandoverRequest struct {
}
10 changes: 10 additions & 0 deletions jsonapi/n1n2/handover_request_ack.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package n1n2

// HandoverRequestAck is send by the target gNB to the CP in response to an HandoverRequest
type HandoverRequestAck struct {
}
19 changes: 19 additions & 0 deletions jsonapi/n1n2/handover_required.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// Copyright 2024 Louis Royer and the NextMN contributors. All rights reserved.
// Use of this source code is governed by a MIT-style license that can be
// found in the LICENSE file.
// SPDX-License-Identifier: MIT

package n1n2

import (
"net/netip"

"github.com/nextmn/json-api/jsonapi"
)

// HandoverRequired is send by the source gNB to the CP to start the handover preparation phase
type HandoverRequired struct {
Ue jsonapi.ControlURI `json:"ue"`
PduSessions []netip.Addr `json:"pdu-sessions"` // list of all pdu sessions of the UE to be moved
TargetgNB jsonapi.ControlURI `json:"target-gnb"`
}

0 comments on commit 23cad26

Please sign in to comment.