aboutsummaryrefslogtreecommitdiffstats
path: root/octvc1/gsm/octvc1_gsm_api.h
blob: 6609ca087b4041114f73c3b8e1b51d08ee831f96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\

File: OCTVC1_GSM_API.h

Copyright (c) 2017 Octasic Inc. All rights reserved.

Description: Contains the definition of the GSM API.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.


Release: OCTSDR Software Development Kit OCTSDR_GSM-02.09.00-B1607 (2017/08/29)

$Revision: $

\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/

#ifndef __OCTVC1_GSM_API_H__
#define __OCTVC1_GSM_API_H__


/*****************************  INCLUDE FILES  *******************************/
#include "../../octdev_types.h"
#include "../../octdev_devices.h"
#include "../octvc1_msg.h"
#include "../octvc1_handle.h"
#include "../octvc1_cursor.h"
#include "../octvc1_list.h"
#include "../octvc1_fifo.h"
#include "../octvc1_file.h"
#include "../octvc1_radio.h"
#include "../octvc1_module.h"
#include "../octvc1_tap.h"

#include "octvc1_gsm_id.h"
#include "octvc1_gsm_rc.h"
#include "octvc1_gsm_lic.h"

/************************  COMMON DEFINITIONS  *******************************/

/*-------------------------------------------------------------------------------------
 	APP_TEST Application Module Id
-------------------------------------------------------------------------------------*/

#define cOCTVC1_GSM_APPLICATION_ID_MODULE_PHY				((0x00)|(cOCTVC1_MODULE_ID_ENUM_GSM<<cOCTVC1_MODULE_APPLICATION_ID_MODULE_BIT_OFFSET))	

/*-------------------------------------------------------------------------------------
 	GSM Module Tap Id
-------------------------------------------------------------------------------------*/

#define cOCTVC1_GSM_TAP_ID_RF_UPLINK_INPUT					((0x0000)|(cOCTVC1_TAP_DIRECTION_ENUM_TX<<cOCTVC1_TAP_ID_MASK_DIRECTION_BIT_OFFSET)|(cOCTVC1_GSM_APPLICATION_ID_MODULE_PHY<<cOCTVC1_TAP_ID_MASK_MODULE_ID_BIT_OFFSET))	

/*-------------------------------------------------------------------------------------
 	GSM Module Data Id
-------------------------------------------------------------------------------------*/

#define cOCTVC1_GSM_MODULE_DATA_ID_RF_UPLINK_INPUT_COMPLEX16	((0x0000)|(cOCTVC1_MODULE_ID_ENUM_GSM<<cOCTVC1_TAP_ID_MASK_MODULE_ID_BIT_OFFSET))	 	/* Deprecated */
 																		/* Should use cOCTVC1_GSM_MSG_TRX_UPLINK_RF_INPUT_DATA_LOGICAL_CHANNEL_MID */


#define cOCTVC1_GSM_HOPPING_LIST_MAX_ENTRY					64		 	/* This is the maximum number of entries in a hopping list */
#define cOCTVC1_GSM_PHYSICAL_MIN_TIMESLOT_NUMBER			0		 	/* Minimum value of the Physical timeslot number. */
#define cOCTVC1_GSM_PHYSICAL_MAX_TIMESLOT_NUMBER			7		 	/* Maximum value of the Physical timeslot number. */
#define cOCTVC1_GSM_TRX_MAX_TIMESLOTS						(cOCTVC1_GSM_PHYSICAL_MAX_TIMESLOT_NUMBER+1)	 	/* This is the number of timeslots associated with a TRX. */
#define cOCTVC1_GSM_TIMESLOT_MIN_SUBCHANNEL_NUMBER			0		 	/* Minimum value of the timeslot sub-channel number. */
#define cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL_NUMBER			7		 	/* Maximum value of the timeslot sub-channel number. */
#define cOCTVC1_GSM_TIMESLOT_ALL_SUBCHANNEL_NUMBER			0xF1	 	/* Value used to specified an unused timeslot sub-channel. */
#define cOCTVC1_GSM_TIMESLOT_ALL_SUBCHANNEL_ENTRY_INDEX		8		 	/* Value used to specified the entry index used for ALL_SUBCHANNEL in subchannel */
 																		/* array. */
#define cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL					(cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL_NUMBER+2)	 	/* This is the number of subchannels associated with a timeslot. */
#define cOCTVC1_GSM_MAX_FRAME_COUNT							2715647	 	/* Max frame tick count. */
#define cOCTVC1_GSM_DATA_CONTENT_SIZE						460		 	/* Data content buffer size in bytes. */
#define cOCTVC1_GSM_DATA_CONTENT_SIZE_RAW_DI				464		 	/* Data content buffer size in bytes for RAW Data Indication. */
#define cOCTVC1_GSM_RATE_LIST_SIZE							4		 	/* Rate list size. */
#define cOCTVC1_GSM_RACH_IND_MSG_SIZE						32		 	/* RACH indication content buffer size. */
#define cOCTVC1_GSM_TRX_ID_LIST_MAX_ENTRY					32		 	/* Maximum number of TRX_ID per list. */
#define cOCTVC1_GSM_PHYSICAL_CHANNEL_ID_LIST_MAX_ENTRY		32		 	/* Maximum number of PHYSICAL_CHANNEL_ID per list. */
#define cOCTVC1_GSM_LOGICAL_CHANNEL_ID_LIST_MAX_ENTRY		128		 	/* Maximum number of LOGICAL_CHANNEL_ID per list. */
#define cOCTVC1_GSM_CIPHER_KEY_LENGTH						8		 	/* Cipher key bytes count. */
#define cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS					2		 	/* Max PDTCH Data Blocks for All MCS. */

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_CMI_PHASE_ENUM : 	CMI phase.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_CMI_PHASE_ENUM							tOCT_UINT8

#define cOCTVC1_GSM_CMI_PHASE_ENUM_EVEN						0		
#define cOCTVC1_GSM_CMI_PHASE_ENUM_ODD						1		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_AMR_CODEC_MODE_ENUM : 	AMR codec mode.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_AMR_CODEC_MODE_ENUM						tOCT_UINT8

#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_4_75			0x00	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_5_15			0x01	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_5_90			0x02	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_6_70			0x03	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_7_40			0x04	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_7_95			0x05	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_10_2			0x07	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_RATE_12_2			0x08	
#define cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_UNSET				0x0f	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_ID_DIRECTION_ENUM : 	Sub Channel Direction.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_ID_DIRECTION_ENUM						tOCT_UINT8

#define cOCTVC1_GSM_ID_DIRECTION_ENUM_NONE					0		
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_RX_BTS_MS				1		
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_BTS_MS				3		
#define cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_RX_BTS_MS			4		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_DIRECTION_ENUM : 	Sub Channel Direction.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_DIRECTION_ENUM							tOCT_UINT8

#define cOCTVC1_GSM_DIRECTION_ENUM_NONE						cOCTVC1_GSM_ID_DIRECTION_ENUM_NONE	
#define cOCTVC1_GSM_DIRECTION_ENUM_RX_BTS_MS				cOCTVC1_GSM_ID_DIRECTION_ENUM_RX_BTS_MS	
#define cOCTVC1_GSM_DIRECTION_ENUM_TX_BTS_MS				cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_BTS_MS	
#define cOCTVC1_GSM_DIRECTION_ENUM_TX_RX_BTS_MS				cOCTVC1_GSM_ID_DIRECTION_ENUM_TX_RX_BTS_MS	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM : 	Time slot number.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM						tOCT_UINT8

#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0					0		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_1					1		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_2					2		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_3					3		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_4					4		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_5					5		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_6					6		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_7					7		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TIMESLOT_NB_ENUM : 	Time slot number.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TIMESLOT_NB_ENUM						tOCT_UINT32

#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_0						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_1						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_1	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_2						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_2	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_3						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_3	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_4						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_4	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_5						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_5	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_6						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_6	
#define cOCTVC1_GSM_TIMESLOT_NB_ENUM_7						cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_7	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM : 	Time slot number.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM				tOCT_UINT8

#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_0				0		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_1				1		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_2				2		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_3				3		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_4				4		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_5				5		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_6				6		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_7				7		
#define cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_ALL			0xFF	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM : 	Time slot number.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM					tOCT_UINT32

#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_0					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_0	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_1					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_1	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_2					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_2	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_3					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_3	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_4					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_4	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_5					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_5	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_6					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_6	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_7					cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_7	
#define cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_ALL				cOCTVC1_GSM_ID_TIMESLOT_NB_STUB_ENUM_ALL	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_ID_STUB_MODE_ENUM : 	Sub Channel Direction.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_ID_STUB_MODE_ENUM						tOCT_UINT8

#define cOCTVC1_GSM_ID_STUB_MODE_ENUM_NONE					0		
#define cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_CAPTURE		1		
#define cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_STUB			2		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_STUB_MODE_ENUM : 	Sub Channel Direction.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_STUB_MODE_ENUM							tOCT_UINT8

#define cOCTVC1_GSM_STUB_MODE_ENUM_NONE						cOCTVC1_GSM_ID_STUB_MODE_ENUM_NONE	
#define cOCTVC1_GSM_STUB_MODE_ENUM_IQ_DATA_CAPTURE			cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_CAPTURE	
#define cOCTVC1_GSM_STUB_MODE_ENUM_IQ_DATA_STUB				cOCTVC1_GSM_ID_STUB_MODE_ENUM_IQ_DATA_STUB	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM : 	Sub Channel number.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM					tOCT_UINT8

#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0				0		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_1				1		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_2				2		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_2				2		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_3				3		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_4				4		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_5				5		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_6				6		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_7				7		
#define cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_ALL				0xF1	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_SUB_CHANNEL_NB_ENUM : 	Sub Channel number.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_SUB_CHANNEL_NB_ENUM						tOCT_UINT32

#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_0					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_1					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_1	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_2					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_2	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_3					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_3	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_4					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_4	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_5					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_5	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_6					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_6	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_7					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_7	
#define cOCTVC1_GSM_SUB_CHANNEL_NB_ENUM_ALL					cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_ALL	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_CIPHERING_ID_ENUM : 	Sub Channel Direction.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_CIPHERING_ID_ENUM						tOCT_UINT32

#define cOCTVC1_GSM_CIPHERING_ID_ENUM_UNUSED				0		
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_0					1		
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_1					2		
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_2					3		
#define cOCTVC1_GSM_CIPHERING_ID_ENUM_A5_3					4		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_SUBCHANNEL_MASK : 	Sub channel Mask.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_SUBCHANNEL_MASK							tOCT_UINT32

#define cOCTVC1_GSM_SUBCHANNEL_MASK_0						((tOCT_UINT32)(1<<0) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_1						((tOCT_UINT32)(1<<1) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_2						((tOCT_UINT32)(1<<2) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_3						((tOCT_UINT32)(1<<3) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_4						((tOCT_UINT32)(1<<4) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_5						((tOCT_UINT32)(1<<5) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_6						((tOCT_UINT32)(1<<6) )	
#define cOCTVC1_GSM_SUBCHANNEL_MASK_7						((tOCT_UINT32)(1<<7) )	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TEST_MODE_ENUM : 	TEST MODE OPTIONS.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TEST_MODE_ENUM							tOCT_UINT8

#define cOCTVC1_GSM_TEST_MODE_ENUM_TEST_MODE_NONE			0		
#define cOCTVC1_GSM_TEST_MODE_ENUM_TEST_MODE_TX				1		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM : 	TX TEST MODE BURST SELECTION.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM				tOCT_UINT8

#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_0		0		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_1		1		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_2		2		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_3		3		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_4		4		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_5		5		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_6		6		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_BURST_7		7		
#define cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND		8		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MODULATION_ENUM : 	modulation types.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_MODULATION_ENUM							tOCT_UINT8

#define cOCTVC1_GSM_MODULATION_ENUM_GMSK					0		
#define cOCTVC1_GSM_MODULATION_ENUM_EPSK					1		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_BURST_TYPE_ENUM : 	Burst type.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_BURST_TYPE_ENUM							tOCT_UINT32

#define cOCTVC1_GSM_BURST_TYPE_ENUM_SYNC					0		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_NORMAL					1		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_DUMMY					2		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_NORMAL_8PSK				3		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_0		4		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_1		5		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_ACCESS_TRAINING_2		6		
#define cOCTVC1_GSM_BURST_TYPE_ENUM_FREQ_CORRECTION			7		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM : 	Timeslot channel type.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM										tOCT_UINT32

#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_EMPTY										0		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHF_FACCHF_SACCHTF						1		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_TCHH_FACCHH_SACCHTH						2		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH							3		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_SACCHC4			4		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_SACCHC8								5		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_FCCH_SCH_BCCH_CCCH_SDCCH4_CBCH_SACCHC4		6		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_SDCCH8_CBCH_SACCHC8						7		
#define cOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM_PDTCHF_PACCHF_PTCCHF						8		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_PAYLOAD_TYPE_ENUM :
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_PAYLOAD_TYPE_ENUM						tOCT_UINT32

#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_NONE					0		
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_FULL_RATE				1		
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_ENH_FULL_RATE			2		
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_HALF_RATE				3		
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_AMR_FULL_RATE			4		
#define cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_AMR_HALF_RATE			5		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_SAPI_ENUM : 	Timeslot channel type.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_SAPI_ENUM								tOCT_UINT8

#define cOCTVC1_GSM_SAPI_ENUM_IDLE							0		
#define cOCTVC1_GSM_SAPI_ENUM_FCCH							1		 	/* Frequency Correction burst pseudo-Channel */
#define cOCTVC1_GSM_SAPI_ENUM_SCH							2		 	/* Synchronization channel */
#define cOCTVC1_GSM_SAPI_ENUM_SACCH							3		 	/* Slow Associated Control Channel */
#define cOCTVC1_GSM_SAPI_ENUM_SDCCH							4		 	/* Stand-Alone Dedicated Control Channel */
#define cOCTVC1_GSM_SAPI_ENUM_BCCH							5		 	/* Broadcast Control Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PCH_AGCH						7		 	/* Paging and Access Grant Channel */
#define cOCTVC1_GSM_SAPI_ENUM_CBCH							8		 	/* Cell Broadcast Channel */
#define cOCTVC1_GSM_SAPI_ENUM_RACH							9		 	/* Random Access Channel */
#define cOCTVC1_GSM_SAPI_ENUM_TCHF							10		 	/* Full rate speech TCH */
#define cOCTVC1_GSM_SAPI_ENUM_FACCHF						11		 	/* Full rate FACCH */
#define cOCTVC1_GSM_SAPI_ENUM_TCHH							12		 	/* Half rate speech TCH */
#define cOCTVC1_GSM_SAPI_ENUM_FACCHH						13		 	/* Half rate FACCH */
#define cOCTVC1_GSM_SAPI_ENUM_NCH							14		 	/* Notification Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PDTCH							15		 	/* EGPRS Packet Data Traffic Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PACCH							16		 	/* EGPRS Packet Associated Control Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PBCCH							17		 	/* EGPRS Packet Broadcast Control Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PAGCH							18		 	/* EGPRS Packet Access Grant Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PPCH							19		 	/* EGPRS Packet Paging Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PNCH							20		 	/* EGPRS Packet Notification Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PTCCH							21		 	/* EGPRS Packet Timing advance Control Channel */
#define cOCTVC1_GSM_SAPI_ENUM_PRACH							22		 	/* EGPRS Packet Random Access Channel */

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_SAPI_MASK : 	SAPI_MASK
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_SAPI_MASK								tOCT_UINT32

#define cOCTVC1_GSM_SAPI_MASK_IDLE							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_IDLE) )	
#define cOCTVC1_GSM_SAPI_MASK_FCCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_FCCH) )	
#define cOCTVC1_GSM_SAPI_MASK_SCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_SCH) )	
#define cOCTVC1_GSM_SAPI_MASK_SACCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_SACCH) )	
#define cOCTVC1_GSM_SAPI_MASK_SDCCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_SDCCH) )	
#define cOCTVC1_GSM_SAPI_MASK_BCCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_BCCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PCH_AGCH						((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PCH_AGCH) )	
#define cOCTVC1_GSM_SAPI_MASK_CBCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_CBCH) )	
#define cOCTVC1_GSM_SAPI_MASK_RACH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_RACH) )	
#define cOCTVC1_GSM_SAPI_MASK_TCHF							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_TCHF) )	
#define cOCTVC1_GSM_SAPI_MASK_FACCHF						((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_FACCHF) )	
#define cOCTVC1_GSM_SAPI_MASK_TCHH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_TCHH) )	
#define cOCTVC1_GSM_SAPI_MASK_FACCHH						((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_FACCHH) )	
#define cOCTVC1_GSM_SAPI_MASK_NCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_NCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PDTCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PDTCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PACCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PACCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PBCCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PBCCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PAGCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PAGCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PPCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PPCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PNCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PNCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PTCCH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PTCCH) )	
#define cOCTVC1_GSM_SAPI_MASK_PRACH							((tOCT_UINT32)(1<<cOCTVC1_GSM_SAPI_ENUM_PRACH) )	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TRX_ID

 Members:
	byTrxId
		Default:	0
	abyPad
 		Reserved to align following member.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT8	byTrxId;
	tOCT_UINT8	abyPad[3];

} tOCTVC1_GSM_TRX_ID;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TRX_ID_CURSOR

 Members:
	TrxId
		Default:	0
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_TRX_ID_CURSOR;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TRX_ID_GET_CURSOR

 Members:
	TrxId
	ulGetMode
		Default:	cOCTVC1_OBJECT_CURSOR_ENUM_FIRST
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TRX_ID			TrxId;
	tOCTVC1_OBJECT_CURSOR_ENUM	ulGetMode;

} tOCTVC1_GSM_TRX_ID_GET_CURSOR;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK : 	TRX_BAND
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK				tOCT_UINT16

#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT0	((tOCT_UINT16)(1<<15) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT1	((tOCT_UINT16)(1<<14) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT2	((tOCT_UINT16)(1<<13) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT3	((tOCT_UINT16)(1<<12) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT4	((tOCT_UINT16)(1<<11) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TRX_ID_BIT5	((tOCT_UINT16)(1<<10) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT0		((tOCT_UINT16)(1<<9) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT1		((tOCT_UINT16)(1<<8) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT2		((tOCT_UINT16)(1<<7) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_BAND_BIT3		((tOCT_UINT16)(1<<6) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_HOPPING		((tOCT_UINT16)(1<<5) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT0		((tOCT_UINT16)(1<<4) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT1		((tOCT_UINT16)(1<<3) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT2		((tOCT_UINT16)(1<<2) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT3		((tOCT_UINT16)(1<<1) )	
#define cOCTVC1_GSM_TRX_BAND_HOPPING_TSC_MASK_TSC_BIT4		((tOCT_UINT16)(1<<0) )	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_RF_CONFIG
 		RF configuration

 Members:
	ulRxGainDb
		Range:		[0..73]
		Default:	70
 		Rx Gain Db (1 dB step)
	ulTxAttndB
		Range:		[0..359]
 		Tx attenuation Db. (in 1/4 dB)
	ulTxAntennaId
		Range:		[0..1]
		Default:	0
 		TX Antenna Index
	ulRxAntennaId
		Range:		[0..1]
		Default:	0
 		RX Antenna Index
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulRxGainDb;
	tOCT_UINT32	ulTxAttndB;
	tOCT_UINT32	ulTxAntennaId;
	tOCT_UINT32	ulRxAntennaId;

} tOCTVC1_GSM_RF_CONFIG;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TRX_CONFIG

 Members:
	ulBand
	usTsc
		Range:		[0..31]
		Default:	0
	usArfcn
	usBcchArfcn
	usCentreArfcn
	usHsn
	usMaio
	ausReserve
	ulHoppingFlag
	ulHoppingListLength
	ausHoppingList
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM	ulBand;
	tOCT_UINT16									usTsc;
	tOCT_UINT16									usArfcn;
	tOCT_UINT16									usBcchArfcn;
	tOCT_UINT16									usCentreArfcn;
	tOCT_UINT16									usHsn;
	tOCT_UINT16									usMaio;
	tOCT_UINT16									ausReserve[2];
	tOCT_BOOL32									ulHoppingFlag;
	tOCT_UINT32									ulHoppingListLength;
	tOCT_UINT16									ausHoppingList[cOCTVC1_GSM_HOPPING_LIST_MAX_ENTRY];

} tOCTVC1_GSM_TRX_CONFIG;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TRX_STATUS_ENUM : 	Timeslot channel type.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TRX_STATUS_ENUM							tOCT_UINT32

#define cOCTVC1_GSM_TRX_STATUS_ENUM_INVALID					0		
#define cOCTVC1_GSM_TRX_STATUS_ENUM_RADIO_READY				1		
#define cOCTVC1_GSM_TRX_STATUS_ENUM_RADIO_ERROR				2		
#define cOCTVC1_GSM_TRX_STATUS_ENUM_PROCESSING_STOP			3		

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID

 Members:
	byTimeslotNb
		Default:	cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0
 		Timeslot number.
	abyPad
 		Reserved to align following member.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM	byTimeslotNb;
	tOCT_UINT8						abyPad[3];

} tOCTVC1_GSM_PHYSICAL_CHANNEL_ID;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_CURSOR

 Members:
	PchId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_CURSOR;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR

 Members:
	TrxId
	PchId
	ulGetMode
		Default:	cOCTVC1_OBJECT_CURSOR_ENUM_FIRST
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;
	tOCTVC1_OBJECT_CURSOR_ENUM		ulGetMode;

} tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_SUBCHANNEL_STATUS

 Members:
	ulSubchannelNb
 		Sub Channel Number
	ulActiveUplinkSAPIMask
	ulActiveDownlinkSAPIMask
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32				ulSubchannelNb;
	tOCTVC1_GSM_SAPI_MASK	ulActiveUplinkSAPIMask;
	tOCTVC1_GSM_SAPI_MASK	ulActiveDownlinkSAPIMask;

} tOCTVC1_GSM_SUBCHANNEL_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_CIPHER_CONFIG

 Members:
	ulCipherId
	abyKey
 		Cipher Key
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_CIPHERING_ID_ENUM	ulCipherId;
	tOCT_UINT8						abyKey[cOCTVC1_GSM_CIPHER_KEY_LENGTH];

} tOCTVC1_GSM_CIPHER_CONFIG;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_STUB_STATUS
 		Buffer address

 Members:
	byTimeslotUsed
		Range:		[0..65536]
		Default:	0
 		Adress of Real Pointer
	byStubMode
 		STUB_MODE_ENUM.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT16					byTimeslotUsed;
	tOCTVC1_GSM_STUB_MODE_ENUM	byStubMode;

} tOCTVC1_GSM_STUB_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_STUB_CHANNEL_ID

 Members:
	byTimeslotNb
		Default:	cOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM_0
 		Timeslot number.
	bySubChannelNb
		Default:	cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0
 		Sub-Channel number.
	bySAPI
		Default:	cOCTVC1_GSM_SAPI_ENUM_TCHF
 		CHANNEL_TYPE.
	byStubMode
		Default:	cOCTVC1_GSM_STUB_MODE_ENUM_NONE
 		STUB_MODE_ENUM.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM	byTimeslotNb;
	tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM	bySubChannelNb;
	tOCTVC1_GSM_SAPI_ENUM				bySAPI;
	tOCTVC1_GSM_STUB_MODE_ENUM			byStubMode;

} tOCTVC1_GSM_STUB_CHANNEL_ID;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID

 Members:
	byTimeslotNb
		Default:	cOCTVC1_GSM_ID_TIMESLOT_NB_ENUM_0
 		Timeslot number.
	bySubChannelNb
		Default:	cOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM_0
 		Sub-Channel number.
	bySAPI
 		Access Point Identifier.
	byDirection
 		Channel direction.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_ID_TIMESLOT_NB_ENUM		byTimeslotNb;
	tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM	bySubChannelNb;
	tOCTVC1_GSM_SAPI_ENUM				bySAPI;
	tOCTVC1_GSM_ID_DIRECTION_ENUM		byDirection;

} tOCTVC1_GSM_LOGICAL_CHANNEL_ID;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID_CURSOR

 Members:
	LchId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_LOGICAL_CHANNEL_ID_CURSOR;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR

 Members:
	TrxId
	LchId
	ulGetMode
		Default:	cOCTVC1_OBJECT_CURSOR_ENUM_FIRST
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCTVC1_OBJECT_CURSOR_ENUM		ulGetMode;

} tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG

 Members:
	byTimingAdvance
	byBSIC
	byCmiPhase
	byInitRate
		Default:	cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_UNSET
	abyRate
		Default:	cOCTVC1_GSM_AMR_CODEC_MODE_ENUM_UNSET
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT8						byTimingAdvance;
	tOCT_UINT8						byBSIC;
	tOCTVC1_GSM_CMI_PHASE_ENUM		byCmiPhase;
	tOCTVC1_GSM_AMR_CODEC_MODE_ENUM	byInitRate;
	tOCTVC1_GSM_AMR_CODEC_MODE_ENUM	abyRate[cOCTVC1_GSM_RATE_LIST_SIZE];

} tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_DATA

 Members:
	ulFrameNumber
		Range:		[..cOCTVC1_GSM_MAX_FRAME_COUNT]
	ulPayloadType
		Default:	cOCTVC1_GSM_PAYLOAD_TYPE_ENUM_NONE
	ulDataLength
		Range:		[..cOCTVC1_GSM_DATA_CONTENT_SIZE]
	abyDataContent
 		The data contents are an array of size usDataLength. The current implementation
 		is incorrect.
	abyEgprsCrc
 		EGPRS CRC Status for Max PDCH Data Blocks.
	abyPadding
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32						ulFrameNumber;
	tOCTVC1_GSM_PAYLOAD_TYPE_ENUM	ulPayloadType;
	tOCT_UINT32						ulDataLength;
	tOCT_UINT8						abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE];
	tOCT_UINT8						abyEgprsCrc[cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS];
	tOCT_UINT8						abyPadding[6];

} tOCTVC1_GSM_LOGICAL_CHANNEL_DATA;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA

 Members:
	ulFrameNumber
		Range:		[..cOCTVC1_GSM_MAX_FRAME_COUNT]
	ulDataLength
		Range:		[..cOCTVC1_GSM_DATA_CONTENT_SIZE_RAW_DI]
	abyDataContent
 		The data contents are an array of size usDataLength.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulFrameNumber;
	tOCT_UINT32	ulDataLength;
	tOCT_UINT8	abyDataContent[cOCTVC1_GSM_DATA_CONTENT_SIZE_RAW_DI];

} tOCTVC1_GSM_LOGICAL_CHANNEL_RAW_DATA;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MEASUREMENT_INFO

 Members:
	sSNRDb
	sRSSIDbm
	sBurstTiming
	sBurstTiming4x
	usBERCnt
	usBERTotalBitCnt
	uLReserved0
	uLReserved1
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_INT16	sSNRDb;
	tOCT_INT16	sRSSIDbm;
	tOCT_INT16	sBurstTiming;
	tOCT_INT16	sBurstTiming4x;
	tOCT_UINT16	usBERCnt;
	tOCT_UINT16	usBERTotalBitCnt;
	tOCT_UINT16	uLReserved0;
	tOCT_UINT16	uLReserved1;

} tOCTVC1_GSM_MEASUREMENT_INFO;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_RAW_MEASUREMENT_INFO

 Members:
	sSNRDb
	sRSSIDbm
	sBurstTiming
	sBurstTiming4x
	usBERCnt
	usBERTotalBitCnt
	usTrSqErrCnt
	usTrSqTotalBitCnt
	sFreqErrHz
	usReserved
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_INT16	sSNRDb;
	tOCT_INT16	sRSSIDbm;
	tOCT_INT16	sBurstTiming;
	tOCT_INT16	sBurstTiming4x;
	tOCT_UINT16	usBERCnt;
	tOCT_UINT16	usBERTotalBitCnt;
	tOCT_UINT16	usTrSqErrCnt;
	tOCT_UINT16	usTrSqTotalBitCnt;
	tOCT_INT16	sFreqErrHz;
	tOCT_UINT16	usReserved;

} tOCTVC1_GSM_RAW_MEASUREMENT_INFO;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TIMESLOT_POWER

 Members:
	ulPowerMax
	ulPowerAverage
	ulCount
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulPowerMax;
	tOCT_UINT32	ulPowerAverage;
	tOCT_UINT32	ulCount;

} tOCTVC1_GSM_TIMESLOT_POWER;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_PHYSICAL_STATUS

 Members:
	ulChannelType
	ulSubchannelCount
	ulTchDataCrcPassCount
	ulTchDataCrcFailCount
	ulRachCount
	aulPdtchCrcPassCount
	aulPdtchCrcFailCount
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM	ulChannelType;
	tOCT_UINT32										ulSubchannelCount;
	tOCT_UINT32										ulTchDataCrcPassCount;
	tOCT_UINT32										ulTchDataCrcFailCount;
	tOCT_UINT32										ulRachCount;
	tOCT_UINT32										aulPdtchCrcPassCount[cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS];
	tOCT_UINT32										aulPdtchCrcFailCount[cOCTVC1_GSM_MAX_PDCH_DATA_BLOCKS];

} tOCTVC1_GSM_PHYSICAL_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TIMESLOT_STATUS

 Members:
	PhysicalStatus
	UplinkPower
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_PHYSICAL_STATUS	PhysicalStatus;
	tOCTVC1_GSM_TIMESLOT_POWER	UplinkPower;

} tOCTVC1_GSM_TIMESLOT_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_DL_STATUS

 Members:
	ulElapseRspCmdMaxUs
 		Max elapse time waiting for DL process Rsp
	ulElapseRspCmdAvgUs
 		Avg Elapse time waiting for DL process Rsp
	ulExpectedDelayExceedCnt
 		Nb of time TX buffer is not filled fast enough.(Should be 0)
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulElapseRspCmdMaxUs;
	tOCT_UINT32	ulElapseRspCmdAvgUs;
	tOCT_UINT32	ulExpectedDelayExceedCnt;

} tOCTVC1_GSM_DL_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_UL_STATUS

 Members:
	ulExceedByteMaxCnt
 		Max exceed data count...Expecting 2512.
	ulExpectedDataExceedCnt
 		Nb of time data count present was higher than a slot.(Should be 0)
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulExceedByteMaxCnt;
	tOCT_UINT32	ulExpectedDataExceedCnt;

} tOCTVC1_GSM_UL_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_SCHED_STATUS

 Members:
	ulErrorDataInactiveCnt
 		Trying to schedule logical channel without available data.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulErrorDataInactiveCnt;

} tOCTVC1_GSM_SCHED_STATUS;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_TYPE_ENUM : 	GSM Filer type.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TAP_FILTER_TYPE_ENUM					tOCT_UINT32

#define cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_NONE				0		
#define cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_TRX				1		
#define cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_PHYSICAL_CHANNEL	2		
#define cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_LOGICAL_CHANNEL	3		

#define cOCTVC1_GSM_TAP_FILTER_TAP_COUNT_MAX				16		 	/* This is the maximum number of tap that can be associated to a FILTER */
#define cOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_COUNT_MAX	8		 	/* This is the maximum number of entries in a tap physical channel array */
#define cOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_COUNT_MAX	8		 	/* This is the maximum number of entries in a tap logical channel array */

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY

 Members:
	TrxId
 		Specify TrxId to tap
	PchId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY

 Members:
	TrxId
 		Specify TrxId to tap
	LchId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_MASK : 	GSM tap filter mask channel Mask.
-------------------------------------------------------------------------------------*/
#define tOCTVC1_GSM_TAP_FILTER_MASK							tOCT_UINT32

#define cOCTVC1_GSM_TAP_FILTER_MASK_NONE					0		
#define cOCTVC1_GSM_TAP_FILTER_MASK_REMOVE_REJECTED_DATA	((tOCT_UINT32)(1<<0) )	

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_TRX

 Members:
	ulAllTrxFlag
		Default:	cOCT_FALSE
 		If cOCT_TRUE, will tap all TRX.Value in TrxId will not be used
 		If cOCT_FALSE, only tap TRX specify in TrxId
	TrxId
 		Specify TrxId to tap
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_BOOL32			ulAllTrxFlag;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_TAP_FILTER_TRX;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL

 Members:
	ulEntryCnt
		Range:		[0..cOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_COUNT_MAX]
		Default:	0
 		Number of Physical to TAP
 		If 0, no one will be tap
	aEntry
 		Physical Tap filter array .
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32										ulEntryCnt;
	tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY	aEntry[cOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL_ENTRY_COUNT_MAX];

} tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL

 Members:
	ulEntryCnt
		Range:		[0..cOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_COUNT_MAX]
		Default:	0
 		Number of Logical to TAP
 		If 0, no one will be tap
	aEntry
 		Logical Tap filter array .
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32										ulEntryCnt;
	tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY	aEntry[cOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL_ENTRY_COUNT_MAX];

} tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER

 Members:
	ulType
		Default:	cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_NONE
 		GSM Tap filter type.
	ulMask
		Default:	cOCTVC1_GSM_TAP_FILTER_MASK_NONE
 		GSM Tap filter mask.
	Trx
 		GSM Tap filter structure when type cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_TRX is used.
	PhysicalChannel
 		GSM Tap filter structure when type
 		cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_PHYSICAL_CHANNEL is used.
	LogicalChannel
 		GSM Tap filter structure when type
 		cOCTVC1_GSM_TAP_FILTER_TYPE_ENUM_LOGICAL_CHANNEL is used.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_GSM_TAP_FILTER_TYPE_ENUM		ulType;
	tOCTVC1_GSM_TAP_FILTER_MASK				ulMask;
	tOCTVC1_GSM_TAP_FILTER_TRX				Trx;
	tOCTVC1_GSM_TAP_FILTER_PHYSICAL_CHANNEL	PhysicalChannel;
	tOCTVC1_GSM_TAP_FILTER_LOGICAL_CHANNEL	LogicalChannel;

} tOCTVC1_GSM_TAP_FILTER;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_TAP_FILTER_STATS

 Members:
	ulTapIdCnt
		Range:		[0..cOCTVC1_GSM_TAP_FILTER_TAP_COUNT_MAX]
		Default:	0
 		Number tap using this filter
	ahTapId
 		Array of TapId using this filter
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCT_UINT32	ulTapIdCnt;
	tOCT_UINT32	ahTapId[cOCTVC1_GSM_TAP_FILTER_TAP_COUNT_MAX];

} tOCTVC1_GSM_TAP_FILTER_STATS;

/*-------------------------------------------------------------------------------------
 	Deprecated
 	Should use tOCTVC1_GSM_MSG_TRX_UPLINK_RF_INPUT_DATA_LOGICAL_CHANNEL_MDA
-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER

 Members:
	ModuleData
 		Module Data structure
	TrxId
 		Unique TRX identifier
	LchId
 		Logical Channel identifier
	ulAntennaIndex
 		Antenna index
	ulFrameNumber
		Range:		[..cOCTVC1_GSM_MAX_FRAME_COUNT]
	ulPower
	ulDataSizeInBytes
	byBadFlag
	byBurstId
	byReserved0
	byReserved1
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MODULE_DATA				ModuleData;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCTVC1_INDEX					ulAntennaIndex;
	tOCT_UINT32						ulFrameNumber;
	tOCT_UINT32						ulPower;
	tOCT_UINT32						ulDataSizeInBytes;
	tOCT_UINT8						byBadFlag;
	tOCT_UINT8						byBurstId;
	tOCT_UINT8						byReserved0;
	tOCT_UINT8						byReserved1;

} tOCTVC1_GSM_MODULE_DATA_RF_UPLINK_INPUT_HEADER;

/*****************************  METHODS  *************************************/
/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_OPEN_CMD

 Members:
	Header
 		OCTVC1 Message Header
	ulRfPortIndex
 		Unique RF port identifier
	TrxId
 		Logical identifier for TRX
	Config
 		TRX configuration
	RfConfig
 		RF configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_INDEX			ulRfPortIndex;
	tOCTVC1_GSM_TRX_ID		TrxId;
	tOCTVC1_GSM_TRX_CONFIG	Config;
	tOCTVC1_GSM_RF_CONFIG	RfConfig;

} tOCTVC1_GSM_MSG_TRX_OPEN_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_OPEN_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_OPEN_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_CLOSE_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_CLOSE_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_CLOSE_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_CLOSE_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STATUS_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	ulResetFlag
 		Reset timeslot stats
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;
	tOCT_BOOL32			ulResetFlag;

} tOCTVC1_GSM_MSG_TRX_STATUS_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STATUS_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	DlStatus
	UlStatus
	SchedStatus
	aTSlotStatus
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER			Header;
	tOCTVC1_GSM_TRX_ID			TrxId;
	tOCTVC1_GSM_DL_STATUS		DlStatus;
	tOCTVC1_GSM_UL_STATUS		UlStatus;
	tOCTVC1_GSM_SCHED_STATUS	SchedStatus;
	tOCTVC1_GSM_TIMESLOT_STATUS	aTSlotStatus[cOCTVC1_GSM_TRX_MAX_TIMESLOTS];

} tOCTVC1_GSM_MSG_TRX_STATUS_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_INFO_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	ulRfPortIndex
 		Selected RF port index
	Config
 		TRX configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_GSM_TRX_ID		TrxId;
	tOCTVC1_INDEX			ulRfPortIndex;
	tOCTVC1_GSM_TRX_CONFIG	Config;

} tOCTVC1_GSM_MSG_TRX_INFO_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_RESET_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_RESET_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_RESET_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_RESET_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	Config
 		TRX configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_GSM_TRX_ID		TrxId;
	tOCTVC1_GSM_TRX_CONFIG	Config;

} tOCTVC1_GSM_MSG_TRX_MODIFY_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_MODIFY_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_LIST_CMD

 Members:
	Header
	TrxIdCursor
 		Object Cursor.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID_GET_CURSOR	TrxIdCursor;

} tOCTVC1_GSM_MSG_TRX_LIST_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_LIST_RSP

 Members:
	Header
	TrxIdCursor
 		Object Cursor.
	ulNumTrxId
 		Number of valid TrxId in aTrxId
	aTrxId
 		Array containing the listed TrxId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID_GET_CURSOR	TrxIdCursor;
	tOCT_UINT32						ulNumTrxId;
	tOCTVC1_GSM_TRX_ID_CURSOR		aTrxId[cOCTVC1_GSM_TRX_ID_LIST_MAX_ENTRY];

} tOCTVC1_GSM_MSG_TRX_LIST_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CMD

 Members:
	Header
 		OCTVC1 Message Header
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;

} tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	ulCloseCount
 		Number of TRX closed.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCT_UINT32			ulCloseCount;

} tOCTVC1_GSM_MSG_TRX_CLOSE_ALL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_START_RECORD_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_START_RECORD_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_START_RECORD_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_START_RECORD_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STOP_RECORD_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_STOP_RECORD_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STOP_RECORD_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_STOP_RECORD_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Logical Channel identifier
	Config
 		Logical channel config
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER					Header;
	tOCTVC1_GSM_TRX_ID					TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID		LchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG	Config;

} tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_ACTIVATE_LOGICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_LOGICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	usStatus
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCT_UINT16						usStatus;

} tOCTVC1_GSM_MSG_TRX_STATUS_LOGICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	Config
 		Logical channel config
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER					Header;
	tOCTVC1_GSM_TRX_ID					TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID		LchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_CONFIG	Config;

} tOCTVC1_GSM_MSG_TRX_INFO_LOGICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CMD

 Members:
	Header
	LchIdCursor
 		Object Cursor.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER							Header;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR	LchIdCursor;

} tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_RSP

 Members:
	Header
	LchIdCursor
 		Object Cursor.
	ulNumLchId
 		Number of valid LchId in aLchId
	aLchId
 		Array containing the listed PchId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER							Header;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID_GET_CURSOR	LchIdCursor;
	tOCT_UINT32									ulNumLchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID_CURSOR		aLchId[cOCTVC1_GSM_LOGICAL_CHANNEL_ID_LIST_MAX_ENTRY];

} tOCTVC1_GSM_MSG_TRX_LIST_LOGICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	ulFrameNumber
		Range:		[..cOCTVC1_GSM_MAX_FRAME_COUNT]
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCT_UINT32						ulFrameNumber;

} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_EMPTY_FRAME_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	Data
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER					Header;
	tOCTVC1_GSM_TRX_ID					TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID		LchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_DATA	Data;

} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_DATA_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
	ulChannelType
	ulPayloadType
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER								Header;
	tOCTVC1_GSM_TRX_ID								TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID					PchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM	ulChannelType;
	tOCTVC1_GSM_PAYLOAD_TYPE_ENUM					ulPayloadType;

} tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_ACTIVATE_PHYSICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_DEACTIVATE_PHYSICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
	ulResetFlag
 		Reset physical stats
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;
	tOCT_BOOL32						ulResetFlag;

} tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
	PhysicalStatus
	aSubchannnelStatus
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;
	tOCTVC1_GSM_PHYSICAL_STATUS		PhysicalStatus;
	tOCTVC1_GSM_SUBCHANNEL_STATUS	aSubchannnelStatus[cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL];

} tOCTVC1_GSM_MSG_TRX_STATUS_PHYSICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CMD
 		Reset all associated Physical Channel.

 Members:
	Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_RSP

 Members:
	Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_RESET_PHYSICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CMD

 Members:
	Header
	PchIdCursor
 		Object Cursor.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER							Header;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR	PchIdCursor;

} tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_RSP

 Members:
	Header
	PchIdCursor
 		Object Cursor.
	ulNumPchId
 		Number of valid PchId in aPchId
	aPchId
 		Array containing the listed PchId
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER							Header;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_GET_CURSOR	PchIdCursor;
	tOCT_UINT32									ulNumPchId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID_CURSOR		aPchId[cOCTVC1_GSM_PHYSICAL_CHANNEL_ID_LIST_MAX_ENTRY];

} tOCTVC1_GSM_MSG_TRX_LIST_PHYSICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
	ulChannelType
	ulPayloadType
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER								Header;
	tOCTVC1_GSM_TRX_ID								TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID					PchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_COMBINATION_ENUM	ulChannelType;
	tOCTVC1_GSM_PAYLOAD_TYPE_ENUM					ulPayloadType;

} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
	ulSubchannelNb
 		Sub Channel Number
	ulDirection
 		Channel direction.
	Config
 		Cipher configuration
	abyPad
 		Reserved to align following member.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;
	tOCTVC1_GSM_SUB_CHANNEL_NB_ENUM	ulSubchannelNb;
	tOCTVC1_GSM_DIRECTION_ENUM		ulDirection;
	tOCTVC1_GSM_CIPHER_CONFIG		Config;
	tOCT_UINT8						abyPad[3];

} tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_MODIFY_PHYSICAL_CHANNEL_CIPHERING_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
	ulTxSubChannelMask
	ulRxSubChannelMask
	Config
 		Cipher configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;
	tOCTVC1_GSM_SUBCHANNEL_MASK		ulTxSubChannelMask;
	tOCTVC1_GSM_SUBCHANNEL_MASK		ulRxSubChannelMask;
	tOCTVC1_GSM_CIPHER_CONFIG		Config[cOCTVC1_GSM_TIMESLOT_MAX_SUBCHANNEL];

} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_CIPHERING_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;

} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	PchId
 		Unique Physical channel identifier
	MeasurementInfo
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_PHYSICAL_CHANNEL_ID	PchId;
	tOCTVC1_GSM_MEASUREMENT_INFO	MeasurementInfo;

} tOCTVC1_GSM_MSG_TRX_INFO_PHYSICAL_CHANNEL_MEASUREMENT_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_RF_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_INFO_RF_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_RF_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	RfConfig
 		RF configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_GSM_TRX_ID		TrxId;
	tOCTVC1_GSM_RF_CONFIG	RfConfig;

} tOCTVC1_GSM_MSG_TRX_INFO_RF_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_RF_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	RfConfig
 		RF configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_GSM_TRX_ID		TrxId;
	tOCTVC1_GSM_RF_CONFIG	RfConfig;

} tOCTVC1_GSM_MSG_TRX_MODIFY_RF_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_MODIFY_RF_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD

 Members:
	Header
	IndexGet
 		Object cursor
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER			Header;
	tOCTVC1_CURSOR_INDEX_GET	IndexGet;

} tOCTVC1_GSM_MSG_TAP_FILTER_LIST_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP

 Members:
	Header
 		OCTVC1 Message Header
	IndexGet
 		Object cursor
	IndexList
 		Object name list.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER			Header;
	tOCTVC1_CURSOR_INDEX_GET	IndexGet;
	tOCTVC1_LIST_INDEX_GET		IndexList;

} tOCTVC1_GSM_MSG_TAP_FILTER_LIST_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD

 Members:
	Header
 		OCTVC1 Message Header
	ulFilterIndex
 		Unique Filter Profile Index
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_INDEX		ulFilterIndex;

} tOCTVC1_GSM_MSG_TAP_FILTER_INFO_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP

 Members:
	Header
 		OCTVC1 Message Header
	ulFilterIndex
 		Unique Filter Profile Index
	Filter
 		Filter configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_INDEX			ulFilterIndex;
	tOCTVC1_GSM_TAP_FILTER	Filter;

} tOCTVC1_GSM_MSG_TAP_FILTER_INFO_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD

 Members:
	Header
 		OCTVC1 Message Header
	ulFilterIndex
 		Unique Filter Profile Index
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_INDEX		ulFilterIndex;

} tOCTVC1_GSM_MSG_TAP_FILTER_STATS_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP

 Members:
	Header
 		OCTVC1 Message Header
	ulFilterIndex
 		Unique Filter Profile Index
	Stats
 		Filter configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_INDEX					ulFilterIndex;
	tOCTVC1_GSM_TAP_FILTER_STATS	Stats;

} tOCTVC1_GSM_MSG_TAP_FILTER_STATS_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD

 Members:
	Header
 		OCTVC1 Message Header
	ulFilterIndex
 		Unique Filter Profile Index
	Filter
 		Filter configuration
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_INDEX			ulFilterIndex;
	tOCTVC1_GSM_TAP_FILTER	Filter;

} tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP

 Members:
	Header
 		OCTVC1 Message Header
	ulFilterIndex
 		Unique Filter Profile Index
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_INDEX		ulFilterIndex;

} tOCTVC1_GSM_MSG_TAP_FILTER_MODIFY_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_START_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_STOP_LOGICAL_CHANNEL_RAW_DATA_INDICATIONS_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	ulResetFlag
 		Reset timeslot stats
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCT_BOOL32						ulResetFlag;

} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER				Header;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;

} tOCTVC1_GSM_MSG_TRX_REQUEST_LOGICAL_CHANNEL_CMU_LOOPBACK_TEST_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	StubStatus
 		stub timeslot status bitwise
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER		Header;
	tOCTVC1_GSM_TRX_ID		TrxId;
	tOCTVC1_GSM_STUB_STATUS	StubStatus;

} tOCTVC1_GSM_MSG_TRX_INFO_STUBB_LOOPBACK_TEST_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	STUB_CHANNEL_ID
 		Unique channel_identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER			Header;
	tOCTVC1_GSM_TRX_ID			TrxId;
	tOCTVC1_GSM_STUB_CHANNEL_ID	STUB_CHANNEL_ID;

} tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP

 Members:
	Header
 		OCTVC1 Message Header
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;

} tOCTVC1_GSM_MSG_TRX_START_STUBB_LOOPBACK_TEST_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	byTimeslotNb
 		Timeslot number.
	bySubChannelNb
 		Sub-Channel number.
	byStubMode
 		STUB_MODE_ENUM.
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER					Header;
	tOCTVC1_GSM_TRX_ID					TrxId;
	tOCTVC1_GSM_TIMESLOT_NB_STUB_ENUM	byTimeslotNb;
	tOCTVC1_GSM_ID_SUB_CHANNEL_NB_ENUM	bySubChannelNb;
	tOCTVC1_GSM_STUB_MODE_ENUM			byStubMode;

} tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP

 Members:
	Header
 		OCTVC1 Message Header
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;

} tOCTVC1_GSM_MSG_TRX_STOP_STUBB_LOOPBACK_TEST_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
	testModeVal
 		Test Mode None/TX
	modulation
 		modulation type
	abyBurstType
		Default:	cOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM_DATA_RAND
 		Burst Type on Time Slots
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER						Header;
	tOCTVC1_GSM_TRX_ID						TrxId;
	tOCTVC1_GSM_TEST_MODE_ENUM				testModeVal;
	tOCTVC1_GSM_MODULATION_ENUM				modulation;
	tOCTVC1_GSM_TEST_MODE_BURST_TYPE_ENUM	abyBurstType[cOCTVC1_GSM_TRX_MAX_TIMESLOTS];

} tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_RSP

 Members:
	Header
 		OCTVC1 Message Header
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;

} tOCTVC1_GSM_MSG_TRX_MODIFY_TEST_MODE_RSP;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_CMD

 Members:
	Header
 		OCTVC1 Message Header
	TrxId
 		Unique TRX identifier
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER	Header;
	tOCTVC1_GSM_TRX_ID	TrxId;

} tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_CMD;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP

 Members:
	Header
 		OCTVC1 Message Header
	testModeVal
 		Test Mode None/TX
	modulation
 		modulation type
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MSG_HEADER			Header;
	tOCTVC1_GSM_TEST_MODE_ENUM	testModeVal;
	tOCTVC1_GSM_MODULATION_ENUM	modulation;

} tOCTVC1_GSM_MSG_TRX_INFO_TEST_MODE_RSP;


/*****************************  MODULE_DATA  *************************************/
/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_UPLINK_RF_INPUT_DATA_LOGICAL_CHANNEL_MDA

 Members:
	ModuleData
 		Module Data structure
	TrxId
 		Unique TRX identifier
	LchId
 		Logical Channel identifier
	ulAntennaIndex
 		Antenna index
	ulFrameNumber
		Range:		[..cOCTVC1_GSM_MAX_FRAME_COUNT]
	ulPower
	ulDataSizeInBytes
	byBadFlag
	byBurstId
	byReserved0
	byReserved1
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MODULE_DATA				ModuleData;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCTVC1_INDEX					ulAntennaIndex;
	tOCT_UINT32						ulFrameNumber;
	tOCT_UINT32						ulPower;
	tOCT_UINT32						ulDataSizeInBytes;
	tOCT_UINT8						byBadFlag;
	tOCT_UINT8						byBurstId;
	tOCT_UINT8						byReserved0;
	tOCT_UINT8						byReserved1;

} tOCTVC1_GSM_MSG_TRX_UPLINK_RF_INPUT_DATA_LOGICAL_CHANNEL_MDA;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_EMPTY_FRAME_LOGICAL_CHANNEL_MDA

 Members:
	ModuleData
 		Module Data structure
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	ulFrameNumber
		Range:		[..cOCTVC1_GSM_MAX_FRAME_COUNT]
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MODULE_DATA				ModuleData;
	tOCTVC1_GSM_TRX_ID				TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID	LchId;
	tOCT_UINT32						ulFrameNumber;

} tOCTVC1_GSM_MSG_TRX_EMPTY_FRAME_LOGICAL_CHANNEL_MDA;

/*-------------------------------------------------------------------------------------
	tOCTVC1_GSM_MSG_TRX_DATA_LOGICAL_CHANNEL_MDA

 Members:
	ModuleData
 		Module Data structure
	TrxId
 		Unique TRX identifier
	LchId
 		Unique Logical channel identifier
	Data
-------------------------------------------------------------------------------------*/
typedef struct
{
	tOCTVC1_MODULE_DATA					ModuleData;
	tOCTVC1_GSM_TRX_ID					TrxId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_ID		LchId;
	tOCTVC1_GSM_LOGICAL_CHANNEL_DATA	Data;

} tOCTVC1_GSM_MSG_TRX_DATA_LOGICAL_CHANNEL_MDA;


/***************  INCLUDE FILES WITH DEPENDENCIES ON THIS FILE  **************/
#include "octvc1_gsm_evt.h"

#endif /* __OCTVC1_GSM_API_H__ */