📄 rxchannelest.h
字号:
/*****************************************************************************
Module : Channel Estimation
******************************************************************************
Function :
Procedures : none
Author : $Author: Adrian $
Revision : $Revision: 6 $
Modified : $Modtime: 05-05-27 13:39 $
File : $Workfile: rxchannelest.h $
******************************************************************************
KTH, Royal Institute of Technology, S3, Stockholm
*****************************************************************************/
#ifndef RX_CHANNELESTIMATION_H
#define RX_CHANNELESTIMATION_H
/*--- Include files --------------------------------------------------------*/
#include <csl_stdinc.h>
#include "rxswitchmgr.h"
#include "../common/commondef.h"
/*=== End of include files =================================================*/
/*--- Global defines -------------------------------------------------------*/
/*=== End of global defines ================================================*/
/*--- Global types declaration ---------------------------------------------*/
typedef struct
{
/* pointer to the complex symbol buffer */
typCOM_fCPLXBUFF *pfCplxSymbBuff1;
typCOM_fCPLXBUFF *pfCplxSymbBuff2;
/* forgeting factor for channel estimation*/
float alpha;
/* Switch position of channel 1 */
typRX_eSwitch1 Ch1Switch;
/* Switch position of channel 2 */
typRX_eSwitch2 Ch2Switch;
/* offset to access the first symbol in the circular buffer */
int ioffset;
/* length of the circular buffer */
int ibuflen;
} typRX_CHANNELESTSTATE;
/*=== End of global types declaration ======================================*/
/*--- Global variables declaration -----------------------------------------*/
/*=== End of global variables declaration ==================================*/
/*--- Global constants declaration -----------------------------------------*/
/*=== End of global constants declaration ==================================*/
/*--- Global functions declaration -----------------------------------------*/
void channelestimation(typRX_CHANNELESTSTATE *pChannelState);
/*=== End of global functions declaration ==================================*/
#endif
/*--- AUTOMATICALLY GENERATED VERSION HISTORY --------------------------------
$Log: /MIMO/Receiver/rxchannelest.h $
*
* 6 05-05-27 20:44 Adrian
* added two state variables to enable the use of circular buffers
*
* 5 05-05-20 17:25 Loghman
* Remove TrainingSeqNo and includ alpha to the ChannelState struct
*
* 4 05-05-19 15:05 Loghman
* save memory by changing RECIV_TRAIN_SEQ_I_1[ ] toRECIV_TRAIN_SEQ_I_1.
*
* After verification with MATLAB and DSP, this function works well
* now.
*
* 3 05-05-12 13:40 Loghman
* Change function from four channel estimation to two channel estimation
*
* 2 05-05-11 18:05 Loghman
*
* 1 05-05-11 17:00 Adrian
* created and added to VSS
===== END OF AUTOMATICALLY GENERATED VERSION HISTORY =======================*/
/**** End of file ***********************************************************/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -