3.5.2.1.3.2 一阶段接入过程
在允许第一阶段分组接入的情况下,分组上行链路指配结构包括:
- 临时流量识别;
- USF值,如果媒体接入方法是动态分配;或者
- 固定分配位图,如果媒体接入方法是固定分配;
- RLC数据块的信道编码方案;
- 功率控制参数;
- 轮询比特
- 定时提前索引(见GSM 05.10),可选的
- TBF起始时间,可选(注:如果媒体接入方式是固定分配,TBF开始时间是必选的)。
媒体接入方式是动态分配或固定分配,RLC模式是证实模式,见GSM 04.60.
MS应该启动定时器T3164,并且在第一阶段接入执行争抢判决见GSM 04.60.
如果媒体接入方式是固定分配,并且在接收到分组上行链路指配结构时,在ALLOCATION_ BITMAP中分配的块数并不足够来传输MS需要传输的所有RLC/MAC块,那么MS应该通过在一个分配的块上发送"分组资源请求"来请求另外的资源。
如果在分组上行链路结构中包括定时提前索引(TAI),那么MS应该在PTCCH上与指配给PDCH相同的时隙使用连续更新定时提前机制,见GSM 05.10。如果不包括定时提前索引域,不应该用连续更新定时提前机制。
如果分组上行链路结构包括一个TBF开始时间并且MS在TBF开始时间逾时之前接收到消息,那么MS应该等待到TBF开始时间所指示的帧号才接入到信道。如果MS接收到的消息时,TBF开始时间已经逾时,那么MS立即接入到信道。
如果轮询比特设置为1,那么MS应该在指配的PDCH上发送一个"分组控制证实"消息(见04.60),在上行链路块中,TBF开始时间详细说明了该消息。
3.5.2.1.3.3 单个块分组接入
在允许单个块分组接入的情况下,分组上行链路资源描述包含:
- 功率控制参数设置;
- TBF开始时间。
如果MS在TBF起始时间逾时之前接收到"立即指配"消息,那么MS应该在块周期指示TBF起始时间才能够接入。网络应该利用TBF起始时间来指示属于分组接入允许单个块周期的第一个帧号。MS可以利用指配块周期来发送一个"分组资源请求"消息,来发起第二阶段分组接入程序(见GSM 04.60),或者给网络发送一个RLC/MAC控制消息而不是"分组资源请求"消息,见3.5.2.2。
如果MS在TBF起始时间逾时之后收到"立即指配"消息,那么将发生失败。
如果发生失败并且分组接入尝试是由于上层传输一个LLC PDU的请求引起的,那么会发生一个TBF建立失败,而且MS执行3.5.2.1.5的程序。如果发生失败并且分组接入尝试是由于发送一个RLC/MAC控制消息引起的,那么将放弃分组接入,MS回到分组空闲模式。
3.5.2.1.3.4 分组接入拒绝
在无证实模式下,在接收到信道请求消息的相同CCCH时隙上,网络可能发送给MS一个"立即指配拒绝"消息。"立即指配拒绝"消息可以在下行链路CCCH时隙的任何部分发送,没有限制。这个消息包括请求参考和一个等待指示。
一收到相对于最后3个"信道请求"消息之一的"立即指配拒绝"消息,MS将停止发送"信道请求"消息,启动带有指定值的定时器T3142(该值在"等待指示"信息单元中),启动T3146(如果其没启动的话),并且侦听下行链路CCCH直到T3146逾时。在这段时间内,忽略其他的"立即指配拒绝"消息,但相应于其他最后3个"信道请求"消息之一的立即支配消息将使MS执行3.5.2.1.3.1的程序。如果没有接收到这样的立即指配,MS回到分组空闲模式并通知上层(TBF建立失败)。
如果MS接收到了网络对于所有最后三个"信道请求"消息的响应(可能发送多于3个该消息),那么MS应该回到分组空闲模式并通知上层。
在同一个小区内不允许MS进行一个新的分组接入尝试,直到T3142逾时,但是由于无线环境原因MS成功进行小区重选后,允许MS尝试分组接入到其他小区(见GSM05.08)。等待指示的值(也就是T3142)与接收小区有关。
在T3142逾时之前,在同一个小区,MS可以发起RR连接建立,具体程序见 3.3.1.1.3.2.
3.5.2.1.4 Packet access completion分组接入完成
在一个成功的争抢判决之后,完成第一阶段分组接入程序。MS进入分组传输模式。在网络侧停止定时器T3141。在MS侧停止定时器T3164。
3.5.2.1.5 Abnormal cases异常情况
如果在成功争抢判决完成之前在MS侧发生失败,那么将释放分配的临时块流;MS回到分组空闲模式,通知上层(TBF建立失败),放弃进行中的程序:
- 如果在争抢判决程序期间发生了一个TLLI不匹配,并且分组接入已经超过最大重传次数(见GSM 04.60),那么将发生TBF建立失败。
- 如果在接收到一个"立即指配"消息或two-message指配的第二个立即指配之后,MS已有的信息不满足规定一个PDCH,那么将发生TBF建立失败。
- 如果移动分配索引频率在多个频带,那么将发生TBF建立失败。
- 如果一个"立即指配"消息表明PDCH在一个不支持的频率上,那么将发生TBF建立失败。
在网络侧,如果在一个成功的争抢判决程序完成之前定时器T3141超时,那么将释放新的分配临时块流(见GSM 04.60),并且忘记分组接入。
对应英文
3.5.2.1.3.2 One phase packet access
In the case the one phase packet access is granted, the packet uplink assignment construction contains:
- the temporary flow identity;
- the USF value, if the medium access method is dynamic allocation;or
- the fixed allocation bitmap, if the medium access method is fixed allocation;
- the channel coding scheme for RLC data blocks;
- the power control parameters;
- the polling bit ;
- optionally, the timing advance index (see GSM 05.10);
- optionally, the TBF starting time (note: TBF starting time is mandatory if medium access method is fixed allocation).
The medium access method is dynamic allocation or fixed allocation and the RLC mode is acknowledged mode, see GSM 04.60.
The mobile station shall start timer T3164 and proceed with the contention resolution at one phase access defined in GSM 04.60.
If the medium access method is fixed allocation, and the number of blocks allocated in the ALLOCATION_BITMAP is not sufficient to transfer all the RLC/MAC blocks that the MS has to transmit at the time the packet uplink assignment construction is received, the MS shall request additional resources by sending a PACKET RESOURCE REQUEST on one of the allocated blocks.
If the timing advance index (TAI) is included in the packet uplink assignment construction, the mobile station shall use the continuous update timing advance mechanism, see GSM 05.10, using PTCCH in the same timeslot as the assigned PDCH. If a timing advance index (TAI) field is not included, the continuous update timing advance mechanism shall not be used.
In case the packet uplink assignment construction contains a TBF starting time and the mobile station receives the message before the TBF starting time has expired, it shall wait until the frame number indicated by the TBF starting time before accessing the channel. If the mobile station receives the message after the TBF starting time has expired, it shall ignore the TBF starting time and may immediately access the channel.
If the Polling bit is set to 1, MS shall send a PACKET CONTROL ACKNOWLEDGEMENT message (see 04.60) on the assigned PDCH, in the uplink block specified by the TBF Starting Time. In this case the TBF Starting Time is used both to indicate when the assigned PDCH becomes valid and to specify the uplink block. If the TBF Starting Time is not present or has expired, the MS shall ignore the polling request.
3.5.2.1.3.3 Single block packet access
In the case the single block packet access is granted, the packet uplink resource description contains:
- the power control parameter setting;
- the TBF starting time.
If the mobile station receives the IMMEDIATE ASSIGNMENT message before the TBF starting time has expired, it shall wait until the block period indicated by the TBF starting time. The network shall use the TBF starting time to indicate the first frame number belonging to the single block period granted for packet access. The mobile station may either use the assigned block period to send a PACKET RESOURCE REQUEST message to initiate the two phase packet access procedure defined in GSM 04.60, or to send an RLC/MAC control message other than the PACKET RESOURCE REQUEST message to the network, see clause 3.5.2.2.
If the mobile station receives the IMMEDIATE ASSIGNMENT message after the TBF starting time has expired, a failure has occurred.
If a failure occurs and the packet access attempt was due to a request from upper layers to transfer a LLC PDU, a TBF establishment failure has occurred and the mobile station proceeds as specified in clause 3.5.2.1.5. If a failure occurs and the packet access attempt was due to the sending of an RLC/MAC control message, the packet access is aborted, the mobile station returns to packet idle mode.
3.5.2.1.3.4 Packet access rejection
The network may send to the mobile station an IMMEDIATE ASSIGNMENT REJECT message in unacknowledged mode on the same CCCH timeslot on which the channel request message was received. There is no further restriction on what part of the downlink CCCH timeslot an IMMEDIATE ASSIGNMENT REJECT message can be sent. This message contains the request reference and a wait indication.
On receipt of an IMMEDIATE ASSIGNMENT REJECT message corresponding to one of its 3 last CHANNEL REQUEST messages, the mobile station stops sending CHANNEL REQUEST messages, starts timer T3142 with the indicated value, ("wait indication" information element), starts T3146 if it has not already been started, and listens to the downlink CCCH until T3146 expires. During this time, additional IMMEDIATE ASSIGNMENT REJECT messages are ignored, but any immediate assignment corresponding to any other of its 3 last CHANNEL REQUEST messages make the mobile station follow the procedure in clause 3.5.2.1.3.1. If no such immediate assignment is received, the mobile station returns to packet idle mode and notify higher layers (TBF establishment failure).
If the mobile station has received responses from the network on all, or in case more than 3 were sent the last 3, of its CHANNEL REQUEST messages, it shall immediately return to packet idle mode and notify higher layers.
The mobile station is not allowed to make a new attempt for packet access in the same cell until T3142 expires, but may attempt packet access in an other cell after successful cell reselection for radio conditions reasons (see GSM 05.08). The value of the wait indication (i.e. T3142) relates to the cell from which it was received.
The mobile station may initiate RR connection establishment in the same cell before T3142 has expired, see clause 3.3.1.1.3.2.
3.5.2.1.4 Packet access completion
The one phase packet access procedure is completed at a successful contention resolution. The mobile station has entered the packet transfer mode. Timer T3141 is stopped on the network side. Timer T3164 is stopped on the mobile station side.
3.5.2.1.5 Abnormal cases
If a failure occurs on the mobile station side before a successful contention resolution procedure is completed, the allocated temporary block flow is released; the mobile station returns to packet idle mode, upper layers are notified (TBF establishment failure), transactions in progress are aborted:
- If a TLLI mismatch has occurred during the contention resolution procedure, and the repetition of the packet access has been repeated the maximum number of times as defined in GSM 04.60, a TBF establishment failure has occurred.
- If the information available in the mobile station, after the reception of an IMMEDIATE ASSIGNMENT message or the second IMMEDIATE ASSIGNMENT message of a two-message assignment, does not satisfactorily define a PDCH, a TBF establishment failure has occurred.
- If the mobile allocation indexes frequencies in more than one frequency band then a TBF establishment failure has occurred.
- If an IMMEDIATE ASSIGNMENT message indicates a PDCH in a non-supported frequency band then a TBF establishment failure has occurred.
On the network side, if timer T3141 elapses before a successful contention resolution procedure is completed, the newly allocated temporary block flow is released as specified in GSM 04.60 and the packet access is forgotten.