56 unsigned int nTotalNoOfChannel, nNoOfChannelPerBTS;
57 unsigned int nLoop,nLoop1;
60 double dDLFrequencyMin,dDLFrequencyMax,dULFrequencyMin,dULFrequencyMax;
72 nNoOfChannelPerBTS = nTotalNoOfChannel/mscVar->
nBTSCount;
73 if(nNoOfChannelPerBTS <=1)
75 fnNetSimError(
"Too less channel for BTS. Increase frequency...");
83 for(nLoop = 0; nLoop < mscVar->
nBTSCount; nLoop++,i++)
92 for(nLoop1=0;nLoop1<nNoOfChannelPerBTS;nLoop1++)
94 tempChannel1=
calloc(1,
sizeof* tempChannel1);
108 tempChannel2=tempChannel1;
112 tempChannel2=tempChannel1;
@ ChannelType_TRAFFICCHANNEL
int fn_NetSim_FormGSMChannel(DEVVAR_MSC *mscVar)
int isCellularChannelAllocated(NETSIM_ID nMSId, NETSIM_ID nInterfaceId, NETSIM_ID nApplicationId)
#define fnNetSimError(x,...)
#define DEVICE_MACVAR(DeviceId, InterfaceId)
struct stru_Cellular_ChannelList * pstruChannelList
unsigned int nRACHChannel
unsigned int nTrafficChannel
unsigned int nChannelCount
unsigned int nFreeChannel
double dUpLinkMinimumFrequency
struct stru_Cellular_ChannelList * pstru_NextChannel
CELLULAR_CHANNEL_TYPE nChannelType
double dUpLinkMaximumFrequency
double dDownLinkMinimumFrequency
double dDownLinkMaximumFreqency
Cellular_CHANNEL * pstruAllocatedChannel
unsigned int nSlotCountInEachCarrier
unsigned int nChannelCount
double dDownLinkBandwidthMin
double dUpLinkBandwidthMax
double dUpLinkBandwidthMin