FreeCalypso > hg > fc-tourmaline
annotate src/cs/riviera/rvm/rvm_ext_priorities.h @ 273:5caa86ee2cfa
enable L1_NEW_AEC in l1_confg.h (bold change)
The AEC function implemented in DSP ROM 3606 on the Calypso silicon
we work with is the one that corresponds to L1_NEW_AEC; the same holds
for DSP 34 and even for DSP 33 with more recent patch versions.
However, TI shipped their TCS211 reference fw with L1_NEW_AEC set to 0,
thus driving AEC the old way if anyone tried to enable it, either via
AT%Nxxxx or via the audio mode facility. As a result, the fw would
try to control features which no longer exist in the DSP (long vs short
echo and the old echo suppression level bits), while providing no way
to tune the 8 new parameter words added to the DSP's NDB page.
The only sensible solution is to bite the bullet and enable L1_NEW_AEC
in L1 config, with fallout propagating into RiViera Audio Service
T_AUDIO_AEC_CFG structure and into /aud/*.cfg binary file format.
The latter fallout will be addressed in further code changes.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 29 Jul 2021 18:32:40 +0000 |
parents | 0faa72eaedcb |
children | 2d7d95e7f9c2 |
rev | line source |
---|---|
228
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
1 /******************************************************************************* |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
2 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
3 * Name rvm_ext_priorities.h * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
4 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
5 * Function this file priorities defintitions for basic SWEs * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
6 * It includes a file * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
7 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
8 * Version 0.1 * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
9 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
10 * Date Modification * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
11 * ------------------------------------ * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
12 * 10/11/2000 Create * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
13 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
14 * Author Cristian Livadiotti (c-livadiotti@ti.com) * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
15 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
16 * (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
17 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
18 * --------------------------------------------------------------------------- * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
19 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
20 * History: * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
21 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
22 * 10/18/2001 - Updated for R2D by Christophe Favergeon * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
23 * * |
93af50ca61f9
rvm_priorities.h, rvm_ext_priorities.h: readability fixes
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
24 ******************************************************************************/ |
0
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 #ifndef __RVM_EXT_PRIORITIES_H_ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 #define __RVM_EXT_PRIORITIES_H_ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 /* PRIORITIES SETTING: */ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 /* All user priority should be set under 250: */ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 /* Higher values are reserved */ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 /* |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 ** External Priority definitions |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 ** Note that RVM_EXPL_TASK_PRIORITY is used for testing purpose (refer to RTEST). |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 ** Hence, users have to make sure that such a priority is lower than the software |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 ** entity under test, not to starve the system. |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 */ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 #define RVM_EXPL_TASK_PRIORITY (242) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 #define RVM_RGUI_TASK_PRIORITY (240) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 #define RVM_R2D_TASK_PRIORITY (239) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 #define RVM_DEV1_TASK_PRIORITY (245) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 #define RVM_DEV2_TASK_PRIORITY (245) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 #define RVM_DEV3_TASK_PRIORITY (245) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 #define RVM_UVM_TASK_PRIORITY (245) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 #define RVM_BTU_TASK_PRIORITY (248) /* was 240 */ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 #define RVM_BTUI_TASK_PRIORITY (240) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 #define RVM_BTA_TASK_PRIORITY (248) /* rl: was 200 */ |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 #define RVM_BTH_TASK_PRIORITY (200) |
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 |
234
0faa72eaedcb
give FCBM task a more carefully chosen priority
Mychaela Falconia <falcon@freecalypso.org>
parents:
229
diff
changeset
|
55 #define RVM_FCBM_TASK_PRIORITY (238) |
229
7ec0ae23ce76
rvm_ext_priorities.h: add FCBM
Mychaela Falconia <falcon@freecalypso.org>
parents:
228
diff
changeset
|
56 |
0
4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 #endif /* __RVM_EXT_PRIORITIES_H_ */ |