Debian Codegraph @

gobi-api/Gobi_2011-11-28-1533/GobiConnectionMgmt/GobiConnectionMgmtAPIStructs.h

raw
1 /*===========================================================================
2 FILE:
3 GobiConnectionMgmtAPIStructs.h
4
5 DESCRIPTION:
6 Declaration of the Gobi API structures
7
8 Copyright (c) 2011, Code Aurora Forum. All rights reserved.
9
10 Redistribution and use in source and binary forms, with or without
11 modification, are permitted provided that the following conditions are met:
12 * Redistributions of source code must retain the above copyright
13 notice, this list of conditions and the following disclaimer.
14 * Redistributions in binary form must reproduce the above copyright
15 notice, this list of conditions and the following disclaimer in the
16 documentation and/or other materials provided with the distribution.
17 * Neither the name of Code Aurora Forum nor
18 the names of its contributors may be used to endorse or promote
19 products derived from this software without specific prior written
20 permission.
21
22
23 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
24 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
26 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
27 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
28 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
31 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
32 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
33 POSSIBILITY OF SUCH DAMAGE.
34 ==========================================================================*/
35
36 #pragma once
37
38 // Include the enumerations
39 #include "GobiConnectionMgmtAPIEnums.h"
40
41 #pragma pack( push, 1 )
42
43 // Struct to represent a QMI (control/service) content
44 struct sQMIRawContentHeader
45 {
46 BYTE mTypeID;
47 WORD mLength;
48
49 // This array must be the size specified by mLength
50 // BYTE mValue[1];
51 };
52
53 // Structure to describe TLV 0x02, the Result Code
54 // It is common for all Responses
55 struct sResultCode
56 {
57 eQMIResults mQMIResult;
58 eQMIErrors mQMIError;
59 };
60
61 // Structure to describe TLV 0x01 for QMI LOC, the status
62 // It is common for QMI LOC indications above 0x0032
63 struct sLOCIndication_Status
64 {
65 eQMILOCStatus mStatus;
66 };
67
68 // Structure to describe request TLV 0x10 for WDSSetEventReport()
69 struct sWDSSetEventReportRequest_ChannelRateIndicator
70 {
71 INT8 mReportChannelRate;
72 };
73
74 // Structure to describe request TLV 0x11 for WDSSetEventReport()
75 struct sWDSSetEventReportRequest_TransferStatisticsIndicator
76 {
77 UINT8 mTransferStatisticsIntervalSeconds;
78 bool mReportTXPacketSuccesses:1;
79 bool mReportRXPacketSuccesses:1;
80 bool mReportTXPacketErrors:1;
81 bool mReportRXPacketErrors:1;
82 bool mReportTXOverflows:1;
83 bool mReportRXOverflows:1;
84 bool mTXByteTotal:1;
85 bool mRXByteTotal:1;
86
87 // Padding out 24 bits
88 UINT8 mReserved1[3];
89 };
90
91 // Structure to describe request TLV 0x12 for WDSSetEventReport()
92 struct sWDSSetEventReportRequest_DataBearerTechnologyIndicator
93 {
94 INT8 mReportDataBearerTechnology;
95 };
96
97 // Structure to describe request TLV 0x13 for WDSSetEventReport()
98 struct sWDSSetEventReportRequest_DormancyStatusIndicator
99 {
100 INT8 mReportDormancyStatus;
101 };
102
103 // Structure to describe request TLV 0x14 for WDSSetEventReport()
104 struct sWDSSetEventReportRequest_MIPStatusIndicator
105 {
106 INT8 mReportMIPStatus;
107 };
108
109 // Structure to describe request TLV 0x15 for WDSSetEventReport()
110 struct sWDSSetEventReportRequest_CurrentDataBearerTechnologyIndicator
111 {
112 INT8 mReportDataBearerTechnology;
113 };
114
115 // Structure to describe request TLV 0x17 for WDSSetEventReport()
116 struct sWDSSetEventReportRequest_DataCallStatusIndicator
117 {
118 INT8 mReportDataCallStatus;
119 };
120
121 // Structure to describe request TLV 0x18 for WDSSetEventReport()
122 struct sWDSSetEventReportRequest_PreferredDataSystemIndicator
123 {
124 INT8 mReportPreferredDataSystem;
125 };
126
127 // Structure to describe request TLV 0x19 for WDSSetEventReport()
128 struct sWDSSetEventReportRequest_EVDOPMChangeIndicator
129 {
130 INT8 mReportEVDOPageMonitorPeriodChange;
131 };
132
133 // Structure to describe indication TLV 0x10 for WDS EventReport
134 struct sWDSEventReportIndication_TXPacketSuccesses
135 {
136 UINT32 mTXPacketSuccesses;
137 };
138
139 // Structure to describe indication TLV 0x11 for WDS EventReport
140 struct sWDSEventReportIndication_RXPacketSuccesses
141 {
142 UINT32 mRXPacketSuccesses;
143 };
144
145 // Structure to describe indication TLV 0x12 for WDS EventReport
146 struct sWDSEventReportIndication_TXPacketErrors
147 {
148 UINT32 mTXPacketErrors;
149 };
150
151 // Structure to describe indication TLV 0x13 for WDS EventReport
152 struct sWDSEventReportIndication_RXPacketErrors
153 {
154 UINT32 mRXPacketErrors;
155 };
156
157 // Structure to describe indication TLV 0x14 for WDS EventReport
158 struct sWDSEventReportIndication_TXOverflows
159 {
160 UINT32 mTXOverflows;
161 };
162
163 // Structure to describe indication TLV 0x15 for WDS EventReport
164 struct sWDSEventReportIndication_RXOverflows
165 {
166 UINT32 mRXOverflows;
167 };
168
169 // Structure to describe indication TLV 0x16 for WDS EventReport
170 struct sWDSEventReportIndication_ChannelRates
171 {
172 UINT32 mChannelTXRatebps;
173 UINT32 mChannelRXRatebps;
174 };
175
176 // Structure to describe indication TLV 0x17 for WDS EventReport
177 struct sWDSEventReportIndication_DataBearerTechnology
178 {
179 eQMIDataBearerTechnologies mDataBearerTechnology;
180 };
181
182 // Structure to describe indication TLV 0x18 for WDS EventReport
183 struct sWDSEventReportIndication_DormancyStatus
184 {
185 eQMIDormancyStatus mDormancyStatus;
186 };
187
188 // Structure to describe indication TLV 0x19 for WDS EventReport
189 struct sWDSEventReportIndication_TXBytes
190 {
191 UINT64 mTXByteTotal;
192 };
193
194 // Structure to describe indication TLV 0x1A for WDS EventReport
195 struct sWDSEventReportIndication_RXBytes
196 {
197 UINT64 mRXByteTotal;
198 };
199
200 // Structure to describe indication TLV 0x1B for WDS EventReport
201 struct sWDSEventReportIndication_MIPStatus
202 {
203 UINT8 mMIPStatus;
204 };
205
206 // Structure to describe indication TLV 0x1D for WDS EventReport
207 struct sWDSEventReportIndication_CurrentDataBearerTechnology
208 {
209 eQMIWDSNetworkTypes mNetworkType;
210
211 // The following union is based on the value of mNetworkType
212 union uValOfNetworkType
213 {
214 // If the value of mNetworkType == 1
215 struct sNetworkTypeIs1
216 {
217 bool mCDMA1x:1;
218 bool mCDMA1xEvDORev0:1;
219 bool mCDMA1xEvDORevA:1;
220
221 // Padding out 28 bits
222 UINT8 mReserved1:5;
223 UINT8 mReserved2[2];
224 UINT8 mReserved3:7;
225
226 bool mNullBearer:1;
227
228 // The following union is for handing both mCDMA1x and mCDMA1xEvDORevA
229 union uValOfCDMA1x_or_CDMA1xEvDORevA
230 {
231 // If the value of mCDMA1x == 1
232 struct sCDMA1xIs1
233 {
234 bool mCDMA1xIS95:1;
235 bool mCDMA1xIS2000:1;
236 bool mCDMA1xIS2000RelA:1;
237
238 // Padding out 29 bits
239 UINT8 mReserved4:5;
240 UINT8 mReserved5[3];
241 };
242
243 sCDMA1xIs1 mCDMA1xIs1;
244
245 // If the value of mCDMA1xEvDORevA == 1
246 struct sCDMA1xEvDORevAIs1
247 {
248 bool mCDMA1xEvDORevADPA:1;
249 bool mCDMA1xEvDORevAMFPA:1;
250 bool mCDMA1xEvDORevAEMPA:1;
251 bool mCDMA1xEvDORevAEMPAEHRPD:1;
252
253 // Padding out 28 bits
254 UINT8 mReserved6:4;
255 UINT8 mReserved7[3];
256 };
257
258 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
259
260 // Padding out 32 bits
261 UINT8 mReserved8[4];
262 };
263
264 uValOfCDMA1x_or_CDMA1xEvDORevA mValOfCDMA1x_or_CDMA1xEvDORevA;
265 };
266
267 sNetworkTypeIs1 mNetworkTypeIs1;
268
269 // If the value of mNetworkType == 2
270 struct sNetworkTypeIs2
271 {
272 bool mWCDMA:1;
273 bool mGPRS:1;
274 bool mHSDPA:1;
275 bool mHSUPA:1;
276 bool mEDGE:1;
277 bool mLTE:1;
278 bool mHSDPAPlus:1;
279 bool mDualCellHSDPAPlus:1;
280
281 // Padding out 23 bits
282 UINT8 mReserved9[2];
283 UINT8 mReserved10:7;
284
285 bool mNullBearer:1;
286 };
287
288 sNetworkTypeIs2 mNetworkTypeIs2;
289
290 // Padding out 64 bits
291 UINT8 mReserved11[8];
292 };
293
294 uValOfNetworkType mValOfNetworkType;
295 };
296
297 // Structure to describe indication TLV 0x1F for WDS EventReport
298 struct sWDSEventReportIndication_DataCallStatus
299 {
300 eQMIWDSDataCallStatus mDataCallStatus;
301 };
302
303 // Structure to describe indication TLV 0x20 for WDS EventReport
304 struct sWDSEventReportIndication_PreferredDataSystem
305 {
306 eQMIWDSDataSystems mPreferredDataSystem;
307 };
308
309 // Structure to describe indication TLV 0x22 for WDS EventReport
310 struct sWDSEventReportIndication_DataCallType
311 {
312 eQMIWDSDataCallTypes mDataCallType;
313 eQMIWDSTetheredCallTypes mTetheredCallType;
314 };
315
316 // Structure to describe indication TLV 0x23 for WDS EventReport
317 struct sWDSEventReportIndication_EVDOPageMonitorPeriodChange
318 {
319 UINT8 mEVDOPageMonitorPeriodChange;
320 INT8 mEVDOForceLongSleep;
321 };
322
323 // Structure to describe request TLV 0x01 for WDSAbort()
324 struct sWDSAbortRequest_TransactionID
325 {
326 UINT16 mTransactionID;
327 };
328
329 // Structure to describe request TLV 0x10 for WDSStartNetworkInterface()
330 struct sWDSStartNetworkInterfaceRequest_PrimaryDNS
331 {
332 UINT8 mIPV4Address[4];
333 };
334
335 // Structure to describe request TLV 0x11 for WDSStartNetworkInterface()
336 struct sWDSStartNetworkInterfaceRequest_SecondaryDNS
337 {
338 UINT8 mIPV4Address[4];
339 };
340
341 // Structure to describe request TLV 0x12 for WDSStartNetworkInterface()
342 struct sWDSStartNetworkInterfaceRequest_PrimaryNBNS
343 {
344 UINT8 mIPV4Address[4];
345 };
346
347 // Structure to describe request TLV 0x13 for WDSStartNetworkInterface()
348 struct sWDSStartNetworkInterfaceRequest_SecondaryNBNS
349 {
350 UINT8 mIPV4Address[4];
351 };
352
353 // Structure to describe request TLV 0x14 for WDSStartNetworkInterface()
354 struct sWDSStartNetworkInterfaceRequest_ContextAPNName
355 {
356 // String is variable length, but must be size of the container
357 // char mAPNName[1];
358 };
359
360 // Structure to describe request TLV 0x15 for WDSStartNetworkInterface()
361 struct sWDSStartNetworkInterfaceRequest_IPAddress
362 {
363 UINT8 mIPV4Address[4];
364 };
365
366 // Structure to describe request TLV 0x16 for WDSStartNetworkInterface()
367 struct sWDSStartNetworkInterfaceRequest_Authentication
368 {
369 bool mEnablePAP:1;
370 bool mEnableCHAP:1;
371
372 // Padding out 6 bits
373 UINT8 mReserved1:6;
374 };
375
376 // Structure to describe request TLV 0x17 for WDSStartNetworkInterface()
377 struct sWDSStartNetworkInterfaceRequest_Username
378 {
379 // String is variable length, but must be size of the container
380 // char mUsername[1];
381 };
382
383 // Structure to describe request TLV 0x18 for WDSStartNetworkInterface()
384 struct sWDSStartNetworkInterfaceRequest_Password
385 {
386 // String is variable length, but must be size of the container
387 // char mPassword[1];
388 };
389
390 // Structure to describe request TLV 0x19 for WDSStartNetworkInterface()
391 struct sWDSStartNetworkInterfaceRequest_IPFamily
392 {
393 eQMIWDSIPFamilies mIPFamily;
394 };
395
396 // Structure to describe request TLV 0x30 for WDSStartNetworkInterface()
397 struct sWDSStartNetworkInterfaceRequest_TechnologyPreference
398 {
399 bool mEnable3GPP:1;
400 bool mEnable3GPP2:1;
401
402 // Padding out 6 bits
403 UINT8 mReserved1:6;
404 };
405
406 // Structure to describe request TLV 0x31 for WDSStartNetworkInterface()
407 struct sWDSStartNetworkInterfaceRequest_3GPPProfileIdentifier
408 {
409 UINT8 mProfileIndex;
410 };
411
412 // Structure to describe request TLV 0x32 for WDSStartNetworkInterface()
413 struct sWDSStartNetworkInterfaceRequest_3GPP2ProfileIdentifier
414 {
415 UINT8 mProfileIndex;
416 };
417
418 // Structure to describe request TLV 0x33 for WDSStartNetworkInterface()
419 struct sWDSStartNetworkInterfaceRequest_Autoconnect
420 {
421 eQMIWDSAutoconnectSettings mAutoconnectSetting;
422 };
423
424 // Structure to describe request TLV 0x34 for WDSStartNetworkInterface()
425 struct sWDSStartNetworkInterfaceRequest_ExtendedTechnologyPreference
426 {
427 eQMIWDSExtendedTechPrefs mExtendedTechnologyPreference;
428 };
429
430 // Structure to describe request TLV 0x35 for WDSStartNetworkInterface()
431 struct sWDSStartNetworkInterfaceRequest_CallType
432 {
433 eQMIWDSCallTypes mCallType;
434 };
435
436 // Structure to describe response TLV 0x01 for WDSStartNetworkInterface()
437 struct sWDSStartNetworkInterfaceResponse_PacketDataHandle
438 {
439 UINT32 mPacketDataHandle;
440 };
441
442 // Structure to describe response TLV 0x10 for WDSStartNetworkInterface()
443 struct sWDSStartNetworkInterfaceResponse_CallEndReason
444 {
445 eQMICallEndReasons mCallEnd;
446 };
447
448 // Structure to describe response TLV 0x11 for WDSStartNetworkInterface()
449 struct sWDSStartNetworkInterfaceResponse_VerboseCallEndReason
450 {
451 eQMIWDSCallEndReasonTypes mCallEndReasonType;
452
453 // The following union is based on the value of mCallEndReasonType
454 union uValOfCallEndReasonType
455 {
456 // Always present
457 UINT16 mCallEndReasonValue;
458
459 // If the value of mCallEndReasonType == 1
460 struct sCallEndReasonTypeIs1
461 {
462 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
463 };
464
465 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
466
467 // If the value of mCallEndReasonType == 2
468 struct sCallEndReasonTypeIs2
469 {
470 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
471 };
472
473 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
474
475 // If the value of mCallEndReasonType == 3
476 struct sCallEndReasonTypeIs3
477 {
478 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
479 };
480
481 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
482
483 // If the value of mCallEndReasonType == 6
484 struct sCallEndReasonTypeIs6
485 {
486 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
487 };
488
489 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
490
491 // If the value of mCallEndReasonType == 7
492 struct sCallEndReasonTypeIs7
493 {
494 eQMIWDSPPPCallEndReason mPPPCallEndReason;
495 };
496
497 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
498
499 // If the value of mCallEndReasonType == 8
500 struct sCallEndReasonTypeIs8
501 {
502 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
503 };
504
505 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
506
507 // If the value of mCallEndReasonType == 9
508 struct sCallEndReasonTypeIs9
509 {
510 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
511 };
512
513 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
514
515 // Padding out 16 bits
516 UINT8 mReserved1[2];
517 };
518
519 uValOfCallEndReasonType mValOfCallEndReasonType;
520 };
521
522 // Structure to describe request TLV 0x01 for WDSStopNetworkInterface()
523 struct sWDSStopNetworkInterfaceRequest_PacketDataHandle
524 {
525 UINT32 mPacketDataHandle;
526 };
527
528 // Structure to describe request TLV 0x10 for WDSStopNetworkInterface()
529 struct sWDSStopNetworkInterfaceRequest_Autoconnect
530 {
531 INT8 mAutoconnectOff;
532 };
533
534 // Structure to describe response TLV 0x01 for WDSGetPacketServiceStatus()
535 struct sWDSGetPacketServiceStatusResponse_Status
536 {
537 eQMIConnectionStatus mConnectionStatus;
538 };
539
540 // Structure to describe indication TLV 0x01 for WDS PacketServiceStatusReport
541 struct sWDSPacketServiceStatusReportIndication_Status
542 {
543 eQMIConnectionStatus mConnectionStatus;
544 INT8 mReconfigureRequired;
545 };
546
547 // Structure to describe indication TLV 0x10 for WDS PacketServiceStatusReport
548 struct sWDSPacketServiceStatusReportIndication_CallEndReason
549 {
550 eQMICallEndReasons mCallEnd;
551 };
552
553 // Structure to describe indication TLV 0x11 for WDS PacketServiceStatusReport
554 struct sWDSPacketServiceStatusReportIndication_VerboseCallEndReason
555 {
556 eQMIWDSCallEndReasonTypes mCallEndReasonType;
557
558 // The following union is based on the value of mCallEndReasonType
559 union uValOfCallEndReasonType
560 {
561 // Always present
562 UINT16 mCallEndReasonValue;
563
564 // If the value of mCallEndReasonType == 1
565 struct sCallEndReasonTypeIs1
566 {
567 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
568 };
569
570 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
571
572 // If the value of mCallEndReasonType == 2
573 struct sCallEndReasonTypeIs2
574 {
575 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
576 };
577
578 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
579
580 // If the value of mCallEndReasonType == 3
581 struct sCallEndReasonTypeIs3
582 {
583 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
584 };
585
586 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
587
588 // If the value of mCallEndReasonType == 6
589 struct sCallEndReasonTypeIs6
590 {
591 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
592 };
593
594 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
595
596 // If the value of mCallEndReasonType == 7
597 struct sCallEndReasonTypeIs7
598 {
599 eQMIWDSPPPCallEndReason mPPPCallEndReason;
600 };
601
602 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
603
604 // If the value of mCallEndReasonType == 8
605 struct sCallEndReasonTypeIs8
606 {
607 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
608 };
609
610 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
611
612 // If the value of mCallEndReasonType == 9
613 struct sCallEndReasonTypeIs9
614 {
615 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
616 };
617
618 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
619
620 // Padding out 16 bits
621 UINT8 mReserved1[2];
622 };
623
624 uValOfCallEndReasonType mValOfCallEndReasonType;
625 };
626
627 // Structure to describe indication TLV 0x12 for WDS PacketServiceStatusReport
628 struct sWDSPacketServiceStatusReportIndication_IPFamily
629 {
630 eQMIWDSIPFamilies mIPFamily;
631 };
632
633 // Structure to describe response TLV 0x01 for WDSGetChannelRates()
634 struct sWDSGetChannelRatesResponse_ChannelRates
635 {
636 UINT32 mChannelTXRatebps;
637 UINT32 mChannelRXRatebps;
638 UINT32 mMaxChannelTXRatebps;
639 UINT32 mMaxChannelRXRatebps;
640 };
641
642 // Structure to describe request TLV 0x01 for WDSGetPacketStatistics()
643 struct sWDSGetPacketStatisticsRequest_PacketStatsMask
644 {
645 bool mReportTXPacketSuccesses:1;
646 bool mReportRXPacketSuccesses:1;
647 bool mReportTXPacketErrors:1;
648 bool mReportRXPacketErrors:1;
649 bool mReportTXOverflows:1;
650 bool mReportRXOverflows:1;
651 bool mTXByteTotal:1;
652 bool mRXByteTotal:1;
653
654 // Padding out 24 bits
655 UINT8 mReserved1[3];
656 };
657
658 // Structure to describe response TLV 0x10 for WDSGetPacketStatistics()
659 struct sWDSGetPacketStatisticsResponse_TXPacketSuccesses
660 {
661 UINT32 mTXPacketSuccesses;
662 };
663
664 // Structure to describe response TLV 0x11 for WDSGetPacketStatistics()
665 struct sWDSGetPacketStatisticsResponse_RXPacketSuccesses
666 {
667 UINT32 mRXPacketSuccesses;
668 };
669
670 // Structure to describe response TLV 0x12 for WDSGetPacketStatistics()
671 struct sWDSGetPacketStatisticsResponse_TXPacketErrors
672 {
673 UINT32 mTXPacketErrors;
674 };
675
676 // Structure to describe response TLV 0x13 for WDSGetPacketStatistics()
677 struct sWDSGetPacketStatisticsResponse_RXPacketErrors
678 {
679 UINT32 mRXPacketErrors;
680 };
681
682 // Structure to describe response TLV 0x14 for WDSGetPacketStatistics()
683 struct sWDSGetPacketStatisticsResponse_TXOverflows
684 {
685 UINT32 mTXOverflows;
686 };
687
688 // Structure to describe response TLV 0x15 for WDSGetPacketStatistics()
689 struct sWDSGetPacketStatisticsResponse_RXOverflows
690 {
691 UINT32 mRXOverflows;
692 };
693
694 // Structure to describe response TLV 0x19 for WDSGetPacketStatistics()
695 struct sWDSGetPacketStatisticsResponse_TXBytes
696 {
697 UINT64 mTXByteTotal;
698 };
699
700 // Structure to describe response TLV 0x1A for WDSGetPacketStatistics()
701 struct sWDSGetPacketStatisticsResponse_RXBytes
702 {
703 UINT64 mRXByteTotal;
704 };
705
706 // Structure to describe response TLV 0x1B for WDSGetPacketStatistics()
707 struct sWDSGetPacketStatisticsResponse_PreviousTXBytes
708 {
709 UINT64 mPreviousCallTXByteTotal;
710 };
711
712 // Structure to describe response TLV 0x1C for WDSGetPacketStatistics()
713 struct sWDSGetPacketStatisticsResponse_PreviousRXBytes
714 {
715 UINT64 mPreviousCallRXByteTotal;
716 };
717
718 // Structure to describe request TLV 0x01 for WDSCreateProfile()
719 struct sWDSCreateProfileRequest_ProfileType
720 {
721 eQMIProfileTypes mProfileType;
722 };
723
724 // Structure to describe request TLV 0x10 for WDSCreateProfile()
725 struct sWDSCreateProfileRequest_ProfileName
726 {
727 // String is variable length, but must be size of the container
728 // char mProfileName[1];
729 };
730
731 // Structure to describe request TLV 0x11 for WDSCreateProfile()
732 struct sWDSCreateProfileRequest_PDPType
733 {
734 eQMIPDPTypes mPDPType;
735 };
736
737 // Structure to describe request TLV 0x12 for WDSCreateProfile()
738 struct sWDSCreateProfileRequest_PDPHeaderCompressionType
739 {
740 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
741 };
742
743 // Structure to describe request TLV 0x13 for WDSCreateProfile()
744 struct sWDSCreateProfileRequest_PDPDataCompressionType
745 {
746 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
747 };
748
749 // Structure to describe request TLV 0x14 for WDSCreateProfile()
750 struct sWDSCreateProfileRequest_APNName
751 {
752 // String is variable length, but must be size of the container
753 // char mAPNName[1];
754 };
755
756 // Structure to describe request TLV 0x15 for WDSCreateProfile()
757 struct sWDSCreateProfileRequest_PrimaryDNS
758 {
759 UINT8 mIPV4Address[4];
760 };
761
762 // Structure to describe request TLV 0x16 for WDSCreateProfile()
763 struct sWDSCreateProfileRequest_SecondaryDNS
764 {
765 UINT8 mIPV4Address[4];
766 };
767
768 // Structure to describe request TLV 0x17 for WDSCreateProfile()
769 struct sWDSCreateProfileRequest_UMTSRequestedQoS
770 {
771 eQMITrafficClasses mTrafficClass;
772 UINT32 mMaxUplinkBitrate;
773 UINT32 mMaxDownlinkBitrate;
774 UINT32 mGuaranteedUplinkBitrate;
775 UINT32 mGuaranteedDownlinkBitrate;
776 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
777 UINT32 mMaxSDUSize;
778 eQMISDUErrorRatios mSDUErrorRatio;
779 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
780 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
781 UINT32 mTransferDelay;
782 UINT32 mTrafficHandlingPriority;
783 };
784
785 // Structure to describe request TLV 0x18 for WDSCreateProfile()
786 struct sWDSCreateProfileRequest_UMTSMinimumQoS
787 {
788 eQMITrafficClasses mTrafficClass;
789 UINT32 mMaxUplinkBitrate;
790 UINT32 mMaxDownlinkBitrate;
791 UINT32 mGuaranteedUplinkBitrate;
792 UINT32 mGuaranteedDownlinkBitrate;
793 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
794 UINT32 mMaxSDUSize;
795 eQMISDUErrorRatios mSDUErrorRatio;
796 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
797 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
798 UINT32 mTransferDelay;
799 UINT32 mTrafficHandlingPriority;
800 };
801
802 // Structure to describe request TLV 0x19 for WDSCreateProfile()
803 struct sWDSCreateProfileRequest_GPRSRequestedQoS
804 {
805 UINT32 mPrecedenceClass;
806 UINT32 mDelayClass;
807 UINT32 mReliabilityClass;
808 UINT32 mPeakThroughputClass;
809 UINT32 mMeanThroughputClass;
810 };
811
812 // Structure to describe request TLV 0x1A for WDSCreateProfile()
813 struct sWDSCreateProfileRequest_GPRSMinimumQoS
814 {
815 UINT32 mPrecedenceClass;
816 UINT32 mDelayClass;
817 UINT32 mReliabilityClass;
818 UINT32 mPeakThroughputClass;
819 UINT32 mMeanThroughputClass;
820 };
821
822 // Structure to describe request TLV 0x1B for WDSCreateProfile()
823 struct sWDSCreateProfileRequest_Username
824 {
825 // String is variable length, but must be size of the container
826 // char mUsername[1];
827 };
828
829 // Structure to describe request TLV 0x1C for WDSCreateProfile()
830 struct sWDSCreateProfileRequest_Password
831 {
832 // String is variable length, but must be size of the container
833 // char mPassword[1];
834 };
835
836 // Structure to describe request TLV 0x1D for WDSCreateProfile()
837 struct sWDSCreateProfileRequest_Authentication
838 {
839 bool mEnablePAP:1;
840 bool mEnableCHAP:1;
841
842 // Padding out 6 bits
843 UINT8 mReserved1:6;
844 };
845
846 // Structure to describe request TLV 0x1E for WDSCreateProfile()
847 struct sWDSCreateProfileRequest_IPAddress
848 {
849 UINT8 mIPV4Address[4];
850 };
851
852 // Structure to describe request TLV 0x1F for WDSCreateProfile()
853 struct sWDSCreateProfileRequest_PCSCF
854 {
855 INT8 mPCSCFAddressUsingPCO;
856 };
857
858 // Structure to describe request TLV 0x20 for WDSCreateProfile()
859 struct sWDSCreateProfileRequest_PDPAccessControlFlag
860 {
861 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
862 };
863
864 // Structure to describe request TLV 0x21 for WDSCreateProfile()
865 struct sWDSCreateProfileRequest_PCSCFAddressUsingDHCP
866 {
867 INT8 mPCSCFAddressUsingDHCP;
868 };
869
870 // Structure to describe request TLV 0x22 for WDSCreateProfile()
871 struct sWDSCreateProfileRequest_IMCNFlag
872 {
873 INT8 mIMCN;
874 };
875
876 // Structure to describe request TLV 0x23 for WDSCreateProfile()
877 struct sWDSCreateProfileRequest_TrafficFlowTemplateID1Parameters
878 {
879 UINT8 mFilterID;
880 UINT8 mEvaluationID;
881 eQMIWDSIPVersion mIPVersion;
882
883 // The following union is based on the value of mIPVersion
884 union uValOfIPVersion
885 {
886 // If the value of mIPVersion == 4
887 struct sIPVersionIs4
888 {
889 UINT8 mIPV4Address[4];
890 };
891
892 sIPVersionIs4 mIPVersionIs4;
893
894 // If the value of mIPVersion == 6
895 struct sIPVersionIs6
896 {
897 UINT16 mIPv6Address[8];
898 };
899
900 sIPVersionIs6 mIPVersionIs6;
901
902 // Padding out 128 bits
903 UINT8 mReserved1[16];
904 };
905
906 uValOfIPVersion mValOfIPVersion;
907
908 UINT8 mSourceIPMask;
909 UINT8 mNextHeader;
910 UINT16 mDestinationPortRangeStart;
911 UINT16 mDestinationPortRangeEnd;
912 UINT16 mSourcePortRangeStart;
913 UINT16 mSourcePortRangeEnd;
914 UINT32 mIPSECSecurityParameterIndex;
915 UINT16 mTOSMask;
916 UINT32 mFlowLabel;
917 };
918
919 // Structure to describe request TLV 0x24 for WDSCreateProfile()
920 struct sWDSCreateProfileRequest_TrafficFlowTemplateID2Parameters
921 {
922 UINT8 mFilterID;
923 UINT8 mEvaluationID;
924 eQMIWDSIPVersion mIPVersion;
925
926 // The following union is based on the value of mIPVersion
927 union uValOfIPVersion
928 {
929 // If the value of mIPVersion == 4
930 struct sIPVersionIs4
931 {
932 UINT8 mIPV4Address[4];
933 };
934
935 sIPVersionIs4 mIPVersionIs4;
936
937 // If the value of mIPVersion == 6
938 struct sIPVersionIs6
939 {
940 UINT16 mIPv6Address[8];
941 };
942
943 sIPVersionIs6 mIPVersionIs6;
944
945 // Padding out 128 bits
946 UINT8 mReserved1[16];
947 };
948
949 uValOfIPVersion mValOfIPVersion;
950
951 UINT8 mSourceIPMask;
952 UINT8 mNextHeader;
953 UINT16 mDestinationPortRangeStart;
954 UINT16 mDestinationPortRangeEnd;
955 UINT16 mSourcePortRangeStart;
956 UINT16 mSourcePortRangeEnd;
957 UINT32 mIPSECSecurityParameterIndex;
958 UINT16 mTOSMask;
959 UINT32 mFlowLabel;
960 };
961
962 // Structure to describe request TLV 0x25 for WDSCreateProfile()
963 struct sWDSCreateProfileRequest_PDPContextNumber
964 {
965 UINT8 mPDPContextNumber;
966 };
967
968 // Structure to describe request TLV 0x26 for WDSCreateProfile()
969 struct sWDSCreateProfileRequest_PDPContextSecondaryFlag
970 {
971 INT8 mPDPContextSecondaryFlag;
972 };
973
974 // Structure to describe request TLV 0x27 for WDSCreateProfile()
975 struct sWDSCreateProfileRequest_PDPContextPrimaryID
976 {
977 UINT8 mPDPPrimaryID;
978 };
979
980 // Structure to describe request TLV 0x28 for WDSCreateProfile()
981 struct sWDSCreateProfileRequest_IPv6Address
982 {
983 UINT16 mIPv6Address[8];
984 };
985
986 // Structure to describe request TLV 0x29 for WDSCreateProfile()
987 struct sWDSCreateProfileRequest_RequestedQoS
988 {
989 eQMITrafficClasses mTrafficClass;
990 UINT32 mMaxUplinkBitrate;
991 UINT32 mMaxDownlinkBitrate;
992 UINT32 mGuaranteedUplinkBitrate;
993 UINT32 mGuaranteedDownlinkBitrate;
994 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
995 UINT32 mMaxSDUSize;
996 eQMISDUErrorRatios mSDUErrorRatio;
997 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
998 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
999 UINT32 mTransferDelay;
1000 UINT32 mTrafficHandlingPriority;
1001 INT8 mSignalingIndication;
1002 };
1003
1004 // Structure to describe request TLV 0x2A for WDSCreateProfile()
1005 struct sWDSCreateProfileRequest_MinimumQoS
1006 {
1007 eQMITrafficClasses mTrafficClass;
1008 UINT32 mMaxUplinkBitrate;
1009 UINT32 mMaxDownlinkBitrate;
1010 UINT32 mGuaranteedUplinkBitrate;
1011 UINT32 mGuaranteedDownlinkBitrate;
1012 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1013 UINT32 mMaxSDUSize;
1014 eQMISDUErrorRatios mSDUErrorRatio;
1015 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1016 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1017 UINT32 mTransferDelay;
1018 UINT32 mTrafficHandlingPriority;
1019 INT8 mSignalingIndication;
1020 };
1021
1022 // Structure to describe request TLV 0x2B for WDSCreateProfile()
1023 struct sWDSCreateProfileRequest_PrimaryIPv6
1024 {
1025 UINT16 mIPv6Address[8];
1026 };
1027
1028 // Structure to describe request TLV 0x2C for WDSCreateProfile()
1029 struct sWDSCreateProfileRequest_SecondaryIPv6
1030 {
1031 UINT16 mIPv6Address[8];
1032 };
1033
1034 // Structure to describe request TLV 0x2D for WDSCreateProfile()
1035 struct sWDSCreateProfileRequest_AddressPreference
1036 {
1037 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
1038 };
1039
1040 // Structure to describe request TLV 0x2E for WDSCreateProfile()
1041 struct sWDSCreateProfileRequest_LTEQoSParameters
1042 {
1043 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
1044 UINT32 mGuaranteedDownlinkBitrate;
1045 UINT32 mMaxDownlinkBitrate;
1046 UINT32 mGuaranteedUplinkBitrate;
1047 UINT32 mMaxUplinkBitrate;
1048 };
1049
1050 // Structure to describe request TLV 0x2F for WDSCreateProfile()
1051 struct sWDSCreateProfileRequest_APNDisabled
1052 {
1053 INT8 mAPNDisabled;
1054 };
1055
1056 // Structure to describe request TLV 0x30 for WDSCreateProfile()
1057 struct sWDSCreateProfileRequest_PDNInactivityTimer
1058 {
1059 UINT32 mPDNInactivityTimerSeconds;
1060 };
1061
1062 // Structure to describe request TLV 0x31 for WDSCreateProfile()
1063 struct sWDSCreateProfileRequest_APNClass
1064 {
1065 UINT8 mAPNClass;
1066 };
1067
1068 // Structure to describe request TLV 0x8F for WDSCreateProfile()
1069 struct sWDSCreateProfileRequest_ProfilePersistent
1070 {
1071 INT8 mProfilePersistent;
1072 };
1073
1074 // Structure to describe request TLV 0x90 for WDSCreateProfile()
1075 struct sWDSCreateProfileRequest_NegotiateDNSServerPreference
1076 {
1077 INT8 mNegotiateDNSServerPreference;
1078 };
1079
1080 // Structure to describe request TLV 0x91 for WDSCreateProfile()
1081 struct sWDSCreateProfileRequest_PPPSessionCloseTimerDO
1082 {
1083 UINT32 mPPPSessionCloseTimerDOSeconds;
1084 };
1085
1086 // Structure to describe request TLV 0x92 for WDSCreateProfile()
1087 struct sWDSCreateProfileRequest_PPPSessionCloseTimer1X
1088 {
1089 UINT32 mPPPSessionCloseTimer1XSeconds;
1090 };
1091
1092 // Structure to describe request TLV 0x93 for WDSCreateProfile()
1093 struct sWDSCreateProfileRequest_AllowLinger
1094 {
1095 INT8 mAllowLinger;
1096 };
1097
1098 // Structure to describe request TLV 0x94 for WDSCreateProfile()
1099 struct sWDSCreateProfileRequest_LCPACKTimeout
1100 {
1101 UINT16 mTimeoutMilliseconds;
1102 };
1103
1104 // Structure to describe request TLV 0x95 for WDSCreateProfile()
1105 struct sWDSCreateProfileRequest_IPCPACKTimeout
1106 {
1107 UINT16 mTimeoutMilliseconds;
1108 };
1109
1110 // Structure to describe request TLV 0x96 for WDSCreateProfile()
1111 struct sWDSCreateProfileRequest_AuthenticationTimeout
1112 {
1113 UINT16 mTimeoutMilliseconds;
1114 };
1115
1116 // Structure to describe request TLV 0x97 for WDSCreateProfile()
1117 struct sWDSCreateProfileRequest_LCPConfigRetryCount
1118 {
1119 UINT8 mRetryCount;
1120 };
1121
1122 // Structure to describe request TLV 0x98 for WDSCreateProfile()
1123 struct sWDSCreateProfileRequest_IPCPConfigRetryCount
1124 {
1125 UINT8 mRetryCount;
1126 };
1127
1128 // Structure to describe request TLV 0x99 for WDSCreateProfile()
1129 struct sWDSCreateProfileRequest_AuthenticationRetry
1130 {
1131 UINT8 mRetryCount;
1132 };
1133
1134 // Structure to describe request TLV 0x9A for WDSCreateProfile()
1135 struct sWDSCreateProfileRequest_AuthenticationProtocol
1136 {
1137 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1138 };
1139
1140 // Structure to describe request TLV 0x9B for WDSCreateProfile()
1141 struct sWDSCreateProfileRequest_UserID
1142 {
1143 // String is variable length, but must be size of the container
1144 // char mUsername[1];
1145 };
1146
1147 // Structure to describe request TLV 0x9C for WDSCreateProfile()
1148 struct sWDSCreateProfileRequest_AuthenticationPassword
1149 {
1150 // String is variable length, but must be size of the container
1151 // char mPassword[1];
1152 };
1153
1154 // Structure to describe request TLV 0x9D for WDSCreateProfile()
1155 struct sWDSCreateProfileRequest_DataRate
1156 {
1157 eQMIWDSDataRate mDataRate;
1158 };
1159
1160 // Structure to describe request TLV 0x9E for WDSCreateProfile()
1161 struct sWDSCreateProfileRequest_ApplicationType
1162 {
1163 eQMIWDSApplicationType mApplicationType;
1164 };
1165
1166 // Structure to describe request TLV 0x9F for WDSCreateProfile()
1167 struct sWDSCreateProfileRequest_DataMode
1168 {
1169 eQMIWDSDataMode mDataMode;
1170 };
1171
1172 // Structure to describe request TLV 0xA0 for WDSCreateProfile()
1173 struct sWDSCreateProfileRequest_ApplicationPriority
1174 {
1175 UINT8 mApplicationPriority;
1176 };
1177
1178 // Structure to describe request TLV 0xA1 for WDSCreateProfile()
1179 struct sWDSCreateProfileRequest_APNString
1180 {
1181 // String is variable length, but must be size of the container
1182 // char mAPNName[1];
1183 };
1184
1185 // Structure to describe request TLV 0xA2 for WDSCreateProfile()
1186 struct sWDSCreateProfileRequest_PDNType
1187 {
1188 eQMIWDSPDNType mPDNType;
1189 };
1190
1191 // Structure to describe request TLV 0xA3 for WDSCreateProfile()
1192 struct sWDSCreateProfileRequest_PCSCFAddressNeeded
1193 {
1194 INT8 mPCSCFAddressNeeded;
1195 };
1196
1197 // Structure to describe request TLV 0xA4 for WDSCreateProfile()
1198 struct sWDSCreateProfileRequest_PrimaryIPv4Address
1199 {
1200 UINT8 mIPV4Address[4];
1201 };
1202
1203 // Structure to describe request TLV 0xA5 for WDSCreateProfile()
1204 struct sWDSCreateProfileRequest_SecondaryIPv4Address
1205 {
1206 UINT8 mIPV4Address[4];
1207 };
1208
1209 // Structure to describe request TLV 0xA6 for WDSCreateProfile()
1210 struct sWDSCreateProfileRequest_PrimaryIPv6Address
1211 {
1212 UINT16 mIPv6Address[8];
1213 };
1214
1215 // Structure to describe request TLV 0xA7 for WDSCreateProfile()
1216 struct sWDSCreateProfileRequest_SecondaryIPv6Address
1217 {
1218 UINT16 mIPv6Address[8];
1219 };
1220
1221 // Structure to describe request TLV 0xA8 for WDSCreateProfile()
1222 struct sWDSCreateProfileRequest_RATType
1223 {
1224 eQMIWDS3GPP2RATTypes mRATType;
1225 };
1226
1227 // Structure to describe request TLV 0xA9 for WDSCreateProfile()
1228 struct sWDSCreateProfileRequest_3GPP2APNEnabled
1229 {
1230 INT8 mAPNEnabled;
1231 };
1232
1233 // Structure to describe request TLV 0xAA for WDSCreateProfile()
1234 struct sWDSCreateProfileRequest_3GPP2PDNInactivityTimer
1235 {
1236 UINT32 mPDNInactivityTimerMinutes;
1237 };
1238
1239 // Structure to describe request TLV 0xAB for WDSCreateProfile()
1240 struct sWDSCreateProfileRequest_3GPP2APNClass
1241 {
1242 UINT8 mAPNClass;
1243 };
1244
1245 // Structure to describe response TLV 0x01 for WDSCreateProfile()
1246 struct sWDSCreateProfileResponse_ProfileIdentifier
1247 {
1248 eQMIProfileTypes mProfileType;
1249 UINT8 mProfileIndex;
1250 };
1251
1252 // Structure to describe response TLV 0xE0 for WDSCreateProfile()
1253 struct sWDSCreateProfileResponse_ExtendedErrorCode
1254 {
1255 eQMIWDSExtendedErrorCode mExtendedErrorCode;
1256 };
1257
1258 // Structure to describe request TLV 0x01 for WDSModifyProfile()
1259 struct sWDSModifyProfileRequest_ProfileIdentifier
1260 {
1261 eQMIProfileTypes mProfileType;
1262 UINT8 mProfileIndex;
1263 };
1264
1265 // Structure to describe request TLV 0x10 for WDSModifyProfile()
1266 struct sWDSModifyProfileRequest_ProfileName
1267 {
1268 // String is variable length, but must be size of the container
1269 // char mProfileName[1];
1270 };
1271
1272 // Structure to describe request TLV 0x11 for WDSModifyProfile()
1273 struct sWDSModifyProfileRequest_PDPType
1274 {
1275 eQMIPDPTypes mPDPType;
1276 };
1277
1278 // Structure to describe request TLV 0x12 for WDSModifyProfile()
1279 struct sWDSModifyProfileRequest_PDPHeaderCompressionType
1280 {
1281 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
1282 };
1283
1284 // Structure to describe request TLV 0x13 for WDSModifyProfile()
1285 struct sWDSModifyProfileRequest_PDPDataCompressionType
1286 {
1287 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
1288 };
1289
1290 // Structure to describe request TLV 0x14 for WDSModifyProfile()
1291 struct sWDSModifyProfileRequest_APNName
1292 {
1293 // String is variable length, but must be size of the container
1294 // char mAPNName[1];
1295 };
1296
1297 // Structure to describe request TLV 0x15 for WDSModifyProfile()
1298 struct sWDSModifyProfileRequest_PrimaryDNS
1299 {
1300 UINT8 mIPV4Address[4];
1301 };
1302
1303 // Structure to describe request TLV 0x16 for WDSModifyProfile()
1304 struct sWDSModifyProfileRequest_SecondaryDNS
1305 {
1306 UINT8 mIPV4Address[4];
1307 };
1308
1309 // Structure to describe request TLV 0x17 for WDSModifyProfile()
1310 struct sWDSModifyProfileRequest_UMTSRequestedQoS
1311 {
1312 eQMITrafficClasses mTrafficClass;
1313 UINT32 mMaxUplinkBitrate;
1314 UINT32 mMaxDownlinkBitrate;
1315 UINT32 mGuaranteedUplinkBitrate;
1316 UINT32 mGuaranteedDownlinkBitrate;
1317 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1318 UINT32 mMaxSDUSize;
1319 eQMISDUErrorRatios mSDUErrorRatio;
1320 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1321 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1322 UINT32 mTransferDelay;
1323 UINT32 mTrafficHandlingPriority;
1324 };
1325
1326 // Structure to describe request TLV 0x18 for WDSModifyProfile()
1327 struct sWDSModifyProfileRequest_UMTSMinimumQoS
1328 {
1329 eQMITrafficClasses mTrafficClass;
1330 UINT32 mMaxUplinkBitrate;
1331 UINT32 mMaxDownlinkBitrate;
1332 UINT32 mGuaranteedUplinkBitrate;
1333 UINT32 mGuaranteedDownlinkBitrate;
1334 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1335 UINT32 mMaxSDUSize;
1336 eQMISDUErrorRatios mSDUErrorRatio;
1337 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1338 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1339 UINT32 mTransferDelay;
1340 UINT32 mTrafficHandlingPriority;
1341 };
1342
1343 // Structure to describe request TLV 0x19 for WDSModifyProfile()
1344 struct sWDSModifyProfileRequest_GPRSRequestedQoS
1345 {
1346 UINT32 mPrecedenceClass;
1347 UINT32 mDelayClass;
1348 UINT32 mReliabilityClass;
1349 UINT32 mPeakThroughputClass;
1350 UINT32 mMeanThroughputClass;
1351 };
1352
1353 // Structure to describe request TLV 0x1A for WDSModifyProfile()
1354 struct sWDSModifyProfileRequest_GPRSMinimumQoS
1355 {
1356 UINT32 mPrecedenceClass;
1357 UINT32 mDelayClass;
1358 UINT32 mReliabilityClass;
1359 UINT32 mPeakThroughputClass;
1360 UINT32 mMeanThroughputClass;
1361 };
1362
1363 // Structure to describe request TLV 0x1B for WDSModifyProfile()
1364 struct sWDSModifyProfileRequest_Username
1365 {
1366 // String is variable length, but must be size of the container
1367 // char mUsername[1];
1368 };
1369
1370 // Structure to describe request TLV 0x1C for WDSModifyProfile()
1371 struct sWDSModifyProfileRequest_Password
1372 {
1373 // String is variable length, but must be size of the container
1374 // char mPassword[1];
1375 };
1376
1377 // Structure to describe request TLV 0x1D for WDSModifyProfile()
1378 struct sWDSModifyProfileRequest_Authentication
1379 {
1380 bool mEnablePAP:1;
1381 bool mEnableCHAP:1;
1382
1383 // Padding out 6 bits
1384 UINT8 mReserved1:6;
1385 };
1386
1387 // Structure to describe request TLV 0x1E for WDSModifyProfile()
1388 struct sWDSModifyProfileRequest_IPAddress
1389 {
1390 UINT8 mIPV4Address[4];
1391 };
1392
1393 // Structure to describe request TLV 0x1F for WDSModifyProfile()
1394 struct sWDSModifyProfileRequest_PCSCF
1395 {
1396 INT8 mPCSCFAddressUsingPCO;
1397 };
1398
1399 // Structure to describe request TLV 0x20 for WDSModifyProfile()
1400 struct sWDSModifyProfileRequest_PDPAccessControlFlag
1401 {
1402 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
1403 };
1404
1405 // Structure to describe request TLV 0x21 for WDSModifyProfile()
1406 struct sWDSModifyProfileRequest_PCSCFAddressUsingDHCP
1407 {
1408 INT8 mPCSCFAddressUsingDHCP;
1409 };
1410
1411 // Structure to describe request TLV 0x22 for WDSModifyProfile()
1412 struct sWDSModifyProfileRequest_IMCNFlag
1413 {
1414 INT8 mIMCN;
1415 };
1416
1417 // Structure to describe request TLV 0x23 for WDSModifyProfile()
1418 struct sWDSModifyProfileRequest_TrafficFlowTemplateID1Parameters
1419 {
1420 UINT8 mFilterID;
1421 UINT8 mEvaluationID;
1422 eQMIWDSIPVersion mIPVersion;
1423
1424 // The following union is based on the value of mIPVersion
1425 union uValOfIPVersion
1426 {
1427 // If the value of mIPVersion == 4
1428 struct sIPVersionIs4
1429 {
1430 UINT8 mIPV4Address[4];
1431 };
1432
1433 sIPVersionIs4 mIPVersionIs4;
1434
1435 // If the value of mIPVersion == 6
1436 struct sIPVersionIs6
1437 {
1438 UINT16 mIPv6Address[8];
1439 };
1440
1441 sIPVersionIs6 mIPVersionIs6;
1442
1443 // Padding out 128 bits
1444 UINT8 mReserved1[16];
1445 };
1446
1447 uValOfIPVersion mValOfIPVersion;
1448
1449 UINT8 mSourceIPMask;
1450 UINT8 mNextHeader;
1451 UINT16 mDestinationPortRangeStart;
1452 UINT16 mDestinationPortRangeEnd;
1453 UINT16 mSourcePortRangeStart;
1454 UINT16 mSourcePortRangeEnd;
1455 UINT32 mIPSECSecurityParameterIndex;
1456 UINT16 mTOSMask;
1457 UINT32 mFlowLabel;
1458 };
1459
1460 // Structure to describe request TLV 0x24 for WDSModifyProfile()
1461 struct sWDSModifyProfileRequest_TrafficFlowTemplateID2Parameters
1462 {
1463 UINT8 mFilterID;
1464 UINT8 mEvaluationID;
1465 eQMIWDSIPVersion mIPVersion;
1466
1467 // The following union is based on the value of mIPVersion
1468 union uValOfIPVersion
1469 {
1470 // If the value of mIPVersion == 4
1471 struct sIPVersionIs4
1472 {
1473 UINT8 mIPV4Address[4];
1474 };
1475
1476 sIPVersionIs4 mIPVersionIs4;
1477
1478 // If the value of mIPVersion == 6
1479 struct sIPVersionIs6
1480 {
1481 UINT16 mIPv6Address[8];
1482 };
1483
1484 sIPVersionIs6 mIPVersionIs6;
1485
1486 // Padding out 128 bits
1487 UINT8 mReserved1[16];
1488 };
1489
1490 uValOfIPVersion mValOfIPVersion;
1491
1492 UINT8 mSourceIPMask;
1493 UINT8 mNextHeader;
1494 UINT16 mDestinationPortRangeStart;
1495 UINT16 mDestinationPortRangeEnd;
1496 UINT16 mSourcePortRangeStart;
1497 UINT16 mSourcePortRangeEnd;
1498 UINT32 mIPSECSecurityParameterIndex;
1499 UINT16 mTOSMask;
1500 UINT32 mFlowLabel;
1501 };
1502
1503 // Structure to describe request TLV 0x25 for WDSModifyProfile()
1504 struct sWDSModifyProfileRequest_PDPContextNumber
1505 {
1506 UINT8 mPDPContextNumber;
1507 };
1508
1509 // Structure to describe request TLV 0x26 for WDSModifyProfile()
1510 struct sWDSModifyProfileRequest_PDPContextSecondaryFlag
1511 {
1512 INT8 mPDPContextSecondaryFlag;
1513 };
1514
1515 // Structure to describe request TLV 0x27 for WDSModifyProfile()
1516 struct sWDSModifyProfileRequest_PDPContextPrimaryID
1517 {
1518 UINT8 mPDPPrimaryID;
1519 };
1520
1521 // Structure to describe request TLV 0x28 for WDSModifyProfile()
1522 struct sWDSModifyProfileRequest_IPv6Address
1523 {
1524 UINT16 mIPv6Address[8];
1525 };
1526
1527 // Structure to describe request TLV 0x29 for WDSModifyProfile()
1528 struct sWDSModifyProfileRequest_RequestedQoS
1529 {
1530 eQMITrafficClasses mTrafficClass;
1531 UINT32 mMaxUplinkBitrate;
1532 UINT32 mMaxDownlinkBitrate;
1533 UINT32 mGuaranteedUplinkBitrate;
1534 UINT32 mGuaranteedDownlinkBitrate;
1535 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1536 UINT32 mMaxSDUSize;
1537 eQMISDUErrorRatios mSDUErrorRatio;
1538 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1539 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1540 UINT32 mTransferDelay;
1541 UINT32 mTrafficHandlingPriority;
1542 INT8 mSignalingIndication;
1543 };
1544
1545 // Structure to describe request TLV 0x2A for WDSModifyProfile()
1546 struct sWDSModifyProfileRequest_MinimumQoS
1547 {
1548 eQMITrafficClasses mTrafficClass;
1549 UINT32 mMaxUplinkBitrate;
1550 UINT32 mMaxDownlinkBitrate;
1551 UINT32 mGuaranteedUplinkBitrate;
1552 UINT32 mGuaranteedDownlinkBitrate;
1553 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1554 UINT32 mMaxSDUSize;
1555 eQMISDUErrorRatios mSDUErrorRatio;
1556 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1557 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1558 UINT32 mTransferDelay;
1559 UINT32 mTrafficHandlingPriority;
1560 INT8 mSignalingIndication;
1561 };
1562
1563 // Structure to describe request TLV 0x2B for WDSModifyProfile()
1564 struct sWDSModifyProfileRequest_PrimaryIPv6
1565 {
1566 UINT16 mIPv6Address[8];
1567 };
1568
1569 // Structure to describe request TLV 0x2C for WDSModifyProfile()
1570 struct sWDSModifyProfileRequest_SecondaryIPv6
1571 {
1572 UINT16 mIPv6Address[8];
1573 };
1574
1575 // Structure to describe request TLV 0x2D for WDSModifyProfile()
1576 struct sWDSModifyProfileRequest_AddressPreference
1577 {
1578 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
1579 };
1580
1581 // Structure to describe request TLV 0x2E for WDSModifyProfile()
1582 struct sWDSModifyProfileRequest_LTEQoSParameters
1583 {
1584 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
1585 UINT32 mGuaranteedDownlinkBitrate;
1586 UINT32 mMaxDownlinkBitrate;
1587 UINT32 mGuaranteedUplinkBitrate;
1588 UINT32 mMaxUplinkBitrate;
1589 };
1590
1591 // Structure to describe request TLV 0x2F for WDSModifyProfile()
1592 struct sWDSModifyProfileRequest_APNDisabled
1593 {
1594 INT8 mAPNDisabled;
1595 };
1596
1597 // Structure to describe request TLV 0x30 for WDSModifyProfile()
1598 struct sWDSModifyProfileRequest_PDNInactivityTimer
1599 {
1600 UINT32 mPDNInactivityTimerSeconds;
1601 };
1602
1603 // Structure to describe request TLV 0x31 for WDSModifyProfile()
1604 struct sWDSModifyProfileRequest_APNClass
1605 {
1606 UINT8 mAPNClass;
1607 };
1608
1609 // Structure to describe request TLV 0x90 for WDSModifyProfile()
1610 struct sWDSModifyProfileRequest_NegotiateDNSServerPrefrence
1611 {
1612 INT8 mNegotiateDNSServerPreference;
1613 };
1614
1615 // Structure to describe request TLV 0x91 for WDSModifyProfile()
1616 struct sWDSModifyProfileRequest_PPPSessionCloseTimerDO
1617 {
1618 UINT32 mPPPSessionCloseTimerDOSeconds;
1619 };
1620
1621 // Structure to describe request TLV 0x92 for WDSModifyProfile()
1622 struct sWDSModifyProfileRequest_PPPSessionCloseTimer1X
1623 {
1624 UINT32 mPPPSessionCloseTimer1XSeconds;
1625 };
1626
1627 // Structure to describe request TLV 0x93 for WDSModifyProfile()
1628 struct sWDSModifyProfileRequest_AllowLinger
1629 {
1630 INT8 mAllowLinger;
1631 };
1632
1633 // Structure to describe request TLV 0x94 for WDSModifyProfile()
1634 struct sWDSModifyProfileRequest_LCPACKTimeout
1635 {
1636 UINT16 mTimeoutMilliseconds;
1637 };
1638
1639 // Structure to describe request TLV 0x95 for WDSModifyProfile()
1640 struct sWDSModifyProfileRequest_IPCPACKTimeout
1641 {
1642 UINT16 mTimeoutMilliseconds;
1643 };
1644
1645 // Structure to describe request TLV 0x96 for WDSModifyProfile()
1646 struct sWDSModifyProfileRequest_AuthenticationTimeout
1647 {
1648 UINT16 mTimeoutMilliseconds;
1649 };
1650
1651 // Structure to describe request TLV 0x97 for WDSModifyProfile()
1652 struct sWDSModifyProfileRequest_LCPConfigRetryCount
1653 {
1654 UINT8 mRetryCount;
1655 };
1656
1657 // Structure to describe request TLV 0x98 for WDSModifyProfile()
1658 struct sWDSModifyProfileRequest_IPCPConfigRetryCount
1659 {
1660 UINT8 mRetryCount;
1661 };
1662
1663 // Structure to describe request TLV 0x99 for WDSModifyProfile()
1664 struct sWDSModifyProfileRequest_AuthenticationRetry
1665 {
1666 UINT8 mRetryCount;
1667 };
1668
1669 // Structure to describe request TLV 0x9A for WDSModifyProfile()
1670 struct sWDSModifyProfileRequest_AuthenticationProtocol
1671 {
1672 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1673 };
1674
1675 // Structure to describe request TLV 0x9B for WDSModifyProfile()
1676 struct sWDSModifyProfileRequest_UserID
1677 {
1678 // String is variable length, but must be size of the container
1679 // char mUsername[1];
1680 };
1681
1682 // Structure to describe request TLV 0x9C for WDSModifyProfile()
1683 struct sWDSModifyProfileRequest_AuthenticationPassword
1684 {
1685 // String is variable length, but must be size of the container
1686 // char mPassword[1];
1687 };
1688
1689 // Structure to describe request TLV 0x9D for WDSModifyProfile()
1690 struct sWDSModifyProfileRequest_DataRate
1691 {
1692 eQMIWDSDataRate mDataRate;
1693 };
1694
1695 // Structure to describe request TLV 0x9E for WDSModifyProfile()
1696 struct sWDSModifyProfileRequest_ApplicationType
1697 {
1698 eQMIWDSApplicationType mApplicationType;
1699 };
1700
1701 // Structure to describe request TLV 0x9F for WDSModifyProfile()
1702 struct sWDSModifyProfileRequest_DataMode
1703 {
1704 eQMIWDSDataMode mDataMode;
1705 };
1706
1707 // Structure to describe request TLV 0xA0 for WDSModifyProfile()
1708 struct sWDSModifyProfileRequest_ApplicationPriority
1709 {
1710 UINT8 mApplicationPriority;
1711 };
1712
1713 // Structure to describe request TLV 0xA1 for WDSModifyProfile()
1714 struct sWDSModifyProfileRequest_APNString
1715 {
1716 // String is variable length, but must be size of the container
1717 // char mAPNName[1];
1718 };
1719
1720 // Structure to describe request TLV 0xA2 for WDSModifyProfile()
1721 struct sWDSModifyProfileRequest_PDNType
1722 {
1723 eQMIWDSPDNType mPDNType;
1724 };
1725
1726 // Structure to describe request TLV 0xA3 for WDSModifyProfile()
1727 struct sWDSModifyProfileRequest_PCSCFAddressNeeded
1728 {
1729 INT8 mPCSCFAddressNeeded;
1730 };
1731
1732 // Structure to describe request TLV 0xA4 for WDSModifyProfile()
1733 struct sWDSModifyProfileRequest_PrimaryIPv4Address
1734 {
1735 UINT8 mIPV4Address[4];
1736 };
1737
1738 // Structure to describe request TLV 0xA5 for WDSModifyProfile()
1739 struct sWDSModifyProfileRequest_SecondaryIPv4Address
1740 {
1741 UINT8 mIPV4Address[4];
1742 };
1743
1744 // Structure to describe request TLV 0xA6 for WDSModifyProfile()
1745 struct sWDSModifyProfileRequest_PrimaryIPv6Address
1746 {
1747 UINT16 mIPv6Address[8];
1748 };
1749
1750 // Structure to describe request TLV 0xA7 for WDSModifyProfile()
1751 struct sWDSModifyProfileRequest_SecondaryIPv6Address
1752 {
1753 UINT16 mIPv6Address[8];
1754 };
1755
1756 // Structure to describe request TLV 0xA8 for WDSModifyProfile()
1757 struct sWDSModifyProfileRequest_RATType
1758 {
1759 eQMIWDS3GPP2RATTypes mRATType;
1760 };
1761
1762 // Structure to describe request TLV 0xA9 for WDSModifyProfile()
1763 struct sWDSModifyProfileRequest_3GPP2APNEnabled
1764 {
1765 INT8 mAPNEnabled;
1766 };
1767
1768 // Structure to describe request TLV 0xAA for WDSModifyProfile()
1769 struct sWDSModifyProfileRequest_3GPP2PDNInactivityTimer
1770 {
1771 UINT32 mPDNInactivityTimerMinutes;
1772 };
1773
1774 // Structure to describe request TLV 0xAB for WDSModifyProfile()
1775 struct sWDSModifyProfileRequest_3GPP2APNClass
1776 {
1777 UINT8 mAPNClass;
1778 };
1779
1780 // Structure to describe response TLV 0xE0 for WDSModifyProfile()
1781 struct sWDSModifyProfileResponse_ExtendedErrorCode
1782 {
1783 eQMIWDSExtendedErrorCode mExtendedErrorCode;
1784 };
1785
1786 // Structure to describe request TLV 0x01 for WDSDeleteProfile()
1787 struct sWDSDeleteProfileRequest_ProfileIdentifier
1788 {
1789 eQMIProfileTypes mProfileType;
1790 UINT8 mProfileIndex;
1791 };
1792
1793 // Structure to describe response TLV 0xE0 for WDSDeleteProfile()
1794 struct sWDSDeleteProfileResponse_ExtendedErrorCode
1795 {
1796 eQMIWDSExtendedErrorCode mExtendedErrorCode;
1797 };
1798
1799 // Structure to describe request TLV 0x10 for WDSGetProfileList()
1800 struct sWDSGetProfileListRequest_ProfileName
1801 {
1802 // String is variable length, but must be size of the container
1803 // char mProfileName[1];
1804 };
1805
1806 // Structure to describe request TLV 0x11 for WDSGetProfileList()
1807 struct sWDSGetProfileListRequest_PDPType
1808 {
1809 eQMIPDPTypes mPDPType;
1810 };
1811
1812 // Structure to describe request TLV 0x12 for WDSGetProfileList()
1813 struct sWDSGetProfileListRequest_PDPHeaderCompressionType
1814 {
1815 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
1816 };
1817
1818 // Structure to describe request TLV 0x13 for WDSGetProfileList()
1819 struct sWDSGetProfileListRequest_PDPDataCompressionType
1820 {
1821 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
1822 };
1823
1824 // Structure to describe request TLV 0x14 for WDSGetProfileList()
1825 struct sWDSGetProfileListRequest_APNName
1826 {
1827 // String is variable length, but must be size of the container
1828 // char mAPNName[1];
1829 };
1830
1831 // Structure to describe request TLV 0x15 for WDSGetProfileList()
1832 struct sWDSGetProfileListRequest_PrimaryDNS
1833 {
1834 UINT8 mIPV4Address[4];
1835 };
1836
1837 // Structure to describe request TLV 0x16 for WDSGetProfileList()
1838 struct sWDSGetProfileListRequest_SecondaryDNS
1839 {
1840 UINT8 mIPV4Address[4];
1841 };
1842
1843 // Structure to describe request TLV 0x17 for WDSGetProfileList()
1844 struct sWDSGetProfileListRequest_UMTSRequestedQoS
1845 {
1846 eQMITrafficClasses mTrafficClass;
1847 UINT32 mMaxUplinkBitrate;
1848 UINT32 mMaxDownlinkBitrate;
1849 UINT32 mGuaranteedUplinkBitrate;
1850 UINT32 mGuaranteedDownlinkBitrate;
1851 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1852 UINT32 mMaxSDUSize;
1853 eQMISDUErrorRatios mSDUErrorRatio;
1854 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1855 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1856 UINT32 mTransferDelay;
1857 UINT32 mTrafficHandlingPriority;
1858 };
1859
1860 // Structure to describe request TLV 0x18 for WDSGetProfileList()
1861 struct sWDSGetProfileListRequest_UMTSMinimumQoS
1862 {
1863 eQMITrafficClasses mTrafficClass;
1864 UINT32 mMaxUplinkBitrate;
1865 UINT32 mMaxDownlinkBitrate;
1866 UINT32 mGuaranteedUplinkBitrate;
1867 UINT32 mGuaranteedDownlinkBitrate;
1868 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1869 UINT32 mMaxSDUSize;
1870 eQMISDUErrorRatios mSDUErrorRatio;
1871 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1872 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1873 UINT32 mTransferDelay;
1874 UINT32 mTrafficHandlingPriority;
1875 };
1876
1877 // Structure to describe request TLV 0x19 for WDSGetProfileList()
1878 struct sWDSGetProfileListRequest_GPRSRequestedQoS
1879 {
1880 UINT32 mPrecedenceClass;
1881 UINT32 mDelayClass;
1882 UINT32 mReliabilityClass;
1883 UINT32 mPeakThroughputClass;
1884 UINT32 mMeanThroughputClass;
1885 };
1886
1887 // Structure to describe request TLV 0x1A for WDSGetProfileList()
1888 struct sWDSGetProfileListRequest_GPRSMinimumQoS
1889 {
1890 UINT32 mPrecedenceClass;
1891 UINT32 mDelayClass;
1892 UINT32 mReliabilityClass;
1893 UINT32 mPeakThroughputClass;
1894 UINT32 mMeanThroughputClass;
1895 };
1896
1897 // Structure to describe request TLV 0x1B for WDSGetProfileList()
1898 struct sWDSGetProfileListRequest_Username
1899 {
1900 // String is variable length, but must be size of the container
1901 // char mUsername[1];
1902 };
1903
1904 // Structure to describe request TLV 0x1C for WDSGetProfileList()
1905 struct sWDSGetProfileListRequest_Password
1906 {
1907 // String is variable length, but must be size of the container
1908 // char mPassword[1];
1909 };
1910
1911 // Structure to describe request TLV 0x1D for WDSGetProfileList()
1912 struct sWDSGetProfileListRequest_Authentication
1913 {
1914 bool mEnablePAP:1;
1915 bool mEnableCHAP:1;
1916
1917 // Padding out 6 bits
1918 UINT8 mReserved1:6;
1919 };
1920
1921 // Structure to describe request TLV 0x1E for WDSGetProfileList()
1922 struct sWDSGetProfileListRequest_IPAddress
1923 {
1924 UINT8 mIPV4Address[4];
1925 };
1926
1927 // Structure to describe request TLV 0x1F for WDSGetProfileList()
1928 struct sWDSGetProfileListRequest_PCSCF
1929 {
1930 INT8 mPCSCFAddressUsingPCO;
1931 };
1932
1933 // Structure to describe request TLV 0x20 for WDSGetProfileList()
1934 struct sWDSGetProfileListRequest_PDPAccessControlFlag
1935 {
1936 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
1937 };
1938
1939 // Structure to describe request TLV 0x21 for WDSGetProfileList()
1940 struct sWDSGetProfileListRequest_PCSCFAddressUsingDHCP
1941 {
1942 INT8 mPCSCFAddressUsingDHCP;
1943 };
1944
1945 // Structure to describe request TLV 0x22 for WDSGetProfileList()
1946 struct sWDSGetProfileListRequest_IMCNFlag
1947 {
1948 INT8 mIMCN;
1949 };
1950
1951 // Structure to describe request TLV 0x23 for WDSGetProfileList()
1952 struct sWDSGetProfileListRequest_TrafficFlowTemplateID1Parameters
1953 {
1954 UINT8 mFilterID;
1955 UINT8 mEvaluationID;
1956 eQMIWDSIPVersion mIPVersion;
1957
1958 // The following union is based on the value of mIPVersion
1959 union uValOfIPVersion
1960 {
1961 // If the value of mIPVersion == 4
1962 struct sIPVersionIs4
1963 {
1964 UINT8 mIPV4Address[4];
1965 };
1966
1967 sIPVersionIs4 mIPVersionIs4;
1968
1969 // If the value of mIPVersion == 6
1970 struct sIPVersionIs6
1971 {
1972 UINT16 mIPv6Address[8];
1973 };
1974
1975 sIPVersionIs6 mIPVersionIs6;
1976
1977 // Padding out 128 bits
1978 UINT8 mReserved1[16];
1979 };
1980
1981 uValOfIPVersion mValOfIPVersion;
1982
1983 UINT8 mSourceIPMask;
1984 UINT8 mNextHeader;
1985 UINT16 mDestinationPortRangeStart;
1986 UINT16 mDestinationPortRangeEnd;
1987 UINT16 mSourcePortRangeStart;
1988 UINT16 mSourcePortRangeEnd;
1989 UINT32 mIPSECSecurityParameterIndex;
1990 UINT16 mTOSMask;
1991 UINT32 mFlowLabel;
1992 };
1993
1994 // Structure to describe request TLV 0x24 for WDSGetProfileList()
1995 struct sWDSGetProfileListRequest_TrafficFlowTemplateID2Parameters
1996 {
1997 UINT8 mFilterID;
1998 UINT8 mEvaluationID;
1999 eQMIWDSIPVersion mIPVersion;
2000
2001 // The following union is based on the value of mIPVersion
2002 union uValOfIPVersion
2003 {
2004 // If the value of mIPVersion == 4
2005 struct sIPVersionIs4
2006 {
2007 UINT8 mIPV4Address[4];
2008 };
2009
2010 sIPVersionIs4 mIPVersionIs4;
2011
2012 // If the value of mIPVersion == 6
2013 struct sIPVersionIs6
2014 {
2015 UINT16 mIPv6Address[8];
2016 };
2017
2018 sIPVersionIs6 mIPVersionIs6;
2019
2020 // Padding out 128 bits
2021 UINT8 mReserved1[16];
2022 };
2023
2024 uValOfIPVersion mValOfIPVersion;
2025
2026 UINT8 mSourceIPMask;
2027 UINT8 mNextHeader;
2028 UINT16 mDestinationPortRangeStart;
2029 UINT16 mDestinationPortRangeEnd;
2030 UINT16 mSourcePortRangeStart;
2031 UINT16 mSourcePortRangeEnd;
2032 UINT32 mIPSECSecurityParameterIndex;
2033 UINT16 mTOSMask;
2034 UINT32 mFlowLabel;
2035 };
2036
2037 // Structure to describe request TLV 0x25 for WDSGetProfileList()
2038 struct sWDSGetProfileListRequest_PDPContextNumber
2039 {
2040 UINT8 mPDPContextNumber;
2041 };
2042
2043 // Structure to describe request TLV 0x26 for WDSGetProfileList()
2044 struct sWDSGetProfileListRequest_PDPContextSecondaryFlag
2045 {
2046 INT8 mPDPContextSecondaryFlag;
2047 };
2048
2049 // Structure to describe request TLV 0x27 for WDSGetProfileList()
2050 struct sWDSGetProfileListRequest_PDPContextPrimaryID
2051 {
2052 UINT8 mPDPPrimaryID;
2053 };
2054
2055 // Structure to describe request TLV 0x28 for WDSGetProfileList()
2056 struct sWDSGetProfileListRequest_IPv6Address
2057 {
2058 UINT16 mIPv6Address[8];
2059 };
2060
2061 // Structure to describe request TLV 0x29 for WDSGetProfileList()
2062 struct sWDSGetProfileListRequest_RequestedQoS
2063 {
2064 eQMITrafficClasses mTrafficClass;
2065 UINT32 mMaxUplinkBitrate;
2066 UINT32 mMaxDownlinkBitrate;
2067 UINT32 mGuaranteedUplinkBitrate;
2068 UINT32 mGuaranteedDownlinkBitrate;
2069 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2070 UINT32 mMaxSDUSize;
2071 eQMISDUErrorRatios mSDUErrorRatio;
2072 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2073 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2074 UINT32 mTransferDelay;
2075 UINT32 mTrafficHandlingPriority;
2076 INT8 mSignalingIndication;
2077 };
2078
2079 // Structure to describe request TLV 0x2A for WDSGetProfileList()
2080 struct sWDSGetProfileListRequest_MinimumQoS
2081 {
2082 eQMITrafficClasses mTrafficClass;
2083 UINT32 mMaxUplinkBitrate;
2084 UINT32 mMaxDownlinkBitrate;
2085 UINT32 mGuaranteedUplinkBitrate;
2086 UINT32 mGuaranteedDownlinkBitrate;
2087 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2088 UINT32 mMaxSDUSize;
2089 eQMISDUErrorRatios mSDUErrorRatio;
2090 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2091 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2092 UINT32 mTransferDelay;
2093 UINT32 mTrafficHandlingPriority;
2094 INT8 mSignalingIndication;
2095 };
2096
2097 // Structure to describe request TLV 0x2B for WDSGetProfileList()
2098 struct sWDSGetProfileListRequest_PrimaryIPv6
2099 {
2100 UINT16 mIPv6Address[8];
2101 };
2102
2103 // Structure to describe request TLV 0x2C for WDSGetProfileList()
2104 struct sWDSGetProfileListRequest_SecondaryIPv6
2105 {
2106 UINT16 mIPv6Address[8];
2107 };
2108
2109 // Structure to describe request TLV 0x2D for WDSGetProfileList()
2110 struct sWDSGetProfileListRequest_AddressPreference
2111 {
2112 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
2113 };
2114
2115 // Structure to describe request TLV 0x2E for WDSGetProfileList()
2116 struct sWDSGetProfileListRequest_LTEQoSParameters
2117 {
2118 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
2119 UINT32 mGuaranteedDownlinkBitrate;
2120 UINT32 mMaxDownlinkBitrate;
2121 UINT32 mGuaranteedUplinkBitrate;
2122 UINT32 mMaxUplinkBitrate;
2123 };
2124
2125 // Structure to describe request TLV 0x90 for WDSGetProfileList()
2126 struct sWDSGetProfileListRequest_NegotiateDNSServerPreferences
2127 {
2128 INT8 mNegotiateDNSServerPreference;
2129 };
2130
2131 // Structure to describe request TLV 0x91 for WDSGetProfileList()
2132 struct sWDSGetProfileListRequest_PPPSessionCloseTimerDO
2133 {
2134 UINT32 mPPPSessionCloseTimerDOSeconds;
2135 };
2136
2137 // Structure to describe request TLV 0x92 for WDSGetProfileList()
2138 struct sWDSGetProfileListRequest_PPPSessionCloseTimer1X
2139 {
2140 UINT32 mPPPSessionCloseTimer1XSeconds;
2141 };
2142
2143 // Structure to describe request TLV 0x93 for WDSGetProfileList()
2144 struct sWDSGetProfileListRequest_AllowLinger
2145 {
2146 INT8 mAllowLinger;
2147 };
2148
2149 // Structure to describe request TLV 0x94 for WDSGetProfileList()
2150 struct sWDSGetProfileListRequest_LCPACKTimeout
2151 {
2152 UINT16 mTimeoutMilliseconds;
2153 };
2154
2155 // Structure to describe request TLV 0x95 for WDSGetProfileList()
2156 struct sWDSGetProfileListRequest_IPCPACKTimeout
2157 {
2158 UINT16 mTimeoutMilliseconds;
2159 };
2160
2161 // Structure to describe request TLV 0x96 for WDSGetProfileList()
2162 struct sWDSGetProfileListRequest_AuthenticationTimeout
2163 {
2164 UINT16 mTimeoutMilliseconds;
2165 };
2166
2167 // Structure to describe request TLV 0x97 for WDSGetProfileList()
2168 struct sWDSGetProfileListRequest_LCPConfigRetryCount
2169 {
2170 UINT8 mRetryCount;
2171 };
2172
2173 // Structure to describe request TLV 0x98 for WDSGetProfileList()
2174 struct sWDSGetProfileListRequest_IPCPConfigRetryCount
2175 {
2176 UINT8 mRetryCount;
2177 };
2178
2179 // Structure to describe request TLV 0x99 for WDSGetProfileList()
2180 struct sWDSGetProfileListRequest_AuthenticationRetry
2181 {
2182 UINT8 mRetryCount;
2183 };
2184
2185 // Structure to describe request TLV 0x9A for WDSGetProfileList()
2186 struct sWDSGetProfileListRequest_AuthenticationProtocol
2187 {
2188 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2189 };
2190
2191 // Structure to describe request TLV 0x9B for WDSGetProfileList()
2192 struct sWDSGetProfileListRequest_UserID
2193 {
2194 // String is variable length, but must be size of the container
2195 // char mUsername[1];
2196 };
2197
2198 // Structure to describe request TLV 0x9C for WDSGetProfileList()
2199 struct sWDSGetProfileListRequest_AuthenticationPassword
2200 {
2201 // String is variable length, but must be size of the container
2202 // char mPassword[1];
2203 };
2204
2205 // Structure to describe request TLV 0x9D for WDSGetProfileList()
2206 struct sWDSGetProfileListRequest_DataRate
2207 {
2208 eQMIWDSDataRate mDataRate;
2209 };
2210
2211 // Structure to describe request TLV 0x9E for WDSGetProfileList()
2212 struct sWDSGetProfileListRequest_ApplicationType
2213 {
2214 eQMIWDSApplicationType mApplicationType;
2215 };
2216
2217 // Structure to describe request TLV 0x9F for WDSGetProfileList()
2218 struct sWDSGetProfileListRequest_DataMode
2219 {
2220 eQMIWDSDataMode mDataMode;
2221 };
2222
2223 // Structure to describe request TLV 0xA0 for WDSGetProfileList()
2224 struct sWDSGetProfileListRequest_ApplicationPriority
2225 {
2226 UINT8 mApplicationPriority;
2227 };
2228
2229 // Structure to describe request TLV 0xA1 for WDSGetProfileList()
2230 struct sWDSGetProfileListRequest_APNString
2231 {
2232 // String is variable length, but must be size of the container
2233 // char mAPNName[1];
2234 };
2235
2236 // Structure to describe request TLV 0xA2 for WDSGetProfileList()
2237 struct sWDSGetProfileListRequest_PDNType
2238 {
2239 eQMIWDSPDNType mPDNType;
2240 };
2241
2242 // Structure to describe request TLV 0xA3 for WDSGetProfileList()
2243 struct sWDSGetProfileListRequest_PCSCFAddressNeeded
2244 {
2245 INT8 mPCSCFAddressNeeded;
2246 };
2247
2248 // Structure to describe request TLV 0xA4 for WDSGetProfileList()
2249 struct sWDSGetProfileListRequest_PrimaryIPv4Address
2250 {
2251 UINT8 mIPV4Address[4];
2252 };
2253
2254 // Structure to describe request TLV 0xA5 for WDSGetProfileList()
2255 struct sWDSGetProfileListRequest_SecondaryIPv4Address
2256 {
2257 UINT8 mIPV4Address[4];
2258 };
2259
2260 // Structure to describe request TLV 0xA6 for WDSGetProfileList()
2261 struct sWDSGetProfileListRequest_PrimaryIPv6Address
2262 {
2263 UINT16 mIPv6Address[8];
2264 };
2265
2266 // Structure to describe request TLV 0xA7 for WDSGetProfileList()
2267 struct sWDSGetProfileListRequest_SecondaryIPv6Address
2268 {
2269 UINT16 mIPv6Address[8];
2270 };
2271
2272 // Structure to describe response TLV 0x01 for WDSGetProfileList()
2273 struct sWDSGetProfileListResponse_ProfileList
2274 {
2275 UINT8 mNumberOfProfiles;
2276
2277 struct sProfile
2278 {
2279 eQMIProfileTypes mProfileType;
2280 UINT8 mProfileIndex;
2281 UINT8 mProfileNameLength;
2282
2283 // This array must be the size specified by mProfileNameLength
2284 // char mProfileName[1];
2285 };
2286
2287 // This array must be the size specified by mNumberOfProfiles
2288 // sProfile mProfiles[1];
2289 };
2290
2291 // Structure to describe response TLV 0xE0 for WDSGetProfileList()
2292 struct sWDSGetProfileListResponse_ExtendedErrorCode
2293 {
2294 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2295 };
2296
2297 // Structure to describe request TLV 0x01 for WDSGetProfileSettings()
2298 struct sWDSGetProfileSettingsRequest_ProfileIdentifier
2299 {
2300 eQMIProfileTypes mProfileType;
2301 UINT8 mProfileIndex;
2302 };
2303
2304 // Structure to describe response TLV 0x10 for WDSGetProfileSettings()
2305 struct sWDSGetProfileSettingsResponse_ProfileName
2306 {
2307 // String is variable length, but must be size of the container
2308 // char mProfileName[1];
2309 };
2310
2311 // Structure to describe response TLV 0x11 for WDSGetProfileSettings()
2312 struct sWDSGetProfileSettingsResponse_PDPType
2313 {
2314 eQMIPDPTypes mPDPType;
2315 };
2316
2317 // Structure to describe response TLV 0x12 for WDSGetProfileSettings()
2318 struct sWDSGetProfileSettingsResponse_PDPHeaderCompressionType
2319 {
2320 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
2321 };
2322
2323 // Structure to describe response TLV 0x13 for WDSGetProfileSettings()
2324 struct sWDSGetProfileSettingsResponse_PDPDataCompressionType
2325 {
2326 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
2327 };
2328
2329 // Structure to describe response TLV 0x14 for WDSGetProfileSettings()
2330 struct sWDSGetProfileSettingsResponse_APNName
2331 {
2332 // String is variable length, but must be size of the container
2333 // char mAPNName[1];
2334 };
2335
2336 // Structure to describe response TLV 0x15 for WDSGetProfileSettings()
2337 struct sWDSGetProfileSettingsResponse_PrimaryDNS
2338 {
2339 UINT8 mIPV4Address[4];
2340 };
2341
2342 // Structure to describe response TLV 0x16 for WDSGetProfileSettings()
2343 struct sWDSGetProfileSettingsResponse_SecondaryDNS
2344 {
2345 UINT8 mIPV4Address[4];
2346 };
2347
2348 // Structure to describe response TLV 0x17 for WDSGetProfileSettings()
2349 struct sWDSGetProfileSettingsResponse_UMTSRequestedQoS
2350 {
2351 eQMITrafficClasses mTrafficClass;
2352 UINT32 mMaxUplinkBitrate;
2353 UINT32 mMaxDownlinkBitrate;
2354 UINT32 mGuaranteedUplinkBitrate;
2355 UINT32 mGuaranteedDownlinkBitrate;
2356 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2357 UINT32 mMaxSDUSize;
2358 eQMISDUErrorRatios mSDUErrorRatio;
2359 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2360 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2361 UINT32 mTransferDelay;
2362 UINT32 mTrafficHandlingPriority;
2363 };
2364
2365 // Structure to describe response TLV 0x18 for WDSGetProfileSettings()
2366 struct sWDSGetProfileSettingsResponse_UMTSMinimumQoS
2367 {
2368 eQMITrafficClasses mTrafficClass;
2369 UINT32 mMaxUplinkBitrate;
2370 UINT32 mMaxDownlinkBitrate;
2371 UINT32 mGuaranteedUplinkBitrate;
2372 UINT32 mGuaranteedDownlinkBitrate;
2373 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2374 UINT32 mMaxSDUSize;
2375 eQMISDUErrorRatios mSDUErrorRatio;
2376 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2377 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2378 UINT32 mTransferDelay;
2379 UINT32 mTrafficHandlingPriority;
2380 };
2381
2382 // Structure to describe response TLV 0x19 for WDSGetProfileSettings()
2383 struct sWDSGetProfileSettingsResponse_GPRSRequestedQoS
2384 {
2385 UINT32 mPrecedenceClass;
2386 UINT32 mDelayClass;
2387 UINT32 mReliabilityClass;
2388 UINT32 mPeakThroughputClass;
2389 UINT32 mMeanThroughputClass;
2390 };
2391
2392 // Structure to describe response TLV 0x1A for WDSGetProfileSettings()
2393 struct sWDSGetProfileSettingsResponse_GPRSMinimumQoS
2394 {
2395 UINT32 mPrecedenceClass;
2396 UINT32 mDelayClass;
2397 UINT32 mReliabilityClass;
2398 UINT32 mPeakThroughputClass;
2399 UINT32 mMeanThroughputClass;
2400 };
2401
2402 // Structure to describe response TLV 0x1B for WDSGetProfileSettings()
2403 struct sWDSGetProfileSettingsResponse_Username
2404 {
2405 // String is variable length, but must be size of the container
2406 // char mUsername[1];
2407 };
2408
2409 // Structure to describe response TLV 0x1D for WDSGetProfileSettings()
2410 struct sWDSGetProfileSettingsResponse_Authentication
2411 {
2412 bool mEnablePAP:1;
2413 bool mEnableCHAP:1;
2414
2415 // Padding out 6 bits
2416 UINT8 mReserved1:6;
2417 };
2418
2419 // Structure to describe response TLV 0x1E for WDSGetProfileSettings()
2420 struct sWDSGetProfileSettingsResponse_IPAddress
2421 {
2422 UINT8 mIPV4Address[4];
2423 };
2424
2425 // Structure to describe response TLV 0x1F for WDSGetProfileSettings()
2426 struct sWDSGetProfileSettingsResponse_PCSCF
2427 {
2428 INT8 mPCSCFAddressUsingPCO;
2429 };
2430
2431 // Structure to describe response TLV 0x20 for WDSGetProfileSettings()
2432 struct sWDSGetProfileSettingsResponse_PDPAccessControlFlag
2433 {
2434 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
2435 };
2436
2437 // Structure to describe response TLV 0x21 for WDSGetProfileSettings()
2438 struct sWDSGetProfileSettingsResponse_PCSCFAddressUsingDHCP
2439 {
2440 INT8 mPCSCFAddressUsingDHCP;
2441 };
2442
2443 // Structure to describe response TLV 0x22 for WDSGetProfileSettings()
2444 struct sWDSGetProfileSettingsResponse_IMCMFlag
2445 {
2446 INT8 mIMCN;
2447 };
2448
2449 // Structure to describe response TLV 0x23 for WDSGetProfileSettings()
2450 struct sWDSGetProfileSettingsResponse_TrafficFlowTemplateID1Parameters
2451 {
2452 UINT8 mFilterID;
2453 UINT8 mEvaluationID;
2454 eQMIWDSIPVersion mIPVersion;
2455
2456 // The following union is based on the value of mIPVersion
2457 union uValOfIPVersion
2458 {
2459 // If the value of mIPVersion == 4
2460 struct sIPVersionIs4
2461 {
2462 UINT8 mIPV4Address[4];
2463 };
2464
2465 sIPVersionIs4 mIPVersionIs4;
2466
2467 // If the value of mIPVersion == 6
2468 struct sIPVersionIs6
2469 {
2470 UINT16 mIPv6Address[8];
2471 };
2472
2473 sIPVersionIs6 mIPVersionIs6;
2474
2475 // Padding out 128 bits
2476 UINT8 mReserved1[16];
2477 };
2478
2479 uValOfIPVersion mValOfIPVersion;
2480
2481 UINT8 mSourceIPMask;
2482 UINT8 mNextHeader;
2483 UINT16 mDestinationPortRangeStart;
2484 UINT16 mDestinationPortRangeEnd;
2485 UINT16 mSourcePortRangeStart;
2486 UINT16 mSourcePortRangeEnd;
2487 UINT32 mIPSECSecurityParameterIndex;
2488 UINT16 mTOSMask;
2489 UINT32 mFlowLabel;
2490 };
2491
2492 // Structure to describe response TLV 0x24 for WDSGetProfileSettings()
2493 struct sWDSGetProfileSettingsResponse_TrafficFlowTemplateID2Parameters
2494 {
2495 UINT8 mFilterID;
2496 UINT8 mEvaluationID;
2497 eQMIWDSIPVersion mIPVersion;
2498
2499 // The following union is based on the value of mIPVersion
2500 union uValOfIPVersion
2501 {
2502 // If the value of mIPVersion == 4
2503 struct sIPVersionIs4
2504 {
2505 UINT8 mIPV4Address[4];
2506 };
2507
2508 sIPVersionIs4 mIPVersionIs4;
2509
2510 // If the value of mIPVersion == 6
2511 struct sIPVersionIs6
2512 {
2513 UINT16 mIPv6Address[8];
2514 };
2515
2516 sIPVersionIs6 mIPVersionIs6;
2517
2518 // Padding out 128 bits
2519 UINT8 mReserved1[16];
2520 };
2521
2522 uValOfIPVersion mValOfIPVersion;
2523
2524 UINT8 mSourceIPMask;
2525 UINT8 mNextHeader;
2526 UINT16 mDestinationPortRangeStart;
2527 UINT16 mDestinationPortRangeEnd;
2528 UINT16 mSourcePortRangeStart;
2529 UINT16 mSourcePortRangeEnd;
2530 UINT32 mIPSECSecurityParameterIndex;
2531 UINT16 mTOSMask;
2532 UINT32 mFlowLabel;
2533 };
2534
2535 // Structure to describe response TLV 0x25 for WDSGetProfileSettings()
2536 struct sWDSGetProfileSettingsResponse_PDPContextNumber
2537 {
2538 UINT8 mPDPContextNumber;
2539 };
2540
2541 // Structure to describe response TLV 0x26 for WDSGetProfileSettings()
2542 struct sWDSGetProfileSettingsResponse_PDPContextSecondaryFlag
2543 {
2544 INT8 mPDPContextSecondaryFlag;
2545 };
2546
2547 // Structure to describe response TLV 0x27 for WDSGetProfileSettings()
2548 struct sWDSGetProfileSettingsResponse_PDPContextPrimaryID
2549 {
2550 UINT8 mPDPPrimaryID;
2551 };
2552
2553 // Structure to describe response TLV 0x28 for WDSGetProfileSettings()
2554 struct sWDSGetProfileSettingsResponse_IPv6Address
2555 {
2556 UINT16 mIPv6Address[8];
2557 };
2558
2559 // Structure to describe response TLV 0x29 for WDSGetProfileSettings()
2560 struct sWDSGetProfileSettingsResponse_RequestedQoS
2561 {
2562 eQMITrafficClasses mTrafficClass;
2563 UINT32 mMaxUplinkBitrate;
2564 UINT32 mMaxDownlinkBitrate;
2565 UINT32 mGuaranteedUplinkBitrate;
2566 UINT32 mGuaranteedDownlinkBitrate;
2567 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2568 UINT32 mMaxSDUSize;
2569 eQMISDUErrorRatios mSDUErrorRatio;
2570 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2571 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2572 UINT32 mTransferDelay;
2573 UINT32 mTrafficHandlingPriority;
2574 INT8 mSignalingIndication;
2575 };
2576
2577 // Structure to describe response TLV 0x2A for WDSGetProfileSettings()
2578 struct sWDSGetProfileSettingsResponse_MinimumQoS
2579 {
2580 eQMITrafficClasses mTrafficClass;
2581 UINT32 mMaxUplinkBitrate;
2582 UINT32 mMaxDownlinkBitrate;
2583 UINT32 mGuaranteedUplinkBitrate;
2584 UINT32 mGuaranteedDownlinkBitrate;
2585 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2586 UINT32 mMaxSDUSize;
2587 eQMISDUErrorRatios mSDUErrorRatio;
2588 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2589 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2590 UINT32 mTransferDelay;
2591 UINT32 mTrafficHandlingPriority;
2592 INT8 mSignalingIndication;
2593 };
2594
2595 // Structure to describe response TLV 0x2B for WDSGetProfileSettings()
2596 struct sWDSGetProfileSettingsResponse_PrimaryIPv6
2597 {
2598 UINT16 mIPv6Address[8];
2599 };
2600
2601 // Structure to describe response TLV 0x2C for WDSGetProfileSettings()
2602 struct sWDSGetProfileSettingsResponse_SecondaryIPv6
2603 {
2604 UINT16 mIPv6Address[8];
2605 };
2606
2607 // Structure to describe response TLV 0x2D for WDSGetProfileSettings()
2608 struct sWDSGetProfileSettingsResponse_AddressPreference
2609 {
2610 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
2611 };
2612
2613 // Structure to describe response TLV 0x2E for WDSGetProfileSettings()
2614 struct sWDSGetProfileSettingsResponse_LTEQoSParameters
2615 {
2616 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
2617 UINT32 mGuaranteedDownlinkBitrate;
2618 UINT32 mMaxDownlinkBitrate;
2619 UINT32 mGuaranteedUplinkBitrate;
2620 UINT32 mMaxUplinkBitrate;
2621 };
2622
2623 // Structure to describe response TLV 0x2F for WDSGetProfileSettings()
2624 struct sWDSGetProfileSettingsResponse_APNDisabled
2625 {
2626 INT8 mAPNDisabled;
2627 };
2628
2629 // Structure to describe response TLV 0x30 for WDSGetProfileSettings()
2630 struct sWDSGetProfileSettingsResponse_PDNInactivityTimer
2631 {
2632 UINT32 mPDNInactivityTimerSeconds;
2633 };
2634
2635 // Structure to describe response TLV 0x31 for WDSGetProfileSettings()
2636 struct sWDSGetProfileSettingsResponse_APNClass
2637 {
2638 UINT8 mAPNClass;
2639 };
2640
2641 // Structure to describe response TLV 0x90 for WDSGetProfileSettings()
2642 struct sWDSGetProfileSettingsResponse_NegotiateDNSServerPreference
2643 {
2644 INT8 mNegotiateDNSServerPreference;
2645 };
2646
2647 // Structure to describe response TLV 0x91 for WDSGetProfileSettings()
2648 struct sWDSGetProfileSettingsResponse_PPPSessionCloseTimerDO
2649 {
2650 UINT32 mPPPSessionCloseTimerDOSeconds;
2651 };
2652
2653 // Structure to describe response TLV 0x92 for WDSGetProfileSettings()
2654 struct sWDSGetProfileSettingsResponse_PPPSessionCloseTimer1X
2655 {
2656 UINT32 mPPPSessionCloseTimer1XSeconds;
2657 };
2658
2659 // Structure to describe response TLV 0x93 for WDSGetProfileSettings()
2660 struct sWDSGetProfileSettingsResponse_AllowLinger
2661 {
2662 INT8 mAllowLinger;
2663 };
2664
2665 // Structure to describe response TLV 0x94 for WDSGetProfileSettings()
2666 struct sWDSGetProfileSettingsResponse_LCPACKTimeout
2667 {
2668 UINT16 mTimeoutMilliseconds;
2669 };
2670
2671 // Structure to describe response TLV 0x95 for WDSGetProfileSettings()
2672 struct sWDSGetProfileSettingsResponse_IPCPACKTimeout
2673 {
2674 UINT16 mTimeoutMilliseconds;
2675 };
2676
2677 // Structure to describe response TLV 0x96 for WDSGetProfileSettings()
2678 struct sWDSGetProfileSettingsResponse_AuthenticationTimeout
2679 {
2680 UINT16 mTimeoutMilliseconds;
2681 };
2682
2683 // Structure to describe response TLV 0x97 for WDSGetProfileSettings()
2684 struct sWDSGetProfileSettingsResponse_LCPConfigRetryCount
2685 {
2686 UINT8 mRetryCount;
2687 };
2688
2689 // Structure to describe response TLV 0x98 for WDSGetProfileSettings()
2690 struct sWDSGetProfileSettingsResponse_IPCPConfigRetryCount
2691 {
2692 UINT8 mRetryCount;
2693 };
2694
2695 // Structure to describe response TLV 0x99 for WDSGetProfileSettings()
2696 struct sWDSGetProfileSettingsResponse_AuthenticationRetry
2697 {
2698 UINT8 mRetryCount;
2699 };
2700
2701 // Structure to describe response TLV 0x9A for WDSGetProfileSettings()
2702 struct sWDSGetProfileSettingsResponse_AuthenticationProtocol
2703 {
2704 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2705 };
2706
2707 // Structure to describe response TLV 0x9B for WDSGetProfileSettings()
2708 struct sWDSGetProfileSettingsResponse_UserID
2709 {
2710 // String is variable length, but must be size of the container
2711 // char mUsername[1];
2712 };
2713
2714 // Structure to describe response TLV 0x9C for WDSGetProfileSettings()
2715 struct sWDSGetProfileSettingsResponse_AuthenticationPassword
2716 {
2717 // String is variable length, but must be size of the container
2718 // char mPassword[1];
2719 };
2720
2721 // Structure to describe response TLV 0x9D for WDSGetProfileSettings()
2722 struct sWDSGetProfileSettingsResponse_DataRate
2723 {
2724 eQMIWDSDataRate mDataRate;
2725 };
2726
2727 // Structure to describe response TLV 0x9E for WDSGetProfileSettings()
2728 struct sWDSGetProfileSettingsResponse_ApplicationType
2729 {
2730 eQMIWDSApplicationType mApplicationType;
2731 };
2732
2733 // Structure to describe response TLV 0x9F for WDSGetProfileSettings()
2734 struct sWDSGetProfileSettingsResponse_DataMode
2735 {
2736 eQMIWDSDataMode mDataMode;
2737 };
2738
2739 // Structure to describe response TLV 0xA0 for WDSGetProfileSettings()
2740 struct sWDSGetProfileSettingsResponse_ApplicationPriority
2741 {
2742 UINT8 mApplicationPriority;
2743 };
2744
2745 // Structure to describe response TLV 0xA1 for WDSGetProfileSettings()
2746 struct sWDSGetProfileSettingsResponse_APNString
2747 {
2748 // String is variable length, but must be size of the container
2749 // char mAPNName[1];
2750 };
2751
2752 // Structure to describe response TLV 0xA2 for WDSGetProfileSettings()
2753 struct sWDSGetProfileSettingsResponse_PDNType
2754 {
2755 eQMIWDSPDNType mPDNType;
2756 };
2757
2758 // Structure to describe response TLV 0xA3 for WDSGetProfileSettings()
2759 struct sWDSGetProfileSettingsResponse_PCSCFAddressNeeded
2760 {
2761 INT8 mPCSCFAddressNeeded;
2762 };
2763
2764 // Structure to describe response TLV 0xA4 for WDSGetProfileSettings()
2765 struct sWDSGetProfileSettingsResponse_PrimaryIPv4Address
2766 {
2767 UINT8 mIPV4Address[4];
2768 };
2769
2770 // Structure to describe response TLV 0xA5 for WDSGetProfileSettings()
2771 struct sWDSGetProfileSettingsResponse_SecondaryIPv4Address
2772 {
2773 UINT8 mIPV4Address[4];
2774 };
2775
2776 // Structure to describe response TLV 0xA6 for WDSGetProfileSettings()
2777 struct sWDSGetProfileSettingsResponse_PrimaryIPv6Address
2778 {
2779 UINT16 mIPv6Address[8];
2780 };
2781
2782 // Structure to describe response TLV 0xA7 for WDSGetProfileSettings()
2783 struct sWDSGetProfileSettingsResponse_SecondaryIPv6Address
2784 {
2785 UINT16 mIPv6Address[8];
2786 };
2787
2788 // Structure to describe response TLV 0xA8 for WDSGetProfileSettings()
2789 struct sWDSGetProfileSettingsResponse_RATType
2790 {
2791 eQMIWDS3GPP2RATTypes mRATType;
2792 };
2793
2794 // Structure to describe response TLV 0xA9 for WDSGetProfileSettings()
2795 struct sWDSGetProfileSettingsResponse_3GPP2APNEnabled
2796 {
2797 INT8 mAPNEnabled;
2798 };
2799
2800 // Structure to describe response TLV 0xAA for WDSGetProfileSettings()
2801 struct sWDSGetProfileSettingsResponse_3GPP2PDNInactivityTimer
2802 {
2803 UINT32 mPDNInactivityTimerMinutes;
2804 };
2805
2806 // Structure to describe response TLV 0xAB for WDSGetProfileSettings()
2807 struct sWDSGetProfileSettingsResponse_3GPP2APNClass
2808 {
2809 UINT8 mAPNClass;
2810 };
2811
2812 // Structure to describe response TLV 0xE0 for WDSGetProfileSettings()
2813 struct sWDSGetProfileSettingsResponse_ExtendedErrorCode
2814 {
2815 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2816 };
2817
2818 // Structure to describe request TLV 0x01 for WDSGetDefaultSettings()
2819 struct sWDSGetDefaultSettingsRequest_ProfileType
2820 {
2821 eQMIProfileTypes mProfileType;
2822 };
2823
2824 // Structure to describe response TLV 0x10 for WDSGetDefaultSettings()
2825 struct sWDSGetDefaultSettingsResponse_ProfileName
2826 {
2827 // String is variable length, but must be size of the container
2828 // char mProfileName[1];
2829 };
2830
2831 // Structure to describe response TLV 0x11 for WDSGetDefaultSettings()
2832 struct sWDSGetDefaultSettingsResponse_PDPType
2833 {
2834 eQMIPDPTypes mPDPType;
2835 };
2836
2837 // Structure to describe response TLV 0x12 for WDSGetDefaultSettings()
2838 struct sWDSGetDefaultSettingsResponse_PDPHeaderCompressionType
2839 {
2840 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
2841 };
2842
2843 // Structure to describe response TLV 0x13 for WDSGetDefaultSettings()
2844 struct sWDSGetDefaultSettingsResponse_PDPDataCompressionType
2845 {
2846 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
2847 };
2848
2849 // Structure to describe response TLV 0x14 for WDSGetDefaultSettings()
2850 struct sWDSGetDefaultSettingsResponse_APNName
2851 {
2852 // String is variable length, but must be size of the container
2853 // char mAPNName[1];
2854 };
2855
2856 // Structure to describe response TLV 0x15 for WDSGetDefaultSettings()
2857 struct sWDSGetDefaultSettingsResponse_PrimaryDNS
2858 {
2859 UINT8 mIPV4Address[4];
2860 };
2861
2862 // Structure to describe response TLV 0x16 for WDSGetDefaultSettings()
2863 struct sWDSGetDefaultSettingsResponse_SecondaryDNS
2864 {
2865 UINT8 mIPV4Address[4];
2866 };
2867
2868 // Structure to describe response TLV 0x17 for WDSGetDefaultSettings()
2869 struct sWDSGetDefaultSettingsResponse_UMTSRequestedQoS
2870 {
2871 eQMITrafficClasses mTrafficClass;
2872 UINT32 mMaxUplinkBitrate;
2873 UINT32 mMaxDownlinkBitrate;
2874 UINT32 mGuaranteedUplinkBitrate;
2875 UINT32 mGuaranteedDownlinkBitrate;
2876 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2877 UINT32 mMaxSDUSize;
2878 eQMISDUErrorRatios mSDUErrorRatio;
2879 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2880 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2881 UINT32 mTransferDelay;
2882 UINT32 mTrafficHandlingPriority;
2883 };
2884
2885 // Structure to describe response TLV 0x18 for WDSGetDefaultSettings()
2886 struct sWDSGetDefaultSettingsResponse_UMTSMinimumQoS
2887 {
2888 eQMITrafficClasses mTrafficClass;
2889 UINT32 mMaxUplinkBitrate;
2890 UINT32 mMaxDownlinkBitrate;
2891 UINT32 mGuaranteedUplinkBitrate;
2892 UINT32 mGuaranteedDownlinkBitrate;
2893 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2894 UINT32 mMaxSDUSize;
2895 eQMISDUErrorRatios mSDUErrorRatio;
2896 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2897 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2898 UINT32 mTransferDelay;
2899 UINT32 mTrafficHandlingPriority;
2900 };
2901
2902 // Structure to describe response TLV 0x19 for WDSGetDefaultSettings()
2903 struct sWDSGetDefaultSettingsResponse_GPRSRequestedQoS
2904 {
2905 UINT32 mPrecedenceClass;
2906 UINT32 mDelayClass;
2907 UINT32 mReliabilityClass;
2908 UINT32 mPeakThroughputClass;
2909 UINT32 mMeanThroughputClass;
2910 };
2911
2912 // Structure to describe response TLV 0x1A for WDSGetDefaultSettings()
2913 struct sWDSGetDefaultSettingsResponse_GPRSMinimumQoS
2914 {
2915 UINT32 mPrecedenceClass;
2916 UINT32 mDelayClass;
2917 UINT32 mReliabilityClass;
2918 UINT32 mPeakThroughputClass;
2919 UINT32 mMeanThroughputClass;
2920 };
2921
2922 // Structure to describe response TLV 0x1B for WDSGetDefaultSettings()
2923 struct sWDSGetDefaultSettingsResponse_Username
2924 {
2925 // String is variable length, but must be size of the container
2926 // char mUsername[1];
2927 };
2928
2929 // Structure to describe response TLV 0x1C for WDSGetDefaultSettings()
2930 struct sWDSGetDefaultSettingsResponse_Password
2931 {
2932 // String is variable length, but must be size of the container
2933 // char mPassword[1];
2934 };
2935
2936 // Structure to describe response TLV 0x1D for WDSGetDefaultSettings()
2937 struct sWDSGetDefaultSettingsResponse_Authentication
2938 {
2939 bool mEnablePAP:1;
2940 bool mEnableCHAP:1;
2941
2942 // Padding out 6 bits
2943 UINT8 mReserved1:6;
2944 };
2945
2946 // Structure to describe response TLV 0x1E for WDSGetDefaultSettings()
2947 struct sWDSGetDefaultSettingsResponse_IPAddress
2948 {
2949 UINT8 mIPV4Address[4];
2950 };
2951
2952 // Structure to describe response TLV 0x1F for WDSGetDefaultSettings()
2953 struct sWDSGetDefaultSettingsResponse_PCSCF
2954 {
2955 INT8 mPCSCFAddressUsingPCO;
2956 };
2957
2958 // Structure to describe response TLV 0x20 for WDSGetDefaultSettings()
2959 struct sWDSGetDefaultSettingsResponse_PDPAccessControlFlag
2960 {
2961 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
2962 };
2963
2964 // Structure to describe response TLV 0x21 for WDSGetDefaultSettings()
2965 struct sWDSGetDefaultSettingsResponse_PCSCFAddressUsingDHCP
2966 {
2967 INT8 mPCSCFAddressUsingDHCP;
2968 };
2969
2970 // Structure to describe response TLV 0x22 for WDSGetDefaultSettings()
2971 struct sWDSGetDefaultSettingsResponse_IMCNFlag
2972 {
2973 INT8 mIMCN;
2974 };
2975
2976 // Structure to describe response TLV 0x23 for WDSGetDefaultSettings()
2977 struct sWDSGetDefaultSettingsResponse_TrafficFlowTemplateID1Parameters
2978 {
2979 UINT8 mFilterID;
2980 UINT8 mEvaluationID;
2981 eQMIWDSIPVersion mIPVersion;
2982
2983 // The following union is based on the value of mIPVersion
2984 union uValOfIPVersion
2985 {
2986 // If the value of mIPVersion == 4
2987 struct sIPVersionIs4
2988 {
2989 UINT8 mIPV4Address[4];
2990 };
2991
2992 sIPVersionIs4 mIPVersionIs4;
2993
2994 // If the value of mIPVersion == 6
2995 struct sIPVersionIs6
2996 {
2997 UINT16 mIPv6Address[8];
2998 };
2999
3000 sIPVersionIs6 mIPVersionIs6;
3001
3002 // Padding out 128 bits
3003 UINT8 mReserved1[16];
3004 };
3005
3006 uValOfIPVersion mValOfIPVersion;
3007
3008 UINT8 mSourceIPMask;
3009 UINT8 mNextHeader;
3010 UINT16 mDestinationPortRangeStart;
3011 UINT16 mDestinationPortRangeEnd;
3012 UINT16 mSourcePortRangeStart;
3013 UINT16 mSourcePortRangeEnd;
3014 UINT32 mIPSECSecurityParameterIndex;
3015 UINT16 mTOSMask;
3016 UINT32 mFlowLabel;
3017 };
3018
3019 // Structure to describe response TLV 0x24 for WDSGetDefaultSettings()
3020 struct sWDSGetDefaultSettingsResponse_TrafficFlowTemplateID2Parameters
3021 {
3022 UINT8 mFilterID;
3023 UINT8 mEvaluationID;
3024 eQMIWDSIPVersion mIPVersion;
3025
3026 // The following union is based on the value of mIPVersion
3027 union uValOfIPVersion
3028 {
3029 // If the value of mIPVersion == 4
3030 struct sIPVersionIs4
3031 {
3032 UINT8 mIPV4Address[4];
3033 };
3034
3035 sIPVersionIs4 mIPVersionIs4;
3036
3037 // If the value of mIPVersion == 6
3038 struct sIPVersionIs6
3039 {
3040 UINT16 mIPv6Address[8];
3041 };
3042
3043 sIPVersionIs6 mIPVersionIs6;
3044
3045 // Padding out 128 bits
3046 UINT8 mReserved1[16];
3047 };
3048
3049 uValOfIPVersion mValOfIPVersion;
3050
3051 UINT8 mSourceIPMask;
3052 UINT8 mNextHeader;
3053 UINT16 mDestinationPortRangeStart;
3054 UINT16 mDestinationPortRangeEnd;
3055 UINT16 mSourcePortRangeStart;
3056 UINT16 mSourcePortRangeEnd;
3057 UINT32 mIPSECSecurityParameterIndex;
3058 UINT16 mTOSMask;
3059 UINT32 mFlowLabel;
3060 };
3061
3062 // Structure to describe response TLV 0x25 for WDSGetDefaultSettings()
3063 struct sWDSGetDefaultSettingsResponse_PDPContextNumber
3064 {
3065 UINT8 mPDPContextNumber;
3066 };
3067
3068 // Structure to describe response TLV 0x26 for WDSGetDefaultSettings()
3069 struct sWDSGetDefaultSettingsResponse_PDPContextSecondaryFlag
3070 {
3071 INT8 mPDPContextSecondaryFlag;
3072 };
3073
3074 // Structure to describe response TLV 0x27 for WDSGetDefaultSettings()
3075 struct sWDSGetDefaultSettingsResponse_PDPContextPrimaryID
3076 {
3077 UINT8 mPDPPrimaryID;
3078 };
3079
3080 // Structure to describe response TLV 0x28 for WDSGetDefaultSettings()
3081 struct sWDSGetDefaultSettingsResponse_IPv6Address
3082 {
3083 UINT16 mIPv6Address[8];
3084 };
3085
3086 // Structure to describe response TLV 0x29 for WDSGetDefaultSettings()
3087 struct sWDSGetDefaultSettingsResponse_RequestedQoS
3088 {
3089 eQMITrafficClasses mTrafficClass;
3090 UINT32 mMaxUplinkBitrate;
3091 UINT32 mMaxDownlinkBitrate;
3092 UINT32 mGuaranteedUplinkBitrate;
3093 UINT32 mGuaranteedDownlinkBitrate;
3094 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3095 UINT32 mMaxSDUSize;
3096 eQMISDUErrorRatios mSDUErrorRatio;
3097 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3098 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3099 UINT32 mTransferDelay;
3100 UINT32 mTrafficHandlingPriority;
3101 INT8 mSignalingIndication;
3102 };
3103
3104 // Structure to describe response TLV 0x2A for WDSGetDefaultSettings()
3105 struct sWDSGetDefaultSettingsResponse_MinimumQoS
3106 {
3107 eQMITrafficClasses mTrafficClass;
3108 UINT32 mMaxUplinkBitrate;
3109 UINT32 mMaxDownlinkBitrate;
3110 UINT32 mGuaranteedUplinkBitrate;
3111 UINT32 mGuaranteedDownlinkBitrate;
3112 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3113 UINT32 mMaxSDUSize;
3114 eQMISDUErrorRatios mSDUErrorRatio;
3115 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3116 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3117 UINT32 mTransferDelay;
3118 UINT32 mTrafficHandlingPriority;
3119 INT8 mSignalingIndication;
3120 };
3121
3122 // Structure to describe response TLV 0x2B for WDSGetDefaultSettings()
3123 struct sWDSGetDefaultSettingsResponse_PrimaryIPv6
3124 {
3125 UINT16 mIPv6Address[8];
3126 };
3127
3128 // Structure to describe response TLV 0x2C for WDSGetDefaultSettings()
3129 struct sWDSGetDefaultSettingsResponse_SecondaryIPv6
3130 {
3131 UINT16 mIPv6Address[8];
3132 };
3133
3134 // Structure to describe response TLV 0x2D for WDSGetDefaultSettings()
3135 struct sWDSGetDefaultSettingsResponse_AddressPreference
3136 {
3137 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
3138 };
3139
3140 // Structure to describe response TLV 0x2E for WDSGetDefaultSettings()
3141 struct sWDSGetDefaultSettingsResponse_LTEQoSParameters
3142 {
3143 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
3144 UINT32 mGuaranteedDownlinkBitrate;
3145 UINT32 mMaxDownlinkBitrate;
3146 UINT32 mGuaranteedUplinkBitrate;
3147 UINT32 mMaxUplinkBitrate;
3148 };
3149
3150 // Structure to describe response TLV 0x2F for WDSGetDefaultSettings()
3151 struct sWDSGetDefaultSettingsResponse_APNDisabled
3152 {
3153 INT8 mAPNDisabled;
3154 };
3155
3156 // Structure to describe response TLV 0x30 for WDSGetDefaultSettings()
3157 struct sWDSGetDefaultSettingsResponse_PDNInactivityTimer
3158 {
3159 UINT32 mPDNInactivityTimerSeconds;
3160 };
3161
3162 // Structure to describe response TLV 0x31 for WDSGetDefaultSettings()
3163 struct sWDSGetDefaultSettingsResponse_APNClass
3164 {
3165 UINT8 mAPNClass;
3166 };
3167
3168 // Structure to describe response TLV 0x90 for WDSGetDefaultSettings()
3169 struct sWDSGetDefaultSettingsResponse_NegotiateDNSServerPreferences
3170 {
3171 INT8 mNegotiateDNSServerPreference;
3172 };
3173
3174 // Structure to describe response TLV 0x91 for WDSGetDefaultSettings()
3175 struct sWDSGetDefaultSettingsResponse_PPPSessionCloseTimerDO
3176 {
3177 UINT32 mPPPSessionCloseTimerDOSeconds;
3178 };
3179
3180 // Structure to describe response TLV 0x92 for WDSGetDefaultSettings()
3181 struct sWDSGetDefaultSettingsResponse_PPPSessionCloseTimer1X
3182 {
3183 UINT32 mPPPSessionCloseTimer1XSeconds;
3184 };
3185
3186 // Structure to describe response TLV 0x93 for WDSGetDefaultSettings()
3187 struct sWDSGetDefaultSettingsResponse_AllowLinger
3188 {
3189 INT8 mAllowLinger;
3190 };
3191
3192 // Structure to describe response TLV 0x94 for WDSGetDefaultSettings()
3193 struct sWDSGetDefaultSettingsResponse_LCPACKTimeout
3194 {
3195 UINT16 mTimeoutMilliseconds;
3196 };
3197
3198 // Structure to describe response TLV 0x95 for WDSGetDefaultSettings()
3199 struct sWDSGetDefaultSettingsResponse_IPCPACKTimeout
3200 {
3201 UINT16 mTimeoutMilliseconds;
3202 };
3203
3204 // Structure to describe response TLV 0x96 for WDSGetDefaultSettings()
3205 struct sWDSGetDefaultSettingsResponse_AuthenticationTimeout
3206 {
3207 UINT16 mTimeoutMilliseconds;
3208 };
3209
3210 // Structure to describe response TLV 0x97 for WDSGetDefaultSettings()
3211 struct sWDSGetDefaultSettingsResponse_LCPConfigRetryCount
3212 {
3213 UINT8 mRetryCount;
3214 };
3215
3216 // Structure to describe response TLV 0x98 for WDSGetDefaultSettings()
3217 struct sWDSGetDefaultSettingsResponse_IPCPConfigRetryCount
3218 {
3219 UINT8 mRetryCount;
3220 };
3221
3222 // Structure to describe response TLV 0x99 for WDSGetDefaultSettings()
3223 struct sWDSGetDefaultSettingsResponse_AuthenticationRetry
3224 {
3225 UINT8 mRetryCount;
3226 };
3227
3228 // Structure to describe response TLV 0x9A for WDSGetDefaultSettings()
3229 struct sWDSGetDefaultSettingsResponse_AuthenticationProtocol
3230 {
3231 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3232 };
3233
3234 // Structure to describe response TLV 0x9B for WDSGetDefaultSettings()
3235 struct sWDSGetDefaultSettingsResponse_UserID
3236 {
3237 // String is variable length, but must be size of the container
3238 // char mUsername[1];
3239 };
3240
3241 // Structure to describe response TLV 0x9C for WDSGetDefaultSettings()
3242 struct sWDSGetDefaultSettingsResponse_AuthenticationPassword
3243 {
3244 // String is variable length, but must be size of the container
3245 // char mPassword[1];
3246 };
3247
3248 // Structure to describe response TLV 0x9D for WDSGetDefaultSettings()
3249 struct sWDSGetDefaultSettingsResponse_DataRate
3250 {
3251 eQMIWDSDataRate mDataRate;
3252 };
3253
3254 // Structure to describe response TLV 0x9E for WDSGetDefaultSettings()
3255 struct sWDSGetDefaultSettingsResponse_ApplicationType
3256 {
3257 eQMIWDSApplicationType mApplicationType;
3258 };
3259
3260 // Structure to describe response TLV 0x9F for WDSGetDefaultSettings()
3261 struct sWDSGetDefaultSettingsResponse_DataMode
3262 {
3263 eQMIWDSDataMode mDataMode;
3264 };
3265
3266 // Structure to describe response TLV 0xA0 for WDSGetDefaultSettings()
3267 struct sWDSGetDefaultSettingsResponse_ApplicationPriority
3268 {
3269 UINT8 mApplicationPriority;
3270 };
3271
3272 // Structure to describe response TLV 0xA1 for WDSGetDefaultSettings()
3273 struct sWDSGetDefaultSettingsResponse_APNString
3274 {
3275 // String is variable length, but must be size of the container
3276 // char mAPNName[1];
3277 };
3278
3279 // Structure to describe response TLV 0xA2 for WDSGetDefaultSettings()
3280 struct sWDSGetDefaultSettingsResponse_PDNType
3281 {
3282 eQMIWDSPDNType mPDNType;
3283 };
3284
3285 // Structure to describe response TLV 0xA3 for WDSGetDefaultSettings()
3286 struct sWDSGetDefaultSettingsResponse_PCSCFAddressNeeded
3287 {
3288 INT8 mPCSCFAddressNeeded;
3289 };
3290
3291 // Structure to describe response TLV 0xA4 for WDSGetDefaultSettings()
3292 struct sWDSGetDefaultSettingsResponse_PrimaryIPv4Address
3293 {
3294 UINT8 mIPV4Address[4];
3295 };
3296
3297 // Structure to describe response TLV 0xA5 for WDSGetDefaultSettings()
3298 struct sWDSGetDefaultSettingsResponse_SecondaryIPv4Address
3299 {
3300 UINT8 mIPV4Address[4];
3301 };
3302
3303 // Structure to describe response TLV 0xA6 for WDSGetDefaultSettings()
3304 struct sWDSGetDefaultSettingsResponse_PrimaryIPv6Address
3305 {
3306 UINT16 mIPv6Address[8];
3307 };
3308
3309 // Structure to describe response TLV 0xA7 for WDSGetDefaultSettings()
3310 struct sWDSGetDefaultSettingsResponse_SecondaryIPv6Address
3311 {
3312 UINT16 mIPv6Address[8];
3313 };
3314
3315 // Structure to describe response TLV 0xA8 for WDSGetDefaultSettings()
3316 struct sWDSGetDefaultSettingsResponse_RATType
3317 {
3318 eQMIWDS3GPP2RATTypes mRATType;
3319 };
3320
3321 // Structure to describe response TLV 0xA9 for WDSGetDefaultSettings()
3322 struct sWDSGetDefaultSettingsResponse_3GPP2APNEnabled
3323 {
3324 INT8 mAPNEnabled;
3325 };
3326
3327 // Structure to describe response TLV 0xAA for WDSGetDefaultSettings()
3328 struct sWDSGetDefaultSettingsResponse_3GPP2PDNInactivityTimer
3329 {
3330 UINT32 mPDNInactivityTimerMinutes;
3331 };
3332
3333 // Structure to describe response TLV 0xAB for WDSGetDefaultSettings()
3334 struct sWDSGetDefaultSettingsResponse_3GPP2APNClass
3335 {
3336 UINT8 mAPNClass;
3337 };
3338
3339 // Structure to describe response TLV 0xE0 for WDSGetDefaultSettings()
3340 struct sWDSGetDefaultSettingsResponse_ExtendedErrorCode
3341 {
3342 eQMIWDSExtendedErrorCode mExtendedErrorCode;
3343 };
3344
3345 // Structure to describe request TLV 0x10 for WDSGetCurrentSettings()
3346 struct sWDSGetCurrentSettingsRequest_RequestedSettings
3347 {
3348 bool mProfileID:1;
3349 bool mProfileName:1;
3350 bool mPDPType:1;
3351 bool mAPNName:1;
3352 bool mDNSAddress:1;
3353 bool mGrantedQoS:1;
3354 bool mUsername:1;
3355 bool mAuthenticationProtocol:1;
3356 bool mIPAddress:1;
3357 bool mGatewayInfo:1;
3358 bool mPCSCFAddress:1;
3359 bool mPCSCFServerAddressList:1;
3360 bool mPCSCFDomainNameList:1;
3361 bool mMTU:1;
3362 bool mDomainNameList:1;
3363 bool mIPFamily:1;
3364 bool mIMCNFlag:1;
3365 bool mExtendedTechnology:1;
3366
3367 // Padding out 14 bits
3368 UINT8 mReserved1:6;
3369 UINT8 mReserved2;
3370 };
3371
3372 // Structure to describe response TLV 0x10 for WDSGetCurrentSettings()
3373 struct sWDSGetCurrentSettingsResponse_ProfileName
3374 {
3375 // String is variable length, but must be size of the container
3376 // char mProfileName[1];
3377 };
3378
3379 // Structure to describe response TLV 0x11 for WDSGetCurrentSettings()
3380 struct sWDSGetCurrentSettingsResponse_PDPType
3381 {
3382 eQMIPDPTypes mPDPType;
3383 };
3384
3385 // Structure to describe response TLV 0x14 for WDSGetCurrentSettings()
3386 struct sWDSGetCurrentSettingsResponse_APNName
3387 {
3388 // String is variable length, but must be size of the container
3389 // char mAPNName[1];
3390 };
3391
3392 // Structure to describe response TLV 0x15 for WDSGetCurrentSettings()
3393 struct sWDSGetCurrentSettingsResponse_PrimaryDNS
3394 {
3395 UINT8 mIPV4Address[4];
3396 };
3397
3398 // Structure to describe response TLV 0x16 for WDSGetCurrentSettings()
3399 struct sWDSGetCurrentSettingsResponse_SecondaryDNS
3400 {
3401 UINT8 mIPV4Address[4];
3402 };
3403
3404 // Structure to describe response TLV 0x17 for WDSGetCurrentSettings()
3405 struct sWDSGetCurrentSettingsResponse_UMTSGrantedQoS
3406 {
3407 eQMITrafficClasses mTrafficClass;
3408 UINT32 mMaxUplinkBitrate;
3409 UINT32 mMaxDownlinkBitrate;
3410 UINT32 mGuaranteedUplinkBitrate;
3411 UINT32 mGuaranteedDownlinkBitrate;
3412 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3413 UINT32 mMaxSDUSize;
3414 eQMISDUErrorRatios mSDUErrorRatio;
3415 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3416 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3417 UINT32 mTransferDelay;
3418 UINT32 mTrafficHandlingPriority;
3419 };
3420
3421 // Structure to describe response TLV 0x19 for WDSGetCurrentSettings()
3422 struct sWDSGetCurrentSettingsResponse_GPRSGrantedQoS
3423 {
3424 UINT32 mPrecedenceClass;
3425 UINT32 mDelayClass;
3426 UINT32 mReliabilityClass;
3427 UINT32 mPeakThroughputClass;
3428 UINT32 mMeanThroughputClass;
3429 };
3430
3431 // Structure to describe response TLV 0x1B for WDSGetCurrentSettings()
3432 struct sWDSGetCurrentSettingsResponse_Username
3433 {
3434 // String is variable length, but must be size of the container
3435 // char mUsername[1];
3436 };
3437
3438 // Structure to describe response TLV 0x1D for WDSGetCurrentSettings()
3439 struct sWDSGetCurrentSettingsResponse_Authentication
3440 {
3441 bool mEnablePAP:1;
3442 bool mEnableCHAP:1;
3443
3444 // Padding out 6 bits
3445 UINT8 mReserved1:6;
3446 };
3447
3448 // Structure to describe response TLV 0x1E for WDSGetCurrentSettings()
3449 struct sWDSGetCurrentSettingsResponse_IPAddress
3450 {
3451 UINT8 mIPV4Address[4];
3452 };
3453
3454 // Structure to describe response TLV 0x1F for WDSGetCurrentSettings()
3455 struct sWDSGetCurrentSettingsResponse_ProfileID
3456 {
3457 eQMIProfileTypes mProfileType;
3458 UINT8 mProfileIndex;
3459 };
3460
3461 // Structure to describe response TLV 0x20 for WDSGetCurrentSettings()
3462 struct sWDSGetCurrentSettingsResponse_GatewayAddress
3463 {
3464 UINT8 mIPV4Address[4];
3465 };
3466
3467 // Structure to describe response TLV 0x21 for WDSGetCurrentSettings()
3468 struct sWDSGetCurrentSettingsResponse_GatewaySubnetMask
3469 {
3470 UINT8 mIPV4Address[4];
3471 };
3472
3473 // Structure to describe response TLV 0x22 for WDSGetCurrentSettings()
3474 struct sWDSGetCurrentSettingsResponse_PCSCF
3475 {
3476 INT8 mPCSCFAddressUsingPCO;
3477 };
3478
3479 // Structure to describe response TLV 0x23 for WDSGetCurrentSettings()
3480 struct sWDSGetCurrentSettingsResponse_PCSCFServerAddressList
3481 {
3482 UINT8 mNumberOfInstances;
3483
3484 struct sInstance
3485 {
3486 UINT8 mIPV4Address[4];
3487 };
3488
3489 // This array must be the size specified by mNumberOfInstances
3490 // sInstance mInstances[1];
3491 };
3492
3493 // Structure to describe response TLV 0x24 for WDSGetCurrentSettings()
3494 struct sWDSGetCurrentSettingsResponse_PCSCFDomainNameList
3495 {
3496 UINT8 mNumberOfInstances;
3497
3498 struct sInstance
3499 {
3500 UINT16 mFQDNLength;
3501
3502 // This array must be the size specified by mFQDNLength
3503 // char mFQDN[1];
3504 };
3505
3506 // This array must be the size specified by mNumberOfInstances
3507 // sInstance mInstances[1];
3508 };
3509
3510 // Structure to describe response TLV 0x25 for WDSGetCurrentSettings()
3511 struct sWDSGetCurrentSettingsResponse_IPv6Address
3512 {
3513 UINT16 mIPv6Address[8];
3514 UINT8 mIPPrefixLength;
3515 };
3516
3517 // Structure to describe response TLV 0x26 for WDSGetCurrentSettings()
3518 struct sWDSGetCurrentSettingsResponse_IPv6GatewayAddress
3519 {
3520 UINT16 mIPv6Address[8];
3521 UINT8 mIPPrefixLength;
3522 };
3523
3524 // Structure to describe response TLV 0x27 for WDSGetCurrentSettings()
3525 struct sWDSGetCurrentSettingsResponse_PrimaryIPv6DNS
3526 {
3527 UINT16 mIPv6Address[8];
3528 };
3529
3530 // Structure to describe response TLV 0x28 for WDSGetCurrentSettings()
3531 struct sWDSGetCurrentSettingsResponse_SecondaryIPv6DNS
3532 {
3533 UINT16 mIPv6Address[8];
3534 };
3535
3536 // Structure to describe response TLV 0x29 for WDSGetCurrentSettings()
3537 struct sWDSGetCurrentSettingsResponse_MTU
3538 {
3539 UINT32 mMTU;
3540 };
3541
3542 // Structure to describe response TLV 0x2A for WDSGetCurrentSettings()
3543 struct sWDSGetCurrentSettingsResponse_DomainNameList
3544 {
3545 UINT8 mNumberOfInstances;
3546
3547 struct sInstance
3548 {
3549 UINT16 mDomainNameLength;
3550
3551 // This array must be the size specified by mDomainNameLength
3552 // char mDomainName[1];
3553 };
3554
3555 // This array must be the size specified by mNumberOfInstances
3556 // sInstance mInstances[1];
3557 };
3558
3559 // Structure to describe response TLV 0x2B for WDSGetCurrentSettings()
3560 struct sWDSGetCurrentSettingsResponse_IPFamily
3561 {
3562 eQMIWDSIPFamilies mIPFamily;
3563 };
3564
3565 // Structure to describe response TLV 0x2C for WDSGetCurrentSettings()
3566 struct sWDSGetCurrentSettingsResponse_IMCNFlag
3567 {
3568 INT8 mIMCN;
3569 };
3570
3571 // Structure to describe response TLV 0x2D for WDSGetCurrentSettings()
3572 struct sWDSGetCurrentSettingsResponse_ExtendedTechnology
3573 {
3574 eQMIWDSExtendedTechPrefs mExtendedTechnologyPreference;
3575 };
3576
3577 // Structure to describe response TLV 0x2E for WDSGetCurrentSettings()
3578 struct sWDSGetCurrentSettingsResponse_PCSCFIPv6AddressList
3579 {
3580 UINT8 mNumberOfAddresses;
3581
3582 struct sAddress
3583 {
3584 UINT16 mIPv6Address[8];
3585 };
3586
3587 // This array must be the size specified by mNumberOfAddresses
3588 // sAddress mAddresses[1];
3589 };
3590
3591 // Structure to describe request TLV 0x01 for WDSSetMIPMode()
3592 struct sWDSSetMIPModeRequest_MobileIPMode
3593 {
3594 eQMIMobileIPModes mMIPMode;
3595 };
3596
3597 // Structure to describe response TLV 0x01 for WDSGetMIPMode()
3598 struct sWDSGetMIPModeResponse_MobileIPMode
3599 {
3600 eQMIMobileIPModes mMIPMode;
3601 };
3602
3603 // Structure to describe response TLV 0x01 for WDSGetDormancy()
3604 struct sWDSGetDormancyResponse_DormancyStatus
3605 {
3606 eQMIDormancyStatus mDormancyStatus;
3607 };
3608
3609 // Structure to describe response TLV 0x01 for WDSGetAutoconnectSetting()
3610 struct sWDSGetAutoconnectSettingResponse_Autoconnect
3611 {
3612 eQMIWDSAutoconnectSettings mAutoconnectSetting;
3613 };
3614
3615 // Structure to describe response TLV 0x10 for WDSGetAutoconnectSetting()
3616 struct sWDSGetAutoconnectSettingResponse_Roam
3617 {
3618 eQMIWDSAutoconnectRoamSettings mAutoconnectRoamSetting;
3619 };
3620
3621 // Structure to describe response TLV 0x01 for WDSGetDataSessionDuration()
3622 struct sWDSGetDataSessionDurationResponse_Duration
3623 {
3624 UINT64 mDataSessionDuration;
3625 };
3626
3627 // Structure to describe response TLV 0x10 for WDSGetDataSessionDuration()
3628 struct sWDSGetDataSessionDurationResponse_PreviousDuration
3629 {
3630 UINT64 mPreviousDataSessionDuration;
3631 };
3632
3633 // Structure to describe response TLV 0x11 for WDSGetDataSessionDuration()
3634 struct sWDSGetDataSessionDurationResponse_ActiveDuration
3635 {
3636 UINT64 mDataSessionActiveDuration;
3637 };
3638
3639 // Structure to describe response TLV 0x12 for WDSGetDataSessionDuration()
3640 struct sWDSGetDataSessionDurationResponse_PreviousActiveDuration
3641 {
3642 UINT64 mPreviousDataSessionActiveDuration;
3643 };
3644
3645 // Structure to describe response TLV 0x01 for WDSGetModemStatus()
3646 struct sWDSGetModemStatusResponse_Status
3647 {
3648 eQMIConnectionStatus mConnectionStatus;
3649 UINT64 mDataSessionDuration;
3650 };
3651
3652 // Structure to describe response TLV 0x10 for WDSGetModemStatus()
3653 struct sWDSGetModemStatusResponse_CallEndReason
3654 {
3655 eQMICallEndReasons mCallEnd;
3656 };
3657
3658 // Structure to describe indication TLV 0x01 for WDS ModemStatusReport
3659 struct sWDSModemStatusReportIndication_Status
3660 {
3661 eQMIConnectionStatus mConnectionStatus;
3662 };
3663
3664 // Structure to describe indication TLV 0x10 for WDS ModemStatusReport
3665 struct sWDSModemStatusReportIndication_CallEndReason
3666 {
3667 eQMICallEndReasons mCallEnd;
3668 };
3669
3670 // Structure to describe response TLV 0x01 for WDSGetDataBearerTechnology()
3671 struct sWDSGetDataBearerTechnologyResponse_Technology
3672 {
3673 eQMIDataBearerTechnologies mDataBearerTechnology;
3674 };
3675
3676 // Structure to describe response TLV 0x10 for WDSGetDataBearerTechnology()
3677 struct sWDSGetDataBearerTechnologyResponse_LastCallTechnology
3678 {
3679 eQMIDataBearerTechnologies mDataBearerTechnology;
3680 };
3681
3682 // Structure to describe request TLV 0x01 for WDSGetModemInfo()
3683 struct sWDSGetModemInfoRequest_RequestedStatus
3684 {
3685 bool mConnectionStatus:1;
3686 bool mLastCallEndReason:1;
3687 bool mRXTXByteTotals:1;
3688 bool mDormancyStatus:1;
3689 bool mDataBearerTechnology:1;
3690 bool mChannelRates:1;
3691 bool mDuration:1;
3692
3693 // Padding out 25 bits
3694 UINT8 mReserved1:1;
3695 UINT8 mReserved2[3];
3696 };
3697
3698 // Structure to describe request TLV 0x10 for WDSGetModemInfo()
3699 struct sWDSGetModemInfoRequest_ConnectionStatusIndicator
3700 {
3701 INT8 mReportConnectionStatus;
3702 };
3703
3704 // Structure to describe request TLV 0x11 for WDSGetModemInfo()
3705 struct sWDSGetModemInfoRequest_TransferStatisticsIndicator
3706 {
3707 UINT8 mTransferStatisticsIntervalSeconds;
3708
3709 // Padding out 6 bits
3710 UINT8 mReserved1:6;
3711
3712 bool mTXByteTotal:1;
3713 bool mRXByteTotal:1;
3714
3715 // Padding out 24 bits
3716 UINT8 mReserved2[3];
3717 };
3718
3719 // Structure to describe request TLV 0x12 for WDSGetModemInfo()
3720 struct sWDSGetModemInfoRequest_DormancyStatusIndicator
3721 {
3722 INT8 mReportDormancyStatus;
3723 };
3724
3725 // Structure to describe request TLV 0x13 for WDSGetModemInfo()
3726 struct sWDSGetModemInfoRequest_DataBearerTechnologyIndicator
3727 {
3728 INT8 mReportDataBearerTechnology;
3729 };
3730
3731 // Structure to describe request TLV 0x14 for WDSGetModemInfo()
3732 struct sWDSGetModemInfoRequest_ChannelRateIndicator
3733 {
3734 INT8 mReportChannelRate;
3735 };
3736
3737 // Structure to describe response TLV 0x10 for WDSGetModemInfo()
3738 struct sWDSGetModemInfoResponse_Status
3739 {
3740 eQMIConnectionStatus mConnectionStatus;
3741 UINT64 mDataSessionDuration;
3742 };
3743
3744 // Structure to describe response TLV 0x11 for WDSGetModemInfo()
3745 struct sWDSGetModemInfoResponse_CallEndReason
3746 {
3747 eQMICallEndReasons mCallEnd;
3748 };
3749
3750 // Structure to describe response TLV 0x12 for WDSGetModemInfo()
3751 struct sWDSGetModemInfoResponse_TXBytes
3752 {
3753 UINT64 mTXByteTotal;
3754 };
3755
3756 // Structure to describe response TLV 0x13 for WDSGetModemInfo()
3757 struct sWDSGetModemInfoResponse_RXBytes
3758 {
3759 UINT64 mRXByteTotal;
3760 };
3761
3762 // Structure to describe response TLV 0x14 for WDSGetModemInfo()
3763 struct sWDSGetModemInfoResponse_DormancyStatus
3764 {
3765 eQMIDormancyStatus mDormancyStatus;
3766 };
3767
3768 // Structure to describe response TLV 0x15 for WDSGetModemInfo()
3769 struct sWDSGetModemInfoResponse_Technology
3770 {
3771 eQMIDataBearerTechnologies mDataBearerTechnology;
3772 };
3773
3774 // Structure to describe response TLV 0x16 for WDSGetModemInfo()
3775 struct sWDSGetModemInfoResponse_Rates
3776 {
3777 UINT32 mChannelTXRatebps;
3778 UINT32 mChannelRXRatebps;
3779 UINT32 mMaxChannelTXRatebps;
3780 UINT32 mMaxChannelRXRatebps;
3781 };
3782
3783 // Structure to describe response TLV 0x17 for WDSGetModemInfo()
3784 struct sWDSGetModemInfoResponse_PreviousTXBytes
3785 {
3786 UINT64 mPreviousCallTXByteTotal;
3787 };
3788
3789 // Structure to describe response TLV 0x18 for WDSGetModemInfo()
3790 struct sWDSGetModemInfoResponse_PreviousRXBytes
3791 {
3792 UINT64 mPreviousCallRXByteTotal;
3793 };
3794
3795 // Structure to describe response TLV 0x19 for WDSGetModemInfo()
3796 struct sWDSGetModemInfoResponse_ActiveDuration
3797 {
3798 UINT64 mDataSessionActiveDuration;
3799 };
3800
3801 // Structure to describe response TLV 0x20 for WDSGetModemInfo()
3802 struct sWDSGetModemInfoResponse_LastCallTechnology
3803 {
3804 eQMIDataBearerTechnologies mDataBearerTechnology;
3805 };
3806
3807 // Structure to describe indication TLV 0x10 for WDS ModemInfoReport
3808 struct sWDSModemInfoReportIndication_Status
3809 {
3810 eQMIConnectionStatus mConnectionStatus;
3811 };
3812
3813 // Structure to describe indication TLV 0x11 for WDS ModemInfoReport
3814 struct sWDSModemInfoReportIndication_CallEndReason
3815 {
3816 eQMICallEndReasons mCallEnd;
3817 };
3818
3819 // Structure to describe indication TLV 0x12 for WDS ModemInfoReport
3820 struct sWDSModemInfoReportIndication_TXBytes
3821 {
3822 UINT64 mTXByteTotal;
3823 };
3824
3825 // Structure to describe indication TLV 0x13 for WDS ModemInfoReport
3826 struct sWDSModemInfoReportIndication_RXBytes
3827 {
3828 UINT64 mRXByteTotal;
3829 };
3830
3831 // Structure to describe indication TLV 0x14 for WDS ModemInfoReport
3832 struct sWDSModemInfoReportIndication_DormancyStatus
3833 {
3834 eQMIDormancyStatus mDormancyStatus;
3835 };
3836
3837 // Structure to describe indication TLV 0x15 for WDS ModemInfoReport
3838 struct sWDSModemInfoReportIndication_Technology
3839 {
3840 eQMIDataBearerTechnologies mDataBearerTechnology;
3841 };
3842
3843 // Structure to describe indication TLV 0x16 for WDS ModemInfoReport
3844 struct sWDSModemInfoReportIndication_Rates
3845 {
3846 UINT32 mChannelTXRatebps;
3847 UINT32 mChannelRXRatebps;
3848 };
3849
3850 // Structure to describe response TLV 0x01 for WDSGetActiveMIPProfile()
3851 struct sWDSGetActiveMIPProfileResponse_Index
3852 {
3853 UINT8 mProfileIndex;
3854 };
3855
3856 // Structure to describe request TLV 0x01 for WDSSetActiveMIPProfile()
3857 struct sWDSSetActiveMIPProfileRequest_Index
3858 {
3859 char mSPC[6];
3860 UINT8 mProfileIndex;
3861 };
3862
3863 // Structure to describe request TLV 0x01 for WDSGetMIPProfile()
3864 struct sWDSGetMIPProfileRequest_Index
3865 {
3866 UINT8 mProfileIndex;
3867 };
3868
3869 // Structure to describe response TLV 0x10 for WDSGetMIPProfile()
3870 struct sWDSGetMIPProfileResponse_State
3871 {
3872 INT8 mEnabled;
3873 };
3874
3875 // Structure to describe response TLV 0x11 for WDSGetMIPProfile()
3876 struct sWDSGetMIPProfileResponse_HomeAddress
3877 {
3878 UINT8 mIPV4Address[4];
3879 };
3880
3881 // Structure to describe response TLV 0x12 for WDSGetMIPProfile()
3882 struct sWDSGetMIPProfileResponse_PrimaryHomeAgentAddress
3883 {
3884 UINT8 mIPV4Address[4];
3885 };
3886
3887 // Structure to describe response TLV 0x13 for WDSGetMIPProfile()
3888 struct sWDSGetMIPProfileResponse_SecondaryHomeAgentAddress
3889 {
3890 UINT8 mIPV4Address[4];
3891 };
3892
3893 // Structure to describe response TLV 0x14 for WDSGetMIPProfile()
3894 struct sWDSGetMIPProfileResponse_ReverseTunneling
3895 {
3896 INT8 mReverseTunneling;
3897 };
3898
3899 // Structure to describe response TLV 0x15 for WDSGetMIPProfile()
3900 struct sWDSGetMIPProfileResponse_NAI
3901 {
3902 // String is variable length, but must be size of the container
3903 // char mNAI[1];
3904 };
3905
3906 // Structure to describe response TLV 0x16 for WDSGetMIPProfile()
3907 struct sWDSGetMIPProfileResponse_HASPI
3908 {
3909 UINT32 mHASPI;
3910 };
3911
3912 // Structure to describe response TLV 0x17 for WDSGetMIPProfile()
3913 struct sWDSGetMIPProfileResponse_AAASPI
3914 {
3915 UINT32 mAAASPI;
3916 };
3917
3918 // Structure to describe response TLV 0x1A for WDSGetMIPProfile()
3919 struct sWDSGetMIPProfileResponse_HAState
3920 {
3921 eQMIHAAAAKeyStates mKeyState;
3922 };
3923
3924 // Structure to describe response TLV 0x1B for WDSGetMIPProfile()
3925 struct sWDSGetMIPProfileResponse_AAAState
3926 {
3927 eQMIHAAAAKeyStates mKeyState;
3928 };
3929
3930 // Structure to describe request TLV 0x01 for WDSSetMIPProfile()
3931 struct sWDSSetMIPProfileRequest_Index
3932 {
3933 char mSPC[6];
3934 UINT8 mProfileIndex;
3935 };
3936
3937 // Structure to describe request TLV 0x10 for WDSSetMIPProfile()
3938 struct sWDSSetMIPProfileRequest_State
3939 {
3940 INT8 mEnabled;
3941 };
3942
3943 // Structure to describe request TLV 0x11 for WDSSetMIPProfile()
3944 struct sWDSSetMIPProfileRequest_HomeAddress
3945 {
3946 UINT8 mIPV4Address[4];
3947 };
3948
3949 // Structure to describe request TLV 0x12 for WDSSetMIPProfile()
3950 struct sWDSSetMIPProfileRequest_PrimaryHomeAgentAddress
3951 {
3952 UINT8 mIPV4Address[4];
3953 };
3954
3955 // Structure to describe request TLV 0x13 for WDSSetMIPProfile()
3956 struct sWDSSetMIPProfileRequest_SecondaryHomeAgentAddress
3957 {
3958 UINT8 mIPV4Address[4];
3959 };
3960
3961 // Structure to describe request TLV 0x14 for WDSSetMIPProfile()
3962 struct sWDSSetMIPProfileRequest_ReverseTunneling
3963 {
3964 INT8 mReverseTunneling;
3965 };
3966
3967 // Structure to describe request TLV 0x15 for WDSSetMIPProfile()
3968 struct sWDSSetMIPProfileRequest_NAI
3969 {
3970 // String is variable length, but must be size of the container
3971 // char mNAI[1];
3972 };
3973
3974 // Structure to describe request TLV 0x16 for WDSSetMIPProfile()
3975 struct sWDSSetMIPProfileRequest_HASPI
3976 {
3977 UINT32 mHASPI;
3978 };
3979
3980 // Structure to describe request TLV 0x17 for WDSSetMIPProfile()
3981 struct sWDSSetMIPProfileRequeste_AAASPI
3982 {
3983 UINT32 mAAASPI;
3984 };
3985
3986 // Structure to describe request TLV 0x18 for WDSSetMIPProfile()
3987 struct sWDSSetMIPProfileRequest_MNHA
3988 {
3989 // String is variable length, but must be size of the container
3990 // char mMNHAKey[1];
3991 };
3992
3993 // Structure to describe request TLV 0x19 for WDSSetMIPProfile()
3994 struct sWDSSetMIPProfileRequest_MNAAA
3995 {
3996 // String is variable length, but must be size of the container
3997 // char mMNAAAKey[1];
3998 };
3999
4000 // Structure to describe response TLV 0x10 for WDSGetMIPParameters()
4001 struct sWDSGetMIPParametersResponse_MobileIPMode
4002 {
4003 eQMIMobileIPModes mMIPMode;
4004 };
4005
4006 // Structure to describe response TLV 0x11 for WDSGetMIPParameters()
4007 struct sWDSGetMIPParametersResponse_RetryAttemptLimit
4008 {
4009 UINT8 mRetryAttemptLimit;
4010 };
4011
4012 // Structure to describe response TLV 0x12 for WDSGetMIPParameters()
4013 struct sWDSGetMIPParametersResponse_RetryAttemptInterval
4014 {
4015 UINT8 mRetryAttemptInterval;
4016 };
4017
4018 // Structure to describe response TLV 0x13 for WDSGetMIPParameters()
4019 struct sWDSGetMIPParametersResponse_ReRegistrationPeriod
4020 {
4021 UINT8 mReRegistrationPeriod;
4022 };
4023
4024 // Structure to describe response TLV 0x14 for WDSGetMIPParameters()
4025 struct sWDSGetMIPParametersResponse_ReRegistrationOnlyWithTraffic
4026 {
4027 INT8 mReRegistrationOnlyWithTraffic;
4028 };
4029
4030 // Structure to describe response TLV 0x15 for WDSGetMIPParameters()
4031 struct sWDSGetMIPParametersResponse_MNHAAuthenticatorCalculator
4032 {
4033 INT8 mMNHAAuthenticatorCalculator;
4034 };
4035
4036 // Structure to describe response TLV 0x16 for WDSGetMIPParameters()
4037 struct sWDSGetMIPParametersResponse_MNHARFC2002BISAuthentication
4038 {
4039 INT8 mMNHARFC2002BISAuthentication;
4040 };
4041
4042 // Structure to describe request TLV 0x01 for WDSSetMIPParameters()
4043 struct sWDSSetMIPParametersRequest_SPC
4044 {
4045 char mSPC[6];
4046 };
4047
4048 // Structure to describe request TLV 0x10 for WDSSetMIPParameters()
4049 struct sWDSSetMIPParametersRequest_MobileIPMode
4050 {
4051 eQMIMobileIPModes mMIPMode;
4052 };
4053
4054 // Structure to describe request TLV 0x11 for WDSSetMIPParameters()
4055 struct sWDSSetMIPParametersRequest_RetryAttemptLimit
4056 {
4057 UINT8 mRetryAttemptLimit;
4058 };
4059
4060 // Structure to describe request TLV 0x12 for WDSSetMIPParameters()
4061 struct sWDSSetMIPParametersRequest_RetryAttemptInterval
4062 {
4063 UINT8 mRetryAttemptInterval;
4064 };
4065
4066 // Structure to describe request TLV 0x13 for WDSSetMIPParameters()
4067 struct sWDSSetMIPParametersRequest_ReRegistrationPeriod
4068 {
4069 UINT8 mReRegistrationPeriod;
4070 };
4071
4072 // Structure to describe request TLV 0x14 for WDSSetMIPParameters()
4073 struct sWDSSetMIPParametersRequest_ReRegistrationOnlyWithTraffic
4074 {
4075 INT8 mReRegistrationOnlyWithTraffic;
4076 };
4077
4078 // Structure to describe request TLV 0x15 for WDSSetMIPParameters()
4079 struct sWDSSetMIPParametersRequest_MNHAAuthenticatorCalculator
4080 {
4081 INT8 mMNHAAuthenticatorCalculator;
4082 };
4083
4084 // Structure to describe request TLV 0x16 for WDSSetMIPParameters()
4085 struct sWDSSetMIPParametersRequest_MNHARFC2002BISAuthentication
4086 {
4087 INT8 mMNHARFC2002BISAuthentication;
4088 };
4089
4090 // Structure to describe response TLV 0x01 for WDSGetLastMIPStatus()
4091 struct sWDSGetLastMIPStatusResponse_Status
4092 {
4093 UINT8 mLastMIPStatus;
4094 };
4095
4096 // Structure to describe response TLV 0x01 for WDSGetANAAAAuthenticationStatus()
4097 struct sWDSGetANAAAAuthenticationStatusResponse_Status
4098 {
4099 INT8 mANAAAAuthenticated;
4100 };
4101
4102 // Structure to describe response TLV 0x01 for WDSGetCurrentDataBearerTechnology()
4103 struct sWDSGetCurrentDataBearerTechnologyResponse_Technology
4104 {
4105 eQMIWDSNetworkTypes mNetworkType;
4106
4107 // The following union is based on the value of mNetworkType
4108 union uValOfNetworkType
4109 {
4110 // If the value of mNetworkType == 1
4111 struct sNetworkTypeIs1
4112 {
4113 bool mCDMA1x:1;
4114 bool mCDMA1xEvDORev0:1;
4115 bool mCDMA1xEvDORevA:1;
4116
4117 // Padding out 28 bits
4118 UINT8 mReserved1:5;
4119 UINT8 mReserved2[2];
4120 UINT8 mReserved3:7;
4121
4122 bool mNullBearer:1;
4123
4124 // The following union is for handing both mCDMA1x and mCDMA1xEvDORevA
4125 union uValOfCDMA1x_or_CDMA1xEvDORevA
4126 {
4127 // If the value of mCDMA1x == 1
4128 struct sCDMA1xIs1
4129 {
4130 bool mCDMA1xIS95:1;
4131 bool mCDMA1xIS2000:1;
4132 bool mCDMA1xIS2000RelA:1;
4133
4134 // Padding out 29 bits
4135 UINT8 mReserved4:5;
4136 UINT8 mReserved5[3];
4137 };
4138
4139 sCDMA1xIs1 mCDMA1xIs1;
4140
4141 // If the value of mCDMA1xEvDORevA == 1
4142 struct sCDMA1xEvDORevAIs1
4143 {
4144 bool mCDMA1xEvDORevADPA:1;
4145 bool mCDMA1xEvDORevAMFPA:1;
4146 bool mCDMA1xEvDORevAEMPA:1;
4147 bool mCDMA1xEvDORevAEMPAEHRPD:1;
4148
4149 // Padding out 28 bits
4150 UINT8 mReserved6:4;
4151 UINT8 mReserved7[3];
4152 };
4153
4154 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
4155
4156 // Padding out 32 bits
4157 UINT8 mReserved8[4];
4158 };
4159
4160 uValOfCDMA1x_or_CDMA1xEvDORevA mValOfCDMA1x_or_CDMA1xEvDORevA;
4161 };
4162
4163 sNetworkTypeIs1 mNetworkTypeIs1;
4164
4165 // If the value of mNetworkType == 2
4166 struct sNetworkTypeIs2
4167 {
4168 bool mWCDMA:1;
4169 bool mGPRS:1;
4170 bool mHSDPA:1;
4171 bool mHSUPA:1;
4172 bool mEDGE:1;
4173 bool mLTE:1;
4174 bool mHSDPAPlus:1;
4175 bool mDualCellHSDPAPlus:1;
4176
4177 // Padding out 23 bits
4178 UINT8 mReserved9[2];
4179 UINT8 mReserved10:7;
4180
4181 bool mNullBearer:1;
4182 };
4183
4184 sNetworkTypeIs2 mNetworkTypeIs2;
4185
4186 // Padding out 64 bits
4187 UINT8 mReserved11[8];
4188 };
4189
4190 uValOfNetworkType mValOfNetworkType;
4191 };
4192
4193 // Structure to describe response TLV 0x10 for WDSGetCurrentDataBearerTechnology()
4194 struct sWDSGetCurrentDataBearerTechnologyResponse_LastCallTechnology
4195 {
4196 eQMIWDSNetworkTypes mNetworkType;
4197
4198 // The following union is based on the value of mNetworkType
4199 union uValOfNetworkType
4200 {
4201 // If the value of mNetworkType == 1
4202 struct sNetworkTypeIs1
4203 {
4204 bool mCDMA1x:1;
4205 bool mCDMA1xEvDORev0:1;
4206 bool mCDMA1xEvDORevA:1;
4207
4208 // Padding out 28 bits
4209 UINT8 mReserved1:5;
4210 UINT8 mReserved2[2];
4211 UINT8 mReserved3:7;
4212
4213 bool mNullBearer:1;
4214
4215 // The following union is for handing both mCDMA1x and mCDMA1xEvDORevA
4216 union uValOfCDMA1x_or_CDMA1xEvDORevA
4217 {
4218 // If the value of mCDMA1x == 1
4219 struct sCDMA1xIs1
4220 {
4221 bool mCDMA1xIS95:1;
4222 bool mCDMA1xIS2000:1;
4223 bool mCDMA1xIS2000RelA:1;
4224
4225 // Padding out 29 bits
4226 UINT8 mReserved4:5;
4227 UINT8 mReserved5[3];
4228 };
4229
4230 sCDMA1xIs1 mCDMA1xIs1;
4231
4232 // If the value of mCDMA1xEvDORevA == 1
4233 struct sCDMA1xEvDORevAIs1
4234 {
4235 bool mCDMA1xEvDORevADPA:1;
4236 bool mCDMA1xEvDORevAMFPA:1;
4237 bool mCDMA1xEvDORevAEMPA:1;
4238 bool mCDMA1xEvDORevAEMPAEHRPD:1;
4239
4240 // Padding out 28 bits
4241 UINT8 mReserved6:4;
4242 UINT8 mReserved7[3];
4243 };
4244
4245 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
4246
4247 // Padding out 32 bits
4248 UINT8 mReserved8[4];
4249 };
4250
4251 uValOfCDMA1x_or_CDMA1xEvDORevA mValOfCDMA1x_or_CDMA1xEvDORevA;
4252 };
4253
4254 sNetworkTypeIs1 mNetworkTypeIs1;
4255
4256 // If the value of mNetworkType == 2
4257 struct sNetworkTypeIs2
4258 {
4259 bool mWCDMA:1;
4260 bool mGPRS:1;
4261 bool mHSDPA:1;
4262 bool mHSUPA:1;
4263 bool mEDGE:1;
4264 bool mLTE:1;
4265 bool mHSDPAPlus:1;
4266 bool mDualCellHSDPAPlus:1;
4267
4268 // Padding out 23 bits
4269 UINT8 mReserved9[2];
4270 UINT8 mReserved10:7;
4271
4272 bool mNullBearer:1;
4273 };
4274
4275 sNetworkTypeIs2 mNetworkTypeIs2;
4276
4277 // Padding out 64 bits
4278 UINT8 mReserved11[8];
4279 };
4280
4281 uValOfNetworkType mValOfNetworkType;
4282 };
4283
4284 // Structure to describe request TLV 0x10 for WDSGetCallList()
4285 struct sWDSGetCallListRequest_ListType
4286 {
4287 eQMICallHistoryTypes mCallListType;
4288 };
4289
4290 // Structure to describe response TLV 0x10 for WDSGetCallList()
4291 struct sWDSGetCallListResponse_FullList
4292 {
4293 UINT16 mCallRecords;
4294
4295 struct sRecord
4296 {
4297 UINT16 mID;
4298 eQMICallTypes mType;
4299 eQMIDataBearerTechnologies mDataBearer;
4300 UINT64 mTimestamp;
4301 UINT8 mIPV4Address[4];
4302 UINT64 mTotalDuration;
4303 UINT64 mActiveDuration;
4304 UINT64 mRXByteTotal;
4305 UINT64 mTXByteTotal;
4306 eQMICallEndReasons mCallEnd;
4307 UINT8 mPhoneNumberLength;
4308
4309 // This array must be the size specified by mPhoneNumberLength
4310 // char mPhoneNumber[1];
4311 };
4312
4313 // This array must be the size specified by mCallRecords
4314 // sRecord mRecords[1];
4315 };
4316
4317 // Structure to describe response TLV 0x11 for WDSGetCallList()
4318 struct sWDSGetCallListResponse_IDList
4319 {
4320 UINT16 mCallRecords;
4321
4322 struct sRecord
4323 {
4324 UINT16 mID;
4325 };
4326
4327 // This array must be the size specified by mCallRecords
4328 // sRecord mRecords[1];
4329 };
4330
4331 // Structure to describe request TLV 0x01 for WDSGetCallRecord()
4332 struct sWDSGetCallRecordRequest_RecordID
4333 {
4334 UINT16 mID;
4335 };
4336
4337 // Structure to describe response TLV 0x01 for WDSGetCallRecord()
4338 struct sWDSGetCallRecordResponse_Record
4339 {
4340 UINT16 mID;
4341 eQMICallTypes mType;
4342 eQMIDataBearerTechnologies mDataBearer;
4343 UINT64 mTimestamp;
4344 UINT8 mIPV4Address[4];
4345 UINT64 mTotalDuration;
4346 UINT64 mActiveDuration;
4347 UINT64 mRXByteTotal;
4348 UINT64 mTXByteTotal;
4349 eQMICallEndReasons mCallEnd;
4350 UINT8 mPhoneNumberLength;
4351
4352 // This array must be the size specified by mPhoneNumberLength
4353 // char mPhoneNumber[1];
4354 };
4355
4356 // Structure to describe response TLV 0x01 for WDSGetCallListMaxSize()
4357 struct sWDSGetCallListMaxSizeResponse_Maximum
4358 {
4359 UINT16 mCallListMaxSize;
4360 };
4361
4362 // Structure to describe request TLV 0x01 for WDSGetDefaultProfileNumber()
4363 struct sWDSGetDefaultProfileNumberRequest_ProfileType
4364 {
4365 eQMIProfileTypes mProfileType;
4366 eQMIWDSProfileFamily mProfileFamily;
4367 };
4368
4369 // Structure to describe response TLV 0x01 for WDSGetDefaultProfileNumber()
4370 struct sWDSGetDefaultProfileNumberResponse_ProfileNumber
4371 {
4372 UINT8 mProfileIndex;
4373 };
4374
4375 // Structure to describe response TLV 0xE0 for WDSGetDefaultProfileNumber()
4376 struct sWDSGetDefaultProfileNumberResponse_ExtendedErrorCode
4377 {
4378 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4379 };
4380
4381 // Structure to describe request TLV 0x01 for WDSSetDefaultProfileNumber()
4382 struct sWDSSetDefaultProfileNumberRequest_ProfileIdentifier
4383 {
4384 eQMIProfileTypes mProfileType;
4385 eQMIWDSProfileFamily mProfileFamily;
4386 UINT8 mProfileIndex;
4387 };
4388
4389 // Structure to describe response TLV 0xE0 for WDSSetDefaultProfileNumber()
4390 struct sWDSSetDefaultProfileNumberResponse_ExtendedErrorCode
4391 {
4392 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4393 };
4394
4395 // Structure to describe request TLV 0x01 for WDSResetProfile()
4396 struct sWDSResetProfileRequest_ProfileIdentifier
4397 {
4398 eQMIProfileTypes mProfileType;
4399 UINT8 mProfileIndex;
4400 };
4401
4402 // Structure to describe response TLV 0xE0 for WDSResetProfile()
4403 struct sWDSResetProfileResponse_ExtendedErrorCode
4404 {
4405 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4406 };
4407
4408 // Structure to describe request TLV 0x01 for WDSResetProfileParamToInvalid()
4409 struct sWDSResetProfileParamToInvalidRequest_ProfileParam
4410 {
4411 eQMIProfileTypes mProfileType;
4412 UINT8 mProfileIndex;
4413 eQMIWDSProfileParamID mProfileParamID;
4414 };
4415
4416 // Structure to describe response TLV 0xE0 for WDSResetProfileParamToInvalid()
4417 struct sWDSResetProfileParamToInvalidResponse_ExtendedErrorCode
4418 {
4419 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4420 };
4421
4422 // Structure to describe request TLV 0x01 for WDSSetIPFamilyPreference()
4423 struct sWDSSetIPFamilyPreferenceRequest_IPFamilyPreference
4424 {
4425 eQMIWDSIPFamilies mIPFamily;
4426 };
4427
4428 // Structure to describe request TLV 0x01 for WDSSetAutoconnectSetting()
4429 struct sWDSSetAutoconnectSettingRequest_Autoconnect
4430 {
4431 eQMIWDSAutoconnectSettings mAutoconnectSetting;
4432 };
4433
4434 // Structure to describe request TLV 0x10 for WDSSetAutoconnectSetting()
4435 struct sWDSSetAutoconnectSettingRequest_Roam
4436 {
4437 eQMIWDSAutoconnectRoamSettings mAutoconnectRoamSetting;
4438 };
4439
4440 // Structure to describe response TLV 0x10 for WDSGetDNSSetting()
4441 struct sWDSGetDNSSettingResponse_PrimaryDNS
4442 {
4443 UINT8 mIPV4Address[4];
4444 };
4445
4446 // Structure to describe response TLV 0x11 for WDSGetDNSSetting()
4447 struct sWDSGetDNSSettingResponse_SecondaryDNS
4448 {
4449 UINT8 mIPV4Address[4];
4450 };
4451
4452 // Structure to describe response TLV 0x12 for WDSGetDNSSetting()
4453 struct sWDSGetDNSSettingResponse_PrimaryIPv6DNS
4454 {
4455 UINT16 mIPv6Address[8];
4456 };
4457
4458 // Structure to describe response TLV 0x13 for WDSGetDNSSetting()
4459 struct sWDSGetDNSSettingResponse_SecondaryIPv6DNS
4460 {
4461 UINT16 mIPv6Address[8];
4462 };
4463
4464 // Structure to describe request TLV 0x10 for WDSSetDNSSetting()
4465 struct sWDSSetDNSSettingRequest_PrimaryDNS
4466 {
4467 UINT8 mIPV4Address[4];
4468 };
4469
4470 // Structure to describe request TLV 0x11 for WDSSetDNSSetting()
4471 struct sWDSSetDNSSettingRequest_SecondaryDNS
4472 {
4473 UINT8 mIPV4Address[4];
4474 };
4475
4476 // Structure to describe request TLV 0x12 for WDSSetDNSSetting()
4477 struct sWDSSetDNSSettingRequest_PrimaryIPv6DNS
4478 {
4479 UINT16 mIPv6Address[8];
4480 };
4481
4482 // Structure to describe request TLV 0x13 for WDSSetDNSSetting()
4483 struct sWDSSetDNSSettingRequest_SecondaryIPv6DNS
4484 {
4485 UINT16 mIPv6Address[8];
4486 };
4487
4488 // Structure to describe response TLV 0x01 for WDSGetCDMAPreDormancySettings()
4489 struct sWDSGetCDMAPreDormancySettingsResponse_Settings
4490 {
4491 eQMIWDSCDMAServiceOptions mServiceOption;
4492 eQMIWDSCDMANetworks mDataSessionNetwork;
4493 };
4494
4495 // Structure to describe request TLV 0x01 for WDSSetCAMTimer()
4496 struct sWDSSetCAMTimerRequest_Timer
4497 {
4498 UINT32 mCAMTimerSeconds;
4499 };
4500
4501 // Structure to describe response TLV 0x01 for WDSGetCAMTimer()
4502 struct sWDSGetCAMTimerResponse_Timer
4503 {
4504 UINT32 mCAMTimerSeconds;
4505 };
4506
4507 // Structure to describe request TLV 0x01 for WDSSetSCRM()
4508 struct sWDSSetSCRMRequest_SCRM
4509 {
4510 INT8 mSCRMEnabled;
4511 };
4512
4513 // Structure to describe response TLV 0x01 for WDSGetSCRM()
4514 struct sWDSGetSCRMResponse_SCRM
4515 {
4516 INT8 mSCRMEnabled;
4517 };
4518
4519 // Structure to describe request TLV 0x01 for WDSSetRDUD()
4520 struct sWDSSetRDUDRequest_RDUD
4521 {
4522 INT8 mRDUDEnabled;
4523 };
4524
4525 // Structure to describe response TLV 0x01 for WDSGetRDUD()
4526 struct sWDSGetRDUDResponse_RDUD
4527 {
4528 INT8 mRDUDEnabled;
4529 };
4530
4531 // Structure to describe response TLV 0x01 for WDSGetSIPMIPCallType()
4532 struct sWDSGetSIPMIPCallTypeResponse_CallType
4533 {
4534 eQMIWDSSIPMIPCallTypes mCallType;
4535 };
4536
4537 // Structure to describe request TLV 0x01 for WDSSetEVDOPageMonitorPeriod()
4538 struct sWDSSetEVDOPageMonitorPeriodRequest_Period
4539 {
4540 UINT8 mPageMonitorPeriod;
4541 };
4542
4543 // Structure to describe indication TLV 0x01 for WDS EVDOPageMonitorPeriodIndication
4544 struct sWDSEVDOPageMonitorPeriodIndication_Result
4545 {
4546 eQMIWDSSlotCycleSetResults mSlotCycleSetResult;
4547 };
4548
4549 // Structure to describe request TLV 0x01 for WDSSetEVDOLongSleep()
4550 struct sWDSSetEVDOLongSleepRequest_Setting
4551 {
4552 INT8 mForceLongSleep;
4553 };
4554
4555 // Structure to describe response TLV 0x01 for WDSGetEVDOPageMonitorPeriod()
4556 struct sWDSGetEVDOPageMonitorPeriodResponse_Details
4557 {
4558 UINT8 mPageMonitorPeriod;
4559 INT8 mForceLongSleep;
4560 };
4561
4562 // Structure to describe response TLV 0x01 for WDSGetCallThrottleInfo()
4563 struct sWDSGetCallThrottleInfoResponse_Details
4564 {
4565 UINT32 mEVDOThrottledDelaySeconds;
4566 UINT32 mCDMAThrottledDelaySeconds;
4567 };
4568
4569 // Structure to describe request TLV 0x01 for WDSGetNSAPI()
4570 struct sWDSGetNSAPIRequest_APN
4571 {
4572 // String is variable length, but must be size of the container
4573 // char mAPNName[1];
4574 };
4575
4576 // Structure to describe response TLV 0x01 for WDSGetNSAPI()
4577 struct sWDSGetNSAPIResponse_NSAPI
4578 {
4579 UINT8 mNSAPICount;
4580
4581 // This array must be the size specified by mNSAPICount
4582 // UINT8 mNSAPI[1];
4583 };
4584
4585 // Structure to describe request TLV 0x01 for WDSSetDUNCallControlPreference()
4586 struct sWDSSetDUNCallControlPreferenceRequest_Preference
4587 {
4588 eQMIWDSDUNControlPreferences mDUNControl;
4589 };
4590
4591 // Structure to describe request TLV 0x10 for WDSSetDUNCallControlPreference()
4592 struct sWDSSetDUNCallControlPreferenceRequest_AllowDUN
4593 {
4594 INT8 mAllowDUNCalls;
4595 };
4596
4597 // Structure to describe response TLV 0x01 for WDSGetDUNCallControlInfo()
4598 struct sWDSGetDUNCallControlInfoResponse_Status
4599 {
4600 INT8 mDUNControlEnabled;
4601 };
4602
4603 // Structure to describe response TLV 0x10 for WDSGetDUNCallControlInfo()
4604 struct sWDSGetDUNCallControlInfoResponse_AllowDUN
4605 {
4606 INT8 mAllowDUNCalls;
4607 };
4608
4609 // Structure to describe response TLV 0x11 for WDSGetDUNCallControlInfo()
4610 struct sWDSGetDUNCallControlInfoResponse_CurrentClient
4611 {
4612 INT8 mSetByCurrentClient;
4613 };
4614
4615 // Structure to describe request TLV 0x01 for WDSSetDUNCallControlEventReport()
4616 struct sWDSSetDUNCallControlEventReportRequest_CallNotifications
4617 {
4618 INT8 mEnableDUNCallNotifications;
4619 };
4620
4621 // Structure to describe request TLV 0x10 for WDSSetDUNCallControlEventReport()
4622 struct sWDSSetDUNCallControlEventReportRequest_EntitlementNotifications
4623 {
4624 INT8 mEnableEntitlementNotifications;
4625 };
4626
4627 // Structure to describe request TLV 0x11 for WDSSetDUNCallControlEventReport()
4628 struct sWDSSetDUNCallControlEventReportRequest_RedialNotifications
4629 {
4630 INT8 mEnableSilentRedailNotifications;
4631 };
4632
4633 // Structure to describe response TLV 0x01 for WDSSetDUNCallControlEventReport()
4634 struct sWDSSetDUNCallControlEventReportResponse_ReportMask
4635 {
4636 bool mSendDUNCallNotifications:1;
4637 bool mSendEntitlementNotifications:1;
4638 bool mSendSilentRedailNotifications:1;
4639
4640 // Padding out 5 bits
4641 UINT8 mReserved1:5;
4642 };
4643
4644 // Structure to describe indication TLV 0x01 for WDS DUNCallControlEventReport
4645 struct sWDSDUNCallControlEventReportIndication_Event
4646 {
4647 eQMIWDSDUNControlEvents mDUNControlEvent;
4648 };
4649
4650 // Structure to describe indication TLV 0x10 for WDS DUNCallControlEventReport
4651 struct sWDSDUNCallControlEventReportIndication_CallNotification
4652 {
4653 INT8 mDUNCallAllowed;
4654 };
4655
4656 // Structure to describe indication TLV 0x11 for WDS DUNCallControlEventReport
4657 struct sWDSDUNCallControlEventReportIndication_CallID
4658 {
4659 UINT8 mDUNCallID;
4660 };
4661
4662 // Structure to describe indication TLV 0x12 for WDS DUNCallControlEventReport
4663 struct sWDSDUNCallControlEventReportIndication_PreviousFailureReason
4664 {
4665 eQMIWDSCallEndReasonTypes mCallEndReasonType;
4666
4667 // The following union is based on the value of mCallEndReasonType
4668 union uValOfCallEndReasonType
4669 {
4670 // Always present
4671 UINT16 mCallEndReasonValue;
4672
4673 // If the value of mCallEndReasonType == 1
4674 struct sCallEndReasonTypeIs1
4675 {
4676 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
4677 };
4678
4679 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
4680
4681 // If the value of mCallEndReasonType == 2
4682 struct sCallEndReasonTypeIs2
4683 {
4684 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
4685 };
4686
4687 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
4688
4689 // If the value of mCallEndReasonType == 3
4690 struct sCallEndReasonTypeIs3
4691 {
4692 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
4693 };
4694
4695 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
4696
4697 // If the value of mCallEndReasonType == 6
4698 struct sCallEndReasonTypeIs6
4699 {
4700 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
4701 };
4702
4703 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
4704
4705 // If the value of mCallEndReasonType == 7
4706 struct sCallEndReasonTypeIs7
4707 {
4708 eQMIWDSPPPCallEndReason mPPPCallEndReason;
4709 };
4710
4711 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
4712
4713 // If the value of mCallEndReasonType == 8
4714 struct sCallEndReasonTypeIs8
4715 {
4716 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
4717 };
4718
4719 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
4720
4721 // If the value of mCallEndReasonType == 9
4722 struct sCallEndReasonTypeIs9
4723 {
4724 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
4725 };
4726
4727 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
4728
4729 // Padding out 16 bits
4730 UINT8 mReserved1[2];
4731 };
4732
4733 uValOfCallEndReasonType mValOfCallEndReasonType;
4734 };
4735
4736 // Structure to describe request TLV 0x01 for WDSPendingDUNCallControl()
4737 struct sWDSPendingDUNCallControlRequest_Action
4738 {
4739 INT8 mDUNCallAllowed;
4740 };
4741
4742 // Structure to describe response TLV 0x10 for WDSGetPreferredDataSystem()
4743 struct sWDSGetPreferredDataSystemResponse_PreferredDataSystem
4744 {
4745 eQMIWDSDataSystems mPreferredDataSystem;
4746 };
4747
4748 // Structure to describe response TLV 0x10 for WDSGetLastDataCallStatus()
4749 struct sWDSGetLastDataCallStatusResponse_DataCallStatus
4750 {
4751 eQMIWDSDataCallStatus mDataCallStatus;
4752 };
4753
4754 // Structure to describe response TLV 0x11 for WDSGetLastDataCallStatus()
4755 struct sWDSGetLastDataCallStatusResponse_DataCallType
4756 {
4757 eQMIWDSDataCallTypes mDataCallType;
4758 eQMIWDSTetheredCallTypes mTetheredCallType;
4759 };
4760
4761 // Structure to describe request TLV 0x10 for DMSSetEventReport()
4762 struct sDMSSetEventReportRequest_PowerState
4763 {
4764 INT8 mReportPowerState;
4765 };
4766
4767 // Structure to describe request TLV 0x11 for DMSSetEventReport()
4768 struct sDMSSetEventReportRequest_BatteryLevel
4769 {
4770 UINT8 mBatteryLevelLowerLimit;
4771 UINT8 mBatteryLevelUpperLimit;
4772 };
4773
4774 // Structure to describe request TLV 0x12 for DMSSetEventReport()
4775 struct sDMSSetEventReportRequest_PINStatus
4776 {
4777 INT8 mReportPINStatus;
4778 };
4779
4780 // Structure to describe request TLV 0x13 for DMSSetEventReport()
4781 struct sDMSSetEventReportRequest_ActivationState
4782 {
4783 INT8 mReportActivationState;
4784 };
4785
4786 // Structure to describe request TLV 0x14 for DMSSetEventReport()
4787 struct sDMSSetEventReportRequest_OperatingMode
4788 {
4789 INT8 mReportOperatingMode;
4790 };
4791
4792 // Structure to describe request TLV 0x15 for DMSSetEventReport()
4793 struct sDMSSetEventReportRequest_UIMState
4794 {
4795 INT8 mReportUIMState;
4796 };
4797
4798 // Structure to describe request TLV 0x16 for DMSSetEventReport()
4799 struct sDMSSetEventReportRequest_WirelessDisableState
4800 {
4801 INT8 mReportWirelessDisableState;
4802 };
4803
4804 // Structure to describe request TLV 0x17 for DMSSetEventReport()
4805 struct sDMSSetEventReportRequest_PRLInit
4806 {
4807 INT8 mReportPRLInitialization;
4808 };
4809
4810 // Structure to describe indication TLV 0x10 for DMS EventReport
4811 struct sDMSEventReportIndication_PowerState
4812 {
4813 eQMIDMSPowerSources mPowerSource:1;
4814 bool mBatteryConnected:1;
4815 bool mBatteryCharging:1;
4816 bool mPowerFault:1;
4817
4818 // Padding out 4 bits
4819 UINT8 mReserved1:4;
4820
4821 UINT8 mBatteryLevel;
4822 };
4823
4824 // Structure to describe indication TLV 0x11 for DMS EventReport
4825 struct sDMSEventReportIndication_PIN1State
4826 {
4827 eQMIDMSPINStatus mPINStatus;
4828 UINT8 mRemainingVerifyRetries;
4829 UINT8 mRemainingUnblockRetries;
4830 };
4831
4832 // Structure to describe indication TLV 0x12 for DMS EventReport
4833 struct sDMSEventReportIndication_PIN2State
4834 {
4835 eQMIDMSPINStatus mPINStatus;
4836 UINT8 mRemainingVerifyRetries;
4837 UINT8 mRemainingUnblockRetries;
4838 };
4839
4840 // Structure to describe indication TLV 0x13 for DMS EventReport
4841 struct sDMSEventReportIndication_ActivationState
4842 {
4843 eQMIDMSActivationStates mActivationState;
4844 };
4845
4846 // Structure to describe indication TLV 0x14 for DMS EventReport
4847 struct sDMSEventReportIndication_OperatingMode
4848 {
4849 eQMIDMSOperatingModes mOperatingMode;
4850 };
4851
4852 // Structure to describe indication TLV 0x15 for DMS EventReport
4853 struct sDMSEventReportIndication_UIMState
4854 {
4855 eQMIDMSUIMStates mUIMState;
4856 };
4857
4858 // Structure to describe indication TLV 0x16 for DMS EventReport
4859 struct sDMSEventReportIndication_WirelessDisableState
4860 {
4861 INT8 mWirelessDisableOn;
4862 };
4863
4864 // Structure to describe indication TLV 0x17 for DMS EventReport
4865 struct sDMSEventReportIndication_PRLInit
4866 {
4867 INT8 mPRLLoaded;
4868 };
4869
4870 // Structure to describe response TLV 0x01 for DMSGetDeviceCapabilities()
4871 struct sDMSGetDeviceCapabilitiesResponse_Capabilities
4872 {
4873 UINT32 mMaxTXRatebps;
4874 UINT32 mMaxRXRatebps;
4875 eQMIDMSDataServiceCapabilities1 mDataServiceCapability;
4876 INT8 mSIMSupported;
4877 UINT8 mRadioInterfaceCount;
4878
4879 // This array must be the size specified by mRadioInterfaceCount
4880 // eQMIDMSRadioInterfaces mRadioInterface[1];
4881 };
4882
4883 // Structure to describe response TLV 0x01 for DMSGetDeviceManfacturer()
4884 struct sDMSGetDeviceManfacturerResponse_Manfacturer
4885 {
4886 // String is variable length, but must be size of the container
4887 // char mDeviceManfacturer[1];
4888 };
4889
4890 // Structure to describe response TLV 0x01 for DMSGetDeviceModel()
4891 struct sDMSGetDeviceModelResponse_Model
4892 {
4893 // String is variable length, but must be size of the container
4894 // char mDeviceModelID[1];
4895 };
4896
4897 // Structure to describe response TLV 0x01 for DMSGetDeviceRevision()
4898 struct sDMSGetDeviceRevisionResponse_Revision
4899 {
4900 // String is variable length, but must be size of the container
4901 // char mDeviceRevisionID[1];
4902 };
4903
4904 // Structure to describe response TLV 0x10 for DMSGetDeviceRevision()
4905 struct sDMSGetDeviceRevisionResponse_BootCodeRevision
4906 {
4907 // String is variable length, but must be size of the container
4908 // char mBootCodeRevisionID[1];
4909 };
4910
4911 // Structure to describe response TLV 0x11 for DMSGetDeviceRevision()
4912 struct sDMSGetDeviceRevisionResponse_UQCNRevision
4913 {
4914 // String is variable length, but must be size of the container
4915 // char mBootCodeRevisionID[1];
4916 };
4917
4918 // Structure to describe response TLV 0x01 for DMSGetDeviceVoiceNumber()
4919 struct sDMSGetDeviceVoiceNumberResponse_VoiceNumber
4920 {
4921 // String is variable length, but must be size of the container
4922 // char mDeviceVoiceNumber[1];
4923 };
4924
4925 // Structure to describe response TLV 0x10 for DMSGetDeviceVoiceNumber()
4926 struct sDMSGetDeviceVoiceNumberResponse_MobileIDNumber
4927 {
4928 // String is variable length, but must be size of the container
4929 // char mDeviceMobileIDNumber[1];
4930 };
4931
4932 // Structure to describe response TLV 0x11 for DMSGetDeviceVoiceNumber()
4933 struct sDMSGetDeviceVoiceNumberResponse_IMSI
4934 {
4935 // String is variable length, but must be size of the container
4936 // char mIMSI[1];
4937 };
4938
4939 // Structure to describe response TLV 0x10 for DMSGetDeviceSerialNumbers()
4940 struct sDMSGetDeviceSerialNumbersResponse_ESN
4941 {
4942 // String is variable length, but must be size of the container
4943 // char mESN[1];
4944 };
4945
4946 // Structure to describe response TLV 0x11 for DMSGetDeviceSerialNumbers()
4947 struct sDMSGetDeviceSerialNumbersResponse_IMEI
4948 {
4949 // String is variable length, but must be size of the container
4950 // char mIMEI[1];
4951 };
4952
4953 // Structure to describe response TLV 0x12 for DMSGetDeviceSerialNumbers()
4954 struct sDMSGetDeviceSerialNumbersResponse_MEID
4955 {
4956 // String is variable length, but must be size of the container
4957 // char mMEID[1];
4958 };
4959
4960 // Structure to describe response TLV 0x01 for DMSGetPowerState()
4961 struct sDMSGetPowerStateResponse_PowerState
4962 {
4963 eQMIDMSPowerSources mPowerSource:1;
4964 bool mBatteryConnected:1;
4965 bool mBatteryCharging:1;
4966 bool mPowerFault:1;
4967
4968 // Padding out 4 bits
4969 UINT8 mReserved1:4;
4970
4971 UINT8 mBatteryLevel;
4972 };
4973
4974 // Structure to describe request TLV 0x01 for DMSUIMSetPINProtection()
4975 struct sDMSUIMSetPINProtectionRequest_Info
4976 {
4977 UINT8 mPINID;
4978 UINT8 mPINEnabled;
4979 UINT8 mPINLength;
4980
4981 // This array must be the size specified by mPINLength
4982 // char mPINValue[1];
4983 };
4984
4985 // Structure to describe response TLV 0x10 for DMSUIMSetPINProtection()
4986 struct sDMSUIMSetPINProtectionResponse_RetryInfo
4987 {
4988 UINT8 mRemainingVerifyRetries;
4989 UINT8 mRemainingUnblockRetries;
4990 };
4991
4992 // Structure to describe request TLV 0x01 for DMSUIMVerifyPIN()
4993 struct sDMSUIMVerifyPINRequest_Info
4994 {
4995 UINT8 mPINID;
4996 UINT8 mPINLength;
4997
4998 // This array must be the size specified by mPINLength
4999 // char mPINValue[1];
5000 };
5001
5002 // Structure to describe response TLV 0x10 for DMSUIMVerifyPIN()
5003 struct sDMSUIMVerifyPINResponse_RetryInfo
5004 {
5005 UINT8 mRemainingVerifyRetries;
5006 UINT8 mRemainingUnblockRetries;
5007 };
5008
5009 // Structure to describe request TLV 0x01 for DMSUIMUnblockPIN()
5010 struct sDMSUIMUnblockPINRequest_Info1
5011 {
5012 UINT8 mPINID;
5013 UINT8 mPUKLength;
5014
5015 // This array must be the size specified by mPUKLength
5016 // char mPUKValue[1];
5017 };
5018
5019 struct sDMSUIMUnblockPINRequest_Info2
5020 {
5021 UINT8 mNewPINLength;
5022
5023 // This array must be the size specified by mNewPINLength
5024 // char mNewPINValue[1];
5025 };
5026
5027 struct sDMSUIMUnblockPINRequest_Info
5028 {
5029 sDMSUIMUnblockPINRequest_Info1 mDMSUIMUnblockPINRequest_Info1;
5030 sDMSUIMUnblockPINRequest_Info2 mDMSUIMUnblockPINRequest_Info2;
5031 };
5032
5033 // Structure to describe response TLV 0x10 for DMSUIMUnblockPIN()
5034 struct sDMSUIMUnblockPINResponse_RetryInfo
5035 {
5036 UINT8 mRemainingVerifyRetries;
5037 UINT8 mRemainingUnblockRetries;
5038 };
5039
5040 // Structure to describe request TLV 0x01 for DMSUIMChangePIN()
5041 struct sDMSUIMChangePINRequest_Info1
5042 {
5043 UINT8 mPINID;
5044 UINT8 mOldPINLength;
5045
5046 // This array must be the size specified by mOldPINLength
5047 // char mOldPINValue[1];
5048 };
5049
5050 struct sDMSUIMChangePINRequest_Info2
5051 {
5052 UINT8 mNewPINLength;
5053
5054 // This array must be the size specified by mNewPINLength
5055 // char mNewPINValue[1];
5056 };
5057
5058 struct sDMSUIMChangePINRequest_Info
5059 {
5060 sDMSUIMChangePINRequest_Info1 mDMSUIMChangePINRequest_Info1;
5061 sDMSUIMChangePINRequest_Info2 mDMSUIMChangePINRequest_Info2;
5062 };
5063
5064 // Structure to describe response TLV 0x10 for DMSUIMChangePIN()
5065 struct sDMSUIMChangePINResponse_RetryInfo
5066 {
5067 UINT8 mRemainingVerifyRetries;
5068 UINT8 mRemainingUnblockRetries;
5069 };
5070
5071 // Structure to describe response TLV 0x11 for DMSUIMGetPINStatus()
5072 struct sDMSUIMGetPINStatusResponse_PIN1Status
5073 {
5074 eQMIDMSPINStatus mPINStatus;
5075 UINT8 mRemainingVerifyRetries;
5076 UINT8 mRemainingUnblockRetries;
5077 };
5078
5079 // Structure to describe response TLV 0x12 for DMSUIMGetPINStatus()
5080 struct sDMSUIMGetPINStatusResponse_PIN2Status
5081 {
5082 eQMIDMSPINStatus mPINStatus;
5083 UINT8 mRemainingVerifyRetries;
5084 UINT8 mRemainingUnblockRetries;
5085 };
5086
5087 // Structure to describe response TLV 0x01 for DMSGetHardwareRevision()
5088 struct sDMSGetHardwareRevisionResponse_HardwareRevision
5089 {
5090 // String is variable length, but must be size of the container
5091 // char mDeviceHardwareRevision[1];
5092 };
5093
5094 // Structure to describe response TLV 0x01 for DMSGetOperatingMode()
5095 struct sDMSGetOperatingModeResponse_OperatingMode
5096 {
5097 eQMIDMSOperatingModes mOperatingMode;
5098 };
5099
5100 // Structure to describe response TLV 0x10 for DMSGetOperatingMode()
5101 struct sDMSGetOperatingModeResponse_OfflineReason
5102 {
5103 UINT8 mHostImageMismatch:1;
5104 UINT8 mUQCNImageMismatch:1;
5105 UINT8 mIncompatibleUQCN:1;
5106 UINT8 mUQCNCopyIssue:1;
5107
5108 // Padding out 12 bits
5109 UINT8 mReserved1:4;
5110 UINT8 mReserved2;
5111 };
5112
5113 // Structure to describe response TLV 0x11 for DMSGetOperatingMode()
5114 struct sDMSGetOperatingModeResponse_PlatformRestricted
5115 {
5116 INT8 mPlatformRestricted;
5117 };
5118
5119 // Structure to describe request TLV 0x01 for DMSSetOperatingMode()
5120 struct sDMSSetOperatingModeRequest_OperatingMode
5121 {
5122 eQMIDMSOperatingModes mOperatingMode;
5123 };
5124
5125 // Structure to describe response TLV 0x01 for DMSGetTimestamp()
5126 struct sDMSGetTimestampResponse_Timestamp
5127 {
5128 UINT64 mTimestamp:48;
5129
5130 // mSource is of type eQMIDMSTimestampSources
5131 UINT64 mSource:16;
5132 };
5133
5134 // Structure to describe response TLV 0x01 for DMSGetPRLVersion()
5135 struct sDMSGetPRLVersionResponse_PRLVersion
5136 {
5137 UINT16 mPRLVersion;
5138 };
5139
5140 // Structure to describe response TLV 0x01 for DMSGetActivationState()
5141 struct sDMSGetActivationStateResponse_ActivationState
5142 {
5143 eQMIDMSActivationStates mActivationState;
5144 };
5145
5146 // Structure to describe request TLV 0x01 for DMSActivateAutomatic()
5147 struct sDMSActivateAutomaticRequest_ActivationCode
5148 {
5149 UINT8 mCodeLength;
5150
5151 // This array must be the size specified by mCodeLength
5152 // char mCode[1];
5153 };
5154
5155 // Structure to describe request TLV 0x01 for DMSActivateManual()
5156 struct sDMSActivateManualRequest_ActivationData1
5157 {
5158 char mSPC[6];
5159 UINT16 mSID;
5160 UINT8 mMDNLength;
5161
5162 // This array must be the size specified by mMDNLength
5163 // char mMDN[1];
5164 };
5165
5166 struct sDMSActivateManualRequest_ActivationData2
5167 {
5168 UINT8 mMINLength;
5169
5170 // This array must be the size specified by mMINLength
5171 // char mMIN[1];
5172 };
5173
5174 struct sDMSActivateManualRequest_ActivationData
5175 {
5176 sDMSActivateManualRequest_ActivationData1 mDMSActivateManualRequest_ActivationData1;
5177 sDMSActivateManualRequest_ActivationData2 mDMSActivateManualRequest_ActivationData2;
5178 };
5179
5180 // Structure to describe request TLV 0x10 for DMSActivateManual()
5181 struct sDMSActivateManualRequest_PRLObsolete
5182 {
5183 UINT16 mPRLLength;
5184
5185 // This array must be the size specified by mPRLLength
5186 // UINT8 mPRL[1];
5187 };
5188
5189 // Structure to describe request TLV 0x11 for DMSActivateManual()
5190 struct sDMSActivateManualRequest_MNHAKey
5191 {
5192 UINT8 mMNHALength;
5193
5194 // This array must be the size specified by mMNHALength
5195 // char mMNHA[1];
5196 };
5197
5198 // Structure to describe request TLV 0x12 for DMSActivateManual()
5199 struct sDMSActivateManualRequest_MNAAAKey
5200 {
5201 UINT8 mMNAAALength;
5202
5203 // This array must be the size specified by mMNAAALength
5204 // char mMNAAA[1];
5205 };
5206
5207 // Structure to describe request TLV 0x13 for DMSActivateManual()
5208 struct sDMSActivateManualRequest_PRL
5209 {
5210 UINT16 mPRLTotalLength;
5211 UINT16 mPRLSegmentLength;
5212 UINT8 mPRLSegmentID;
5213
5214 // This array must be the size specified by mPRLSegmentLength
5215 // UINT8 mPRL[1];
5216 };
5217
5218 // Structure to describe response TLV 0x01 for DMSGetLockState()
5219 struct sDMSGetLockStateResponse_LockState
5220 {
5221 eQMIDMSLockStates mLockState;
5222 };
5223
5224 // Structure to describe request TLV 0x01 for DMSSetLockState()
5225 struct sDMSSetLockStateRequest_LockState
5226 {
5227 eQMIDMSLockStates mLockState;
5228 char mLockCode[4];
5229 };
5230
5231 // Structure to describe request TLV 0x01 for DMSSetLockCode()
5232 struct sDMSSetLockCodeRequest_LockCode
5233 {
5234 char mCurrentLockCode[4];
5235 char mNewLockCode[4];
5236 };
5237
5238 // Structure to describe response TLV 0x01 for DMSReadUserData()
5239 struct sDMSReadUserDataResponse_UserData
5240 {
5241 UINT16 mDataLength;
5242
5243 // This array must be the size specified by mDataLength
5244 // UINT8 mData[1];
5245 };
5246
5247 // Structure to describe request TLV 0x01 for DMSWriteUserData()
5248 struct sDMSWriteUserDataRequest_UserData
5249 {
5250 UINT16 mDataLength;
5251
5252 // This array must be the size specified by mDataLength
5253 // UINT8 mData[1];
5254 };
5255
5256 // Structure to describe response TLV 0x01 for DMSReadERIData()
5257 struct sDMSReadERIDataResponse_UserData
5258 {
5259 UINT16 mDataLength;
5260
5261 // This array must be the size specified by mDataLength
5262 // UINT8 mData[1];
5263 };
5264
5265 // Structure to describe request TLV 0x01 for DMSResetFactoryDefaults()
5266 struct sDMSResetFactoryDefaultsRequest_SPC
5267 {
5268 char mSPC[6];
5269 };
5270
5271 // Structure to describe request TLV 0x01 for DMSValidateSPC()
5272 struct sDMSValidateSPCRequest_SPC
5273 {
5274 char mSPC[6];
5275 };
5276
5277 // Structure to describe response TLV 0x01 for DMSUIMGetICCID()
5278 struct sDMSUIMGetICCIDResponse_ICCID
5279 {
5280 // String is variable length, but must be size of the container
5281 // char mICCID[1];
5282 };
5283
5284 // Structure to describe response TLV 0x01 for DMSUIMGetHostLockID()
5285 struct sDMSUIMGetHostLockIDResponse_ID
5286 {
5287 UINT32 mHostLockCode;
5288 };
5289
5290 // Structure to describe request TLV 0x01 for DMSUIMGetControlKeyStatus()
5291 struct sDMSUIMGetControlKeyStatusRequest_Facility
5292 {
5293 eQMIDMSUIMFacility mFacility;
5294 };
5295
5296 // Structure to describe response TLV 0x01 for DMSUIMGetControlKeyStatus()
5297 struct sDMSUIMGetControlKeyStatusResponse_Status
5298 {
5299 eQMIDMSUIMFacilityStates mFacilityState;
5300 UINT8 mRemainingVerifyRetries;
5301 UINT8 mRemainingUnblockRetries;
5302 };
5303
5304 // Structure to describe response TLV 0x10 for DMSUIMGetControlKeyStatus()
5305 struct sDMSUIMGetControlKeyStatusResponse_Blocking
5306 {
5307 INT8 mOperationBlocking;
5308 };
5309
5310 // Structure to describe request TLV 0x01 for DMSUIMSetControlKeyProtection()
5311 struct sDMSUIMSetControlKeyProtectionRequest_Facility
5312 {
5313 eQMIDMSUIMFacility mFacility;
5314 eQMIDMSUIMFacilityStates mFacilityState;
5315 UINT8 mControlKeyLength;
5316
5317 // This array must be the size specified by mControlKeyLength
5318 // char mControlKey[1];
5319 };
5320
5321 // Structure to describe response TLV 0x10 for DMSUIMSetControlKeyProtection()
5322 struct sDMSUIMSetControlKeyProtectionResponse_Status
5323 {
5324 UINT8 mRemainingVerifyRetries;
5325 };
5326
5327 // Structure to describe request TLV 0x01 for DMSUIMUnblockControlKey()
5328 struct sDMSUIMUnblockControlKeyRequest_Facility
5329 {
5330 eQMIDMSUIMFacility mFacility;
5331 UINT8 mControlKeyLength;
5332
5333 // This array must be the size specified by mControlKeyLength
5334 // char mControlKey[1];
5335 };
5336
5337 // Structure to describe response TLV 0x10 for DMSUIMUnblockControlKey()
5338 struct sDMSUIMUnblockControlKeyResponse_Status
5339 {
5340 UINT8 mRemainingUnblockRetries;
5341 };
5342
5343 // Structure to describe response TLV 0x01 for DMSGetIMSI()
5344 struct sDMSGetIMSIResponse_IMSI
5345 {
5346 // String is variable length, but must be size of the container
5347 // char mIMSI[1];
5348 };
5349
5350 // Structure to describe response TLV 0x01 for DMSGetUIMState()
5351 struct sDMSGetUIMStateResponse_State
5352 {
5353 eQMIDMSUIMStates mUIMState;
5354 };
5355
5356 // Structure to describe response TLV 0x01 for DMSGetBandCapabilities()
5357 struct sDMSGetBandCapabilitiesResponse_Bands
5358 {
5359 bool mBandClass0ASystem:1;
5360 bool mBandClass0BSystem:1;
5361 bool mBandClass1:1;
5362 bool mBandClass2:1;
5363 bool mBandClass3ASystem:1;
5364 bool mBandClass4:1;
5365 bool mBandClass5:1;
5366 bool mGSMDCS:1;
5367 bool mGSMPrimary:1;
5368 bool mGSMExtended:1;
5369 bool mBandClass6:1;
5370 bool mBandClass7:1;
5371 bool mBandClass8:1;
5372 bool mBandClass9:1;
5373 bool mBandClass10:1;
5374 bool mBandClass11:1;
5375 bool mGSM450:1;
5376 bool mGSM480:1;
5377 bool mGSM750:1;
5378 bool mGSM850:1;
5379 bool mGSMRailways:1;
5380 bool mGSMPCS:1;
5381 bool mWCDMA2100I:1;
5382 bool mWCDMAPCS1900:1;
5383 bool mWCDMADCS1800:1;
5384 bool mWCDMA1700US:1;
5385 bool mWCDMA850:1;
5386 bool mWCDMA800:1;
5387 bool mBandClass12:1;
5388 bool mBandClass14:1;
5389
5390 // Padding out 1 bits
5391 UINT8 mReserved1:1;
5392
5393 bool mBandClass15:1;
5394
5395 // Padding out 16 bits
5396 UINT8 mReserved2[2];
5397
5398 bool mWCDMA2600:1;
5399 bool mWCDMA900:1;
5400 bool mWCDMA1700Japan:1;
5401
5402 // Padding out 5 bits
5403 UINT8 mReserved3:5;
5404
5405 bool mBandClass16:1;
5406 bool mBandClass17:1;
5407 bool mBandClass18:1;
5408 bool mBandClass19:1;
5409
5410 // Padding out 4 bits
5411 UINT8 mReserved4:4;
5412 };
5413
5414 // Structure to describe response TLV 0x10 for DMSGetBandCapabilities()
5415 struct sDMSGetBandCapabilitiesResponse_LTEBands
5416 {
5417 bool mEUTRANBand1:1;
5418 bool mEUTRANBand2:1;
5419 bool mEUTRANBand3:1;
5420 bool mEUTRANBand4:1;
5421 bool mEUTRANBand5:1;
5422 bool mEUTRANBand6:1;
5423 bool mEUTRANBand7:1;
5424 bool mEUTRANBand8:1;
5425 bool mEUTRANBand9:1;
5426 bool mEUTRANBand10:1;
5427 bool mEUTRANBand11:1;
5428 bool mEUTRANBand12:1;
5429 bool mEUTRANBand13:1;
5430 bool mEUTRANBand14:1;
5431
5432 // Padding out 2 bits
5433 UINT8 mReserved1:2;
5434
5435 bool mEUTRANBand17:1;
5436 bool mEUTRANBand18:1;
5437 bool mEUTRANBand19:1;
5438 bool mEUTRANBand20:1;
5439 bool mEUTRANBand21:1;
5440
5441 // Padding out 2 bits
5442 UINT8 mReserved2:2;
5443
5444 bool mEUTRANBand24:1;
5445 bool mEUTRANBand25:1;
5446
5447 // Padding out 7 bits
5448 UINT8 mReserved3:7;
5449
5450 bool mEUTRANBand33:1;
5451 bool mEUTRANBand34:1;
5452 bool mEUTRANBand35:1;
5453 bool mEUTRANBand36:1;
5454 bool mEUTRANBand37:1;
5455 bool mEUTRANBand38:1;
5456 bool mEUTRANBand39:1;
5457 bool mEUTRANBand40:1;
5458 bool mEUTRANBand41:1;
5459
5460 // Padding out 23 bits
5461 UINT8 mReserved4:7;
5462 UINT8 mReserved5[2];
5463 };
5464
5465 // Structure to describe response TLV 0x01 for DMSGetFactorySerialNumber()
5466 struct sDMSGetFactorySerialNumberResponse_ID
5467 {
5468 // String is variable length, but must be size of the container
5469 // char mFactorySerialNumber[1];
5470 };
5471
5472 // Structure to describe request TLV 0x01 for DMSSetDeviceTime()
5473 struct sDMSSetDeviceTimeRequest_Time
5474 {
5475 UINT64 mTimeInMilliseconds;
5476 };
5477
5478 // Structure to describe request TLV 0x10 for DMSSetDeviceTime()
5479 struct sDMSSetDeviceTimeRequest_Type
5480 {
5481 eQMIDMSTimeReferences mTimeReference;
5482 };
5483
5484 // Structure to describe response TLV 0x01 for DMSGetSoftwareVersion()
5485 struct sDMSGetSoftwareVersionResponse_Version
5486 {
5487 // String is variable length, but must be size of the container
5488 // char mSoftwareVersion[1];
5489 };
5490
5491 // Structure to describe request TLV 0x01 for DMSSetSPC()
5492 struct sDMSSetSPCRequest_CurrentSPC
5493 {
5494 char mCurrentSPC[6];
5495 };
5496
5497 // Structure to describe request TLV 0x01 for NASAbort()
5498 struct sNASAbortRequest_TransactionID
5499 {
5500 UINT16 mTransactionID;
5501 };
5502
5503 // Structure to describe request TLV 0x10 for NASSetEventReport()
5504 struct sNASSetEventReportRequest_SignalIndicator
5505 {
5506 INT8 mReportSignalStrength;
5507 UINT8 mNumberOfThresholds;
5508
5509 // This array must be the size specified by mNumberOfThresholds
5510 // INT8 mSignalStrengthThresholddBm[1];
5511 };
5512
5513 // Structure to describe request TLV 0x11 for NASSetEventReport()
5514 struct sNASSetEventReportRequest_RFIndicator
5515 {
5516 INT8 mReportRFInfo;
5517 };
5518
5519 // Structure to describe request TLV 0x12 for NASSetEventReport()
5520 struct sNASSetEventReportRequest_RegistrationRejectIndicator
5521 {
5522 INT8 mReportLUReject;
5523 };
5524
5525 // Structure to describe request TLV 0x13 for NASSetEventReport()
5526 struct sNASSetEventReportRequest_RSSIIndicator
5527 {
5528 INT8 mReportRSSI;
5529 UINT8 mRSSIDelta;
5530 };
5531
5532 // Structure to describe request TLV 0x14 for NASSetEventReport()
5533 struct sNASSetEventReportRequest_ECIOIndicator
5534 {
5535 INT8 mReportECIO;
5536 UINT8 mECIODelta;
5537 };
5538
5539 // Structure to describe request TLV 0x15 for NASSetEventReport()
5540 struct sNASSetEventReportRequest_IOIndicator
5541 {
5542 INT8 mReportIO;
5543 UINT8 mIODelta;
5544 };
5545
5546 // Structure to describe request TLV 0x16 for NASSetEventReport()
5547 struct sNASSetEventReportRequest_SINRIndicator
5548 {
5549 INT8 mReportSINR;
5550 UINT8 mSINRDelta;
5551 };
5552
5553 // Structure to describe request TLV 0x17 for NASSetEventReport()
5554 struct sNASSetEventReportRequest_ErrorRateIndicator
5555 {
5556 INT8 mReportErrorRate;
5557 };
5558
5559 // Structure to describe request TLV 0x18 for NASSetEventReport()
5560 struct sNASSetEventReportRequest_RSRQIndicator
5561 {
5562 INT8 mReportRSRQ;
5563 UINT8 mRSRQDelta;
5564 };
5565
5566 // Structure to describe request TLV 0x19 for NASSetEventReport()
5567 struct sNASSetEventReportRequest_ECIOThreshold
5568 {
5569 INT8 mReportECIO;
5570 UINT8 mThresholdCount;
5571
5572 // This array must be the size specified by mThresholdCount
5573 // INT16 mThreshold[1];
5574 };
5575
5576 // Structure to describe request TLV 0x1A for NASSetEventReport()
5577 struct sNASSetEventReportRequest_SINRThreshold
5578 {
5579 INT8 mReportSINR;
5580 UINT8 mThresholdCount;
5581
5582 // This array must be the size specified by mThresholdCount
5583 // UINT8 mThreshold[1];
5584 };
5585
5586 // Structure to describe indication TLV 0x10 for NAS EventReport
5587 struct sNASEventReportIndication_SignalStrength
5588 {
5589 INT8 mSignalStrengthdBm;
5590 eQMINASRadioInterfaces mRadioInterface;
5591 };
5592
5593 // Structure to describe indication TLV 0x11 for NAS EventReport
5594 struct sNASEventReportIndication_RFInfo
5595 {
5596 UINT8 mNumberOfInstances;
5597
5598 struct sInstance
5599 {
5600 eQMINASRadioInterfaces mRadioInterface;
5601 eQMINASBandClasses mActiveBandClass;
5602 UINT16 mActiveChannel;
5603 };
5604
5605 // This array must be the size specified by mNumberOfInstances
5606 // sInstance mInstances[1];
5607 };
5608
5609 // Structure to describe indication TLV 0x12 for NAS EventReport
5610 struct sNASEventReportIndication_RegistrationReject
5611 {
5612 eQMINASServiceDomains mServiceDomain;
5613 UINT16 mRejectCause;
5614 };
5615
5616 // Structure to describe indication TLV 0x13 for NAS EventReport
5617 struct sNASEventReportIndication_RSSI
5618 {
5619 UINT8 mRSSIDelta;
5620 eQMINASRadioInterfaces mRadioInterface;
5621 };
5622
5623 // Structure to describe indication TLV 0x14 for NAS EventReport
5624 struct sNASEventReportIndication_ECIO
5625 {
5626 UINT8 mECIO;
5627 eQMINASRadioInterfaces mRadioInterface;
5628 };
5629
5630 // Structure to describe indication TLV 0x15 for NAS EventReport
5631 struct sNASEventReportIndication_IO
5632 {
5633 UINT32 mIO;
5634 };
5635
5636 // Structure to describe indication TLV 0x16 for NAS EventReport
5637 struct sNASEventReportIndication_SINR
5638 {
5639 eQMINASSINRLevels mSINR;
5640 };
5641
5642 // Structure to describe indication TLV 0x17 for NAS EventReport
5643 struct sNASEventReportIndication_ErrorRate
5644 {
5645 UINT16 mErrorRate;
5646 eQMINASRadioInterfaces mRadioInterface;
5647 };
5648
5649 // Structure to describe indication TLV 0x18 for NAS EventReport
5650 struct sNASEventReportIndication_RSRQ
5651 {
5652 INT8 mRSRQ;
5653 eQMINASRadioInterfaces mRadioInterface;
5654 };
5655
5656 // Structure to describe request TLV 0x10 for NASSetRegistrationEventReport()
5657 struct sNASSetRegistrationEventReportRequest_SystemSelectIndicator
5658 {
5659 INT8 mReportSystemSelect;
5660 };
5661
5662 // Structure to describe request TLV 0x12 for NASSetRegistrationEventReport()
5663 struct sNASSetRegistrationEventReportRequest_DDTMIndicator
5664 {
5665 INT8 mReportDDTM;
5666 };
5667
5668 // Structure to describe request TLV 0x13 for NASSetRegistrationEventReport()
5669 struct sNASSetRegistrationEventReportRequest_ServingSystemIndicator
5670 {
5671 INT8 mReportServingSystem;
5672 };
5673
5674 // Structure to describe request TLV 0x14 for NASSetRegistrationEventReport()
5675 struct sNASSetRegistrationEventReportRequest_DualStandbyIndicator
5676 {
5677 INT8 mReportDualStandby;
5678 };
5679
5680 // Structure to describe request TLV 0x15 for NASSetRegistrationEventReport()
5681 struct sNASSetRegistrationEventReportRequest_SubscriptionInformationIndicator
5682 {
5683 INT8 mReportSubscriptionInformation;
5684 };
5685
5686 // Structure to describe request TLV 0x17 for NASSetRegistrationEventReport()
5687 struct sNASSetRegistrationEventReportRequest_NetworkTimeIndicator
5688 {
5689 INT8 mReportNetworkTime;
5690 };
5691
5692 // Structure to describe request TLV 0x18 for NASSetRegistrationEventReport()
5693 struct sNASSetRegistrationEventReportRequest_SystemInformationIndicator
5694 {
5695 INT8 mReportSystemInformation;
5696 };
5697
5698 // Structure to describe request TLV 0x19 for NASSetRegistrationEventReport()
5699 struct sNASSetRegistrationEventReportRequest_SignalStrengthIndicator
5700 {
5701 INT8 mReportSignalStrength;
5702 };
5703
5704 // Structure to describe request TLV 0x1A for NASSetRegistrationEventReport()
5705 struct sNASSetRegistrationEventReportRequest_ErrorRateIndicator
5706 {
5707 INT8 mReportErrorRate;
5708 };
5709
5710 // Structure to describe request TLV 0x1B for NASSetRegistrationEventReport()
5711 struct sNASSetRegistrationEventReportRequest_NewEVDOUATIIndicator
5712 {
5713 INT8 mReportNewEVDOUATI;
5714 };
5715
5716 // Structure to describe request TLV 0x1C for NASSetRegistrationEventReport()
5717 struct sNASSetRegistrationEventReportRequest_EVDOSessionIndicator
5718 {
5719 INT8 mReportEVDOSessionClose;
5720 };
5721
5722 // Structure to describe request TLV 0x1D for NASSetRegistrationEventReport()
5723 struct sNASSetRegistrationEventReportRequest_ManagedRoamingIndicator
5724 {
5725 INT8 mReportManagedRoaming;
5726 };
5727
5728 // Structure to describe request TLV 0x10 for NASGetSignalStrength()
5729 struct sNASGetSignalStrengthRequest_RequestMask
5730 {
5731 bool mQueryRSSI:1;
5732 bool mQueryECIO:1;
5733 bool mQueryIO:1;
5734 bool mQuerySINR:1;
5735 bool mQueryErrorRate:1;
5736
5737 // Padding out 11 bits
5738 UINT8 mReserved1:3;
5739 UINT8 mReserved2;
5740 };
5741
5742 // Structure to describe response TLV 0x01 for NASGetSignalStrength()
5743 struct sNASGetSignalStrengthResponse_SignalStrength
5744 {
5745 INT8 mSignalStrengthdBm;
5746 eQMINASRadioInterfaces mRadioInterface;
5747 };
5748
5749 // Structure to describe response TLV 0x10 for NASGetSignalStrength()
5750 struct sNASGetSignalStrengthResponse_SignalStrengthList
5751 {
5752 UINT16 mNumberOfInfoInstances;
5753
5754 struct sInfo
5755 {
5756 INT8 mSignalStrengthdBm;
5757 eQMINASRadioInterfaces mRadioInterface;
5758 };
5759
5760 // This array must be the size specified by mNumberOfInfoInstances
5761 // sInfo mInfos[1];
5762 };
5763
5764 // Structure to describe response TLV 0x11 for NASGetSignalStrength()
5765 struct sNASGetSignalStrengthResponse_RSSIList
5766 {
5767 UINT16 mNumberOfMeasurements;
5768
5769 struct sMeasurement
5770 {
5771 UINT8 mRSSIDelta;
5772 eQMINASRadioInterfaces mRadioInterface;
5773 };
5774
5775 // This array must be the size specified by mNumberOfMeasurements
5776 // sMeasurement mMeasurements[1];
5777 };
5778
5779 // Structure to describe response TLV 0x12 for NASGetSignalStrength()
5780 struct sNASGetSignalStrengthResponse_ECIOList
5781 {
5782 UINT16 mNumberOfMeasurements;
5783
5784 struct sMeasurement
5785 {
5786 UINT8 mECIO;
5787 eQMINASRadioInterfaces mRadioInterface;
5788 };
5789
5790 // This array must be the size specified by mNumberOfMeasurements
5791 // sMeasurement mMeasurements[1];
5792 };
5793
5794 // Structure to describe response TLV 0x13 for NASGetSignalStrength()
5795 struct sNASGetSignalStrengthResponse_IO
5796 {
5797 UINT32 mIO;
5798 };
5799
5800 // Structure to describe response TLV 0x14 for NASGetSignalStrength()
5801 struct sNASGetSignalStrengthResponse_SINR
5802 {
5803 eQMINASSINRLevels mSINR;
5804 };
5805
5806 // Structure to describe response TLV 0x15 for NASGetSignalStrength()
5807 struct sNASGetSignalStrengthResponse_ErrorRateList
5808 {
5809 UINT16 mNumberOfMeasurements;
5810
5811 struct sMeasurement
5812 {
5813 UINT16 mErrorRate;
5814 eQMINASRadioInterfaces mRadioInterface;
5815 };
5816
5817 // This array must be the size specified by mNumberOfMeasurements
5818 // sMeasurement mMeasurements[1];
5819 };
5820
5821 // Structure to describe response TLV 0x16 for NASGetSignalStrength()
5822 struct sNASGetSignalStrengthResponse_RSRQ
5823 {
5824 INT8 mRSRQ;
5825 eQMINASRadioInterfaces mRadioInterface;
5826 };
5827
5828 // Structure to describe request TLV 0x10 for NASPerformNetworkScan()
5829 struct sNASPerformNetworkScanRequest_NetworkMask
5830 {
5831 bool mGSM:1;
5832 bool mUMTS:1;
5833 bool mLTE:1;
5834
5835 // Padding out 5 bits
5836 UINT8 mReserved1:5;
5837 };
5838
5839 // Structure to describe response TLV 0x10 for NASPerformNetworkScan()
5840 struct sNASPerformNetworkScanResponse_NetworkInfo
5841 {
5842 UINT16 mNumberOfInfoInstances;
5843
5844 struct sNetworkInfo
5845 {
5846 UINT16 mMobileCountryCode;
5847 UINT16 mMobileNetworkCode;
5848 eQMINASInUseStates mInUseStatus:2;
5849 eQMINASRoamingStates mRoamingStatus:2;
5850 eQMINASForbiddenStates mForbiddenStatus:2;
5851 eQMINASPreferredStates mPreferredStatus:2;
5852 UINT8 mDescriptionLength;
5853
5854 // This array must be the size specified by mDescriptionLength
5855 // char mDescription[1];
5856 };
5857
5858 // This array must be the size specified by mNumberOfInfoInstances
5859 // sNetworkInfo mNetworkInfos[1];
5860 };
5861
5862 // Structure to describe response TLV 0x11 for NASPerformNetworkScan()
5863 struct sNASPerformNetworkScanResponse_NetworkRAT
5864 {
5865 UINT16 mNumberOfInfoInstances;
5866
5867 struct sInfo
5868 {
5869 UINT16 mMobileCountryCode;
5870 UINT16 mMobileNetworkCode;
5871 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
5872 };
5873
5874 // This array must be the size specified by mNumberOfInfoInstances
5875 // sInfo mInfos[1];
5876 };
5877
5878 // Structure to describe response TLV 0x12 for NASPerformNetworkScan()
5879 struct sNASPerformNetworkScanResponse_PCSInfo
5880 {
5881 UINT16 mPCSInfoCount;
5882
5883 struct sPCSInfo
5884 {
5885 UINT16 mMobileCountryCode;
5886 UINT16 mMobileNetworkCode;
5887 INT8 mMNCIncludesPCSDigit;
5888 };
5889
5890 // This array must be the size specified by mPCSInfoCount
5891 // sPCSInfo mPCSInfos[1];
5892 };
5893
5894 // Structure to describe request TLV 0x01 for NASInitiateNetworkRegister()
5895 struct sNASInitiateNetworkRegisterRequest_Action
5896 {
5897 eQMINASRegisterActions mRegisterAction;
5898 };
5899
5900 // Structure to describe request TLV 0x10 for NASInitiateNetworkRegister()
5901 struct sNASInitiateNetworkRegisterRequest_ManualInfo
5902 {
5903 UINT16 mMobileCountryCode;
5904 UINT16 mMobileNetworkCode;
5905 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
5906 };
5907
5908 // Structure to describe request TLV 0x11 for NASInitiateNetworkRegister()
5909 struct sNASInitiateNetworkRegisterRequest_ChangeDuration
5910 {
5911 eQMINASChangeDuration mChangeDuration;
5912 };
5913
5914 // Structure to describe request TLV 0x12 for NASInitiateNetworkRegister()
5915 struct sNASInitiateNetworkRegisterRequest_PCSInfo
5916 {
5917 INT8 mMNCIncludesPCSDigit;
5918 };
5919
5920 // Structure to describe request TLV 0x10 for NASInitiateAttach()
5921 struct sNASInitiateAttachRequest_Action
5922 {
5923 eQMINASPSAttachActions mPSAttachAction;
5924 };
5925
5926 // Structure to describe response TLV 0x01 for NASGetServingSystem()
5927 struct sNASGetServingSystemResponse_ServingSystem
5928 {
5929 eQMINASRegistrationStates mRegistrationState;
5930 eQMINASCSPSAttachStates mCSAttachState;
5931 eQMINASCSPSAttachStates mPSAttachState;
5932 eQMINASRegisteredNetworks mRegisteredNetwork;
5933 UINT8 mNumberOfRadioInterfacesInUse;
5934
5935 // This array must be the size specified by mNumberOfRadioInterfacesInUse
5936 // eQMINASRadioInterfaces mRadioInterface[1];
5937 };
5938
5939 // Structure to describe response TLV 0x10 for NASGetServingSystem()
5940 struct sNASGetServingSystemResponse_RoamingIndicator
5941 {
5942 eQMINASRoamingIndicators mRoamingIndicator;
5943 };
5944
5945 // Structure to describe response TLV 0x11 for NASGetServingSystem()
5946 struct sNASGetServingSystemResponse_DataServices
5947 {
5948 UINT8 mNumberOfDataCapabilities;
5949
5950 // This array must be the size specified by mNumberOfDataCapabilities
5951 // eQMINASDataServiceCapabilities2 mDataCapability[1];
5952 };
5953
5954 // Structure to describe response TLV 0x12 for NASGetServingSystem()
5955 struct sNASGetServingSystemResponse_CurrentPLMN
5956 {
5957 UINT16 mMobileCountryCode;
5958 UINT16 mMobileNetworkCode;
5959 UINT8 mDescriptionLength;
5960
5961 // This array must be the size specified by mDescriptionLength
5962 // char mDescription[1];
5963 };
5964
5965 // Structure to describe response TLV 0x13 for NASGetServingSystem()
5966 struct sNASGetServingSystemResponse_SystemID
5967 {
5968 UINT16 mSystemID;
5969 UINT16 mNetworkID;
5970 };
5971
5972 // Structure to describe response TLV 0x14 for NASGetServingSystem()
5973 struct sNASGetServingSystemResponse_BaseStation
5974 {
5975 UINT16 mBaseStationID;
5976 UINT32 mLatitude;
5977 UINT32 mLongitude;
5978 };
5979
5980 // Structure to describe response TLV 0x15 for NASGetServingSystem()
5981 struct sNASGetServingSystemResponse_RoamingList
5982 {
5983 UINT8 mNumberOfInstances;
5984
5985 struct sInstance
5986 {
5987 eQMINASRadioInterfaces mRadioInterface;
5988 eQMINASRoamingIndicators mRoamingIndicator;
5989 };
5990
5991 // This array must be the size specified by mNumberOfInstances
5992 // sInstance mInstances[1];
5993 };
5994
5995 // Structure to describe response TLV 0x16 for NASGetServingSystem()
5996 struct sNASGetServingSystemResponse_DefaultRoaming
5997 {
5998 eQMINASRoamingIndicators mRoamingIndicator;
5999 };
6000
6001 // Structure to describe response TLV 0x17 for NASGetServingSystem()
6002 struct sNASGetServingSystemResponse_3GPP2TimeZone
6003 {
6004 UINT8 mLeapSeconds;
6005 INT8 mLocalTimeOffset;
6006 INT8 mDaylightSavingsInEffect;
6007 };
6008
6009 // Structure to describe response TLV 0x18 for NASGetServingSystem()
6010 struct sNASGetServingSystemResponse_ProtocolRevision
6011 {
6012 eQMINASRevision mProtocolRevision;
6013 };
6014
6015 // Structure to describe response TLV 0x1A for NASGetServingSystem()
6016 struct sNASGetServingSystemResponse_3GPPTimeZone
6017 {
6018 INT8 m3GPPTimeZone;
6019 };
6020
6021 // Structure to describe response TLV 0x1B for NASGetServingSystem()
6022 struct sNASGetServingSystemResponse_3GPPDaylightSavingsAdjustment
6023 {
6024 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
6025 };
6026
6027 // Structure to describe response TLV 0x1C for NASGetServingSystem()
6028 struct sNASGetServingSystemResponse_3GPPLocationAreaCode
6029 {
6030 UINT16 mLocationAreaCode;
6031 };
6032
6033 // Structure to describe response TLV 0x1D for NASGetServingSystem()
6034 struct sNASGetServingSystemResponse_3GPPCellID
6035 {
6036 UINT32 mCellID;
6037 };
6038
6039 // Structure to describe response TLV 0x1E for NASGetServingSystem()
6040 struct sNASGetServingSystemResponse_3GPP2ConcurrentService
6041 {
6042 eQMINASConcurrentService mConcurrentService;
6043 };
6044
6045 // Structure to describe response TLV 0x1F for NASGetServingSystem()
6046 struct sNASGetServingSystemResponse_3GPP2PRLIndicator
6047 {
6048 eQMINASPRLIndicator mPRLIndicator;
6049 };
6050
6051 // Structure to describe response TLV 0x20 for NASGetServingSystem()
6052 struct sNASGetServingSystemResponse_DualTransferModeIndication
6053 {
6054 eQMINASDualTransferMode mDualTransferMode;
6055 };
6056
6057 // Structure to describe response TLV 0x21 for NASGetServingSystem()
6058 struct sNASGetServingSystemResponse_DetailedServiceInformation
6059 {
6060 eQMINASServiceStatus mServiceStatus;
6061 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
6062 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
6063 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
6064 eQMINASSystemForbidden mSystemForbidden;
6065 };
6066
6067 // Structure to describe response TLV 0x22 for NASGetServingSystem()
6068 struct sNASGetServingSystemResponse_CDMASystemInformation
6069 {
6070 UINT16 mMobileCountryCode;
6071 UINT8 mIMSI_11_12;
6072 };
6073
6074 // Structure to describe response TLV 0x23 for NASGetServingSystem()
6075 struct sNASGetServingSystemResponse_CDMA1xEVDOPersonality
6076 {
6077 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
6078 };
6079
6080 // Structure to describe response TLV 0x24 for NASGetServingSystem()
6081 struct sNASGetServingSystemResponse_TrackingAreaCode
6082 {
6083 UINT16 mTrackingAreaCode;
6084 };
6085
6086 // Structure to describe response TLV 0x25 for NASGetServingSystem()
6087 struct sNASGetServingSystemResponse_CallBarring
6088 {
6089 eQMINASCallBarringStatus mCSCallBarringStatus;
6090 eQMINASCallBarringStatus mPSCallBarringStatus;
6091 };
6092
6093 // Structure to describe indication TLV 0x01 for NAS ServingSystemIndication
6094 struct sNASServingSystemIndication_ServingSystem
6095 {
6096 eQMINASRegistrationStates mRegistrationState;
6097 eQMINASCSPSAttachStates mCSAttachState;
6098 eQMINASCSPSAttachStates mPSAttachState;
6099 eQMINASRegisteredNetworks mRegisteredNetwork;
6100 UINT8 mNumberOfRadioInterfacesInUse;
6101
6102 // This array must be the size specified by mNumberOfRadioInterfacesInUse
6103 // eQMINASRadioInterfaces mRadioInterface[1];
6104 };
6105
6106 // Structure to describe indication TLV 0x10 for NAS ServingSystemIndication
6107 struct sNASServingSystemIndication_RoamingIndicator
6108 {
6109 eQMINASRoamingIndicators mRoamingIndicator;
6110 };
6111
6112 // Structure to describe indication TLV 0x11 for NAS ServingSystemIndication
6113 struct sNASServingSystemIndication_DataServices
6114 {
6115 UINT8 mNumberOfDataCapabilities;
6116
6117 // This array must be the size specified by mNumberOfDataCapabilities
6118 // eQMINASDataServiceCapabilities2 mDataCapability[1];
6119 };
6120
6121 // Structure to describe indication TLV 0x12 for NAS ServingSystemIndication
6122 struct sNASServingSystemIndication_CurrentPLMN
6123 {
6124 UINT16 mMobileCountryCode;
6125 UINT16 mMobileNetworkCode;
6126 UINT8 mDescriptionLength;
6127
6128 // This array must be the size specified by mDescriptionLength
6129 // char mDescription[1];
6130 };
6131
6132 // Structure to describe indication TLV 0x13 for NAS ServingSystemIndication
6133 struct sNASServingSystemIndication_SystemID
6134 {
6135 UINT16 mSystemID;
6136 UINT16 mNetworkID;
6137 };
6138
6139 // Structure to describe indication TLV 0x14 for NAS ServingSystemIndication
6140 struct sNASServingSystemIndication_BaseStation
6141 {
6142 UINT16 mBaseStationID;
6143 UINT32 mLatitude;
6144 UINT32 mLongitude;
6145 };
6146
6147 // Structure to describe indication TLV 0x15 for NAS ServingSystemIndication
6148 struct sNASServingSystemIndication_RoamingList
6149 {
6150 UINT8 mNumberOfInstances;
6151
6152 struct sInstance
6153 {
6154 eQMINASRadioInterfaces mRadioInterface;
6155 eQMINASRoamingIndicators mRoamingIndicator;
6156 };
6157
6158 // This array must be the size specified by mNumberOfInstances
6159 // sInstance mInstances[1];
6160 };
6161
6162 // Structure to describe indication TLV 0x16 for NAS ServingSystemIndication
6163 struct sNASServingSystemIndication_DefaultRoaming
6164 {
6165 eQMINASRoamingIndicators mRoamingIndicator;
6166 };
6167
6168 // Structure to describe indication TLV 0x17 for NAS ServingSystemIndication
6169 struct sNASServingSystemIndication_TimeZone
6170 {
6171 UINT8 mLeapSeconds;
6172 INT8 mLocalTimeOffset;
6173 INT8 mDaylightSavingsInEffect;
6174 };
6175
6176 // Structure to describe indication TLV 0x18 for NAS ServingSystemIndication
6177 struct sNASServingSystemIndication_ProtocolRevision
6178 {
6179 eQMINASRevision mProtocolRevision;
6180 };
6181
6182 // Structure to describe indication TLV 0x19 for NAS ServingSystemIndication
6183 struct sNASServingSystemIndication_PLMNChange
6184 {
6185 INT8 mPLMNChanged;
6186 };
6187
6188 // Structure to describe indication TLV 0x1A for NAS ServingSystemIndication
6189 struct sNASServingSystemIndication_3GPPTimeZone
6190 {
6191 INT8 m3GPPTimeZone;
6192 };
6193
6194 // Structure to describe indication TLV 0x1B for NAS ServingSystemIndication
6195 struct sNASServingSystemIndication_3GPPDaylightSavingAdjustment
6196 {
6197 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
6198 };
6199
6200 // Structure to describe indication TLV 0x1C for NAS ServingSystemIndication
6201 struct sNASServingSystemIndication_3GPPUniversalTimeAndZone
6202 {
6203 UINT16 mYear;
6204 UINT8 mMonth;
6205 UINT8 mDay;
6206 UINT8 mHour;
6207 UINT8 mMinute;
6208 UINT8 mSecond;
6209 INT8 mTimeZoneOffset;
6210 };
6211
6212 // Structure to describe indication TLV 0x1D for NAS ServingSystemIndication
6213 struct sNASServingSystemIndication_3GPPLocationAreaCode
6214 {
6215 UINT16 mLocationAreaCode;
6216 };
6217
6218 // Structure to describe indication TLV 0x1E for NAS ServingSystemIndication
6219 struct sNASServingSystemIndication_3GPPCellID
6220 {
6221 UINT32 mCellID;
6222 };
6223
6224 // Structure to describe indication TLV 0x1F for NAS ServingSystemIndication
6225 struct sNASServingSystemIndication_3GPP2ConcurrentService
6226 {
6227 eQMINASConcurrentService mConcurrentService;
6228 };
6229
6230 // Structure to describe indication TLV 0x20 for NAS ServingSystemIndication
6231 struct sNASServingSystemIndication_3GPP2PRLIndicator
6232 {
6233 eQMINASPRLIndicator mPRLIndicator;
6234 };
6235
6236 // Structure to describe indication TLV 0x21 for NAS ServingSystemIndication
6237 struct sNASServingSystemIndication_DualTransferModeIndication
6238 {
6239 eQMINASDualTransferMode mDualTransferMode;
6240 };
6241
6242 // Structure to describe indication TLV 0x22 for NAS ServingSystemIndication
6243 struct sNASServingSystemIndication_DetailedServiceInformation
6244 {
6245 eQMINASServiceStatus mServiceStatus;
6246 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
6247 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
6248 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
6249 eQMINASSystemForbidden mSystemForbidden;
6250 };
6251
6252 // Structure to describe indication TLV 0x23 for NAS ServingSystemIndication
6253 struct sNASServingSystemIndication_CDMASystemInformation
6254 {
6255 UINT16 mMobileCountryCode;
6256 UINT8 mIMSI_11_12;
6257 };
6258
6259 // Structure to describe indication TLV 0x24 for NAS ServingSystemIndication
6260 struct sNASServingSystemIndication_CDMA1xEVDOPersonality
6261 {
6262 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
6263 };
6264
6265 // Structure to describe indication TLV 0x25 for NAS ServingSystemIndication
6266 struct sNASServingSystemIndication_TrackingAreaCode
6267 {
6268 UINT16 mTrackingAreaCode;
6269 };
6270
6271 // Structure to describe indication TLV 0x26 for NAS ServingSystemIndication
6272 struct sNASServingSystemIndication_CallBarring
6273 {
6274 eQMINASCallBarringStatus mCSCallBarringStatus;
6275 eQMINASCallBarringStatus mPSCallBarringStatus;
6276 };
6277
6278 // Structure to describe response TLV 0x01 for NASGetHomeNetwork()
6279 struct sNASGetHomeNetworkResponse_HomeNetwork
6280 {
6281 UINT16 mMobileCountryCode;
6282 UINT16 mMobileNetworkCode;
6283 UINT8 mDescriptionLength;
6284
6285 // This array must be the size specified by mDescriptionLength
6286 // char mDescription[1];
6287 };
6288
6289 // Structure to describe response TLV 0x10 for NASGetHomeNetwork()
6290 struct sNASGetHomeNetworkResponse_HomeIDs
6291 {
6292 UINT16 mSystemID;
6293 UINT16 mNetworkID;
6294 };
6295
6296 // Structure to describe response TLV 0x11 for NASGetHomeNetwork()
6297 struct sNASGetHomeNetworkResponse_ExtendedHomeNetwork
6298 {
6299 UINT16 mMobileCountryCode;
6300 UINT16 mMobileNetworkCode;
6301 eQMINASNetworkDescriptionDisplays mDisplayNetworkDescription;
6302 eQMINASNetworkDescriptionEncodings mNetworkDescriptionEncoding;
6303 UINT8 mNetworkDescriptionLength;
6304
6305 // This array must be the size specified by mNetworkDescriptionLength
6306 // UINT8 mNetworkDescription[1];
6307 };
6308
6309 // Structure to describe response TLV 0x10 for NASGetPreferredNetworks()
6310 struct sNASGetPreferredNetworksResponse_Networks
6311 {
6312 UINT16 mNumberOfPreferredNetworks;
6313
6314 struct sNetwork
6315 {
6316 UINT16 mMobileCountryCode;
6317 UINT16 mMobileNetworkCode;
6318
6319 // Padding out 6 bits
6320 UINT8 mReserved1:6;
6321
6322 bool mGSMCompact:1;
6323 bool mGSM:1;
6324
6325 // Padding out 6 bits
6326 UINT8 mReserved2:6;
6327
6328 bool mLTE:1;
6329 bool mUMTS:1;
6330 };
6331
6332 // This array must be the size specified by mNumberOfPreferredNetworks
6333 // sNetwork mNetworks[1];
6334 };
6335
6336 // Structure to describe response TLV 0x11 for NASGetPreferredNetworks()
6337 struct sNASGetPreferredNetworksResponse_StaticNetworks
6338 {
6339 UINT16 mNumberOfPreferredNetworks;
6340
6341 struct sNetwork
6342 {
6343 UINT16 mMobileCountryCode;
6344 UINT16 mMobileNetworkCode;
6345
6346 // Padding out 6 bits
6347 UINT8 mReserved1:6;
6348
6349 bool mGSMCompact:1;
6350 bool mGSM:1;
6351
6352 // Padding out 6 bits
6353 UINT8 mReserved2:6;
6354
6355 bool mLTE:1;
6356 bool mUMTS:1;
6357 };
6358
6359 // This array must be the size specified by mNumberOfPreferredNetworks
6360 // sNetwork mNetworks[1];
6361 };
6362
6363 // Structure to describe request TLV 0x10 for NASSetPreferredNetworks()
6364 struct sNASSetPreferredNetworksRequest_Networks
6365 {
6366 UINT16 mNumberOfPreferredNetworks;
6367
6368 struct sNetwork
6369 {
6370 UINT16 mMobileCountryCode;
6371 UINT16 mMobileNetworkCode;
6372
6373 // Padding out 6 bits
6374 UINT8 mReserved1:6;
6375
6376 bool mGSMCompact:1;
6377 bool mGSM:1;
6378
6379 // Padding out 6 bits
6380 UINT8 mReserved2:6;
6381
6382 bool mLTE:1;
6383 bool mUMTS:1;
6384 };
6385
6386 // This array must be the size specified by mNumberOfPreferredNetworks
6387 // sNetwork mNetworks[1];
6388 };
6389
6390 // Structure to describe response TLV 0x10 for NASGetForbiddenNetworks()
6391 struct sNASGetForbiddenNetworksResponse_Networks
6392 {
6393 UINT16 mNumberOfForbiddenNetworks;
6394
6395 struct sNetwork
6396 {
6397 UINT16 mMobileCountryCode;
6398 UINT16 mMobileNetworkCode;
6399 };
6400
6401 // This array must be the size specified by mNumberOfForbiddenNetworks
6402 // sNetwork mNetworks[1];
6403 };
6404
6405 // Structure to describe request TLV 0x10 for NASSetForbiddenNetworks()
6406 struct sNASSetForbiddenNetworksRequest_Networks
6407 {
6408 UINT16 mNumberOfForbiddenNetworks;
6409
6410 struct sNetwork
6411 {
6412 UINT16 mMobileCountryCode;
6413 UINT16 mMobileNetworkCode;
6414 };
6415
6416 // This array must be the size specified by mNumberOfForbiddenNetworks
6417 // sNetwork mNetworks[1];
6418 };
6419
6420 // Structure to describe request TLV 0x01 for NASSetTechnologyPreference()
6421 struct sNASSetTechnologyPreferenceRequest_Preference
6422 {
6423 // mTechnology must be the first two bits of a UINT8
6424 // whose remaining bits are described in the optional
6425 // structs following.
6426
6427 // The following union is based on the value of mTechnology
6428 union uValOfTechnology
6429 {
6430 // Always present
6431 eQMINASTechPrefs mTechnology:2;
6432
6433 // If the value of mTechnology == 1
6434 struct sTechnologyIs1
6435 {
6436 // Padding out 2 bits
6437 UINT8 mReserved1:2;
6438
6439 UINT8 mAnalog:1;
6440 UINT8 mDigital:1;
6441 UINT8 mEVDO:1;
6442 UINT8 mLTE:1;
6443
6444 // Padding out 2 bits
6445 UINT8 mReserved2:2;
6446 };
6447
6448 sTechnologyIs1 mTechnologyIs1;
6449
6450 // If the value of mTechnology == 2
6451 struct sTechnologyIs2
6452 {
6453 // Padding out 2 bits
6454 UINT8 mReserved3:2;
6455
6456 UINT8 mGSM:1;
6457 UINT8 mWCDMA:1;
6458 UINT8 mEVDO:1;
6459 UINT8 mLTE:1;
6460
6461 // Padding out 2 bits
6462 UINT8 mReserved4:2;
6463 };
6464
6465 sTechnologyIs2 mTechnologyIs2;
6466
6467 // Padding out 8 bits
6468 UINT8 mReserved5;
6469 };
6470
6471 uValOfTechnology mValOfTechnology;
6472
6473 // Padding out 8 bits
6474 UINT8 mReserved6;
6475
6476 eQMINASTechPrefDurations mDuration;
6477 };
6478
6479 // Structure to describe response TLV 0x01 for NASGetTechnologyPreference()
6480 struct sNASGetTechnologyPreferenceResponse_ActivePreference
6481 {
6482 // mTechnology must be the first two bits of a UINT8
6483 // whose remaining bits are described in the optional
6484 // structs following.
6485
6486 // The following union is based on the value of mTechnology
6487 union uValOfTechnology
6488 {
6489 // Always present
6490 eQMINASTechPrefs mTechnology:2;
6491
6492 // If the value of mTechnology == 1
6493 struct sTechnologyIs1
6494 {
6495 // Padding out 2 bits
6496 UINT8 mReserved1:2;
6497
6498 UINT8 mAnalog:1;
6499 UINT8 mDigital:1;
6500 UINT8 mEVDO:1;
6501 UINT8 mLTE:1;
6502
6503 // Padding out 2 bits
6504 UINT8 mReserved2:2;
6505 };
6506
6507 sTechnologyIs1 mTechnologyIs1;
6508
6509 // If the value of mTechnology == 2
6510 struct sTechnologyIs2
6511 {
6512 // Padding out 2 bits
6513 UINT8 mReserved3:2;
6514
6515 UINT8 mGSM:1;
6516 UINT8 mWCDMA:1;
6517 UINT8 mEVDO:1;
6518 UINT8 mLTE:1;
6519
6520 // Padding out 2 bits
6521 UINT8 mReserved4:2;
6522 };
6523
6524 sTechnologyIs2 mTechnologyIs2;
6525
6526 // Padding out 8 bits
6527 UINT8 mReserved5;
6528 };
6529
6530 uValOfTechnology mValOfTechnology;
6531
6532 // Padding out 8 bits
6533 UINT8 mReserved6;
6534
6535 eQMINASTechPrefDurations mDuration;
6536 };
6537
6538 // Structure to describe response TLV 0x10 for NASGetTechnologyPreference()
6539 struct sNASGetTechnologyPreferenceResponse_PersistentPreference
6540 {
6541 // mTechnology must be the first two bits of a UINT8
6542 // whose remaining bits are described in the optional
6543 // structs following.
6544
6545 // The following union is based on the value of mTechnology
6546 union uValOfTechnology
6547 {
6548 // Always present
6549 eQMINASTechPrefs mTechnology:2;
6550
6551 // If the value of mTechnology == 1
6552 struct sTechnologyIs1
6553 {
6554 // Padding out 2 bits
6555 UINT8 mReserved1:2;
6556
6557 UINT8 mAnalog:1;
6558 UINT8 mDigital:1;
6559 UINT8 mEVDO:1;
6560 UINT8 mLTE:1;
6561
6562 // Padding out 2 bits
6563 UINT8 mReserved2:2;
6564 };
6565
6566 sTechnologyIs1 mTechnologyIs1;
6567
6568 // If the value of mTechnology == 2
6569 struct sTechnologyIs2
6570 {
6571 // Padding out 2 bits
6572 UINT8 mReserved3:2;
6573
6574 UINT8 mGSM:1;
6575 UINT8 mWCDMA:1;
6576 UINT8 mEVDO:1;
6577 UINT8 mLTE:1;
6578
6579 // Padding out 2 bits
6580 UINT8 mReserved4:2;
6581 };
6582
6583 sTechnologyIs2 mTechnologyIs2;
6584
6585 // Padding out 8 bits
6586 UINT8 mReserved5;
6587 };
6588
6589 uValOfTechnology mValOfTechnology;
6590
6591 // Padding out 8 bits
6592 UINT8 mReserved6;
6593 };
6594
6595 // Structure to describe response TLV 0x01 for NASGetACCOLC()
6596 struct sNASGetACCOLCResponse_ACCOLC
6597 {
6598 UINT8 mACCOLC;
6599 };
6600
6601 // Structure to describe request TLV 0x01 for NASSetACCOLC()
6602 struct sNASSetACCOLCRequest_ACCOLC
6603 {
6604 char mSPC[6];
6605 UINT8 mACCOLC;
6606 };
6607
6608 // Structure to describe indication TLV 0x01 for NAS GetSystemPreference
6609 struct sNASGetSystemPreferenceIndication_Pref
6610 {
6611 eQMINASSystemPreferences mSystemPreference;
6612 };
6613
6614 // Structure to describe response TLV 0x11 for NASGetNetworkParameters()
6615 struct sNASGetNetworkParametersResponse_SCI
6616 {
6617 UINT8 mSlotCycleIndex;
6618 };
6619
6620 // Structure to describe response TLV 0x12 for NASGetNetworkParameters()
6621 struct sNASGetNetworkParametersResponse_SCM
6622 {
6623 UINT8 mStationClassMark;
6624 };
6625
6626 // Structure to describe response TLV 0x13 for NASGetNetworkParameters()
6627 struct sNASGetNetworkParametersResponse_Registration
6628 {
6629 INT8 mRegisterOnHomeSystem;
6630 INT8 mRegisterOnForeignSystem;
6631 INT8 mRegisterOnForeignNetwork;
6632 };
6633
6634 // Structure to describe response TLV 0x14 for NASGetNetworkParameters()
6635 struct sNASGetNetworkParametersResponse_CDMA1xEVDORevision
6636 {
6637 INT8 mForceCDMA1xEVDORev0;
6638 };
6639
6640 // Structure to describe response TLV 0x15 for NASGetNetworkParameters()
6641 struct sNASGetNetworkParametersResponse_CDMA1xEVDOSCPCustom
6642 {
6643 INT8 mCDMA1xEVDOSCPCustomConfig;
6644 bool mSubtype2PhysicalLayer:1;
6645 bool mEnhancedCCMAC:1;
6646 bool mEnhancedACMAC:1;
6647 bool mEnhancedFTCMAC:1;
6648 bool mSubtype3RTCMAC:1;
6649 bool mSubtype1RTCMAC:1;
6650 bool mEnhancedIdle:1;
6651 bool mGenericMultimodeCapableDiscPort:1;
6652
6653 // Padding out 24 bits
6654 UINT8 mReserved1[3];
6655
6656 bool mGenericBroadcast:1;
6657
6658 // Padding out 31 bits
6659 UINT8 mReserved2:7;
6660 UINT8 mReserved3[3];
6661
6662 bool mSNMultiflowPacketApplication:1;
6663 bool mSNEnhancedMultiflowPacketApplication:1;
6664
6665 // Padding out 30 bits
6666 UINT8 mReserved4:6;
6667 UINT8 mReserved5[3];
6668 };
6669
6670 // Structure to describe response TLV 0x16 for NASGetNetworkParameters()
6671 struct sNASGetNetworkParametersResponse_Roaming
6672 {
6673 eQMINASRoamingPreferences mRoamPreference;
6674 };
6675
6676 // Structure to describe response TLV 0x17 for NASGetNetworkParameters()
6677 struct sNASGetNetworkParametersResponse_ForceCDMA1xEVDOSCP
6678 {
6679 eQMINASForceCDMA1xEVDOSCP mForceCDMA1xEVDOSCP;
6680 };
6681
6682 // Structure to describe request TLV 0x10 for NASSetNetworkParameters()
6683 struct sNASSetNetworkParametersRequest_SPC
6684 {
6685 char mSPC[6];
6686 };
6687
6688 // Structure to describe request TLV 0x14 for NASSetNetworkParameters()
6689 struct sNASSetNetworkParametersRequest_CDMA1xEVDORevision
6690 {
6691 INT8 mForceCDMA1xEVDORev0;
6692 };
6693
6694 // Structure to describe request TLV 0x15 for NASSetNetworkParameters()
6695 struct sNASSetNetworkParametersRequest_CDMA1xEVDOSCPCustom
6696 {
6697 INT8 mCDMA1xEVDOSCPCustomConfig;
6698 bool mSubtype2PhysicalLayer:1;
6699 bool mEnhancedCCMAC:1;
6700 bool mEnhancedACMAC:1;
6701 bool mEnhancedFTCMAC:1;
6702 bool mSubtype3RTCMAC:1;
6703 bool mSubtype1RTCMAC:1;
6704 bool mEnhancedIdle:1;
6705 bool mGenericMultimodeCapableDiscPort:1;
6706
6707 // Padding out 24 bits
6708 UINT8 mReserved1[3];
6709
6710 bool mGenericBroadcast:1;
6711
6712 // Padding out 31 bits
6713 UINT8 mReserved2:7;
6714 UINT8 mReserved3[3];
6715
6716 bool mSNMultiflowPacketApplication:1;
6717 bool mSNEnhancedMultiflowPacketApplication:1;
6718
6719 // Padding out 30 bits
6720 UINT8 mReserved4:6;
6721 UINT8 mReserved5[3];
6722 };
6723
6724 // Structure to describe request TLV 0x16 for NASSetNetworkParameters()
6725 struct sNASSetNetworkParametersRequest_Roaming
6726 {
6727 eQMINASRoamingPreferences mRoamPreference;
6728 };
6729
6730 // Structure to describe response TLV 0x01 for NASGetRFInfo()
6731 struct sNASGetRFInfoResponse_RFInfo
6732 {
6733 UINT8 mNumberOfInstances;
6734
6735 struct sInstance
6736 {
6737 eQMINASRadioInterfaces mRadioInterface;
6738 eQMINASBandClasses mActiveBandClass;
6739 UINT16 mActiveChannel;
6740 };
6741
6742 // This array must be the size specified by mNumberOfInstances
6743 // sInstance mInstances[1];
6744 };
6745
6746 // Structure to describe response TLV 0x01 for NASGetANAAAAuthenticationStatus()
6747 struct sNASGetANAAAAuthenticationStatusResponse_Status
6748 {
6749 eQMINASANAAAAuthenticationStatus mANAAAAuthenticationStatus;
6750 };
6751
6752 // Structure to describe request TLV 0x10 for NASSetSystemSelectionPref()
6753 struct sNASSetSystemSelectionPrefRequest_EmergencyMode
6754 {
6755 INT8 mEmergencyModeOn;
6756 };
6757
6758 // Structure to describe request TLV 0x11 for NASSetSystemSelectionPref()
6759 struct sNASSetSystemSelectionPrefRequest_Mode
6760 {
6761 bool mCDMA1x:1;
6762 bool mCDMA1xEVDO:1;
6763 bool mGSM:1;
6764 bool mUMTS:1;
6765 bool mLTE:1;
6766
6767 // Padding out 11 bits
6768 UINT8 mReserved1:3;
6769 UINT8 mReserved2;
6770 };
6771
6772 // Structure to describe request TLV 0x12 for NASSetSystemSelectionPref()
6773 struct sNASSetSystemSelectionPrefRequest_Band
6774 {
6775 bool mBandClass0ASystem:1;
6776 bool mBandClass0BSystem:1;
6777 bool mBandClass1:1;
6778 bool mBandClass2:1;
6779 bool mBandClass3ASystem:1;
6780 bool mBandClass4:1;
6781 bool mBandClass5:1;
6782 bool mGSMDCS:1;
6783 bool mGSMPrimary:1;
6784 bool mGSMExtended:1;
6785 bool mBandClass6:1;
6786 bool mBandClass7:1;
6787 bool mBandClass8:1;
6788 bool mBandClass9:1;
6789 bool mBandClass10:1;
6790 bool mBandClass11:1;
6791 bool mGSM450:1;
6792 bool mGSM480:1;
6793 bool mGSM750:1;
6794 bool mGSM850:1;
6795 bool mGSMRailways:1;
6796 bool mGSMPCS:1;
6797 bool mWCDMA2100I:1;
6798 bool mWCDMAPCS1900:1;
6799 bool mWCDMADCS1800:1;
6800 bool mWCDMA1700US:1;
6801 bool mWCDMA850:1;
6802 bool mWCDMA800:1;
6803 bool mBandClass12:1;
6804 bool mBandClass14:1;
6805
6806 // Padding out 1 bits
6807 UINT8 mReserved1:1;
6808
6809 bool mBandClass15:1;
6810
6811 // Padding out 16 bits
6812 UINT8 mReserved2[2];
6813
6814 bool mWCDMA2600:1;
6815 bool mWCDMA900:1;
6816 bool mWCDMA1700Japan:1;
6817
6818 // Padding out 5 bits
6819 UINT8 mReserved3:5;
6820
6821 bool mBandClass16:1;
6822 bool mBandClass17:1;
6823 bool mBandClass18:1;
6824 bool mBandClass19:1;
6825
6826 // Padding out 4 bits
6827 UINT8 mReserved4:4;
6828 };
6829
6830 // Structure to describe request TLV 0x13 for NASSetSystemSelectionPref()
6831 struct sNASSetSystemSelectionPrefRequest_PRL
6832 {
6833 eQMINASPRLPreferences mPRLPreference;
6834 };
6835
6836 // Structure to describe request TLV 0x14 for NASSetSystemSelectionPref()
6837 struct sNASSetSystemSelectionPrefRequest_Roaming
6838 {
6839 eQMINASRoamingPreferences2 mRoamingPreference;
6840 };
6841
6842 // Structure to describe request TLV 0x15 for NASSetSystemSelectionPref()
6843 struct sNASSetSystemSelectionPrefRequest_LTEBand
6844 {
6845 bool mEUTRABand1:1;
6846 bool mEUTRABand2:1;
6847 bool mEUTRABand3:1;
6848 bool mEUTRABand4:1;
6849 bool mEUTRABand5:1;
6850 bool mEUTRABand6:1;
6851 bool mEUTRABand7:1;
6852 bool mEUTRABand8:1;
6853 bool mEUTRABand9:1;
6854 bool mEUTRABand10:1;
6855 bool mEUTRABand11:1;
6856 bool mEUTRABand12:1;
6857 bool mEUTRABand13:1;
6858 bool mEUTRABand14:1;
6859
6860 // Padding out 2 bits
6861 UINT8 mReserved1:2;
6862
6863 bool mEUTRABand17:1;
6864 bool mEUTRABand18:1;
6865 bool mEUTRABand19:1;
6866 bool mEUTRABand20:1;
6867 bool mEUTRABand21:1;
6868
6869 // Padding out 11 bits
6870 UINT8 mReserved2:3;
6871 UINT8 mReserved3;
6872
6873 bool mEUTRABand33:1;
6874 bool mEUTRABand34:1;
6875 bool mEUTRABand35:1;
6876 bool mEUTRABand36:1;
6877 bool mEUTRABand37:1;
6878 bool mEUTRABand38:1;
6879 bool mEUTRABand39:1;
6880 bool mEUTRABand40:1;
6881 };
6882
6883 // Structure to describe request TLV 0x16 for NASSetSystemSelectionPref()
6884 struct sNASSetSystemSelectionPrefRequest_NetworkSelection
6885 {
6886 eQMINASNetworkSelection mNetworkSelection;
6887 UINT16 mMobileCountryCode;
6888 UINT16 mMobileNetworkCode;
6889 };
6890
6891 // Structure to describe request TLV 0x17 for NASSetSystemSelectionPref()
6892 struct sNASSetSystemSelectionPrefRequest_ChangeDuration
6893 {
6894 eQMINASChangeDuration mChangeDuration;
6895 };
6896
6897 // Structure to describe request TLV 0x1A for NASSetSystemSelectionPref()
6898 struct sNASSetSystemSelectionPrefRequest_PCSInfo
6899 {
6900 INT8 mMNCIncludesPCSDigit;
6901 };
6902
6903 // Structure to describe request TLV 0x1B for NASSetSystemSelectionPref()
6904 struct sNASSetSystemSelectionPrefRequest_Domain
6905 {
6906 eQMINASServiceDomainPrefs mServiceDomainPreference;
6907 };
6908
6909 // Structure to describe request TLV 0x1C for NASSetSystemSelectionPref()
6910 struct sNASSetSystemSelectionPrefRequest_Acquisition
6911 {
6912 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
6913 };
6914
6915 // Structure to describe response TLV 0x10 for NASGetSystemSelectionPref()
6916 struct sNASGetSystemSelectionPrefResponse_EmergencyMode
6917 {
6918 INT8 mEmergencyModeOn;
6919 };
6920
6921 // Structure to describe response TLV 0x11 for NASGetSystemSelectionPref()
6922 struct sNASGetSystemSelectionPrefResponse_Mode
6923 {
6924 bool mCDMA1x:1;
6925 bool mCDMA1xEVDO:1;
6926 bool mGSM:1;
6927 bool mUMTS:1;
6928 bool mLTE:1;
6929
6930 // Padding out 11 bits
6931 UINT8 mReserved1:3;
6932 UINT8 mReserved2;
6933 };
6934
6935 // Structure to describe response TLV 0x12 for NASGetSystemSelectionPref()
6936 struct sNASGetSystemSelectionPrefResponse_Band
6937 {
6938 bool mBandClass0ASystem:1;
6939 bool mBandClass0BSystem:1;
6940 bool mBandClass1:1;
6941 bool mBandClass2:1;
6942 bool mBandClass3ASystem:1;
6943 bool mBandClass4:1;
6944 bool mBandClass5:1;
6945 bool mGSMDCS:1;
6946 bool mGSMPrimary:1;
6947 bool mGSMExtended:1;
6948 bool mBandClass6:1;
6949 bool mBandClass7:1;
6950 bool mBandClass8:1;
6951 bool mBandClass9:1;
6952 bool mBandClass10:1;
6953 bool mBandClass11:1;
6954 bool mGSM450:1;
6955 bool mGSM480:1;
6956 bool mGSM750:1;
6957 bool mGSM850:1;
6958 bool mGSMRailways:1;
6959 bool mGSMPCS:1;
6960 bool mWCDMA2100I:1;
6961 bool mWCDMAPCS1900:1;
6962 bool mWCDMADCS1800:1;
6963 bool mWCDMA1700US:1;
6964 bool mWCDMA850:1;
6965 bool mWCDMA800:1;
6966 bool mBandClass12:1;
6967 bool mBandClass14:1;
6968
6969 // Padding out 1 bits
6970 UINT8 mReserved1:1;
6971
6972 bool mBandClass15:1;
6973
6974 // Padding out 16 bits
6975 UINT8 mReserved2[2];
6976
6977 bool mWCDMA2600:1;
6978 bool mWCDMA900:1;
6979 bool mWCDMA1700Japan:1;
6980
6981 // Padding out 5 bits
6982 UINT8 mReserved3:5;
6983
6984 bool mBandClass16:1;
6985 bool mBandClass17:1;
6986 bool mBandClass18:1;
6987 bool mBandClass19:1;
6988
6989 // Padding out 4 bits
6990 UINT8 mReserved4:4;
6991 };
6992
6993 // Structure to describe response TLV 0x13 for NASGetSystemSelectionPref()
6994 struct sNASGetSystemSelectionPrefResponse_PRL
6995 {
6996 eQMINASPRLPreferences mPRLPreference;
6997 };
6998
6999 // Structure to describe response TLV 0x14 for NASGetSystemSelectionPref()
7000 struct sNASGetSystemSelectionPrefResponse_Roaming
7001 {
7002 eQMINASRoamingPreferences2 mRoamingPreference;
7003 };
7004
7005 // Structure to describe response TLV 0x15 for NASGetSystemSelectionPref()
7006 struct sNASGetSystemSelectionPrefResponse_LTEBand
7007 {
7008 bool mEUTRABand1:1;
7009 bool mEUTRABand2:1;
7010 bool mEUTRABand3:1;
7011 bool mEUTRABand4:1;
7012 bool mEUTRABand5:1;
7013 bool mEUTRABand6:1;
7014 bool mEUTRABand7:1;
7015 bool mEUTRABand8:1;
7016 bool mEUTRABand9:1;
7017 bool mEUTRABand10:1;
7018 bool mEUTRABand11:1;
7019 bool mEUTRABand12:1;
7020 bool mEUTRABand13:1;
7021 bool mEUTRABand14:1;
7022
7023 // Padding out 2 bits
7024 UINT8 mReserved1:2;
7025
7026 bool mEUTRABand17:1;
7027 bool mEUTRABand18:1;
7028 bool mEUTRABand19:1;
7029 bool mEUTRABand20:1;
7030 bool mEUTRABand21:1;
7031
7032 // Padding out 11 bits
7033 UINT8 mReserved2:3;
7034 UINT8 mReserved3;
7035
7036 bool mEUTRABand33:1;
7037 bool mEUTRABand34:1;
7038 bool mEUTRABand35:1;
7039 bool mEUTRABand36:1;
7040 bool mEUTRABand37:1;
7041 bool mEUTRABand38:1;
7042 bool mEUTRABand39:1;
7043 bool mEUTRABand40:1;
7044 };
7045
7046 // Structure to describe response TLV 0x16 for NASGetSystemSelectionPref()
7047 struct sNASGetSystemSelectionPrefResponse_NetworkSelection
7048 {
7049 eQMINASNetworkSelection mNetworkSelection;
7050 };
7051
7052 // Structure to describe response TLV 0x18 for NASGetSystemSelectionPref()
7053 struct sNASGetSystemSelectionPrefResponse_Domain
7054 {
7055 eQMINASServiceDomainPrefs mServiceDomainPreference;
7056 };
7057
7058 // Structure to describe response TLV 0x19 for NASGetSystemSelectionPref()
7059 struct sNASGetSystemSelectionPrefResponse_Acquisition
7060 {
7061 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
7062 };
7063
7064 // Structure to describe indication TLV 0x10 for NAS SystemSelectionPrefIndication
7065 struct sNASSystemSelectionPrefIndication_EmergencyMode
7066 {
7067 INT8 mEmergencyModeOn;
7068 };
7069
7070 // Structure to describe indication TLV 0x11 for NAS SystemSelectionPrefIndication
7071 struct sNASSystemSelectionPrefIndication_Mode
7072 {
7073 bool mCDMA1x:1;
7074 bool mCDMA1xEVDO:1;
7075 bool mGSM:1;
7076 bool mUMTS:1;
7077 bool mLTE:1;
7078
7079 // Padding out 11 bits
7080 UINT8 mReserved1:3;
7081 UINT8 mReserved2;
7082 };
7083
7084 // Structure to describe indication TLV 0x12 for NAS SystemSelectionPrefIndication
7085 struct sNASSystemSelectionPrefIndication_Band
7086 {
7087 bool mBandClass0ASystem:1;
7088 bool mBandClass0BSystem:1;
7089 bool mBandClass1:1;
7090 bool mBandClass2:1;
7091 bool mBandClass3ASystem:1;
7092 bool mBandClass4:1;
7093 bool mBandClass5:1;
7094 bool mGSMDCS:1;
7095 bool mGSMPrimary:1;
7096 bool mGSMExtended:1;
7097 bool mBandClass6:1;
7098 bool mBandClass7:1;
7099 bool mBandClass8:1;
7100 bool mBandClass9:1;
7101 bool mBandClass10:1;
7102 bool mBandClass11:1;
7103 bool mGSM450:1;
7104 bool mGSM480:1;
7105 bool mGSM750:1;
7106 bool mGSM850:1;
7107 bool mGSMRailways:1;
7108 bool mGSMPCS:1;
7109 bool mWCDMA2100I:1;
7110 bool mWCDMAPCS1900:1;
7111 bool mWCDMADCS1800:1;
7112 bool mWCDMA1700US:1;
7113 bool mWCDMA850:1;
7114 bool mWCDMA800:1;
7115 bool mBandClass12:1;
7116 bool mBandClass14:1;
7117
7118 // Padding out 1 bits
7119 UINT8 mReserved1:1;
7120
7121 bool mBandClass15:1;
7122
7123 // Padding out 16 bits
7124 UINT8 mReserved2[2];
7125
7126 bool mWCDMA2600:1;
7127 bool mWCDMA900:1;
7128 bool mWCDMA1700Japan:1;
7129
7130 // Padding out 5 bits
7131 UINT8 mReserved3:5;
7132
7133 bool mBandClass16:1;
7134 bool mBandClass17:1;
7135 bool mBandClass18:1;
7136 bool mBandClass19:1;
7137
7138 // Padding out 4 bits
7139 UINT8 mReserved4:4;
7140 };
7141
7142 // Structure to describe indication TLV 0x13 for NAS SystemSelectionPrefIndication
7143 struct sNASSystemSelectionPrefIndication_PRL
7144 {
7145 eQMINASPRLPreferences mPRLPreference;
7146 };
7147
7148 // Structure to describe indication TLV 0x14 for NAS SystemSelectionPrefIndication
7149 struct sNASSystemSelectionPrefIndication_Roaming
7150 {
7151 eQMINASRoamingPreferences2 mRoamingPreference;
7152 };
7153
7154 // Structure to describe indication TLV 0x15 for NAS SystemSelectionPrefIndication
7155 struct sNASSystemSelectionPrefIndication_LTEBand
7156 {
7157 bool mEUTRABand1:1;
7158 bool mEUTRABand2:1;
7159 bool mEUTRABand3:1;
7160 bool mEUTRABand4:1;
7161 bool mEUTRABand5:1;
7162 bool mEUTRABand6:1;
7163 bool mEUTRABand7:1;
7164 bool mEUTRABand8:1;
7165 bool mEUTRABand9:1;
7166 bool mEUTRABand10:1;
7167 bool mEUTRABand11:1;
7168 bool mEUTRABand12:1;
7169 bool mEUTRABand13:1;
7170 bool mEUTRABand14:1;
7171
7172 // Padding out 2 bits
7173 UINT8 mReserved1:2;
7174
7175 bool mEUTRABand17:1;
7176 bool mEUTRABand18:1;
7177 bool mEUTRABand19:1;
7178 bool mEUTRABand20:1;
7179 bool mEUTRABand21:1;
7180
7181 // Padding out 11 bits
7182 UINT8 mReserved2:3;
7183 UINT8 mReserved3;
7184
7185 bool mEUTRABand33:1;
7186 bool mEUTRABand34:1;
7187 bool mEUTRABand35:1;
7188 bool mEUTRABand36:1;
7189 bool mEUTRABand37:1;
7190 bool mEUTRABand38:1;
7191 bool mEUTRABand39:1;
7192 bool mEUTRABand40:1;
7193 };
7194
7195 // Structure to describe indication TLV 0x16 for NAS SystemSelectionPrefIndication
7196 struct sNASSystemSelectionPrefIndication_NetworkSelection
7197 {
7198 eQMINASNetworkSelection mNetworkSelection;
7199 };
7200
7201 // Structure to describe indication TLV 0x18 for NAS SystemSelectionPrefIndication
7202 struct sNASSystemSelectionPrefIndication_Domain
7203 {
7204 eQMINASServiceDomainPrefs mServiceDomainPreference;
7205 };
7206
7207 // Structure to describe indication TLV 0x19 for NAS SystemSelectionPrefIndication
7208 struct sNASSystemSelectionPrefIndication_Acquisition
7209 {
7210 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
7211 };
7212
7213 // Structure to describe request TLV 0x01 for NASSetDDTMPreference()
7214 struct sNASSetDDTMPreferenceRequest_DDTM
7215 {
7216 eQMINASDDTMPreferences mDDTMPreference;
7217 bool mSuppressL2ACK:1;
7218 bool mSuppress1xRegistrations:1;
7219 bool mIgnoreServiceOptionPages:1;
7220 bool mBlockMobileOriginatedSMSAndDBM:1;
7221
7222 // Padding out 12 bits
7223 UINT8 mReserved1:4;
7224 UINT8 mReserved2;
7225
7226 eQMINASServiceOptionActions mServiceOptionAction;
7227 UINT8 mNumberOfInstances;
7228
7229 // This array must be the size specified by mNumberOfInstances
7230 // UINT16 mServiceOption[1];
7231 };
7232
7233 // Structure to describe response TLV 0x01 for NASGetDDTMPreference()
7234 struct sNASGetDDTMPreferenceResponse_DDTM
7235 {
7236 eQMINASDDTMPreferences mDDTMPreference;
7237 bool mSuppressL2ACK:1;
7238 bool mSuppress1xRegistrations:1;
7239 bool mIgnoreServiceOptionPages:1;
7240 bool mBlockMobileOriginatedSMSAndDBM:1;
7241
7242 // Padding out 12 bits
7243 UINT8 mReserved1:4;
7244 UINT8 mReserved2;
7245
7246 eQMINASServiceOptionActions mServiceOptionAction;
7247 UINT8 mNumberOfInstances;
7248
7249 // This array must be the size specified by mNumberOfInstances
7250 // UINT16 mServiceOption[1];
7251 };
7252
7253 // Structure to describe indication TLV 0x01 for NAS DDTMPreferenceIndication
7254 struct sNASDDTMPreferenceIndication_DDTM
7255 {
7256 eQMINASDDTMPreferences mDDTMPreference;
7257 bool mSuppressL2ACK:1;
7258 bool mSuppress1xRegistrations:1;
7259 bool mIgnoreServiceOptionPages:1;
7260 bool mBlockMobileOriginatedSMSAndDBM:1;
7261
7262 // Padding out 12 bits
7263 UINT8 mReserved1:4;
7264 UINT8 mReserved2;
7265
7266 eQMINASServiceOptionActions mServiceOptionAction;
7267 UINT8 mNumberOfInstances;
7268
7269 // This array must be the size specified by mNumberOfInstances
7270 // UINT16 mServiceOption[1];
7271 };
7272
7273 // Structure to describe response TLV 0x10 for NASGetOperatorNameData()
7274 struct sNASGetOperatorNameDataResponse_ServiceProviderName
7275 {
7276 UINT8 mDisplayCondition;
7277 UINT8 mSPNLength;
7278
7279 // This array must be the size specified by mSPNLength
7280 // UINT8 mSPN[1];
7281 };
7282
7283 // Structure to describe response TLV 0x11 for NASGetOperatorNameData()
7284 struct sNASGetOperatorNameDataResponse_OperatorPLMNList
7285 {
7286 UINT16 mPLMNListLength;
7287
7288 struct sPLNM
7289 {
7290 char mMobileCountryCode[3];
7291 char mMobileNetworkCode[3];
7292 UINT16 mLocationAreaCode1;
7293 UINT16 mLocationAreaCode2;
7294 UINT8 mPLMNNameRecordIdentifier;
7295 };
7296
7297 // This array must be the size specified by mPLMNListLength
7298 // sPLNM mPLNMs[1];
7299 };
7300
7301 // Structure to describe response TLV 0x12 for NASGetOperatorNameData()
7302 struct sNASGetOperatorNameDataResponse_PLMNName
7303 {
7304 UINT8 mPLMNCount;
7305
7306 struct sPLMNName1
7307 {
7308 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
7309 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
7310 eQMINASPLMNNameSpareBits mPLMNLongBits;
7311 eQMINASPLMNNameSpareBits mPLMNSpareBits;
7312 UINT8 mPLMNLongLength;
7313
7314 // This array must be the size specified by mPLMNLongLength
7315 // UINT8 mPLMNLong[1];
7316 };
7317
7318 struct sPLMNName2
7319 {
7320 UINT8 mPLMNShortLength;
7321
7322 // This array must be the size specified by mPLMNShortLength
7323 // UINT8 mPLMNShort[1];
7324 };
7325
7326 struct sPLMNName
7327 {
7328 sPLMNName1 mPLMNName1;
7329 sPLMNName2 mPLMNName2;
7330 };
7331
7332 // This array must be the size specified by mPLMNCount
7333 // sPLMNName mPLMNNames[1];
7334 };
7335
7336 // Structure to describe response TLV 0x13 for NASGetOperatorNameData()
7337 struct sNASGetOperatorNameDataResponse_OperatorStringName
7338 {
7339 // String is variable length, but must be size of the container
7340 // char mPLMNOperatorName[1];
7341 };
7342
7343 // Structure to describe response TLV 0x14 for NASGetOperatorNameData()
7344 struct sNASGetOperatorNameDataResponse_NITZInformation1
7345 {
7346 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
7347 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
7348 eQMINASPLMNNameSpareBits mPLMNLongBits;
7349 eQMINASPLMNNameSpareBits mPLMNSpareBits;
7350 UINT8 mPLMNLongLength;
7351
7352 // This array must be the size specified by mPLMNLongLength
7353 // UINT8 mPLMNLong[1];
7354 };
7355
7356 struct sNASGetOperatorNameDataResponse_NITZInformation2
7357 {
7358 UINT8 mPLMNShortLength;
7359
7360 // This array must be the size specified by mPLMNShortLength
7361 // UINT8 mPLMNShort[1];
7362 };
7363
7364 struct sNASGetOperatorNameDataResponse_NITZInformation
7365 {
7366 sNASGetOperatorNameDataResponse_NITZInformation1 mNASGetOperatorNameDataResponse_NITZInformation1;
7367 sNASGetOperatorNameDataResponse_NITZInformation2 mNASGetOperatorNameDataResponse_NITZInformation2;
7368 };
7369
7370 // Structure to describe indication TLV 0x10 for NAS OperatorNameDataIndication
7371 struct sNASOperatorNameDataIndication_ServiceProviderName
7372 {
7373 UINT8 mDisplayCondition;
7374 UINT8 mSPNLength;
7375
7376 // This array must be the size specified by mSPNLength
7377 // UINT8 mSPN[1];
7378 };
7379
7380 // Structure to describe indication TLV 0x11 for NAS OperatorNameDataIndication
7381 struct sNASOperatorNameDataIndication_OperatorPLMNList
7382 {
7383 UINT16 mPLMNListLength;
7384
7385 struct sPLNM
7386 {
7387 char mMobileCountryCode[3];
7388 char mMobileNetworkCode[3];
7389 UINT16 mLocationAreaCode1;
7390 UINT16 mLocationAreaCode2;
7391 UINT8 mPLMNNameRecordIdentifier;
7392 };
7393
7394 // This array must be the size specified by mPLMNListLength
7395 // sPLNM mPLNMs[1];
7396 };
7397
7398 // Structure to describe indication TLV 0x12 for NAS OperatorNameDataIndication
7399 struct sNASOperatorNameDataIndication_PLMNName
7400 {
7401 UINT8 mPLMNCount;
7402
7403 struct sPLMNName1
7404 {
7405 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
7406 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
7407 eQMINASPLMNNameSpareBits mPLMNLongBits;
7408 eQMINASPLMNNameSpareBits mPLMNSpareBits;
7409 UINT8 mPLMNLongLength;
7410
7411 // This array must be the size specified by mPLMNLongLength
7412 // UINT8 mPLMNLong[1];
7413 };
7414
7415 struct sPLMNName2
7416 {
7417 UINT8 mPLMNShortLength;
7418
7419 // This array must be the size specified by mPLMNShortLength
7420 // UINT8 mPLMNShort[1];
7421 };
7422
7423 struct sPLMNName
7424 {
7425 sPLMNName1 mPLMNName1;
7426 sPLMNName2 mPLMNName2;
7427 };
7428
7429 // This array must be the size specified by mPLMNCount
7430 // sPLMNName mPLMNNames[1];
7431 };
7432
7433 // Structure to describe indication TLV 0x13 for NAS OperatorNameDataIndication
7434 struct sNASOperatorNameDataIndication_OperatorStringName
7435 {
7436 // String is variable length, but must be size of the container
7437 // char mPLMNOperatorName[1];
7438 };
7439
7440 // Structure to describe indication TLV 0x14 for NAS OperatorNameDataIndication
7441 struct sNASOperatorNameDataIndication_NITZInformation1
7442 {
7443 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
7444 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
7445 eQMINASPLMNNameSpareBits mPLMNLongBits;
7446 eQMINASPLMNNameSpareBits mPLMNSpareBits;
7447 UINT8 mPLMNLongLength;
7448
7449 // This array must be the size specified by mPLMNLongLength
7450 // UINT8 mPLMNLong[1];
7451 };
7452
7453 struct sNASOperatorNameDataIndication_NITZInformation2
7454 {
7455 UINT8 mPLMNShortLength;
7456
7457 // This array must be the size specified by mPLMNShortLength
7458 // UINT8 mPLMNShort[1];
7459 };
7460
7461 struct sNASOperatorNameDataIndication_NITZInformation
7462 {
7463 sNASOperatorNameDataIndication_NITZInformation1 mNASOperatorNameDataIndication_NITZInformation1;
7464 sNASOperatorNameDataIndication_NITZInformation2 mNASOperatorNameDataIndication_NITZInformation2;
7465 };
7466
7467 // Structure to describe response TLV 0x10 for NASGetCSPPLMNMode()
7468 struct sNASGetCSPPLMNModeResponse_Mode
7469 {
7470 INT8 mRestrictManualPLMNSelection;
7471 };
7472
7473 // Structure to describe indication TLV 0x10 for NAS CSPPLMNModeIndication
7474 struct sNASCSPPLMNModeIndication_Mode
7475 {
7476 INT8 mRestrictManualPLMNSelection;
7477 };
7478
7479 // Structure to describe request TLV 0x01 for NASUpdateAKEY()
7480 struct sNASUpdateAKEYRequest_AKEY
7481 {
7482 char mAKEY[26];
7483 };
7484
7485 // Structure to describe request TLV 0x01 for NASGet3GPP2SubscriptionInfo()
7486 struct sNASGet3GPP2SubscriptionInfoRequest_NAMID
7487 {
7488 UINT8 mNAMID;
7489 };
7490
7491 // Structure to describe response TLV 0x10 for NASGet3GPP2SubscriptionInfo()
7492 struct sNASGet3GPP2SubscriptionInfoResponse_NAMName
7493 {
7494 UINT8 mNAMNameLength;
7495
7496 // This array must be the size specified by mNAMNameLength
7497 // char mNAMName[1];
7498 };
7499
7500 // Structure to describe response TLV 0x11 for NASGet3GPP2SubscriptionInfo()
7501 struct sNASGet3GPP2SubscriptionInfoResponse_DirectoryNumber
7502 {
7503 UINT8 mDirectoryNumberLength;
7504
7505 // This array must be the size specified by mDirectoryNumberLength
7506 // char mDirectoryNumber[1];
7507 };
7508
7509 // Structure to describe response TLV 0x12 for NASGet3GPP2SubscriptionInfo()
7510 struct sNASGet3GPP2SubscriptionInfoResponse_HomeID
7511 {
7512 UINT8 mHomeIDCount;
7513
7514 struct sHomeID
7515 {
7516 UINT16 mSystemID;
7517 UINT16 mNetworkID;
7518 };
7519
7520 // This array must be the size specified by mHomeIDCount
7521 // sHomeID mHomeIDs[1];
7522 };
7523
7524 // Structure to describe response TLV 0x13 for NASGet3GPP2SubscriptionInfo()
7525 struct sNASGet3GPP2SubscriptionInfoResponse_MINBasedIMSI
7526 {
7527 char mMobileCountryCode[3];
7528 char mIMSI11_12[2];
7529 char mIMSIS1[7];
7530 char mIMSIS2[3];
7531 UINT8 mIMSIAddressNumber;
7532 };
7533
7534 // Structure to describe response TLV 0x14 for NASGet3GPP2SubscriptionInfo()
7535 struct sNASGet3GPP2SubscriptionInfoResponse_TrueIMSI
7536 {
7537 char mMobileCountryCode[3];
7538 char mIMSI11_12[2];
7539 char mIMSIS1[7];
7540 char mIMSIS2[3];
7541 UINT8 mIMSIAddressNumber;
7542 };
7543
7544 // Structure to describe response TLV 0x15 for NASGet3GPP2SubscriptionInfo()
7545 struct sNASGet3GPP2SubscriptionInfoResponse_CDMAChannel
7546 {
7547 UINT16 mAChannelForPrimaryCarrier;
7548 UINT16 mBChannelForPrimaryCarrier;
7549 UINT16 mAChannelForSecondaryCarrier;
7550 UINT16 mBChannelForSecondaryCarrier;
7551 };
7552
7553 // Structure to describe request TLV 0x01 for NASSet3GPP2SubscriptionInfo()
7554 struct sNASSet3GPP2SubscriptionInfoRequest_NAMID
7555 {
7556 UINT8 mNAMID;
7557 };
7558
7559 // Structure to describe request TLV 0x10 for NASSet3GPP2SubscriptionInfo()
7560 struct sNASSet3GPP2SubscriptionInfoRequest_DirectoryNumber
7561 {
7562 UINT8 mDirectoryNumberLength;
7563
7564 // This array must be the size specified by mDirectoryNumberLength
7565 // char mDirectoryNumber[1];
7566 };
7567
7568 // Structure to describe request TLV 0x11 for NASSet3GPP2SubscriptionInfo()
7569 struct sNASSet3GPP2SubscriptionInfoRequest_HomeID
7570 {
7571 UINT8 mHomeIDCount;
7572
7573 struct sHomeID
7574 {
7575 UINT16 mSystemID;
7576 UINT16 mNetworkID;
7577 };
7578
7579 // This array must be the size specified by mHomeIDCount
7580 // sHomeID mHomeIDs[1];
7581 };
7582
7583 // Structure to describe request TLV 0x12 for NASSet3GPP2SubscriptionInfo()
7584 struct sNASSet3GPP2SubscriptionInfoRequest_MINBasedIMSI
7585 {
7586 char mMobileCountryCode[3];
7587 char mIMSI11_12[2];
7588 char mIMSIS1[7];
7589 char mIMSIS2[3];
7590 UINT8 mIMSIAddressNumber;
7591 };
7592
7593 // Structure to describe request TLV 0x13 for NASSet3GPP2SubscriptionInfo()
7594 struct sNASSet3GPP2SubscriptionInfoRequest_TrueIMSI
7595 {
7596 char mMobileCountryCode[3];
7597 char mIMSI11_12[2];
7598 char mIMSIS1[7];
7599 char mIMSIS2[3];
7600 UINT8 mIMSIAddressNumber;
7601 };
7602
7603 // Structure to describe request TLV 0x14 for NASSet3GPP2SubscriptionInfo()
7604 struct sNASSet3GPP2SubscriptionInfoRequest_CDMAChannel
7605 {
7606 UINT16 mAChannelForPrimaryCarrier;
7607 UINT16 mBChannelForPrimaryCarrier;
7608 UINT16 mAChannelForSecondaryCarrier;
7609 UINT16 mBChannelForSecondaryCarrier;
7610 };
7611
7612 // Structure to describe request TLV 0x15 for NASSet3GPP2SubscriptionInfo()
7613 struct sNASSet3GPP2SubscriptionInfoRequest_NAMName
7614 {
7615 UINT8 mNAMNameLength;
7616
7617 // This array must be the size specified by mNAMNameLength
7618 // char mNAMName[1];
7619 };
7620
7621 // Structure to describe response TLV 0x10 for NASGetMobileCAIRevision()
7622 struct sNASGetMobileCAIRevisionResponse_CAIRevision
7623 {
7624 eQMINASRevision mCAIRevision;
7625 };
7626
7627 // Structure to describe response TLV 0x10 for NASGetRTREConfig()
7628 struct sNASGetRTREConfigResponse_CurrentRTREConfig
7629 {
7630 eQMINASRTREConfiguration mRTREConfiguration;
7631 };
7632
7633 // Structure to describe response TLV 0x11 for NASGetRTREConfig()
7634 struct sNASGetRTREConfigResponse_RTREConfigPreference
7635 {
7636 eQMINASRTREConfiguration mRTREConfiguration;
7637 };
7638
7639 // Structure to describe request TLV 0x01 for NASSetRTREConfig()
7640 struct sNASSetRTREConfigRequest_RTREConfig
7641 {
7642 eQMINASRTREConfiguration mRTREConfiguration;
7643 };
7644
7645 // Structure to describe response TLV 0x10 for NASGetCellLocationInfo()
7646 struct sNASGetCellLocationInfoResponse_GERANInfo
7647 {
7648 UINT32 mCellID;
7649
7650 // Bitfield arrays are not possible in c, unrolling the array
7651 UINT8 mMobileCountryCode0:4;
7652 UINT8 mMobileCountryCode1:4;
7653 UINT8 mMobileCountryCode2:4;
7654
7655 // Bitfield arrays are not possible in c, unrolling the array
7656 UINT8 mMobileNetworkCode0:4;
7657 UINT8 mMobileNetworkCode1:4;
7658 UINT8 mMobileNetworkCode2:4;
7659
7660 UINT16 mLocationAreaCode;
7661 UINT16 mUTRAAbsoluteRFChannelNumber;
7662 UINT8 mBCC:3;
7663 UINT8 mNCC:3;
7664
7665 // Padding out 2 bits
7666 UINT8 mReserved1:2;
7667
7668 UINT32 mTimingAdvance;
7669 eQMINASRXLevel mRXLevel;
7670 UINT8 mNMRCellCount;
7671
7672 struct sNMRCell
7673 {
7674 UINT32 mCellID;
7675
7676 // Bitfield arrays are not possible in c, unrolling the array
7677 UINT8 mPLMNMobileCountryCode0:4;
7678 UINT8 mPLMNMobileCountryCode1:4;
7679 UINT8 mPLMNMobileCountryCode2:4;
7680
7681 // Bitfield arrays are not possible in c, unrolling the array
7682 UINT8 mPLMNMobileNetworkCode0:4;
7683 UINT8 mPLMNMobileNetworkCode1:4;
7684 UINT8 mPLMNMobileNetworkCode2:4;
7685
7686 UINT16 mLocationAreaCode;
7687 UINT16 mUTRAAbsoluteRFChannelNumber;
7688 UINT8 mBaseStationIdentityCodeBCC:3;
7689 UINT8 mBaseStationIdentityCodeNCC:3;
7690
7691 // Padding out 2 bits
7692 UINT8 mReserved2:2;
7693
7694 eQMINASRXLevel mRXLevel;
7695 };
7696
7697 // This array must be the size specified by mNMRCellCount
7698 // sNMRCell mNMRCells[1];
7699 };
7700
7701 // Structure to describe response TLV 0x11 for NASGetCellLocationInfo()
7702 struct sNASGetCellLocationInfoResponse_UMTSInfo1
7703 {
7704 UINT32 mCellID;
7705
7706 // Bitfield arrays are not possible in c, unrolling the array
7707 UINT8 mMobileCountryCode0:4;
7708 UINT8 mMobileCountryCode1:4;
7709 UINT8 mMobileCountryCode2:4;
7710
7711 // Bitfield arrays are not possible in c, unrolling the array
7712 UINT8 mMobileNetworkCode0:4;
7713 UINT8 mMobileNetworkCode1:4;
7714 UINT8 mMobileNetworkCode2:4;
7715
7716 UINT16 mLocationAreaCode;
7717 UINT16 mUTRAAbsoluteRFChannelNumber;
7718 UINT16 mPrimaryScramblingCode;
7719 INT16 mReceivedSignalCodePower;
7720 INT16 mECIO;
7721 UINT8 mUTRAUMTSMonitoredCellCount;
7722
7723 struct sUMTSMonitoredCell
7724 {
7725 UINT16 mUTRAAbsoluteRFChannelNumber;
7726 UINT16 mPrimaryScramblingCode;
7727 INT16 mReceivedSignalCodePower;
7728 INT16 mECIO;
7729 };
7730
7731 // This array must be the size specified by mUTRAUMTSMonitoredCellCount
7732 // sUMTSMonitoredCell mUMTSMonitoredCells[1];
7733 };
7734
7735 struct sNASGetCellLocationInfoResponse_UMTSInfo2
7736 {
7737 UINT8 mGERANNBRCellCount;
7738
7739 struct sGERANNBRCell
7740 {
7741 UINT16 mAbsoluteRFChannelNumber;
7742 UINT8 mNetworkColorCode;
7743 UINT8 mBaseStationColorCode;
7744 INT16 mRSSI;
7745 };
7746
7747 // This array must be the size specified by mGERANNBRCellCount
7748 // sGERANNBRCell mGERANNBRCells[1];
7749 };
7750
7751 struct sNASGetCellLocationInfoResponse_UMTSInfo
7752 {
7753 sNASGetCellLocationInfoResponse_UMTSInfo1 mNASGetCellLocationInfoResponse_UMTSInfo1;
7754 sNASGetCellLocationInfoResponse_UMTSInfo2 mNASGetCellLocationInfoResponse_UMTSInfo2;
7755 };
7756
7757 // Structure to describe response TLV 0x12 for NASGetCellLocationInfo()
7758 struct sNASGetCellLocationInfoResponse_CDMAInfo
7759 {
7760 UINT16 mSystemID;
7761 UINT16 mNetworkID;
7762 UINT16 mBaseStationID;
7763 UINT16 mReferencePN;
7764 UINT32 mLatitude;
7765 UINT32 mLongitude;
7766 };
7767
7768 // Structure to describe response TLV 0x13 for NASGetCellLocationInfo()
7769 struct sNASGetCellLocationInfoResponse_IntrafrequencyLTEInfo
7770 {
7771 INT8 mUEInIdleMode;
7772
7773 // Bitfield arrays are not possible in c, unrolling the array
7774 UINT8 mMobileCountryCode0:4;
7775 UINT8 mMobileCountryCode1:4;
7776 UINT8 mMobileCountryCode2:4;
7777
7778 // Bitfield arrays are not possible in c, unrolling the array
7779 UINT8 mMobileNetworkCode0:4;
7780 UINT8 mMobileNetworkCode1:4;
7781 UINT8 mMobileNetworkCode2:4;
7782
7783 UINT16 mTrackingAreaCode;
7784 UINT32 mGlobalCellID;
7785 UINT16 mEUTRAAbsoluteRFChannelNumber;
7786 UINT16 mServingCellID;
7787 UINT8 mCellReselectionPriority;
7788 UINT8 mSNonIntraSearchThreshold;
7789 UINT8 mServingCellLowThreshold;
7790 UINT8 mSIntraSearchThreshold;
7791 UINT8 mCellCount;
7792
7793 struct sCell
7794 {
7795 UINT16 mPhysicalCellID;
7796 INT16 mRSRQ;
7797 INT16 mRSRP;
7798 INT16 mRSSI;
7799 INT16 mCellSelectionRXLevel;
7800 };
7801
7802 // This array must be the size specified by mCellCount
7803 // sCell mCells[1];
7804 };
7805
7806 // Structure to describe response TLV 0x14 for NASGetCellLocationInfo()
7807 struct sNASGetCellLocationInfoResponse_InterfrequencyLTEInfo
7808 {
7809 INT8 mUEInIdleMode;
7810 UINT8 mFrequencyCount;
7811
7812 struct sFrequency
7813 {
7814 UINT16 mEUTRAAbsoluteRFChannelNumber;
7815 UINT8 mCellSelectionRXLevelLowThreshold;
7816 UINT8 mCellSelectionRXLevelHighThreshold;
7817 UINT8 mCellReselectionPriority;
7818 UINT8 mCellCount;
7819
7820 struct sCell
7821 {
7822 UINT16 mPhysicalCellID;
7823 INT16 mRSRQ;
7824 INT16 mRSRP;
7825 INT16 mRSSI;
7826 INT16 mCellSelectionRXLevel;
7827 };
7828
7829 // This array must be the size specified by mCellCount
7830 // sCell mCells[1];
7831 };
7832
7833 // This array must be the size specified by mFrequencyCount
7834 // sFrequency mFrequencys[1];
7835 };
7836
7837 // Structure to describe response TLV 0x15 for NASGetCellLocationInfo()
7838 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringGSM
7839 {
7840 INT8 mUEInIdleMode;
7841 UINT8 mFrequencyCount;
7842
7843 struct sFrequency
7844 {
7845 UINT8 mCellReselectionPriority;
7846 UINT8 mCellReselectionHighThreshold;
7847 UINT8 mCellReselectionLowThreshold;
7848
7849 // Bitfield arrays are not possible in c, unrolling the array
7850 bool mNCCPermitted0:1;
7851 bool mNCCPermitted1:1;
7852 bool mNCCPermitted2:1;
7853 bool mNCCPermitted3:1;
7854 bool mNCCPermitted4:1;
7855 bool mNCCPermitted5:1;
7856 bool mNCCPermitted6:1;
7857 bool mNCCPermitted7:1;
7858
7859 UINT8 mCellCount;
7860
7861 struct sCell
7862 {
7863 UINT16 mAbsoluteRFChannelNumber;
7864 INT8 mBandIs1900;
7865 INT8 mCellIDValid;
7866 UINT8 mBCC:3;
7867 UINT8 mNCC:3;
7868
7869 // Padding out 2 bits
7870 UINT8 mReserved1:2;
7871
7872 INT16 mRSSI;
7873 INT16 mCellSelectionRXLevel;
7874 };
7875
7876 // This array must be the size specified by mCellCount
7877 // sCell mCells[1];
7878 };
7879
7880 // This array must be the size specified by mFrequencyCount
7881 // sFrequency mFrequencys[1];
7882 };
7883
7884 // Structure to describe response TLV 0x16 for NASGetCellLocationInfo()
7885 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringWCDMA
7886 {
7887 INT8 mUEInIdleMode;
7888 UINT8 mFrequencyCount;
7889
7890 struct sFrequency
7891 {
7892 UINT16 mUTRAAbsoluteRFChannelNumber;
7893 UINT8 mCellReselectionPriority;
7894 UINT8 mCellReselectionHighThreshold;
7895 UINT8 mCellReselectionLowThreshold;
7896 UINT8 mCellCount;
7897
7898 struct sCell
7899 {
7900 UINT16 mPrimaryScramblingCode;
7901 INT16 mCPICHRSCP;
7902 INT16 mCPICHEcNo;
7903 INT16 mCellSelectionRXLevel;
7904 };
7905
7906 // This array must be the size specified by mCellCount
7907 // sCell mCells[1];
7908 };
7909
7910 // This array must be the size specified by mFrequencyCount
7911 // sFrequency mFrequencys[1];
7912 };
7913
7914 // Structure to describe request TLV 0x01 for NASGetPLMNName()
7915 struct sNASGetPLMNNameRequest_PLMN
7916 {
7917 UINT16 mMobileCountryCode;
7918 UINT16 mMobileNetworkCode;
7919 };
7920
7921 // Structure to describe response TLV 0x10 for NASGetPLMNName()
7922 struct sNASGetPLMNNameResponse_Name1
7923 {
7924 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
7925 UINT8 mSPNLength;
7926
7927 // This array must be the size specified by mSPNLength
7928 // UINT8 mSPN[1];
7929 };
7930
7931 struct sNASGetPLMNNameResponse_Name2
7932 {
7933 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
7934 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
7935 eQMINASPLMNNameSpareBits mPLMNSpareBits;
7936 UINT8 mPLMNShortLength;
7937
7938 // This array must be the size specified by mPLMNShortLength
7939 // UINT8 mPLMNShort[1];
7940 };
7941
7942 struct sNASGetPLMNNameResponse_Name3
7943 {
7944 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
7945 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
7946 eQMINASPLMNNameSpareBits mPLMNLongBits;
7947 UINT8 mPLMNLongLength;
7948
7949 // This array must be the size specified by mPLMNLongLength
7950 // UINT8 mPLMNLong[1];
7951 };
7952
7953 struct sNASGetPLMNNameResponse_Name
7954 {
7955 sNASGetPLMNNameResponse_Name1 mNASGetPLMNNameResponse_Name1;
7956 sNASGetPLMNNameResponse_Name2 mNASGetPLMNNameResponse_Name2;
7957 sNASGetPLMNNameResponse_Name3 mNASGetPLMNNameResponse_Name3;
7958 };
7959
7960 // Structure to describe request TLV 0x01 for NASBindSubscription()
7961 struct sNASBindSubscriptionRequest_SubscriptionType
7962 {
7963 eQMINASSubscriptionType mSubscriptionType;
7964 };
7965
7966 // Structure to describe indication TLV 0x10 for NAS DualStandbyPrefIndication
7967 struct sNASDualStandbyPrefIndication_StandbyPreference
7968 {
7969 eQMINASStandbyPreference mStandbyPreference;
7970 eQMINASSubscriptionType mPrioritySubscription;
7971 eQMINASSubscriptionType mActiveSubscription;
7972 eQMINASSubscriptionType mDefaultDataSubscription;
7973 };
7974
7975 // Structure to describe indication TLV 0x10 for NAS SubscriptionInfoIndication
7976 struct sNASSubscriptionInfoIndication_PrioritySubscriptionInfo
7977 {
7978 eQMINASSubscriptionType mSubscriptionType;
7979 };
7980
7981 // Structure to describe indication TLV 0x11 for NAS SubscriptionInfoIndication
7982 struct sNASSubscriptionInfoIndication_ActiveSubscriptionInfo
7983 {
7984 eQMINASActiveSubscription mActiveSubscription;
7985 };
7986
7987 // Structure to describe indication TLV 0x12 for NAS SubscriptionInfoIndication
7988 struct sNASSubscriptionInfoIndication_DefaultDataSubscriptionInfo
7989 {
7990 INT8 mDefaultDataSubscription;
7991 };
7992
7993 // Structure to describe response TLV 0x10 for NASGetModePref()
7994 struct sNASGetModePrefResponse_ModePreferenceForIDX0
7995 {
7996 bool mCDMA1x:1;
7997 bool mCDMA1xEVDO:1;
7998 bool mGSM:1;
7999 bool mUMTS:1;
8000 bool mLTE:1;
8001
8002 // Padding out 11 bits
8003 UINT8 mReserved1:3;
8004 UINT8 mReserved2;
8005 };
8006
8007 // Structure to describe response TLV 0x11 for NASGetModePref()
8008 struct sNASGetModePrefResponse_ModePreferenceForIDX1
8009 {
8010 bool mCDMA1x:1;
8011 bool mCDMA1xEVDO:1;
8012 bool mGSM:1;
8013 bool mUMTS:1;
8014 bool mLTE:1;
8015
8016 // Padding out 11 bits
8017 UINT8 mReserved1:3;
8018 UINT8 mReserved2;
8019 };
8020
8021 // Structure to describe request TLV 0x10 for NASSetDualStandbyPreference()
8022 struct sNASSetDualStandbyPreferenceRequest_StandbyPreference
8023 {
8024 eQMINASStandbyPreference mStandbyPreference;
8025 };
8026
8027 // Structure to describe request TLV 0x11 for NASSetDualStandbyPreference()
8028 struct sNASSetDualStandbyPreferenceRequest_PrioritySubs
8029 {
8030 eQMINASSubscriptionType mSubscriptionType;
8031 };
8032
8033 // Structure to describe request TLV 0x12 for NASSetDualStandbyPreference()
8034 struct sNASSetDualStandbyPreferenceRequest_DefaultDataSubs
8035 {
8036 eQMINASSubscriptionType mSubscriptionType;
8037 };
8038
8039 // Structure to describe indication TLV 0x01 for NAS NetworkTimeIndication
8040 struct sNASNetworkTimeIndication_UniversalTime
8041 {
8042 UINT16 mYear;
8043 UINT8 mMonth;
8044 UINT8 mDay;
8045 UINT8 mHour;
8046 UINT8 mMinute;
8047 UINT8 mSecond;
8048 eQMINASDayOfWeek mDayOfWeek;
8049 };
8050
8051 // Structure to describe indication TLV 0x10 for NAS NetworkTimeIndication
8052 struct sNASNetworkTimeIndication_TimeZone
8053 {
8054 INT8 mTimeZoneOffset;
8055 };
8056
8057 // Structure to describe indication TLV 0x11 for NAS NetworkTimeIndication
8058 struct sNASNetworkTimeIndication_DaylightSavingAdjustment
8059 {
8060 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
8061 };
8062
8063 // Structure to describe response TLV 0x10 for NASGetSystemInfo()
8064 struct sNASGetSystemInfoResponse_CDMAServiceStatusInfo
8065 {
8066 eQMINASServiceStatus mServiceStatus;
8067 eQMINASPreferredDataBath mPreferredDataPath;
8068 };
8069
8070 // Structure to describe response TLV 0x11 for NASGetSystemInfo()
8071 struct sNASGetSystemInfoResponse_CDMA1xEVDOServiceStatusInfo
8072 {
8073 eQMINASServiceStatus mServiceStatus;
8074 eQMINASPreferredDataBath mPreferredDataPath;
8075 };
8076
8077 // Structure to describe response TLV 0x12 for NASGetSystemInfo()
8078 struct sNASGetSystemInfoResponse_GSMServiceStatusInfo
8079 {
8080 eQMINASServiceStatus mServiceStatus;
8081 eQMINASServiceStatus mTrueServiceStatus;
8082 eQMINASPreferredDataBath mPreferredDataPath;
8083 };
8084
8085 // Structure to describe response TLV 0x13 for NASGetSystemInfo()
8086 struct sNASGetSystemInfoResponse_WCDMAServiceStatusInfo
8087 {
8088 eQMINASServiceStatus mServiceStatus;
8089 eQMINASServiceStatus mTrueServiceStatus;
8090 eQMINASPreferredDataBath mPreferredDataPath;
8091 };
8092
8093 // Structure to describe response TLV 0x14 for NASGetSystemInfo()
8094 struct sNASGetSystemInfoResponse_LTEServiceStatusInfo
8095 {
8096 eQMINASServiceStatus mServiceStatus;
8097 eQMINASServiceStatus mTrueServiceStatus;
8098 eQMINASPreferredDataBath mPreferredDataPath;
8099 };
8100
8101 // Structure to describe response TLV 0x15 for NASGetSystemInfo()
8102 struct sNASGetSystemInfoResponse_CDMASystemInfo
8103 {
8104 INT8 mServiceDomainValid;
8105 eQMINASSystemServiceCapabilities mServiceDomain;
8106 INT8 mServiceCapabilityValid;
8107 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8108 INT8 mRoamStatusValid;
8109 eQMINASRoamStatus mRoamStatus;
8110 INT8 mSystemForbiddenValid;
8111 eQMINASSystemForbidden mSystemForbidden;
8112 INT8 mSystemPRLMatchValid;
8113 eQMINASPRLIndicator mSystemPRLMatch;
8114 INT8 mPRevInUseValid;
8115 eQMINASRevision mProtocolRevisionInUse;
8116 INT8 mBaseStationPRevValid;
8117 eQMINASRevision mBaseStationProtocolRevision;
8118 INT8 mConcurrentServiceSupportedValid;
8119 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
8120 INT8 mCDMASystemIDValid;
8121 UINT16 mSystemID;
8122 UINT16 mNetworkID;
8123 INT8 mBaseStationInfoValid;
8124 UINT16 mBaseStationID;
8125 UINT32 mLatitude;
8126 UINT32 mLongitude;
8127 INT8 mPacketZoneValid;
8128 UINT16 mPacketZone;
8129 INT8 mNetworkIDValid;
8130 char mMobileCountryCode[3];
8131 char mMobileNetworkCode[3];
8132 };
8133
8134 // Structure to describe response TLV 0x16 for NASGetSystemInfo()
8135 struct sNASGetSystemInfoResponse_CDMA1xEVDOSystemInfo
8136 {
8137 INT8 mServiceDomainValid;
8138 eQMINASSystemServiceCapabilities mServiceDomain;
8139 INT8 mServiceCapabilityValid;
8140 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8141 INT8 mRoamStatusValid;
8142 eQMINASRoamStatus mRoamStatus;
8143 INT8 mSystemForbiddenValid;
8144 eQMINASSystemForbidden mSystemForbidden;
8145 INT8 mSystemPRLMatchValid;
8146 eQMINASPRLIndicator mSystemPRLMatch;
8147 INT8 mCDMA1xEVDOPersonalityValid;
8148 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
8149 INT8 mCDMA1xEVDOActiveProtocolValid;
8150 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
8151 INT8 mSectorIDValid;
8152 UINT8 mSectorID[16];
8153 };
8154
8155 // Structure to describe response TLV 0x17 for NASGetSystemInfo()
8156 struct sNASGetSystemInfoResponse_GSMSystemInfo
8157 {
8158 INT8 mServiceDomainValid;
8159 eQMINASSystemServiceCapabilities mServiceDomain;
8160 INT8 mServiceCapabilityValid;
8161 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8162 INT8 mRoamStatusValid;
8163 eQMINASRoamStatus mRoamStatus;
8164 INT8 mSystemForbiddenValid;
8165 eQMINASSystemForbidden mSystemForbidden;
8166 INT8 mLocationAreaCodeValid;
8167 UINT16 mLocationAreaCode;
8168 INT8 mCellIDValid;
8169 UINT32 mCellID;
8170 INT8 mRegistrationRejectInformationValid;
8171 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
8172 UINT8 mRejectCause;
8173 INT8 mNetworkIDValid;
8174 char mMobileCountryCode[3];
8175 char mMobileNetworkCode[3];
8176 INT8 mEGPRSSupportValid;
8177 eQMINASEGPRSSupport mEGPRSSupport;
8178 INT8 mDTMSupportValid;
8179 eQMINASDTMSupport mDTMSupport;
8180 };
8181
8182 // Structure to describe response TLV 0x18 for NASGetSystemInfo()
8183 struct sNASGetSystemInfoResponse_WCDMASystemInfo
8184 {
8185 INT8 mServiceDomainValid;
8186 eQMINASSystemServiceCapabilities mServiceDomain;
8187 INT8 mServiceCapabilityValid;
8188 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8189 INT8 mRoamStatusValid;
8190 eQMINASRoamStatus mRoamStatus;
8191 INT8 mSystemForbiddenValid;
8192 eQMINASSystemForbidden mSystemForbidden;
8193 INT8 mLocationAreaCodeValid;
8194 UINT16 mLocationAreaCode;
8195 INT8 mCellIDValid;
8196 UINT32 mCellID;
8197 INT8 mRegistrationRejectInformationValid;
8198 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
8199 UINT8 mRejectCause;
8200 INT8 mNetworkIDValid;
8201 char mMobileCountryCode[3];
8202 char mMobileNetworkCode[3];
8203 INT8 mHighSpeedCallStatusValid;
8204 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
8205 INT8 mHighSpeedServiceIndicationValid;
8206 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
8207 INT8 mPrimaryScramblingCodeValue;
8208 UINT16 mPrimaryScramblingCode;
8209 };
8210
8211 // Structure to describe response TLV 0x19 for NASGetSystemInfo()
8212 struct sNASGetSystemInfoResponse_LTESystemInfo
8213 {
8214 INT8 mServiceDomainValid;
8215 eQMINASSystemServiceCapabilities mServiceDomain;
8216 INT8 mServiceCapabilityValid;
8217 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8218 INT8 mRoamStatusValid;
8219 eQMINASRoamStatus mRoamStatus;
8220 INT8 mSystemForbiddenValid;
8221 eQMINASSystemForbidden mSystemForbidden;
8222 INT8 mLocationAreaCodeValid;
8223 UINT16 mLocationAreaCode;
8224 INT8 mCellIDValid;
8225 UINT32 mCellID;
8226 INT8 mRegistrationRejectInformationValid;
8227 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
8228 UINT8 mRejectCause;
8229 INT8 mNetworkIDValid;
8230 char mMobileCountryCode[3];
8231 char mMobileNetworkCode[3];
8232 INT8 mTrackingAreaCodeValid;
8233 UINT16 mTrackingAreaCode;
8234 };
8235
8236 // Structure to describe response TLV 0x1A for NASGetSystemInfo()
8237 struct sNASGetSystemInfoResponse_MoreCDMASystemInfo
8238 {
8239 UINT16 mGeoSystemIndex;
8240 UINT16 mRegistrationPeriod;
8241 };
8242
8243 // Structure to describe response TLV 0x1B for NASGetSystemInfo()
8244 struct sNASGetSystemInfoResponse_MoreCDMA1xEVDOSystemInfo
8245 {
8246 UINT16 mGeoSystemIndex;
8247 };
8248
8249 // Structure to describe response TLV 0x1C for NASGetSystemInfo()
8250 struct sNASGetSystemInfoResponse_MoreGSMSystemInfo
8251 {
8252 UINT16 mGeoSystemIndex;
8253 eQMINASCellBroadcastCaps mCellBroadcastCapability;
8254 };
8255
8256 // Structure to describe response TLV 0x1D for NASGetSystemInfo()
8257 struct sNASGetSystemInfoResponse_MoreWCDMASystemInfo
8258 {
8259 UINT16 mGeoSystemIndex;
8260 eQMINASCellBroadcastCaps mCellBroadcastCapability;
8261 };
8262
8263 // Structure to describe response TLV 0x1E for NASGetSystemInfo()
8264 struct sNASGetSystemInfoResponse_MoreLTESystemInfo
8265 {
8266 UINT16 mGeoSystemIndex;
8267 };
8268
8269 // Structure to describe response TLV 0x1F for NASGetSystemInfo()
8270 struct sNASGetSystemInfoResponse_GSMCallBarring
8271 {
8272 eQMINASCallBarringStatus mCSCallBarringStatus;
8273 eQMINASCallBarringStatus mPSCallBarringStatus;
8274 };
8275
8276 // Structure to describe response TLV 0x20 for NASGetSystemInfo()
8277 struct sNASGetSystemInfoResponse_WCDMACallBarring
8278 {
8279 eQMINASCallBarringStatus mCSCallBarringStatus;
8280 eQMINASCallBarringStatus mPSCallBarringStatus;
8281 };
8282
8283 // Structure to describe response TLV 0x21 for NASGetSystemInfo()
8284 struct sNASGetSystemInfoResponse_LTEVoice
8285 {
8286 INT8 mLTEVoiceSupported;
8287 };
8288
8289 // Structure to describe response TLV 0x22 for NASGetSystemInfo()
8290 struct sNASGetSystemInfoResponse_GSMCipher
8291 {
8292 eQMINASServiceDomains mCipheringOnServiceDomain;
8293 };
8294
8295 // Structure to describe response TLV 0x23 for NASGetSystemInfo()
8296 struct sNASGetSystemInfoResponse_WCDMACipher
8297 {
8298 eQMINASServiceDomains mCipheringOnServiceDomain;
8299 };
8300
8301 // Structure to describe indication TLV 0x10 for NAS SystemInfoIndication
8302 struct sNASSystemInfoIndication_CDMAServiceStatusInfo
8303 {
8304 eQMINASServiceStatus mServiceStatus;
8305 eQMINASPreferredDataBath mPreferredDataPath;
8306 };
8307
8308 // Structure to describe indication TLV 0x11 for NAS SystemInfoIndication
8309 struct sNASSystemInfoIndication_CDMA1xEVDOServiceStatusInfo
8310 {
8311 eQMINASServiceStatus mServiceStatus;
8312 eQMINASPreferredDataBath mPreferredDataPath;
8313 };
8314
8315 // Structure to describe indication TLV 0x12 for NAS SystemInfoIndication
8316 struct sNASSystemInfoIndication_GSMServiceStatusInfo
8317 {
8318 eQMINASServiceStatus mServiceStatus;
8319 eQMINASServiceStatus mTrueServiceStatus;
8320 eQMINASPreferredDataBath mPreferredDataPath;
8321 };
8322
8323 // Structure to describe indication TLV 0x13 for NAS SystemInfoIndication
8324 struct sNASSystemInfoIndication_WCDMAServiceStatusInfo
8325 {
8326 eQMINASServiceStatus mServiceStatus;
8327 eQMINASServiceStatus mTrueServiceStatus;
8328 eQMINASPreferredDataBath mPreferredDataPath;
8329 };
8330
8331 // Structure to describe indication TLV 0x14 for NAS SystemInfoIndication
8332 struct sNASSystemInfoIndication_LTEServiceStatusInfo
8333 {
8334 eQMINASServiceStatus mServiceStatus;
8335 eQMINASServiceStatus mTrueServiceStatus;
8336 eQMINASPreferredDataBath mPreferredDataPath;
8337 };
8338
8339 // Structure to describe indication TLV 0x15 for NAS SystemInfoIndication
8340 struct sNASSystemInfoIndication_CDMASystemInfo
8341 {
8342 INT8 mServiceDomainValid;
8343 eQMINASSystemServiceCapabilities mServiceDomain;
8344 INT8 mServiceCapabilityValid;
8345 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8346 INT8 mRoamStatusValid;
8347 eQMINASRoamStatus mRoamStatus;
8348 INT8 mSystemForbiddenValid;
8349 eQMINASSystemForbidden mSystemForbidden;
8350 INT8 mSystemPRLMatchValid;
8351 eQMINASPRLIndicator mSystemPRLMatch;
8352 INT8 mPRevInUseValid;
8353 eQMINASRevision mProtocolRevisionInUse;
8354 INT8 mBaseStationPRevValid;
8355 eQMINASRevision mBaseStationProtocolRevision;
8356 INT8 mConcurrentServiceSupportedValid;
8357 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
8358 INT8 mCDMASystemIDValid;
8359 UINT16 mSystemID;
8360 UINT16 mNetworkID;
8361 INT8 mBaseStationInfoValid;
8362 UINT16 mBaseStationID;
8363 UINT32 mLatitude;
8364 UINT32 mLongitude;
8365 INT8 mPacketZoneValid;
8366 UINT16 mPacketZone;
8367 INT8 mNetworkIDValid;
8368 char mMobileCountryCode[3];
8369 char mMobileNetworkCode[3];
8370 };
8371
8372 // Structure to describe indication TLV 0x16 for NAS SystemInfoIndication
8373 struct sNASSystemInfoIndication_CDMA1xEVDOSystemInfo
8374 {
8375 INT8 mServiceDomainValid;
8376 eQMINASSystemServiceCapabilities mServiceDomain;
8377 INT8 mServiceCapabilityValid;
8378 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8379 INT8 mRoamStatusValid;
8380 eQMINASRoamStatus mRoamStatus;
8381 INT8 mSystemForbiddenValid;
8382 eQMINASSystemForbidden mSystemForbidden;
8383 INT8 mSystemPRLMatchValid;
8384 eQMINASPRLIndicator mSystemPRLMatch;
8385 INT8 mCDMA1xEVDOPersonalityValid;
8386 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
8387 INT8 mCDMA1xEVDOActiveProtocolValid;
8388 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
8389 INT8 mSectorIDValid;
8390 UINT8 mSectorID[16];
8391 };
8392
8393 // Structure to describe indication TLV 0x17 for NAS SystemInfoIndication
8394 struct sNASSystemInfoIndication_GSMSystemInfo
8395 {
8396 INT8 mServiceDomainValid;
8397 eQMINASSystemServiceCapabilities mServiceDomain;
8398 INT8 mServiceCapabilityValid;
8399 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8400 INT8 mRoamStatusValid;
8401 eQMINASRoamStatus mRoamStatus;
8402 INT8 mSystemForbiddenValid;
8403 eQMINASSystemForbidden mSystemForbidden;
8404 INT8 mLocationAreaCodeValid;
8405 UINT16 mLocationAreaCode;
8406 INT8 mCellIDValid;
8407 UINT32 mCellID;
8408 INT8 mRegistrationRejectInformationValid;
8409 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
8410 UINT8 mRejectCause;
8411 INT8 mNetworkIDValid;
8412 char mMobileCountryCode[3];
8413 char mMobileNetworkCode[3];
8414 INT8 mEGPRSSupportValid;
8415 eQMINASEGPRSSupport mEGPRSSupport;
8416 INT8 mDTMSupportValid;
8417 eQMINASDTMSupport mDTMSupport;
8418 };
8419
8420 // Structure to describe indication TLV 0x18 for NAS SystemInfoIndication
8421 struct sNASSystemInfoIndication_WCDMASystemInfo
8422 {
8423 INT8 mServiceDomainValid;
8424 eQMINASSystemServiceCapabilities mServiceDomain;
8425 INT8 mServiceCapabilityValid;
8426 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8427 INT8 mRoamStatusValid;
8428 eQMINASRoamStatus mRoamStatus;
8429 INT8 mSystemForbiddenValid;
8430 eQMINASSystemForbidden mSystemForbidden;
8431 INT8 mLocationAreaCodeValid;
8432 UINT16 mLocationAreaCode;
8433 INT8 mCellIDValid;
8434 UINT32 mCellID;
8435 INT8 mRegistrationRejectInformationValid;
8436 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
8437 UINT8 mRejectCause;
8438 INT8 mNetworkIDValid;
8439 char mMobileCountryCode[3];
8440 char mMobileNetworkCode[3];
8441 INT8 mHighSpeedCallStatusValid;
8442 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
8443 INT8 mHighSpeedServiceIndicationValid;
8444 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
8445 INT8 mPrimaryScramblingCodeValue;
8446 UINT16 mPrimaryScramblingCode;
8447 };
8448
8449 // Structure to describe indication TLV 0x19 for NAS SystemInfoIndication
8450 struct sNASSystemInfoIndication_LTESystemInfo
8451 {
8452 INT8 mServiceDomainValid;
8453 eQMINASSystemServiceCapabilities mServiceDomain;
8454 INT8 mServiceCapabilityValid;
8455 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
8456 INT8 mRoamStatusValid;
8457 eQMINASRoamStatus mRoamStatus;
8458 INT8 mSystemForbiddenValid;
8459 eQMINASSystemForbidden mSystemForbidden;
8460 INT8 mLocationAreaCodeValid;
8461 UINT16 mLocationAreaCode;
8462 INT8 mCellIDValid;
8463 UINT32 mCellID;
8464 INT8 mRegistrationRejectInformationValid;
8465 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
8466 UINT8 mRejectCause;
8467 INT8 mNetworkIDValid;
8468 char mMobileCountryCode[3];
8469 char mMobileNetworkCode[3];
8470 INT8 mTrackingAreaCodeValid;
8471 UINT16 mTrackingAreaCode;
8472 };
8473
8474 // Structure to describe indication TLV 0x1A for NAS SystemInfoIndication
8475 struct sNASSystemInfoIndication_MoreCDMASystemInfo
8476 {
8477 UINT16 mGeoSystemIndex;
8478 UINT16 mRegistrationPeriod;
8479 };
8480
8481 // Structure to describe indication TLV 0x1B for NAS SystemInfoIndication
8482 struct sNASSystemInfoIndication_MoreCDMA1xEVDOSystemInfo
8483 {
8484 UINT16 mGeoSystemIndex;
8485 };
8486
8487 // Structure to describe indication TLV 0x1C for NAS SystemInfoIndication
8488 struct sNASSystemInfoIndication_MoreGSMSystemInfo
8489 {
8490 UINT16 mGeoSystemIndex;
8491 eQMINASCellBroadcastCaps mCellBroadcastCapability;
8492 };
8493
8494 // Structure to describe indication TLV 0x1D for NAS SystemInfoIndication
8495 struct sNASSystemInfoIndication_MoreWCDMASystemInfo
8496 {
8497 UINT16 mGeoSystemIndex;
8498 eQMINASCellBroadcastCaps mCellBroadcastCapability;
8499 };
8500
8501 // Structure to describe indication TLV 0x1E for NAS SystemInfoIndication
8502 struct sNASSystemInfoIndication_MoreLTESystemInfo
8503 {
8504 UINT16 mGeoSystemIndex;
8505 };
8506
8507 // Structure to describe indication TLV 0x1F for NAS SystemInfoIndication
8508 struct sNASSystemInfoIndication_GSMCallBarring
8509 {
8510 eQMINASCallBarringStatus mCSCallBarringStatus;
8511 eQMINASCallBarringStatus mPSCallBarringStatus;
8512 };
8513
8514 // Structure to describe indication TLV 0x20 for NAS SystemInfoIndication
8515 struct sNASSystemInfoIndication_WCDMACallBarring
8516 {
8517 eQMINASCallBarringStatus mCSCallBarringStatus;
8518 eQMINASCallBarringStatus mPSCallBarringStatus;
8519 };
8520
8521 // Structure to describe indication TLV 0x21 for NAS SystemInfoIndication
8522 struct sNASSystemInfoIndication_LTEVoice
8523 {
8524 INT8 mLTEVoiceSupported;
8525 };
8526
8527 // Structure to describe indication TLV 0x22 for NAS SystemInfoIndication
8528 struct sNASSystemInfoIndication_GSMCipher
8529 {
8530 eQMINASServiceDomains mCipheringOnServiceDomain;
8531 };
8532
8533 // Structure to describe indication TLV 0x23 for NAS SystemInfoIndication
8534 struct sNASSystemInfoIndication_WCDMACipher
8535 {
8536 eQMINASServiceDomains mCipheringOnServiceDomain;
8537 };
8538
8539 // Structure to describe indication TLV 0x24 for NAS SystemInfoIndication
8540 struct sNASSystemInfoIndication_NoPLMNChange
8541 {
8542 INT8 mNoPLMNChange;
8543 };
8544
8545 // Structure to describe response TLV 0x10 for NASGetSignalInfo()
8546 struct sNASGetSignalInfoResponse_CDMASignalInfo
8547 {
8548 INT8 mRSSI;
8549 INT16 mECIO;
8550 };
8551
8552 // Structure to describe response TLV 0x11 for NASGetSignalInfo()
8553 struct sNASGetSignalInfoResponse_CDMA1xEVDOSignalInfo
8554 {
8555 INT8 mRSSI;
8556 INT16 mECIO;
8557 eQMINASSINRLevels mSINR;
8558 UINT32 mIO;
8559 };
8560
8561 // Structure to describe response TLV 0x12 for NASGetSignalInfo()
8562 struct sNASGetSignalInfoResponse_GSMSignalInfo
8563 {
8564 INT8 mRSSI;
8565 };
8566
8567 // Structure to describe response TLV 0x13 for NASGetSignalInfo()
8568 struct sNASGetSignalInfoResponse_WCDMASignalInfo
8569 {
8570 INT8 mRSSI;
8571 INT16 mECIO;
8572 };
8573
8574 // Structure to describe response TLV 0x14 for NASGetSignalInfo()
8575 struct sNASGetSignalInfoResponse_LTESignalInfo
8576 {
8577 INT8 mRSSI;
8578 INT8 mRSRQ;
8579 INT16 mRSRP;
8580 INT16 mSNR;
8581 };
8582
8583 // Structure to describe request TLV 0x10 for NASConfigureSignalInfo()
8584 struct sNASConfigureSignalInfoRequest_RSSIThresholdList
8585 {
8586 UINT8 mThresholdCount;
8587
8588 // This array must be the size specified by mThresholdCount
8589 // INT8 mThreshold[1];
8590 };
8591
8592 // Structure to describe request TLV 0x11 for NASConfigureSignalInfo()
8593 struct sNASConfigureSignalInfoRequest_ECIOThresholdList
8594 {
8595 UINT8 mThresholdCount;
8596
8597 // This array must be the size specified by mThresholdCount
8598 // INT16 mThreshold[1];
8599 };
8600
8601 // Structure to describe request TLV 0x12 for NASConfigureSignalInfo()
8602 struct sNASConfigureSignalInfoRequest_CDMA1xEVDOSINRThresholdList
8603 {
8604 UINT8 mThresholdCount;
8605
8606 // This array must be the size specified by mThresholdCount
8607 // UINT8 mThreshold[1];
8608 };
8609
8610 // Structure to describe request TLV 0x13 for NASConfigureSignalInfo()
8611 struct sNASConfigureSignalInfoRequest_LTESINRThresholdList
8612 {
8613 UINT8 mThresholdCount;
8614
8615 // This array must be the size specified by mThresholdCount
8616 // INT8 mThreshold[1];
8617 };
8618
8619 // Structure to describe request TLV 0x14 for NASConfigureSignalInfo()
8620 struct sNASConfigureSignalInfoRequest_IOThresholdList
8621 {
8622 UINT8 mThresholdCount;
8623
8624 // This array must be the size specified by mThresholdCount
8625 // INT32 mThreshold[1];
8626 };
8627
8628 // Structure to describe request TLV 0x15 for NASConfigureSignalInfo()
8629 struct sNASConfigureSignalInfoRequest_RSRQThresholdList
8630 {
8631 UINT8 mThresholdCount;
8632
8633 // This array must be the size specified by mThresholdCount
8634 // INT8 mThreshold[1];
8635 };
8636
8637 // Structure to describe request TLV 0x16 for NASConfigureSignalInfo()
8638 struct sNASConfigureSignalInfoRequest_RSRPThresholdList
8639 {
8640 UINT8 mThresholdCount;
8641
8642 // This array must be the size specified by mThresholdCount
8643 // INT16 mThreshold[1];
8644 };
8645
8646 // Structure to describe request TLV 0x17 for NASConfigureSignalInfo()
8647 struct sNASConfigureSignalInfoRequest_LTEConfig
8648 {
8649 eQMINASLTESignalRates mLTESignalCheckRate;
8650 eQMINASLTESignalRates mLTESignalAveragingRate;
8651 };
8652
8653 // Structure to describe indication TLV 0x10 for NAS SignalInfoIndication
8654 struct sNASSignalInfoIndication_CDMASignalInfo
8655 {
8656 INT8 mRSSI;
8657 INT16 mECIO;
8658 };
8659
8660 // Structure to describe indication TLV 0x11 for NAS SignalInfoIndication
8661 struct sNASSignalInfoIndication_CDMA1xEVDOSignalInfo
8662 {
8663 INT8 mRSSI;
8664 INT16 mECIO;
8665 eQMINASSINRLevels mSINR;
8666 UINT32 mIO;
8667 };
8668
8669 // Structure to describe indication TLV 0x12 for NAS SignalInfoIndication
8670 struct sNASSignalInfoIndication_GSMSignalInfo
8671 {
8672 INT8 mRSSI;
8673 };
8674
8675 // Structure to describe indication TLV 0x13 for NAS SignalInfoIndication
8676 struct sNASSignalInfoIndication_WCDMASignalInfo
8677 {
8678 INT8 mRSSI;
8679 INT16 mECIO;
8680 };
8681
8682 // Structure to describe indication TLV 0x14 for NAS SignalInfoIndication
8683 struct sNASSignalInfoIndication_LTESignalInfo
8684 {
8685 INT8 mRSSI;
8686 INT8 mRSRQ;
8687 INT16 mRSRP;
8688 INT16 mSNR;
8689 };
8690
8691 // Structure to describe response TLV 0x10 for NASGetErrorRate()
8692 struct sNASGetErrorRateResponse_CDMAFrameErrorRate
8693 {
8694 UINT16 mErrorRate;
8695 };
8696
8697 // Structure to describe response TLV 0x11 for NASGetErrorRate()
8698 struct sNASGetErrorRateResponse_CDMA1xEVDOPacketErrorRate
8699 {
8700 UINT16 mErrorRate;
8701 };
8702
8703 // Structure to describe response TLV 0x12 for NASGetErrorRate()
8704 struct sNASGetErrorRateResponse_GSMBitErrorRate
8705 {
8706 UINT8 mErrorRate;
8707 };
8708
8709 // Structure to describe response TLV 0x13 for NASGetErrorRate()
8710 struct sNASGetErrorRateResponse_WCDMABlockErrorRate
8711 {
8712 UINT8 mErrorRate;
8713 };
8714
8715 // Structure to describe indication TLV 0x10 for NAS ErrorRateIndication
8716 struct sNASErrorRateIndication_CDMAFrameErrorRate
8717 {
8718 UINT16 mErrorRate;
8719 };
8720
8721 // Structure to describe indication TLV 0x11 for NAS ErrorRateIndication
8722 struct sNASErrorRateIndication_CDMA1xEVDOPacketErrorRate
8723 {
8724 UINT16 mErrorRate;
8725 };
8726
8727 // Structure to describe indication TLV 0x12 for NAS ErrorRateIndication
8728 struct sNASErrorRateIndication_GSMBitErrorRate
8729 {
8730 UINT8 mErrorRate;
8731 };
8732
8733 // Structure to describe indication TLV 0x13 for NAS ErrorRateIndication
8734 struct sNASErrorRateIndication_WCDMAFrameErrorRate
8735 {
8736 UINT8 mErrorRate;
8737 };
8738
8739 // Structure to describe indication TLV 0x01 for NAS EVDOSessionCloseIndication
8740 struct sNASEVDOSessionCloseIndication_Reason
8741 {
8742 eQMINASEVDOSessionCloseReasons mSessionCloseReason;
8743 };
8744
8745 // Structure to describe indication TLV 0x01 for NAS EVDOUATIUpdateIndication
8746 struct sNASEVDOUATIUpdateIndication_UATI
8747 {
8748 UINT8 mUATI[16];
8749 };
8750
8751 // Structure to describe request TLV 0x01 for NASGetEVDOProtocolSubtype()
8752 struct sNASGetEVDOProtocolSubtypeRequest_Protocol
8753 {
8754 UINT32 mEVDOProtocol;
8755 };
8756
8757 // Structure to describe response TLV 0x10 for NASGetEVDOProtocolSubtype()
8758 struct sNASGetEVDOProtocolSubtypeResponse_Subtype
8759 {
8760 UINT16 mEVDOProtocolSubtype;
8761 };
8762
8763 // Structure to describe response TLV 0x10 for NASGetEVDOColorCode()
8764 struct sNASGetEVDOColorCodeResponse_Value
8765 {
8766 UINT8 mEVDOColorCode;
8767 };
8768
8769 // Structure to describe response TLV 0x10 for NASGetAcquisitionSystemMode()
8770 struct sNASGetAcquisitionSystemModeResponse_CDMA
8771 {
8772 eQMINASRadioSystemModes mRadioSystemMode;
8773 };
8774
8775 // Structure to describe response TLV 0x11 for NASGetAcquisitionSystemMode()
8776 struct sNASGetAcquisitionSystemModeResponse_CDMA1xEVDO
8777 {
8778 eQMINASRadioSystemModes mRadioSystemMode;
8779 };
8780
8781 // Structure to describe response TLV 0x12 for NASGetAcquisitionSystemMode()
8782 struct sNASGetAcquisitionSystemModeResponse_GSM
8783 {
8784 eQMINASRadioSystemModes mRadioSystemMode;
8785 };
8786
8787 // Structure to describe response TLV 0x13 for NASGetAcquisitionSystemMode()
8788 struct sNASGetAcquisitionSystemModeResponse_UMTS
8789 {
8790 eQMINASRadioSystemModes mRadioSystemMode;
8791 };
8792
8793 // Structure to describe response TLV 0x14 for NASGetAcquisitionSystemMode()
8794 struct sNASGetAcquisitionSystemModeResponse_LTE
8795 {
8796 eQMINASRadioSystemModes mRadioSystemMode;
8797 };
8798
8799 // Structure to describe request TLV 0x01 for NASSetRXDiversity()
8800 struct sNASSetRXDiversityRequest_Diversity
8801 {
8802 eQMINASRadioInterfaces mRadioInterface;
8803 bool mEnableRXChain0:1;
8804 bool mEnableRXChain1:1;
8805
8806 // Padding out 6 bits
8807 UINT8 mReserved1:6;
8808 };
8809
8810 // Structure to describe response TLV 0x10 for NASGetRXTXInfo()
8811 struct sNASGetRXTXInfoResponse_RX0Info
8812 {
8813 INT8 mRadioTuned;
8814 INT32 mRXPower;
8815 INT32 mEcIo;
8816 INT32 mRSCP;
8817 INT32 mRSRP;
8818 INT32 mPhase;
8819 };
8820
8821 // Structure to describe response TLV 0x11 for NASGetRXTXInfo()
8822 struct sNASGetRXTXInfoResponse_RX1Info
8823 {
8824 INT8 mRadioTuned;
8825 INT32 mRXPower;
8826 INT32 mEcIo;
8827 INT32 mRSCP;
8828 INT32 mRSRP;
8829 INT32 mPhase;
8830 };
8831
8832 // Structure to describe response TLV 0x12 for NASGetRXTXInfo()
8833 struct sNASGetRXTXInfoResponse_TXInfo
8834 {
8835 INT8 mInTraffic;
8836 INT32 mTXPower;
8837 };
8838
8839 // Structure to describe request TLV 0x01 for NASUpdateAKEYExtended()
8840 struct sNASUpdateAKEYExtendedRequest_AKEY
8841 {
8842 char mSPC[6];
8843 char mAKEY[26];
8844 };
8845
8846 // Structure to describe response TLV 0x10 for NASGetDualStandbyPreference()
8847 struct sNASGetDualStandbyPreferenceResponse_StandbyPreference
8848 {
8849 eQMINASStandbyPreference mStandbyPreference;
8850 };
8851
8852 // Structure to describe response TLV 0x11 for NASGetDualStandbyPreference()
8853 struct sNASGetDualStandbyPreferenceResponse_PrioritySubs
8854 {
8855 eQMINASSubscriptionType mSubscriptionType;
8856 };
8857
8858 // Structure to describe response TLV 0x12 for NASGetDualStandbyPreference()
8859 struct sNASGetDualStandbyPreferenceResponse_ActiveSubs
8860 {
8861 eQMINASSubscriptionType mSubscriptionType;
8862 };
8863
8864 // Structure to describe response TLV 0x13 for NASGetDualStandbyPreference()
8865 struct sNASGetDualStandbyPreferenceResponse_DefaultDataSubs
8866 {
8867 eQMINASSubscriptionType mSubscriptionType;
8868 };
8869
8870 // Structure to describe request TLV 0x10 for WMSSetEventReport()
8871 struct sWMSSetEventReportRequest_NewMTMessageIndicator
8872 {
8873 INT8 mReportNewMTMessages;
8874 };
8875
8876 // Structure to describe indication TLV 0x10 for WMS EventReport
8877 struct sWMSEventReportIndication_ReceivedMTMessage
8878 {
8879 eQMIWMSStorageTypes mStorageType;
8880 UINT32 mStorageIndex;
8881 };
8882
8883 // Structure to describe indication TLV 0x11 for WMS EventReport
8884 struct sWMSEventReportIndication_TransferRouteMTMessage
8885 {
8886 INT8 mACKRequired;
8887 UINT32 mTransactionID;
8888 eQMIWMSMessageFormats mMessageFormat;
8889 UINT16 mRawMessageLength;
8890
8891 // This array must be the size specified by mRawMessageLength
8892 // UINT8 mRawMessage[1];
8893 };
8894
8895 // Structure to describe indication TLV 0x12 for WMS EventReport
8896 struct sWMSEventReportIndication_MessageMode
8897 {
8898 eQMIWMSMessageProtocols mMode;
8899 };
8900
8901 // Structure to describe indication TLV 0x13 for WMS EventReport
8902 struct sWMSEventReportIndication_ReceivedETWSMessage
8903 {
8904 eQMIWMSNotificationType mNotificationType;
8905 UINT16 mRawMessageLength;
8906
8907 // This array must be the size specified by mRawMessageLength
8908 // UINT8 mRawMessage[1];
8909 };
8910
8911 // Structure to describe indication TLV 0x14 for WMS EventReport
8912 struct sWMSEventReportIndication_ReceivedETWSPLMNInfo
8913 {
8914 UINT16 mMobileCountryCode;
8915 UINT16 mMobileNetworkCode;
8916 };
8917
8918 // Structure to describe indication TLV 0x15 for WMS EventReport
8919 struct sWMSEventReportIndication_ReceivedSMSCAddress
8920 {
8921 UINT8 mSMSCAddressLength;
8922
8923 // This array must be the size specified by mSMSCAddressLength
8924 // char mSMSCAddress[1];
8925 };
8926
8927 // Structure to describe indication TLV 0x16 for WMS EventReport
8928 struct sWMSEventReportIndication_SMSOnIMS
8929 {
8930 INT8 mMessageReceivedFromIMS;
8931 };
8932
8933 // Structure to describe request TLV 0x01 for WMSRawSend()
8934 struct sWMSRawSendRequest_MessageData
8935 {
8936 eQMIWMSMessageFormats mMessageFormat;
8937 UINT16 mRawMessageLength;
8938
8939 // This array must be the size specified by mRawMessageLength
8940 // UINT8 mRawMessage[1];
8941 };
8942
8943 // Structure to describe request TLV 0x10 for WMSRawSend()
8944 struct sWMSRawSendRequest_ForceOnDC
8945 {
8946 INT8 mForceSendOnDC;
8947 eQMIWMSCDMAServiceOptions mServiceOption;
8948 };
8949
8950 // Structure to describe request TLV 0x11 for WMSRawSend()
8951 struct sWMSRawSendRequest_FollowOnDC
8952 {
8953 INT8 mDoNotDisconnectDC;
8954 };
8955
8956 // Structure to describe request TLV 0x12 for WMSRawSend()
8957 struct sWMSRawSendRequest_LinkControl
8958 {
8959 UINT8 mLinkTimerInSeconds;
8960 };
8961
8962 // Structure to describe request TLV 0x13 for WMSRawSend()
8963 struct sWMSRawSendRequest_SMSOnIMS
8964 {
8965 INT8 mMessageToBeSentOnIMS;
8966 };
8967
8968 // Structure to describe response TLV 0x01 for WMSRawSend()
8969 struct sWMSRawSendResponse_MessageID
8970 {
8971 UINT16 mMessageID;
8972 };
8973
8974 // Structure to describe response TLV 0x10 for WMSRawSend()
8975 struct sWMSRawSendResponse_CauseCode
8976 {
8977 UINT16 mCauseCode;
8978 };
8979
8980 // Structure to describe response TLV 0x11 for WMSRawSend()
8981 struct sWMSRawSendResponse_ErrorClass
8982 {
8983 eQMIWMSErrorClasses mErrorClass;
8984 };
8985
8986 // Structure to describe response TLV 0x12 for WMSRawSend()
8987 struct sWMSRawSendResponse_CauseInfo
8988 {
8989 UINT16 mGSMWCDMARPCause;
8990 UINT8 mGSMWCDMATPCause;
8991 };
8992
8993 // Structure to describe response TLV 0x13 for WMSRawSend()
8994 struct sWMSRawSendResponse_MessageDeliveryFailureType
8995 {
8996 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
8997 };
8998
8999 // Structure to describe request TLV 0x01 for WMSRawWrite()
9000 struct sWMSRawWriteRequest_MessageData
9001 {
9002 eQMIWMSStorageTypes mStorageType;
9003 eQMIWMSMessageFormats mMessageFormat;
9004 UINT16 mRawMessageLength;
9005
9006 // This array must be the size specified by mRawMessageLength
9007 // UINT8 mRawMessage[1];
9008 };
9009
9010 // Structure to describe response TLV 0x01 for WMSRawWrite()
9011 struct sWMSRawWriteResponse_MessageIndex
9012 {
9013 UINT32 mStorageIndex;
9014 };
9015
9016 // Structure to describe request TLV 0x01 for WMSRawRead()
9017 struct sWMSRawReadRequest_MessageIndex
9018 {
9019 eQMIWMSStorageTypes mStorageType;
9020 UINT32 mStorageIndex;
9021 };
9022
9023 // Structure to describe request TLV 0x10 for WMSRawRead()
9024 struct sWMSRawReadRequest_MessageMode
9025 {
9026 eQMIWMSMessageProtocols mMode;
9027 };
9028
9029 // Structure to describe request TLV 0x11 for WMSRawRead()
9030 struct sWMSRawReadRequest_SMSOnIMS
9031 {
9032 INT8 mMessageToBeReadFromIMS;
9033 };
9034
9035 // Structure to describe response TLV 0x01 for WMSRawRead()
9036 struct sWMSRawReadResponse_MessageData
9037 {
9038 eQMIWMSMessageTags mMessageTag;
9039 eQMIWMSMessageFormats mMessageFormat;
9040 UINT16 mRawMessageLength;
9041
9042 // This array must be the size specified by mRawMessageLength
9043 // UINT8 mRawMessage[1];
9044 };
9045
9046 // Structure to describe request TLV 0x01 for WMSModifyTag()
9047 struct sWMSModifyTagRequest_MessageTag
9048 {
9049 eQMIWMSStorageTypes mStorageType;
9050 UINT32 mStorageIndex;
9051 eQMIWMSMessageTags mMessageTag;
9052 };
9053
9054 // Structure to describe request TLV 0x10 for WMSModifyTag()
9055 struct sWMSModifyTagRequest_MessageMode
9056 {
9057 eQMIWMSMessageProtocols mMode;
9058 };
9059
9060 // Structure to describe request TLV 0x01 for WMSDelete()
9061 struct sWMSDeleteRequest_MemoryStorage
9062 {
9063 eQMIWMSStorageTypes mStorageType;
9064 };
9065
9066 // Structure to describe request TLV 0x10 for WMSDelete()
9067 struct sWMSDeleteRequest_MessageIndex
9068 {
9069 UINT32 mStorageIndex;
9070 };
9071
9072 // Structure to describe request TLV 0x11 for WMSDelete()
9073 struct sWMSDeleteRequest_MessageTag
9074 {
9075 eQMIWMSMessageTags mMessageTag;
9076 };
9077
9078 // Structure to describe request TLV 0x12 for WMSDelete()
9079 struct sWMSDeleteRequest_MessageMode
9080 {
9081 eQMIWMSMessageProtocols mMode;
9082 };
9083
9084 // Structure to describe response TLV 0x01 for WMSGetMessageProtocol()
9085 struct sWMSGetMessageProtocolResponse_MessageProtocol
9086 {
9087 eQMIWMSMessageProtocols mMode;
9088 };
9089
9090 // Structure to describe request TLV 0x01 for WMSListMessages()
9091 struct sWMSListMessagesRequest_MemoryStorage
9092 {
9093 eQMIWMSStorageTypes mStorageType;
9094 };
9095
9096 // Structure to describe request TLV 0x10 for WMSListMessages()
9097 struct sWMSListMessagesRequest_MessageTag
9098 {
9099 eQMIWMSMessageTags mMessageTag;
9100 };
9101
9102 // Structure to describe request TLV 0x11 for WMSListMessages()
9103 struct sWMSListMessagesRequest_MessageMode
9104 {
9105 eQMIWMSMessageProtocols mMode;
9106 };
9107
9108 // Structure to describe response TLV 0x01 for WMSListMessages()
9109 struct sWMSListMessagesResponse_MessageList
9110 {
9111 UINT32 mNumberOfMessages;
9112
9113 struct sMessage
9114 {
9115 UINT32 mStorageIndex;
9116 eQMIWMSMessageTags mMessageTag;
9117 };
9118
9119 // This array must be the size specified by mNumberOfMessages
9120 // sMessage mMessages[1];
9121 };
9122
9123 // Structure to describe request TLV 0x01 for WMSSetRoutes()
9124 struct sWMSSetRoutesRequest_RouteList
9125 {
9126 UINT16 mNumberOfRoutes;
9127
9128 struct sRoute
9129 {
9130 eQMIWMSMessageTypes mMessageType;
9131 eQMIWMSMessageClasses mMessageClass;
9132 eQMIWMSStorageTypes mStorageType;
9133 eQMIWMSReceiptActions mReceiptAction;
9134 };
9135
9136 // This array must be the size specified by mNumberOfRoutes
9137 // sRoute mRoutes[1];
9138 };
9139
9140 // Structure to describe request TLV 0x10 for WMSSetRoutes()
9141 struct sWMSSetRoutesRequest_TransferStatusReport
9142 {
9143 INT8 mTransferStatusReports;
9144 };
9145
9146 // Structure to describe response TLV 0x01 for WMSGetRoutes()
9147 struct sWMSGetRoutesResponse_RouteList
9148 {
9149 UINT16 mNumberOfRoutes;
9150
9151 struct sRoute
9152 {
9153 eQMIWMSMessageTypes mMessageType;
9154 eQMIWMSMessageClasses mMessageClass;
9155 eQMIWMSStorageTypes mStorageType;
9156 eQMIWMSRouteValues mRouteValue;
9157 };
9158
9159 // This array must be the size specified by mNumberOfRoutes
9160 // sRoute mRoutes[1];
9161 };
9162
9163 // Structure to describe response TLV 0x10 for WMSGetRoutes()
9164 struct sWMSGetRoutesResponse_TransferStatusReport
9165 {
9166 INT8 mTransferStatusReports;
9167 };
9168
9169 // Structure to describe response TLV 0x01 for WMSGetSMSCAddress()
9170 struct sWMSGetSMSCAddressResponse_Address
9171 {
9172 char mSMSCAddressType[3];
9173 UINT8 mSMSCAddressLength;
9174
9175 // This array must be the size specified by mSMSCAddressLength
9176 // char mSMSCAddress[1];
9177 };
9178
9179 // Structure to describe request TLV 0x01 for WMSSetSMSCAddress()
9180 struct sWMSSetSMSCAddressRequest_Address
9181 {
9182 // String is variable length, but must be size of the container
9183 // char mSMSCAddress[1];
9184 };
9185
9186 // Structure to describe request TLV 0x10 for WMSSetSMSCAddress()
9187 struct sWMSSetSMSCAddressRequest_AddressType
9188 {
9189 // String is variable length, but must be size of the container
9190 // char mSMSCAddressType[1];
9191 };
9192
9193 // Structure to describe request TLV 0x01 for WMSGetStorageMaxSize()
9194 struct sWMSGetStorageMaxSizeRequest_MemoryStorage
9195 {
9196 eQMIWMSStorageTypes mStorageType;
9197 };
9198
9199 // Structure to describe request TLV 0x10 for WMSGetStorageMaxSize()
9200 struct sWMSGetStorageMaxSizeRequest_MessageMode
9201 {
9202 eQMIWMSMessageProtocols mMode;
9203 };
9204
9205 // Structure to describe response TLV 0x01 for WMSGetStorageMaxSize()
9206 struct sWMSGetStorageMaxSizeResponse_MaxSize
9207 {
9208 UINT32 mMaxStorageSizeInMessages;
9209 };
9210
9211 // Structure to describe response TLV 0x10 for WMSGetStorageMaxSize()
9212 struct sWMSGetStorageMaxSizeResponse_AvailableSize
9213 {
9214 UINT32 mFreeStorageSizeInMessages;
9215 };
9216
9217 // Structure to describe request TLV 0x01 for WMSSendACK()
9218 struct sWMSSendACKRequest_ACK
9219 {
9220 UINT32 mTransactionID;
9221 eQMIWMSMessageProtocols mMode;
9222 INT8 mProcessedSuccessfully;
9223 };
9224
9225 // Structure to describe request TLV 0x10 for WMSSendACK()
9226 struct sWMSSendACKRequest_3GPP2FailureInfo
9227 {
9228 eQMIWMSErrorClasses2 mErrorClass;
9229 UINT8 mTransportLayerStatus;
9230 };
9231
9232 // Structure to describe request TLV 0x11 for WMSSendACK()
9233 struct sWMSSendACKRequest_3GPPFailureInfo
9234 {
9235 UINT8 mGSMWCDMARPCause;
9236 UINT8 mGSMWCDMATPCause;
9237 };
9238
9239 // Structure to describe request TLV 0x12 for WMSSendACK()
9240 struct sWMSSendACKRequest_SMSOnIMS
9241 {
9242 INT8 mACKToBeSentOnIMS;
9243 };
9244
9245 // Structure to describe response TLV 0x10 for WMSSendACK()
9246 struct sWMSSendACKResponse_ACKFailureCause
9247 {
9248 eQMIWMSACKFailureCause mACKFailureCause;
9249 };
9250
9251 // Structure to describe request TLV 0x01 for WMSSetRetryPeriod()
9252 struct sWMSSetRetryPeriodRequest_Period
9253 {
9254 UINT32 mRetryPeriodInSeconds;
9255 };
9256
9257 // Structure to describe request TLV 0x01 for WMSSetRetryInterval()
9258 struct sWMSSetRetryIntervalRequest_Interval
9259 {
9260 UINT32 mRetryIntervalInSeconds;
9261 };
9262
9263 // Structure to describe request TLV 0x01 for WMSSetDCDisconnectTimer()
9264 struct sWMSSetDCDisconnectTimerRequest_Timer
9265 {
9266 UINT32 mDCDisconnectTimerInSeconds;
9267 };
9268
9269 // Structure to describe request TLV 0x01 for WMSSetMemoryStatus()
9270 struct sWMSSetMemoryStatusRequest_Status
9271 {
9272 INT8 mMemoryIsAvailable;
9273 };
9274
9275 // Structure to describe request TLV 0x01 for WMSSetBroadcastActivation()
9276 struct sWMSSetBroadcastActivationRequest_BCInfo
9277 {
9278 eQMIWMSMessageProtocols mMode;
9279 INT8 mActivateBroadcast;
9280 };
9281
9282 // Structure to describe request TLV 0x01 for WMSSetBroadcastConfig()
9283 struct sWMSSetBroadcastConfigRequest_Mode
9284 {
9285 eQMIWMSMessageProtocols mMode;
9286 };
9287
9288 // Structure to describe request TLV 0x10 for WMSSetBroadcastConfig()
9289 struct sWMSSetBroadcastConfigRequest_3GPPInfo
9290 {
9291 UINT16 mNumberOfInstances;
9292
9293 struct sInstance
9294 {
9295 UINT16 mMessageIDStart;
9296 UINT16 mMessageIDEnd;
9297 INT8 mSelected;
9298 };
9299
9300 // This array must be the size specified by mNumberOfInstances
9301 // sInstance mInstances[1];
9302 };
9303
9304 // Structure to describe request TLV 0x11 for WMSSetBroadcastConfig()
9305 struct sWMSSetBroadcastConfigRequest_3GPP2Info
9306 {
9307 UINT16 mNumberOfInstances;
9308
9309 struct sInstance
9310 {
9311 UINT16 mServiceCategory;
9312 eQMIWMSLanguage mLanguage;
9313 INT8 mSelected;
9314 };
9315
9316 // This array must be the size specified by mNumberOfInstances
9317 // sInstance mInstances[1];
9318 };
9319
9320 // Structure to describe request TLV 0x01 for WMSGetBroadcastConfig()
9321 struct sWMSGetBroadcastConfigRequest_Mode
9322 {
9323 eQMIWMSMessageProtocols mMode;
9324 };
9325
9326 // Structure to describe response TLV 0x10 for WMSGetBroadcastConfig()
9327 struct sWMSGetBroadcastConfigResponse_3GPPInfo
9328 {
9329 INT8 mActivated;
9330 UINT16 mNumberOfInstances;
9331
9332 struct sInstance
9333 {
9334 UINT16 mMessageIDStart;
9335 UINT16 mMessageIDEnd;
9336 INT8 mSelected;
9337 };
9338
9339 // This array must be the size specified by mNumberOfInstances
9340 // sInstance mInstances[1];
9341 };
9342
9343 // Structure to describe response TLV 0x11 for WMSGetBroadcastConfig()
9344 struct sWMSGetBroadcastConfigResponse_3GPP2Info
9345 {
9346 INT8 mActivated;
9347 UINT16 mNumberOfInstances;
9348
9349 struct sInstance
9350 {
9351 UINT16 mServiceCategory;
9352 eQMIWMSLanguage mLanguage;
9353 INT8 mSelected;
9354 };
9355
9356 // This array must be the size specified by mNumberOfInstances
9357 // sInstance mInstances[1];
9358 };
9359
9360 // Structure to describe indication TLV 0x01 for WMS MemoryFullIndication
9361 struct sWMSMemoryFullIndication_Info
9362 {
9363 eQMIWMSStorageTypes mStorageType;
9364 eQMIWMSMessageProtocols mMode;
9365 };
9366
9367 // Structure to describe response TLV 0x01 for WMSGetDomainPreference()
9368 struct sWMSGetDomainPreferenceResponse_Pref
9369 {
9370 eQMIWMSGSMWCDMADomains mDomainPreference;
9371 };
9372
9373 // Structure to describe request TLV 0x01 for WMSSetDomainPreference()
9374 struct sWMSSetDomainPreferenceRequest_Pref
9375 {
9376 eQMIWMSGSMWCDMADomains mDomainPreference;
9377 };
9378
9379 // Structure to describe request TLV 0x01 for WMSSendFromMemoryStore()
9380 struct sWMSSendFromMemoryStoreRequest_Info
9381 {
9382 eQMIWMSStorageTypes mStorageType;
9383 UINT32 mStorageIndex;
9384 eQMIWMSMessageProtocols mMode;
9385 };
9386
9387 // Structure to describe request TLV 0x10 for WMSSendFromMemoryStore()
9388 struct sWMSSendFromMemoryStoreRequest_SMSOnIMS
9389 {
9390 INT8 mMessageToBeSentOnIMS;
9391 };
9392
9393 // Structure to describe response TLV 0x10 for WMSSendFromMemoryStore()
9394 struct sWMSSendFromMemoryStoreResponse_MessageID
9395 {
9396 UINT16 mMessageID;
9397 };
9398
9399 // Structure to describe response TLV 0x11 for WMSSendFromMemoryStore()
9400 struct sWMSSendFromMemoryStoreResponse_CauseCode
9401 {
9402 UINT16 mCauseCode;
9403 };
9404
9405 // Structure to describe response TLV 0x12 for WMSSendFromMemoryStore()
9406 struct sWMSSendFromMemoryStoreResponse_ErrorClass
9407 {
9408 eQMIWMSErrorClasses mErrorClass;
9409 };
9410
9411 // Structure to describe response TLV 0x13 for WMSSendFromMemoryStore()
9412 struct sWMSSendFromMemoryStoreResponse_CauseInfo
9413 {
9414 UINT16 mGSMWCDMARPCause;
9415 UINT8 mGSMWCDMATPCause;
9416 };
9417
9418 // Structure to describe response TLV 0x14 for WMSSendFromMemoryStore()
9419 struct sWMSSendFromMemoryStoreResponse_MessageDeliveryFailureType
9420 {
9421 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
9422 };
9423
9424 // Structure to describe response TLV 0x01 for WMSGetWaitingMessage()
9425 struct sWMSGetWaitingMessageResponse_WaitingMessageInfo
9426 {
9427 UINT8 mNumberOfWaitingMessages;
9428 eQMIWMSWaitingMessageType mWaitingMessageType;
9429 INT8 mActiveIndication;
9430 UINT8 mMessageCount;
9431 };
9432
9433 // Structure to describe indication TLV 0x01 for WMS WaitingMessageIndication
9434 struct sWMSWaitingMessageIndication_WaitingMessageInfo
9435 {
9436 UINT8 mNumberOfWaitingMessages;
9437 eQMIWMSWaitingMessageType mWaitingMessageType;
9438 INT8 mActiveIndication;
9439 UINT8 mMessageCount;
9440 };
9441
9442 // Structure to describe request TLV 0x01 for WMSSetPrimaryClient()
9443 struct sWMSSetPrimaryClientRequest_PrimaryClientInfo
9444 {
9445 INT8 mPrimaryClient;
9446 };
9447
9448 // Structure to describe indication TLV 0x01 for WMS SMSCAddressIndication
9449 struct sWMSSMSCAddressIndication_Address
9450 {
9451 char mSMSCAddressType[3];
9452 UINT8 mSMSCAddressLength;
9453
9454 // This array must be the size specified by mSMSCAddressLength
9455 // char mSMSCAddress[1];
9456 };
9457
9458 // Structure to describe request TLV 0x10 for WMSIndicatorRegistration()
9459 struct sWMSIndicatorRegistrationRequest_TransportLayerInfoEvents
9460 {
9461 INT8 mTransportLayerInfoEvents;
9462 };
9463
9464 // Structure to describe request TLV 0x11 for WMSIndicatorRegistration()
9465 struct sWMSIndicatorRegistrationRequest_NetworkRegistrationInfoEvents
9466 {
9467 INT8 mNetworkRegistrationInfoEvents;
9468 };
9469
9470 // Structure to describe request TLV 0x12 for WMSIndicatorRegistration()
9471 struct sWMSIndicatorRegistrationRequest_CallStatusInfoEvents
9472 {
9473 INT8 mCallStatusInfoEvents;
9474 };
9475
9476 // Structure to describe response TLV 0x10 for WMSGetTransportInfoLayer()
9477 struct sWMSGetTransportInfoLayerResponse_TransportLayerRegistrationInfo
9478 {
9479 INT8 mRegistered;
9480 };
9481
9482 // Structure to describe response TLV 0x11 for WMSGetTransportLayerInfo()
9483 struct sWMSGetTransportLayerInfoResponse_TransportLayerInfo
9484 {
9485 eQMIWMSTransportType mTransportType;
9486 eQMIWMSTransportCapability mTransportCapability;
9487 };
9488
9489 // Structure to describe indication TLV 0x01 for WMS TransportLayerInfoIndication
9490 struct sWMSTransportLayerInfoIndication_TransportLayerRegInfo
9491 {
9492 INT8 mRegistered;
9493 };
9494
9495 // Structure to describe indication TLV 0x10 for WMS TransportLayerInfoIndication
9496 struct sWMSTransportLayerInfoIndication_TransportLayerInfo
9497 {
9498 eQMIWMSTransportType mTransportType;
9499 eQMIWMSTransportCapability mTransportCapability;
9500 };
9501
9502 // Structure to describe response TLV 0x10 for WMSGetNetworkRegistrationInfo()
9503 struct sWMSGetNetworkRegistrationInfoResponse_NetworkRegistrationInfo
9504 {
9505 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
9506 };
9507
9508 // Structure to describe indication TLV 0x01 for WMS NetworkRegistrationInfoIndication
9509 struct sWMSNetworkRegistrationInfoIndication_NetworkRegistrationInfo
9510 {
9511 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
9512 };
9513
9514 // Structure to describe request TLV 0x01 for WMSBindSubscription()
9515 struct sWMSBindSubscriptionRequest_SubscriptionType
9516 {
9517 eQMIWMSSubscriptionType mSubscriptionType;
9518 };
9519
9520 // Structure to describe response TLV 0x10 for WMSGetIndicatorRegistration()
9521 struct sWMSGetIndicatorRegistrationResponse_TransportLayerInfoEvents
9522 {
9523 INT8 mTransportLayerInfoEvents;
9524 };
9525
9526 // Structure to describe response TLV 0x11 for WMSGetIndicatorRegistration()
9527 struct sWMSGetIndicatorRegistrationResponse_NetworkRegistrationInfoEvents
9528 {
9529 INT8 mNetworkRegistrationInfoEvents;
9530 };
9531
9532 // Structure to describe response TLV 0x12 for WMSGetIndicatorRegistration()
9533 struct sWMSGetIndicatorRegistrationResponse_CallStatusInfoEvents
9534 {
9535 INT8 mCallStatusInfoEvents;
9536 };
9537
9538 // Structure to describe request TLV 0x01 for WMSGetSMSParameters()
9539 struct sWMSGetSMSParametersRequest_MessageMode
9540 {
9541 eQMIWMSSMSMessageMode mSMSMessageMode;
9542 };
9543
9544 // Structure to describe response TLV 0x10 for WMSGetSMSParameters()
9545 struct sWMSGetSMSParametersResponse_DestinationAddress
9546 {
9547 UINT8 mDestinationAddressLength;
9548
9549 // This array must be the size specified by mDestinationAddressLength
9550 // UINT8 mDestinationAddress[1];
9551 };
9552
9553 // Structure to describe response TLV 0x11 for WMSGetSMSParameters()
9554 struct sWMSGetSMSParametersResponse_ProtocolIdentifierData
9555 {
9556 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
9557 };
9558
9559 // Structure to describe response TLV 0x12 for WMSGetSMSParameters()
9560 struct sWMSGetSMSParametersResponse_DataCodingScheme
9561 {
9562 UINT8 mDataCodingScheme;
9563 };
9564
9565 // Structure to describe response TLV 0x13 for WMSGetSMSParameters()
9566 struct sWMSGetSMSParametersResponse_ValidityPeriod
9567 {
9568 UINT8 mValidityPeriod;
9569 };
9570
9571 // Structure to describe request TLV 0x01 for WMSSetSMSParameters()
9572 struct sWMSSetSMSParametersRequest_MessageMode
9573 {
9574 eQMIWMSSMSMessageMode mSMSMessageMode;
9575 };
9576
9577 // Structure to describe request TLV 0x10 for WMSSetSMSParameters()
9578 struct sWMSSetSMSParametersRequest_DestinationAddress
9579 {
9580 UINT8 mDestinationAddressLength;
9581
9582 // This array must be the size specified by mDestinationAddressLength
9583 // UINT8 mDestinationAddress[1];
9584 };
9585
9586 // Structure to describe request TLV 0x11 for WMSSetSMSParameters()
9587 struct sWMSSetSMSParametersRequest_ProtocolIdentifierData
9588 {
9589 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
9590 };
9591
9592 // Structure to describe request TLV 0x12 for WMSSetSMSParameters()
9593 struct sWMSSetSMSParametersRequest_DataCodingScheme
9594 {
9595 UINT8 mDataCodingScheme;
9596 };
9597
9598 // Structure to describe request TLV 0x13 for WMSSetSMSParameters()
9599 struct sWMSSetSMSParametersRequest_ValidityPeriod
9600 {
9601 UINT8 mValidityPeriod;
9602 };
9603
9604 // Structure to describe indication TLV 0x01 for WMS CallStatusIndication
9605 struct sWMSCallStatusIndication_SMSCallStatusInfo
9606 {
9607 eQMIWMSSMSCallStatus mSMSCallStatus;
9608 };
9609
9610 // Structure to describe request TLV 0x10 for PDSSetEventReport()
9611 struct sPDSSetEventReportRequest_NMEAIndicator
9612 {
9613 INT8 mReportNMEASentences;
9614 };
9615
9616 // Structure to describe request TLV 0x11 for PDSSetEventReport()
9617 struct sPDSSetEventReportRequest_ModeIndicator
9618 {
9619 INT8 mReportNMEASentencesPlusMode;
9620 };
9621
9622 // Structure to describe request TLV 0x12 for PDSSetEventReport()
9623 struct sPDSSetEventReportRequest_RawIndicator
9624 {
9625 INT8 mReportRawPositionData;
9626 };
9627
9628 // Structure to describe request TLV 0x13 for PDSSetEventReport()
9629 struct sPDSSetEventReportRequest_XTRARequestIndicator
9630 {
9631 INT8 mReportExternalXTRADataRequests;
9632 };
9633
9634 // Structure to describe request TLV 0x14 for PDSSetEventReport()
9635 struct sPDSSetEventReportRequest_TimeInjectionIndicator
9636 {
9637 INT8 mReportExternalTimeInjections;
9638 };
9639
9640 // Structure to describe request TLV 0x15 for PDSSetEventReport()
9641 struct sPDSSetEventReportRequest_WiFiIndicator
9642 {
9643 INT8 mReportExternalWiFiRequests;
9644 };
9645
9646 // Structure to describe request TLV 0x16 for PDSSetEventReport()
9647 struct sPDSSetEventReportRequest_SatelliteIndicator
9648 {
9649 INT8 mReportSatelliteInfo;
9650 };
9651
9652 // Structure to describe request TLV 0x17 for PDSSetEventReport()
9653 struct sPDSSetEventReportRequest_VXNetworkIndicator
9654 {
9655 INT8 mReportVXNetworkInitiatedPrompts;
9656 };
9657
9658 // Structure to describe request TLV 0x18 for PDSSetEventReport()
9659 struct sPDSSetEventReportRequest_SUPLNetworkIndicator
9660 {
9661 INT8 mReportSUPLNetworkInitiatedPrompts;
9662 };
9663
9664 // Structure to describe request TLV 0x19 for PDSSetEventReport()
9665 struct sPDSSetEventReportRequest_UMTSCPNetworkIndicator
9666 {
9667 INT8 mReportUMTSCPNetworkInitiatedPrompts;
9668 };
9669
9670 // Structure to describe request TLV 0x1A for PDSSetEventReport()
9671 struct sPDSSetEventReportRequest_PDSCommIndicator
9672 {
9673 INT8 mReportPDSCommEvents;
9674 };
9675
9676 // Structure to describe request TLV 0x1B for PDSSetEventReport()
9677 struct sPDSSetEventReportRequest_AccelerometerDataIndicator
9678 {
9679 INT8 mReportAccelerometerDataStatus;
9680 };
9681
9682 // Structure to describe request TLV 0x1C for PDSSetEventReport()
9683 struct sPDSSetEventReportRequest_GyroDataIndicator
9684 {
9685 INT8 mReportGyroDataStatus;
9686 };
9687
9688 // Structure to describe request TLV 0x1D for PDSSetEventReport()
9689 struct sPDSSetEventReportRequest_TimeSyncIndication
9690 {
9691 INT8 mReportTimeSyncRequest;
9692 };
9693
9694 // Structure to describe request TLV 0x1E for PDSSetEventReport()
9695 struct sPDSSetEventReportRequest_PositionReliablilityIndicator
9696 {
9697 INT8 mReportPositionReliability;
9698 };
9699
9700 // Structure to describe request TLV 0x1F for PDSSetEventReport()
9701 struct sPDSSetEventReportRequest_SensorDataUsageIndicator
9702 {
9703 INT8 mReportSensorDataUsage;
9704 };
9705
9706 // Structure to describe request TLV 0x20 for PDSSetEventReport()
9707 struct sPDSSetEventReportRequest_TimeSourceInformationIndicator
9708 {
9709 INT8 mReportTimeSourceInformation;
9710 };
9711
9712 // Structure to describe request TLV 0x21 for PDSSetEventReport()
9713 struct sPDSSetEventReportRequest_HeadingUncertaintyIndicator
9714 {
9715 INT8 mReportHeadingUncertaintyInformation;
9716 };
9717
9718 // Structure to describe request TLV 0x22 for PDSSetEventReport()
9719 struct sPDSSetEventReportRequest_NMEADebugStringIndicator
9720 {
9721 INT8 mReportNMEADebugStrings;
9722 };
9723
9724 // Structure to describe request TLV 0x23 for PDSSetEventReport()
9725 struct sPDSSetEventReportRequest_ExternalXTRADataIndicator
9726 {
9727 INT8 mReportExtendedXTRAData;
9728 };
9729
9730 // Structure to describe indication TLV 0x10 for PDS EventReport
9731 struct sPDSEventReportIndication_NMEASentence
9732 {
9733 // String is variable length, but must be size of the container
9734 // char mNMEASentence[1];
9735 };
9736
9737 // Structure to describe indication TLV 0x11 for PDS EventReport
9738 struct sPDSEventReportIndication_NMEASentencePlusMode
9739 {
9740 eQMIPDSNMEASentenceOperatingModes mNMEASentenceOperatingMode;
9741 UINT16 mNMEASentenceLength;
9742
9743 // This array must be the size specified by mNMEASentenceLength
9744 // char mNMEASentence[1];
9745 };
9746
9747 // Structure to describe indication TLV 0x12 for PDS EventReport
9748 struct sPDSEventReportIndication_PositionSessionStatus
9749 {
9750 eQMIPDSSessionStatus mSessionStatus;
9751 };
9752
9753 // Structure to describe indication TLV 0x13 for PDS EventReport
9754 struct sPDSEventReportIndication_ParsedPositionData
9755 {
9756 bool mTimestampCalendarValid:1;
9757 bool mTimestampUTCValid:1;
9758 bool mLeapSecondsValid:1;
9759 bool mTimeUncertaintyValid:1;
9760 bool mLatitudeValid:1;
9761 bool mLongitudeValid:1;
9762 bool mEllipsoidAltitudeValid:1;
9763 bool mMeanSeaLevelAltitudeValid:1;
9764 bool mHorizontalSpeedValid:1;
9765 bool mVerticalSpeedValid:1;
9766 bool mHeadingValid:1;
9767 bool mHorizontalUncertaintyCircularValid:1;
9768 bool mHorizontalUncertaintyEllipseSemiMajorValid:1;
9769 bool mHorizontalUncertaintyEllipseSemiMinorValid:1;
9770 bool mHorizontalUncertaintyEllipseOrientAzimuthValid:1;
9771 bool mVerticalUncertaintyValid:1;
9772 bool mHorizontalVelocityUncertaintyValid:1;
9773 bool mVerticalVelocityUncertaintyValid:1;
9774 bool mHorizontalConfidenceValid:1;
9775 bool mPositionDOPValid:1;
9776 bool mHorizontalDOPValid:1;
9777 bool mVerticalDOPValid:1;
9778 bool mOperatingModeUsedValid:1;
9779
9780 // Padding out 9 bits
9781 UINT8 mReserved1:1;
9782 UINT8 mReserved2;
9783
9784 UINT16 mCalendarYear;
9785 eQMIPDSCalendarMonths mCalendarMonth;
9786 eQMIPDSCalendarDays mCalendarDay;
9787 UINT8 mCalendarDayOfMonth;
9788 UINT8 mCalendarHour;
9789 UINT8 mCalendarMinute;
9790 UINT8 mCalendarSecond;
9791 UINT16 mCalendarMillisecond;
9792 UINT8 mCalendarLeapSeconds;
9793 UINT64 mUTCTimestamp;
9794 UINT32 mUTCTimestampUncertainty;
9795 double mLatitude;
9796 double mLongitude;
9797 float mEllipsoidAltitude;
9798 float mMeanSeaLevelAltitude;
9799 float mHorizontalSpeed;
9800 float mVerticalSpeed;
9801 float mHeading;
9802 float mHorizontalUncertaintyCircular;
9803 float mHorizontalUncertaintyEllipseSemiMajor;
9804 float mHorizontalUncertaintyEllipseSemiMinor;
9805 float mHorizontalUncertaintyEllipseOrientAzimuth;
9806 float mVerticalUncertainty;
9807 float mHorizontalVelocityUncertainty;
9808 float mVerticalVelocityUncertainty;
9809 UINT8 mHorizontalConfidence;
9810 float mPositionDOP;
9811 float mHorizontalDOP;
9812 float mVerticalDOP;
9813 eQMIPDSNMEASentenceOperatingModes mOperatingMode;
9814 };
9815
9816 // Structure to describe indication TLV 0x14 for PDS EventReport
9817 struct sPDSEventReportIndication_ExternalXTRARequest
9818 {
9819 UINT16 mMaximumFileSize;
9820 UINT8 mURLRecordCount;
9821
9822 struct sURL
9823 {
9824 UINT8 mURLLength;
9825
9826 // This array must be the size specified by mURLLength
9827 // char mURL[1];
9828 };
9829
9830 // This array must be the size specified by mURLRecordCount
9831 // sURL mURLs[1];
9832 };
9833
9834 // Structure to describe indication TLV 0x15 for PDS EventReport
9835 struct sPDSEventReportIndication_ExternalTimeInjectionRequest
9836 {
9837 UINT32 mDelayThresholdMilliseconds;
9838 UINT8 mURLRecordCount;
9839
9840 struct sURL
9841 {
9842 UINT8 mURLLength;
9843
9844 // This array must be the size specified by mURLLength
9845 // char mURL[1];
9846 };
9847
9848 // This array must be the size specified by mURLRecordCount
9849 // sURL mURLs[1];
9850 };
9851
9852 // Structure to describe indication TLV 0x16 for PDS EventReport
9853 struct sPDSEventReportIndication_ExternalWiFiPositionRequest
9854 {
9855 eQMIPDSWiFiRequestTypes mWiFiRequestType;
9856 UINT16 mWiFiRequestTimeBetweenFixesMilliseconds;
9857 };
9858
9859 // Structure to describe indication TLV 0x17 for PDS EventReport
9860 struct sPDSEventReportIndication_SatelliteInfo
9861 {
9862 bool mIonoValid:1;
9863 bool mSatelliteCountValid:1;
9864 bool mSatelliteListValid:1;
9865
9866 // Padding out 29 bits
9867 UINT8 mReserved1:5;
9868 UINT8 mReserved2[3];
9869
9870 INT8 mIonosphericCorrections;
9871 UINT8 mSVRecordCount;
9872
9873 struct sSV
9874 {
9875 bool mSystemValid:1;
9876 bool mPRNValid:1;
9877 bool mHealthStatusValid:1;
9878 bool mProcessStatusValid:1;
9879 bool mEphemerisStateValid:1;
9880 bool mAlmanacStateValid:1;
9881 bool mElevationValid:1;
9882 bool mAzimuthValid:1;
9883 bool mCN0Valid:1;
9884
9885 // Padding out 23 bits
9886 UINT8 mReserved3:7;
9887 UINT8 mReserved4[2];
9888
9889 eQMIPDSSVSystems mSystem;
9890 UINT8 mPRN;
9891 eQMIPDSSVHealthStatus mHealthLevel;
9892 eQMIPDSSVProcessingStatus mProcessingStatus;
9893 eQMIPDSSVEphemerisStatus mEphemerisState;
9894 eQMIPDSSVAlmanacStatus mAlmanacState;
9895 INT32 mElevation;
9896 UINT16 mAzimuth;
9897 UINT16 mCN0;
9898 };
9899
9900 // This array must be the size specified by mSVRecordCount
9901 // sSV mSVs[1];
9902 };
9903
9904 // Structure to describe indication TLV 0x18 for PDS EventReport
9905 struct sPDSEventReportIndication_VXNetworkInitiatedPrompt
9906 {
9907 bool mPrivacyValid:1;
9908 bool mQoSValid:1;
9909 bool mCountValid:1;
9910 bool mIntervalValid:1;
9911 bool mModeValid:1;
9912 bool mRequestorIDValid:1;
9913
9914 // Padding out 26 bits
9915 UINT8 mReserved1:2;
9916 UINT8 mReserved2[3];
9917
9918 eQMIPDSPrivacyModes mPrivacy;
9919 UINT8 mQoS;
9920 UINT32 mPositionCount;
9921 UINT32 mIntervalBetweenFixesSeconds;
9922 eQMIPDSVXModes mMode;
9923 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
9924 UINT8 mRequestorIDLength;
9925
9926 // This array must be the size specified by mRequestorIDLength
9927 // UINT8 mRequestorID[1];
9928 };
9929
9930 // Structure to describe indication TLV 0x19 for PDS EventReport
9931 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1
9932 {
9933 bool mPrivacyValid:1;
9934 bool mINITHashValid:1;
9935 bool mModeValid:1;
9936 bool mSLPSessionIDValid:1;
9937 bool mSLPServerIPv4AddressValid:1;
9938 bool mSLPServerIPv6AddressValid:1;
9939 bool mSLPServerURLAddressValid:1;
9940 bool mDCSValid:1;
9941 bool mRequestorIDValid:1;
9942 bool mClientNameValid:1;
9943 bool mQoPHorizontalAccuracyValid:1;
9944 bool mQoPVerticalAccuracyValid:1;
9945 bool mQoPMaxLocationAgeValid:1;
9946 bool mQoPDelayValid:1;
9947
9948 // Padding out 18 bits
9949 UINT8 mReserved1:2;
9950 UINT8 mReserved2[2];
9951
9952 eQMIPDSPrivacyModes mPrivacy;
9953 UINT64 mINITHash;
9954 eQMIPDSSUPLModes mMode;
9955 UINT32 mSLPSessionID;
9956 UINT32 mSLPServerIPv4Port;
9957 UINT8 mSLPServerIPv4Address[4];
9958 UINT32 mSLPServerIPv6Port;
9959 UINT8 mSLPServerIPv6Address[16];
9960 UINT8 mSLPServerURLLength;
9961
9962 // This array must be the size specified by mSLPServerURLLength
9963 // char mSLPServerURLAddress[1];
9964 };
9965
9966 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2
9967 {
9968 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
9969 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
9970 UINT8 mRequestorIDLength;
9971
9972 // This array must be the size specified by mRequestorIDLength
9973 // UINT8 mRequestorID[1];
9974 };
9975
9976 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3
9977 {
9978 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
9979 UINT8 mClientNameLength;
9980
9981 // This array must be the size specified by mClientNameLength
9982 // UINT8 mClientName[1];
9983 };
9984
9985 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4
9986 {
9987 UINT8 mQoPHorizontalAccuracy;
9988 UINT8 mQoPVerticalAccuracy;
9989 UINT8 mQoPMaxLocationAge;
9990 UINT8 mQoPDelay;
9991 };
9992
9993 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt
9994 {
9995 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt1;
9996 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt2;
9997 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt3;
9998 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt4;
9999 };
10000
10001 // Structure to describe indication TLV 0x1A for PDS EventReport
10002 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1
10003 {
10004 bool mPrivacyValid:1;
10005 bool mInvokeIDValid:1;
10006 bool mNotificationTextValid:1;
10007 bool mClientAddressValid:1;
10008 bool mLocationTypeValid:1;
10009 bool mRequestorIDValid:1;
10010 bool mCodewordStringValid:1;
10011 bool mServiceTypeIDValid:1;
10012
10013 // Padding out 24 bits
10014 UINT8 mReserved1[3];
10015
10016 eQMIPDSPrivacyModes mPrivacy;
10017 UINT8 mInvokeID;
10018 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
10019 UINT8 mNotificationTextLength;
10020
10021 // This array must be the size specified by mNotificationTextLength
10022 // UINT8 mNotificationText[1];
10023 };
10024
10025 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2
10026 {
10027 UINT8 mClientAddressLength;
10028
10029 // This array must be the size specified by mClientAddressLength
10030 // char mClientAddress[1];
10031 };
10032
10033 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3
10034 {
10035 eQMIPDSUMTSCPLocationTypes mLocationType;
10036 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
10037 UINT8 mRequestorIDLength;
10038
10039 // This array must be the size specified by mRequestorIDLength
10040 // UINT8 mRequestorID[1];
10041 };
10042
10043 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4
10044 {
10045 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
10046 UINT8 mCodewordLength;
10047
10048 // This array must be the size specified by mCodewordLength
10049 // UINT8 mCodeword[1];
10050 };
10051
10052 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5
10053 {
10054 UINT8 mServiceTypeID;
10055 };
10056
10057 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt
10058 {
10059 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1;
10060 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2;
10061 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3;
10062 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4;
10063 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5;
10064 };
10065
10066 // Structure to describe indication TLV 0x1B for PDS EventReport
10067 struct sPDSEventReportIndication_CommEvents
10068 {
10069 eQMIPDSCommEventTypes mType;
10070 eQMIPDSCommEventProtocols mProtocolDataType;
10071 };
10072
10073 // Structure to describe indication TLV 0x1C for PDS EventReport
10074 struct sPDSEventReportIndication_PositionSource
10075 {
10076 bool mGPS:1;
10077 bool mCellID:1;
10078 bool mGlonass:1;
10079 bool mNetwork:1;
10080 bool mEPI:1;
10081
10082 // Padding out 27 bits
10083 UINT8 mReserved1:3;
10084 UINT8 mReserved2[3];
10085 };
10086
10087 // Structure to describe indication TLV 0x1D for PDS EventReport
10088 struct sPDSEventReportIndication_AccelerometerStreamingStatus
10089 {
10090 eQMIPDSStreamingStatus mAccelerometerStreamingStatus;
10091 };
10092
10093 // Structure to describe indication TLV 0x1E for PDS EventReport
10094 struct sPDSEventReportIndication_GyroStreamingStatus
10095 {
10096 eQMIPDSStreamingStatus mGyroStreamingStatus;
10097 };
10098
10099 // Structure to describe indication TLV 0x1F for PDS EventReport
10100 struct sPDSEventReportIndication_TimeSyncRequest
10101 {
10102 UINT32 mReferenceCounter;
10103 };
10104
10105 // Structure to describe indication TLV 0x20 for PDS EventReport
10106 struct sPDSEventReportIndication_PositionReliabilityCounter
10107 {
10108 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
10109 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
10110 };
10111
10112 // Structure to describe indication TLV 0x21 for PDS EventReport
10113 struct sPDSEventReportIndication_SensorDataUsage
10114 {
10115 bool mAccelerometer:1;
10116 bool mGyro:1;
10117
10118 // Padding out 14 bits
10119 UINT8 mReserved1:6;
10120 UINT8 mReserved2;
10121
10122 bool mHeadingAidedWithSensorData:1;
10123 bool mSpeedAidedWithSensorData:1;
10124 bool mPositionAidedWithSensorData:1;
10125 bool mVelocityAidedWithSensorData:1;
10126
10127 // Padding out 12 bits
10128 UINT8 mReserved3:4;
10129 UINT8 mReserved4;
10130 };
10131
10132 // Structure to describe indication TLV 0x22 for PDS EventReport
10133 struct sPDSEventReportIndication_TimeSourceInformation
10134 {
10135 INT8 mTimeValid;
10136 eQMIPDSTimeSource mTimeSource;
10137 UINT32 mTimeUncertaintyMilliseconds;
10138 UINT16 mGPSWeekNumber;
10139 UINT32 mGPSTimeOfWeekMilliseconds;
10140 UINT32 mReserved1;
10141 UINT32 mReserved2;
10142 UINT32 mReserved3;
10143 UINT32 mReserved4;
10144 UINT32 mReserved5;
10145 };
10146
10147 // Structure to describe indication TLV 0x23 for PDS EventReport
10148 struct sPDSEventReportIndication_EncryptedPositionInformation
10149 {
10150 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
10151 UINT8 mEncryptionDataLength;
10152
10153 // This array must be the size specified by mEncryptionDataLength
10154 // UINT8 mEncryptionData[1];
10155 };
10156
10157 // Structure to describe indication TLV 0x24 for PDS EventReport
10158 struct sPDSEventReportIndication_HeadingUncertaintyInformation
10159 {
10160 float mHeadingUncertainty;
10161 float mGNSSHeadingUncertainty;
10162 UINT32 mReserved1;
10163 UINT32 mReserved2;
10164 };
10165
10166 // Structure to describe indication TLV 0x25 for PDS EventReport
10167 struct sPDSEventReportIndication_ProprietaryNMEADebugSentences
10168 {
10169 // String is variable length, but must be size of the container
10170 // char mNMEADebug[1];
10171 };
10172
10173 // Structure to describe indication TLV 0x26 for PDS EventReport
10174 struct sPDSEventReportIndication_ExtendedExternalXTRADatabaseRequest
10175 {
10176 UINT32 mMaximumFileSize;
10177 UINT8 mURLCount;
10178 UINT8 mURLLength;
10179
10180 // This array must be the size specified by mURLLength
10181 // char mURL[1];
10182 };
10183
10184 // Structure to describe response TLV 0x01 for PDSGetServiceState()
10185 struct sPDSGetServiceStateResponse_State
10186 {
10187 INT8 mServiceEnabled;
10188 eQMIPDSTrackingSessionStates mTrackingSessionState;
10189 };
10190
10191 // Structure to describe indication TLV 0x01 for PDS ServiceStateIndication
10192 struct sPDSServiceStateIndication_State
10193 {
10194 INT8 mServiceEnabled;
10195 eQMIPDSTrackingSessionStates mTrackingSessionState;
10196 };
10197
10198 // Structure to describe request TLV 0x01 for PDSSetServiceState()
10199 struct sPDSSetServiceStateRequest_State
10200 {
10201 INT8 mServiceEnabled;
10202 };
10203
10204 // Structure to describe request TLV 0x01 for PDSStartTrackingSession()
10205 struct sPDSStartTrackingSessionRequest_Session
10206 {
10207 eQMIPDSSessionControlTypes mSessionControl;
10208 eQMIPDSSessionTypes mSessionType;
10209 eQMIPDSOperationTypes mSessionOperation;
10210 eQMIPDSServerOptions mServerOption;
10211 UINT8 mTimeoutSeconds;
10212 UINT32 mSessionFixRequests;
10213 UINT32 mFixRequestIntervalSeconds;
10214 UINT32 mDesiredAccuracyMeters;
10215 };
10216
10217 // Structure to describe response TLV 0x01 for PDSGetTrackingSessionInfo()
10218 struct sPDSGetTrackingSessionInfoResponse_Info
10219 {
10220 eQMIPDSSessionControlTypes mSessionControl;
10221 eQMIPDSSessionTypes mSessionType;
10222 eQMIPDSOperationTypes mSessionOperation;
10223 eQMIPDSServerOptions mServerOption;
10224 UINT8 mTimeoutSeconds;
10225 UINT32 mSessionFixRequests;
10226 UINT32 mFixRequestIntervalSeconds;
10227 UINT32 mDesiredAccuracyMeters;
10228 };
10229
10230 // Structure to describe response TLV 0x01 for PDSGetNMEAConfig()
10231 struct sPDSGetNMEAConfigResponse_Config
10232 {
10233 bool mGPGGANMEASentences:1;
10234 bool mGPRMCNMEASentences:1;
10235 bool mGPGSVNMEASentences:1;
10236 bool mGPGSANMEASentences:1;
10237 bool mGPVTGNMEASentences:1;
10238 bool mGLGSVNMEASentences:1;
10239 bool mGNGSANMEASentences:1;
10240 bool mGNGNSNMEASentences:1;
10241 eQMIPDSOutputDevices mOutputDevice;
10242 eQMIPDSNMEAReportingOptions mNMEAReporting;
10243 };
10244
10245 // Structure to describe response TLV 0x10 for PDSGetNMEAConfig()
10246 struct sPDSGetNMEAConfigResponse_AdditionalConfig
10247 {
10248 bool mPQXFI:1;
10249 bool mPSTIS:1;
10250
10251 // Padding out 14 bits
10252 UINT8 mReserved1:6;
10253 UINT8 mReserved2;
10254 };
10255
10256 // Structure to describe request TLV 0x01 for PDSSetNMEAConfig()
10257 struct sPDSSetNMEAConfigRequest_Config
10258 {
10259 bool mGPGGANMEASentences:1;
10260 bool mGPRMCNMEASentences:1;
10261 bool mGPGSVNMEASentences:1;
10262 bool mGPGSANMEASentences:1;
10263 bool mGPVTGNMEASentences:1;
10264 bool mGLGSVNMEASentences:1;
10265 bool mGNGSANMEASentences:1;
10266 bool mGNGNSNMEASentences:1;
10267 eQMIPDSOutputDevices mOutputDevice;
10268 eQMIPDSNMEAReportingOptions mNMEAReporting;
10269 };
10270
10271 // Structure to describe request TLV 0x10 for PDSSetNMEAConfig()
10272 struct sPDSSetNMEAConfigRequest_AdditionalConfig
10273 {
10274 bool mPQXFI:1;
10275 bool mPSTIS:1;
10276
10277 // Padding out 14 bits
10278 UINT8 mReserved1:6;
10279 UINT8 mReserved2;
10280 };
10281
10282 // Structure to describe request TLV 0x01 for PDSInjectTimeReference()
10283 struct sPDSInjectTimeReferenceRequest_Time
10284 {
10285 UINT64 mSystemTimeMilliseconds;
10286 UINT16 mSystemDiscontinuties;
10287 };
10288
10289 // Structure to describe response TLV 0x01 for PDSGetDefaults()
10290 struct sPDSGetDefaultsResponse_Defaults
10291 {
10292 eQMIPDSOperationTypes mSessionOperation;
10293 UINT8 mTimeoutSeconds;
10294 UINT32 mFixRequestIntervalSeconds;
10295 UINT32 mDesiredAccuracyMeters;
10296 };
10297
10298 // Structure to describe request TLV 0x01 for PDSSetDefaults()
10299 struct sPDSSetDefaultsRequest_Defaults
10300 {
10301 eQMIPDSOperationTypes mSessionOperation;
10302 UINT8 mTimeoutSeconds;
10303 UINT32 mFixRequestIntervalSeconds;
10304 UINT32 mDesiredAccuracyMeters;
10305 };
10306
10307 // Structure to describe response TLV 0x10 for PDSGetXTRAParameters()
10308 struct sPDSGetXTRAParametersResponse_Automatic
10309 {
10310 INT8 mAutomaticDownloadEnabled;
10311 UINT16 mDownloadIntervalInHours;
10312 };
10313
10314 // Structure to describe response TLV 0x11 for PDSGetXTRAParameters()
10315 struct sPDSGetXTRAParametersResponse_Medium
10316 {
10317 UINT8 mMediumPreferences;
10318
10319 // This array must be the size specified by mMediumPreferences
10320 // eQMIPDSMediums mMediumPreference[1];
10321 };
10322
10323 // Structure to describe response TLV 0x12 for PDSGetXTRAParameters()
10324 struct sPDSGetXTRAParametersResponse_Network
10325 {
10326 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
10327 };
10328
10329 // Structure to describe response TLV 0x13 for PDSGetXTRAParameters()
10330 struct sPDSGetXTRAParametersResponse_Validity
10331 {
10332 UINT16 mValidPeriodGPSStartWeek;
10333 UINT16 mValidPeriodGPSStartWeekOffsetInMinutes;
10334 UINT16 mValidPeriodDurationInHours;
10335 };
10336
10337 // Structure to describe response TLV 0x14 for PDSGetXTRAParameters()
10338 struct sPDSGetXTRAParametersResponse_Embedded
10339 {
10340 INT8 mEmbeddedXTRADataClientEnabled;
10341 INT8 mEmbeddedXTRATimeClientEnabled;
10342 };
10343
10344 // Structure to describe request TLV 0x10 for PDSSetXTRAParameters()
10345 struct sPDSSetXTRAParametersRequest_Automatic
10346 {
10347 INT8 mAutomaticDownloadEnabled;
10348 UINT16 mDownloadIntervalInHours;
10349 };
10350
10351 // Structure to describe request TLV 0x11 for PDSSetXTRAParameters()
10352 struct sPDSSetXTRAParametersRequest_Medium
10353 {
10354 UINT8 mMediumPreferences;
10355
10356 // This array must be the size specified by mMediumPreferences
10357 // eQMIPDSMediums mMediumPreference[1];
10358 };
10359
10360 // Structure to describe request TLV 0x12 for PDSSetXTRAParameters()
10361 struct sPDSSetXTRAParametersRequest_Network
10362 {
10363 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
10364 };
10365
10366 // Structure to describe request TLV 0x14 for PDSSetXTRAParameters()
10367 struct sPDSSetXTRAParametersRequest_Embedded
10368 {
10369 INT8 mEmbeddedXTRADataClientEnabled;
10370 INT8 mEmbeddedXTRATimeClientEnabled;
10371 };
10372
10373 // Structure to describe request TLV 0x12 for PDSGetAGPSConfig()
10374 struct sPDSGetAGPSConfigRequest_NetworkMode
10375 {
10376 eQMIPDSNetworkMode mNetworkMode;
10377 };
10378
10379 // Structure to describe response TLV 0x10 for PDSGetAGPSConfig()
10380 struct sPDSGetAGPSConfigResponse_ServerAddress
10381 {
10382 UINT8 mServerAddress[4];
10383 UINT32 mServerPort;
10384 };
10385
10386 // Structure to describe response TLV 0x11 for PDSGetAGPSConfig()
10387 struct sPDSGetAGPSConfigResponse_ServerURL
10388 {
10389 UINT8 mURLLength;
10390
10391 // This array must be the size specified by mURLLength
10392 // char mURL[1];
10393 };
10394
10395 // Structure to describe request TLV 0x10 for PDSSetAGPSConfig()
10396 struct sPDSSetAGPSConfigRequest_Server
10397 {
10398 UINT8 mServerAddress[4];
10399 UINT32 mServerPort;
10400 };
10401
10402 // Structure to describe request TLV 0x11 for PDSSetAGPSConfig()
10403 struct sPDSSetAGPSConfigRequest_ServerURL
10404 {
10405 UINT8 mURLLength;
10406
10407 // This array must be the size specified by mURLLength
10408 // char mURL[1];
10409 };
10410
10411 // Structure to describe request TLV 0x12 for PDSSetAGPSConfig()
10412 struct sPDSSetAGPSConfigRequest_NetworkMode
10413 {
10414 eQMIPDSNetworkMode mNetworkMode;
10415 };
10416
10417 // Structure to describe response TLV 0x01 for PDSGetServiceAutoTrackingState()
10418 struct sPDSGetServiceAutoTrackingStateResponse_State
10419 {
10420 INT8 mAutoTrackingEnabled;
10421 };
10422
10423 // Structure to describe request TLV 0x01 for PDSSetServiceAutoTrackingState()
10424 struct sPDSSetServiceAutoTrackingStateRequest_State
10425 {
10426 INT8 mAutoTrackingEnabled;
10427 };
10428
10429 // Structure to describe response TLV 0x01 for PDSGetCOMPortAutoTrackingConfig()
10430 struct sPDSGetCOMPortAutoTrackingConfigResponse_Config
10431 {
10432 INT8 mAutoTrackingEnabled;
10433 };
10434
10435 // Structure to describe request TLV 0x01 for PDSSetCOMPortAutoTrackingConfig()
10436 struct sPDSSetCOMPortAutoTrackingConfigRequest_Config
10437 {
10438 INT8 mAutoTrackingEnabled;
10439 };
10440
10441 // Structure to describe request TLV 0x10 for PDSResetPDSData()
10442 struct sPDSResetPDSDataRequest_GPSData
10443 {
10444 bool mResetEPH:1;
10445 bool mResetALM:1;
10446 bool mResetPOS:1;
10447 bool mResetTIME:1;
10448 bool mResetIONO:1;
10449 bool mResetUTC:1;
10450 bool mResetHEALTH:1;
10451 bool mResetSVDIR:1;
10452 bool mResetSVSTEER:1;
10453 bool mResetSADATA:1;
10454 bool mResetRTI:1;
10455 bool mResetALMCORR:1;
10456 bool mResetFREQBIASEST:1;
10457
10458 // Padding out 19 bits
10459 UINT8 mReserved1:3;
10460 UINT8 mReserved2[2];
10461 };
10462
10463 // Structure to describe request TLV 0x11 for PDSResetPDSData()
10464 struct sPDSResetPDSDataRequest_CellData
10465 {
10466 bool mResetPOS:1;
10467 bool mResetLATESTGPSPOS:1;
10468 bool mResetOTAPOS:1;
10469 bool mResetEXTREFPOS:1;
10470 bool mResetTIMETAG:1;
10471 bool mResetCELLID:1;
10472 bool mResetCACHEDCELLID:1;
10473 bool mResetLASTSRVCELL:1;
10474 bool mResetCURSRVCELL:1;
10475 bool mResetNEIGHBORINFO:1;
10476
10477 // Padding out 22 bits
10478 UINT8 mReserved1:6;
10479 UINT8 mReserved2[2];
10480 };
10481
10482 // Structure to describe request TLV 0x10 for PDSSinglePositionFix()
10483 struct sPDSSinglePositionFixRequest_Mode
10484 {
10485 eQMIPDSOperationTypes mSessionOperation;
10486 };
10487
10488 // Structure to describe request TLV 0x11 for PDSSinglePositionFix()
10489 struct sPDSSinglePositionFixRequest_Timeout
10490 {
10491 UINT8 mTimeoutSeconds;
10492 };
10493
10494 // Structure to describe request TLV 0x12 for PDSSinglePositionFix()
10495 struct sPDSSinglePositionFixRequest_Accuracy
10496 {
10497 UINT32 mDesiredAccuracyMeters;
10498 };
10499
10500 // Structure to describe response TLV 0x01 for PDSGetServiceVersion()
10501 struct sPDSGetServiceVersionResponse_Version
10502 {
10503 UINT8 mServiceMajorVersion;
10504 UINT8 mServiceMinorVersion;
10505 };
10506
10507 // Structure to describe request TLV 0x01 for PDSInjectXTRAData()
10508 struct sPDSInjectXTRADataRequest_Data
10509 {
10510 UINT8 mSequenceNumber;
10511 UINT16 mTotalLength;
10512 UINT16 mSequenceLength;
10513
10514 // This array must be the size specified by mSequenceLength
10515 // UINT8 mData[1];
10516 };
10517
10518 // Structure to describe request TLV 0x10 for PDSInjectPositionData()
10519 struct sPDSInjectPositionDataRequest_Timestamp
10520 {
10521 UINT64 mUTCTimestamp;
10522 };
10523
10524 // Structure to describe request TLV 0x11 for PDSInjectPositionData()
10525 struct sPDSInjectPositionDataRequest_Latitude
10526 {
10527 double mLatitude;
10528 };
10529
10530 // Structure to describe request TLV 0x12 for PDSInjectPositionData()
10531 struct sPDSInjectPositionDataRequest_Longitude
10532 {
10533 double mLongitude;
10534 };
10535
10536 // Structure to describe request TLV 0x13 for PDSInjectPositionData()
10537 struct sPDSInjectPositionDataRequest_AltitudeEllipsoid
10538 {
10539 float mEllipsoidAltitude;
10540 };
10541
10542 // Structure to describe request TLV 0x14 for PDSInjectPositionData()
10543 struct sPDSInjectPositionDataRequest_AltitudeSeaLevel
10544 {
10545 float mMeanSeaLevelAltitude;
10546 };
10547
10548 // Structure to describe request TLV 0x15 for PDSInjectPositionData()
10549 struct sPDSInjectPositionDataRequest_HorizontalUncertainty
10550 {
10551 float mHorizontalUncertaintyCircular;
10552 };
10553
10554 // Structure to describe request TLV 0x16 for PDSInjectPositionData()
10555 struct sPDSInjectPositionDataRequest_VerticalUncertainty
10556 {
10557 float mVerticalUncertainty;
10558 };
10559
10560 // Structure to describe request TLV 0x17 for PDSInjectPositionData()
10561 struct sPDSInjectPositionDataRequest_HorizontalConfidence
10562 {
10563 UINT8 mHorizontalConfidence;
10564 };
10565
10566 // Structure to describe request TLV 0x18 for PDSInjectPositionData()
10567 struct sPDSInjectPositionDataRequest_VerticalConfidence
10568 {
10569 UINT8 mVerticalConfidence;
10570 };
10571
10572 // Structure to describe request TLV 0x19 for PDSInjectPositionData()
10573 struct sPDSInjectPositionDataRequest_Source
10574 {
10575 eQMIPDSInjectedPositionSources mSource;
10576 };
10577
10578 // Structure to describe request TLV 0x1A for PDSInjectPositionData()
10579 struct sPDSInjectPositionDataRequest_TimeType
10580 {
10581 eQMIPDSTimeType mTimeType;
10582 };
10583
10584 // Structure to describe request TLV 0x1B for PDSInjectPositionData()
10585 struct sPDSInjectPositionDataRequest_PositionReliability
10586 {
10587 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
10588 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
10589 };
10590
10591 // Structure to describe request TLV 0x1C for PDSInjectPositionData()
10592 struct sPDSInjectPositionDataRequest_AltitudeInformation
10593 {
10594 eQMIPDSAltitudeSource mAltitudeSource;
10595 eQMIPDSSourceLinkage mSourceLinkage;
10596 eQMIPDSUncertaintyCoverage mUncertaintyCoverage;
10597 };
10598
10599 // Structure to describe request TLV 0x10 for PDSInjectWiFiPositionData()
10600 struct sPDSInjectWiFiPositionDataRequest_Time
10601 {
10602 UINT32 mWiFiTimeCounterMilliseconds;
10603 };
10604
10605 // Structure to describe request TLV 0x11 for PDSInjectWiFiPositionData()
10606 struct sPDSInjectWiFiPositionDataRequest_Position
10607 {
10608 INT32 mWiFiLatitude;
10609 INT32 mWiFiLongitude;
10610 UINT16 mHEPEInMeters;
10611 UINT8 mAPCount;
10612 UINT8 mErrorCode;
10613 };
10614
10615 // Structure to describe request TLV 0x12 for PDSInjectWiFiPositionData()
10616 struct sPDSInjectWiFiPositionDataRequest_APInfo
10617 {
10618 UINT8 mAPCount;
10619
10620 struct sAP
10621 {
10622 UINT8 mMACAddress[6];
10623 UINT32 mRSSI;
10624 UINT16 mBeaconChannel;
10625 bool mUsedForPosition:1;
10626 bool mHiddenSSID:1;
10627 bool mEncryptionOn:1;
10628 bool mInfrastructureMode:1;
10629
10630 // Padding out 4 bits
10631 UINT8 mReserved1:4;
10632 };
10633
10634 // This array must be the size specified by mAPCount
10635 // sAP mAPs[1];
10636 };
10637
10638 // Structure to describe request TLV 0x13 for PDSInjectWiFiPositionData()
10639 struct sPDSInjectWiFiPositionDataRequest_PositionReliability
10640 {
10641 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
10642 };
10643
10644 // Structure to describe response TLV 0x10 for PDSGetSBASConfig()
10645 struct sPDSGetSBASConfigResponse_Config
10646 {
10647 eQMIPDSSBASStates mState;
10648 };
10649
10650 // Structure to describe request TLV 0x10 for PDSSetSBASConfig()
10651 struct sPDSSetSBASConfigRequest_Config
10652 {
10653 INT8 mEnableSBAS;
10654 };
10655
10656 // Structure to describe request TLV 0x01 for PDSSendNetworkInitiatedResponse()
10657 struct sPDSSendNetworkInitiatedResponseRequest_Action
10658 {
10659 INT8 mAllowRequest;
10660 };
10661
10662 // Structure to describe request TLV 0x10 for PDSSendNetworkInitiatedResponse()
10663 struct sPDSSendNetworkInitiatedResponseRequest_VX
10664 {
10665 bool mPrivacyValid:1;
10666 bool mQoSValid:1;
10667 bool mCountValid:1;
10668 bool mIntervalValid:1;
10669 bool mModeValid:1;
10670 bool mRequestorIDValid:1;
10671
10672 // Padding out 26 bits
10673 UINT8 mReserved1:2;
10674 UINT8 mReserved2[3];
10675
10676 eQMIPDSPrivacyModes mPrivacy;
10677 UINT8 mQoS;
10678 UINT32 mPositionCount;
10679 UINT32 mIntervalBetweenFixesSeconds;
10680 eQMIPDSVXModes mMode;
10681 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
10682 UINT8 mRequestorIDLength;
10683
10684 // This array must be the size specified by mRequestorIDLength
10685 // UINT8 mRequestorID[1];
10686 };
10687
10688 // Structure to describe request TLV 0x11 for PDSSendNetworkInitiatedResponse()
10689 struct sPDSSendNetworkInitiatedResponseRequest_SUPL1
10690 {
10691 bool mPrivacyValid:1;
10692 bool mINITHashValid:1;
10693 bool mModeValid:1;
10694 bool mSLPSessionIDValid:1;
10695 bool mSLPServerIPv4AddressValid:1;
10696 bool mSLPServerIPv6AddressValid:1;
10697 bool mSLPServerURLAddressValid:1;
10698 bool mDCSValid:1;
10699 bool mRequestorIDValid:1;
10700 bool mClientNameValid:1;
10701 bool mQoPHorizontalAccuracyValid:1;
10702 bool mQoPVerticalAccuracyValid:1;
10703 bool mQoPMaxLocationAgeValid:1;
10704 bool mQoPDelayValid:1;
10705
10706 // Padding out 18 bits
10707 UINT8 mReserved1:2;
10708 UINT8 mReserved2[2];
10709
10710 eQMIPDSPrivacyModes mPrivacy;
10711 UINT64 mINITHash;
10712 eQMIPDSSUPLModes mMode;
10713 UINT32 mSLPSessionID;
10714 UINT32 mSLPServerIPv4Port;
10715 UINT8 mSLPServerIPv4Address[4];
10716 UINT32 mSLPServerIPv6Port;
10717 UINT8 mSLPServerIPv6Address[16];
10718 UINT8 mSLPServerURLLength;
10719
10720 // This array must be the size specified by mSLPServerURLLength
10721 // char mSLPServerURLAddress[1];
10722 };
10723
10724 struct sPDSSendNetworkInitiatedResponseRequest_SUPL2
10725 {
10726 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
10727 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
10728 UINT8 mRequestorIDLength;
10729
10730 // This array must be the size specified by mRequestorIDLength
10731 // UINT8 mRequestorID[1];
10732 };
10733
10734 struct sPDSSendNetworkInitiatedResponseRequest_SUPL3
10735 {
10736 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
10737 UINT8 mClientNameLength;
10738
10739 // This array must be the size specified by mClientNameLength
10740 // UINT8 mClientName[1];
10741 };
10742
10743 struct sPDSSendNetworkInitiatedResponseRequest_SUPL4
10744 {
10745 UINT8 mQoPHorizontalAccuracy;
10746 UINT8 mQoPVerticalAccuracy;
10747 UINT8 mQoPMaxLocationAge;
10748 UINT8 mQoPDelay;
10749 };
10750
10751 struct sPDSSendNetworkInitiatedResponseRequest_SUPL
10752 {
10753 sPDSSendNetworkInitiatedResponseRequest_SUPL1 mPDSSendNetworkInitiatedResponseRequest_SUPL1;
10754 sPDSSendNetworkInitiatedResponseRequest_SUPL2 mPDSSendNetworkInitiatedResponseRequest_SUPL2;
10755 sPDSSendNetworkInitiatedResponseRequest_SUPL3 mPDSSendNetworkInitiatedResponseRequest_SUPL3;
10756 sPDSSendNetworkInitiatedResponseRequest_SUPL4 mPDSSendNetworkInitiatedResponseRequest_SUPL4;
10757 };
10758
10759 // Structure to describe request TLV 0x12 for PDSSendNetworkInitiatedResponse()
10760 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP1
10761 {
10762 bool mPrivacyValid:1;
10763 bool mInvokeIDValid:1;
10764 bool mNotificationTextValid:1;
10765 bool mClientAddressValid:1;
10766 bool mLocationTypeValid:1;
10767 bool mRequestorIDValid:1;
10768 bool mCodewordStringValid:1;
10769 bool mServiceTypeIDValid:1;
10770
10771 // Padding out 24 bits
10772 UINT8 mReserved1[3];
10773
10774 eQMIPDSPrivacyModes mPrivacy;
10775 UINT8 mInvokeID;
10776 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
10777 UINT8 mNotificationTextLength;
10778
10779 // This array must be the size specified by mNotificationTextLength
10780 // UINT8 mNotificationText[1];
10781 };
10782
10783 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP2
10784 {
10785 UINT8 mClientAddressLength;
10786
10787 // This array must be the size specified by mClientAddressLength
10788 // char mClientAddress[1];
10789 };
10790
10791 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP3
10792 {
10793 eQMIPDSUMTSCPLocationTypes mLocationType;
10794 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
10795 UINT8 mRequestorIDLength;
10796
10797 // This array must be the size specified by mRequestorIDLength
10798 // UINT8 mRequestorID[1];
10799 };
10800
10801 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP4
10802 {
10803 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
10804 UINT8 mCodewordLength;
10805
10806 // This array must be the size specified by mCodewordLength
10807 // UINT8 mCodeword[1];
10808 };
10809
10810 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP5
10811 {
10812 UINT8 mServiceTypeID;
10813 };
10814
10815 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP
10816 {
10817 sPDSSendNetworkInitiatedResponseRequest_UMTSCP1 mPDSSendNetworkInitiatedResponseRequest_UMTSCP1;
10818 sPDSSendNetworkInitiatedResponseRequest_UMTSCP2 mPDSSendNetworkInitiatedResponseRequest_UMTSCP2;
10819 sPDSSendNetworkInitiatedResponseRequest_UMTSCP3 mPDSSendNetworkInitiatedResponseRequest_UMTSCP3;
10820 sPDSSendNetworkInitiatedResponseRequest_UMTSCP4 mPDSSendNetworkInitiatedResponseRequest_UMTSCP4;
10821 sPDSSendNetworkInitiatedResponseRequest_UMTSCP5 mPDSSendNetworkInitiatedResponseRequest_UMTSCP5;
10822 };
10823
10824 // Structure to describe request TLV 0x01 for PDSInjectAbsoluteTime()
10825 struct sPDSInjectAbsoluteTimeRequest_Time
10826 {
10827 UINT64 mTimestampMilliseconds;
10828 UINT32 mTimeUncertaintyMilliseconds;
10829 eQMIPDSTimeBases mTimeBase;
10830 INT8 mForceAcceptance;
10831 };
10832
10833 // Structure to describe request TLV 0x01 for PDSInjectEFSData()
10834 struct sPDSInjectEFSDataRequest_DateFile1
10835 {
10836 UINT8 mFilenameLength;
10837
10838 // This array must be the size specified by mFilenameLength
10839 // char mFilename[1];
10840 };
10841
10842 struct sPDSInjectEFSDataRequest_DateFile2
10843 {
10844 eQMIPDSEFSFileOperations mFileOperation;
10845 UINT32 mDataLength;
10846 UINT8 mPartNumber;
10847 UINT8 mTotalParts;
10848
10849 // This array must be the size specified by mDataLength
10850 // UINT8 mData[1];
10851 };
10852
10853 struct sPDSInjectEFSDataRequest_DateFile
10854 {
10855 sPDSInjectEFSDataRequest_DateFile1 mPDSInjectEFSDataRequest_DateFile1;
10856 sPDSInjectEFSDataRequest_DateFile2 mPDSInjectEFSDataRequest_DateFile2;
10857 };
10858
10859 // Structure to describe response TLV 0x10 for PDSGetDPOConfig()
10860 struct sPDSGetDPOConfigResponse_Config
10861 {
10862 INT8 mDataPowerOptimizationEnabled;
10863 };
10864
10865 // Structure to describe request TLV 0x10 for PDSSetDPOConfig()
10866 struct sPDSSetDPOConfigRequest_Config
10867 {
10868 eQMIPDSConfig mConfiguration;
10869 };
10870
10871 // Structure to describe response TLV 0x10 for PDSGetODPConfig()
10872 struct sPDSGetODPConfigResponse_Config
10873 {
10874 eQMIPDSODPStates mOnDemandPositioning;
10875 };
10876
10877 // Structure to describe request TLV 0x10 for PDSSetODPConfig()
10878 struct sPDSSetODPConfigRequest_Config
10879 {
10880 eQMIPDSODPStates mOnDemandPositioning;
10881 };
10882
10883 // Structure to describe response TLV 0x10 for PDSGetGPSState()
10884 struct sPDSGetGPSStateResponse_State
10885 {
10886 INT8 mEngineEnabled;
10887 bool mPositionValid:1;
10888 bool mAltitudeVerticalUncertaintyValid:1;
10889 bool mTimeMillisecondsValid:1;
10890 bool mTimeWeekNumberValid:1;
10891 bool mTimeUncertaintyValid:1;
10892 bool mIonoValid:1;
10893 bool mGPSEphemerisValid:1;
10894 bool mGPSAlmanacValid:1;
10895 bool mGPSHealthValid:1;
10896 bool mGPSVisibleSVsValid:1;
10897 bool mGlonassEphemerisValid:1;
10898 bool mGlonassAlmanacValid:1;
10899 bool mGlonassHealthValid:1;
10900 bool mGlonassVisibleSVsValid:1;
10901 bool mSBASEphemerisValid:1;
10902 bool mSBASAlmanacValid:1;
10903 bool mSBASHealthValid:1;
10904 bool mSBASVisibleSVsValid:1;
10905 bool mXTRAInformationValid:1;
10906
10907 // Padding out 5 bits
10908 UINT8 mReserved1:5;
10909
10910 double mLatitude;
10911 double mLongitude;
10912 float mHorizontalUncertaintyCircular;
10913 float mEllipsoidAltitude;
10914 float mVerticalUncertainty;
10915 UINT32 mTimestampInTOWMilliseconds;
10916 UINT16 mGPSWeekNumber;
10917 UINT32 mTimeUncertaintyMilliseconds;
10918 INT8 mIonoIsValid;
10919 UINT32 mGPSEphemerisSVMask;
10920 UINT32 mGPSAlmanacSVMask;
10921 UINT32 mGPSHealthSVMask;
10922 UINT32 mGPSVisibleSVMask;
10923 UINT32 mGlonassEphemerisSVMask;
10924 UINT32 mGlonassAlmanacSVMask;
10925 UINT32 mGlonassHealthSVMask;
10926 UINT32 mGlonassVisibleSVMask;
10927 UINT32 mSBASEphemerisSVMask;
10928 UINT32 mSBASAlmanacSVMask;
10929 UINT32 mSBASHealthSVMask;
10930 UINT32 mSBASVisibleSVMask;
10931 UINT16 mXTRAGPSStartWeek;
10932 UINT16 mXTRAGPSStartMinutes;
10933 INT32 mElevation;
10934 };
10935
10936 // Structure to describe request TLV 0x01 for PDSSetPPMEventReport()
10937 struct sPDSSetPPMEventReportRequest_ReportPPMEvents
10938 {
10939 INT8 mReportPPMEvents;
10940 };
10941
10942 // Structure to describe request TLV 0x01 for PDSSetSPIStreamingReport()
10943 struct sPDSSetSPIStreamingReportRequest_ReportEvents
10944 {
10945 INT8 mReportSPIEvents;
10946 };
10947
10948 // Structure to describe indication TLV 0x10 for PDS SetSPIStreamingReportIndication
10949 struct sPDSSetSPIStreamingReportIndication_SPIStreamingRequest
10950 {
10951 INT8 mStreamSPIStatus;
10952 };
10953
10954 // Structure to describe request TLV 0x01 for PDSSetSPIStatus()
10955 struct sPDSSetSPIStatusRequest_Status
10956 {
10957 eQMIPDSSPIState mSPIState;
10958 UINT8 mSPIConfidence;
10959 };
10960
10961 // Structure to describe request TLV 0x01 for PDSSetPPMReportingState()
10962 struct sPDSSetPPMReportingStateRequest_PPMReportingState
10963 {
10964 eQMIPDSReportingState mReportingState;
10965 UINT16 mReportingPeriodSeconds;
10966 };
10967
10968 // Structure to describe indication TLV 0x10 for PDS SetPPMReportingStateIndication
10969 struct sPDSSetPPMReportingStateIndication_PPMPageReport
10970 {
10971 UINT32 mPageTimeMilliseconds;
10972 UINT16 mPagePNOffset;
10973 UINT8 mPageBandClass;
10974 UINT16 mPageCDMAFrequency;
10975 UINT16 mPageBaseID;
10976 UINT16 mPageSystemID;
10977 UINT16 mPageNetworkID;
10978 };
10979
10980 // Structure to describe indication TLV 0x11 for PDS SetPPMReportingStateIndication
10981 struct sPDSSetPPMReportingStateIndication_PPMMeasurementReport
10982 {
10983 UINT32 mReferenceTimeMilliseconds;
10984 UINT8 mReferenceBandClass;
10985 UINT16 mReferenceCDMAFrequency;
10986 UINT8 mReferenceTotalRXPower;
10987 UINT16 mReferencePNOffset;
10988 UINT8 mReferenceStrength;
10989 UINT8 mReferenceRMSErrorPhase;
10990 UINT8 mNumberOfPilots;
10991
10992 struct sPilot
10993 {
10994 UINT16 mPilotPNOffset;
10995 UINT8 mPilotStrength;
10996 UINT8 mPilotRMSErrorPhase;
10997 INT16 mPilotPhase;
10998 };
10999
11000 // This array must be the size specified by mNumberOfPilots
11001 // sPilot mPilots[1];
11002 };
11003
11004 // Structure to describe indication TLV 0x12 for PDS SetPPMReportingStateIndication
11005 struct sPDSSetPPMReportingStateIndication_PPMSuspendReason
11006 {
11007 eQMIPDSSuspendReason mSuspendReason;
11008 };
11009
11010 // Structure to describe indication TLV 0x13 for PDS SetPPMReportingStateIndication
11011 struct sPDSSetPPMReportingStateIndication_PPMStopReason
11012 {
11013 eQMIPDSStopReason mStopReason;
11014 };
11015
11016 // Structure to describe request TLV 0x01 for PDSForceReceiverOff()
11017 struct sPDSForceReceiverOffRequest_ForceReceiverOff
11018 {
11019 eQMIPDSForceReceiverOff mForceReceiverOff;
11020 };
11021
11022 // Structure to describe response TLV 0x10 for PDSGetPositionMethodsState()
11023 struct sPDSGetPositionMethodsStateResponse_XTRATime
11024 {
11025 eQMIPDSMethodStates mMethodState;
11026 };
11027
11028 // Structure to describe response TLV 0x11 for PDSGetPositionMethodsState()
11029 struct sPDSGetPositionMethodsStateResponse_XTRAData
11030 {
11031 eQMIPDSMethodStates mMethodState;
11032 };
11033
11034 // Structure to describe response TLV 0x12 for PDSGetPositionMethodsState()
11035 struct sPDSGetPositionMethodsStateResponse_WiFi
11036 {
11037 eQMIPDSMethodStates mMethodState;
11038 };
11039
11040 // Structure to describe request TLV 0x10 for PDSSetPositionMethodsState()
11041 struct sPDSSetPositionMethodsStateRequest_XTRATime
11042 {
11043 eQMIPDSMethodStates mMethodState;
11044 };
11045
11046 // Structure to describe request TLV 0x11 for PDSSetPositionMethodsState()
11047 struct sPDSSetPositionMethodsStateRequest_XTRAData
11048 {
11049 eQMIPDSMethodStates mMethodState;
11050 };
11051
11052 // Structure to describe request TLV 0x12 for PDSSetPositionMethodsState()
11053 struct sPDSSetPositionMethodsStateRequest_WiFi
11054 {
11055 eQMIPDSMethodStates mMethodState;
11056 };
11057
11058 // Structure to describe request TLV 0x10 for PDSInjectSensorData()
11059 struct sPDSInjectSensorDataRequest_3AxisAccelerometerData
11060 {
11061 UINT32 mSensorTimeOfFirstSampleMilliseconds;
11062 bool mSignReversalRequired:1;
11063
11064 // Padding out 7 bits
11065 UINT8 mReserved1:7;
11066
11067 UINT8 mNumberOfSamples;
11068
11069 struct sSample
11070 {
11071 UINT16 mSampleTimeOffsetMilliseconds;
11072 float mXAxisSample;
11073 float mYAxisSample;
11074 float mZAxisSample;
11075 };
11076
11077 // This array must be the size specified by mNumberOfSamples
11078 // sSample mSamples[1];
11079 };
11080
11081 // Structure to describe request TLV 0x11 for PDSInjectSensorData()
11082 struct sPDSInjectSensorDataRequest_3AxisGyroData
11083 {
11084 UINT32 mSensorTimeOfFirstSampleMilliseconds;
11085 bool mSignReversalRequired:1;
11086
11087 // Padding out 7 bits
11088 UINT8 mReserved1:7;
11089
11090 UINT8 mNumberOfSamples;
11091
11092 struct sSample
11093 {
11094 UINT16 mSampleTimeOffsetMilliseconds;
11095 float mXAxisSample;
11096 float mYAxisSample;
11097 float mZAxisSample;
11098 };
11099
11100 // This array must be the size specified by mNumberOfSamples
11101 // sSample mSamples[1];
11102 };
11103
11104 // Structure to describe response TLV 0x10 for PDSInjectSensorData()
11105 struct sPDSInjectSensorDataResponse_AccelerometerSampleSetCount
11106 {
11107 UINT8 mAccelerometerSampleSetCount;
11108 };
11109
11110 // Structure to describe response TLV 0x11 for PDSInjectSensorData()
11111 struct sPDSInjectSensorDataResponse_GyroSampleSetCount
11112 {
11113 UINT8 mGyroSampleSetCount;
11114 };
11115
11116 // Structure to describe request TLV 0x01 for PDSInjectTimeSyncData()
11117 struct sPDSInjectTimeSyncDataRequest_TimeTag
11118 {
11119 UINT32 mReferenceCounter;
11120 UINT32 mSensorProcessorRXTimeMilliseconds;
11121 UINT32 mSensorProcessorTXTimeMilliseconds;
11122 };
11123
11124 // Structure to describe response TLV 0x10 for PDSGetSensorConfig()
11125 struct sPDSGetSensorConfigResponse_CradleMountState
11126 {
11127 eQMIPDSCradleMountState mCradleMountState;
11128 UINT8 mCradleMountStateConfidence;
11129 };
11130
11131 // Structure to describe response TLV 0x11 for PDSGetSensorConfig()
11132 struct sPDSGetSensorConfigResponse_ExternalPowerSupplyState
11133 {
11134 eQMIPDSExternalPowerState mExternalPowerSupplyState;
11135 };
11136
11137 // Structure to describe request TLV 0x10 for PDSSetSensorConfig()
11138 struct sPDSSetSensorConfigRequest_CradleMountState
11139 {
11140 eQMIPDSCradleMountState mCradleMountState;
11141 UINT8 mCradleMountStateConfidence;
11142 };
11143
11144 // Structure to describe request TLV 0x11 for PDSSetSensorConfig()
11145 struct sPDSSetSensorConfigRequest_ExternalPowerState
11146 {
11147 eQMIPDSExternalPowerState mExternalPowerSupplyState;
11148 };
11149
11150 // Structure to describe response TLV 0x10 for PDSGetSensorNavigation()
11151 struct sPDSGetSensorNavigationResponse_GyroDataVariance
11152 {
11153 float mGyroDataVariance;
11154 };
11155
11156 // Structure to describe response TLV 0x11 for PDSGetSensorNavigation()
11157 struct sPDSGetSensorNavigationResponse_GyroBiasRandomWalk
11158 {
11159 float mGyroBiasRandomWalk;
11160 };
11161
11162 // Structure to describe response TLV 0x12 for PDSGetSensorNavigation()
11163 struct sPDSGetSensorNavigationResponse_VirtualGyroGravityAveragingLength
11164 {
11165 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
11166 };
11167
11168 // Structure to describe response TLV 0x13 for PDSGetSensorNavigation()
11169 struct sPDSGetSensorNavigationResponse_HeadingFilterMode
11170 {
11171 INT8 mHeadingFilterMode;
11172 };
11173
11174 // Structure to describe response TLV 0x14 for PDSGetSensorNavigation()
11175 struct sPDSGetSensorNavigationResponse_VelocityConstraintVariance
11176 {
11177 float mVelocityConstraintVariance;
11178 };
11179
11180 // Structure to describe response TLV 0x15 for PDSGetSensorNavigation()
11181 struct sPDSGetSensorNavigationResponse_PositioningMethod
11182 {
11183 bool mSuppressInjectedPosition:1;
11184 bool mReportUsingInstantaneousInformation:1;
11185
11186 // Padding out 30 bits
11187 UINT8 mReserved1:6;
11188 UINT8 mReserved2[3];
11189 };
11190
11191 // Structure to describe request TLV 0x10 for PDSSetNavigationConfig()
11192 struct sPDSSetNavigationConfigRequest_GyroDataVariance
11193 {
11194 float mGyroDataVariance;
11195 };
11196
11197 // Structure to describe request TLV 0x11 for PDSSetNavigationConfig()
11198 struct sPDSSetNavigationConfigRequest_GyroBiasRandomWalk
11199 {
11200 float mGyroBiasRandomWalk;
11201 };
11202
11203 // Structure to describe request TLV 0x12 for PDSSetNavigationConfig()
11204 struct sPDSSetNavigationConfigRequest_VirtualGyroCravityAveragingLength
11205 {
11206 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
11207 };
11208
11209 // Structure to describe request TLV 0x13 for PDSSetNavigationConfig()
11210 struct sPDSSetNavigationConfigRequest_HeadingFilterMode
11211 {
11212 INT8 mHeadingFilterMode;
11213 };
11214
11215 // Structure to describe request TLV 0x14 for PDSSetNavigationConfig()
11216 struct sPDSSetNavigationConfigRequest_VelocityConstraintVariance
11217 {
11218 float mVelocityConstraintVariance;
11219 };
11220
11221 // Structure to describe request TLV 0x15 for PDSSetNavigationConfig()
11222 struct sPDSSetNavigationConfigRequest_PositioningMethod
11223 {
11224 bool mSuppressInjectedPosition:1;
11225 bool mReportUsingInstantaneousInformation:1;
11226
11227 // Padding out 30 bits
11228 UINT8 mReserved1:6;
11229 UINT8 mReserved2[3];
11230 };
11231
11232 // Structure to describe request TLV 0x10 for PDSSetWLANBlanking()
11233 struct sPDSSetWLANBlankingRequest_BlankingEnable
11234 {
11235 eQMIPDSBlankingEnable mBlankingEnable;
11236 };
11237
11238 // Structure to describe request TLV 0x11 for PDSSetWLANBlanking()
11239 struct sPDSSetWLANBlankingRequest_ActiveChannels
11240 {
11241 bool mChannel1:1;
11242 bool mChannel2:1;
11243 bool mChannel3:1;
11244 bool mChannel4:1;
11245 bool mChannel5:1;
11246 bool mChannel6:1;
11247 bool mChannel7:1;
11248 bool mChannel8:1;
11249 bool mChannel9:1;
11250 bool mChannel10:1;
11251 bool mChannel11:1;
11252 bool mChannel12:1;
11253 bool mChannel13:1;
11254 bool mChannel14:1;
11255
11256 // Padding out 18 bits
11257 UINT8 mReserved1:2;
11258 UINT8 mReserved2[2];
11259 };
11260
11261 // Structure to describe request TLV 0x10 for PDSSetSecurityChallengeReport()
11262 struct sPDSSetSecurityChallengeReportRequest_EnableSecurity
11263 {
11264 eQMIPDSReportSecurityChallenge mReportSecurityChallenge;
11265 };
11266
11267 // Structure to describe indication TLV 0x10 for PDS SetSecurityChallengeReportIndication
11268 struct sPDSSetSecurityChallengeReportIndication_EnableSecurity
11269 {
11270 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
11271 UINT8 mEncryptionDataID;
11272 UINT8 mEncryptionDataLength;
11273
11274 // This array must be the size specified by mEncryptionDataLength
11275 // UINT8 mEncryptionData[1];
11276 };
11277
11278 // Structure to describe request TLV 0x10 for PDSSetSecurityChallenge()
11279 struct sPDSSetSecurityChallengeRequest_SecureHashAlgorithm
11280 {
11281 UINT8 mEncryptionDataID;
11282 UINT8 mEncryptionDataLength;
11283
11284 // This array must be the size specified by mEncryptionDataLength
11285 // UINT8 mEncryptionData[1];
11286 };
11287
11288 // Structure to describe response TLV 0x10 for PDSGetSecurityEncryptionConfig()
11289 struct sPDSGetSecurityEncryptionConfigResponse_SecureClientTimestamp
11290 {
11291 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
11292 UINT64 mEncryptionTimestampMilliseconds;
11293 UINT8 mEncryptionDataLength;
11294
11295 // This array must be the size specified by mEncryptionDataLength
11296 // UINT8 mEncryptionData[1];
11297 };
11298
11299 // Structure to describe request TLV 0x10 for PDSSetSecurityUpdateRate()
11300 struct sPDSSetSecurityUpdateRateRequest_EnableSecurity
11301 {
11302 UINT8 mUpdateRate;
11303 };
11304
11305 // Structure to describe request TLV 0x10 for PDSSetCellDatabaseControl()
11306 struct sPDSSetCellDatabaseControlRequest_Control
11307 {
11308 bool mPositionInfoStorage:1;
11309 bool mTimeInfoStorage:1;
11310
11311 // Padding out 30 bits
11312 UINT8 mReserved1:6;
11313 UINT8 mReserved2[3];
11314 };
11315
11316 // Structure to describe request TLV 0x10 for AUTHStartEAPSession()
11317 struct sAUTHStartEAPSessionRequest_MethodMask
11318 {
11319 bool mEAPSIM:1;
11320 bool mEAPAKA:1;
11321
11322 // Padding out 30 bits
11323 UINT8 mReserved1:6;
11324 UINT8 mReserved2[3];
11325 };
11326
11327 // Structure to describe request TLV 0x01 for AUTHSendEAPPacket()
11328 struct sAUTHSendEAPPacketRequest_RequestPacket
11329 {
11330 UINT8 mEAPRequestPacket[9999];
11331 };
11332
11333 // Structure to describe response TLV 0x01 for AUTHSendEAPPacket()
11334 struct sAUTHSendEAPPacketResponse_ResponsePacket
11335 {
11336 UINT8 mResponsePacket[9999];
11337 };
11338
11339 // Structure to describe indication TLV 0x01 for AUTH EAPSessionResultIndication
11340 struct sAUTHEAPSessionResultIndication_Result
11341 {
11342 eQMIAUTHEAPResult mResult;
11343 };
11344
11345 // Structure to describe response TLV 0x01 for AUTHGetEAPSessionKeys()
11346 struct sAUTHGetEAPSessionKeysResponse_SessionKeys
11347 {
11348 UINT8 mSessionKeys[9999];
11349 };
11350
11351 // Structure to describe request TLV 0x01 for AUTHRunAKA()
11352 struct sAUTHRunAKARequest_Version
11353 {
11354 eQMIAUTHAKAVersion mAKAVersion;
11355 };
11356
11357 // Structure to describe request TLV 0x10 for AUTHRunAKA()
11358 struct sAUTHRunAKARequest_Parameters1
11359 {
11360 UINT8 mRandomChallengeLength;
11361
11362 // This array must be the size specified by mRandomChallengeLength
11363 // UINT8 mRandomChallenge[1];
11364 };
11365
11366 struct sAUTHRunAKARequest_Parameters2
11367 {
11368 UINT8 mAuthenticationTokenLength;
11369
11370 // This array must be the size specified by mAuthenticationTokenLength
11371 // UINT8 mAuthenticationToken[1];
11372 };
11373
11374 struct sAUTHRunAKARequest_Parameters
11375 {
11376 sAUTHRunAKARequest_Parameters1 mAUTHRunAKARequest_Parameters1;
11377 sAUTHRunAKARequest_Parameters2 mAUTHRunAKARequest_Parameters2;
11378 };
11379
11380 // Structure to describe response TLV 0x01 for AUTHRunAKA()
11381 struct sAUTHRunAKAResponse_Handle
11382 {
11383 UINT32 mHandle;
11384 };
11385
11386 // Structure to describe indication TLV 0x01 for AUTH AKAResultIndication
11387 struct sAUTHAKAResultIndication_Result
11388 {
11389 UINT32 mHandle;
11390 eQMIAUTHAKAResult mResult;
11391 };
11392
11393 // Structure to describe request TLV 0x10 for VoiceIndicationRegistration()
11394 struct sVoiceIndicationRegistrationRequest_DTMF
11395 {
11396 INT8 mEnableEvents;
11397 };
11398
11399 // Structure to describe request TLV 0x11 for VoiceIndicationRegistration()
11400 struct sVoiceIndicationRegistrationRequest_VoicePrivacy
11401 {
11402 INT8 mEnableEvents;
11403 };
11404
11405 // Structure to describe request TLV 0x12 for VoiceIndicationRegistration()
11406 struct sVoiceIndicationRegistrationRequest_SupplementaryService
11407 {
11408 INT8 mEnableEvents;
11409 };
11410
11411 // Structure to describe request TLV 0x01 for VoiceCallOriginate()
11412 struct sVoiceCallOriginateRequest_CallingNumber
11413 {
11414 // String is variable length, but must be size of the container
11415 // char mCallingNumber[1];
11416 };
11417
11418 // Structure to describe request TLV 0x10 for VoiceCallOriginate()
11419 struct sVoiceCallOriginateRequest_CallType
11420 {
11421 eQMIVoiceCallTypes mCallType;
11422 };
11423
11424 // Structure to describe request TLV 0x11 for VoiceCallOriginate()
11425 struct sVoiceCallOriginateRequest_CLIR
11426 {
11427 eQMIVoiceCLIRTypes mCLIRType;
11428 };
11429
11430 // Structure to describe request TLV 0x12 for VoiceCallOriginate()
11431 struct sVoiceCallOriginateRequest_UUS
11432 {
11433 eQMIVoiceUUSTypes mUUSType;
11434 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
11435 UINT8 mUUSLength;
11436
11437 // This array must be the size specified by mUUSLength
11438 // UINT8 mUUSData[1];
11439 };
11440
11441 // Structure to describe request TLV 0x13 for VoiceCallOriginate()
11442 struct sVoiceCallOriginateRequest_CUG
11443 {
11444 UINT16 mCUGIndex;
11445 INT8 mSuppressPreferentialCUG;
11446 INT8 mSuppressOASubscription;
11447 };
11448
11449 // Structure to describe request TLV 0x14 for VoiceCallOriginate()
11450 struct sVoiceCallOriginateRequest_EmergencyCategory
11451 {
11452 bool mPolice:1;
11453 bool mAmbulance:1;
11454 bool mFireBrigade:1;
11455 bool mMarineGuard:1;
11456 bool mMountainRescue:1;
11457 bool mManualCall:1;
11458 bool mAutomaticCall:1;
11459 bool mReserved:1;
11460 };
11461
11462 // Structure to describe response TLV 0x10 for VoiceCallOriginate()
11463 struct sVoiceCallOriginateResponse_CallID
11464 {
11465 UINT8 mCallID;
11466 };
11467
11468 // Structure to describe response TLV 0x11 for VoiceCallOriginate()
11469 struct sVoiceCallOriginateResponse_AlphaID
11470 {
11471 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
11472 UINT8 mAlphaLength;
11473
11474 // This array must be the size specified by mAlphaLength
11475 // UINT8 mAlphaData[1];
11476 };
11477
11478 // Structure to describe response TLV 0x12 for VoiceCallOriginate()
11479 struct sVoiceCallOriginateResponse_CallControl
11480 {
11481 eQMIVoiceCallControlResultTypes mCallControlResult;
11482 };
11483
11484 // Structure to describe response TLV 0x13 for VoiceCallOriginate()
11485 struct sVoiceCallOriginateResponse_SupplementaryService
11486 {
11487 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
11488 eQMIVoiceSupplementaryServiceReasons mReason;
11489 };
11490
11491 // Structure to describe request TLV 0x01 for VoiceCallEnd()
11492 struct sVoiceCallEndRequest_CallID
11493 {
11494 UINT8 mCallID;
11495 };
11496
11497 // Structure to describe response TLV 0x10 for VoiceCallEnd()
11498 struct sVoiceCallEndResponse_CallID
11499 {
11500 UINT8 mCallID;
11501 };
11502
11503 // Structure to describe request TLV 0x01 for VoiceCallAnswer()
11504 struct sVoiceCallAnswerRequest_CallID
11505 {
11506 UINT8 mCallID;
11507 };
11508
11509 // Structure to describe response TLV 0x10 for VoiceCallAnswer()
11510 struct sVoiceCallAnswerResponse_CallID
11511 {
11512 UINT8 mCallID;
11513 };
11514
11515 // Structure to describe request TLV 0x01 for VoiceGetCallInfo()
11516 struct sVoiceGetCallInfoRequest_CallID
11517 {
11518 UINT8 mCallID;
11519 };
11520
11521 // Structure to describe response TLV 0x10 for VoiceGetCallInfo()
11522 struct sVoiceGetCallInfoResponse_CallInfo
11523 {
11524 UINT8 mCallID;
11525 eQMIVoiceCallStates mCallState;
11526 eQMIVoiceCallTypes mCallType;
11527 eQMIVoiceCallDirections mDirection;
11528 eQMIVoiceCallModes mMode;
11529 };
11530
11531 // Structure to describe response TLV 0x11 for VoiceGetCallInfo()
11532 struct sVoiceGetCallInfoResponse_RemotePartyNumber
11533 {
11534 eQMIVoicePresentationIndicators mPresentationIndicator;
11535 UINT8 mNumberLength;
11536
11537 // This array must be the size specified by mNumberLength
11538 // char mNumber[1];
11539 };
11540
11541 // Structure to describe response TLV 0x12 for VoiceGetCallInfo()
11542 struct sVoiceGetCallInfoResponse_ServiceOption
11543 {
11544 UINT16 mServiceOption;
11545 };
11546
11547 // Structure to describe response TLV 0x13 for VoiceGetCallInfo()
11548 struct sVoiceGetCallInfoResponse_VoicePrivacy
11549 {
11550 eQMIVoicePrivacyLevels mVoicePrivacy;
11551 };
11552
11553 // Structure to describe response TLV 0x14 for VoiceGetCallInfo()
11554 struct sVoiceGetCallInfoResponse_OTASPStatus
11555 {
11556 eQMIVoiceOTASPStati mOTASPStatus;
11557 };
11558
11559 // Structure to describe response TLV 0x15 for VoiceGetCallInfo()
11560 struct sVoiceGetCallInfoResponse_RemotePartyName
11561 {
11562 eQMIVoicePresentationIndicators mPresentationIndicator;
11563 UINT8 mCodingScheme;
11564 UINT8 mCallerNameLength;
11565
11566 // This array must be the size specified by mCallerNameLength
11567 // UINT8 mCallerName[1];
11568 };
11569
11570 // Structure to describe response TLV 0x16 for VoiceGetCallInfo()
11571 struct sVoiceGetCallInfoResponse_UUS
11572 {
11573 eQMIVoiceUUSTypes mUUSType;
11574 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
11575 UINT8 mUUSLength;
11576
11577 // This array must be the size specified by mUUSLength
11578 // UINT8 mUUSData[1];
11579 };
11580
11581 // Structure to describe response TLV 0x17 for VoiceGetCallInfo()
11582 struct sVoiceGetCallInfoResponse_AlertingType
11583 {
11584 eQMIVoiceAlertingTypes mAlertingType;
11585 };
11586
11587 // Structure to describe response TLV 0x18 for VoiceGetCallInfo()
11588 struct sVoiceGetCallInfoResponse_AlphaID
11589 {
11590 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
11591 UINT8 mAlphaLength;
11592
11593 // This array must be the size specified by mAlphaLength
11594 // UINT8 mAlphaData[1];
11595 };
11596
11597 // Structure to describe response TLV 0x19 for VoiceGetCallInfo()
11598 struct sVoiceGetCallInfoResponse_ConnectedNumberInfo
11599 {
11600 UINT8 mPresentationIndicator;
11601 eQMIVoiceScreeningIndicators mScreeningIndicator;
11602 eQMIVoiceNumberTypes mNumberType;
11603 eQMIVoiceNumberPlans mNumberPlan;
11604 UINT8 mNumberLength;
11605
11606 // This array must be the size specified by mNumberLength
11607 // char mNumber[1];
11608 };
11609
11610 // Structure to describe response TLV 0x1A for VoiceGetCallInfo()
11611 struct sVoiceGetCallInfoResponse_DiagnosticInfo
11612 {
11613 UINT8 mDiagnosticInfoLength;
11614
11615 // This array must be the size specified by mDiagnosticInfoLength
11616 // UINT8 mDiagnosticInfo[1];
11617 };
11618
11619 // Structure to describe indication TLV 0x10 for Voice OTASPIndication
11620 struct sVoiceOTASPIndication_OTASPStatus
11621 {
11622 UINT8 mCallID;
11623 eQMIVoiceOTASPStati mOTASPStatus;
11624 };
11625
11626 // Structure to describe indication TLV 0x01 for Voice InfoRecordIndication
11627 struct sVoiceInfoRecordIndication_CallID
11628 {
11629 UINT8 mCallID;
11630 };
11631
11632 // Structure to describe indication TLV 0x10 for Voice InfoRecordIndication
11633 struct sVoiceInfoRecordIndication_Signal
11634 {
11635 UINT8 mSignalType;
11636 UINT8 mAlertPitch;
11637 UINT8 mSignal;
11638 };
11639
11640 // Structure to describe indication TLV 0x11 for Voice InfoRecordIndication
11641 struct sVoiceInfoRecordIndication_CallerID
11642 {
11643 UINT8 mPresentationIndicator;
11644 UINT8 mCallerIDLength;
11645
11646 // This array must be the size specified by mCallerIDLength
11647 // char mCallerID[1];
11648 };
11649
11650 // Structure to describe indication TLV 0x12 for Voice InfoRecordIndication
11651 struct sVoiceInfoRecordIndication_Display
11652 {
11653 // String is variable length, but must be size of the container
11654 // char mDisplayBuffer[1];
11655 };
11656
11657 // Structure to describe indication TLV 0x13 for Voice InfoRecordIndication
11658 struct sVoiceInfoRecordIndication_ExtendedDisplay
11659 {
11660 UINT8 mExtendedDisplayBuffer[182];
11661 };
11662
11663 // Structure to describe indication TLV 0x14 for Voice InfoRecordIndication
11664 struct sVoiceInfoRecordIndication_CallerName
11665 {
11666 // String is variable length, but must be size of the container
11667 // char mCallerName[1];
11668 };
11669
11670 // Structure to describe indication TLV 0x15 for Voice InfoRecordIndication
11671 struct sVoiceInfoRecordIndication_CallWaiting
11672 {
11673 INT8 mNewCallWaiting;
11674 };
11675
11676 // Structure to describe indication TLV 0x16 for Voice InfoRecordIndication
11677 struct sVoiceInfoRecordIndication_ConnectedNumberInfo
11678 {
11679 UINT8 mPresentationIndicator;
11680 eQMIVoiceScreeningIndicators mScreeningIndicator;
11681 eQMIVoiceNumberTypes mNumberType;
11682 eQMIVoiceNumberPlans mNumberPlan;
11683 UINT8 mNumberLength;
11684
11685 // This array must be the size specified by mNumberLength
11686 // char mNumber[1];
11687 };
11688
11689 // Structure to describe indication TLV 0x17 for Voice InfoRecordIndication
11690 struct sVoiceInfoRecordIndication_CallingPartyNumberInfo
11691 {
11692 UINT8 mPresentationIndicator;
11693 eQMIVoiceScreeningIndicators mScreeningIndicator;
11694 eQMIVoiceNumberTypes mNumberType;
11695 eQMIVoiceNumberPlans mNumberPlan;
11696 UINT8 mNumberLength;
11697
11698 // This array must be the size specified by mNumberLength
11699 // char mNumber[1];
11700 };
11701
11702 // Structure to describe indication TLV 0x18 for Voice InfoRecordIndication
11703 struct sVoiceInfoRecordIndication_CalledPartyNumberInfo
11704 {
11705 UINT8 mPresentationIndicator;
11706 eQMIVoiceScreeningIndicators mScreeningIndicator;
11707 eQMIVoiceNumberTypes mNumberType;
11708 eQMIVoiceNumberPlans mNumberPlan;
11709 UINT8 mNumberLength;
11710
11711 // This array must be the size specified by mNumberLength
11712 // char mNumber[1];
11713 };
11714
11715 // Structure to describe indication TLV 0x19 for Voice InfoRecordIndication
11716 struct sVoiceInfoRecordIndication_RedirectingNumberInfo
11717 {
11718 UINT8 mPresentationIndicator;
11719 eQMIVoiceScreeningIndicators mScreeningIndicator;
11720 eQMIVoiceNumberTypes mNumberType;
11721 eQMIVoiceNumberPlans mNumberPlan;
11722 UINT8 mRedirectReason;
11723 UINT8 mNumberLength;
11724
11725 // This array must be the size specified by mNumberLength
11726 // char mNumber[1];
11727 };
11728
11729 // Structure to describe indication TLV 0x1A for Voice InfoRecordIndication
11730 struct sVoiceInfoRecordIndication_CLIRCause
11731 {
11732 eQMIVoiceCLIRCauses mCLIRCause;
11733 };
11734
11735 // Structure to describe indication TLV 0x1B for Voice InfoRecordIndication
11736 struct sVoiceInfoRecordIndication_NSSAudio
11737 {
11738 UINT8 mUpLink;
11739 UINT8 mDownLink;
11740 };
11741
11742 // Structure to describe indication TLV 0x1C for Voice InfoRecordIndication
11743 struct sVoiceInfoRecordIndication_NSSRelease
11744 {
11745 eQMIVoiceNSSReleases mNSSRelease;
11746 };
11747
11748 // Structure to describe indication TLV 0x1D for Voice InfoRecordIndication
11749 struct sVoiceInfoRecordIndication_LineControlInfo
11750 {
11751 INT8 mPolarityIncluded;
11752 INT8 mToggleMode;
11753 INT8 mReversePolarity;
11754 UINT8 mPowerDenialTime;
11755 };
11756
11757 // Structure to describe request TLV 0x01 for VoiceSendFlash()
11758 struct sVoiceSendFlashRequest_CallID
11759 {
11760 UINT8 mCallID;
11761 };
11762
11763 // Structure to describe request TLV 0x10 for VoiceSendFlash()
11764 struct sVoiceSendFlashRequest_Payload
11765 {
11766 // String is variable length, but must be size of the container
11767 // char mFlashPayload[1];
11768 };
11769
11770 // Structure to describe request TLV 0x11 for VoiceSendFlash()
11771 struct sVoiceSendFlashRequest_Type
11772 {
11773 eQMIVoiceFlashTypes mFlashType;
11774 };
11775
11776 // Structure to describe response TLV 0x10 for VoiceSendFlash()
11777 struct sVoiceSendFlashResponse_CallID
11778 {
11779 UINT8 mCallID;
11780 };
11781
11782 // Structure to describe request TLV 0x01 for VoiceBurstDTMF()
11783 struct sVoiceBurstDTMFRequest_Info
11784 {
11785 UINT8 mCallID;
11786 UINT8 mDTMFBufferLength;
11787
11788 // This array must be the size specified by mDTMFBufferLength
11789 // char mDTMFBuffer[1];
11790 };
11791
11792 // Structure to describe request TLV 0x10 for VoiceBurstDTMF()
11793 struct sVoiceBurstDTMFRequest_Lengths
11794 {
11795 eQMIVoicePulseWidths mDTMFPulseWidth;
11796 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
11797 };
11798
11799 // Structure to describe request TLV 0x01 for VoiceStartContinuousDTMF()
11800 struct sVoiceStartContinuousDTMFRequest_Info
11801 {
11802 UINT8 mCallID;
11803 char mDTMFDigit;
11804 };
11805
11806 // Structure to describe response TLV 0x10 for VoiceStartContinuous()
11807 struct sVoiceStartContinuousResponse_CallID
11808 {
11809 UINT8 mCallID;
11810 };
11811
11812 // Structure to describe request TLV 0x01 for VoiceStopContinuousDTMF()
11813 struct sVoiceStopContinuousDTMFRequest_CallID
11814 {
11815 UINT8 mCallID;
11816 };
11817
11818 // Structure to describe response TLV 0x10 for VoiceStopContinuous()
11819 struct sVoiceStopContinuousResponse_CallID
11820 {
11821 UINT8 mCallID;
11822 };
11823
11824 // Structure to describe indication TLV 0x01 for Voice DTMFIndication
11825 struct sVoiceDTMFIndication_DTMFInfo
11826 {
11827 UINT8 mCallID;
11828 eQMIVoiceDTMFEvents mDTMFEvent;
11829 UINT8 mDTMFBufferLength;
11830
11831 // This array must be the size specified by mDTMFBufferLength
11832 // char mDTMFBuffer[1];
11833 };
11834
11835 // Structure to describe indication TLV 0x10 for Voice DTMFIndication
11836 struct sVoiceDTMFIndication_Lengths
11837 {
11838 eQMIVoicePulseWidths mDTMFPulseWidth;
11839 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
11840 };
11841
11842 // Structure to describe request TLV 0x01 for VoiceSetPreferredPrivacy()
11843 struct sVoiceSetPreferredPrivacyRequest_Preference
11844 {
11845 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
11846 };
11847
11848 // Structure to describe indication TLV 0x01 for Voice PrivacyIndication
11849 struct sVoicePrivacyIndication_DTMFInfo
11850 {
11851 UINT8 mCallID;
11852 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
11853 };
11854
11855 // Structure to describe indication TLV 0x01 for Voice AllCallStatusIndication
11856 struct sVoiceAllCallStatusIndication_CallInfo
11857 {
11858 UINT8 mCallInstanceCount;
11859
11860 struct sInstance
11861 {
11862 UINT8 mCallID;
11863 eQMIVoiceCallStates mCallState;
11864 eQMIVoiceCallTypes mCallType;
11865 eQMIVoiceCallDirections mDirection;
11866 eQMIVoiceCallModes mMode;
11867 INT8 mMultiparty;
11868 eQMIVoiceALSLineIndicators mALSLineIndicator;
11869 };
11870
11871 // This array must be the size specified by mCallInstanceCount
11872 // sInstance mInstances[1];
11873 };
11874
11875 // Structure to describe indication TLV 0x10 for Voice AllCallStatusIndication
11876 struct sVoiceAllCallStatusIndication_RemotePartyNumber
11877 {
11878 UINT8 mCallInstanceCount;
11879
11880 struct sInstance
11881 {
11882 UINT8 mCallID;
11883 eQMIVoicePresentationIndicators mPresentationIndicator;
11884 UINT8 mNumberLength;
11885
11886 // This array must be the size specified by mNumberLength
11887 // char mNumber[1];
11888 };
11889
11890 // This array must be the size specified by mCallInstanceCount
11891 // sInstance mInstances[1];
11892 };
11893
11894 // Structure to describe indication TLV 0x11 for Voice AllCallStatusIndication
11895 struct sVoiceAllCallStatusIndication_RemotePartyName
11896 {
11897 UINT8 mCallInstanceCount;
11898
11899 struct sInstance
11900 {
11901 UINT8 mCallID;
11902 eQMIVoicePresentationIndicators mPresentationIndicator;
11903 UINT8 mCodingScheme;
11904 UINT8 mCallerNameLength;
11905
11906 // This array must be the size specified by mCallerNameLength
11907 // UINT8 mCallerName[1];
11908 };
11909
11910 // This array must be the size specified by mCallInstanceCount
11911 // sInstance mInstances[1];
11912 };
11913
11914 // Structure to describe indication TLV 0x12 for Voice AllCallStatusIndication
11915 struct sVoiceAllCallStatusIndication_AlertingType
11916 {
11917 UINT8 mCallInstanceCount;
11918
11919 struct sInstance
11920 {
11921 UINT8 mCallID;
11922 eQMIVoiceAlertingTypes mAlertingType;
11923 };
11924
11925 // This array must be the size specified by mCallInstanceCount
11926 // sInstance mInstances[1];
11927 };
11928
11929 // Structure to describe indication TLV 0x13 for Voice AllCallStatusIndication
11930 struct sVoiceAllCallStatusIndication_ServiceOption
11931 {
11932 UINT8 mCallInstanceCount;
11933
11934 struct sInstance
11935 {
11936 UINT8 mCallID;
11937 UINT16 mServiceOption;
11938 };
11939
11940 // This array must be the size specified by mCallInstanceCount
11941 // sInstance mInstances[1];
11942 };
11943
11944 // Structure to describe indication TLV 0x14 for Voice AllCallStatusIndication
11945 struct sVoiceAllCallStatusIndication_CallEndReason
11946 {
11947 UINT8 mCallInstanceCount;
11948
11949 struct sInstance
11950 {
11951 UINT8 mCallID;
11952 UINT8 mCallEndReason;
11953 };
11954
11955 // This array must be the size specified by mCallInstanceCount
11956 // sInstance mInstances[1];
11957 };
11958
11959 // Structure to describe indication TLV 0x15 for Voice AllCallStatusIndication
11960 struct sVoiceAllCallStatusIndication_AlphaID
11961 {
11962 UINT8 mCallInstanceCount;
11963
11964 struct sInstance
11965 {
11966 UINT8 mCallID;
11967 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
11968 UINT8 mAlphaLength;
11969
11970 // This array must be the size specified by mAlphaLength
11971 // UINT8 mAlphaData[1];
11972 };
11973
11974 // This array must be the size specified by mCallInstanceCount
11975 // sInstance mInstances[1];
11976 };
11977
11978 // Structure to describe indication TLV 0x16 for Voice AllCallStatusIndication
11979 struct sVoiceAllCallStatusIndication_ConnectedNumberInfo
11980 {
11981 UINT8 mCallInstanceCount;
11982
11983 struct sInstance
11984 {
11985 UINT8 mCallID;
11986 UINT8 mPresentationIndicator;
11987 eQMIVoiceScreeningIndicators mScreeningIndicator;
11988 eQMIVoiceNumberTypes mNumberType;
11989 eQMIVoiceNumberPlans mNumberPlan;
11990 UINT8 mNumberLength;
11991
11992 // This array must be the size specified by mNumberLength
11993 // char mNumber[1];
11994 };
11995
11996 // This array must be the size specified by mCallInstanceCount
11997 // sInstance mInstances[1];
11998 };
11999
12000 // Structure to describe indication TLV 0x17 for Voice AllCallStatusIndication
12001 struct sVoiceAllCallStatusIndication_DiagnosticInfo
12002 {
12003 UINT8 mCallInstanceCount;
12004
12005 struct sInstance
12006 {
12007 UINT8 mCallID;
12008 UINT8 mDiagnosticInfoLength;
12009
12010 // This array must be the size specified by mDiagnosticInfoLength
12011 // UINT8 mDiagnosticInfo[1];
12012 };
12013
12014 // This array must be the size specified by mCallInstanceCount
12015 // sInstance mInstances[1];
12016 };
12017
12018 // Structure to describe indication TLV 0x18 for Voice AllCallStatusIndication
12019 struct sVoiceAllCallStatusIndication_CalledPartyNumberInfo
12020 {
12021 UINT8 mCallInstanceCount;
12022
12023 struct sInstance
12024 {
12025 UINT8 mCallID;
12026 UINT8 mPresentationIndicator;
12027 eQMIVoiceScreeningIndicators mScreeningIndicator;
12028 eQMIVoiceNumberTypes mNumberType;
12029 eQMIVoiceNumberPlans mNumberPlan;
12030 UINT8 mNumberLength;
12031
12032 // This array must be the size specified by mNumberLength
12033 // char mNumber[1];
12034 };
12035
12036 // This array must be the size specified by mCallInstanceCount
12037 // sInstance mInstances[1];
12038 };
12039
12040 // Structure to describe indication TLV 0x19 for Voice AllCallStatusIndication
12041 struct sVoiceAllCallStatusIndication_RedirectingNumberInfo
12042 {
12043 UINT8 mCallInstanceCount;
12044
12045 struct sInstance
12046 {
12047 UINT8 mCallID;
12048 UINT8 mPresentationIndicator;
12049 eQMIVoiceScreeningIndicators mScreeningIndicator;
12050 eQMIVoiceNumberTypes mNumberType;
12051 eQMIVoiceNumberPlans mNumberPlan;
12052 UINT8 mNumberLength;
12053
12054 // This array must be the size specified by mNumberLength
12055 // char mNumber[1];
12056 };
12057
12058 // This array must be the size specified by mCallInstanceCount
12059 // sInstance mInstances[1];
12060 };
12061
12062 // Structure to describe response TLV 0x10 for VoiceGetAllCallInfo()
12063 struct sVoiceGetAllCallInfoResponse_CallInfo
12064 {
12065 UINT8 mCallInstanceCount;
12066
12067 struct sInstance
12068 {
12069 UINT8 mCallID;
12070 eQMIVoiceCallStates mCallState;
12071 eQMIVoiceCallTypes mCallType;
12072 eQMIVoiceCallDirections mDirection;
12073 eQMIVoiceCallModes mMode;
12074 INT8 mMultiparty;
12075 eQMIVoiceALSLineIndicators mALSLineIndicator;
12076 };
12077
12078 // This array must be the size specified by mCallInstanceCount
12079 // sInstance mInstances[1];
12080 };
12081
12082 // Structure to describe response TLV 0x11 for VoiceGetAllCallInfo()
12083 struct sVoiceGetAllCallInfoResponse_RemotePartyNumber
12084 {
12085 UINT8 mCallInstanceCount;
12086
12087 struct sInstance
12088 {
12089 UINT8 mCallID;
12090 eQMIVoicePresentationIndicators mPresentationIndicator;
12091 UINT8 mNumberLength;
12092
12093 // This array must be the size specified by mNumberLength
12094 // char mNumber[1];
12095 };
12096
12097 // This array must be the size specified by mCallInstanceCount
12098 // sInstance mInstances[1];
12099 };
12100
12101 // Structure to describe response TLV 0x12 for VoiceGetAllCallInfo()
12102 struct sVoiceGetAllCallInfoResponse_RemotePartyName
12103 {
12104 UINT8 mCallInstanceCount;
12105
12106 struct sInstance
12107 {
12108 UINT8 mCallID;
12109 eQMIVoicePresentationIndicators mPresentationIndicator;
12110 UINT8 mCodingScheme;
12111 UINT8 mCallerNameLength;
12112
12113 // This array must be the size specified by mCallerNameLength
12114 // UINT8 mCallerName[1];
12115 };
12116
12117 // This array must be the size specified by mCallInstanceCount
12118 // sInstance mInstances[1];
12119 };
12120
12121 // Structure to describe response TLV 0x13 for VoiceGetAllCallInfo()
12122 struct sVoiceGetAllCallInfoResponse_AlertingType
12123 {
12124 UINT8 mCallInstanceCount;
12125
12126 struct sInstance
12127 {
12128 UINT8 mCallID;
12129 eQMIVoiceAlertingTypes mAlertingType;
12130 };
12131
12132 // This array must be the size specified by mCallInstanceCount
12133 // sInstance mInstances[1];
12134 };
12135
12136 // Structure to describe response TLV 0x14 for VoiceGetAllCallInfo()
12137 struct sVoiceGetAllCallInfoResponse_UUS
12138 {
12139 UINT8 mCallInstanceCount;
12140
12141 struct sInstance
12142 {
12143 UINT8 mCallID;
12144 eQMIVoiceUUSTypes mUUSType;
12145 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
12146 UINT8 mUUSLength;
12147
12148 // This array must be the size specified by mUUSLength
12149 // UINT8 mUUSData[1];
12150 };
12151
12152 // This array must be the size specified by mCallInstanceCount
12153 // sInstance mInstances[1];
12154 };
12155
12156 // Structure to describe response TLV 0x15 for VoiceGetAllCallInfo()
12157 struct sVoiceGetAllCallInfoResponse_ServiceOption
12158 {
12159 UINT8 mCallInstanceCount;
12160
12161 struct sInstance
12162 {
12163 UINT8 mCallID;
12164 UINT16 mServiceOption;
12165 };
12166
12167 // This array must be the size specified by mCallInstanceCount
12168 // sInstance mInstances[1];
12169 };
12170
12171 // Structure to describe response TLV 0x16 for VoiceGetAllCallInfo()
12172 struct sVoiceGetAllCallInfoResponse_OTASPStatus
12173 {
12174 eQMIVoiceOTASPStati mOTASPStatus;
12175 };
12176
12177 // Structure to describe response TLV 0x17 for VoiceGetAllCallInfo()
12178 struct sVoiceGetAllCallInfoResponse_VoicePrivacy
12179 {
12180 eQMIVoicePrivacyLevels mVoicePrivacy;
12181 };
12182
12183 // Structure to describe response TLV 0x18 for VoiceGetAllCallInfo()
12184 struct sVoiceGetAllCallInfoResponse_CallEndReason
12185 {
12186 UINT8 mCallInstanceCount;
12187
12188 struct sInstance
12189 {
12190 UINT8 mCallID;
12191 UINT8 mCallEndReason;
12192 };
12193
12194 // This array must be the size specified by mCallInstanceCount
12195 // sInstance mInstances[1];
12196 };
12197
12198 // Structure to describe response TLV 0x19 for VoiceGetAllCallInfo()
12199 struct sVoiceGetAllCallInfoResponse_AlphaID
12200 {
12201 UINT8 mCallInstanceCount;
12202
12203 struct sInstance
12204 {
12205 UINT8 mCallID;
12206 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12207 UINT8 mAlphaLength;
12208
12209 // This array must be the size specified by mAlphaLength
12210 // UINT8 mAlphaData[1];
12211 };
12212
12213 // This array must be the size specified by mCallInstanceCount
12214 // sInstance mInstances[1];
12215 };
12216
12217 // Structure to describe response TLV 0x1A for VoiceGetAllCallInfo()
12218 struct sVoiceGetAllCallInfoResponse_ConnectedNumberInfo
12219 {
12220 UINT8 mCallInstanceCount;
12221
12222 struct sInstance
12223 {
12224 UINT8 mCallID;
12225 UINT8 mPresentationIndicator;
12226 eQMIVoiceScreeningIndicators mScreeningIndicator;
12227 eQMIVoiceNumberTypes mNumberType;
12228 eQMIVoiceNumberPlans mNumberPlan;
12229 UINT8 mNumberLength;
12230
12231 // This array must be the size specified by mNumberLength
12232 // char mNumber[1];
12233 };
12234
12235 // This array must be the size specified by mCallInstanceCount
12236 // sInstance mInstances[1];
12237 };
12238
12239 // Structure to describe response TLV 0x1B for VoiceGetAllCallInfo()
12240 struct sVoiceGetAllCallInfoResponse_DiagnosticInfo
12241 {
12242 UINT8 mCallInstanceCount;
12243
12244 struct sInstance
12245 {
12246 UINT8 mCallID;
12247 UINT8 mDiagnosticInfoLength;
12248
12249 // This array must be the size specified by mDiagnosticInfoLength
12250 // UINT8 mDiagnosticInfo[1];
12251 };
12252
12253 // This array must be the size specified by mCallInstanceCount
12254 // sInstance mInstances[1];
12255 };
12256
12257 // Structure to describe response TLV 0x1C for VoiceGetAllCallInfo()
12258 struct sVoiceGetAllCallInfoResponse_CalledPartyNumberInfo
12259 {
12260 UINT8 mCallInstanceCount;
12261
12262 struct sInstance
12263 {
12264 UINT8 mCallID;
12265 UINT8 mPresentationIndicator;
12266 eQMIVoiceScreeningIndicators mScreeningIndicator;
12267 eQMIVoiceNumberTypes mNumberType;
12268 eQMIVoiceNumberPlans mNumberPlan;
12269 UINT8 mNumberLength;
12270
12271 // This array must be the size specified by mNumberLength
12272 // char mNumber[1];
12273 };
12274
12275 // This array must be the size specified by mCallInstanceCount
12276 // sInstance mInstances[1];
12277 };
12278
12279 // Structure to describe response TLV 0x1D for VoiceGetAllCallInfo()
12280 struct sVoiceGetAllCallInfoResponse_RedirectingNumberInfo
12281 {
12282 UINT8 mCallInstanceCount;
12283
12284 struct sInstance
12285 {
12286 UINT8 mCallID;
12287 UINT8 mPresentationIndicator;
12288 eQMIVoiceScreeningIndicators mScreeningIndicator;
12289 eQMIVoiceNumberTypes mNumberType;
12290 eQMIVoiceNumberPlans mNumberPlan;
12291 UINT8 mNumberLength;
12292
12293 // This array must be the size specified by mNumberLength
12294 // char mNumber[1];
12295 };
12296
12297 // This array must be the size specified by mCallInstanceCount
12298 // sInstance mInstances[1];
12299 };
12300
12301 // Structure to describe request TLV 0x01 for VoiceManageCalls()
12302 struct sVoiceManageCallsRequest_Info
12303 {
12304 eQMIVoiceSupplementaryServiceCallTypes mSupplementaryServiceType;
12305 };
12306
12307 // Structure to describe request TLV 0x10 for VoiceManageCalls()
12308 struct sVoiceManageCallsRequest_CallID
12309 {
12310 UINT8 mCallID;
12311 };
12312
12313 // Structure to describe response TLV 0x10 for VoiceManageCalls()
12314 struct sVoiceManageCallsResponse_FailureCause
12315 {
12316 UINT16 mFailureCause;
12317 };
12318
12319 // Structure to describe indication TLV 0x01 for Voice SupplementaryServiceIndication
12320 struct sVoiceSupplementaryServiceIndication_Info
12321 {
12322 UINT8 mCallID;
12323 eQMIVoiceSupplementaryNotificationTypes mNotificationType;
12324 };
12325
12326 // Structure to describe indication TLV 0x10 for Voice SupplementaryServiceIndication
12327 struct sVoiceSupplementaryServiceIndication_CUG
12328 {
12329 UINT16 mCUGIndex;
12330 };
12331
12332 // Structure to describe indication TLV 0x11 for Voice SupplementaryServiceIndication
12333 struct sVoiceSupplementaryServiceIndication_ECT
12334 {
12335 eQMIVoiceECTCallStates mECTCallState;
12336 eQMIVoicePresentationIndicators mPresentationIndicator;
12337 UINT8 mNumberLength;
12338
12339 // This array must be the size specified by mNumberLength
12340 // char mNumber[1];
12341 };
12342
12343 // Structure to describe request TLV 0x01 for VoiceSetSupplementaryService()
12344 struct sVoiceSetSupplementaryServiceRequest_Info
12345 {
12346 eQMIVoiceSupplementaryServiceTypes mService;
12347 eQMIVoiceSupplementaryServiceReasons mReason;
12348 };
12349
12350 // Structure to describe request TLV 0x10 for VoiceSetSupplementaryService()
12351 struct sVoiceSetSupplementaryServiceRequest_ServiceClass
12352 {
12353 bool mSupplementaryServiceClassVoice:1;
12354 bool mSupplementaryServiceClassData:1;
12355 bool mSupplementaryServiceClassFax:1;
12356 bool mSupplementaryServiceClassSMS:1;
12357 bool mSupplementaryServiceClassDataCircuitSync:1;
12358 bool mSupplementaryServiceClassDataCircuitAsync:1;
12359 bool mSupplementaryServiceClassPacketAccess:1;
12360 bool mSupplementaryServiceClassPadAccess:1;
12361 };
12362
12363 // Structure to describe request TLV 0x11 for VoiceSetSupplementaryService()
12364 struct sVoiceSetSupplementaryServiceRequest_Password
12365 {
12366 char mCallBarringPassword[4];
12367 };
12368
12369 // Structure to describe request TLV 0x12 for VoiceSetSupplementaryService()
12370 struct sVoiceSetSupplementaryServiceRequest_Number
12371 {
12372 // String is variable length, but must be size of the container
12373 // char mCallForwardingNumber[1];
12374 };
12375
12376 // Structure to describe request TLV 0x13 for VoiceSetSupplementaryService()
12377 struct sVoiceSetSupplementaryServiceRequest_Timer
12378 {
12379 UINT8 mNoReplyTimerSeconds;
12380 };
12381
12382 // Structure to describe request TLV 0x14 for VoiceSetSupplementaryService()
12383 struct sVoiceSetSupplementaryServiceRequest_CallForwarding
12384 {
12385 eQMIVoiceNumberTypes mNumberType;
12386 eQMIVoiceNumberPlans mNumberPlan;
12387 };
12388
12389 // Structure to describe response TLV 0x10 for VoiceSetSupplementaryService()
12390 struct sVoiceSetSupplementaryServiceResponse_FailureCause
12391 {
12392 UINT16 mFailureCause;
12393 };
12394
12395 // Structure to describe response TLV 0x11 for VoiceSetSupplementaryService()
12396 struct sVoiceSetSupplementaryServiceResponse_AlphaID
12397 {
12398 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12399 UINT8 mAlphaLength;
12400
12401 // This array must be the size specified by mAlphaLength
12402 // UINT8 mAlphaData[1];
12403 };
12404
12405 // Structure to describe response TLV 0x12 for VoiceSetSupplementaryService()
12406 struct sVoiceSetSupplementaryServiceResponse_CallControl
12407 {
12408 eQMIVoiceCallControlResultTypes mCallControlResult;
12409 };
12410
12411 // Structure to describe response TLV 0x13 for VoiceSetSupplementaryService()
12412 struct sVoiceSetSupplementaryServiceResponse_CallID
12413 {
12414 UINT8 mCallID;
12415 };
12416
12417 // Structure to describe response TLV 0x14 for VoiceSetSupplementaryService()
12418 struct sVoiceSetSupplementaryServiceResponse_SupplementaryService
12419 {
12420 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12421 eQMIVoiceSupplementaryServiceReasons mReason;
12422 };
12423
12424 // Structure to describe request TLV 0x10 for VoiceGetCallWaiting()
12425 struct sVoiceGetCallWaitingRequest_ServiceClass
12426 {
12427 bool mSupplementaryServiceClassVoice:1;
12428 bool mSupplementaryServiceClassData:1;
12429 bool mSupplementaryServiceClassFax:1;
12430 bool mSupplementaryServiceClassSMS:1;
12431 bool mSupplementaryServiceClassDataCircuitSync:1;
12432 bool mSupplementaryServiceClassDataCircuitAsync:1;
12433 bool mSupplementaryServiceClassPacketAccess:1;
12434 bool mSupplementaryServiceClassPadAccess:1;
12435 };
12436
12437 // Structure to describe response TLV 0x10 for VoiceGetCallWaiting()
12438 struct sVoiceGetCallWaitingResponse_ServiceClass
12439 {
12440 bool mSupplementaryServiceClassVoice:1;
12441 bool mSupplementaryServiceClassData:1;
12442 bool mSupplementaryServiceClassFax:1;
12443 bool mSupplementaryServiceClassSMS:1;
12444 bool mSupplementaryServiceClassDataCircuitSync:1;
12445 bool mSupplementaryServiceClassDataCircuitAsync:1;
12446 bool mSupplementaryServiceClassPacketAccess:1;
12447 bool mSupplementaryServiceClassPadAccess:1;
12448 };
12449
12450 // Structure to describe response TLV 0x11 for VoiceGetCallWaiting()
12451 struct sVoiceGetCallWaitingResponse_FailureCause
12452 {
12453 UINT16 mFailureCause;
12454 };
12455
12456 // Structure to describe response TLV 0x12 for VoiceGetCallWaiting()
12457 struct sVoiceGetCallWaitingResponse_AlphaID
12458 {
12459 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12460 UINT8 mAlphaLength;
12461
12462 // This array must be the size specified by mAlphaLength
12463 // UINT8 mAlphaData[1];
12464 };
12465
12466 // Structure to describe response TLV 0x13 for VoiceGetCallWaitinge()
12467 struct sVoiceGetCallWaitingeResponse_CallControl
12468 {
12469 eQMIVoiceCallControlResultTypes mCallControlResult;
12470 };
12471
12472 // Structure to describe response TLV 0x14 for VoiceGetCallWaiting()
12473 struct sVoiceGetCallWaitingResponse_CallID
12474 {
12475 UINT8 mCallID;
12476 };
12477
12478 // Structure to describe response TLV 0x15 for VoiceGetCallWaiting()
12479 struct sVoiceGetCallWaitingResponse_SupplementaryService
12480 {
12481 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12482 eQMIVoiceSupplementaryServiceReasons mReason;
12483 };
12484
12485 // Structure to describe request TLV 0x01 for VoiceGetCallBarring()
12486 struct sVoiceGetCallBarringRequest_Reason
12487 {
12488 eQMIVoiceSupplementaryServiceReasons mReason;
12489 };
12490
12491 // Structure to describe request TLV 0x10 for VoiceGetCallBarring()
12492 struct sVoiceGetCallBarringRequest_ServiceClass
12493 {
12494 bool mSupplementaryServiceClassVoice:1;
12495 bool mSupplementaryServiceClassData:1;
12496 bool mSupplementaryServiceClassFax:1;
12497 bool mSupplementaryServiceClassSMS:1;
12498 bool mSupplementaryServiceClassDataCircuitSync:1;
12499 bool mSupplementaryServiceClassDataCircuitAsync:1;
12500 bool mSupplementaryServiceClassPacketAccess:1;
12501 bool mSupplementaryServiceClassPadAccess:1;
12502 };
12503
12504 // Structure to describe response TLV 0x10 for VoiceGetCallBarring()
12505 struct sVoiceGetCallBarringResponse_ServiceClass
12506 {
12507 bool mSupplementaryServiceClassVoice:1;
12508 bool mSupplementaryServiceClassData:1;
12509 bool mSupplementaryServiceClassFax:1;
12510 bool mSupplementaryServiceClassSMS:1;
12511 bool mSupplementaryServiceClassDataCircuitSync:1;
12512 bool mSupplementaryServiceClassDataCircuitAsync:1;
12513 bool mSupplementaryServiceClassPacketAccess:1;
12514 bool mSupplementaryServiceClassPadAccess:1;
12515 };
12516
12517 // Structure to describe response TLV 0x11 for VoiceGetCallBarring()
12518 struct sVoiceGetCallBarringResponse_FailureCause
12519 {
12520 UINT16 mFailureCause;
12521 };
12522
12523 // Structure to describe response TLV 0x12 for VoiceGetCallBarring()
12524 struct sVoiceGetCallBarringResponse_AlphaID
12525 {
12526 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12527 UINT8 mAlphaLength;
12528
12529 // This array must be the size specified by mAlphaLength
12530 // UINT8 mAlphaData[1];
12531 };
12532
12533 // Structure to describe response TLV 0x13 for VoiceGetCallBarring()
12534 struct sVoiceGetCallBarringResponse_CallControl
12535 {
12536 eQMIVoiceCallControlResultTypes mCallControlResult;
12537 };
12538
12539 // Structure to describe response TLV 0x14 for VoiceGetCallBarring()
12540 struct sVoiceGetCallBarringResponse_CallID
12541 {
12542 UINT8 mCallID;
12543 };
12544
12545 // Structure to describe response TLV 0x15 for VoiceGetCallBarring()
12546 struct sVoiceGetCallBarringResponse_SupplementaryService
12547 {
12548 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12549 eQMIVoiceSupplementaryServiceReasons mReason;
12550 };
12551
12552 // Structure to describe response TLV 0x10 for VoiceGetCLIP()
12553 struct sVoiceGetCLIPResponse_Status
12554 {
12555 INT8 mCLIPActive;
12556 INT8 mCLIPProvisioned;
12557 };
12558
12559 // Structure to describe response TLV 0x11 for VoiceGetCLIP()
12560 struct sVoiceGetCLIPResponse_FailureCause
12561 {
12562 UINT16 mFailureCause;
12563 };
12564
12565 // Structure to describe response TLV 0x12 for VoiceGetCLIP()
12566 struct sVoiceGetCLIPResponse_AlphaID
12567 {
12568 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12569 UINT8 mAlphaLength;
12570
12571 // This array must be the size specified by mAlphaLength
12572 // UINT8 mAlphaData[1];
12573 };
12574
12575 // Structure to describe response TLV 0x13 for VoiceGetCLIP()
12576 struct sVoiceGetCLIPResponse_CallControl
12577 {
12578 eQMIVoiceCallControlResultTypes mCallControlResult;
12579 };
12580
12581 // Structure to describe response TLV 0x14 for VoiceGetCLIP()
12582 struct sVoiceGetCLIPResponse_CallID
12583 {
12584 UINT8 mCallID;
12585 };
12586
12587 // Structure to describe response TLV 0x15 for VoiceGetCLIP()
12588 struct sVoiceGetCLIPResponse_SupplementaryService
12589 {
12590 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12591 eQMIVoiceSupplementaryServiceReasons mReason;
12592 };
12593
12594 // Structure to describe response TLV 0x10 for VoiceGetCLIR()
12595 struct sVoiceGetCLIRResponse_Status
12596 {
12597 INT8 mCLIRActive;
12598 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
12599 };
12600
12601 // Structure to describe response TLV 0x11 for VoiceGetCLIR()
12602 struct sVoiceGetCLIRResponse_FailureCause
12603 {
12604 UINT16 mFailureCause;
12605 };
12606
12607 // Structure to describe response TLV 0x12 for VoiceGetCLIR()
12608 struct sVoiceGetCLIRResponse_AlphaID
12609 {
12610 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12611 UINT8 mAlphaLength;
12612
12613 // This array must be the size specified by mAlphaLength
12614 // UINT8 mAlphaData[1];
12615 };
12616
12617 // Structure to describe response TLV 0x13 for VoiceGetCLIR()
12618 struct sVoiceGetCLIRResponse_CallControl
12619 {
12620 eQMIVoiceCallControlResultTypes mCallControlResult;
12621 };
12622
12623 // Structure to describe response TLV 0x14 for VoiceGetCLIR()
12624 struct sVoiceGetCLIRResponse_CallID
12625 {
12626 UINT8 mCallID;
12627 };
12628
12629 // Structure to describe response TLV 0x15 for VoiceGetCLIR()
12630 struct sVoiceGetCLIRResponse_SupplementaryService
12631 {
12632 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12633 eQMIVoiceSupplementaryServiceReasons mReason;
12634 };
12635
12636 // Structure to describe request TLV 0x01 for VoiceGetCallForwarding()
12637 struct sVoiceGetCallForwardingRequest_Reason
12638 {
12639 eQMIVoiceSupplementaryServiceReasons mReason;
12640 };
12641
12642 // Structure to describe request TLV 0x10 for VoiceGetCallForwarding()
12643 struct sVoiceGetCallForwardingRequest_ServiceClass
12644 {
12645 bool mSupplementaryServiceClassVoice:1;
12646 bool mSupplementaryServiceClassData:1;
12647 bool mSupplementaryServiceClassFax:1;
12648 bool mSupplementaryServiceClassSMS:1;
12649 bool mSupplementaryServiceClassDataCircuitSync:1;
12650 bool mSupplementaryServiceClassDataCircuitAsync:1;
12651 bool mSupplementaryServiceClassPacketAccess:1;
12652 bool mSupplementaryServiceClassPadAccess:1;
12653 };
12654
12655 // Structure to describe response TLV 0x10 for VoiceGetCallForwarding()
12656 struct sVoiceGetCallForwardingResponse_Info
12657 {
12658 UINT8 mInstanceCount;
12659
12660 struct sInstance1
12661 {
12662 INT8 mServiceActive;
12663 bool mSupplementaryServiceClassVoice:1;
12664 bool mSupplementaryServiceClassData:1;
12665 bool mSupplementaryServiceClassFax:1;
12666 bool mSupplementaryServiceClassSMS:1;
12667 bool mSupplementaryServiceClassDataCircuitSync:1;
12668 bool mSupplementaryServiceClassDataCircuitAsync:1;
12669 bool mSupplementaryServiceClassPacketAccess:1;
12670 bool mSupplementaryServiceClassPadAccess:1;
12671 UINT8 mNumberLength;
12672
12673 // This array must be the size specified by mNumberLength
12674 // char mNumber[1];
12675 };
12676
12677 struct sInstance2
12678 {
12679 UINT8 mNoReplyTimerSeconds;
12680 };
12681
12682 struct sInstance
12683 {
12684 sInstance1 mInstance1;
12685 sInstance2 mInstance2;
12686 };
12687
12688 // This array must be the size specified by mInstanceCount
12689 // sInstance mInstances[1];
12690 };
12691
12692 // Structure to describe response TLV 0x11 for VoiceGetCallForwarding()
12693 struct sVoiceGetCallForwardingResponse_FailureCause
12694 {
12695 UINT16 mFailureCause;
12696 };
12697
12698 // Structure to describe response TLV 0x12 for VoiceGetCallForwarding()
12699 struct sVoiceGetCallForwardingResponse_AlphaID
12700 {
12701 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12702 UINT8 mAlphaLength;
12703
12704 // This array must be the size specified by mAlphaLength
12705 // UINT8 mAlphaData[1];
12706 };
12707
12708 // Structure to describe response TLV 0x13 for VoiceGetCallForwarding()
12709 struct sVoiceGetCallForwardingResponse_CallControl
12710 {
12711 eQMIVoiceCallControlResultTypes mCallControlResult;
12712 };
12713
12714 // Structure to describe response TLV 0x14 for VoiceGetCallForwarding()
12715 struct sVoiceGetCallForwardingResponse_CallID
12716 {
12717 UINT8 mCallID;
12718 };
12719
12720 // Structure to describe response TLV 0x15 for VoiceGetCallForwarding()
12721 struct sVoiceGetCallForwardingResponse_SupplementaryService
12722 {
12723 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12724 eQMIVoiceSupplementaryServiceReasons mReason;
12725 };
12726
12727 // Structure to describe response TLV 0x16 for VoiceGetCallForwarding()
12728 struct sVoiceGetCallForwardingResponse_ExtendedInfo
12729 {
12730 UINT8 mCallInstanceCount;
12731
12732 struct sInstance
12733 {
12734 INT8 mServiceActive;
12735 bool mSupplementaryServiceClassVoice:1;
12736 bool mSupplementaryServiceClassData:1;
12737 bool mSupplementaryServiceClassFax:1;
12738 bool mSupplementaryServiceClassSMS:1;
12739 bool mSupplementaryServiceClassDataCircuitSync:1;
12740 bool mSupplementaryServiceClassDataCircuitAsync:1;
12741 bool mSupplementaryServiceClassPacketAccess:1;
12742 bool mSupplementaryServiceClassPadAccess:1;
12743 UINT8 mNoReplyTimerSeconds;
12744 UINT8 mPresentationIndicator;
12745 eQMIVoiceScreeningIndicators mScreeningIndicator;
12746 eQMIVoiceNumberTypes mNumberType;
12747 eQMIVoiceNumberPlans mNumberPlan;
12748 UINT8 mNumberLength;
12749
12750 // This array must be the size specified by mNumberLength
12751 // char mNumber[1];
12752 };
12753
12754 // This array must be the size specified by mCallInstanceCount
12755 // sInstance mInstances[1];
12756 };
12757
12758 // Structure to describe request TLV 0x01 for VoiceSetCallBarringPassword()
12759 struct sVoiceSetCallBarringPasswordRequest_Info
12760 {
12761 eQMIVoiceSupplementaryServiceReasons mReason;
12762 char mOldCallBarringPassword[4];
12763 char mNewCallBarringPassword[4];
12764 char mNewCallBarringPasswordRepeat[4];
12765 };
12766
12767 // Structure to describe response TLV 0x10 for VoiceSetCallBarring()
12768 struct sVoiceSetCallBarringResponse_FailureCause
12769 {
12770 UINT16 mFailureCause;
12771 };
12772
12773 // Structure to describe response TLV 0x11 for VoiceSetCallBarring()
12774 struct sVoiceSetCallBarringResponse_AlphaID
12775 {
12776 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12777 UINT8 mAlphaLength;
12778
12779 // This array must be the size specified by mAlphaLength
12780 // UINT8 mAlphaData[1];
12781 };
12782
12783 // Structure to describe response TLV 0x12 for VoiceSetCallBarring()
12784 struct sVoiceSetCallBarringResponse_CallControl
12785 {
12786 eQMIVoiceCallControlResultTypes mCallControlResult;
12787 };
12788
12789 // Structure to describe response TLV 0x13 for VoiceSetCallBarring()
12790 struct sVoiceSetCallBarringResponse_CallID
12791 {
12792 UINT8 mCallID;
12793 };
12794
12795 // Structure to describe response TLV 0x14 for VoiceSetCallBarring()
12796 struct sVoiceSetCallBarringResponse_SupplementaryService
12797 {
12798 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12799 eQMIVoiceSupplementaryServiceReasons mReason;
12800 };
12801
12802 // Structure to describe request TLV 0x01 for VoiceInitiateUSSD()
12803 struct sVoiceInitiateUSSDRequest_Info
12804 {
12805 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
12806 UINT8 mUSSLength;
12807
12808 // This array must be the size specified by mUSSLength
12809 // UINT8 mUSSData[1];
12810 };
12811
12812 // Structure to describe response TLV 0x10 for VoiceInitiateUSSD()
12813 struct sVoiceInitiateUSSDResponse_FailCause
12814 {
12815 UINT16 mFailureCause;
12816 };
12817
12818 // Structure to describe response TLV 0x11 for VoiceInitiateUSSD()
12819 struct sVoiceInitiateUSSDResponse_AlphaID
12820 {
12821 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
12822 UINT8 mAlphaLength;
12823
12824 // This array must be the size specified by mAlphaLength
12825 // UINT8 mAlphaData[1];
12826 };
12827
12828 // Structure to describe response TLV 0x12 for VoiceInitiateUSSD()
12829 struct sVoiceInitiateUSSDResponse_Data
12830 {
12831 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
12832 UINT8 mUSSLength;
12833
12834 // This array must be the size specified by mUSSLength
12835 // UINT8 mUSSData[1];
12836 };
12837
12838 // Structure to describe response TLV 0x13 for VoiceInitiateUSSD()
12839 struct sVoiceInitiateUSSDResponse_CallControl
12840 {
12841 eQMIVoiceCallControlResultTypes mCallControlResult;
12842 };
12843
12844 // Structure to describe response TLV 0x14 for VoiceInitiateUSSD()
12845 struct sVoiceInitiateUSSDResponse_CallID
12846 {
12847 UINT8 mCallID;
12848 };
12849
12850 // Structure to describe response TLV 0x15 for VoiceInitiateUSSD()
12851 struct sVoiceInitiateUSSDResponse_SupplementaryService
12852 {
12853 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
12854 eQMIVoiceSupplementaryServiceReasons mReason;
12855 };
12856
12857 // Structure to describe request TLV 0x01 for VoiceAnswerUSSD()
12858 struct sVoiceAnswerUSSDRequest_Info
12859 {
12860 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
12861 UINT8 mUSSLength;
12862
12863 // This array must be the size specified by mUSSLength
12864 // UINT8 mUSSData[1];
12865 };
12866
12867 // Structure to describe indication TLV 0x01 for Voice USSDIndication
12868 struct sVoiceUSSDIndication_Type
12869 {
12870 eQMIVoiceUSSDNotifcationTypes mNotificationType;
12871 };
12872
12873 // Structure to describe indication TLV 0x10 for Voice USSDIndication
12874 struct sVoiceUSSDIndication_Data
12875 {
12876 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
12877 UINT8 mUSSLength;
12878
12879 // This array must be the size specified by mUSSLength
12880 // UINT8 mUSSData[1];
12881 };
12882
12883 // Structure to describe indication TLV 0x01 for Voice USSIndication
12884 struct sVoiceUSSIndication_Info
12885 {
12886 UINT8 mCallID;
12887 eQMIVoiceUUSTypes mUUSType;
12888 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
12889 UINT8 mUUSLength;
12890
12891 // This array must be the size specified by mUUSLength
12892 // UINT8 mUUSData[1];
12893 };
12894
12895 // Structure to describe request TLV 0x10 for VoiceSetConfig()
12896 struct sVoiceSetConfigRequest_AutoAnswer
12897 {
12898 INT8 mAutoAnswer;
12899 };
12900
12901 // Structure to describe request TLV 0x11 for VoiceSetConfig()
12902 struct sVoiceSetConfigRequest_AirTimer
12903 {
12904 UINT8 mNAMID;
12905 UINT32 mAirTimerMinutes;
12906 };
12907
12908 // Structure to describe request TLV 0x12 for VoiceSetConfig()
12909 struct sVoiceSetConfigRequest_RoamTimer
12910 {
12911 UINT8 mNAMID;
12912 UINT32 mRoamTimerMinutes;
12913 };
12914
12915 // Structure to describe request TLV 0x13 for VoiceSetConfig()
12916 struct sVoiceSetConfigRequest_TTYMode
12917 {
12918 eQMIVoiceTTYModes mTTYMode;
12919 };
12920
12921 // Structure to describe request TLV 0x14 for VoiceSetConfig()
12922 struct sVoiceSetConfigRequest_PreferredVoiceSO
12923 {
12924 UINT8 mNAMID;
12925 INT8 mEVRCCapability;
12926 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
12927 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
12928 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
12929 };
12930
12931 // Structure to describe request TLV 0x15 for VoiceSetConfig()
12932 struct sVoiceSetConfigRequest_PreferredVoiceDomain
12933 {
12934 eQMIVoiceDomains mPreferredDomain;
12935 };
12936
12937 // Structure to describe response TLV 0x10 for VoiceSetConfig()
12938 struct sVoiceSetConfigResponse_AutoAnswer
12939 {
12940 INT8 mWriteFailed;
12941 };
12942
12943 // Structure to describe response TLV 0x11 for VoiceSetConfig()
12944 struct sVoiceSetConfigResponse_AirTimer
12945 {
12946 INT8 mWriteFailed;
12947 };
12948
12949 // Structure to describe response TLV 0x12 for VoiceSetConfig()
12950 struct sVoiceSetConfigResponse_RoamTimer
12951 {
12952 INT8 mWriteFailed;
12953 };
12954
12955 // Structure to describe response TLV 0x13 for VoiceSetConfig()
12956 struct sVoiceSetConfigResponse_TTYMode
12957 {
12958 INT8 mWriteFailed;
12959 };
12960
12961 // Structure to describe response TLV 0x14 for VoiceSetConfig()
12962 struct sVoiceSetConfigResponse_PreferredVoiceSO
12963 {
12964 INT8 mWriteFailed;
12965 };
12966
12967 // Structure to describe response TLV 0x15 for VoiceSetConfig()
12968 struct sVoiceSetConfigResponse_PreferredVoiceDomain
12969 {
12970 INT8 mWriteFailed;
12971 };
12972
12973 // Structure to describe request TLV 0x10 for VoiceGetConfig()
12974 struct sVoiceGetConfigRequest_AutoAnswer
12975 {
12976 INT8 mInclude;
12977 };
12978
12979 // Structure to describe request TLV 0x11 for VoiceGetConfig()
12980 struct sVoiceGetConfigRequest_AirTimer
12981 {
12982 INT8 mInclude;
12983 };
12984
12985 // Structure to describe request TLV 0x12 for VoiceGetConfig()
12986 struct sVoiceGetConfigRequest_RoamTimer
12987 {
12988 INT8 mInclude;
12989 };
12990
12991 // Structure to describe request TLV 0x13 for VoiceGetConfig()
12992 struct sVoiceGetConfigRequest_TTYMode
12993 {
12994 INT8 mInclude;
12995 };
12996
12997 // Structure to describe request TLV 0x14 for VoiceGetConfig()
12998 struct sVoiceGetConfigRequest_PreferredVoiceSO
12999 {
13000 INT8 mInclude;
13001 };
13002
13003 // Structure to describe request TLV 0x15 for VoiceGetConfig()
13004 struct sVoiceGetConfigRequest_AMRStatus
13005 {
13006 INT8 mInclude;
13007 };
13008
13009 // Structure to describe request TLV 0x16 for VoiceGetConfig()
13010 struct sVoiceGetConfigRequest_PreferredVoicePrivacy
13011 {
13012 INT8 mInclude;
13013 };
13014
13015 // Structure to describe request TLV 0x17 for VoiceGetConfig()
13016 struct sVoiceGetConfigRequest_NAM
13017 {
13018 UINT8 mNAMID;
13019 };
13020
13021 // Structure to describe request TLV 0x18 for VoiceGetConfig()
13022 struct sVoiceGetConfigRequest_VoiceDomain
13023 {
13024 INT8 mInclude;
13025 };
13026
13027 // Structure to describe response TLV 0x10 for VoiceGetConfig()
13028 struct sVoiceGetConfigResponse_AutoAnswer
13029 {
13030 INT8 mAutoAnswer;
13031 };
13032
13033 // Structure to describe response TLV 0x11 for VoiceGetConfig()
13034 struct sVoiceGetConfigResponse_AirTimer
13035 {
13036 UINT8 mNAMID;
13037 UINT32 mAirTimerMinutes;
13038 };
13039
13040 // Structure to describe response TLV 0x12 for VoiceGetConfig()
13041 struct sVoiceGetConfigResponse_RoamTimer
13042 {
13043 UINT8 mNAMID;
13044 UINT32 mRoamTimerMinutes;
13045 };
13046
13047 // Structure to describe response TLV 0x13 for VoiceGetConfig()
13048 struct sVoiceGetConfigResponse_TTYMode
13049 {
13050 eQMIVoiceTTYModes mTTYMode;
13051 };
13052
13053 // Structure to describe response TLV 0x14 for VoiceGetConfig()
13054 struct sVoiceGetConfigResponse_PreferredVoiceSO
13055 {
13056 UINT8 mNAMID;
13057 INT8 mEVRCCapability;
13058 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
13059 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
13060 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
13061 };
13062
13063 // Structure to describe response TLV 0x15 for VoiceGetConfig()
13064 struct sVoiceGetConfigResponse_AMRConfig
13065 {
13066 INT8 mGSMAMR;
13067 bool mWCDMAAMRWB:1;
13068 bool mGSMHRAMR:1;
13069 bool mGSMAMRWB:1;
13070 bool mGSMAMRNB:1;
13071
13072 // Padding out 4 bits
13073 UINT8 mReserved1:4;
13074 };
13075
13076 // Structure to describe response TLV 0x16 for VoiceGetConfig()
13077 struct sVoiceGetConfigResponse_Privacy
13078 {
13079 eQMIVoicePrivacyLevels mVoicePrivacy;
13080 };
13081
13082 // Structure to describe response TLV 0x17 for VoiceGetConfig()
13083 struct sVoiceGetConfigResponse_PreferredVoiceDomain
13084 {
13085 eQMIVoiceDomains mPreferredDomain;
13086 };
13087
13088 // Structure to describe request TLV 0x01 for VoiceSupplementaryService()
13089 struct sVoiceSupplementaryServiceRequestIndication_Info
13090 {
13091 eQMIVoiceSupplementaryServiceRequests mSupplementaryServiceRequest;
13092 INT8 mModifiedByCallControl;
13093 };
13094
13095 // Structure to describe request TLV 0x10 for VoiceSupplementaryService()
13096 struct sVoiceSupplementaryServiceRequestIndication_Class
13097 {
13098 bool mSupplementaryServiceClassVoice:1;
13099 bool mSupplementaryServiceClassData:1;
13100 bool mSupplementaryServiceClassFax:1;
13101 bool mSupplementaryServiceClassSMS:1;
13102 bool mSupplementaryServiceClassDataCircuitSync:1;
13103 bool mSupplementaryServiceClassDataCircuitAsync:1;
13104 bool mSupplementaryServiceClassPacketAccess:1;
13105 bool mSupplementaryServiceClassPadAccess:1;
13106 };
13107
13108 // Structure to describe request TLV 0x11 for VoiceSupplementaryService()
13109 struct sVoiceSupplementaryServiceRequestIndication_Reason
13110 {
13111 eQMIVoiceSupplementaryServiceReasons mReason;
13112 };
13113
13114 // Structure to describe request TLV 0x12 for VoiceSupplementaryService()
13115 struct sVoiceSupplementaryServiceRequestIndication_Number
13116 {
13117 // String is variable length, but must be size of the container
13118 // char mCallForwardingNumber[1];
13119 };
13120
13121 // Structure to describe request TLV 0x13 for VoiceSupplementaryService()
13122 struct sVoiceSupplementaryServiceRequestIndication_Timer
13123 {
13124 UINT8 mNoReplyTimerSeconds;
13125 };
13126
13127 // Structure to describe request TLV 0x14 for VoiceSupplementaryService()
13128 struct sVoiceSupplementaryServiceRequestIndication_USSData
13129 {
13130 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
13131 UINT8 mUSSLength;
13132
13133 // This array must be the size specified by mUSSLength
13134 // UINT8 mUSSData[1];
13135 };
13136
13137 // Structure to describe request TLV 0x15 for VoiceSupplementaryService()
13138 struct sVoiceSupplementaryServiceRequestIndication_CallID
13139 {
13140 UINT8 mCallID;
13141 };
13142
13143 // Structure to describe request TLV 0x16 for VoiceSupplementaryService()
13144 struct sVoiceSupplementaryServiceRequestIndication_AlphaID
13145 {
13146 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13147 UINT8 mAlphaLength;
13148
13149 // This array must be the size specified by mAlphaLength
13150 // UINT8 mAlphaData[1];
13151 };
13152
13153 // Structure to describe request TLV 0x17 for VoiceSupplementaryService()
13154 struct sVoiceSupplementaryServiceRequestIndication_Password
13155 {
13156 char mCallBarringPassword[4];
13157 };
13158
13159 // Structure to describe request TLV 0x18 for VoiceSupplementaryService()
13160 struct sVoiceSupplementaryServiceRequestIndication_NewPassword
13161 {
13162 char mNewCallBarringPassword[4];
13163 char mNewCallBarringPasswordRepeat[4];
13164 };
13165
13166 // Structure to describe request TLV 0x19 for VoiceSupplementaryService()
13167 struct sVoiceSupplementaryServiceRequestIndication_DataSource
13168 {
13169 INT8 mResponseData;
13170 };
13171
13172 // Structure to describe request TLV 0x1A for VoiceSupplementaryService()
13173 struct sVoiceSupplementaryServiceRequestIndication_FailCause
13174 {
13175 UINT16 mFailureCause;
13176 };
13177
13178 // Structure to describe request TLV 0x1B for VoiceSupplementaryService()
13179 struct sVoiceSupplementaryServiceRequestIndication_CallForwarding
13180 {
13181 UINT8 mInstanceCount;
13182
13183 struct sInstance1
13184 {
13185 INT8 mServiceActive;
13186 bool mSupplementaryServiceClassVoice:1;
13187 bool mSupplementaryServiceClassData:1;
13188 bool mSupplementaryServiceClassFax:1;
13189 bool mSupplementaryServiceClassSMS:1;
13190 bool mSupplementaryServiceClassDataCircuitSync:1;
13191 bool mSupplementaryServiceClassDataCircuitAsync:1;
13192 bool mSupplementaryServiceClassPacketAccess:1;
13193 bool mSupplementaryServiceClassPadAccess:1;
13194 UINT8 mNumberLength;
13195
13196 // This array must be the size specified by mNumberLength
13197 // char mNumber[1];
13198 };
13199
13200 struct sInstance2
13201 {
13202 UINT8 mNoReplyTimerSeconds;
13203 };
13204
13205 struct sInstance
13206 {
13207 sInstance1 mInstance1;
13208 sInstance2 mInstance2;
13209 };
13210
13211 // This array must be the size specified by mInstanceCount
13212 // sInstance mInstances[1];
13213 };
13214
13215 // Structure to describe request TLV 0x1C for VoiceSupplementaryService()
13216 struct sVoiceSupplementaryServiceRequestIndication_CLIR
13217 {
13218 INT8 mCLIRActive;
13219 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
13220 };
13221
13222 // Structure to describe request TLV 0x1D for VoiceSupplementaryService()
13223 struct sVoiceSupplementaryServiceRequestIndication_CLIP
13224 {
13225 INT8 mCLIPActive;
13226 INT8 mCLIPProvisioned;
13227 };
13228
13229 // Structure to describe request TLV 0x1E for VoiceSupplementaryService()
13230 struct sVoiceSupplementaryServiceRequestIndication_COLP
13231 {
13232 INT8 mActive;
13233 INT8 mProvisioned;
13234 };
13235
13236 // Structure to describe request TLV 0x1F for VoiceSupplementaryService()
13237 struct sVoiceSupplementaryServiceRequestIndication_COLR
13238 {
13239 INT8 mActive;
13240 INT8 mProvisioned;
13241 };
13242
13243 // Structure to describe request TLV 0x20 for VoiceSupplementaryService()
13244 struct sVoiceSupplementaryServiceRequestIndication_CNAP
13245 {
13246 INT8 mActive;
13247 INT8 mProvisioned;
13248 };
13249
13250 // Structure to describe request TLV 0x01 for VoiceAsyncInitiateUSSD()
13251 struct sVoiceAsyncInitiateUSSDRequest_Info
13252 {
13253 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
13254 UINT8 mUSSLength;
13255
13256 // This array must be the size specified by mUSSLength
13257 // UINT8 mUSSData[1];
13258 };
13259
13260 // Structure to describe indication TLV 0x10 for Voice USSDAsyncIndication
13261 struct sVoiceUSSDAsyncIndication_Error
13262 {
13263 eQMIErrors mQMIError;
13264 };
13265
13266 // Structure to describe indication TLV 0x11 for Voice USSDAsyncIndication
13267 struct sVoiceUSSDAsyncIndication_FailCause
13268 {
13269 UINT16 mFailureCause;
13270 };
13271
13272 // Structure to describe indication TLV 0x12 for Voice USSDAsyncIndication
13273 struct sVoiceUSSDAsyncIndication_Info
13274 {
13275 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
13276 UINT8 mUSSLength;
13277
13278 // This array must be the size specified by mUSSLength
13279 // UINT8 mUSSData[1];
13280 };
13281
13282 // Structure to describe indication TLV 0x13 for Voice USSDAsyncIndication
13283 struct sVoiceUSSDAsyncIndication_AlphaID
13284 {
13285 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13286 UINT8 mAlphaLength;
13287
13288 // This array must be the size specified by mAlphaLength
13289 // UINT8 mAlphaData[1];
13290 };
13291
13292 // Structure to describe request TLV 0x01 for VoiceBindSubscription()
13293 struct sVoiceBindSubscriptionRequest_Type
13294 {
13295 eQMIVoiceSubscriptionTypes mSubscriptionType;
13296 };
13297
13298 // Structure to describe request TLV 0x01 for VoiceALSSetLineSwitching()
13299 struct sVoiceALSSetLineSwitchingRequest_Switching
13300 {
13301 INT8 mLineSwitchingAllowed;
13302 };
13303
13304 // Structure to describe request TLV 0x01 for VoiceALSSelectLine()
13305 struct sVoiceALSSelectLineRequest_Line
13306 {
13307 eQMIVoiceALSLines mLineValue;
13308 };
13309
13310 // Structure to describe request TLV 0x01 for VoiceAOCSetACMMaximum()
13311 struct sVoiceAOCSetACMMaximumRequest_ACMMax
13312 {
13313 UINT32 mACMMaximum;
13314 };
13315
13316 // Structure to describe request TLV 0x01 for VoiceAOCGetCallMeterInfo()
13317 struct sVoiceAOCGetCallMeterInfoRequest_Mask
13318 {
13319 bool mACM:1;
13320 bool mACMMaximum:1;
13321 bool mCCM:1;
13322
13323 // Padding out 13 bits
13324 UINT8 mReserved1:5;
13325 UINT8 mReserved2;
13326 };
13327
13328 // Structure to describe response TLV 0x10 for VoiceAOCGetCallMeterInfo()
13329 struct sVoiceAOCGetCallMeterInfoResponse_ACM
13330 {
13331 UINT32 mACM;
13332 };
13333
13334 // Structure to describe response TLV 0x11 for VoiceAOCGetCallMeterInfo()
13335 struct sVoiceAOCGetCallMeterInfoResponse_ACMMax
13336 {
13337 UINT32 mACMMaximum;
13338 };
13339
13340 // Structure to describe response TLV 0x12 for VoiceAOCGetCallMeterInfo()
13341 struct sVoiceAOCGetCallMeterInfoResponse_CCM
13342 {
13343 UINT32 mCCM;
13344 };
13345
13346 // Structure to describe response TLV 0x10 for VoiceGetCOLP()
13347 struct sVoiceGetCOLPResponse_COLP
13348 {
13349 INT8 mActive;
13350 INT8 mProvisioned;
13351 };
13352
13353 // Structure to describe response TLV 0x11 for VoiceGetCOLP()
13354 struct sVoiceGetCOLPResponse_FailCause
13355 {
13356 UINT16 mFailureCause;
13357 };
13358
13359 // Structure to describe response TLV 0x12 for VoiceGetCOLP()
13360 struct sVoiceGetCOLPResponse_AlphaID
13361 {
13362 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13363 UINT8 mAlphaLength;
13364
13365 // This array must be the size specified by mAlphaLength
13366 // UINT8 mAlphaData[1];
13367 };
13368
13369 // Structure to describe response TLV 0x13 for VoiceGetCOLP()
13370 struct sVoiceGetCOLPResponse_CallControl
13371 {
13372 eQMIVoiceCallControlResultTypes mCallControlResult;
13373 };
13374
13375 // Structure to describe response TLV 0x14 for VoiceGetCOLP()
13376 struct sVoiceGetCOLPResponse_CallID
13377 {
13378 UINT8 mCallID;
13379 };
13380
13381 // Structure to describe response TLV 0x15 for VoiceGetCOLP()
13382 struct sVoiceGetCOLPResponse_SupplementaryService
13383 {
13384 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
13385 eQMIVoiceSupplementaryServiceReasons mReason;
13386 };
13387
13388 // Structure to describe response TLV 0x10 for VoiceGetCOLR()
13389 struct sVoiceGetCOLRResponse_COLR
13390 {
13391 INT8 mActive;
13392 INT8 mProvisioned;
13393 };
13394
13395 // Structure to describe response TLV 0x11 for VoiceGetCOLR()
13396 struct sVoiceGetCOLRResponse_FailCause
13397 {
13398 UINT16 mFailureCause;
13399 };
13400
13401 // Structure to describe response TLV 0x12 for VoiceGetCOLR()
13402 struct sVoiceGetCOLRResponse_AlphaID
13403 {
13404 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13405 UINT8 mAlphaLength;
13406
13407 // This array must be the size specified by mAlphaLength
13408 // UINT8 mAlphaData[1];
13409 };
13410
13411 // Structure to describe response TLV 0x13 for VoiceGetCOLR()
13412 struct sVoiceGetCOLRResponse_CallControl
13413 {
13414 eQMIVoiceCallControlResultTypes mCallControlResult;
13415 };
13416
13417 // Structure to describe response TLV 0x14 for VoiceGetCOLR()
13418 struct sVoiceGetCOLRResponse_CallID
13419 {
13420 UINT8 mCallID;
13421 };
13422
13423 // Structure to describe response TLV 0x15 for VoiceGetCOLR()
13424 struct sVoiceGetCOLRResponse_SupplementaryService
13425 {
13426 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
13427 eQMIVoiceSupplementaryServiceReasons mReason;
13428 };
13429
13430 // Structure to describe response TLV 0x10 for VoiceGetCNAP()
13431 struct sVoiceGetCNAPResponse_CNAP
13432 {
13433 INT8 mActive;
13434 INT8 mProvisioned;
13435 };
13436
13437 // Structure to describe response TLV 0x11 for VoiceGetCNAP()
13438 struct sVoiceGetCNAPResponse_FailCause
13439 {
13440 UINT16 mFailureCause;
13441 };
13442
13443 // Structure to describe response TLV 0x12 for VoiceGetCNAP()
13444 struct sVoiceGetCNAPResponse_AlphaID
13445 {
13446 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13447 UINT8 mAlphaLength;
13448
13449 // This array must be the size specified by mAlphaLength
13450 // UINT8 mAlphaData[1];
13451 };
13452
13453 // Structure to describe response TLV 0x13 for VoiceGetCNAP()
13454 struct sVoiceGetCNAPResponse_CallControl
13455 {
13456 eQMIVoiceCallControlResultTypes mCallControlResult;
13457 };
13458
13459 // Structure to describe response TLV 0x14 for VoiceGetCNAP()
13460 struct sVoiceGetCNAPResponse_CallID
13461 {
13462 UINT8 mCallID;
13463 };
13464
13465 // Structure to describe response TLV 0x15 for VoiceGetCNAP()
13466 struct sVoiceGetCNAPResponse_SupplementaryService
13467 {
13468 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
13469 eQMIVoiceSupplementaryServiceReasons mReason;
13470 };
13471
13472 // Structure to describe request TLV 0x01 for VoiceManageIPCalls()
13473 struct sVoiceManageIPCallsRequest_Info
13474 {
13475 eQMIVoiceVoIPSUPSCallTypes mSupplementaryServiceType;
13476 };
13477
13478 // Structure to describe response TLV 0x10 for VoiceManageIPCalls()
13479 struct sVoiceManageIPCallsResponse_CallID
13480 {
13481 UINT8 mCallID;
13482 };
13483
13484 // Structure to describe request TLV 0x10 for CAT2SetEventReport()
13485 struct sCAT2SetEventReportRequest_ReportMask
13486 {
13487 bool mDisplayText:1;
13488 bool mGetInkey:1;
13489 bool mGetInput:1;
13490 bool mSetupMenu:1;
13491 bool mSelectItem:1;
13492 bool mSendSMSAlphaIdentifier:1;
13493 bool mSetupEventUserActivity:1;
13494 bool mSetupEventIdleScreenNotify:1;
13495 bool mSetupEventLanguageSelNotify:1;
13496 bool mSetupIdleModeText:1;
13497 bool mLanguageNotification:1;
13498 bool mRefresh:1;
13499 bool mEndProactiveSession:1;
13500 bool mPlayTone:1;
13501 bool mSetupCall:1;
13502 bool mSendDTMF:1;
13503 bool mLaunchBrowser:1;
13504 bool mSendSS:1;
13505 bool mSendUSSD:1;
13506 bool mProvideLocalInformationLanguage:1;
13507 bool mBearerIndependentProtocol:1;
13508 bool mSetupEventBrowserTermination:1;
13509 bool mProvideLocalInformationTime:1;
13510
13511 // Padding out 9 bits
13512 UINT8 mReserved1:1;
13513 UINT8 mReserved2;
13514 };
13515
13516 // Structure to describe request TLV 0x11 for CAT2SetEventReport()
13517 struct sCAT2SetEventReportRequest_DecodeReportMask
13518 {
13519 bool mDisplayText:1;
13520 bool mGetInkey:1;
13521 bool mGetInput:1;
13522 bool mSetupMenu:1;
13523 bool mSelectItem:1;
13524 bool mSendSMSAlphaIdentifier:1;
13525 bool mSetupEventUserActivity:1;
13526 bool mSetupEventIdleScreenNotify:1;
13527 bool mSetupEventLanguageSelNotify:1;
13528 bool mSetupIdleModeText:1;
13529 bool mLanguageNotification:1;
13530
13531 // Padding out 1 bits
13532 UINT8 mReserved1:1;
13533
13534 bool mEndProactiveSession:1;
13535 bool mPlayTone:1;
13536 bool mSetupCall:1;
13537 bool mSendDTMF:1;
13538 bool mLaunchBrowser:1;
13539 bool mSendSS:1;
13540 bool mSendUSSD:1;
13541 bool mProvideLocalInformationLanguage:1;
13542 bool mBearerIndependentProtocol:1;
13543
13544 // Padding out 2 bits
13545 UINT8 mReserved2:2;
13546
13547 bool mSCWSEvent:1;
13548
13549 // Padding out 8 bits
13550 UINT8 mReserved3;
13551 };
13552
13553 // Structure to describe request TLV 0x12 for CAT2SetEventReport()
13554 struct sCAT2SetEventReportRequest_Slot
13555 {
13556 bool mSlot1:1;
13557 bool mSlot2:1;
13558
13559 // Padding out 6 bits
13560 UINT8 mReserved1:6;
13561 };
13562
13563 // Structure to describe response TLV 0x10 for CAT2SetEventReport()
13564 struct sCAT2SetEventReportResponse_RegStatusMask
13565 {
13566 bool mDisplayText:1;
13567 bool mGetInkey:1;
13568 bool mGetInput:1;
13569 bool mSetupMenu:1;
13570 bool mSelectItem:1;
13571 bool mSendSMSAlphaIdentifier:1;
13572 bool mSetupEventUserActivity:1;
13573 bool mSetupEventIdleScreenNotify:1;
13574 bool mSetupEventLanguageSelNotify:1;
13575 bool mSetupIdleModeText:1;
13576 bool mLanguageNotification:1;
13577 bool mRefresh:1;
13578 bool mEndProactiveSession:1;
13579 bool mPlayTone:1;
13580 bool mSetupCall:1;
13581 bool mSendDTMF:1;
13582 bool mLaunchBrowser:1;
13583 bool mSendSS:1;
13584 bool mSendUSSD:1;
13585 bool mProvideLocalInformationLanguage:1;
13586 bool mBearerIndependentProtocol:1;
13587 bool mSetupEventBrowserTermination:1;
13588 bool mProvideLocalInformationTime:1;
13589
13590 // Padding out 9 bits
13591 UINT8 mReserved1:1;
13592 UINT8 mReserved2;
13593 };
13594
13595 // Structure to describe response TLV 0x11 for CAT2SetEventReport()
13596 struct sCAT2SetEventReportResponse_DecodedRegStatusMask
13597 {
13598 bool mDisplayText:1;
13599 bool mGetInkey:1;
13600 bool mGetInput:1;
13601 bool mSetupMenu:1;
13602 bool mSelectItem:1;
13603 bool mSendSMSAlphaIdentifier:1;
13604 bool mSetupEventUserActivity:1;
13605 bool mSetupEventIdleScreenNotify:1;
13606 bool mSetupEventLanguageSelNotify:1;
13607 bool mSetupIdleModeText:1;
13608 bool mLanguageNotification:1;
13609
13610 // Padding out 1 bits
13611 UINT8 mReserved1:1;
13612
13613 bool mEndProactiveSession:1;
13614 bool mPlayTone:1;
13615 bool mSetupCall:1;
13616 bool mSendDTMF:1;
13617 bool mLaunchBrowser:1;
13618 bool mSendSS:1;
13619 bool mSendUSSD:1;
13620 bool mProvideLocalInformationLanguage:1;
13621 bool mBearerIndependentProtocol:1;
13622
13623 // Padding out 2 bits
13624 UINT8 mReserved2:2;
13625
13626 bool mSCWSEvent:1;
13627
13628 // Padding out 8 bits
13629 UINT8 mReserved3;
13630 };
13631
13632 // Structure to describe indication TLV 0x10 for CAT2 EventReport
13633 struct sCAT2EventReportIndication_DisplayTextEvent
13634 {
13635 UINT32 mReferenceID;
13636 UINT16 mCommandLength;
13637
13638 // This array must be the size specified by mCommandLength
13639 // UINT8 mDisplayTextCommand[1];
13640 };
13641
13642 // Structure to describe indication TLV 0x11 for CAT2 EventReport
13643 struct sCAT2EventReportIndication_GetInkeyEvent
13644 {
13645 UINT32 mReferenceID;
13646 UINT16 mCommandLength;
13647
13648 // This array must be the size specified by mCommandLength
13649 // UINT8 mGetInkeyCommand[1];
13650 };
13651
13652 // Structure to describe indication TLV 0x12 for CAT2 EventReport
13653 struct sCAT2EventReportIndication_GetInputEvent
13654 {
13655 UINT32 mReferenceID;
13656 UINT16 mCommandLength;
13657
13658 // This array must be the size specified by mCommandLength
13659 // UINT8 mGetInputCommand[1];
13660 };
13661
13662 // Structure to describe indication TLV 0x13 for CAT2 EventReport
13663 struct sCAT2EventReportIndication_SetupMenuEvent
13664 {
13665 UINT32 mReferenceID;
13666 UINT16 mCommandLength;
13667
13668 // This array must be the size specified by mCommandLength
13669 // UINT8 mSetupMenuCommand[1];
13670 };
13671
13672 // Structure to describe indication TLV 0x14 for CAT2 EventReport
13673 struct sCAT2EventReportIndication_SelectItemEvent
13674 {
13675 UINT32 mReferenceID;
13676 UINT16 mCommandLength;
13677
13678 // This array must be the size specified by mCommandLength
13679 // UINT8 mSelectItemCommand[1];
13680 };
13681
13682 // Structure to describe indication TLV 0x15 for CAT2 EventReport
13683 struct sCAT2EventReportIndication_AlphaIDAvailable
13684 {
13685 eQMICATAlphaIDCommandType mAlphaIDCommandType;
13686 UINT16 mAlphaIDLength;
13687
13688 // This array must be the size specified by mAlphaIDLength
13689 // UINT8 mAlphaID[1];
13690 };
13691
13692 // Structure to describe indication TLV 0x16 for CAT2 EventReport
13693 struct sCAT2EventReportIndication_SetupEventList
13694 {
13695 bool mUserActivityNotify:1;
13696 bool mIdleScreenAvailable:1;
13697 bool mLanguageSelectionNotify:1;
13698
13699 // Padding out 29 bits
13700 UINT8 mReserved1:5;
13701 UINT8 mReserved2[3];
13702 };
13703
13704 // Structure to describe indication TLV 0x17 for CAT2 EventReport
13705 struct sCAT2EventReportIndication_SetupIdleModeTextEvent
13706 {
13707 UINT32 mReferenceID;
13708 UINT16 mCommandLength;
13709
13710 // This array must be the size specified by mCommandLength
13711 // UINT8 mSetupIdleModeTextCommand[1];
13712 };
13713
13714 // Structure to describe indication TLV 0x18 for CAT2 EventReport
13715 struct sCAT2EventReportIndication_LanguageNotificationEvent
13716 {
13717 UINT32 mReferenceID;
13718 UINT16 mCommandLength;
13719
13720 // This array must be the size specified by mCommandLength
13721 // UINT8 mLanguageNotificationCommand[1];
13722 };
13723
13724 // Structure to describe indication TLV 0x19 for CAT2 EventReport
13725 struct sCAT2EventReportIndication_RefreshEvent
13726 {
13727 UINT16 mRefreshMode;
13728 eQMICATRefreshStage mRefreshStage;
13729 };
13730
13731 // Structure to describe indication TLV 0x1A for CAT2 EventReport
13732 struct sCAT2EventReportIndication_EndProactiveSession
13733 {
13734 eQMICATProactiveSessionEndType mProactiveSessionEndType;
13735 };
13736
13737 // Structure to describe indication TLV 0x1B for CAT2 EventReport
13738 struct sCAT2EventReportIndication_DecodedHeaderID
13739 {
13740 eQMICATCommandID mCommandID;
13741 UINT32 mReferenceID;
13742 UINT8 mCommandNumber;
13743 };
13744
13745 // Structure to describe indication TLV 0x1C for CAT2 EventReport
13746 struct sCAT2EventReportIndication_TextString
13747 {
13748 eQMICATDataCodingScheme mDataCodingScheme;
13749 UINT8 mTextDataLength;
13750
13751 // This array must be the size specified by mTextDataLength
13752 // UINT8 mTextData[1];
13753 };
13754
13755 // Structure to describe indication TLV 0x1D for CAT2 EventReport
13756 struct sCAT2EventReportIndication_HighPriority
13757 {
13758 eQMICATHighPriority mHighPriority;
13759 };
13760
13761 // Structure to describe indication TLV 0x1E for CAT2 EventReport
13762 struct sCAT2EventReportIndication_UserControl
13763 {
13764 eQMICATUserControl mUserControl;
13765 };
13766
13767 // Structure to describe indication TLV 0x1F for CAT2 EventReport
13768 struct sCAT2EventReportIndication_Icon
13769 {
13770 eQMICATIconQualifier mIconQualifier;
13771 UINT8 mHeight;
13772 UINT8 mWidth;
13773 eQMICATImageCodingScheme mImageCodingScheme;
13774 UINT8 mRecordNumber;
13775 UINT16 mIconDataLength;
13776
13777 // This array must be the size specified by mIconDataLength
13778 // UINT8 mIconData[1];
13779 };
13780
13781 // Structure to describe indication TLV 0x20 for CAT2 EventReport
13782 struct sCAT2EventReportIndication_Duration
13783 {
13784 eQMICATTimeUnits mUnits;
13785 UINT8 mInterval;
13786 };
13787
13788 // Structure to describe indication TLV 0x21 for CAT2 EventReport
13789 struct sCAT2EventReportIndication_ResponseFormat
13790 {
13791 eQMICATResponseFormat mResponseFormat;
13792 };
13793
13794 // Structure to describe indication TLV 0x22 for CAT2 EventReport
13795 struct sCAT2EventReportIndication_HelpAvailable
13796 {
13797 eQMICATHelpAvailable mHelpAvailable;
13798 };
13799
13800 // Structure to describe indication TLV 0x23 for CAT2 EventReport
13801 struct sCAT2EventReportIndication_ResponsePackingFormat
13802 {
13803 eQMICATResponsePackingFormat mResponsePackingFormat;
13804 };
13805
13806 // Structure to describe indication TLV 0x24 for CAT2 EventReport
13807 struct sCAT2EventReportIndication_ResponseLength
13808 {
13809 UINT8 mMaximumUserInput;
13810 UINT8 mMinimumUserInput;
13811 };
13812
13813 // Structure to describe indication TLV 0x25 for CAT2 EventReport
13814 struct sCAT2EventReportIndication_ShowUserInput
13815 {
13816 eQMICATShowUserInput mShowUserInput;
13817 };
13818
13819 // Structure to describe indication TLV 0x26 for CAT2 EventReport
13820 struct sCAT2EventReportIndication_Tone
13821 {
13822 eQMICATTone mTone;
13823 };
13824
13825 // Structure to describe indication TLV 0x27 for CAT2 EventReport
13826 struct sCAT2EventReportIndication_SoftkeySelection
13827 {
13828 eQMICATSoftkeySelection mSoftkeySelection;
13829 };
13830
13831 // Structure to describe indication TLV 0x28 for CAT2 EventReport
13832 struct sCAT2EventReportIndication_Items
13833 {
13834 UINT8 mItemsLength;
13835
13836 struct sItem
13837 {
13838 UINT8 mItemID;
13839 UINT8 mItemTextLength;
13840
13841 // This array must be the size specified by mItemTextLength
13842 // UINT8 mItemText[1];
13843 };
13844
13845 // This array must be the size specified by mItemsLength
13846 // sItem mItems[1];
13847 };
13848
13849 // Structure to describe indication TLV 0x29 for CAT2 EventReport
13850 struct sCAT2EventReportIndication_DefaultItem
13851 {
13852 UINT8 mDefaultItem;
13853 };
13854
13855 // Structure to describe indication TLV 0x2A for CAT2 EventReport
13856 struct sCAT2EventReportIndication_NextActionIdentifier
13857 {
13858 UINT8 mActionsLength;
13859
13860 // This array must be the size specified by mActionsLength
13861 // eQMICATNextAction mNextAction[1];
13862 };
13863
13864 // Structure to describe indication TLV 0x2B for CAT2 EventReport
13865 struct sCAT2EventReportIndication_IconIDList
13866 {
13867 eQMICATDisplayIconOnly mDisplayIconOnly;
13868 UINT8 mItemsLength;
13869
13870 struct sItem
13871 {
13872 eQMICATIconQualifier mIconQualifier;
13873 UINT8 mHeight;
13874 UINT8 mWidth;
13875 eQMICATImageCodingScheme mImageCodingScheme;
13876 UINT8 mRecordNumber;
13877 UINT16 mIconDataLength;
13878
13879 // This array must be the size specified by mIconDataLength
13880 // UINT8 mIconData[1];
13881 };
13882
13883 // This array must be the size specified by mItemsLength
13884 // sItem mItems[1];
13885 };
13886
13887 // Structure to describe indication TLV 0x2C for CAT2 EventReport
13888 struct sCAT2EventReportIndication_Presentation
13889 {
13890 eQMICATPresentation mPresentation;
13891 };
13892
13893 // Structure to describe indication TLV 0x2D for CAT2 EventReport
13894 struct sCAT2EventReportIndication_PackingRequired
13895 {
13896 eQMICATPackingRequired mPackingRequired;
13897 };
13898
13899 // Structure to describe indication TLV 0x2E for CAT2 EventReport
13900 struct sCAT2EventReportIndication_SMSTPDU
13901 {
13902 UINT8 mSMSTPDUDataLength;
13903
13904 // This array must be the size specified by mSMSTPDUDataLength
13905 // UINT8 mSMSTPDUData[1];
13906 };
13907
13908 // Structure to describe indication TLV 0x2F for CAT2 EventReport
13909 struct sCAT2EventReportIndication_IsCDMASMS
13910 {
13911 eQMICATIsCDMASMS mIsCDMASMS;
13912 };
13913
13914 // Structure to describe indication TLV 0x30 for CAT2 EventReport
13915 struct sCAT2EventReportIndication_Address
13916 {
13917 eQMICATAddressTON mAddressTON;
13918 eQMICATAddressNPI mAddressNPI;
13919 UINT8 mAddressDataLength;
13920
13921 // This array must be the size specified by mAddressDataLength
13922 // char mAddressData[1];
13923 };
13924
13925 // Structure to describe indication TLV 0x31 for CAT2 EventReport
13926 struct sCAT2EventReportIndication_CallSetupRequirement
13927 {
13928 eQMICATCallSetupRequirement mCallSetupRequirement;
13929 };
13930
13931 // Structure to describe indication TLV 0x32 for CAT2 EventReport
13932 struct sCAT2EventReportIndication_Redial
13933 {
13934 eQMICATRedialNecessary mRedialNecessary;
13935 eQMICATTimeUnits mUnits;
13936 UINT8 mInterval;
13937 };
13938
13939 // Structure to describe indication TLV 0x33 for CAT2 EventReport
13940 struct sCAT2EventReportIndication_Subaddress
13941 {
13942 UINT8 mSubaddressDataLength;
13943
13944 struct sSubaddressData
13945 {
13946 UINT8 mSubaddressData1:4;
13947 UINT8 mSubaddressData2:4;
13948 };
13949
13950 // This array must be the size specified by mSubaddressDataLength
13951 // sSubaddressData mSubaddressDatas[1];
13952 };
13953
13954 // Structure to describe indication TLV 0x34 for CAT2 EventReport
13955 struct sCAT2EventReportIndication_CapabilitiesConfiguration
13956 {
13957 UINT8 mCapabilitesConfigurationLength;
13958
13959 // This array must be the size specified by mCapabilitesConfigurationLength
13960 // UINT8 mCapabilitiesConfiguration[1];
13961 };
13962
13963 // Structure to describe indication TLV 0x35 for CAT2 EventReport
13964 struct sCAT2EventReportIndication_DTMF
13965 {
13966 UINT8 mDTMFDataLength;
13967
13968 struct sDTMFData
13969 {
13970 UINT8 mDTMFData1:4;
13971 UINT8 mDTMFData2:4;
13972 };
13973
13974 // This array must be the size specified by mDTMFDataLength
13975 // sDTMFData mDTMFDatas[1];
13976 };
13977
13978 // Structure to describe indication TLV 0x36 for CAT2 EventReport
13979 struct sCAT2EventReportIndication_SpecificLanguageNotification
13980 {
13981 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
13982 };
13983
13984 // Structure to describe indication TLV 0x37 for CAT2 EventReport
13985 struct sCAT2EventReportIndication_Language
13986 {
13987 char mLanguage[2];
13988 };
13989
13990 // Structure to describe indication TLV 0x38 for CAT2 EventReport
13991 struct sCAT2EventReportIndication_LaunchMode
13992 {
13993 eQMICATLaunchMode mLaunchMode;
13994 };
13995
13996 // Structure to describe indication TLV 0x39 for CAT2 EventReport
13997 struct sCAT2EventReportIndication_URL
13998 {
13999 UINT8 mURLDataLength;
14000
14001 // This array must be the size specified by mURLDataLength
14002 // char mURLData[1];
14003 };
14004
14005 // Structure to describe indication TLV 0x3A for CAT2 EventReport
14006 struct sCAT2EventReportIndication_BrowserID
14007 {
14008 UINT8 mBrowserID;
14009 };
14010
14011 // Structure to describe indication TLV 0x3B for CAT2 EventReport
14012 struct sCAT2EventReportIndication_BearerList
14013 {
14014 UINT8 mBearerListLength;
14015
14016 // This array must be the size specified by mBearerListLength
14017 // eQMICATBearer mBearerList[1];
14018 };
14019
14020 // Structure to describe indication TLV 0x3C for CAT2 EventReport
14021 struct sCAT2EventReportIndication_ProvisioningFile
14022 {
14023 UINT32 mNumberOfProvisioningFiles;
14024
14025 struct sFile
14026 {
14027 UINT8 mPathLength;
14028
14029 // This array must be the size specified by mPathLength
14030 // char mPath[1];
14031 };
14032
14033 // This array must be the size specified by mNumberOfProvisioningFiles
14034 // sFile mFiles[1];
14035 };
14036
14037 // Structure to describe indication TLV 0x3D for CAT2 EventReport
14038 struct sCAT2EventReportIndication_USSDString
14039 {
14040 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
14041 eQMICATUSSDDataCodingScheme mDataCodingScheme;
14042 UINT8 mUSSDTextLength;
14043
14044 // This array must be the size specified by mUSSDTextLength
14045 // UINT8 mUSSDText[1];
14046 };
14047
14048 // Structure to describe indication TLV 0x3E for CAT2 EventReport
14049 struct sCAT2EventReportIndication_DefaultText
14050 {
14051 eQMICATDataCodingScheme mDataCodingScheme;
14052 UINT8 mTextDataLength;
14053
14054 // This array must be the size specified by mTextDataLength
14055 // UINT8 mTextData[1];
14056 };
14057
14058 // Structure to describe indication TLV 0x3F for CAT2 EventReport
14059 struct sCAT2EventReportIndication_ImmediateResponseRequired
14060 {
14061 eQMICATImmediateResponse mImmediateResponse;
14062 };
14063
14064 // Structure to describe indication TLV 0x40 for CAT2 EventReport
14065 struct sCAT2EventReportIndication_UserConfirmationAlpha
14066 {
14067 eQMICATDataCodingScheme mDataCodingScheme;
14068 UINT8 mTextDataLength;
14069
14070 // This array must be the size specified by mTextDataLength
14071 // UINT8 mTextData[1];
14072 };
14073
14074 // Structure to describe indication TLV 0x41 for CAT2 EventReport
14075 struct sCAT2EventReportIndication_SetupCallDisplayAlpha
14076 {
14077 eQMICATDataCodingScheme mDataCodingScheme;
14078 UINT8 mTextDataLength;
14079
14080 // This array must be the size specified by mTextDataLength
14081 // UINT8 mTextData[1];
14082 };
14083
14084 // Structure to describe indication TLV 0x42 for CAT2 EventReport
14085 struct sCAT2EventReportIndication_UserConfirmationIcon
14086 {
14087 eQMICATIconQualifier mIconQualifier;
14088 UINT8 mHeight;
14089 UINT8 mWidth;
14090 eQMICATImageCodingScheme mImageCodingScheme;
14091 UINT8 mRecordNumber;
14092 UINT16 mIconDataLength;
14093
14094 // This array must be the size specified by mIconDataLength
14095 // UINT8 mIconData[1];
14096 };
14097
14098 // Structure to describe indication TLV 0x43 for CAT2 EventReport
14099 struct sCAT2EventReportIndication_SetupCallDisplayIcon
14100 {
14101 eQMICATIconQualifier mIconQualifier;
14102 UINT8 mHeight;
14103 UINT8 mWidth;
14104 eQMICATImageCodingScheme mImageCodingScheme;
14105 UINT8 mRecordNumber;
14106 UINT16 mIconDataLength;
14107
14108 // This array must be the size specified by mIconDataLength
14109 // UINT8 mIconData[1];
14110 };
14111
14112 // Structure to describe indication TLV 0x44 for CAT2 EventReport
14113 struct sCAT2EventReportIndication_GatewayProxy
14114 {
14115 eQMICATDataCodingScheme mDataCodingScheme;
14116 UINT8 mTextDataLength;
14117
14118 // This array must be the size specified by mTextDataLength
14119 // UINT8 mTextData[1];
14120 };
14121
14122 // Structure to describe indication TLV 0x45 for CAT2 EventReport
14123 struct sCAT2EventReportIndication_Alpha
14124 {
14125 eQMICATDataCodingScheme mDataCodingScheme;
14126 UINT8 mTextDataLength;
14127
14128 // This array must be the size specified by mTextDataLength
14129 // UINT8 mTextData[1];
14130 };
14131
14132 // Structure to describe indication TLV 0x46 for CAT2 EventReport
14133 struct sCAT2EventReportIndication_NotificationRequired
14134 {
14135 eQMICATNotificationRequired mNotificationRequired;
14136 };
14137
14138 // Structure to describe indication TLV 0x47 for CAT2 EventReport
14139 struct sCAT2EventReportIndication_PlayToneEvent
14140 {
14141 UINT32 mReferenceID;
14142 UINT16 mCommandLength;
14143
14144 // This array must be the size specified by mCommandLength
14145 // UINT8 mPlayToneCommand[1];
14146 };
14147
14148 // Structure to describe indication TLV 0x48 for CAT2 EventReport
14149 struct sCAT2EventReportIndication_SetupCallEvent
14150 {
14151 UINT32 mReferenceID;
14152 UINT16 mCommandLength;
14153
14154 // This array must be the size specified by mCommandLength
14155 // UINT8 mSetupCallCommand[1];
14156 };
14157
14158 // Structure to describe indication TLV 0x49 for CAT2 EventReport
14159 struct sCAT2EventReportIndication_SendDTMFEvent
14160 {
14161 UINT32 mReferenceID;
14162 UINT16 mCommandLength;
14163
14164 // This array must be the size specified by mCommandLength
14165 // UINT8 mSendDTMFCommand[1];
14166 };
14167
14168 // Structure to describe indication TLV 0x4A for CAT2 EventReport
14169 struct sCAT2EventReportIndication_LaunchBrowserEvent
14170 {
14171 UINT32 mReferenceID;
14172 UINT16 mCommandLength;
14173
14174 // This array must be the size specified by mCommandLength
14175 // UINT8 mLaunchBrowserCommand[1];
14176 };
14177
14178 // Structure to describe indication TLV 0x4B for CAT2 EventReport
14179 struct sCAT2EventReportIndication_SendSMSEvent
14180 {
14181 UINT32 mReferenceID;
14182 UINT16 mCommandLength;
14183
14184 // This array must be the size specified by mCommandLength
14185 // UINT8 mSendSMSCommand[1];
14186 };
14187
14188 // Structure to describe indication TLV 0x4C for CAT2 EventReport
14189 struct sCAT2EventReportIndication_SendSSEvent
14190 {
14191 UINT32 mReferenceID;
14192 UINT16 mCommandLength;
14193
14194 // This array must be the size specified by mCommandLength
14195 // UINT8 mSendSSCommand[1];
14196 };
14197
14198 // Structure to describe indication TLV 0x4D for CAT2 EventReport
14199 struct sCAT2EventReportIndication_SendUSSDEvent
14200 {
14201 UINT32 mReferenceID;
14202 UINT16 mCommandLength;
14203
14204 // This array must be the size specified by mCommandLength
14205 // UINT8 mSendUSSDCommand[1];
14206 };
14207
14208 // Structure to describe indication TLV 0x4E for CAT2 EventReport
14209 struct sCAT2EventReportIndication_ProvideLocalInformationEvent
14210 {
14211 UINT32 mReferenceID;
14212 UINT16 mCommandLength;
14213
14214 // This array must be the size specified by mCommandLength
14215 // UINT8 mProvideLocalInformationCommand[1];
14216 };
14217
14218 // Structure to describe indication TLV 0x4F for CAT2 EventReport
14219 struct sCAT2EventReportIndication_SetupRawEventList
14220 {
14221 UINT32 mReferenceID;
14222 UINT16 mCommandLength;
14223
14224 // This array must be the size specified by mCommandLength
14225 // UINT8 mSetupEventListCommand[1];
14226 };
14227
14228 // Structure to describe indication TLV 0x50 for CAT2 EventReport
14229 struct sCAT2EventReportIndication_Slot
14230 {
14231 eQMICATSlot mSlot;
14232 };
14233
14234 // Structure to describe indication TLV 0x51 for CAT2 EventReport
14235 struct sCAT2EventReportIndication_OpenChannelEvent
14236 {
14237 UINT32 mReferenceID;
14238 UINT16 mCommandLength;
14239
14240 // This array must be the size specified by mCommandLength
14241 // UINT8 mOpenChannelCommand[1];
14242 };
14243
14244 // Structure to describe indication TLV 0x52 for CAT2 EventReport
14245 struct sCAT2EventReportIndication_CloseChannelEvent
14246 {
14247 UINT32 mReferenceID;
14248 UINT16 mCommandLength;
14249
14250 // This array must be the size specified by mCommandLength
14251 // UINT8 mCloseChannelCommand[1];
14252 };
14253
14254 // Structure to describe indication TLV 0x53 for CAT2 EventReport
14255 struct sCAT2EventReportIndication_SendDataEvent
14256 {
14257 UINT32 mReferenceID;
14258 UINT16 mCommandLength;
14259
14260 // This array must be the size specified by mCommandLength
14261 // UINT8 mSendDataCommand[1];
14262 };
14263
14264 // Structure to describe indication TLV 0x54 for CAT2 EventReport
14265 struct sCAT2EventReportIndication_ReceiveDataEvent
14266 {
14267 UINT32 mReferenceID;
14268 UINT16 mCommandLength;
14269
14270 // This array must be the size specified by mCommandLength
14271 // UINT8 mReceiveDataCommand[1];
14272 };
14273
14274 // Structure to describe indication TLV 0x55 for CAT2 EventReport
14275 struct sCAT2EventReportIndication_OnDemmandLinkEstablish
14276 {
14277 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
14278 };
14279
14280 // Structure to describe indication TLV 0x56 for CAT2 EventReport
14281 struct sCAT2EventReportIndication_CSDBearerDescription
14282 {
14283 UINT8 mSpeed;
14284 eQMICATCSDBearerName mCSDBearerName;
14285 eQMICATConnectionElement mConnectionElement;
14286 };
14287
14288 // Structure to describe indication TLV 0x57 for CAT2 EventReport
14289 struct sCAT2EventReportIndication_GPRSBearerDescription
14290 {
14291 UINT8 mPrecedenceClass;
14292 UINT8 mDelayClass;
14293 UINT8 mReliabilityClass;
14294 UINT8 mPeakThroughput;
14295 UINT8 mMeanThroughput;
14296 eQMICATPacketDataProtocol mPacketDataProtocol;
14297 };
14298
14299 // Structure to describe indication TLV 0x58 for CAT2 EventReport
14300 struct sCAT2EventReportIndication_EUTRANExternalParameterBearerDescription
14301 {
14302 eQMICATTrafficClass mTrafficClass;
14303 UINT16 mMaxUploadBitrate;
14304 UINT16 mMaxDownloadBitrate;
14305 UINT16 mGuaranteedUploadBitrate;
14306 UINT16 mGuaranteedDownloadBitrate;
14307 eQMICATDeliveryOrder mDeliveryOrder;
14308 UINT8 mMaxSDUSize;
14309 UINT8 mMaxSDUErrorRatio;
14310 UINT8 mResidualBitErrorRatio;
14311 eQMICATDeliverErrorSDU mDeliverErrorSDU;
14312 UINT8 mTransferDelay;
14313 UINT8 mTrafficHandlingPRI;
14314 eQMICATPDPType mPDPType;
14315 };
14316
14317 // Structure to describe indication TLV 0x59 for CAT2 EventReport
14318 struct sCAT2EventReportIndication_EUTRANExternalMappedUTRANBearerDescription
14319 {
14320 UINT8 mQCI;
14321 UINT8 mMaxUploadBitrate;
14322 UINT8 mMaxDownloadBitrate;
14323 UINT8 mGuaranteedUploadBitrate;
14324 UINT8 mGuaranteedDownloadBitrate;
14325 UINT8 mMaximumUploadBitrateExt;
14326 UINT8 mMaximumDownloadBitrateExt;
14327 UINT8 mGuaranteedUploadBitrateExt;
14328 UINT8 mGuaranteedDownloadBitrateExt;
14329 eQMICATPDPType mPDPType;
14330 };
14331
14332 // Structure to describe indication TLV 0x5A for CAT2 EventReport
14333 struct sCAT2EventReportIndication_BufferSize
14334 {
14335 UINT16 mBufferSize;
14336 };
14337
14338 // Structure to describe indication TLV 0x5B for CAT2 EventReport
14339 struct sCAT2EventReportIndication_NetworkAccessName
14340 {
14341 UINT8 mNetworkAccessNameLength;
14342
14343 // This array must be the size specified by mNetworkAccessNameLength
14344 // UINT8 mNetworkAccessName[1];
14345 };
14346
14347 // Structure to describe indication TLV 0x5C for CAT2 EventReport
14348 struct sCAT2EventReportIndication_OtherAddress
14349 {
14350 eQMICATAddressType mAddressType;
14351 UINT8 mAddressDataLength;
14352
14353 // This array must be the size specified by mAddressDataLength
14354 // char mAddressData[1];
14355 };
14356
14357 // Structure to describe indication TLV 0x5D for CAT2 EventReport
14358 struct sCAT2EventReportIndication_UserLogin
14359 {
14360 eQMICATDataCodingScheme mDataCodingScheme;
14361 UINT8 mTextDataLength;
14362
14363 // This array must be the size specified by mTextDataLength
14364 // UINT8 mTextData[1];
14365 };
14366
14367 // Structure to describe indication TLV 0x5E for CAT2 EventReport
14368 struct sCAT2EventReportIndication_UserPassword
14369 {
14370 eQMICATDataCodingScheme mDataCodingScheme;
14371 UINT8 mTextDataLength;
14372
14373 // This array must be the size specified by mTextDataLength
14374 // UINT8 mTextData[1];
14375 };
14376
14377 // Structure to describe indication TLV 0x5F for CAT2 EventReport
14378 struct sCAT2EventReportIndication_TransportLevel
14379 {
14380 eQMICATTransportProtocol mTransportProtocol;
14381 UINT16 mPortNumber;
14382 };
14383
14384 // Structure to describe indication TLV 0x60 for CAT2 EventReport
14385 struct sCAT2EventReportIndication_DataDestinationAddress
14386 {
14387 eQMICATAddressType mAddressType;
14388 UINT8 mAddressDataLength;
14389
14390 // This array must be the size specified by mAddressDataLength
14391 // char mAddressData[1];
14392 };
14393
14394 // Structure to describe indication TLV 0x61 for CAT2 EventReport
14395 struct sCAT2EventReportIndication_ChannelDataLength
14396 {
14397 UINT8 mChannelDataLength;
14398 };
14399
14400 // Structure to describe indication TLV 0x62 for CAT2 EventReport
14401 struct sCAT2EventReportIndication_SendDataImmediately
14402 {
14403 eQMICATSendDataImmediately mSendDataImmediately;
14404 };
14405
14406 // Structure to describe indication TLV 0x63 for CAT2 EventReport
14407 struct sCAT2EventReportIndication_ChannelData
14408 {
14409 UINT16 mChannelDataLength;
14410
14411 // This array must be the size specified by mChannelDataLength
14412 // UINT8 mChannelData[1];
14413 };
14414
14415 // Structure to describe indication TLV 0x64 for CAT2 EventReport
14416 struct sCAT2EventReportIndication_ChannelID
14417 {
14418 UINT8 mChannelID;
14419 };
14420
14421 // Structure to describe response TLV 0x01 for CAT2GetServiceState()
14422 struct sCAT2GetServiceStateResponse_CATServiceState
14423 {
14424 bool mCommonDisplayText:1;
14425 bool mCommonGetInkey:1;
14426 bool mCommonGetInput:1;
14427 bool mCommonSetupMenu:1;
14428 bool mCommonSelectItem:1;
14429 bool mCommonSendSMSAlphaIdentifier:1;
14430 bool mCommonSetupEventUserActivity:1;
14431 bool mCommonSetupEventIdleScreenNotify:1;
14432 bool mCommonSetupEventLanguageSelNotify:1;
14433 bool mCommonSetupIdleModeText:1;
14434 bool mCommonLanguageNotification:1;
14435 bool mCommonRefresh:1;
14436 bool mCommonEndProactiveSession:1;
14437 bool mCommonPlayTone:1;
14438 bool mCommonSetupCall:1;
14439 bool mCommonSendDTMF:1;
14440 bool mCommonLaunchBrowser:1;
14441 bool mCommonSendSS:1;
14442 bool mCommonSendUSSD:1;
14443 bool mCommonProvideLocalInformationLanguage:1;
14444 bool mCommonBearerIndependentProtocol:1;
14445 bool mCommonSetupEventBrowserTermination:1;
14446 bool mCommonProvideLocalInformationTime:1;
14447
14448 // Padding out 9 bits
14449 UINT8 mReserved1:1;
14450 UINT8 mReserved2;
14451
14452 bool mControlDisplayText:1;
14453 bool mControlGetInkey:1;
14454 bool mControlGetInput:1;
14455 bool mControlSetupMenu:1;
14456 bool mControlSelectItem:1;
14457 bool mControlSendSMSAlphaIdentifier:1;
14458 bool mControlSetupEventUserActivity:1;
14459 bool mControlSetupEventIdleScreenNotify:1;
14460 bool mControlSetupEventLanguageSelNotify:1;
14461 bool mControlSetupIdleModeText:1;
14462 bool mControlLanguageNotification:1;
14463 bool mControlRefresh:1;
14464 bool mControlEndProactiveSession:1;
14465 bool mControlPlayTone:1;
14466 bool mControlSetupCall:1;
14467 bool mControlSendDTMF:1;
14468 bool mControlLaunchBrowser:1;
14469 bool mControlSendSS:1;
14470 bool mControlSendUSSD:1;
14471 bool mControlProvideLocalInformationLanguage:1;
14472 bool mControlBearerIndependentProtocol:1;
14473 bool mControlSetupEventBrowserTermination:1;
14474 bool mControlProvideLocalInformationTime:1;
14475
14476 // Padding out 9 bits
14477 UINT8 mReserved3:1;
14478 UINT8 mReserved4;
14479 };
14480
14481 // Structure to describe response TLV 0x10 for CAT2GetServiceState()
14482 struct sCAT2GetServiceStateResponse_DecodedCATServiceState
14483 {
14484 bool mCommonDisplayText:1;
14485 bool mCommonGetInkey:1;
14486 bool mCommonGetInput:1;
14487 bool mCommonSetupMenu:1;
14488 bool mCommonSelectItem:1;
14489 bool mCommonSendSMSAlphaIdentifier:1;
14490 bool mCommonSetupEventUserActivity:1;
14491 bool mCommonSetupEventIdleScreenNotify:1;
14492 bool mCommonSetupEventLanguageSelNotify:1;
14493 bool mCommonSetupIdleModeText:1;
14494 bool mCommonLanguageNotification:1;
14495
14496 // Padding out 1 bits
14497 UINT8 mReserved1:1;
14498
14499 bool mCommonEndProactiveSession:1;
14500 bool mCommonPlayTone:1;
14501 bool mCommonSetupCall:1;
14502 bool mCommonSendDTMF:1;
14503 bool mCommonLaunchBrowser:1;
14504 bool mCommonSendSS:1;
14505 bool mCommonSendUSSD:1;
14506 bool mCommonProvideLocalInformationLanguage:1;
14507 bool mCommonBearerIndependentProtocol:1;
14508
14509 // Padding out 2 bits
14510 UINT8 mReserved2:2;
14511
14512 bool mCommonSCWSEvent:1;
14513
14514 // Padding out 8 bits
14515 UINT8 mReserved3;
14516
14517 bool mControlDisplayText:1;
14518 bool mControlGetInkey:1;
14519 bool mControlGetInput:1;
14520 bool mControlSetupMenu:1;
14521 bool mControlSelectItem:1;
14522 bool mControlSendSMSAlphaIdentifier:1;
14523 bool mControlSetupEventUserActivity:1;
14524 bool mControlSetupEventIdleScreenNotify:1;
14525 bool mControlSetupEventLanguageSelNotify:1;
14526 bool mControlSetupIdleModeText:1;
14527 bool mControlLanguageNotification:1;
14528
14529 // Padding out 1 bits
14530 UINT8 mReserved4:1;
14531
14532 bool mControlEndProactiveSession:1;
14533 bool mControlPlayTone:1;
14534 bool mControlSetupCall:1;
14535 bool mControlSendDTMF:1;
14536 bool mControlLaunchBrowser:1;
14537 bool mControlSendSS:1;
14538 bool mControlSendUSSD:1;
14539 bool mControlProvideLocalInformationLanguage:1;
14540 bool mControlBearerIndependentProtocol:1;
14541
14542 // Padding out 2 bits
14543 UINT8 mReserved5:2;
14544
14545 bool mControlSCWSEvent:1;
14546
14547 // Padding out 8 bits
14548 UINT8 mReserved6;
14549 };
14550
14551 // Structure to describe request TLV 0x01 for CAT2SendTerminalResponse()
14552 struct sCAT2SendTerminalResponseRequest_TerminalResponseType
14553 {
14554 UINT32 mReferenceID;
14555 UINT16 mTerminalResponseLength;
14556
14557 // This array must be the size specified by mTerminalResponseLength
14558 // UINT8 mTerminalResponse[1];
14559 };
14560
14561 // Structure to describe request TLV 0x10 for CAT2SendTerminalResponse()
14562 struct sCAT2SendTerminalResponseRequest_Slot
14563 {
14564 eQMICATSlot mSlot;
14565 };
14566
14567 // Structure to describe request TLV 0x01 for CAT2EnvelopeCommand()
14568 struct sCAT2EnvelopeCommandRequest_EnvelopeCommand
14569 {
14570 eQMICATEnvelopeCommandType mEnvelopeCommandType;
14571 UINT16 mEnvelopeLength;
14572
14573 // This array must be the size specified by mEnvelopeLength
14574 // UINT8 mEnvelopeData[1];
14575 };
14576
14577 // Structure to describe request TLV 0x10 for CAT2EnvelopeCommand()
14578 struct sCAT2EnvelopeCommandRequest_Slot
14579 {
14580 eQMICATSlot mSlot;
14581 };
14582
14583 // Structure to describe request TLV 0x01 for CAT2GetEventReport()
14584 struct sCAT2GetEventReportRequest_CommandInput
14585 {
14586 UINT32 mCommandID;
14587 eQMICATCommandFormat mCommandFormat;
14588 };
14589
14590 // Structure to describe response TLV 0x10 for CAT2GetEventReport()
14591 struct sCAT2GetEventReportResponse_DisplayTextEvent
14592 {
14593 UINT32 mReferenceID;
14594 UINT16 mCommandLength;
14595
14596 // This array must be the size specified by mCommandLength
14597 // UINT8 mDisplayTextCommand[1];
14598 };
14599
14600 // Structure to describe response TLV 0x11 for CAT2GetEventReport()
14601 struct sCAT2GetEventReportResponse_GetInkeyEvent
14602 {
14603 UINT32 mReferenceID;
14604 UINT16 mCommandLength;
14605
14606 // This array must be the size specified by mCommandLength
14607 // UINT8 mGetInkeyCommand[1];
14608 };
14609
14610 // Structure to describe response TLV 0x12 for CAT2GetEventReport()
14611 struct sCAT2GetEventReportResponse_GetInputEvent
14612 {
14613 UINT32 mReferenceID;
14614 UINT16 mCommandLength;
14615
14616 // This array must be the size specified by mCommandLength
14617 // UINT8 mGetInputCommand[1];
14618 };
14619
14620 // Structure to describe response TLV 0x13 for CAT2GetEventReport()
14621 struct sCAT2GetEventReportResponse_SetupMenuEvent
14622 {
14623 UINT32 mReferenceID;
14624 UINT16 mCommandLength;
14625
14626 // This array must be the size specified by mCommandLength
14627 // UINT8 mSetupMenuCommand[1];
14628 };
14629
14630 // Structure to describe response TLV 0x14 for CAT2GetEventReport()
14631 struct sCAT2GetEventReportResponse_SelectItemEvent
14632 {
14633 UINT32 mReferenceID;
14634 UINT16 mCommandLength;
14635
14636 // This array must be the size specified by mCommandLength
14637 // UINT8 mSelectItemCommand[1];
14638 };
14639
14640 // Structure to describe response TLV 0x15 for CAT2GetEventReport()
14641 struct sCAT2GetEventReportResponse_AlphaIDAvailable
14642 {
14643 eQMICATAlphaIDCommandType mAlphaIDCommandType;
14644 UINT16 mAlphaIDLength;
14645
14646 // This array must be the size specified by mAlphaIDLength
14647 // UINT8 mAlphaID[1];
14648 };
14649
14650 // Structure to describe response TLV 0x16 for CAT2GetEventReport()
14651 struct sCAT2GetEventReportResponse_SetupEventList
14652 {
14653 bool mUserActivityNotify:1;
14654 bool mIdleScreenAvailable:1;
14655 bool mLanguageSelectionNotify:1;
14656
14657 // Padding out 29 bits
14658 UINT8 mReserved1:5;
14659 UINT8 mReserved2[3];
14660 };
14661
14662 // Structure to describe response TLV 0x17 for CAT2GetEventReport()
14663 struct sCAT2GetEventReportResponse_SetupIdleModeTextEvent
14664 {
14665 UINT32 mReferenceID;
14666 UINT16 mCommandLength;
14667
14668 // This array must be the size specified by mCommandLength
14669 // UINT8 mSetupIdleModeTextCommand[1];
14670 };
14671
14672 // Structure to describe response TLV 0x18 for CAT2GetEventReport()
14673 struct sCAT2GetEventReportResponse_LanguageNotificationEvent
14674 {
14675 UINT32 mReferenceID;
14676 UINT16 mCommandLength;
14677
14678 // This array must be the size specified by mCommandLength
14679 // UINT8 mLanguageNotificationCommand[1];
14680 };
14681
14682 // Structure to describe response TLV 0x19 for CAT2GetEventReport()
14683 struct sCAT2GetEventReportResponse_RefreshEvent
14684 {
14685 UINT16 mRefreshMode;
14686 eQMICATRefreshStage mRefreshStage;
14687 };
14688
14689 // Structure to describe response TLV 0x1A for CAT2GetEventReport()
14690 struct sCAT2GetEventReportResponse_EndProactiveSession
14691 {
14692 eQMICATProactiveSessionEndType mProactiveSessionEndType;
14693 };
14694
14695 // Structure to describe response TLV 0x1B for CAT2GetEventReport()
14696 struct sCAT2GetEventReportResponse_DecodedHeaderID
14697 {
14698 eQMICATCommandID mCommandID;
14699 UINT32 mReferenceID;
14700 UINT8 mCommandNumber;
14701 };
14702
14703 // Structure to describe response TLV 0x1C for CAT2GetEventReport()
14704 struct sCAT2GetEventReportResponse_TextString
14705 {
14706 eQMICATDataCodingScheme mDataCodingScheme;
14707 UINT8 mTextDataLength;
14708
14709 // This array must be the size specified by mTextDataLength
14710 // UINT8 mTextData[1];
14711 };
14712
14713 // Structure to describe response TLV 0x1D for CAT2GetEventReport()
14714 struct sCAT2GetEventReportResponse_HighPriority
14715 {
14716 eQMICATHighPriority mHighPriority;
14717 };
14718
14719 // Structure to describe response TLV 0x1E for CAT2GetEventReport()
14720 struct sCAT2GetEventReportResponse_UserControl
14721 {
14722 eQMICATUserControl mUserControl;
14723 };
14724
14725 // Structure to describe response TLV 0x1F for CAT2GetEventReport()
14726 struct sCAT2GetEventReportResponse_Icon
14727 {
14728 eQMICATIconQualifier mIconQualifier;
14729 UINT8 mHeight;
14730 UINT8 mWidth;
14731 eQMICATImageCodingScheme mImageCodingScheme;
14732 UINT8 mRecordNumber;
14733 UINT16 mIconDataLength;
14734
14735 // This array must be the size specified by mIconDataLength
14736 // UINT8 mIconData[1];
14737 };
14738
14739 // Structure to describe response TLV 0x20 for CAT2GetEventReport()
14740 struct sCAT2GetEventReportResponse_Duration
14741 {
14742 eQMICATTimeUnits mUnits;
14743 UINT8 mInterval;
14744 };
14745
14746 // Structure to describe response TLV 0x21 for CAT2GetEventReport()
14747 struct sCAT2GetEventReportResponse_ResponseFormat
14748 {
14749 eQMICATResponseFormat mResponseFormat;
14750 };
14751
14752 // Structure to describe response TLV 0x22 for CAT2GetEventReport()
14753 struct sCAT2GetEventReportResponse_HelpAvailable
14754 {
14755 eQMICATHelpAvailable mHelpAvailable;
14756 };
14757
14758 // Structure to describe response TLV 0x23 for CAT2GetEventReport()
14759 struct sCAT2GetEventReportResponse_ResponsePackingFormat
14760 {
14761 eQMICATResponsePackingFormat mResponsePackingFormat;
14762 };
14763
14764 // Structure to describe response TLV 0x24 for CAT2GetEventReport()
14765 struct sCAT2GetEventReportResponse_ResponseLength
14766 {
14767 UINT8 mMaximumUserInput;
14768 UINT8 mMinimumUserInput;
14769 };
14770
14771 // Structure to describe response TLV 0x25 for CAT2GetEventReport()
14772 struct sCAT2GetEventReportResponse_ShowUserInput
14773 {
14774 eQMICATShowUserInput mShowUserInput;
14775 };
14776
14777 // Structure to describe response TLV 0x26 for CAT2GetEventReport()
14778 struct sCAT2GetEventReportResponse_Tone
14779 {
14780 eQMICATTone mTone;
14781 };
14782
14783 // Structure to describe response TLV 0x27 for CAT2GetEventReport()
14784 struct sCAT2GetEventReportResponse_SoftkeySelection
14785 {
14786 eQMICATSoftkeySelection mSoftkeySelection;
14787 };
14788
14789 // Structure to describe response TLV 0x28 for CAT2GetEventReport()
14790 struct sCAT2GetEventReportResponse_Items
14791 {
14792 UINT8 mItemsLength;
14793
14794 struct sItem
14795 {
14796 UINT8 mItemID;
14797 UINT8 mItemTextLength;
14798
14799 // This array must be the size specified by mItemTextLength
14800 // UINT8 mItemText[1];
14801 };
14802
14803 // This array must be the size specified by mItemsLength
14804 // sItem mItems[1];
14805 };
14806
14807 // Structure to describe response TLV 0x29 for CAT2GetEventReport()
14808 struct sCAT2GetEventReportResponse_DefaultItems
14809 {
14810 UINT8 mDefaultItem;
14811 };
14812
14813 // Structure to describe response TLV 0x2A for CAT2GetEventReport()
14814 struct sCAT2GetEventReportResponse_NextActionIdentifier
14815 {
14816 UINT8 mActionsLength;
14817
14818 // This array must be the size specified by mActionsLength
14819 // eQMICATNextAction mNextAction[1];
14820 };
14821
14822 // Structure to describe response TLV 0x2B for CAT2GetEventReport()
14823 struct sCAT2GetEventReportResponse_IconIDList
14824 {
14825 eQMICATDisplayIconOnly mDisplayIconOnly;
14826 UINT8 mItemsLength;
14827
14828 struct sItem
14829 {
14830 eQMICATIconQualifier mIconQualifier;
14831 UINT8 mHeight;
14832 UINT8 mWidth;
14833 eQMICATImageCodingScheme mImageCodingScheme;
14834 UINT8 mRecordNumber;
14835 UINT16 mIconDataLength;
14836
14837 // This array must be the size specified by mIconDataLength
14838 // UINT8 mIconData[1];
14839 };
14840
14841 // This array must be the size specified by mItemsLength
14842 // sItem mItems[1];
14843 };
14844
14845 // Structure to describe response TLV 0x2C for CAT2GetEventReport()
14846 struct sCAT2GetEventReportResponse_Presentation
14847 {
14848 eQMICATPresentation mPresentation;
14849 };
14850
14851 // Structure to describe response TLV 0x2D for CAT2GetEventReport()
14852 struct sCAT2GetEventReportResponse_PackingRequired
14853 {
14854 eQMICATPackingRequired mPackingRequired;
14855 };
14856
14857 // Structure to describe response TLV 0x2E for CAT2GetEventReport()
14858 struct sCAT2GetEventReportResponse_SMSTPDU
14859 {
14860 UINT8 mSMSTPDUDataLength;
14861
14862 // This array must be the size specified by mSMSTPDUDataLength
14863 // UINT8 mSMSTPDUData[1];
14864 };
14865
14866 // Structure to describe response TLV 0x2F for CAT2GetEventReport()
14867 struct sCAT2GetEventReportResponse_IsCDMASMS
14868 {
14869 eQMICATIsCDMASMS mIsCDMASMS;
14870 };
14871
14872 // Structure to describe response TLV 0x30 for CAT2GetEventReport()
14873 struct sCAT2GetEventReportResponse_Address
14874 {
14875 eQMICATAddressTON mAddressTON;
14876 eQMICATAddressNPI mAddressNPI;
14877 UINT8 mAddressDataLength;
14878
14879 // This array must be the size specified by mAddressDataLength
14880 // char mAddressData[1];
14881 };
14882
14883 // Structure to describe response TLV 0x31 for CAT2GetEventReport()
14884 struct sCAT2GetEventReportResponse_CallSetupRequirement
14885 {
14886 eQMICATCallSetupRequirement mCallSetupRequirement;
14887 };
14888
14889 // Structure to describe response TLV 0x32 for CAT2GetEventReport()
14890 struct sCAT2GetEventReportResponse_Redial
14891 {
14892 eQMICATRedialNecessary mRedialNecessary;
14893 eQMICATTimeUnits mUnits;
14894 UINT8 mInterval;
14895 };
14896
14897 // Structure to describe response TLV 0x33 for CAT2GetEventReport()
14898 struct sCAT2GetEventReportResponse_Subaddress
14899 {
14900 UINT8 mSubaddressDataLength;
14901
14902 struct sSubaddressData
14903 {
14904 UINT8 mSubaddressData1:4;
14905 UINT8 mSubaddressData2:4;
14906 };
14907
14908 // This array must be the size specified by mSubaddressDataLength
14909 // sSubaddressData mSubaddressDatas[1];
14910 };
14911
14912 // Structure to describe response TLV 0x34 for CAT2GetEventReport()
14913 struct sCAT2GetEventReportResponse_CapabilityConfiguration
14914 {
14915 UINT8 mCapabilitesConfigurationLength;
14916
14917 // This array must be the size specified by mCapabilitesConfigurationLength
14918 // UINT8 mCapabilitiesConfiguration[1];
14919 };
14920
14921 // Structure to describe response TLV 0x35 for CAT2GetEventReport()
14922 struct sCAT2GetEventReportResponse_DTMF
14923 {
14924 UINT8 mDTMFDataLength;
14925
14926 struct sDTMFData
14927 {
14928 UINT8 mDTMFData1:4;
14929 UINT8 mDTMFData2:4;
14930 };
14931
14932 // This array must be the size specified by mDTMFDataLength
14933 // sDTMFData mDTMFDatas[1];
14934 };
14935
14936 // Structure to describe response TLV 0x36 for CAT2GetEventReport()
14937 struct sCAT2GetEventReportResponse_SpecificLanguageNotification
14938 {
14939 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
14940 };
14941
14942 // Structure to describe response TLV 0x37 for CAT2GetEventReport()
14943 struct sCAT2GetEventReportResponse_Language
14944 {
14945 char mLanguage[2];
14946 };
14947
14948 // Structure to describe response TLV 0x38 for CAT2GetEventReport()
14949 struct sCAT2GetEventReportResponse_LaunchMode
14950 {
14951 eQMICATLaunchMode mLaunchMode;
14952 };
14953
14954 // Structure to describe response TLV 0x39 for CAT2GetEventReport()
14955 struct sCAT2GetEventReportResponse_URL
14956 {
14957 UINT8 mURLDataLength;
14958
14959 // This array must be the size specified by mURLDataLength
14960 // char mURLData[1];
14961 };
14962
14963 // Structure to describe response TLV 0x3A for CAT2GetEventReport()
14964 struct sCAT2GetEventReportResponse_BrowserID
14965 {
14966 UINT8 mBrowserID;
14967 };
14968
14969 // Structure to describe response TLV 0x3B for CAT2GetEventReport()
14970 struct sCAT2GetEventReportResponse_BearerList
14971 {
14972 UINT8 mBearerListLength;
14973
14974 // This array must be the size specified by mBearerListLength
14975 // eQMICATBearer mBearerList[1];
14976 };
14977
14978 // Structure to describe response TLV 0x3C for CAT2GetEventReport()
14979 struct sCAT2GetEventReportResponse_ProvisioningFiles
14980 {
14981 UINT32 mNumberOfProvisioningFiles;
14982
14983 struct sFile
14984 {
14985 UINT8 mPathLength;
14986
14987 // This array must be the size specified by mPathLength
14988 // char mPath[1];
14989 };
14990
14991 // This array must be the size specified by mNumberOfProvisioningFiles
14992 // sFile mFiles[1];
14993 };
14994
14995 // Structure to describe response TLV 0x3D for CAT2GetEventReport()
14996 struct sCAT2GetEventReportResponse_USSDString
14997 {
14998 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
14999 eQMICATUSSDDataCodingScheme mDataCodingScheme;
15000 UINT8 mUSSDTextLength;
15001
15002 // This array must be the size specified by mUSSDTextLength
15003 // UINT8 mUSSDText[1];
15004 };
15005
15006 // Structure to describe response TLV 0x3E for CAT2GetEventReport()
15007 struct sCAT2GetEventReportResponse_DefaultText
15008 {
15009 eQMICATDataCodingScheme mDataCodingScheme;
15010 UINT8 mTextDataLength;
15011
15012 // This array must be the size specified by mTextDataLength
15013 // UINT8 mTextData[1];
15014 };
15015
15016 // Structure to describe response TLV 0x3F for CAT2GetEventReport()
15017 struct sCAT2GetEventReportResponse_ImmediateResponseRequest
15018 {
15019 eQMICATImmediateResponse mImmediateResponse;
15020 };
15021
15022 // Structure to describe response TLV 0x40 for CAT2GetEventReport()
15023 struct sCAT2GetEventReportResponse_UserConfirmationAlpha
15024 {
15025 eQMICATDataCodingScheme mDataCodingScheme;
15026 UINT8 mTextDataLength;
15027
15028 // This array must be the size specified by mTextDataLength
15029 // UINT8 mTextData[1];
15030 };
15031
15032 // Structure to describe response TLV 0x41 for CAT2GetEventReport()
15033 struct sCAT2GetEventReportResponse_SetupCallDisplayAlpha
15034 {
15035 eQMICATDataCodingScheme mDataCodingScheme;
15036 UINT8 mTextDataLength;
15037
15038 // This array must be the size specified by mTextDataLength
15039 // UINT8 mTextData[1];
15040 };
15041
15042 // Structure to describe response TLV 0x42 for CAT2GetEventReport()
15043 struct sCAT2GetEventReportResponse_UserConfirmationIcon
15044 {
15045 eQMICATIconQualifier mIconQualifier;
15046 UINT8 mHeight;
15047 UINT8 mWidth;
15048 eQMICATImageCodingScheme mImageCodingScheme;
15049 UINT8 mRecordNumber;
15050 UINT16 mIconDataLength;
15051
15052 // This array must be the size specified by mIconDataLength
15053 // UINT8 mIconData[1];
15054 };
15055
15056 // Structure to describe response TLV 0x43 for CAT2GetEventReport()
15057 struct sCAT2GetEventReportResponse_SetupCallDisplayIcon
15058 {
15059 eQMICATIconQualifier mIconQualifier;
15060 UINT8 mHeight;
15061 UINT8 mWidth;
15062 eQMICATImageCodingScheme mImageCodingScheme;
15063 UINT8 mRecordNumber;
15064 UINT16 mIconDataLength;
15065
15066 // This array must be the size specified by mIconDataLength
15067 // UINT8 mIconData[1];
15068 };
15069
15070 // Structure to describe response TLV 0x44 for CAT2GetEventReport()
15071 struct sCAT2GetEventReportResponse_GatewayProxy
15072 {
15073 eQMICATDataCodingScheme mDataCodingScheme;
15074 UINT8 mTextDataLength;
15075
15076 // This array must be the size specified by mTextDataLength
15077 // UINT8 mTextData[1];
15078 };
15079
15080 // Structure to describe response TLV 0x45 for CAT2GetEventReport()
15081 struct sCAT2GetEventReportResponse_Alpha
15082 {
15083 eQMICATDataCodingScheme mDataCodingScheme;
15084 UINT8 mTextDataLength;
15085
15086 // This array must be the size specified by mTextDataLength
15087 // UINT8 mTextData[1];
15088 };
15089
15090 // Structure to describe response TLV 0x46 for CAT2GetEventReport()
15091 struct sCAT2GetEventReportResponse_NotificationRequired
15092 {
15093 eQMICATNotificationRequired mNotificationRequired;
15094 };
15095
15096 // Structure to describe response TLV 0x47 for CAT2GetEventReport()
15097 struct sCAT2GetEventReportResponse_PlayToneEvent
15098 {
15099 UINT32 mReferenceID;
15100 UINT16 mCommandLength;
15101
15102 // This array must be the size specified by mCommandLength
15103 // UINT8 mPlayToneCommand[1];
15104 };
15105
15106 // Structure to describe response TLV 0x48 for CAT2GetEventReport()
15107 struct sCAT2GetEventReportResponse_SetupCallEvent
15108 {
15109 UINT32 mReferenceID;
15110 UINT16 mCommandLength;
15111
15112 // This array must be the size specified by mCommandLength
15113 // UINT8 mSetupCallCommand[1];
15114 };
15115
15116 // Structure to describe response TLV 0x49 for CAT2GetEventReport()
15117 struct sCAT2GetEventReportResponse_SendDTMFEvent
15118 {
15119 UINT32 mReferenceID;
15120 UINT16 mCommandLength;
15121
15122 // This array must be the size specified by mCommandLength
15123 // UINT8 mSendDTMFCommand[1];
15124 };
15125
15126 // Structure to describe response TLV 0x4A for CAT2GetEventReport()
15127 struct sCAT2GetEventReportResponse_LaunchBrowserEvent
15128 {
15129 UINT32 mReferenceID;
15130 UINT16 mCommandLength;
15131
15132 // This array must be the size specified by mCommandLength
15133 // UINT8 mLaunchBrowserCommand[1];
15134 };
15135
15136 // Structure to describe response TLV 0x4B for CAT2GetEventReport()
15137 struct sCAT2GetEventReportResponse_SendSMSEvent
15138 {
15139 UINT32 mReferenceID;
15140 UINT16 mCommandLength;
15141
15142 // This array must be the size specified by mCommandLength
15143 // UINT8 mSendSMSCommand[1];
15144 };
15145
15146 // Structure to describe response TLV 0x4C for CAT2GetEventReport()
15147 struct sCAT2GetEventReportResponse_SendSSEvent
15148 {
15149 UINT32 mReferenceID;
15150 UINT16 mCommandLength;
15151
15152 // This array must be the size specified by mCommandLength
15153 // UINT8 mSendSSCommand[1];
15154 };
15155
15156 // Structure to describe response TLV 0x4D for CAT2GetEventReport()
15157 struct sCAT2GetEventReportResponse_SendUSSDEvent
15158 {
15159 UINT32 mReferenceID;
15160 UINT16 mCommandLength;
15161
15162 // This array must be the size specified by mCommandLength
15163 // UINT8 mSendUSSDCommand[1];
15164 };
15165
15166 // Structure to describe response TLV 0x4E for CAT2GetEventReport()
15167 struct sCAT2GetEventReportResponse_ProvideLocalInformationEvent
15168 {
15169 UINT32 mReferenceID;
15170 UINT16 mCommandLength;
15171
15172 // This array must be the size specified by mCommandLength
15173 // UINT8 mProvideLocalInformationCommand[1];
15174 };
15175
15176 // Structure to describe response TLV 0x4F for CAT2GetEventReport()
15177 struct sCAT2GetEventReportResponse_SetupEventListRawEvent
15178 {
15179 UINT32 mReferenceID;
15180 UINT16 mCommandLength;
15181
15182 // This array must be the size specified by mCommandLength
15183 // UINT8 mSetupEventListCommand[1];
15184 };
15185
15186 // Structure to describe response TLV 0x50 for CAT2GetEventReport()
15187 struct sCAT2GetEventReportResponse_Slot
15188 {
15189 eQMICATSlot mSlot;
15190 };
15191
15192 // Structure to describe response TLV 0x51 for CAT2GetEventReport()
15193 struct sCAT2GetEventReportResponse_OpenChannelEvent
15194 {
15195 UINT32 mReferenceID;
15196 UINT16 mCommandLength;
15197
15198 // This array must be the size specified by mCommandLength
15199 // UINT8 mOpenChannelCommand[1];
15200 };
15201
15202 // Structure to describe response TLV 0x52 for CAT2GetEventReport()
15203 struct sCAT2GetEventReportResponse_CloseChannelEvent
15204 {
15205 UINT32 mReferenceID;
15206 UINT16 mCommandLength;
15207
15208 // This array must be the size specified by mCommandLength
15209 // UINT8 mCloseChannelCommand[1];
15210 };
15211
15212 // Structure to describe response TLV 0x53 for CAT2GetEventReport()
15213 struct sCAT2GetEventReportResponse_SendDataEvent
15214 {
15215 UINT32 mReferenceID;
15216 UINT16 mCommandLength;
15217
15218 // This array must be the size specified by mCommandLength
15219 // UINT8 mSendDataCommand[1];
15220 };
15221
15222 // Structure to describe response TLV 0x54 for CAT2GetEventReport()
15223 struct sCAT2GetEventReportResponse_ReceiveDataEvent
15224 {
15225 UINT32 mReferenceID;
15226 UINT16 mCommandLength;
15227
15228 // This array must be the size specified by mCommandLength
15229 // UINT8 mReceiveDataCommand[1];
15230 };
15231
15232 // Structure to describe response TLV 0x55 for CAT2GetEventReport()
15233 struct sCAT2GetEventReportResponse_OnDemandLinkEstablish
15234 {
15235 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
15236 };
15237
15238 // Structure to describe response TLV 0x56 for CAT2GetEventReport()
15239 struct sCAT2GetEventReportResponse_CSDBearerDescription
15240 {
15241 UINT8 mSpeed;
15242 eQMICATCSDBearerName mCSDBearerName;
15243 eQMICATConnectionElement mConnectionElement;
15244 };
15245
15246 // Structure to describe response TLV 0x57 for CAT2GetEventReport()
15247 struct sCAT2GetEventReportResponse_GPRSBearerDescription
15248 {
15249 UINT8 mPrecedenceClass;
15250 UINT8 mDelayClass;
15251 UINT8 mReliabilityClass;
15252 UINT8 mPeakThroughput;
15253 UINT8 mMeanThroughput;
15254 eQMICATPacketDataProtocol mPacketDataProtocol;
15255 };
15256
15257 // Structure to describe response TLV 0x58 for CAT2GetEventReport()
15258 struct sCAT2GetEventReportResponse_EUTRANExternalParameterBearerDescription
15259 {
15260 eQMICATTrafficClass mTrafficClass;
15261 UINT16 mMaxUploadBitrate;
15262 UINT16 mMaxDownloadBitrate;
15263 UINT16 mGuaranteedUploadBitrate;
15264 UINT16 mGuaranteedDownloadBitrate;
15265 eQMICATDeliveryOrder mDeliveryOrder;
15266 UINT8 mMaxSDUSize;
15267 UINT8 mMaxSDUErrorRatio;
15268 UINT8 mResidualBitErrorRatio;
15269 eQMICATDeliverErrorSDU mDeliverErrorSDU;
15270 UINT8 mTransferDelay;
15271 UINT8 mTrafficHandlingPRI;
15272 eQMICATPDPType mPDPType;
15273 };
15274
15275 // Structure to describe response TLV 0x59 for CAT2GetEventReport()
15276 struct sCAT2GetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
15277 {
15278 UINT8 mQCI;
15279 UINT8 mMaxUploadBitrate;
15280 UINT8 mMaxDownloadBitrate;
15281 UINT8 mGuaranteedUploadBitrate;
15282 UINT8 mGuaranteedDownloadBitrate;
15283 UINT8 mMaximumUploadBitrateExt;
15284 UINT8 mMaximumDownloadBitrateExt;
15285 UINT8 mGuaranteedUploadBitrateExt;
15286 UINT8 mGuaranteedDownloadBitrateExt;
15287 eQMICATPDPType mPDPType;
15288 };
15289
15290 // Structure to describe response TLV 0x5A for CAT2GetEventReport()
15291 struct sCAT2GetEventReportResponse_BufferSize
15292 {
15293 UINT16 mBufferSize;
15294 };
15295
15296 // Structure to describe response TLV 0x5B for CAT2GetEventReport()
15297 struct sCAT2GetEventReportResponse_NetworkAccessName
15298 {
15299 UINT8 mNetworkAccessNameLength;
15300
15301 // This array must be the size specified by mNetworkAccessNameLength
15302 // UINT8 mNetworkAccessName[1];
15303 };
15304
15305 // Structure to describe response TLV 0x5C for CAT2GetEventReport()
15306 struct sCAT2GetEventReportResponse_OtherAddress
15307 {
15308 eQMICATAddressType mAddressType;
15309 UINT8 mAddressDataLength;
15310
15311 // This array must be the size specified by mAddressDataLength
15312 // char mAddressData[1];
15313 };
15314
15315 // Structure to describe response TLV 0x5D for CAT2GetEventReport()
15316 struct sCAT2GetEventReportResponse_UserLogin
15317 {
15318 eQMICATDataCodingScheme mDataCodingScheme;
15319 UINT8 mTextDataLength;
15320
15321 // This array must be the size specified by mTextDataLength
15322 // UINT8 mTextData[1];
15323 };
15324
15325 // Structure to describe response TLV 0x5E for CAT2GetEventReport()
15326 struct sCAT2GetEventReportResponse_UserPassword
15327 {
15328 eQMICATDataCodingScheme mDataCodingScheme;
15329 UINT8 mTextDataLength;
15330
15331 // This array must be the size specified by mTextDataLength
15332 // UINT8 mTextData[1];
15333 };
15334
15335 // Structure to describe response TLV 0x5F for CAT2GetEventReport()
15336 struct sCAT2GetEventReportResponse_TransportLevel
15337 {
15338 eQMICATTransportProtocol mTransportProtocol;
15339 UINT16 mPortNumber;
15340 };
15341
15342 // Structure to describe response TLV 0x60 for CAT2GetEventReport()
15343 struct sCAT2GetEventReportResponse_DataDestinationAddress
15344 {
15345 eQMICATAddressType mAddressType;
15346 UINT8 mAddressDataLength;
15347
15348 // This array must be the size specified by mAddressDataLength
15349 // char mAddressData[1];
15350 };
15351
15352 // Structure to describe response TLV 0x61 for CAT2GetEventReport()
15353 struct sCAT2GetEventReportResponse_ChannelDataLength
15354 {
15355 UINT8 mChannelDataLength;
15356 };
15357
15358 // Structure to describe response TLV 0x62 for CAT2GetEventReport()
15359 struct sCAT2GetEventReportResponse_SendDataImmediately
15360 {
15361 eQMICATSendDataImmediately mSendDataImmediately;
15362 };
15363
15364 // Structure to describe response TLV 0x63 for CAT2GetEventReport()
15365 struct sCAT2GetEventReportResponse_ChannelData
15366 {
15367 UINT16 mChannelDataLength;
15368
15369 // This array must be the size specified by mChannelDataLength
15370 // UINT8 mChannelData[1];
15371 };
15372
15373 // Structure to describe response TLV 0x64 for CAT2GetEventReport()
15374 struct sCAT2GetEventReportResponse_ChannelID
15375 {
15376 UINT8 mChannelID;
15377 };
15378
15379 // Structure to describe request TLV 0x01 for CAT2SendDecodedTerminalResponse()
15380 struct sCAT2SendDecodedTerminalResponseRequest_TerminalResponse
15381 {
15382 UINT32 mReferenceID;
15383 UINT8 mCommandNumber;
15384 eQMICATResponseCommand mResponseCommand;
15385 UINT8 mGeneralResult;
15386 UINT8 mAdditionalInformationLength;
15387
15388 // This array must be the size specified by mAdditionalInformationLength
15389 // UINT8 mTerminalResponseAdditionalInformation[1];
15390 };
15391
15392 // Structure to describe request TLV 0x10 for CAT2SendDecodedTerminalResponse()
15393 struct sCAT2SendDecodedTerminalResponseRequest_TextString
15394 {
15395 eQMICATDataCodingScheme mDataCodingScheme;
15396 UINT8 mTextDataLength;
15397
15398 // This array must be the size specified by mTextDataLength
15399 // UINT8 mTextData[1];
15400 };
15401
15402 // Structure to describe request TLV 0x11 for CAT2SendDecodedTerminalResponse()
15403 struct sCAT2SendDecodedTerminalResponseRequest_ItemIdentifier
15404 {
15405 UINT8 mItemIdentifier;
15406 };
15407
15408 // Structure to describe request TLV 0x12 for CAT2SendDecodedTerminalResponse()
15409 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyExtraInfo
15410 {
15411 eQMICATTimeUnits mUnits;
15412 UINT8 mInterval;
15413 eQMICATDataCodingScheme mDataCodingScheme;
15414 UINT8 mTextDataLength;
15415
15416 // This array must be the size specified by mTextDataLength
15417 // UINT8 mTextData[1];
15418 };
15419
15420 // Structure to describe request TLV 0x13 for CAT2SendDecodedTerminalResponse()
15421 struct sCAT2SendDecodedTerminalResponseRequest_LanguageInfo
15422 {
15423 char mLanguage[2];
15424 };
15425
15426 // Structure to describe request TLV 0x14 for CAT2SendDecodedTerminalResponse()
15427 struct sCAT2SendDecodedTerminalResponseRequest_Slot
15428 {
15429 eQMICATSlot mSlot;
15430 };
15431
15432 // Structure to describe request TLV 0x01 for CAT2SendDecodedEnvelopeCommand()
15433 struct sCAT2SendDecodedEnvelopeCommandRequest_EnvelopeCommand
15434 {
15435 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
15436 };
15437
15438 // Structure to describe request TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
15439 struct sCAT2SendDecodedEnvelopeCommandRequest_ItemIdentifier
15440 {
15441 UINT8 mItemIdentifier;
15442 };
15443
15444 // Structure to describe request TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
15445 struct sCAT2SendDecodedEnvelopeCommandRequest_HelpRequest
15446 {
15447 eQMICATHelpRequest mHelpRequest;
15448 };
15449
15450 // Structure to describe request TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
15451 struct sCAT2SendDecodedEnvelopeCommandRequest_Language
15452 {
15453 char mLanguage[2];
15454 };
15455
15456 // Structure to describe request TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
15457 struct sCAT2SendDecodedEnvelopeCommandRequest_Slot
15458 {
15459 eQMICATSlot mSlot;
15460 };
15461
15462 // Structure to describe request TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
15463 struct sCAT2SendDecodedEnvelopeCommandRequest_Address
15464 {
15465 eQMICATAddressTON mAddressTON;
15466 eQMICATAddressNPI mAddressNPI;
15467 UINT8 mAddressDataLength;
15468
15469 // This array must be the size specified by mAddressDataLength
15470 // char mAddressData[1];
15471 };
15472
15473 // Structure to describe request TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
15474 struct sCAT2SendDecodedEnvelopeCommandRequest_Subaddress
15475 {
15476 UINT8 mSubaddressDataLength;
15477
15478 struct sSubaddressData
15479 {
15480 UINT8 mSubaddressData1:4;
15481 UINT8 mSubaddressData2:4;
15482 };
15483
15484 // This array must be the size specified by mSubaddressDataLength
15485 // sSubaddressData mSubaddressDatas[1];
15486 };
15487
15488 // Structure to describe request TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
15489 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
15490 {
15491 UINT8 mCapabilitesConfigurationLength;
15492
15493 // This array must be the size specified by mCapabilitesConfigurationLength
15494 // UINT8 mCapabilitiesConfiguration[1];
15495 };
15496
15497 // Structure to describe request TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
15498 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
15499 {
15500 UINT8 mCapabilitesConfigurationLength;
15501
15502 // This array must be the size specified by mCapabilitesConfigurationLength
15503 // UINT8 mCapabilitiesConfiguration[1];
15504 };
15505
15506 // Structure to describe request TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
15507 struct sCAT2SendDecodedEnvelopeCommandRequest_USSDString
15508 {
15509 eQMICATDataCodingScheme mDataCodingScheme;
15510 UINT8 mTextDataLength;
15511
15512 // This array must be the size specified by mTextDataLength
15513 // UINT8 mTextData[1];
15514 };
15515
15516 // Structure to describe request TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
15517 struct sCAT2SendDecodedEnvelopeCommandRequest_PDPContextActivation
15518 {
15519 UINT8 mPDPContextActivationDataLength;
15520
15521 // This array must be the size specified by mPDPContextActivationDataLength
15522 // UINT8 mPDPContextActivationData[1];
15523 };
15524
15525 // Structure to describe request TLV 0x1A for CAT2SendDecodedEnvelopeCommand()
15526 struct sCAT2SendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
15527 {
15528 UINT8 mEPSPDNConnectActivationDataLength;
15529
15530 // This array must be the size specified by mEPSPDNConnectActivationDataLength
15531 // UINT8 mEPSPDNConnectActivationData[1];
15532 };
15533
15534 // Structure to describe response TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
15535 struct sCAT2SendDecodedEnvelopeCommandResponse_CallControlResult
15536 {
15537 eQMICATCallControlResult mCallControlResult;
15538 };
15539
15540 // Structure to describe response TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
15541 struct sCAT2SendDecodedEnvelopeCommandResponse_Address
15542 {
15543 eQMICATAddressTON mAddressTON;
15544 eQMICATAddressNPI mAddressNPI;
15545 UINT8 mAddressDataLength;
15546
15547 // This array must be the size specified by mAddressDataLength
15548 // char mAddressData[1];
15549 };
15550
15551 // Structure to describe response TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
15552 struct sCAT2SendDecodedEnvelopeCommandResponse_Subaddress
15553 {
15554 UINT8 mSubaddressDataLength;
15555
15556 struct sSubaddressData
15557 {
15558 UINT8 mSubaddressData1:4;
15559 UINT8 mSubaddressData2:4;
15560 };
15561
15562 // This array must be the size specified by mSubaddressDataLength
15563 // sSubaddressData mSubaddressDatas[1];
15564 };
15565
15566 // Structure to describe response TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
15567 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
15568 {
15569 UINT8 mCapabilitesConfigurationLength;
15570
15571 // This array must be the size specified by mCapabilitesConfigurationLength
15572 // UINT8 mCapabilitiesConfiguration[1];
15573 };
15574
15575 // Structure to describe response TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
15576 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
15577 {
15578 UINT8 mCapabilitesConfigurationLength;
15579
15580 // This array must be the size specified by mCapabilitesConfigurationLength
15581 // UINT8 mCapabilitiesConfiguration[1];
15582 };
15583
15584 // Structure to describe response TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
15585 struct sCAT2SendDecodedEnvelopeCommandResponse_USSDString
15586 {
15587 eQMICATDataCodingScheme mDataCodingScheme;
15588 UINT8 mTextDataLength;
15589
15590 // This array must be the size specified by mTextDataLength
15591 // UINT8 mTextData[1];
15592 };
15593
15594 // Structure to describe response TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
15595 struct sCAT2SendDecodedEnvelopeCommandResponse_PDPContextActivation
15596 {
15597 UINT8 mPDPContextActivationDataLength;
15598
15599 // This array must be the size specified by mPDPContextActivationDataLength
15600 // UINT8 mPDPContextActivationData[1];
15601 };
15602
15603 // Structure to describe response TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
15604 struct sCAT2SendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
15605 {
15606 UINT8 mEPSPDNConnectActivationDataLength;
15607
15608 // This array must be the size specified by mEPSPDNConnectActivationDataLength
15609 // UINT8 mEPSPDNConnectActivationData[1];
15610 };
15611
15612 // Structure to describe response TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
15613 struct sCAT2SendDecodedEnvelopeCommandResponse_Alpha
15614 {
15615 eQMICATDataCodingScheme mDataCodingScheme;
15616 UINT8 mTextDataLength;
15617
15618 // This array must be the size specified by mTextDataLength
15619 // UINT8 mTextData[1];
15620 };
15621
15622 // Structure to describe response TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
15623 struct sCAT2SendDecodedEnvelopeCommandResponse_BCRepeatIndicator
15624 {
15625 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
15626 };
15627
15628 // Structure to describe request TLV 0x10 for CAT2EventConfirmation()
15629 struct sCAT2EventConfirmationRequest_UserConfirmed
15630 {
15631 eQMICATUserConfirmed mUserConfirmed;
15632 };
15633
15634 // Structure to describe request TLV 0x11 for CAT2EventConfirmation()
15635 struct sCAT2EventConfirmationRequest_IconIsDisplayed
15636 {
15637 eQMICATIconIsDisplayed mIconIsDisplayed;
15638 };
15639
15640 // Structure to describe request TLV 0x12 for CAT2EventConfirmation()
15641 struct sCAT2EventConfirmationRequest_Slot
15642 {
15643 eQMICATSlot mSlot;
15644 };
15645
15646 // Structure to describe request TLV 0x01 for CAT2SCWSOpenChannel()
15647 struct sCAT2SCWSOpenChannelRequest_ChannelStatus
15648 {
15649 UINT32 mChannelID;
15650 eQMICATChannelState mChannelState;
15651 };
15652
15653 // Structure to describe request TLV 0x10 for CAT2SCWSOpenChannel()
15654 struct sCAT2SCWSOpenChannelRequest_Slot
15655 {
15656 eQMICATSlot mSlot;
15657 };
15658
15659 // Structure to describe indication TLV 0x10 for CAT2 SCWSOpenChannelIndication
15660 struct sCAT2SCWSOpenChannelIndication_OpenChannelInformation
15661 {
15662 UINT32 mChannelID;
15663 UINT16 mPortNumber;
15664 UINT16 mBufferSize;
15665 };
15666
15667 // Structure to describe indication TLV 0x11 for CAT2 SCWSOpenChannelIndication
15668 struct sCAT2SCWSOpenChannelIndication_Slot
15669 {
15670 eQMICATSlot mSlot;
15671 };
15672
15673 // Structure to describe request TLV 0x01 for CAT2SCWSCloseChannel()
15674 struct sCAT2SCWSCloseChannelRequest_ChannelStatus
15675 {
15676 UINT32 mChannelID;
15677 eQMICATChannelState mChannelState;
15678 };
15679
15680 // Structure to describe request TLV 0x10 for CAT2SCWSCloseChannel()
15681 struct sCAT2SCWSCloseChannelRequest_Slot
15682 {
15683 eQMICATSlot mSlot;
15684 };
15685
15686 // Structure to describe indication TLV 0x10 for CAT2 SCWSCloseChannelIndication
15687 struct sCAT2SCWSCloseChannelIndication_CloseChannelInfo
15688 {
15689 UINT32 mChannelID;
15690 eQMICATChannelState mChannelState;
15691 };
15692
15693 // Structure to describe response TLV 0x11 for CAT2SCWSCloseChannel()
15694 struct sCAT2SCWSCloseChannelResponse_Slot
15695 {
15696 eQMICATSlot mSlot;
15697 };
15698
15699 // Structure to describe request TLV 0x01 for CAT2SCWSSendData()
15700 struct sCAT2SCWSSendDataRequest_ChannelStatus
15701 {
15702 UINT32 mChannelID;
15703 eQMICATSendDataResult mDataSendResult;
15704 };
15705
15706 // Structure to describe request TLV 0x10 for CAT2SCWSSendData()
15707 struct sCAT2SCWSSendDataRequest_Slot
15708 {
15709 eQMICATSlot mSlot;
15710 };
15711
15712 // Structure to describe indication TLV 0x10 for CAT2 SCWSSendDataIndication
15713 struct sCAT2SCWSSendDataIndication_SendDataInfo
15714 {
15715 UINT32 mChannelID;
15716 UINT8 mTotalPackets;
15717 UINT8 mCurrentPacket;
15718 UINT16 mDataLength;
15719
15720 // This array must be the size specified by mDataLength
15721 // UINT8 mData[1];
15722 };
15723
15724 // Structure to describe indication TLV 0x11 for CAT2 SCWSSendDataIndication
15725 struct sCAT2SCWSSendDataIndication_Slot
15726 {
15727 eQMICATSlot mSlot;
15728 };
15729
15730 // Structure to describe request TLV 0x01 for CAT2SCWSDataAvailable()
15731 struct sCAT2SCWSDataAvailableRequest_RemainingData
15732 {
15733 UINT32 mChannelID;
15734 UINT16 mDataLength;
15735
15736 // This array must be the size specified by mDataLength
15737 // UINT8 mData[1];
15738 };
15739
15740 // Structure to describe request TLV 0x10 for CAT2SCWSDataAvailable()
15741 struct sCAT2SCWSDataAvailableRequest_Slot
15742 {
15743 eQMICATSlot mSlot;
15744 };
15745
15746 // Structure to describe request TLV 0x01 for CAT2SCWSChannelStatus()
15747 struct sCAT2SCWSChannelStatusRequest_ChannelStatus
15748 {
15749 UINT32 mChannelID;
15750 eQMICATChannelState mChannelState;
15751 };
15752
15753 // Structure to describe request TLV 0x10 for CAT2SCWSChannelStatus()
15754 struct sCAT2SCWSChannelStatusRequest_Slot
15755 {
15756 eQMICATSlot mSlot;
15757 };
15758
15759 // Structure to describe request TLV 0x01 for UIMReadTransparent()
15760 struct sUIMReadTransparentRequest_SessionInfo
15761 {
15762 eQMIUIMSessionTypes mSessionType;
15763 UINT8 mAIDLength;
15764
15765 // This array must be the size specified by mAIDLength
15766 // UINT8 mAID[1];
15767 };
15768
15769 // Structure to describe request TLV 0x03 for UIMReadTransparent()
15770 struct sUIMReadTransparentRequest_Buffer
15771 {
15772 UINT16 mOffset;
15773 UINT16 mLength;
15774 };
15775
15776 // Structure to describe request TLV 0x10 for UIMReadTransparent()
15777 struct sUIMReadTransparentRequest_ResponseInIndication
15778 {
15779 UINT32 mIndicationToken;
15780 };
15781
15782 // Structure to describe response TLV 0x10 for UIMReadTransparent()
15783 struct sUIMReadTransparentResponse_CardResult
15784 {
15785 UINT8 mSW1;
15786 UINT8 mSW2;
15787 };
15788
15789 // Structure to describe response TLV 0x11 for UIMReadTransparent()
15790 struct sUIMReadTransparentResponse_ReadResult
15791 {
15792 UINT16 mContentLength;
15793
15794 // This array must be the size specified by mContentLength
15795 // UINT8 mContent[1];
15796 };
15797
15798 // Structure to describe response TLV 0x12 for UIMReadTransparent()
15799 struct sUIMReadTransparentResponse_ResponseInIndication
15800 {
15801 UINT32 mIndicationToken;
15802 };
15803
15804 // Structure to describe indication TLV 0x01 for UIM ReadTransparentIndication
15805 struct sUIMReadTransparentIndication_OriginalToken
15806 {
15807 UINT32 mIndicationToken;
15808 };
15809
15810 // Structure to describe indication TLV 0x10 for UIM ReadTransparentIndication
15811 struct sUIMReadTransparentIndication_CardResult
15812 {
15813 UINT8 mSW1;
15814 UINT8 mSW2;
15815 };
15816
15817 // Structure to describe indication TLV 0x11 for UIM ReadTransparentIndication
15818 struct sUIMReadTransparentIndication_ReadResult
15819 {
15820 UINT16 mContentLength;
15821
15822 // This array must be the size specified by mContentLength
15823 // UINT8 mContent[1];
15824 };
15825
15826 // Structure to describe request TLV 0x01 for UIMReadRecord()
15827 struct sUIMReadRecordRequest_SessionInfo
15828 {
15829 eQMIUIMSessionTypes mSessionType;
15830 UINT8 mAIDLength;
15831
15832 // This array must be the size specified by mAIDLength
15833 // UINT8 mAID[1];
15834 };
15835
15836 // Structure to describe request TLV 0x03 for UIMReadRecord()
15837 struct sUIMReadRecordRequest_Record
15838 {
15839 UINT16 mRecordNumber;
15840 UINT16 mContentLength;
15841 };
15842
15843 // Structure to describe request TLV 0x10 for UIMReadRecord()
15844 struct sUIMReadRecordRequest_LastRecord
15845 {
15846 UINT16 mRecordNumber;
15847 };
15848
15849 // Structure to describe request TLV 0x11 for UIMReadRecord()
15850 struct sUIMReadRecordRequest_ResponseInIndication
15851 {
15852 UINT32 mIndicationToken;
15853 };
15854
15855 // Structure to describe response TLV 0x10 for UIMReadRecord()
15856 struct sUIMReadRecordResponse_CardResult
15857 {
15858 UINT8 mSW1;
15859 UINT8 mSW2;
15860 };
15861
15862 // Structure to describe response TLV 0x11 for UIMReadRecord()
15863 struct sUIMReadRecordResponse_ReadResult
15864 {
15865 UINT16 mContentLength;
15866
15867 // This array must be the size specified by mContentLength
15868 // UINT8 mContent[1];
15869 };
15870
15871 // Structure to describe response TLV 0x12 for UIMReadRecord()
15872 struct sUIMReadRecordResponse_AdditionalReadResult
15873 {
15874 UINT16 mContentLength;
15875
15876 struct sRecord
15877 {
15878 // This array must be the size specified by mContentLength
15879 // UINT8 mContent[1];
15880 };
15881
15882 // This array is variable length based on the size of the container
15883 // sRecord mRecords[1];
15884 };
15885
15886 // Structure to describe response TLV 0x13 for UIMReadRecord()
15887 struct sUIMReadRecordResponse_ResponseInIndication
15888 {
15889 UINT32 mIndicationToken;
15890 };
15891
15892 // Structure to describe indication TLV 0x01 for UIM ReadRecordIndication
15893 struct sUIMReadRecordIndication_OriginalToken
15894 {
15895 UINT32 mIndicationToken;
15896 };
15897
15898 // Structure to describe indication TLV 0x10 for UIM ReadRecordIndication
15899 struct sUIMReadRecordIndication_CardResult
15900 {
15901 UINT8 mSW1;
15902 UINT8 mSW2;
15903 };
15904
15905 // Structure to describe indication TLV 0x11 for UIM ReadRecordIndication
15906 struct sUIMReadRecordIndication_ReadResult
15907 {
15908 UINT16 mContentLength;
15909
15910 // This array must be the size specified by mContentLength
15911 // UINT8 mContent[1];
15912 };
15913
15914 // Structure to describe indication TLV 0x12 for UIM ReadRecordIndication
15915 struct sUIMReadRecordIndication_AdditionalReadResult
15916 {
15917 UINT16 mContentLength;
15918
15919 struct sRecord
15920 {
15921 // This array must be the size specified by mContentLength
15922 // UINT8 mContent[1];
15923 };
15924
15925 // This array is variable length based on the size of the container
15926 // sRecord mRecords[1];
15927 };
15928
15929 // Structure to describe request TLV 0x01 for UIMWriteTransparent()
15930 struct sUIMWriteTransparentRequest_SessionInfo
15931 {
15932 eQMIUIMSessionTypes mSessionType;
15933 UINT8 mAIDLength;
15934
15935 // This array must be the size specified by mAIDLength
15936 // UINT8 mAID[1];
15937 };
15938
15939 // Structure to describe request TLV 0x03 for UIMWriteTransparent()
15940 struct sUIMWriteTransparentRequest_Buffer
15941 {
15942 UINT16 mOffset;
15943 UINT16 mContentLength;
15944
15945 // This array must be the size specified by mContentLength
15946 // UINT8 mContent[1];
15947 };
15948
15949 // Structure to describe request TLV 0x10 for UIMWriteTransparent()
15950 struct sUIMWriteTransparentRequest_ResponseInIndicaiton
15951 {
15952 UINT32 mIndicationToken;
15953 };
15954
15955 // Structure to describe response TLV 0x10 for UIMWriteTransparent()
15956 struct sUIMWriteTransparentResponse_CardResult
15957 {
15958 UINT8 mSW1;
15959 UINT8 mSW2;
15960 };
15961
15962 // Structure to describe response TLV 0x11 for UIMWriteTransparent()
15963 struct sUIMWriteTransparentResponse_ResponseInIndication
15964 {
15965 UINT32 mIndicationToken;
15966 };
15967
15968 // Structure to describe indication TLV 0x01 for UIM WriteTransparentIndication
15969 struct sUIMWriteTransparentIndication_OriginalToken
15970 {
15971 UINT32 mIndicationToken;
15972 };
15973
15974 // Structure to describe indication TLV 0x10 for UIM WriteTransparentIndication
15975 struct sUIMWriteTransparentIndication_CardResult
15976 {
15977 UINT8 mSW1;
15978 UINT8 mSW2;
15979 };
15980
15981 // Structure to describe request TLV 0x01 for UIMWriteRecord()
15982 struct sUIMWriteRecordRequest_SessionInfo
15983 {
15984 eQMIUIMSessionTypes mSessionType;
15985 UINT8 mAIDLength;
15986
15987 // This array must be the size specified by mAIDLength
15988 // UINT8 mAID[1];
15989 };
15990
15991 // Structure to describe request TLV 0x03 for UIMWriteRecord()
15992 struct sUIMWriteRecordRequest_Record
15993 {
15994 UINT16 mRecordNumber;
15995 UINT16 mContentLength;
15996
15997 // This array must be the size specified by mContentLength
15998 // UINT8 mContent[1];
15999 };
16000
16001 // Structure to describe request TLV 0x10 for UIMWriteRecord()
16002 struct sUIMWriteRecordRequest_ResponseInIndication
16003 {
16004 UINT32 mIndicationToken;
16005 };
16006
16007 // Structure to describe response TLV 0x10 for UIMWriteRecord()
16008 struct sUIMWriteRecordResponse_CardResult
16009 {
16010 UINT8 mSW1;
16011 UINT8 mSW2;
16012 };
16013
16014 // Structure to describe response TLV 0x11 for UIMWriteRecord()
16015 struct sUIMWriteRecordResponse_ResponseInIndication
16016 {
16017 UINT32 mIndicationToken;
16018 };
16019
16020 // Structure to describe indication TLV 0x01 for UIM WriteRecordIndication
16021 struct sUIMWriteRecordIndication_OriginalToken
16022 {
16023 UINT32 mIndicationToken;
16024 };
16025
16026 // Structure to describe indication TLV 0x10 for UIM WriteRecordIndication
16027 struct sUIMWriteRecordIndication_CardResult
16028 {
16029 UINT8 mSW1;
16030 UINT8 mSW2;
16031 };
16032
16033 // Structure to describe request TLV 0x01 for UIMGetFileAttributes()
16034 struct sUIMGetFileAttributesRequest_SessionInfo
16035 {
16036 eQMIUIMSessionTypes mSessionType;
16037 UINT8 mAIDLength;
16038
16039 // This array must be the size specified by mAIDLength
16040 // UINT8 mAID[1];
16041 };
16042
16043 // Structure to describe request TLV 0x10 for UIMGetFileAttributes()
16044 struct sUIMGetFileAttributesRequest_ResponseInIndication
16045 {
16046 UINT32 mIndicationToken;
16047 };
16048
16049 // Structure to describe response TLV 0x10 for UIMGetFileAttributes()
16050 struct sUIMGetFileAttributesResponse_CardResult
16051 {
16052 UINT8 mSW1;
16053 UINT8 mSW2;
16054 };
16055
16056 // Structure to describe response TLV 0x11 for UIMGetFileAttributes()
16057 struct sUIMGetFileAttributesResponse_Attributes
16058 {
16059 UINT16 mFileSize;
16060 UINT16 mFileID;
16061 eQMIUIMFileTypes mFileType;
16062 UINT16 mRecordSize;
16063 UINT16 mRecordCount;
16064 eQMIUIMSecurityAttributes mReadSecurityAttributes;
16065 bool mReadPIN1:1;
16066 bool mReadPIN2:1;
16067 bool mReadUPIN:1;
16068 bool mReadADM:1;
16069
16070 // Padding out 4 bits
16071 UINT8 mReserved1:4;
16072
16073 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
16074 bool mWritePIN1:1;
16075 bool mWritePIN2:1;
16076 bool mWriteUPIN:1;
16077 bool mWriteADM:1;
16078
16079 // Padding out 4 bits
16080 UINT8 mReserved2:4;
16081
16082 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
16083 bool mIncreasePIN1:1;
16084 bool mIncreasePIN2:1;
16085 bool mIncreaseUPIN:1;
16086 bool mIncreaseADM:1;
16087
16088 // Padding out 4 bits
16089 UINT8 mReserved3:4;
16090
16091 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
16092 bool mDeactivatePIN1:1;
16093 bool mDeactivatePIN2:1;
16094 bool mDeactivateUPIN:1;
16095 bool mDeactivateADM:1;
16096
16097 // Padding out 4 bits
16098 UINT8 mReserved4:4;
16099
16100 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
16101 bool mActivatePIN1:1;
16102 bool mActivatePIN2:1;
16103 bool mActivateUPIN:1;
16104 bool mActivateADM:1;
16105
16106 // Padding out 4 bits
16107 UINT8 mReserved5:4;
16108
16109 UINT16 mValueLength;
16110
16111 // This array must be the size specified by mValueLength
16112 // UINT8 mValue[1];
16113 };
16114
16115 // Structure to describe response TLV 0x12 for UIMGetFileAttributes()
16116 struct sUIMGetFileAttributesResponse_ResponseInIndication
16117 {
16118 UINT32 mIndicationToken;
16119 };
16120
16121 // Structure to describe indication TLV 0x01 for UIM GetFileAttributesIndication
16122 struct sUIMGetFileAttributesIndication_OriginalToken
16123 {
16124 UINT32 mIndicationToken;
16125 };
16126
16127 // Structure to describe indication TLV 0x10 for UIM GetFileAttributesIndication
16128 struct sUIMGetFileAttributesIndication_CardResult
16129 {
16130 UINT8 mSW1;
16131 UINT8 mSW2;
16132 };
16133
16134 // Structure to describe indication TLV 0x11 for UIM GetFileAttributesIndication
16135 struct sUIMGetFileAttributesIndication_FileAttributes
16136 {
16137 UINT16 mFileSize;
16138 UINT16 mFileID;
16139 eQMIUIMFileTypes mFileType;
16140 UINT16 mRecordSize;
16141 UINT16 mRecordCount;
16142 eQMIUIMSecurityAttributes mReadSecurityAttributes;
16143 bool mReadPIN1:1;
16144 bool mReadPIN2:1;
16145 bool mReadUPIN:1;
16146 bool mReadADM:1;
16147
16148 // Padding out 4 bits
16149 UINT8 mReserved1:4;
16150
16151 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
16152 bool mWritePIN1:1;
16153 bool mWritePIN2:1;
16154 bool mWriteUPIN:1;
16155 bool mWriteADM:1;
16156
16157 // Padding out 4 bits
16158 UINT8 mReserved2:4;
16159
16160 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
16161 bool mIncreasePIN1:1;
16162 bool mIncreasePIN2:1;
16163 bool mIncreaseUPIN:1;
16164 bool mIncreaseADM:1;
16165
16166 // Padding out 4 bits
16167 UINT8 mReserved3:4;
16168
16169 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
16170 bool mDeactivatePIN1:1;
16171 bool mDeactivatePIN2:1;
16172 bool mDeactivateUPIN:1;
16173 bool mDeactivateADM:1;
16174
16175 // Padding out 4 bits
16176 UINT8 mReserved4:4;
16177
16178 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
16179 bool mActivatePIN1:1;
16180 bool mActivatePIN2:1;
16181 bool mActivateUPIN:1;
16182 bool mActivateADM:1;
16183
16184 // Padding out 4 bits
16185 UINT8 mReserved5:4;
16186
16187 UINT16 mValueLength;
16188
16189 // This array must be the size specified by mValueLength
16190 // UINT8 mValue[1];
16191 };
16192
16193 // Structure to describe request TLV 0x01 for UIMSetPINProtection()
16194 struct sUIMSetPINProtectionRequest_SessionInfo
16195 {
16196 eQMIUIMSessionTypes mSessionType;
16197 UINT8 mAIDLength;
16198
16199 // This array must be the size specified by mAIDLength
16200 // UINT8 mAID[1];
16201 };
16202
16203 // Structure to describe request TLV 0x10 for UIMSetPINProtection()
16204 struct sUIMSetPINProtectionRequest_KeyReferenceID
16205 {
16206 eQMIUIMKeyReferenceID mKeyReferenceID;
16207 };
16208
16209 // Structure to describe request TLV 0x11 for UIMSetPINProtection()
16210 struct sUIMSetPINProtectionRequest_ResponseInIndication
16211 {
16212 UINT32 mIndicationToken;
16213 };
16214
16215 // Structure to describe response TLV 0x10 for UIMSetPINProtection()
16216 struct sUIMSetPINProtectionResponse_Retries
16217 {
16218 UINT8 mRemainingVerifyRetries;
16219 UINT8 mRemainingUnblockRetries;
16220 };
16221
16222 // Structure to describe response TLV 0x11 for UIMSetPINProtection()
16223 struct sUIMSetPINProtectionResponse_EncryptedPIN1
16224 {
16225 UINT8 mPINLength;
16226
16227 // This array must be the size specified by mPINLength
16228 // UINT8 mValue[1];
16229 };
16230
16231 // Structure to describe response TLV 0x12 for UIMSetPINProtection()
16232 struct sUIMSetPINProtectionResponse_ResponseInIndication
16233 {
16234 UINT32 mIndicationToken;
16235 };
16236
16237 // Structure to describe indication TLV 0x01 for UIM SetPINProtectionIndication
16238 struct sUIMSetPINProtectionIndication_OriginalToken
16239 {
16240 UINT32 mIndicationToken;
16241 };
16242
16243 // Structure to describe indication TLV 0x10 for UIM SetPINProtectionIndication
16244 struct sUIMSetPINProtectionIndication_Retries
16245 {
16246 UINT8 mRemainingVerifyRetries;
16247 UINT8 mRemainingUnblockRetries;
16248 };
16249
16250 // Structure to describe indication TLV 0x11 for UIM SetPINProtectionIndication
16251 struct sUIMSetPINProtectionIndication_EncryptedPIN1
16252 {
16253 UINT8 mPINLength;
16254
16255 // This array must be the size specified by mPINLength
16256 // UINT8 mValue[1];
16257 };
16258
16259 // Structure to describe request TLV 0x01 for UIMVerifyPIN()
16260 struct sUIMVerifyPINRequest_SessionInfo
16261 {
16262 eQMIUIMSessionTypes mSessionType;
16263 UINT8 mAIDLength;
16264
16265 // This array must be the size specified by mAIDLength
16266 // UINT8 mAID[1];
16267 };
16268
16269 // Structure to describe request TLV 0x10 for UIMVerifyPIN()
16270 struct sUIMVerifyPINRequest_EncryptedPIN1
16271 {
16272 UINT8 mPINLength;
16273
16274 // This array must be the size specified by mPINLength
16275 // UINT8 mValue[1];
16276 };
16277
16278 // Structure to describe request TLV 0x11 for UIMVerifyPIN()
16279 struct sUIMVerifyPINRequest_KeyReferenceID
16280 {
16281 eQMIUIMKeyReferenceID mKeyReferenceID;
16282 };
16283
16284 // Structure to describe request TLV 0x12 for UIMVerifyPIN()
16285 struct sUIMVerifyPINRequest_ResponseInIndication
16286 {
16287 UINT32 mIndicationToken;
16288 };
16289
16290 // Structure to describe response TLV 0x10 for UIMVerifyPIN()
16291 struct sUIMVerifyPINResponse_Retries
16292 {
16293 UINT8 mRemainingVerifyRetries;
16294 UINT8 mRemainingUnblockRetries;
16295 };
16296
16297 // Structure to describe response TLV 0x11 for UIMVerifyPIN()
16298 struct sUIMVerifyPINResponse_EncryptedPIN1
16299 {
16300 UINT8 mPINLength;
16301
16302 // This array must be the size specified by mPINLength
16303 // UINT8 mValue[1];
16304 };
16305
16306 // Structure to describe response TLV 0x12 for UIMVerifyPIN()
16307 struct sUIMVerifyPINResponse_ResponseInIndication
16308 {
16309 UINT32 mIndicationToken;
16310 };
16311
16312 // Structure to describe indication TLV 0x01 for UIM VerifyPINIndication
16313 struct sUIMVerifyPINIndication_OriginalToken
16314 {
16315 UINT32 mIndicationToken;
16316 };
16317
16318 // Structure to describe indication TLV 0x10 for UIM VerifyPINIndication
16319 struct sUIMVerifyPINIndication_Retries
16320 {
16321 UINT8 mRemainingVerifyRetries;
16322 UINT8 mRemainingUnblockRetries;
16323 };
16324
16325 // Structure to describe indication TLV 0x11 for UIM VerifyPINIndication
16326 struct sUIMVerifyPINIndication_EncryptedPIN1
16327 {
16328 UINT8 mPINLength;
16329
16330 // This array must be the size specified by mPINLength
16331 // UINT8 mValue[1];
16332 };
16333
16334 // Structure to describe request TLV 0x01 for UIMUnblockPIN()
16335 struct sUIMUnblockPINRequest_SessionInfo
16336 {
16337 eQMIUIMSessionTypes mSessionType;
16338 UINT8 mAIDLength;
16339
16340 // This array must be the size specified by mAIDLength
16341 // UINT8 mAID[1];
16342 };
16343
16344 // Structure to describe request TLV 0x10 for UIMUnblockPIN()
16345 struct sUIMUnblockPINRequest_KeyReferenceID
16346 {
16347 eQMIUIMKeyReferenceID mKeyReferenceID;
16348 };
16349
16350 // Structure to describe request TLV 0x11 for UIMUnblockPIN()
16351 struct sUIMUnblockPINRequest_ResponseInIndication
16352 {
16353 UINT32 mIndicationToken;
16354 };
16355
16356 // Structure to describe response TLV 0x10 for UIMUnblockPIN()
16357 struct sUIMUnblockPINResponse_Retries
16358 {
16359 UINT8 mRemainingVerifyRetries;
16360 UINT8 mRemainingUnblockRetries;
16361 };
16362
16363 // Structure to describe response TLV 0x11 for UIMUnblockPIN()
16364 struct sUIMUnblockPINResponse_EncryptedPIN1
16365 {
16366 UINT8 mPINLength;
16367
16368 // This array must be the size specified by mPINLength
16369 // UINT8 mValue[1];
16370 };
16371
16372 // Structure to describe response TLV 0x12 for UIMUnblockPIN()
16373 struct sUIMUnblockPINResponse_ResponseInIndication
16374 {
16375 UINT32 mIndicationToken;
16376 };
16377
16378 // Structure to describe indication TLV 0x01 for UIM UnblockPINIndication
16379 struct sUIMUnblockPINIndication_OriginalToken
16380 {
16381 UINT32 mIndicationToken;
16382 };
16383
16384 // Structure to describe indication TLV 0x10 for UIM UnblockPINIndication
16385 struct sUIMUnblockPINIndication_Retries
16386 {
16387 UINT8 mRemainingVerifyRetries;
16388 UINT8 mRemainingUnblockRetries;
16389 };
16390
16391 // Structure to describe indication TLV 0x11 for UIM UnblockPINIndication
16392 struct sUIMUnblockPINIndication_EncryptedPIN1
16393 {
16394 UINT8 mPINLength;
16395
16396 // This array must be the size specified by mPINLength
16397 // UINT8 mValue[1];
16398 };
16399
16400 // Structure to describe request TLV 0x01 for UIMChangePIN()
16401 struct sUIMChangePINRequest_SessionInfo
16402 {
16403 eQMIUIMSessionTypes mSessionType;
16404 UINT8 mAIDLength;
16405
16406 // This array must be the size specified by mAIDLength
16407 // UINT8 mAID[1];
16408 };
16409
16410 // Structure to describe request TLV 0x10 for UIMChangePIN()
16411 struct sUIMChangePINRequest_KeyReferenceID
16412 {
16413 eQMIUIMKeyReferenceID mKeyReferenceID;
16414 };
16415
16416 // Structure to describe request TLV 0x11 for UIMChangePIN()
16417 struct sUIMChangePINRequest_ResponseInIndication
16418 {
16419 UINT32 mIndicationToken;
16420 };
16421
16422 // Structure to describe response TLV 0x10 for UIMChangePIN()
16423 struct sUIMChangePINResponse_Retries
16424 {
16425 UINT8 mRemainingVerifyRetries;
16426 UINT8 mRemainingUnblockRetries;
16427 };
16428
16429 // Structure to describe response TLV 0x11 for UIMChangePIN()
16430 struct sUIMChangePINResponse_EncryptedPIN1
16431 {
16432 UINT8 mPINLength;
16433
16434 // This array must be the size specified by mPINLength
16435 // UINT8 mValue[1];
16436 };
16437
16438 // Structure to describe response TLV 0x12 for UIMChangePIN()
16439 struct sUIMChangePINResponse_ResponseInIndication
16440 {
16441 UINT32 mIndicationToken;
16442 };
16443
16444 // Structure to describe indication TLV 0x01 for UIM ChangePINIndication
16445 struct sUIMChangePINIndication_OriginalToken
16446 {
16447 UINT32 mIndicationToken;
16448 };
16449
16450 // Structure to describe indication TLV 0x10 for UIM ChangePINIndication
16451 struct sUIMChangePINIndication_Retries
16452 {
16453 UINT8 mRemainingVerifyRetries;
16454 UINT8 mRemainingUnblockRetries;
16455 };
16456
16457 // Structure to describe indication TLV 0x11 for UIM ChangePINIndication
16458 struct sUIMChangePINIndication_EncryptedPIN1
16459 {
16460 UINT8 mPINLength;
16461
16462 // This array must be the size specified by mPINLength
16463 // UINT8 mValue[1];
16464 };
16465
16466 // Structure to describe request TLV 0x01 for UIMDepersonalization()
16467 struct sUIMDepersonalizationRequest_Info
16468 {
16469 eQMIUIMPersonalizationFeatures mFeature;
16470 eQMIUIMCKSessionOperations mOperation;
16471 UINT8 mCKLength;
16472
16473 // This array must be the size specified by mCKLength
16474 // char mCKValue[1];
16475 };
16476
16477 // Structure to describe response TLV 0x10 for UIMDepersonalization()
16478 struct sUIMDepersonalizationResponse_Retries
16479 {
16480 UINT8 mRemainingVerifyRetries;
16481 UINT8 mRemainingUnblockRetries;
16482 };
16483
16484 // Structure to describe request TLV 0x01 for UIMRefreshRegister()
16485 struct sUIMRefreshRegisterRequest_SessionInfo
16486 {
16487 eQMIUIMSessionTypes mSessionType;
16488 UINT8 mAIDLength;
16489
16490 // This array must be the size specified by mAIDLength
16491 // UINT8 mAID[1];
16492 };
16493
16494 // Structure to describe request TLV 0x01 for UIMRefreshOK()
16495 struct sUIMRefreshOKRequest_SessionInfo
16496 {
16497 eQMIUIMSessionTypes mSessionType;
16498 UINT8 mAIDLength;
16499
16500 // This array must be the size specified by mAIDLength
16501 // UINT8 mAID[1];
16502 };
16503
16504 // Structure to describe request TLV 0x01 for UIMRefreshComplete()
16505 struct sUIMRefreshCompleteRequest_SessionInfo
16506 {
16507 eQMIUIMSessionTypes mSessionType;
16508 UINT8 mAIDLength;
16509
16510 // This array must be the size specified by mAIDLength
16511 // UINT8 mAID[1];
16512 };
16513
16514 // Structure to describe request TLV 0x01 for UIMGetLastRefreshEvent()
16515 struct sUIMGetLastRefreshEventRequest_SessionInfo
16516 {
16517 eQMIUIMSessionTypes mSessionType;
16518 UINT8 mAIDLength;
16519
16520 // This array must be the size specified by mAIDLength
16521 // UINT8 mAID[1];
16522 };
16523
16524 // Structure to describe response TLV 0x10 for UIMGetLastRefreshEvent()
16525 struct sUIMGetLastRefreshEventResponse_RefreshEvent1
16526 {
16527 eQMIUIMRefreshStages mStage;
16528 eQMIUIMRefreshModes mMode;
16529 eQMIUIMSessionTypes mSessionType;
16530 UINT8 mAIDLength;
16531
16532 // This array must be the size specified by mAIDLength
16533 // UINT8 mAID[1];
16534 };
16535
16536 struct sUIMGetLastRefreshEventResponse_RefreshEvent2
16537 {
16538 UINT16 mFileCount;
16539
16540 struct sFile
16541 {
16542 UINT16 mFileID;
16543 UINT8 mPathLength;
16544
16545 // This array must be the size specified by mPathLength
16546 // UINT16 mPath[1];
16547 };
16548
16549 // This array must be the size specified by mFileCount
16550 // sFile mFiles[1];
16551 };
16552
16553 struct sUIMGetLastRefreshEventResponse_RefreshEvent
16554 {
16555 sUIMGetLastRefreshEventResponse_RefreshEvent1 mUIMGetLastRefreshEventResponse_RefreshEvent1;
16556 sUIMGetLastRefreshEventResponse_RefreshEvent2 mUIMGetLastRefreshEventResponse_RefreshEvent2;
16557 };
16558
16559 // Structure to describe request TLV 0x01 for UIMEventRegistration()
16560 struct sUIMEventRegistrationRequest_Mask
16561 {
16562 bool mCardStatus:1;
16563 bool mSAPConnection:1;
16564
16565 // Padding out 30 bits
16566 UINT8 mReserved1:6;
16567 UINT8 mReserved2[3];
16568 };
16569
16570 // Structure to describe response TLV 0x10 for UIMEventRegistration()
16571 struct sUIMEventRegistrationResponse_Mask
16572 {
16573 bool mCardStatus:1;
16574 bool mSAPConnection:1;
16575
16576 // Padding out 30 bits
16577 UINT8 mReserved1:6;
16578 UINT8 mReserved2[3];
16579 };
16580
16581 // Structure to describe response TLV 0x10 for UIMGetCardStatus()
16582 struct sUIMGetCardStatusResponse_Status1
16583 {
16584 UINT8 mPrimaryGWSlot;
16585 UINT8 mPrimaryGWApplication;
16586 UINT8 mPrimary1XSlot;
16587 UINT8 mPrimary1XApplication;
16588 UINT8 mSecondaryGWSlot;
16589 UINT8 mSecondaryGWApplication;
16590 UINT8 mSecondary1XSlot;
16591 UINT8 mSecondary1XApplication;
16592 UINT8 mSlotsAvailable;
16593 eQMIUIMCardStates mCardState;
16594 eQMIUIMPINStates mUPINState;
16595 UINT8 mRemainingUPINVerifyRetries;
16596 UINT8 mRemainingUPINUnblockRetries;
16597 eQMIUIMCardErrorCodes mCardErrorCode;
16598 UINT8 mApplicationsAvailable;
16599 eQMIUIMApplicationTypes mApplicationType;
16600 eQMIUIMApplicationStates mApplicationState;
16601 eQMIUIMPersonalizationStates mPersonalizationState;
16602 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
16603 UINT8 mRemainingPersonalizationVerifyRetries;
16604 UINT8 mRemainingPersonalizationUnblockRetries;
16605 UINT8 mAIDLength;
16606
16607 // This array must be the size specified by mAIDLength
16608 // UINT8 mAID[1];
16609 };
16610
16611 struct sUIMGetCardStatusResponse_Status2
16612 {
16613 INT8 mUPINReplacesPIN1;
16614 eQMIUIMPINStates mPIN1State;
16615 UINT8 mRemainingPIN1VerifyRetries;
16616 UINT8 mRemainingPIN1UnblockRetries;
16617 eQMIUIMPINStates mPIN2State;
16618 UINT8 mRemainingPIN2VerifyRetries;
16619 UINT8 mRemainingPIN2UnblockRetries;
16620 };
16621
16622 struct sUIMGetCardStatusResponse_Status
16623 {
16624 sUIMGetCardStatusResponse_Status1 mUIMGetCardStatusResponse_Status1;
16625 sUIMGetCardStatusResponse_Status2 mUIMGetCardStatusResponse_Status2;
16626 };
16627
16628 // Structure to describe response TLV 0x11 for UIMGetCardStatus()
16629 struct sUIMGetCardStatusResponse_HotSwapStatus
16630 {
16631 UINT8 mHotSwapLength;
16632
16633 // This array must be the size specified by mHotSwapLength
16634 // eQMIUIMHotSwap mHotSwap[1];
16635 };
16636
16637 // Structure to describe request TLV 0x01 for UIMPowerDown()
16638 struct sUIMPowerDownRequest_Slot
16639 {
16640 eQMIUIMSlots mSlot;
16641 };
16642
16643 // Structure to describe request TLV 0x01 for UIMPowerUp()
16644 struct sUIMPowerUpRequest_Slot
16645 {
16646 eQMIUIMSlots mSlot;
16647 };
16648
16649 // Structure to describe request TLV 0x10 for UIMPowerUp()
16650 struct sUIMPowerUpRequest_IgnoreHotSwapSwitch
16651 {
16652 INT8 mIgnoreHotSwapSwitch;
16653 };
16654
16655 // Structure to describe indication TLV 0x10 for UIM CardStatusIndication
16656 struct sUIMCardStatusIndication_Status1
16657 {
16658 UINT8 mPrimaryGWSlot;
16659 UINT8 mPrimaryGWApplication;
16660 UINT8 mPrimary1XSlot;
16661 UINT8 mPrimary1XApplication;
16662 UINT8 mSecondaryGWSlot;
16663 UINT8 mSecondaryGWApplication;
16664 UINT8 mSecondary1XSlot;
16665 UINT8 mSecondary1XApplication;
16666 UINT8 mSlotsAvailable;
16667 eQMIUIMCardStates mCardState;
16668 eQMIUIMPINStates mUPINState;
16669 UINT8 mRemainingUPINVerifyRetries;
16670 UINT8 mRemainingUPINUnblockRetries;
16671 eQMIUIMCardErrorCodes mCardErrorCode;
16672 UINT8 mApplicationsAvailable;
16673 eQMIUIMApplicationTypes mApplicationType;
16674 eQMIUIMApplicationStates mApplicationState;
16675 eQMIUIMPersonalizationStates mPersonalizationState;
16676 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
16677 UINT8 mRemainingPersonalizationVerifyRetries;
16678 UINT8 mRemainingPersonalizationUnblockRetries;
16679 UINT8 mAIDLength;
16680
16681 // This array must be the size specified by mAIDLength
16682 // UINT8 mAID[1];
16683 };
16684
16685 struct sUIMCardStatusIndication_Status2
16686 {
16687 INT8 mUPINReplacesPIN1;
16688 eQMIUIMPINStates mPIN1State;
16689 UINT8 mRemainingPIN1VerifyRetries;
16690 UINT8 mRemainingPIN1UnblockRetries;
16691 eQMIUIMPINStates mPIN2State;
16692 UINT8 mRemainingPIN2VerifyRetries;
16693 UINT8 mRemainingPIN2UnblockRetries;
16694 };
16695
16696 struct sUIMCardStatusIndication_Status
16697 {
16698 sUIMCardStatusIndication_Status1 mUIMCardStatusIndication_Status1;
16699 sUIMCardStatusIndication_Status2 mUIMCardStatusIndication_Status2;
16700 };
16701
16702 // Structure to describe indication TLV 0x10 for UIM RefreshIndication
16703 struct sUIMRefreshIndication_RefreshEvent1
16704 {
16705 eQMIUIMRefreshStages mStage;
16706 eQMIUIMRefreshModes mMode;
16707 eQMIUIMSessionTypes mSessionType;
16708 UINT8 mAIDLength;
16709
16710 // This array must be the size specified by mAIDLength
16711 // UINT8 mAID[1];
16712 };
16713
16714 struct sUIMRefreshIndication_RefreshEvent2
16715 {
16716 UINT16 mFileCount;
16717
16718 struct sFile
16719 {
16720 UINT16 mFileID;
16721 UINT8 mPathLength;
16722
16723 // This array must be the size specified by mPathLength
16724 // UINT16 mPath[1];
16725 };
16726
16727 // This array must be the size specified by mFileCount
16728 // sFile mFiles[1];
16729 };
16730
16731 struct sUIMRefreshIndication_RefreshEvent
16732 {
16733 sUIMRefreshIndication_RefreshEvent1 mUIMRefreshIndication_RefreshEvent1;
16734 sUIMRefreshIndication_RefreshEvent2 mUIMRefreshIndication_RefreshEvent2;
16735 };
16736
16737 // Structure to describe request TLV 0x01 for UIMAuthenticate()
16738 struct sUIMAuthenticateRequest_SessionInfo
16739 {
16740 eQMIUIMSessionTypes mSessionType;
16741 UINT8 mAIDLength;
16742
16743 // This array must be the size specified by mAIDLength
16744 // UINT8 mAID[1];
16745 };
16746
16747 // Structure to describe request TLV 0x10 for UIMAuthenticate()
16748 struct sUIMAuthenticateRequest_ResponseInIndication
16749 {
16750 UINT32 mIndicationToken;
16751 };
16752
16753 // Structure to describe response TLV 0x10 for UIMAuthenticate()
16754 struct sUIMAuthenticateResponse_CardResult
16755 {
16756 UINT8 mSW1;
16757 UINT8 mSW2;
16758 };
16759
16760 // Structure to describe response TLV 0x11 for UIMAuthenticate()
16761 struct sUIMAuthenticateResponse_Data
16762 {
16763 UINT16 mContentLength;
16764
16765 // This array must be the size specified by mContentLength
16766 // UINT8 mContent[1];
16767 };
16768
16769 // Structure to describe response TLV 0x12 for UIMAuthenticate()
16770 struct sUIMAuthenticateResponse_ResponseInIndication
16771 {
16772 UINT32 mIndicationToken;
16773 };
16774
16775 // Structure to describe indication TLV 0x01 for UIM AuthenticateIndication
16776 struct sUIMAuthenticateIndication_OriginalToken
16777 {
16778 UINT32 mIndicationToken;
16779 };
16780
16781 // Structure to describe indication TLV 0x10 for UIM AuthenticateIndication
16782 struct sUIMAuthenticateIndication_CardResult
16783 {
16784 UINT8 mSW1;
16785 UINT8 mSW2;
16786 };
16787
16788 // Structure to describe indication TLV 0x11 for UIM AuthenticateIndication
16789 struct sUIMAuthenticateIndication_Data
16790 {
16791 UINT16 mContentLength;
16792
16793 // This array must be the size specified by mContentLength
16794 // UINT8 mContent[1];
16795 };
16796
16797 // Structure to describe request TLV 0x01 for UIMCloseSession()
16798 struct sUIMCloseSessionRequest_SessionInfo
16799 {
16800 eQMIUIMSessionTypes mSessionType;
16801 UINT8 mAIDLength;
16802
16803 // This array must be the size specified by mAIDLength
16804 // UINT8 mAID[1];
16805 };
16806
16807 // Structure to describe request TLV 0x01 for UIMGetServiceStatus()
16808 struct sUIMGetServiceStatusRequest_SessionInfo
16809 {
16810 eQMIUIMSessionTypes mSessionType;
16811 UINT8 mAIDLength;
16812
16813 // This array must be the size specified by mAIDLength
16814 // UINT8 mAID[1];
16815 };
16816
16817 // Structure to describe response TLV 0x10 for UIMGetServiceStatus()
16818 struct sUIMGetServiceStatusResponse_FDNStatus
16819 {
16820 eQMIUIMFDNStatusValues mFDNStatus;
16821 };
16822
16823 // Structure to describe response TLV 0x11 for UIMGetServiceStatus()
16824 struct sUIMGetServiceStatusResponse_HiddenKeyStatus
16825 {
16826 eQMIUIMHiddenKeyStatusValues mHiddenKeyStatus;
16827 };
16828
16829 // Structure to describe response TLV 0x12 for UIMGetServiceStatus()
16830 struct sUIMGetServiceStatusResponse_Index
16831 {
16832 UINT8 mEFDIRIndex;
16833 };
16834
16835 // Structure to describe request TLV 0x01 for UIMSetServiceStatus()
16836 struct sUIMSetServiceStatusRequest_SessionInfo
16837 {
16838 eQMIUIMSessionTypes mSessionType;
16839 UINT8 mAIDLength;
16840
16841 // This array must be the size specified by mAIDLength
16842 // UINT8 mAID[1];
16843 };
16844
16845 // Structure to describe request TLV 0x10 for UIMSetServiceStatus()
16846 struct sUIMSetServiceStatusRequest_FDNStatus
16847 {
16848 INT8 mEnableFDN;
16849 };
16850
16851 // Structure to describe request TLV 0x01 for UIMChangeProvisioningSession()
16852 struct sUIMChangeProvisioningSessionRequest_SessionChange
16853 {
16854 eQMIUIMSessionTypes mSessionType;
16855 eQMIUIMCKSessionOperations mOperation;
16856 };
16857
16858 // Structure to describe request TLV 0x10 for UIMChangeProvisioningSession()
16859 struct sUIMChangeProvisioningSessionRequest_AppInfo
16860 {
16861 eQMIUIMSlots mSlot;
16862 UINT8 mAIDLength;
16863
16864 // This array must be the size specified by mAIDLength
16865 // UINT8 mAID[1];
16866 };
16867
16868 // Structure to describe request TLV 0x01 for UIMGetLabel()
16869 struct sUIMGetLabelRequest_AppInfo
16870 {
16871 eQMIUIMSlots mSlot;
16872 UINT8 mAIDLength;
16873
16874 // This array must be the size specified by mAIDLength
16875 // UINT8 mAID[1];
16876 };
16877
16878 // Structure to describe response TLV 0x10 for UIMGetLabel()
16879 struct sUIMGetLabelResponse_AppLabel
16880 {
16881 UINT8 mLabelLength;
16882
16883 // This array must be the size specified by mLabelLength
16884 // char mLabelValue[1];
16885 };
16886
16887 // Structure to describe request TLV 0x10 for UIMGetConfiguration()
16888 struct sUIMGetConfigurationRequest_Mask
16889 {
16890 bool mAutomaticSelection:1;
16891 bool mPersonalizationStatus:1;
16892 bool mHaltSubscription:1;
16893
16894 // Padding out 29 bits
16895 UINT8 mReserved1:5;
16896 UINT8 mReserved2[3];
16897 };
16898
16899 // Structure to describe response TLV 0x10 for UIMGetConfiguration()
16900 struct sUIMGetConfigurationResponse_AutoSelection
16901 {
16902 INT8 mAutomaticProvisioningOn;
16903 };
16904
16905 // Structure to describe response TLV 0x11 for UIMGetConfiguration()
16906 struct sUIMGetConfigurationResponse_Personalization
16907 {
16908 UINT8 mFeatureCount;
16909
16910 struct sFeature
16911 {
16912 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
16913 UINT8 mRemainingVerifyRetries;
16914 UINT8 mRemainingUnblockRetries;
16915 };
16916
16917 // This array must be the size specified by mFeatureCount
16918 // sFeature mFeatures[1];
16919 };
16920
16921 // Structure to describe response TLV 0x12 for UIMGetConfiguration()
16922 struct sUIMGetConfigurationResponse_Subscription
16923 {
16924 INT8 mPublishSubscription;
16925 };
16926
16927 // Structure to describe request TLV 0x01 for UIMSendADPU()
16928 struct sUIMSendADPURequest_Slot
16929 {
16930 eQMIUIMSlots mSlot;
16931 };
16932
16933 // Structure to describe request TLV 0x10 for UIMSendADPU()
16934 struct sUIMSendADPURequest_LogicalChannel
16935 {
16936 UINT8 mChannelID;
16937 };
16938
16939 // Structure to describe response TLV 0x10 for UIMSendADPU()
16940 struct sUIMSendADPUResponse_APDUResponse
16941 {
16942 UINT16 mDataLength;
16943
16944 // This array must be the size specified by mDataLength
16945 // UINT8 mData[1];
16946 };
16947
16948 // Structure to describe request TLV 0x01 for UIMSAPConnection()
16949 struct sUIMSAPConnectionRequest_Slot
16950 {
16951 eQMIUIMConnectOperations mOperation;
16952 eQMIUIMSlots mSlot;
16953 };
16954
16955 // Structure to describe request TLV 0x10 for UIMSAPConnection()
16956 struct sUIMSAPConnectionRequest_DisconnectMode
16957 {
16958 eQMIUIMDisonnectModes mDisconnectMode;
16959 };
16960
16961 // Structure to describe request TLV 0x11 for UIMSAPConnection()
16962 struct sUIMSAPConnectionRequest_IntermediateGetResponse
16963 {
16964 INT8 mReturnIntermediateGetResponse;
16965 };
16966
16967 // Structure to describe response TLV 0x10 for UIMSAPConnection()
16968 struct sUIMSAPConnectionResponse_State
16969 {
16970 eQMIUIMSAPStates mSAPState;
16971 };
16972
16973 // Structure to describe request TLV 0x01 for UIMSAP()
16974 struct sUIMSAPRequestRequest_Request
16975 {
16976 eQMIUIMSAPRequests mSAPRequest;
16977 eQMIUIMSlots mSlot;
16978 };
16979
16980 // Structure to describe request TLV 0x10 for UIMSAP()
16981 struct sUIMSAPRequestRequest_APDU
16982 {
16983 UINT16 mDataLength;
16984
16985 // This array must be the size specified by mDataLength
16986 // UINT8 mData[1];
16987 };
16988
16989 // Structure to describe response TLV 0x10 for UIMSAPRequest()
16990 struct sUIMSAPRequestResponse_ATR
16991 {
16992 UINT8 mDataLength;
16993
16994 // This array must be the size specified by mDataLength
16995 // UINT8 mData[1];
16996 };
16997
16998 // Structure to describe response TLV 0x11 for UIMSAPRequest()
16999 struct sUIMSAPRequestResponse_APDU
17000 {
17001 UINT16 mDataLength;
17002
17003 // This array must be the size specified by mDataLength
17004 // UINT8 mData[1];
17005 };
17006
17007 // Structure to describe response TLV 0x12 for UIMSAPRequest()
17008 struct sUIMSAPRequestResponse_CardReaderStatus
17009 {
17010 UINT8 mDataLength;
17011
17012 // This array must be the size specified by mDataLength
17013 // UINT8 mData[1];
17014 };
17015
17016 // Structure to describe indication TLV 0x10 for UIM SAPConnectionIndication
17017 struct sUIMSAPConnectionIndication_CardStatus
17018 {
17019 eQMIUIMSAPStates mSAPState;
17020 eQMIUIMSlots mSlot;
17021 };
17022
17023 // Structure to describe request TLV 0x01 for UIMLogicalChannel()
17024 struct sUIMLogicalChannelRequest_Slot
17025 {
17026 eQMIUIMSlots mSlot;
17027 };
17028
17029 // Structure to describe request TLV 0x10 for UIMLogicalChannel()
17030 struct sUIMLogicalChannelRequest_AID
17031 {
17032 UINT8 mAIDLength;
17033
17034 // This array must be the size specified by mAIDLength
17035 // UINT8 mAID[1];
17036 };
17037
17038 // Structure to describe request TLV 0x11 for UIMLogicalChannel()
17039 struct sUIMLogicalChannelRequest_LogicalChannel
17040 {
17041 UINT8 mChannelID;
17042 };
17043
17044 // Structure to describe request TLV 0x12 for UIMLogicalChannel()
17045 struct sUIMLogicalChannelRequest_FileControlInformation
17046 {
17047 eQMIUIMFileControlInformation mFileControlInformation;
17048 };
17049
17050 // Structure to describe response TLV 0x10 for UIMLogicalChannel()
17051 struct sUIMLogicalChannelResponse_LogicalChannel
17052 {
17053 UINT8 mChannelID;
17054 };
17055
17056 // Structure to describe response TLV 0x11 for UIMLogicalChannel()
17057 struct sUIMLogicalChannelResponse_CardResult
17058 {
17059 UINT8 mSW1;
17060 UINT8 mSW2;
17061 };
17062
17063 // Structure to describe response TLV 0x12 for UIMLogicalChannel()
17064 struct sUIMLogicalChannelResponse_ResponseToSelectCommand
17065 {
17066 UINT8 mResponseLength;
17067
17068 // This array must be the size specified by mResponseLength
17069 // UINT8 mResponse[1];
17070 };
17071
17072 // Structure to describe request TLV 0x01 for UIMSubscriptionOK()
17073 struct sUIMSubscriptionOKRequest_SessionInfo
17074 {
17075 eQMIUIMSessionTypes mSessionType;
17076 UINT8 mAIDLength;
17077
17078 // This array must be the size specified by mAIDLength
17079 // UINT8 mAID[1];
17080 };
17081
17082 // Structure to describe request TLV 0x01 for UIMGetATR()
17083 struct sUIMGetATRRequest_Slot
17084 {
17085 eQMIUIMSlots mSlot;
17086 };
17087
17088 // Structure to describe response TLV 0x10 for UIMGetATR()
17089 struct sUIMGetATRResponse_ATRValue
17090 {
17091 UINT8 mATRValueLength;
17092
17093 // This array must be the size specified by mATRValueLength
17094 // UINT8 mATRValue[1];
17095 };
17096
17097 // Structure to describe request TLV 0x01 for PBMSetIndicationRegistrationState()
17098 struct sPBMSetIndicationRegistrationStateRequest_Mask
17099 {
17100 bool mRecordUpdate:1;
17101 bool mPhonebookReady:1;
17102 bool mEmergencyNumberList:1;
17103 bool mHiddenRecordStatus:1;
17104 bool mAASUpdate:1;
17105 bool mGASUpdate:1;
17106
17107 // Padding out 26 bits
17108 UINT8 mReserved1:2;
17109 UINT8 mReserved2[3];
17110 };
17111
17112 // Structure to describe response TLV 0x10 for PBMSetIndicationRegistrationState()
17113 struct sPBMSetIndicationRegistrationStateResponse_Mask
17114 {
17115 bool mRecordUpdate:1;
17116 bool mPhonebookReady:1;
17117 bool mEmergencyNumberList:1;
17118 bool mHiddenRecordStatus:1;
17119 bool mAASUpdate:1;
17120 bool mGASUpdate:1;
17121
17122 // Padding out 26 bits
17123 UINT8 mReserved1:2;
17124 UINT8 mReserved2[3];
17125 };
17126
17127 // Structure to describe request TLV 0x01 for PBMGetCapabilities()
17128 struct sPBMGetCapabilitiesRequest_Info
17129 {
17130 eQMIPBMSessionTypes mSessionType;
17131 eQMIPBMPhonebookTypes mPhonebookType;
17132 };
17133
17134 // Structure to describe response TLV 0x10 for PBMGetCapabilities()
17135 struct sPBMGetCapabilitiesResponse_Basic
17136 {
17137 eQMIPBMSessionTypes mSessionType;
17138 eQMIPBMPhonebookTypes mPhonebookType;
17139 UINT16 mRecordsUsed;
17140 UINT16 mMaximumRecords;
17141 UINT8 mMaximumNumberLength;
17142 UINT8 mMaximumNameLength;
17143 };
17144
17145 // Structure to describe response TLV 0x11 for PBMGetCapabilities()
17146 struct sPBMGetCapabilitiesResponse_Group
17147 {
17148 UINT8 mMaximumGroupsPossible;
17149 UINT8 mMaximumGroupTagLength;
17150 };
17151
17152 // Structure to describe response TLV 0x12 for PBMGetCapabilities()
17153 struct sPBMGetCapabilitiesResponse_AdditionalNumber
17154 {
17155 UINT8 mMaximumAdditionalNumbersPossible;
17156 UINT8 mMaximumAdditionalNumberLength;
17157 UINT8 mMaximumAdditionalNumberTagLength;
17158 };
17159
17160 // Structure to describe response TLV 0x13 for PBMGetCapabilities()
17161 struct sPBMGetCapabilitiesResponse_Email
17162 {
17163 UINT8 mMaximumEmailsPossible;
17164 UINT8 mMaximumEmailAddressLength;
17165 };
17166
17167 // Structure to describe response TLV 0x14 for PBMGetCapabilities()
17168 struct sPBMGetCapabilitiesResponse_SecondName
17169 {
17170 UINT8 mMaximumSecondNameLength;
17171 };
17172
17173 // Structure to describe response TLV 0x15 for PBMGetCapabilities()
17174 struct sPBMGetCapabilitiesResponse_HiddenRecords
17175 {
17176 INT8 mHiddenEntrySupported;
17177 };
17178
17179 // Structure to describe response TLV 0x16 for PBMGetCapabilities()
17180 struct sPBMGetCapabilitiesResponse_GAS
17181 {
17182 UINT8 mMaximumGASStringLength;
17183 };
17184
17185 // Structure to describe response TLV 0x17 for PBMGetCapabilities()
17186 struct sPBMGetCapabilitiesResponse_AAS
17187 {
17188 UINT8 mMaximumAASStringLength;
17189 };
17190
17191 // Structure to describe response TLV 0x10 for PBMGetAllCapabilities()
17192 struct sPBMGetAllCapabilitiesResponse_Basic
17193 {
17194 UINT8 mNumberOfSessions;
17195
17196 struct sSession
17197 {
17198 eQMIPBMSessionTypes mSessionType;
17199 UINT8 mNumberOfPhonebooks;
17200
17201 struct sPhonebook
17202 {
17203 eQMIPBMPhonebookTypes mPhonebookType;
17204 UINT16 mRecordsUsed;
17205 UINT16 mMaximumRecords;
17206 UINT8 mMaximumNumberLength;
17207 UINT8 mMaximumNameLength;
17208 };
17209
17210 // This array must be the size specified by mNumberOfPhonebooks
17211 // sPhonebook mPhonebooks[1];
17212 };
17213
17214 // This array must be the size specified by mNumberOfSessions
17215 // sSession mSessions[1];
17216 };
17217
17218 // Structure to describe response TLV 0x11 for PBMGetAllCapabilities()
17219 struct sPBMGetAllCapabilitiesResponse_Group
17220 {
17221 UINT8 mNumberOfSessions;
17222
17223 struct sSession
17224 {
17225 eQMIPBMSessionTypes mSessionType;
17226 UINT8 mMaximumGroupsPossible;
17227 UINT8 mMaximumGroupTagLength;
17228 };
17229
17230 // This array must be the size specified by mNumberOfSessions
17231 // sSession mSessions[1];
17232 };
17233
17234 // Structure to describe response TLV 0x12 for PBMGetAllCapabilities()
17235 struct sPBMGetAllCapabilitiesResponse_AdditionalNumber
17236 {
17237 UINT8 mNumberOfSessions;
17238
17239 struct sSession
17240 {
17241 eQMIPBMSessionTypes mSessionType;
17242 UINT8 mMaximumAdditionalNumbersPossible;
17243 UINT8 mMaximumAdditionalNumberLength;
17244 UINT8 mMaximumAdditionalNumberTagLength;
17245 };
17246
17247 // This array must be the size specified by mNumberOfSessions
17248 // sSession mSessions[1];
17249 };
17250
17251 // Structure to describe response TLV 0x13 for PBMGetAllCapabilities()
17252 struct sPBMGetAllCapabilitiesResponse_Email
17253 {
17254 UINT8 mNumberOfSessions;
17255
17256 struct sSession
17257 {
17258 eQMIPBMSessionTypes mSessionType;
17259 UINT8 mMaximumEmailsPossible;
17260 UINT8 mMaximumEmailAddressLength;
17261 };
17262
17263 // This array must be the size specified by mNumberOfSessions
17264 // sSession mSessions[1];
17265 };
17266
17267 // Structure to describe response TLV 0x14 for PBMGetAllCapabilities()
17268 struct sPBMGetAllCapabilitiesResponse_SecondName
17269 {
17270 UINT8 mNumberOfSessions;
17271
17272 struct sSession
17273 {
17274 eQMIPBMSessionTypes mSessionType;
17275 UINT8 mMaximumSecondNameLength;
17276 };
17277
17278 // This array must be the size specified by mNumberOfSessions
17279 // sSession mSessions[1];
17280 };
17281
17282 // Structure to describe response TLV 0x15 for PBMGetAllCapabilities()
17283 struct sPBMGetAllCapabilitiesResponse_HiddenRecords
17284 {
17285 UINT8 mNumberOfSessions;
17286
17287 struct sSession
17288 {
17289 eQMIPBMSessionTypes mSessionType;
17290 INT8 mHiddenEntrySupported;
17291 };
17292
17293 // This array must be the size specified by mNumberOfSessions
17294 // sSession mSessions[1];
17295 };
17296
17297 // Structure to describe response TLV 0x16 for PBMGetAllCapabilities()
17298 struct sPBMGetAllCapabilitiesResponse_GAS
17299 {
17300 UINT8 mNumberOfSessions;
17301
17302 struct sSession
17303 {
17304 eQMIPBMSessionTypes mSessionType;
17305 UINT8 mMaximumRecords;
17306 UINT8 mRecordsUsed;
17307 UINT8 mMaximumGASStringLength;
17308 };
17309
17310 // This array must be the size specified by mNumberOfSessions
17311 // sSession mSessions[1];
17312 };
17313
17314 // Structure to describe response TLV 0x17 for PBMGetAllCapabilities()
17315 struct sPBMGetAllCapabilitiesResponse_AAS
17316 {
17317 UINT8 mNumberOfSessions;
17318
17319 struct sSession
17320 {
17321 eQMIPBMSessionTypes mSessionType;
17322 UINT8 mMaximumRecords;
17323 UINT8 mRecordsUsed;
17324 UINT8 mMaximumAASStringLength;
17325 };
17326
17327 // This array must be the size specified by mNumberOfSessions
17328 // sSession mSessions[1];
17329 };
17330
17331 // Structure to describe request TLV 0x01 for PBMReadRecords()
17332 struct sPBMReadRecordsRequest_Info
17333 {
17334 eQMIPBMSessionTypes mSessionType;
17335 eQMIPBMPhonebookTypes mPhonebookType;
17336 UINT16 mStartingRecordID;
17337 UINT16 mEndingRecordID;
17338 };
17339
17340 // Structure to describe response TLV 0x10 for PBMReadRecords()
17341 struct sPBMReadRecordsResponse_RecordsRead
17342 {
17343 UINT16 mNumberOfRecords;
17344 };
17345
17346 // Structure to describe indication TLV 0x01 for PBM ReadRecordsIndication
17347 struct sPBMReadRecordsIndication_Basic
17348 {
17349 UINT16 mSequenceNumber;
17350 eQMIPBMSessionTypes mSessionType;
17351 eQMIPBMPhonebookTypes mPhonebookType;
17352 UINT8 mNumberOfRecords;
17353
17354 struct sRecord1
17355 {
17356 UINT16 mRecordID;
17357 eQMIPBMNumberTypes mNumberType;
17358 eQMIPBMNumberPlans mNumberPlan;
17359 UINT8 mNumberLength;
17360
17361 // This array must be the size specified by mNumberLength
17362 // char mNumber[1];
17363 };
17364
17365 struct sRecord2
17366 {
17367 UINT8 mNameLength;
17368
17369 // This array must be the size (in BYTEs) specified by mNameLength
17370 // wchar_t mName[1];
17371 };
17372
17373 struct sRecord
17374 {
17375 sRecord1 mRecord1;
17376 sRecord2 mRecord2;
17377 };
17378
17379 // This array must be the size specified by mNumberOfRecords
17380 // sRecord mRecords[1];
17381 };
17382
17383 // Structure to describe indication TLV 0x10 for PBM ReadRecordsIndication
17384 struct sPBMReadRecordsIndication_SecondName
17385 {
17386 UINT8 mNumberOfRecords;
17387
17388 struct sRecord
17389 {
17390 UINT16 mRecordID;
17391 UINT8 mSecondNameLength;
17392
17393 // This array must be the size (in BYTEs) specified by mSecondNameLength
17394 // wchar_t mSecondName[1];
17395 };
17396
17397 // This array must be the size specified by mNumberOfRecords
17398 // sRecord mRecords[1];
17399 };
17400
17401 // Structure to describe indication TLV 0x11 for PBM ReadRecordsIndication
17402 struct sPBMReadRecordsIndication_AdditionalNumber
17403 {
17404 UINT8 mNumberOfRecords;
17405
17406 struct sRecord
17407 {
17408 UINT16 mRecordID;
17409 UINT8 mAdditionalNumberCount;
17410
17411 struct sAdditionalNumber1
17412 {
17413 eQMIPBMNumberTypes mNumberType;
17414 eQMIPBMNumberPlans mNumberPlan;
17415 UINT8 mNumberLength;
17416
17417 // This array must be the size specified by mNumberLength
17418 // char mNumber[1];
17419 };
17420
17421 struct sAdditionalNumber2
17422 {
17423 UINT8 mTagID;
17424 };
17425
17426 struct sAdditionalNumber
17427 {
17428 sAdditionalNumber1 mAdditionalNumber1;
17429 sAdditionalNumber2 mAdditionalNumber2;
17430 };
17431
17432 // This array must be the size specified by mAdditionalNumberCount
17433 // sAdditionalNumber mAdditionalNumbers[1];
17434 };
17435
17436 // This array must be the size specified by mNumberOfRecords
17437 // sRecord mRecords[1];
17438 };
17439
17440 // Structure to describe indication TLV 0x12 for PBM ReadRecordsIndication
17441 struct sPBMReadRecordsIndication_Group
17442 {
17443 UINT8 mNumberOfRecords;
17444
17445 struct sRecord
17446 {
17447 UINT16 mRecordID;
17448 UINT8 mGroupCount;
17449
17450 // This array must be the size specified by mGroupCount
17451 // UINT8 mGroupID[1];
17452 };
17453
17454 // This array must be the size specified by mNumberOfRecords
17455 // sRecord mRecords[1];
17456 };
17457
17458 // Structure to describe indication TLV 0x13 for PBM ReadRecordsIndication
17459 struct sPBMReadRecordsIndication_Email
17460 {
17461 UINT8 mNumberOfRecords;
17462
17463 struct sRecord
17464 {
17465 UINT16 mRecordID;
17466 UINT8 mEmailCount;
17467
17468 struct sEmail
17469 {
17470 UINT8 mAddressLength;
17471
17472 // This array must be the size (in BYTEs) specified by mAddressLength
17473 // wchar_t mAddress[1];
17474 };
17475
17476 // This array must be the size specified by mEmailCount
17477 // sEmail mEmails[1];
17478 };
17479
17480 // This array must be the size specified by mNumberOfRecords
17481 // sRecord mRecords[1];
17482 };
17483
17484 // Structure to describe indication TLV 0x14 for PBM ReadRecordsIndication
17485 struct sPBMReadRecordsIndication_Hidden
17486 {
17487 UINT8 mNumberOfRecords;
17488
17489 struct sRecord
17490 {
17491 UINT16 mRecordID;
17492 INT8 mHidden;
17493 };
17494
17495 // This array must be the size specified by mNumberOfRecords
17496 // sRecord mRecords[1];
17497 };
17498
17499 // Structure to describe request TLV 0x01 for PBMWriteRecord()
17500 struct sPBMWriteRecordRequest_Info1
17501 {
17502 eQMIPBMSessionTypes mSessionType;
17503 eQMIPBMPhonebookTypes mPhonebookType;
17504 UINT16 mRecordID;
17505 eQMIPBMNumberTypes mNumberType;
17506 eQMIPBMNumberPlans mNumberPlan;
17507 UINT8 mNumberLength;
17508
17509 // This array must be the size specified by mNumberLength
17510 // char mNumber[1];
17511 };
17512
17513 struct sPBMWriteRecordRequest_Info2
17514 {
17515 UINT8 mNameLength;
17516
17517 // This array must be the size (in BYTEs) specified by mNameLength
17518 // wchar_t mName[1];
17519 };
17520
17521 struct sPBMWriteRecordRequest_Info
17522 {
17523 sPBMWriteRecordRequest_Info1 mPBMWriteRecordRequest_Info1;
17524 sPBMWriteRecordRequest_Info2 mPBMWriteRecordRequest_Info2;
17525 };
17526
17527 // Structure to describe request TLV 0x10 for PBMWriteRecord()
17528 struct sPBMWriteRecordRequest_SecondName
17529 {
17530 UINT8 mNameLength;
17531
17532 // This array must be the size (in BYTEs) specified by mNameLength
17533 // wchar_t mName[1];
17534 };
17535
17536 // Structure to describe request TLV 0x11 for PBMWriteRecord()
17537 struct sPBMWriteRecordRequest_AdditionalNumber
17538 {
17539 UINT8 mAdditionalNumberCount;
17540
17541 struct sAdditionalNumber1
17542 {
17543 eQMIPBMNumberTypes mNumberType;
17544 eQMIPBMNumberPlans mNumberPlan;
17545 UINT8 mNumberLength;
17546
17547 // This array must be the size specified by mNumberLength
17548 // char mNumber[1];
17549 };
17550
17551 struct sAdditionalNumber2
17552 {
17553 UINT8 mTagID;
17554 };
17555
17556 struct sAdditionalNumber
17557 {
17558 sAdditionalNumber1 mAdditionalNumber1;
17559 sAdditionalNumber2 mAdditionalNumber2;
17560 };
17561
17562 // This array must be the size specified by mAdditionalNumberCount
17563 // sAdditionalNumber mAdditionalNumbers[1];
17564 };
17565
17566 // Structure to describe request TLV 0x12 for PBMWriteRecord()
17567 struct sPBMWriteRecordRequest_Group
17568 {
17569 UINT8 mGroupCount;
17570
17571 // This array must be the size specified by mGroupCount
17572 // UINT8 mGroupID[1];
17573 };
17574
17575 // Structure to describe request TLV 0x13 for PBMWriteRecord()
17576 struct sPBMWriteRecordRequest_Email
17577 {
17578 UINT8 mEmailCount;
17579
17580 struct sEmail
17581 {
17582 UINT8 mAddressLength;
17583
17584 // This array must be the size (in BYTEs) specified by mAddressLength
17585 // wchar_t mAddress[1];
17586 };
17587
17588 // This array must be the size specified by mEmailCount
17589 // sEmail mEmails[1];
17590 };
17591
17592 // Structure to describe request TLV 0x14 for PBMWriteRecord()
17593 struct sPBMWriteRecordRequest_Hidden
17594 {
17595 INT8 mHidden;
17596 };
17597
17598 // Structure to describe response TLV 0x10 for PBMWriteRecord()
17599 struct sPBMWriteRecordResponse_Info
17600 {
17601 UINT16 mRecordID;
17602 };
17603
17604 // Structure to describe request TLV 0x01 for PBMDeleteRecord()
17605 struct sPBMDeleteRecordRequest_Info
17606 {
17607 eQMIPBMSessionTypes mSessionType;
17608 eQMIPBMPhonebookTypes mPhonebookType;
17609 UINT16 mRecordID;
17610 };
17611
17612 // Structure to describe response TLV 0x10 for PBMDeleteRecord()
17613 struct sPBMDeleteRecordResponse_Info
17614 {
17615 UINT16 mRecordID;
17616 };
17617
17618 // Structure to describe request TLV 0x01 for PBMDeleteAllRecords()
17619 struct sPBMDeleteAllRecordsRequest_Info
17620 {
17621 eQMIPBMSessionTypes mSessionType;
17622 eQMIPBMPhonebookTypes mPhonebookType;
17623 };
17624
17625 // Structure to describe request TLV 0x01 for PBMSearchRecords()
17626 struct sPBMSearchRecordsRequest_Info
17627 {
17628 eQMIPBMSessionTypes mSessionType;
17629 eQMIPBMPhonebookTypes mPhonebookType;
17630 };
17631
17632 // Structure to describe request TLV 0x10 for PBMSearchRecords()
17633 struct sPBMSearchRecordsRequest_Number
17634 {
17635 UINT8 mNumberLength;
17636
17637 // This array must be the size specified by mNumberLength
17638 // char mNumber[1];
17639 };
17640
17641 // Structure to describe request TLV 0x11 for PBMSearchRecords()
17642 struct sPBMSearchRecordsRequest_Name
17643 {
17644 UINT8 mNameLength;
17645
17646 // This array must be the size (in BYTEs) specified by mNameLength
17647 // wchar_t mName[1];
17648 };
17649
17650 // Structure to describe response TLV 0x10 for PBMSearchRecords()
17651 struct sPBMSearchRecordsResponse_List
17652 {
17653 UINT16 mNumberOfRecordIDs;
17654
17655 // This array must be the size specified by mNumberOfRecordIDs
17656 // UINT16 mRecordID[1];
17657 };
17658
17659 // Structure to describe indication TLV 0x01 for PBM RecordUpdateIndication
17660 struct sPBMRecordUpdateIndication_Info
17661 {
17662 eQMIPBMSessionTypes mSessionType;
17663 eQMIPBMPhonebookTypes mPhonebookType;
17664 eQMIPBMOperations mOperation;
17665 UINT16 mRecordID;
17666 };
17667
17668 // Structure to describe indication TLV 0x01 for PBM RefreshIndication
17669 struct sPBMRefreshIndication_Info
17670 {
17671 eQMIPBMSessionTypes mSessionType;
17672 eQMIPBMPhonebookTypes mPhonebookType;
17673 eQMIPBMRefreshStatus mStatus;
17674 };
17675
17676 // Structure to describe indication TLV 0x01 for PBM ReadyIndication
17677 struct sPBMReadyIndication_Info
17678 {
17679 eQMIPBMSessionTypes mSessionType;
17680 eQMIPBMPhonebookTypes mPhonebookType;
17681 };
17682
17683 // Structure to describe indication TLV 0x01 for PBM EmergencyListIndication
17684 struct sPBMEmergencyListIndication_HardCodedNumbers
17685 {
17686 UINT8 mNumberCount;
17687
17688 struct sNumber
17689 {
17690 UINT8 mEmergencyNumberLength;
17691
17692 // This array must be the size specified by mEmergencyNumberLength
17693 // char mEmergencyNumber[1];
17694 };
17695
17696 // This array must be the size specified by mNumberCount
17697 // sNumber mNumbers[1];
17698 };
17699
17700 // Structure to describe indication TLV 0x10 for PBM EmergencyListIndication
17701 struct sPBMEmergencyListIndication_NVNumbers
17702 {
17703 UINT8 mNumberCount;
17704
17705 struct sNumber
17706 {
17707 UINT8 mEmergencyNumberLength;
17708
17709 // This array must be the size specified by mEmergencyNumberLength
17710 // char mEmergencyNumber[1];
17711 };
17712
17713 // This array must be the size specified by mNumberCount
17714 // sNumber mNumbers[1];
17715 };
17716
17717 // Structure to describe indication TLV 0x11 for PBM EmergencyListIndication
17718 struct sPBMEmergencyListIndication_CardNumbers
17719 {
17720 UINT8 mNumberOfSessions;
17721
17722 struct sSession
17723 {
17724 eQMIPBMSessionTypes mSessionType;
17725 UINT8 mNumberCount;
17726
17727 struct sNumber
17728 {
17729 bool mPolice:1;
17730 bool mAmbulance:1;
17731 bool mFireBrigade:1;
17732 bool mMarineGuard:1;
17733 bool mMountainRescue:1;
17734 bool mManualECall:1;
17735 bool mAutomaticECall:1;
17736 bool mSpare:1;
17737 UINT8 mEmergencyNumberLength;
17738
17739 // This array must be the size specified by mEmergencyNumberLength
17740 // char mEmergencyNumber[1];
17741 };
17742
17743 // This array must be the size specified by mNumberCount
17744 // sNumber mNumbers[1];
17745 };
17746
17747 // This array must be the size specified by mNumberOfSessions
17748 // sSession mSessions[1];
17749 };
17750
17751 // Structure to describe indication TLV 0x12 for PBM EmergencyListIndication
17752 struct sPBMEmergencyListIndication_NetworkNumbers
17753 {
17754 UINT8 mNumberOfSessions;
17755
17756 struct sSession
17757 {
17758 eQMIPBMSessionTypes mSessionType;
17759 UINT8 mNumberCount;
17760
17761 struct sNumber
17762 {
17763 bool mPolice:1;
17764 bool mAmbulance:1;
17765 bool mFireBrigade:1;
17766 bool mMarineGuard:1;
17767 bool mMountainRescue:1;
17768 bool mManualECall:1;
17769 bool mAutomaticECall:1;
17770 bool mSpare:1;
17771 UINT8 mEmergencyNumberLength;
17772
17773 // This array must be the size specified by mEmergencyNumberLength
17774 // char mEmergencyNumber[1];
17775 };
17776
17777 // This array must be the size specified by mNumberCount
17778 // sNumber mNumbers[1];
17779 };
17780
17781 // This array must be the size specified by mNumberOfSessions
17782 // sSession mSessions[1];
17783 };
17784
17785 // Structure to describe indication TLV 0x01 for PBM AllReadyIndication
17786 struct sPBMAllReadyIndication_Info
17787 {
17788 UINT8 mNumberOfSessions;
17789
17790 struct sSession
17791 {
17792 eQMIPBMSessionTypes mSessionType;
17793 bool mAbbreviatedDialingNumber:1;
17794 bool mFixedDialingNumber:1;
17795 bool mMobileSubscriberIntegratedServicesDigitalNetwork:1;
17796 bool mMailBoxDialingNumber:1;
17797 bool mServiceDialingNumber:1;
17798 bool mBarredDialingNumber:1;
17799 bool mLastNumberDialed:1;
17800 bool mMailBoxNumber:1;
17801
17802 // Padding out 8 bits
17803 UINT8 mReserved1;
17804 };
17805
17806 // This array must be the size specified by mNumberOfSessions
17807 // sSession mSessions[1];
17808 };
17809
17810 // Structure to describe response TLV 0x10 for PBMGetEmergencyList()
17811 struct sPBMGetEmergencyListResponse_HardCodedNumbers
17812 {
17813 UINT8 mNumberCount;
17814
17815 struct sNumber
17816 {
17817 UINT8 mEmergencyNumberLength;
17818
17819 // This array must be the size specified by mEmergencyNumberLength
17820 // char mEmergencyNumber[1];
17821 };
17822
17823 // This array must be the size specified by mNumberCount
17824 // sNumber mNumbers[1];
17825 };
17826
17827 // Structure to describe response TLV 0x11 for PBMGetEmergencyList()
17828 struct sPBMGetEmergencyListResponse_NVNumbers
17829 {
17830 UINT8 mNumberCount;
17831
17832 struct sNumber
17833 {
17834 UINT8 mEmergencyNumberLength;
17835
17836 // This array must be the size specified by mEmergencyNumberLength
17837 // char mEmergencyNumber[1];
17838 };
17839
17840 // This array must be the size specified by mNumberCount
17841 // sNumber mNumbers[1];
17842 };
17843
17844 // Structure to describe response TLV 0x12 for PBMGetEmergencyList()
17845 struct sPBMGetEmergencyListResponse_CardNumbers
17846 {
17847 UINT8 mNumberOfSessions;
17848
17849 struct sSession
17850 {
17851 eQMIPBMSessionTypes mSessionType;
17852 UINT8 mNumberCount;
17853
17854 struct sNumber
17855 {
17856 bool mPolice:1;
17857 bool mAmbulance:1;
17858 bool mFireBrigade:1;
17859 bool mMarineGuard:1;
17860 bool mMountainRescue:1;
17861 bool mManualECall:1;
17862 bool mAutomaticECall:1;
17863 bool mSpare:1;
17864 UINT8 mEmergencyNumberLength;
17865
17866 // This array must be the size specified by mEmergencyNumberLength
17867 // char mEmergencyNumber[1];
17868 };
17869
17870 // This array must be the size specified by mNumberCount
17871 // sNumber mNumbers[1];
17872 };
17873
17874 // This array must be the size specified by mNumberOfSessions
17875 // sSession mSessions[1];
17876 };
17877
17878 // Structure to describe response TLV 0x13 for PBMGetEmergencyList()
17879 struct sPBMGetEmergencyListResponse_NetworkNumbers
17880 {
17881 UINT8 mNumberOfSessions;
17882
17883 struct sSession
17884 {
17885 eQMIPBMSessionTypes mSessionType;
17886 UINT8 mNumberCount;
17887
17888 struct sNumber
17889 {
17890 bool mPolice:1;
17891 bool mAmbulance:1;
17892 bool mFireBrigade:1;
17893 bool mMarineGuard:1;
17894 bool mMountainRescue:1;
17895 bool mManualECall:1;
17896 bool mAutomaticECall:1;
17897 bool mSpare:1;
17898 UINT8 mEmergencyNumberLength;
17899
17900 // This array must be the size specified by mEmergencyNumberLength
17901 // char mEmergencyNumber[1];
17902 };
17903
17904 // This array must be the size specified by mNumberCount
17905 // sNumber mNumbers[1];
17906 };
17907
17908 // This array must be the size specified by mNumberOfSessions
17909 // sSession mSessions[1];
17910 };
17911
17912 // Structure to describe response TLV 0x10 for PBMGetAllGroups()
17913 struct sPBMGetAllGroupsResponse_Groups
17914 {
17915 UINT8 mNumberOfSessions;
17916
17917 struct sSession
17918 {
17919 eQMIPBMSessionTypes mSessionType;
17920 UINT8 mGroupCount;
17921
17922 struct sGroup
17923 {
17924 UINT8 mGroupID;
17925 UINT8 mGroupNameLength;
17926
17927 // This array must be the size (in BYTEs) specified by mGroupNameLength
17928 // wchar_t mGroupName[1];
17929 };
17930
17931 // This array must be the size specified by mGroupCount
17932 // sGroup mGroups[1];
17933 };
17934
17935 // This array must be the size specified by mNumberOfSessions
17936 // sSession mSessions[1];
17937 };
17938
17939 // Structure to describe request TLV 0x01 for PBMSetGroupInfo()
17940 struct sPBMSetGroupInfoRequest_Info
17941 {
17942 eQMIPBMSessionTypes mSessionType;
17943 eQMIPBMOperations mOperation;
17944 UINT8 mGroupID;
17945 UINT8 mGroupNameLength;
17946
17947 // This array must be the size (in BYTEs) specified by mGroupNameLength
17948 // wchar_t mGroupName[1];
17949 };
17950
17951 // Structure to describe response TLV 0x10 for PBMSetGroupInfo()
17952 struct sPBMSetGroupInfoResponse_ID
17953 {
17954 eQMIPBMSessionTypes mSessionType;
17955 UINT8 mGroupID;
17956 };
17957
17958 // Structure to describe request TLV 0x01 for PBMGetState()
17959 struct sPBMGetStateRequest_Info
17960 {
17961 eQMIPBMSessionTypes mSessionType;
17962 eQMIPBMPhonebookTypes mPhonebookType;
17963 };
17964
17965 // Structure to describe response TLV 0x10 for PBMGetStateInfo()
17966 struct sPBMGetStateInfoResponse_State
17967 {
17968 eQMIPBMSessionTypes mSessionType;
17969 eQMIPBMPhonebookTypes mPhonebookType;
17970 eQMIPBMStates mState;
17971 };
17972
17973 // Structure to describe request TLV 0x01 for PBMReadAllHiddenRecords()
17974 struct sPBMReadAllHiddenRecordsRequest_Info
17975 {
17976 eQMIPBMSessionTypes mSessionType;
17977 };
17978
17979 // Structure to describe response TLV 0x10 for PBMReadAllHiddenRecords()
17980 struct sPBMReadAllHiddenRecordsResponse_Records
17981 {
17982 UINT16 mNumberOfRecords;
17983 };
17984
17985 // Structure to describe indication TLV 0x01 for PBM HiddenRecordStatusIndication
17986 struct sPBMHiddenRecordStatusIndication_Status
17987 {
17988 eQMIPBMSessionTypes mSessionType;
17989 INT8 mHiddenRecordsValid;
17990 };
17991
17992 // Structure to describe request TLV 0x01 for PBMGetNextEmptyRecordID()
17993 struct sPBMGetNextEmptyRecordIDRequest_Info
17994 {
17995 eQMIPBMSessionTypes mSessionType;
17996 eQMIPBMPhonebookTypes mPhonebookType;
17997 UINT16 mRecordID;
17998 };
17999
18000 // Structure to describe response TLV 0x10 for PBMGetNextEmptyRecordID()
18001 struct sPBMGetNextEmptyRecordIDResponse_Info
18002 {
18003 UINT16 mRecordID;
18004 };
18005
18006 // Structure to describe request TLV 0x01 for PBMGetNextRecordID()
18007 struct sPBMGetNextRecordIDRequest_Info
18008 {
18009 eQMIPBMSessionTypes mSessionType;
18010 eQMIPBMPhonebookTypes mPhonebookType;
18011 UINT16 mRecordID;
18012 };
18013
18014 // Structure to describe response TLV 0x10 for PBMGetNextRecordID()
18015 struct sPBMGetNextRecordIDResponse_Info
18016 {
18017 UINT16 mRecordID;
18018 };
18019
18020 // Structure to describe response TLV 0x10 for PBMGetAASList()
18021 struct sPBMGetAASListResponse_List
18022 {
18023 UINT8 mNumberOfSessions;
18024
18025 struct sSession
18026 {
18027 eQMIPBMSessionTypes mSessionType;
18028 UINT8 mAASCount;
18029
18030 struct sAAS
18031 {
18032 UINT8 mAASID;
18033 UINT8 mAlphaStringLength;
18034
18035 // This array must be the size (in BYTEs) specified by mAlphaStringLength
18036 // wchar_t mAlphaString[1];
18037 };
18038
18039 // This array must be the size specified by mAASCount
18040 // sAAS mAASs[1];
18041 };
18042
18043 // This array must be the size specified by mNumberOfSessions
18044 // sSession mSessions[1];
18045 };
18046
18047 // Structure to describe request TLV 0x10 for PBMSetAAS()
18048 struct sPBMSetAASRequest_Info
18049 {
18050 eQMIPBMSessionTypes mSessionType;
18051 eQMIPBMAASOperations mOperation;
18052 UINT8 mAASID;
18053 UINT8 mAlphaStringLength;
18054
18055 // This array must be the size (in BYTEs) specified by mAlphaStringLength
18056 // wchar_t mAlphaString[1];
18057 };
18058
18059 // Structure to describe response TLV 0x10 for PBMSetAAS()
18060 struct sPBMSetAASResponse_Info
18061 {
18062 eQMIPBMSessionTypes mSessionType;
18063 UINT8 mAASID;
18064 };
18065
18066 // Structure to describe indication TLV 0x01 for PBM AASChangeIndication
18067 struct sPBMAASChangeIndication_Info
18068 {
18069 eQMIPBMSessionTypes mSessionType;
18070 eQMIPBMOperations mOperation;
18071 UINT8 mAASID;
18072 UINT8 mAlphaStringLength;
18073
18074 // This array must be the size (in BYTEs) specified by mAlphaStringLength
18075 // wchar_t mAlphaString[1];
18076 };
18077
18078 // Structure to describe indication TLV 0x01 for PBM GASChangeIndication
18079 struct sPBMGASChangeIndication_Info
18080 {
18081 eQMIPBMSessionTypes mSessionType;
18082 eQMIPBMOperations mOperation;
18083 UINT8 mGASID;
18084 UINT8 mGroupNameLength;
18085
18086 // This array must be the size (in BYTEs) specified by mGroupNameLength
18087 // wchar_t mGroupName[1];
18088 };
18089
18090 // Structure to describe request TLV 0x10 for PBMBindSubscription()
18091 struct sPBMBindSubscriptionRequest_Type
18092 {
18093 eQMIPBMSubscriptionTypes mSubscriptionType;
18094 };
18095
18096 // Structure to describe response TLV 0x10 for PBMBindSubscription()
18097 struct sPBMBindSubscriptionResponse_ResultCode
18098 {
18099 eQMIResults mQMIResult;
18100 eQMIErrors mQMIError;
18101 };
18102
18103 // Structure to describe request TLV 0x01 for LOCClientRevision()
18104 struct sLOCClientRevisionRequest_Revision
18105 {
18106 UINT32 mRevision;
18107 };
18108
18109 // Structure to describe request TLV 0x01 for LOCRegisterEvents()
18110 struct sLOCRegisterEventsRequest_EventRegistrationMask
18111 {
18112 bool mPositionReport:1;
18113 bool mGNSSSatelliteInfo:1;
18114 bool mNMEA:1;
18115 bool mNINotifyVerifyRequest:1;
18116 bool mInjectTimeRequest:1;
18117 bool mInjectPredictedOrbitsRequest:1;
18118 bool mInjectPositionRequest:1;
18119 bool mEngineState:1;
18120 bool mFixSessionState:1;
18121 bool mWiFiRequest:1;
18122 bool mSensorStreamingReadyStatus:1;
18123 bool mTimeSyncRequest:1;
18124 bool mSetSPIStreamingReport:1;
18125 bool mLocationServerConnectionRequest:1;
18126
18127 // Padding out 50 bits
18128 UINT8 mReserved1:2;
18129 UINT8 mReserved2[6];
18130 };
18131
18132 // Structure to describe request TLV 0x01 for LOCStart()
18133 struct sLOCStartRequest_SessionID
18134 {
18135 UINT8 mSessionID;
18136 };
18137
18138 // Structure to describe request TLV 0x10 for LOCStart()
18139 struct sLOCStartRequest_FixRecurrenceType
18140 {
18141 eQMILOCFixRecurrenceType mFixRecurrenceType;
18142 };
18143
18144 // Structure to describe request TLV 0x11 for LOCStart()
18145 struct sLOCStartRequest_HorizontalAccuracy
18146 {
18147 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
18148 };
18149
18150 // Structure to describe request TLV 0x12 for LOCStart()
18151 struct sLOCStartRequest_EnableIntermediateReports
18152 {
18153 eQMILOCIntermediateReportState mEnableIntermediateReports;
18154 };
18155
18156 // Structure to describe request TLV 0x13 for LOCStart()
18157 struct sLOCStartRequest_MinimumIntervalBetweenPositionReports
18158 {
18159 UINT32 mMinimumTimeIntervalMilliseconds;
18160 };
18161
18162 // Structure to describe request TLV 0x01 for LOCStop()
18163 struct sLOCStopRequest_SessionID
18164 {
18165 UINT8 mSessionID;
18166 };
18167
18168 // Structure to describe indication TLV 0x01 for LOC PositionReportIndication
18169 struct sLOCPositionReportIndication_SessionStatus
18170 {
18171 eQMILOCSessionStatus mSessionStatus;
18172 };
18173
18174 // Structure to describe indication TLV 0x10 for LOC PositionReportIndication
18175 struct sLOCPositionReportIndication_Latitude
18176 {
18177 double mLatitudeDegrees;
18178 };
18179
18180 // Structure to describe indication TLV 0x11 for LOC PositionReportIndication
18181 struct sLOCPositionReportIndication_Longitude
18182 {
18183 double mLongitudeDegrees;
18184 };
18185
18186 // Structure to describe indication TLV 0x12 for LOC PositionReportIndication
18187 struct sLOCPositionReportIndication_HorizontalUncertaintyCircular
18188 {
18189 float mHorizontalUncertaintyCircularMeters;
18190 };
18191
18192 // Structure to describe indication TLV 0x13 for LOC PositionReportIndication
18193 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMinor
18194 {
18195 float mHorizontalUncertaintyEllipticalMinorMeters;
18196 };
18197
18198 // Structure to describe indication TLV 0x14 for LOC PositionReportIndication
18199 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMajor
18200 {
18201 float mHorizontalUncertaintyEllipticalMajorMeters;
18202 };
18203
18204 // Structure to describe indication TLV 0x15 for LOC PositionReportIndication
18205 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalAzimuth
18206 {
18207 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
18208 };
18209
18210 // Structure to describe indication TLV 0x16 for LOC PositionReportIndication
18211 struct sLOCPositionReportIndication_HorizontalConfidence
18212 {
18213 UINT8 mHorizontalConfidencePercent;
18214 };
18215
18216 // Structure to describe indication TLV 0x17 for LOC PositionReportIndication
18217 struct sLOCPositionReportIndication_HorizontalReliability
18218 {
18219 eQMILOCReliability mHorizontalReliability;
18220 };
18221
18222 // Structure to describe indication TLV 0x18 for LOC PositionReportIndication
18223 struct sLOCPositionReportIndication_HorizontalSpeed
18224 {
18225 float mHorizontalSpeedMetersSecond;
18226 };
18227
18228 // Structure to describe indication TLV 0x19 for LOC PositionReportIndication
18229 struct sLOCPositionReportIndication_SpeedUncertainty
18230 {
18231 float mSpeedUncertaintyMetersSecond;
18232 };
18233
18234 // Structure to describe indication TLV 0x1A for LOC PositionReportIndication
18235 struct sLOCPositionReportIndication_AltitudeFromEllipsoid
18236 {
18237 float mAltitudeFromEllipsoidMeters;
18238 };
18239
18240 // Structure to describe indication TLV 0x1B for LOC PositionReportIndication
18241 struct sLOCPositionReportIndication_AltitudeFromSeaLevel
18242 {
18243 float mAltitudeFromSeaLevelMeters;
18244 };
18245
18246 // Structure to describe indication TLV 0x1C for LOC PositionReportIndication
18247 struct sLOCPositionReportIndication_VerticalUncertainty
18248 {
18249 float mVerticalUncertaintyMeters;
18250 };
18251
18252 // Structure to describe indication TLV 0x1D for LOC PositionReportIndication
18253 struct sLOCPositionReportIndication_VerticalConfidence
18254 {
18255 UINT8 mVerticalConfidencePercent;
18256 };
18257
18258 // Structure to describe indication TLV 0x1E for LOC PositionReportIndication
18259 struct sLOCPositionReportIndication_VerticalReliability
18260 {
18261 eQMILOCReliability mVerticalReliability;
18262 };
18263
18264 // Structure to describe indication TLV 0x1F for LOC PositionReportIndication
18265 struct sLOCPositionReportIndication_VerticalSpeed
18266 {
18267 float mVerticalSpeedMetersSecond;
18268 };
18269
18270 // Structure to describe indication TLV 0x20 for LOC PositionReportIndication
18271 struct sLOCPositionReportIndication_Heading
18272 {
18273 float mHeadingDegrees;
18274 };
18275
18276 // Structure to describe indication TLV 0x21 for LOC PositionReportIndication
18277 struct sLOCPositionReportIndication_HeadingUncertainty
18278 {
18279 float mHeadingUncertaintyDegrees;
18280 };
18281
18282 // Structure to describe indication TLV 0x22 for LOC PositionReportIndication
18283 struct sLOCPositionReportIndication_MagneticDeviation
18284 {
18285 float mMagneticDeviation;
18286 };
18287
18288 // Structure to describe indication TLV 0x23 for LOC PositionReportIndication
18289 struct sLOCPositionReportIndication_TechnologyUsed
18290 {
18291 bool mSatellite:1;
18292 bool mCellular:1;
18293 bool mWiFi:1;
18294
18295 // Padding out 29 bits
18296 UINT8 mReserved1:5;
18297 UINT8 mReserved2[3];
18298 };
18299
18300 // Structure to describe indication TLV 0x24 for LOC PositionReportIndication
18301 struct sLOCPositionReportIndication_DilutionOfPrecision
18302 {
18303 float mPositionDilutionOfPrecision;
18304 float mHorizontalDilutionOfPrecision;
18305 float mVerticalDilutionOfPrecision;
18306 };
18307
18308 // Structure to describe indication TLV 0x25 for LOC PositionReportIndication
18309 struct sLOCPositionReportIndication_UTCTimestamp
18310 {
18311 UINT64 mUTCTimestampMilliseconds;
18312 };
18313
18314 // Structure to describe indication TLV 0x26 for LOC PositionReportIndication
18315 struct sLOCPositionReportIndication_LeapSeconds
18316 {
18317 UINT8 mLeapSeconds;
18318 };
18319
18320 // Structure to describe indication TLV 0x27 for LOC PositionReportIndication
18321 struct sLOCPositionReportIndication_GPSTime
18322 {
18323 UINT16 mGPSWeeks;
18324 UINT32 mGPSTimeOfWeekMilliseconds;
18325 };
18326
18327 // Structure to describe indication TLV 0x28 for LOC PositionReportIndication
18328 struct sLOCPositionReportIndication_TimeUncertainty
18329 {
18330 float mTimeUncertaintyMilliseconds;
18331 };
18332
18333 // Structure to describe indication TLV 0x29 for LOC PositionReportIndication
18334 struct sLOCPositionReportIndication_TimeSource
18335 {
18336 eQMILOCTimeSource mTimeSource;
18337 };
18338
18339 // Structure to describe indication TLV 0x2A for LOC PositionReportIndication
18340 struct sLOCPositionReportIndication_SensorDataUsage
18341 {
18342 bool mAccelerometerUsed:1;
18343 bool mGyroUsed:1;
18344
18345 // Padding out 30 bits
18346 UINT8 mReserved1:6;
18347 UINT8 mReserved2[3];
18348
18349 bool mAidedHeading:1;
18350 bool mAidedSpeed:1;
18351 bool mAidedPosition:1;
18352 bool mAidedVelocity:1;
18353
18354 // Padding out 28 bits
18355 UINT8 mReserved3:4;
18356 UINT8 mReserved4[3];
18357 };
18358
18359 // Structure to describe indication TLV 0x2B for LOC PositionReportIndication
18360 struct sLOCPositionReportIndication_SessionFixCount
18361 {
18362 UINT32 mSessionFixCount;
18363 };
18364
18365 // Structure to describe indication TLV 0x01 for LOC GNSSSatelliteInfoIndication
18366 struct sLOCGNSSSatelliteInfoIndication_AltitudeSource
18367 {
18368 eQMILOCAltitudeAssumed mAltitudeAssumed;
18369 };
18370
18371 // Structure to describe indication TLV 0x10 for LOC GNSSSatelliteInfoIndication
18372 struct sLOCGNSSSatelliteInfoIndication_SatelliteInfo
18373 {
18374 UINT8 mSatelliteInfoCount;
18375 bool mValidSystem:1;
18376 bool mValidGNSSSatelliteID:1;
18377 bool mValidHealthStatus:1;
18378 bool mValidProcessStatus:1;
18379 bool mValidSatelliteInfoMask:1;
18380 bool mValidElevation:1;
18381 bool mValidAzimuth:1;
18382 bool mValidSignalToNoiseRatio:1;
18383
18384 // Padding out 24 bits
18385 UINT8 mReserved1[3];
18386
18387 eQMILOCSystem mSystem;
18388 UINT16 mGNSSSatelliteID;
18389 eQMILOCHealthStatus mHealthStatus;
18390 eQMILOCSatelliteStatus mSatelliteStatus;
18391 bool mHasEphemeris:1;
18392 bool mHasAlmanac:1;
18393
18394 // Padding out 6 bits
18395 UINT8 mReserved2:6;
18396
18397 float mElevationDegrees;
18398 float mAzimuthDegrees;
18399 float mSignalToNoiseRatiodBHz;
18400 };
18401
18402 // Structure to describe indication TLV 0x01 for LOC NMEAIndication
18403 struct sLOCNMEAIndication_NMEAString
18404 {
18405 // String is variable length, but must be size of the container
18406 // char mNMEAString[1];
18407 };
18408
18409 // Structure to describe request TLV 0x01 for LOCNetworkInitiated()
18410 struct sLOCNetworkInitiatedRequestIndication_NotificationType
18411 {
18412 eQMILOCNotificationType mNotificationType;
18413 };
18414
18415 // Structure to describe request TLV 0x10 for LOCNetworkInitiated()
18416 struct sLOCNetworkInitiatedRequestIndication_VxRequest1
18417 {
18418 INT8 mPositionQoSIncluded;
18419 UINT8 mPositionQoSTimeoutSeconds;
18420 UINT32 mMaxNumberOfFixes;
18421 UINT32 mTimeBetweenFixesSeconds;
18422 eQMILOCPositionMode mPosistionMode;
18423 eQMILOCEncodingScheme mEncodingScheme;
18424 UINT8 mRequestorIDLength;
18425
18426 // This array must be the size specified by mRequestorIDLength
18427 // UINT8 mRequestorID[1];
18428 };
18429
18430 struct sLOCNetworkInitiatedRequestIndication_VxRequest2
18431 {
18432 UINT16 mUserResponseTimerSeconds;
18433 };
18434
18435 struct sLOCNetworkInitiatedRequestIndication_VxRequest
18436 {
18437 sLOCNetworkInitiatedRequestIndication_VxRequest1 mLOCNetworkInitiatedRequestIndication_VxRequest1;
18438 sLOCNetworkInitiatedRequestIndication_VxRequest2 mLOCNetworkInitiatedRequestIndication_VxRequest2;
18439 };
18440
18441 // Structure to describe request TLV 0x11 for LOCNetworkInitiated()
18442 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest1
18443 {
18444 bool mValidServerInfo:1;
18445 bool mValidSessionID:1;
18446 bool mValidHash:1;
18447 bool mValidPositionMethod:1;
18448 bool mValidDataCodingScheme:1;
18449 bool mValidRequestorID:1;
18450 bool mValidClientName:1;
18451 bool mValidQualityOfPosition:1;
18452 bool mValidUserResponseTimer:1;
18453
18454 // Padding out 23 bits
18455 UINT8 mReserved1:7;
18456 UINT8 mReserved2[2];
18457
18458 bool mIPv4:1;
18459 bool mIPv6:1;
18460 bool mURL:1;
18461
18462 // Padding out 5 bits
18463 UINT8 mReserved3:5;
18464
18465 UINT32 mIPv4Address;
18466 UINT16 mIPv4Port;
18467 UINT8 mIPv6Address[16];
18468 UINT32 mIPv6Port;
18469 UINT8 mURLAddressLength;
18470
18471 // This array must be the size specified by mURLAddressLength
18472 // char mURLAddress[1];
18473 };
18474
18475 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest2
18476 {
18477 UINT8 mSUPLSessionID[4];
18478 UINT8 mSUPLHash[8];
18479 eQMILOCPosition mPositionMethod;
18480 eQMILOCDataCodingScheme mDataCodingScheme;
18481 eQMILOCFormatType mRequestorIDFormatType;
18482 UINT8 mRequestorIDFormattedStringLength;
18483
18484 // This array must be the size specified by mRequestorIDFormattedStringLength
18485 // UINT8 mRequestorIDFormattedString[1];
18486 };
18487
18488 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest3
18489 {
18490 eQMILOCFormatType mClientNameFormatType;
18491 UINT8 mClientNameFormattedStringLength;
18492
18493 // This array must be the size specified by mClientNameFormattedStringLength
18494 // UINT8 mClientNameFormattedString[1];
18495 };
18496
18497 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest4
18498 {
18499 bool mQoPHorizontalAccelerationValid:1;
18500 bool mQoPVerticalAccelerationValid:1;
18501 bool mQoPMaximumAge:1;
18502 bool mQoPDelayValid:1;
18503
18504 // Padding out 4 bits
18505 UINT8 mReserved4:4;
18506
18507 UINT8 mHorizontalAccuracyMeters;
18508 UINT8 mVerticalAccuracyMeters;
18509 UINT16 mMaximumLocationAgeSeconds;
18510 UINT8 mDelaySeconds;
18511 UINT16 mUserResponseTimerSeconds;
18512 };
18513
18514 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest
18515 {
18516 sLOCNetworkInitiatedRequestIndication_SUPLRequest1 mLOCNetworkInitiatedRequestIndication_SUPLRequest1;
18517 sLOCNetworkInitiatedRequestIndication_SUPLRequest2 mLOCNetworkInitiatedRequestIndication_SUPLRequest2;
18518 sLOCNetworkInitiatedRequestIndication_SUPLRequest3 mLOCNetworkInitiatedRequestIndication_SUPLRequest3;
18519 sLOCNetworkInitiatedRequestIndication_SUPLRequest4 mLOCNetworkInitiatedRequestIndication_SUPLRequest4;
18520 };
18521
18522 // Structure to describe request TLV 0x12 for LOCNetworkInitiated()
18523 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1
18524 {
18525 bool mValidInvokeID:1;
18526 bool mValidDataCodingScheme:1;
18527 bool mValidNotificationText:1;
18528 bool mValidClientAddress:1;
18529 bool mValidLocationType:1;
18530 bool mValidRequestorID:1;
18531 bool mValidCodewordString:1;
18532 bool mValidServiceTypeMask:1;
18533 bool mValidUserResponseTImer:1;
18534
18535 // Padding out 7 bits
18536 UINT8 mReserved1:7;
18537
18538 UINT8 mInvokeID;
18539 eQMILOCDataCodingScheme mDataCodingScheme;
18540 UINT8 mNotificationTextLength;
18541
18542 // This array must be the size specified by mNotificationTextLength
18543 // UINT8 mNotificationText[1];
18544 };
18545
18546 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2
18547 {
18548 UINT8 mClientAddressLength;
18549
18550 // This array must be the size specified by mClientAddressLength
18551 // UINT8 mClientAddress[1];
18552 };
18553
18554 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3
18555 {
18556 eQMILOCLocationType mLocationType;
18557 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
18558 UINT8 mRequestorIDCodedStingLength;
18559
18560 // This array must be the size specified by mRequestorIDCodedStingLength
18561 // UINT8 mRequestorIDCodedString[1];
18562 };
18563
18564 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4
18565 {
18566 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
18567 UINT8 mCodewordStringCodedStringLength;
18568
18569 // This array must be the size specified by mCodewordStringCodedStringLength
18570 // UINT8 mCodewordStringCodedString[1];
18571 };
18572
18573 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5
18574 {
18575 UINT8 mServiceTypeID;
18576 UINT16 mUserResponseTimerSeconds;
18577 };
18578
18579 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest
18580 {
18581 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1;
18582 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2;
18583 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3;
18584 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4;
18585 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5;
18586 };
18587
18588 // Structure to describe request TLV 0x13 for LOCNetworkInitiated()
18589 struct sLOCNetworkInitiatedRequestIndication_ServiceInteractionRequest
18590 {
18591 INT8 mPositionQoSIncluded;
18592 UINT8 mPositionQoSTimeoutSeconds;
18593 UINT32 mMaxNumberOfFixes;
18594 UINT32 mTimeBetweenFixesSeconds;
18595 eQMILOCPositionMode mPosistionMode;
18596 eQMILOCEncodingScheme mEncodingScheme;
18597 UINT8 mRequestorIDLength;
18598 UINT8 mRequestorID;
18599 UINT16 mUserResponseTimerSeconds;
18600 eQMILOCServiceInteractionType mServiceInteractionType;
18601 };
18602
18603 // Structure to describe indication TLV 0x10 for LOC InjectTimeIndication
18604 struct sLOCInjectTimeIndication_TimeServerInfo
18605 {
18606 UINT32 mDelayThresholdMilliseconds;
18607 UINT8 mServerListLength;
18608
18609 struct sServer
18610 {
18611 UINT8 mServerURLLength;
18612
18613 // This array must be the size specified by mServerURLLength
18614 // char mServerURL[1];
18615 };
18616
18617 // This array must be the size specified by mServerListLength
18618 // sServer mServers[1];
18619 };
18620
18621 // Structure to describe indication TLV 0x01 for LOC InjectPredictedOrbitsIndication
18622 struct sLOCInjectPredictedOrbitsIndication_AllowedSize
18623 {
18624 UINT32 mMaximumFileSizeBytes;
18625 UINT32 mMaximumPartSizeBytes;
18626 };
18627
18628 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsIndication
18629 struct sLOCInjectPredictedOrbitsIndication_ServerList
18630 {
18631 UINT8 mServerListLength;
18632
18633 struct sServer
18634 {
18635 UINT8 mServerURLLength;
18636
18637 // This array must be the size specified by mServerURLLength
18638 // char mServerURL[1];
18639 };
18640
18641 // This array must be the size specified by mServerListLength
18642 // sServer mServers[1];
18643 };
18644
18645 // Structure to describe indication TLV 0x01 for LOC InjectPositionIndication
18646 struct sLOCInjectPositionIndication_Latitude
18647 {
18648 double mLatitudeDegrees;
18649 };
18650
18651 // Structure to describe indication TLV 0x03 for LOC InjectPositionIndication
18652 struct sLOCInjectPositionIndication_HorizontalUncertaintyCircular
18653 {
18654 float mHorizontalUncertaintyCircularMeters;
18655 };
18656
18657 // Structure to describe indication TLV 0x04 for LOC InjectPositionIndication
18658 struct sLOCInjectPositionIndication_UTCTimestamp
18659 {
18660 UINT64 mUTCTimestampMilliseconds;
18661 };
18662
18663 // Structure to describe indication TLV 0x01 for LOC EngineStateIndication
18664 struct sLOCEngineStateIndication_EngineState
18665 {
18666 eQMILOCEngineState mEngineState;
18667 };
18668
18669 // Structure to describe indication TLV 0x01 for LOC FixSessionStateIndication
18670 struct sLOCFixSessionStateIndication_SessionState
18671 {
18672 eQMILOCSessionState mSessionState;
18673 };
18674
18675 // Structure to describe indication TLV 0x10 for LOC FixSessionStateIndication
18676 struct sLOCFixSessionStateIndication_SessionID
18677 {
18678 UINT8 mSessionID;
18679 };
18680
18681 // Structure to describe request TLV 0x01 for LOCWiFi()
18682 struct sLOCWiFiRequestIndication_RequestType
18683 {
18684 eQMILOCRequestType mRequestType;
18685 };
18686
18687 // Structure to describe request TLV 0x10 for LOCWiFi()
18688 struct sLOCWiFiRequestIndication_TimeBetweenFixes
18689 {
18690 UINT16 mTimeBetweenFixesMilliseconds;
18691 };
18692
18693 // Structure to describe indication TLV 0x10 for LOC SensorStreamingReadyStatusIndication
18694 struct sLOCSensorStreamingReadyStatusIndication_AccelerometerReady
18695 {
18696 INT8 mReadyForInjection;
18697 UINT16 mSamplesPerBatch;
18698 UINT16 mBatchesPerSecond;
18699 };
18700
18701 // Structure to describe indication TLV 0x11 for LOC SensorStreamingReadyStatusIndication
18702 struct sLOCSensorStreamingReadyStatusIndication_GyrometerReady
18703 {
18704 INT8 mReadyForInjection;
18705 UINT16 mSamplesPerBatch;
18706 UINT16 mBatchesPerSecond;
18707 };
18708
18709 // Structure to describe request TLV 0x01 for LOCTimeSync()
18710 struct sLOCTimeSyncRequestIndication_ReferenceCounter
18711 {
18712 UINT32 mReferenceCounter;
18713 };
18714
18715 // Structure to describe indication TLV 0x01 for LOC SetSPIStreamingReportIndication
18716 struct sLOCSetSPIStreamingReportIndication_SPIRequests
18717 {
18718 INT8 mEnableSPIRequests;
18719 };
18720
18721 // Structure to describe request TLV 0x01 for LOCLocationServerConnection()
18722 struct sLOCLocationServerConnectionRequestIndication_ConnectionHandle
18723 {
18724 UINT32 mConnectionHandle;
18725 };
18726
18727 // Structure to describe request TLV 0x03 for LOCLocationServerConnection()
18728 struct sLOCLocationServerConnectionRequestIndication_WWANType
18729 {
18730 eQMILOCWWANType mWWANType;
18731 };
18732
18733 // Structure to describe indication TLV 0x10 for LOC GetFixCriteriaIndication
18734 struct sLOCGetFixCriteriaIndication_HorizontalAccuracy
18735 {
18736 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
18737 };
18738
18739 // Structure to describe indication TLV 0x11 for LOC GetFixCriteriaIndication
18740 struct sLOCGetFixCriteriaIndication_IntermediateFixes
18741 {
18742 eQMILOCIntermediateReportState mEnableIntermediateReports;
18743 };
18744
18745 // Structure to describe indication TLV 0x12 for LOC GetFixCriteriaIndication
18746 struct sLOCGetFixCriteriaIndication_MinimumIntervalBetweenFixes
18747 {
18748 UINT32 mMinimumTimeIntervalMilliseconds;
18749 };
18750
18751 // Structure to describe request TLV 0x01 for LOCProvideNIUserResponse()
18752 struct sLOCProvideNIUserResponseRequest_UserResponse
18753 {
18754 eQMILOCUserResponse mUserResponse;
18755 };
18756
18757 // Structure to describe request TLV 0x10 for LOCProvideNIUserResponse()
18758 struct sLOCProvideNIUserResponseRequest_VxRequest1
18759 {
18760 INT8 mPositionQoSIncluded;
18761 UINT8 mPositionQoSTimeoutSeconds;
18762 UINT32 mMaxNumberOfFixes;
18763 UINT32 mTimeBetweenFixesSeconds;
18764 eQMILOCPositionMode mPosistionMode;
18765 eQMILOCEncodingScheme mEncodingScheme;
18766 UINT8 mRequestorIDLength;
18767
18768 // This array must be the size specified by mRequestorIDLength
18769 // UINT8 mRequestorID[1];
18770 };
18771
18772 struct sLOCProvideNIUserResponseRequest_VxRequest2
18773 {
18774 UINT16 mUserResponseTimerSeconds;
18775 };
18776
18777 struct sLOCProvideNIUserResponseRequest_VxRequest
18778 {
18779 sLOCProvideNIUserResponseRequest_VxRequest1 mLOCProvideNIUserResponseRequest_VxRequest1;
18780 sLOCProvideNIUserResponseRequest_VxRequest2 mLOCProvideNIUserResponseRequest_VxRequest2;
18781 };
18782
18783 // Structure to describe request TLV 0x11 for LOCProvideNIUserResponse()
18784 struct sLOCProvideNIUserResponseRequest_SUPLRequest1
18785 {
18786 bool mValidServerInfo:1;
18787 bool mValidSessionID:1;
18788 bool mValidHash:1;
18789 bool mValidPositionMethod:1;
18790 bool mValidDataCodingScheme:1;
18791 bool mValidRequestorID:1;
18792 bool mValidClientName:1;
18793 bool mValidQualityOfPosition:1;
18794 bool mValidUserResponseTimer:1;
18795
18796 // Padding out 23 bits
18797 UINT8 mReserved1:7;
18798 UINT8 mReserved2[2];
18799
18800 bool mIPv4:1;
18801 bool mIPv6:1;
18802 bool mURL:1;
18803
18804 // Padding out 5 bits
18805 UINT8 mReserved3:5;
18806
18807 UINT32 mIPv4Address;
18808 UINT16 mIPv4Port;
18809 UINT8 mIPv6Address[16];
18810 UINT32 mIPv6Port;
18811 UINT8 mURLAddressLength;
18812
18813 // This array must be the size specified by mURLAddressLength
18814 // char mURLAddress[1];
18815 };
18816
18817 struct sLOCProvideNIUserResponseRequest_SUPLRequest2
18818 {
18819 UINT8 mSUPLSessionID[4];
18820 UINT8 mSUPLHash[8];
18821 eQMILOCPosition mPositionMethod;
18822 eQMILOCDataCodingScheme mDataCodingScheme;
18823 eQMILOCFormatType mRequestorIDFormatType;
18824 UINT8 mRequestorIDFormattedStringLength;
18825
18826 // This array must be the size specified by mRequestorIDFormattedStringLength
18827 // UINT8 mRequestorIDFormattedString[1];
18828 };
18829
18830 struct sLOCProvideNIUserResponseRequest_SUPLRequest3
18831 {
18832 eQMILOCFormatType mClientNameFormatType;
18833 UINT8 mClientNameFormattedStringLength;
18834
18835 // This array must be the size specified by mClientNameFormattedStringLength
18836 // UINT8 mClientNameFormattedString[1];
18837 };
18838
18839 struct sLOCProvideNIUserResponseRequest_SUPLRequest4
18840 {
18841 bool mQoPHorizontalAccelerationValid:1;
18842 bool mQoPVerticalAccelerationValid:1;
18843 bool mQoPMaximumAge:1;
18844 bool mQoPDelayValid:1;
18845
18846 // Padding out 4 bits
18847 UINT8 mReserved4:4;
18848
18849 UINT8 mHorizontalAccuracyMeters;
18850 UINT8 mVerticalAccuracyMeters;
18851 UINT16 mMaximumLocationAgeSeconds;
18852 UINT8 mDelaySeconds;
18853 UINT16 mUserResponseTimerSeconds;
18854 };
18855
18856 struct sLOCProvideNIUserResponseRequest_SUPLRequest
18857 {
18858 sLOCProvideNIUserResponseRequest_SUPLRequest1 mLOCProvideNIUserResponseRequest_SUPLRequest1;
18859 sLOCProvideNIUserResponseRequest_SUPLRequest2 mLOCProvideNIUserResponseRequest_SUPLRequest2;
18860 sLOCProvideNIUserResponseRequest_SUPLRequest3 mLOCProvideNIUserResponseRequest_SUPLRequest3;
18861 sLOCProvideNIUserResponseRequest_SUPLRequest4 mLOCProvideNIUserResponseRequest_SUPLRequest4;
18862 };
18863
18864 // Structure to describe request TLV 0x12 for LOCProvideNIUserResponse()
18865 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1
18866 {
18867 bool mValidInvokeID:1;
18868 bool mValidDataCodingScheme:1;
18869 bool mValidNotificationText:1;
18870 bool mValidClientAddress:1;
18871 bool mValidLocationType:1;
18872 bool mValidRequestorID:1;
18873 bool mValidCodewordString:1;
18874 bool mValidServiceTypeMask:1;
18875 bool mValidUserResponseTImer:1;
18876
18877 // Padding out 7 bits
18878 UINT8 mReserved1:7;
18879
18880 UINT8 mInvokeID;
18881 eQMILOCDataCodingScheme mDataCodingScheme;
18882 UINT8 mNotificationTextLength;
18883
18884 // This array must be the size specified by mNotificationTextLength
18885 // UINT8 mNotificationText[1];
18886 };
18887
18888 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2
18889 {
18890 UINT8 mClientAddressLength;
18891
18892 // This array must be the size specified by mClientAddressLength
18893 // UINT8 mClientAddress[1];
18894 };
18895
18896 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3
18897 {
18898 eQMILOCLocationType mLocationType;
18899 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
18900 UINT8 mRequestorIDCodedStingLength;
18901
18902 // This array must be the size specified by mRequestorIDCodedStingLength
18903 // UINT8 mRequestorIDCodedString[1];
18904 };
18905
18906 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4
18907 {
18908 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
18909 UINT8 mCodewordStringCodedStringLength;
18910
18911 // This array must be the size specified by mCodewordStringCodedStringLength
18912 // UINT8 mCodewordStringCodedString[1];
18913 };
18914
18915 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5
18916 {
18917 UINT8 mServiceTypeID;
18918 UINT16 mUserResponseTimerSeconds;
18919 };
18920
18921 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest
18922 {
18923 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1;
18924 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2;
18925 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3;
18926 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4;
18927 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5;
18928 };
18929
18930 // Structure to describe request TLV 0x13 for LOCProvideNIUserResponse()
18931 struct sLOCProvideNIUserResponseRequest_ServiceInteractionRequest
18932 {
18933 INT8 mPositionQoSIncluded;
18934 UINT8 mPositionQoSTimeoutSeconds;
18935 UINT32 mMaxNumberOfFixes;
18936 UINT32 mTimeBetweenFixesSeconds;
18937 eQMILOCPositionMode mPosistionMode;
18938 eQMILOCEncodingScheme mEncodingScheme;
18939 UINT8 mRequestorIDLength;
18940 UINT8 mRequestorID;
18941 UINT16 mUserResponseTimerSeconds;
18942 eQMILOCServiceInteractionType mServiceInteractionType;
18943 };
18944
18945 // Structure to describe request TLV 0x01 for LOCInjectPredictedOrbitsData()
18946 struct sLOCInjectPredictedOrbitsDataRequest_TotalSize
18947 {
18948 UINT32 mTotalSize;
18949 };
18950
18951 // Structure to describe request TLV 0x03 for LOCInjectPredictedOrbitsData()
18952 struct sLOCInjectPredictedOrbitsDataRequest_PartNumber
18953 {
18954 UINT16 mPartNumber;
18955 };
18956
18957 // Structure to describe request TLV 0x04 for LOCInjectPredictedOrbitsData()
18958 struct sLOCInjectPredictedOrbitsDataRequest_PartData
18959 {
18960 UINT16 mPartDataLength;
18961
18962 // This array must be the size specified by mPartDataLength
18963 // UINT8 mPartData[1];
18964 };
18965
18966 // Structure to describe request TLV 0x10 for LOCInjectPredictedOrbitsData()
18967 struct sLOCInjectPredictedOrbitsDataRequest_FormatType
18968 {
18969 eQMILOCOrbitsFormatType mOrbitsFormatType;
18970 };
18971
18972 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsDataIndication
18973 struct sLOCInjectPredictedOrbitsDataIndication_PartNumber
18974 {
18975 UINT16 mPartNumber;
18976 };
18977
18978 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataSourceIndication
18979 struct sLOCGetPredictedOrbitsDataSourceIndication_AllowedSizes
18980 {
18981 UINT32 mMaximumFileSizeBytes;
18982 UINT32 mMaximumPartSizeBytes;
18983 };
18984
18985 // Structure to describe indication TLV 0x11 for LOC GetPredictedOrbitsDataSourceIndication
18986 struct sLOCGetPredictedOrbitsDataSourceIndication_ServerList
18987 {
18988 UINT8 mServerListLength;
18989
18990 struct sServer
18991 {
18992 UINT8 mServerURLLength;
18993
18994 // This array must be the size specified by mServerURLLength
18995 // char mServerURL[1];
18996 };
18997
18998 // This array must be the size specified by mServerListLength
18999 // sServer mServers[1];
19000 };
19001
19002 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataValidityIndication
19003 struct sLOCGetPredictedOrbitsDataValidityIndication_ValidityInfo
19004 {
19005 UINT64 mStartTimeInUTC;
19006 UINT16 mDurationHours;
19007 };
19008
19009 // Structure to describe request TLV 0x01 for LOCInjectUTCTime()
19010 struct sLOCInjectUTCTimeRequest_UTCTime
19011 {
19012 UINT64 mUTCTimestampMilliseconds;
19013 };
19014
19015 // Structure to describe request TLV 0x10 for LOCInjectPosition()
19016 struct sLOCInjectPositionRequest_Latitude
19017 {
19018 double mLatitudeDegrees;
19019 };
19020
19021 // Structure to describe request TLV 0x11 for LOCInjectPosition()
19022 struct sLOCInjectPositionRequest_Longitude
19023 {
19024 double mLongitudeDegrees;
19025 };
19026
19027 // Structure to describe request TLV 0x12 for LOCInjectPosition()
19028 struct sLOCInjectPositionRequest_HorizontalUncertaintyCircular
19029 {
19030 float mHorizontalUncertaintyCircularMeters;
19031 };
19032
19033 // Structure to describe request TLV 0x13 for LOCInjectPosition()
19034 struct sLOCInjectPositionRequest_HorizontalConfidence
19035 {
19036 UINT8 mHorizontalConfidencePercent;
19037 };
19038
19039 // Structure to describe request TLV 0x14 for LOCInjectPosition()
19040 struct sLOCInjectPositionRequest_HorizontalReliability
19041 {
19042 eQMILOCReliability mHorizontalReliability;
19043 };
19044
19045 // Structure to describe request TLV 0x15 for LOCInjectPosition()
19046 struct sLOCInjectPositionRequest_AltitudeFromEllipsoid
19047 {
19048 float mAltitudeFromEllipsoidMeters;
19049 };
19050
19051 // Structure to describe request TLV 0x16 for LOCInjectPosition()
19052 struct sLOCInjectPositionRequest_AltitudeFromSeaLevel
19053 {
19054 float mAltitudeFromSeaLevelMeters;
19055 };
19056
19057 // Structure to describe request TLV 0x17 for LOCInjectPosition()
19058 struct sLOCInjectPositionRequest_VerticalUncertainty
19059 {
19060 float mVerticalUncertaintyMeters;
19061 };
19062
19063 // Structure to describe request TLV 0x18 for LOCInjectPosition()
19064 struct sLOCInjectPositionRequest_VerticalConfidence
19065 {
19066 UINT8 mVerticalConfidencePercent;
19067 };
19068
19069 // Structure to describe request TLV 0x19 for LOCInjectPosition()
19070 struct sLOCInjectPositionRequest_VerticalReliability
19071 {
19072 eQMILOCReliability mVerticalReliability;
19073 };
19074
19075 // Structure to describe request TLV 0x1A for LOCInjectPosition()
19076 struct sLOCInjectPositionRequest_AltitudeSource
19077 {
19078 eQMILOCAltitudeSource mAltitudeSource;
19079 eQMILOCLinkage mLinkage;
19080 eQMILOCCoverage mCoverage;
19081 };
19082
19083 // Structure to describe request TLV 0x1B for LOCInjectPosition()
19084 struct sLOCInjectPositionRequest_UTCTimestamp
19085 {
19086 UINT64 mUTCTimestampMilliseconds;
19087 };
19088
19089 // Structure to describe request TLV 0x1C for LOCInjectPosition()
19090 struct sLOCInjectPositionRequest_PositionAge
19091 {
19092 UINT32 mAgeTimestampMilliseconds;
19093 };
19094
19095 // Structure to describe request TLV 0x01 for LOCSetEngineLock()
19096 struct sLOCSetEngineLockRequest_LockType
19097 {
19098 eQMILOCLockType mLockType;
19099 };
19100
19101 // Structure to describe indication TLV 0x10 for LOC GetEngineLockIndication
19102 struct sLOCGetEngineLockIndication_LockType
19103 {
19104 eQMILOCLockType mLockType;
19105 };
19106
19107 // Structure to describe request TLV 0x01 for LOCSetSBASConfig()
19108 struct sLOCSetSBASConfigRequest_SBASConfig
19109 {
19110 INT8 mSBASEnabled;
19111 };
19112
19113 // Structure to describe response TLV 0x10 for LOCGetSBASConfig()
19114 struct sLOCGetSBASConfigResponse_SBASConfig
19115 {
19116 INT8 mSBASEnabled;
19117 };
19118
19119 // Structure to describe request TLV 0x01 for LOCSetNMEATypes()
19120 struct sLOCSetNMEATypesRequest_SentenceTypes
19121 {
19122 bool mGGASentence:1;
19123 bool mRMCSentence:1;
19124 bool mGSVSentence:1;
19125 bool mGSASentence:1;
19126 bool mVTGSentence:1;
19127
19128 // Padding out 27 bits
19129 UINT8 mReserved1:3;
19130 UINT8 mReserved2[3];
19131 };
19132
19133 // Structure to describe indication TLV 0x10 for LOC GetNMEATypesIndication
19134 struct sLOCGetNMEATypesIndication_SentenceType
19135 {
19136 bool mGGASentence:1;
19137 bool mRMCSentence:1;
19138 bool mGSVSentence:1;
19139 bool mGSASentence:1;
19140 bool mVTGSentence:1;
19141
19142 // Padding out 27 bits
19143 UINT8 mReserved1:3;
19144 UINT8 mReserved2[3];
19145 };
19146
19147 // Structure to describe request TLV 0x01 for LOCSetLowPowerMode()
19148 struct sLOCSetLowPowerModeRequest_EnableLPM
19149 {
19150 INT8 mEnableLowPowerMode;
19151 };
19152
19153 // Structure to describe indication TLV 0x10 for LOC GetLowPowerModeIndication
19154 struct sLOCGetLowPowerModeIndication_EnableLPM
19155 {
19156 INT8 mEnableLowPowerMode;
19157 };
19158
19159 // Structure to describe request TLV 0x01 for LOCSetLocationServer()
19160 struct sLOCSetLocationServerRequest_ServerType
19161 {
19162 eQMILOCLocationServerType mServerType;
19163 };
19164
19165 // Structure to describe request TLV 0x10 for LOCSetLocationServer()
19166 struct sLOCSetLocationServerRequest_IPv4Address
19167 {
19168 UINT32 mIPv4Address;
19169 UINT16 mIPv4Port;
19170 };
19171
19172 // Structure to describe request TLV 0x11 for LOCSetLocationServer()
19173 struct sLOCSetLocationServerRequest_IPv6Address
19174 {
19175 UINT8 mIPv6Address[16];
19176 UINT32 mIPv6Port;
19177 };
19178
19179 // Structure to describe request TLV 0x12 for LOCSetLocationServer()
19180 struct sLOCSetLocationServerRequest_URLAddress
19181 {
19182 // String is variable length, but must be size of the container
19183 // char mURLAddress[1];
19184 };
19185
19186 // Structure to describe request TLV 0x01 for LOCGetLocationServer()
19187 struct sLOCGetLocationServerRequest_ServerType
19188 {
19189 eQMILOCLocationServerType mServerType;
19190 };
19191
19192 // Structure to describe request TLV 0x10 for LOCGetLocationServer()
19193 struct sLOCGetLocationServerRequest_AddressType
19194 {
19195 bool mIPv4:1;
19196 bool mIPv6:1;
19197 bool mURL:1;
19198
19199 // Padding out 5 bits
19200 UINT8 mReserved1:5;
19201 };
19202
19203 // Structure to describe indication TLV 0x10 for LOC GetLocationServerIndication
19204 struct sLOCGetLocationServerIndication_IPv4Address
19205 {
19206 UINT32 mIPv4Address;
19207 UINT16 mIPv4Port;
19208 };
19209
19210 // Structure to describe indication TLV 0x11 for LOC GetLocationServerIndication
19211 struct sLOCGetLocationServerIndication_IPv6Address
19212 {
19213 UINT8 mIPv6Address[16];
19214 UINT32 mIPv6Port;
19215 };
19216
19217 // Structure to describe indication TLV 0x12 for LOC GetLocationServerIndication
19218 struct sLOCGetLocationServerIndication_URLAddress
19219 {
19220 // String is variable length, but must be size of the container
19221 // char mURLAddress[1];
19222 };
19223
19224 // Structure to describe request TLV 0x01 for LOCDeleteAssistData()
19225 struct sLOCDeleteAssistDataRequest_DeleteAll
19226 {
19227 INT8 mDeleteAll;
19228 };
19229
19230 // Structure to describe request TLV 0x10 for LOCDeleteAssistData()
19231 struct sLOCDeleteAssistDataRequest_DeleteSatelliteInfo
19232 {
19233 UINT8 mSatelliteInfoCount;
19234
19235 struct sSatelliteInfo
19236 {
19237 UINT16 mGNSSSatelliteID;
19238 eQMILOCSystem mSystem;
19239 bool mDeleteEphemeris:1;
19240 bool mDeleteAlmanac:1;
19241
19242 // Padding out 6 bits
19243 UINT8 mReserved1:6;
19244 };
19245
19246 // This array must be the size specified by mSatelliteInfoCount
19247 // sSatelliteInfo mSatelliteInfos[1];
19248 };
19249
19250 // Structure to describe request TLV 0x11 for LOCDeleteAssistData()
19251 struct sLOCDeleteAssistDataRequest_DeleteGNSData
19252 {
19253 bool mDeleteGPSSatelliteDirectory:1;
19254 bool mDeleteGPSSatelliteSteering:1;
19255 bool mDeleteGPSTime:1;
19256 bool mDeleteGPSAlmanacCorrection:1;
19257 bool mDeleteGLOSatelliteDirectory:1;
19258 bool mDeleteGLOSatelliteSteering:1;
19259 bool mDeleteGLOTime:1;
19260 bool mDeleteGLOAlmanacCorrection:1;
19261 bool mDeleteSBASSatelliteDirectory:1;
19262 bool mDeleteSBASSatelliteSteering:1;
19263 bool mDeletePosition:1;
19264 bool mDeleteTime:1;
19265 bool mDeleteIONO:1;
19266 bool mDeleteUTCTimestamp:1;
19267 bool mDeleteHealth:1;
19268 bool mDeleteSAData:1;
19269 bool mDeleteRTI:1;
19270 bool mDeleteSatelliteNoExist:1;
19271 bool mDeleteFrequencyBiasEstimate:1;
19272
19273 // Padding out 45 bits
19274 UINT8 mReserved1:5;
19275 UINT8 mReserved2[5];
19276 };
19277
19278 // Structure to describe request TLV 0x12 for LOCDeleteAssistData()
19279 struct sLOCDeleteAssistDataRequest_DeleteCellDatabase
19280 {
19281 bool mDeletePosition:1;
19282 bool mDeleteLatestGPSPosition:1;
19283 bool mDeleteOTAPosition:1;
19284 bool mDeleteEXTReferencePosition:1;
19285 bool mDeleteTimeTag:1;
19286 bool mDeleteCellID:1;
19287 bool mDeleteCachedCellID:1;
19288 bool mDeleteLastServerCell:1;
19289 bool mDeleteCurrentServerCell:1;
19290 bool mDeleteNeighborInfo:1;
19291
19292 // Padding out 22 bits
19293 UINT8 mReserved1:6;
19294 UINT8 mReserved2[2];
19295 };
19296
19297 // Structure to describe request TLV 0x13 for LOCDeleteAssistData()
19298 struct sLOCDeleteAssistDataRequest_DeleteClockInfo
19299 {
19300 bool mDeleteTimeEstimate:1;
19301 bool mDeleteFrequencyEstimate:1;
19302 bool mDeleteWeekNumber:1;
19303 bool mDeleteRTCTime:1;
19304 bool mDeleteTimeTransfer:1;
19305 bool mDeleteGPSTimeEstimate:1;
19306 bool mDeleteGLOTimeEstimate:1;
19307 bool mDeleteGLODayNumber:1;
19308 bool mDeleteGLOYearNumber:1;
19309 bool mDeleteGLORFGroupDelay:1;
19310 bool mDeleteDisableTT:1;
19311
19312 // Padding out 21 bits
19313 UINT8 mReserved1:5;
19314 UINT8 mReserved2[2];
19315 };
19316
19317 // Structure to describe request TLV 0x01 for LOCSetXTRATSessionControl()
19318 struct sLOCSetXTRATSessionControlRequest_EnableXTRAT
19319 {
19320 INT8 mEnableXTRAT;
19321 };
19322
19323 // Structure to describe indication TLV 0x10 for LOC GetXTRATSessionControlIndication
19324 struct sLOCGetXTRATSessionControlIndication_EnableXTRAT
19325 {
19326 INT8 mEnableXTRAT;
19327 };
19328
19329 // Structure to describe request TLV 0x10 for LOCInjectWiFiPosition()
19330 struct sLOCInjectWiFiPositionRequest_Time
19331 {
19332 UINT32 mWiFiPositionTime;
19333 };
19334
19335 // Structure to describe request TLV 0x11 for LOCInjectWiFiPosition()
19336 struct sLOCInjectWiFiPositionRequest_WiFiPosition
19337 {
19338 double mLatitudeDegrees;
19339 double mLongitudeDegrees;
19340 UINT16 mHEPEMeters;
19341 UINT8 mNumberOfAccessPointsUsed;
19342 eQMILOCWiFiFixErrorCode mFixErrorCode;
19343 };
19344
19345 // Structure to describe request TLV 0x12 for LOCInjectWiFiPosition()
19346 struct sLOCInjectWiFiPositionRequest_AccessPointInformation
19347 {
19348 UINT8 mNumberOfAccessPoints;
19349
19350 struct sAccessPointInfo
19351 {
19352 UINT8 mMACAddress[6];
19353 INT32 mRSSIdBm;
19354 UINT16 mChannel;
19355 bool mBeingUsed:1;
19356 bool mHiddenSSID:1;
19357 bool mPrivate:1;
19358 bool mInfrastructureMode:1;
19359
19360 // Padding out 4 bits
19361 UINT8 mReserved1:4;
19362 };
19363
19364 // This array must be the size specified by mNumberOfAccessPoints
19365 // sAccessPointInfo mAccessPointInfos[1];
19366 };
19367
19368 // Structure to describe request TLV 0x13 for LOCInjectWiFiPosition()
19369 struct sLOCInjectWiFiPositionRequest_HorizontalReliability
19370 {
19371 eQMILOCReliability mHorizontalReliability;
19372 };
19373
19374 // Structure to describe request TLV 0x01 for LOCProvideWiFiStatus()
19375 struct sLOCProvideWiFiStatusRequest_WiFiStatus
19376 {
19377 eQMILOCWiFiStatus mWiFiStatus;
19378 };
19379
19380 // Structure to describe indication TLV 0x10 for LOC GetRegisteredEventsIndication
19381 struct sLOCGetRegisteredEventsIndication_RegistrationMask
19382 {
19383 bool mPositionReport:1;
19384 bool mGNSSSatelliteInfo:1;
19385 bool mNMEA:1;
19386 bool mNINotifyVerifyRequest:1;
19387 bool mInjectTimeRequest:1;
19388 bool mInjectPredictedOrbitsRequest:1;
19389 bool mInjectPositionRequest:1;
19390 bool mEngineState:1;
19391 bool mFixSessionState:1;
19392 bool mWiFiRequest:1;
19393 bool mSensorStreamingReadyStatus:1;
19394 bool mTimeSyncRequest:1;
19395 bool mSetSPIStreamingReport:1;
19396 bool mLocationServerConnectionRequest:1;
19397
19398 // Padding out 50 bits
19399 UINT8 mReserved1:2;
19400 UINT8 mReserved2[6];
19401 };
19402
19403 // Structure to describe request TLV 0x01 for LOCSetOperationMode()
19404 struct sLOCSetOperationModeRequest_OperationMode
19405 {
19406 eQMILOCOperationMode mOperationMode;
19407 };
19408
19409 // Structure to describe indication TLV 0x10 for LOC GetOperationModeIndication
19410 struct sLOCGetOperationModeIndication_OperationMode
19411 {
19412 eQMILOCOperationMode mOperationMode;
19413 };
19414
19415 // Structure to describe request TLV 0x01 for LOCSetSPIStatus()
19416 struct sLOCSetSPIStatusRequest_StationaryStatus
19417 {
19418 INT8 mDeviceIsStationary;
19419 };
19420
19421 // Structure to describe request TLV 0x10 for LOCSetSPIStatus()
19422 struct sLOCSetSPIStatusRequest_Confidence
19423 {
19424 UINT8 mStationaryConfidence;
19425 };
19426
19427 // Structure to describe request TLV 0x10 for LOCInjectSensorData()
19428 struct sLOCInjectSensorDataRequest_OpaqueIdentifier
19429 {
19430 UINT32 mOpaqueIdentifier;
19431 };
19432
19433 // Structure to describe request TLV 0x11 for LOCInjectSensorData()
19434 struct sLOCInjectSensorDataRequest_AccelerometerData
19435 {
19436 UINT32 mTimeOfFirstSampleMilliseconds;
19437 bool mSignReversal:1;
19438
19439 // Padding out 7 bits
19440 UINT8 mReserved1:7;
19441
19442 UINT8 mSensorDataLength;
19443
19444 struct sSensorData
19445 {
19446 UINT16 mTimeOffsetMilliseconds;
19447 float mXAxis;
19448 float mYAxis;
19449 float mZAxis;
19450 };
19451
19452 // This array must be the size specified by mSensorDataLength
19453 // sSensorData mSensorDatas[1];
19454 };
19455
19456 // Structure to describe request TLV 0x12 for LOCInjectSensorData()
19457 struct sLOCInjectSensorDataRequest_GyrometerData
19458 {
19459 UINT32 mTimeOfFirstSampleMilliseconds;
19460 bool mSignReversal:1;
19461
19462 // Padding out 7 bits
19463 UINT8 mReserved1:7;
19464
19465 UINT8 mSensorDataLength;
19466
19467 struct sSensorData
19468 {
19469 UINT16 mTimeOffsetMilliseconds;
19470 float mXAxis;
19471 float mYAxis;
19472 float mZAxis;
19473 };
19474
19475 // This array must be the size specified by mSensorDataLength
19476 // sSensorData mSensorDatas[1];
19477 };
19478
19479 // Structure to describe indication TLV 0x10 for LOC InjectSensorDataIndication
19480 struct sLOCInjectSensorDataIndication_OpaqueIdentifier
19481 {
19482 UINT32 mOpaqueIdentifier;
19483 };
19484
19485 // Structure to describe indication TLV 0x11 for LOC InjectSensorDataIndication
19486 struct sLOCInjectSensorDataIndication_AccelerometerSampleAccepted
19487 {
19488 INT8 mAccelerometerSampleAccepted;
19489 };
19490
19491 // Structure to describe indication TLV 0x12 for LOC InjectSensorDataIndication
19492 struct sLOCInjectSensorDataIndication_GyrometerSamplesAccepted
19493 {
19494 INT8 mGyrometerSamplesAccepted;
19495 };
19496
19497 // Structure to describe request TLV 0x01 for LOCInjectTimeSyncData()
19498 struct sLOCInjectTimeSyncDataRequest_ReferenceCounter
19499 {
19500 UINT32 mReferenceCounter;
19501 };
19502
19503 // Structure to describe request TLV 0x03 for LOCInjectTimeSyncData()
19504 struct sLOCInjectTimeSyncDataRequest_SensorTransmitTime
19505 {
19506 UINT32 mProcessTXTimeMilliseconds;
19507 };
19508
19509 // Structure to describe request TLV 0x01 for LOCSetCradleMountConfig()
19510 struct sLOCSetCradleMountConfigRequest_State
19511 {
19512 eQMILOCCradleMountState mCradleMountState;
19513 };
19514
19515 // Structure to describe request TLV 0x10 for LOCSetCradleMountConfig()
19516 struct sLOCSetCradleMountConfigRequest_Confidence
19517 {
19518 UINT8 mCradleMountConfidence;
19519 };
19520
19521 // Structure to describe indication TLV 0x10 for LOC GetCradleMountConfigIndication
19522 struct sLOCGetCradleMountConfigIndication_State
19523 {
19524 eQMILOCCradleMountState mCradleMountState;
19525 };
19526
19527 // Structure to describe indication TLV 0x11 for LOC GetCradleMountConfigIndication
19528 struct sLOCGetCradleMountConfigIndication_Confidence
19529 {
19530 UINT8 mCradleMountConfidence;
19531 };
19532
19533 // Structure to describe request TLV 0x01 for LOCSetExternalPowerConfig()
19534 struct sLOCSetExternalPowerConfigRequest_PowerState
19535 {
19536 eQMILOCPowerState mPowerState;
19537 };
19538
19539 // Structure to describe indication TLV 0x10 for LOC GetExternalPowerConfigIndication
19540 struct sLOCGetExternalPowerConfigIndication_PowerState
19541 {
19542 eQMILOCPowerState mPowerState;
19543 };
19544
19545 // Structure to describe request TLV 0x01 for LOCProvideConnectionStatus()
19546 struct sLOCProvideConnectionStatusRequest_ConnectionHandle
19547 {
19548 UINT32 mConnectionHandle;
19549 };
19550
19551 // Structure to describe request TLV 0x03 for LOCProvideConnectionStatus()
19552 struct sLOCProvideConnectionStatusRequest_ConnectionStatus
19553 {
19554 eQMILOCConnectionStatus mConnectionStatus;
19555 };
19556
19557 // Structure to describe request TLV 0x10 for LOCProvideConnectionStatus()
19558 struct sLOCProvideConnectionStatusRequest_APNProfile
19559 {
19560 eQMILOCPDNType mPDNType;
19561 UINT8 mAPNNameLength;
19562
19563 // This array must be the size specified by mAPNNameLength
19564 // char mAPNName[1];
19565 };
19566
19567 // Structure to describe request TLV 0x10 for LOCSetProtocolConfigParameters()
19568 struct sLOCSetProtocolConfigParametersRequest_SUPLSecurity
19569 {
19570 INT8 mSUPLSecurityEnabled;
19571 };
19572
19573 // Structure to describe request TLV 0x11 for LOCSetProtocolConfigParameters()
19574 struct sLOCSetProtocolConfigParametersRequest_VXVersion
19575 {
19576 eQMILOCVXVersion mVXVersion;
19577 };
19578
19579 // Structure to describe request TLV 0x12 for LOCSetProtocolConfigParameters()
19580 struct sLOCSetProtocolConfigParametersRequest_SUPLVersion
19581 {
19582 eQMILOCSUPLVersion mSUPLVersion;
19583 };
19584
19585 // Structure to describe indication TLV 0x10 for LOC SetProtocolConfigParametersIndication
19586 struct sLOCSetProtocolConfigParametersIndication_FailedParameters
19587 {
19588 bool mSUPLSecurity:1;
19589 bool mVXVersion:1;
19590 bool mSUPLVersion:1;
19591
19592 // Padding out 61 bits
19593 UINT8 mReserved1:5;
19594 UINT8 mReserved2[7];
19595 };
19596
19597 // Structure to describe request TLV 0x01 for LOCGetProtocolConfigParameters()
19598 struct sLOCGetProtocolConfigParametersRequest_ConfigParameters
19599 {
19600 bool mSUPLSecurity:1;
19601 bool mVXVersion:1;
19602 bool mSUPLVersion:1;
19603
19604 // Padding out 61 bits
19605 UINT8 mReserved1:5;
19606 UINT8 mReserved2[7];
19607 };
19608
19609 // Structure to describe indication TLV 0x10 for LOC GetProtocolConfigParametersIndication
19610 struct sLOCGetProtocolConfigParametersIndication_SUPLSecurity
19611 {
19612 INT8 mSUPLSecurityEnabled;
19613 };
19614
19615 // Structure to describe indication TLV 0x11 for LOC GetProtocolConfigParametersIndication
19616 struct sLOCGetProtocolConfigParametersIndication_VXVersion
19617 {
19618 eQMILOCVXVersion mVXVersion;
19619 };
19620
19621 // Structure to describe indication TLV 0x12 for LOC GetProtocolConfigParametersIndication
19622 struct sLOCGetProtocolConfigParametersIndication_SUPLVersion
19623 {
19624 eQMILOCSUPLVersion mSUPLVersion;
19625 };
19626
19627 // Structure to describe request TLV 0x10 for LOCSetSensorControlConfig()
19628 struct sLOCSetSensorControlConfigRequest_SensorUsage
19629 {
19630 eQMILOCSensorUsage mSensorUsage;
19631 };
19632
19633 // Structure to describe indication TLV 0x10 for LOC GetSensorControlConfigIndication
19634 struct sLOCGetSensorControlConfigIndication_SensorUsage
19635 {
19636 eQMILOCSensorUsage mSensorUsage;
19637 };
19638
19639 // Structure to describe request TLV 0x10 for LOCSetSensorProperties()
19640 struct sLOCSetSensorPropertiesRequest_GyroBiasVariance
19641 {
19642 float mGyroBiasVariance;
19643 };
19644
19645 // Structure to describe indication TLV 0x10 for LOC GetSensorPropertiesIndication
19646 struct sLOCGetSensorPropertiesIndication_GyroBiasVariance
19647 {
19648 float mGyroBiasVariance;
19649 };
19650
19651 // Structure to describe request TLV 0x10 for LOCSetSensorPerformanceConfig()
19652 struct sLOCSetSensorPerformanceConfigRequest_ControlMode
19653 {
19654 eQMILOCControlMode mControlMode;
19655 };
19656
19657 // Structure to describe request TLV 0x11 for LOCSetSensorPerformanceConfig()
19658 struct sLOCSetSensorPerformanceConfigRequest_AccelerometerSampling
19659 {
19660 UINT16 mSamplesPerBatch;
19661 UINT16 mBatchesPerSecond;
19662 };
19663
19664 // Structure to describe request TLV 0x12 for LOCSetSensorPerformanceConfig()
19665 struct sLOCSetSensorPerformanceConfigRequest_GyrometerSampling
19666 {
19667 UINT16 mSamplesPerBatch;
19668 UINT16 mBatchesPerSecond;
19669 };
19670
19671 // Structure to describe indication TLV 0x10 for LOC SetSensorPerformanceConfigIndication
19672 struct sLOCSetSensorPerformanceConfigIndication_FailedConfiguration
19673 {
19674 bool mPerformanceMode:1;
19675 bool mAccelerometerSampling:1;
19676 bool mGyrometerSampling:1;
19677
19678 // Padding out 29 bits
19679 UINT8 mReserved1:5;
19680 UINT8 mReserved2[3];
19681 };
19682
19683 // Structure to describe indication TLV 0x10 for LOC GetSensorPerformanceConfigIndication
19684 struct sLOCGetSensorPerformanceConfigIndication_ControlMode
19685 {
19686 eQMILOCControlMode mControlMode;
19687 };
19688
19689 // Structure to describe indication TLV 0x11 for LOC GetSensorPerformanceConfigIndication
19690 struct sLOCGetSensorPerformanceConfigIndication_AccelerometerSampling
19691 {
19692 UINT16 mSamplesPerBatch;
19693 UINT16 mBatchesPerSecond;
19694 };
19695
19696 // Structure to describe indication TLV 0x12 for LOC GetSensorPerformanceConfigIndication
19697 struct sLOCGetSensorPerformanceConfigIndication_GyrometerSampling
19698 {
19699 UINT16 mSamplesPerBatch;
19700 UINT16 mBatchesPerSecond;
19701 };
19702
19703 // Structure to describe request TLV 0x10 for CATSetEventReport()
19704 struct sCATSetEventReportRequest_ReportMask
19705 {
19706 bool mDisplayText:1;
19707 bool mGetInkey:1;
19708 bool mGetInput:1;
19709 bool mSetupMenu:1;
19710 bool mSelectItem:1;
19711 bool mSendSMSAlphaIdentifier:1;
19712 bool mSetupEventUserActivity:1;
19713 bool mSetupEventIdleScreenNotify:1;
19714 bool mSetupEventLanguageSelNotify:1;
19715 bool mSetupIdleModeText:1;
19716 bool mLanguageNotification:1;
19717 bool mRefresh:1;
19718 bool mEndProactiveSession:1;
19719 bool mPlayTone:1;
19720 bool mSetupCall:1;
19721 bool mSendDTMF:1;
19722 bool mLaunchBrowser:1;
19723 bool mSendSS:1;
19724 bool mSendUSSD:1;
19725 bool mProvideLocalInformationLanguage:1;
19726 bool mBearerIndependentProtocol:1;
19727 bool mSetupEventBrowserTermination:1;
19728 bool mProvideLocalInformationTime:1;
19729
19730 // Padding out 9 bits
19731 UINT8 mReserved1:1;
19732 UINT8 mReserved2;
19733 };
19734
19735 // Structure to describe request TLV 0x11 for CATSetEventReport()
19736 struct sCATSetEventReportRequest_DecodeReportMask
19737 {
19738 bool mDisplayText:1;
19739 bool mGetInkey:1;
19740 bool mGetInput:1;
19741 bool mSetupMenu:1;
19742 bool mSelectItem:1;
19743 bool mSendSMSAlphaIdentifier:1;
19744 bool mSetupEventUserActivity:1;
19745 bool mSetupEventIdleScreenNotify:1;
19746 bool mSetupEventLanguageSelNotify:1;
19747 bool mSetupIdleModeText:1;
19748 bool mLanguageNotification:1;
19749
19750 // Padding out 1 bits
19751 UINT8 mReserved1:1;
19752
19753 bool mEndProactiveSession:1;
19754 bool mPlayTone:1;
19755 bool mSetupCall:1;
19756 bool mSendDTMF:1;
19757 bool mLaunchBrowser:1;
19758 bool mSendSS:1;
19759 bool mSendUSSD:1;
19760 bool mProvideLocalInformationLanguage:1;
19761 bool mBearerIndependentProtocol:1;
19762
19763 // Padding out 2 bits
19764 UINT8 mReserved2:2;
19765
19766 bool mSCWSEvent:1;
19767
19768 // Padding out 8 bits
19769 UINT8 mReserved3;
19770 };
19771
19772 // Structure to describe request TLV 0x12 for CATSetEventReport()
19773 struct sCATSetEventReportRequest_Slot
19774 {
19775 bool mSlot1:1;
19776 bool mSlot2:1;
19777
19778 // Padding out 6 bits
19779 UINT8 mReserved1:6;
19780 };
19781
19782 // Structure to describe response TLV 0x10 for CATSetEventReport()
19783 struct sCATSetEventReportResponse_RegStatusMask
19784 {
19785 bool mDisplayText:1;
19786 bool mGetInkey:1;
19787 bool mGetInput:1;
19788 bool mSetupMenu:1;
19789 bool mSelectItem:1;
19790 bool mSendSMSAlphaIdentifier:1;
19791 bool mSetupEventUserActivity:1;
19792 bool mSetupEventIdleScreenNotify:1;
19793 bool mSetupEventLanguageSelNotify:1;
19794 bool mSetupIdleModeText:1;
19795 bool mLanguageNotification:1;
19796 bool mRefresh:1;
19797 bool mEndProactiveSession:1;
19798 bool mPlayTone:1;
19799 bool mSetupCall:1;
19800 bool mSendDTMF:1;
19801 bool mLaunchBrowser:1;
19802 bool mSendSS:1;
19803 bool mSendUSSD:1;
19804 bool mProvideLocalInformationLanguage:1;
19805 bool mBearerIndependentProtocol:1;
19806 bool mSetupEventBrowserTermination:1;
19807 bool mProvideLocalInformationTime:1;
19808
19809 // Padding out 9 bits
19810 UINT8 mReserved1:1;
19811 UINT8 mReserved2;
19812 };
19813
19814 // Structure to describe response TLV 0x11 for CATSetEventReport()
19815 struct sCATSetEventReportResponse_DecodedRegStatusMask
19816 {
19817 bool mDisplayText:1;
19818 bool mGetInkey:1;
19819 bool mGetInput:1;
19820 bool mSetupMenu:1;
19821 bool mSelectItem:1;
19822 bool mSendSMSAlphaIdentifier:1;
19823 bool mSetupEventUserActivity:1;
19824 bool mSetupEventIdleScreenNotify:1;
19825 bool mSetupEventLanguageSelNotify:1;
19826 bool mSetupIdleModeText:1;
19827 bool mLanguageNotification:1;
19828
19829 // Padding out 1 bits
19830 UINT8 mReserved1:1;
19831
19832 bool mEndProactiveSession:1;
19833 bool mPlayTone:1;
19834 bool mSetupCall:1;
19835 bool mSendDTMF:1;
19836 bool mLaunchBrowser:1;
19837 bool mSendSS:1;
19838 bool mSendUSSD:1;
19839 bool mProvideLocalInformationLanguage:1;
19840 bool mBearerIndependentProtocol:1;
19841
19842 // Padding out 2 bits
19843 UINT8 mReserved2:2;
19844
19845 bool mSCWSEvent:1;
19846
19847 // Padding out 8 bits
19848 UINT8 mReserved3;
19849 };
19850
19851 // Structure to describe indication TLV 0x10 for CAT EventReport
19852 struct sCATEventReportIndication_DisplayTextEvent
19853 {
19854 UINT32 mReferenceID;
19855 UINT16 mCommandLength;
19856
19857 // This array must be the size specified by mCommandLength
19858 // UINT8 mDisplayTextCommand[1];
19859 };
19860
19861 // Structure to describe indication TLV 0x11 for CAT EventReport
19862 struct sCATEventReportIndication_GetInkeyEvent
19863 {
19864 UINT32 mReferenceID;
19865 UINT16 mCommandLength;
19866
19867 // This array must be the size specified by mCommandLength
19868 // UINT8 mGetInkeyCommand[1];
19869 };
19870
19871 // Structure to describe indication TLV 0x12 for CAT EventReport
19872 struct sCATEventReportIndication_GetInputEvent
19873 {
19874 UINT32 mReferenceID;
19875 UINT16 mCommandLength;
19876
19877 // This array must be the size specified by mCommandLength
19878 // UINT8 mGetInputCommand[1];
19879 };
19880
19881 // Structure to describe indication TLV 0x13 for CAT EventReport
19882 struct sCATEventReportIndication_SetupMenuEvent
19883 {
19884 UINT32 mReferenceID;
19885 UINT16 mCommandLength;
19886
19887 // This array must be the size specified by mCommandLength
19888 // UINT8 mSetupMenuCommand[1];
19889 };
19890
19891 // Structure to describe indication TLV 0x14 for CAT EventReport
19892 struct sCATEventReportIndication_SelectItemEvent
19893 {
19894 UINT32 mReferenceID;
19895 UINT16 mCommandLength;
19896
19897 // This array must be the size specified by mCommandLength
19898 // UINT8 mSelectItemCommand[1];
19899 };
19900
19901 // Structure to describe indication TLV 0x15 for CAT EventReport
19902 struct sCATEventReportIndication_AlphaIDAvailable
19903 {
19904 eQMICATAlphaIDCommandType mAlphaIDCommandType;
19905 UINT16 mAlphaIDLength;
19906
19907 // This array must be the size specified by mAlphaIDLength
19908 // UINT8 mAlphaID[1];
19909 };
19910
19911 // Structure to describe indication TLV 0x16 for CAT EventReport
19912 struct sCATEventReportIndication_SetupEventList
19913 {
19914 bool mUserActivityNotify:1;
19915 bool mIdleScreenAvailable:1;
19916 bool mLanguageSelectionNotify:1;
19917
19918 // Padding out 29 bits
19919 UINT8 mReserved1:5;
19920 UINT8 mReserved2[3];
19921 };
19922
19923 // Structure to describe indication TLV 0x17 for CAT EventReport
19924 struct sCATEventReportIndication_SetupIdleModeTextEvent
19925 {
19926 UINT32 mReferenceID;
19927 UINT16 mCommandLength;
19928
19929 // This array must be the size specified by mCommandLength
19930 // UINT8 mSetupIdleModeTextCommand[1];
19931 };
19932
19933 // Structure to describe indication TLV 0x18 for CAT EventReport
19934 struct sCATEventReportIndication_LanguageNotificationEvent
19935 {
19936 UINT32 mReferenceID;
19937 UINT16 mCommandLength;
19938
19939 // This array must be the size specified by mCommandLength
19940 // UINT8 mLanguageNotificationCommand[1];
19941 };
19942
19943 // Structure to describe indication TLV 0x19 for CAT EventReport
19944 struct sCATEventReportIndication_RefreshEvent
19945 {
19946 UINT16 mRefreshMode;
19947 eQMICATRefreshStage mRefreshStage;
19948 };
19949
19950 // Structure to describe indication TLV 0x1A for CAT EventReport
19951 struct sCATEventReportIndication_EndProactiveSession
19952 {
19953 eQMICATProactiveSessionEndType mProactiveSessionEndType;
19954 };
19955
19956 // Structure to describe indication TLV 0x1B for CAT EventReport
19957 struct sCATEventReportIndication_DecodedHeaderID
19958 {
19959 eQMICATCommandID mCommandID;
19960 UINT32 mReferenceID;
19961 UINT8 mCommandNumber;
19962 };
19963
19964 // Structure to describe indication TLV 0x1C for CAT EventReport
19965 struct sCATEventReportIndication_TextString
19966 {
19967 eQMICATDataCodingScheme mDataCodingScheme;
19968 UINT8 mTextDataLength;
19969
19970 // This array must be the size specified by mTextDataLength
19971 // UINT8 mTextData[1];
19972 };
19973
19974 // Structure to describe indication TLV 0x1D for CAT EventReport
19975 struct sCATEventReportIndication_HighPriority
19976 {
19977 eQMICATHighPriority mHighPriority;
19978 };
19979
19980 // Structure to describe indication TLV 0x1E for CAT EventReport
19981 struct sCATEventReportIndication_UserControl
19982 {
19983 eQMICATUserControl mUserControl;
19984 };
19985
19986 // Structure to describe indication TLV 0x1F for CAT EventReport
19987 struct sCATEventReportIndication_Icon
19988 {
19989 eQMICATIconQualifier mIconQualifier;
19990 UINT8 mHeight;
19991 UINT8 mWidth;
19992 eQMICATImageCodingScheme mImageCodingScheme;
19993 UINT8 mRecordNumber;
19994 UINT16 mIconDataLength;
19995
19996 // This array must be the size specified by mIconDataLength
19997 // UINT8 mIconData[1];
19998 };
19999
20000 // Structure to describe indication TLV 0x20 for CAT EventReport
20001 struct sCATEventReportIndication_Duration
20002 {
20003 eQMICATTimeUnits mUnits;
20004 UINT8 mInterval;
20005 };
20006
20007 // Structure to describe indication TLV 0x21 for CAT EventReport
20008 struct sCATEventReportIndication_ResponseFormat
20009 {
20010 eQMICATResponseFormat mResponseFormat;
20011 };
20012
20013 // Structure to describe indication TLV 0x22 for CAT EventReport
20014 struct sCATEventReportIndication_HelpAvailable
20015 {
20016 eQMICATHelpAvailable mHelpAvailable;
20017 };
20018
20019 // Structure to describe indication TLV 0x23 for CAT EventReport
20020 struct sCATEventReportIndication_ResponsePackingFormat
20021 {
20022 eQMICATResponsePackingFormat mResponsePackingFormat;
20023 };
20024
20025 // Structure to describe indication TLV 0x24 for CAT EventReport
20026 struct sCATEventReportIndication_ResponseLength
20027 {
20028 UINT8 mMaximumUserInput;
20029 UINT8 mMinimumUserInput;
20030 };
20031
20032 // Structure to describe indication TLV 0x25 for CAT EventReport
20033 struct sCATEventReportIndication_ShowUserInput
20034 {
20035 eQMICATShowUserInput mShowUserInput;
20036 };
20037
20038 // Structure to describe indication TLV 0x26 for CAT EventReport
20039 struct sCATEventReportIndication_Tone
20040 {
20041 eQMICATTone mTone;
20042 };
20043
20044 // Structure to describe indication TLV 0x27 for CAT EventReport
20045 struct sCATEventReportIndication_SoftkeySelection
20046 {
20047 eQMICATSoftkeySelection mSoftkeySelection;
20048 };
20049
20050 // Structure to describe indication TLV 0x28 for CAT EventReport
20051 struct sCATEventReportIndication_Items
20052 {
20053 UINT8 mItemsLength;
20054
20055 struct sItem
20056 {
20057 UINT8 mItemID;
20058 UINT8 mItemTextLength;
20059
20060 // This array must be the size specified by mItemTextLength
20061 // UINT8 mItemText[1];
20062 };
20063
20064 // This array must be the size specified by mItemsLength
20065 // sItem mItems[1];
20066 };
20067
20068 // Structure to describe indication TLV 0x29 for CAT EventReport
20069 struct sCATEventReportIndication_DefaultItem
20070 {
20071 UINT8 mDefaultItem;
20072 };
20073
20074 // Structure to describe indication TLV 0x2A for CAT EventReport
20075 struct sCATEventReportIndication_NextActionIdentifier
20076 {
20077 UINT8 mActionsLength;
20078
20079 // This array must be the size specified by mActionsLength
20080 // eQMICATNextAction mNextAction[1];
20081 };
20082
20083 // Structure to describe indication TLV 0x2B for CAT EventReport
20084 struct sCATEventReportIndication_IconIDList
20085 {
20086 eQMICATDisplayIconOnly mDisplayIconOnly;
20087 UINT8 mItemsLength;
20088
20089 struct sItem
20090 {
20091 eQMICATIconQualifier mIconQualifier;
20092 UINT8 mHeight;
20093 UINT8 mWidth;
20094 eQMICATImageCodingScheme mImageCodingScheme;
20095 UINT8 mRecordNumber;
20096 UINT16 mIconDataLength;
20097
20098 // This array must be the size specified by mIconDataLength
20099 // UINT8 mIconData[1];
20100 };
20101
20102 // This array must be the size specified by mItemsLength
20103 // sItem mItems[1];
20104 };
20105
20106 // Structure to describe indication TLV 0x2C for CAT EventReport
20107 struct sCATEventReportIndication_Presentation
20108 {
20109 eQMICATPresentation mPresentation;
20110 };
20111
20112 // Structure to describe indication TLV 0x2D for CAT EventReport
20113 struct sCATEventReportIndication_PackingRequired
20114 {
20115 eQMICATPackingRequired mPackingRequired;
20116 };
20117
20118 // Structure to describe indication TLV 0x2E for CAT EventReport
20119 struct sCATEventReportIndication_SMSTPDU
20120 {
20121 UINT8 mSMSTPDUDataLength;
20122
20123 // This array must be the size specified by mSMSTPDUDataLength
20124 // UINT8 mSMSTPDUData[1];
20125 };
20126
20127 // Structure to describe indication TLV 0x2F for CAT EventReport
20128 struct sCATEventReportIndication_IsCDMASMS
20129 {
20130 eQMICATIsCDMASMS mIsCDMASMS;
20131 };
20132
20133 // Structure to describe indication TLV 0x30 for CAT EventReport
20134 struct sCATEventReportIndication_Address
20135 {
20136 eQMICATAddressTON mAddressTON;
20137 eQMICATAddressNPI mAddressNPI;
20138 UINT8 mAddressDataLength;
20139
20140 // This array must be the size specified by mAddressDataLength
20141 // char mAddressData[1];
20142 };
20143
20144 // Structure to describe indication TLV 0x31 for CAT EventReport
20145 struct sCATEventReportIndication_CallSetupRequirement
20146 {
20147 eQMICATCallSetupRequirement mCallSetupRequirement;
20148 };
20149
20150 // Structure to describe indication TLV 0x32 for CAT EventReport
20151 struct sCATEventReportIndication_Redial
20152 {
20153 eQMICATRedialNecessary mRedialNecessary;
20154 eQMICATTimeUnits mUnits;
20155 UINT8 mInterval;
20156 };
20157
20158 // Structure to describe indication TLV 0x33 for CAT EventReport
20159 struct sCATEventReportIndication_Subaddress
20160 {
20161 UINT8 mSubaddressDataLength;
20162
20163 struct sSubaddressData
20164 {
20165 UINT8 mSubaddressData1:4;
20166 UINT8 mSubaddressData2:4;
20167 };
20168
20169 // This array must be the size specified by mSubaddressDataLength
20170 // sSubaddressData mSubaddressDatas[1];
20171 };
20172
20173 // Structure to describe indication TLV 0x34 for CAT EventReport
20174 struct sCATEventReportIndication_CapabilitiesConfiguration
20175 {
20176 UINT8 mCapabilitesConfigurationLength;
20177
20178 // This array must be the size specified by mCapabilitesConfigurationLength
20179 // UINT8 mCapabilitiesConfiguration[1];
20180 };
20181
20182 // Structure to describe indication TLV 0x35 for CAT EventReport
20183 struct sCATEventReportIndication_DTMF
20184 {
20185 UINT8 mDTMFDataLength;
20186
20187 struct sDTMFData
20188 {
20189 UINT8 mDTMFData1:4;
20190 UINT8 mDTMFData2:4;
20191 };
20192
20193 // This array must be the size specified by mDTMFDataLength
20194 // sDTMFData mDTMFDatas[1];
20195 };
20196
20197 // Structure to describe indication TLV 0x36 for CAT EventReport
20198 struct sCATEventReportIndication_SpecificLanguageNotification
20199 {
20200 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
20201 };
20202
20203 // Structure to describe indication TLV 0x37 for CAT EventReport
20204 struct sCATEventReportIndication_Language
20205 {
20206 char mLanguage[2];
20207 };
20208
20209 // Structure to describe indication TLV 0x38 for CAT EventReport
20210 struct sCATEventReportIndication_LaunchMode
20211 {
20212 eQMICATLaunchMode mLaunchMode;
20213 };
20214
20215 // Structure to describe indication TLV 0x39 for CAT EventReport
20216 struct sCATEventReportIndication_URL
20217 {
20218 UINT8 mURLDataLength;
20219
20220 // This array must be the size specified by mURLDataLength
20221 // char mURLData[1];
20222 };
20223
20224 // Structure to describe indication TLV 0x3A for CAT EventReport
20225 struct sCATEventReportIndication_BrowserID
20226 {
20227 UINT8 mBrowserID;
20228 };
20229
20230 // Structure to describe indication TLV 0x3B for CAT EventReport
20231 struct sCATEventReportIndication_BearerList
20232 {
20233 UINT8 mBearerListLength;
20234
20235 // This array must be the size specified by mBearerListLength
20236 // eQMICATBearer mBearerList[1];
20237 };
20238
20239 // Structure to describe indication TLV 0x3C for CAT EventReport
20240 struct sCATEventReportIndication_ProvisioningFile
20241 {
20242 UINT32 mNumberOfProvisioningFiles;
20243
20244 struct sFile
20245 {
20246 UINT8 mPathLength;
20247
20248 // This array must be the size specified by mPathLength
20249 // char mPath[1];
20250 };
20251
20252 // This array must be the size specified by mNumberOfProvisioningFiles
20253 // sFile mFiles[1];
20254 };
20255
20256 // Structure to describe indication TLV 0x3D for CAT EventReport
20257 struct sCATEventReportIndication_USSDString
20258 {
20259 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
20260 eQMICATUSSDDataCodingScheme mDataCodingScheme;
20261 UINT8 mUSSDTextLength;
20262
20263 // This array must be the size specified by mUSSDTextLength
20264 // UINT8 mUSSDText[1];
20265 };
20266
20267 // Structure to describe indication TLV 0x3E for CAT EventReport
20268 struct sCATEventReportIndication_DefaultText
20269 {
20270 eQMICATDataCodingScheme mDataCodingScheme;
20271 UINT8 mTextDataLength;
20272
20273 // This array must be the size specified by mTextDataLength
20274 // UINT8 mTextData[1];
20275 };
20276
20277 // Structure to describe indication TLV 0x3F for CAT EventReport
20278 struct sCATEventReportIndication_ImmediateResponseRequired
20279 {
20280 eQMICATImmediateResponse mImmediateResponse;
20281 };
20282
20283 // Structure to describe indication TLV 0x40 for CAT EventReport
20284 struct sCATEventReportIndication_UserConfirmationAlpha
20285 {
20286 eQMICATDataCodingScheme mDataCodingScheme;
20287 UINT8 mTextDataLength;
20288
20289 // This array must be the size specified by mTextDataLength
20290 // UINT8 mTextData[1];
20291 };
20292
20293 // Structure to describe indication TLV 0x41 for CAT EventReport
20294 struct sCATEventReportIndication_SetupCallDisplayAlpha
20295 {
20296 eQMICATDataCodingScheme mDataCodingScheme;
20297 UINT8 mTextDataLength;
20298
20299 // This array must be the size specified by mTextDataLength
20300 // UINT8 mTextData[1];
20301 };
20302
20303 // Structure to describe indication TLV 0x42 for CAT EventReport
20304 struct sCATEventReportIndication_UserConfirmationIcon
20305 {
20306 eQMICATIconQualifier mIconQualifier;
20307 UINT8 mHeight;
20308 UINT8 mWidth;
20309 eQMICATImageCodingScheme mImageCodingScheme;
20310 UINT8 mRecordNumber;
20311 UINT16 mIconDataLength;
20312
20313 // This array must be the size specified by mIconDataLength
20314 // UINT8 mIconData[1];
20315 };
20316
20317 // Structure to describe indication TLV 0x43 for CAT EventReport
20318 struct sCATEventReportIndication_SetupCallDisplayIcon
20319 {
20320 eQMICATIconQualifier mIconQualifier;
20321 UINT8 mHeight;
20322 UINT8 mWidth;
20323 eQMICATImageCodingScheme mImageCodingScheme;
20324 UINT8 mRecordNumber;
20325 UINT16 mIconDataLength;
20326
20327 // This array must be the size specified by mIconDataLength
20328 // UINT8 mIconData[1];
20329 };
20330
20331 // Structure to describe indication TLV 0x44 for CAT EventReport
20332 struct sCATEventReportIndication_GatewayProxy
20333 {
20334 eQMICATDataCodingScheme mDataCodingScheme;
20335 UINT8 mTextDataLength;
20336
20337 // This array must be the size specified by mTextDataLength
20338 // UINT8 mTextData[1];
20339 };
20340
20341 // Structure to describe indication TLV 0x45 for CAT EventReport
20342 struct sCATEventReportIndication_Alpha
20343 {
20344 eQMICATDataCodingScheme mDataCodingScheme;
20345 UINT8 mTextDataLength;
20346
20347 // This array must be the size specified by mTextDataLength
20348 // UINT8 mTextData[1];
20349 };
20350
20351 // Structure to describe indication TLV 0x46 for CAT EventReport
20352 struct sCATEventReportIndication_NotificationRequired
20353 {
20354 eQMICATNotificationRequired mNotificationRequired;
20355 };
20356
20357 // Structure to describe indication TLV 0x47 for CAT EventReport
20358 struct sCATEventReportIndication_PlayToneEvent
20359 {
20360 UINT32 mReferenceID;
20361 UINT16 mCommandLength;
20362
20363 // This array must be the size specified by mCommandLength
20364 // UINT8 mPlayToneCommand[1];
20365 };
20366
20367 // Structure to describe indication TLV 0x48 for CAT EventReport
20368 struct sCATEventReportIndication_SetupCallEvent
20369 {
20370 UINT32 mReferenceID;
20371 UINT16 mCommandLength;
20372
20373 // This array must be the size specified by mCommandLength
20374 // UINT8 mSetupCallCommand[1];
20375 };
20376
20377 // Structure to describe indication TLV 0x49 for CAT EventReport
20378 struct sCATEventReportIndication_SendDTMFEvent
20379 {
20380 UINT32 mReferenceID;
20381 UINT16 mCommandLength;
20382
20383 // This array must be the size specified by mCommandLength
20384 // UINT8 mSendDTMFCommand[1];
20385 };
20386
20387 // Structure to describe indication TLV 0x4A for CAT EventReport
20388 struct sCATEventReportIndication_LaunchBrowserEvent
20389 {
20390 UINT32 mReferenceID;
20391 UINT16 mCommandLength;
20392
20393 // This array must be the size specified by mCommandLength
20394 // UINT8 mLaunchBrowserCommand[1];
20395 };
20396
20397 // Structure to describe indication TLV 0x4B for CAT EventReport
20398 struct sCATEventReportIndication_SendSMSEvent
20399 {
20400 UINT32 mReferenceID;
20401 UINT16 mCommandLength;
20402
20403 // This array must be the size specified by mCommandLength
20404 // UINT8 mSendSMSCommand[1];
20405 };
20406
20407 // Structure to describe indication TLV 0x4C for CAT EventReport
20408 struct sCATEventReportIndication_SendSSEvent
20409 {
20410 UINT32 mReferenceID;
20411 UINT16 mCommandLength;
20412
20413 // This array must be the size specified by mCommandLength
20414 // UINT8 mSendSSCommand[1];
20415 };
20416
20417 // Structure to describe indication TLV 0x4D for CAT EventReport
20418 struct sCATEventReportIndication_SendUSSDEvent
20419 {
20420 UINT32 mReferenceID;
20421 UINT16 mCommandLength;
20422
20423 // This array must be the size specified by mCommandLength
20424 // UINT8 mSendUSSDCommand[1];
20425 };
20426
20427 // Structure to describe indication TLV 0x4E for CAT EventReport
20428 struct sCATEventReportIndication_ProvideLocalInformationEvent
20429 {
20430 UINT32 mReferenceID;
20431 UINT16 mCommandLength;
20432
20433 // This array must be the size specified by mCommandLength
20434 // UINT8 mProvideLocalInformationCommand[1];
20435 };
20436
20437 // Structure to describe indication TLV 0x4F for CAT EventReport
20438 struct sCATEventReportIndication_SetupRawEventList
20439 {
20440 UINT32 mReferenceID;
20441 UINT16 mCommandLength;
20442
20443 // This array must be the size specified by mCommandLength
20444 // UINT8 mSetupEventListCommand[1];
20445 };
20446
20447 // Structure to describe indication TLV 0x50 for CAT EventReport
20448 struct sCATEventReportIndication_Slot
20449 {
20450 eQMICATSlot mSlot;
20451 };
20452
20453 // Structure to describe indication TLV 0x51 for CAT EventReport
20454 struct sCATEventReportIndication_OpenChannelEvent
20455 {
20456 UINT32 mReferenceID;
20457 UINT16 mCommandLength;
20458
20459 // This array must be the size specified by mCommandLength
20460 // UINT8 mOpenChannelCommand[1];
20461 };
20462
20463 // Structure to describe indication TLV 0x52 for CAT EventReport
20464 struct sCATEventReportIndication_CloseChannelEvent
20465 {
20466 UINT32 mReferenceID;
20467 UINT16 mCommandLength;
20468
20469 // This array must be the size specified by mCommandLength
20470 // UINT8 mCloseChannelCommand[1];
20471 };
20472
20473 // Structure to describe indication TLV 0x53 for CAT EventReport
20474 struct sCATEventReportIndication_SendDataEvent
20475 {
20476 UINT32 mReferenceID;
20477 UINT16 mCommandLength;
20478
20479 // This array must be the size specified by mCommandLength
20480 // UINT8 mSendDataCommand[1];
20481 };
20482
20483 // Structure to describe indication TLV 0x54 for CAT EventReport
20484 struct sCATEventReportIndication_ReceiveDataEvent
20485 {
20486 UINT32 mReferenceID;
20487 UINT16 mCommandLength;
20488
20489 // This array must be the size specified by mCommandLength
20490 // UINT8 mReceiveDataCommand[1];
20491 };
20492
20493 // Structure to describe indication TLV 0x55 for CAT EventReport
20494 struct sCATEventReportIndication_OnDemmandLinkEstablish
20495 {
20496 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
20497 };
20498
20499 // Structure to describe indication TLV 0x56 for CAT EventReport
20500 struct sCATEventReportIndication_CSDBearerDescription
20501 {
20502 UINT8 mSpeed;
20503 eQMICATCSDBearerName mCSDBearerName;
20504 eQMICATConnectionElement mConnectionElement;
20505 };
20506
20507 // Structure to describe indication TLV 0x57 for CAT EventReport
20508 struct sCATEventReportIndication_GPRSBearerDescription
20509 {
20510 UINT8 mPrecedenceClass;
20511 UINT8 mDelayClass;
20512 UINT8 mReliabilityClass;
20513 UINT8 mPeakThroughput;
20514 UINT8 mMeanThroughput;
20515 eQMICATPacketDataProtocol mPacketDataProtocol;
20516 };
20517
20518 // Structure to describe indication TLV 0x58 for CAT EventReport
20519 struct sCATEventReportIndication_EUTRANExternalParameterBearerDescription
20520 {
20521 eQMICATTrafficClass mTrafficClass;
20522 UINT16 mMaxUploadBitrate;
20523 UINT16 mMaxDownloadBitrate;
20524 UINT16 mGuaranteedUploadBitrate;
20525 UINT16 mGuaranteedDownloadBitrate;
20526 eQMICATDeliveryOrder mDeliveryOrder;
20527 UINT8 mMaxSDUSize;
20528 UINT8 mMaxSDUErrorRatio;
20529 UINT8 mResidualBitErrorRatio;
20530 eQMICATDeliverErrorSDU mDeliverErrorSDU;
20531 UINT8 mTransferDelay;
20532 UINT8 mTrafficHandlingPRI;
20533 eQMICATPDPType mPDPType;
20534 };
20535
20536 // Structure to describe indication TLV 0x59 for CAT EventReport
20537 struct sCATEventReportIndication_EUTRANExternalMappedUTRANBearerDescription
20538 {
20539 UINT8 mQCI;
20540 UINT8 mMaxUploadBitrate;
20541 UINT8 mMaxDownloadBitrate;
20542 UINT8 mGuaranteedUploadBitrate;
20543 UINT8 mGuaranteedDownloadBitrate;
20544 UINT8 mMaximumUploadBitrateExt;
20545 UINT8 mMaximumDownloadBitrateExt;
20546 UINT8 mGuaranteedUploadBitrateExt;
20547 UINT8 mGuaranteedDownloadBitrateExt;
20548 eQMICATPDPType mPDPType;
20549 };
20550
20551 // Structure to describe indication TLV 0x5A for CAT EventReport
20552 struct sCATEventReportIndication_BufferSize
20553 {
20554 UINT16 mBufferSize;
20555 };
20556
20557 // Structure to describe indication TLV 0x5B for CAT EventReport
20558 struct sCATEventReportIndication_NetworkAccessName
20559 {
20560 UINT8 mNetworkAccessNameLength;
20561
20562 // This array must be the size specified by mNetworkAccessNameLength
20563 // UINT8 mNetworkAccessName[1];
20564 };
20565
20566 // Structure to describe indication TLV 0x5C for CAT EventReport
20567 struct sCATEventReportIndication_OtherAddress
20568 {
20569 eQMICATAddressType mAddressType;
20570 UINT8 mAddressDataLength;
20571
20572 // This array must be the size specified by mAddressDataLength
20573 // char mAddressData[1];
20574 };
20575
20576 // Structure to describe indication TLV 0x5D for CAT EventReport
20577 struct sCATEventReportIndication_UserLogin
20578 {
20579 eQMICATDataCodingScheme mDataCodingScheme;
20580 UINT8 mTextDataLength;
20581
20582 // This array must be the size specified by mTextDataLength
20583 // UINT8 mTextData[1];
20584 };
20585
20586 // Structure to describe indication TLV 0x5E for CAT EventReport
20587 struct sCATEventReportIndication_UserPassword
20588 {
20589 eQMICATDataCodingScheme mDataCodingScheme;
20590 UINT8 mTextDataLength;
20591
20592 // This array must be the size specified by mTextDataLength
20593 // UINT8 mTextData[1];
20594 };
20595
20596 // Structure to describe indication TLV 0x5F for CAT EventReport
20597 struct sCATEventReportIndication_TransportLevel
20598 {
20599 eQMICATTransportProtocol mTransportProtocol;
20600 UINT16 mPortNumber;
20601 };
20602
20603 // Structure to describe indication TLV 0x60 for CAT EventReport
20604 struct sCATEventReportIndication_DataDestinationAddress
20605 {
20606 eQMICATAddressType mAddressType;
20607 UINT8 mAddressDataLength;
20608
20609 // This array must be the size specified by mAddressDataLength
20610 // char mAddressData[1];
20611 };
20612
20613 // Structure to describe indication TLV 0x61 for CAT EventReport
20614 struct sCATEventReportIndication_ChannelDataLength
20615 {
20616 UINT8 mChannelDataLength;
20617 };
20618
20619 // Structure to describe indication TLV 0x62 for CAT EventReport
20620 struct sCATEventReportIndication_SendDataImmediately
20621 {
20622 eQMICATSendDataImmediately mSendDataImmediately;
20623 };
20624
20625 // Structure to describe indication TLV 0x63 for CAT EventReport
20626 struct sCATEventReportIndication_ChannelData
20627 {
20628 UINT16 mChannelDataLength;
20629
20630 // This array must be the size specified by mChannelDataLength
20631 // UINT8 mChannelData[1];
20632 };
20633
20634 // Structure to describe indication TLV 0x64 for CAT EventReport
20635 struct sCATEventReportIndication_ChannelID
20636 {
20637 UINT8 mChannelID;
20638 };
20639
20640 // Structure to describe response TLV 0x01 for CATGetServiceState()
20641 struct sCATGetServiceStateResponse_CATServiceState
20642 {
20643 bool mCommonDisplayText:1;
20644 bool mCommonGetInkey:1;
20645 bool mCommonGetInput:1;
20646 bool mCommonSetupMenu:1;
20647 bool mCommonSelectItem:1;
20648 bool mCommonSendSMSAlphaIdentifier:1;
20649 bool mCommonSetupEventUserActivity:1;
20650 bool mCommonSetupEventIdleScreenNotify:1;
20651 bool mCommonSetupEventLanguageSelNotify:1;
20652 bool mCommonSetupIdleModeText:1;
20653 bool mCommonLanguageNotification:1;
20654 bool mCommonRefresh:1;
20655 bool mCommonEndProactiveSession:1;
20656 bool mCommonPlayTone:1;
20657 bool mCommonSetupCall:1;
20658 bool mCommonSendDTMF:1;
20659 bool mCommonLaunchBrowser:1;
20660 bool mCommonSendSS:1;
20661 bool mCommonSendUSSD:1;
20662 bool mCommonProvideLocalInformationLanguage:1;
20663 bool mCommonBearerIndependentProtocol:1;
20664 bool mCommonSetupEventBrowserTermination:1;
20665 bool mCommonProvideLocalInformationTime:1;
20666
20667 // Padding out 9 bits
20668 UINT8 mReserved1:1;
20669 UINT8 mReserved2;
20670
20671 bool mControlDisplayText:1;
20672 bool mControlGetInkey:1;
20673 bool mControlGetInput:1;
20674 bool mControlSetupMenu:1;
20675 bool mControlSelectItem:1;
20676 bool mControlSendSMSAlphaIdentifier:1;
20677 bool mControlSetupEventUserActivity:1;
20678 bool mControlSetupEventIdleScreenNotify:1;
20679 bool mControlSetupEventLanguageSelNotify:1;
20680 bool mControlSetupIdleModeText:1;
20681 bool mControlLanguageNotification:1;
20682 bool mControlRefresh:1;
20683 bool mControlEndProactiveSession:1;
20684 bool mControlPlayTone:1;
20685 bool mControlSetupCall:1;
20686 bool mControlSendDTMF:1;
20687 bool mControlLaunchBrowser:1;
20688 bool mControlSendSS:1;
20689 bool mControlSendUSSD:1;
20690 bool mControlProvideLocalInformationLanguage:1;
20691 bool mControlBearerIndependentProtocol:1;
20692 bool mControlSetupEventBrowserTermination:1;
20693 bool mControlProvideLocalInformationTime:1;
20694
20695 // Padding out 9 bits
20696 UINT8 mReserved3:1;
20697 UINT8 mReserved4;
20698 };
20699
20700 // Structure to describe response TLV 0x10 for CATGetServiceState()
20701 struct sCATGetServiceStateResponse_DecodedCATServiceState
20702 {
20703 bool mCommonDisplayText:1;
20704 bool mCommonGetInkey:1;
20705 bool mCommonGetInput:1;
20706 bool mCommonSetupMenu:1;
20707 bool mCommonSelectItem:1;
20708 bool mCommonSendSMSAlphaIdentifier:1;
20709 bool mCommonSetupEventUserActivity:1;
20710 bool mCommonSetupEventIdleScreenNotify:1;
20711 bool mCommonSetupEventLanguageSelNotify:1;
20712 bool mCommonSetupIdleModeText:1;
20713 bool mCommonLanguageNotification:1;
20714
20715 // Padding out 1 bits
20716 UINT8 mReserved1:1;
20717
20718 bool mCommonEndProactiveSession:1;
20719 bool mCommonPlayTone:1;
20720 bool mCommonSetupCall:1;
20721 bool mCommonSendDTMF:1;
20722 bool mCommonLaunchBrowser:1;
20723 bool mCommonSendSS:1;
20724 bool mCommonSendUSSD:1;
20725 bool mCommonProvideLocalInformationLanguage:1;
20726 bool mCommonBearerIndependentProtocol:1;
20727
20728 // Padding out 2 bits
20729 UINT8 mReserved2:2;
20730
20731 bool mCommonSCWSEvent:1;
20732
20733 // Padding out 8 bits
20734 UINT8 mReserved3;
20735
20736 bool mControlDisplayText:1;
20737 bool mControlGetInkey:1;
20738 bool mControlGetInput:1;
20739 bool mControlSetupMenu:1;
20740 bool mControlSelectItem:1;
20741 bool mControlSendSMSAlphaIdentifier:1;
20742 bool mControlSetupEventUserActivity:1;
20743 bool mControlSetupEventIdleScreenNotify:1;
20744 bool mControlSetupEventLanguageSelNotify:1;
20745 bool mControlSetupIdleModeText:1;
20746 bool mControlLanguageNotification:1;
20747
20748 // Padding out 1 bits
20749 UINT8 mReserved4:1;
20750
20751 bool mControlEndProactiveSession:1;
20752 bool mControlPlayTone:1;
20753 bool mControlSetupCall:1;
20754 bool mControlSendDTMF:1;
20755 bool mControlLaunchBrowser:1;
20756 bool mControlSendSS:1;
20757 bool mControlSendUSSD:1;
20758 bool mControlProvideLocalInformationLanguage:1;
20759 bool mControlBearerIndependentProtocol:1;
20760
20761 // Padding out 2 bits
20762 UINT8 mReserved5:2;
20763
20764 bool mControlSCWSEvent:1;
20765
20766 // Padding out 8 bits
20767 UINT8 mReserved6;
20768 };
20769
20770 // Structure to describe request TLV 0x01 for CATSendTerminalResponse()
20771 struct sCATSendTerminalResponseRequest_TerminalResponseType
20772 {
20773 UINT32 mReferenceID;
20774 UINT16 mTerminalResponseLength;
20775
20776 // This array must be the size specified by mTerminalResponseLength
20777 // UINT8 mTerminalResponse[1];
20778 };
20779
20780 // Structure to describe request TLV 0x10 for CATSendTerminalResponse()
20781 struct sCATSendTerminalResponseRequest_Slot
20782 {
20783 eQMICATSlot mSlot;
20784 };
20785
20786 // Structure to describe request TLV 0x01 for CATEnvelopeCommand()
20787 struct sCATEnvelopeCommandRequest_EnvelopeCommand
20788 {
20789 eQMICATEnvelopeCommandType mEnvelopeCommandType;
20790 UINT16 mEnvelopeLength;
20791
20792 // This array must be the size specified by mEnvelopeLength
20793 // UINT8 mEnvelopeData[1];
20794 };
20795
20796 // Structure to describe request TLV 0x10 for CATEnvelopeCommand()
20797 struct sCATEnvelopeCommandRequest_Slot
20798 {
20799 eQMICATSlot mSlot;
20800 };
20801
20802 // Structure to describe request TLV 0x01 for CATGetEventReport()
20803 struct sCATGetEventReportRequest_CommandInput
20804 {
20805 UINT32 mCommandID;
20806 eQMICATCommandFormat mCommandFormat;
20807 };
20808
20809 // Structure to describe response TLV 0x10 for CATGetEventReport()
20810 struct sCATGetEventReportResponse_DisplayTextEvent
20811 {
20812 UINT32 mReferenceID;
20813 UINT16 mCommandLength;
20814
20815 // This array must be the size specified by mCommandLength
20816 // UINT8 mDisplayTextCommand[1];
20817 };
20818
20819 // Structure to describe response TLV 0x11 for CATGetEventReport()
20820 struct sCATGetEventReportResponse_GetInkeyEvent
20821 {
20822 UINT32 mReferenceID;
20823 UINT16 mCommandLength;
20824
20825 // This array must be the size specified by mCommandLength
20826 // UINT8 mGetInkeyCommand[1];
20827 };
20828
20829 // Structure to describe response TLV 0x12 for CATGetEventReport()
20830 struct sCATGetEventReportResponse_GetInputEvent
20831 {
20832 UINT32 mReferenceID;
20833 UINT16 mCommandLength;
20834
20835 // This array must be the size specified by mCommandLength
20836 // UINT8 mGetInputCommand[1];
20837 };
20838
20839 // Structure to describe response TLV 0x13 for CATGetEventReport()
20840 struct sCATGetEventReportResponse_SetupMenuEvent
20841 {
20842 UINT32 mReferenceID;
20843 UINT16 mCommandLength;
20844
20845 // This array must be the size specified by mCommandLength
20846 // UINT8 mSetupMenuCommand[1];
20847 };
20848
20849 // Structure to describe response TLV 0x14 for CATGetEventReport()
20850 struct sCATGetEventReportResponse_SelectItemEvent
20851 {
20852 UINT32 mReferenceID;
20853 UINT16 mCommandLength;
20854
20855 // This array must be the size specified by mCommandLength
20856 // UINT8 mSelectItemCommand[1];
20857 };
20858
20859 // Structure to describe response TLV 0x15 for CATGetEventReport()
20860 struct sCATGetEventReportResponse_AlphaIDAvailable
20861 {
20862 eQMICATAlphaIDCommandType mAlphaIDCommandType;
20863 UINT16 mAlphaIDLength;
20864
20865 // This array must be the size specified by mAlphaIDLength
20866 // UINT8 mAlphaID[1];
20867 };
20868
20869 // Structure to describe response TLV 0x16 for CATGetEventReport()
20870 struct sCATGetEventReportResponse_SetupEventList
20871 {
20872 bool mUserActivityNotify:1;
20873 bool mIdleScreenAvailable:1;
20874 bool mLanguageSelectionNotify:1;
20875
20876 // Padding out 29 bits
20877 UINT8 mReserved1:5;
20878 UINT8 mReserved2[3];
20879 };
20880
20881 // Structure to describe response TLV 0x17 for CATGetEventReport()
20882 struct sCATGetEventReportResponse_SetupIdleModeTextEvent
20883 {
20884 UINT32 mReferenceID;
20885 UINT16 mCommandLength;
20886
20887 // This array must be the size specified by mCommandLength
20888 // UINT8 mSetupIdleModeTextCommand[1];
20889 };
20890
20891 // Structure to describe response TLV 0x18 for CATGetEventReport()
20892 struct sCATGetEventReportResponse_LanguageNotificationEvent
20893 {
20894 UINT32 mReferenceID;
20895 UINT16 mCommandLength;
20896
20897 // This array must be the size specified by mCommandLength
20898 // UINT8 mLanguageNotificationCommand[1];
20899 };
20900
20901 // Structure to describe response TLV 0x19 for CATGetEventReport()
20902 struct sCATGetEventReportResponse_RefreshEvent
20903 {
20904 UINT16 mRefreshMode;
20905 eQMICATRefreshStage mRefreshStage;
20906 };
20907
20908 // Structure to describe response TLV 0x1A for CATGetEventReport()
20909 struct sCATGetEventReportResponse_EndProactiveSession
20910 {
20911 eQMICATProactiveSessionEndType mProactiveSessionEndType;
20912 };
20913
20914 // Structure to describe response TLV 0x1B for CATGetEventReport()
20915 struct sCATGetEventReportResponse_DecodedHeaderID
20916 {
20917 eQMICATCommandID mCommandID;
20918 UINT32 mReferenceID;
20919 UINT8 mCommandNumber;
20920 };
20921
20922 // Structure to describe response TLV 0x1C for CATGetEventReport()
20923 struct sCATGetEventReportResponse_TextString
20924 {
20925 eQMICATDataCodingScheme mDataCodingScheme;
20926 UINT8 mTextDataLength;
20927
20928 // This array must be the size specified by mTextDataLength
20929 // UINT8 mTextData[1];
20930 };
20931
20932 // Structure to describe response TLV 0x1D for CATGetEventReport()
20933 struct sCATGetEventReportResponse_HighPriority
20934 {
20935 eQMICATHighPriority mHighPriority;
20936 };
20937
20938 // Structure to describe response TLV 0x1E for CATGetEventReport()
20939 struct sCATGetEventReportResponse_UserControl
20940 {
20941 eQMICATUserControl mUserControl;
20942 };
20943
20944 // Structure to describe response TLV 0x1F for CATGetEventReport()
20945 struct sCATGetEventReportResponse_Icon
20946 {
20947 eQMICATIconQualifier mIconQualifier;
20948 UINT8 mHeight;
20949 UINT8 mWidth;
20950 eQMICATImageCodingScheme mImageCodingScheme;
20951 UINT8 mRecordNumber;
20952 UINT16 mIconDataLength;
20953
20954 // This array must be the size specified by mIconDataLength
20955 // UINT8 mIconData[1];
20956 };
20957
20958 // Structure to describe response TLV 0x20 for CATGetEventReport()
20959 struct sCATGetEventReportResponse_Duration
20960 {
20961 eQMICATTimeUnits mUnits;
20962 UINT8 mInterval;
20963 };
20964
20965 // Structure to describe response TLV 0x21 for CATGetEventReport()
20966 struct sCATGetEventReportResponse_ResponseFormat
20967 {
20968 eQMICATResponseFormat mResponseFormat;
20969 };
20970
20971 // Structure to describe response TLV 0x22 for CATGetEventReport()
20972 struct sCATGetEventReportResponse_HelpAvailable
20973 {
20974 eQMICATHelpAvailable mHelpAvailable;
20975 };
20976
20977 // Structure to describe response TLV 0x23 for CATGetEventReport()
20978 struct sCATGetEventReportResponse_ResponsePackingFormat
20979 {
20980 eQMICATResponsePackingFormat mResponsePackingFormat;
20981 };
20982
20983 // Structure to describe response TLV 0x24 for CATGetEventReport()
20984 struct sCATGetEventReportResponse_ResponseLength
20985 {
20986 UINT8 mMaximumUserInput;
20987 UINT8 mMinimumUserInput;
20988 };
20989
20990 // Structure to describe response TLV 0x25 for CATGetEventReport()
20991 struct sCATGetEventReportResponse_ShowUserInput
20992 {
20993 eQMICATShowUserInput mShowUserInput;
20994 };
20995
20996 // Structure to describe response TLV 0x26 for CATGetEventReport()
20997 struct sCATGetEventReportResponse_Tone
20998 {
20999 eQMICATTone mTone;
21000 };
21001
21002 // Structure to describe response TLV 0x27 for CATGetEventReport()
21003 struct sCATGetEventReportResponse_SoftkeySelection
21004 {
21005 eQMICATSoftkeySelection mSoftkeySelection;
21006 };
21007
21008 // Structure to describe response TLV 0x28 for CATGetEventReport()
21009 struct sCATGetEventReportResponse_Items
21010 {
21011 UINT8 mItemsLength;
21012
21013 struct sItem
21014 {
21015 UINT8 mItemID;
21016 UINT8 mItemTextLength;
21017
21018 // This array must be the size specified by mItemTextLength
21019 // UINT8 mItemText[1];
21020 };
21021
21022 // This array must be the size specified by mItemsLength
21023 // sItem mItems[1];
21024 };
21025
21026 // Structure to describe response TLV 0x29 for CATGetEventReport()
21027 struct sCATGetEventReportResponse_DefaultItems
21028 {
21029 UINT8 mDefaultItem;
21030 };
21031
21032 // Structure to describe response TLV 0x2A for CATGetEventReport()
21033 struct sCATGetEventReportResponse_NextActionIdentifier
21034 {
21035 UINT8 mActionsLength;
21036
21037 // This array must be the size specified by mActionsLength
21038 // eQMICATNextAction mNextAction[1];
21039 };
21040
21041 // Structure to describe response TLV 0x2B for CATGetEventReport()
21042 struct sCATGetEventReportResponse_IconIDList
21043 {
21044 eQMICATDisplayIconOnly mDisplayIconOnly;
21045 UINT8 mItemsLength;
21046
21047 struct sItem
21048 {
21049 eQMICATIconQualifier mIconQualifier;
21050 UINT8 mHeight;
21051 UINT8 mWidth;
21052 eQMICATImageCodingScheme mImageCodingScheme;
21053 UINT8 mRecordNumber;
21054 UINT16 mIconDataLength;
21055
21056 // This array must be the size specified by mIconDataLength
21057 // UINT8 mIconData[1];
21058 };
21059
21060 // This array must be the size specified by mItemsLength
21061 // sItem mItems[1];
21062 };
21063
21064 // Structure to describe response TLV 0x2C for CATGetEventReport()
21065 struct sCATGetEventReportResponse_Presentation
21066 {
21067 eQMICATPresentation mPresentation;
21068 };
21069
21070 // Structure to describe response TLV 0x2D for CATGetEventReport()
21071 struct sCATGetEventReportResponse_PackingRequired
21072 {
21073 eQMICATPackingRequired mPackingRequired;
21074 };
21075
21076 // Structure to describe response TLV 0x2E for CATGetEventReport()
21077 struct sCATGetEventReportResponse_SMSTPDU
21078 {
21079 UINT8 mSMSTPDUDataLength;
21080
21081 // This array must be the size specified by mSMSTPDUDataLength
21082 // UINT8 mSMSTPDUData[1];
21083 };
21084
21085 // Structure to describe response TLV 0x2F for CATGetEventReport()
21086 struct sCATGetEventReportResponse_IsCDMASMS
21087 {
21088 eQMICATIsCDMASMS mIsCDMASMS;
21089 };
21090
21091 // Structure to describe response TLV 0x30 for CATGetEventReport()
21092 struct sCATGetEventReportResponse_Address
21093 {
21094 eQMICATAddressTON mAddressTON;
21095 eQMICATAddressNPI mAddressNPI;
21096 UINT8 mAddressDataLength;
21097
21098 // This array must be the size specified by mAddressDataLength
21099 // char mAddressData[1];
21100 };
21101
21102 // Structure to describe response TLV 0x31 for CATGetEventReport()
21103 struct sCATGetEventReportResponse_CallSetupRequirement
21104 {
21105 eQMICATCallSetupRequirement mCallSetupRequirement;
21106 };
21107
21108 // Structure to describe response TLV 0x32 for CATGetEventReport()
21109 struct sCATGetEventReportResponse_Redial
21110 {
21111 eQMICATRedialNecessary mRedialNecessary;
21112 eQMICATTimeUnits mUnits;
21113 UINT8 mInterval;
21114 };
21115
21116 // Structure to describe response TLV 0x33 for CATGetEventReport()
21117 struct sCATGetEventReportResponse_Subaddress
21118 {
21119 UINT8 mSubaddressDataLength;
21120
21121 struct sSubaddressData
21122 {
21123 UINT8 mSubaddressData1:4;
21124 UINT8 mSubaddressData2:4;
21125 };
21126
21127 // This array must be the size specified by mSubaddressDataLength
21128 // sSubaddressData mSubaddressDatas[1];
21129 };
21130
21131 // Structure to describe response TLV 0x34 for CATGetEventReport()
21132 struct sCATGetEventReportResponse_CapabilityConfiguration
21133 {
21134 UINT8 mCapabilitesConfigurationLength;
21135
21136 // This array must be the size specified by mCapabilitesConfigurationLength
21137 // UINT8 mCapabilitiesConfiguration[1];
21138 };
21139
21140 // Structure to describe response TLV 0x35 for CATGetEventReport()
21141 struct sCATGetEventReportResponse_DTMF
21142 {
21143 UINT8 mDTMFDataLength;
21144
21145 struct sDTMFData
21146 {
21147 UINT8 mDTMFData1:4;
21148 UINT8 mDTMFData2:4;
21149 };
21150
21151 // This array must be the size specified by mDTMFDataLength
21152 // sDTMFData mDTMFDatas[1];
21153 };
21154
21155 // Structure to describe response TLV 0x36 for CATGetEventReport()
21156 struct sCATGetEventReportResponse_SpecificLanguageNotification
21157 {
21158 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
21159 };
21160
21161 // Structure to describe response TLV 0x37 for CATGetEventReport()
21162 struct sCATGetEventReportResponse_Language
21163 {
21164 char mLanguage[2];
21165 };
21166
21167 // Structure to describe response TLV 0x38 for CATGetEventReport()
21168 struct sCATGetEventReportResponse_LaunchMode
21169 {
21170 eQMICATLaunchMode mLaunchMode;
21171 };
21172
21173 // Structure to describe response TLV 0x39 for CATGetEventReport()
21174 struct sCATGetEventReportResponse_URL
21175 {
21176 UINT8 mURLDataLength;
21177
21178 // This array must be the size specified by mURLDataLength
21179 // char mURLData[1];
21180 };
21181
21182 // Structure to describe response TLV 0x3A for CATGetEventReport()
21183 struct sCATGetEventReportResponse_BrowserID
21184 {
21185 UINT8 mBrowserID;
21186 };
21187
21188 // Structure to describe response TLV 0x3B for CATGetEventReport()
21189 struct sCATGetEventReportResponse_BearerList
21190 {
21191 UINT8 mBearerListLength;
21192
21193 // This array must be the size specified by mBearerListLength
21194 // eQMICATBearer mBearerList[1];
21195 };
21196
21197 // Structure to describe response TLV 0x3C for CATGetEventReport()
21198 struct sCATGetEventReportResponse_ProvisioningFiles
21199 {
21200 UINT32 mNumberOfProvisioningFiles;
21201
21202 struct sFile
21203 {
21204 UINT8 mPathLength;
21205
21206 // This array must be the size specified by mPathLength
21207 // char mPath[1];
21208 };
21209
21210 // This array must be the size specified by mNumberOfProvisioningFiles
21211 // sFile mFiles[1];
21212 };
21213
21214 // Structure to describe response TLV 0x3D for CATGetEventReport()
21215 struct sCATGetEventReportResponse_USSDString
21216 {
21217 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
21218 eQMICATUSSDDataCodingScheme mDataCodingScheme;
21219 UINT8 mUSSDTextLength;
21220
21221 // This array must be the size specified by mUSSDTextLength
21222 // UINT8 mUSSDText[1];
21223 };
21224
21225 // Structure to describe response TLV 0x3E for CATGetEventReport()
21226 struct sCATGetEventReportResponse_DefaultText
21227 {
21228 eQMICATDataCodingScheme mDataCodingScheme;
21229 UINT8 mTextDataLength;
21230
21231 // This array must be the size specified by mTextDataLength
21232 // UINT8 mTextData[1];
21233 };
21234
21235 // Structure to describe response TLV 0x3F for CATGetEventReport()
21236 struct sCATGetEventReportResponse_ImmediateResponseRequest
21237 {
21238 eQMICATImmediateResponse mImmediateResponse;
21239 };
21240
21241 // Structure to describe response TLV 0x40 for CATGetEventReport()
21242 struct sCATGetEventReportResponse_UserConfirmationAlpha
21243 {
21244 eQMICATDataCodingScheme mDataCodingScheme;
21245 UINT8 mTextDataLength;
21246
21247 // This array must be the size specified by mTextDataLength
21248 // UINT8 mTextData[1];
21249 };
21250
21251 // Structure to describe response TLV 0x41 for CATGetEventReport()
21252 struct sCATGetEventReportResponse_SetupCallDisplayAlpha
21253 {
21254 eQMICATDataCodingScheme mDataCodingScheme;
21255 UINT8 mTextDataLength;
21256
21257 // This array must be the size specified by mTextDataLength
21258 // UINT8 mTextData[1];
21259 };
21260
21261 // Structure to describe response TLV 0x42 for CATGetEventReport()
21262 struct sCATGetEventReportResponse_UserConfirmationIcon
21263 {
21264 eQMICATIconQualifier mIconQualifier;
21265 UINT8 mHeight;
21266 UINT8 mWidth;
21267 eQMICATImageCodingScheme mImageCodingScheme;
21268 UINT8 mRecordNumber;
21269 UINT16 mIconDataLength;
21270
21271 // This array must be the size specified by mIconDataLength
21272 // UINT8 mIconData[1];
21273 };
21274
21275 // Structure to describe response TLV 0x43 for CATGetEventReport()
21276 struct sCATGetEventReportResponse_SetupCallDisplayIcon
21277 {
21278 eQMICATIconQualifier mIconQualifier;
21279 UINT8 mHeight;
21280 UINT8 mWidth;
21281 eQMICATImageCodingScheme mImageCodingScheme;
21282 UINT8 mRecordNumber;
21283 UINT16 mIconDataLength;
21284
21285 // This array must be the size specified by mIconDataLength
21286 // UINT8 mIconData[1];
21287 };
21288
21289 // Structure to describe response TLV 0x44 for CATGetEventReport()
21290 struct sCATGetEventReportResponse_GatewayProxy
21291 {
21292 eQMICATDataCodingScheme mDataCodingScheme;
21293 UINT8 mTextDataLength;
21294
21295 // This array must be the size specified by mTextDataLength
21296 // UINT8 mTextData[1];
21297 };
21298
21299 // Structure to describe response TLV 0x45 for CATGetEventReport()
21300 struct sCATGetEventReportResponse_Alpha
21301 {
21302 eQMICATDataCodingScheme mDataCodingScheme;
21303 UINT8 mTextDataLength;
21304
21305 // This array must be the size specified by mTextDataLength
21306 // UINT8 mTextData[1];
21307 };
21308
21309 // Structure to describe response TLV 0x46 for CATGetEventReport()
21310 struct sCATGetEventReportResponse_NotificationRequired
21311 {
21312 eQMICATNotificationRequired mNotificationRequired;
21313 };
21314
21315 // Structure to describe response TLV 0x47 for CATGetEventReport()
21316 struct sCATGetEventReportResponse_PlayToneEvent
21317 {
21318 UINT32 mReferenceID;
21319 UINT16 mCommandLength;
21320
21321 // This array must be the size specified by mCommandLength
21322 // UINT8 mPlayToneCommand[1];
21323 };
21324
21325 // Structure to describe response TLV 0x48 for CATGetEventReport()
21326 struct sCATGetEventReportResponse_SetupCallEvent
21327 {
21328 UINT32 mReferenceID;
21329 UINT16 mCommandLength;
21330
21331 // This array must be the size specified by mCommandLength
21332 // UINT8 mSetupCallCommand[1];
21333 };
21334
21335 // Structure to describe response TLV 0x49 for CATGetEventReport()
21336 struct sCATGetEventReportResponse_SendDTMFEvent
21337 {
21338 UINT32 mReferenceID;
21339 UINT16 mCommandLength;
21340
21341 // This array must be the size specified by mCommandLength
21342 // UINT8 mSendDTMFCommand[1];
21343 };
21344
21345 // Structure to describe response TLV 0x4A for CATGetEventReport()
21346 struct sCATGetEventReportResponse_LaunchBrowserEvent
21347 {
21348 UINT32 mReferenceID;
21349 UINT16 mCommandLength;
21350
21351 // This array must be the size specified by mCommandLength
21352 // UINT8 mLaunchBrowserCommand[1];
21353 };
21354
21355 // Structure to describe response TLV 0x4B for CATGetEventReport()
21356 struct sCATGetEventReportResponse_SendSMSEvent
21357 {
21358 UINT32 mReferenceID;
21359 UINT16 mCommandLength;
21360
21361 // This array must be the size specified by mCommandLength
21362 // UINT8 mSendSMSCommand[1];
21363 };
21364
21365 // Structure to describe response TLV 0x4C for CATGetEventReport()
21366 struct sCATGetEventReportResponse_SendSSEvent
21367 {
21368 UINT32 mReferenceID;
21369 UINT16 mCommandLength;
21370
21371 // This array must be the size specified by mCommandLength
21372 // UINT8 mSendSSCommand[1];
21373 };
21374
21375 // Structure to describe response TLV 0x4D for CATGetEventReport()
21376 struct sCATGetEventReportResponse_SendUSSDEvent
21377 {
21378 UINT32 mReferenceID;
21379 UINT16 mCommandLength;
21380
21381 // This array must be the size specified by mCommandLength
21382 // UINT8 mSendUSSDCommand[1];
21383 };
21384
21385 // Structure to describe response TLV 0x4E for CATGetEventReport()
21386 struct sCATGetEventReportResponse_ProvideLocalInformationEvent
21387 {
21388 UINT32 mReferenceID;
21389 UINT16 mCommandLength;
21390
21391 // This array must be the size specified by mCommandLength
21392 // UINT8 mProvideLocalInformationCommand[1];
21393 };
21394
21395 // Structure to describe response TLV 0x4F for CATGetEventReport()
21396 struct sCATGetEventReportResponse_SetupEventListRawEvent
21397 {
21398 UINT32 mReferenceID;
21399 UINT16 mCommandLength;
21400
21401 // This array must be the size specified by mCommandLength
21402 // UINT8 mSetupEventListCommand[1];
21403 };
21404
21405 // Structure to describe response TLV 0x50 for CATGetEventReport()
21406 struct sCATGetEventReportResponse_Slot
21407 {
21408 eQMICATSlot mSlot;
21409 };
21410
21411 // Structure to describe response TLV 0x51 for CATGetEventReport()
21412 struct sCATGetEventReportResponse_OpenChannelEvent
21413 {
21414 UINT32 mReferenceID;
21415 UINT16 mCommandLength;
21416
21417 // This array must be the size specified by mCommandLength
21418 // UINT8 mOpenChannelCommand[1];
21419 };
21420
21421 // Structure to describe response TLV 0x52 for CATGetEventReport()
21422 struct sCATGetEventReportResponse_CloseChannelEvent
21423 {
21424 UINT32 mReferenceID;
21425 UINT16 mCommandLength;
21426
21427 // This array must be the size specified by mCommandLength
21428 // UINT8 mCloseChannelCommand[1];
21429 };
21430
21431 // Structure to describe response TLV 0x53 for CATGetEventReport()
21432 struct sCATGetEventReportResponse_SendDataEvent
21433 {
21434 UINT32 mReferenceID;
21435 UINT16 mCommandLength;
21436
21437 // This array must be the size specified by mCommandLength
21438 // UINT8 mSendDataCommand[1];
21439 };
21440
21441 // Structure to describe response TLV 0x54 for CATGetEventReport()
21442 struct sCATGetEventReportResponse_ReceiveDataEvent
21443 {
21444 UINT32 mReferenceID;
21445 UINT16 mCommandLength;
21446
21447 // This array must be the size specified by mCommandLength
21448 // UINT8 mReceiveDataCommand[1];
21449 };
21450
21451 // Structure to describe response TLV 0x55 for CATGetEventReport()
21452 struct sCATGetEventReportResponse_OnDemandLinkEstablish
21453 {
21454 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
21455 };
21456
21457 // Structure to describe response TLV 0x56 for CATGetEventReport()
21458 struct sCATGetEventReportResponse_CSDBearerDescription
21459 {
21460 UINT8 mSpeed;
21461 eQMICATCSDBearerName mCSDBearerName;
21462 eQMICATConnectionElement mConnectionElement;
21463 };
21464
21465 // Structure to describe response TLV 0x57 for CATGetEventReport()
21466 struct sCATGetEventReportResponse_GPRSBearerDescription
21467 {
21468 UINT8 mPrecedenceClass;
21469 UINT8 mDelayClass;
21470 UINT8 mReliabilityClass;
21471 UINT8 mPeakThroughput;
21472 UINT8 mMeanThroughput;
21473 eQMICATPacketDataProtocol mPacketDataProtocol;
21474 };
21475
21476 // Structure to describe response TLV 0x58 for CATGetEventReport()
21477 struct sCATGetEventReportResponse_EUTRANExternalParameterBearerDescription
21478 {
21479 eQMICATTrafficClass mTrafficClass;
21480 UINT16 mMaxUploadBitrate;
21481 UINT16 mMaxDownloadBitrate;
21482 UINT16 mGuaranteedUploadBitrate;
21483 UINT16 mGuaranteedDownloadBitrate;
21484 eQMICATDeliveryOrder mDeliveryOrder;
21485 UINT8 mMaxSDUSize;
21486 UINT8 mMaxSDUErrorRatio;
21487 UINT8 mResidualBitErrorRatio;
21488 eQMICATDeliverErrorSDU mDeliverErrorSDU;
21489 UINT8 mTransferDelay;
21490 UINT8 mTrafficHandlingPRI;
21491 eQMICATPDPType mPDPType;
21492 };
21493
21494 // Structure to describe response TLV 0x59 for CATGetEventReport()
21495 struct sCATGetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
21496 {
21497 UINT8 mQCI;
21498 UINT8 mMaxUploadBitrate;
21499 UINT8 mMaxDownloadBitrate;
21500 UINT8 mGuaranteedUploadBitrate;
21501 UINT8 mGuaranteedDownloadBitrate;
21502 UINT8 mMaximumUploadBitrateExt;
21503 UINT8 mMaximumDownloadBitrateExt;
21504 UINT8 mGuaranteedUploadBitrateExt;
21505 UINT8 mGuaranteedDownloadBitrateExt;
21506 eQMICATPDPType mPDPType;
21507 };
21508
21509 // Structure to describe response TLV 0x5A for CATGetEventReport()
21510 struct sCATGetEventReportResponse_BufferSize
21511 {
21512 UINT16 mBufferSize;
21513 };
21514
21515 // Structure to describe response TLV 0x5B for CATGetEventReport()
21516 struct sCATGetEventReportResponse_NetworkAccessName
21517 {
21518 UINT8 mNetworkAccessNameLength;
21519
21520 // This array must be the size specified by mNetworkAccessNameLength
21521 // UINT8 mNetworkAccessName[1];
21522 };
21523
21524 // Structure to describe response TLV 0x5C for CATGetEventReport()
21525 struct sCATGetEventReportResponse_OtherAddress
21526 {
21527 eQMICATAddressType mAddressType;
21528 UINT8 mAddressDataLength;
21529
21530 // This array must be the size specified by mAddressDataLength
21531 // char mAddressData[1];
21532 };
21533
21534 // Structure to describe response TLV 0x5D for CATGetEventReport()
21535 struct sCATGetEventReportResponse_UserLogin
21536 {
21537 eQMICATDataCodingScheme mDataCodingScheme;
21538 UINT8 mTextDataLength;
21539
21540 // This array must be the size specified by mTextDataLength
21541 // UINT8 mTextData[1];
21542 };
21543
21544 // Structure to describe response TLV 0x5E for CATGetEventReport()
21545 struct sCATGetEventReportResponse_UserPassword
21546 {
21547 eQMICATDataCodingScheme mDataCodingScheme;
21548 UINT8 mTextDataLength;
21549
21550 // This array must be the size specified by mTextDataLength
21551 // UINT8 mTextData[1];
21552 };
21553
21554 // Structure to describe response TLV 0x5F for CATGetEventReport()
21555 struct sCATGetEventReportResponse_TransportLevel
21556 {
21557 eQMICATTransportProtocol mTransportProtocol;
21558 UINT16 mPortNumber;
21559 };
21560
21561 // Structure to describe response TLV 0x60 for CATGetEventReport()
21562 struct sCATGetEventReportResponse_DataDestinationAddress
21563 {
21564 eQMICATAddressType mAddressType;
21565 UINT8 mAddressDataLength;
21566
21567 // This array must be the size specified by mAddressDataLength
21568 // char mAddressData[1];
21569 };
21570
21571 // Structure to describe response TLV 0x61 for CATGetEventReport()
21572 struct sCATGetEventReportResponse_ChannelDataLength
21573 {
21574 UINT8 mChannelDataLength;
21575 };
21576
21577 // Structure to describe response TLV 0x62 for CATGetEventReport()
21578 struct sCATGetEventReportResponse_SendDataImmediately
21579 {
21580 eQMICATSendDataImmediately mSendDataImmediately;
21581 };
21582
21583 // Structure to describe response TLV 0x63 for CATGetEventReport()
21584 struct sCATGetEventReportResponse_ChannelData
21585 {
21586 UINT16 mChannelDataLength;
21587
21588 // This array must be the size specified by mChannelDataLength
21589 // UINT8 mChannelData[1];
21590 };
21591
21592 // Structure to describe response TLV 0x64 for CATGetEventReport()
21593 struct sCATGetEventReportResponse_ChannelID
21594 {
21595 UINT8 mChannelID;
21596 };
21597
21598 // Structure to describe request TLV 0x01 for CATSendDecodedTerminalResponse()
21599 struct sCATSendDecodedTerminalResponseRequest_TerminalResponse
21600 {
21601 UINT32 mReferenceID;
21602 UINT8 mCommandNumber;
21603 eQMICATResponseCommand mResponseCommand;
21604 UINT8 mGeneralResult;
21605 UINT8 mAdditionalInformationLength;
21606
21607 // This array must be the size specified by mAdditionalInformationLength
21608 // UINT8 mTerminalResponseAdditionalInformation[1];
21609 };
21610
21611 // Structure to describe request TLV 0x10 for CATSendDecodedTerminalResponse()
21612 struct sCATSendDecodedTerminalResponseRequest_TextString
21613 {
21614 eQMICATDataCodingScheme mDataCodingScheme;
21615 UINT8 mTextDataLength;
21616
21617 // This array must be the size specified by mTextDataLength
21618 // UINT8 mTextData[1];
21619 };
21620
21621 // Structure to describe request TLV 0x11 for CATSendDecodedTerminalResponse()
21622 struct sCATSendDecodedTerminalResponseRequest_ItemIdentifier
21623 {
21624 UINT8 mItemIdentifier;
21625 };
21626
21627 // Structure to describe request TLV 0x12 for CATSendDecodedTerminalResponse()
21628 struct sCATSendDecodedTerminalResponseRequest_GetInkeyExtraInfo
21629 {
21630 eQMICATTimeUnits mUnits;
21631 UINT8 mInterval;
21632 eQMICATDataCodingScheme mDataCodingScheme;
21633 UINT8 mTextDataLength;
21634
21635 // This array must be the size specified by mTextDataLength
21636 // UINT8 mTextData[1];
21637 };
21638
21639 // Structure to describe request TLV 0x13 for CATSendDecodedTerminalResponse()
21640 struct sCATSendDecodedTerminalResponseRequest_LanguageInfo
21641 {
21642 char mLanguage[2];
21643 };
21644
21645 // Structure to describe request TLV 0x14 for CATSendDecodedTerminalResponse()
21646 struct sCATSendDecodedTerminalResponseRequest_Slot
21647 {
21648 eQMICATSlot mSlot;
21649 };
21650
21651 // Structure to describe request TLV 0x01 for CATSendDecodedEnvelopeCommand()
21652 struct sCATSendDecodedEnvelopeCommandRequest_EnvelopeCommand
21653 {
21654 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
21655 };
21656
21657 // Structure to describe request TLV 0x10 for CATSendDecodedEnvelopeCommand()
21658 struct sCATSendDecodedEnvelopeCommandRequest_ItemIdentifier
21659 {
21660 UINT8 mItemIdentifier;
21661 };
21662
21663 // Structure to describe request TLV 0x11 for CATSendDecodedEnvelopeCommand()
21664 struct sCATSendDecodedEnvelopeCommandRequest_HelpRequest
21665 {
21666 eQMICATHelpRequest mHelpRequest;
21667 };
21668
21669 // Structure to describe request TLV 0x12 for CATSendDecodedEnvelopeCommand()
21670 struct sCATSendDecodedEnvelopeCommandRequest_Language
21671 {
21672 char mLanguage[2];
21673 };
21674
21675 // Structure to describe request TLV 0x13 for CATSendDecodedEnvelopeCommand()
21676 struct sCATSendDecodedEnvelopeCommandRequest_Slot
21677 {
21678 eQMICATSlot mSlot;
21679 };
21680
21681 // Structure to describe request TLV 0x14 for CATSendDecodedEnvelopeCommand()
21682 struct sCATSendDecodedEnvelopeCommandRequest_Address
21683 {
21684 eQMICATAddressTON mAddressTON;
21685 eQMICATAddressNPI mAddressNPI;
21686 UINT8 mAddressDataLength;
21687
21688 // This array must be the size specified by mAddressDataLength
21689 // char mAddressData[1];
21690 };
21691
21692 // Structure to describe request TLV 0x15 for CATSendDecodedEnvelopeCommand()
21693 struct sCATSendDecodedEnvelopeCommandRequest_Subaddress
21694 {
21695 UINT8 mSubaddressDataLength;
21696
21697 struct sSubaddressData
21698 {
21699 UINT8 mSubaddressData1:4;
21700 UINT8 mSubaddressData2:4;
21701 };
21702
21703 // This array must be the size specified by mSubaddressDataLength
21704 // sSubaddressData mSubaddressDatas[1];
21705 };
21706
21707 // Structure to describe request TLV 0x16 for CATSendDecodedEnvelopeCommand()
21708 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
21709 {
21710 UINT8 mCapabilitesConfigurationLength;
21711
21712 // This array must be the size specified by mCapabilitesConfigurationLength
21713 // UINT8 mCapabilitiesConfiguration[1];
21714 };
21715
21716 // Structure to describe request TLV 0x17 for CATSendDecodedEnvelopeCommand()
21717 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
21718 {
21719 UINT8 mCapabilitesConfigurationLength;
21720
21721 // This array must be the size specified by mCapabilitesConfigurationLength
21722 // UINT8 mCapabilitiesConfiguration[1];
21723 };
21724
21725 // Structure to describe request TLV 0x18 for CATSendDecodedEnvelopeCommand()
21726 struct sCATSendDecodedEnvelopeCommandRequest_USSDString
21727 {
21728 eQMICATDataCodingScheme mDataCodingScheme;
21729 UINT8 mTextDataLength;
21730
21731 // This array must be the size specified by mTextDataLength
21732 // UINT8 mTextData[1];
21733 };
21734
21735 // Structure to describe request TLV 0x19 for CATSendDecodedEnvelopeCommand()
21736 struct sCATSendDecodedEnvelopeCommandRequest_PDPContextActivation
21737 {
21738 UINT8 mPDPContextActivationDataLength;
21739
21740 // This array must be the size specified by mPDPContextActivationDataLength
21741 // UINT8 mPDPContextActivationData[1];
21742 };
21743
21744 // Structure to describe request TLV 0x1A for CATSendDecodedEnvelopeCommand()
21745 struct sCATSendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
21746 {
21747 UINT8 mEPSPDNConnectActivationDataLength;
21748
21749 // This array must be the size specified by mEPSPDNConnectActivationDataLength
21750 // UINT8 mEPSPDNConnectActivationData[1];
21751 };
21752
21753 // Structure to describe response TLV 0x10 for CATSendDecodedEnvelopeCommand()
21754 struct sCATSendDecodedEnvelopeCommandResponse_CallControlResult
21755 {
21756 eQMICATCallControlResult mCallControlResult;
21757 };
21758
21759 // Structure to describe response TLV 0x11 for CATSendDecodedEnvelopeCommand()
21760 struct sCATSendDecodedEnvelopeCommandResponse_Address
21761 {
21762 eQMICATAddressTON mAddressTON;
21763 eQMICATAddressNPI mAddressNPI;
21764 UINT8 mAddressDataLength;
21765
21766 // This array must be the size specified by mAddressDataLength
21767 // char mAddressData[1];
21768 };
21769
21770 // Structure to describe response TLV 0x12 for CATSendDecodedEnvelopeCommand()
21771 struct sCATSendDecodedEnvelopeCommandResponse_Subaddress
21772 {
21773 UINT8 mSubaddressDataLength;
21774
21775 struct sSubaddressData
21776 {
21777 UINT8 mSubaddressData1:4;
21778 UINT8 mSubaddressData2:4;
21779 };
21780
21781 // This array must be the size specified by mSubaddressDataLength
21782 // sSubaddressData mSubaddressDatas[1];
21783 };
21784
21785 // Structure to describe response TLV 0x13 for CATSendDecodedEnvelopeCommand()
21786 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
21787 {
21788 UINT8 mCapabilitesConfigurationLength;
21789
21790 // This array must be the size specified by mCapabilitesConfigurationLength
21791 // UINT8 mCapabilitiesConfiguration[1];
21792 };
21793
21794 // Structure to describe response TLV 0x14 for CATSendDecodedEnvelopeCommand()
21795 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
21796 {
21797 UINT8 mCapabilitesConfigurationLength;
21798
21799 // This array must be the size specified by mCapabilitesConfigurationLength
21800 // UINT8 mCapabilitiesConfiguration[1];
21801 };
21802
21803 // Structure to describe response TLV 0x15 for CATSendDecodedEnvelopeCommand()
21804 struct sCATSendDecodedEnvelopeCommandResponse_USSDString
21805 {
21806 eQMICATDataCodingScheme mDataCodingScheme;
21807 UINT8 mTextDataLength;
21808
21809 // This array must be the size specified by mTextDataLength
21810 // UINT8 mTextData[1];
21811 };
21812
21813 // Structure to describe response TLV 0x16 for CATSendDecodedEnvelopeCommand()
21814 struct sCATSendDecodedEnvelopeCommandResponse_PDPContextActivation
21815 {
21816 UINT8 mPDPContextActivationDataLength;
21817
21818 // This array must be the size specified by mPDPContextActivationDataLength
21819 // UINT8 mPDPContextActivationData[1];
21820 };
21821
21822 // Structure to describe response TLV 0x17 for CATSendDecodedEnvelopeCommand()
21823 struct sCATSendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
21824 {
21825 UINT8 mEPSPDNConnectActivationDataLength;
21826
21827 // This array must be the size specified by mEPSPDNConnectActivationDataLength
21828 // UINT8 mEPSPDNConnectActivationData[1];
21829 };
21830
21831 // Structure to describe response TLV 0x18 for CATSendDecodedEnvelopeCommand()
21832 struct sCATSendDecodedEnvelopeCommandResponse_Alpha
21833 {
21834 eQMICATDataCodingScheme mDataCodingScheme;
21835 UINT8 mTextDataLength;
21836
21837 // This array must be the size specified by mTextDataLength
21838 // UINT8 mTextData[1];
21839 };
21840
21841 // Structure to describe response TLV 0x19 for CATSendDecodedEnvelopeCommand()
21842 struct sCATSendDecodedEnvelopeCommandResponse_BCRepeatIndicator
21843 {
21844 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
21845 };
21846
21847 // Structure to describe request TLV 0x10 for CATEventConfirmation()
21848 struct sCATEventConfirmationRequest_UserConfirmed
21849 {
21850 eQMICATUserConfirmed mUserConfirmed;
21851 };
21852
21853 // Structure to describe request TLV 0x11 for CATEventConfirmation()
21854 struct sCATEventConfirmationRequest_IconIsDisplayed
21855 {
21856 eQMICATIconIsDisplayed mIconIsDisplayed;
21857 };
21858
21859 // Structure to describe request TLV 0x12 for CATEventConfirmation()
21860 struct sCATEventConfirmationRequest_Slot
21861 {
21862 eQMICATSlot mSlot;
21863 };
21864
21865 // Structure to describe request TLV 0x01 for CATSCWSOpenChannel()
21866 struct sCATSCWSOpenChannelRequest_ChannelStatus
21867 {
21868 UINT32 mChannelID;
21869 eQMICATChannelState mChannelState;
21870 };
21871
21872 // Structure to describe request TLV 0x10 for CATSCWSOpenChannel()
21873 struct sCATSCWSOpenChannelRequest_Slot
21874 {
21875 eQMICATSlot mSlot;
21876 };
21877
21878 // Structure to describe indication TLV 0x10 for CAT SCWSOpenChannelIndication
21879 struct sCATSCWSOpenChannelIndication_OpenChannelInformation
21880 {
21881 UINT32 mChannelID;
21882 UINT16 mPortNumber;
21883 UINT16 mBufferSize;
21884 };
21885
21886 // Structure to describe indication TLV 0x11 for CAT SCWSOpenChannelIndication
21887 struct sCATSCWSOpenChannelIndication_Slot
21888 {
21889 eQMICATSlot mSlot;
21890 };
21891
21892 // Structure to describe request TLV 0x01 for CATSCWSCloseChannel()
21893 struct sCATSCWSCloseChannelRequest_ChannelStatus
21894 {
21895 UINT32 mChannelID;
21896 eQMICATChannelState mChannelState;
21897 };
21898
21899 // Structure to describe request TLV 0x10 for CATSCWSCloseChannel()
21900 struct sCATSCWSCloseChannelRequest_Slot
21901 {
21902 eQMICATSlot mSlot;
21903 };
21904
21905 // Structure to describe indication TLV 0x10 for CAT SCWSCloseChannelIndication
21906 struct sCATSCWSCloseChannelIndication_CloseChannelInfo
21907 {
21908 UINT32 mChannelID;
21909 eQMICATChannelState mChannelState;
21910 };
21911
21912 // Structure to describe response TLV 0x11 for CATSCWSCloseChannel()
21913 struct sCATSCWSCloseChannelResponse_Slot
21914 {
21915 eQMICATSlot mSlot;
21916 };
21917
21918 // Structure to describe request TLV 0x01 for CATSCWSSendData()
21919 struct sCATSCWSSendDataRequest_ChannelStatus
21920 {
21921 UINT32 mChannelID;
21922 eQMICATSendDataResult mDataSendResult;
21923 };
21924
21925 // Structure to describe request TLV 0x10 for CATSCWSSendData()
21926 struct sCATSCWSSendDataRequest_Slot
21927 {
21928 eQMICATSlot mSlot;
21929 };
21930
21931 // Structure to describe indication TLV 0x10 for CAT SCWSSendDataIndication
21932 struct sCATSCWSSendDataIndication_SendDataInfo
21933 {
21934 UINT32 mChannelID;
21935 UINT8 mTotalPackets;
21936 UINT8 mCurrentPacket;
21937 UINT16 mDataLength;
21938
21939 // This array must be the size specified by mDataLength
21940 // UINT8 mData[1];
21941 };
21942
21943 // Structure to describe indication TLV 0x11 for CAT SCWSSendDataIndication
21944 struct sCATSCWSSendDataIndication_Slot
21945 {
21946 eQMICATSlot mSlot;
21947 };
21948
21949 // Structure to describe request TLV 0x01 for CATSCWSDataAvailable()
21950 struct sCATSCWSDataAvailableRequest_RemainingData
21951 {
21952 UINT32 mChannelID;
21953 UINT16 mDataLength;
21954
21955 // This array must be the size specified by mDataLength
21956 // UINT8 mData[1];
21957 };
21958
21959 // Structure to describe request TLV 0x10 for CATSCWSDataAvailable()
21960 struct sCATSCWSDataAvailableRequest_Slot
21961 {
21962 eQMICATSlot mSlot;
21963 };
21964
21965 // Structure to describe request TLV 0x01 for CATSCWSChannelStatus()
21966 struct sCATSCWSChannelStatusRequest_ChannelStatus
21967 {
21968 UINT32 mChannelID;
21969 eQMICATChannelState mChannelState;
21970 };
21971
21972 // Structure to describe request TLV 0x10 for CATSCWSChannelStatus()
21973 struct sCATSCWSChannelStatusRequest_Slot
21974 {
21975 eQMICATSlot mSlot;
21976 };
21977
21978 // Structure to describe response TLV 0x10 for RMSGetSMSWake()
21979 struct sRMSGetSMSWakeResponse_State
21980 {
21981 INT8 mSMSWakeEnabled;
21982 };
21983
21984 // Structure to describe request TLV 0x11 for RMSGetSMSWake()
21985 struct sRMSGetSMSWakeRequest_Mask
21986 {
21987 UINT32 mMask;
21988 };
21989
21990 // Structure to describe request TLV 0x10 for RMSSetSMSWake()
21991 struct sRMSSetSMSWakeRequest_State
21992 {
21993 INT8 mSMSWakeEnabled;
21994 };
21995
21996 // Structure to describe request TLV 0x11 for RMSSetSMSWake()
21997 struct sRMSSetSMSWakeRequest_Mask
21998 {
21999 UINT32 mMask;
22000 };
22001
22002 // Structure to describe request TLV 0x10 for OMASetEventReport()
22003 struct sOMASetEventReportRequest_NIA
22004 {
22005 INT8 mReportNetworkInitiatedAlerts;
22006 };
22007
22008 // Structure to describe request TLV 0x11 for OMASetEventReport()
22009 struct sOMASetEventReportRequest_Status
22010 {
22011 INT8 mReportSessionStatus;
22012 };
22013
22014 // Structure to describe indication TLV 0x10 for OMA EventReport
22015 struct sOMAEventReportIndication_NIA
22016 {
22017 eQMIOMASessionTypes mSessionType;
22018 UINT16 mSessionID;
22019 };
22020
22021 // Structure to describe indication TLV 0x11 for OMA EventReport
22022 struct sOMAEventReportIndication_Status
22023 {
22024 eQMIOMASessionStates mSessionState;
22025 };
22026
22027 // Structure to describe indication TLV 0x12 for OMA EventReport
22028 struct sOMAEventReportIndication_Failure
22029 {
22030 eQMIOMASessionFailureReasons mSessionFailure;
22031 };
22032
22033 // Structure to describe request TLV 0x10 for OMAStartSession()
22034 struct sOMAStartSessionRequest_Type
22035 {
22036 eQMIOMASessionTypes mSessionType;
22037 };
22038
22039 // Structure to describe response TLV 0x10 for OMAGetSessionInfo()
22040 struct sOMAGetSessionInfoResponse_Info
22041 {
22042 eQMIOMASessionStates mSessionState;
22043 eQMIOMASessionTypes mSessionType;
22044 };
22045
22046 // Structure to describe response TLV 0x11 for OMAGetSessionInfo()
22047 struct sOMAGetSessionInfoResponse_Failure
22048 {
22049 eQMIOMASessionFailureReasons mSessionFailure;
22050 };
22051
22052 // Structure to describe response TLV 0x12 for OMAGetSessionInfo()
22053 struct sOMAGetSessionInfoResponse_Retry
22054 {
22055 UINT8 mRetryCount;
22056 UINT16 mRetryPauseTimer;
22057 UINT16 mRemainingTime;
22058 };
22059
22060 // Structure to describe response TLV 0x13 for OMAGetSessionInfo()
22061 struct sOMAGetSessionInfoResponse_NIA
22062 {
22063 eQMIOMASessionTypes mSessionType;
22064 UINT16 mSessionID;
22065 };
22066
22067 // Structure to describe request TLV 0x10 for OMASendSelection()
22068 struct sOMASendSelectionRequest_Type
22069 {
22070 eQMIOMASelections mSelection;
22071 UINT16 mSessionID;
22072 };
22073
22074 // Structure to describe response TLV 0x10 for OMAGetFeatures()
22075 struct sOMAGetFeaturesResponse_Provisioning
22076 {
22077 INT8 mDeviceProvisioningServiceUpdateEnabled;
22078 };
22079
22080 // Structure to describe response TLV 0x11 for OMAGetFeatures()
22081 struct sOMAGetFeaturesResponse_PRLUpdate
22082 {
22083 INT8 mPRLServiceUpdateEnabled;
22084 };
22085
22086 // Structure to describe response TLV 0x12 for OMAGetFeatures()
22087 struct sOMAGetFeaturesResponse_HFAFeature
22088 {
22089 INT8 mHFAFeatureEnabled;
22090 };
22091
22092 // Structure to describe response TLV 0x13 for OMAGetFeatures()
22093 struct sOMAGetFeaturesResponse_HFADoneState
22094 {
22095 eQMIOMAHFADoneStates mHFAFeatureDoneState;
22096 };
22097
22098 // Structure to describe request TLV 0x10 for OMASetFeatures()
22099 struct sOMASetFeaturesRequest_Provisioning
22100 {
22101 INT8 mDeviceProvisioningServiceUpdateEnabled;
22102 };
22103
22104 // Structure to describe request TLV 0x11 for OMASetFeatures()
22105 struct sOMASetFeaturesRequest_PRLUpdate
22106 {
22107 INT8 mPRLServiceUpdateEnabled;
22108 };
22109
22110 // Structure to describe request TLV 0x12 for OMASetFeatures()
22111 struct sOMASetFeaturesRequest_HFAFeature
22112 {
22113 INT8 mHFAFeatureEnabled;
22114 };
22115
22116
22117 #pragma pack( pop )