annotate L1/include/l1_mftab.h @ 33:6a2b09d3b1b4

disable L1_DYN_DSP_DWNLD and AMR by default
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 15 Oct 2016 04:23:58 +0000
parents f93dab57b032
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /************* Revision Controle System Header *************
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * GSM Layer 1 software
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * L1_MFTAB.H
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 *
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 * Filename l1_mftab.h
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 * Copyright 2003 (C) Texas Instruments
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 *
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 ************* Revision Controle System Header *************/
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 /***********************************************************
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 * Content:
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 * This file contains the MultiFrame tables for all L1S
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 * basic tasks.
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 ***********************************************************/
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 /*******************************************************************************************/
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 /* Multiframe Blocks for Dynamic MFTAB Building purpose. */
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 /*******************************************************************************************/
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 // Multiframe table size....
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
20 #define BLOC_FBNEW_SIZE 14 + 2 // FB.
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
22 #define BLOC_SB2_SIZE 5 + 2 // SB2.
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
24 #define BLOC_SBCONF_SIZE 4 + 2 // SBCONF.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
25 #define BLOC_BCCHN_SIZE 7 + 2 // BCCHN.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
26 #define BLOC_BCCHN_TOP_SIZE 7 + 2 // BCCHN_TOP (BCCHN top priority)
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
28 #define BLOC_SYNCHRO_SIZE 1 // SYNC.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
29 #define BLOC_ADC_SIZE 1 // ADC in CS_MODE0
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
30 #define BLOC_ABORT_SIZE 3 // ABORT.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
31 #define BLOC_RAACC_SIZE 3 // RAACC.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
32 #define S_RECT4_SIZE 6 // All "rectangular 4" serving tasks: NP/EP/BCCHS/ALLC.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
33 #define BLOC_TCHT_SIZE 3 // TCHTF / TCHTH / TCHD.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
34 #define BLOC_TCHA_SIZE 3 // TCHA.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
35 #define BLOC_SMSCB_SIZE 6 // SMSCB.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
36 #define BLOC_FB51_SIZE 14 // FB51.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
37 #define BLOC_SB51_SIZE 4 // SB51.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
38 #define BLOC_SBCNF51_SIZE 4 // SBCNF51.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
39 #define BLOC_FB26_SIZE 4 // FB26.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
40 #define BLOC_SB26_SIZE 5 // SB26.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
41 #define BLOC_SBCNF26_SIZE 5 // SBCNF26.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
42 #define BLOC_HWTEST_SIZE 4 // HWTEST.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
43 #define BLOC_DUL_ADL_MIXED_SIZED 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
44 #if (L1_GPRS)
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
45 #define BLOC_BCCHN_TRAN_SIZE 7 // BCCHN_TRAN.
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
46 #endif
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
49
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
50 #ifdef L1_ASYNC_C
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
51 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
52 /* TASK: Frequency Burst search... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
53 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
54 const T_FCT BLOC_FBNEW[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
55 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
56 {l1s_ctrl_msagc,FBNEW,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
57 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
58 {l1s_read_msagc,FBNEW,NO_PAR},{l1s_ctrl_fb,FBNEW,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
59 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
60 {l1s_read_mon_result,FBNEW, 1},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
61 {l1s_read_mon_result,FBNEW, 2},{NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
62 {l1s_read_mon_result,FBNEW, 3},{NULL,NO_PAR,NO_PAR}, // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
63 {l1s_read_mon_result,FBNEW, 4},{NULL,NO_PAR,NO_PAR}, // frame 8
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
64 {l1s_read_mon_result,FBNEW, 5},{NULL,NO_PAR,NO_PAR}, // frame 9
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
65 {l1s_read_mon_result,FBNEW, 6},{NULL,NO_PAR,NO_PAR}, // frame 10
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
66 {l1s_read_mon_result,FBNEW, 7},{NULL,NO_PAR,NO_PAR}, // frame 11
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
67 {l1s_read_mon_result,FBNEW, 8},{NULL,NO_PAR,NO_PAR}, // frame 12
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
68 {l1s_read_mon_result,FBNEW, 9},{NULL,NO_PAR,NO_PAR}, // frame 13
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
69 {l1s_read_mon_result,FBNEW,10},{NULL,NO_PAR,NO_PAR}, // frame 14
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
70 {l1s_read_mon_result,FBNEW,11},{NULL,NO_PAR,NO_PAR}, // frame 15
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
71 {l1s_read_mon_result,FBNEW,12},{NULL,NO_PAR,NO_PAR} // frame 16
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
72 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
73
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
74 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
75 /* TASK: SB2, New Synchro Burst search... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
76 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
77 /* C W R -> AGC */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
78 /* C W W R -> 1st SB */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
79 /* C W W R -> 2nd SB */
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 /*----------------------------------------------------*/
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
81 const T_FCT BLOC_SB2[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
82 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
83 {l1s_ctrl_msagc,SB2,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
84 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
85 {l1s_read_msagc,SB2,NO_PAR}, {l1s_ctrl_sbgen,SB2,1}, {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
86 {l1s_ctrl_sbgen,SB2,2}, {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
87 {NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
88 {l1s_read_mon_result,SB2,1}, {NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
89 {l1s_read_mon_result,SB2,2}, {NULL,NO_PAR,NO_PAR} // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
90 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
91
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
92 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
93 /* TASK: SBCONF, Synchro confirmation. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
94 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
95 /* C W R -> AGC */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
96 /* C W W R -> SBCONF */
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 /*----------------------------------------------------*/
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
98 const T_FCT BLOC_SBCONF[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
99 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
100 {l1s_ctrl_msagc,SBCONF,1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
101 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
102 {l1s_read_msagc,SBCONF,1},{l1s_ctrl_sbgen,SBCONF,1}, {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
103 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
104 {NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
105 {l1s_read_mon_result,SBCONF,1},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
106 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
107
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
108 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
109 /* TASK: Serving cell Normal BCCH reading. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
110 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
111 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
112 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
113 /* C W R | | | -> burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
114 /* C W R | | -> burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
115 /* C W R | -> burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
116 /* C W R -> burst 4 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
117 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
118 const T_FCT BLOC_NBCCHS[] =
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
119 {
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
120 {l1s_ctrl_snb_dl,NBCCHS,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
121 {l1s_ctrl_snb_dl,NBCCHS,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
122 {l1s_read_snb_dl,NBCCHS,BURST_1},{l1s_ctrl_snb_dl,NBCCHS,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
123 {l1s_read_snb_dl,NBCCHS,BURST_2},{l1s_ctrl_snb_dl,NBCCHS,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
124 {l1s_read_snb_dl,NBCCHS,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
125 {l1s_read_snb_dl,NBCCHS,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
126 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
127
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
128 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
129 /* TASK: Serving cell Extended BCCH reading. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
130 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
131 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
132 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
133 /* C W R | | | -> burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
134 /* C W R | | -> burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
135 /* C W R | -> burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
136 /* C W R -> burst 4 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
137 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
138 const T_FCT BLOC_EBCCHS[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
139 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
140 {l1s_ctrl_snb_dl,EBCCHS,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
141 {l1s_ctrl_snb_dl,EBCCHS,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
142 {l1s_read_snb_dl,EBCCHS,BURST_1},{l1s_ctrl_snb_dl,EBCCHS,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
143 {l1s_read_snb_dl,EBCCHS,BURST_2},{l1s_ctrl_snb_dl,EBCCHS,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
144 {l1s_read_snb_dl,EBCCHS,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
145 {l1s_read_snb_dl,EBCCHS,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
146 };
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
147
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
148 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
149 /* TASK: Neighbour Cell SYStem info reading. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
150 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
151 /* C W R -> AGC */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
152 /* C W W W W W R -> all bursts */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
153 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
154 const T_FCT BLOC_BCCHN[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
155 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
156 {l1s_ctrl_msagc,BCCHN,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
157 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
158 {l1s_read_msagc,BCCHN,NO_PAR},{l1s_ctrl_nnb,BCCHN,NO_PAR},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
159 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
160 {NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
161 {NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
162 {NULL,NO_PAR,NO_PAR}, // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
163 {NULL,NO_PAR,NO_PAR}, // frame 8
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
164 {l1s_read_nnb,BCCHN,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 9
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
165 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
166
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
167 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
168 /* TASK: Neighbour Cell SYStem info reading. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
169 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
170 /* C W R -> AGC */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
171 /* C W W W W W R -> all bursts */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
172 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
173 const T_FCT BLOC_BCCHN_TOP[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
174 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
175 {l1s_ctrl_msagc,BCCHN_TOP,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
176 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
177 {l1s_read_msagc,BCCHN_TOP,NO_PAR},{l1s_ctrl_nnb,BCCHN_TOP,NO_PAR},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
178 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
179 {NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
180 {NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
181 {NULL,NO_PAR,NO_PAR}, // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
182 {NULL,NO_PAR,NO_PAR}, // frame 8
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
183 {l1s_read_nnb,BCCHN_TOP,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 9
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
184 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
185
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
186 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
187 /* TASK: Neighbour Cell SYStem info reading. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
188 /* for packet transfer mode */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
189 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
190 /* C W W W W W R -> all bursts */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
191 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
192 #if (L1_GPRS)
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
193 const T_FCT BLOC_BCCHN_TRAN[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
194 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
195 {l1s_ctrl_nnb,BCCHN_TRAN,NO_PAR},{NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
196 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
197 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
198 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
199 {NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
200 {NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
201 {l1s_read_nnb,BCCHN_TRAN,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
202 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
203 #endif
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
204
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
205 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
206 /* TASK: Synchronization (camp on a new serving cell) */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
207 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
208 const T_FCT BLOC_SYNCHRO[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
209 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
210 {l1s_new_synchro,NO_PAR,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
211 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
212
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
213
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
214 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
215 /* TASK: ADC measurement in CS_MODE0 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
216 /* C */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
217 /* the ADC is performed inside the frame and the */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
218 /* result is red in the same frame due to an */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
219 /* Interrupt (handle by Riviera) */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
220 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
221 const T_FCT BLOC_ADC[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
222 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
223 {l1s_ctrl_ADC,NO_PAR,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
224 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
225
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
226
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
227 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
228 /* TASK: Short Message Service Cell Broadcast */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
229 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
230 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
231 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
232 /* C W R | | | -> hopp. + burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
233 /* C W R | | -> hopp. + burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
234 /* C W R | -> hopp. + burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
235 /* C W R -> hopp. + burst 4 + Synch back*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
236 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
237 const T_FCT BLOC_SMSCB[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
238 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
239 {l1s_hopping_algo,SMSCB,NO_PAR},{l1s_ctrl_smscb, SMSCB,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
240 {l1s_hopping_algo,SMSCB,NO_PAR},{l1s_ctrl_smscb, SMSCB,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
241 {l1s_hopping_algo,SMSCB,NO_PAR},{l1s_read_snb_dl,SMSCB,BURST_1},{l1s_ctrl_smscb, SMSCB,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
242 {l1s_hopping_algo,SMSCB,NO_PAR},{l1s_read_snb_dl,SMSCB,BURST_2},{l1s_ctrl_smscb, SMSCB,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
243 {l1s_read_snb_dl,SMSCB,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
244 {l1s_read_snb_dl,SMSCB,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
245 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
246
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
247 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
248 /* TASK: Normal Paging... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
249 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
250 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
251 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
252 /* C W R | | | -> burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
253 /* C W R | | -> burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
254 /* C W R | -> burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
255 /* C W R -> burst 4 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
256 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
257 const T_FCT BLOC_NP[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
258 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
259 {l1s_ctrl_snb_dl,NP,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
260 {l1s_ctrl_snb_dl,NP,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
261 {l1s_read_snb_dl,NP,BURST_1},{l1s_ctrl_snb_dl,NP,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
262 {l1s_read_snb_dl,NP,BURST_2},{l1s_ctrl_snb_dl,NP,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
263 {l1s_read_snb_dl,NP,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
264 {l1s_read_snb_dl,NP,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
265 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
266
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
267 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
268 /* TASK: Extended Paging task... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
269 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
270 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
271 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
272 /* C W R | | | -> burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
273 /* C W R | | -> burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
274 /* C W R | -> burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
275 /* C W R -> burst 4 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
276 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
277 const T_FCT BLOC_EP[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
278 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
279 {l1s_ctrl_snb_dl,EP,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
280 {l1s_ctrl_snb_dl,EP,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
281 {l1s_read_snb_dl,EP,BURST_1},{l1s_ctrl_snb_dl,EP,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
282 {l1s_read_snb_dl,EP,BURST_2},{l1s_ctrl_snb_dl,EP,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
283 {l1s_read_snb_dl,EP,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
284 {l1s_read_snb_dl,EP,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
285 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
286
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
287 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
288 /* TASK: All CCCH reading task... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
289 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
290 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
291 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
292 /* C W R | | | -> burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
293 /* C W R | | -> burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
294 /* C W R | -> burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
295 /* C W R -> burst 4 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
296 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
297 const T_FCT BLOC_ALLC[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
298 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
299 {l1s_ctrl_snb_dl,ALLC,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
300 {l1s_ctrl_snb_dl,ALLC,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
301 {l1s_read_snb_dl,ALLC,BURST_1},{l1s_ctrl_snb_dl,ALLC,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
302 {l1s_read_snb_dl,ALLC,BURST_2},{l1s_ctrl_snb_dl,ALLC,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
303 {l1s_read_snb_dl,ALLC,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
304 {l1s_read_snb_dl,ALLC,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
305 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
306
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
307 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
308 /* TASK: SDCCH */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
309 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
310 /* frame 1 2 3 4 5 6 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
311 /* | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
312 /* C W R | | | -> burst 1 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
313 /* C W R | | -> burst 2 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
314 /* C W R | -> burst 3 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
315 /* C W R -> burst 4 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
316 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
317 const T_FCT BLOC_DDL[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
318 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
319 {l1s_hopping_algo,DDL,NO_PAR},{l1s_ctrl_snb_dl, DDL,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
320 {l1s_hopping_algo,DDL,NO_PAR},{l1s_ctrl_snb_dl, DDL,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
321 {l1s_hopping_algo,DDL,NO_PAR},{l1s_read_dedic_dl,DDL,BURST_1},{l1s_ctrl_snb_dl, DDL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
322 {l1s_hopping_algo,DDL,NO_PAR},{l1s_read_dedic_dl,DDL,BURST_2},{l1s_ctrl_snb_dl, DDL,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
323 {l1s_read_dedic_dl,DDL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
324 {l1s_read_dedic_dl,DDL,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
325 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
326
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
327 const T_FCT BLOC_DUL[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
328 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
329 {l1s_hopping_algo,DUL,NO_PAR},{l1s_ctrl_snb_ul, DUL,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
330 {l1s_hopping_algo,DUL,NO_PAR},{l1s_ctrl_snb_ul, DUL,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
331 {l1s_hopping_algo,DUL,NO_PAR},{l1s_read_tx_result,DUL,BURST_1},{l1s_ctrl_snb_ul, DUL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
332 {l1s_hopping_algo,DUL,NO_PAR},{l1s_read_tx_result,DUL,BURST_2},{l1s_ctrl_snb_ul, DUL,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
333 {l1s_read_tx_result,DUL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
334 {l1s_read_tx_result,DUL,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
335 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
336
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
337 const T_FCT BLOC_ADL[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
338 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
339 {l1s_hopping_algo,ADL,NO_PAR},{l1s_ctrl_snb_dl, ADL,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
340 {l1s_hopping_algo,ADL,NO_PAR},{l1s_ctrl_snb_dl, ADL,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
341 {l1s_hopping_algo,ADL,NO_PAR},{l1s_read_dedic_dl,ADL,BURST_1},{l1s_ctrl_snb_dl, ADL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
342 {l1s_hopping_algo,ADL,NO_PAR},{l1s_read_dedic_dl,ADL,BURST_2},{l1s_ctrl_snb_dl, ADL,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
343 {l1s_read_dedic_dl,ADL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
344 {l1s_read_dedic_dl,ADL,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
345 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
346
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
347 const T_FCT BLOC_AUL[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
348 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
349 {l1s_hopping_algo,AUL,NO_PAR},{l1s_ctrl_snb_ul, AUL,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
350 {l1s_hopping_algo,AUL,NO_PAR},{l1s_ctrl_snb_ul, AUL,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
351 {l1s_hopping_algo,AUL,NO_PAR},{l1s_read_tx_result,AUL,BURST_1},{l1s_ctrl_snb_ul, AUL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
352 {l1s_hopping_algo,AUL,NO_PAR},{l1s_read_tx_result,AUL,BURST_2},{l1s_ctrl_snb_ul, AUL,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
353 {l1s_read_tx_result,AUL,BURST_3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
354 {l1s_read_tx_result,AUL,BURST_4},{NULL,NO_PAR,NO_PAR} // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
355 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
356
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
357 /*-----------------------------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
358 /* SPECIAL CASE: (ADL4,DDL4),(ADL5,DDL5),(ADL6,DDL6). */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
359 /*-----------------------------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
360 /* frame 1 2 3 4 5 6 7 */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
361 /* | | | | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
362 /* C(DUL,1) W(DUL,1) R(DUL,1) | | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
363 /* C(ADL,1) W(ADL,1) R(ADL,1) | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
364 /* C(DUL,2) W(DUL,2) R(DUL,2) | | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
365 /* C(ADL,2) W(ADL,2) R(ADL,2) | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
366 /* C(DUL,3) W(DUL,3) R(DUL,3) | | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
367 /* C(ADL,3) W(ADL,3) R(ADL,3) | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
368 /* C(DUL,4) W(DUL,4) R(DUL,4) | */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
369 /* C(ADL,4) W(ADL,4) R(ADL,4) */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
370 /*-----------------------------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
371 const T_FCT BLOC_DUL_ADL_MIXED[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
372 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
373 {l1s_hopping_algo,AUL,NO_PAR},{l1s_ctrl_snb_ul, DUL,BURST_1}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
374 {l1s_hopping_algo,ADL,NO_PAR},{l1s_ctrl_snb_dl, ADL,BURST_1},{l1s_ctrl_snb_ul, DUL,BURST_2}, {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
375 {l1s_hopping_algo,ADL,NO_PAR},{l1s_read_tx_result,DUL,BURST_1},{l1s_ctrl_snb_dl, ADL,BURST_2},{l1s_ctrl_snb_ul, DUL,BURST_3}, {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
376 {l1s_hopping_algo,ADL,NO_PAR},{l1s_read_dedic_dl, ADL,BURST_1},{l1s_read_tx_result,DUL,BURST_2},{l1s_ctrl_snb_dl, ADL,BURST_3},{l1s_ctrl_snb_ul, DUL,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
377 {l1s_hopping_algo,ADL,NO_PAR},{l1s_read_dedic_dl, ADL,BURST_2},{l1s_read_tx_result,DUL,BURST_3},{l1s_ctrl_snb_dl, ADL,BURST_4}, {NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
378 {l1s_read_dedic_dl,ADL,BURST_3},{l1s_read_tx_result,DUL,BURST_4},{NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
379 {l1s_read_dedic_dl,ADL,BURST_4}, {NULL,NO_PAR,NO_PAR} // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
380 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
381
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
382 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
383 /* ABORT: used to abort a running task when a new */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
384 /* task with higher priority occurs. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
385 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
386 const T_FCT BLOC_ABORT[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
387 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
388 {l1s_abort,NO_PAR,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
389 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
390 {l1s_read_dummy,NO_PAR,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
391 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
392
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
393 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
394 /* TASK: RACH in access mode... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
395 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
396 const T_FCT BLOC_RAACC[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
397 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
398 {l1s_ctrl_rach,RAACC,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
399 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
400 {l1s_read_tx_result,RAACC,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
401 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
402
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
403 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
404 /* TASK: TCH */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
405 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
406 /* C W R */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
407 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
408 const T_FCT BLOC_TCHTF[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
409 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
410 {l1s_hopping_algo,TCHTF,NO_PAR},{l1s_ctrl_tchtf,TCHTF,NO_PAR}, {NULL,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
411 {NULL,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
412 {l1s_read_dedic_dl,TCHTF,NO_PAR}, {NULL,NO_PAR} // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
413 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
414
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
415 const T_FCT BLOC_TCHTH[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
416 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
417 {l1s_hopping_algo,TCHTH,NO_PAR},{l1s_ctrl_tchth,TCHTH,NO_PAR}, {NULL,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
418 {NULL,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
419 {l1s_read_dedic_dl,TCHTH,NO_PAR}, {NULL,NO_PAR} // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
420 };
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
421
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
422 const T_FCT BLOC_TCHD[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
423 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
424 {l1s_ctrl_tchtd,TCHD,NO_PAR}, {NULL,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
425 {NULL,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
426 {l1s_read_dummy,TCHD,NO_PAR}, {NULL,NO_PAR} // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
427 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
428
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
429 const T_FCT BLOC_TCHA[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
430 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
431 {l1s_hopping_algo,TCHA,NO_PAR},{l1s_ctrl_tcha,TCHA,NO_PAR}, {NULL,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
432 {NULL,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
433 {l1s_read_dedic_dl,TCHA,NO_PAR}, {NULL,NO_PAR} // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
434 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
435
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
436 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
437 /* TASK: Frequency Burst search in dedic/SDCCH... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
438 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
439 const T_FCT BLOC_FB51[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
440 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
441 {l1s_ctrl_fb,FB51,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
442 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
443 {l1s_read_mon_result,FB51, 1},{NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
444 {l1s_read_mon_result,FB51, 2},{NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
445 {l1s_read_mon_result,FB51, 3},{NULL,NO_PAR,NO_PAR}, // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
446 {l1s_read_mon_result,FB51, 4},{NULL,NO_PAR,NO_PAR}, // frame 6
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
447 {l1s_read_mon_result,FB51, 5},{NULL,NO_PAR,NO_PAR}, // frame 7
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
448 {l1s_read_mon_result,FB51, 6},{NULL,NO_PAR,NO_PAR}, // frame 8
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
449 {l1s_read_mon_result,FB51, 7},{NULL,NO_PAR,NO_PAR}, // frame 9
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
450 {l1s_read_mon_result,FB51, 8},{NULL,NO_PAR,NO_PAR}, // frame 10
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
451 {l1s_read_mon_result,FB51, 9},{NULL,NO_PAR,NO_PAR}, // frame 11
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
452 {l1s_read_mon_result,FB51,10},{NULL,NO_PAR,NO_PAR}, // frame 12
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
453 {l1s_read_mon_result,FB51,11},{NULL,NO_PAR,NO_PAR}, // frame 13
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
454 {l1s_read_mon_result,FB51,12},{NULL,NO_PAR,NO_PAR} // frame 14
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
455 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
456
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
457 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
458 /* TASK: SB51, Synchro Burst reading. Dedic/SDCCH. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
459 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
460 /* C W W R -> SB */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
461 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
462 const T_FCT BLOC_SB51[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
463 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
464 {l1s_ctrl_sbgen,SB51,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
465 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
466 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
467 {l1s_read_mon_result,SB51,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
468 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
469
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
470 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
471 /* TASK: SBCNF51, Synchro confirmation. Dedic/SDCCH. */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
472 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
473 /* C W W R -> SBCONF */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
474 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
475 const T_FCT BLOC_SBCNF51[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
476 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
477 {l1s_ctrl_sbgen,SBCNF51,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
478 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
479 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
480 {l1s_read_mon_result,SBCNF51,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
481 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
482
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
483 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
484 /* TASK: FB26, Frequency Burst search in dedic/TCH... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
485 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
486 /* C W W R */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
487 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
488 const T_FCT BLOC_FB26[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
489 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
490 {l1s_ctrl_fb26,FB26,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
491 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
492 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
493 {l1s_read_mon_result,FB26,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
494 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
495
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
496 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
497 /* TASK: SB26, Synchro. Burst reading in dedic/TCH... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
498 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
499 /* C W W W R */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
500 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
501 const T_FCT BLOC_SB26[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
502 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
503 {l1s_ctrl_sb26,SB26,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
504 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
505 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
506 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
507 {l1s_read_mon_result,SB26,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
508 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
509
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
510 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
511 /* TASK: SBCNF26, Synchro. Burst reading in dedic/TCH.*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
512 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
513 /* C W W W R */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
514 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
515 const T_FCT BLOC_SBCNF26[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
516 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
517 {l1s_ctrl_sb26,SBCNF26,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
518 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
519 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
520 {NULL,NO_PAR,NO_PAR}, // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
521 {l1s_read_mon_result,SBCNF26,NO_PAR},{NULL,NO_PAR,NO_PAR} // frame 5
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
522 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
523
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
524 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
525 /* TASK: HWTEST after power-on... */
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
526 /*----------------------------------------------------*/
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
527 const T_FCT BLOC_HWTEST[] =
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
528 {
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
529 {l1s_ctrl_hwtest,HWTEST,NO_PAR}, {NULL,NO_PAR,NO_PAR}, // frame 1
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
530 {NULL,NO_PAR,NO_PAR}, // frame 2
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
531 {NULL,NO_PAR,NO_PAR}, // frame 3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
532 {l1s_read_hwtest,HWTEST,NO_PAR}, {NULL,NO_PAR,NO_PAR} // frame 4
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
533 };
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
534
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
535 #else
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
536 extern T_FCT BLOC_FB[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
537 extern T_FCT BLOC_SB[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
538 extern T_FCT BLOC_BCCHS[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
539 extern T_FCT BLOC_BCCHN[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
540 extern T_FCT BLOC_BCCHN_TOP[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
541 extern T_FCT BLOC_EP[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
542 extern T_FCT BLOC_SYNCHRO[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
543 extern T_FCT BLOC_ADC[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
544 extern T_FCT BLOC_SMSCB[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
545 extern T_FCT BLOC_NP[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
546 extern T_FCT BLOC_ALLC[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
547 extern T_FCT BLOC_DDL[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
548 extern T_FCT BLOC_DUL[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
549 extern T_FCT BLOC_ADL[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
550 extern T_FCT BLOC_AUL[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
551 extern T_FCT BLOC_DUL_ADL_MIXED[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
552 extern T_FCT BLOC_ABORT[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
553 extern T_FCT BLOC_RAACC[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
554 extern T_FCT BLOC_TCHTF[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
555 extern T_FCT BLOC_TCHTH[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
556 extern T_FCT BLOC_TCHTD[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
557 extern T_FCT BLOC_TCHA[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
558 extern T_FCT BLOC_FB51[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
559 extern T_FCT BLOC_SB51[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
560 extern T_FCT BLOC_SBCNF51[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
561 extern T_FCT BLOC_FB26[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
562 extern T_FCT BLOC_SB26[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
563 extern T_FCT BLOC_SBCNF26[];
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
564 extern T_FCT BLOC_HWTEST[];
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
565
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
566 #if (L1_GPRS)
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
567 extern T_FCT BLOC_BCCHN_TRAN[];
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
568 #endif
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
569
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
570 #endif
0
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
571
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
572
75a11d740a02 initial import of gsm-fw from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
573
3
f93dab57b032 L1/include: TCS211-based version restored
Mychaela Falconia <falcon@freecalypso.org>
parents: 0
diff changeset
574