Is your feature request related to a problem? Please describe.
PacketRusher is currently using free5gc/nas v1.1.3 and free5gc/ngap v1.0.8.
The latest versions are free5gc/nas v1.1.4 and free5gc/ngap v1.0.9.
Describe the solution you'd like
PacketRusher should upgrade to use free5gc/nas v1.1.4 and free5gc/ngap v1.0.9, but it contains breaking changes.
Describe alternatives you've considered
PacketRusher could stay with the previous version and not take advance of upcoming changes in free5GC libraries.
Additional context
I pulled the upgrades but it upgraded free5gc/openapi from v1.0.8 to v1.0.9-0.20250102055216-bb5814d1e736.
That version comes from their feat/r17 branch: https://github.com/free5gc/openapi/tree/bb5814d1e736dfd65232e717ff2199a395e95847
This in turn causes the following errors in PacketRusher:
ubuntu@N0:~/PacketRusher$ make
go build cmd/packetrusher.go
# my5G-RANTester/internal/control_test_engine/ue/context
internal/control_test_engine/ue/context/context.go:558:40: authSubs.Opc undefined (type models.AuthenticationSubscription has no field or method Opc)
internal/control_test_engine/ue/context/context.go:560:47: authSubs.Opc undefined (type models.AuthenticationSubscription has no field or method Opc)
internal/control_test_engine/ue/context/context.go:562:38: authSubs.PermanentKey undefined (type models.AuthenticationSubscription has no field or method PermanentKey)
internal/control_test_engine/ue/context/context.go:564:45: authSubs.PermanentKey undefined (type models.AuthenticationSubscription has no field or method PermanentKey)
internal/control_test_engine/ue/context/context.go:566:33: cannot use authSubs.SequenceNumber (variable of type *models.SequenceNumber) as string value in argument to hex.DecodeString
internal/control_test_engine/ue/context/context.go:587:28: cannot use fmt.Sprintf("%08x", sqnHn) (value of type string) as *models.SequenceNumber value in assignment
internal/control_test_engine/ue/context/context.go:650:35: ue.UeSecurity.AuthenticationSubs.PermanentKey undefined (type models.AuthenticationSubscription has no field or method PermanentKey)
internal/control_test_engine/ue/context/context.go:650:58: undefined: models.PermanentKey
internal/control_test_engine/ue/context/context.go:653:35: ue.UeSecurity.AuthenticationSubs.Opc undefined (type models.AuthenticationSubscription has no field or method Opc)
internal/control_test_engine/ue/context/context.go:653:49: undefined: models.Opc
internal/control_test_engine/ue/context/context.go:653:49: too many errors
make: *** [Makefile:2: all] Error 1
Please suggest whether PacketRusher should attempt this upgrade or stay with release-16.
Is your feature request related to a problem? Please describe.
PacketRusher is currently using free5gc/nas v1.1.3 and free5gc/ngap v1.0.8.
The latest versions are free5gc/nas v1.1.4 and free5gc/ngap v1.0.9.
Describe the solution you'd like
PacketRusher should upgrade to use free5gc/nas v1.1.4 and free5gc/ngap v1.0.9, but it contains breaking changes.
Describe alternatives you've considered
PacketRusher could stay with the previous version and not take advance of upcoming changes in free5GC libraries.
Additional context
I pulled the upgrades but it upgraded free5gc/openapi from v1.0.8 to v1.0.9-0.20250102055216-bb5814d1e736.
That version comes from their
feat/r17branch: https://github.com/free5gc/openapi/tree/bb5814d1e736dfd65232e717ff2199a395e95847This in turn causes the following errors in PacketRusher:
Please suggest whether PacketRusher should attempt this upgrade or stay with release-16.