Documentation
¶
Index ¶
- Variables
- 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) 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 Tower
- func (*Tower) Descriptor() ([]byte, []int)
- func (m *Tower) GetColor() string
- func (m *Tower) GetCrntiIndex() uint32
- func (m *Tower) GetCrntiMap() map[Crnti]Imsi
- func (m *Tower) GetEcgi() *ECGI
- func (m *Tower) GetLocation() *Point
- func (m *Tower) GetMaxUEs() uint32
- func (m *Tower) GetNeighbors() []*ECGI
- func (m *Tower) GetPort() uint32
- func (m *Tower) GetTxPowerdB() float32
- func (m *Tower) Marshal() (dAtA []byte, err error)
- func (m *Tower) MarshalTo(dAtA []byte) (int, error)
- func (m *Tower) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tower) ProtoMessage()
- func (m *Tower) Reset()
- func (m *Tower) Size() (n int)
- func (m *Tower) String() string
- func (m *Tower) Unmarshal(dAtA []byte) error
- func (m *Tower) XXX_DiscardUnknown()
- func (m *Tower) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tower) XXX_Merge(src proto.Message)
- func (m *Tower) XXX_Size() int
- func (m *Tower) XXX_Unmarshal(b []byte) error
- type TowersParams
- func (*TowersParams) Descriptor() ([]byte, []int)
- func (m *TowersParams) GetLocationsScale() float32
- func (m *TowersParams) GetMaxUEsPerTower() uint32
- func (m *TowersParams) GetTowerCols() uint32
- func (m *TowersParams) GetTowerRows() uint32
- func (m *TowersParams) GetTowerSpacingHoriz() float32
- func (m *TowersParams) GetTowerSpacingVert() float32
- func (m *TowersParams) Marshal() (dAtA []byte, err error)
- func (m *TowersParams) MarshalTo(dAtA []byte) (int, error)
- func (m *TowersParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TowersParams) ProtoMessage()
- func (m *TowersParams) Reset()
- func (m *TowersParams) Size() (n int)
- func (m *TowersParams) String() string
- func (m *TowersParams) Unmarshal(dAtA []byte) error
- func (m *TowersParams) XXX_DiscardUnknown()
- func (m *TowersParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TowersParams) XXX_Merge(src proto.Message)
- func (m *TowersParams) XXX_Size() int
- func (m *TowersParams) 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 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"`
}
func (*MapLayout) Descriptor ¶
func (*MapLayout) GetCurrentRoutes ¶
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 Tower ¶
type Tower 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"`
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
MaxUEs uint32 `protobuf:"varint,5,opt,name=maxUEs,proto3" json:"maxUEs,omitempty"`
Neighbors []*ECGI `protobuf:"bytes,6,rep,name=neighbors,proto3" json:"neighbors,omitempty"`
// The tower transmit power in decibels
TxPowerdB float32 `protobuf:"fixed32,7,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 (*Tower) Descriptor ¶
func (*Tower) GetCrntiIndex ¶
func (*Tower) GetCrntiMap ¶
func (*Tower) GetLocation ¶
func (*Tower) GetNeighbors ¶
func (*Tower) GetTxPowerdB ¶
func (*Tower) ProtoMessage ¶
func (*Tower) ProtoMessage()
func (*Tower) XXX_DiscardUnknown ¶
func (m *Tower) XXX_DiscardUnknown()
func (*Tower) XXX_Marshal ¶
func (*Tower) XXX_Unmarshal ¶
type TowersParams ¶
type TowersParams struct {
// Number of rows of towers
TowerRows uint32 `protobuf:"varint,1,opt,name=towerRows,proto3" json:"towerRows,omitempty"`
// Number of columns of towers
TowerCols uint32 `protobuf:"varint,2,opt,name=towerCols,proto3" json:"towerCols,omitempty"`
// Tower spacing vert in degrees latitude
TowerSpacingVert float32 `protobuf:"fixed32,3,opt,name=towerSpacingVert,proto3" json:"towerSpacingVert,omitempty"`
// Tower spacing horiz in degrees longitude
TowerSpacingHoriz float32 `protobuf:"fixed32,4,opt,name=towerSpacingHoriz,proto3" json:"towerSpacingHoriz,omitempty"`
// Ratio of random locations diameter to tower grid width
LocationsScale float32 `protobuf:"fixed32,5,opt,name=locationsScale,proto3" json:"locationsScale,omitempty"`
// Max num of UEs per tower
MaxUEsPerTower uint32 `protobuf:"varint,6,opt,name=maxUEsPerTower,proto3" json:"maxUEsPerTower,omitempty"`
}
func (*TowersParams) Descriptor ¶
func (*TowersParams) Descriptor() ([]byte, []int)
func (*TowersParams) GetLocationsScale ¶
func (m *TowersParams) GetLocationsScale() float32
func (*TowersParams) GetMaxUEsPerTower ¶
func (m *TowersParams) GetMaxUEsPerTower() uint32
func (*TowersParams) GetTowerCols ¶
func (m *TowersParams) GetTowerCols() uint32
func (*TowersParams) GetTowerRows ¶
func (m *TowersParams) GetTowerRows() uint32
func (*TowersParams) GetTowerSpacingHoriz ¶
func (m *TowersParams) GetTowerSpacingHoriz() float32
func (*TowersParams) GetTowerSpacingVert ¶
func (m *TowersParams) GetTowerSpacingVert() float32
func (*TowersParams) Marshal ¶
func (m *TowersParams) Marshal() (dAtA []byte, err error)
func (*TowersParams) MarshalToSizedBuffer ¶
func (m *TowersParams) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TowersParams) ProtoMessage ¶
func (*TowersParams) ProtoMessage()
func (*TowersParams) Reset ¶
func (m *TowersParams) Reset()
func (*TowersParams) Size ¶
func (m *TowersParams) Size() (n int)
func (*TowersParams) String ¶
func (m *TowersParams) String() string
func (*TowersParams) Unmarshal ¶
func (m *TowersParams) Unmarshal(dAtA []byte) error
func (*TowersParams) XXX_DiscardUnknown ¶
func (m *TowersParams) XXX_DiscardUnknown()
func (*TowersParams) XXX_Marshal ¶
func (m *TowersParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TowersParams) XXX_Merge ¶
func (m *TowersParams) XXX_Merge(src proto.Message)
func (*TowersParams) XXX_Size ¶
func (m *TowersParams) XXX_Size() int
func (*TowersParams) XXX_Unmarshal ¶
func (m *TowersParams) XXX_Unmarshal(b []byte) error
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.