在L3 消息的Assigment command 中,查找 IA Rest Octet
IEI | Information element | Type / Reference | Presence | Format | length |
| L2 Pseudo Length | L2 Pseudo Length 10.5.2.19 | M | V | 1 |
| RR management Protocol Discriminator | Protocol Discriminator 10.2 | M | V | 1/2 |
| Skip Indicator | Skip Indicator 10.3.1 | M | V | 1/2 |
| Immediate Assignment Message Type | Message Type 10.4 | M | V | 1 |
| Page Mode | Page Mode 10.5.2.26 | M | V | 1/2 |
| Dedicated mode or TBF | Dedicated mode or TBF 10.5.2.25b | M | V | 1/2 |
| Channel Description | Channel Description 10.5.2.5 | C | V | 3 |
| Packet Channel Description | Packet Channel Description 10.5.2.25a | C | V | 3 |
| Request Reference | Request Reference 10.5.2.30 | M | V | 3 |
| Timing Advance | Timing Advance 10.5.2.40 | M | V | 1 |
| Mobile Allocation | Mobile Allocation 10.5.2.21 | M | LV | 1-9 |
7C | Starting Time | Starting Time 10.5.2.38 | O | TV | 3 |
| IA Rest Octets | IA Rest Octets 10.5.2.16 | M | V | 0-11 |
IA Rest Octets 中查找 Packet UplinkAssignment
::=
{ LL <Compressed_Inter_RAT_HO_INFO_IND >
| LH
{ 00 < EGPRS Packet Uplink Assignment >
| 01 < Multiple Blocks Packet DownlinkAssignment >
|1 -- reserved for future use (however the value 7C for the firstoctet shall not be used)
}
| HL < Length of frequency parameters : bit string (6) >
< Frequency Parameters, before time >
< Compressed_Inter_RAT_HO_INFO_IND >
| HH{ 00 <Packet Uplink Assignment >
| 01 < Packet Downlink Assignment >
|1 < Second Part Packet Assignment >
}
{ null |L -- Receiver compatible with earlier release
| H -- Additions in Release 10
< Implicit Reject CS : bit >
< Implicit Reject PS : bit >
}
}
;
GPRS的CS(codingscheme)
< Packet Uplink Assignment >::=
{ 1
< TFI_ASSIGNMENT : bit (5) >
< POLLING : bit >
0 -- The value '1' was allocated in an earlier version of theprotocol and shall not be used. < USF: bit (3) >
< USF_GRANULARITY : bit >
{ 0 | 1 < P0 : bit (4) >
< PR_MODE : bit (1) > }
< CHANNEL_CODING_COMMAND : bit (2)>
< TLLI_BLOCK_CHANNEL_CODING : bit >
{ 0 | 1 < ALPHA : bit (4) > }
< GAMMA : bit (5) >
{ 0 | 1 < TIMING_ADVANCE_INDEX : bit (4) > }
{ 0 | 1 < TBF_STARTING_TIME : bit (16) > }
| 0
EDGE的MCS
< RR Packet Uplink Assignment value part >::=
<CHANNEL_CODING_COMMAND :bit (2) >
<TLLI_BLOCK_CHANNEL_CODING : bit(1) >
<Packet TimingAdvance : Packet Timing Advance IE >
{ 01 <Dynamic Allocation: Dynamic Allocation struct >
| 10 <reserved > --The value '10' wasallocated in an earlier version of the protocol and shall not beused.
| 11 <reserved > --The value '11' wasallocated in an earlier version of the protocol and shall not beused.
| 00 { 0 <Multiple TBFAllocation : Multiple TBF Allocation struct >
| 1 < Extension> }
}
{ null --Receiver compatible withearlier release
| --Additions forR99
{ 0 | 1 <EGPRS_MCS_MODE : bit (4)>
<RESEGMENT : bit(1) >
<EGPRS Window Size: < EGPRS Window Size IE >> }
{ 0 | 1 <Packet Extended TimingAdvance : bit (2) > }
{ null | 0 bit** = < no string > --Receiver compatible withearlier release
| 1 --Additions forRel-7
{ 0 | 1 <RLC_MODE : bit (1) >} --This field may be presentin case of single TBF allocation
LOG举例:
IMMEDIATE_ASSIGNMENT
ded_mode_or_tbf
tma = 0 (0x0)
down_link = 0 (0x0)
t_d = 1 (0x1)
page_mode
pm = 0 (0x0)
packet_chan_desc
Channel type = 1 (0x1)
TN = 5 (0x5)
TSC = 6 (0x6)
const_0 = 0 (0x0)
const_0 = 0 (0x0)
spare_bit0 =0 (0x0)
ARFCN = 720 (0x2d0)
req_ref
ra = 127 (0x7f)
t1_prime = 14 (0xe)
t3 = 35 (0x23)
t2 = 13 (0xd)
time_adv
time_adv_val = 0 (0x0)
mob_alloc
mob_alloc_len = 0 (0x0)
start_time_incl = 0 (0x0)
ia_rest
padding_bits_LH = 1 (0x1)
const_00 = 0 (0x0)
EGPRS Packet Uplink Assignment
Extended RA = 26 (0x1a)
access_technologies_request_present = 0 (0x0)
const_1 = 1 (0x1)
TFI_ASSIGNMENT = 15 (0xf)
POLLING = 0 (0x0)
const_0 = 0 (0x0)
USF = 4 (0x4)
USF_GRANULARITY = 1 (0x1)
p0_present = 0 (0x0)
EGPRS CHANNEL_CODING_COMMAND
bits0 = 2 (0x2) MCS=3
TLLI_BLOCK_CHANNEL_CODING = 1 (0x1)
bep_period2_present = 0 (0x0)
RESEGMENT = 0 (0x0)
EGPRS Window Size
bits0 = 4 (0x4)
alpha_present = 1 (0x1)
ALPHA = 0 (0x0)
GAMMA = 0 (0x0)
timing_advance_index_present = 0 (0x0)
tbf_starting_time_present = 0 (0x0)
padding_bits_L = 0 (L)
spare_padding0_count = 40 (0x28)
spare_padding0 = 0x000000000
LOG中CS和MCS值对应的调制类型可参考:CS(coding scheme)和MCS(modulation andcoding scheme)
http://blog.sina.com.cn/s/blog_746b60460102uy6r.html