comparison g23m/condat/ms/doc/sap/ph.sap @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- edited with SAPE SAP Editor -->
3 <SAP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="sap.xsd">
4 <DocInfoSection>
5 <DocName DocType="SAP">ph</DocName>
6 <DocNum Number="112" Project="6147"/>
7 <Description>
8 <Section>The Protocol Stacks are used to define the functionality of the GSM protocols for interfaces. The GSM specifications are normative when used to describe the functionality of interfaces, but the stacks and the subdivision of protocol layers does not imply or restrict any implementation.</Section>
9 <Section>The base of the Protocol Stack rests on the physical layer.</Section>
10 <Section>The Data Link Layer (DL) is used to handle an acknowledged connection between mobile and base station. The LAPDm protocol is used.</Section>
11 <Section>Radio Resource (RR) manages the resources of the air-interface. That means configuration of physical layer, cell selection and cell reselection, data transfer, RR-Connection handling.</Section>
12 <Section>Mobility Management (MM) handles registration aspects for the mobile station. It detects changes of location areas and updates a mobile station in the new location area.</Section>
13 <Section>Call Control (CC) provides the call functionality. This includes call establishment, call maintenance procedures like Hold, Retrieve or Modify, and call disconnection.</Section>
14 <Section>Supplementary Services (SS) handles all call independent supplementary services like call forwarding or call barring.</Section>
15 <Section>Short Message Services (SMS) is used for sending and receiving point-to-point short messages.</Section>
16 <Section>The man machine interface (MMI) is the interface to the user. Normally it is connected with a keypad as input device and a display as output device.</Section>
17 <Section>Between the several entities data interfaces are defined. These data interfaces are called Service Access Points (SAPs), indicating that an upper layer uses the services of a lower layer.</Section>
18 <Section>The GSM specification do not set out any implementation of the Protocol Stack. The following diagrams show the implementation described in all these documents for the mobile station. All entities except the Man Machine Interface and Physical Layer are implemented as part of the Protocol Stack.</Section>
19 <Section>Figure 1: Mobile-station protocol architecture</Section>
20 <Section>This document describes the services offered by the physical layer to the data link layer.</Section>
21 </Description>
22 <DocHistory>
23 <DocVersion Number="001" Year="01"/>
24 <Date Day="27" Month="5" Year="1997"/>
25 <Author>LE</Author>
26 <DocStatus State="BEING_PROCESSED"/>
27 <Comment>Initial version.</Comment>
28 </DocHistory>
29 <DocHistory>
30 <DocVersion Number="002" Year="01"/>
31 <Date Day="1" Month="11" Year="1997"/>
32 <Author>LE</Author>
33 <DocStatus State="BEING_PROCESSED"/>
34 <Comment>PH_EMPTY_FRAME_REQ removed</Comment>
35 </DocHistory>
36 <DocHistory>
37 <DocVersion Number="003" Year="01"/>
38 <Date Day="19" Month="2" Year="2001"/>
39 <Author>MSB</Author>
40 <DocStatus State="BEING_PROCESSED"/>
41 <Comment>Added PH_TRACE_IND</Comment>
42 </DocHistory>
43 <DocHistory>
44 <DocVersion Number="004" Year="01"/>
45 <Date Day="22" Month="10" Year="2001"/>
46 <Author>SBK</Author>
47 <DocStatus State="SUBMITTED"/>
48 <Comment>Proposed for review, minor improvements due to GTI, applied new template</Comment>
49 </DocHistory>
50 <DocHistory>
51 <DocVersion Number="100" Year="01"/>
52 <Date Day="26" Month="10" Year="2001"/>
53 <Author>SBK</Author>
54 <DocStatus State="APPROVED"/>
55 <Comment>Review performed. Done changes discussed during review accordingly.</Comment>
56 </DocHistory>
57 <DocRef>
58 <RefId>[1]</RefId>
59 <RefTitle>GSM 1.04, Abbreviations and Acronyms</RefTitle>
60 </DocRef>
61 <DocRef>
62 <RefId>[2]</RefId>
63 <RefTitle>GSM 4.05, Data Link Layer General Aspects</RefTitle>
64 </DocRef>
65 <DocRef>
66 <RefId>[3]</RefId>
67 <RefTitle>GSM 4.06, MS-BSS Interface Data Link Layer Specification</RefTitle>
68 </DocRef>
69 <DocRef>
70 <RefId>[4]</RefId>
71 <RefTitle>GSM 4.07, Mobile Radio Interface Signalling Layer 3 General Aspects</RefTitle>
72 </DocRef>
73 </DocInfoSection>
74 <ConstantsSection>
75 <Description>
76 <Section>This section contains all constants that are defined for the PH SAP</Section>
77 </Description>
78 <Constant>
79 <Alias>DUMMY_PH</Alias>
80 <Value ValueType="DEC">0</Value>
81 <Comment>Dummy, not used, needed to satisfy tool chain which requires at least one constant definition in a SAP</Comment>
82 </Constant>
83 <History>
84 <Date Day="16" Month="12" Year="1996"/>
85 <Author>LE</Author>
86 <Comment>Initial</Comment>
87 </History>
88 <History>
89 <Date Day="27" Month="5" Year="1997"/>
90 <Author>MS</Author>
91 <Comment>Revised</Comment>
92 </History>
93 <History>
94 <Date Day="22" Month="10" Year="2001"/>
95 <Author>SBK</Author>
96 <Comment>Removed MAX_SDU_LEN, added dummy definition</Comment>
97 </History>
98 </ConstantsSection>
99 <PrimitivesSection PrimIDType="BIT16" SAPid="1">
100 <Description>
101 <Section>This section contains all primitives that are defined for the PH SAP</Section>
102 </Description>
103 <Primitive>
104 <Description>
105 <Section>The PH_READY_TO_SEND shall be sent by the physical layer when it is time to send a frame. This primitive is only used in the simulation (PC) environment, not in the target system.</Section>
106 </Description>
107 <PrimDef>
108 <Name>PH_READY_TO_SEND</Name>
109 <PrimID Direction="DOWNLINK" Number="0"/>
110 <PrimUsage>
111 <Sender>PL</Sender>
112 <Receiver>DL</Receiver>
113 </PrimUsage>
114 </PrimDef>
115 <PrimItem Presentation="MANDATORY">
116 <ItemLink>
117 <DocName DocType="SAP">ph</DocName>
118 <Name>l2_channel</Name>
119 </ItemLink>
120 <Alias>ch_type</Alias>
121 <Comment>channel type</Comment>
122 </PrimItem>
123 <History>
124 <Date Day="16" Month="12" Year="1996"/>
125 <Author>LE</Author>
126 <Comment>Initial</Comment>
127 </History>
128 <History>
129 <Date Day="27" Month="5" Year="1997"/>
130 <Author>MS</Author>
131 <Comment>Revised</Comment>
132 </History>
133 <History>
134 <Date Day="22" Month="10" Year="2001"/>
135 <Author>SBK</Author>
136 <Comment>Clarified use</Comment>
137 </History>
138 </Primitive>
139 <Primitive>
140 <Description>
141 <Section>The PH_DATA_REQ shall be used by data link layer if it has data to send. It is used for acknowledged and unacknowledged data transfer. This primitive is only used in the simulation (PC) environment, not in the target system.</Section>
142 </Description>
143 <PrimDef>
144 <Name>PH_DATA_REQ</Name>
145 <PrimID Direction="UPLINK" Number="0"/>
146 <PrimUsage>
147 <Sender>DL</Sender>
148 <Receiver>PL</Receiver>
149 </PrimUsage>
150 </PrimDef>
151 <PrimItem Presentation="MANDATORY">
152 <ItemLink>
153 <DocName DocType="SAP">ph</DocName>
154 <Name>l2_channel</Name>
155 </ItemLink>
156 <Alias>ch_type</Alias>
157 <Comment>channel type</Comment>
158 </PrimItem>
159 <PrimItem Presentation="MANDATORY">
160 <ItemLink>
161 <DocName DocType="SAP">ph</DocName>
162 <Name>dummy</Name>
163 </ItemLink>
164 <Comment>dummy not used; reserved</Comment>
165 </PrimItem>
166 <PrimItem Presentation="MANDATORY">
167 <ItemLink>
168 <DocName DocType="SAP">ph</DocName>
169 <Name>sdu</Name>
170 </ItemLink>
171 <Comment>message unit</Comment>
172 </PrimItem>
173 <History>
174 <Date Day="16" Month="12" Year="1996"/>
175 <Author>LE</Author>
176 <Comment>Initial</Comment>
177 </History>
178 <History>
179 <Date Day="27" Month="5" Year="1997"/>
180 <Author>MS</Author>
181 <Comment>Revised</Comment>
182 </History>
183 <History>
184 <Date Day="22" Month="10" Year="2001"/>
185 <Author>SBK</Author>
186 <Comment>Clarified use, added comment to dummy</Comment>
187 </History>
188 </Primitive>
189 <Primitive>
190 <Description>
191 <Section>The PH_TRACE_IND shall be sent by the physical layer regularly if it is in IDLE state. It indicates to DL that it can write out some DL traces.</Section>
192 </Description>
193 <PrimDef>
194 <Name>PH_TRACE_IND</Name>
195 <PrimID Direction="DOWNLINK" Number="2"/>
196 <PrimUsage>
197 <Sender>PL</Sender>
198 <Receiver>DL</Receiver>
199 </PrimUsage>
200 </PrimDef>
201 <PrimItem Presentation="MANDATORY">
202 <ItemLink>
203 <DocName DocType="SAP">ph</DocName>
204 <Name>dummy</Name>
205 </ItemLink>
206 <Comment>dummy not used; not used</Comment>
207 </PrimItem>
208 <History>
209 <Date Day="19" Month="2" Year="2001"/>
210 <Author>MSB</Author>
211 <Comment>Initial</Comment>
212 </History>
213 <History>
214 <Date Day="22" Month="10" Year="2001"/>
215 <Author>SBK</Author>
216 <Comment>Clarified use</Comment>
217 </History>
218 </Primitive>
219 </PrimitivesSection>
220 <PrimStructElementsSection>
221 <Description>
222 <Section>Parameters shall be part of the primitives described below and if applied the parameters shall contain the values specified here.</Section>
223 </Description>
224 <PrimStructElem>
225 <Description>
226 <Section>This parameter contains a data link layer frame.</Section>
227 </Description>
228 <PrimStructElemDef Type="STRUCT">
229 <Name>sdu</Name>
230 <Comment>message unit</Comment>
231 </PrimStructElemDef>
232 <PrimStructElemItem Presentation="MANDATORY">
233 <ItemLink>
234 <DocName DocType="SAP">ph</DocName>
235 <Name>l_buf</Name>
236 </ItemLink>
237 <Comment>length of content in bit</Comment>
238 </PrimStructElemItem>
239 <PrimStructElemItem Presentation="MANDATORY">
240 <ItemLink>
241 <DocName DocType="SAP">ph</DocName>
242 <Name>o_buf</Name>
243 </ItemLink>
244 <Comment>offset of content in bit</Comment>
245 </PrimStructElemItem>
246 <PrimStructElemItem Presentation="MANDATORY">
247 <ItemLink>
248 <DocName DocType="SAP">ph</DocName>
249 <Name>buf</Name>
250 </ItemLink>
251 <Control>[1]</Control>
252 <Comment>buffer content; the actual size of buf is determined and allocated at run-time and not restricted to 1;</Comment>
253 </PrimStructElemItem>
254 <History>
255 <Date Day="16" Month="12" Year="1996"/>
256 <Author>LE</Author>
257 <Comment>Initial</Comment>
258 </History>
259 <History>
260 <Date Day="26" Month="5" Year="1997"/>
261 <Author>MS</Author>
262 <Comment>Revised</Comment>
263 </History>
264 <History>
265 <Date Day="22" Month="10" Year="2001"/>
266 <Author>SBK</Author>
267 <Comment>editorially changed the description, substituted MAX_SDU_LEN by 1</Comment>
268 </History>
269 </PrimStructElem>
270 </PrimStructElementsSection>
271 <PrimBasicElementsSection>
272 <Description>
273 <Section>Parameters shall be part of the primitives described below and if applied the parameters shall contain the values specified here.</Section>
274 </Description>
275 <PrimBasicElem>
276 <Description>
277 <Section>This parameter identifies the channel type.</Section>
278 </Description>
279 <PrimBasicElemDef>
280 <Name>l2_channel</Name>
281 <Type>U8</Type>
282 <Comment>Layer 2 channel-type</Comment>
283 </PrimBasicElemDef>
284 <ValuesLink>
285 <DocName DocType="SAP">mphc</DocName>
286 <Name>VAL_l2_channel</Name>
287 </ValuesLink>
288 <History>
289 <Date Day="16" Month="12" Year="1996"/>
290 <Author>LE</Author>
291 <Comment>Initial</Comment>
292 </History>
293 <History>
294 <Date Day="26" Month="5" Year="1997"/>
295 <Author>MS</Author>
296 <Comment>Revised</Comment>
297 </History>
298 <History>
299 <Date Day="7" Month="7" Year="1998"/>
300 <Author>LE</Author>
301 <Comment>Halfrate included</Comment>
302 </History>
303 <History>
304 <Date Day="22" Month="10" Year="2001"/>
305 <Author>SBK</Author>
306 <Comment>Removed macros for values 3-6 which are not used at PH SAP</Comment>
307 </History>
308 </PrimBasicElem>
309 <PrimBasicElem>
310 <Description>
311 <Section>This parameter contains a data link layer frame.</Section>
312 </Description>
313 <PrimBasicElemDef>
314 <Name>l_buf</Name>
315 <Type>U16</Type>
316 <Comment>length of content in bit</Comment>
317 </PrimBasicElemDef>
318 <History>
319 <Date Day="16" Month="12" Year="1996"/>
320 <Author>LE</Author>
321 <Comment>Initial</Comment>
322 </History>
323 <History>
324 <Date Day="26" Month="5" Year="1997"/>
325 <Author>MS</Author>
326 <Comment>Revised</Comment>
327 </History>
328 <History>
329 <Date Day="22" Month="10" Year="2001"/>
330 <Author>SBK</Author>
331 <Comment>editorially changed the description, substituted MAX_SDU_LEN by 1</Comment>
332 </History>
333 </PrimBasicElem>
334 <PrimBasicElem>
335 <Description>
336 <Section>This parameter contains a data link layer frame.</Section>
337 </Description>
338 <PrimBasicElemDef>
339 <Name>o_buf</Name>
340 <Type>U16</Type>
341 <Comment>offset of content in bit</Comment>
342 </PrimBasicElemDef>
343 <History>
344 <Date Day="16" Month="12" Year="1996"/>
345 <Author>LE</Author>
346 <Comment>Initial</Comment>
347 </History>
348 <History>
349 <Date Day="26" Month="5" Year="1997"/>
350 <Author>MS</Author>
351 <Comment>Revised</Comment>
352 </History>
353 <History>
354 <Date Day="22" Month="10" Year="2001"/>
355 <Author>SBK</Author>
356 <Comment>editorially changed the description, substituted MAX_SDU_LEN by 1</Comment>
357 </History>
358 </PrimBasicElem>
359 <PrimBasicElem>
360 <Description>
361 <Section>This parameter contains a data link layer frame.</Section>
362 </Description>
363 <PrimBasicElemDef>
364 <Name>buf</Name>
365 <Type>U8</Type>
366 <Comment>buffer content; the actual size of buf is determined and allocated at run-time and not restricted to 1;</Comment>
367 </PrimBasicElemDef>
368 <History>
369 <Date Day="16" Month="12" Year="1996"/>
370 <Author>LE</Author>
371 <Comment>Initial</Comment>
372 </History>
373 <History>
374 <Date Day="26" Month="5" Year="1997"/>
375 <Author>MS</Author>
376 <Comment>Revised</Comment>
377 </History>
378 <History>
379 <Date Day="22" Month="10" Year="2001"/>
380 <Author>SBK</Author>
381 <Comment>editorially changed the description, substituted MAX_SDU_LEN by 1</Comment>
382 </History>
383 </PrimBasicElem>
384 <PrimBasicElem>
385 <Description>
386 <Section>This parameter is not used. It is a dummy for upper layers to avoid unnecessary copying of data or to avoid empty primitives (i.e. primitives without any parameter).</Section>
387 </Description>
388 <PrimBasicElemDef>
389 <Name>dummy</Name>
390 <Type>U8</Type>
391 <Comment>dummy not used</Comment>
392 </PrimBasicElemDef>
393 <History>
394 <Date Day="16" Month="12" Year="1996"/>
395 <Author>LE</Author>
396 <Comment>Initial</Comment>
397 </History>
398 <History>
399 <Date Day="27" Month="5" Year="1997"/>
400 <Author>MS</Author>
401 <Comment>Revised</Comment>
402 </History>
403 </PrimBasicElem>
404 </PrimBasicElementsSection>
405 <ValuesSection>
406 <Description>
407 <Section>This section contains all sets of values that are defined for the PH SAP</Section>
408 </Description>
409 <Values>
410 <Description>
411 <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
412 </Description>
413 <ValuesDef>
414 <Name>VAL_ch_type</Name>
415 <Comment>values for ch_type</Comment>
416 </ValuesDef>
417 <ValuesItem>
418 <Value ValueType="DEC">0</Value>
419 <Alias>CH_TYPE_SACCH</Alias>
420 <Comment>SACCH</Comment>
421 </ValuesItem>
422 <ValuesItem>
423 <Value ValueType="DEC">1</Value>
424 <Alias>CH_TYPE_SDCCH</Alias>
425 <Comment>SDCCH</Comment>
426 </ValuesItem>
427 <ValuesItem>
428 <Value ValueType="DEC">2</Value>
429 <Alias>CH_TYPE_FACCH</Alias>
430 <Comment>FACCH Full Rate</Comment>
431 </ValuesItem>
432 <ValuesItem>
433 <Value ValueType="DEC">3</Value>
434 <Alias/>
435 <Comment>reserved</Comment>
436 </ValuesItem>
437 <ValuesItem>
438 <Value ValueType="DEC">4</Value>
439 <Alias/>
440 <Comment>reserved</Comment>
441 </ValuesItem>
442 <ValuesItem>
443 <Value ValueType="DEC">5</Value>
444 <Alias/>
445 <Comment>reserved</Comment>
446 </ValuesItem>
447 <ValuesItem>
448 <Value ValueType="DEC">6</Value>
449 <Alias/>
450 <Comment>reserved</Comment>
451 </ValuesItem>
452 <ValuesItem>
453 <Value ValueType="DEC">7</Value>
454 <Alias>CH_TYPE_FACCH_HR</Alias>
455 <Comment>FACCH Half Rate</Comment>
456 </ValuesItem>
457 <History>
458 <Date Day="4" Month="11" Year="2003"/>
459 <Author>doc2XML</Author>
460 <Comment>Initial</Comment>
461 </History>
462 </Values>
463 </ValuesSection>
464 </SAP>