![]() |
NetSim Source Code Help
|

Go to the source code of this file.
Functions | |
| int | fn_NetSim_Cellular_Run () |
| int | fn_NetSim_Cellular_allocateChannel (NetSim_PACKET *packet) |
| int | fn_NetSim_Cellular_ChannelResponse (NetSim_PACKET *packet) |
| int | fn_NetSim_Cellular_ForwardToMSC () |
| int | fn_NetSim_Cellular_TransmitOnwireline () |
| int | fn_NetSim_Cellular_VLR (NETSIM_ID nMSCId, NETSIM_ID nId, NETSIM_ID *nBTSId, NETSIM_ID *nInterfaceId) |
| int | fn_NetSim_Cellular_Msc_ProcessPacket () |
| int | fn_NetSim_Cellular_MS_ProcessCallRequest () |
| int | fn_NetSim_Cellular_MS_ProcessCallResponse () |
| int | fn_NetSim_Cellular_BS_AssignTimeSlot (NetSim_PACKET *packet, NETSIM_ID nBTSId) |
| int | fn_NetSim_Cellular_MS_SendChannelRelease (Cellular_CHANNEL *channel, NETSIM_ID nMSId, NETSIM_ID nMSInterface, double time) |
| int | fn_NetSim_Cellular_BS_ReleaseChannel () |
| int | fn_NetSim_Cellular_MS_PhyOut () |
| int fn_NetSim_Cellular_allocateChannel | ( | NetSim_PACKET * | packet | ) |
This function is used to allocate the channels. Channel allocation deals with the allocation of channels to cells in a cellular network. Once the channels are allocated, cells may then allow users within the cell to communicate via the available channels.
Definition at line 233 of file Cellular.c.


| int fn_NetSim_Cellular_BS_AssignTimeSlot | ( | NetSim_PACKET * | packet, |
| NETSIM_ID | nBTSId | ||
| ) |
This function runs at base station to assign the time slots
Definition at line 639 of file Cellular.c.


| int fn_NetSim_Cellular_BS_ReleaseChannel | ( | ) |
This funtion is used by the base station to release the assigned channels
Definition at line 697 of file Cellular.c.

| int fn_NetSim_Cellular_ChannelResponse | ( | NetSim_PACKET * | packet | ) |
This functio is called to perform the channel response functionality This function determines if the call is accepted or rejected based on channel availability
Definition at line 288 of file Cellular.c.


| int fn_NetSim_Cellular_ForwardToMSC | ( | ) |
This functio is called to forward the packet to the MSC
Definition at line 423 of file Cellular.c.

| int fn_NetSim_Cellular_MS_PhyOut | ( | ) |
This funcion is called at the mobile station when the PHYSICAL_OUT event is triggered
Definition at line 718 of file Cellular.c.


| int fn_NetSim_Cellular_MS_ProcessCallRequest | ( | ) |
This function is used to process the call request at the mobile station
Definition at line 506 of file Cellular.c.


| int fn_NetSim_Cellular_MS_ProcessCallResponse | ( | ) |
This function is used to process the call response at the mobile station
Definition at line 570 of file Cellular.c.


| int fn_NetSim_Cellular_MS_SendChannelRelease | ( | Cellular_CHANNEL * | channel, |
| NETSIM_ID | nMSId, | ||
| NETSIM_ID | nMSInterface, | ||
| double | time | ||
| ) |
This function is used by the mobile station to send the request for channel release to the base station
Definition at line 666 of file Cellular.c.


| int fn_NetSim_Cellular_Msc_ProcessPacket | ( | ) |
This function is used to process the packet at the MSC
Definition at line 485 of file Cellular.c.


| int fn_NetSim_Cellular_Run | ( | ) |
This function is called by NetworkStack.dll, whenever the event gets triggered
inside the NetworkStack.dll for CDMA or GSM protocols. This is the main function for GSM / CDMA. It processes MAC_OUT,MAC_IN, PHYSICAL_OUT, PHYSICAL_IN and TIMER events for mobile station and base station.
Definition at line 23 of file Cellular.c.


| int fn_NetSim_Cellular_TransmitOnwireline | ( | ) |
This function is used to tranmit packet on wired link
Definition at line 434 of file Cellular.c.


| int fn_NetSim_Cellular_VLR | ( | NETSIM_ID | nMSCId, |
| NETSIM_ID | nId, | ||
| NETSIM_ID * | nBTSId, | ||
| NETSIM_ID * | nInterfaceId | ||
| ) |
The VisitorLocationRegister(VLR) contains a copy of most of the data stored at the HomeLocationRegister(HLR). It is, however, temporary data which exists for only as long as the subscriber is “active” in the particular area covered by the VLR. The VLR provides a local database for the subscribers wherever they are physically located within a PLMN, this may or may not be the “home” system. This function eliminates the need for excessive and time-consuming references to the “home” HLR database.
Definition at line 469 of file Cellular.c.
