Documentation
¶
Index ¶
- Variables
- type Cell
- func (*Cell) Descriptor() ([]byte, []int)
- func (m *Cell) GetColor() string
- func (m *Cell) GetCrntiIndex() uint32
- func (m *Cell) GetCrntiMap() map[Crnti]Imsi
- func (m *Cell) GetEcgi() *ECGI
- func (m *Cell) GetLocation() *Point
- func (m *Cell) GetMaxUEs() uint32
- func (m *Cell) GetNeighbors() []*ECGI
- func (m *Cell) GetPort() uint32
- func (m *Cell) GetSector() *Sector
- func (m *Cell) GetTxPowerdB() float32
- func (m *Cell) Marshal() (dAtA []byte, err error)
- func (m *Cell) MarshalTo(dAtA []byte) (int, error)
- func (m *Cell) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Cell) ProtoMessage()
- func (m *Cell) Reset()
- func (m *Cell) Size() (n int)
- func (m *Cell) String() string
- func (m *Cell) Unmarshal(dAtA []byte) error
- func (m *Cell) XXX_DiscardUnknown()
- func (m *Cell) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cell) XXX_Merge(src proto.Message)
- func (m *Cell) XXX_Size() int
- func (m *Cell) XXX_Unmarshal(b []byte) error
- type Crnti
- type ECGI
- func (*ECGI) Descriptor() ([]byte, []int)
- func (m *ECGI) GetEcID() EcID
- func (m *ECGI) GetPlmnID() PlmnID
- func (m *ECGI) Marshal() (dAtA []byte, err error)
- func (m *ECGI) MarshalTo(dAtA []byte) (int, error)
- func (m *ECGI) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ECGI) ProtoMessage()
- func (m *ECGI) Reset()
- func (m *ECGI) Size() (n int)
- func (m *ECGI) String() string
- func (m *ECGI) Unmarshal(dAtA []byte) error
- func (m *ECGI) XXX_DiscardUnknown()
- func (m *ECGI) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ECGI) XXX_Merge(src proto.Message)
- func (m *ECGI) XXX_Size() int
- func (m *ECGI) XXX_Unmarshal(b []byte) error
- type EcID
- type Imsi
- type MapLayout
- func (*MapLayout) Descriptor() ([]byte, []int)
- func (m *MapLayout) GetCenter() *Point
- func (m *MapLayout) GetCurrentRoutes() uint32
- func (m *MapLayout) GetFade() bool
- func (m *MapLayout) GetLocationsScale() float32
- func (m *MapLayout) GetMaxUes() uint32
- func (m *MapLayout) GetMinUes() uint32
- func (m *MapLayout) GetShowPower() bool
- func (m *MapLayout) GetShowRoutes() bool
- func (m *MapLayout) GetZoom() float32
- func (m *MapLayout) Marshal() (dAtA []byte, err error)
- func (m *MapLayout) MarshalTo(dAtA []byte) (int, error)
- func (m *MapLayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MapLayout) ProtoMessage()
- func (m *MapLayout) Reset()
- func (m *MapLayout) Size() (n int)
- func (m *MapLayout) String() string
- func (m *MapLayout) Unmarshal(dAtA []byte) error
- func (m *MapLayout) XXX_DiscardUnknown()
- func (m *MapLayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MapLayout) XXX_Merge(src proto.Message)
- func (m *MapLayout) XXX_Size() int
- func (m *MapLayout) XXX_Unmarshal(b []byte) error
- type PlmnID
- type Point
- func (*Point) Descriptor() ([]byte, []int)
- func (m *Point) GetLat() float32
- func (m *Point) GetLng() float32
- func (m *Point) Marshal() (dAtA []byte, err error)
- func (m *Point) MarshalTo(dAtA []byte) (int, error)
- func (m *Point) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Point) ProtoMessage()
- func (m *Point) Reset()
- func (m *Point) Size() (n int)
- func (m *Point) String() string
- func (m *Point) Unmarshal(dAtA []byte) error
- func (m *Point) XXX_DiscardUnknown()
- func (m *Point) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Point) XXX_Merge(src proto.Message)
- func (m *Point) XXX_Size() int
- func (m *Point) XXX_Unmarshal(b []byte) error
- type Route
- func (*Route) Descriptor() ([]byte, []int)
- func (m *Route) GetColor() string
- func (m *Route) GetRouteID() Imsi
- func (m *Route) GetWaypoints() []*Point
- func (m *Route) Marshal() (dAtA []byte, err error)
- func (m *Route) MarshalTo(dAtA []byte) (int, error)
- func (m *Route) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Route) ProtoMessage()
- func (m *Route) Reset()
- func (m *Route) Size() (n int)
- func (m *Route) String() string
- func (m *Route) Unmarshal(dAtA []byte) error
- func (m *Route) XXX_DiscardUnknown()
- func (m *Route) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Route) XXX_Merge(src proto.Message)
- func (m *Route) XXX_Size() int
- func (m *Route) XXX_Unmarshal(b []byte) error
- type Sector
- func (*Sector) Descriptor() ([]byte, []int)
- func (m *Sector) GetArc() int32
- func (m *Sector) GetAzimuth() int32
- func (m *Sector) GetCentroid() *Point
- func (m *Sector) Marshal() (dAtA []byte, err error)
- func (m *Sector) MarshalTo(dAtA []byte) (int, error)
- func (m *Sector) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Sector) ProtoMessage()
- func (m *Sector) Reset()
- func (m *Sector) Size() (n int)
- func (m *Sector) String() string
- func (m *Sector) Unmarshal(dAtA []byte) error
- func (m *Sector) XXX_DiscardUnknown()
- func (m *Sector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Sector) XXX_Merge(src proto.Message)
- func (m *Sector) XXX_Size() int
- func (m *Sector) XXX_Unmarshal(b []byte) error
- type Ue
- func (*Ue) Descriptor() ([]byte, []int)
- func (m *Ue) GetAdmitted() bool
- func (m *Ue) GetCrnti() Crnti
- func (m *Ue) GetImsi() Imsi
- func (m *Ue) GetMetrics() *UeMetrics
- func (m *Ue) GetPosition() *Point
- func (m *Ue) GetRotation() uint32
- func (m *Ue) GetServingTower() *ECGI
- func (m *Ue) GetServingTowerDist() float32
- func (m *Ue) GetTower1() *ECGI
- func (m *Ue) GetTower1Dist() float32
- func (m *Ue) GetTower2() *ECGI
- func (m *Ue) GetTower2Dist() float32
- func (m *Ue) GetTower3() *ECGI
- func (m *Ue) GetTower3Dist() float32
- func (m *Ue) GetType() string
- func (m *Ue) Marshal() (dAtA []byte, err error)
- func (m *Ue) MarshalTo(dAtA []byte) (int, error)
- func (m *Ue) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ue) ProtoMessage()
- func (m *Ue) Reset()
- func (m *Ue) Size() (n int)
- func (m *Ue) String() string
- func (m *Ue) Unmarshal(dAtA []byte) error
- func (m *Ue) XXX_DiscardUnknown()
- func (m *Ue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ue) XXX_Merge(src proto.Message)
- func (m *Ue) XXX_Size() int
- func (m *Ue) XXX_Unmarshal(b []byte) error
- type UeMetrics
- func (*UeMetrics) Descriptor() ([]byte, []int)
- func (m *UeMetrics) GetHoLatency() int64
- func (m *UeMetrics) GetHoReportTimestamp() int64
- func (m *UeMetrics) GetIsFirst() bool
- func (m *UeMetrics) Marshal() (dAtA []byte, err error)
- func (m *UeMetrics) MarshalTo(dAtA []byte) (int, error)
- func (m *UeMetrics) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UeMetrics) ProtoMessage()
- func (m *UeMetrics) Reset()
- func (m *UeMetrics) Size() (n int)
- func (m *UeMetrics) String() string
- func (m *UeMetrics) Unmarshal(dAtA []byte) error
- func (m *UeMetrics) XXX_DiscardUnknown()
- func (m *UeMetrics) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UeMetrics) XXX_Merge(src proto.Message)
- func (m *UeMetrics) XXX_Size() int
- func (m *UeMetrics) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Cell ¶ added in v0.6.1
type Cell struct {
Ecgi *ECGI `protobuf:"bytes,1,opt,name=ecgi,proto3" json:"ecgi,omitempty"`
Location *Point `protobuf:"bytes,3,opt,name=location,proto3" json:"location,omitempty"`
Sector *Sector `protobuf:"bytes,4,opt,name=sector,proto3" json:"sector,omitempty"`
Color string `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty"`
MaxUEs uint32 `protobuf:"varint,6,opt,name=maxUEs,proto3" json:"maxUEs,omitempty"`
Neighbors []*ECGI `protobuf:"bytes,7,rep,name=neighbors,proto3" json:"neighbors,omitempty"`
// The cell transmit power in decibels
TxPowerdB float32 `protobuf:"fixed32,8,opt,name=txPowerdB,proto3" json:"txPowerdB,omitempty"`
// crntis maps a ue's name to its crnti
CrntiMap map[Crnti]Imsi `` /* 187-byte string literal not displayed */
CrntiIndex uint32 `protobuf:"varint,10,opt,name=crntiIndex,proto3" json:"crntiIndex,omitempty"`
Port uint32 `protobuf:"varint,11,opt,name=port,proto3" json:"port,omitempty"`
}
func (*Cell) Descriptor ¶ added in v0.6.1
func (*Cell) GetCrntiIndex ¶ added in v0.6.1
func (*Cell) GetCrntiMap ¶ added in v0.6.1
func (*Cell) GetLocation ¶ added in v0.6.1
func (*Cell) GetNeighbors ¶ added in v0.6.1
func (*Cell) GetTxPowerdB ¶ added in v0.6.1
func (*Cell) MarshalToSizedBuffer ¶ added in v0.6.1
func (*Cell) ProtoMessage ¶ added in v0.6.1
func (*Cell) ProtoMessage()
func (*Cell) XXX_DiscardUnknown ¶ added in v0.6.1
func (m *Cell) XXX_DiscardUnknown()
func (*Cell) XXX_Marshal ¶ added in v0.6.1
func (*Cell) XXX_Unmarshal ¶ added in v0.6.1
type ECGI ¶
type ECGI struct {
EcID EcID `protobuf:"bytes,1,opt,name=ecID,proto3,casttype=EcID" json:"ecID,omitempty"`
PlmnID PlmnID `protobuf:"bytes,2,opt,name=plmnID,proto3,casttype=PlmnID" json:"plmnID,omitempty"`
}
station's unique ID
func (*ECGI) Descriptor ¶
func (*ECGI) ProtoMessage ¶
func (*ECGI) ProtoMessage()
func (*ECGI) XXX_DiscardUnknown ¶
func (m *ECGI) XXX_DiscardUnknown()
func (*ECGI) XXX_Unmarshal ¶
type MapLayout ¶
type MapLayout struct {
// Map center latitude and longitude
Center *Point `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`
// The starting Zoom level
Zoom float32 `protobuf:"fixed32,2,opt,name=zoom,proto3" json:"zoom,omitempty"`
// Show map as faded on start
Fade bool `protobuf:"varint,3,opt,name=fade,proto3" json:"fade,omitempty"`
// Show routes on start
ShowRoutes bool `protobuf:"varint,4,opt,name=showRoutes,proto3" json:"showRoutes,omitempty"`
// Show power as circle on start
ShowPower bool `protobuf:"varint,5,opt,name=showPower,proto3" json:"showPower,omitempty"`
// Max number of UEs for complete simulation
MinUes uint32 `protobuf:"varint,6,opt,name=min_ues,json=minUes,proto3" json:"min_ues,omitempty"`
// Max number of UEs for complete simulation
MaxUes uint32 `protobuf:"varint,7,opt,name=max_ues,json=maxUes,proto3" json:"max_ues,omitempty"`
// the current number of routes
CurrentRoutes uint32 `protobuf:"varint,8,opt,name=current_routes,json=currentRoutes,proto3" json:"current_routes,omitempty"`
// Ratio of random locations diameter to tower grid width
LocationsScale float32 `protobuf:"fixed32,9,opt,name=locationsScale,proto3" json:"locationsScale,omitempty"`
}
func (*MapLayout) Descriptor ¶
func (*MapLayout) GetCurrentRoutes ¶
func (*MapLayout) GetLocationsScale ¶ added in v0.6.1
func (*MapLayout) GetShowPower ¶
func (*MapLayout) GetShowRoutes ¶
func (*MapLayout) MarshalToSizedBuffer ¶
func (*MapLayout) ProtoMessage ¶
func (*MapLayout) ProtoMessage()
func (*MapLayout) XXX_DiscardUnknown ¶
func (m *MapLayout) XXX_DiscardUnknown()
func (*MapLayout) XXX_Marshal ¶
func (*MapLayout) XXX_Unmarshal ¶
type Point ¶
type Point struct {
Lat float32 `protobuf:"fixed32,1,opt,name=lat,proto3" json:"lat,omitempty"`
Lng float32 `protobuf:"fixed32,2,opt,name=lng,proto3" json:"lng,omitempty"`
}
func (*Point) Descriptor ¶
func (*Point) ProtoMessage ¶
func (*Point) ProtoMessage()
func (*Point) XXX_DiscardUnknown ¶
func (m *Point) XXX_DiscardUnknown()
func (*Point) XXX_Marshal ¶
func (*Point) XXX_Unmarshal ¶
type Route ¶
type Route struct {
RouteID Imsi `protobuf:"varint,1,opt,name=name,proto3,casttype=Imsi" json:"name,omitempty"`
Waypoints []*Point `protobuf:"bytes,2,rep,name=waypoints,proto3" json:"waypoints,omitempty"`
Color string `protobuf:"bytes,3,opt,name=color,proto3" json:"color,omitempty"`
}
func (*Route) Descriptor ¶
func (*Route) GetRouteID ¶
func (*Route) GetWaypoints ¶
func (*Route) ProtoMessage ¶
func (*Route) ProtoMessage()
func (*Route) XXX_DiscardUnknown ¶
func (m *Route) XXX_DiscardUnknown()
func (*Route) XXX_Marshal ¶
func (*Route) XXX_Unmarshal ¶
type Sector ¶ added in v0.6.1
type Sector struct {
Azimuth int32 `protobuf:"varint,1,opt,name=azimuth,proto3" json:"azimuth,omitempty"`
Arc int32 `protobuf:"varint,2,opt,name=arc,proto3" json:"arc,omitempty"`
Centroid *Point `protobuf:"bytes,3,opt,name=centroid,proto3" json:"centroid,omitempty"`
}
func (*Sector) Descriptor ¶ added in v0.6.1
func (*Sector) GetAzimuth ¶ added in v0.6.1
func (*Sector) GetCentroid ¶ added in v0.6.1
func (*Sector) MarshalToSizedBuffer ¶ added in v0.6.1
func (*Sector) ProtoMessage ¶ added in v0.6.1
func (*Sector) ProtoMessage()
func (*Sector) XXX_DiscardUnknown ¶ added in v0.6.1
func (m *Sector) XXX_DiscardUnknown()
func (*Sector) XXX_Marshal ¶ added in v0.6.1
func (*Sector) XXX_Unmarshal ¶ added in v0.6.1
type Ue ¶
type Ue struct {
Imsi Imsi `protobuf:"varint,1,opt,name=imsi,proto3,casttype=Imsi" json:"imsi,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Position *Point `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
Rotation uint32 `protobuf:"varint,5,opt,name=rotation,proto3" json:"rotation,omitempty"`
ServingTower *ECGI `protobuf:"bytes,7,opt,name=serving_tower,json=servingTower,proto3" json:"serving_tower,omitempty"`
ServingTowerDist float32 `protobuf:"fixed32,8,opt,name=serving_tower_dist,json=servingTowerDist,proto3" json:"serving_tower_dist,omitempty"`
Tower1 *ECGI `protobuf:"bytes,9,opt,name=tower1,proto3" json:"tower1,omitempty"`
Tower1Dist float32 `protobuf:"fixed32,10,opt,name=tower1_dist,json=tower1Dist,proto3" json:"tower1_dist,omitempty"`
Tower2 *ECGI `protobuf:"bytes,11,opt,name=tower2,proto3" json:"tower2,omitempty"`
Tower2Dist float32 `protobuf:"fixed32,12,opt,name=tower2_dist,json=tower2Dist,proto3" json:"tower2_dist,omitempty"`
Tower3 *ECGI `protobuf:"bytes,13,opt,name=tower3,proto3" json:"tower3,omitempty"`
Tower3Dist float32 `protobuf:"fixed32,14,opt,name=tower3_dist,json=tower3Dist,proto3" json:"tower3_dist,omitempty"`
Crnti Crnti `protobuf:"bytes,15,opt,name=crnti,proto3,casttype=Crnti" json:"crnti,omitempty"`
Admitted bool `protobuf:"varint,16,opt,name=admitted,proto3" json:"admitted,omitempty"`
Metrics *UeMetrics `protobuf:"bytes,17,opt,name=metrics,proto3" json:"metrics,omitempty"`
}
func (*Ue) Descriptor ¶
func (*Ue) GetAdmitted ¶
func (*Ue) GetMetrics ¶
func (*Ue) GetPosition ¶
func (*Ue) GetRotation ¶
func (*Ue) GetServingTower ¶
func (*Ue) GetServingTowerDist ¶
func (*Ue) GetTower1Dist ¶
func (*Ue) GetTower2Dist ¶
func (*Ue) GetTower3Dist ¶
func (*Ue) ProtoMessage ¶
func (*Ue) ProtoMessage()
func (*Ue) XXX_DiscardUnknown ¶
func (m *Ue) XXX_DiscardUnknown()
func (*Ue) XXX_Unmarshal ¶
type UeMetrics ¶
type UeMetrics struct {
// Latency (in nanoseconds) of the most recent hand-over
HoLatency int64 `protobuf:"varint,1,opt,name=ho_latency,json=hoLatency,proto3" json:"ho_latency,omitempty"`
// Handover report timestamp (in nanoseconds since epoch)
HoReportTimestamp int64 `protobuf:"varint,2,opt,name=ho_report_timestamp,json=hoReportTimestamp,proto3" json:"ho_report_timestamp,omitempty"`
// flag to indicate the first measurement
IsFirst bool `protobuf:"varint,3,opt,name=isFirst,proto3" json:"isFirst,omitempty"`
}
func (*UeMetrics) Descriptor ¶
func (*UeMetrics) GetHoLatency ¶
func (*UeMetrics) GetHoReportTimestamp ¶
func (*UeMetrics) GetIsFirst ¶
func (*UeMetrics) MarshalToSizedBuffer ¶
func (*UeMetrics) ProtoMessage ¶
func (*UeMetrics) ProtoMessage()
func (*UeMetrics) XXX_DiscardUnknown ¶
func (m *UeMetrics) XXX_DiscardUnknown()
func (*UeMetrics) XXX_Marshal ¶
func (*UeMetrics) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.