NetSim Source Code Help v14.4
All 13 Components
 
Loading...
Searching...
No Matches
LTENR_Fading.h
1/************************************************************************************
2* Copyright (C) 2023 *
3* TETCOS, Bangalore. India *
4* This source code is licensed per the NetSim license agreement. *
5* No portion of this source code may be used as the basis for a derivative work. *
6* *
7* Author: Suraj(Rician) && Charu(Rayleigh) *
8************************************************************************************/
9
10#pragma once
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16#include "NetSim_utility.h" // for UINT
17
18 // These values must match LTENR_FASTFADING_MODEL enum from LTENR_PropagationModel.h
19#define FADING_MODEL_RAYLEIGH 3 // = LTENR_FASTFADING_MODEL_AWGN_WITH_RAYLEIGH_FADING
20#define FADING_MODEL_RICIAN 4 // = LTENR_FASTFADING_MODEL_AWGN_WITH_RICIAN_FADING
21
22 void LTENR_Beamforming_GetValue(
23 UINT NT,
24 UINT NR,
25 UINT fastFadingModel, // Pass model as parameter
26 double K_factor,
27 double** eigenvalues
28 );
29
30#ifdef __cplusplus
31}
32#endif