parm_dsp(6).txt

(51 KB) Pobierz
//****************************************************************************

//*

//*     Copyright (c) 2007 Broadcom Corporation

//*           All Rights Reserved

//*

//*           Broadcom Corporation

//*           16215 Alton Parkway

//*           P.O. Box 57013

//*           Irvine, California 92619-7013

//*

//*		This program is the proprietary software of Broadcom Corporation

//*		and/or its licensors, and may only be used, duplicated, modified

//*		or distributed pursuant to the terms and conditions of a separate,

//*		written license agreement executed between you and 

//*		Broadcom (an "Authorized License").  

//*		

//*		Except as set forth in an Authorized License, Broadcom grants no 

//*		license (express or implied), right to use, or waiver of any kind

//*		with respect to the Software, and Broadcom expressly reserves all

//*		rights in and to the Software and all intellectual property rights

//*		therein.  IF YOU HAVE NO AUTHORIZED LICENSE, THEN YOU HAVE NO RIGHT

//*		TO USE THIS SOFTWARE IN ANY WAY, AND SHOULD IMMEDIATELY NOTIFY 

//*		BROADCOM AND DISCONTINUE ALL USE OF THE SOFTWARE.  

//* 

//*		Except as expressly set forth in the Authorized License,

//* 

//*		1. This program, including its structure, sequence and

//*		   organization, constitutes the valuable trade secrets of

//*		   Broadcom, and you shall use all reasonable efforts to protect

//*		   the confidentiality thereof, and to use this information only

//*		   in connection with your use of Broadcom integrated circuit products.

//* 

//*		2. TO THE MAXIMUM EXTENT PERMITTED BY LAW, THE SOFTWARE IS PROVIDED

//*		   "AS IS" AND WITH ALL FAULTS AND BROADCOM MAKES NO PROMISES, 

//*		   REPRESENTATIONS OR WARRANTIES, EITHER EXPRESS, IMPLIED, STATUTORY,

//*		   OR OTHERWISE, WITH RESPECT TO THE SOFTWARE.  BROADCOM SPECIFICALLY

//*		   DISCLAIMS ANY AND ALL IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY,

//*		   NONINFRINGEMENT, FITNESS FOR A PARTICULAR PURPOSE, LACK OF VIRUSES,

//*		   ACCURACY OR COMPLETENESS, QUIET ENJOYMENT, QUIET POSSESSION OR 

//*		   CORRESPONDENCE TO DESCRIPTION. YOU ASSUME THE ENTIRE RISK ARISING

//*		   OUT OF USE OR PERFORMANCE OF THE SOFTWARE.

//*

//*		3. TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL BROADCOM

//*		   OR ITS LICENSORS BE LIABLE FOR (i) CONSEQUENTIAL, INCIDENTAL, 

//*		   SPECIAL, INDIRECT, OR EXEMPLARY DAMAGES WHATSOEVER ARISING OUT OF

//*		   OR IN ANY WAY RELATING TO YOUR USE OF OR INABILITY TO USE THE 

//*		   SOFTWARE EVEN IF BROADCOM HAS BEEN ADVISED OF THE POSSIBILITY OF

//*		   SUCH DAMAGES; OR (ii) ANY AMOUNT IN EXCESS OF THE AMOUNT ACTUALLY

//*		   PAID FOR THE SOFTWARE ITSELF OR U.S. $1, WHICHEVER IS GREATER. 

//*		   THESE LIMITATIONS SHALL APPLY NOTWITHSTANDING ANY FAILURE OF 

//*		   ESSENTIAL PURPOSE OF ANY LIMITED REMEDY.

//*

//****************************************************************************/

//

// Description:  Athena DSP system parameters

//

//******************************************************************************



DEBUG_MODE	0x0000	// Controls DSP Profile output:

					// 	DEBUG_DSP_PROFILER	= 0x0001,





//*****************************************************************************

//

//			Adjacent channel interference adaptive filtering and DC offset

//			correction parameters

//

//

//*****************************************************************************

THRESH_SNR_DIFF_ADJ_8PSK_ADAP_FILTER	19		// 8PSK threshold for adjacent channel interference detection. Should be adjusted with caution.

THRESH_SNR_DIFF_ADJ_GMSK_ADAP_FILTER	16		// voice mode GMSK threshold for adjacent channel interference detection. Should be adjusted with caution.

THRESH_SNR_PS_DIFF_ADJ_GMSK_ADAP_FILTER	24		// Packet data mode GMSK threshold for adjacent channel interference detection. Should be adjusted with caution.

									  

FLAG_ADAP_FILTER			1		// Enable/Disable adaptive adjacent channel interference filtering.

FLAG_ADAP_DC				1		// Enable/Disable adaptive 8PSK DC offset correction.

LENGTH_ADAP_FIR				15		// FIR filter length for adjacent channel interference filtering. Should not be adjusted.

FIRST_PATH_TIMING			4		// Default first path timing used during the channel estimation process.  Should be adjusted with caution

THRESH_SNR_DC_EST			277 320 355 389			// Thresholds for adjusting the weighting factor used for 8PSK DC offset correction.  Should be adjusted with caution.

WGH_LMMSE_DC_EST			4158 6002 8114 9849 11069	// The weighting factor used for 8PSK DC offset correction.  Should be adjusted with caution.

ADAP_FIR_DC_EST_GMSK		-39 32 124 -235 523 -2934 7763 22268 7763 -2934 523 -235 124 32 -39		// Adaptive FIR filter coefficients.  Should be adjusted with caution.

ADAP_FIR_DC_EST_8PSK 		52 189 -328 646 -881 -2146 9269 19312 9269 -2146 -881 646 -328 189 52 	 // Adaptive FIR filter coefficients. Should be adjusted with caution.

LSDCOFFSET_CANCEL_ENABLE 	0		 //	LS DC offset cancellation flag

PRE_FILTER_BYPASS_ENABLE 	0		 //	pre filter for HT channel flag





//****************************************************************************

//

//			8PSK RX system parameters

//

//****************************************************************************

EQU_QUANT_SCALE_8PSK		12	// 8psk equalizer scaling factor	

NUM_ACCUM_BLIND			3	// number of burst for blind detection 

USF_SNR_THRESH_8PSK     	48	// 48 = 3dB * 16; 8psk usf threshold 

LOOP_SNR_THRESH_8PSK		144	// 128 = 8dB * 16; 8psk tracking loop threshold

SNR_THRESH_DB16_8PSK_TIMING	160	// SNR threshold for 8PSK time tracking loop

FF_FREQ_DEROT_8PSK_ENABLE	1	// 8PSK feedforward freq correction





//*****************************************************************************

//

//			AGC Loop Parameters

//

//*****************************************************************************

AGC_LOOP_NOM			34		// Nominal index into the AGC gain table of 64 entries ( 0..63 ) 

AGC_LOOP_TARGET			1024		// Target automatic gain control loop.  This is the ideal absolute power level to enter the ADC

AGC_LOOP_SATDROP		-80		// Drop in AGC gain at the detection of saturation in the DSP dB16.  -160 == -10dB

AGC_STEPUP_DCH			16      	// Dedicated mode automatic gain control step size dB16.  16 == 1 dB

AGC_STEPUP_IDLE			80		// Idle mode automtic gain control step size in dB16, set to 5dB.   Alternative values are 160/256/320

AGC_MAXSTEPUP_DB16_HR		16		// Half rate speech automatic gain control step size dB16.  16  == 1 dB

AGC_SNR_THRESH_IDLE		-64		// Minimum SNR level in order to adjust the AGC control loop up or down 1 step size during Idle mode

AGC_SNR_THRESH_DCH		64		// Minimum SNR level in order to adjust the AGC control loop up or down 1 step size during dedicated modes (e.g., GSM voice/ CSD)



EQU_PWR				1400		// Threshold for determining if overflow has occurred in the RXLEV power measurement. Causes the AGC loop to be adjusted according to the detection of saturation





//*****************************************************************************

//

//			Network Acquisition and frequency derotation parameters

//

//*****************************************************************************

DEROT_SCALE			-7		// Scaling factor for the frequency derotation process. It is a constant and should not be adjusted

DEROT_GMSK			-16384		// Derotation frequency for GMSK. It is a constant and should not be adjusted

FCCH_BINSCALE			-5		// Scaling factor to avoid overflow during power calculations when determining if a valid FCCH burst has been detected

FCCH_BIN			0		// Minimum threshold for determining if a valid FCCH burst has been detected. This should be adjusted with caution.

FCCH_THRESH			-45		// Minimum threshold for determining if a valid FCCH burst has been detected. This should be adjusted with caution.

FREQ_EST_MULT			3972		// These are scaling factors for estimating the frequency offset. Used during the initial network acquisition process when looking for the FCCH burst. 

FREQ_EST_SHIFT			-14		// These are scaling factors for estimating the frequency offset. Used during the initial network acquisition process when looking for the FCCH burst. 

SCH				-63		// Minimum threshold in order to declare that an SCH burst has been found





//*****************************************************************************

//

//			Equalizer Control Parameters

//

//*****************************************************************************

EQU_TARGET		9			// Equalizer input signal normalization value.  It is a constant and should not be adjusted

EQU_K2			4			// Equalizer normalization factor.  It is a constant and should not be adjusted

EQC_CORR_SIZE		18			// Channel estimation window size

EQC_CENTER          	8			// Channel estimation center point within the window

EQC_DISABLE32       	0x0011			// Selects 16 or 32 state equalizer for the normal and sch bursts. 0x0011 : 16 state EQ for Normal and SCH bursts. 0x0000 : 32 state EQ

EQC_RANGE           	6			// Channel estimation length of channel impulse response

EQC_REDUCE_RANGE    	2			// Reduces the channel estimation window size





//*****************************************************************************

//

//			Time and Frequency Tracking Parameters

//

//*****************************************************************************

EQU_SNR_IDLE		96			// Minimum SNR (dB16) in order to accumulate an individual burst measured time offset in QB during idle mode

EQU_SNR_DCH			96			// Minimum SNR (dB16) in order to accumulate an individual burst measured time offset in QB during dedicated mode

LEAK_SNR_IDLE		96			// Minimum SNR (dB16) in order to run the...
Zgłoś jeśli naruszono regulamin