OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [drivers/] [isdn/] [hisax/] [l3_1tr6.h] - Blame information for rev 1777

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1626 jcastillo
/* $Id: l3_1tr6.h,v 1.1 2005-12-20 10:17:01 jcastillo Exp $
2
 *
3
 *  German 1TR6 D-channel protocol defines
4
 *
5
 * $Log: not supported by cvs2svn $
6
 * Revision 1.1.1.1  2001/09/10 07:44:18  simons
7
 * Initial import
8
 *
9
 * Revision 1.1.1.1  2001/07/02 17:58:32  simons
10
 * Initial revision
11
 *
12
 * Revision 1.1.2.2  1998/09/27 13:06:46  keil
13
 * Apply most changes from 2.1.X (HiSax 3.1)
14
 *
15
 * Revision 1.1.2.1  1997/10/17 22:14:15  keil
16
 * update to last hisax version
17
 *
18
 * Revision 2.0  1997/07/27 21:15:47  keil
19
 * New Callref based layer3
20
 *
21
 * Revision 1.1  1996/10/13 20:03:48  keil
22
 * Initial revision
23
 *
24
 */
25
#ifndef l3_1tr6
26
#define l3_1tr6
27
 
28
#define PROTO_DIS_N0 0x40
29
#define PROTO_DIS_N1 0x41
30
 
31
/*
32
 * MsgType N0
33
 */
34
#define MT_N0_REG_IND 0x61
35
#define MT_N0_CANC_IND 0x62
36
#define MT_N0_FAC_STA 0x63
37
#define MT_N0_STA_ACK 0x64
38
#define MT_N0_STA_REJ 0x65
39
#define MT_N0_FAC_INF 0x66
40
#define MT_N0_INF_ACK 0x67
41
#define MT_N0_INF_REJ 0x68
42
#define MT_N0_CLOSE   0x75
43
#define MT_N0_CLO_ACK 0x77
44
 
45
/*
46
 * MsgType N1
47
 */
48
 
49
#define MT_N1_ESC 0x00
50
#define MT_N1_ALERT 0x01
51
#define MT_N1_CALL_SENT 0x02
52
#define MT_N1_CONN 0x07
53
#define MT_N1_CONN_ACK 0x0F
54
#define MT_N1_SETUP 0x05
55
#define MT_N1_SETUP_ACK 0x0D
56
#define MT_N1_RES 0x26
57
#define MT_N1_RES_ACK 0x2E
58
#define MT_N1_RES_REJ 0x22
59
#define MT_N1_SUSP 0x25
60
#define MT_N1_SUSP_ACK 0x2D
61
#define MT_N1_SUSP_REJ 0x21
62
#define MT_N1_USER_INFO 0x20
63
#define MT_N1_DET 0x40
64
#define MT_N1_DISC 0x45
65
#define MT_N1_REL 0x4D
66
#define MT_N1_REL_ACK 0x5A
67
#define MT_N1_CANC_ACK 0x6E
68
#define MT_N1_CANC_REJ 0x67
69
#define MT_N1_CON_CON 0x69
70
#define MT_N1_FAC 0x60
71
#define MT_N1_FAC_ACK 0x68
72
#define MT_N1_FAC_CAN 0x66
73
#define MT_N1_FAC_REG 0x64
74
#define MT_N1_FAC_REJ 0x65
75
#define MT_N1_INFO 0x6D
76
#define MT_N1_REG_ACK 0x6C
77
#define MT_N1_REG_REJ 0x6F
78
#define MT_N1_STAT 0x63
79
#define MT_N1_INVALID 0
80
 
81
/*
82
 * W Elemente
83
 */
84
 
85
#define WE_Shift_F0 0x90
86
#define WE_Shift_F6 0x96
87
#define WE_Shift_OF0 0x98
88
#define WE_Shift_OF6 0x9E
89
 
90
#define WE0_cause 0x08
91
#define WE0_connAddr 0x0C
92
#define WE0_callID 0x10
93
#define WE0_chanID 0x18
94
#define WE0_netSpecFac 0x20
95
#define WE0_display 0x28
96
#define WE0_keypad 0x2C
97
#define WE0_origAddr 0x6C
98
#define WE0_destAddr 0x70
99
#define WE0_userInfo 0x7E
100
 
101
#define WE0_moreData 0xA0
102
#define WE0_congestLevel 0xB0
103
 
104
#define WE6_serviceInd 0x01
105
#define WE6_chargingInfo 0x02
106
#define WE6_date 0x03
107
#define WE6_facSelect 0x05
108
#define WE6_facStatus 0x06
109
#define WE6_statusCalled 0x07
110
#define WE6_addTransAttr 0x08
111
 
112
/*
113
 * FacCodes
114
 */
115
#define FAC_Sperre 0x01
116
#define FAC_Sperre_All 0x02
117
#define FAC_Sperre_Fern 0x03
118
#define FAC_Sperre_Intl 0x04
119
#define FAC_Sperre_Interk 0x05
120
 
121
#define FAC_Forward1 0x02
122
#define FAC_Forward2 0x03
123
#define FAC_Konferenz 0x06
124
#define FAC_GrabBchan 0x0F
125
#define FAC_Reactivate 0x10
126
#define FAC_Konferenz3 0x11
127
#define FAC_Dienstwechsel1 0x12
128
#define FAC_Dienstwechsel2 0x13
129
#define FAC_NummernIdent 0x14
130
#define FAC_GBG 0x15
131
#define FAC_DisplayUebergeben 0x17
132
#define FAC_DisplayUmgeleitet 0x1A
133
#define FAC_Unterdruecke 0x1B
134
#define FAC_Deactivate 0x1E
135
#define FAC_Activate 0x1D
136
#define FAC_SPV 0x1F
137
#define FAC_Rueckwechsel 0x23
138
#define FAC_Umleitung 0x24
139
 
140
/*
141
 * Cause codes
142
 */
143
#define CAUSE_InvCRef 0x01
144
#define CAUSE_BearerNotImpl 0x03
145
#define CAUSE_CIDunknown 0x07
146
#define CAUSE_CIDinUse 0x08
147
#define CAUSE_NoChans 0x0A
148
#define CAUSE_FacNotImpl 0x10
149
#define CAUSE_FacNotSubscr 0x11
150
#define CAUSE_OutgoingBarred 0x20
151
#define CAUSE_UserAccessBusy 0x21
152
#define CAUSE_NegativeGBG 0x22
153
#define CAUSE_UnknownGBG 0x23
154
#define CAUSE_NoSPVknown 0x25
155
#define CAUSE_DestNotObtain 0x35
156
#define CAUSE_NumberChanged 0x38
157
#define CAUSE_OutOfOrder 0x39
158
#define CAUSE_NoUserResponse 0x3A
159
#define CAUSE_UserBusy 0x3B
160
#define CAUSE_IncomingBarred 0x3D
161
#define CAUSE_CallRejected 0x3E
162
#define CAUSE_NetworkCongestion 0x59
163
#define CAUSE_RemoteUser 0x5A
164
#define CAUSE_LocalProcErr 0x70
165
#define CAUSE_RemoteProcErr 0x71
166
#define CAUSE_RemoteUserSuspend 0x72
167
#define CAUSE_RemoteUserResumed 0x73
168
#define CAUSE_UserInfoDiscarded 0x7F
169
 
170
#define T303    4000
171
#define T304    20000
172
#define T305    4000
173
#define T308    4000
174
#define T310    120000
175
#define T313    4000
176
#define T318    4000
177
#define T319    4000
178
 
179
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.