Compressed Mode: WCDMA L1 Tutorial
Compressed Mode: WCDMA L1 Tutorial
Compressed Mode: WCDMA L1 Tutorial
Compressed Mode
Overview
2 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
Introduction
#1 #2 #3 #4 #5 #TGPRC
TG pattern 1 TG pattern 2 TG pattern 1 TG pattern 2 TG pattern 1 TG pattern 2
TG pattern 1 TG pattern 2
Transmission
Transmission Transmission Transmission gap 2
gap 1 gap 2 gap 1
TGSN TGSN
TGD TGD
TGPL1 TGPL2
5 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
Transmission gap
Transmission gap
Radio frame
(1) Single-frame method
Transmission gap
First radio frame Second radio frame
:
:
Transmission gap
:
:
Transmission gap
Radio frame
(2) Double-frame method
6 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
• More validation
– There are countless dangerous scenarios that the CM driver checks for in the
CM info validation process
• Examples
– (TGL1 > TGD) && (TGD > 0)
• Gap 2 starts before Gap 1 ends
– [(TGSN + TGD + TGL2) > (TGPL * 15)] && TGD > 0
• Gap 2 exceeds pattern length
– (TGSN + TGL1 - 1) / 15 = (TGSN + TGD) / 15 && (TGD >0)
• Gap 2 starts in the same frame where Gap 1 ends
– Attempt to activate a pattern for the same measurement purpose (TGMP) as an
already active pattern
– Other TGMP collisions etc.
10 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
CM Measurements
• L1CMMGR
– Opens gaps
– Triggers GSM or FDD measurements
• SRCHCMMEAS
– Determines usability of gap for measurements (e.g. does desired GSM burst fit
in usable gap)
– Stores cell lists for CM measurements
– Schedules commands to issue to MDSP
• SRCHGSMDRV
– Wrapper for using GL1 HW API
• SRCHCMDRV
– API for programming CM searches to MDSP firmware
11 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
L1CMMGR
GL1 HW drivers
Interface
to mDSP
mDSP
12 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
GSM Measurements
Interfrequency Measurements
• Recommended reading
– “FDD WCDMA Searches Inside And Outside CM Gaps” at
http://lvcrpprd.qualcomm.com/livelink/livelink?func=ll&objId=22642100&objAc
tion=browse
14 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
or
dl_phychan_recfg_validate()
Validate physical channel parameters
to reconfigure an existing physical channel
Phychan = DPCH
Yes
Finish DPCH
validation
Set flag to indicate CM
CM info info is present and valid
present?
No
Yes
l1_compressed_mode_validate_tgps_config()
Check for Activation of already Active Pattern, issue
deactive/active when necessary. Pass info to CM driver
for validation
l1_cm_validate_tgp_seq_info()
Validate all transmission gap parameters
l1_cm_tgmp_conflict_validate()
Ensure that ACT always precede DEACT, no TGPSI is
active at same time as another with same TGMP, etc.
15 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
dl_phychan_frm_bdry_cmd()
Local command to handle frame boundary events
dl_phychan_notify()
dl_dpch_notify()
l1_compressed_mode_tgps_config()
Configure TGPS Compressed
Mode Sequences in Setup
l1_cm_update_info()
Mark ACT sequences as going
active and store their activation CFN.
l1_cm_initial_process_cm_info()
Processes CM info for any TGPS ACT or DEACT
request. Saves the request and also sets the action
needed field for newly added TGPS.
16 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
F3 Messages
• CM info validation
– 15:50:42.194 l1cmmgr.c H 1391 L1CMMGR:Info validate
15:50:42.194 l1cmmgr.c H 1416 L1CMMGR:Validating Id 1 at idx 0
• CM info has been received and CM manager is validating seq ID 1 at index 0
– 15:50:42.194 l1cmmgr.c H 2419 L1CMMGR:Info Update CFN 134
SFN 1414
• CM info arrived at CFN 134
• CM Activation
– 15:50:42.194 l1cmmgr.c H 2041 L1CMMGR:Info Update init processing
15:50:42.194 l1cmmgr.c H 2102 L1CMMGR:Id 1 P_ACT CFN 156 cur 134
• Pattern to be activated at TGCFN 156 and current CFN is 134 so put as pending ACT.
– 15:50:42.194 l1cmmgr.c H 2148 L1CMMGR:#info/CMact 10002 Act 2 De 0
• Bit mask for ACT and DEACT in this MCM. Bit position corresponds to TGPSI.
In this MCM is it TGPSI 1 only to be activated
17 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
F3 Messages
• More CM Activation
– 15:50:42.308 l1cmmgr.c H 3907 L1CMMGR:ActTime pId 1 cur at CFN 156
• There is advance update of compressed mode info by 8 frames so it is marked active for
stat generation.
– 15:50:42.308 l1cmmgr.c H 3965 L1CMMGR:Id 1 marked for ACT stat update
15:50:42.308 l1cmmgr.c H 2558 L1CMMGR:Init TGPS stats for Id 1
15:50:42.308 l1cmmgr.c H 2601 L1CMMGR:NumFr TGPS 1 left -1 initAdv 0
• -1 indicates infinite TGPRC
– 15:50:42.308 l1cmmgr.c H 3079 L1CMMGR:Id 1 resetting TGPRC at begining
15:50:42.388 l1cmmgr.c H 3953 L1CMMGR:Id 1 ACT CFN 156 cur 155
15:50:42.408 l1cmmgr.c H 2207 L1CMMGR:Id 1 RSSI meas exist
15:50:42.408 l1cmmgr.c H 3553 L1CMMGR:Id 1 going ACT CFN 156
15:50:42.408 l1cmmgr.c H 3556 L1CMMGR:TGPS_ACTIVATE ACT SFN 1436
• Compressed mode pattern going active now and has started sending commands to mDSP.
18 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
F3 Messages
• Suspending CM
– l1cmmgr.c 7426 H L1CMMGR:Suspend rece CFN 249 st 256
– l1cmmgr.c 3264 H L1CMMGR:CM suspend time CFN 249
• Received a command to suspend compressed mode operation.
19 10/5/2019 WCDMA Layer 1 Tutorial
Compressed Mode
Q&A