FreeCalypso > hg > tcs211-fcmodem
comparison chipsetsw/layer1/tm_cust0/l1tm_cust.h @ 0:509db1a7b7b8
initial import: leo2moko-r1
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 01 Jun 2015 03:24:05 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:509db1a7b7b8 |
---|---|
1 /************* Revision Controle System Header ************* | |
2 * GSM Layer 1 software | |
3 * L1TM_CUST.H | |
4 * | |
5 * Filename l1tm_cust.h | |
6 * Copyright 2003 (C) Texas Instruments | |
7 * | |
8 ************* Revision Controle System Header *************/ | |
9 | |
10 | |
11 /*---------------------------------------------------------*/ | |
12 /* Initial settings for test mode config => Cust_tm_init() */ | |
13 /*---------------------------------------------------------*/ | |
14 | |
15 // Control algorithm settings: 0=>OFF, 1=>ON | |
16 #define AGC_ENABLE 1 | |
17 #define AFC_ENABLE 1 | |
18 | |
19 // ADC conversion setting: 0=>OFF, 1=>ON | |
20 #define ADC_ENABLE 1 | |
21 | |
22 // AGC settings | |
23 #define TM_AGC_VALUE 50 // AGC gain | |
24 #define TM_LNA_OFF 0 // 0=>LNA ON, 1=>LNA OFF | |
25 | |
26 // Power measurement settings | |
27 #define TM_NUM_MEAS 1 // number of measurements per TDMA | |
28 #define TM_WIN_MEAS 1 // position of measurement within TDMA | |
29 | |
30 // BEACON and TCH settings | |
31 #define TM_BCCH_ARFCN 80 // beacon | |
32 #define TM_TCH_ARFCN 62 // TCH arfcn | |
33 #define TM_MON_ARFCN 33 // monitor arfcn | |
34 #define TM_CHAN_TYPE TCH_F // channel type | |
35 #define TM_SUB_CHAN 0 // subchannel number | |
36 #define TM_SLOT_NUM 4 // TS number | |
37 #define TM_TSC 5 // Training Sequence | |
38 #define TM_TXPWR 15 // TXPWR setting | |
39 #define TM_TXPWR_SKIP 4 | |
40 #define TM_TA 0 // timing advance setting | |
41 #define TM_BURST_TYPE 0 // 0=>normal burst, 1=>RACH burst | |
42 #define TM_BURST_DATA 0 // as defined in TM100.doc: tx_param_write | |
43 #define TM_PM_ENABLE 1 // Enable power measurements in packet transfer mode | |
44 | |
45 // Statistics settings | |
46 #define TM_NUM_LOOPS 0 // number of times a task is executed, 0 means infinite loop | |
47 #define TM_AUTO_RESULT_LOOPS 0 // number of loops before stats result is returned, 0 means infinite | |
48 #define TM_AUTO_RESET_LOOPS 0 // number of loops before stats I/F is reset, 0 means infinite | |
49 #define TM_STAT_TYPE 1 // type of stats as defined in TM100.doc: stats_read | |
50 #define TM_STAT_BITMASK 0x6057 // stats bitmaks as defined in TM100.doc: stats_read | |
51 | |
52 #if L1_GPRS | |
53 // Settings for GPRS test mode: | |
54 #define TM_PDTCH_ARFCN 62 // PDTCH arfcn | |
55 #define TM_MULTISLOT_CLASS 1 // GPRS multi slot class | |
56 #define TM_STAT_GPRS_SLOTS 0x80 // Bit mask for RX stats from PDTCH | |
57 #define TM_RX_ALLOCATION 0x80 // RX slot allocation (bit7->TS0...bit0->TS7) | |
58 #define TM_RX_CODING_SCHEME 1 // RX coding scheme | |
59 #define TM_TX_ALLOCATION 0x80 // TX slot allocation (bit7->TS0...bit0->TS7) | |
60 #define TM_TX_CODING_SCHEME 2 // TX coding scheme | |
61 #define TM_TXPWR_GPRS 15 // GPRS txpwr level | |
62 #endif | |
63 | |
64 | |
65 | |
66 |