NetSim Source Code Help
v14.4
All 13 Components
Loading...
Searching...
No Matches
GSM.h
1
/************************************************************************************
2
* Copyright (C) 2023 *
3
* TETCOS, Bangalore. India *
4
* *
5
* Tetcos owns the intellectual property rights in the Product and its content. *
6
* The copying, redistribution, reselling or publication of any or all of the *
7
* Product or its content without express prior written consent of Tetcos is *
8
* prohibited. Ownership and / or any other right relating to the software and all *
9
* intellectual property rights therein shall remain at all times with Tetcos. *
10
* *
11
* Author: Shashi Kant Suman *
12
* *
13
* ---------------------------------------------------------------------------------*/
14
#ifndef _NETSIM_GSM_H_
15
#define _NETSIM_GSM_H_
16
17
#define GSM_PAYLOAD (57*2)/8
18
#define GSM_OVERHEAD (3+1+26+1+3+8.25)/8
19
#define GSM_CHANNEL_LENGTH 577
20
#define GSM_CARRIER_LENGTH 577*8
21
typedef
struct
stru_MSC_GSM
MSC_GSM;
22
23
/**
24
Data structure for mobile switching center for GSM network.
25
*/
26
struct
stru_MSC_GSM
27
{
28
double
dUpLinkBandwidthMax;
29
double
dUpLinkBandwidthMin;
30
double
dDownLinkBandwidthMax;
31
double
dDownLinkBandwidthMin;
32
double
dChannelBandiwdth;
33
unsigned
int
nSlotCountInEachCarrier;
34
unsigned
int
nChannelCount;
35
};
36
double
fn_NetSim_GSM_GetPacketStartTime(
double
dCurrentTime,
unsigned
int
nTimeSlot);
37
#endif
stru_MSC_GSM
Definition
GSM.h:27
ALL
Component 2
Cellular
GSM.h
Generated by
1.13.2