14#ifndef _NETSIM_CELLULAR_H_
15#define _NETSIM_CELLULAR_H_
18#pragma comment(lib,"Mobility.lib")
31#define DATA_RATE 0.270
66#define CELLULAR_PACKET_TYPE(protocol,type) protocol*100+type
73#define CELLULAR_SUBEVENT(protocol,type) protocol*100+type
272 unsigned int nPacketType,
int fn_NetSim_Cellular_FormBurst(NetSim_PACKET *packet, Cellular_MS_MAC *MSMac)
int fn_NetSim_Cellular_AddPacketToBuffer(NetSim_PACKET *packet, NETSIM_ID nDeviceId, NETSIM_ID nInterfaceId)
int fn_NetSim_Cellular_InitBTSList(NETSIM_ID nBTSId)
CELLULAR_CHANNEL_TYPE
Enumeration for cellular channel types.
@ ChannelType_TRAFFICCHANNEL
NetSim_PACKET * fn_NetSim_Cellular_createPacket(double time, unsigned int nPacketType, NETSIM_ID nSourceId, NETSIM_ID nDestinationId, double dSize, MAC_LAYER_PROTOCOL protocol)
int fn_NetSim_Cellular_MoveMS(NETSIM_ID nDeviceId, NETSIM_ID nBTSId)
int fn_NetSim_Cellular_MS_ProcessCallRequest()
int fn_NetSim_Cellular_Run()
enum_cellular_subevent
Enumeration for cellular subevent.
int fn_NetSim_Cellular_HandoverCall(NETSIM_ID nMSId, NETSIM_ID nMSInterface, double time)
int fn_NetSim_Cellular_AllocateChannel(NetSim_EVENTDETAILS *pstruEventDetails, NetSim_PACKET *packet)
int fn_NetSim_Cellular_BS_AssignTimeSlot(NetSim_PACKET *packet, NETSIM_ID nBTSId)
int fn_NetSim_Cellular_Msc_ProcessPacket()
int fn_NetSim_Cellular_MS_PhyOut()
int fn_NetSim_FormGSMChannel(DEVVAR_MSC *mscVar)
int fn_NetSim_Cellular_Metrics(PMETRICSWRITER metricsWriter)
int fn_NetSim_Cellular_BS_ReleaseChannel()
int fn_NetSim_Cellular_TransmitOnwireline()
int fn_NetSim_Cellular_allocateChannel(NetSim_PACKET *packet)
int fn_NetSim_Cellular_MS_SendChannelRelease(Cellular_CHANNEL *channel, NETSIM_ID nMSId, NETSIM_ID nMSInterface, double time)
int fn_NetSim_Cellular_ChannelResponseForHandover()
int fn_NetSim_Cellular_DropCall()
int fn_NetSim_Cellular_MS_ProcessCallResponse()
int fn_NetSim_Cellular_FreePacket(NetSim_PACKET *packet)
int fn_NetSim_Cellular_InitVLRList(NETSIM_ID nMSId, NETSIM_ID nMSInterface)
int fn_NetSim_Cellular_CopyPacket(NetSim_PACKET *pstruDestPacket, NetSim_PACKET *pstruSrcPacket)
enum_cellular_packet_type
Emumeration for cellular packetype.
@ PacketType_CallRejected
@ PacketType_HandoverInfo
@ PacketType_ChannelGranted
@ PacketType_ChannelRequest
@ PacketType_ChannelRelease
@ PacketType_ChannelRequestForIncoming
@ PacketType_CallAccepted
@ PacketType_ChannelRequestForHandover
@ PacketType_ChannelUngranted
int fn_NetSim_GSM_BS_PhyOut()
int fn_NetSim_Cellular_ChannelResponse(NetSim_PACKET *packet)
int fn_NetSim_Cellular_SendCallend(NETSIM_ID nMSID, NETSIM_ID nMSInterface, NETSIM_ID nDestinationId, double time)
MS_STATUS
Enumeration for mobile station status.
@ Status_ChannelRequestedForIncoming
@ Status_ChannelRequestedForHandover
@ Status_ChannelRequested
int isCellularChannelAllocated(NETSIM_ID nMSId, NETSIM_ID nInterfaceId, NETSIM_ID nApplicationId)
int fn_NetSim_Cellular_MS_ReassembleBurst()
int fn_NetSim_FormCDMAChannel(NETSIM_ID nBTSId, Cellular_BS_MAC *BSMac, int nCDMA_ETA, int nCDMA_SIGMA, double dCDMA_DATARATE)
int fn_NetSim_Cellular_ForwardToMSC()
#define _declspec(dllexport)
This function is used to trigger the update.
EXPORTED struct stru_NetSim_EventDetails * pstruEventDetails
enum enum_MACProtocol MAC_LAYER_PROTOCOL
double dVoiceActivityFactor
struct stru_Cellular_ChannelList * pstruChannelList
unsigned int nRACHChannel
struct stru_Cellular_BaseStation_Mac::stru_BS_GSM_Var GSMVar
unsigned int nTrafficChannel
unsigned int nAllocatedChannel
char * szMultipleAccessTechnology
unsigned int nChannelCount
struct stru_Cellular_BaseStation_Mac::stru_BS_CDMA_Var CDMAVar
unsigned int nFreeChannel
double dUpLinkMinimumFrequency
struct stru_Cellular_ChannelList * pstru_NextChannel
CELLULAR_CHANNEL_TYPE nChannelType
double dUpLinkMaximumFrequency
double dDownLinkMinimumFrequency
double dDownLinkMaximumFreqency
unsigned int nRequestType
unsigned int nAllocationFlag
struct stru_Cellular_ChannelList * channel
NetSim_PACKET **** pstruPacketList
NetSim_PACKET **** receivedPacketList
Cellular_CHANNEL * pstruAllocatedChannel
Cellular_MS_Metrics MSMetrics
NetSim_PACKET * originalPacket
Data structure for Visitor Location Register.
unsigned int nCallDropeed
unsigned int nChannelRequestSent
unsigned int nCallGenerated
unsigned int nCallAccepted
unsigned int nHandoverRequest
unsigned int nCallRequestReceived
unsigned int nCallBlocked
unsigned int nCallRejected
double dCallDroppingProbability
double dCallBlockingProbability
unsigned int nCallRequestSent