NetSim Source Code Help
v14.4
All 13 Components
Loading...
Searching...
No Matches
SpectrumManager.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
struct
stru_802_22_SpectrumManager
15
{
16
unsigned
int
nInitiate_Channel_Move:1;
17
unsigned
int
nSelf_Coexistence_mode:1;
18
};
19
/** Table 236 IEEE 802.22-2011 page 407
20
Spectrum Sensing Function input signals
21
*/
22
struct
stru_802_22_SSFInput
23
{
24
struct
stru_802_22_Channel
* pstruChannelList;
25
char
szCountryCode[4];
//24 bits + 8 bits for '\0'
26
unsigned
int
nChannelNumber:8;
27
unsigned
int
nChannelBandwidth;
28
unsigned
int
nSignalTypeArray;
29
struct
stru_SensingWindowSpecificationArray
30
{
31
unsigned
int
NumSensingPeriods;
32
unsigned
int
SensingPeriodDuration;
33
unsigned
int
SensingPeriodInterval;
34
}SensingWindowSpecificationArray;
35
unsigned
int
nSensingMode;
36
unsigned
int
nMaxProbabilityOfFalseAlram;
37
unsigned
int
nIncumbentCount;
38
INCUMBENT** pstruIncumbent;
39
};
40
/// Spectrum Sensing Function output signals
41
struct
stru_802_22_SSFOutput
42
{
43
unsigned
int
nSensingMode;
44
unsigned
int
nSignalTypeVector;
45
unsigned
int
nSignalPresentVector;
46
unsigned
int
nConfidenceVector;
47
unsigned
int
nMeanRSSIMeasurement;
48
unsigned
int
nStdDevRSSIMeasurement;
49
};
50
/// Structure for channel switch request, Sent by BS in order to switch the entire cell operation to new channel.
51
struct
stru_802_22_CHS_REQ
52
{
53
unsigned
int
nMMMType:8;
54
unsigned
int
nTransactionId:16;
55
unsigned
int
nConfirmationFlag:1;
56
unsigned
int
nSwitchMode:1;
57
unsigned
int
nSwitchCount:8;
58
};
59
//_declspec(dllexport) struct stru_802_22_SSFOutput* fn_NetSim_CR_CPE_SSF(struct stru_802_22_SSFInput* input,NETSIM_ID nDevId,NETSIM_ID nInterfaceId);
stru_802_22_CHS_REQ
Structure for channel switch request, Sent by BS in order to switch the entire cell operation to new ...
Definition
SpectrumManager.h:52
stru_802_22_Channel
Definition
802_22.h:923
stru_802_22_SSFInput::stru_SensingWindowSpecificationArray
Definition
SpectrumManager.h:30
stru_802_22_SSFInput
Definition
SpectrumManager.h:23
stru_802_22_SSFOutput
Spectrum Sensing Function output signals.
Definition
SpectrumManager.h:42
stru_802_22_SpectrumManager
Definition
SpectrumManager.h:15
ALL
Component 7
CognitiveRadio
SpectrumManager.h
Generated by
1.13.2