CDMA Basic Call Processing
CDMA Basic Call Processing
Long PN Code: This code on the reverse link is used for spreading
meaning identifying the mobile station. It is 42-bit code. On the
forward link it is used for data scrambling.
IS-95 Logical Channels
Forward Link: The Forward Link is divided into 64 code channels. The
logical structure is described below.
Pilot Channel: This channel is all zeros – carrying no data information. This
channel is the beacon channel that defines the radius of the cell and
hence is transmitted with the largest power. is assigned W0
Synchronization Channel: Used by the mobile during system acquisition to
receive the system time, system identification and parameter
information and state of the Long Code. Sync Channel is W32. This
operates at 1200 bps.
Paging Channel: This channel carries overhead messages, pages, call setup
messages and orders. The bps (4800 or 9600bps) of this channel is got
from the Sync. Channel. The paging channel is assigned Walsh codes
W1-W7.
Traffic Channel: The traffic channels are assigned to individual users to
carry call traffic.
Continued...
Reverse Link: Reverse CDMA Channel consists of 242-1 logical
channels. One of the logical channels is permanently and
uniquely associated with each MS. The channel does not
change upon handoff.
Access Channel: Access channels are used by mobiles to transmit
signaling information. Access channels are paired to Paging
Channels. Each paging channel can have up to 32 access
channels. These channels operate at 4800 bps.
Reverse Traffic Channel: The reverse traffic channel are used by
individual users during their actual calls to transmit traffic to
the BTS .
CALL PROCESSING
MS-Initialization State
MS-Idle state
The MS enters this state and listens to the Primary Paging Channel with the
PRAT read from the Sync channel message.
Call Processing
Messages in CDMA
In CDMA, most call processing events are driven by messages
Some CDMA channels exist for the sole purpose of carrying
messages; they never carry user’s voice traffic
Sync Channel (a forward channel)
Paging Channel (a forward channel)
Access Channel (a reverse channel)
On these channels, there are only messages, continuously all of the
time
Some CDMA channels exist just to carry user traffic
Forward Traffic Channel
Reverse Traffic Channel
On these channels, most of the time is filled with traffic and messages
are sent only when there is something to do
All CDMA messages have very similar structure, regardless of the
channel on which they are sent
Message Vocabulary: Acquisition &
Idle States
Pilot Channel Sync Channel
No Messages Sync Channel Msg
-20
(Extended*) Neighbor
List Msg
Global Service
Redirection Msg (*opt.)
Two Very Important Configuration
Messages
ACCESS PARAMETERS MESSAGE SYSTEM PARAMETERS MESSAGE
98/05/24 23:14:10.427 [PCH] 98/05/24 23:14:11.126 [PCH] System Parameter Message
MSG_LENGTH = 184 bits MSG_LENGTH = 264 bits
MSG_TYPE = Access Parameters Message MSG_TYPE = System Parameters Message
PILOT_PN = 168 Offset Index
PILOT_PN = 168 Offset Index
CONFIG_MSG_SEQ = 0
ACC_MSG_SEQ = 27 SID = 179 NID = 0
ACC_CHAN = 1 channel REG_ZONE = 0 TOTAL_ZONES = 0 ZONE_TIMER = 60 min
NOM_PWR = 0 dB INIT_PWR = 0 dB PWR_STEP = 4 Db MULT_SIDS = 0 MULT_NID = 0 BASE_ID = 8710
NUM_STEP = 5 Access Probes Maximum BASE_CLASS = Public Macrocellular
MAX_CAP_SZ = 4 Access Channel Frames Maximum PAGE_CHAN = 1 channel
PAM_SZ = 3 Access Channel Frames MAX_SLOT_CYCLE_INDEX = 0
Persist Val for Acc Overload Classes 0-9 = 0 HOME_REG = 0 FOR_SID_REG = 0 FOR_NID_REG = 1
Persist Val for Acc Overload Class 10 = 0 POWER_UP_REG = 0 POWER_DOWN_REG = 0
PARAMETER_REG = 1 REG_PRD = 0.08 sec
Persist Val for Acc Overload Class 11 = 0
BASE_LAT = 00D00'00.00N BASE_LONG = 000D00'00.00E
Persist Val for Acc Overload Class 12 = 0 REG_DIST = 0
Persist Val for Acc Overload Class 13 = 0 SRCH_WIN_A = 40 PN chips
Persist Val for Acc Overload Class 14 = 0 SRCH_WIN_N = 80 PN chips
Persist Val for Acc Overload Class 15 = 0 SRCH_WIN_R = 4 PN chips
Persistance Modifier for Msg Tx = 1 NGHBR_MAX_AGE = 0
Persistance Modifier for Reg = 1 PWR_REP_THRESH = 2 frames
Probe Randomization = 15 PN chips PWR_REP_FRAMES = 56 frames
Acknowledgement Timeout = 320 ms PWR_THRESH_ENABLE = 1
PWR_PERIOD_ENABLE = 0
Probe Backoff Range = 4 Slots Maximum
PWR_REP_DELAY = 20 frames
Probe Sequence Backoff Range = 4 Slots Max. RESCAN = 0
Max # Probe Seq for Requests = 2 Sequences T_ADD = -13.0 Db T_DROP = -15.0 dB T_COMP = 2.5 dB
Max # Probe Seq for Responses = 2 Sequences T_TDROP = 4 sec
Authentication Mode = 1 EXT_SYS_PARAMETER = 1
Random Challenge Value = Field Omitted RESERVED = 0
Reserved Bits = 99 GLOBAL_REDIRECT = 0
Four Additional Configuration
Messages
CDMA CHANNEL LIST MESSAGE EXTENDED SYSTEM PARAMETERS
98/05/24 23:14:10.786 [PCH] CDMA Channel List Message 98/05/24 23:14:10.946 [PCH]
MSG_LENGTH = 72 bits Extended System Parameters Message
MSG_TYPE = CDMA Channel List Message MSG_LENGTH = 104 bits
PILOT_PN = 168 Offset Index MSG_TYPE = Extended System Parameters Message
CONFIG_MSG_SEQ = 0 PILOT_PN = 168 Offset Index
CDMA_FREQ = 283 CONFIG_MSG_SEQ = 0 RESERVED = 0
RESERVED = Field Omitted PREF_MSID_TYPE = IMSI and ESN
MCC = 000 IMSI_11_12 = 00
NEIGHBOR LIST RESERVED_LEN = 8 bits
98/05/24 23:14:11.486 [PCH] Neighbor List Message RESERVED_OCTETS = 0x00
MSG_LENGTH = 216 bits BCAST_INDEX = 0
MSG_TYPE = Neighbor List Message RESERVED = 0
PILOT_PN = 168 Offset Index
CONFIG_MSG_SEQ = 0
PILOT_INC = 4 Offset Index
NGHBR_CONFIG = 0 NGHBR_PN = 220 Offset Index
GLOBAL SERVICE REDIRECTION
NGHBR_CONFIG = 0 NGHBR_PN = 52 Offset Index 98/05/17 24:21.566 Paging Channel: Global Service Redirection
NGHBR_CONFIG = 0 NGHBR_PN = 500 Offset Index PILOT_PN: 168, MSG_TYPE: 96, CONFIG_MSG_SEQ: 0
NGHBR_CONFIG = 0 NGHBR_PN = 8 Offset Index Redirected access overload classes: { 0, 1 }, RETURN_IF_FAIL: 0,
NGHBR_CONFIG = 0 NGHBR_PN = 176 Offset Index DELETE_TMSI: 0,
NGHBR_CONFIG = 0 NGHBR_PN = 304 Offset Index Redirection to an analog system:
NGHBR_CONFIG = 0 NGHBR_PN = 136 Offset Index EXPECTED_SID = 0
NGHBR_CONFIG = 0 NGHBR_PN = 384 Offset Index Do not ignore CDMA Available indicator on the redirected analog system
NGHBR_CONFIG = 0 NGHBR_PN = 216 Offset Index Attempt service on either System A or B with the custom system
NGHBR_CONFIG = 0 NGHBR_PN = 68 Offset Index selection process
NGHBR_CONFIG = 0 NGHBR_PN = 328 Offset Index
NGHBR_CONFIG = 0 NGHBR_PN = 112 Offset Index
RESERVED = 0
Phone Operation on the Access
Channel
A sector’s Paging Channel announces 1 A Successful Access Attempt
(typ) to 32 (max) Access Channels: PN Origination Msg ACCESS
Long Code offsets for mobiles to use if
accessing the system. Success!
For mobiles sending Registration, BTS MS
Origination, Page Responses Probing
Base Station always listening! an Access Probe
On the access channel, phones are not a Probe Sequence
yet under BTS closed-loop power an Access Attempt
control! PAGING Base Sta. Acknlgmt. Order
Phones access the BTS by “probing” at
power levels determined by receive FW TFC TFC frames of 000s
power and an open loop formula
If “probe” not acknowledged by BTS PAGING Channel Assnmt. Msg.
within ACC_TMO (~400 mS.), phone
will wait a random time (~200 mS) TFC preamble of 000s RV TFC
then probe again, stronger by PI db. FW FC Base Sta. Acknlgmt. Order
There can be 15 max. (typ. 5) probes in
a sequence and 15 max. (typ. 2) Mobile Sta. Ackngmt. Order RV TFC
sequences in an access attempt
most attempts succeed on first probe! FW TFC Service Connect Msg.
The Access Parameters message on
the paging channel announces values Svc. Connect Complete Msg RV TFC
of all related parameters
FW TFC Base Sta. Acknlgmt. Order
Call is Established!
Registration
Registration
Registration is the process by which an idle mobile lets the
system know it’s awake and available for incoming calls
this allows the system to inform the mobile’s home switch of
the mobile’s current location, so that incoming calls can be
delivered
registration also allows the system to intelligently page the
mobile only in the area where the mobile is currently located,
thereby eliminating useless congestion on the paging channels
in other areas of the system
There are many different conditions that could trigger an
obligation for the mobile to register
there are flags in the System Parameters Message which tell
the mobile when it must register on the current system
Registration
SYSTEM PARAMETERS MESSAGE The System Parameters Message tells all
18:26.826 [PCH] System Parameters Message
Pilot_PN: 32 mobiles when they should register.
CONFIG_MSG_SEQ: 14 SID: 16420 NID: 0,
REG_ZONE: 0 TOTAL_ZONES: 0 Zone timer length (min): 1 This mobile notices that it is obligated to
MULT_SIDS: 0 MULT_NIDS: 0
BASE_ID: 1618 BASE_CLASS: Reserved
register, so it transmits a Registration
PAG_CHAN: 1 MAX_SLOT_CYCLE_INDEX: 2 Message.
HOME_REG: 1 FOR_SID_REG: 1 FOR_NID_REG: 1,
POWER_UP_REG: 1 POWER_DOWN_REG: 1 PARAMETER_REG: 1 REGISTRATION MESSAGE
Registration period (sec): 54
Base station 0°00´00.00¨ Lon., 0°00´00.00° Lat. REG_DIST: 0 16:18:27.144 Access Channel: Registration
SRCH_WIN_A (PN chips): 28 SRCH_WIN_N (PN chips): 100, ACK_SEQ: 7 MSG_SEQ: 1 ACK_REQ: 1 VALID_ACK: 0
SRCH_WIN_R (PN chips): 130 NGHBR_MAX_AGE: 2 ACK_TYPE: 0
PWR_REP_THRESH: 2 PWR_REP_FRAMES (frames): 15 MSID_TYPE: 3, ESN: [0x 01 99 0d fc]
PWR_THRESH_ENABLE: 1 PWR_PERIOD_ENABLE: 0, MFR 1, Reserved 38, Serial Number 69116,
PWR_REP_DELAY: 1 (4 frames) RESCAN: 0, IMSI: (Class: 0, Class_0_type: 1) [0x 01 8d 31 74 29 36]
T_ADD: -14.0dB T_DROP: -16.0dB T_COMP: 2.5dB, T_TDROP: 4s 00-416-575-0421
EXT_SYS_PARAMETER: 1
AUTH_MODE: 0
EXT_NGHBR_LIST: 1
GLOBAL_REDIRECT: 0
REG_TYPE: Timer-based
SLOT_CYCLE_INDEX: 2
MOB_P_REV: 1
EXT_SCM: 1
SLOTTED_MODE: 1
BASE STATION ACKNOWLEDGMENT MOB_TERM: 1
16:18:27.506 Paging Channel: Order
ACK_SEQ: 1 MSG_SEQ: 0 ACK_REQ: 0 VALID_ACK: 1 The base station confirms that the mobile’s
MSID_TYPE: 2 IMSI: (Class: 0, Class_0_type: 3)
[0x 02 47 8d 31 74 29 36] (302) 00-416-575-0421 registration message was received. We’re
Order type: Base Station Acknowledgement Order
officially registered
Incoming Call
Receiving an Incoming Call
All idle mobiles monitor the paging channel to receive incoming
calls.
When an incoming call appears, the paging channel notifies the
mobile in a General Page Message.
A mobile which has been paged sends a Page Response Message
on the access channel.
The system sets up a traffic channel for the call, then notifies the
mobile to use it with a Channel Assignment Message.
The mobile and the base station notice each other’s traffic channel
signals and confirm their presence by exchanging acknowledgment
messages.
The base station and the mobile negotiate what type of call this
will be -- i.e., 13k voice, etc.
The mobile is told to ring and given a “calling line ID” to display.
When the human user presses the send button, the audio path is
completed and the call proceeds.
Page and Page Response
GENERAL PAGE MESSAGE
98/05/24 23:14:46.127 [PCH] General Page Message The system pages the mobile, 1071124566.
MSG_LENGTH = 128 bits
MSG_TYPE = General Page Message PAGE RESPONSE MESSAGE
CONFIG_MSG_SEQ = 1 ACC_MSG_SEQ = 20
98/05/24 23:14:46.425 [ACH] Page Response Message
CLASS_0_DONE = 1
MSG_LENGTH = 216 bits
CLASS_1_DONE = 1 RESERVED = 0
MSG_TYPE = Page Response Message
BROADCAST_DONE = 1 RESERVED = 0
ACK_SEQ = 1 MSG_SEQ = 2 ACK_REQ = 1
ADD_LENGTH = 0 bits ADD_PFIELD = Field Omitted
VALID_ACK = 1 ACK_TYPE = 2
PAGE_CLASS = 0 PAGE_SUBCLASS = 0
MSID_TYPE = IMSI and ESN MSID_LEN = 9 octets
MSG_SEQ = 1
ESN = 0xD30E415C IMSI_CLASS = 0
IMSI_S = 1071124566
IMSI_CLASS_0_TYPE = 0 RESERVED = 0
SPECIAL_SERVICE = 1
IMSI_S = 1071124566
SERVICE_OPTION = 32768
AUTH_MODE = 1
RESERVED = Field Omitted
AUTHR = 0x307B5 RANDC = 0xC6 COUNT = 0
MOB_TERM = 1 SLOT_CYCLE_INDEX = 0
The mobile responds to the page. MOB_P_REV = 3 SCM = 106
BASE STATION ACKNOWLEDGMENT REQUEST_MODE = Either Wide Analog or CDMA Only
98/05/24 23:14:46.768 [PCH] Order Message SERVICE_OPTION = 32768 PM = 0
MSG_LENGTH = 112 bits NAR_AN_CAP = 0 RESERVED = 0
MSG_TYPE = Order Message
ACK_SEQ = 2 MSG_SEQ = 0 ACK_REQ = 0 The base station confirms that the mobile’s
VALID_ACK = 1
ADDR_TYPE = IMSI ADDR_LEN = 40 bits page response was received. Now the mobile is
IMSI_CLASS = 0 IMSI_CLASS_0_TYPE = 0 RESERVED = 0
IMSI_S = 1071124566
waiting for channel assignment,
ORDER = Base Station Acknowledgement Order expecting a response within 12 seconds.
ADD_RECORD_LEN = 0 bits
Order-Specific Fields = Field Omitted RESERVED = 0
Channel Assignment and
Traffic Channel Confirmation
CHANNEL ASSIGNMENT MESSAGE
18:14:47.027 Paging Channel: Channel Assignment
ACK_SEQ: 2 MSG_SEQ: 1 ACK_REQ: 0 VALID_ACK: 1
Only about 400 ms. after the base station
MSID_TYPE: 2 IMSI: (Class: 0, Class_0_type: 0) acknowledgment order, the mobile receives
[0x 01 f8 39 6a 15] 615-330-0644
ASSIGN_MODE: Traffic Channel Assignment the channel assignment message.
ADD_RECORD_LEN: 5 FREQ_INCL: 1 GRANTED_MODE: 2
CODE_CHAN: 43 FRAME_OFFSET: 2
ENCRYPT_MODE: Encryption disabled
BAND_CLASS: 800 MHz cellular band
CDMA_FREQ: 283
The mobile sees at least two
The base station is already good blank frames in a row on
sending blank frames on the forward channel, and
the forward channel,using concludes this is the right traffic
the assigned Walsh code. channel. It sends a preamble
of two blank frames of its own
on the reverse traffic channel.
BASE STATION ACKNOWLEDGMENT
MOBILE STATION ACKNOWLEDGMENT
18:14:47.581 Forward Traffic Channel: Order
ACK_SEQ: 7 MSG_SEQ: 0 ACK_REQ: 1 18:14:47.598 Reverse Traffic Channel: Order
ENCRYPTION: 0 USE_TIME: 0 ACTION_TIME: 0 ACK_SEQ: 0 MSG_SEQ: 0 ACK_REQ: 0
Base Station Acknowledgement Order ENCRYPTION: 0
Mobile Station Acknowledgement Order
The base station acknowledges The mobile station acknowledges the
receiving the mobile’s preamble. base station’s acknowledgment.
Everybody is ready!
Service Negotiation and Mobile
Alert
SERVICE CONNECT MESSAGE Now that both sides have arrived on the
18:14:47.760 Forward Traffic Channel: Service Connect
ACK_SEQ: 0 MSG_SEQ: 1 ACK_REQ: 0 ENCRYPTION: 0 traffic channel, the base station
USE_TIME: 0 ACTION_TIME: 0 SERV_CON_SEQ: 0
Service Configuration: supported Transmission:
proposes that the requested call
Forward Traffic Channel Rate (Set 2): 14400, 7200, 3600, 1800 bps actually begin.
Reverse Traffic Channel Rate (Set 2): 14400, 7200, 3600, 1800 bps
Service option: (6) Voice (13k) (0x8000)
SERVICE CONNECT COMPLETE MSG.
Forward Traffic Channel: Primary Traffic 18:14:47.835 Reverse Traffic Channel:
Reverse Traffic Channel: Primary Traffic Service Connect Completion
ACK_SEQ: 1 MSG_SEQ: 3 ACK_REQ: 1
ENCRYPTION: 0 SERV_CON_SEQ: 0
ALERT WITH INFORMATION MESSAGE
18:14:47.961 Forward Traffic Channel:
The mobile agrees and
Alert With Information says its ready to play.
ACK_SEQ: 3 MSG_SEQ: 1 ACK_REQ: 1 ENCRYPTION: 0
SIGNAL_TYPE = IS-54B Alerting
ALERT_PITCH = Medium Pitch (Standard Alert)
SERVICE CONNECT COMPLETE is a
SIGNAL = Long RESERVED = 0 major milestone in call processing. Up
RECORD_TYPE = Calling Party Number until now, this was an access attempt.
RECORD_LEN = 96 bits
NUMBER_TYPE = National Number Now it is officially a call.
NUMBER_PLAN = ISDN/Telephony Numbering Plan
PI = Presentation Allowed SI = Network Provided
18:14:48.018 Reverse Traffic Channel: Order
CHARi = 6153000124 RESERVED = 0 RESERVED = 0
ACK_SEQ: 1 MSG_SEQ: 4 ACK_REQ: 0
ENCRYPTION: 0
The base station orders the mobile to ring, and Mobile Station Acknowledgement Order
gives it the calling party’s number to display. The mobile says it’s ringing.