PM / sleep: Asynchronous threads for suspend_noirq
[linux/fpc-iii.git] / drivers / isdn / hisax / l3_1tr6.h
blob43215c00cada60c24dcd57cd02fe4d1ff41a47a0
1 /* $Id: l3_1tr6.h,v 2.2.6.2 2001/09/23 22:24:49 kai Exp $
3 * German 1TR6 D-channel protocol defines
5 * This software may be used and distributed according to the terms
6 * of the GNU General Public License, incorporated herein by reference.
8 */
10 #ifndef l3_1tr6
11 #define l3_1tr6
13 #define PROTO_DIS_N0 0x40
14 #define PROTO_DIS_N1 0x41
17 * MsgType N0
19 #define MT_N0_REG_IND 0x61
20 #define MT_N0_CANC_IND 0x62
21 #define MT_N0_FAC_STA 0x63
22 #define MT_N0_STA_ACK 0x64
23 #define MT_N0_STA_REJ 0x65
24 #define MT_N0_FAC_INF 0x66
25 #define MT_N0_INF_ACK 0x67
26 #define MT_N0_INF_REJ 0x68
27 #define MT_N0_CLOSE 0x75
28 #define MT_N0_CLO_ACK 0x77
31 * MsgType N1
34 #define MT_N1_ESC 0x00
35 #define MT_N1_ALERT 0x01
36 #define MT_N1_CALL_SENT 0x02
37 #define MT_N1_CONN 0x07
38 #define MT_N1_CONN_ACK 0x0F
39 #define MT_N1_SETUP 0x05
40 #define MT_N1_SETUP_ACK 0x0D
41 #define MT_N1_RES 0x26
42 #define MT_N1_RES_ACK 0x2E
43 #define MT_N1_RES_REJ 0x22
44 #define MT_N1_SUSP 0x25
45 #define MT_N1_SUSP_ACK 0x2D
46 #define MT_N1_SUSP_REJ 0x21
47 #define MT_N1_USER_INFO 0x20
48 #define MT_N1_DET 0x40
49 #define MT_N1_DISC 0x45
50 #define MT_N1_REL 0x4D
51 #define MT_N1_REL_ACK 0x5A
52 #define MT_N1_CANC_ACK 0x6E
53 #define MT_N1_CANC_REJ 0x67
54 #define MT_N1_CON_CON 0x69
55 #define MT_N1_FAC 0x60
56 #define MT_N1_FAC_ACK 0x68
57 #define MT_N1_FAC_CAN 0x66
58 #define MT_N1_FAC_REG 0x64
59 #define MT_N1_FAC_REJ 0x65
60 #define MT_N1_INFO 0x6D
61 #define MT_N1_REG_ACK 0x6C
62 #define MT_N1_REG_REJ 0x6F
63 #define MT_N1_STAT 0x63
64 #define MT_N1_INVALID 0
67 * W Elemente
70 #define WE_Shift_F0 0x90
71 #define WE_Shift_F6 0x96
72 #define WE_Shift_OF0 0x98
73 #define WE_Shift_OF6 0x9E
75 #define WE0_cause 0x08
76 #define WE0_connAddr 0x0C
77 #define WE0_callID 0x10
78 #define WE0_chanID 0x18
79 #define WE0_netSpecFac 0x20
80 #define WE0_display 0x28
81 #define WE0_keypad 0x2C
82 #define WE0_origAddr 0x6C
83 #define WE0_destAddr 0x70
84 #define WE0_userInfo 0x7E
86 #define WE0_moreData 0xA0
87 #define WE0_congestLevel 0xB0
89 #define WE6_serviceInd 0x01
90 #define WE6_chargingInfo 0x02
91 #define WE6_date 0x03
92 #define WE6_facSelect 0x05
93 #define WE6_facStatus 0x06
94 #define WE6_statusCalled 0x07
95 #define WE6_addTransAttr 0x08
98 * FacCodes
100 #define FAC_Sperre 0x01
101 #define FAC_Sperre_All 0x02
102 #define FAC_Sperre_Fern 0x03
103 #define FAC_Sperre_Intl 0x04
104 #define FAC_Sperre_Interk 0x05
106 #define FAC_Forward1 0x02
107 #define FAC_Forward2 0x03
108 #define FAC_Konferenz 0x06
109 #define FAC_GrabBchan 0x0F
110 #define FAC_Reactivate 0x10
111 #define FAC_Konferenz3 0x11
112 #define FAC_Dienstwechsel1 0x12
113 #define FAC_Dienstwechsel2 0x13
114 #define FAC_NummernIdent 0x14
115 #define FAC_GBG 0x15
116 #define FAC_DisplayUebergeben 0x17
117 #define FAC_DisplayUmgeleitet 0x1A
118 #define FAC_Unterdruecke 0x1B
119 #define FAC_Deactivate 0x1E
120 #define FAC_Activate 0x1D
121 #define FAC_SPV 0x1F
122 #define FAC_Rueckwechsel 0x23
123 #define FAC_Umleitung 0x24
126 * Cause codes
128 #define CAUSE_InvCRef 0x01
129 #define CAUSE_BearerNotImpl 0x03
130 #define CAUSE_CIDunknown 0x07
131 #define CAUSE_CIDinUse 0x08
132 #define CAUSE_NoChans 0x0A
133 #define CAUSE_FacNotImpl 0x10
134 #define CAUSE_FacNotSubscr 0x11
135 #define CAUSE_OutgoingBarred 0x20
136 #define CAUSE_UserAccessBusy 0x21
137 #define CAUSE_NegativeGBG 0x22
138 #define CAUSE_UnknownGBG 0x23
139 #define CAUSE_NoSPVknown 0x25
140 #define CAUSE_DestNotObtain 0x35
141 #define CAUSE_NumberChanged 0x38
142 #define CAUSE_OutOfOrder 0x39
143 #define CAUSE_NoUserResponse 0x3A
144 #define CAUSE_UserBusy 0x3B
145 #define CAUSE_IncomingBarred 0x3D
146 #define CAUSE_CallRejected 0x3E
147 #define CAUSE_NetworkCongestion 0x59
148 #define CAUSE_RemoteUser 0x5A
149 #define CAUSE_LocalProcErr 0x70
150 #define CAUSE_RemoteProcErr 0x71
151 #define CAUSE_RemoteUserSuspend 0x72
152 #define CAUSE_RemoteUserResumed 0x73
153 #define CAUSE_UserInfoDiscarded 0x7F
155 #define T303 4000
156 #define T304 20000
157 #define T305 4000
158 #define T308 4000
159 #define T310 120000
160 #define T313 4000
161 #define T318 4000
162 #define T319 4000
164 #endif