Documentation ¶
Index ¶
- func AmfIdToModels(amfRegionId uint8, amfSetId uint16, amfPointer uint8) (amfId string)
- func AmfIdToNas(amfId string) (amfRegionId uint8, amfSetId uint16, amfPointer uint8)
- func DaylightSavingTimeToNas(timezone string) (nasDaylightSavingTimeToNas nasType.NetworkDaylightSavingTime)
- func FullNetworkNameToNas(name string) (fullNetworkName nasType.FullNameForNetwork)
- func GPRSTimer2ToNas(timerValue int) (timerValueNas uint8)
- func GPRSTimer3ToNas(timerValue int) (timerValueNas uint8)
- func GetTypeOfIdentity(buf byte) uint8
- func GutiToNas(guti string) (gutiNas nasType.GUTI5G)
- func GutiToString(buf []byte) (guami models.Guami, guti string)
- func LadnToModels(buf []uint8) (dnnValues []string)
- func LadnToNas(ladn amf_context.LADN) (ladnNas []uint8)
- func LocalTimeZoneToNas(timezone string) (nasTimezone nasType.LocalTimeZone)
- func ModelsToPDUSessionType(pduSessType models.PduSessionType) (nasPduSessType uint8)
- func ModelsToSessionAMBR(ambr *models.Ambr) (sessAmbr nasType.SessionAMBR)
- func NaiToString(buf []byte) (nai string)
- func PDUSessionReactivationResultErrorCauseToBuf(errPduSessionId, errCause []uint8) (buf []uint8)
- func PDUSessionTypeToModels(nasPduSessType uint8) (pduSessType models.PduSessionType)
- func PSIToBooleanArray(buf []uint8) (array [16]bool)
- func PSIToBuf(array [16]bool) []uint8
- func PartialServiceAreaListToNas(plmnID models.PlmnId, serviceAreaRestriction models.ServiceAreaRestriction) (partialServiceAreaList []byte)
- func PeiToString(buf []byte) (pei string)
- func PlmnIDToNas(plmnID models.PlmnId) (plmnNas []uint8)
- func PlmnIDToString(nasBuf []byte) (plmnID string)
- func RejectedNssaiToNas(rejectedNssaiInPlmn []models.Snssai, rejectedNssaiInTa []models.Snssai) (rejectedNssaiNas nasType.RejectedNSSAI)
- func RejectedSnssaiToNas(snssai models.Snssai, rejectCause uint8) (rejectedSnssai []uint8)
- func RequestedNssaiToModels(nasNssai *nasType.RequestedNSSAI) (nssai []models.Snssai)
- func ShortNetworkNameToNas(name string) (shortNetworkName nasType.ShortNameForNetwork)
- func SnssaiToModels(nasSnssai *nasType.SNSSAI) (snssai models.Snssai)
- func SnssaiToNas(snssai models.Snssai) (buf []uint8)
- func SpareHalfOctetAndNgksiToModels(ngKsiNas nasType.SpareHalfOctetAndNgksi) (ngKsiModels models.NgKsi)
- func SpareHalfOctetAndNgksiToNas(ngKsiModels models.NgKsi) (ngKsiNas nasType.SpareHalfOctetAndNgksi)
- func SuciToString(buf []byte) (suci string, plmnId string)
- func TaiListToNas(taiList []models.Tai) (taiListNas []uint8)
- func UESecurityCapabilityToByteArray(buf []uint8) (nea, nia, eea, eia [2]byte)
- func UpuAckToModels(buf []uint8) (string, error)
- func UpuInfoToNas(upuInfo models.UpuInfo) (buf []uint8)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AmfIdToModels ¶
func AmfIdToNas ¶
func DaylightSavingTimeToNas ¶
func DaylightSavingTimeToNas(timezone string) (nasDaylightSavingTimeToNas nasType.NetworkDaylightSavingTime)
func FullNetworkNameToNas ¶
func FullNetworkNameToNas(name string) (fullNetworkName nasType.FullNameForNetwork)
TS 24.501 9.11.3.35, TS 24.008 10.5.3.5a
func GPRSTimer2ToNas ¶
TS 24.008 10.5.7.4, TS 24.501 9.11.2.4 the unit of timerValue is second
func GPRSTimer3ToNas ¶
TS 24.008 10.5.7.4a
func GetTypeOfIdentity ¶
func GutiToString ¶
nasType: TS 24.501 9.11.3.4
func LadnToModels ¶
func LadnToNas ¶
func LadnToNas(ladn amf_context.LADN) (ladnNas []uint8)
func LocalTimeZoneToNas ¶
func LocalTimeZoneToNas(timezone string) (nasTimezone nasType.LocalTimeZone)
func ModelsToPDUSessionType ¶
func ModelsToPDUSessionType(pduSessType models.PduSessionType) (nasPduSessType uint8)
func ModelsToSessionAMBR ¶
func ModelsToSessionAMBR(ambr *models.Ambr) (sessAmbr nasType.SessionAMBR)
func NaiToString ¶
func PDUSessionTypeToModels ¶
func PDUSessionTypeToModels(nasPduSessType uint8) (pduSessType models.PduSessionType)
func PSIToBooleanArray ¶
func PartialServiceAreaListToNas ¶
func PartialServiceAreaListToNas(plmnID models.PlmnId, serviceAreaRestriction models.ServiceAreaRestriction) (partialServiceAreaList []byte)
TS 24.501 9.11.3.49
func PeiToString ¶
PEI: ^(imei-[0-9]{15}|imeisv-[0-9]{16}|.+)$
func PlmnIDToNas ¶
func PlmnIDToString ¶
func RejectedNssaiToNas ¶
func RejectedSnssaiToNas ¶
func RequestedNssaiToModels ¶
func RequestedNssaiToModels(nasNssai *nasType.RequestedNSSAI) (nssai []models.Snssai)
func ShortNetworkNameToNas ¶
func ShortNetworkNameToNas(name string) (shortNetworkName nasType.ShortNameForNetwork)
func SnssaiToNas ¶
func SpareHalfOctetAndNgksiToModels ¶
func SpareHalfOctetAndNgksiToModels(ngKsiNas nasType.SpareHalfOctetAndNgksi) (ngKsiModels models.NgKsi)
func SpareHalfOctetAndNgksiToNas ¶
func SpareHalfOctetAndNgksiToNas(ngKsiModels models.NgKsi) (ngKsiNas nasType.SpareHalfOctetAndNgksi)
func SuciToString ¶
TS 24.501 9.11.3.4 suci(imsi) = "suci-0-${mcc}-${mnc}-${routingIndentifier}-${protectionScheme}-${homeNetworkPublicKeyIdentifier}-${schemeOutput}" suci(nai) = "nai-${naiString}"
func UpuAckToModels ¶
func UpuInfoToNas ¶
subclause 9.11.3.53A in 3GPP TS 24.501
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.