⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 config_wcdma.h

📁 这是一个c++编写的WCDMA链路采用RAKE接收的方针源代码
💻 H
字号:
/* | | Copyright disclaimer: |   This software was developed at the National Institute of Standards |   and Technology by employees of the Federal Government in the course |   of their official duties. Pursuant to title 17 Section 105 of the |   United States Code this software is not subject to copyright |   protection and is in the public domain. | |   We would appreciate acknowledgement if the software is used. |*//* | Project:	WCDMA simulation environment | Module:	General parameters | Author:	Tommi Makelainen | Date:	January 7, 1999 | | History: |		January 7, 1999 Tommi Makelainen |			Initial version.  | */#ifndef CONFIG_WCDMA_H_#define CONFIG_WCDMA_H_/* ------------------------------------------------------------------- *//* * Switch to turn on or off scrambling. */#undef DO_DL_SCRAMBLING/* -------------------------------------------------------------------    M a x i m u m  n u m b e r  o f  v a r i o u s  i n s t a n c e s .   ------------------------------------------------------------------- *//* * Maximum number of channel coder instances. */#define MAX_CH_CODERS 8/* * Maximum number of available simultaneous channels. */#define MAX_CHANNELS 10/* * Maximum number of separate impulse response vectors. */#define MAX_CHANNEL_IMPULSES 1000/* * Maximum number of fingers in a single rake. */#define MAX_FINGER 11  /* * Maximum number of channel taps in a single channel model. */#define MAX_CHANNEL_TAPS 20/* * Maximum number of concurrent rake receivers. */#define MAX_RAKES 10 /* * Maximum number of concurrent rate matching units. */#define MAX_RATE_MATCHINGS 10/* -------------------------------------------------------------------    G l o b a l  c o n s t a n t s .   ------------------------------------------------------------------- *//* * Length of convolution coder memory, i.e. tail. */#define CONVOLUTION_TAIL_LEN 8/* * Maximum allowed delay in longest path. (in chips) */#define MAX_MULTIPATH_DELAY 20/* * Chip rate for uplink and downlink. */#define CHIP_RATE 4096000/* * Max. spreading factor allowed. */#define MAX_SPREADING_FACTOR 256/* * Number of radio frames in second. */#define FRAMES_IN_SECOND 100/* * Number of slots in a frame. */#define SLOTS_IN_FRAME 16/* * Maximum length of a slot in bits. */#define MAX_SLOT_LEN 1280/* * Maximum number of frames to interframe interleave. */#define MAX_FRAMES_TO_INTERFRAME_INTERLEAVE 8/* * Maximum column number for multistage interleaver. */#define MAX_MIL_COLS 32/* -------------------------------------------------------------------    F r a m e  s t r u c t u r e s .   ------------------------------------------------------------------- *//* * Primary common control physical channel (Primary CCPCH). */#define PRI_CCPCH_BITS_IN_SLOT             20#define PRI_CCPCH_PILOT_BITS                8#define PRI_CCPCH_SPREADING_FACTOR        256/* * Secondary common control physical channel (Secondary CCPCH). */#define SEC_CCPCH_MAX_BITS_IN_SLOT       1280#define SEC_CCPCH_MAX_PILOT_BITS            8#define SEC_CCPCH_MAX_SPREADING_FACTOR    256/* ------------------------------------------------------------------- *//* * Do not modify defines below. *//* ------------------------------------------------------------------- *//* * Just in case no definition from standard include files. */#ifndef TRUE#define TRUE 1#define FALSE 0#endif /* TRUE *//* * Maximum 2^16 signed integer. */#define MAX_RANDOM 32767.0/* * Parameter checking on or off. */#undef I_KNOW_WHAT_I_DO/* * For some reason math-library does not contain min-function. */#define min(a,b) ( (a) > (b) ? (b) : (a) )/* * For all L1 entities common states for instances. */enum instance_state { FREE_INSTANCE=1, INSTANCE_IN_USE };#endif /* CONFIG_WCDMA_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -