3.17 Wideband Adaptive multi rate speech channel at 8-PSK half rate (O-TCH/WHS)
3GPP45.003GSM/EDGE Channel codingRelease 17TS
This section describes the coding for the different frame formats used for O-TCH/WHS. The formats used are (in the order they are described):
SID_UPDATE Used to convey comfort noise parameters during DTX
SID_UPDATE_INH Used to inhibit the second part of a SID_UPDATE frame if there is a speech onset
SID_FIRST_P1 First part of marker to define end of speech, start of DTX
SID_FIRST_P2 Second part of marker to define end of speech, start of DTX
SID_FIRST_INH Used to inhibit the second part of a SID_FIRST_P1 frame if there is a speech onset
ONSET Used to signal the Codec mode for the first speech frame after DTX
SPEECH Speech frames
RATSCCH_MARKER Marker to identify RATSCCH frames
RATSCCH_DATA Frame that conveys the actual RATSCCH message
In this chapter, sub chapters 3.17.1 to 3.17.9 describe the channel coding for the different formats listed above.
Common to all the formats is that in-band information is conveyed, the coding for the in-band channel is described in the table below.
|
Identifier (defined in 3GPP 45.009) |
Received in-band data id(1), id(0) |
Encoded in-band data for SID and RATSCCH frames ic(15),.., ic(0) |
Encoded in-band data for speech frames ic(11),.., ic(0) |
|
CODEC_MODE_1 |
00 |
0101001100001111 |
000000000000 |
|
CODEC_MODE_2 |
01 |
0011111010111000 |
110110101110 |
|
CODEC_MODE_3 |
10 |
1000100001100011 |
101101110101 |
|
CODEC_MODE_4 |
11 |
1110010111010100 |
011011011011 |
3.17.1 SID_UPDATE
The speech encoder delivers 35 bits of comfort noise parameters. Also delivered is two in-band channels, id0(0,1) and id1(0,1), id0 corresponding to Mode Commands/Mode Requests and id1 to Mode Indication. The general coding is as: the two in-band data channels are coded to 16 bits each, a 14-bit CRC is added to the 35 CN bits which are then coded by a rate ¼ RSC coder to 212 bits. A 212 bit identification field is added thereby giving a total size of 456 bits. Finally each bit is repeated 3 times and then converted into 3-bit symbols giving a total size of 456 symbols. These 456 symbols are block interleaved over 4 bursts.
3.17.1.1 Coding of in-band data
The coding of in-band data is done as specified for the SID_UPDATE frame in O-TCH/AHS (subclause 3.15.1.1).
3.17.1.2 Parity and convolutional encoding for the comfort noise parameters
The parity and convolutional encoding for the comfort noise parameters are done as specified for the SID_UPDATE frame in O-TCH/AHS (subclause 3.15.1.2).
3.17.1.3 Identification marker
The identification marker is constructed as specified for the SID_UPDATE frame in O-TCH/AHS (subclause 3.15.1.3).
3.17.1.4 Repetition
The repetition is done as specified for the SID_UPDATE frame in O-TCH/AHS (subclause 3.15.1.4).
3.17.1.5 Interleaving
The interleaving is done as specified for the SID_UPDATE frame in O-TCH/AHS (subclause 3.15.1.5).
3.17.1.6 Mapping on a Burst
The mapping is done as specified for the SID_UPDATE frame in O-TCH/AHS (subclause 3.15.1.6).
3.17.2 SID_UPDATE_INH
This special frame is used when the first 2 burst of a SID_UPDATE frame have been transmitted but the second two bursts cannot be transmitted due to a speech frame. The general coding is as: the in-band data (Note that this must be the same Mode Indication bits as id1(0,1) for the SID_UPDATE frame that is being inhibited) is encoded, a marker that is the opposite of the SID_UPDATE marker is appended and the data is interleaved in such a way that the odd symbols of two bursts are filled.
3.17.2.1 Coding of in-band data
The coding of in-band data is done as specified for the SID_UPDATE_INH frame in O-TCH/AHS (subclause 3.15.2.1).
3.17.2.2 Identification marker
The identification marker is constructed as specified for the SID_UPDATE_INH frame in O-TCH/AHS (subclause 3.15.2.2).
3.17.2.3 Repetition
The repetition is done as specified for the SID_UPDATE_INH frame in O-TCH/AHS (subclause 3.15.2.3).
3.17.2.4 Interleaving
The interleaving is done as specified for the SID_UPDATE_INH frame in O-TCH/AHS (subclause 3.15.2.4).
3.17.2.5 Mapping on a Burst
The mapping is done as specified for the SID_UPDATE_INH frame in O-TCH/AHS (subclause 3.15.2.5).
3.17.3 SID_FIRST_P1
This frame type contains no source data from the speech coder. What is generated is the in-band channel and an identification marker. The in-band data id(0,1) represents Mode Indication or Mode Command/Mode Request depending on the current frame number.
3.17.3.1 Coding of in-band data
The coding of in-band data is done as specified for the SID_FIRST_P1 frame in O-TCH/AHS (subclause 3.15.3.1).
3.17.3.2 Identification marker
The identification marker is constructed as specified for the SID_FIRST_P1 frame in O-TCH/AHS (subclause 3.15.3.2).
3.17.3.3 Repetition
The repetition is done as specified for the SID_FIRST_P1 frame in O-TCH/AHS (subclause 3.15.3.3).
3.17.3.4 Interleaving
The interleaving is done as specified for the SID_FIRST_P1 frame in O-TCH/AHS (subclause 3.15.3.4).
3.17.3.5 Mapping on a Burst
The mapping is done as specified for the SID_FIRST_P1 frame in O-TCH/AHS (subclause 3.15.3.5).
3.17.4 SID_FIRST_P2
This frame type contains no source data from the speech coder. What is generated is the in-band channel and, derived from that, an identification marker. The in-band data id(0,1) represents Mode Indication or Mode Command/Mode Request depending on the current frame number.
3.17.4.1 Coding of in-band data
The coding of in-band data is done as specified for the SID_FIRST_P2 frame in O-TCH/AHS (subclause 3.15.4.1).
3.17.4.2 Repetition
The repetition is done as specified for the SID_FIRST_P2 frame in O-TCH/AHS (subclause 3.15.4.2).
3.17.4.3 Interleaving
The interleaving is done as specified for the SID_FIRST_P2 frame in O-TCH/AHS (subclause 3.15.4.3).
3.17.4.4 Mapping on a Burst
The mapping is done as specified for the SID_FIRST_P2 frame in O-TCH/AHS (subclause 3.15.4.4).
3.17.5 SID_FIRST_INH
This special frame is used when the first 2 burst of a SID_FIRST_P1 frame have been transmitted but the second two bursts cannot be transmitted due to a SPEECH frame. The general coding is as: the in-band data (Note that this must be the same data as for the SID_FIRST_P1 frame that is being inhibited) is encoded, a marker that is the opposite of the SID_FIRST_P1 marker is appended and the data is interleaved in such a way that the odd symbols of two bursts are filled.
3.17.5.1 Coding of in-band data
The coding of the in-band data is done as specified for the SID_FIRST_INH frame in O-TCH/AHS (subclause 3.15.5.1).
3.17.5.2 Identification marker
The identification marker is done as specified for the SID_FIRST_INH frame in O-TCH/AHS (subclause 3.15.5.2).
3.17.5.3 Repetition
The repetition is done as specified for the SID_FIRST_INH frame in O-TCH/AHS (subclause 3.15.5.3).
3.17.5.4 Interleaving
The interleaving is done as specified for the SID_FIRST_INH frame in O-TCH/AHS (subclause 3.15.5.4).
3.17.5.5 Mapping on a Burst
The mapping is done as specified for the SID_FIRST_INH frame in O-TCH/AHS (subclause 3.15.5.5).
3.17.6 ONSET
Onset frames are used to preset the interleaver buffer after a period of no speech activity in DTX mode. This frame type contains no source data from the speech coder. What is transmitted is the in-band channel signalling the Mode Indication for the speech frame following the onset marker.
3.17.6.1 Coding of in-band data
The coding of in-band data is done as specified for the ONSET frame in O-TCH/AHS (subclause 3.15.6.1).
3.17.6.2 Repetition
The repetition is done as specified for the ONSET frame in O-TCH/AHS (subclause 3.15.6.2).
3.17.6.3 Interleaving
The interleaving is done as specified for the ONSET frame in O-TCH/AHS (subclause 3.15.6.3).
3.17.6.4 Mapping on a Burst
The mapping is done as specified for the ONSET frame in O-TCH/AHS (subclause 3.15.6.4).
3.17.7 SPEECH
The speech coder delivers to the channel encoder a sequence of blocks of data. One block of data corresponds to one speech frame and the block length is different in each of the nine channel codec modes. Adjoining each block of data is information of the channel codec mode to use when encoding the block. Also delivered is the in-band data id(0,1) representing Mode Indication or Mode Command/Mode Request depending on the current frame number.
3.17.7.1 Coding of the in-band data
The two input in-band bits (id(0,1)) are coded to twelve coded in-band bits (ic(0..11)).
The encoded in-band bits are moved to the coded bits, c, as
c(k) = ic(k) for k = 0, 1, …, 11.
3.17.7.2 Ordering according to subjective importance
The bits delivered by the speech encoder, {s(1),s(2),…,s(Ks)}, are rearranged according to subjective importance before channel coding. Tables 16 to 18 define the correct rearrangement for the speech codec modes 12.65 kbit/s, 8.85 kbit/s and 6.60 kbit/s, respectively. In the tables speech codec parameters are numbered in the order they are delivered by the corresponding speech encoder according to 3GPP TS 26.190 and the rearranged bits are labelled {d(0),d(1),…,d(Kd-1)}, defined in the order of decreasing importance. Index Kd refers to the number of bits delivered by the speech encoder, see below:
|
Codec mode |
Number of speech bits delivered per block (Kd) |
|
O-TCH/WHS12.65 |
253 |
|
O-TCH/WHS8.85 |
177 |
|
O-TCH/WHS6.60 |
132 |
The ordering algorithm is in pseudo code as:
for j = 0 to Kd-1 d(j) := s(table(j)+1); where table(j) is read line by line left to right
The rearranged bits are further divided into two different classes to perform unequal error protection for different bits according to subjective importance.
The protection classes are:
1a – Data protected with the CRC and the convolution code.
1b – Data protected with the convolution code.
The number of class 1 (sum of class 1a and 1b), class 1a and class 1b bits for each codec mode is shown below:
|
Codec mode |
Number of speech bits delivered per block |
Number of class 1 bits per block |
Number of Class 1a bits per block |
Number of class 1b bits per block |
|
O-TCH/WHS12.65 |
253 |
253 |
72 |
181 |
|
O-TCH/WHS8.85 |
177 |
177 |
64 |
113 |
|
O-TCH/WHS6.60 |
132 |
132 |
54 |
78 |
3.17.7.3 Parity for speech frames
The basic parameters for each codec mode for the first encoding step are shown below:
|
Codec mode |
Number of class 1 bits (Kd1) |
CRC Protected bits (Kd1a) |
CRC bits |
Number of bits after first encoding step (Ku = Kd + 6) |
|
O-TCH/WHS12.65 |
253 |
72 |
6 |
259 |
|
O-TCH/WHS8.85 |
177 |
64 |
6 |
183 |
|
O-TCH/WHS6.60 |
132 |
54 |
6 |
138 |
A 6-bit CRC is used for error-detection. These parity bits are generated by the cyclic generator polynomial:
g(D) = D6 + D5 + D3 + D2 + D1 + 1 from the first Kd1a bits of class 1, where Kd1a refers to number of bits in protection class 1a as shown above for each codec mode. The encoding of the cyclic code is performed in a systematic form, which means that, in GF(2), the polynomial:
d(0)D(Kd1a+5) + d(1)D(Kd1a+4) +… + d(Kd1a-1)D(6) + p(0)D(5) +…+ p(4)D+ p(5)
where p(0), p(1) … p(5) are the parity bits, when divided by g(D), yields a remainder equal to:
1+ D + D2 + D3 + D4 + D5.
The information and parity bits are merged:
u(k) = d(k) for k = 0, 1, …, Kd1a-1
u(k) = p(k-Kd1a) for k = Kd1a, Kd1a+1, …, Kd1a+5
u(k) = d(k-6) for k = Kd1a+6, Kd1a+7, …, Ku-1
O-TCH/WHS12.65:
u(k) = d(k) for k = 0, 1, …, 71
u(k) = p(k-72) for k = 72, 73, …, 77
u(k) = d(k-6) for k = 78, 79, …, 258
O-TCH/WHS8.85:
u(k) = d(k) for k = 0, 1, …, 63
u(k) = p(k-64) for k = 64, 65, …, 69
u(k) = d(k-6) for k = 70, 71, …, 182
O-TCH/WHS6.60:
u(k) = d(k) for k = 0, 1, …, 53
u(k) = p(k-54) for k = 54, 55, …, 59
u(k) = d(k-6) for k = 60, 61, …, 137
3.17.7.4 Convolutional encoder
The bits from the first encoding step (u(k)) are encoded with the recursive systematic convolutional codes as summarised below. The number of output bits after puncturing is 672 for all codec modes.
|
Codec Mode |
Rate |
Number of input bits to conv. coder |
Number of output bits from conv. Coder |
Number Of Punctured bits |
|
O-TCH/WHS12.65 |
1/3 |
259 |
795 |
123 |
|
O-TCH/WHS8.85 |
¼ |
183 |
756 |
84 |
|
O-TCH/WHS6.60 |
1/5 |
138 |
720 |
48 |
Below the coding for each codec mode is specified in detail. The puncturing for each mode is designed to give an even protection of the class 1A bits while the protection within class 1B is not equal to reflect the individual error sensitivity of the class 1B bits.
O-TCH/WHS12.65:
The block of 259 bits {u(0)… u(258)} is encoded with the 1/3 rate convolutional code defined by the following polynomials:
G4/G7 = 1 + D2 + D3 + D5 + D6/1 + D + D2 + D3 + D6
G5/G7 = 1 + D + D4 + D6/1 + D + D2 + D3 + D6
G7/G7 = 1
resulting in 795 coded bits, {C(0)… C(794)} defined by:
r(k) = u(k) + r(k-1) + r(k-2) + r(k-3) + r(k-6)
C(3k) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(3k+1) = r(k) + r(k-1) + r(k-4) + r(k-6)
C(3k+2) = u(k) for k = 0, 1, …, 258; r(k) = 0 for k<0
and (for termination of the coder):
r(k) = 0
C(3k) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(3k+1) = r(k) + r(k-1) + r(k-4) + r(k-6)
C(3k+2) = r(k-1) + r(k-2) + r(k-3) + r(k-6) for k = 259, 260, …, 264
The following 448 coded bits are moved to data block PG:
C(2), C(5), C(6), C(8), C(9), C(11), C(12), C(14), C(15), C(17), C(18), C(20), C(21), C(23), C(24), C(26), C(27), C(29), C(30), C(32), C(33), C(35), C(36), C(38), C(39), C(41), C(42), C(44), C(45), C(47), C(48), C(50), C(51), C(53), C(54), C(56), C(57), C(59), C(60), C(62), C(63), C(65), C(66), C(68), C(69), C(71), C(72), C(74), C(75), C(77), C(78), C(80), C(81), C(83), C(84), C(86), C(87), C(89), C(90), C(92), C(93), C(95), C(96), C(98), C(99), C(101), C(102), C(104), C(105), C(107), C(108), C(110), C(111), C(113), C(114), C(116), C(117), C(119), C(120), C(122), C(123), C(125), C(126), C(128), C(129), C(131), C(132), C(134), C(135), C(137), C(138), C(140), C(141), C(143), C(144), C(146), C(147), C(149), C(150), C(152), C(153), C(155), C(156), C(158), C(159), C(161), C(162), C(164), C(165), C(167), C(168), C(170), C(171), C(173), C(174), C(176), C(177), C(179), C(180), C(182), C(183), C(185), C(186), C(188), C(189), C(191), C(192), C(194), C(195), C(197), C(198), C(200), C(201), C(203), C(204), C(206), C(207), C(209), C(210), C(212), C(213), C(215), C(216), C(218), C(219), C(221), C(222), C(224), C(225), C(227), C(228), C(230), C(231), C(233), C(234), C(236), C(237), C(239), C(240), C(242), C(243), C(245), C(246), C(248), C(249), C(251), C(252), C(254), C(255), C(257), C(258), C(260), C(261), C(263), C(266), C(267), C(269), C(270), C(272), C(275), C(276), C(278), C(279), C(281), C(282), C(284), C(287), C(290), C(291), C(293), C(294), C(296), C(299), C(300), C(302), C(303), C(305), C(306), C(308), C(311), C(314), C(315), C(317), C(318), C(320), C(323), C(324), C(326), C(327), C(329), C(330), C(332), C(335), C(338), C(339), C(341), C(342), C(344), C(347), C(348), C(350), C(351), C(353), C(354), C(356), C(359), C(362), C(363), C(365), C(366), C(368), C(371), C(372), C(374), C(375), C(377), C(378), C(380), C(383), C(386), C(387), C(389), C(390), C(392), C(395), C(396), C(398), C(399), C(401), C(402), C(404), C(407), C(410), C(411), C(413), C(414), C(416), C(419), C(420), C(422), C(423), C(425), C(426), C(428), C(431), C(434), C(435), C(437), C(438), C(440), C(443), C(444), C(446), C(447), C(449), C(450), C(452), C(455), C(458), C(459), C(461), C(462), C(464), C(467), C(468), C(470), C(471), C(473), C(474), C(476), C(479), C(482), C(483), C(485), C(486), C(488), C(491), C(492), C(494), C(495), C(497), C(498), C(500), C(503), C(506), C(507), C(509), C(510), C(512), C(515), C(516), C(518), C(519), C(521), C(522), C(524), C(527), C(530), C(531), C(533), C(534), C(536), C(539), C(540), C(542), C(543), C(545), C(546), C(548), C(551), C(554), C(555), C(557), C(558), C(560), C(563), C(564), C(566), C(567), C(569), C(570), C(572), C(575), C(578), C(579), C(581), C(582), C(584), C(587), C(588), C(590), C(591), C(593), C(594), C(596), C(599), C(602), C(603), C(605), C(606), C(608), C(611), C(612), C(614), C(615), C(617), C(618), C(620), C(623), C(626), C(627), C(629), C(630), C(632), C(635), C(636), C(638), C(639), C(641), C(642), C(644), C(647), C(650), C(651), C(653), C(654), C(656), C(659), C(660), C(662), C(663), C(665), C(666), C(668), C(671), C(674), C(675), C(677), C(678), C(680), C(683), C(684), C(686), C(687), C(689), C(690), C(692), C(695), C(698), C(699), C(701), C(702), C(704), C(707), C(708), C(710), C(711), C(713), C(714), C(716), C(719), C(722), C(723), C(725), C(726), C(728), C(731), C(734), C(737), C(740), C(743), C(746), C(749), C(752), C(755), C(758), C(761), C(764), C(767), C(770), C(773), C(776), C(779), C(782), C(785), C(788), C(791), C(794)
And the following 224 coded bits are moved to data block PB:
C(10), C(13), C(16), C(19), C(22), C(25), C(28), C(31), C(34), C(37), C(40), C(43), C(46), C(49), C(52), C(55), C(58), C(61), C(64), C(67), C(70), C(73), C(76), C(79), C(82), C(85), C(88), C(91), C(94), C(97), C(100), C(103), C(106), C(109), C(112), C(115), C(118), C(121), C(124), C(127), C(130), C(133), C(136), C(139), C(142), C(145), C(148), C(151), C(154), C(157), C(160), C(163), C(166), C(169), C(172), C(175), C(178), C(181), C(184), C(187), C(190), C(193), C(196), C(199), C(202), C(205), C(208), C(211), C(214), C(217), C(220), C(223), C(226), C(229), C(232), C(235), C(238), C(241), C(244), C(247), C(250), C(253), C(256), C(259), C(262), C(264), C(265), C(268), C(271), C(273), C(274), C(277), C(280), C(283), C(285), C(286), C(288), C(289), C(292), C(295), C(297), C(298), C(301), C(304), C(307), C(309), C(310), C(312), C(313), C(316), C(319), C(321), C(322), C(325), C(333), C(334), C(336), C(337), C(345), C(346), C(357), C(358), C(360), C(361), C(369), C(370), C(381), C(384), C(385), C(393), C(394), C(405), C(408), C(409), C(417), C(418), C(429), C(432), C(433), C(441), C(442), C(453), C(456), C(457), C(465), C(466), C(477), C(480), C(481), C(489), C(490), C(501), C(504), C(505), C(513), C(514), C(525), C(528), C(529), C(537), C(538), C(549), C(552), C(553), C(561), C(562), C(573), C(576), C(577), C(585), C(586), C(597), C(600), C(601), C(609), C(610), C(621), C(624), C(625), C(633), C(634), C(645), C(648), C(649), C(657), C(658), C(669), C(672), C(673), C(681), C(693), C(696), C(697), C(705), C(717), C(720), C(721), C(729), C(730), C(732), C(735), C(736), C(738), C(741), C(744), C(745), C(747), C(750), C(753), C(754), C(756), C(759), C(762), C(763), C(765), C(768), C(771), C(772), C(774), C(777), C(780), C(781), C(783), C(786)
The vectors PG and PB of coded and punctured bits is combined with in band bits to vector PC‘ as
PC‘ (k) = ic(k) for k = 0, 1, 2, 3
PC‘ (k+4) = PG(k) for k = 0, 1, …, 223
PC‘ (k+224) = ic(k) for k = 4, 5, 6, 7
PC‘ (k+8) = PG(k) for k = 224, 225, …, 447
PC‘ (k+448) = ic(k) for k = 8, 9, 10, 11
PC‘ (k+460) = PB(k) for k = 0, 1, …, 223
O-TCH/WHS8.85:
The block of 183 bits {u(0)… u(182)} is encoded with the ¼ rate convolutional code defined by the following polynomials:
G4/G7 = 1 + D2 + D3 + D5 + D6/1 + D + D2 + D3 + D6
G5/G7 = 1 + D + D4 + D6/1 + D + D2 + D3 + D6
G6/G7 = 1 + D + D2 + D3 + D4 + D6/1 + D + D2 + D3 + D6
G7/G7 = 1
resulting in 756 coded bits, {C(0)… C(755)} defined by:
r(k) = u(k) + r(k-1) + r(k-2) + r(k-3) + r(k-6)
C(4k) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(4k+1) = r(k) + r(k-1) + r(k-4) + r(k-6)
C(4k+2) = r(k) + r(k-1) + r(k-2) + r(k-3) + r(k-4) + r(k-6)
C(4k+3) = u(k) for k = 0, 1, …, 182; r(k) = 0 for k<0
and (for termination of the coder):
r(k) = 0
C(4k) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(4k+1) = r(k) + r(k-1) + r(k-4) + r(k-6)
C(4k+2) = r(k) + r(k-1) + r(k-2) + r(k-3) + r(k-4) + r(k-6)
C(4k+3) = r(k-1) + r(k-2) + r(k-3) + r(k-6) for k = 183, 184, …, 188
The following 448 coded bits are moved to data block PG:
C(3), C(7), C(11), C(15), C(16), C(19), C(20), C(23), C(24), C(27), C(28), C(31), C(32), C(33), C(35), C(36), C(39), C(40), C(41), C(43), C(44), C(47), C(48), C(49), C(51), C(52), C(55), C(56), C(57), C(59), C(60), C(63), C(64), C(65), C(67), C(68), C(71), C(72), C(73), C(75), C(76), C(79), C(80), C(81), C(83), C(84), C(87), C(88), C(89), C(91), C(92), C(95), C(96), C(97), C(99), C(100), C(103), C(104), C(105), C(107), C(108), C(111), C(112), C(113), C(115), C(116), C(119), C(120), C(121), C(123), C(124), C(127), C(128), C(129), C(131), C(132), C(135), C(136), C(137), C(139), C(140), C(143), C(144), C(145), C(147), C(148), C(151), C(152), C(153), C(155), C(156), C(159), C(160), C(161), C(163), C(164), C(167), C(168), C(169), C(171), C(172), C(175), C(176), C(177), C(179), C(180), C(183), C(184), C(185), C(187), C(188), C(191), C(192), C(193), C(195), C(196), C(199), C(200), C(201), C(203), C(204), C(207), C(208), C(209), C(211), C(212), C(215), C(216), C(217), C(219), C(220), C(223), C(224), C(225), C(227), C(228), C(231), C(232), C(233), C(235), C(236), C(239), C(240), C(241), C(243), C(244), C(247), C(248), C(249), C(251), C(252), C(255), C(256), C(257), C(259), C(260), C(263), C(264), C(265), C(267), C(268), C(271), C(272), C(273), C(275), C(276), C(279), C(280), C(281), C(283), C(284), C(287), C(288), C(289), C(291), C(292), C(295), C(296), C(297), C(299), C(300), C(303), C(304), C(305), C(307), C(308), C(311), C(312), C(313), C(315), C(316), C(319), C(320), C(321), C(323), C(324), C(327), C(328), C(329), C(331), C(332), C(335), C(336), C(337), C(339), C(340), C(343), C(344), C(345), C(347), C(348), C(351), C(352), C(353), C(355), C(356), C(359), C(360), C(361), C(363), C(364), C(367), C(368), C(369), C(371), C(372), C(375), C(376), C(377), C(379), C(380), C(383), C(384), C(385), C(387), C(388), C(391), C(392), C(393), C(395), C(396), C(399), C(400), C(401), C(403), C(404), C(407), C(408), C(409), C(411), C(412), C(415), C(416), C(417), C(419), C(420), C(423), C(424), C(425), C(427), C(428), C(431), C(432), C(433), C(435), C(436), C(439), C(440), C(441), C(443), C(444), C(447), C(448), C(449), C(451), C(452), C(455), C(456), C(457), C(459), C(460), C(463), C(464), C(465), C(467), C(468), C(471), C(472), C(473), C(475), C(476), C(479), C(480), C(481), C(483), C(484), C(487), C(488), C(489), C(491), C(492), C(495), C(496), C(497), C(499), C(500), C(503), C(504), C(505), C(507), C(508), C(511), C(512), C(513), C(515), C(516), C(519), C(520), C(521), C(523), C(524), C(527), C(528), C(529), C(531), C(532), C(535), C(536), C(537), C(539), C(540), C(543), C(544), C(545), C(547), C(548), C(551), C(552), C(555), C(556), C(559), C(560), C(561), C(563), C(564), C(567), C(568), C(569), C(571), C(572), C(575), C(576), C(577), C(579), C(580), C(583), C(584), C(585), C(587), C(588), C(591), C(592), C(595), C(596), C(599), C(600), C(603), C(604), C(607), C(608), C(609), C(611), C(612), C(615), C(616), C(617), C(619), C(620), C(623), C(624), C(625), C(627), C(628), C(631), C(632), C(633), C(635), C(636), C(639), C(640), C(643), C(644), C(647), C(648), C(651), C(652), C(655), C(656), C(657), C(659), C(660), C(663), C(664), C(665), C(667), C(668), C(671), C(672), C(673), C(675), C(676), C(679), C(680), C(681), C(683), C(684), C(687), C(688), C(691), C(692), C(695), C(696), C(699), C(700), C(703), C(704), C(705), C(707), C(708), C(711), C(712), C(713), C(715), C(716), C(719), C(720), C(723), C(727), C(728), C(731), C(732), C(735), C(736), C(739), C(743), C(747), C(751), C(755)
And the following 224 coded bits are moved to data block PB:
C(4), C(8), C(12), C(13), C(17), C(21), C(22), C(25), C(26), C(29), C(30), C(34), C(37), C(38), C(42), C(45), C(46), C(50), C(53), C(54), C(58), C(61), C(62), C(66), C(69), C(70), C(74), C(77), C(78), C(82), C(85), C(86), C(90), C(93), C(94), C(98), C(101), C(102), C(106), C(109), C(110), C(114), C(117), C(118), C(122), C(125), C(126), C(130), C(133), C(134), C(138), C(141), C(142), C(146), C(149), C(150), C(154), C(157), C(158), C(162), C(165), C(166), C(170), C(173), C(174), C(178), C(181), C(182), C(186), C(189), C(190), C(194), C(197), C(198), C(202), C(205), C(206), C(210), C(213), C(214), C(218), C(221), C(222), C(226), C(229), C(230), C(234), C(237), C(238), C(242), C(245), C(246), C(250), C(253), C(254), C(258), C(261), C(262), C(266), C(269), C(270), C(274), C(277), C(278), C(282), C(285), C(286), C(290), C(293), C(294), C(298), C(301), C(302), C(306), C(309), C(310), C(314), C(317), C(318), C(322), C(325), C(326), C(330), C(333), C(334), C(338), C(341), C(342), C(346), C(349), C(350), C(354), C(357), C(358), C(362), C(365), C(366), C(370), C(373), C(374), C(378), C(381), C(382), C(386), C(389), C(394), C(397), C(402), C(405), C(413), C(418), C(421), C(429), C(434), C(437), C(445), C(450), C(453), C(461), C(466), C(469), C(477), C(482), C(485), C(493), C(498), C(501), C(509), C(514), C(517), C(525), C(530), C(533), C(541), C(549), C(553), C(557), C(562), C(565), C(570), C(573), C(578), C(581), C(589), C(593), C(597), C(601), C(605), C(610), C(613), C(618), C(621), C(626), C(629), C(637), C(641), C(645), C(649), C(653), C(658), C(661), C(666), C(669), C(674), C(677), C(685), C(689), C(693), C(697), C(701), C(706), C(709), C(714), C(717), C(721), C(722), C(724), C(725), C(729), C(733), C(737), C(740), C(741), C(744)
The vectors PG and PB of coded and punctured bits is combined with in band bits to vector PC‘ as
PC‘ (k) = ic(k) for k = 0, 1, 2, 3
PC‘ (k+4) = PG(k) for k = 0, 1, …, 223
PC‘ (k+224) = ic(k) for k = 4, 5, 6, 7
PC‘ (k+8) = PG(k) for k = 224, 225, …, 447
PC‘ (k+448) = ic(k) for k = 8, 9, 10, 11
PC‘ (k+460) = PB(k) for k = 0, 1, …, 223
O-TCH/WHS6.60:
The block of 138 bits {u(0)… u(137)} is encoded with the 1/5 rate convolutional code defined by the following polynomials:
G4/G7 = 1 + D2 + D3 + D5 + D6/1 + D + D2 + D3 + D6
G4/G7 = 1 + D2 + D3 + D5 + D6/1 + D + D2 + D3 + D6
G5/G7 = 1 + D + D4 + D6/1 + D + D2 + D3 + D6
G6/G7 = 1 + D + D2 + D3 + D4 + D6/1 + D + D2 + D3 + D6
G7/G7 = 1
resulting in 720 coded bits, {C(0)… C(719)} defined by:
r(k) = u(k) + r(k-1) + r(k-2) + r(k-3) + r(k-6)
C(5k) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(5k+1) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(5k+2) = r(k) + r(k-1) + r(k-4) + r(k-6)
C(5k+3) = r(k) + r(k-1) + r(k-2) + r(k-3) + r(k-4) + r(k-6)
C(5k+4) = u(k) for k = 0, 1, …, 137; r(k) = 0 for k<0
and (for termination of the coder):
r(k) = 0
C(5k) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(5k+1) = r(k) + r(k-2) + r(k-3) + r(k-5) + r(k-6)
C(5k+2) = r(k) + r(k-1) + r(k-4) + r(k-6)
C(5k+3) = r(k) + r(k-1) + r(k-2) + r(k-3) + r(k-4) + r(k-6)
C(5k+4) = r(k-1) + r(k-2) + r(k-3) + r(k-6) for k = 138, 139, …, 143
The following 448 coded bits are moved to data block PG:
C(4), C(9), C(11), C(12), C(14), C(16), C(17), C(19), C(21), C(22), C(24), C(26), C(27), C(29), C(31), C(32), C(34), C(36), C(37), C(38), C(39), C(41), C(42), C(44), C(46), C(47), C(48), C(49), C(51), C(52), C(54), C(56), C(57), C(59), C(60), C(61), C(62), C(63), C(64), C(66), C(67), C(69), C(71), C(72), C(73), C(74), C(76), C(77), C(79), C(81), C(82), C(84), C(85), C(86), C(87), C(88), C(89), C(91), C(92), C(94), C(96), C(97), C(98), C(99), C(101), C(102), C(104), C(106), C(107), C(109), C(111), C(112), C(113), C(114), C(116), C(117), C(119), C(121), C(122), C(123), C(124), C(126), C(127), C(129), C(131), C(132), C(134), C(135), C(136), C(137), C(138), C(139), C(141), C(142), C(144), C(146), C(147), C(148), C(149), C(151), C(152), C(154), C(156), C(157), C(159), C(161), C(162), C(163), C(164), C(166), C(167), C(169), C(171), C(172), C(173), C(174), C(176), C(177), C(179), C(181), C(182), C(184), C(186), C(187), C(188), C(189), C(191), C(192), C(194), C(196), C(197), C(198), C(199), C(201), C(202), C(204), C(206), C(207), C(209), C(210), C(211), C(212), C(213), C(214), C(216), C(217), C(219), C(221), C(222), C(223), C(224), C(226), C(227), C(229), C(231), C(232), C(234), C(236), C(237), C(238), C(239), C(241), C(242), C(244), C(246), C(247), C(248), C(249), C(251), C(252), C(254), C(256), C(257), C(259), C(261), C(262), C(263), C(264), C(266), C(267), C(269), C(271), C(272), C(273), C(274), C(276), C(277), C(279), C(281), C(282), C(284), C(285), C(286), C(287), C(288), C(289), C(291), C(292), C(294), C(296), C(297), C(298), C(299), C(301), C(302), C(304), C(306), C(307), C(309), C(311), C(312), C(313), C(314), C(316), C(317), C(319), C(321), C(322), C(323), C(324), C(326), C(327), C(329), C(331), C(332), C(334), C(336), C(337), C(338), C(339), C(341), C(342), C(344), C(346), C(347), C(349), C(351), C(352), C(354), C(356), C(357), C(359), C(361), C(362), C(364), C(366), C(367), C(369), C(371), C(372), C(374), C(376), C(377), C(379), C(381), C(382), C(384), C(386), C(387), C(389), C(391), C(392), C(394), C(396), C(397), C(399), C(401), C(402), C(404), C(406), C(407), C(409), C(411), C(412), C(414), C(416), C(417), C(419), C(421), C(422), C(424), C(426), C(427), C(429), C(431), C(432), C(434), C(436), C(437), C(439), C(441), C(442), C(444), C(446), C(447), C(449), C(451), C(452), C(454), C(456), C(457), C(459), C(461), C(462), C(464), C(466), C(467), C(469), C(471), C(472), C(474), C(476), C(477), C(479), C(481), C(482), C(484), C(486), C(487), C(489), C(491), C(492), C(494), C(496), C(499), C(501), C(502), C(504), C(506), C(507), C(509), C(511), C(512), C(514), C(516), C(517), C(519), C(521), C(524), C(526), C(527), C(529), C(531), C(532), C(534), C(536), C(537), C(539), C(541), C(542), C(544), C(546), C(549), C(551), C(552), C(554), C(556), C(557), C(559), C(561), C(562), C(564), C(566), C(567), C(569), C(571), C(574), C(576), C(577), C(579), C(581), C(582), C(584), C(586), C(587), C(589), C(591), C(592), C(594), C(596), C(599), C(601), C(602), C(604), C(606), C(607), C(609), C(611), C(612), C(614), C(616), C(617), C(619), C(621), C(624), C(626), C(627), C(629), C(631), C(632), C(634), C(636), C(637), C(639), C(641), C(642), C(644), C(646), C(649), C(651), C(652), C(654), C(656), C(657), C(659), C(661), C(662), C(664), C(666), C(667), C(669), C(671), C(674), C(676), C(677), C(679), C(681), C(682), C(684), C(686), C(687), C(689), C(691), C(692), C(694), C(696), C(699), C(701), C(702), C(704), C(706), C(707), C(709), C(711), C(712), C(714), C(716), C(719)
And the following 224 coded bits are moved to data block PB:
C(18), C(23), C(25), C(28), C(30), C(33), C(35), C(40), C(43), C(45), C(50), C(53), C(55), C(58), C(65), C(68), C(70), C(75), C(78), C(80), C(83), C(90), C(93), C(95), C(100), C(103), C(105), C(108), C(110), C(115), C(118), C(120), C(125), C(128), C(130), C(133), C(140), C(143), C(145), C(150), C(153), C(155), C(158), C(160), C(165), C(168), C(170), C(175), C(178), C(180), C(183), C(185), C(190), C(193), C(195), C(200), C(203), C(205), C(208), C(215), C(218), C(220), C(225), C(228), C(230), C(233), C(235), C(240), C(243), C(245), C(250), C(253), C(255), C(258), C(260), C(265), C(268), C(270), C(275), C(278), C(280), C(283), C(290), C(293), C(295), C(300), C(303), C(305), C(308), C(310), C(315), C(318), C(320), C(325), C(328), C(330), C(333), C(335), C(340), C(343), C(345), C(348), C(350), C(353), C(355), C(358), C(360), C(363), C(365), C(368), C(370), C(373), C(375), C(378), C(380), C(383), C(385), C(388), C(390), C(393), C(395), C(398), C(400), C(403), C(405), C(408), C(410), C(413), C(415), C(418), C(420), C(423), C(425), C(428), C(430), C(433), C(435), C(438), C(440), C(443), C(445), C(448), C(450), C(453), C(455), C(458), C(460), C(463), C(465), C(468), C(470), C(473), C(475), C(478), C(480), C(483), C(485), C(488), C(490), C(493), C(495), C(497), C(498), C(503), C(505), C(508), C(510), C(513), C(515), C(518), C(522), C(523), C(528), C(530), C(533), C(538), C(540), C(543), C(547), C(548), C(553), C(555), C(558), C(560), C(563), C(565), C(568), C(572), C(573), C(578), C(580), C(583), C(588), C(590), C(593), C(597), C(598), C(603), C(605), C(608), C(610), C(613), C(615), C(618), C(622), C(623), C(628), C(630), C(633), C(638), C(640), C(643), C(647), C(648), C(653), C(658), C(660), C(663), C(668), C(672), C(673), C(678), C(683), C(697)
The vectors PG and PB of coded and punctured bits is combined with in band bits to vector PC‘ as
PC‘ (k) = ic(k) for k = 0, 1, 2, 3
PC‘ (k+4) = PG(k) for k = 0, 1, …, 223
PC‘ (k+224) = ic(k) for k = 4, 5, 6, 7
PC‘ (k+8) = PG(k) for k = 224, 225, …, 447
PC‘ (k+448) = ic(k) for k = 8, 9, 10, 11
PC‘ (k+460) = PB(k) for k = 0, 1, …, 223
3.17.7.5 Interleaving
The interleaving is done as specified for the O-TCH/AHS (subclause 3.15.7.5).
3.17.7.6 Mapping on a Burst
The mapping is done as specified for the O-TCH/AHS (subclause 3.15.7.6).
3.17.8 RATSCCH_MARKER
This frame type contains the in-band channel and an identification marker. The in-band data id(0,1) represents Mode Indication or Mode Command/Mode Request depending on the current frame number.
3.17.8.1 Coding of in-band data
The coding of in-band data is done as specified for the RATSCCH_MARKER frame in O-TCH/AHS (subclause 3.15.8.1).
3.17.8.2 Identification marker
The identification marker is done as specified for the RATSCCH_MARKER frame in O-TCH/AHS (subclause 3.15.8.2).
3.17.8.3 Interleaving
The interleaving is done as specified for the RATSCCH_MARKER frame in O-TCH/AHS (subclause 3.15.8.3).
3.17.8.4 Mapping on a Burst
The mapping is done as specified for the RATSCCH_MARKER frame in O-TCH/AHS (subclause 3.15.8.4).
3.17.9 RATSCCH_DATA
This frame contains the RATSCCH data and an inband channel. The RATSCCH data consists of 35 bits. The in-band data id(0,1) represents Mode Indication or Mode Command/Mode Request depending on the current frame number.
3.17.9.1 Coding of in-band data
The coding of in-band data is done as specified for the RATSCCH_DATA frame in O-TCH/AHS (subclause 3.15.9.1).
3.17.9.2 Parity and convolutional encoding for the RATSCCH message
The parity and convolutional encoding for the RATSCCH message are done as specified for the RATSCCH_DATA frame in O-TCH/AHS (subclause 3.15.9.2).
3.17.9.3 Interleaving
The interleaving is done as specified for the RATSCCH_DATA frame in O-TCH/AHS (subclause 3.15.9.3).
3.17.9.4 Mapping on a Burst
The mapping is done as specified for the RATSCCH_DATA frame in O-TCH/AHS (subclause 3.15.9.4).