FreeCalypso > hg > freecalypso-sw
annotate gsm-fw/services/pcm/pcm.h @ 824:a7bbc4fdd447
g23m-gsm/sms/sms_for.c: bogus call to malloc removed
author | Space Falcon <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 05 Apr 2015 22:20:29 +0000 |
parents | c07f9df9f6af |
children |
rev | line source |
---|---|
638
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 +--------------------------------------------------------------------+ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 | PROJECT: GSM-MFW (?) $Workfile:: pcm.h $| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 | $Author: mmj $Revision:: 1 $| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 | CREATED: 07.10.98 $Modtime:: 15.12.99 10:59 $| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 | STATE : code | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 +--------------------------------------------------------------------+ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 PURPOSE : Types definitions for the permanent memory configuration |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 #ifndef DEF_PCM |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 #define DEF_PCM |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 |
639
c07f9df9f6af
gsm-fw/services/pcm/pcm.h: basic preen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
638
diff
changeset
|
15 #include "../../riviera/rv/general.h" |
638
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 #define LEN_MSCAP (NR_EF_MSCAP * SIZE_EF_MSCAP) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
18 #define LEN_IMEI (NR_EF_IMEI * SIZE_EF_IMEI) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
19 #define LEN_IMSI (NR_EF_IMSI * SIZE_EF_IMSI) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
20 #define LEN_SMS (NR_EF_SMS * SIZE_EF_SMS) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 #define LEN_CLASS2 (NR_EF_CLASS2 * SIZE_EF_CLASS2) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 #define LEN_CLASS3 (NR_EF_CLASS3 * SIZE_EF_CLASS3) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 #define LEN_MSSUP (NR_EF_MSSUP * SIZE_EF_MSSUP) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 #define LEN_CLNG (NR_EF_CLNG * SIZE_EF_CLNG) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 #define LEN_MSSET (NR_EF_MSSET * SIZE_EF_MSSET) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 #define LEN_HZCACHE (NR_EF_HZCACHE * SIZE_EF_HZCACHE) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 #define LEN_LDN (NR_EF_LDN * SIZE_EF_LDN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 #define LEN_LRN (NR_EF_LRN * SIZE_EF_LRN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 #define LEN_LMN (NR_EF_LMN * SIZE_EF_LMN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 #define LEN_UPN (NR_EF_UPN * SIZE_EF_UPN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 #define LEN_MBN (NR_EF_MBN * SIZE_EF_MBN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 #define LEN_VMN (NR_EF_VMN * SIZE_EF_VMN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 #define LEN_CTIM (NR_EF_CTIM * SIZE_EF_CTIM) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 #define LEN_CCNT (NR_EF_CCNT * SIZE_EF_CCNT) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 #define LEN_ECC (NR_EF_ECC * SIZE_EF_ECC) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 #define LEN_ORG (NR_EF_ORG * SIZE_EF_ORG) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 #define LEN_CCP (NR_EF_CCP * SIZE_EF_CCP) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 #define LEN_EXT1 (NR_EF_EXT1 * SIZE_EF_EXT1) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 #define LEN_SIMLCK (NR_EF_SIMLCK * SIZE_EF_SIMLCK) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 #define LEN_MAIN (NR_EF_MAIN * SIZE_EF_MAIN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 #define LEN_SFK (NR_EF_SFK * SIZE_EF_SFK) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 #define LEN_FAULT (NR_EF_FAULT * SIZE_EF_FAULT) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 #define LEN_DEBUG (NR_EF_DEBUG * SIZE_EF_DEBUG) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 #define LEN_POWER (NR_EF_POWER * SIZE_EF_POWER) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 #define LEN_KEYB (NR_EF_KEYB * SIZE_EF_KEYB) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 #define LEN_RADIO (NR_EF_RADIO * SIZE_EF_RADIO) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 #define LEN_CGMI (NR_EF_CGMI * SIZE_EF_CGMI) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
48 #define LEN_INF0 (NR_EF_INF0 * SIZE_EF_INF0) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 #define LEN_CGMM (NR_EF_CGMM * SIZE_EF_CGMM) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 #define LEN_CGMR (NR_EF_CGMR * SIZE_EF_CGMR) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 #define LEN_CGSN (NR_EF_CGSN * SIZE_EF_CGSN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 #define LEN_SMSPRFL (NR_EF_SMSPRFL * SIZE_EF_SMSPRFL) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
53 #define LEN_PLMN (NR_EF_PLMN * SIZE_EF_PLMN) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
54 #define LEN_BCCHINFO (NR_EF_BCCHINFO * SIZE_EF_BCCHINFO) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
55 #define LEN_ALS (NR_EF_ALS * SIZE_EF_ALS) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
56 #define LEN_LOCGPRS (NR_EF_LOCGPRS * SIZE_EF_LOCGPRS) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 #define LEN_KCGPRS (NR_EF_KCGPRS * SIZE_EF_KCGPRS) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 #define LEN_IMSIGPRS (NR_EF_IMSIGPRS * SIZE_EF_IMSIGPRS) + 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
59 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
60 #define PCM_SIZE (LEN_MSCAP + LEN_IMEI + LEN_IMSI + LEN_SMS + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
61 LEN_CLASS2 + LEN_CLASS3 + LEN_MSSUP + LEN_CLNG + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
62 LEN_MSSET + LEN_HZCACHE+ LEN_LDN + LEN_LRN + LEN_LMN + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
63 LEN_UPN + LEN_MBN + LEN_VMN + LEN_CTIM + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
64 LEN_CCNT + LEN_ECC + LEN_ORG + LEN_CCP + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
65 LEN_EXT1 + LEN_SIMLCK + LEN_MAIN + LEN_SFK + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
66 LEN_FAULT + LEN_DEBUG + LEN_POWER + LEN_KEYB + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
67 LEN_RADIO + LEN_CGMI + LEN_INF0 + LEN_CGMM + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
68 LEN_CGMR + LEN_CGSN + LEN_SMSPRFL + LEN_PLMN + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
69 LEN_BCCHINFO + LEN_ALS + LEN_LOCGPRS + LEN_KCGPRS + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
70 LEN_IMSIGPRS) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
71 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
72 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
73 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
74 * Parameters written in flash memory |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
75 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
76 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
77 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
78 #define PCM_SERIAL_CONFIG (0) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
79 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
80 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
81 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
82 * Access functions to bit fields |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
83 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
84 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
85 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
86 #define EXTERN extern |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
87 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
88 #ifndef __BF_FUNCCALL__ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
89 #define FldGet(f,n) ((((ULONG)f)&((ULONG)n##m))>>n##s) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
90 #define FldSet(f,n,v) ((((ULONG)f)&(~((ULONG)n##m)))|(((ULONG)v)<<n##s)) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
91 #else |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
92 ULONG FldGet (ULONG f, ULONG m, int s) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
93 { return ((f&m)>>s); } |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
94 ULONG FldSet (ULONG f, ULONG m, int s, ULONG v) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
95 { return ((f&(~m))|((v<<s)&m)); } |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
96 #endif |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
97 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
98 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
99 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
100 * Field Identitifer |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
101 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
102 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
103 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
104 #define EF_MSCAP_ID "MSCAP" /* Mobile Capabilities */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
105 #define EF_IMEI_ID "IMEI" /* Int. Mobile Equipment Id. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
106 #define EF_IMSI_ID "IMSI" /* Int. Mobile Subscriber Id. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
107 #define EF_SMS_ID "SMS" /* Short Message Service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
108 #define EF_CLASS2_ID "CLASS2" /* MS Classmark 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
109 #define EF_CLASS3_ID "CLASS3" /* MS Classmark 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
110 #define EF_MSSUP_ID "MSSUP" /* Mobile Setup */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
111 #define EF_CLNG_ID "CLNG" /* Current Language */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
112 #define EF_MSSET_ID "MSSET" /* MS Settings */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
113 #define EF_HZCACHE_ID "HZCACHE" /* Homezone cache */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
114 #define EF_LDN_ID "LDN" /* Last MOC Numbers */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
115 #define EF_LRN_ID "LRN" /* Last MTC Numbers */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
116 #define EF_LMN_ID "LMN" /* Last MTC Missed Numbers */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 #define EF_UPN_ID "UPN" /* User Personal Numbers */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
118 #define EF_MBN_ID "MBN" /* Mailbox Numbers */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 #define EF_VMN_ID "VMN" /* Voice Mail Number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
120 #define EF_CTIM_ID "CTIM" /* Call Timer */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
121 #define EF_CCNT_ID "CCNT" /* Call Counter */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 #define EF_ECC_ID "ECC" /* Emergency Call Codes */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 #define EF_ORG_ID "ORG" /* Organizer and Alarm */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 #define EF_CCP_ID "CCP" /* Cap and Config Params */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
125 #define EF_EXT1_ID "EXT1" /* Extension 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 #define EF_SIMLCK_ID "SIMLCK" /* SIM Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 #define EF_SIMLCKEXT_ID "SIMLCKEXT" /* Extended SIM Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 #define EF_MAIN_ID "MAIN" /* Maintenance Information */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
129 #define EF_SFK_ID "SFK" /* Special Function Keys */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 #define EF_FAULT_ID "FAULT" /* Fault Conditions */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 #define EF_DEBUG_ID "DEBUG" /* Debug Information */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 #define EF_POWER_ID "POWER" /* Power Management */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 #define EF_KEYB_ID "KEYB" /* Keyboard Mapping */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 #define EF_RADIO_ID "RADIO" /* Radio Parameters */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 #define EF_CGMI_ID "CGMI" /* Manufacturer */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 #define EF_INF0_ID "INF0" /* Identification Information */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 #define EF_CGMM_ID "CGMM" /* Model */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 #define EF_CGMR_ID "CGMR" /* Revision */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
139 #define EF_CGSN_ID "CGSN" /* Product Serial Number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
140 #define EF_SMSPRFL_ID "SMSPRFL" /* SMS Profile */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
141 #define EF_PLMN_ID "PLMN" /* PLMN Identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
142 #define EF_BCCHINFO_ID "BCCHINF" /* BCCH Information */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
143 #define EF_ALS_ID "ALS" /* Alternative Line Service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
144 #define EF_LOCGPRS_ID "LOCGPRS" /* Location Info. (GPRS) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
145 #define EF_KCGPRS_ID "KCGPRS" /* Ciphering Key (GPRS) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
146 #define EF_IMSIGPRS_ID "IMSIGPRS" /* IMSI (GPRS) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
147 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
148 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
149 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
150 * Return Values |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
151 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
152 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
153 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
154 #define drv_Return_Type UBYTE |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
155 #define PCM_OK 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
156 #define PCM_INITIALIZED 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
157 #define PCM_INVALID_FILE 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
158 #define PCM_INVALID_SIZE 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
159 #define PCM_INVALID_CKSM 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
160 #define PCM_INVALID_RECORD 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
161 #define PCM_NVRAM_ACCS_FAIL 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
162 #define PCM_ERASE_ERROR 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
163 #define PCM_WRITE_ERROR 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
164 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
165 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
166 * Field Info Structure |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
167 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
168 typedef struct pcm_FileInfo_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
169 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
170 UBYTE *FileLocation; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
171 USHORT FileSize; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
172 UBYTE Version; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
173 } pcm_FileInfo_Type; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
174 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
175 typedef struct |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
176 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
177 char *identifier; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
178 USHORT start; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
179 USHORT length; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
180 USHORT records; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
181 } T_PCM_DESCRIPTION; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
182 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
183 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
184 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
185 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
186 * Field MOBILE CAPABILITIES - MSCAP |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
187 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
188 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
189 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
190 typedef struct pcm_EFmscap_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
191 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
192 UBYTE chnMode; /* channel modes */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
193 UBYTE datCap1; /* data capabilities */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
194 UBYTE datCap2; /* data capabilities */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
195 UBYTE featLst1; /* feature list */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
196 UBYTE featLst2; /* feature list */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
197 UBYTE featLst3; /* feature list */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
198 } EF_MSCAP; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
199 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
200 #define SIZE_EF_MSCAP 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
201 #define NR_EF_MSCAP 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
202 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
203 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
204 * chnMode bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
205 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
206 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
207 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
208 * |L1 |Tm |afs |ahs |spV3 |efrV2 |hr |spV1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
209 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
210 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
211 #define spchSupV1 0x00000001,0 /* speech support (vers. 1) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
212 #define spchSupV1m 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
213 #define spchSupV1s 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
214 #define hrSup 0x00000002,1 /* HR support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
215 #define hrSupm 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
216 #define hrSups 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
217 #define HR_EFRSup 0x00000006,1 /* HR and EFR support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
218 #define HR_EFRSupm 0x00000006 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
219 #define HR_EFRSups 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
220 #define EFRSupV2 0x00000004,2 /* enhanced FR support (v2) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
221 #define EFRSupV2m 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
222 #define EFRSupV2s 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
223 #define EFRSupV3 0x00000008,3 /* speech support (vers 3) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
224 #define EFRSupV3m 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
225 #define EFRSupV3s 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
226 #define VocSup 0x0000000F,0 /* vocoder support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
227 #define VocSupm 0x0000000F |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
228 #define VocSups 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
229 #define AHS 0x00000010,4 /* adaptive multirate half rate speech */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
230 #define AHSm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
231 #define AHSs 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
232 #define AFS 0x00000020,5 /* adaptive multirate full rate speech */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
233 #define AFSm 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
234 #define AFSs 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
235 #define TestMobile 0x00000040,6 /* Test Mobile */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
236 #define TestMobilem 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
237 #define TestMobiles 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
238 #define L1Ver 0x00000080,7 /* Layer 1 Version */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
239 #define L1Verm 0x00000080 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
240 #define L1Vers 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
241 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
242 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
243 * datCap1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
244 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
245 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
246 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
247 * |14.4 |tfax |ntfax |tsyn |syn |asyn |rlp |ds | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
248 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
249 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
250 #define datSup 0x00000001,0 /* Data support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
251 #define datSupm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
252 #define datSups 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
253 #define RLPSup 0x00000002,1 /* RLP data (NT Async) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
254 #define RLPSupm 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
255 #define RLPSups 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
256 #define AsySup 0x00000004,2 /* T Async data support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
257 #define AsySupm 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
258 #define AsySups 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
259 #define NTSynSup 0x00000008,3 /* NT Sync data support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
260 #define NTSynSupm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
261 #define NTSynSups 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
262 #define TSynSup 0x00000010,4 /* T Sync data support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
263 #define TSynSupm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
264 #define TSynSups 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
265 #define NTFaxSup 0x00000020,5 /* NT Fax support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
266 #define NTFaxSupm 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
267 #define NTFaxSups 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
268 #define TFaxSup 0x00000040,6 /* T Fax support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
269 #define TFaxSupm 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
270 #define TFaxSups 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
271 #define Dr14_4Sup 0x00000080,7 /* Data rate 14.4 support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
272 #define Dr14_4Supm 0x00000080 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
273 #define Dr14_4Sups 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
274 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
275 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
276 * datCap2 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
277 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
278 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
279 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
280 * |DHR | | |NAS |TPD |NTPD |TP |NTP | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
281 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
282 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
283 #define NTPackSup 0x00000001,0 /* NT Packet Service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
284 #define NTPackSupm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
285 #define NTPackSups 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
286 #define TPackSup 0x00000002,1 /* T Packet Service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
287 #define TPackSupm 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
288 #define TPackSups 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
289 #define NTPadSup 0x00000004,2 /* NT PAD Access Service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
290 #define NTPadSupm 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
291 #define NTPadSups 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
292 #define TPadSup 0x00000008,3 /* T PAD Access Service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
293 #define TPadSupm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
294 #define TPadSups 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
295 #define NAltSrvSup 0x00000010,4 /* No Alternate Services */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
296 #define NAltSrvSupm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
297 #define NAltSrvSups 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
298 #define DHRSup 0x00000080,7 /* Data Halfrate support */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
299 #define DHRSupm 0x00000080 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
300 #define DHRSups 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
301 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
302 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
303 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
304 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
305 * Field INTERNATIONAL MOBILE EQUIPMENT ID - IMEI |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
306 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
307 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
308 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
309 typedef struct pcm_EFimei_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
310 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
311 UBYTE tac1; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
312 UBYTE tac2; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
313 UBYTE tac3; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
314 UBYTE fac; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
315 UBYTE snr1; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
316 UBYTE snr2; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
317 UBYTE snr3; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
318 UBYTE svn; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
319 } EF_IMEI; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
320 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
321 #define SIZE_EF_IMEI 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
322 #define NR_EF_IMEI 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
323 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
324 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
325 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
326 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
327 * Field INTERNATIONAL MOBILE SUBSCRIBER ID - IMSI |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
328 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
329 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
330 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
331 typedef struct pcm_EFimsi_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
332 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
333 UBYTE len; /* length IMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
334 UBYTE IMSI[8]; /* IMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
335 } EF_IMSI; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
336 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
337 #define SIZE_EF_IMSI 9 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
338 #define NR_EF_IMSI 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
339 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
340 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
341 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
342 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
343 * Field SHORT MESSAGE SERVICE - SMS |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
344 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
345 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
346 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
347 typedef struct pcm_EFsms_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
348 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
349 UBYTE stat; /* status */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
350 UBYTE rmd[175]; /* remainder */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
351 } EF_SMS; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
352 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
353 #define SIZE_EF_SMS 176 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
354 #define NR_EF_SMS 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
355 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
356 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
357 * stat bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
358 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
359 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
360 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
361 * |reserved |status | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
362 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
363 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
364 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
365 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
366 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
367 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
368 * Field MOBILE STATION CLASSMARK 2 - CLASS2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
369 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
370 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
371 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
372 typedef struct pcm_EFclass2_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
373 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
374 UBYTE byte1; /* class2 byte 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
375 UBYTE byte2; /* class2 byte 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
376 UBYTE byte3; /* class2 byte 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
377 } EF_CLASS2; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
378 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
379 #define SIZE_EF_CLASS2 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
380 #define NR_EF_CLASS2 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
381 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
382 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
383 * byte1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
384 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
385 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
386 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
387 * |- |rev |es |a5/1 |rfpwr | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
388 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
389 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
390 #define rfPwrCap 0x00000007,0 /* rf power capability */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
391 #define rfPwrCapm 0x00000007 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
392 #define rfPwrCaps 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
393 #define a51 0x00000008,3 /* rf power capability */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
394 #define a51m 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
395 #define a51s 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
396 #define esInd 0x00000010,4 /* ES indicator */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
397 #define esIndm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
398 #define esInds 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
399 #define revLev 0x00000060,5 /* revision level */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
400 #define revLevm 0x00000060 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
401 #define revLevs 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
402 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
403 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
404 * byte2 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
405 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
406 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
407 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
408 * |- |ps |ss |sm |reserved |frq | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
409 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
410 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
411 #define freqCap 0x00000001,0 /* frequency capability */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
412 #define freqCapm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
413 #define freqCaps 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
414 #define smCap 0x00000008,3 /* SM capability */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
415 #define smCapm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
416 #define smCaps 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
417 #define ssScrInd 0x00000030,4 /* SS Screen Indicator */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
418 #define ssScrIndm 0x00000030 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
419 #define ssScrInds 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
420 #define psCap 0x00000040,6 /* PS capability */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
421 #define psCapm 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
422 #define psCaps 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
423 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
424 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
425 * byte3 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
426 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
427 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
428 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
429 * |CM3 |reserved |A5/3 |A5/2 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
430 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
431 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
432 #define a52 0x00000001,0 /* encryption algorithm A5/2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
433 #define a52m 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
434 #define a52s 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
435 #define a53 0x00000002,1 /* encryption algorithm A5/3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
436 #define a53m 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
437 #define a53s 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
438 #define cm3 0x000000f8,7 /* CM3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
439 #define cm3m 0x000000f8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
440 #define cm3s 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
441 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
442 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
443 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
444 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
445 * Field MOBILE STATION CLASSMARK 3 - CLASS3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
446 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
447 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
448 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
449 typedef struct pcm_EFclass3_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
450 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
451 UBYTE byte1; /* class3 byte 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
452 UBYTE byte2; /* class3 byte 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
453 UBYTE byte3; /* class3 byte 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
454 } EF_CLASS3; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
455 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
456 #define SIZE_EF_CLASS3 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
457 #define NR_EF_CLASS3 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
458 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
459 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
460 * byte1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
461 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
462 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
463 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
464 * |- |bnd3 |bnd2 |bnd1 |a5/7 |a5/6 |a5/5 |a5/4 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
465 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
466 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
467 #define a54 0x00000001,0 /* encryption algorithm A5/4 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
468 #define a54m 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
469 #define a54s 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
470 #define a55 0x00000002,1 /* encryption algorithm A5/5 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
471 #define a55m 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
472 #define a55s 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
473 #define a56 0x00000004,2 /* encryption algorithm A5/6 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
474 #define a56m 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
475 #define a56s 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
476 #define a57 0x00000008,3 /* encryption algorithm A5/7 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
477 #define a57m 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
478 #define a57s 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
479 #define bnd1 0x00000010,4 /* Band 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
480 #define bnd1m 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
481 #define bnd1s 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
482 #define bnd2 0x00000020,5 /* Band 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
483 #define bnd2m 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
484 #define bnd2s 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
485 #define bnd3 0x00000040,6 /* Band 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
486 #define bnd3m 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
487 #define bnd3s 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
488 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
489 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
490 * byte2 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
491 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
492 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
493 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
494 * |rfcap2 |rfcap1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
495 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
496 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
497 #define rfCap1 0x0000000f,0 /* associated RF capability 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
498 #define rfCap1m 0x0000000f |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
499 #define rfCap1s 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
500 #define rfCap2 0x000000f0,4 /* associated RF capability 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
501 #define rfCap2m 0x000000f0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
502 #define rfCap2s 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
503 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
504 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
505 * byte3 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
506 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
507 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
508 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
509 * |0 |0 |0 |xm |0 |0 |0 |0 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
510 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
511 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
512 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
513 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
514 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
515 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
516 * Field MOBILE SETUP - MSSUP |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
517 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
518 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
519 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
520 typedef struct pcm_EFmssup_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
521 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
522 UBYTE lng1; /* language 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
523 UBYTE lng2; /* language 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
524 UBYTE lng3; /* language 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
525 UBYTE feat1; /* features byte 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
526 UBYTE feat2; /* features byte 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
527 } EF_MSSUP; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
528 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
529 #define SIZE_EF_MSSUP 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
530 #define NR_EF_MSSUP 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
531 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
532 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
533 * lng1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
534 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
535 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
536 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
537 * |por |swe |spa |ita |dut |ger |fre |eng | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
538 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
539 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
540 #define eng 0x00000001,0 /* English */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
541 #define engm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
542 #define engs 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
543 #define fre 0x00000002,1 /* French */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
544 #define frem 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
545 #define fres 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
546 #define ger 0x00000004,2 /* German */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
547 #define germ 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
548 #define gers 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
549 #define dut 0x00000008,3 /* Dutch */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
550 #define dutm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
551 #define duts 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
552 #define ita 0x00000010,4 /* Italian */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
553 #define itam 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
554 #define itas 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
555 #define spa 0x00000020,5 /* Spanish */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
556 #define spam 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
557 #define spas 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
558 #define swe 0x00000040,6 /* Swedish */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
559 #define swem 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
560 #define swes 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
561 #define por 0x00000080,7 /* Portuguese */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
562 #define porm 0x00000080 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
563 #define pors 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
564 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
565 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
566 * lng2 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
567 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
568 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
569 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
570 * |rus |pol |slo |hun |tur |gre |nor |fin | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
571 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
572 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
573 #define fin 0x00000001,0 /* Finnish */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
574 #define finm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
575 #define fins 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
576 #define nor 0x00000002,1 /* Norwegian */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
577 #define norm 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
578 #define nors 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
579 #define gre 0x00000004,2 /* Greek */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
580 #define grem 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
581 #define gres 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
582 #define tur 0x00000008,3 /* Turkish */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
583 #define turm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
584 #define turs 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
585 #define hun 0x00000010,4 /* Hungarian */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
586 #define hunm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
587 #define huns 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
588 #define slo 0x00000020,5 /* Slovenian */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
589 #define slom 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
590 #define slos 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
591 #define pol 0x00000040,6 /* Polish */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
592 #define polm 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
593 #define pols 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
594 #define rus 0x00000080,7 /* Russian */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
595 #define rusm 0x00000080 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
596 #define russ 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
597 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
598 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
599 * lng3 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
600 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
601 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
602 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
603 * |- |ara |tai |man |can |chi |cze |ind | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
604 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
605 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
606 #define ind 0x00000001,0 /* Indonesian */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
607 #define indm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
608 #define inds 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
609 #define cze 0x00000002,1 /* Czech */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
610 #define czem 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
611 #define czes 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
612 #define chi 0x00000004,2 /* Chinese */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
613 #define chim 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
614 #define chis 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
615 #define can 0x00000008,3 /* Cantonese */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
616 #define canm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
617 #define cans 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
618 #define man 0x00000010,4 /* Mandarin */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
619 #define manm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
620 #define mans 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
621 #define tai 0x00000020,5 /* Taiwanese */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
622 #define taim 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
623 #define tais 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
624 #define ara 0x00000040,6 /* Arabic */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
625 #define aram 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
626 #define aras 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
627 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
628 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
629 * feat1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
630 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
631 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
632 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
633 * |stk |irda |etc |ussd |cb |cf |dtmf |aoc | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
634 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
635 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
636 #define AoC 0x00000001,0 /* Advice of Charge */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
637 #define AoCm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
638 #define AoCs 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
639 #define DTMF 0x00000002,1 /* DTMF */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
640 #define DTMFm 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
641 #define DTMFs 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
642 #define CF 0x00000004,2 /* Call Forwarding */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
643 #define CFm 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
644 #define CFs 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
645 #define CB 0x00000008,3 /* Call Barring */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
646 #define CBm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
647 #define CBs 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
648 #define USSD 0x00000010,4 /* USSD */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
649 #define USSDm 0x00000010 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
650 #define USSDs 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
651 #define ETC 0x00000020,5 /* ETC */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
652 #define ETCm 0x00000020 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
653 #define ETCs 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
654 #define IRDA 0x00000040,6 /* IRDA */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
655 #define IRDAm 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
656 #define IRDAs 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
657 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
658 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
659 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
660 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
661 * Field CURRENT LANGUAGE - CLNG |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
662 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
663 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
664 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
665 #define SIZE_EF_CLNG_DATA 2 /* two-letter abbreviation of the language */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
666 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
667 typedef struct pcm_EFclng_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
668 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
669 UBYTE data[SIZE_EF_CLNG_DATA]; /* abbreviation of the language */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
670 } EF_CLNG; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
671 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
672 #define SIZE_EF_CLNG (SIZE_EF_CLNG_DATA) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
673 #define NR_EF_CLNG 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
674 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
675 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
676 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
677 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
678 * Field MOBILE STATION SETTTINGS - MSSET |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
679 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
680 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
681 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
682 typedef struct pcm_EFmsset_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
683 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
684 UBYTE buzzer1; /* buzzer byte 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
685 UBYTE buzzer2; /* buzzer byte 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
686 UBYTE buzzer3; /* buzzer byte 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
687 UBYTE audio; /* audio */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
688 UBYTE misc; /* miscellaneous */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
689 UBYTE display; /* display */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
690 UBYTE language; /* language */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
691 UBYTE recent_ldn_ref; /* recent ldn reference */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
692 UBYTE recent_lrn_ref; /* recent lrn reference */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
693 UBYTE recent_upn_ref; /* recent upn reference */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
694 } EF_MSSET; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
695 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
696 #define SIZE_EF_MSSET 10 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
697 #define NR_EF_MSSET 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
698 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
699 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
700 * buzzer1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
701 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
702 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
703 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
704 * |vib |callvol |calltype | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
705 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
706 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
707 #define calltype 0x00000007,0 /* ringer type incoming calls */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
708 #define calltypem 0x00000007 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
709 #define calltypes 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
710 #define callvol 0x00000038,3 /* ringer volume incoming calls */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
711 #define callvolm 0x00000038 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
712 #define callvols 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
713 #define vib 0x000000c0,6 /* vibrator */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
714 #define vibm 0x000000c0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
715 #define vibs 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
716 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
717 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
718 * buzzer2 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
719 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
720 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
721 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
722 * |reserved |msgvol |msgtype | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
723 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
724 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
725 #define msgtype 0x00000007,0 /* ringer type messages */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
726 #define msgtypem 0x00000007 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
727 #define msgtypes 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
728 #define msgvol 0x00000038,3 /* ringer volume messages */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
729 #define msgvolm 0x00000038 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
730 #define msgvols 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
731 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
732 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
733 * buzzer3 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
734 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
735 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
736 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
737 * |reserved |batw |keytone | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
738 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
739 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
740 #define keytone 0x00000003,0 /* key tone mode */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
741 #define keytonem 0x00000003 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
742 #define keytones 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
743 #define batw 0x00000004,2 /* low battery warning */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
744 #define batwm 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
745 #define batws 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
746 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
747 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
748 * audio bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
749 * _________________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
750 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
751 * |--------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
752 * |VoiceRec|Ext |Outvol |lnamp | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
753 * --------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
754 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
755 #define lnamp 0x00000007,0 /* microphone amplification */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
756 #define lnampm 0x00000007 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
757 #define lnamps 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
758 #define outvol 0x00000038,3 /* output volume */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
759 #define outvolm 0x00000038 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
760 #define outvols 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
761 #define ext 0x00000040,6 /* external audio */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
762 #define extm 0x00000040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
763 #define exts 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
764 #define voicerec 0x00000080,7 /* voice recording */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
765 #define voicerecm 0x00000080 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
766 #define voicerecs 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
767 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
768 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
769 * miscellaneous bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
770 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
771 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
772 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
773 * | | |redial |calinf|clip |clir |pmod | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
774 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
775 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
776 #define pmod 0x00000001,0 /* PLMN selection mode */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
777 #define pmodm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
778 #define pmods 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
779 #define clir 0x00000002,1 /* CLIR */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
780 #define clirm 0x00000002 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
781 #define clirs 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
782 #define clip 0x00000004,2 /* CLIP */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
783 #define clipm 0x00000004 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
784 #define clips 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
785 #define calinf 0x00000008,3 /* call information display */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
786 #define calinfm 0x00000008 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
787 #define calinfs 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
788 #define redial 0x00000030,4 /* redial mode */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
789 #define redialm 0x00000030 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
790 #define redials 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
791 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
792 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
793 * display bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
794 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
795 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
796 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
797 * |bckdr |brgt |ctrt | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
798 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
799 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
800 #define ctrt 0x00000007,0 /* contrast */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
801 #define ctrtm 0x00000007 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
802 #define ctrts 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
803 #define brgt 0x00000018,3 /* brightness */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
804 #define brgtm 0x00000018 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
805 #define brgts 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
806 #define bckdr 0x000000E0,5 /* duration for back light */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
807 #define bckdrm 0x000000E0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
808 #define bckdrs 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
809 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
810 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
811 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
812 * Field Homezone cache |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
813 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
814 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
815 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
816 typedef struct pcm_EFhzcache_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
817 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
818 UBYTE cid[2]; |
639
c07f9df9f6af
gsm-fw/services/pcm/pcm.h: basic preen
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
638
diff
changeset
|
819 UBYTE zone; |
638
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
820 } EF_HZCACHE; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
821 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
822 #define SIZE_EF_HZCACHE 3 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
823 #define NR_EF_HZCACHE 5 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
824 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
825 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
826 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
827 * Field LAST MOC NUMBERS - LDN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
828 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
829 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
830 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
831 typedef struct pcm_EFldn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
832 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
833 UBYTE calDrMsb; /* call duration (MSB) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
834 UBYTE calDrLsb; /* call duration (LSB) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
835 UBYTE year; /* year } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
836 UBYTE month; /* month } = date */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
837 UBYTE day; /* day } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
838 UBYTE hour; /* hour } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
839 UBYTE minute; /* minute } = time */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
840 UBYTE second; /* second } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
841 UBYTE len; /* length of BCD number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
842 UBYTE numTp; /* TON and NPI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
843 UBYTE dldNum[10]; /* called number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
844 UBYTE ccp; /* capability/configuration identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
845 UBYTE ext1; /* extension1 record identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
846 } EF_LDN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
847 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
848 #define SIZE_EF_LDN 22 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
849 #define NR_EF_LDN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
850 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
851 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
852 * numTp bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
853 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
854 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
855 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
856 * |- |ton |npi | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
857 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
858 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
859 #define numTp_npi 0x0000000F,0 /* numbering plan identification */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
860 #define numTp_npim 0x0000000F |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
861 #define numTp_npis 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
862 #define numTp_ton 0x00000070,4 /* Type of number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
863 #define numTp_tonm 0x00000070 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
864 #define numTp_tons 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
865 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
866 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
867 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
868 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
869 * Field LAST MTC NUMBERS - LRN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
870 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
871 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
872 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
873 typedef struct pcm_EFlrn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
874 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
875 UBYTE calDrMsb; /* call duration (MSB) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
876 UBYTE calDrLsb; /* call duration (LSB) */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
877 UBYTE year; /* year } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
878 UBYTE month; /* month } = date */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
879 UBYTE day; /* day } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
880 UBYTE hour; /* hour } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
881 UBYTE minute; /* minute } = time */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
882 UBYTE second; /* second } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
883 UBYTE id; /* identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
884 UBYTE len; /* length of BCD number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
885 UBYTE numTp; /* TON and NPI - bitmap same as EF_LDN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
886 UBYTE dldNum[10]; /* calling number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
887 UBYTE ccp; /* capability/configuration identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
888 UBYTE ext1; /* extension1 record identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
889 } EF_LRN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
890 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
891 #define SIZE_EF_LRN 23 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
892 #define NR_EF_LRN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
893 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
894 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
895 * id bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
896 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
897 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
898 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
899 * |reserved |type | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
900 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
901 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
902 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
903 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
904 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
905 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
906 * Field LAST MTC MISSED NUMBERS - LMN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
907 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
908 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
909 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
910 typedef struct pcm_EFlmn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
911 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
912 UBYTE year; /* year } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
913 UBYTE month; /* month } = date */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
914 UBYTE day; /* day } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
915 UBYTE hour; /* hour } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
916 UBYTE minute; /* minute } = time */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
917 UBYTE second; /* second } */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
918 UBYTE id; /* identifier - bitmap same as EF_LRN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
919 UBYTE len; /* length of BCD number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
920 UBYTE numTp; /* TON and NPI - bitmap same as EF_LDN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
921 UBYTE dldNum[10]; /* calling number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
922 UBYTE ccp; /* capability/configuration identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
923 UBYTE ext1; /* extension1 record identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
924 } EF_LMN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
925 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
926 #define SIZE_EF_LMN 21 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
927 #define NR_EF_LMN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
928 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
929 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
930 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
931 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
932 * Field USER PERSONAL NUMBERS - UPN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
933 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
934 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
935 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
936 typedef struct pcm_EFupn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
937 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
938 UBYTE alphId[10]; /* alpha identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
939 UBYTE len; /* length of BCD number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
940 UBYTE numTp; /* TON and NPI - bitmap same as EF_LDN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
941 UBYTE usrNum[10]; /* number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
942 UBYTE ccp; /* capability/configuration identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
943 UBYTE ext1; /* extension1 record identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
944 } EF_UPN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
945 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
946 #define SIZE_EF_UPN 24 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
947 #define NR_EF_UPN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
948 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
949 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
950 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
951 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
952 * Field MAILBOX NUMBERS - MBN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
953 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
954 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
955 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
956 typedef struct pcm_EFmbn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
957 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
958 UBYTE alphId[10]; /* alpha identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
959 UBYTE len; /* length of BCD number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
960 UBYTE numTp; /* TON and NPI - bitmap same as EF_LDN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
961 UBYTE mbNum[10]; /* number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
962 } EF_MBN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
963 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
964 #define SIZE_EF_MBN 22 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
965 #define NR_EF_MBN 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
966 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
967 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
968 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
969 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
970 * Field VOICE MAIL NUMBER - VMN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
971 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
972 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
973 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
974 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
975 * note that with new 04.08 the called party bcd number of the CC |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
976 * protocol can have up to 43 octets, 3 are used for other things |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
977 * than the BCD coded digits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
978 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
979 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
980 #define MAX_CALLED_PARTY_BCD_NO_OCTETS 40 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
981 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
982 typedef struct pcm_EFvmn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
983 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
984 UBYTE vmNum[MAX_CALLED_PARTY_BCD_NO_OCTETS + 1]; /* voice mail number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
985 UBYTE numTp; /* TON and NPI - bitmap same as EF_LDN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
986 } EF_VMN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
987 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
988 #define SIZE_EF_VMN (MAX_CALLED_PARTY_BCD_NO_OCTETS + 1 + 1) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
989 #define NR_EF_VMN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
990 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
991 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
992 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
993 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
994 * Field CALL TIMER - CTIM |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
995 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
996 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
997 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
998 typedef struct pcm_EFctim_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
999 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1000 UBYTE moVcDrHm[4]; /* MO voice duration home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1001 UBYTE mtVcDrHm[4]; /* MT voice duration home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1002 UBYTE moDtDrHm[4]; /* MO data duration home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1003 UBYTE mtDtDrHm[4]; /* MT data duration home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1004 UBYTE moFxDrHm[4]; /* MO fax duration home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1005 UBYTE mtFxDrHm[4]; /* MT fax duration home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1006 UBYTE moVcDrRm[4]; /* MO voice duration roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1007 UBYTE mtVcDrRm[4]; /* MT voice duration roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1008 UBYTE moDtDrRm[4]; /* MO data duration roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1009 UBYTE mtDtDrRm[4]; /* MT data duration roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1010 UBYTE moFxDrRm[4]; /* MO fax duration roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1011 UBYTE mtFxDrRm[4]; /* MT fax duration roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1012 } EF_CTIM; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1013 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1014 #define SIZE_EF_CTIM 48 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1015 #define NR_EF_CTIM 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1016 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1017 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1018 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1019 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1020 * Field CALL COUNTER - CCNT |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1021 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1022 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1023 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1024 typedef struct pcm_EFccnt_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1025 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1026 UBYTE Total[4]; /* total duration */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1027 UBYTE moVcDrHm[4]; /* MO voice counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1028 UBYTE mtVcDrHm[4]; /* MT voice counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1029 UBYTE moDtDrHm[4]; /* MO data counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1030 UBYTE mtDtDrHm[4]; /* MT data counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1031 UBYTE moFxDrHm[4]; /* MO fax counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1032 UBYTE mtFxDrHm[4]; /* MT fax counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1033 UBYTE moVcDrRm[4]; /* MO voice counter roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1034 UBYTE mtVcDrRm[4]; /* MT voice counter roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1035 UBYTE moDtDrRm[4]; /* MO data counter roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1036 UBYTE mtDtDrRm[4]; /* MT data counter roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1037 UBYTE moFxDrRm[4]; /* MO fax counter roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1038 UBYTE mtFxDrRm[4]; /* MT fax counter roaming */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1039 } EF_CCNT; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1040 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1041 #define SIZE_EF_CCNT 52 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1042 #define NR_EF_CCNT 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1043 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1044 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1045 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1046 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1047 * Field EMERGENCY CALL CODES - ECC |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1048 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1049 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1050 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1051 typedef struct pcm_EFecc_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1052 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1053 UBYTE ecc1[3]; /* emergency call code 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1054 UBYTE ecc2[3]; /* emergency call code 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1055 UBYTE ecc3[3]; /* emergency call code 3 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1056 UBYTE ecc4[3]; /* emergency call code 4 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1057 UBYTE ecc5[3]; /* emergency call code 5 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1058 } EF_ECC; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1059 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1060 #define SIZE_EF_ECC 15 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1061 #define NR_EF_ECC 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1062 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1063 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1064 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1065 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1066 * Field ORGANIZER AND ALARM - ORG |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1067 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1068 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1069 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1070 typedef struct pcm_EForg_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1071 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1072 UBYTE date[6]; /* year, month, day, hour, minute, second */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1073 UBYTE alrm; /* alarm */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1074 UBYTE alphMem[16]; /* alpha memo */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1075 } EF_ORG; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1076 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1077 #define SIZE_EF_ORG 23 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1078 #define NR_EF_ORG 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1079 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1080 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1081 * alrm bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1082 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1083 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1084 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1085 * |reserved |type |stat | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1086 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1087 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1088 #define alrm_stat 0x00000001,0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1089 #define alrm_statm 0x00000001 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1090 #define alrm_stats 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1091 #define alrm_type 0x0000000E,1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1092 #define alrm_typem 0x0000000E |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1093 #define alrm_types 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1094 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1095 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1096 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1097 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1098 * Field CAPABILITY AND CONFIGURATION PARAMETERS - CCP |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1099 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1100 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1101 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1102 typedef struct pcm_EFccp_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1103 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1104 UBYTE usrRate; /* user rate */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1105 UBYTE bearServ; /* bearer service */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1106 UBYTE conElem; /* connection element */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1107 UBYTE stopBits; /* stop bits */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1108 UBYTE dataBits; /* data bits */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1109 UBYTE parity; /* parity */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1110 UBYTE flowCntrl; /* flow control */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1111 } EF_CCP; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1112 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1113 #define SIZE_EF_CCP 7 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1114 #define NR_EF_CCP 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1115 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1116 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1117 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1118 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1119 * Field EXTENSION 1 - EXT1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1120 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1121 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1122 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1123 typedef struct pcm_EFext1_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1124 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1125 UBYTE recTp; /* record type */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1126 UBYTE extDat[11]; /* extension data */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1127 UBYTE id; /* identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1128 } EF_EXT1; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1129 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1130 #define SIZE_EF_EXT1 13 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1131 #define NR_EF_EXT1 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1132 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1133 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1134 * recTp bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1135 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1136 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1137 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1138 * |reserved |type | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1139 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1140 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1141 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1142 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1143 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1144 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1145 * Field SIM LOCK & EXTENDED SIM LOCK (use alternatively) - SIMLCK |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1146 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1147 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1148 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1149 typedef struct pcm_EFsimlck_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1150 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1151 UBYTE locks1; /* lock byte 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1152 UBYTE locks2; /* lock byte 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1153 UBYTE cnt; /* unlock attempt counter */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1154 UBYTE maxcnt; /* maximum attempt */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1155 UBYTE PKey[8]; /* P control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1156 UBYTE SPKey[8]; /* SP control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1157 UBYTE NSKey[8]; /* NS control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1158 UBYTE CKey[8]; /* C control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1159 UBYTE NKey[8]; /* N control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1160 UBYTE len_imsi; /* length of IMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1161 UBYTE imsi[15]; /* IMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1162 UBYTE gidl1; /* group identifier level 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1163 UBYTE gidl2; /* group identifier level 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1164 } EF_SIMLCK; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1165 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1166 #define SIZE_EF_SIMLCK 62 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1167 #define NR_EF_SIMLCK 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1168 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1169 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1170 typedef struct pcm_EFsimlckext_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1171 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1172 UBYTE locks1; /* lock byte 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1173 UBYTE locks2; /* lock byte 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1174 UBYTE cnt; /* unlock attempt counter */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1175 UBYTE maxcnt; /* maximum attempt */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1176 UBYTE PKey[8]; /* P control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1177 UBYTE SPKey[8]; /* SP control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1178 UBYTE NSKey[8]; /* NS control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1179 UBYTE CKey[8]; /* C control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1180 UBYTE NKey[8]; /* N control key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1181 UBYTE len_p_imsi; /* length of IMSI P-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1182 UBYTE p_imsi[15]; /* IMSI P-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1183 UBYTE len_sp_imsi; /* length of IMSI SP-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1184 UBYTE sp_imsi[15]; /* IMSI SP-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1185 UBYTE len_ns_imsi; /* length of IMSI NS-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1186 UBYTE ns_imsi[15]; /* IMSI NS-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1187 UBYTE len_c_imsi; /* length of IMSI C-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1188 UBYTE c_imsi[15]; /* IMSI C-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1189 UBYTE len_n_imsi; /* length of IMSI N-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1190 UBYTE n_imsi[15]; /* IMSI N-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1191 UBYTE len_u_imsi; /* length of IMSI U-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1192 UBYTE u_imsi[15]; /* IMSI U-Lock */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1193 UBYTE gidl1; /* group identifier level 1 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1194 UBYTE gidl2; /* group identifier level 2 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1195 } EF_SIMLCKEXT; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1196 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1197 #define SIZE_EF_SIMLCKEXT 142 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1198 #define NR_EF_SIMLCKEXT 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1199 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1200 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1201 * locks1 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1202 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1203 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1204 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1205 * |splock |nslock |nlock |plock | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1206 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1207 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1208 #define plock 0x00000003,0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1209 #define plockm 0x00000003 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1210 #define plocks 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1211 #define nlock 0x0000000C,2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1212 #define nlockm 0x0000000C |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1213 #define nlocks 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1214 #define nslock 0x00000030,4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1215 #define nslockm 0x00000030 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1216 #define nslocks 4 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1217 #define spslock 0x000000C0,6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1218 #define splockm 0x000000C0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1219 #define splocks 6 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1220 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1221 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1222 * locks2 bits |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1223 * _______________________________________________________ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1224 * |8 |7 |6 |5 |4 |3 |2 |1 | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1225 * |------|------|------|------|------|------|------|------| |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1226 * |reserved |clock | |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1227 * ------------------------------------------------------- |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1228 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1229 #define clock 0x00000003,0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1230 #define clockm 0x00000003 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1231 #define clocks 0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1232 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1233 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1234 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1235 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1236 * Field MAINTENANCE INFORMATION - MAIN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1237 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1238 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1239 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1240 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1241 * T.B.D. |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1242 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1243 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1244 #define SIZE_EF_MAIN 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1245 #define NR_EF_MAIN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1246 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1247 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1248 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1249 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1250 * Field SPECIAL FUNCTION KEY - SFK |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1251 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1252 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1253 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1254 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1255 * T.B.D. |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1256 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1257 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1258 #define SIZE_EF_SFK 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1259 #define NR_EF_SFK 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1260 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1261 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1262 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1263 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1264 * Field FAULT CONDITIONS - FAULT |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1265 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1266 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1267 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1268 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1269 * T.B.D. |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1270 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1271 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1272 #define SIZE_EF_FAULT 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1273 #define NR_EF_FAULT 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1274 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1275 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1276 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1277 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1278 * Field DEBUG INFORMATION - DEBUG |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1279 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1280 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1281 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1282 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1283 * T.B.D. |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1284 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1285 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1286 #define SIZE_EF_DEBUG 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1287 #define NR_EF_DEBUG 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1288 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1289 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1290 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1291 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1292 * Field POWER MANAGEMENT - POWER |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1293 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1294 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1295 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1296 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1297 * T.B.D. |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1298 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1299 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1300 #define SIZE_EF_POWER 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1301 #define NR_EF_POWER 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1302 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1303 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1304 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1305 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1306 * Field KEYBOARD MAPPING - KEYB |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1307 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1308 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1309 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1310 typedef struct pcm_EFkbd_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1311 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1312 UBYTE logical_key [32]; /* logical key map */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1313 UBYTE raw_key [32]; /* raw key map */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1314 } EF_KBD; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1315 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1316 #define SIZE_EF_KEYB 64 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1317 #define NR_EF_KEYB 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1318 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1319 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1320 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1321 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1322 * Field RADIO PARAMETERS - RADIO |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1323 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1324 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1325 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1326 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1327 * T.B.D. |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1328 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1329 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1330 #define SIZE_EF_RADIO 8 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1331 #define NR_EF_RADIO 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1332 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1333 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1334 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1335 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1336 * Field MANUFACTURER - CGMI |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1337 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1338 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1339 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1340 #define SIZE_EF_CGMI_DATA 20 /* value depends on manufacturer spec. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1341 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1342 typedef struct pcm_EFcgmi_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1343 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1344 UBYTE data[SIZE_EF_CGMI_DATA]; /* name of manufacturer */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1345 } EF_CGMI; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1346 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1347 #define SIZE_EF_CGMI (SIZE_EF_CGMI_DATA) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1348 #define NR_EF_CGMI 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1349 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1350 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1351 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1352 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1353 * Field IDENTIFICATION INFORMATION - INF0 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1354 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1355 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1356 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1357 #define SIZE_EF_INF0_DATA 20 /* value depends on manufacturer spec. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1358 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1359 typedef struct pcm_EFinf0_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1360 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1361 UBYTE data[SIZE_EF_INF0_DATA]; /* identification information */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1362 } EF_INF0; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1363 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1364 #define SIZE_EF_INF0 (SIZE_EF_INF0_DATA) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1365 #define NR_EF_INF0 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1366 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1367 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1368 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1369 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1370 * Field MODEL - CGMM |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1371 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1372 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1373 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1374 #define SIZE_EF_CGMM_DATA 20 /* value depends on manufacturer spec. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1375 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1376 typedef struct pcm_EFcgmm_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1377 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1378 UBYTE data[SIZE_EF_CGMM_DATA]; /* name of product */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1379 } EF_CGMM; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1380 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1381 #define SIZE_EF_CGMM (SIZE_EF_CGMM_DATA) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1382 #define NR_EF_CGMM 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1383 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1384 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1385 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1386 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1387 * Field REVISION - CGMR |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1388 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1389 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1390 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1391 #define SIZE_EF_CGMR_DATA 20 /* value depends on manufacturer spec. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1392 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1393 typedef struct pcm_EFcgmr_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1394 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1395 UBYTE data[SIZE_EF_CGMR_DATA]; /* version of product */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1396 } EF_CGMR; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1397 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1398 #define SIZE_EF_CGMR (SIZE_EF_CGMR_DATA) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1399 #define NR_EF_CGMR 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1400 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1401 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1402 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1403 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1404 * Field PRODUCT SERIAL NUMBER - CGSN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1405 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1406 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1407 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1408 #define SIZE_EF_CGSN_DATA 20 /* value depends on manufacturer spec. */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1409 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1410 typedef struct pcm_EFcgsn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1411 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1412 UBYTE data[SIZE_EF_CGSN_DATA]; /* serial number of product */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1413 } EF_CGSN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1414 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1415 #define SIZE_EF_CGSN (SIZE_EF_CGSN_DATA) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1416 #define NR_EF_CGSN 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1417 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1418 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1419 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1420 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1421 * Field SMS PROFILE - SMSPRFL |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1422 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1423 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1424 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1425 #define SIZE_EF_SMSPRFL_SCA 20 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1426 #define SIZE_EF_SMSPRFL_MIDS 40 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1427 #define SIZE_EF_SMSPRFL_DCSS 20 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1428 #define SIZE_EF_SMSPRFL_VPABS 14 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1429 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1430 typedef struct pcm_EFsmsprfl_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1431 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1432 UBYTE vldFlag; /* valid flag */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1433 UBYTE CSCAsca[SIZE_EF_SMSPRFL_SCA]; /* service center address */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1434 UBYTE CSCAlenSca; /* length of service center address */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1435 UBYTE CSCAton; /* type of number */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1436 UBYTE CSCAnpi; /* numbering plan identification */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1437 UBYTE CSCBmode; /* cell broadcast mode */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1438 UBYTE CSCBmids[SIZE_EF_SMSPRFL_MIDS]; /* message identifiers */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1439 UBYTE CSCBdcss[SIZE_EF_SMSPRFL_DCSS]; /* data coding schemes */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1440 UBYTE CSMPfo; /* first octet */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1441 UBYTE CSMPvprel; /* validity period relative */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1442 UBYTE CSMPvpabs[SIZE_EF_SMSPRFL_VPABS]; /* validity period absolute */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1443 UBYTE CSMPpid; /* protocol identifier */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1444 UBYTE CSMPdcs; /* data coding scheme */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1445 } EF_SMSPRFL; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1446 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1447 #define SIZE_EF_SMSPRFL (SIZE_EF_SMSPRFL_SCA + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1448 SIZE_EF_SMSPRFL_MIDS + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1449 SIZE_EF_SMSPRFL_DCSS + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1450 SIZE_EF_SMSPRFL_VPABS + 9) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1451 #define NR_EF_SMSPRFL 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1452 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1453 /* |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1454 * vldFlag values |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1455 */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1456 #define EF_SMSPRFL_VLD 0x00 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1457 #define EF_SMSPRFL_INVLD 0xFF |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1458 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1459 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1460 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1461 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1462 * Field PLMN IDENTIFIER - PLMN |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1463 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1464 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1465 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1466 #define SIZE_EF_PLMN_MCC 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1467 #define SIZE_EF_PLMN_MNC 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1468 #define SIZE_EF_PLMN_LONG 20 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1469 #define SIZE_EF_PLMN_SHRT 10 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1470 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1471 typedef struct pcm_EFplmn_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1472 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1473 UBYTE mcc[SIZE_EF_PLMN_MCC]; /* mobile country code */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1474 UBYTE mnc[SIZE_EF_PLMN_MNC]; /* mobile network code */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1475 UBYTE lngNam[SIZE_EF_PLMN_LONG]; /* MT voice counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1476 UBYTE shrtNam[SIZE_EF_PLMN_SHRT]; /* MO data counter home PLMN */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1477 } EF_PLMN; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1478 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1479 #define SIZE_EF_PLMN (SIZE_EF_PLMN_MCC + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1480 SIZE_EF_PLMN_MNC + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1481 SIZE_EF_PLMN_LONG + \ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1482 SIZE_EF_PLMN_SHRT) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1483 #define NR_EF_PLMN 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1484 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1485 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1486 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1487 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1488 * Field BCCH INFORMATION - BCCHINF |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1489 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1490 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1491 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1492 typedef struct pcm_EFbcchinfo_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1493 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1494 UBYTE bcch_info[54]; /* content of bcch_info */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1495 } EF_BCCHINFO; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1496 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1497 #define SIZE_EF_BCCHINFO 54 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1498 #define NR_EF_BCCHINFO 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1499 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1500 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1501 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1502 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1503 * Field ALTERNATIVE LINE SERVICE - ALS |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1504 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1505 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1506 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1507 typedef struct pcm_EFals_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1508 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1509 UBYTE selLine; /* selected line */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1510 UBYTE statLine; /* status line */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1511 } EF_ALS; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1512 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1513 #define SIZE_EF_ALS 2 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1514 #define NR_EF_ALS 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1515 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1516 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1517 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1518 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1519 * Field LOCATION INFORMATION (GPRS) - LOCGPRS |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1520 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1521 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1522 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1523 typedef struct pcm_EFlocgprs_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1524 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1525 UBYTE ptmsi[4]; /* packet TMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1526 UBYTE ptmsi_signature[3]; /* packet TMSI signature value */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1527 UBYTE rai[6]; /* routing area information */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1528 UBYTE ra_status; /* status of rai */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1529 } EF_LOCGPRS; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1530 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1531 #define SIZE_EF_LOCGPRS sizeof (EF_LOCGPRS) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1532 #define NR_EF_LOCGPRS 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1533 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1534 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1535 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1536 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1537 * Field CIPHERING KEY (GPRS) - KCGPRS |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1538 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1539 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1540 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1541 typedef struct pcm_EFkcgprs_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1542 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1543 UBYTE kc[8]; /* currently used cyphering key */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1544 UBYTE cksn; /* ciphering key sequence number of kc */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1545 } EF_KCGPRS; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1546 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1547 #define SIZE_EF_KCGPRS sizeof (EF_KCGPRS) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1548 #define NR_EF_KCGPRS 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1549 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1550 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1551 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1552 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1553 * Field IMSI (GPRS) - IMSIGPRS |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1554 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1555 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1556 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1557 typedef struct pcm_EFimsigprs_Type |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1558 { |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1559 UBYTE len; /* length IMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1560 UBYTE IMSI[8]; /* IMSI */ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1561 } EF_IMSIGPRS; |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1562 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1563 #define SIZE_EF_IMSIGPRS sizeof (EF_IMSIGPRS) |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1564 #define NR_EF_IMSIGPRS 1 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1565 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1566 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1567 /******************************************************************** |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1568 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1569 * Prototypes |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1570 * |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1571 ********************************************************************/ |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1572 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1573 EXTERN unsigned char pcm_find_active_pcm_sector (void); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1574 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1575 EXTERN void pcm_read_flash (UBYTE *pcm_mem, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1576 unsigned size, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1577 UBYTE pcm_sector); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1578 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1579 EXTERN drv_Return_Type pcm_erase_flash_sector (UBYTE pcm_sector); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1580 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1581 EXTERN drv_Return_Type pcm_write_flash (UBYTE *pcm_mem, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1582 unsigned size, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1583 UBYTE pcm_sector); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1584 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1585 EXTERN drv_Return_Type pcm_Init (void); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1586 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1587 EXTERN void pcm_Exit (void); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1588 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1589 EXTERN drv_Return_Type pcm_ReadFile (UBYTE *in_FileName, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1590 USHORT in_BufferSize, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1591 UBYTE *out_BufferPtr, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1592 UBYTE *out_VersionPtr); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1593 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1594 EXTERN drv_Return_Type pcm_GetFileInfo (UBYTE *in_FileName, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1595 pcm_FileInfo_Type *out_FileInfoPtr); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1596 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1597 EXTERN drv_Return_Type pcm_ReadRecord (UBYTE *in_FileName, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1598 USHORT in_Record, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1599 USHORT in_BufferSize, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1600 UBYTE *out_BufferPtr, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1601 UBYTE *out_VersionPtr, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1602 USHORT *out_MaxRecordsPtr); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1603 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1604 EXTERN drv_Return_Type pcm_WriteFile (UBYTE *in_FileName, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1605 USHORT in_BufferSize, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1606 UBYTE *in_BufferPtr); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1607 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1608 EXTERN drv_Return_Type pcm_WriteRecord (UBYTE *in_FileName, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1609 USHORT in_Record, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1610 USHORT in_BufferSize, |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1611 UBYTE *in_BufferPtr); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1612 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1613 EXTERN drv_Return_Type pcm_Flush (void); |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1614 |
0b5f226bfdf4
gsm-fw/services/pcm: import from Leonardo source (FFS)
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1615 #endif // ifndef DEF_PCM |