Debian Codegraph @

gobi-api/GobiAPI_2012-07-12-1036/GobiConnectionMgmt/GobiConnectionMgmtAPIStructs.h

raw
1 /*===========================================================================
2 FILE:
3 GobiConnectionMgmtAPIStructs.h
4
5 DESCRIPTION:
6 Declaration of the Gobi API structures
7
8 Copyright (c) 2012, 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 // Structure to represent a QMUX header
44 struct sQMUXHeader
45 {
46 // mIF is always 1
47 BYTE mIF;
48
49 // mLength is full size of QMUX message NOT including mIF
50 WORD mLength;
51
52 // Flags are always 0 for clients
53 BYTE mFlags;
54
55 eQMIService mServiceType;
56 BYTE mClientID;
57 };
58
59 // Structure to represent a QMI Control Raw Transaction Header
60 struct sQMIControlRawTransactionHeader
61 {
62 BYTE mResponse :1;
63 BYTE mIndication :1;
64 BYTE mReserved :6;
65 BYTE mTransactionID;
66 };
67
68 // Structure to represent a QMI Service Raw Transaction Header
69 struct sQMIServiceRawTransactionHeader
70 {
71 BYTE mCompound :1;
72 BYTE mResponse :1;
73 BYTE mIndication :1;
74 BYTE mReserved :5;
75 WORD mTransactionID;
76 };
77
78 // Structure to represetn a QMI Raw Message Header
79 struct sQMIRawMessageHeader
80 {
81 WORD mMessageID;
82 WORD mLength;
83
84 // This array must be the size specified by mLength
85 // BYTE mTLV[1];
86 };
87
88 // Structure to represent a QMUX message
89 struct sQMUXMessage
90 {
91 sQMUXHeader mQMUXHeader;
92
93 // Either a sQMUXControlRawTransactionHeader or
94 // sQMIServiceRawTransactionHeader should go here
95
96 sQMIRawMessageHeader mQMIRawMessageHeader;
97 };
98
99 // Structure to represent a QMI (control/service) content
100 struct sQMIRawContentHeader
101 {
102 BYTE mTypeID;
103 WORD mLength;
104
105 // This array must be the size specified by mLength
106 // BYTE mValue[1];
107 };
108
109 // Structure to describe request TLV 0x01 for QMI CTL Get Client ID
110 struct sQMICTLGetClientID_ServiceType
111 {
112 eQMIService mQMIService;
113 };
114
115 // Structure to describe response TLV 0x01 for QMI CTL Get Client ID
116 struct sQMICTLGetClientID_AssignedClientID
117 {
118 eQMIService mQMIService;
119 BYTE mClientID;
120 };
121
122 // Structure to describe TLV 0x02, the Result Code
123 // It is common for all Responses
124 struct sResultCode
125 {
126 eQMIResults mQMIResult;
127 eQMIErrors mQMIError;
128 };
129
130 // Structure to describe TLV 0x01 for QMI LOC, the status
131 // It is common for QMI LOC indications above 0x0032
132 struct sLOCIndication_Status
133 {
134 eQMILOCStatus mStatus;
135 };
136
137 // Structure to describe request TLV 0x10 for WDSSetEventReport()
138 struct sWDSSetEventReportRequest_ChannelRateIndicator
139 {
140 INT8 mReportChannelRate;
141 };
142
143 // Structure to describe request TLV 0x11 for WDSSetEventReport()
144 struct sWDSSetEventReportRequest_TransferStatisticsIndicator
145 {
146 UINT8 mTransferStatisticsIntervalSeconds;
147 bool mReportTXPacketSuccesses:1;
148 bool mReportRXPacketSuccesses:1;
149 bool mReportTXPacketErrors:1;
150 bool mReportRXPacketErrors:1;
151 bool mReportTXOverflows:1;
152 bool mReportRXOverflows:1;
153 bool mTXByteTotal:1;
154 bool mRXByteTotal:1;
155 bool mTXPacketsDropped:1;
156 bool mRXPacketsDropped:1;
157
158 // Padding out 22 bits
159 UINT8 mReserved1:6;
160 UINT8 mReserved2[2];
161 };
162
163 // Structure to describe request TLV 0x12 for WDSSetEventReport()
164 struct sWDSSetEventReportRequest_DataBearerTechnologyIndicator
165 {
166 INT8 mReportDataBearerTechnology;
167 };
168
169 // Structure to describe request TLV 0x13 for WDSSetEventReport()
170 struct sWDSSetEventReportRequest_DormancyStatusIndicator
171 {
172 INT8 mReportDormancyStatus;
173 };
174
175 // Structure to describe request TLV 0x14 for WDSSetEventReport()
176 struct sWDSSetEventReportRequest_MIPStatusIndicator
177 {
178 INT8 mReportMIPStatus;
179 };
180
181 // Structure to describe request TLV 0x15 for WDSSetEventReport()
182 struct sWDSSetEventReportRequest_CurrentDataBearerTechnologyIndicator
183 {
184 INT8 mReportDataBearerTechnology;
185 };
186
187 // Structure to describe request TLV 0x17 for WDSSetEventReport()
188 struct sWDSSetEventReportRequest_DataCallStatusIndicator
189 {
190 INT8 mReportDataCallStatus;
191 };
192
193 // Structure to describe request TLV 0x18 for WDSSetEventReport()
194 struct sWDSSetEventReportRequest_PreferredDataSystemIndicator
195 {
196 INT8 mReportPreferredDataSystem;
197 };
198
199 // Structure to describe request TLV 0x19 for WDSSetEventReport()
200 struct sWDSSetEventReportRequest_EVDOPMChangeIndicator
201 {
202 INT8 mReportEVDOPageMonitorPeriodChange;
203 };
204
205 // Structure to describe request TLV 0x1A for WDSSetEventReport()
206 struct sWDSSetEventReportRequest_DataSystemsIndicator
207 {
208 INT8 mReportDataSystems;
209 };
210
211 // Structure to describe request TLV 0x1B for WDSSetEventReport()
212 struct sWDSSetEventReportRequest_UplinkFlowControlIndicator
213 {
214 INT8 mReportUplinkFlowControl;
215 };
216
217 // Structure to describe indication TLV 0x10 for WDS EventReport
218 struct sWDSEventReportIndication_TXPacketSuccesses
219 {
220 UINT32 mTXPacketSuccesses;
221 };
222
223 // Structure to describe indication TLV 0x11 for WDS EventReport
224 struct sWDSEventReportIndication_RXPacketSuccesses
225 {
226 UINT32 mRXPacketSuccesses;
227 };
228
229 // Structure to describe indication TLV 0x12 for WDS EventReport
230 struct sWDSEventReportIndication_TXPacketErrors
231 {
232 UINT32 mTXPacketErrors;
233 };
234
235 // Structure to describe indication TLV 0x13 for WDS EventReport
236 struct sWDSEventReportIndication_RXPacketErrors
237 {
238 UINT32 mRXPacketErrors;
239 };
240
241 // Structure to describe indication TLV 0x14 for WDS EventReport
242 struct sWDSEventReportIndication_TXOverflows
243 {
244 UINT32 mTXOverflows;
245 };
246
247 // Structure to describe indication TLV 0x15 for WDS EventReport
248 struct sWDSEventReportIndication_RXOverflows
249 {
250 UINT32 mRXOverflows;
251 };
252
253 // Structure to describe indication TLV 0x16 for WDS EventReport
254 struct sWDSEventReportIndication_ChannelRates
255 {
256 UINT32 mChannelTXRatebps;
257 UINT32 mChannelRXRatebps;
258 };
259
260 // Structure to describe indication TLV 0x17 for WDS EventReport
261 struct sWDSEventReportIndication_DataBearerTechnology
262 {
263 eQMIDataBearerTechnologies mDataBearerTechnology;
264 };
265
266 // Structure to describe indication TLV 0x18 for WDS EventReport
267 struct sWDSEventReportIndication_DormancyStatus
268 {
269 eQMIDormancyStatus mDormancyStatus;
270 };
271
272 // Structure to describe indication TLV 0x19 for WDS EventReport
273 struct sWDSEventReportIndication_TXBytes
274 {
275 UINT64 mTXByteTotal;
276 };
277
278 // Structure to describe indication TLV 0x1A for WDS EventReport
279 struct sWDSEventReportIndication_RXBytes
280 {
281 UINT64 mRXByteTotal;
282 };
283
284 // Structure to describe indication TLV 0x1B for WDS EventReport
285 struct sWDSEventReportIndication_MIPStatus
286 {
287 UINT8 mMIPStatus;
288 };
289
290 // Structure to describe indication TLV 0x1D for WDS EventReport
291 struct sWDSEventReportIndication_CurrentDataBearerTechnology
292 {
293 eQMIWDSNetworkTypes mNetworkType;
294
295 // The following union is based on the value of mNetworkType
296 union uValOfNetworkType
297 {
298 // If the value of mNetworkType == 1
299 struct sNetworkTypeIs1
300 {
301 bool mCDMA1x:1;
302 bool mCDMA1xEvDORev0:1;
303 bool mCDMA1xEvDORevA:1;
304 bool mCDMA1xEvDORevB:1;
305 bool mCDMAEHRPD:1;
306 bool mCDMAFMC:1;
307
308 // Padding out 25 bits
309 UINT8 mReserved1:2;
310 UINT8 mReserved2[2];
311 UINT8 mReserved3:7;
312
313 bool mNullBearer:1;
314
315 // The following union is for handing both mCDMA1x and mCDMA1xEvDORev(0, A, B)
316 union uValOfCDMA1x_or_CDMA1xEvDORevX
317 {
318 // If the value of mCDMA1x == 1
319 struct sCDMA1xIs1
320 {
321 bool mCDMA1xIS95:1;
322 bool mCDMA1xIS2000:1;
323 bool mCDMA1xIS2000RelA:1;
324
325 // Padding out 29 bits
326 UINT8 mReserved4:5;
327 UINT8 mReserved5[3];
328 };
329
330 sCDMA1xIs1 mCDMA1xIs1;
331
332 // If the value of mCDMA1xEvDORev0 == 1
333 struct sCDMA1xEvDORev0Is1
334 {
335 bool mCDMA1xEvDORev0DPA:1;
336
337 // Padding out 31 bits
338 UINT8 mReserved6:7;
339 UINT8 mReserved7[3];
340 };
341
342 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
343
344 // If the value of mCDMA1xEvDORevA == 1
345 struct sCDMA1xEvDORevAIs1
346 {
347 bool mCDMA1xEvDORevADPA:1;
348 bool mCDMA1xEvDORevAMFPA:1;
349 bool mCDMA1xEvDORevAEMPA:1;
350 bool mCDMA1xEvDORevAEMPAEHRPD:1;
351
352 // Padding out 28 bits
353 UINT8 mReserved8:4;
354 UINT8 mReserved9[3];
355 };
356
357 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
358
359 // If the value of mCDMA1xEvDORevB == 1
360 struct sCDMA1xEvDORevBIs1
361 {
362 bool mCDMA1xEvDORevBDPA:1;
363 bool mCDMA1xEvDORevBMFPA:1;
364 bool mCDMA1xEvDORevBEMPA:1;
365 bool mCDMA1xEvDORevBEMPAEHRPD:1;
366 bool mCDMA1xEvDORevBMMPA:1;
367 bool mCDMA1xEvDORevBMMPAEHRPD:1;
368
369 // Padding out 26 bits
370 UINT8 mReserved10:2;
371 UINT8 mReserved11[3];
372 };
373
374 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
375
376 // Padding out 32 bits
377 UINT8 mReserved12[4];
378 };
379
380 uValOfCDMA1x_or_CDMA1xEvDORevX mValOfCDMA1x_or_CDMA1xEvDORevX;
381 };
382
383 sNetworkTypeIs1 mNetworkTypeIs1;
384
385 // If the value of mNetworkType == 2
386 struct sNetworkTypeIs2
387 {
388 bool mWCDMA:1;
389 bool mGPRS:1;
390 bool mHSDPA:1;
391 bool mHSUPA:1;
392 bool mEDGE:1;
393 bool mLTE:1;
394 bool mHSDPAPlus:1;
395 bool mDualCellHSDPAPlus:1;
396 bool m64QAM:1;
397 bool mTDSCDMA:1;
398
399 // Padding out 21 bits
400 UINT8 mReserved13:6;
401 UINT8 mReserved14;
402 UINT8 mReserved15:7;
403
404 bool mNullBearer:1;
405 };
406
407 sNetworkTypeIs2 mNetworkTypeIs2;
408
409 // Padding out 64 bits
410 UINT8 mReserved16[8];
411 };
412
413 uValOfNetworkType mValOfNetworkType;
414 };
415
416 // Structure to describe indication TLV 0x1F for WDS EventReport
417 struct sWDSEventReportIndication_DataCallStatus
418 {
419 eQMIWDSDataCallStatus mDataCallStatus;
420 };
421
422 // Structure to describe indication TLV 0x20 for WDS EventReport
423 struct sWDSEventReportIndication_PreferredDataSystem
424 {
425 eQMIWDSDataSystems mPreferredDataSystem;
426 };
427
428 // Structure to describe indication TLV 0x22 for WDS EventReport
429 struct sWDSEventReportIndication_DataCallType
430 {
431 eQMIWDSDataCallTypes mDataCallType;
432 eQMIWDSTetheredCallTypes mTetheredCallType;
433 };
434
435 // Structure to describe indication TLV 0x23 for WDS EventReport
436 struct sWDSEventReportIndication_EVDOPageMonitorPeriodChange
437 {
438 UINT8 mEVDOPageMonitorPeriodChange;
439 INT8 mEVDOForceLongSleep;
440 };
441
442 // Structure to describe indication TLV 0x24 for WDS EventReport
443 struct sWDSEventReportIndication_DataSystems
444 {
445 eQMIWDSDataSystemNetworkTypes mPreferredNetworkType;
446 UINT8 mNetworkCount;
447
448 struct sNetwork
449 {
450 eQMIWDSDataSystemNetworkTypes mNetworkType;
451
452 // The following union is based on the value of mNetworkType
453 union uValOfNetworkType
454 {
455 // If the value of mNetworkType == 0
456 struct sNetworkTypeIs0
457 {
458 bool mWCDMA:1;
459 bool mGPRS:1;
460 bool mHSDPA:1;
461 bool mHSUPA:1;
462 bool mEDGE:1;
463 bool mLTE:1;
464 bool mHSDPAPlus:1;
465 bool mDualCellHSDPAPlus:1;
466 bool m64QAM:1;
467 bool mTDSCDMA:1;
468
469 // Padding out 21 bits
470 UINT8 mReserved1:6;
471 UINT8 mReserved2;
472 UINT8 mReserved3:7;
473
474 bool mNULLBearer:1;
475 };
476
477 sNetworkTypeIs0 mNetworkTypeIs0;
478
479 // If the value of mNetworkType == 1
480 struct sNetworkTypeIs1
481 {
482 bool mCDMA1x:1;
483 bool mCDMA1xEvDORev0:1;
484 bool mCDMA1xEvDORevA:1;
485 bool mCDMA1xEvDORevB:1;
486 bool mCDMAEHRPD:1;
487 bool mCDMAFMC:1;
488
489 // Padding out 25 bits
490 UINT8 mReserved4:2;
491 UINT8 mReserved5[2];
492 UINT8 mReserved6:7;
493
494 bool mNULLBearer:1;
495
496 // The following union is for handing all mCDMA1x types
497 union uValOfCDMA1xTypes
498 {
499 // If the value of mCDMA1x == 1
500 struct sCDMA1xIs1
501 {
502 bool mCDMA1xIS95:1;
503 bool mCDMA1xIS2000:1;
504 bool mCDMA1xIS2000RelA:1;
505
506 // Padding out 29 bits
507 UINT8 mReserved7:5;
508 UINT8 mReserved8[3];
509 };
510
511 sCDMA1xIs1 mCDMA1xIs1;
512
513 // If the value of mCDMA1xEvDORev0 == 1
514 struct sCDMA1xEvDORev0Is1
515 {
516 bool mCDMA1xEvDORev0DPA:1;
517
518 // Padding out 31 bits
519 UINT8 mReserved9:7;
520 UINT8 mReserved10[3];
521 };
522
523 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
524
525 // If the value of mCDMA1xEvDORevA == 1
526 struct sCDMA1xEvDORevAIs1
527 {
528 bool mCDMA1xEvDORevADPA:1;
529 bool mCDMA1xEvDORevAMFPA:1;
530 bool mCDMA1xEvDORevAEMPA:1;
531 bool mCDMA1xEvDORevAEMPAEHRPD:1;
532
533 // Padding out 28 bits
534 UINT8 mReserved11:4;
535 UINT8 mReserved12[3];
536 };
537
538 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
539
540 // If the value of mCDMA1xEvDORevB == 1
541 struct sCDMA1xEvDORevBIs1
542 {
543 bool mCDMA1xEvDORevBDPA:1;
544 bool mCDMA1xEvDORevBMFPA:1;
545 bool mCDMA1xEvDORevBEMPA:1;
546 bool mCDMA1xEvDORevBEMPAEHRPD:1;
547 bool mCDMA1xEvDORevBMMPA:1;
548 bool mCDMA1xEvDORevBMMPAEHRPD:1;
549
550 // Padding out 26 bits
551 UINT8 mReserved13:2;
552 UINT8 mReserved14[3];
553 };
554
555 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
556
557 // Padding out 32 bits
558 UINT8 mReserved15[4];
559 };
560
561 uValOfCDMA1xTypes mValOfCDMA1xTypes;
562 };
563
564 sNetworkTypeIs1 mNetworkTypeIs1;
565
566 // Padding out 64 bits
567 UINT8 mReserved16[8];
568 };
569
570 uValOfNetworkType mValOfNetworkType;
571 };
572
573 // This array must be the size specified by mNetworkCount
574 // sNetwork mNetworks[1];
575 };
576
577 // Structure to describe indication TLV 0x25 for WDS EventReport
578 struct sWDSEventReportIndication_TXPacketsDropped
579 {
580 UINT32 mTXPacketsDropped;
581 };
582
583 // Structure to describe indication TLV 0x26 for WDS EventReport
584 struct sWDSEventReportIndication_RXPacketsDropped
585 {
586 UINT32 mRXPacketsDropped;
587 };
588
589 // Structure to describe indication TLV 0x27 for WDS EventReport
590 struct sWDSEventReportIndication_UplinkFlowControl
591 {
592 INT8 mUplinkFlowControlEnabled;
593 };
594
595 // Structure to describe request TLV 0x01 for WDSAbort()
596 struct sWDSAbortRequest_TransactionID
597 {
598 UINT16 mTransactionID;
599 };
600
601 // Structure to describe request TLV 0x10 for WDSSetIndication()
602 struct sWDSSetIndicationRequest_TMGIList
603 {
604 INT8 mReportEMBMSTMGIList;
605 };
606
607 // Structure to describe request TLV 0x10 for WDSStartNetworkInterface()
608 struct sWDSStartNetworkInterfaceRequest_PrimaryDNS
609 {
610 UINT8 mIPV4Address[4];
611 };
612
613 // Structure to describe request TLV 0x11 for WDSStartNetworkInterface()
614 struct sWDSStartNetworkInterfaceRequest_SecondaryDNS
615 {
616 UINT8 mIPV4Address[4];
617 };
618
619 // Structure to describe request TLV 0x12 for WDSStartNetworkInterface()
620 struct sWDSStartNetworkInterfaceRequest_PrimaryNBNS
621 {
622 UINT8 mIPV4Address[4];
623 };
624
625 // Structure to describe request TLV 0x13 for WDSStartNetworkInterface()
626 struct sWDSStartNetworkInterfaceRequest_SecondaryNBNS
627 {
628 UINT8 mIPV4Address[4];
629 };
630
631 // Structure to describe request TLV 0x14 for WDSStartNetworkInterface()
632 struct sWDSStartNetworkInterfaceRequest_ContextAPNName
633 {
634 // String is variable length, but must be size of the container
635 // char mAPNName[1];
636 };
637
638 // Structure to describe request TLV 0x15 for WDSStartNetworkInterface()
639 struct sWDSStartNetworkInterfaceRequest_IPAddress
640 {
641 UINT8 mIPV4Address[4];
642 };
643
644 // Structure to describe request TLV 0x16 for WDSStartNetworkInterface()
645 struct sWDSStartNetworkInterfaceRequest_Authentication
646 {
647 bool mEnablePAP:1;
648 bool mEnableCHAP:1;
649
650 // Padding out 6 bits
651 UINT8 mReserved1:6;
652 };
653
654 // Structure to describe request TLV 0x17 for WDSStartNetworkInterface()
655 struct sWDSStartNetworkInterfaceRequest_Username
656 {
657 // String is variable length, but must be size of the container
658 // char mUsername[1];
659 };
660
661 // Structure to describe request TLV 0x18 for WDSStartNetworkInterface()
662 struct sWDSStartNetworkInterfaceRequest_Password
663 {
664 // String is variable length, but must be size of the container
665 // char mPassword[1];
666 };
667
668 // Structure to describe request TLV 0x19 for WDSStartNetworkInterface()
669 struct sWDSStartNetworkInterfaceRequest_IPFamily
670 {
671 eQMIWDSIPFamilies mIPFamily;
672 };
673
674 // Structure to describe request TLV 0x30 for WDSStartNetworkInterface()
675 struct sWDSStartNetworkInterfaceRequest_TechnologyPreference
676 {
677 bool mEnable3GPP:1;
678 bool mEnable3GPP2:1;
679
680 // Padding out 6 bits
681 UINT8 mReserved1:6;
682 };
683
684 // Structure to describe request TLV 0x31 for WDSStartNetworkInterface()
685 struct sWDSStartNetworkInterfaceRequest_3GPPProfileIdentifier
686 {
687 UINT8 mProfileIndex;
688 };
689
690 // Structure to describe request TLV 0x32 for WDSStartNetworkInterface()
691 struct sWDSStartNetworkInterfaceRequest_3GPP2ProfileIdentifier
692 {
693 UINT8 mProfileIndex;
694 };
695
696 // Structure to describe request TLV 0x33 for WDSStartNetworkInterface()
697 struct sWDSStartNetworkInterfaceRequest_Autoconnect
698 {
699 eQMIWDSAutoconnectSettings mAutoconnectSetting;
700 };
701
702 // Structure to describe request TLV 0x34 for WDSStartNetworkInterface()
703 struct sWDSStartNetworkInterfaceRequest_ExtendedTechnologyPreference
704 {
705 eQMIWDSExtendedTechPrefs mExtendedTechnologyPreference;
706 };
707
708 // Structure to describe request TLV 0x35 for WDSStartNetworkInterface()
709 struct sWDSStartNetworkInterfaceRequest_CallType
710 {
711 eQMIWDSCallTypes mCallType;
712 };
713
714 // Structure to describe response TLV 0x01 for WDSStartNetworkInterface()
715 struct sWDSStartNetworkInterfaceResponse_PacketDataHandle
716 {
717 UINT32 mPacketDataHandle;
718 };
719
720 // Structure to describe response TLV 0x10 for WDSStartNetworkInterface()
721 struct sWDSStartNetworkInterfaceResponse_CallEndReason
722 {
723 eQMICallEndReasons mCallEnd;
724 };
725
726 // Structure to describe response TLV 0x11 for WDSStartNetworkInterface()
727 struct sWDSStartNetworkInterfaceResponse_VerboseCallEndReason
728 {
729 eQMIWDSCallEndReasonTypes mCallEndReasonType;
730
731 // The following union is based on the value of mCallEndReasonType
732 union uValOfCallEndReasonType
733 {
734 // Always present
735 UINT16 mCallEndReasonValue;
736
737 // If the value of mCallEndReasonType == 1
738 struct sCallEndReasonTypeIs1
739 {
740 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
741 };
742
743 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
744
745 // If the value of mCallEndReasonType == 2
746 struct sCallEndReasonTypeIs2
747 {
748 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
749 };
750
751 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
752
753 // If the value of mCallEndReasonType == 3
754 struct sCallEndReasonTypeIs3
755 {
756 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
757 };
758
759 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
760
761 // If the value of mCallEndReasonType == 6
762 struct sCallEndReasonTypeIs6
763 {
764 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
765 };
766
767 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
768
769 // If the value of mCallEndReasonType == 7
770 struct sCallEndReasonTypeIs7
771 {
772 eQMIWDSPPPCallEndReason mPPPCallEndReason;
773 };
774
775 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
776
777 // If the value of mCallEndReasonType == 8
778 struct sCallEndReasonTypeIs8
779 {
780 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
781 };
782
783 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
784
785 // If the value of mCallEndReasonType == 9
786 struct sCallEndReasonTypeIs9
787 {
788 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
789 };
790
791 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
792
793 // Padding out 16 bits
794 UINT8 mReserved1[2];
795 };
796
797 uValOfCallEndReasonType mValOfCallEndReasonType;
798 };
799
800 // Structure to describe request TLV 0x01 for WDSStopNetworkInterface()
801 struct sWDSStopNetworkInterfaceRequest_PacketDataHandle
802 {
803 UINT32 mPacketDataHandle;
804 };
805
806 // Structure to describe request TLV 0x10 for WDSStopNetworkInterface()
807 struct sWDSStopNetworkInterfaceRequest_Autoconnect
808 {
809 INT8 mAutoconnectOff;
810 };
811
812 // Structure to describe response TLV 0x01 for WDSGetPacketServiceStatus()
813 struct sWDSGetPacketServiceStatusResponse_Status
814 {
815 eQMIConnectionStatus mConnectionStatus;
816 };
817
818 // Structure to describe indication TLV 0x01 for WDS PacketServiceStatusReport
819 struct sWDSPacketServiceStatusReportIndication_Status
820 {
821 eQMIConnectionStatus mConnectionStatus;
822 INT8 mReconfigureRequired;
823 };
824
825 // Structure to describe indication TLV 0x10 for WDS PacketServiceStatusReport
826 struct sWDSPacketServiceStatusReportIndication_CallEndReason
827 {
828 eQMICallEndReasons mCallEnd;
829 };
830
831 // Structure to describe indication TLV 0x11 for WDS PacketServiceStatusReport
832 struct sWDSPacketServiceStatusReportIndication_VerboseCallEndReason
833 {
834 eQMIWDSCallEndReasonTypes mCallEndReasonType;
835
836 // The following union is based on the value of mCallEndReasonType
837 union uValOfCallEndReasonType
838 {
839 // Always present
840 UINT16 mCallEndReasonValue;
841
842 // If the value of mCallEndReasonType == 1
843 struct sCallEndReasonTypeIs1
844 {
845 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
846 };
847
848 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
849
850 // If the value of mCallEndReasonType == 2
851 struct sCallEndReasonTypeIs2
852 {
853 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
854 };
855
856 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
857
858 // If the value of mCallEndReasonType == 3
859 struct sCallEndReasonTypeIs3
860 {
861 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
862 };
863
864 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
865
866 // If the value of mCallEndReasonType == 6
867 struct sCallEndReasonTypeIs6
868 {
869 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
870 };
871
872 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
873
874 // If the value of mCallEndReasonType == 7
875 struct sCallEndReasonTypeIs7
876 {
877 eQMIWDSPPPCallEndReason mPPPCallEndReason;
878 };
879
880 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
881
882 // If the value of mCallEndReasonType == 8
883 struct sCallEndReasonTypeIs8
884 {
885 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
886 };
887
888 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
889
890 // If the value of mCallEndReasonType == 9
891 struct sCallEndReasonTypeIs9
892 {
893 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
894 };
895
896 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
897
898 // Padding out 16 bits
899 UINT8 mReserved1[2];
900 };
901
902 uValOfCallEndReasonType mValOfCallEndReasonType;
903 };
904
905 // Structure to describe indication TLV 0x12 for WDS PacketServiceStatusReport
906 struct sWDSPacketServiceStatusReportIndication_IPFamily
907 {
908 eQMIWDSIPFamilies mIPFamily;
909 };
910
911 // Structure to describe indication TLV 0x13 for WDS PacketServiceStatusReport
912 struct sWDSPacketServiceStatusReportIndication_ExtendedTechnology
913 {
914 eQMIWDSExtendedTechPrefs mExtendedTechnology;
915 };
916
917 // Structure to describe response TLV 0x01 for WDSGetChannelRates()
918 struct sWDSGetChannelRatesResponse_ChannelRates
919 {
920 UINT32 mChannelTXRatebps;
921 UINT32 mChannelRXRatebps;
922 UINT32 mMaxChannelTXRatebps;
923 UINT32 mMaxChannelRXRatebps;
924 };
925
926 // Structure to describe request TLV 0x01 for WDSGetPacketStatistics()
927 struct sWDSGetPacketStatisticsRequest_PacketStatsMask
928 {
929 bool mReportTXPacketSuccesses:1;
930 bool mReportRXPacketSuccesses:1;
931 bool mReportTXPacketErrors:1;
932 bool mReportRXPacketErrors:1;
933 bool mReportTXOverflows:1;
934 bool mReportRXOverflows:1;
935 bool mTXByteTotal:1;
936 bool mRXByteTotal:1;
937 bool mTXPacketsDropped:1;
938 bool mRXPacketsDropped:1;
939
940 // Padding out 22 bits
941 UINT8 mReserved1:6;
942 UINT8 mReserved2[2];
943 };
944
945 // Structure to describe response TLV 0x10 for WDSGetPacketStatistics()
946 struct sWDSGetPacketStatisticsResponse_TXPacketSuccesses
947 {
948 UINT32 mTXPacketSuccesses;
949 };
950
951 // Structure to describe response TLV 0x11 for WDSGetPacketStatistics()
952 struct sWDSGetPacketStatisticsResponse_RXPacketSuccesses
953 {
954 UINT32 mRXPacketSuccesses;
955 };
956
957 // Structure to describe response TLV 0x12 for WDSGetPacketStatistics()
958 struct sWDSGetPacketStatisticsResponse_TXPacketErrors
959 {
960 UINT32 mTXPacketErrors;
961 };
962
963 // Structure to describe response TLV 0x13 for WDSGetPacketStatistics()
964 struct sWDSGetPacketStatisticsResponse_RXPacketErrors
965 {
966 UINT32 mRXPacketErrors;
967 };
968
969 // Structure to describe response TLV 0x14 for WDSGetPacketStatistics()
970 struct sWDSGetPacketStatisticsResponse_TXOverflows
971 {
972 UINT32 mTXOverflows;
973 };
974
975 // Structure to describe response TLV 0x15 for WDSGetPacketStatistics()
976 struct sWDSGetPacketStatisticsResponse_RXOverflows
977 {
978 UINT32 mRXOverflows;
979 };
980
981 // Structure to describe response TLV 0x19 for WDSGetPacketStatistics()
982 struct sWDSGetPacketStatisticsResponse_TXBytes
983 {
984 UINT64 mTXByteTotal;
985 };
986
987 // Structure to describe response TLV 0x1A for WDSGetPacketStatistics()
988 struct sWDSGetPacketStatisticsResponse_RXBytes
989 {
990 UINT64 mRXByteTotal;
991 };
992
993 // Structure to describe response TLV 0x1B for WDSGetPacketStatistics()
994 struct sWDSGetPacketStatisticsResponse_PreviousTXBytes
995 {
996 UINT64 mPreviousCallTXByteTotal;
997 };
998
999 // Structure to describe response TLV 0x1C for WDSGetPacketStatistics()
1000 struct sWDSGetPacketStatisticsResponse_PreviousRXBytes
1001 {
1002 UINT64 mPreviousCallRXByteTotal;
1003 };
1004
1005 // Structure to describe response TLV 0x1D for WDSGetPacketStatistics()
1006 struct sWDSGetPacketStatisticsResponse_TXPacketsDropped
1007 {
1008 UINT32 mTXPacketsDropped;
1009 };
1010
1011 // Structure to describe response TLV 0x1E for WDSGetPacketStatistics()
1012 struct sWDSGetPacketStatisticsResponse_RXPacketsDropped
1013 {
1014 UINT32 mRXPacketsDropped;
1015 };
1016
1017 // Structure to describe request TLV 0x01 for WDSCreateProfile()
1018 struct sWDSCreateProfileRequest_ProfileType
1019 {
1020 eQMIProfileTypes mProfileType;
1021 };
1022
1023 // Structure to describe request TLV 0x10 for WDSCreateProfile()
1024 struct sWDSCreateProfileRequest_ProfileName
1025 {
1026 // String is variable length, but must be size of the container
1027 // char mProfileName[1];
1028 };
1029
1030 // Structure to describe request TLV 0x11 for WDSCreateProfile()
1031 struct sWDSCreateProfileRequest_PDPType
1032 {
1033 eQMIPDPTypes mPDPType;
1034 };
1035
1036 // Structure to describe request TLV 0x12 for WDSCreateProfile()
1037 struct sWDSCreateProfileRequest_PDPHeaderCompressionType
1038 {
1039 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
1040 };
1041
1042 // Structure to describe request TLV 0x13 for WDSCreateProfile()
1043 struct sWDSCreateProfileRequest_PDPDataCompressionType
1044 {
1045 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
1046 };
1047
1048 // Structure to describe request TLV 0x14 for WDSCreateProfile()
1049 struct sWDSCreateProfileRequest_APNName
1050 {
1051 // String is variable length, but must be size of the container
1052 // char mAPNName[1];
1053 };
1054
1055 // Structure to describe request TLV 0x15 for WDSCreateProfile()
1056 struct sWDSCreateProfileRequest_PrimaryDNS
1057 {
1058 UINT8 mIPV4Address[4];
1059 };
1060
1061 // Structure to describe request TLV 0x16 for WDSCreateProfile()
1062 struct sWDSCreateProfileRequest_SecondaryDNS
1063 {
1064 UINT8 mIPV4Address[4];
1065 };
1066
1067 // Structure to describe request TLV 0x17 for WDSCreateProfile()
1068 struct sWDSCreateProfileRequest_UMTSRequestedQoS
1069 {
1070 eQMITrafficClasses mTrafficClass;
1071 UINT32 mMaxUplinkBitrate;
1072 UINT32 mMaxDownlinkBitrate;
1073 UINT32 mGuaranteedUplinkBitrate;
1074 UINT32 mGuaranteedDownlinkBitrate;
1075 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1076 UINT32 mMaxSDUSize;
1077 eQMISDUErrorRatios mSDUErrorRatio;
1078 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1079 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1080 UINT32 mTransferDelay;
1081 UINT32 mTrafficHandlingPriority;
1082 };
1083
1084 // Structure to describe request TLV 0x18 for WDSCreateProfile()
1085 struct sWDSCreateProfileRequest_UMTSMinimumQoS
1086 {
1087 eQMITrafficClasses mTrafficClass;
1088 UINT32 mMaxUplinkBitrate;
1089 UINT32 mMaxDownlinkBitrate;
1090 UINT32 mGuaranteedUplinkBitrate;
1091 UINT32 mGuaranteedDownlinkBitrate;
1092 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1093 UINT32 mMaxSDUSize;
1094 eQMISDUErrorRatios mSDUErrorRatio;
1095 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1096 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1097 UINT32 mTransferDelay;
1098 UINT32 mTrafficHandlingPriority;
1099 };
1100
1101 // Structure to describe request TLV 0x19 for WDSCreateProfile()
1102 struct sWDSCreateProfileRequest_GPRSRequestedQoS
1103 {
1104 UINT32 mPrecedenceClass;
1105 UINT32 mDelayClass;
1106 UINT32 mReliabilityClass;
1107 UINT32 mPeakThroughputClass;
1108 UINT32 mMeanThroughputClass;
1109 };
1110
1111 // Structure to describe request TLV 0x1A for WDSCreateProfile()
1112 struct sWDSCreateProfileRequest_GPRSMinimumQoS
1113 {
1114 UINT32 mPrecedenceClass;
1115 UINT32 mDelayClass;
1116 UINT32 mReliabilityClass;
1117 UINT32 mPeakThroughputClass;
1118 UINT32 mMeanThroughputClass;
1119 };
1120
1121 // Structure to describe request TLV 0x1B for WDSCreateProfile()
1122 struct sWDSCreateProfileRequest_Username
1123 {
1124 // String is variable length, but must be size of the container
1125 // char mUsername[1];
1126 };
1127
1128 // Structure to describe request TLV 0x1C for WDSCreateProfile()
1129 struct sWDSCreateProfileRequest_Password
1130 {
1131 // String is variable length, but must be size of the container
1132 // char mPassword[1];
1133 };
1134
1135 // Structure to describe request TLV 0x1D for WDSCreateProfile()
1136 struct sWDSCreateProfileRequest_Authentication
1137 {
1138 bool mEnablePAP:1;
1139 bool mEnableCHAP:1;
1140
1141 // Padding out 6 bits
1142 UINT8 mReserved1:6;
1143 };
1144
1145 // Structure to describe request TLV 0x1E for WDSCreateProfile()
1146 struct sWDSCreateProfileRequest_IPAddress
1147 {
1148 UINT8 mIPV4Address[4];
1149 };
1150
1151 // Structure to describe request TLV 0x1F for WDSCreateProfile()
1152 struct sWDSCreateProfileRequest_PCSCF
1153 {
1154 INT8 mPCSCFAddressUsingPCO;
1155 };
1156
1157 // Structure to describe request TLV 0x20 for WDSCreateProfile()
1158 struct sWDSCreateProfileRequest_PDPAccessControlFlag
1159 {
1160 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
1161 };
1162
1163 // Structure to describe request TLV 0x21 for WDSCreateProfile()
1164 struct sWDSCreateProfileRequest_PCSCFAddressUsingDHCP
1165 {
1166 INT8 mPCSCFAddressUsingDHCP;
1167 };
1168
1169 // Structure to describe request TLV 0x22 for WDSCreateProfile()
1170 struct sWDSCreateProfileRequest_IMCNFlag
1171 {
1172 INT8 mIMCN;
1173 };
1174
1175 // Structure to describe request TLV 0x23 for WDSCreateProfile()
1176 struct sWDSCreateProfileRequest_TrafficFlowTemplateID1Parameters
1177 {
1178 UINT8 mFilterID;
1179 UINT8 mEvaluationID;
1180 eQMIWDSIPVersion mIPVersion;
1181
1182 // The following union is based on the value of mIPVersion
1183 union uValOfIPVersion
1184 {
1185 // If the value of mIPVersion == 4
1186 struct sIPVersionIs4
1187 {
1188 UINT8 mIPV4Address[4];
1189 };
1190
1191 sIPVersionIs4 mIPVersionIs4;
1192
1193 // If the value of mIPVersion == 6
1194 struct sIPVersionIs6
1195 {
1196 UINT16 mIPv6Address[8];
1197 };
1198
1199 sIPVersionIs6 mIPVersionIs6;
1200
1201 // Padding out 128 bits
1202 UINT8 mReserved1[16];
1203 };
1204
1205 uValOfIPVersion mValOfIPVersion;
1206
1207 UINT8 mSourceIPMask;
1208 UINT8 mNextHeader;
1209 UINT16 mDestinationPortRangeStart;
1210 UINT16 mDestinationPortRangeEnd;
1211 UINT16 mSourcePortRangeStart;
1212 UINT16 mSourcePortRangeEnd;
1213 UINT32 mIPSECSecurityParameterIndex;
1214 UINT16 mTOSMask;
1215 UINT32 mFlowLabel;
1216 };
1217
1218 // Structure to describe request TLV 0x24 for WDSCreateProfile()
1219 struct sWDSCreateProfileRequest_TrafficFlowTemplateID2Parameters
1220 {
1221 UINT8 mFilterID;
1222 UINT8 mEvaluationID;
1223 eQMIWDSIPVersion mIPVersion;
1224
1225 // The following union is based on the value of mIPVersion
1226 union uValOfIPVersion
1227 {
1228 // If the value of mIPVersion == 4
1229 struct sIPVersionIs4
1230 {
1231 UINT8 mIPV4Address[4];
1232 };
1233
1234 sIPVersionIs4 mIPVersionIs4;
1235
1236 // If the value of mIPVersion == 6
1237 struct sIPVersionIs6
1238 {
1239 UINT16 mIPv6Address[8];
1240 };
1241
1242 sIPVersionIs6 mIPVersionIs6;
1243
1244 // Padding out 128 bits
1245 UINT8 mReserved1[16];
1246 };
1247
1248 uValOfIPVersion mValOfIPVersion;
1249
1250 UINT8 mSourceIPMask;
1251 UINT8 mNextHeader;
1252 UINT16 mDestinationPortRangeStart;
1253 UINT16 mDestinationPortRangeEnd;
1254 UINT16 mSourcePortRangeStart;
1255 UINT16 mSourcePortRangeEnd;
1256 UINT32 mIPSECSecurityParameterIndex;
1257 UINT16 mTOSMask;
1258 UINT32 mFlowLabel;
1259 };
1260
1261 // Structure to describe request TLV 0x25 for WDSCreateProfile()
1262 struct sWDSCreateProfileRequest_PDPContextNumber
1263 {
1264 UINT8 mPDPContextNumber;
1265 };
1266
1267 // Structure to describe request TLV 0x26 for WDSCreateProfile()
1268 struct sWDSCreateProfileRequest_PDPContextSecondaryFlag
1269 {
1270 INT8 mPDPContextSecondaryFlag;
1271 };
1272
1273 // Structure to describe request TLV 0x27 for WDSCreateProfile()
1274 struct sWDSCreateProfileRequest_PDPContextPrimaryID
1275 {
1276 UINT8 mPDPPrimaryID;
1277 };
1278
1279 // Structure to describe request TLV 0x28 for WDSCreateProfile()
1280 struct sWDSCreateProfileRequest_IPv6Address
1281 {
1282 UINT16 mIPv6Address[8];
1283 };
1284
1285 // Structure to describe request TLV 0x29 for WDSCreateProfile()
1286 struct sWDSCreateProfileRequest_RequestedQoS
1287 {
1288 eQMITrafficClasses mTrafficClass;
1289 UINT32 mMaxUplinkBitrate;
1290 UINT32 mMaxDownlinkBitrate;
1291 UINT32 mGuaranteedUplinkBitrate;
1292 UINT32 mGuaranteedDownlinkBitrate;
1293 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1294 UINT32 mMaxSDUSize;
1295 eQMISDUErrorRatios mSDUErrorRatio;
1296 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1297 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1298 UINT32 mTransferDelay;
1299 UINT32 mTrafficHandlingPriority;
1300 INT8 mSignalingIndication;
1301 };
1302
1303 // Structure to describe request TLV 0x2A for WDSCreateProfile()
1304 struct sWDSCreateProfileRequest_MinimumQoS
1305 {
1306 eQMITrafficClasses mTrafficClass;
1307 UINT32 mMaxUplinkBitrate;
1308 UINT32 mMaxDownlinkBitrate;
1309 UINT32 mGuaranteedUplinkBitrate;
1310 UINT32 mGuaranteedDownlinkBitrate;
1311 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1312 UINT32 mMaxSDUSize;
1313 eQMISDUErrorRatios mSDUErrorRatio;
1314 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1315 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1316 UINT32 mTransferDelay;
1317 UINT32 mTrafficHandlingPriority;
1318 INT8 mSignalingIndication;
1319 };
1320
1321 // Structure to describe request TLV 0x2B for WDSCreateProfile()
1322 struct sWDSCreateProfileRequest_PrimaryIPv6
1323 {
1324 UINT16 mIPv6Address[8];
1325 };
1326
1327 // Structure to describe request TLV 0x2C for WDSCreateProfile()
1328 struct sWDSCreateProfileRequest_SecondaryIPv6
1329 {
1330 UINT16 mIPv6Address[8];
1331 };
1332
1333 // Structure to describe request TLV 0x2D for WDSCreateProfile()
1334 struct sWDSCreateProfileRequest_AddressPreference
1335 {
1336 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
1337 };
1338
1339 // Structure to describe request TLV 0x2E for WDSCreateProfile()
1340 struct sWDSCreateProfileRequest_LTEQoSParameters
1341 {
1342 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
1343 UINT32 mGuaranteedDownlinkBitrate;
1344 UINT32 mMaxDownlinkBitrate;
1345 UINT32 mGuaranteedUplinkBitrate;
1346 UINT32 mMaxUplinkBitrate;
1347 };
1348
1349 // Structure to describe request TLV 0x2F for WDSCreateProfile()
1350 struct sWDSCreateProfileRequest_APNDisabled
1351 {
1352 INT8 mAPNDisabled;
1353 };
1354
1355 // Structure to describe request TLV 0x30 for WDSCreateProfile()
1356 struct sWDSCreateProfileRequest_PDNInactivityTimer
1357 {
1358 UINT32 mPDNInactivityTimerSeconds;
1359 };
1360
1361 // Structure to describe request TLV 0x31 for WDSCreateProfile()
1362 struct sWDSCreateProfileRequest_APNClass
1363 {
1364 UINT8 mAPNClass;
1365 };
1366
1367 // Structure to describe request TLV 0x35 for WDSCreateProfile()
1368 struct sWDSCreateProfileRequest_APNBearer
1369 {
1370 bool mGSM:1;
1371 bool mWCDMA:1;
1372 bool mLTE:1;
1373
1374 // Padding out 60 bits
1375 UINT8 mReserved1:5;
1376 UINT8 mReserved2[6];
1377 UINT8 mReserved3:7;
1378
1379 bool mAny:1;
1380 };
1381
1382 // Structure to describe request TLV 0x8F for WDSCreateProfile()
1383 struct sWDSCreateProfileRequest_ProfilePersistent
1384 {
1385 INT8 mProfilePersistent;
1386 };
1387
1388 // Structure to describe request TLV 0x90 for WDSCreateProfile()
1389 struct sWDSCreateProfileRequest_NegotiateDNSServerPreference
1390 {
1391 INT8 mNegotiateDNSServerPreference;
1392 };
1393
1394 // Structure to describe request TLV 0x91 for WDSCreateProfile()
1395 struct sWDSCreateProfileRequest_PPPSessionCloseTimerDO
1396 {
1397 UINT32 mPPPSessionCloseTimerDOSeconds;
1398 };
1399
1400 // Structure to describe request TLV 0x92 for WDSCreateProfile()
1401 struct sWDSCreateProfileRequest_PPPSessionCloseTimer1X
1402 {
1403 UINT32 mPPPSessionCloseTimer1XSeconds;
1404 };
1405
1406 // Structure to describe request TLV 0x93 for WDSCreateProfile()
1407 struct sWDSCreateProfileRequest_AllowLinger
1408 {
1409 INT8 mAllowLinger;
1410 };
1411
1412 // Structure to describe request TLV 0x94 for WDSCreateProfile()
1413 struct sWDSCreateProfileRequest_LCPACKTimeout
1414 {
1415 UINT16 mTimeoutMilliseconds;
1416 };
1417
1418 // Structure to describe request TLV 0x95 for WDSCreateProfile()
1419 struct sWDSCreateProfileRequest_IPCPACKTimeout
1420 {
1421 UINT16 mTimeoutMilliseconds;
1422 };
1423
1424 // Structure to describe request TLV 0x96 for WDSCreateProfile()
1425 struct sWDSCreateProfileRequest_AuthenticationTimeout
1426 {
1427 UINT16 mTimeoutMilliseconds;
1428 };
1429
1430 // Structure to describe request TLV 0x97 for WDSCreateProfile()
1431 struct sWDSCreateProfileRequest_LCPConfigRetryCount
1432 {
1433 UINT8 mRetryCount;
1434 };
1435
1436 // Structure to describe request TLV 0x98 for WDSCreateProfile()
1437 struct sWDSCreateProfileRequest_IPCPConfigRetryCount
1438 {
1439 UINT8 mRetryCount;
1440 };
1441
1442 // Structure to describe request TLV 0x99 for WDSCreateProfile()
1443 struct sWDSCreateProfileRequest_AuthenticationRetry
1444 {
1445 UINT8 mRetryCount;
1446 };
1447
1448 // Structure to describe request TLV 0x9A for WDSCreateProfile()
1449 struct sWDSCreateProfileRequest_AuthenticationProtocol
1450 {
1451 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1452 };
1453
1454 // Structure to describe request TLV 0x9B for WDSCreateProfile()
1455 struct sWDSCreateProfileRequest_UserID
1456 {
1457 // String is variable length, but must be size of the container
1458 // char mUsername[1];
1459 };
1460
1461 // Structure to describe request TLV 0x9C for WDSCreateProfile()
1462 struct sWDSCreateProfileRequest_AuthenticationPassword
1463 {
1464 // String is variable length, but must be size of the container
1465 // char mPassword[1];
1466 };
1467
1468 // Structure to describe request TLV 0x9D for WDSCreateProfile()
1469 struct sWDSCreateProfileRequest_DataRate
1470 {
1471 eQMIWDSDataRate mDataRate;
1472 };
1473
1474 // Structure to describe request TLV 0x9E for WDSCreateProfile()
1475 struct sWDSCreateProfileRequest_ApplicationType
1476 {
1477 eQMIWDSApplicationType mApplicationType;
1478 };
1479
1480 // Structure to describe request TLV 0x9F for WDSCreateProfile()
1481 struct sWDSCreateProfileRequest_DataMode
1482 {
1483 eQMIWDSDataMode mDataMode;
1484 };
1485
1486 // Structure to describe request TLV 0xA0 for WDSCreateProfile()
1487 struct sWDSCreateProfileRequest_ApplicationPriority
1488 {
1489 UINT8 mApplicationPriority;
1490 };
1491
1492 // Structure to describe request TLV 0xA1 for WDSCreateProfile()
1493 struct sWDSCreateProfileRequest_APNString
1494 {
1495 // String is variable length, but must be size of the container
1496 // char mAPNName[1];
1497 };
1498
1499 // Structure to describe request TLV 0xA2 for WDSCreateProfile()
1500 struct sWDSCreateProfileRequest_PDNType
1501 {
1502 eQMIWDSPDNType mPDNType;
1503 };
1504
1505 // Structure to describe request TLV 0xA3 for WDSCreateProfile()
1506 struct sWDSCreateProfileRequest_PCSCFAddressNeeded
1507 {
1508 INT8 mPCSCFAddressNeeded;
1509 };
1510
1511 // Structure to describe request TLV 0xA4 for WDSCreateProfile()
1512 struct sWDSCreateProfileRequest_PrimaryIPv4Address
1513 {
1514 UINT8 mIPV4Address[4];
1515 };
1516
1517 // Structure to describe request TLV 0xA5 for WDSCreateProfile()
1518 struct sWDSCreateProfileRequest_SecondaryIPv4Address
1519 {
1520 UINT8 mIPV4Address[4];
1521 };
1522
1523 // Structure to describe request TLV 0xA6 for WDSCreateProfile()
1524 struct sWDSCreateProfileRequest_PrimaryIPv6Address
1525 {
1526 UINT16 mIPv6Address[8];
1527 };
1528
1529 // Structure to describe request TLV 0xA7 for WDSCreateProfile()
1530 struct sWDSCreateProfileRequest_SecondaryIPv6Address
1531 {
1532 UINT16 mIPv6Address[8];
1533 };
1534
1535 // Structure to describe request TLV 0xA8 for WDSCreateProfile()
1536 struct sWDSCreateProfileRequest_RATType
1537 {
1538 eQMIWDS3GPP2RATTypes mRATType;
1539 };
1540
1541 // Structure to describe request TLV 0xA9 for WDSCreateProfile()
1542 struct sWDSCreateProfileRequest_3GPP2APNEnabled
1543 {
1544 INT8 mAPNEnabled;
1545 };
1546
1547 // Structure to describe request TLV 0xAA for WDSCreateProfile()
1548 struct sWDSCreateProfileRequest_3GPP2PDNInactivityTimer
1549 {
1550 UINT32 mPDNInactivityTimerMinutes;
1551 };
1552
1553 // Structure to describe request TLV 0xAB for WDSCreateProfile()
1554 struct sWDSCreateProfileRequest_3GPP2APNClass
1555 {
1556 UINT8 mAPNClass;
1557 };
1558
1559 // Structure to describe request TLV 0xAD for WDSCreateProfile()
1560 struct sWDSCreateProfileRequest_PDNAuthenticationProtocol
1561 {
1562 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1563 };
1564
1565 // Structure to describe request TLV 0xAE for WDSCreateProfile()
1566 struct sWDSCreateProfileRequest_PDNUserID
1567 {
1568 // String is variable length, but must be size of the container
1569 // char mUserID[1];
1570 };
1571
1572 // Structure to describe request TLV 0xAF for WDSCreateProfile()
1573 struct sWDSCreateProfileRequest_PDNPassword
1574 {
1575 // String is variable length, but must be size of the container
1576 // char mPassword[1];
1577 };
1578
1579 // Structure to describe request TLV 0xB0 for WDSCreateProfile()
1580 struct sWDSCreateProfileRequest_PDNLabel
1581 {
1582 // String is variable length, but must be size of the container
1583 // char mLabel[1];
1584 };
1585
1586 // Structure to describe response TLV 0x01 for WDSCreateProfile()
1587 struct sWDSCreateProfileResponse_ProfileIdentifier
1588 {
1589 eQMIProfileTypes mProfileType;
1590 UINT8 mProfileIndex;
1591 };
1592
1593 // Structure to describe response TLV 0xE0 for WDSCreateProfile()
1594 struct sWDSCreateProfileResponse_ExtendedErrorCode
1595 {
1596 eQMIWDSExtendedErrorCode mExtendedErrorCode;
1597 };
1598
1599 // Structure to describe request TLV 0x01 for WDSModifyProfile()
1600 struct sWDSModifyProfileRequest_ProfileIdentifier
1601 {
1602 eQMIProfileTypes mProfileType;
1603 UINT8 mProfileIndex;
1604 };
1605
1606 // Structure to describe request TLV 0x10 for WDSModifyProfile()
1607 struct sWDSModifyProfileRequest_ProfileName
1608 {
1609 // String is variable length, but must be size of the container
1610 // char mProfileName[1];
1611 };
1612
1613 // Structure to describe request TLV 0x11 for WDSModifyProfile()
1614 struct sWDSModifyProfileRequest_PDPType
1615 {
1616 eQMIPDPTypes mPDPType;
1617 };
1618
1619 // Structure to describe request TLV 0x12 for WDSModifyProfile()
1620 struct sWDSModifyProfileRequest_PDPHeaderCompressionType
1621 {
1622 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
1623 };
1624
1625 // Structure to describe request TLV 0x13 for WDSModifyProfile()
1626 struct sWDSModifyProfileRequest_PDPDataCompressionType
1627 {
1628 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
1629 };
1630
1631 // Structure to describe request TLV 0x14 for WDSModifyProfile()
1632 struct sWDSModifyProfileRequest_APNName
1633 {
1634 // String is variable length, but must be size of the container
1635 // char mAPNName[1];
1636 };
1637
1638 // Structure to describe request TLV 0x15 for WDSModifyProfile()
1639 struct sWDSModifyProfileRequest_PrimaryDNS
1640 {
1641 UINT8 mIPV4Address[4];
1642 };
1643
1644 // Structure to describe request TLV 0x16 for WDSModifyProfile()
1645 struct sWDSModifyProfileRequest_SecondaryDNS
1646 {
1647 UINT8 mIPV4Address[4];
1648 };
1649
1650 // Structure to describe request TLV 0x17 for WDSModifyProfile()
1651 struct sWDSModifyProfileRequest_UMTSRequestedQoS
1652 {
1653 eQMITrafficClasses mTrafficClass;
1654 UINT32 mMaxUplinkBitrate;
1655 UINT32 mMaxDownlinkBitrate;
1656 UINT32 mGuaranteedUplinkBitrate;
1657 UINT32 mGuaranteedDownlinkBitrate;
1658 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1659 UINT32 mMaxSDUSize;
1660 eQMISDUErrorRatios mSDUErrorRatio;
1661 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1662 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1663 UINT32 mTransferDelay;
1664 UINT32 mTrafficHandlingPriority;
1665 };
1666
1667 // Structure to describe request TLV 0x18 for WDSModifyProfile()
1668 struct sWDSModifyProfileRequest_UMTSMinimumQoS
1669 {
1670 eQMITrafficClasses mTrafficClass;
1671 UINT32 mMaxUplinkBitrate;
1672 UINT32 mMaxDownlinkBitrate;
1673 UINT32 mGuaranteedUplinkBitrate;
1674 UINT32 mGuaranteedDownlinkBitrate;
1675 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1676 UINT32 mMaxSDUSize;
1677 eQMISDUErrorRatios mSDUErrorRatio;
1678 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1679 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1680 UINT32 mTransferDelay;
1681 UINT32 mTrafficHandlingPriority;
1682 };
1683
1684 // Structure to describe request TLV 0x19 for WDSModifyProfile()
1685 struct sWDSModifyProfileRequest_GPRSRequestedQoS
1686 {
1687 UINT32 mPrecedenceClass;
1688 UINT32 mDelayClass;
1689 UINT32 mReliabilityClass;
1690 UINT32 mPeakThroughputClass;
1691 UINT32 mMeanThroughputClass;
1692 };
1693
1694 // Structure to describe request TLV 0x1A for WDSModifyProfile()
1695 struct sWDSModifyProfileRequest_GPRSMinimumQoS
1696 {
1697 UINT32 mPrecedenceClass;
1698 UINT32 mDelayClass;
1699 UINT32 mReliabilityClass;
1700 UINT32 mPeakThroughputClass;
1701 UINT32 mMeanThroughputClass;
1702 };
1703
1704 // Structure to describe request TLV 0x1B for WDSModifyProfile()
1705 struct sWDSModifyProfileRequest_Username
1706 {
1707 // String is variable length, but must be size of the container
1708 // char mUsername[1];
1709 };
1710
1711 // Structure to describe request TLV 0x1C for WDSModifyProfile()
1712 struct sWDSModifyProfileRequest_Password
1713 {
1714 // String is variable length, but must be size of the container
1715 // char mPassword[1];
1716 };
1717
1718 // Structure to describe request TLV 0x1D for WDSModifyProfile()
1719 struct sWDSModifyProfileRequest_Authentication
1720 {
1721 bool mEnablePAP:1;
1722 bool mEnableCHAP:1;
1723
1724 // Padding out 6 bits
1725 UINT8 mReserved1:6;
1726 };
1727
1728 // Structure to describe request TLV 0x1E for WDSModifyProfile()
1729 struct sWDSModifyProfileRequest_IPAddress
1730 {
1731 UINT8 mIPV4Address[4];
1732 };
1733
1734 // Structure to describe request TLV 0x1F for WDSModifyProfile()
1735 struct sWDSModifyProfileRequest_PCSCF
1736 {
1737 INT8 mPCSCFAddressUsingPCO;
1738 };
1739
1740 // Structure to describe request TLV 0x20 for WDSModifyProfile()
1741 struct sWDSModifyProfileRequest_PDPAccessControlFlag
1742 {
1743 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
1744 };
1745
1746 // Structure to describe request TLV 0x21 for WDSModifyProfile()
1747 struct sWDSModifyProfileRequest_PCSCFAddressUsingDHCP
1748 {
1749 INT8 mPCSCFAddressUsingDHCP;
1750 };
1751
1752 // Structure to describe request TLV 0x22 for WDSModifyProfile()
1753 struct sWDSModifyProfileRequest_IMCNFlag
1754 {
1755 INT8 mIMCN;
1756 };
1757
1758 // Structure to describe request TLV 0x23 for WDSModifyProfile()
1759 struct sWDSModifyProfileRequest_TrafficFlowTemplateID1Parameters
1760 {
1761 UINT8 mFilterID;
1762 UINT8 mEvaluationID;
1763 eQMIWDSIPVersion mIPVersion;
1764
1765 // The following union is based on the value of mIPVersion
1766 union uValOfIPVersion
1767 {
1768 // If the value of mIPVersion == 4
1769 struct sIPVersionIs4
1770 {
1771 UINT8 mIPV4Address[4];
1772 };
1773
1774 sIPVersionIs4 mIPVersionIs4;
1775
1776 // If the value of mIPVersion == 6
1777 struct sIPVersionIs6
1778 {
1779 UINT16 mIPv6Address[8];
1780 };
1781
1782 sIPVersionIs6 mIPVersionIs6;
1783
1784 // Padding out 128 bits
1785 UINT8 mReserved1[16];
1786 };
1787
1788 uValOfIPVersion mValOfIPVersion;
1789
1790 UINT8 mSourceIPMask;
1791 UINT8 mNextHeader;
1792 UINT16 mDestinationPortRangeStart;
1793 UINT16 mDestinationPortRangeEnd;
1794 UINT16 mSourcePortRangeStart;
1795 UINT16 mSourcePortRangeEnd;
1796 UINT32 mIPSECSecurityParameterIndex;
1797 UINT16 mTOSMask;
1798 UINT32 mFlowLabel;
1799 };
1800
1801 // Structure to describe request TLV 0x24 for WDSModifyProfile()
1802 struct sWDSModifyProfileRequest_TrafficFlowTemplateID2Parameters
1803 {
1804 UINT8 mFilterID;
1805 UINT8 mEvaluationID;
1806 eQMIWDSIPVersion mIPVersion;
1807
1808 // The following union is based on the value of mIPVersion
1809 union uValOfIPVersion
1810 {
1811 // If the value of mIPVersion == 4
1812 struct sIPVersionIs4
1813 {
1814 UINT8 mIPV4Address[4];
1815 };
1816
1817 sIPVersionIs4 mIPVersionIs4;
1818
1819 // If the value of mIPVersion == 6
1820 struct sIPVersionIs6
1821 {
1822 UINT16 mIPv6Address[8];
1823 };
1824
1825 sIPVersionIs6 mIPVersionIs6;
1826
1827 // Padding out 128 bits
1828 UINT8 mReserved1[16];
1829 };
1830
1831 uValOfIPVersion mValOfIPVersion;
1832
1833 UINT8 mSourceIPMask;
1834 UINT8 mNextHeader;
1835 UINT16 mDestinationPortRangeStart;
1836 UINT16 mDestinationPortRangeEnd;
1837 UINT16 mSourcePortRangeStart;
1838 UINT16 mSourcePortRangeEnd;
1839 UINT32 mIPSECSecurityParameterIndex;
1840 UINT16 mTOSMask;
1841 UINT32 mFlowLabel;
1842 };
1843
1844 // Structure to describe request TLV 0x25 for WDSModifyProfile()
1845 struct sWDSModifyProfileRequest_PDPContextNumber
1846 {
1847 UINT8 mPDPContextNumber;
1848 };
1849
1850 // Structure to describe request TLV 0x26 for WDSModifyProfile()
1851 struct sWDSModifyProfileRequest_PDPContextSecondaryFlag
1852 {
1853 INT8 mPDPContextSecondaryFlag;
1854 };
1855
1856 // Structure to describe request TLV 0x27 for WDSModifyProfile()
1857 struct sWDSModifyProfileRequest_PDPContextPrimaryID
1858 {
1859 UINT8 mPDPPrimaryID;
1860 };
1861
1862 // Structure to describe request TLV 0x28 for WDSModifyProfile()
1863 struct sWDSModifyProfileRequest_IPv6Address
1864 {
1865 UINT16 mIPv6Address[8];
1866 };
1867
1868 // Structure to describe request TLV 0x29 for WDSModifyProfile()
1869 struct sWDSModifyProfileRequest_RequestedQoS
1870 {
1871 eQMITrafficClasses mTrafficClass;
1872 UINT32 mMaxUplinkBitrate;
1873 UINT32 mMaxDownlinkBitrate;
1874 UINT32 mGuaranteedUplinkBitrate;
1875 UINT32 mGuaranteedDownlinkBitrate;
1876 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1877 UINT32 mMaxSDUSize;
1878 eQMISDUErrorRatios mSDUErrorRatio;
1879 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1880 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1881 UINT32 mTransferDelay;
1882 UINT32 mTrafficHandlingPriority;
1883 INT8 mSignalingIndication;
1884 };
1885
1886 // Structure to describe request TLV 0x2A for WDSModifyProfile()
1887 struct sWDSModifyProfileRequest_MinimumQoS
1888 {
1889 eQMITrafficClasses mTrafficClass;
1890 UINT32 mMaxUplinkBitrate;
1891 UINT32 mMaxDownlinkBitrate;
1892 UINT32 mGuaranteedUplinkBitrate;
1893 UINT32 mGuaranteedDownlinkBitrate;
1894 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1895 UINT32 mMaxSDUSize;
1896 eQMISDUErrorRatios mSDUErrorRatio;
1897 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1898 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1899 UINT32 mTransferDelay;
1900 UINT32 mTrafficHandlingPriority;
1901 INT8 mSignalingIndication;
1902 };
1903
1904 // Structure to describe request TLV 0x2B for WDSModifyProfile()
1905 struct sWDSModifyProfileRequest_PrimaryIPv6
1906 {
1907 UINT16 mIPv6Address[8];
1908 };
1909
1910 // Structure to describe request TLV 0x2C for WDSModifyProfile()
1911 struct sWDSModifyProfileRequest_SecondaryIPv6
1912 {
1913 UINT16 mIPv6Address[8];
1914 };
1915
1916 // Structure to describe request TLV 0x2D for WDSModifyProfile()
1917 struct sWDSModifyProfileRequest_AddressPreference
1918 {
1919 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
1920 };
1921
1922 // Structure to describe request TLV 0x2E for WDSModifyProfile()
1923 struct sWDSModifyProfileRequest_LTEQoSParameters
1924 {
1925 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
1926 UINT32 mGuaranteedDownlinkBitrate;
1927 UINT32 mMaxDownlinkBitrate;
1928 UINT32 mGuaranteedUplinkBitrate;
1929 UINT32 mMaxUplinkBitrate;
1930 };
1931
1932 // Structure to describe request TLV 0x2F for WDSModifyProfile()
1933 struct sWDSModifyProfileRequest_APNDisabled
1934 {
1935 INT8 mAPNDisabled;
1936 };
1937
1938 // Structure to describe request TLV 0x30 for WDSModifyProfile()
1939 struct sWDSModifyProfileRequest_PDNInactivityTimer
1940 {
1941 UINT32 mPDNInactivityTimerSeconds;
1942 };
1943
1944 // Structure to describe request TLV 0x31 for WDSModifyProfile()
1945 struct sWDSModifyProfileRequest_APNClass
1946 {
1947 UINT8 mAPNClass;
1948 };
1949
1950 // Structure to describe request TLV 0x35 for WDSModifyProfile()
1951 struct sWDSModifyProfileRequest_APNBearer
1952 {
1953 bool mGSM:1;
1954 bool mWCDMA:1;
1955 bool mLTE:1;
1956
1957 // Padding out 60 bits
1958 UINT8 mReserved1:5;
1959 UINT8 mReserved2[6];
1960 UINT8 mReserved3:7;
1961
1962 bool mAny:1;
1963 };
1964
1965 // Structure to describe request TLV 0x90 for WDSModifyProfile()
1966 struct sWDSModifyProfileRequest_NegotiateDNSServerPrefrence
1967 {
1968 INT8 mNegotiateDNSServerPreference;
1969 };
1970
1971 // Structure to describe request TLV 0x91 for WDSModifyProfile()
1972 struct sWDSModifyProfileRequest_PPPSessionCloseTimerDO
1973 {
1974 UINT32 mPPPSessionCloseTimerDOSeconds;
1975 };
1976
1977 // Structure to describe request TLV 0x92 for WDSModifyProfile()
1978 struct sWDSModifyProfileRequest_PPPSessionCloseTimer1X
1979 {
1980 UINT32 mPPPSessionCloseTimer1XSeconds;
1981 };
1982
1983 // Structure to describe request TLV 0x93 for WDSModifyProfile()
1984 struct sWDSModifyProfileRequest_AllowLinger
1985 {
1986 INT8 mAllowLinger;
1987 };
1988
1989 // Structure to describe request TLV 0x94 for WDSModifyProfile()
1990 struct sWDSModifyProfileRequest_LCPACKTimeout
1991 {
1992 UINT16 mTimeoutMilliseconds;
1993 };
1994
1995 // Structure to describe request TLV 0x95 for WDSModifyProfile()
1996 struct sWDSModifyProfileRequest_IPCPACKTimeout
1997 {
1998 UINT16 mTimeoutMilliseconds;
1999 };
2000
2001 // Structure to describe request TLV 0x96 for WDSModifyProfile()
2002 struct sWDSModifyProfileRequest_AuthenticationTimeout
2003 {
2004 UINT16 mTimeoutMilliseconds;
2005 };
2006
2007 // Structure to describe request TLV 0x97 for WDSModifyProfile()
2008 struct sWDSModifyProfileRequest_LCPConfigRetryCount
2009 {
2010 UINT8 mRetryCount;
2011 };
2012
2013 // Structure to describe request TLV 0x98 for WDSModifyProfile()
2014 struct sWDSModifyProfileRequest_IPCPConfigRetryCount
2015 {
2016 UINT8 mRetryCount;
2017 };
2018
2019 // Structure to describe request TLV 0x99 for WDSModifyProfile()
2020 struct sWDSModifyProfileRequest_AuthenticationRetry
2021 {
2022 UINT8 mRetryCount;
2023 };
2024
2025 // Structure to describe request TLV 0x9A for WDSModifyProfile()
2026 struct sWDSModifyProfileRequest_AuthenticationProtocol
2027 {
2028 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2029 };
2030
2031 // Structure to describe request TLV 0x9B for WDSModifyProfile()
2032 struct sWDSModifyProfileRequest_UserID
2033 {
2034 // String is variable length, but must be size of the container
2035 // char mUsername[1];
2036 };
2037
2038 // Structure to describe request TLV 0x9C for WDSModifyProfile()
2039 struct sWDSModifyProfileRequest_AuthenticationPassword
2040 {
2041 // String is variable length, but must be size of the container
2042 // char mPassword[1];
2043 };
2044
2045 // Structure to describe request TLV 0x9D for WDSModifyProfile()
2046 struct sWDSModifyProfileRequest_DataRate
2047 {
2048 eQMIWDSDataRate mDataRate;
2049 };
2050
2051 // Structure to describe request TLV 0x9E for WDSModifyProfile()
2052 struct sWDSModifyProfileRequest_ApplicationType
2053 {
2054 eQMIWDSApplicationType mApplicationType;
2055 };
2056
2057 // Structure to describe request TLV 0x9F for WDSModifyProfile()
2058 struct sWDSModifyProfileRequest_DataMode
2059 {
2060 eQMIWDSDataMode mDataMode;
2061 };
2062
2063 // Structure to describe request TLV 0xA0 for WDSModifyProfile()
2064 struct sWDSModifyProfileRequest_ApplicationPriority
2065 {
2066 UINT8 mApplicationPriority;
2067 };
2068
2069 // Structure to describe request TLV 0xA1 for WDSModifyProfile()
2070 struct sWDSModifyProfileRequest_APNString
2071 {
2072 // String is variable length, but must be size of the container
2073 // char mAPNName[1];
2074 };
2075
2076 // Structure to describe request TLV 0xA2 for WDSModifyProfile()
2077 struct sWDSModifyProfileRequest_PDNType
2078 {
2079 eQMIWDSPDNType mPDNType;
2080 };
2081
2082 // Structure to describe request TLV 0xA3 for WDSModifyProfile()
2083 struct sWDSModifyProfileRequest_PCSCFAddressNeeded
2084 {
2085 INT8 mPCSCFAddressNeeded;
2086 };
2087
2088 // Structure to describe request TLV 0xA4 for WDSModifyProfile()
2089 struct sWDSModifyProfileRequest_PrimaryIPv4Address
2090 {
2091 UINT8 mIPV4Address[4];
2092 };
2093
2094 // Structure to describe request TLV 0xA5 for WDSModifyProfile()
2095 struct sWDSModifyProfileRequest_SecondaryIPv4Address
2096 {
2097 UINT8 mIPV4Address[4];
2098 };
2099
2100 // Structure to describe request TLV 0xA6 for WDSModifyProfile()
2101 struct sWDSModifyProfileRequest_PrimaryIPv6Address
2102 {
2103 UINT16 mIPv6Address[8];
2104 };
2105
2106 // Structure to describe request TLV 0xA7 for WDSModifyProfile()
2107 struct sWDSModifyProfileRequest_SecondaryIPv6Address
2108 {
2109 UINT16 mIPv6Address[8];
2110 };
2111
2112 // Structure to describe request TLV 0xA8 for WDSModifyProfile()
2113 struct sWDSModifyProfileRequest_RATType
2114 {
2115 eQMIWDS3GPP2RATTypes mRATType;
2116 };
2117
2118 // Structure to describe request TLV 0xA9 for WDSModifyProfile()
2119 struct sWDSModifyProfileRequest_3GPP2APNEnabled
2120 {
2121 INT8 mAPNEnabled;
2122 };
2123
2124 // Structure to describe request TLV 0xAA for WDSModifyProfile()
2125 struct sWDSModifyProfileRequest_3GPP2PDNInactivityTimer
2126 {
2127 UINT32 mPDNInactivityTimerMinutes;
2128 };
2129
2130 // Structure to describe request TLV 0xAB for WDSModifyProfile()
2131 struct sWDSModifyProfileRequest_3GPP2APNClass
2132 {
2133 UINT8 mAPNClass;
2134 };
2135
2136 // Structure to describe request TLV 0xAD for WDSModifyProfile()
2137 struct sWDSModifyProfileRequest_PDNAuthenticationProtocol
2138 {
2139 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2140 };
2141
2142 // Structure to describe request TLV 0xAE for WDSModifyProfile()
2143 struct sWDSModifyProfileRequest_PDNUserID
2144 {
2145 // String is variable length, but must be size of the container
2146 // char mUserID[1];
2147 };
2148
2149 // Structure to describe request TLV 0xAF for WDSModifyProfile()
2150 struct sWDSModifyProfileRequest_PDNPassword
2151 {
2152 // String is variable length, but must be size of the container
2153 // char mPassword[1];
2154 };
2155
2156 // Structure to describe request TLV 0xB0 for WDSModifyProfile()
2157 struct sWDSModifyProfileRequest_PDNLabel
2158 {
2159 // String is variable length, but must be size of the container
2160 // char mLabel[1];
2161 };
2162
2163 // Structure to describe response TLV 0xE0 for WDSModifyProfile()
2164 struct sWDSModifyProfileResponse_ExtendedErrorCode
2165 {
2166 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2167 };
2168
2169 // Structure to describe request TLV 0x01 for WDSDeleteProfile()
2170 struct sWDSDeleteProfileRequest_ProfileIdentifier
2171 {
2172 eQMIProfileTypes mProfileType;
2173 UINT8 mProfileIndex;
2174 };
2175
2176 // Structure to describe response TLV 0xE0 for WDSDeleteProfile()
2177 struct sWDSDeleteProfileResponse_ExtendedErrorCode
2178 {
2179 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2180 };
2181
2182 // Structure to describe request TLV 0x10 for WDSGetProfileList()
2183 struct sWDSGetProfileListRequest_ProfileName
2184 {
2185 // String is variable length, but must be size of the container
2186 // char mProfileName[1];
2187 };
2188
2189 // Structure to describe request TLV 0x11 for WDSGetProfileList()
2190 struct sWDSGetProfileListRequest_PDPType
2191 {
2192 eQMIPDPTypes mPDPType;
2193 };
2194
2195 // Structure to describe request TLV 0x12 for WDSGetProfileList()
2196 struct sWDSGetProfileListRequest_PDPHeaderCompressionType
2197 {
2198 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
2199 };
2200
2201 // Structure to describe request TLV 0x13 for WDSGetProfileList()
2202 struct sWDSGetProfileListRequest_PDPDataCompressionType
2203 {
2204 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
2205 };
2206
2207 // Structure to describe request TLV 0x14 for WDSGetProfileList()
2208 struct sWDSGetProfileListRequest_APNName
2209 {
2210 // String is variable length, but must be size of the container
2211 // char mAPNName[1];
2212 };
2213
2214 // Structure to describe request TLV 0x15 for WDSGetProfileList()
2215 struct sWDSGetProfileListRequest_PrimaryDNS
2216 {
2217 UINT8 mIPV4Address[4];
2218 };
2219
2220 // Structure to describe request TLV 0x16 for WDSGetProfileList()
2221 struct sWDSGetProfileListRequest_SecondaryDNS
2222 {
2223 UINT8 mIPV4Address[4];
2224 };
2225
2226 // Structure to describe request TLV 0x17 for WDSGetProfileList()
2227 struct sWDSGetProfileListRequest_UMTSRequestedQoS
2228 {
2229 eQMITrafficClasses mTrafficClass;
2230 UINT32 mMaxUplinkBitrate;
2231 UINT32 mMaxDownlinkBitrate;
2232 UINT32 mGuaranteedUplinkBitrate;
2233 UINT32 mGuaranteedDownlinkBitrate;
2234 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2235 UINT32 mMaxSDUSize;
2236 eQMISDUErrorRatios mSDUErrorRatio;
2237 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2238 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2239 UINT32 mTransferDelay;
2240 UINT32 mTrafficHandlingPriority;
2241 };
2242
2243 // Structure to describe request TLV 0x18 for WDSGetProfileList()
2244 struct sWDSGetProfileListRequest_UMTSMinimumQoS
2245 {
2246 eQMITrafficClasses mTrafficClass;
2247 UINT32 mMaxUplinkBitrate;
2248 UINT32 mMaxDownlinkBitrate;
2249 UINT32 mGuaranteedUplinkBitrate;
2250 UINT32 mGuaranteedDownlinkBitrate;
2251 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2252 UINT32 mMaxSDUSize;
2253 eQMISDUErrorRatios mSDUErrorRatio;
2254 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2255 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2256 UINT32 mTransferDelay;
2257 UINT32 mTrafficHandlingPriority;
2258 };
2259
2260 // Structure to describe request TLV 0x19 for WDSGetProfileList()
2261 struct sWDSGetProfileListRequest_GPRSRequestedQoS
2262 {
2263 UINT32 mPrecedenceClass;
2264 UINT32 mDelayClass;
2265 UINT32 mReliabilityClass;
2266 UINT32 mPeakThroughputClass;
2267 UINT32 mMeanThroughputClass;
2268 };
2269
2270 // Structure to describe request TLV 0x1A for WDSGetProfileList()
2271 struct sWDSGetProfileListRequest_GPRSMinimumQoS
2272 {
2273 UINT32 mPrecedenceClass;
2274 UINT32 mDelayClass;
2275 UINT32 mReliabilityClass;
2276 UINT32 mPeakThroughputClass;
2277 UINT32 mMeanThroughputClass;
2278 };
2279
2280 // Structure to describe request TLV 0x1B for WDSGetProfileList()
2281 struct sWDSGetProfileListRequest_Username
2282 {
2283 // String is variable length, but must be size of the container
2284 // char mUsername[1];
2285 };
2286
2287 // Structure to describe request TLV 0x1C for WDSGetProfileList()
2288 struct sWDSGetProfileListRequest_Password
2289 {
2290 // String is variable length, but must be size of the container
2291 // char mPassword[1];
2292 };
2293
2294 // Structure to describe request TLV 0x1D for WDSGetProfileList()
2295 struct sWDSGetProfileListRequest_Authentication
2296 {
2297 bool mEnablePAP:1;
2298 bool mEnableCHAP:1;
2299
2300 // Padding out 6 bits
2301 UINT8 mReserved1:6;
2302 };
2303
2304 // Structure to describe request TLV 0x1E for WDSGetProfileList()
2305 struct sWDSGetProfileListRequest_IPAddress
2306 {
2307 UINT8 mIPV4Address[4];
2308 };
2309
2310 // Structure to describe request TLV 0x1F for WDSGetProfileList()
2311 struct sWDSGetProfileListRequest_PCSCF
2312 {
2313 INT8 mPCSCFAddressUsingPCO;
2314 };
2315
2316 // Structure to describe request TLV 0x20 for WDSGetProfileList()
2317 struct sWDSGetProfileListRequest_PDPAccessControlFlag
2318 {
2319 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
2320 };
2321
2322 // Structure to describe request TLV 0x21 for WDSGetProfileList()
2323 struct sWDSGetProfileListRequest_PCSCFAddressUsingDHCP
2324 {
2325 INT8 mPCSCFAddressUsingDHCP;
2326 };
2327
2328 // Structure to describe request TLV 0x22 for WDSGetProfileList()
2329 struct sWDSGetProfileListRequest_IMCNFlag
2330 {
2331 INT8 mIMCN;
2332 };
2333
2334 // Structure to describe request TLV 0x23 for WDSGetProfileList()
2335 struct sWDSGetProfileListRequest_TrafficFlowTemplateID1Parameters
2336 {
2337 UINT8 mFilterID;
2338 UINT8 mEvaluationID;
2339 eQMIWDSIPVersion mIPVersion;
2340
2341 // The following union is based on the value of mIPVersion
2342 union uValOfIPVersion
2343 {
2344 // If the value of mIPVersion == 4
2345 struct sIPVersionIs4
2346 {
2347 UINT8 mIPV4Address[4];
2348 };
2349
2350 sIPVersionIs4 mIPVersionIs4;
2351
2352 // If the value of mIPVersion == 6
2353 struct sIPVersionIs6
2354 {
2355 UINT16 mIPv6Address[8];
2356 };
2357
2358 sIPVersionIs6 mIPVersionIs6;
2359
2360 // Padding out 128 bits
2361 UINT8 mReserved1[16];
2362 };
2363
2364 uValOfIPVersion mValOfIPVersion;
2365
2366 UINT8 mSourceIPMask;
2367 UINT8 mNextHeader;
2368 UINT16 mDestinationPortRangeStart;
2369 UINT16 mDestinationPortRangeEnd;
2370 UINT16 mSourcePortRangeStart;
2371 UINT16 mSourcePortRangeEnd;
2372 UINT32 mIPSECSecurityParameterIndex;
2373 UINT16 mTOSMask;
2374 UINT32 mFlowLabel;
2375 };
2376
2377 // Structure to describe request TLV 0x24 for WDSGetProfileList()
2378 struct sWDSGetProfileListRequest_TrafficFlowTemplateID2Parameters
2379 {
2380 UINT8 mFilterID;
2381 UINT8 mEvaluationID;
2382 eQMIWDSIPVersion mIPVersion;
2383
2384 // The following union is based on the value of mIPVersion
2385 union uValOfIPVersion
2386 {
2387 // If the value of mIPVersion == 4
2388 struct sIPVersionIs4
2389 {
2390 UINT8 mIPV4Address[4];
2391 };
2392
2393 sIPVersionIs4 mIPVersionIs4;
2394
2395 // If the value of mIPVersion == 6
2396 struct sIPVersionIs6
2397 {
2398 UINT16 mIPv6Address[8];
2399 };
2400
2401 sIPVersionIs6 mIPVersionIs6;
2402
2403 // Padding out 128 bits
2404 UINT8 mReserved1[16];
2405 };
2406
2407 uValOfIPVersion mValOfIPVersion;
2408
2409 UINT8 mSourceIPMask;
2410 UINT8 mNextHeader;
2411 UINT16 mDestinationPortRangeStart;
2412 UINT16 mDestinationPortRangeEnd;
2413 UINT16 mSourcePortRangeStart;
2414 UINT16 mSourcePortRangeEnd;
2415 UINT32 mIPSECSecurityParameterIndex;
2416 UINT16 mTOSMask;
2417 UINT32 mFlowLabel;
2418 };
2419
2420 // Structure to describe request TLV 0x25 for WDSGetProfileList()
2421 struct sWDSGetProfileListRequest_PDPContextNumber
2422 {
2423 UINT8 mPDPContextNumber;
2424 };
2425
2426 // Structure to describe request TLV 0x26 for WDSGetProfileList()
2427 struct sWDSGetProfileListRequest_PDPContextSecondaryFlag
2428 {
2429 INT8 mPDPContextSecondaryFlag;
2430 };
2431
2432 // Structure to describe request TLV 0x27 for WDSGetProfileList()
2433 struct sWDSGetProfileListRequest_PDPContextPrimaryID
2434 {
2435 UINT8 mPDPPrimaryID;
2436 };
2437
2438 // Structure to describe request TLV 0x28 for WDSGetProfileList()
2439 struct sWDSGetProfileListRequest_IPv6Address
2440 {
2441 UINT16 mIPv6Address[8];
2442 };
2443
2444 // Structure to describe request TLV 0x29 for WDSGetProfileList()
2445 struct sWDSGetProfileListRequest_RequestedQoS
2446 {
2447 eQMITrafficClasses mTrafficClass;
2448 UINT32 mMaxUplinkBitrate;
2449 UINT32 mMaxDownlinkBitrate;
2450 UINT32 mGuaranteedUplinkBitrate;
2451 UINT32 mGuaranteedDownlinkBitrate;
2452 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2453 UINT32 mMaxSDUSize;
2454 eQMISDUErrorRatios mSDUErrorRatio;
2455 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2456 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2457 UINT32 mTransferDelay;
2458 UINT32 mTrafficHandlingPriority;
2459 INT8 mSignalingIndication;
2460 };
2461
2462 // Structure to describe request TLV 0x2A for WDSGetProfileList()
2463 struct sWDSGetProfileListRequest_MinimumQoS
2464 {
2465 eQMITrafficClasses mTrafficClass;
2466 UINT32 mMaxUplinkBitrate;
2467 UINT32 mMaxDownlinkBitrate;
2468 UINT32 mGuaranteedUplinkBitrate;
2469 UINT32 mGuaranteedDownlinkBitrate;
2470 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2471 UINT32 mMaxSDUSize;
2472 eQMISDUErrorRatios mSDUErrorRatio;
2473 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2474 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2475 UINT32 mTransferDelay;
2476 UINT32 mTrafficHandlingPriority;
2477 INT8 mSignalingIndication;
2478 };
2479
2480 // Structure to describe request TLV 0x2B for WDSGetProfileList()
2481 struct sWDSGetProfileListRequest_PrimaryIPv6
2482 {
2483 UINT16 mIPv6Address[8];
2484 };
2485
2486 // Structure to describe request TLV 0x2C for WDSGetProfileList()
2487 struct sWDSGetProfileListRequest_SecondaryIPv6
2488 {
2489 UINT16 mIPv6Address[8];
2490 };
2491
2492 // Structure to describe request TLV 0x2D for WDSGetProfileList()
2493 struct sWDSGetProfileListRequest_AddressPreference
2494 {
2495 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
2496 };
2497
2498 // Structure to describe request TLV 0x2E for WDSGetProfileList()
2499 struct sWDSGetProfileListRequest_LTEQoSParameters
2500 {
2501 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
2502 UINT32 mGuaranteedDownlinkBitrate;
2503 UINT32 mMaxDownlinkBitrate;
2504 UINT32 mGuaranteedUplinkBitrate;
2505 UINT32 mMaxUplinkBitrate;
2506 };
2507
2508 // Structure to describe request TLV 0x90 for WDSGetProfileList()
2509 struct sWDSGetProfileListRequest_NegotiateDNSServerPreferences
2510 {
2511 INT8 mNegotiateDNSServerPreference;
2512 };
2513
2514 // Structure to describe request TLV 0x91 for WDSGetProfileList()
2515 struct sWDSGetProfileListRequest_PPPSessionCloseTimerDO
2516 {
2517 UINT32 mPPPSessionCloseTimerDOSeconds;
2518 };
2519
2520 // Structure to describe request TLV 0x92 for WDSGetProfileList()
2521 struct sWDSGetProfileListRequest_PPPSessionCloseTimer1X
2522 {
2523 UINT32 mPPPSessionCloseTimer1XSeconds;
2524 };
2525
2526 // Structure to describe request TLV 0x93 for WDSGetProfileList()
2527 struct sWDSGetProfileListRequest_AllowLinger
2528 {
2529 INT8 mAllowLinger;
2530 };
2531
2532 // Structure to describe request TLV 0x94 for WDSGetProfileList()
2533 struct sWDSGetProfileListRequest_LCPACKTimeout
2534 {
2535 UINT16 mTimeoutMilliseconds;
2536 };
2537
2538 // Structure to describe request TLV 0x95 for WDSGetProfileList()
2539 struct sWDSGetProfileListRequest_IPCPACKTimeout
2540 {
2541 UINT16 mTimeoutMilliseconds;
2542 };
2543
2544 // Structure to describe request TLV 0x96 for WDSGetProfileList()
2545 struct sWDSGetProfileListRequest_AuthenticationTimeout
2546 {
2547 UINT16 mTimeoutMilliseconds;
2548 };
2549
2550 // Structure to describe request TLV 0x97 for WDSGetProfileList()
2551 struct sWDSGetProfileListRequest_LCPConfigRetryCount
2552 {
2553 UINT8 mRetryCount;
2554 };
2555
2556 // Structure to describe request TLV 0x98 for WDSGetProfileList()
2557 struct sWDSGetProfileListRequest_IPCPConfigRetryCount
2558 {
2559 UINT8 mRetryCount;
2560 };
2561
2562 // Structure to describe request TLV 0x99 for WDSGetProfileList()
2563 struct sWDSGetProfileListRequest_AuthenticationRetry
2564 {
2565 UINT8 mRetryCount;
2566 };
2567
2568 // Structure to describe request TLV 0x9A for WDSGetProfileList()
2569 struct sWDSGetProfileListRequest_AuthenticationProtocol
2570 {
2571 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2572 };
2573
2574 // Structure to describe request TLV 0x9B for WDSGetProfileList()
2575 struct sWDSGetProfileListRequest_UserID
2576 {
2577 // String is variable length, but must be size of the container
2578 // char mUsername[1];
2579 };
2580
2581 // Structure to describe request TLV 0x9C for WDSGetProfileList()
2582 struct sWDSGetProfileListRequest_AuthenticationPassword
2583 {
2584 // String is variable length, but must be size of the container
2585 // char mPassword[1];
2586 };
2587
2588 // Structure to describe request TLV 0x9D for WDSGetProfileList()
2589 struct sWDSGetProfileListRequest_DataRate
2590 {
2591 eQMIWDSDataRate mDataRate;
2592 };
2593
2594 // Structure to describe request TLV 0x9E for WDSGetProfileList()
2595 struct sWDSGetProfileListRequest_ApplicationType
2596 {
2597 eQMIWDSApplicationType mApplicationType;
2598 };
2599
2600 // Structure to describe request TLV 0x9F for WDSGetProfileList()
2601 struct sWDSGetProfileListRequest_DataMode
2602 {
2603 eQMIWDSDataMode mDataMode;
2604 };
2605
2606 // Structure to describe request TLV 0xA0 for WDSGetProfileList()
2607 struct sWDSGetProfileListRequest_ApplicationPriority
2608 {
2609 UINT8 mApplicationPriority;
2610 };
2611
2612 // Structure to describe request TLV 0xA1 for WDSGetProfileList()
2613 struct sWDSGetProfileListRequest_APNString
2614 {
2615 // String is variable length, but must be size of the container
2616 // char mAPNName[1];
2617 };
2618
2619 // Structure to describe request TLV 0xA2 for WDSGetProfileList()
2620 struct sWDSGetProfileListRequest_PDNType
2621 {
2622 eQMIWDSPDNType mPDNType;
2623 };
2624
2625 // Structure to describe request TLV 0xA3 for WDSGetProfileList()
2626 struct sWDSGetProfileListRequest_PCSCFAddressNeeded
2627 {
2628 INT8 mPCSCFAddressNeeded;
2629 };
2630
2631 // Structure to describe request TLV 0xA4 for WDSGetProfileList()
2632 struct sWDSGetProfileListRequest_PrimaryIPv4Address
2633 {
2634 UINT8 mIPV4Address[4];
2635 };
2636
2637 // Structure to describe request TLV 0xA5 for WDSGetProfileList()
2638 struct sWDSGetProfileListRequest_SecondaryIPv4Address
2639 {
2640 UINT8 mIPV4Address[4];
2641 };
2642
2643 // Structure to describe request TLV 0xA6 for WDSGetProfileList()
2644 struct sWDSGetProfileListRequest_PrimaryIPv6Address
2645 {
2646 UINT16 mIPv6Address[8];
2647 };
2648
2649 // Structure to describe request TLV 0xA7 for WDSGetProfileList()
2650 struct sWDSGetProfileListRequest_SecondaryIPv6Address
2651 {
2652 UINT16 mIPv6Address[8];
2653 };
2654
2655 // Structure to describe response TLV 0x01 for WDSGetProfileList()
2656 struct sWDSGetProfileListResponse_ProfileList
2657 {
2658 UINT8 mNumberOfProfiles;
2659
2660 struct sProfile
2661 {
2662 eQMIProfileTypes mProfileType;
2663 UINT8 mProfileIndex;
2664 UINT8 mProfileNameLength;
2665
2666 // This array must be the size specified by mProfileNameLength
2667 // char mProfileName[1];
2668 };
2669
2670 // This array must be the size specified by mNumberOfProfiles
2671 // sProfile mProfiles[1];
2672 };
2673
2674 // Structure to describe response TLV 0xE0 for WDSGetProfileList()
2675 struct sWDSGetProfileListResponse_ExtendedErrorCode
2676 {
2677 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2678 };
2679
2680 // Structure to describe request TLV 0x01 for WDSGetProfileSettings()
2681 struct sWDSGetProfileSettingsRequest_ProfileIdentifier
2682 {
2683 eQMIProfileTypes mProfileType;
2684 UINT8 mProfileIndex;
2685 };
2686
2687 // Structure to describe response TLV 0x10 for WDSGetProfileSettings()
2688 struct sWDSGetProfileSettingsResponse_ProfileName
2689 {
2690 // String is variable length, but must be size of the container
2691 // char mProfileName[1];
2692 };
2693
2694 // Structure to describe response TLV 0x11 for WDSGetProfileSettings()
2695 struct sWDSGetProfileSettingsResponse_PDPType
2696 {
2697 eQMIPDPTypes mPDPType;
2698 };
2699
2700 // Structure to describe response TLV 0x12 for WDSGetProfileSettings()
2701 struct sWDSGetProfileSettingsResponse_PDPHeaderCompressionType
2702 {
2703 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
2704 };
2705
2706 // Structure to describe response TLV 0x13 for WDSGetProfileSettings()
2707 struct sWDSGetProfileSettingsResponse_PDPDataCompressionType
2708 {
2709 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
2710 };
2711
2712 // Structure to describe response TLV 0x14 for WDSGetProfileSettings()
2713 struct sWDSGetProfileSettingsResponse_APNName
2714 {
2715 // String is variable length, but must be size of the container
2716 // char mAPNName[1];
2717 };
2718
2719 // Structure to describe response TLV 0x15 for WDSGetProfileSettings()
2720 struct sWDSGetProfileSettingsResponse_PrimaryDNS
2721 {
2722 UINT8 mIPV4Address[4];
2723 };
2724
2725 // Structure to describe response TLV 0x16 for WDSGetProfileSettings()
2726 struct sWDSGetProfileSettingsResponse_SecondaryDNS
2727 {
2728 UINT8 mIPV4Address[4];
2729 };
2730
2731 // Structure to describe response TLV 0x17 for WDSGetProfileSettings()
2732 struct sWDSGetProfileSettingsResponse_UMTSRequestedQoS
2733 {
2734 eQMITrafficClasses mTrafficClass;
2735 UINT32 mMaxUplinkBitrate;
2736 UINT32 mMaxDownlinkBitrate;
2737 UINT32 mGuaranteedUplinkBitrate;
2738 UINT32 mGuaranteedDownlinkBitrate;
2739 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2740 UINT32 mMaxSDUSize;
2741 eQMISDUErrorRatios mSDUErrorRatio;
2742 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2743 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2744 UINT32 mTransferDelay;
2745 UINT32 mTrafficHandlingPriority;
2746 };
2747
2748 // Structure to describe response TLV 0x18 for WDSGetProfileSettings()
2749 struct sWDSGetProfileSettingsResponse_UMTSMinimumQoS
2750 {
2751 eQMITrafficClasses mTrafficClass;
2752 UINT32 mMaxUplinkBitrate;
2753 UINT32 mMaxDownlinkBitrate;
2754 UINT32 mGuaranteedUplinkBitrate;
2755 UINT32 mGuaranteedDownlinkBitrate;
2756 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2757 UINT32 mMaxSDUSize;
2758 eQMISDUErrorRatios mSDUErrorRatio;
2759 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2760 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2761 UINT32 mTransferDelay;
2762 UINT32 mTrafficHandlingPriority;
2763 };
2764
2765 // Structure to describe response TLV 0x19 for WDSGetProfileSettings()
2766 struct sWDSGetProfileSettingsResponse_GPRSRequestedQoS
2767 {
2768 UINT32 mPrecedenceClass;
2769 UINT32 mDelayClass;
2770 UINT32 mReliabilityClass;
2771 UINT32 mPeakThroughputClass;
2772 UINT32 mMeanThroughputClass;
2773 };
2774
2775 // Structure to describe response TLV 0x1A for WDSGetProfileSettings()
2776 struct sWDSGetProfileSettingsResponse_GPRSMinimumQoS
2777 {
2778 UINT32 mPrecedenceClass;
2779 UINT32 mDelayClass;
2780 UINT32 mReliabilityClass;
2781 UINT32 mPeakThroughputClass;
2782 UINT32 mMeanThroughputClass;
2783 };
2784
2785 // Structure to describe response TLV 0x1B for WDSGetProfileSettings()
2786 struct sWDSGetProfileSettingsResponse_Username
2787 {
2788 // String is variable length, but must be size of the container
2789 // char mUsername[1];
2790 };
2791
2792 // Structure to describe response TLV 0x1D for WDSGetProfileSettings()
2793 struct sWDSGetProfileSettingsResponse_Authentication
2794 {
2795 bool mEnablePAP:1;
2796 bool mEnableCHAP:1;
2797
2798 // Padding out 6 bits
2799 UINT8 mReserved1:6;
2800 };
2801
2802 // Structure to describe response TLV 0x1E for WDSGetProfileSettings()
2803 struct sWDSGetProfileSettingsResponse_IPAddress
2804 {
2805 UINT8 mIPV4Address[4];
2806 };
2807
2808 // Structure to describe response TLV 0x1F for WDSGetProfileSettings()
2809 struct sWDSGetProfileSettingsResponse_PCSCF
2810 {
2811 INT8 mPCSCFAddressUsingPCO;
2812 };
2813
2814 // Structure to describe response TLV 0x20 for WDSGetProfileSettings()
2815 struct sWDSGetProfileSettingsResponse_PDPAccessControlFlag
2816 {
2817 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
2818 };
2819
2820 // Structure to describe response TLV 0x21 for WDSGetProfileSettings()
2821 struct sWDSGetProfileSettingsResponse_PCSCFAddressUsingDHCP
2822 {
2823 INT8 mPCSCFAddressUsingDHCP;
2824 };
2825
2826 // Structure to describe response TLV 0x22 for WDSGetProfileSettings()
2827 struct sWDSGetProfileSettingsResponse_IMCMFlag
2828 {
2829 INT8 mIMCN;
2830 };
2831
2832 // Structure to describe response TLV 0x23 for WDSGetProfileSettings()
2833 struct sWDSGetProfileSettingsResponse_TrafficFlowTemplateID1Parameters
2834 {
2835 UINT8 mFilterID;
2836 UINT8 mEvaluationID;
2837 eQMIWDSIPVersion mIPVersion;
2838
2839 // The following union is based on the value of mIPVersion
2840 union uValOfIPVersion
2841 {
2842 // If the value of mIPVersion == 4
2843 struct sIPVersionIs4
2844 {
2845 UINT8 mIPV4Address[4];
2846 };
2847
2848 sIPVersionIs4 mIPVersionIs4;
2849
2850 // If the value of mIPVersion == 6
2851 struct sIPVersionIs6
2852 {
2853 UINT16 mIPv6Address[8];
2854 };
2855
2856 sIPVersionIs6 mIPVersionIs6;
2857
2858 // Padding out 128 bits
2859 UINT8 mReserved1[16];
2860 };
2861
2862 uValOfIPVersion mValOfIPVersion;
2863
2864 UINT8 mSourceIPMask;
2865 UINT8 mNextHeader;
2866 UINT16 mDestinationPortRangeStart;
2867 UINT16 mDestinationPortRangeEnd;
2868 UINT16 mSourcePortRangeStart;
2869 UINT16 mSourcePortRangeEnd;
2870 UINT32 mIPSECSecurityParameterIndex;
2871 UINT16 mTOSMask;
2872 UINT32 mFlowLabel;
2873 };
2874
2875 // Structure to describe response TLV 0x24 for WDSGetProfileSettings()
2876 struct sWDSGetProfileSettingsResponse_TrafficFlowTemplateID2Parameters
2877 {
2878 UINT8 mFilterID;
2879 UINT8 mEvaluationID;
2880 eQMIWDSIPVersion mIPVersion;
2881
2882 // The following union is based on the value of mIPVersion
2883 union uValOfIPVersion
2884 {
2885 // If the value of mIPVersion == 4
2886 struct sIPVersionIs4
2887 {
2888 UINT8 mIPV4Address[4];
2889 };
2890
2891 sIPVersionIs4 mIPVersionIs4;
2892
2893 // If the value of mIPVersion == 6
2894 struct sIPVersionIs6
2895 {
2896 UINT16 mIPv6Address[8];
2897 };
2898
2899 sIPVersionIs6 mIPVersionIs6;
2900
2901 // Padding out 128 bits
2902 UINT8 mReserved1[16];
2903 };
2904
2905 uValOfIPVersion mValOfIPVersion;
2906
2907 UINT8 mSourceIPMask;
2908 UINT8 mNextHeader;
2909 UINT16 mDestinationPortRangeStart;
2910 UINT16 mDestinationPortRangeEnd;
2911 UINT16 mSourcePortRangeStart;
2912 UINT16 mSourcePortRangeEnd;
2913 UINT32 mIPSECSecurityParameterIndex;
2914 UINT16 mTOSMask;
2915 UINT32 mFlowLabel;
2916 };
2917
2918 // Structure to describe response TLV 0x25 for WDSGetProfileSettings()
2919 struct sWDSGetProfileSettingsResponse_PDPContextNumber
2920 {
2921 UINT8 mPDPContextNumber;
2922 };
2923
2924 // Structure to describe response TLV 0x26 for WDSGetProfileSettings()
2925 struct sWDSGetProfileSettingsResponse_PDPContextSecondaryFlag
2926 {
2927 INT8 mPDPContextSecondaryFlag;
2928 };
2929
2930 // Structure to describe response TLV 0x27 for WDSGetProfileSettings()
2931 struct sWDSGetProfileSettingsResponse_PDPContextPrimaryID
2932 {
2933 UINT8 mPDPPrimaryID;
2934 };
2935
2936 // Structure to describe response TLV 0x28 for WDSGetProfileSettings()
2937 struct sWDSGetProfileSettingsResponse_IPv6Address
2938 {
2939 UINT16 mIPv6Address[8];
2940 };
2941
2942 // Structure to describe response TLV 0x29 for WDSGetProfileSettings()
2943 struct sWDSGetProfileSettingsResponse_RequestedQoS
2944 {
2945 eQMITrafficClasses mTrafficClass;
2946 UINT32 mMaxUplinkBitrate;
2947 UINT32 mMaxDownlinkBitrate;
2948 UINT32 mGuaranteedUplinkBitrate;
2949 UINT32 mGuaranteedDownlinkBitrate;
2950 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2951 UINT32 mMaxSDUSize;
2952 eQMISDUErrorRatios mSDUErrorRatio;
2953 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2954 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2955 UINT32 mTransferDelay;
2956 UINT32 mTrafficHandlingPriority;
2957 INT8 mSignalingIndication;
2958 };
2959
2960 // Structure to describe response TLV 0x2A for WDSGetProfileSettings()
2961 struct sWDSGetProfileSettingsResponse_MinimumQoS
2962 {
2963 eQMITrafficClasses mTrafficClass;
2964 UINT32 mMaxUplinkBitrate;
2965 UINT32 mMaxDownlinkBitrate;
2966 UINT32 mGuaranteedUplinkBitrate;
2967 UINT32 mGuaranteedDownlinkBitrate;
2968 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2969 UINT32 mMaxSDUSize;
2970 eQMISDUErrorRatios mSDUErrorRatio;
2971 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2972 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2973 UINT32 mTransferDelay;
2974 UINT32 mTrafficHandlingPriority;
2975 INT8 mSignalingIndication;
2976 };
2977
2978 // Structure to describe response TLV 0x2B for WDSGetProfileSettings()
2979 struct sWDSGetProfileSettingsResponse_PrimaryIPv6
2980 {
2981 UINT16 mIPv6Address[8];
2982 };
2983
2984 // Structure to describe response TLV 0x2C for WDSGetProfileSettings()
2985 struct sWDSGetProfileSettingsResponse_SecondaryIPv6
2986 {
2987 UINT16 mIPv6Address[8];
2988 };
2989
2990 // Structure to describe response TLV 0x2D for WDSGetProfileSettings()
2991 struct sWDSGetProfileSettingsResponse_AddressPreference
2992 {
2993 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
2994 };
2995
2996 // Structure to describe response TLV 0x2E for WDSGetProfileSettings()
2997 struct sWDSGetProfileSettingsResponse_LTEQoSParameters
2998 {
2999 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
3000 UINT32 mGuaranteedDownlinkBitrate;
3001 UINT32 mMaxDownlinkBitrate;
3002 UINT32 mGuaranteedUplinkBitrate;
3003 UINT32 mMaxUplinkBitrate;
3004 };
3005
3006 // Structure to describe response TLV 0x2F for WDSGetProfileSettings()
3007 struct sWDSGetProfileSettingsResponse_APNDisabled
3008 {
3009 INT8 mAPNDisabled;
3010 };
3011
3012 // Structure to describe response TLV 0x30 for WDSGetProfileSettings()
3013 struct sWDSGetProfileSettingsResponse_PDNInactivityTimer
3014 {
3015 UINT32 mPDNInactivityTimerSeconds;
3016 };
3017
3018 // Structure to describe response TLV 0x31 for WDSGetProfileSettings()
3019 struct sWDSGetProfileSettingsResponse_APNClass
3020 {
3021 UINT8 mAPNClass;
3022 };
3023
3024 // Structure to describe response TLV 0x35 for WDSGetProfileSettings()
3025 struct sWDSGetProfileSettingsResponse_APNBearer
3026 {
3027 bool mGSM:1;
3028 bool mWCDMA:1;
3029 bool mLTE:1;
3030
3031 // Padding out 60 bits
3032 UINT8 mReserved1:5;
3033 UINT8 mReserved2[6];
3034 UINT8 mReserved3:7;
3035
3036 bool mAny:1;
3037 };
3038
3039 // Structure to describe response TLV 0x90 for WDSGetProfileSettings()
3040 struct sWDSGetProfileSettingsResponse_NegotiateDNSServerPreference
3041 {
3042 INT8 mNegotiateDNSServerPreference;
3043 };
3044
3045 // Structure to describe response TLV 0x91 for WDSGetProfileSettings()
3046 struct sWDSGetProfileSettingsResponse_PPPSessionCloseTimerDO
3047 {
3048 UINT32 mPPPSessionCloseTimerDOSeconds;
3049 };
3050
3051 // Structure to describe response TLV 0x92 for WDSGetProfileSettings()
3052 struct sWDSGetProfileSettingsResponse_PPPSessionCloseTimer1X
3053 {
3054 UINT32 mPPPSessionCloseTimer1XSeconds;
3055 };
3056
3057 // Structure to describe response TLV 0x93 for WDSGetProfileSettings()
3058 struct sWDSGetProfileSettingsResponse_AllowLinger
3059 {
3060 INT8 mAllowLinger;
3061 };
3062
3063 // Structure to describe response TLV 0x94 for WDSGetProfileSettings()
3064 struct sWDSGetProfileSettingsResponse_LCPACKTimeout
3065 {
3066 UINT16 mTimeoutMilliseconds;
3067 };
3068
3069 // Structure to describe response TLV 0x95 for WDSGetProfileSettings()
3070 struct sWDSGetProfileSettingsResponse_IPCPACKTimeout
3071 {
3072 UINT16 mTimeoutMilliseconds;
3073 };
3074
3075 // Structure to describe response TLV 0x96 for WDSGetProfileSettings()
3076 struct sWDSGetProfileSettingsResponse_AuthenticationTimeout
3077 {
3078 UINT16 mTimeoutMilliseconds;
3079 };
3080
3081 // Structure to describe response TLV 0x97 for WDSGetProfileSettings()
3082 struct sWDSGetProfileSettingsResponse_LCPConfigRetryCount
3083 {
3084 UINT8 mRetryCount;
3085 };
3086
3087 // Structure to describe response TLV 0x98 for WDSGetProfileSettings()
3088 struct sWDSGetProfileSettingsResponse_IPCPConfigRetryCount
3089 {
3090 UINT8 mRetryCount;
3091 };
3092
3093 // Structure to describe response TLV 0x99 for WDSGetProfileSettings()
3094 struct sWDSGetProfileSettingsResponse_AuthenticationRetry
3095 {
3096 UINT8 mRetryCount;
3097 };
3098
3099 // Structure to describe response TLV 0x9A for WDSGetProfileSettings()
3100 struct sWDSGetProfileSettingsResponse_AuthenticationProtocol
3101 {
3102 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3103 };
3104
3105 // Structure to describe response TLV 0x9B for WDSGetProfileSettings()
3106 struct sWDSGetProfileSettingsResponse_UserID
3107 {
3108 // String is variable length, but must be size of the container
3109 // char mUsername[1];
3110 };
3111
3112 // Structure to describe response TLV 0x9C for WDSGetProfileSettings()
3113 struct sWDSGetProfileSettingsResponse_AuthenticationPassword
3114 {
3115 // String is variable length, but must be size of the container
3116 // char mPassword[1];
3117 };
3118
3119 // Structure to describe response TLV 0x9D for WDSGetProfileSettings()
3120 struct sWDSGetProfileSettingsResponse_DataRate
3121 {
3122 eQMIWDSDataRate mDataRate;
3123 };
3124
3125 // Structure to describe response TLV 0x9E for WDSGetProfileSettings()
3126 struct sWDSGetProfileSettingsResponse_ApplicationType
3127 {
3128 eQMIWDSApplicationType mApplicationType;
3129 };
3130
3131 // Structure to describe response TLV 0x9F for WDSGetProfileSettings()
3132 struct sWDSGetProfileSettingsResponse_DataMode
3133 {
3134 eQMIWDSDataMode mDataMode;
3135 };
3136
3137 // Structure to describe response TLV 0xA0 for WDSGetProfileSettings()
3138 struct sWDSGetProfileSettingsResponse_ApplicationPriority
3139 {
3140 UINT8 mApplicationPriority;
3141 };
3142
3143 // Structure to describe response TLV 0xA1 for WDSGetProfileSettings()
3144 struct sWDSGetProfileSettingsResponse_APNString
3145 {
3146 // String is variable length, but must be size of the container
3147 // char mAPNName[1];
3148 };
3149
3150 // Structure to describe response TLV 0xA2 for WDSGetProfileSettings()
3151 struct sWDSGetProfileSettingsResponse_PDNType
3152 {
3153 eQMIWDSPDNType mPDNType;
3154 };
3155
3156 // Structure to describe response TLV 0xA3 for WDSGetProfileSettings()
3157 struct sWDSGetProfileSettingsResponse_PCSCFAddressNeeded
3158 {
3159 INT8 mPCSCFAddressNeeded;
3160 };
3161
3162 // Structure to describe response TLV 0xA4 for WDSGetProfileSettings()
3163 struct sWDSGetProfileSettingsResponse_PrimaryIPv4Address
3164 {
3165 UINT8 mIPV4Address[4];
3166 };
3167
3168 // Structure to describe response TLV 0xA5 for WDSGetProfileSettings()
3169 struct sWDSGetProfileSettingsResponse_SecondaryIPv4Address
3170 {
3171 UINT8 mIPV4Address[4];
3172 };
3173
3174 // Structure to describe response TLV 0xA6 for WDSGetProfileSettings()
3175 struct sWDSGetProfileSettingsResponse_PrimaryIPv6Address
3176 {
3177 UINT16 mIPv6Address[8];
3178 };
3179
3180 // Structure to describe response TLV 0xA7 for WDSGetProfileSettings()
3181 struct sWDSGetProfileSettingsResponse_SecondaryIPv6Address
3182 {
3183 UINT16 mIPv6Address[8];
3184 };
3185
3186 // Structure to describe response TLV 0xA8 for WDSGetProfileSettings()
3187 struct sWDSGetProfileSettingsResponse_RATType
3188 {
3189 eQMIWDS3GPP2RATTypes mRATType;
3190 };
3191
3192 // Structure to describe response TLV 0xA9 for WDSGetProfileSettings()
3193 struct sWDSGetProfileSettingsResponse_3GPP2APNEnabled
3194 {
3195 INT8 mAPNEnabled;
3196 };
3197
3198 // Structure to describe response TLV 0xAA for WDSGetProfileSettings()
3199 struct sWDSGetProfileSettingsResponse_3GPP2PDNInactivityTimer
3200 {
3201 UINT32 mPDNInactivityTimerMinutes;
3202 };
3203
3204 // Structure to describe response TLV 0xAB for WDSGetProfileSettings()
3205 struct sWDSGetProfileSettingsResponse_3GPP2APNClass
3206 {
3207 UINT8 mAPNClass;
3208 };
3209
3210 // Structure to describe response TLV 0xAD for WDSGetProfileSettings()
3211 struct sWDSGetProfileSettingsResponse_PDNAuthenticationProtocol
3212 {
3213 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3214 };
3215
3216 // Structure to describe response TLV 0xAE for WDSGetProfileSettings()
3217 struct sWDSGetProfileSettingsResponse_PDNUserID
3218 {
3219 // String is variable length, but must be size of the container
3220 // char mUserID[1];
3221 };
3222
3223 // Structure to describe response TLV 0xAF for WDSGetProfileSettings()
3224 struct sWDSGetProfileSettingsResponse_PDNPassword
3225 {
3226 // String is variable length, but must be size of the container
3227 // char mPassword[1];
3228 };
3229
3230 // Structure to describe response TLV 0xB0 for WDSGetProfileSettings()
3231 struct sWDSGetProfileSettingsResponse_PDNLabel
3232 {
3233 // String is variable length, but must be size of the container
3234 // char mLabel[1];
3235 };
3236
3237 // Structure to describe response TLV 0xE0 for WDSGetProfileSettings()
3238 struct sWDSGetProfileSettingsResponse_ExtendedErrorCode
3239 {
3240 eQMIWDSExtendedErrorCode mExtendedErrorCode;
3241 };
3242
3243 // Structure to describe request TLV 0x01 for WDSGetDefaultSettings()
3244 struct sWDSGetDefaultSettingsRequest_ProfileType
3245 {
3246 eQMIProfileTypes mProfileType;
3247 };
3248
3249 // Structure to describe response TLV 0x10 for WDSGetDefaultSettings()
3250 struct sWDSGetDefaultSettingsResponse_ProfileName
3251 {
3252 // String is variable length, but must be size of the container
3253 // char mProfileName[1];
3254 };
3255
3256 // Structure to describe response TLV 0x11 for WDSGetDefaultSettings()
3257 struct sWDSGetDefaultSettingsResponse_PDPType
3258 {
3259 eQMIPDPTypes mPDPType;
3260 };
3261
3262 // Structure to describe response TLV 0x12 for WDSGetDefaultSettings()
3263 struct sWDSGetDefaultSettingsResponse_PDPHeaderCompressionType
3264 {
3265 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
3266 };
3267
3268 // Structure to describe response TLV 0x13 for WDSGetDefaultSettings()
3269 struct sWDSGetDefaultSettingsResponse_PDPDataCompressionType
3270 {
3271 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
3272 };
3273
3274 // Structure to describe response TLV 0x14 for WDSGetDefaultSettings()
3275 struct sWDSGetDefaultSettingsResponse_APNName
3276 {
3277 // String is variable length, but must be size of the container
3278 // char mAPNName[1];
3279 };
3280
3281 // Structure to describe response TLV 0x15 for WDSGetDefaultSettings()
3282 struct sWDSGetDefaultSettingsResponse_PrimaryDNS
3283 {
3284 UINT8 mIPV4Address[4];
3285 };
3286
3287 // Structure to describe response TLV 0x16 for WDSGetDefaultSettings()
3288 struct sWDSGetDefaultSettingsResponse_SecondaryDNS
3289 {
3290 UINT8 mIPV4Address[4];
3291 };
3292
3293 // Structure to describe response TLV 0x17 for WDSGetDefaultSettings()
3294 struct sWDSGetDefaultSettingsResponse_UMTSRequestedQoS
3295 {
3296 eQMITrafficClasses mTrafficClass;
3297 UINT32 mMaxUplinkBitrate;
3298 UINT32 mMaxDownlinkBitrate;
3299 UINT32 mGuaranteedUplinkBitrate;
3300 UINT32 mGuaranteedDownlinkBitrate;
3301 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3302 UINT32 mMaxSDUSize;
3303 eQMISDUErrorRatios mSDUErrorRatio;
3304 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3305 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3306 UINT32 mTransferDelay;
3307 UINT32 mTrafficHandlingPriority;
3308 };
3309
3310 // Structure to describe response TLV 0x18 for WDSGetDefaultSettings()
3311 struct sWDSGetDefaultSettingsResponse_UMTSMinimumQoS
3312 {
3313 eQMITrafficClasses mTrafficClass;
3314 UINT32 mMaxUplinkBitrate;
3315 UINT32 mMaxDownlinkBitrate;
3316 UINT32 mGuaranteedUplinkBitrate;
3317 UINT32 mGuaranteedDownlinkBitrate;
3318 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3319 UINT32 mMaxSDUSize;
3320 eQMISDUErrorRatios mSDUErrorRatio;
3321 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3322 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3323 UINT32 mTransferDelay;
3324 UINT32 mTrafficHandlingPriority;
3325 };
3326
3327 // Structure to describe response TLV 0x19 for WDSGetDefaultSettings()
3328 struct sWDSGetDefaultSettingsResponse_GPRSRequestedQoS
3329 {
3330 UINT32 mPrecedenceClass;
3331 UINT32 mDelayClass;
3332 UINT32 mReliabilityClass;
3333 UINT32 mPeakThroughputClass;
3334 UINT32 mMeanThroughputClass;
3335 };
3336
3337 // Structure to describe response TLV 0x1A for WDSGetDefaultSettings()
3338 struct sWDSGetDefaultSettingsResponse_GPRSMinimumQoS
3339 {
3340 UINT32 mPrecedenceClass;
3341 UINT32 mDelayClass;
3342 UINT32 mReliabilityClass;
3343 UINT32 mPeakThroughputClass;
3344 UINT32 mMeanThroughputClass;
3345 };
3346
3347 // Structure to describe response TLV 0x1B for WDSGetDefaultSettings()
3348 struct sWDSGetDefaultSettingsResponse_Username
3349 {
3350 // String is variable length, but must be size of the container
3351 // char mUsername[1];
3352 };
3353
3354 // Structure to describe response TLV 0x1C for WDSGetDefaultSettings()
3355 struct sWDSGetDefaultSettingsResponse_Password
3356 {
3357 // String is variable length, but must be size of the container
3358 // char mPassword[1];
3359 };
3360
3361 // Structure to describe response TLV 0x1D for WDSGetDefaultSettings()
3362 struct sWDSGetDefaultSettingsResponse_Authentication
3363 {
3364 bool mEnablePAP:1;
3365 bool mEnableCHAP:1;
3366
3367 // Padding out 6 bits
3368 UINT8 mReserved1:6;
3369 };
3370
3371 // Structure to describe response TLV 0x1E for WDSGetDefaultSettings()
3372 struct sWDSGetDefaultSettingsResponse_IPAddress
3373 {
3374 UINT8 mIPV4Address[4];
3375 };
3376
3377 // Structure to describe response TLV 0x1F for WDSGetDefaultSettings()
3378 struct sWDSGetDefaultSettingsResponse_PCSCF
3379 {
3380 INT8 mPCSCFAddressUsingPCO;
3381 };
3382
3383 // Structure to describe response TLV 0x20 for WDSGetDefaultSettings()
3384 struct sWDSGetDefaultSettingsResponse_PDPAccessControlFlag
3385 {
3386 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
3387 };
3388
3389 // Structure to describe response TLV 0x21 for WDSGetDefaultSettings()
3390 struct sWDSGetDefaultSettingsResponse_PCSCFAddressUsingDHCP
3391 {
3392 INT8 mPCSCFAddressUsingDHCP;
3393 };
3394
3395 // Structure to describe response TLV 0x22 for WDSGetDefaultSettings()
3396 struct sWDSGetDefaultSettingsResponse_IMCNFlag
3397 {
3398 INT8 mIMCN;
3399 };
3400
3401 // Structure to describe response TLV 0x23 for WDSGetDefaultSettings()
3402 struct sWDSGetDefaultSettingsResponse_TrafficFlowTemplateID1Parameters
3403 {
3404 UINT8 mFilterID;
3405 UINT8 mEvaluationID;
3406 eQMIWDSIPVersion mIPVersion;
3407
3408 // The following union is based on the value of mIPVersion
3409 union uValOfIPVersion
3410 {
3411 // If the value of mIPVersion == 4
3412 struct sIPVersionIs4
3413 {
3414 UINT8 mIPV4Address[4];
3415 };
3416
3417 sIPVersionIs4 mIPVersionIs4;
3418
3419 // If the value of mIPVersion == 6
3420 struct sIPVersionIs6
3421 {
3422 UINT16 mIPv6Address[8];
3423 };
3424
3425 sIPVersionIs6 mIPVersionIs6;
3426
3427 // Padding out 128 bits
3428 UINT8 mReserved1[16];
3429 };
3430
3431 uValOfIPVersion mValOfIPVersion;
3432
3433 UINT8 mSourceIPMask;
3434 UINT8 mNextHeader;
3435 UINT16 mDestinationPortRangeStart;
3436 UINT16 mDestinationPortRangeEnd;
3437 UINT16 mSourcePortRangeStart;
3438 UINT16 mSourcePortRangeEnd;
3439 UINT32 mIPSECSecurityParameterIndex;
3440 UINT16 mTOSMask;
3441 UINT32 mFlowLabel;
3442 };
3443
3444 // Structure to describe response TLV 0x24 for WDSGetDefaultSettings()
3445 struct sWDSGetDefaultSettingsResponse_TrafficFlowTemplateID2Parameters
3446 {
3447 UINT8 mFilterID;
3448 UINT8 mEvaluationID;
3449 eQMIWDSIPVersion mIPVersion;
3450
3451 // The following union is based on the value of mIPVersion
3452 union uValOfIPVersion
3453 {
3454 // If the value of mIPVersion == 4
3455 struct sIPVersionIs4
3456 {
3457 UINT8 mIPV4Address[4];
3458 };
3459
3460 sIPVersionIs4 mIPVersionIs4;
3461
3462 // If the value of mIPVersion == 6
3463 struct sIPVersionIs6
3464 {
3465 UINT16 mIPv6Address[8];
3466 };
3467
3468 sIPVersionIs6 mIPVersionIs6;
3469
3470 // Padding out 128 bits
3471 UINT8 mReserved1[16];
3472 };
3473
3474 uValOfIPVersion mValOfIPVersion;
3475
3476 UINT8 mSourceIPMask;
3477 UINT8 mNextHeader;
3478 UINT16 mDestinationPortRangeStart;
3479 UINT16 mDestinationPortRangeEnd;
3480 UINT16 mSourcePortRangeStart;
3481 UINT16 mSourcePortRangeEnd;
3482 UINT32 mIPSECSecurityParameterIndex;
3483 UINT16 mTOSMask;
3484 UINT32 mFlowLabel;
3485 };
3486
3487 // Structure to describe response TLV 0x25 for WDSGetDefaultSettings()
3488 struct sWDSGetDefaultSettingsResponse_PDPContextNumber
3489 {
3490 UINT8 mPDPContextNumber;
3491 };
3492
3493 // Structure to describe response TLV 0x26 for WDSGetDefaultSettings()
3494 struct sWDSGetDefaultSettingsResponse_PDPContextSecondaryFlag
3495 {
3496 INT8 mPDPContextSecondaryFlag;
3497 };
3498
3499 // Structure to describe response TLV 0x27 for WDSGetDefaultSettings()
3500 struct sWDSGetDefaultSettingsResponse_PDPContextPrimaryID
3501 {
3502 UINT8 mPDPPrimaryID;
3503 };
3504
3505 // Structure to describe response TLV 0x28 for WDSGetDefaultSettings()
3506 struct sWDSGetDefaultSettingsResponse_IPv6Address
3507 {
3508 UINT16 mIPv6Address[8];
3509 };
3510
3511 // Structure to describe response TLV 0x29 for WDSGetDefaultSettings()
3512 struct sWDSGetDefaultSettingsResponse_RequestedQoS
3513 {
3514 eQMITrafficClasses mTrafficClass;
3515 UINT32 mMaxUplinkBitrate;
3516 UINT32 mMaxDownlinkBitrate;
3517 UINT32 mGuaranteedUplinkBitrate;
3518 UINT32 mGuaranteedDownlinkBitrate;
3519 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3520 UINT32 mMaxSDUSize;
3521 eQMISDUErrorRatios mSDUErrorRatio;
3522 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3523 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3524 UINT32 mTransferDelay;
3525 UINT32 mTrafficHandlingPriority;
3526 INT8 mSignalingIndication;
3527 };
3528
3529 // Structure to describe response TLV 0x2A for WDSGetDefaultSettings()
3530 struct sWDSGetDefaultSettingsResponse_MinimumQoS
3531 {
3532 eQMITrafficClasses mTrafficClass;
3533 UINT32 mMaxUplinkBitrate;
3534 UINT32 mMaxDownlinkBitrate;
3535 UINT32 mGuaranteedUplinkBitrate;
3536 UINT32 mGuaranteedDownlinkBitrate;
3537 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3538 UINT32 mMaxSDUSize;
3539 eQMISDUErrorRatios mSDUErrorRatio;
3540 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3541 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3542 UINT32 mTransferDelay;
3543 UINT32 mTrafficHandlingPriority;
3544 INT8 mSignalingIndication;
3545 };
3546
3547 // Structure to describe response TLV 0x2B for WDSGetDefaultSettings()
3548 struct sWDSGetDefaultSettingsResponse_PrimaryIPv6
3549 {
3550 UINT16 mIPv6Address[8];
3551 };
3552
3553 // Structure to describe response TLV 0x2C for WDSGetDefaultSettings()
3554 struct sWDSGetDefaultSettingsResponse_SecondaryIPv6
3555 {
3556 UINT16 mIPv6Address[8];
3557 };
3558
3559 // Structure to describe response TLV 0x2D for WDSGetDefaultSettings()
3560 struct sWDSGetDefaultSettingsResponse_AddressPreference
3561 {
3562 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
3563 };
3564
3565 // Structure to describe response TLV 0x2E for WDSGetDefaultSettings()
3566 struct sWDSGetDefaultSettingsResponse_LTEQoSParameters
3567 {
3568 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
3569 UINT32 mGuaranteedDownlinkBitrate;
3570 UINT32 mMaxDownlinkBitrate;
3571 UINT32 mGuaranteedUplinkBitrate;
3572 UINT32 mMaxUplinkBitrate;
3573 };
3574
3575 // Structure to describe response TLV 0x2F for WDSGetDefaultSettings()
3576 struct sWDSGetDefaultSettingsResponse_APNDisabled
3577 {
3578 INT8 mAPNDisabled;
3579 };
3580
3581 // Structure to describe response TLV 0x30 for WDSGetDefaultSettings()
3582 struct sWDSGetDefaultSettingsResponse_PDNInactivityTimer
3583 {
3584 UINT32 mPDNInactivityTimerSeconds;
3585 };
3586
3587 // Structure to describe response TLV 0x31 for WDSGetDefaultSettings()
3588 struct sWDSGetDefaultSettingsResponse_APNClass
3589 {
3590 UINT8 mAPNClass;
3591 };
3592
3593 // Structure to describe response TLV 0x35 for WDSGetDefaultSettings()
3594 struct sWDSGetDefaultSettingsResponse_APNBearer
3595 {
3596 bool mGSM:1;
3597 bool mWCDMA:1;
3598 bool mLTE:1;
3599
3600 // Padding out 60 bits
3601 UINT8 mReserved1:5;
3602 UINT8 mReserved2[6];
3603 UINT8 mReserved3:7;
3604
3605 bool mAny:1;
3606 };
3607
3608 // Structure to describe response TLV 0x90 for WDSGetDefaultSettings()
3609 struct sWDSGetDefaultSettingsResponse_NegotiateDNSServerPreferences
3610 {
3611 INT8 mNegotiateDNSServerPreference;
3612 };
3613
3614 // Structure to describe response TLV 0x91 for WDSGetDefaultSettings()
3615 struct sWDSGetDefaultSettingsResponse_PPPSessionCloseTimerDO
3616 {
3617 UINT32 mPPPSessionCloseTimerDOSeconds;
3618 };
3619
3620 // Structure to describe response TLV 0x92 for WDSGetDefaultSettings()
3621 struct sWDSGetDefaultSettingsResponse_PPPSessionCloseTimer1X
3622 {
3623 UINT32 mPPPSessionCloseTimer1XSeconds;
3624 };
3625
3626 // Structure to describe response TLV 0x93 for WDSGetDefaultSettings()
3627 struct sWDSGetDefaultSettingsResponse_AllowLinger
3628 {
3629 INT8 mAllowLinger;
3630 };
3631
3632 // Structure to describe response TLV 0x94 for WDSGetDefaultSettings()
3633 struct sWDSGetDefaultSettingsResponse_LCPACKTimeout
3634 {
3635 UINT16 mTimeoutMilliseconds;
3636 };
3637
3638 // Structure to describe response TLV 0x95 for WDSGetDefaultSettings()
3639 struct sWDSGetDefaultSettingsResponse_IPCPACKTimeout
3640 {
3641 UINT16 mTimeoutMilliseconds;
3642 };
3643
3644 // Structure to describe response TLV 0x96 for WDSGetDefaultSettings()
3645 struct sWDSGetDefaultSettingsResponse_AuthenticationTimeout
3646 {
3647 UINT16 mTimeoutMilliseconds;
3648 };
3649
3650 // Structure to describe response TLV 0x97 for WDSGetDefaultSettings()
3651 struct sWDSGetDefaultSettingsResponse_LCPConfigRetryCount
3652 {
3653 UINT8 mRetryCount;
3654 };
3655
3656 // Structure to describe response TLV 0x98 for WDSGetDefaultSettings()
3657 struct sWDSGetDefaultSettingsResponse_IPCPConfigRetryCount
3658 {
3659 UINT8 mRetryCount;
3660 };
3661
3662 // Structure to describe response TLV 0x99 for WDSGetDefaultSettings()
3663 struct sWDSGetDefaultSettingsResponse_AuthenticationRetry
3664 {
3665 UINT8 mRetryCount;
3666 };
3667
3668 // Structure to describe response TLV 0x9A for WDSGetDefaultSettings()
3669 struct sWDSGetDefaultSettingsResponse_AuthenticationProtocol
3670 {
3671 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3672 };
3673
3674 // Structure to describe response TLV 0x9B for WDSGetDefaultSettings()
3675 struct sWDSGetDefaultSettingsResponse_UserID
3676 {
3677 // String is variable length, but must be size of the container
3678 // char mUsername[1];
3679 };
3680
3681 // Structure to describe response TLV 0x9C for WDSGetDefaultSettings()
3682 struct sWDSGetDefaultSettingsResponse_AuthenticationPassword
3683 {
3684 // String is variable length, but must be size of the container
3685 // char mPassword[1];
3686 };
3687
3688 // Structure to describe response TLV 0x9D for WDSGetDefaultSettings()
3689 struct sWDSGetDefaultSettingsResponse_DataRate
3690 {
3691 eQMIWDSDataRate mDataRate;
3692 };
3693
3694 // Structure to describe response TLV 0x9E for WDSGetDefaultSettings()
3695 struct sWDSGetDefaultSettingsResponse_ApplicationType
3696 {
3697 eQMIWDSApplicationType mApplicationType;
3698 };
3699
3700 // Structure to describe response TLV 0x9F for WDSGetDefaultSettings()
3701 struct sWDSGetDefaultSettingsResponse_DataMode
3702 {
3703 eQMIWDSDataMode mDataMode;
3704 };
3705
3706 // Structure to describe response TLV 0xA0 for WDSGetDefaultSettings()
3707 struct sWDSGetDefaultSettingsResponse_ApplicationPriority
3708 {
3709 UINT8 mApplicationPriority;
3710 };
3711
3712 // Structure to describe response TLV 0xA1 for WDSGetDefaultSettings()
3713 struct sWDSGetDefaultSettingsResponse_APNString
3714 {
3715 // String is variable length, but must be size of the container
3716 // char mAPNName[1];
3717 };
3718
3719 // Structure to describe response TLV 0xA2 for WDSGetDefaultSettings()
3720 struct sWDSGetDefaultSettingsResponse_PDNType
3721 {
3722 eQMIWDSPDNType mPDNType;
3723 };
3724
3725 // Structure to describe response TLV 0xA3 for WDSGetDefaultSettings()
3726 struct sWDSGetDefaultSettingsResponse_PCSCFAddressNeeded
3727 {
3728 INT8 mPCSCFAddressNeeded;
3729 };
3730
3731 // Structure to describe response TLV 0xA4 for WDSGetDefaultSettings()
3732 struct sWDSGetDefaultSettingsResponse_PrimaryIPv4Address
3733 {
3734 UINT8 mIPV4Address[4];
3735 };
3736
3737 // Structure to describe response TLV 0xA5 for WDSGetDefaultSettings()
3738 struct sWDSGetDefaultSettingsResponse_SecondaryIPv4Address
3739 {
3740 UINT8 mIPV4Address[4];
3741 };
3742
3743 // Structure to describe response TLV 0xA6 for WDSGetDefaultSettings()
3744 struct sWDSGetDefaultSettingsResponse_PrimaryIPv6Address
3745 {
3746 UINT16 mIPv6Address[8];
3747 };
3748
3749 // Structure to describe response TLV 0xA7 for WDSGetDefaultSettings()
3750 struct sWDSGetDefaultSettingsResponse_SecondaryIPv6Address
3751 {
3752 UINT16 mIPv6Address[8];
3753 };
3754
3755 // Structure to describe response TLV 0xA8 for WDSGetDefaultSettings()
3756 struct sWDSGetDefaultSettingsResponse_RATType
3757 {
3758 eQMIWDS3GPP2RATTypes mRATType;
3759 };
3760
3761 // Structure to describe response TLV 0xA9 for WDSGetDefaultSettings()
3762 struct sWDSGetDefaultSettingsResponse_3GPP2APNEnabled
3763 {
3764 INT8 mAPNEnabled;
3765 };
3766
3767 // Structure to describe response TLV 0xAA for WDSGetDefaultSettings()
3768 struct sWDSGetDefaultSettingsResponse_3GPP2PDNInactivityTimer
3769 {
3770 UINT32 mPDNInactivityTimerMinutes;
3771 };
3772
3773 // Structure to describe response TLV 0xAB for WDSGetDefaultSettings()
3774 struct sWDSGetDefaultSettingsResponse_3GPP2APNClass
3775 {
3776 UINT8 mAPNClass;
3777 };
3778
3779 // Structure to describe response TLV 0xAD for WDSGetDefaultSettings()
3780 struct sWDSGetDefaultSettingsResponse_PDNAuthenticationProtocol
3781 {
3782 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3783 };
3784
3785 // Structure to describe response TLV 0xAE for WDSGetDefaultSettings()
3786 struct sWDSGetDefaultSettingsResponse_PDNUserID
3787 {
3788 // String is variable length, but must be size of the container
3789 // char mUserID[1];
3790 };
3791
3792 // Structure to describe response TLV 0xAF for WDSGetDefaultSettings()
3793 struct sWDSGetDefaultSettingsResponse_PDNPassword
3794 {
3795 // String is variable length, but must be size of the container
3796 // char mPassword[1];
3797 };
3798
3799 // Structure to describe response TLV 0xB0 for WDSGetDefaultSettings()
3800 struct sWDSGetDefaultSettingsResponse_PDNLabel
3801 {
3802 // String is variable length, but must be size of the container
3803 // char mLabel[1];
3804 };
3805
3806 // Structure to describe response TLV 0xE0 for WDSGetDefaultSettings()
3807 struct sWDSGetDefaultSettingsResponse_ExtendedErrorCode
3808 {
3809 eQMIWDSExtendedErrorCode mExtendedErrorCode;
3810 };
3811
3812 // Structure to describe request TLV 0x10 for WDSGetCurrentSettings()
3813 struct sWDSGetCurrentSettingsRequest_RequestedSettings
3814 {
3815 bool mProfileID:1;
3816 bool mProfileName:1;
3817 bool mPDPType:1;
3818 bool mAPNName:1;
3819 bool mDNSAddress:1;
3820 bool mGrantedQoS:1;
3821 bool mUsername:1;
3822 bool mAuthenticationProtocol:1;
3823 bool mIPAddress:1;
3824 bool mGatewayInfo:1;
3825 bool mPCSCFAddress:1;
3826 bool mPCSCFServerAddressList:1;
3827 bool mPCSCFDomainNameList:1;
3828 bool mMTU:1;
3829 bool mDomainNameList:1;
3830 bool mIPFamily:1;
3831 bool mIMCNFlag:1;
3832 bool mExtendedTechnology:1;
3833
3834 // Padding out 14 bits
3835 UINT8 mReserved1:6;
3836 UINT8 mReserved2;
3837 };
3838
3839 // Structure to describe response TLV 0x10 for WDSGetCurrentSettings()
3840 struct sWDSGetCurrentSettingsResponse_ProfileName
3841 {
3842 // String is variable length, but must be size of the container
3843 // char mProfileName[1];
3844 };
3845
3846 // Structure to describe response TLV 0x11 for WDSGetCurrentSettings()
3847 struct sWDSGetCurrentSettingsResponse_PDPType
3848 {
3849 eQMIPDPTypes mPDPType;
3850 };
3851
3852 // Structure to describe response TLV 0x14 for WDSGetCurrentSettings()
3853 struct sWDSGetCurrentSettingsResponse_APNName
3854 {
3855 // String is variable length, but must be size of the container
3856 // char mAPNName[1];
3857 };
3858
3859 // Structure to describe response TLV 0x15 for WDSGetCurrentSettings()
3860 struct sWDSGetCurrentSettingsResponse_PrimaryDNS
3861 {
3862 UINT8 mIPV4Address[4];
3863 };
3864
3865 // Structure to describe response TLV 0x16 for WDSGetCurrentSettings()
3866 struct sWDSGetCurrentSettingsResponse_SecondaryDNS
3867 {
3868 UINT8 mIPV4Address[4];
3869 };
3870
3871 // Structure to describe response TLV 0x17 for WDSGetCurrentSettings()
3872 struct sWDSGetCurrentSettingsResponse_UMTSGrantedQoS
3873 {
3874 eQMITrafficClasses mTrafficClass;
3875 UINT32 mMaxUplinkBitrate;
3876 UINT32 mMaxDownlinkBitrate;
3877 UINT32 mGuaranteedUplinkBitrate;
3878 UINT32 mGuaranteedDownlinkBitrate;
3879 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3880 UINT32 mMaxSDUSize;
3881 eQMISDUErrorRatios mSDUErrorRatio;
3882 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3883 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3884 UINT32 mTransferDelay;
3885 UINT32 mTrafficHandlingPriority;
3886 };
3887
3888 // Structure to describe response TLV 0x19 for WDSGetCurrentSettings()
3889 struct sWDSGetCurrentSettingsResponse_GPRSGrantedQoS
3890 {
3891 UINT32 mPrecedenceClass;
3892 UINT32 mDelayClass;
3893 UINT32 mReliabilityClass;
3894 UINT32 mPeakThroughputClass;
3895 UINT32 mMeanThroughputClass;
3896 };
3897
3898 // Structure to describe response TLV 0x1B for WDSGetCurrentSettings()
3899 struct sWDSGetCurrentSettingsResponse_Username
3900 {
3901 // String is variable length, but must be size of the container
3902 // char mUsername[1];
3903 };
3904
3905 // Structure to describe response TLV 0x1D for WDSGetCurrentSettings()
3906 struct sWDSGetCurrentSettingsResponse_Authentication
3907 {
3908 bool mEnablePAP:1;
3909 bool mEnableCHAP:1;
3910
3911 // Padding out 6 bits
3912 UINT8 mReserved1:6;
3913 };
3914
3915 // Structure to describe response TLV 0x1E for WDSGetCurrentSettings()
3916 struct sWDSGetCurrentSettingsResponse_IPAddress
3917 {
3918 UINT8 mIPV4Address[4];
3919 };
3920
3921 // Structure to describe response TLV 0x1F for WDSGetCurrentSettings()
3922 struct sWDSGetCurrentSettingsResponse_ProfileID
3923 {
3924 eQMIProfileTypes mProfileType;
3925 UINT8 mProfileIndex;
3926 };
3927
3928 // Structure to describe response TLV 0x20 for WDSGetCurrentSettings()
3929 struct sWDSGetCurrentSettingsResponse_GatewayAddress
3930 {
3931 UINT8 mIPV4Address[4];
3932 };
3933
3934 // Structure to describe response TLV 0x21 for WDSGetCurrentSettings()
3935 struct sWDSGetCurrentSettingsResponse_GatewaySubnetMask
3936 {
3937 UINT8 mIPV4Address[4];
3938 };
3939
3940 // Structure to describe response TLV 0x22 for WDSGetCurrentSettings()
3941 struct sWDSGetCurrentSettingsResponse_PCSCF
3942 {
3943 INT8 mPCSCFAddressUsingPCO;
3944 };
3945
3946 // Structure to describe response TLV 0x23 for WDSGetCurrentSettings()
3947 struct sWDSGetCurrentSettingsResponse_PCSCFServerAddressList
3948 {
3949 UINT8 mNumberOfInstances;
3950
3951 struct sInstance
3952 {
3953 UINT8 mIPV4Address[4];
3954 };
3955
3956 // This array must be the size specified by mNumberOfInstances
3957 // sInstance mInstances[1];
3958 };
3959
3960 // Structure to describe response TLV 0x24 for WDSGetCurrentSettings()
3961 struct sWDSGetCurrentSettingsResponse_PCSCFDomainNameList
3962 {
3963 UINT8 mNumberOfInstances;
3964
3965 struct sInstance
3966 {
3967 UINT16 mFQDNLength;
3968
3969 // This array must be the size specified by mFQDNLength
3970 // char mFQDN[1];
3971 };
3972
3973 // This array must be the size specified by mNumberOfInstances
3974 // sInstance mInstances[1];
3975 };
3976
3977 // Structure to describe response TLV 0x25 for WDSGetCurrentSettings()
3978 struct sWDSGetCurrentSettingsResponse_IPv6Address
3979 {
3980 UINT16 mIPv6Address[8];
3981 UINT8 mIPPrefixLength;
3982 };
3983
3984 // Structure to describe response TLV 0x26 for WDSGetCurrentSettings()
3985 struct sWDSGetCurrentSettingsResponse_IPv6GatewayAddress
3986 {
3987 UINT16 mIPv6Address[8];
3988 UINT8 mIPPrefixLength;
3989 };
3990
3991 // Structure to describe response TLV 0x27 for WDSGetCurrentSettings()
3992 struct sWDSGetCurrentSettingsResponse_PrimaryIPv6DNS
3993 {
3994 UINT16 mIPv6Address[8];
3995 };
3996
3997 // Structure to describe response TLV 0x28 for WDSGetCurrentSettings()
3998 struct sWDSGetCurrentSettingsResponse_SecondaryIPv6DNS
3999 {
4000 UINT16 mIPv6Address[8];
4001 };
4002
4003 // Structure to describe response TLV 0x29 for WDSGetCurrentSettings()
4004 struct sWDSGetCurrentSettingsResponse_MTU
4005 {
4006 UINT32 mMTU;
4007 };
4008
4009 // Structure to describe response TLV 0x2A for WDSGetCurrentSettings()
4010 struct sWDSGetCurrentSettingsResponse_DomainNameList
4011 {
4012 UINT8 mNumberOfInstances;
4013
4014 struct sInstance
4015 {
4016 UINT16 mDomainNameLength;
4017
4018 // This array must be the size specified by mDomainNameLength
4019 // char mDomainName[1];
4020 };
4021
4022 // This array must be the size specified by mNumberOfInstances
4023 // sInstance mInstances[1];
4024 };
4025
4026 // Structure to describe response TLV 0x2B for WDSGetCurrentSettings()
4027 struct sWDSGetCurrentSettingsResponse_IPFamily
4028 {
4029 eQMIWDSIPFamilies mIPFamily;
4030 };
4031
4032 // Structure to describe response TLV 0x2C for WDSGetCurrentSettings()
4033 struct sWDSGetCurrentSettingsResponse_IMCNFlag
4034 {
4035 INT8 mIMCN;
4036 };
4037
4038 // Structure to describe response TLV 0x2D for WDSGetCurrentSettings()
4039 struct sWDSGetCurrentSettingsResponse_ExtendedTechnology
4040 {
4041 eQMIWDSExtendedTechPrefs mExtendedTechnologyPreference;
4042 };
4043
4044 // Structure to describe response TLV 0x2E for WDSGetCurrentSettings()
4045 struct sWDSGetCurrentSettingsResponse_PCSCFIPv6AddressList
4046 {
4047 UINT8 mNumberOfAddresses;
4048
4049 struct sAddress
4050 {
4051 UINT16 mIPv6Address[8];
4052 };
4053
4054 // This array must be the size specified by mNumberOfAddresses
4055 // sAddress mAddresses[1];
4056 };
4057
4058 // Structure to describe request TLV 0x01 for WDSSetMIPMode()
4059 struct sWDSSetMIPModeRequest_MobileIPMode
4060 {
4061 eQMIMobileIPModes mMIPMode;
4062 };
4063
4064 // Structure to describe response TLV 0x01 for WDSGetMIPMode()
4065 struct sWDSGetMIPModeResponse_MobileIPMode
4066 {
4067 eQMIMobileIPModes mMIPMode;
4068 };
4069
4070 // Structure to describe response TLV 0x01 for WDSGetDormancy()
4071 struct sWDSGetDormancyResponse_DormancyStatus
4072 {
4073 eQMIDormancyStatus mDormancyStatus;
4074 };
4075
4076 // Structure to describe response TLV 0x01 for WDSGetAutoconnectSetting()
4077 struct sWDSGetAutoconnectSettingResponse_Autoconnect
4078 {
4079 eQMIWDSAutoconnectSettings mAutoconnectSetting;
4080 };
4081
4082 // Structure to describe response TLV 0x10 for WDSGetAutoconnectSetting()
4083 struct sWDSGetAutoconnectSettingResponse_Roam
4084 {
4085 eQMIWDSAutoconnectRoamSettings mAutoconnectRoamSetting;
4086 };
4087
4088 // Structure to describe response TLV 0x01 for WDSGetDataSessionDuration()
4089 struct sWDSGetDataSessionDurationResponse_Duration
4090 {
4091 UINT64 mDataSessionDuration;
4092 };
4093
4094 // Structure to describe response TLV 0x10 for WDSGetDataSessionDuration()
4095 struct sWDSGetDataSessionDurationResponse_PreviousDuration
4096 {
4097 UINT64 mPreviousDataSessionDuration;
4098 };
4099
4100 // Structure to describe response TLV 0x11 for WDSGetDataSessionDuration()
4101 struct sWDSGetDataSessionDurationResponse_ActiveDuration
4102 {
4103 UINT64 mDataSessionActiveDuration;
4104 };
4105
4106 // Structure to describe response TLV 0x12 for WDSGetDataSessionDuration()
4107 struct sWDSGetDataSessionDurationResponse_PreviousActiveDuration
4108 {
4109 UINT64 mPreviousDataSessionActiveDuration;
4110 };
4111
4112 // Structure to describe response TLV 0x01 for WDSGetModemStatus()
4113 struct sWDSGetModemStatusResponse_Status
4114 {
4115 eQMIConnectionStatus mConnectionStatus;
4116 UINT64 mDataSessionDuration;
4117 };
4118
4119 // Structure to describe response TLV 0x10 for WDSGetModemStatus()
4120 struct sWDSGetModemStatusResponse_CallEndReason
4121 {
4122 eQMICallEndReasons mCallEnd;
4123 };
4124
4125 // Structure to describe indication TLV 0x01 for WDS ModemStatusReport
4126 struct sWDSModemStatusReportIndication_Status
4127 {
4128 eQMIConnectionStatus mConnectionStatus;
4129 };
4130
4131 // Structure to describe indication TLV 0x10 for WDS ModemStatusReport
4132 struct sWDSModemStatusReportIndication_CallEndReason
4133 {
4134 eQMICallEndReasons mCallEnd;
4135 };
4136
4137 // Structure to describe response TLV 0x01 for WDSGetDataBearerTechnology()
4138 struct sWDSGetDataBearerTechnologyResponse_Technology
4139 {
4140 eQMIDataBearerTechnologies mDataBearerTechnology;
4141 };
4142
4143 // Structure to describe response TLV 0x10 for WDSGetDataBearerTechnology()
4144 struct sWDSGetDataBearerTechnologyResponse_LastCallTechnology
4145 {
4146 eQMIDataBearerTechnologies mDataBearerTechnology;
4147 };
4148
4149 // Structure to describe request TLV 0x01 for WDSGetModemInfo()
4150 struct sWDSGetModemInfoRequest_RequestedStatus
4151 {
4152 bool mConnectionStatus:1;
4153 bool mLastCallEndReason:1;
4154 bool mRXTXByteTotals:1;
4155 bool mDormancyStatus:1;
4156 bool mDataBearerTechnology:1;
4157 bool mChannelRates:1;
4158 bool mDuration:1;
4159
4160 // Padding out 25 bits
4161 UINT8 mReserved1:1;
4162 UINT8 mReserved2[3];
4163 };
4164
4165 // Structure to describe request TLV 0x10 for WDSGetModemInfo()
4166 struct sWDSGetModemInfoRequest_ConnectionStatusIndicator
4167 {
4168 INT8 mReportConnectionStatus;
4169 };
4170
4171 // Structure to describe request TLV 0x11 for WDSGetModemInfo()
4172 struct sWDSGetModemInfoRequest_TransferStatisticsIndicator
4173 {
4174 UINT8 mTransferStatisticsIntervalSeconds;
4175
4176 // Padding out 6 bits
4177 UINT8 mReserved1:6;
4178
4179 bool mTXByteTotal:1;
4180 bool mRXByteTotal:1;
4181
4182 // Padding out 24 bits
4183 UINT8 mReserved2[3];
4184 };
4185
4186 // Structure to describe request TLV 0x12 for WDSGetModemInfo()
4187 struct sWDSGetModemInfoRequest_DormancyStatusIndicator
4188 {
4189 INT8 mReportDormancyStatus;
4190 };
4191
4192 // Structure to describe request TLV 0x13 for WDSGetModemInfo()
4193 struct sWDSGetModemInfoRequest_DataBearerTechnologyIndicator
4194 {
4195 INT8 mReportDataBearerTechnology;
4196 };
4197
4198 // Structure to describe request TLV 0x14 for WDSGetModemInfo()
4199 struct sWDSGetModemInfoRequest_ChannelRateIndicator
4200 {
4201 INT8 mReportChannelRate;
4202 };
4203
4204 // Structure to describe response TLV 0x10 for WDSGetModemInfo()
4205 struct sWDSGetModemInfoResponse_Status
4206 {
4207 eQMIConnectionStatus mConnectionStatus;
4208 UINT64 mDataSessionDuration;
4209 };
4210
4211 // Structure to describe response TLV 0x11 for WDSGetModemInfo()
4212 struct sWDSGetModemInfoResponse_CallEndReason
4213 {
4214 eQMICallEndReasons mCallEnd;
4215 };
4216
4217 // Structure to describe response TLV 0x12 for WDSGetModemInfo()
4218 struct sWDSGetModemInfoResponse_TXBytes
4219 {
4220 UINT64 mTXByteTotal;
4221 };
4222
4223 // Structure to describe response TLV 0x13 for WDSGetModemInfo()
4224 struct sWDSGetModemInfoResponse_RXBytes
4225 {
4226 UINT64 mRXByteTotal;
4227 };
4228
4229 // Structure to describe response TLV 0x14 for WDSGetModemInfo()
4230 struct sWDSGetModemInfoResponse_DormancyStatus
4231 {
4232 eQMIDormancyStatus mDormancyStatus;
4233 };
4234
4235 // Structure to describe response TLV 0x15 for WDSGetModemInfo()
4236 struct sWDSGetModemInfoResponse_Technology
4237 {
4238 eQMIDataBearerTechnologies mDataBearerTechnology;
4239 };
4240
4241 // Structure to describe response TLV 0x16 for WDSGetModemInfo()
4242 struct sWDSGetModemInfoResponse_Rates
4243 {
4244 UINT32 mChannelTXRatebps;
4245 UINT32 mChannelRXRatebps;
4246 UINT32 mMaxChannelTXRatebps;
4247 UINT32 mMaxChannelRXRatebps;
4248 };
4249
4250 // Structure to describe response TLV 0x17 for WDSGetModemInfo()
4251 struct sWDSGetModemInfoResponse_PreviousTXBytes
4252 {
4253 UINT64 mPreviousCallTXByteTotal;
4254 };
4255
4256 // Structure to describe response TLV 0x18 for WDSGetModemInfo()
4257 struct sWDSGetModemInfoResponse_PreviousRXBytes
4258 {
4259 UINT64 mPreviousCallRXByteTotal;
4260 };
4261
4262 // Structure to describe response TLV 0x19 for WDSGetModemInfo()
4263 struct sWDSGetModemInfoResponse_ActiveDuration
4264 {
4265 UINT64 mDataSessionActiveDuration;
4266 };
4267
4268 // Structure to describe response TLV 0x20 for WDSGetModemInfo()
4269 struct sWDSGetModemInfoResponse_LastCallTechnology
4270 {
4271 eQMIDataBearerTechnologies mDataBearerTechnology;
4272 };
4273
4274 // Structure to describe indication TLV 0x10 for WDS ModemInfoReport
4275 struct sWDSModemInfoReportIndication_Status
4276 {
4277 eQMIConnectionStatus mConnectionStatus;
4278 };
4279
4280 // Structure to describe indication TLV 0x11 for WDS ModemInfoReport
4281 struct sWDSModemInfoReportIndication_CallEndReason
4282 {
4283 eQMICallEndReasons mCallEnd;
4284 };
4285
4286 // Structure to describe indication TLV 0x12 for WDS ModemInfoReport
4287 struct sWDSModemInfoReportIndication_TXBytes
4288 {
4289 UINT64 mTXByteTotal;
4290 };
4291
4292 // Structure to describe indication TLV 0x13 for WDS ModemInfoReport
4293 struct sWDSModemInfoReportIndication_RXBytes
4294 {
4295 UINT64 mRXByteTotal;
4296 };
4297
4298 // Structure to describe indication TLV 0x14 for WDS ModemInfoReport
4299 struct sWDSModemInfoReportIndication_DormancyStatus
4300 {
4301 eQMIDormancyStatus mDormancyStatus;
4302 };
4303
4304 // Structure to describe indication TLV 0x15 for WDS ModemInfoReport
4305 struct sWDSModemInfoReportIndication_Technology
4306 {
4307 eQMIDataBearerTechnologies mDataBearerTechnology;
4308 };
4309
4310 // Structure to describe indication TLV 0x16 for WDS ModemInfoReport
4311 struct sWDSModemInfoReportIndication_Rates
4312 {
4313 UINT32 mChannelTXRatebps;
4314 UINT32 mChannelRXRatebps;
4315 };
4316
4317 // Structure to describe response TLV 0x01 for WDSGetActiveMIPProfile()
4318 struct sWDSGetActiveMIPProfileResponse_Index
4319 {
4320 UINT8 mProfileIndex;
4321 };
4322
4323 // Structure to describe request TLV 0x01 for WDSSetActiveMIPProfile()
4324 struct sWDSSetActiveMIPProfileRequest_Index
4325 {
4326 char mSPC[6];
4327 UINT8 mProfileIndex;
4328 };
4329
4330 // Structure to describe request TLV 0x01 for WDSGetMIPProfile()
4331 struct sWDSGetMIPProfileRequest_Index
4332 {
4333 UINT8 mProfileIndex;
4334 };
4335
4336 // Structure to describe response TLV 0x10 for WDSGetMIPProfile()
4337 struct sWDSGetMIPProfileResponse_State
4338 {
4339 INT8 mEnabled;
4340 };
4341
4342 // Structure to describe response TLV 0x11 for WDSGetMIPProfile()
4343 struct sWDSGetMIPProfileResponse_HomeAddress
4344 {
4345 UINT8 mIPV4Address[4];
4346 };
4347
4348 // Structure to describe response TLV 0x12 for WDSGetMIPProfile()
4349 struct sWDSGetMIPProfileResponse_PrimaryHomeAgentAddress
4350 {
4351 UINT8 mIPV4Address[4];
4352 };
4353
4354 // Structure to describe response TLV 0x13 for WDSGetMIPProfile()
4355 struct sWDSGetMIPProfileResponse_SecondaryHomeAgentAddress
4356 {
4357 UINT8 mIPV4Address[4];
4358 };
4359
4360 // Structure to describe response TLV 0x14 for WDSGetMIPProfile()
4361 struct sWDSGetMIPProfileResponse_ReverseTunneling
4362 {
4363 INT8 mReverseTunneling;
4364 };
4365
4366 // Structure to describe response TLV 0x15 for WDSGetMIPProfile()
4367 struct sWDSGetMIPProfileResponse_NAI
4368 {
4369 // String is variable length, but must be size of the container
4370 // char mNAI[1];
4371 };
4372
4373 // Structure to describe response TLV 0x16 for WDSGetMIPProfile()
4374 struct sWDSGetMIPProfileResponse_HASPI
4375 {
4376 UINT32 mHASPI;
4377 };
4378
4379 // Structure to describe response TLV 0x17 for WDSGetMIPProfile()
4380 struct sWDSGetMIPProfileResponse_AAASPI
4381 {
4382 UINT32 mAAASPI;
4383 };
4384
4385 // Structure to describe response TLV 0x1A for WDSGetMIPProfile()
4386 struct sWDSGetMIPProfileResponse_HAState
4387 {
4388 eQMIHAAAAKeyStates mKeyState;
4389 };
4390
4391 // Structure to describe response TLV 0x1B for WDSGetMIPProfile()
4392 struct sWDSGetMIPProfileResponse_AAAState
4393 {
4394 eQMIHAAAAKeyStates mKeyState;
4395 };
4396
4397 // Structure to describe request TLV 0x01 for WDSSetMIPProfile()
4398 struct sWDSSetMIPProfileRequest_Index
4399 {
4400 char mSPC[6];
4401 UINT8 mProfileIndex;
4402 };
4403
4404 // Structure to describe request TLV 0x10 for WDSSetMIPProfile()
4405 struct sWDSSetMIPProfileRequest_State
4406 {
4407 INT8 mEnabled;
4408 };
4409
4410 // Structure to describe request TLV 0x11 for WDSSetMIPProfile()
4411 struct sWDSSetMIPProfileRequest_HomeAddress
4412 {
4413 UINT8 mIPV4Address[4];
4414 };
4415
4416 // Structure to describe request TLV 0x12 for WDSSetMIPProfile()
4417 struct sWDSSetMIPProfileRequest_PrimaryHomeAgentAddress
4418 {
4419 UINT8 mIPV4Address[4];
4420 };
4421
4422 // Structure to describe request TLV 0x13 for WDSSetMIPProfile()
4423 struct sWDSSetMIPProfileRequest_SecondaryHomeAgentAddress
4424 {
4425 UINT8 mIPV4Address[4];
4426 };
4427
4428 // Structure to describe request TLV 0x14 for WDSSetMIPProfile()
4429 struct sWDSSetMIPProfileRequest_ReverseTunneling
4430 {
4431 INT8 mReverseTunneling;
4432 };
4433
4434 // Structure to describe request TLV 0x15 for WDSSetMIPProfile()
4435 struct sWDSSetMIPProfileRequest_NAI
4436 {
4437 // String is variable length, but must be size of the container
4438 // char mNAI[1];
4439 };
4440
4441 // Structure to describe request TLV 0x16 for WDSSetMIPProfile()
4442 struct sWDSSetMIPProfileRequest_HASPI
4443 {
4444 UINT32 mHASPI;
4445 };
4446
4447 // Structure to describe request TLV 0x17 for WDSSetMIPProfile()
4448 struct sWDSSetMIPProfileRequeste_AAASPI
4449 {
4450 UINT32 mAAASPI;
4451 };
4452
4453 // Structure to describe request TLV 0x18 for WDSSetMIPProfile()
4454 struct sWDSSetMIPProfileRequest_MNHA
4455 {
4456 // String is variable length, but must be size of the container
4457 // char mMNHAKey[1];
4458 };
4459
4460 // Structure to describe request TLV 0x19 for WDSSetMIPProfile()
4461 struct sWDSSetMIPProfileRequest_MNAAA
4462 {
4463 // String is variable length, but must be size of the container
4464 // char mMNAAAKey[1];
4465 };
4466
4467 // Structure to describe response TLV 0x10 for WDSGetMIPParameters()
4468 struct sWDSGetMIPParametersResponse_MobileIPMode
4469 {
4470 eQMIMobileIPModes mMIPMode;
4471 };
4472
4473 // Structure to describe response TLV 0x11 for WDSGetMIPParameters()
4474 struct sWDSGetMIPParametersResponse_RetryAttemptLimit
4475 {
4476 UINT8 mRetryAttemptLimit;
4477 };
4478
4479 // Structure to describe response TLV 0x12 for WDSGetMIPParameters()
4480 struct sWDSGetMIPParametersResponse_RetryAttemptInterval
4481 {
4482 UINT8 mRetryAttemptInterval;
4483 };
4484
4485 // Structure to describe response TLV 0x13 for WDSGetMIPParameters()
4486 struct sWDSGetMIPParametersResponse_ReRegistrationPeriod
4487 {
4488 UINT8 mReRegistrationPeriod;
4489 };
4490
4491 // Structure to describe response TLV 0x14 for WDSGetMIPParameters()
4492 struct sWDSGetMIPParametersResponse_ReRegistrationOnlyWithTraffic
4493 {
4494 INT8 mReRegistrationOnlyWithTraffic;
4495 };
4496
4497 // Structure to describe response TLV 0x15 for WDSGetMIPParameters()
4498 struct sWDSGetMIPParametersResponse_MNHAAuthenticatorCalculator
4499 {
4500 INT8 mMNHAAuthenticatorCalculator;
4501 };
4502
4503 // Structure to describe response TLV 0x16 for WDSGetMIPParameters()
4504 struct sWDSGetMIPParametersResponse_MNHARFC2002BISAuthentication
4505 {
4506 INT8 mMNHARFC2002BISAuthentication;
4507 };
4508
4509 // Structure to describe request TLV 0x01 for WDSSetMIPParameters()
4510 struct sWDSSetMIPParametersRequest_SPC
4511 {
4512 char mSPC[6];
4513 };
4514
4515 // Structure to describe request TLV 0x10 for WDSSetMIPParameters()
4516 struct sWDSSetMIPParametersRequest_MobileIPMode
4517 {
4518 eQMIMobileIPModes mMIPMode;
4519 };
4520
4521 // Structure to describe request TLV 0x11 for WDSSetMIPParameters()
4522 struct sWDSSetMIPParametersRequest_RetryAttemptLimit
4523 {
4524 UINT8 mRetryAttemptLimit;
4525 };
4526
4527 // Structure to describe request TLV 0x12 for WDSSetMIPParameters()
4528 struct sWDSSetMIPParametersRequest_RetryAttemptInterval
4529 {
4530 UINT8 mRetryAttemptInterval;
4531 };
4532
4533 // Structure to describe request TLV 0x13 for WDSSetMIPParameters()
4534 struct sWDSSetMIPParametersRequest_ReRegistrationPeriod
4535 {
4536 UINT8 mReRegistrationPeriod;
4537 };
4538
4539 // Structure to describe request TLV 0x14 for WDSSetMIPParameters()
4540 struct sWDSSetMIPParametersRequest_ReRegistrationOnlyWithTraffic
4541 {
4542 INT8 mReRegistrationOnlyWithTraffic;
4543 };
4544
4545 // Structure to describe request TLV 0x15 for WDSSetMIPParameters()
4546 struct sWDSSetMIPParametersRequest_MNHAAuthenticatorCalculator
4547 {
4548 INT8 mMNHAAuthenticatorCalculator;
4549 };
4550
4551 // Structure to describe request TLV 0x16 for WDSSetMIPParameters()
4552 struct sWDSSetMIPParametersRequest_MNHARFC2002BISAuthentication
4553 {
4554 INT8 mMNHARFC2002BISAuthentication;
4555 };
4556
4557 // Structure to describe response TLV 0x01 for WDSGetLastMIPStatus()
4558 struct sWDSGetLastMIPStatusResponse_Status
4559 {
4560 UINT8 mLastMIPStatus;
4561 };
4562
4563 // Structure to describe response TLV 0x01 for WDSGetANAAAAuthenticationStatus()
4564 struct sWDSGetANAAAAuthenticationStatusResponse_Status
4565 {
4566 INT8 mANAAAAuthenticated;
4567 };
4568
4569 // Structure to describe response TLV 0x01 for WDSGetCurrentDataBearerTechnology()
4570 struct sWDSGetCurrentDataBearerTechnologyResponse_Technology
4571 {
4572 eQMIWDSNetworkTypes mNetworkType;
4573
4574 // The following union is based on the value of mNetworkType
4575 union uValOfNetworkType
4576 {
4577 // If the value of mNetworkType == 1
4578 struct sNetworkTypeIs1
4579 {
4580 bool mCDMA1x:1;
4581 bool mCDMA1xEvDORev0:1;
4582 bool mCDMA1xEvDORevA:1;
4583 bool mCDMA1xEvDORevB:1;
4584 bool mCDMAEHRPD:1;
4585 bool mCDMAFMC:1;
4586
4587 // Padding out 25 bits
4588 UINT8 mReserved1:2;
4589 UINT8 mReserved2[2];
4590 UINT8 mReserved3:7;
4591
4592 bool mNullBearer:1;
4593
4594 // The following union is for handing both mCDMA1x and mCDMA1xEvDORev(0, A, B)
4595 union uValOfCDMA1x_or_CDMA1xEvDORevX
4596 {
4597 // If the value of mCDMA1x == 1
4598 struct sCDMA1xIs1
4599 {
4600 bool mCDMA1xIS95:1;
4601 bool mCDMA1xIS2000:1;
4602 bool mCDMA1xIS2000RelA:1;
4603
4604 // Padding out 29 bits
4605 UINT8 mReserved4:5;
4606 UINT8 mReserved5[3];
4607 };
4608
4609 sCDMA1xIs1 mCDMA1xIs1;
4610
4611 // If the value of mCDMA1xEvDORev0 == 1
4612 struct sCDMA1xEvDORev0Is1
4613 {
4614 bool mCDMA1xEvDORev0DPA:1;
4615
4616 // Padding out 31 bits
4617 UINT8 mReserved6:7;
4618 UINT8 mReserved7[3];
4619 };
4620
4621 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
4622
4623 // If the value of mCDMA1xEvDORevA == 1
4624 struct sCDMA1xEvDORevAIs1
4625 {
4626 bool mCDMA1xEvDORevADPA:1;
4627 bool mCDMA1xEvDORevAMFPA:1;
4628 bool mCDMA1xEvDORevAEMPA:1;
4629 bool mCDMA1xEvDORevAEMPAEHRPD:1;
4630
4631 // Padding out 28 bits
4632 UINT8 mReserved8:4;
4633 UINT8 mReserved9[3];
4634 };
4635
4636 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
4637
4638 // If the value of mCDMA1xEvDORevB == 1
4639 struct sCDMA1xEvDORevBIs1
4640 {
4641 bool mCDMA1xEvDORevBDPA:1;
4642 bool mCDMA1xEvDORevBMFPA:1;
4643 bool mCDMA1xEvDORevBEMPA:1;
4644 bool mCDMA1xEvDORevBEMPAEHRPD:1;
4645 bool mCDMA1xEvDORevBMMPA:1;
4646 bool mCDMA1xEvDORevBMMPAEHRPD:1;
4647
4648 // Padding out 26 bits
4649 UINT8 mReserved10:2;
4650 UINT8 mReserved11[3];
4651 };
4652
4653 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
4654
4655 // Padding out 32 bits
4656 UINT8 mReserved12[4];
4657 };
4658
4659 uValOfCDMA1x_or_CDMA1xEvDORevX mValOfCDMA1x_or_CDMA1xEvDORevX;
4660 };
4661
4662 sNetworkTypeIs1 mNetworkTypeIs1;
4663
4664 // If the value of mNetworkType == 2
4665 struct sNetworkTypeIs2
4666 {
4667 bool mWCDMA:1;
4668 bool mGPRS:1;
4669 bool mHSDPA:1;
4670 bool mHSUPA:1;
4671 bool mEDGE:1;
4672 bool mLTE:1;
4673 bool mHSDPAPlus:1;
4674 bool mDualCellHSDPAPlus:1;
4675 bool m64QAM:1;
4676 bool mTDSCDMA:1;
4677
4678 // Padding out 21 bits
4679 UINT8 mReserved13:6;
4680 UINT8 mReserved14;
4681 UINT8 mReserved15:7;
4682
4683 bool mNullBearer:1;
4684 };
4685
4686 sNetworkTypeIs2 mNetworkTypeIs2;
4687
4688 // Padding out 64 bits
4689 UINT8 mReserved16[8];
4690 };
4691
4692 uValOfNetworkType mValOfNetworkType;
4693 };
4694
4695 // Structure to describe response TLV 0x10 for WDSGetCurrentDataBearerTechnology()
4696 struct sWDSGetCurrentDataBearerTechnologyResponse_LastCallTechnology
4697 {
4698 eQMIWDSNetworkTypes mNetworkType;
4699
4700 // The following union is based on the value of mNetworkType
4701 union uValOfNetworkType
4702 {
4703 // If the value of mNetworkType == 1
4704 struct sNetworkTypeIs1
4705 {
4706 bool mCDMA1x:1;
4707 bool mCDMA1xEvDORev0:1;
4708 bool mCDMA1xEvDORevA:1;
4709 bool mCDMA1xEvDORevB:1;
4710 bool mCDMAEHRPD:1;
4711 bool mCDMAFMC:1;
4712
4713 // Padding out 25 bits
4714 UINT8 mReserved1:2;
4715 UINT8 mReserved2[2];
4716 UINT8 mReserved3:7;
4717
4718 bool mNullBearer:1;
4719
4720 // The following union is for handing both mCDMA1x and mCDMA1xEvDORev(0, A, B)
4721 union uValOfCDMA1x_or_CDMA1xEvDORevX
4722 {
4723 // If the value of mCDMA1x == 1
4724 struct sCDMA1xIs1
4725 {
4726 bool mCDMA1xIS95:1;
4727 bool mCDMA1xIS2000:1;
4728 bool mCDMA1xIS2000RelA:1;
4729
4730 // Padding out 29 bits
4731 UINT8 mReserved4:5;
4732 UINT8 mReserved5[3];
4733 };
4734
4735 sCDMA1xIs1 mCDMA1xIs1;
4736
4737 // If the value of mCDMA1xEvDORev0 == 1
4738 struct sCDMA1xEvDORev0Is1
4739 {
4740 bool mCDMA1xEvDORev0DPA:1;
4741
4742 // Padding out 31 bits
4743 UINT8 mReserved6:7;
4744 UINT8 mReserved7[3];
4745 };
4746
4747 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
4748
4749 // If the value of mCDMA1xEvDORevA == 1
4750 struct sCDMA1xEvDORevAIs1
4751 {
4752 bool mCDMA1xEvDORevADPA:1;
4753 bool mCDMA1xEvDORevAMFPA:1;
4754 bool mCDMA1xEvDORevAEMPA:1;
4755 bool mCDMA1xEvDORevAEMPAEHRPD:1;
4756
4757 // Padding out 28 bits
4758 UINT8 mReserved8:4;
4759 UINT8 mReserved9[3];
4760 };
4761
4762 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
4763
4764 // If the value of mCDMA1xEvDORevB == 1
4765 struct sCDMA1xEvDORevBIs1
4766 {
4767 bool mCDMA1xEvDORevBDPA:1;
4768 bool mCDMA1xEvDORevBMFPA:1;
4769 bool mCDMA1xEvDORevBEMPA:1;
4770 bool mCDMA1xEvDORevBEMPAEHRPD:1;
4771 bool mCDMA1xEvDORevBMMPA:1;
4772 bool mCDMA1xEvDORevBMMPAEHRPD:1;
4773
4774 // Padding out 26 bits
4775 UINT8 mReserved10:2;
4776 UINT8 mReserved11[3];
4777 };
4778
4779 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
4780
4781 // Padding out 32 bits
4782 UINT8 mReserved12[4];
4783 };
4784
4785 uValOfCDMA1x_or_CDMA1xEvDORevX mValOfCDMA1x_or_CDMA1xEvDORevX;
4786 };
4787
4788 sNetworkTypeIs1 mNetworkTypeIs1;
4789
4790 // If the value of mNetworkType == 2
4791 struct sNetworkTypeIs2
4792 {
4793 bool mWCDMA:1;
4794 bool mGPRS:1;
4795 bool mHSDPA:1;
4796 bool mHSUPA:1;
4797 bool mEDGE:1;
4798 bool mLTE:1;
4799 bool mHSDPAPlus:1;
4800 bool mDualCellHSDPAPlus:1;
4801 bool m64QAM:1;
4802 bool mTDSCDMA:1;
4803
4804 // Padding out 21 bits
4805 UINT8 mReserved13:6;
4806 UINT8 mReserved14;
4807 UINT8 mReserved15:7;
4808
4809 bool mNullBearer:1;
4810 };
4811
4812 sNetworkTypeIs2 mNetworkTypeIs2;
4813
4814 // Padding out 64 bits
4815 UINT8 mReserved16[8];
4816 };
4817
4818 uValOfNetworkType mValOfNetworkType;
4819 };
4820
4821 // Structure to describe request TLV 0x10 for WDSGetCallList()
4822 struct sWDSGetCallListRequest_ListType
4823 {
4824 eQMICallHistoryTypes mCallListType;
4825 };
4826
4827 // Structure to describe response TLV 0x10 for WDSGetCallList()
4828 struct sWDSGetCallListResponse_FullList
4829 {
4830 UINT16 mCallRecords;
4831
4832 struct sRecord
4833 {
4834 UINT16 mID;
4835 eQMICallTypes mType;
4836 eQMIDataBearerTechnologies mDataBearer;
4837 UINT64 mTimestamp;
4838 UINT8 mIPV4Address[4];
4839 UINT64 mTotalDuration;
4840 UINT64 mActiveDuration;
4841 UINT64 mRXByteTotal;
4842 UINT64 mTXByteTotal;
4843 eQMICallEndReasons mCallEnd;
4844 UINT8 mPhoneNumberLength;
4845
4846 // This array must be the size specified by mPhoneNumberLength
4847 // char mPhoneNumber[1];
4848 };
4849
4850 // This array must be the size specified by mCallRecords
4851 // sRecord mRecords[1];
4852 };
4853
4854 // Structure to describe response TLV 0x11 for WDSGetCallList()
4855 struct sWDSGetCallListResponse_IDList
4856 {
4857 UINT16 mCallRecords;
4858
4859 struct sRecord
4860 {
4861 UINT16 mID;
4862 };
4863
4864 // This array must be the size specified by mCallRecords
4865 // sRecord mRecords[1];
4866 };
4867
4868 // Structure to describe request TLV 0x01 for WDSGetCallRecord()
4869 struct sWDSGetCallRecordRequest_RecordID
4870 {
4871 UINT16 mID;
4872 };
4873
4874 // Structure to describe response TLV 0x01 for WDSGetCallRecord()
4875 struct sWDSGetCallRecordResponse_Record
4876 {
4877 UINT16 mID;
4878 eQMICallTypes mType;
4879 eQMIDataBearerTechnologies mDataBearer;
4880 UINT64 mTimestamp;
4881 UINT8 mIPV4Address[4];
4882 UINT64 mTotalDuration;
4883 UINT64 mActiveDuration;
4884 UINT64 mRXByteTotal;
4885 UINT64 mTXByteTotal;
4886 eQMICallEndReasons mCallEnd;
4887 UINT8 mPhoneNumberLength;
4888
4889 // This array must be the size specified by mPhoneNumberLength
4890 // char mPhoneNumber[1];
4891 };
4892
4893 // Structure to describe response TLV 0x01 for WDSGetCallListMaxSize()
4894 struct sWDSGetCallListMaxSizeResponse_Maximum
4895 {
4896 UINT16 mCallListMaxSize;
4897 };
4898
4899 // Structure to describe request TLV 0x01 for WDSGetDefaultProfileNumber()
4900 struct sWDSGetDefaultProfileNumberRequest_ProfileType
4901 {
4902 eQMIProfileTypes mProfileType;
4903 eQMIWDSProfileFamily mProfileFamily;
4904 };
4905
4906 // Structure to describe response TLV 0x01 for WDSGetDefaultProfileNumber()
4907 struct sWDSGetDefaultProfileNumberResponse_ProfileNumber
4908 {
4909 UINT8 mProfileIndex;
4910 };
4911
4912 // Structure to describe response TLV 0xE0 for WDSGetDefaultProfileNumber()
4913 struct sWDSGetDefaultProfileNumberResponse_ExtendedErrorCode
4914 {
4915 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4916 };
4917
4918 // Structure to describe request TLV 0x01 for WDSSetDefaultProfileNumber()
4919 struct sWDSSetDefaultProfileNumberRequest_ProfileIdentifier
4920 {
4921 eQMIProfileTypes mProfileType;
4922 eQMIWDSProfileFamily mProfileFamily;
4923 UINT8 mProfileIndex;
4924 };
4925
4926 // Structure to describe response TLV 0xE0 for WDSSetDefaultProfileNumber()
4927 struct sWDSSetDefaultProfileNumberResponse_ExtendedErrorCode
4928 {
4929 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4930 };
4931
4932 // Structure to describe request TLV 0x01 for WDSResetProfile()
4933 struct sWDSResetProfileRequest_ProfileIdentifier
4934 {
4935 eQMIProfileTypes mProfileType;
4936 UINT8 mProfileIndex;
4937 };
4938
4939 // Structure to describe response TLV 0xE0 for WDSResetProfile()
4940 struct sWDSResetProfileResponse_ExtendedErrorCode
4941 {
4942 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4943 };
4944
4945 // Structure to describe request TLV 0x01 for WDSResetProfileParamToInvalid()
4946 struct sWDSResetProfileParamToInvalidRequest_ProfileParam
4947 {
4948 eQMIProfileTypes mProfileType;
4949 UINT8 mProfileIndex;
4950 eQMIWDSProfileParamID mProfileParamID;
4951 };
4952
4953 // Structure to describe response TLV 0xE0 for WDSResetProfileParamToInvalid()
4954 struct sWDSResetProfileParamToInvalidResponse_ExtendedErrorCode
4955 {
4956 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4957 };
4958
4959 // Structure to describe request TLV 0x01 for WDSSetIPFamilyPreference()
4960 struct sWDSSetIPFamilyPreferenceRequest_IPFamilyPreference
4961 {
4962 eQMIWDSIPFamilies mIPFamily;
4963 };
4964
4965 // Structure to describe request TLV 0x01 for WDSSetFMCTunnelParameters()
4966 struct sWDSSetFMCTunnelParametersRequest_Parameters
4967 {
4968 UINT32 mStreamID;
4969 INT8 mNATIsPresent;
4970 UINT16 mPortID;
4971 };
4972
4973 // Structure to describe request TLV 0x10 for WDSSetFMCTunnelParameters()
4974 struct sWDSSetFMCTunnelParametersRequest_IPv4Address
4975 {
4976 UINT8 mIPV4Address[4];
4977 };
4978
4979 // Structure to describe request TLV 0x11 for WDSSetFMCTunnelParameters()
4980 struct sWDSSetFMCTunnelParametersRequest_IPv6Address
4981 {
4982 UINT16 mIPv6Address[8];
4983 };
4984
4985 // Structure to describe response TLV 0x10 for WDSGetFMCTunnelParameters()
4986 struct sWDSGetFMCTunnelParametersResponse_Parameters
4987 {
4988 UINT32 mStreamID;
4989 INT8 mNATIsPresent;
4990 UINT16 mPortID;
4991 };
4992
4993 // Structure to describe response TLV 0x11 for WDSGetFMCTunnelParameters()
4994 struct sWDSGetFMCTunnelParametersResponse_IPv4Address
4995 {
4996 UINT8 mIPV4Address[4];
4997 };
4998
4999 // Structure to describe response TLV 0x12 for WDSGetFMCTunnelParameters()
5000 struct sWDSGetFMCTunnelParametersResponse_IPv6Address
5001 {
5002 UINT16 mIPv6Address[8];
5003 };
5004
5005 // Structure to describe request TLV 0x01 for WDSSetAutoconnectSetting()
5006 struct sWDSSetAutoconnectSettingRequest_Autoconnect
5007 {
5008 eQMIWDSAutoconnectSettings mAutoconnectSetting;
5009 };
5010
5011 // Structure to describe request TLV 0x10 for WDSSetAutoconnectSetting()
5012 struct sWDSSetAutoconnectSettingRequest_Roam
5013 {
5014 eQMIWDSAutoconnectRoamSettings mAutoconnectRoamSetting;
5015 };
5016
5017 // Structure to describe response TLV 0x10 for WDSGetDNSSetting()
5018 struct sWDSGetDNSSettingResponse_PrimaryDNS
5019 {
5020 UINT8 mIPV4Address[4];
5021 };
5022
5023 // Structure to describe response TLV 0x11 for WDSGetDNSSetting()
5024 struct sWDSGetDNSSettingResponse_SecondaryDNS
5025 {
5026 UINT8 mIPV4Address[4];
5027 };
5028
5029 // Structure to describe response TLV 0x12 for WDSGetDNSSetting()
5030 struct sWDSGetDNSSettingResponse_PrimaryIPv6DNS
5031 {
5032 UINT16 mIPv6Address[8];
5033 };
5034
5035 // Structure to describe response TLV 0x13 for WDSGetDNSSetting()
5036 struct sWDSGetDNSSettingResponse_SecondaryIPv6DNS
5037 {
5038 UINT16 mIPv6Address[8];
5039 };
5040
5041 // Structure to describe request TLV 0x10 for WDSSetDNSSetting()
5042 struct sWDSSetDNSSettingRequest_PrimaryDNS
5043 {
5044 UINT8 mIPV4Address[4];
5045 };
5046
5047 // Structure to describe request TLV 0x11 for WDSSetDNSSetting()
5048 struct sWDSSetDNSSettingRequest_SecondaryDNS
5049 {
5050 UINT8 mIPV4Address[4];
5051 };
5052
5053 // Structure to describe request TLV 0x12 for WDSSetDNSSetting()
5054 struct sWDSSetDNSSettingRequest_PrimaryIPv6DNS
5055 {
5056 UINT16 mIPv6Address[8];
5057 };
5058
5059 // Structure to describe request TLV 0x13 for WDSSetDNSSetting()
5060 struct sWDSSetDNSSettingRequest_SecondaryIPv6DNS
5061 {
5062 UINT16 mIPv6Address[8];
5063 };
5064
5065 // Structure to describe response TLV 0x01 for WDSGetCDMAPreDormancySettings()
5066 struct sWDSGetCDMAPreDormancySettingsResponse_Settings
5067 {
5068 eQMIWDSCDMAServiceOptions mServiceOption;
5069 eQMIWDSCDMANetworks mDataSessionNetwork;
5070 };
5071
5072 // Structure to describe request TLV 0x01 for WDSSetCAMTimer()
5073 struct sWDSSetCAMTimerRequest_Timer
5074 {
5075 UINT32 mCAMTimerSeconds;
5076 };
5077
5078 // Structure to describe response TLV 0x01 for WDSGetCAMTimer()
5079 struct sWDSGetCAMTimerResponse_Timer
5080 {
5081 UINT32 mCAMTimerSeconds;
5082 };
5083
5084 // Structure to describe request TLV 0x01 for WDSSetSCRM()
5085 struct sWDSSetSCRMRequest_SCRM
5086 {
5087 INT8 mSCRMEnabled;
5088 };
5089
5090 // Structure to describe response TLV 0x01 for WDSGetSCRM()
5091 struct sWDSGetSCRMResponse_SCRM
5092 {
5093 INT8 mSCRMEnabled;
5094 };
5095
5096 // Structure to describe request TLV 0x01 for WDSSetRDUD()
5097 struct sWDSSetRDUDRequest_RDUD
5098 {
5099 INT8 mRDUDEnabled;
5100 };
5101
5102 // Structure to describe response TLV 0x01 for WDSGetRDUD()
5103 struct sWDSGetRDUDResponse_RDUD
5104 {
5105 INT8 mRDUDEnabled;
5106 };
5107
5108 // Structure to describe response TLV 0x01 for WDSGetSIPMIPCallType()
5109 struct sWDSGetSIPMIPCallTypeResponse_CallType
5110 {
5111 eQMIWDSSIPMIPCallTypes mCallType;
5112 };
5113
5114 // Structure to describe request TLV 0x01 for WDSSetEVDOPageMonitorPeriod()
5115 struct sWDSSetEVDOPageMonitorPeriodRequest_Period
5116 {
5117 UINT8 mPageMonitorPeriod;
5118 };
5119
5120 // Structure to describe indication TLV 0x01 for WDS EVDOPageMonitorPeriodIndication
5121 struct sWDSEVDOPageMonitorPeriodIndication_Result
5122 {
5123 eQMIWDSSlotCycleSetResults mSlotCycleSetResult;
5124 };
5125
5126 // Structure to describe request TLV 0x01 for WDSSetEVDOLongSleep()
5127 struct sWDSSetEVDOLongSleepRequest_Setting
5128 {
5129 INT8 mForceLongSleep;
5130 };
5131
5132 // Structure to describe response TLV 0x01 for WDSGetEVDOPageMonitorPeriod()
5133 struct sWDSGetEVDOPageMonitorPeriodResponse_Details
5134 {
5135 UINT8 mPageMonitorPeriod;
5136 INT8 mForceLongSleep;
5137 };
5138
5139 // Structure to describe response TLV 0x01 for WDSGetCallThrottleInfo()
5140 struct sWDSGetCallThrottleInfoResponse_Details
5141 {
5142 UINT32 mEVDOThrottledDelaySeconds;
5143 UINT32 mCDMAThrottledDelaySeconds;
5144 };
5145
5146 // Structure to describe request TLV 0x01 for WDSGetNSAPI()
5147 struct sWDSGetNSAPIRequest_APN
5148 {
5149 // String is variable length, but must be size of the container
5150 // char mAPNName[1];
5151 };
5152
5153 // Structure to describe response TLV 0x01 for WDSGetNSAPI()
5154 struct sWDSGetNSAPIResponse_NSAPI
5155 {
5156 UINT8 mNSAPICount;
5157
5158 // This array must be the size specified by mNSAPICount
5159 // UINT8 mNSAPI[1];
5160 };
5161
5162 // Structure to describe request TLV 0x01 for WDSSetDUNCallControlPreference()
5163 struct sWDSSetDUNCallControlPreferenceRequest_Preference
5164 {
5165 eQMIWDSDUNControlPreferences mDUNControl;
5166 };
5167
5168 // Structure to describe request TLV 0x10 for WDSSetDUNCallControlPreference()
5169 struct sWDSSetDUNCallControlPreferenceRequest_AllowDUN
5170 {
5171 INT8 mAllowDUNCalls;
5172 };
5173
5174 // Structure to describe response TLV 0x01 for WDSGetDUNCallControlInfo()
5175 struct sWDSGetDUNCallControlInfoResponse_Status
5176 {
5177 INT8 mDUNControlEnabled;
5178 };
5179
5180 // Structure to describe response TLV 0x10 for WDSGetDUNCallControlInfo()
5181 struct sWDSGetDUNCallControlInfoResponse_AllowDUN
5182 {
5183 INT8 mAllowDUNCalls;
5184 };
5185
5186 // Structure to describe response TLV 0x11 for WDSGetDUNCallControlInfo()
5187 struct sWDSGetDUNCallControlInfoResponse_CurrentClient
5188 {
5189 INT8 mSetByCurrentClient;
5190 };
5191
5192 // Structure to describe response TLV 0x12 for WDSGetDUNCallControlInfo()
5193 struct sWDSGetDUNCallControlInfoResponse_ReportMask
5194 {
5195 bool mSendDUNCallNotifications:1;
5196 bool mSendEntitlementNotifications:1;
5197 bool mSendSilentRedailNotifications:1;
5198
5199 // Padding out 5 bits
5200 UINT8 mReserved1:5;
5201 };
5202
5203 // Structure to describe request TLV 0x01 for WDSSetDUNCallControlEventReport()
5204 struct sWDSSetDUNCallControlEventReportRequest_CallNotifications
5205 {
5206 INT8 mEnableDUNCallNotifications;
5207 };
5208
5209 // Structure to describe request TLV 0x10 for WDSSetDUNCallControlEventReport()
5210 struct sWDSSetDUNCallControlEventReportRequest_EntitlementNotifications
5211 {
5212 INT8 mEnableEntitlementNotifications;
5213 };
5214
5215 // Structure to describe request TLV 0x11 for WDSSetDUNCallControlEventReport()
5216 struct sWDSSetDUNCallControlEventReportRequest_RedialNotifications
5217 {
5218 INT8 mEnableSilentRedailNotifications;
5219 };
5220
5221 // Structure to describe response TLV 0x01 for WDSSetDUNCallControlEventReport()
5222 struct sWDSSetDUNCallControlEventReportResponse_ReportMask
5223 {
5224 bool mSendDUNCallNotifications:1;
5225 bool mSendEntitlementNotifications:1;
5226 bool mSendSilentRedailNotifications:1;
5227
5228 // Padding out 5 bits
5229 UINT8 mReserved1:5;
5230 };
5231
5232 // Structure to describe indication TLV 0x01 for WDS DUNCallControlEventReport
5233 struct sWDSDUNCallControlEventReportIndication_Event
5234 {
5235 eQMIWDSDUNControlEvents mDUNControlEvent;
5236 };
5237
5238 // Structure to describe indication TLV 0x10 for WDS DUNCallControlEventReport
5239 struct sWDSDUNCallControlEventReportIndication_CallNotification
5240 {
5241 INT8 mDUNCallAllowed;
5242 };
5243
5244 // Structure to describe indication TLV 0x11 for WDS DUNCallControlEventReport
5245 struct sWDSDUNCallControlEventReportIndication_CallID
5246 {
5247 UINT8 mDUNCallID;
5248 };
5249
5250 // Structure to describe indication TLV 0x12 for WDS DUNCallControlEventReport
5251 struct sWDSDUNCallControlEventReportIndication_PreviousFailureReason
5252 {
5253 eQMIWDSCallEndReasonTypes mCallEndReasonType;
5254
5255 // The following union is based on the value of mCallEndReasonType
5256 union uValOfCallEndReasonType
5257 {
5258 // Always present
5259 UINT16 mCallEndReasonValue;
5260
5261 // If the value of mCallEndReasonType == 1
5262 struct sCallEndReasonTypeIs1
5263 {
5264 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
5265 };
5266
5267 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
5268
5269 // If the value of mCallEndReasonType == 2
5270 struct sCallEndReasonTypeIs2
5271 {
5272 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
5273 };
5274
5275 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
5276
5277 // If the value of mCallEndReasonType == 3
5278 struct sCallEndReasonTypeIs3
5279 {
5280 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
5281 };
5282
5283 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
5284
5285 // If the value of mCallEndReasonType == 6
5286 struct sCallEndReasonTypeIs6
5287 {
5288 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
5289 };
5290
5291 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
5292
5293 // If the value of mCallEndReasonType == 7
5294 struct sCallEndReasonTypeIs7
5295 {
5296 eQMIWDSPPPCallEndReason mPPPCallEndReason;
5297 };
5298
5299 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
5300
5301 // If the value of mCallEndReasonType == 8
5302 struct sCallEndReasonTypeIs8
5303 {
5304 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
5305 };
5306
5307 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
5308
5309 // If the value of mCallEndReasonType == 9
5310 struct sCallEndReasonTypeIs9
5311 {
5312 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
5313 };
5314
5315 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
5316
5317 // Padding out 16 bits
5318 UINT8 mReserved1[2];
5319 };
5320
5321 uValOfCallEndReasonType mValOfCallEndReasonType;
5322 };
5323
5324 // Structure to describe request TLV 0x01 for WDSPendingDUNCallControl()
5325 struct sWDSPendingDUNCallControlRequest_Action
5326 {
5327 INT8 mDUNCallAllowed;
5328 };
5329
5330 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIActivate()
5331 struct sWDSEMBMSTMGIActivateRequest_TMGI
5332 {
5333 UINT8 mTMGI[6];
5334 INT8 mSessionIDValid;
5335 UINT8 mSessionID;
5336 };
5337
5338 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIActivate()
5339 struct sWDSEMBMSTMGIActivateResponse_ExtendedError
5340 {
5341 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5342 };
5343
5344 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGIActivateIndication
5345 struct sWDSEMBMSTMGIActivateIndication_Status
5346 {
5347 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5348 };
5349
5350 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIDeactivate()
5351 struct sWDSEMBMSTMGIDeactivateRequest_TMGI
5352 {
5353 UINT8 mTMGI[6];
5354 INT8 mSessionIDValid;
5355 UINT8 mSessionID;
5356 };
5357
5358 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIDeactivate()
5359 struct sWDSEMBMSTMGIDeactivateResponse_ExtendedError
5360 {
5361 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5362 };
5363
5364 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGIDectivateIndication
5365 struct sWDSEMBMSTMGIDectivateIndication_Status
5366 {
5367 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5368 };
5369
5370 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIListQuery()
5371 struct sWDSEMBMSTMGIListQueryRequest_Type
5372 {
5373 eQMIWDSEMBMSListTypes mTMGIListType;
5374 };
5375
5376 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIListQuery()
5377 struct sWDSEMBMSTMGIListQueryResponse_List
5378 {
5379 eQMIWDSEMBMSListTypes mTMGIListType;
5380 UINT8 mTMGIListCount;
5381
5382 struct sEntry
5383 {
5384 UINT8 mTMGI[6];
5385 INT8 mSessionIDValid;
5386 UINT8 mSessionID;
5387 };
5388
5389 // This array must be the size specified by mTMGIListCount
5390 // sEntry mEntrys[1];
5391 };
5392
5393 // Structure to describe response TLV 0x11 for WDSEMBMSTMGIListQuery()
5394 struct sWDSEMBMSTMGIListQueryResponse_OOS
5395 {
5396 eQMIWDSOOSWarningReasons mOOSWarningReason;
5397 };
5398
5399 // Structure to describe indication TLV 0x10 for WDS EMBMSTMGIListIndication
5400 struct sWDSEMBMSTMGIListIndication_List
5401 {
5402 eQMIWDSEMBMSListTypes mTMGIListType;
5403 UINT8 mTMGIListCount;
5404
5405 struct sEntry
5406 {
5407 UINT8 mTMGI[6];
5408 INT8 mSessionIDValid;
5409 UINT8 mSessionID;
5410 };
5411
5412 // This array must be the size specified by mTMGIListCount
5413 // sEntry mEntrys[1];
5414 };
5415
5416 // Structure to describe indication TLV 0x11 for WDS EMBMSTMGIListIndication
5417 struct sWDSEMBMSTMGIListIndication_OOS
5418 {
5419 eQMIWDSOOSWarningReasons mOOSWarningReason;
5420 };
5421
5422 // Structure to describe response TLV 0x10 for WDSGetPreferredDataSystem()
5423 struct sWDSGetPreferredDataSystemResponse_PreferredDataSystem
5424 {
5425 eQMIWDSDataSystems mPreferredDataSystem;
5426 };
5427
5428 // Structure to describe response TLV 0x10 for WDSGetLastDataCallStatus()
5429 struct sWDSGetLastDataCallStatusResponse_DataCallStatus
5430 {
5431 eQMIWDSDataCallStatus mDataCallStatus;
5432 };
5433
5434 // Structure to describe response TLV 0x11 for WDSGetLastDataCallStatus()
5435 struct sWDSGetLastDataCallStatusResponse_DataCallType
5436 {
5437 eQMIWDSDataCallTypes mDataCallType;
5438 eQMIWDSTetheredCallTypes mTetheredCallType;
5439 };
5440
5441 // Structure to describe response TLV 0x10 for WDSGetCurrentDataSystems()
5442 struct sWDSGetCurrentDataSystemsResponse_Systems
5443 {
5444 eQMIWDSDataSystemNetworkTypes mPreferredNetworkType;
5445 UINT8 mNetworkCount;
5446
5447 struct sNetwork
5448 {
5449 eQMIWDSDataSystemNetworkTypes mNetworkType;
5450
5451 // The following union is based on the value of mNetworkType
5452 union uValOfNetworkType
5453 {
5454 // If the value of mNetworkType == 0
5455 struct sNetworkTypeIs0
5456 {
5457 bool mWCDMA:1;
5458 bool mGPRS:1;
5459 bool mHSDPA:1;
5460 bool mHSUPA:1;
5461 bool mEDGE:1;
5462 bool mLTE:1;
5463 bool mHSDPAPlus:1;
5464 bool mDualCellHSDPAPlus:1;
5465 bool m64QAM:1;
5466 bool mTDSCDMA:1;
5467
5468 // Padding out 21 bits
5469 UINT8 mReserved1:6;
5470 UINT8 mReserved2;
5471 UINT8 mReserved3:7;
5472
5473 bool mNULLBearer:1;
5474 };
5475
5476 sNetworkTypeIs0 mNetworkTypeIs0;
5477
5478 // If the value of mNetworkType == 1
5479 struct sNetworkTypeIs1
5480 {
5481 bool mCDMA1x:1;
5482 bool mCDMA1xEvDORev0:1;
5483 bool mCDMA1xEvDORevA:1;
5484 bool mCDMA1xEvDORevB:1;
5485 bool mCDMAEHRPD:1;
5486 bool mCDMAFMC:1;
5487
5488 // Padding out 25 bits
5489 UINT8 mReserved4:2;
5490 UINT8 mReserved5[2];
5491 UINT8 mReserved6:7;
5492
5493 bool mNULLBearer:1;
5494
5495 // The following union is for handing all mCDMA1x types
5496 union uValOfCDMA1xTypes
5497 {
5498 // If the value of mCDMA1x == 1
5499 struct sCDMA1xIs1
5500 {
5501 bool mCDMA1xIS95:1;
5502 bool mCDMA1xIS2000:1;
5503 bool mCDMA1xIS2000RelA:1;
5504
5505 // Padding out 29 bits
5506 UINT8 mReserved7:5;
5507 UINT8 mReserved8[3];
5508 };
5509
5510 sCDMA1xIs1 mCDMA1xIs1;
5511
5512 // If the value of mCDMA1xEvDORev0 == 1
5513 struct sCDMA1xEvDORev0Is1
5514 {
5515 bool mCDMA1xEvDORev0DPA:1;
5516
5517 // Padding out 31 bits
5518 UINT8 mReserved9:7;
5519 UINT8 mReserved10[3];
5520 };
5521
5522 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
5523
5524 // If the value of mCDMA1xEvDORevA == 1
5525 struct sCDMA1xEvDORevAIs1
5526 {
5527 bool mCDMA1xEvDORevADPA:1;
5528 bool mCDMA1xEvDORevAMFPA:1;
5529 bool mCDMA1xEvDORevAEMPA:1;
5530 bool mCDMA1xEvDORevAEMPAEHRPD:1;
5531
5532 // Padding out 28 bits
5533 UINT8 mReserved11:4;
5534 UINT8 mReserved12[3];
5535 };
5536
5537 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
5538
5539 // If the value of mCDMA1xEvDORevB == 1
5540 struct sCDMA1xEvDORevBIs1
5541 {
5542 bool mCDMA1xEvDORevBDPA:1;
5543 bool mCDMA1xEvDORevBMFPA:1;
5544 bool mCDMA1xEvDORevBEMPA:1;
5545 bool mCDMA1xEvDORevBEMPAEHRPD:1;
5546 bool mCDMA1xEvDORevBMMPA:1;
5547 bool mCDMA1xEvDORevBMMPAEHRPD:1;
5548
5549 // Padding out 26 bits
5550 UINT8 mReserved13:2;
5551 UINT8 mReserved14[3];
5552 };
5553
5554 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
5555
5556 // Padding out 32 bits
5557 UINT8 mReserved15[4];
5558 };
5559
5560 uValOfCDMA1xTypes mValOfCDMA1xTypes;
5561 };
5562
5563 sNetworkTypeIs1 mNetworkTypeIs1;
5564
5565 // Padding out 64 bits
5566 UINT8 mReserved16[8];
5567 };
5568
5569 uValOfNetworkType mValOfNetworkType;
5570 };
5571
5572 // This array must be the size specified by mNetworkCount
5573 // sNetwork mNetworks[1];
5574 };
5575
5576 // Structure to describe request TLV 0x01 for WDSGetPDNThrottleInfo()
5577 struct sWDSGetPDNThrottleInfoRequest_Type
5578 {
5579 eQMIWDSDataSystemNetworkTypes mTechnologyType;
5580 };
5581
5582 // Structure to describe response TLV 0x10 for WDSGetPDNThrottleInfo()
5583 struct sWDSGetPDNThrottleInfoResponse_Info
5584 {
5585 UINT8 mThrottleInfoCount;
5586
5587 struct sInfo
5588 {
5589 INT8 mIPv4Throttled;
5590 INT8 mIPv6Throttled;
5591 UINT32 mIPv4ThrottleTimeLeftInMilliseconds;
5592 UINT32 mIPv6ThrottleTimeLeftInMilliseconds;
5593 UINT8 mAPNNameLength;
5594
5595 // This array must be the size specified by mAPNNameLength
5596 // char mAPNName[1];
5597 };
5598
5599 // This array must be the size specified by mThrottleInfoCount
5600 // sInfo mInfos[1];
5601 };
5602
5603 // Structure to describe response TLV 0x10 for WDSGetLTEAttachParameters()
5604 struct sWDSGetLTEAttachParametersResponse_APNString
5605 {
5606 // String is variable length, but must be size of the container
5607 // char mAPNName[1];
5608 };
5609
5610 // Structure to describe response TLV 0x11 for WDSGetLTEAttachParameters()
5611 struct sWDSGetLTEAttachParametersResponse_IPSupport
5612 {
5613 eQMIWDSLTEIPTypes mIPType;
5614 };
5615
5616 // Structure to describe response TLV 0x12 for WDSGetLTEAttachParameters()
5617 struct sWDSGetLTEAttachParametersResponse_OTAAttach
5618 {
5619 INT8 mOTAAttachPerformed;
5620 };
5621
5622 // Structure to describe response TLV 0x10 for WDSGetFlowControlStatus()
5623 struct sWDSGetFlowControlStatusResponse_UplinkFlowControl
5624 {
5625 INT8 mUplinkFlowControlEnabled;
5626 };
5627
5628 // Structure to describe request TLV 0x10 for DMSSetEventReport()
5629 struct sDMSSetEventReportRequest_PowerState
5630 {
5631 INT8 mReportPowerState;
5632 };
5633
5634 // Structure to describe request TLV 0x11 for DMSSetEventReport()
5635 struct sDMSSetEventReportRequest_BatteryLevel
5636 {
5637 UINT8 mBatteryLevelLowerLimit;
5638 UINT8 mBatteryLevelUpperLimit;
5639 };
5640
5641 // Structure to describe request TLV 0x12 for DMSSetEventReport()
5642 struct sDMSSetEventReportRequest_PINStatus
5643 {
5644 INT8 mReportPINStatus;
5645 };
5646
5647 // Structure to describe request TLV 0x13 for DMSSetEventReport()
5648 struct sDMSSetEventReportRequest_ActivationState
5649 {
5650 INT8 mReportActivationState;
5651 };
5652
5653 // Structure to describe request TLV 0x14 for DMSSetEventReport()
5654 struct sDMSSetEventReportRequest_OperatingMode
5655 {
5656 INT8 mReportOperatingMode;
5657 };
5658
5659 // Structure to describe request TLV 0x15 for DMSSetEventReport()
5660 struct sDMSSetEventReportRequest_UIMState
5661 {
5662 INT8 mReportUIMState;
5663 };
5664
5665 // Structure to describe request TLV 0x16 for DMSSetEventReport()
5666 struct sDMSSetEventReportRequest_WirelessDisableState
5667 {
5668 INT8 mReportWirelessDisableState;
5669 };
5670
5671 // Structure to describe request TLV 0x17 for DMSSetEventReport()
5672 struct sDMSSetEventReportRequest_PRLInit
5673 {
5674 INT8 mReportPRLInitialization;
5675 };
5676
5677 // Structure to describe indication TLV 0x10 for DMS EventReport
5678 struct sDMSEventReportIndication_PowerState
5679 {
5680 eQMIDMSPowerSources mPowerSource:1;
5681 bool mBatteryConnected:1;
5682 bool mBatteryCharging:1;
5683 bool mPowerFault:1;
5684
5685 // Padding out 4 bits
5686 UINT8 mReserved1:4;
5687
5688 UINT8 mBatteryLevel;
5689 };
5690
5691 // Structure to describe indication TLV 0x11 for DMS EventReport
5692 struct sDMSEventReportIndication_PIN1State
5693 {
5694 eQMIDMSPINStatus mPINStatus;
5695 UINT8 mRemainingVerifyRetries;
5696 UINT8 mRemainingUnblockRetries;
5697 };
5698
5699 // Structure to describe indication TLV 0x12 for DMS EventReport
5700 struct sDMSEventReportIndication_PIN2State
5701 {
5702 eQMIDMSPINStatus mPINStatus;
5703 UINT8 mRemainingVerifyRetries;
5704 UINT8 mRemainingUnblockRetries;
5705 };
5706
5707 // Structure to describe indication TLV 0x13 for DMS EventReport
5708 struct sDMSEventReportIndication_ActivationState
5709 {
5710 eQMIDMSActivationStates mActivationState;
5711 };
5712
5713 // Structure to describe indication TLV 0x14 for DMS EventReport
5714 struct sDMSEventReportIndication_OperatingMode
5715 {
5716 eQMIDMSOperatingModes mOperatingMode;
5717 };
5718
5719 // Structure to describe indication TLV 0x15 for DMS EventReport
5720 struct sDMSEventReportIndication_UIMState
5721 {
5722 eQMIDMSUIMStates mUIMState;
5723 };
5724
5725 // Structure to describe indication TLV 0x16 for DMS EventReport
5726 struct sDMSEventReportIndication_WirelessDisableState
5727 {
5728 INT8 mWirelessDisableOn;
5729 };
5730
5731 // Structure to describe indication TLV 0x17 for DMS EventReport
5732 struct sDMSEventReportIndication_PRLInit
5733 {
5734 INT8 mPRLLoaded;
5735 };
5736
5737 // Structure to describe response TLV 0x01 for DMSGetDeviceCapabilities()
5738 struct sDMSGetDeviceCapabilitiesResponse_Capabilities
5739 {
5740 UINT32 mMaxTXRatebps;
5741 UINT32 mMaxRXRatebps;
5742 eQMIDMSDataServiceCapabilities1 mDataServiceCapability;
5743 INT8 mSIMSupported;
5744 UINT8 mRadioInterfaceCount;
5745
5746 // This array must be the size specified by mRadioInterfaceCount
5747 // eQMIDMSRadioInterfaces mRadioInterface[1];
5748 };
5749
5750 // Structure to describe response TLV 0x10 for DMSGetDeviceCapabilities()
5751 struct sDMSGetDeviceCapabilitiesResponse_ServiceCapability
5752 {
5753 eQMIDMSServiceCapabilities mServiceCapability;
5754 };
5755
5756 // Structure to describe response TLV 0x11 for DMSGetDeviceCapabilities()
5757 struct sDMSGetDeviceCapabilitiesResponse_VoiceCapability
5758 {
5759 bool mGWCSFBCapable:1;
5760 bool m1xCSFBCapable:1;
5761 bool mVoLTECapable:1;
5762
5763 // Padding out 61 bits
5764 UINT8 mReserved1:5;
5765 UINT8 mReserved2[7];
5766 };
5767
5768 // Structure to describe response TLV 0x01 for DMSGetDeviceManfacturer()
5769 struct sDMSGetDeviceManfacturerResponse_Manfacturer
5770 {
5771 // String is variable length, but must be size of the container
5772 // char mDeviceManfacturer[1];
5773 };
5774
5775 // Structure to describe response TLV 0x01 for DMSGetDeviceModel()
5776 struct sDMSGetDeviceModelResponse_Model
5777 {
5778 // String is variable length, but must be size of the container
5779 // char mDeviceModelID[1];
5780 };
5781
5782 // Structure to describe response TLV 0x01 for DMSGetDeviceRevision()
5783 struct sDMSGetDeviceRevisionResponse_Revision
5784 {
5785 // String is variable length, but must be size of the container
5786 // char mDeviceRevisionID[1];
5787 };
5788
5789 // Structure to describe response TLV 0x10 for DMSGetDeviceRevision()
5790 struct sDMSGetDeviceRevisionResponse_BootCodeRevision
5791 {
5792 // String is variable length, but must be size of the container
5793 // char mBootCodeRevisionID[1];
5794 };
5795
5796 // Structure to describe response TLV 0x11 for DMSGetDeviceRevision()
5797 struct sDMSGetDeviceRevisionResponse_UQCNRevision
5798 {
5799 // String is variable length, but must be size of the container
5800 // char mBootCodeRevisionID[1];
5801 };
5802
5803 // Structure to describe response TLV 0x01 for DMSGetDeviceVoiceNumber()
5804 struct sDMSGetDeviceVoiceNumberResponse_VoiceNumber
5805 {
5806 // String is variable length, but must be size of the container
5807 // char mDeviceVoiceNumber[1];
5808 };
5809
5810 // Structure to describe response TLV 0x10 for DMSGetDeviceVoiceNumber()
5811 struct sDMSGetDeviceVoiceNumberResponse_MobileIDNumber
5812 {
5813 // String is variable length, but must be size of the container
5814 // char mDeviceMobileIDNumber[1];
5815 };
5816
5817 // Structure to describe response TLV 0x11 for DMSGetDeviceVoiceNumber()
5818 struct sDMSGetDeviceVoiceNumberResponse_IMSI
5819 {
5820 // String is variable length, but must be size of the container
5821 // char mIMSI[1];
5822 };
5823
5824 // Structure to describe response TLV 0x10 for DMSGetDeviceSerialNumbers()
5825 struct sDMSGetDeviceSerialNumbersResponse_ESN
5826 {
5827 // String is variable length, but must be size of the container
5828 // char mESN[1];
5829 };
5830
5831 // Structure to describe response TLV 0x11 for DMSGetDeviceSerialNumbers()
5832 struct sDMSGetDeviceSerialNumbersResponse_IMEI
5833 {
5834 // String is variable length, but must be size of the container
5835 // char mIMEI[1];
5836 };
5837
5838 // Structure to describe response TLV 0x12 for DMSGetDeviceSerialNumbers()
5839 struct sDMSGetDeviceSerialNumbersResponse_MEID
5840 {
5841 // String is variable length, but must be size of the container
5842 // char mMEID[1];
5843 };
5844
5845 // Structure to describe response TLV 0x01 for DMSGetPowerState()
5846 struct sDMSGetPowerStateResponse_PowerState
5847 {
5848 eQMIDMSPowerSources mPowerSource:1;
5849 bool mBatteryConnected:1;
5850 bool mBatteryCharging:1;
5851 bool mPowerFault:1;
5852
5853 // Padding out 4 bits
5854 UINT8 mReserved1:4;
5855
5856 UINT8 mBatteryLevel;
5857 };
5858
5859 // Structure to describe request TLV 0x01 for DMSUIMSetPINProtection()
5860 struct sDMSUIMSetPINProtectionRequest_Info
5861 {
5862 UINT8 mPINID;
5863 UINT8 mPINEnabled;
5864 UINT8 mPINLength;
5865
5866 // This array must be the size specified by mPINLength
5867 // char mPINValue[1];
5868 };
5869
5870 // Structure to describe response TLV 0x10 for DMSUIMSetPINProtection()
5871 struct sDMSUIMSetPINProtectionResponse_RetryInfo
5872 {
5873 UINT8 mRemainingVerifyRetries;
5874 UINT8 mRemainingUnblockRetries;
5875 };
5876
5877 // Structure to describe request TLV 0x01 for DMSUIMVerifyPIN()
5878 struct sDMSUIMVerifyPINRequest_Info
5879 {
5880 UINT8 mPINID;
5881 UINT8 mPINLength;
5882
5883 // This array must be the size specified by mPINLength
5884 // char mPINValue[1];
5885 };
5886
5887 // Structure to describe response TLV 0x10 for DMSUIMVerifyPIN()
5888 struct sDMSUIMVerifyPINResponse_RetryInfo
5889 {
5890 UINT8 mRemainingVerifyRetries;
5891 UINT8 mRemainingUnblockRetries;
5892 };
5893
5894 // Structure to describe request TLV 0x01 for DMSUIMUnblockPIN()
5895 struct sDMSUIMUnblockPINRequest_Info1
5896 {
5897 UINT8 mPINID;
5898 UINT8 mPUKLength;
5899
5900 // This array must be the size specified by mPUKLength
5901 // char mPUKValue[1];
5902 };
5903
5904 struct sDMSUIMUnblockPINRequest_Info2
5905 {
5906 UINT8 mNewPINLength;
5907
5908 // This array must be the size specified by mNewPINLength
5909 // char mNewPINValue[1];
5910 };
5911
5912 struct sDMSUIMUnblockPINRequest_Info
5913 {
5914 sDMSUIMUnblockPINRequest_Info1 mDMSUIMUnblockPINRequest_Info1;
5915 sDMSUIMUnblockPINRequest_Info2 mDMSUIMUnblockPINRequest_Info2;
5916 };
5917
5918 // Structure to describe response TLV 0x10 for DMSUIMUnblockPIN()
5919 struct sDMSUIMUnblockPINResponse_RetryInfo
5920 {
5921 UINT8 mRemainingVerifyRetries;
5922 UINT8 mRemainingUnblockRetries;
5923 };
5924
5925 // Structure to describe request TLV 0x01 for DMSUIMChangePIN()
5926 struct sDMSUIMChangePINRequest_Info1
5927 {
5928 UINT8 mPINID;
5929 UINT8 mOldPINLength;
5930
5931 // This array must be the size specified by mOldPINLength
5932 // char mOldPINValue[1];
5933 };
5934
5935 struct sDMSUIMChangePINRequest_Info2
5936 {
5937 UINT8 mNewPINLength;
5938
5939 // This array must be the size specified by mNewPINLength
5940 // char mNewPINValue[1];
5941 };
5942
5943 struct sDMSUIMChangePINRequest_Info
5944 {
5945 sDMSUIMChangePINRequest_Info1 mDMSUIMChangePINRequest_Info1;
5946 sDMSUIMChangePINRequest_Info2 mDMSUIMChangePINRequest_Info2;
5947 };
5948
5949 // Structure to describe response TLV 0x10 for DMSUIMChangePIN()
5950 struct sDMSUIMChangePINResponse_RetryInfo
5951 {
5952 UINT8 mRemainingVerifyRetries;
5953 UINT8 mRemainingUnblockRetries;
5954 };
5955
5956 // Structure to describe response TLV 0x11 for DMSUIMGetPINStatus()
5957 struct sDMSUIMGetPINStatusResponse_PIN1Status
5958 {
5959 eQMIDMSPINStatus mPINStatus;
5960 UINT8 mRemainingVerifyRetries;
5961 UINT8 mRemainingUnblockRetries;
5962 };
5963
5964 // Structure to describe response TLV 0x12 for DMSUIMGetPINStatus()
5965 struct sDMSUIMGetPINStatusResponse_PIN2Status
5966 {
5967 eQMIDMSPINStatus mPINStatus;
5968 UINT8 mRemainingVerifyRetries;
5969 UINT8 mRemainingUnblockRetries;
5970 };
5971
5972 // Structure to describe response TLV 0x01 for DMSGetHardwareRevision()
5973 struct sDMSGetHardwareRevisionResponse_HardwareRevision
5974 {
5975 // String is variable length, but must be size of the container
5976 // char mDeviceHardwareRevision[1];
5977 };
5978
5979 // Structure to describe response TLV 0x01 for DMSGetOperatingMode()
5980 struct sDMSGetOperatingModeResponse_OperatingMode
5981 {
5982 eQMIDMSOperatingModes mOperatingMode;
5983 };
5984
5985 // Structure to describe response TLV 0x10 for DMSGetOperatingMode()
5986 struct sDMSGetOperatingModeResponse_OfflineReason
5987 {
5988 UINT8 mHostImageMismatch:1;
5989 UINT8 mUQCNImageMismatch:1;
5990 UINT8 mIncompatibleUQCN:1;
5991 UINT8 mUQCNCopyIssue:1;
5992
5993 // Padding out 12 bits
5994 UINT8 mReserved1:4;
5995 UINT8 mReserved2;
5996 };
5997
5998 // Structure to describe response TLV 0x11 for DMSGetOperatingMode()
5999 struct sDMSGetOperatingModeResponse_PlatformRestricted
6000 {
6001 INT8 mPlatformRestricted;
6002 };
6003
6004 // Structure to describe request TLV 0x01 for DMSSetOperatingMode()
6005 struct sDMSSetOperatingModeRequest_OperatingMode
6006 {
6007 eQMIDMSOperatingModes mOperatingMode;
6008 };
6009
6010 // Structure to describe response TLV 0x01 for DMSGetTimestamp()
6011 struct sDMSGetTimestampResponse_Timestamp
6012 {
6013 UINT64 mTimestamp:48;
6014
6015 // mSource is of type eQMIDMSTimestampSources
6016 UINT64 mSource:16;
6017 };
6018
6019 // Structure to describe response TLV 0x01 for DMSGetPRLVersion()
6020 struct sDMSGetPRLVersionResponse_PRLVersion
6021 {
6022 UINT16 mPRLVersion;
6023 };
6024
6025 // Structure to describe response TLV 0x01 for DMSGetActivationState()
6026 struct sDMSGetActivationStateResponse_ActivationState
6027 {
6028 eQMIDMSActivationStates mActivationState;
6029 };
6030
6031 // Structure to describe request TLV 0x01 for DMSActivateAutomatic()
6032 struct sDMSActivateAutomaticRequest_ActivationCode
6033 {
6034 UINT8 mCodeLength;
6035
6036 // This array must be the size specified by mCodeLength
6037 // char mCode[1];
6038 };
6039
6040 // Structure to describe request TLV 0x01 for DMSActivateManual()
6041 struct sDMSActivateManualRequest_ActivationData1
6042 {
6043 char mSPC[6];
6044 UINT16 mSID;
6045 UINT8 mMDNLength;
6046
6047 // This array must be the size specified by mMDNLength
6048 // char mMDN[1];
6049 };
6050
6051 struct sDMSActivateManualRequest_ActivationData2
6052 {
6053 UINT8 mMINLength;
6054
6055 // This array must be the size specified by mMINLength
6056 // char mMIN[1];
6057 };
6058
6059 struct sDMSActivateManualRequest_ActivationData
6060 {
6061 sDMSActivateManualRequest_ActivationData1 mDMSActivateManualRequest_ActivationData1;
6062 sDMSActivateManualRequest_ActivationData2 mDMSActivateManualRequest_ActivationData2;
6063 };
6064
6065 // Structure to describe request TLV 0x10 for DMSActivateManual()
6066 struct sDMSActivateManualRequest_PRLObsolete
6067 {
6068 UINT16 mPRLLength;
6069
6070 // This array must be the size specified by mPRLLength
6071 // UINT8 mPRL[1];
6072 };
6073
6074 // Structure to describe request TLV 0x11 for DMSActivateManual()
6075 struct sDMSActivateManualRequest_MNHAKey
6076 {
6077 UINT8 mMNHALength;
6078
6079 // This array must be the size specified by mMNHALength
6080 // char mMNHA[1];
6081 };
6082
6083 // Structure to describe request TLV 0x12 for DMSActivateManual()
6084 struct sDMSActivateManualRequest_MNAAAKey
6085 {
6086 UINT8 mMNAAALength;
6087
6088 // This array must be the size specified by mMNAAALength
6089 // char mMNAAA[1];
6090 };
6091
6092 // Structure to describe request TLV 0x13 for DMSActivateManual()
6093 struct sDMSActivateManualRequest_PRL
6094 {
6095 UINT16 mPRLTotalLength;
6096 UINT16 mPRLSegmentLength;
6097 UINT8 mPRLSegmentID;
6098
6099 // This array must be the size specified by mPRLSegmentLength
6100 // UINT8 mPRL[1];
6101 };
6102
6103 // Structure to describe response TLV 0x01 for DMSGetLockState()
6104 struct sDMSGetLockStateResponse_LockState
6105 {
6106 eQMIDMSLockStates mLockState;
6107 };
6108
6109 // Structure to describe request TLV 0x01 for DMSSetLockState()
6110 struct sDMSSetLockStateRequest_LockState
6111 {
6112 eQMIDMSLockStates mLockState;
6113 char mLockCode[4];
6114 };
6115
6116 // Structure to describe request TLV 0x01 for DMSSetLockCode()
6117 struct sDMSSetLockCodeRequest_LockCode
6118 {
6119 char mCurrentLockCode[4];
6120 char mNewLockCode[4];
6121 };
6122
6123 // Structure to describe response TLV 0x01 for DMSReadUserData()
6124 struct sDMSReadUserDataResponse_UserData
6125 {
6126 UINT16 mDataLength;
6127
6128 // This array must be the size specified by mDataLength
6129 // UINT8 mData[1];
6130 };
6131
6132 // Structure to describe request TLV 0x01 for DMSWriteUserData()
6133 struct sDMSWriteUserDataRequest_UserData
6134 {
6135 UINT16 mDataLength;
6136
6137 // This array must be the size specified by mDataLength
6138 // UINT8 mData[1];
6139 };
6140
6141 // Structure to describe response TLV 0x01 for DMSReadERIData()
6142 struct sDMSReadERIDataResponse_UserData
6143 {
6144 UINT16 mDataLength;
6145
6146 // This array must be the size specified by mDataLength
6147 // UINT8 mData[1];
6148 };
6149
6150 // Structure to describe request TLV 0x01 for DMSResetFactoryDefaults()
6151 struct sDMSResetFactoryDefaultsRequest_SPC
6152 {
6153 char mSPC[6];
6154 };
6155
6156 // Structure to describe request TLV 0x01 for DMSValidateSPC()
6157 struct sDMSValidateSPCRequest_SPC
6158 {
6159 char mSPC[6];
6160 };
6161
6162 // Structure to describe response TLV 0x01 for DMSUIMGetICCID()
6163 struct sDMSUIMGetICCIDResponse_ICCID
6164 {
6165 // String is variable length, but must be size of the container
6166 // char mICCID[1];
6167 };
6168
6169 // Structure to describe response TLV 0x01 for DMSUIMGetHostLockID()
6170 struct sDMSUIMGetHostLockIDResponse_ID
6171 {
6172 UINT32 mHostLockCode;
6173 };
6174
6175 // Structure to describe request TLV 0x01 for DMSUIMGetControlKeyStatus()
6176 struct sDMSUIMGetControlKeyStatusRequest_Facility
6177 {
6178 eQMIDMSUIMFacility mFacility;
6179 };
6180
6181 // Structure to describe response TLV 0x01 for DMSUIMGetControlKeyStatus()
6182 struct sDMSUIMGetControlKeyStatusResponse_Status
6183 {
6184 eQMIDMSUIMFacilityStates mFacilityState;
6185 UINT8 mRemainingVerifyRetries;
6186 UINT8 mRemainingUnblockRetries;
6187 };
6188
6189 // Structure to describe response TLV 0x10 for DMSUIMGetControlKeyStatus()
6190 struct sDMSUIMGetControlKeyStatusResponse_Blocking
6191 {
6192 INT8 mOperationBlocking;
6193 };
6194
6195 // Structure to describe request TLV 0x01 for DMSUIMSetControlKeyProtection()
6196 struct sDMSUIMSetControlKeyProtectionRequest_Facility
6197 {
6198 eQMIDMSUIMFacility mFacility;
6199 eQMIDMSUIMFacilityStates mFacilityState;
6200 UINT8 mControlKeyLength;
6201
6202 // This array must be the size specified by mControlKeyLength
6203 // char mControlKey[1];
6204 };
6205
6206 // Structure to describe response TLV 0x10 for DMSUIMSetControlKeyProtection()
6207 struct sDMSUIMSetControlKeyProtectionResponse_Status
6208 {
6209 UINT8 mRemainingVerifyRetries;
6210 };
6211
6212 // Structure to describe request TLV 0x01 for DMSUIMUnblockControlKey()
6213 struct sDMSUIMUnblockControlKeyRequest_Facility
6214 {
6215 eQMIDMSUIMFacility mFacility;
6216 UINT8 mControlKeyLength;
6217
6218 // This array must be the size specified by mControlKeyLength
6219 // char mControlKey[1];
6220 };
6221
6222 // Structure to describe response TLV 0x10 for DMSUIMUnblockControlKey()
6223 struct sDMSUIMUnblockControlKeyResponse_Status
6224 {
6225 UINT8 mRemainingUnblockRetries;
6226 };
6227
6228 // Structure to describe response TLV 0x01 for DMSGetIMSI()
6229 struct sDMSGetIMSIResponse_IMSI
6230 {
6231 // String is variable length, but must be size of the container
6232 // char mIMSI[1];
6233 };
6234
6235 // Structure to describe response TLV 0x01 for DMSGetUIMState()
6236 struct sDMSGetUIMStateResponse_State
6237 {
6238 eQMIDMSUIMStates mUIMState;
6239 };
6240
6241 // Structure to describe response TLV 0x01 for DMSGetBandCapabilities()
6242 struct sDMSGetBandCapabilitiesResponse_Bands
6243 {
6244 bool mBandClass0ASystem:1;
6245 bool mBandClass0BSystem:1;
6246 bool mBandClass1:1;
6247 bool mBandClass2:1;
6248 bool mBandClass3ASystem:1;
6249 bool mBandClass4:1;
6250 bool mBandClass5:1;
6251 bool mGSMDCS:1;
6252 bool mGSMPrimary:1;
6253 bool mGSMExtended:1;
6254 bool mBandClass6:1;
6255 bool mBandClass7:1;
6256 bool mBandClass8:1;
6257 bool mBandClass9:1;
6258 bool mBandClass10:1;
6259 bool mBandClass11:1;
6260 bool mGSM450:1;
6261 bool mGSM480:1;
6262 bool mGSM750:1;
6263 bool mGSM850:1;
6264 bool mGSMRailways:1;
6265 bool mGSMPCS:1;
6266 bool mWCDMA2100I:1;
6267 bool mWCDMAPCS1900:1;
6268 bool mWCDMADCS1800:1;
6269 bool mWCDMA1700US:1;
6270 bool mWCDMA850:1;
6271 bool mWCDMA800:1;
6272 bool mBandClass12:1;
6273 bool mBandClass14:1;
6274
6275 // Padding out 1 bits
6276 UINT8 mReserved1:1;
6277
6278 bool mBandClass15:1;
6279
6280 // Padding out 16 bits
6281 UINT8 mReserved2[2];
6282
6283 bool mWCDMA2600:1;
6284 bool mWCDMA900:1;
6285 bool mWCDMA1700Japan:1;
6286
6287 // Padding out 5 bits
6288 UINT8 mReserved3:5;
6289
6290 bool mBandClass16:1;
6291 bool mBandClass17:1;
6292 bool mBandClass18:1;
6293 bool mBandClass19:1;
6294
6295 // Padding out 4 bits
6296 UINT8 mReserved4:4;
6297 };
6298
6299 // Structure to describe response TLV 0x10 for DMSGetBandCapabilities()
6300 struct sDMSGetBandCapabilitiesResponse_LTEBands
6301 {
6302 bool mEUTRANBand1:1;
6303 bool mEUTRANBand2:1;
6304 bool mEUTRANBand3:1;
6305 bool mEUTRANBand4:1;
6306 bool mEUTRANBand5:1;
6307 bool mEUTRANBand6:1;
6308 bool mEUTRANBand7:1;
6309 bool mEUTRANBand8:1;
6310 bool mEUTRANBand9:1;
6311 bool mEUTRANBand10:1;
6312 bool mEUTRANBand11:1;
6313 bool mEUTRANBand12:1;
6314 bool mEUTRANBand13:1;
6315 bool mEUTRANBand14:1;
6316
6317 // Padding out 2 bits
6318 UINT8 mReserved1:2;
6319
6320 bool mEUTRANBand17:1;
6321 bool mEUTRANBand18:1;
6322 bool mEUTRANBand19:1;
6323 bool mEUTRANBand20:1;
6324 bool mEUTRANBand21:1;
6325
6326 // Padding out 2 bits
6327 UINT8 mReserved2:2;
6328
6329 bool mEUTRANBand24:1;
6330 bool mEUTRANBand25:1;
6331
6332 // Padding out 7 bits
6333 UINT8 mReserved3:7;
6334
6335 bool mEUTRANBand33:1;
6336 bool mEUTRANBand34:1;
6337 bool mEUTRANBand35:1;
6338 bool mEUTRANBand36:1;
6339 bool mEUTRANBand37:1;
6340 bool mEUTRANBand38:1;
6341 bool mEUTRANBand39:1;
6342 bool mEUTRANBand40:1;
6343 bool mEUTRANBand41:1;
6344
6345 // Padding out 23 bits
6346 UINT8 mReserved4:7;
6347 UINT8 mReserved5[2];
6348 };
6349
6350 // Structure to describe response TLV 0x11 for DMSGetBandCapabilities()
6351 struct sDMSGetBandCapabilitiesResponse_TDSBands
6352 {
6353 bool mTDSBandA:1;
6354 bool mTDSBandB:1;
6355 bool mTDSBandC:1;
6356 bool mTDSBandD:1;
6357 bool mTDSBandE:1;
6358 bool mTDSBandF:1;
6359
6360 // Padding out 58 bits
6361 UINT8 mReserved1:2;
6362 UINT8 mReserved2[7];
6363 };
6364
6365 // Structure to describe response TLV 0x01 for DMSGetFactorySerialNumber()
6366 struct sDMSGetFactorySerialNumberResponse_ID
6367 {
6368 // String is variable length, but must be size of the container
6369 // char mFactorySerialNumber[1];
6370 };
6371
6372 // Structure to describe request TLV 0x01 for DMSSetDeviceTime()
6373 struct sDMSSetDeviceTimeRequest_Time
6374 {
6375 UINT64 mTimeInMilliseconds;
6376 };
6377
6378 // Structure to describe request TLV 0x10 for DMSSetDeviceTime()
6379 struct sDMSSetDeviceTimeRequest_Type
6380 {
6381 eQMIDMSTimeReferences mTimeReference;
6382 };
6383
6384 // Structure to describe response TLV 0x01 for DMSGetSoftwareVersion()
6385 struct sDMSGetSoftwareVersionResponse_Version
6386 {
6387 // String is variable length, but must be size of the container
6388 // char mSoftwareVersion[1];
6389 };
6390
6391 // Structure to describe request TLV 0x01 for DMSSetSPC()
6392 struct sDMSSetSPCRequest_CurrentSPC
6393 {
6394 char mCurrentSPC[6];
6395 };
6396
6397 // Structure to describe response TLV 0x10 for DMSGetCurrentPRLInfo()
6398 struct sDMSGetCurrentPRLInfoResponse_Version
6399 {
6400 UINT16 mPRLVersion;
6401 };
6402
6403 // Structure to describe response TLV 0x11 for DMSGetCurrentPRLInfo()
6404 struct sDMSGetCurrentPRLInfoResponse_Preference
6405 {
6406 INT8 mPRLOnlyPreferenceSet;
6407 };
6408
6409 // Structure to describe request TLV 0x01 for NASAbort()
6410 struct sNASAbortRequest_TransactionID
6411 {
6412 UINT16 mTransactionID;
6413 };
6414
6415 // Structure to describe request TLV 0x10 for NASSetEventReport()
6416 struct sNASSetEventReportRequest_SignalIndicator
6417 {
6418 INT8 mReportSignalStrength;
6419 UINT8 mNumberOfThresholds;
6420
6421 // This array must be the size specified by mNumberOfThresholds
6422 // INT8 mSignalStrengthThresholddBm[1];
6423 };
6424
6425 // Structure to describe request TLV 0x11 for NASSetEventReport()
6426 struct sNASSetEventReportRequest_RFIndicator
6427 {
6428 INT8 mReportRFInfo;
6429 };
6430
6431 // Structure to describe request TLV 0x12 for NASSetEventReport()
6432 struct sNASSetEventReportRequest_RegistrationRejectIndicator
6433 {
6434 INT8 mReportLUReject;
6435 };
6436
6437 // Structure to describe request TLV 0x13 for NASSetEventReport()
6438 struct sNASSetEventReportRequest_RSSIIndicator
6439 {
6440 INT8 mReportRSSI;
6441 UINT8 mRSSIDelta;
6442 };
6443
6444 // Structure to describe request TLV 0x14 for NASSetEventReport()
6445 struct sNASSetEventReportRequest_ECIOIndicator
6446 {
6447 INT8 mReportECIO;
6448 UINT8 mECIODelta;
6449 };
6450
6451 // Structure to describe request TLV 0x15 for NASSetEventReport()
6452 struct sNASSetEventReportRequest_IOIndicator
6453 {
6454 INT8 mReportIO;
6455 UINT8 mIODelta;
6456 };
6457
6458 // Structure to describe request TLV 0x16 for NASSetEventReport()
6459 struct sNASSetEventReportRequest_SINRIndicator
6460 {
6461 INT8 mReportSINR;
6462 UINT8 mSINRDelta;
6463 };
6464
6465 // Structure to describe request TLV 0x17 for NASSetEventReport()
6466 struct sNASSetEventReportRequest_ErrorRateIndicator
6467 {
6468 INT8 mReportErrorRate;
6469 };
6470
6471 // Structure to describe request TLV 0x18 for NASSetEventReport()
6472 struct sNASSetEventReportRequest_RSRQIndicator
6473 {
6474 INT8 mReportRSRQ;
6475 UINT8 mRSRQDelta;
6476 };
6477
6478 // Structure to describe request TLV 0x19 for NASSetEventReport()
6479 struct sNASSetEventReportRequest_ECIOThreshold
6480 {
6481 INT8 mReportECIO;
6482 UINT8 mThresholdCount;
6483
6484 // This array must be the size specified by mThresholdCount
6485 // INT16 mThreshold[1];
6486 };
6487
6488 // Structure to describe request TLV 0x1A for NASSetEventReport()
6489 struct sNASSetEventReportRequest_SINRThreshold
6490 {
6491 INT8 mReportSINR;
6492 UINT8 mThresholdCount;
6493
6494 // This array must be the size specified by mThresholdCount
6495 // UINT8 mThreshold[1];
6496 };
6497
6498 // Structure to describe request TLV 0x1B for NASSetEventReport()
6499 struct sNASSetEventReportRequest_LTESNRDelta
6500 {
6501 INT8 mReportLTESNR;
6502 UINT16 mLTESNRDelta;
6503 };
6504
6505 // Structure to describe request TLV 0x1C for NASSetEventReport()
6506 struct sNASSetEventReportRequest_LTERSPSDelta
6507 {
6508 INT8 mReportLTERSRP;
6509 UINT8 mLTERSRPDelta;
6510 };
6511
6512 // Structure to describe indication TLV 0x10 for NAS EventReport
6513 struct sNASEventReportIndication_SignalStrength
6514 {
6515 INT8 mSignalStrengthdBm;
6516 eQMINASRadioInterfaces mRadioInterface;
6517 };
6518
6519 // Structure to describe indication TLV 0x11 for NAS EventReport
6520 struct sNASEventReportIndication_RFInfo
6521 {
6522 UINT8 mNumberOfInstances;
6523
6524 struct sInstance
6525 {
6526 eQMINASRadioInterfaces mRadioInterface;
6527 eQMINASBandClasses mActiveBandClass;
6528 UINT16 mActiveChannel;
6529 };
6530
6531 // This array must be the size specified by mNumberOfInstances
6532 // sInstance mInstances[1];
6533 };
6534
6535 // Structure to describe indication TLV 0x12 for NAS EventReport
6536 struct sNASEventReportIndication_RegistrationReject
6537 {
6538 eQMINASServiceDomains mServiceDomain;
6539 UINT16 mRejectCause;
6540 };
6541
6542 // Structure to describe indication TLV 0x13 for NAS EventReport
6543 struct sNASEventReportIndication_RSSI
6544 {
6545 UINT8 mRSSIDelta;
6546 eQMINASRadioInterfaces mRadioInterface;
6547 };
6548
6549 // Structure to describe indication TLV 0x14 for NAS EventReport
6550 struct sNASEventReportIndication_ECIO
6551 {
6552 UINT8 mECIO;
6553 eQMINASRadioInterfaces mRadioInterface;
6554 };
6555
6556 // Structure to describe indication TLV 0x15 for NAS EventReport
6557 struct sNASEventReportIndication_IO
6558 {
6559 UINT32 mIO;
6560 };
6561
6562 // Structure to describe indication TLV 0x16 for NAS EventReport
6563 struct sNASEventReportIndication_SINR
6564 {
6565 eQMINASSINRLevels mSINR;
6566 };
6567
6568 // Structure to describe indication TLV 0x17 for NAS EventReport
6569 struct sNASEventReportIndication_ErrorRate
6570 {
6571 UINT16 mErrorRate;
6572 eQMINASRadioInterfaces mRadioInterface;
6573 };
6574
6575 // Structure to describe indication TLV 0x18 for NAS EventReport
6576 struct sNASEventReportIndication_RSRQ
6577 {
6578 INT8 mRSRQ;
6579 eQMINASRadioInterfaces mRadioInterface;
6580 };
6581
6582 // Structure to describe indication TLV 0x19 for NAS EventReport
6583 struct sNASEventReportIndication_LTESNR
6584 {
6585 INT16 mLTESNR;
6586 };
6587
6588 // Structure to describe indication TLV 0x1A for NAS EventReport
6589 struct sNASEventReportIndication_LTERSRP
6590 {
6591 INT16 mLTERSRP;
6592 };
6593
6594 // Structure to describe request TLV 0x10 for NASSetRegistrationEventReport()
6595 struct sNASSetRegistrationEventReportRequest_SystemSelectIndicator
6596 {
6597 INT8 mReportSystemSelect;
6598 };
6599
6600 // Structure to describe request TLV 0x12 for NASSetRegistrationEventReport()
6601 struct sNASSetRegistrationEventReportRequest_DDTMIndicator
6602 {
6603 INT8 mReportDDTM;
6604 };
6605
6606 // Structure to describe request TLV 0x13 for NASSetRegistrationEventReport()
6607 struct sNASSetRegistrationEventReportRequest_ServingSystemIndicator
6608 {
6609 INT8 mReportServingSystem;
6610 };
6611
6612 // Structure to describe request TLV 0x14 for NASSetRegistrationEventReport()
6613 struct sNASSetRegistrationEventReportRequest_DualStandbyIndicator
6614 {
6615 INT8 mReportDualStandby;
6616 };
6617
6618 // Structure to describe request TLV 0x15 for NASSetRegistrationEventReport()
6619 struct sNASSetRegistrationEventReportRequest_SubscriptionInformationIndicator
6620 {
6621 INT8 mReportSubscriptionInformation;
6622 };
6623
6624 // Structure to describe request TLV 0x17 for NASSetRegistrationEventReport()
6625 struct sNASSetRegistrationEventReportRequest_NetworkTimeIndicator
6626 {
6627 INT8 mReportNetworkTime;
6628 };
6629
6630 // Structure to describe request TLV 0x18 for NASSetRegistrationEventReport()
6631 struct sNASSetRegistrationEventReportRequest_SystemInformationIndicator
6632 {
6633 INT8 mReportSystemInformation;
6634 };
6635
6636 // Structure to describe request TLV 0x19 for NASSetRegistrationEventReport()
6637 struct sNASSetRegistrationEventReportRequest_SignalStrengthIndicator
6638 {
6639 INT8 mReportSignalStrength;
6640 };
6641
6642 // Structure to describe request TLV 0x1A for NASSetRegistrationEventReport()
6643 struct sNASSetRegistrationEventReportRequest_ErrorRateIndicator
6644 {
6645 INT8 mReportErrorRate;
6646 };
6647
6648 // Structure to describe request TLV 0x1B for NASSetRegistrationEventReport()
6649 struct sNASSetRegistrationEventReportRequest_NewEVDOUATIIndicator
6650 {
6651 INT8 mReportNewEVDOUATI;
6652 };
6653
6654 // Structure to describe request TLV 0x1C for NASSetRegistrationEventReport()
6655 struct sNASSetRegistrationEventReportRequest_EVDOSessionIndicator
6656 {
6657 INT8 mReportEVDOSessionClose;
6658 };
6659
6660 // Structure to describe request TLV 0x1D for NASSetRegistrationEventReport()
6661 struct sNASSetRegistrationEventReportRequest_ManagedRoamingIndicator
6662 {
6663 INT8 mReportManagedRoaming;
6664 };
6665
6666 // Structure to describe request TLV 0x1E for NASSetRegistrationEventReport()
6667 struct sNASSetRegistrationEventReportRequest_CurrentPLMNName
6668 {
6669 INT8 mReportCurrentPLMNName;
6670 };
6671
6672 // Structure to describe request TLV 0x1F for NASSetRegistrationEventReport()
6673 struct sNASSetRegistrationEventReportRequest_EMBMSStatus
6674 {
6675 INT8 mReportEMBMSStatus;
6676 };
6677
6678 // Structure to describe request TLV 0x20 for NASSetRegistrationEventReport()
6679 struct sNASSetRegistrationEventReportRequest_RFBandInfo
6680 {
6681 INT8 mReportRFBandInfo;
6682 };
6683
6684 // Structure to describe request TLV 0x21 for NASSetRegistrationEventReport()
6685 struct sNASSetRegistrationEventReportRequest_NetworkReject
6686 {
6687 INT8 mNetworkRejectEnabled;
6688 INT8 mSupressSytemInfoEnabled;
6689 };
6690
6691 // Structure to describe request TLV 0x22 for NASSetRegistrationEventReport()
6692 struct sNASSetRegistrationEventReportRequest_OperatorNameData
6693 {
6694 INT8 mOperatorNameDataEnabled;
6695 };
6696
6697 // Structure to describe request TLV 0x23 for NASSetRegistrationEventReport()
6698 struct sNASSetRegistrationEventReportRequest_CSPPLMNModeBit
6699 {
6700 INT8 mCSPPLMNModeBitEnabled;
6701 };
6702
6703 // Structure to describe request TLV 0x24 for NASSetRegistrationEventReport()
6704 struct sNASSetRegistrationEventReportRequest_RTREConfiguration
6705 {
6706 INT8 mRTREConfigurationEnabled;
6707 };
6708
6709 // Structure to describe request TLV 0x10 for NASGetSignalStrength()
6710 struct sNASGetSignalStrengthRequest_RequestMask
6711 {
6712 bool mQueryRSSI:1;
6713 bool mQueryECIO:1;
6714 bool mQueryIO:1;
6715 bool mQuerySINR:1;
6716 bool mQueryErrorRate:1;
6717 bool mQueryRSRQ:1;
6718 bool mQueryLTESNR:1;
6719 bool mQueryLTERSRQ:1;
6720
6721 // Padding out 8 bits
6722 UINT8 mReserved1;
6723 };
6724
6725 // Structure to describe response TLV 0x01 for NASGetSignalStrength()
6726 struct sNASGetSignalStrengthResponse_SignalStrength
6727 {
6728 INT8 mSignalStrengthdBm;
6729 eQMINASRadioInterfaces mRadioInterface;
6730 };
6731
6732 // Structure to describe response TLV 0x10 for NASGetSignalStrength()
6733 struct sNASGetSignalStrengthResponse_SignalStrengthList
6734 {
6735 UINT16 mNumberOfInfoInstances;
6736
6737 struct sInfo
6738 {
6739 INT8 mSignalStrengthdBm;
6740 eQMINASRadioInterfaces mRadioInterface;
6741 };
6742
6743 // This array must be the size specified by mNumberOfInfoInstances
6744 // sInfo mInfos[1];
6745 };
6746
6747 // Structure to describe response TLV 0x11 for NASGetSignalStrength()
6748 struct sNASGetSignalStrengthResponse_RSSIList
6749 {
6750 UINT16 mNumberOfMeasurements;
6751
6752 struct sMeasurement
6753 {
6754 UINT8 mRSSIDelta;
6755 eQMINASRadioInterfaces mRadioInterface;
6756 };
6757
6758 // This array must be the size specified by mNumberOfMeasurements
6759 // sMeasurement mMeasurements[1];
6760 };
6761
6762 // Structure to describe response TLV 0x12 for NASGetSignalStrength()
6763 struct sNASGetSignalStrengthResponse_ECIOList
6764 {
6765 UINT16 mNumberOfMeasurements;
6766
6767 struct sMeasurement
6768 {
6769 UINT8 mECIO;
6770 eQMINASRadioInterfaces mRadioInterface;
6771 };
6772
6773 // This array must be the size specified by mNumberOfMeasurements
6774 // sMeasurement mMeasurements[1];
6775 };
6776
6777 // Structure to describe response TLV 0x13 for NASGetSignalStrength()
6778 struct sNASGetSignalStrengthResponse_IO
6779 {
6780 UINT32 mIO;
6781 };
6782
6783 // Structure to describe response TLV 0x14 for NASGetSignalStrength()
6784 struct sNASGetSignalStrengthResponse_SINR
6785 {
6786 eQMINASSINRLevels mSINR;
6787 };
6788
6789 // Structure to describe response TLV 0x15 for NASGetSignalStrength()
6790 struct sNASGetSignalStrengthResponse_ErrorRateList
6791 {
6792 UINT16 mNumberOfMeasurements;
6793
6794 struct sMeasurement
6795 {
6796 UINT16 mErrorRate;
6797 eQMINASRadioInterfaces mRadioInterface;
6798 };
6799
6800 // This array must be the size specified by mNumberOfMeasurements
6801 // sMeasurement mMeasurements[1];
6802 };
6803
6804 // Structure to describe response TLV 0x16 for NASGetSignalStrength()
6805 struct sNASGetSignalStrengthResponse_RSRQ
6806 {
6807 INT8 mRSRQ;
6808 eQMINASRadioInterfaces mRadioInterface;
6809 };
6810
6811 // Structure to describe response TLV 0x17 for NASGetSignalStrength()
6812 struct sNASGetSignalStrengthResponse_LTESNR
6813 {
6814 INT16 mLTESNR;
6815 };
6816
6817 // Structure to describe response TLV 0x18 for NASGetSignalStrength()
6818 struct sNASGetSignalStrengthResponse_LTERSRQ
6819 {
6820 INT16 mLTERSRP;
6821 };
6822
6823 // Structure to describe request TLV 0x10 for NASPerformNetworkScan()
6824 struct sNASPerformNetworkScanRequest_NetworkMask
6825 {
6826 bool mGSM:1;
6827 bool mUMTS:1;
6828 bool mLTE:1;
6829 bool mTDSCDMA:1;
6830
6831 // Padding out 4 bits
6832 UINT8 mReserved1:4;
6833 };
6834
6835 // Structure to describe response TLV 0x10 for NASPerformNetworkScan()
6836 struct sNASPerformNetworkScanResponse_NetworkInfo
6837 {
6838 UINT16 mNumberOfInfoInstances;
6839
6840 struct sNetworkInfo
6841 {
6842 UINT16 mMobileCountryCode;
6843 UINT16 mMobileNetworkCode;
6844 eQMINASInUseStates mInUseStatus:2;
6845 eQMINASRoamingStates mRoamingStatus:2;
6846 eQMINASForbiddenStates mForbiddenStatus:2;
6847 eQMINASPreferredStates mPreferredStatus:2;
6848 UINT8 mDescriptionLength;
6849
6850 // This array must be the size specified by mDescriptionLength
6851 // char mDescription[1];
6852 };
6853
6854 // This array must be the size specified by mNumberOfInfoInstances
6855 // sNetworkInfo mNetworkInfos[1];
6856 };
6857
6858 // Structure to describe response TLV 0x11 for NASPerformNetworkScan()
6859 struct sNASPerformNetworkScanResponse_NetworkRAT
6860 {
6861 UINT16 mNumberOfInfoInstances;
6862
6863 struct sInfo
6864 {
6865 UINT16 mMobileCountryCode;
6866 UINT16 mMobileNetworkCode;
6867 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
6868 };
6869
6870 // This array must be the size specified by mNumberOfInfoInstances
6871 // sInfo mInfos[1];
6872 };
6873
6874 // Structure to describe response TLV 0x12 for NASPerformNetworkScan()
6875 struct sNASPerformNetworkScanResponse_PCSInfo
6876 {
6877 UINT16 mPCSInfoCount;
6878
6879 struct sPCSInfo
6880 {
6881 UINT16 mMobileCountryCode;
6882 UINT16 mMobileNetworkCode;
6883 INT8 mMNCIncludesPCSDigit;
6884 };
6885
6886 // This array must be the size specified by mPCSInfoCount
6887 // sPCSInfo mPCSInfos[1];
6888 };
6889
6890 // Structure to describe response TLV 0x13 for NASPerformNetworkScan()
6891 struct sNASPerformNetworkScanResponse_NetworkScanResult
6892 {
6893 eQMINASNetworkScanResult mNetworkScanResult;
6894 };
6895
6896 // Structure to describe request TLV 0x01 for NASInitiateNetworkRegister()
6897 struct sNASInitiateNetworkRegisterRequest_Action
6898 {
6899 eQMINASRegisterActions mRegisterAction;
6900 };
6901
6902 // Structure to describe request TLV 0x10 for NASInitiateNetworkRegister()
6903 struct sNASInitiateNetworkRegisterRequest_ManualInfo
6904 {
6905 UINT16 mMobileCountryCode;
6906 UINT16 mMobileNetworkCode;
6907 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
6908 };
6909
6910 // Structure to describe request TLV 0x11 for NASInitiateNetworkRegister()
6911 struct sNASInitiateNetworkRegisterRequest_ChangeDuration
6912 {
6913 eQMINASChangeDuration mChangeDuration;
6914 };
6915
6916 // Structure to describe request TLV 0x12 for NASInitiateNetworkRegister()
6917 struct sNASInitiateNetworkRegisterRequest_PCSInfo
6918 {
6919 INT8 mMNCIncludesPCSDigit;
6920 };
6921
6922 // Structure to describe request TLV 0x10 for NASInitiateAttach()
6923 struct sNASInitiateAttachRequest_Action
6924 {
6925 eQMINASPSAttachActions mPSAttachAction;
6926 };
6927
6928 // Structure to describe response TLV 0x01 for NASGetServingSystem()
6929 struct sNASGetServingSystemResponse_ServingSystem
6930 {
6931 eQMINASRegistrationStates mRegistrationState;
6932 eQMINASCSPSAttachStates mCSAttachState;
6933 eQMINASCSPSAttachStates mPSAttachState;
6934 eQMINASRegisteredNetworks mRegisteredNetwork;
6935 UINT8 mNumberOfRadioInterfacesInUse;
6936
6937 // This array must be the size specified by mNumberOfRadioInterfacesInUse
6938 // eQMINASRadioInterfaces mRadioInterface[1];
6939 };
6940
6941 // Structure to describe response TLV 0x10 for NASGetServingSystem()
6942 struct sNASGetServingSystemResponse_RoamingIndicator
6943 {
6944 eQMINASRoamingIndicators mRoamingIndicator;
6945 };
6946
6947 // Structure to describe response TLV 0x11 for NASGetServingSystem()
6948 struct sNASGetServingSystemResponse_DataServices
6949 {
6950 UINT8 mNumberOfDataCapabilities;
6951
6952 // This array must be the size specified by mNumberOfDataCapabilities
6953 // eQMINASDataServiceCapabilities2 mDataCapability[1];
6954 };
6955
6956 // Structure to describe response TLV 0x12 for NASGetServingSystem()
6957 struct sNASGetServingSystemResponse_CurrentPLMN
6958 {
6959 UINT16 mMobileCountryCode;
6960 UINT16 mMobileNetworkCode;
6961 UINT8 mDescriptionLength;
6962
6963 // This array must be the size specified by mDescriptionLength
6964 // char mDescription[1];
6965 };
6966
6967 // Structure to describe response TLV 0x13 for NASGetServingSystem()
6968 struct sNASGetServingSystemResponse_SystemID
6969 {
6970 UINT16 mSystemID;
6971 UINT16 mNetworkID;
6972 };
6973
6974 // Structure to describe response TLV 0x14 for NASGetServingSystem()
6975 struct sNASGetServingSystemResponse_BaseStation
6976 {
6977 UINT16 mBaseStationID;
6978 INT32 mLatitude;
6979 INT32 mLongitude;
6980 };
6981
6982 // Structure to describe response TLV 0x15 for NASGetServingSystem()
6983 struct sNASGetServingSystemResponse_RoamingList
6984 {
6985 UINT8 mNumberOfInstances;
6986
6987 struct sInstance
6988 {
6989 eQMINASRadioInterfaces mRadioInterface;
6990 eQMINASRoamingIndicators mRoamingIndicator;
6991 };
6992
6993 // This array must be the size specified by mNumberOfInstances
6994 // sInstance mInstances[1];
6995 };
6996
6997 // Structure to describe response TLV 0x16 for NASGetServingSystem()
6998 struct sNASGetServingSystemResponse_DefaultRoaming
6999 {
7000 eQMINASRoamingIndicators mRoamingIndicator;
7001 };
7002
7003 // Structure to describe response TLV 0x17 for NASGetServingSystem()
7004 struct sNASGetServingSystemResponse_3GPP2TimeZone
7005 {
7006 UINT8 mLeapSeconds;
7007 INT8 mLocalTimeOffset;
7008 INT8 mDaylightSavingsInEffect;
7009 };
7010
7011 // Structure to describe response TLV 0x18 for NASGetServingSystem()
7012 struct sNASGetServingSystemResponse_ProtocolRevision
7013 {
7014 eQMINASRevision mProtocolRevision;
7015 };
7016
7017 // Structure to describe response TLV 0x1A for NASGetServingSystem()
7018 struct sNASGetServingSystemResponse_3GPPTimeZone
7019 {
7020 INT8 m3GPPTimeZone;
7021 };
7022
7023 // Structure to describe response TLV 0x1B for NASGetServingSystem()
7024 struct sNASGetServingSystemResponse_3GPPDaylightSavingsAdjustment
7025 {
7026 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
7027 };
7028
7029 // Structure to describe response TLV 0x1C for NASGetServingSystem()
7030 struct sNASGetServingSystemResponse_3GPPLocationAreaCode
7031 {
7032 UINT16 mLocationAreaCode;
7033 };
7034
7035 // Structure to describe response TLV 0x1D for NASGetServingSystem()
7036 struct sNASGetServingSystemResponse_3GPPCellID
7037 {
7038 UINT32 mCellID;
7039 };
7040
7041 // Structure to describe response TLV 0x1E for NASGetServingSystem()
7042 struct sNASGetServingSystemResponse_3GPP2ConcurrentService
7043 {
7044 eQMINASConcurrentService mConcurrentService;
7045 };
7046
7047 // Structure to describe response TLV 0x1F for NASGetServingSystem()
7048 struct sNASGetServingSystemResponse_3GPP2PRLIndicator
7049 {
7050 eQMINASPRLIndicator mPRLIndicator;
7051 };
7052
7053 // Structure to describe response TLV 0x20 for NASGetServingSystem()
7054 struct sNASGetServingSystemResponse_DualTransferModeIndication
7055 {
7056 eQMINASDualTransferMode mDualTransferMode;
7057 };
7058
7059 // Structure to describe response TLV 0x21 for NASGetServingSystem()
7060 struct sNASGetServingSystemResponse_DetailedServiceInformation
7061 {
7062 eQMINASServiceStatus mServiceStatus;
7063 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
7064 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
7065 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
7066 eQMINASSystemForbidden mSystemForbidden;
7067 };
7068
7069 // Structure to describe response TLV 0x22 for NASGetServingSystem()
7070 struct sNASGetServingSystemResponse_CDMASystemInformation
7071 {
7072 UINT16 mMobileCountryCode;
7073 UINT8 mIMSI_11_12;
7074 };
7075
7076 // Structure to describe response TLV 0x23 for NASGetServingSystem()
7077 struct sNASGetServingSystemResponse_CDMA1xEVDOPersonality
7078 {
7079 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
7080 };
7081
7082 // Structure to describe response TLV 0x24 for NASGetServingSystem()
7083 struct sNASGetServingSystemResponse_TrackingAreaCode
7084 {
7085 UINT16 mTrackingAreaCode;
7086 };
7087
7088 // Structure to describe response TLV 0x25 for NASGetServingSystem()
7089 struct sNASGetServingSystemResponse_CallBarring
7090 {
7091 eQMINASCallBarringStatus mCSCallBarringStatus;
7092 eQMINASCallBarringStatus mPSCallBarringStatus;
7093 };
7094
7095 // Structure to describe response TLV 0x26 for NASGetServingSystem()
7096 struct sNASGetServingSystemResponse_UMTSPSC
7097 {
7098 UINT16 mPrimaryScramblingCode;
7099 };
7100
7101 // Structure to describe response TLV 0x27 for NASGetServingSystem()
7102 struct sNASGetServingSystemResponse_PCSInfo
7103 {
7104 UINT16 mMobileCountryCode;
7105 UINT16 mMobileNetworkCode;
7106 INT8 mMNCIncludesPCSDigit;
7107 };
7108
7109 // Structure to describe response TLV 0x28 for NASGetServingSystem()
7110 struct sNASGetServingSystemResponse_HSCallStatus
7111 {
7112 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
7113 };
7114
7115 // Structure to describe indication TLV 0x01 for NAS ServingSystemIndication
7116 struct sNASServingSystemIndication_ServingSystem
7117 {
7118 eQMINASRegistrationStates mRegistrationState;
7119 eQMINASCSPSAttachStates mCSAttachState;
7120 eQMINASCSPSAttachStates mPSAttachState;
7121 eQMINASRegisteredNetworks mRegisteredNetwork;
7122 UINT8 mNumberOfRadioInterfacesInUse;
7123
7124 // This array must be the size specified by mNumberOfRadioInterfacesInUse
7125 // eQMINASRadioInterfaces mRadioInterface[1];
7126 };
7127
7128 // Structure to describe indication TLV 0x10 for NAS ServingSystemIndication
7129 struct sNASServingSystemIndication_RoamingIndicator
7130 {
7131 eQMINASRoamingIndicators mRoamingIndicator;
7132 };
7133
7134 // Structure to describe indication TLV 0x11 for NAS ServingSystemIndication
7135 struct sNASServingSystemIndication_DataServices
7136 {
7137 UINT8 mNumberOfDataCapabilities;
7138
7139 // This array must be the size specified by mNumberOfDataCapabilities
7140 // eQMINASDataServiceCapabilities2 mDataCapability[1];
7141 };
7142
7143 // Structure to describe indication TLV 0x12 for NAS ServingSystemIndication
7144 struct sNASServingSystemIndication_CurrentPLMN
7145 {
7146 UINT16 mMobileCountryCode;
7147 UINT16 mMobileNetworkCode;
7148 UINT8 mDescriptionLength;
7149
7150 // This array must be the size specified by mDescriptionLength
7151 // char mDescription[1];
7152 };
7153
7154 // Structure to describe indication TLV 0x13 for NAS ServingSystemIndication
7155 struct sNASServingSystemIndication_SystemID
7156 {
7157 UINT16 mSystemID;
7158 UINT16 mNetworkID;
7159 };
7160
7161 // Structure to describe indication TLV 0x14 for NAS ServingSystemIndication
7162 struct sNASServingSystemIndication_BaseStation
7163 {
7164 UINT16 mBaseStationID;
7165 INT32 mLatitude;
7166 INT32 mLongitude;
7167 };
7168
7169 // Structure to describe indication TLV 0x15 for NAS ServingSystemIndication
7170 struct sNASServingSystemIndication_RoamingList
7171 {
7172 UINT8 mNumberOfInstances;
7173
7174 struct sInstance
7175 {
7176 eQMINASRadioInterfaces mRadioInterface;
7177 eQMINASRoamingIndicators mRoamingIndicator;
7178 };
7179
7180 // This array must be the size specified by mNumberOfInstances
7181 // sInstance mInstances[1];
7182 };
7183
7184 // Structure to describe indication TLV 0x16 for NAS ServingSystemIndication
7185 struct sNASServingSystemIndication_DefaultRoaming
7186 {
7187 eQMINASRoamingIndicators mRoamingIndicator;
7188 };
7189
7190 // Structure to describe indication TLV 0x17 for NAS ServingSystemIndication
7191 struct sNASServingSystemIndication_TimeZone
7192 {
7193 UINT8 mLeapSeconds;
7194 INT8 mLocalTimeOffset;
7195 INT8 mDaylightSavingsInEffect;
7196 };
7197
7198 // Structure to describe indication TLV 0x18 for NAS ServingSystemIndication
7199 struct sNASServingSystemIndication_ProtocolRevision
7200 {
7201 eQMINASRevision mProtocolRevision;
7202 };
7203
7204 // Structure to describe indication TLV 0x19 for NAS ServingSystemIndication
7205 struct sNASServingSystemIndication_PLMNChange
7206 {
7207 INT8 mPLMNChanged;
7208 };
7209
7210 // Structure to describe indication TLV 0x1A for NAS ServingSystemIndication
7211 struct sNASServingSystemIndication_3GPPTimeZone
7212 {
7213 INT8 m3GPPTimeZone;
7214 };
7215
7216 // Structure to describe indication TLV 0x1B for NAS ServingSystemIndication
7217 struct sNASServingSystemIndication_3GPPDaylightSavingAdjustment
7218 {
7219 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
7220 };
7221
7222 // Structure to describe indication TLV 0x1C for NAS ServingSystemIndication
7223 struct sNASServingSystemIndication_3GPPUniversalTimeAndZone
7224 {
7225 UINT16 mYear;
7226 UINT8 mMonth;
7227 UINT8 mDay;
7228 UINT8 mHour;
7229 UINT8 mMinute;
7230 UINT8 mSecond;
7231 INT8 mTimeZoneOffset;
7232 };
7233
7234 // Structure to describe indication TLV 0x1D for NAS ServingSystemIndication
7235 struct sNASServingSystemIndication_3GPPLocationAreaCode
7236 {
7237 UINT16 mLocationAreaCode;
7238 };
7239
7240 // Structure to describe indication TLV 0x1E for NAS ServingSystemIndication
7241 struct sNASServingSystemIndication_3GPPCellID
7242 {
7243 UINT32 mCellID;
7244 };
7245
7246 // Structure to describe indication TLV 0x1F for NAS ServingSystemIndication
7247 struct sNASServingSystemIndication_3GPP2ConcurrentService
7248 {
7249 eQMINASConcurrentService mConcurrentService;
7250 };
7251
7252 // Structure to describe indication TLV 0x20 for NAS ServingSystemIndication
7253 struct sNASServingSystemIndication_3GPP2PRLIndicator
7254 {
7255 eQMINASPRLIndicator mPRLIndicator;
7256 };
7257
7258 // Structure to describe indication TLV 0x21 for NAS ServingSystemIndication
7259 struct sNASServingSystemIndication_DualTransferModeIndication
7260 {
7261 eQMINASDualTransferMode mDualTransferMode;
7262 };
7263
7264 // Structure to describe indication TLV 0x22 for NAS ServingSystemIndication
7265 struct sNASServingSystemIndication_DetailedServiceInformation
7266 {
7267 eQMINASServiceStatus mServiceStatus;
7268 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
7269 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
7270 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
7271 eQMINASSystemForbidden mSystemForbidden;
7272 };
7273
7274 // Structure to describe indication TLV 0x23 for NAS ServingSystemIndication
7275 struct sNASServingSystemIndication_CDMASystemInformation
7276 {
7277 UINT16 mMobileCountryCode;
7278 UINT8 mIMSI_11_12;
7279 };
7280
7281 // Structure to describe indication TLV 0x24 for NAS ServingSystemIndication
7282 struct sNASServingSystemIndication_CDMA1xEVDOPersonality
7283 {
7284 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
7285 };
7286
7287 // Structure to describe indication TLV 0x25 for NAS ServingSystemIndication
7288 struct sNASServingSystemIndication_TrackingAreaCode
7289 {
7290 UINT16 mTrackingAreaCode;
7291 };
7292
7293 // Structure to describe indication TLV 0x26 for NAS ServingSystemIndication
7294 struct sNASServingSystemIndication_CallBarring
7295 {
7296 eQMINASCallBarringStatus mCSCallBarringStatus;
7297 eQMINASCallBarringStatus mPSCallBarringStatus;
7298 };
7299
7300 // Structure to describe indication TLV 0x27 for NAS ServingSystemIndication
7301 struct sNASServingSystemIndication_PLMNChangeStatus
7302 {
7303 INT8 mNoPLMNChange;
7304 };
7305
7306 // Structure to describe indication TLV 0x28 for NAS ServingSystemIndication
7307 struct sNASServingSystemIndication_UMTSPSC
7308 {
7309 UINT16 mPrimaryScramblingCode;
7310 };
7311
7312 // Structure to describe indication TLV 0x29 for NAS ServingSystemIndication
7313 struct sNASServingSystemIndication_PCSInfo
7314 {
7315 UINT16 mMobileCountryCode;
7316 UINT16 mMobileNetworkCode;
7317 INT8 mMNCIncludesPCSDigit;
7318 };
7319
7320 // Structure to describe indication TLV 0x2A for NAS ServingSystemIndication
7321 struct sNASServingSystemIndication_HSCallStatus
7322 {
7323 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
7324 };
7325
7326 // Structure to describe response TLV 0x01 for NASGetHomeNetwork()
7327 struct sNASGetHomeNetworkResponse_HomeNetwork
7328 {
7329 UINT16 mMobileCountryCode;
7330 UINT16 mMobileNetworkCode;
7331 UINT8 mDescriptionLength;
7332
7333 // This array must be the size specified by mDescriptionLength
7334 // char mDescription[1];
7335 };
7336
7337 // Structure to describe response TLV 0x10 for NASGetHomeNetwork()
7338 struct sNASGetHomeNetworkResponse_HomeIDs
7339 {
7340 UINT16 mSystemID;
7341 UINT16 mNetworkID;
7342 };
7343
7344 // Structure to describe response TLV 0x11 for NASGetHomeNetwork()
7345 struct sNASGetHomeNetworkResponse_ExtendedHomeNetwork
7346 {
7347 UINT16 mMobileCountryCode;
7348 UINT16 mMobileNetworkCode;
7349 eQMINASNetworkDescriptionDisplays mDisplayNetworkDescription;
7350 eQMINASNetworkDescriptionEncodings mNetworkDescriptionEncoding;
7351 UINT8 mNetworkDescriptionLength;
7352
7353 // This array must be the size specified by mNetworkDescriptionLength
7354 // UINT8 mNetworkDescription[1];
7355 };
7356
7357 // Structure to describe response TLV 0x10 for NASGetPreferredNetworks()
7358 struct sNASGetPreferredNetworksResponse_Networks
7359 {
7360 UINT16 mNumberOfPreferredNetworks;
7361
7362 struct sNetwork
7363 {
7364 UINT16 mMobileCountryCode;
7365 UINT16 mMobileNetworkCode;
7366
7367 // Padding out 6 bits
7368 UINT8 mReserved1:6;
7369
7370 bool mGSMCompact:1;
7371 bool mGSM:1;
7372
7373 // Padding out 6 bits
7374 UINT8 mReserved2:6;
7375
7376 bool mLTE:1;
7377 bool mUMTS:1;
7378 };
7379
7380 // This array must be the size specified by mNumberOfPreferredNetworks
7381 // sNetwork mNetworks[1];
7382 };
7383
7384 // Structure to describe response TLV 0x11 for NASGetPreferredNetworks()
7385 struct sNASGetPreferredNetworksResponse_StaticNetworks
7386 {
7387 UINT16 mNumberOfPreferredNetworks;
7388
7389 struct sNetwork
7390 {
7391 UINT16 mMobileCountryCode;
7392 UINT16 mMobileNetworkCode;
7393
7394 // Padding out 6 bits
7395 UINT8 mReserved1:6;
7396
7397 bool mGSMCompact:1;
7398 bool mGSM:1;
7399
7400 // Padding out 6 bits
7401 UINT8 mReserved2:6;
7402
7403 bool mLTE:1;
7404 bool mUMTS:1;
7405 };
7406
7407 // This array must be the size specified by mNumberOfPreferredNetworks
7408 // sNetwork mNetworks[1];
7409 };
7410
7411 // Structure to describe request TLV 0x10 for NASSetPreferredNetworks()
7412 struct sNASSetPreferredNetworksRequest_Networks
7413 {
7414 UINT16 mNumberOfPreferredNetworks;
7415
7416 struct sNetwork
7417 {
7418 UINT16 mMobileCountryCode;
7419 UINT16 mMobileNetworkCode;
7420
7421 // Padding out 6 bits
7422 UINT8 mReserved1:6;
7423
7424 bool mGSMCompact:1;
7425 bool mGSM:1;
7426
7427 // Padding out 6 bits
7428 UINT8 mReserved2:6;
7429
7430 bool mLTE:1;
7431 bool mUMTS:1;
7432 };
7433
7434 // This array must be the size specified by mNumberOfPreferredNetworks
7435 // sNetwork mNetworks[1];
7436 };
7437
7438 // Structure to describe response TLV 0x10 for NASGetForbiddenNetworks()
7439 struct sNASGetForbiddenNetworksResponse_Networks
7440 {
7441 UINT16 mNumberOfForbiddenNetworks;
7442
7443 struct sNetwork
7444 {
7445 UINT16 mMobileCountryCode;
7446 UINT16 mMobileNetworkCode;
7447 };
7448
7449 // This array must be the size specified by mNumberOfForbiddenNetworks
7450 // sNetwork mNetworks[1];
7451 };
7452
7453 // Structure to describe request TLV 0x10 for NASSetForbiddenNetworks()
7454 struct sNASSetForbiddenNetworksRequest_Networks
7455 {
7456 UINT16 mNumberOfForbiddenNetworks;
7457
7458 struct sNetwork
7459 {
7460 UINT16 mMobileCountryCode;
7461 UINT16 mMobileNetworkCode;
7462 };
7463
7464 // This array must be the size specified by mNumberOfForbiddenNetworks
7465 // sNetwork mNetworks[1];
7466 };
7467
7468 // Structure to describe request TLV 0x01 for NASSetTechnologyPreference()
7469 struct sNASSetTechnologyPreferenceRequest_Preference
7470 {
7471 // mTechnology must be the first two bits of a UINT8
7472 // whose remaining bits are described in the optional
7473 // structs following.
7474
7475 // The following union is based on the value of mTechnology
7476 union uValOfTechnology
7477 {
7478 // Always present
7479 eQMINASTechPrefs mTechnology:2;
7480
7481 // If the value of mTechnology == 1
7482 struct sTechnologyIs1
7483 {
7484 // Padding out 2 bits
7485 UINT8 mReserved1:2;
7486
7487 UINT8 mAnalog:1;
7488 UINT8 mDigital:1;
7489 UINT8 mEVDO:1;
7490 UINT8 mLTE:1;
7491
7492 // Padding out 2 bits
7493 UINT8 mReserved2:2;
7494 };
7495
7496 sTechnologyIs1 mTechnologyIs1;
7497
7498 // If the value of mTechnology == 2
7499 struct sTechnologyIs2
7500 {
7501 // Padding out 2 bits
7502 UINT8 mReserved3:2;
7503
7504 UINT8 mGSM:1;
7505 UINT8 mWCDMA:1;
7506 UINT8 mEVDO:1;
7507 UINT8 mLTE:1;
7508
7509 // Padding out 2 bits
7510 UINT8 mReserved4:2;
7511 };
7512
7513 sTechnologyIs2 mTechnologyIs2;
7514
7515 // Padding out 8 bits
7516 UINT8 mReserved5;
7517 };
7518
7519 uValOfTechnology mValOfTechnology;
7520
7521 // Padding out 8 bits
7522 UINT8 mReserved6;
7523
7524 eQMINASTechPrefDurations mDuration;
7525 };
7526
7527 // Structure to describe response TLV 0x01 for NASGetTechnologyPreference()
7528 struct sNASGetTechnologyPreferenceResponse_ActivePreference
7529 {
7530 // mTechnology must be the first two bits of a UINT8
7531 // whose remaining bits are described in the optional
7532 // structs following.
7533
7534 // The following union is based on the value of mTechnology
7535 union uValOfTechnology
7536 {
7537 // Always present
7538 eQMINASTechPrefs mTechnology:2;
7539
7540 // If the value of mTechnology == 1
7541 struct sTechnologyIs1
7542 {
7543 // Padding out 2 bits
7544 UINT8 mReserved1:2;
7545
7546 UINT8 mAnalog:1;
7547 UINT8 mDigital:1;
7548 UINT8 mEVDO:1;
7549 UINT8 mLTE:1;
7550
7551 // Padding out 2 bits
7552 UINT8 mReserved2:2;
7553 };
7554
7555 sTechnologyIs1 mTechnologyIs1;
7556
7557 // If the value of mTechnology == 2
7558 struct sTechnologyIs2
7559 {
7560 // Padding out 2 bits
7561 UINT8 mReserved3:2;
7562
7563 UINT8 mGSM:1;
7564 UINT8 mWCDMA:1;
7565 UINT8 mEVDO:1;
7566 UINT8 mLTE:1;
7567
7568 // Padding out 2 bits
7569 UINT8 mReserved4:2;
7570 };
7571
7572 sTechnologyIs2 mTechnologyIs2;
7573
7574 // Padding out 8 bits
7575 UINT8 mReserved5;
7576 };
7577
7578 uValOfTechnology mValOfTechnology;
7579
7580 // Padding out 8 bits
7581 UINT8 mReserved6;
7582
7583 eQMINASTechPrefDurations mDuration;
7584 };
7585
7586 // Structure to describe response TLV 0x10 for NASGetTechnologyPreference()
7587 struct sNASGetTechnologyPreferenceResponse_PersistentPreference
7588 {
7589 // mTechnology must be the first two bits of a UINT8
7590 // whose remaining bits are described in the optional
7591 // structs following.
7592
7593 // The following union is based on the value of mTechnology
7594 union uValOfTechnology
7595 {
7596 // Always present
7597 eQMINASTechPrefs mTechnology:2;
7598
7599 // If the value of mTechnology == 1
7600 struct sTechnologyIs1
7601 {
7602 // Padding out 2 bits
7603 UINT8 mReserved1:2;
7604
7605 UINT8 mAnalog:1;
7606 UINT8 mDigital:1;
7607 UINT8 mEVDO:1;
7608 UINT8 mLTE:1;
7609
7610 // Padding out 2 bits
7611 UINT8 mReserved2:2;
7612 };
7613
7614 sTechnologyIs1 mTechnologyIs1;
7615
7616 // If the value of mTechnology == 2
7617 struct sTechnologyIs2
7618 {
7619 // Padding out 2 bits
7620 UINT8 mReserved3:2;
7621
7622 UINT8 mGSM:1;
7623 UINT8 mWCDMA:1;
7624 UINT8 mEVDO:1;
7625 UINT8 mLTE:1;
7626
7627 // Padding out 2 bits
7628 UINT8 mReserved4:2;
7629 };
7630
7631 sTechnologyIs2 mTechnologyIs2;
7632
7633 // Padding out 8 bits
7634 UINT8 mReserved5;
7635 };
7636
7637 uValOfTechnology mValOfTechnology;
7638
7639 // Padding out 8 bits
7640 UINT8 mReserved6;
7641 };
7642
7643 // Structure to describe response TLV 0x01 for NASGetACCOLC()
7644 struct sNASGetACCOLCResponse_ACCOLC
7645 {
7646 UINT8 mACCOLC;
7647 };
7648
7649 // Structure to describe request TLV 0x01 for NASSetACCOLC()
7650 struct sNASSetACCOLCRequest_ACCOLC
7651 {
7652 char mSPC[6];
7653 UINT8 mACCOLC;
7654 };
7655
7656 // Structure to describe indication TLV 0x01 for NAS GetSystemPreference
7657 struct sNASGetSystemPreferenceIndication_Pref
7658 {
7659 eQMINASSystemPreferences mSystemPreference;
7660 };
7661
7662 // Structure to describe response TLV 0x11 for NASGetNetworkParameters()
7663 struct sNASGetNetworkParametersResponse_SCI
7664 {
7665 UINT8 mSlotCycleIndex;
7666 };
7667
7668 // Structure to describe response TLV 0x12 for NASGetNetworkParameters()
7669 struct sNASGetNetworkParametersResponse_SCM
7670 {
7671 UINT8 mStationClassMark;
7672 };
7673
7674 // Structure to describe response TLV 0x13 for NASGetNetworkParameters()
7675 struct sNASGetNetworkParametersResponse_Registration
7676 {
7677 INT8 mRegisterOnHomeSystem;
7678 INT8 mRegisterOnForeignSystem;
7679 INT8 mRegisterOnForeignNetwork;
7680 };
7681
7682 // Structure to describe response TLV 0x14 for NASGetNetworkParameters()
7683 struct sNASGetNetworkParametersResponse_CDMA1xEVDORevision
7684 {
7685 INT8 mForceCDMA1xEVDORev0;
7686 };
7687
7688 // Structure to describe response TLV 0x15 for NASGetNetworkParameters()
7689 struct sNASGetNetworkParametersResponse_CDMA1xEVDOSCPCustom
7690 {
7691 INT8 mCDMA1xEVDOSCPCustomConfig;
7692 bool mSubtype2PhysicalLayer:1;
7693 bool mEnhancedCCMAC:1;
7694 bool mEnhancedACMAC:1;
7695 bool mEnhancedFTCMAC:1;
7696 bool mSubtype3RTCMAC:1;
7697 bool mSubtype1RTCMAC:1;
7698 bool mEnhancedIdle:1;
7699 bool mGenericMultimodeCapableDiscPort:1;
7700
7701 // Padding out 24 bits
7702 UINT8 mReserved1[3];
7703
7704 bool mGenericBroadcast:1;
7705
7706 // Padding out 31 bits
7707 UINT8 mReserved2:7;
7708 UINT8 mReserved3[3];
7709
7710 bool mSNMultiflowPacketApplication:1;
7711 bool mSNEnhancedMultiflowPacketApplication:1;
7712
7713 // Padding out 30 bits
7714 UINT8 mReserved4:6;
7715 UINT8 mReserved5[3];
7716 };
7717
7718 // Structure to describe response TLV 0x16 for NASGetNetworkParameters()
7719 struct sNASGetNetworkParametersResponse_Roaming
7720 {
7721 eQMINASRoamingPreferences mRoamPreference;
7722 };
7723
7724 // Structure to describe response TLV 0x17 for NASGetNetworkParameters()
7725 struct sNASGetNetworkParametersResponse_ForceCDMA1xEVDOSCP
7726 {
7727 eQMINASForceCDMA1xEVDOSCP mForceCDMA1xEVDOSCP;
7728 };
7729
7730 // Structure to describe request TLV 0x10 for NASSetNetworkParameters()
7731 struct sNASSetNetworkParametersRequest_SPC
7732 {
7733 char mSPC[6];
7734 };
7735
7736 // Structure to describe request TLV 0x14 for NASSetNetworkParameters()
7737 struct sNASSetNetworkParametersRequest_CDMA1xEVDORevision
7738 {
7739 INT8 mForceCDMA1xEVDORev0;
7740 };
7741
7742 // Structure to describe request TLV 0x15 for NASSetNetworkParameters()
7743 struct sNASSetNetworkParametersRequest_CDMA1xEVDOSCPCustom
7744 {
7745 INT8 mCDMA1xEVDOSCPCustomConfig;
7746 bool mSubtype2PhysicalLayer:1;
7747 bool mEnhancedCCMAC:1;
7748 bool mEnhancedACMAC:1;
7749 bool mEnhancedFTCMAC:1;
7750 bool mSubtype3RTCMAC:1;
7751 bool mSubtype1RTCMAC:1;
7752 bool mEnhancedIdle:1;
7753 bool mGenericMultimodeCapableDiscPort:1;
7754
7755 // Padding out 24 bits
7756 UINT8 mReserved1[3];
7757
7758 bool mGenericBroadcast:1;
7759
7760 // Padding out 31 bits
7761 UINT8 mReserved2:7;
7762 UINT8 mReserved3[3];
7763
7764 bool mSNMultiflowPacketApplication:1;
7765 bool mSNEnhancedMultiflowPacketApplication:1;
7766
7767 // Padding out 30 bits
7768 UINT8 mReserved4:6;
7769 UINT8 mReserved5[3];
7770 };
7771
7772 // Structure to describe request TLV 0x16 for NASSetNetworkParameters()
7773 struct sNASSetNetworkParametersRequest_Roaming
7774 {
7775 eQMINASRoamingPreferences mRoamPreference;
7776 };
7777
7778 // Structure to describe response TLV 0x01 for NASGetRFInfo()
7779 struct sNASGetRFInfoResponse_RFInfo
7780 {
7781 UINT8 mNumberOfInstances;
7782
7783 struct sInstance
7784 {
7785 eQMINASRadioInterfaces mRadioInterface;
7786 eQMINASBandClasses mActiveBandClass;
7787 UINT16 mActiveChannel;
7788 };
7789
7790 // This array must be the size specified by mNumberOfInstances
7791 // sInstance mInstances[1];
7792 };
7793
7794 // Structure to describe response TLV 0x01 for NASGetANAAAAuthenticationStatus()
7795 struct sNASGetANAAAAuthenticationStatusResponse_Status
7796 {
7797 eQMINASANAAAAuthenticationStatus mANAAAAuthenticationStatus;
7798 };
7799
7800 // Structure to describe request TLV 0x10 for NASSetSystemSelectionPref()
7801 struct sNASSetSystemSelectionPrefRequest_EmergencyMode
7802 {
7803 INT8 mEmergencyModeOn;
7804 };
7805
7806 // Structure to describe request TLV 0x11 for NASSetSystemSelectionPref()
7807 struct sNASSetSystemSelectionPrefRequest_Mode
7808 {
7809 bool mCDMA1x:1;
7810 bool mCDMA1xEVDO:1;
7811 bool mGSM:1;
7812 bool mUMTS:1;
7813 bool mLTE:1;
7814 bool mTDSCDMA:1;
7815
7816 // Padding out 10 bits
7817 UINT8 mReserved1:2;
7818 UINT8 mReserved2;
7819 };
7820
7821 // Structure to describe request TLV 0x12 for NASSetSystemSelectionPref()
7822 struct sNASSetSystemSelectionPrefRequest_Band
7823 {
7824 bool mBandClass0ASystem:1;
7825 bool mBandClass0BSystem:1;
7826 bool mBandClass1:1;
7827 bool mBandClass2:1;
7828 bool mBandClass3ASystem:1;
7829 bool mBandClass4:1;
7830 bool mBandClass5:1;
7831 bool mGSMDCS:1;
7832 bool mGSMPrimary:1;
7833 bool mGSMExtended:1;
7834 bool mBandClass6:1;
7835 bool mBandClass7:1;
7836 bool mBandClass8:1;
7837 bool mBandClass9:1;
7838 bool mBandClass10:1;
7839 bool mBandClass11:1;
7840 bool mGSM450:1;
7841 bool mGSM480:1;
7842 bool mGSM750:1;
7843 bool mGSM850:1;
7844 bool mGSMRailways:1;
7845 bool mGSMPCS:1;
7846 bool mWCDMA2100I:1;
7847 bool mWCDMAPCS1900:1;
7848 bool mWCDMADCS1800:1;
7849 bool mWCDMA1700US:1;
7850 bool mWCDMA850:1;
7851 bool mWCDMA800:1;
7852 bool mBandClass12:1;
7853 bool mBandClass14:1;
7854
7855 // Padding out 1 bits
7856 UINT8 mReserved1:1;
7857
7858 bool mBandClass15:1;
7859
7860 // Padding out 16 bits
7861 UINT8 mReserved2[2];
7862
7863 bool mWCDMA2600:1;
7864 bool mWCDMA900:1;
7865 bool mWCDMA1700Japan:1;
7866
7867 // Padding out 5 bits
7868 UINT8 mReserved3:5;
7869
7870 bool mBandClass16:1;
7871 bool mBandClass17:1;
7872 bool mBandClass18:1;
7873 bool mBandClass19:1;
7874
7875 // Padding out 4 bits
7876 UINT8 mReserved4:4;
7877 };
7878
7879 // Structure to describe request TLV 0x13 for NASSetSystemSelectionPref()
7880 struct sNASSetSystemSelectionPrefRequest_PRL
7881 {
7882 eQMINASPRLPreferences mPRLPreference;
7883 };
7884
7885 // Structure to describe request TLV 0x14 for NASSetSystemSelectionPref()
7886 struct sNASSetSystemSelectionPrefRequest_Roaming
7887 {
7888 eQMINASRoamingPreferences2 mRoamingPreference;
7889 };
7890
7891 // Structure to describe request TLV 0x15 for NASSetSystemSelectionPref()
7892 struct sNASSetSystemSelectionPrefRequest_LTEBand
7893 {
7894 bool mEUTRABand1:1;
7895 bool mEUTRABand2:1;
7896 bool mEUTRABand3:1;
7897 bool mEUTRABand4:1;
7898 bool mEUTRABand5:1;
7899 bool mEUTRABand6:1;
7900 bool mEUTRABand7:1;
7901 bool mEUTRABand8:1;
7902 bool mEUTRABand9:1;
7903 bool mEUTRABand10:1;
7904 bool mEUTRABand11:1;
7905 bool mEUTRABand12:1;
7906 bool mEUTRABand13:1;
7907 bool mEUTRABand14:1;
7908
7909 // Padding out 2 bits
7910 UINT8 mReserved1:2;
7911
7912 bool mEUTRABand17:1;
7913 bool mEUTRABand18:1;
7914 bool mEUTRABand19:1;
7915 bool mEUTRABand20:1;
7916 bool mEUTRABand21:1;
7917
7918 // Padding out 2 bits
7919 UINT8 mReserved2:2;
7920
7921 bool mEUTRABand24:1;
7922 bool mEUTRABand25:1;
7923
7924 // Padding out 7 bits
7925 UINT8 mReserved3:7;
7926
7927 bool mEUTRABand33:1;
7928 bool mEUTRABand34:1;
7929 bool mEUTRABand35:1;
7930 bool mEUTRABand36:1;
7931 bool mEUTRABand37:1;
7932 bool mEUTRABand38:1;
7933 bool mEUTRABand39:1;
7934 bool mEUTRABand40:1;
7935 bool mEUTRABand41:1;
7936 bool mEUTRABand42:1;
7937 bool mEUTRABand43:1;
7938
7939 // Padding out 21 bits
7940 UINT8 mReserved4:5;
7941 UINT8 mReserved5[2];
7942 };
7943
7944 // Structure to describe request TLV 0x16 for NASSetSystemSelectionPref()
7945 struct sNASSetSystemSelectionPrefRequest_NetworkSelection
7946 {
7947 eQMINASNetworkSelection mNetworkSelection;
7948 UINT16 mMobileCountryCode;
7949 UINT16 mMobileNetworkCode;
7950 };
7951
7952 // Structure to describe request TLV 0x17 for NASSetSystemSelectionPref()
7953 struct sNASSetSystemSelectionPrefRequest_ChangeDuration
7954 {
7955 eQMINASChangeDuration mChangeDuration;
7956 };
7957
7958 // Structure to describe request TLV 0x18 for NASSetSystemSelectionPref()
7959 struct sNASSetSystemSelectionPrefRequest_ServiceDomain
7960 {
7961 eQMINASServiceDomainPrefs mServiceDomainPreference;
7962 };
7963
7964 // Structure to describe request TLV 0x19 for NASSetSystemSelectionPref()
7965 struct sNASSetSystemSelectionPrefRequest_GWAcquisitionOrder
7966 {
7967 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
7968 };
7969
7970 // Structure to describe request TLV 0x1A for NASSetSystemSelectionPref()
7971 struct sNASSetSystemSelectionPrefRequest_PCSInfo
7972 {
7973 INT8 mMNCIncludesPCSDigit;
7974 };
7975
7976 // Structure to describe request TLV 0x1B for NASSetSystemSelectionPref()
7977 struct sNASSetSystemSelectionPrefRequest_Domain
7978 {
7979 eQMINASServiceDomainPrefs mServiceDomainPreference;
7980 };
7981
7982 // Structure to describe request TLV 0x1C for NASSetSystemSelectionPref()
7983 struct sNASSetSystemSelectionPrefRequest_Acquisition
7984 {
7985 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
7986 };
7987
7988 // Structure to describe request TLV 0x1D for NASSetSystemSelectionPref()
7989 struct sNASSetSystemSelectionPrefRequest_TDSCDMABand
7990 {
7991 bool mTDSCDMABandA:1;
7992 bool mTDSCDMABandB:1;
7993 bool mTDSCDMABandC:1;
7994 bool mTDSCDMABandD:1;
7995 bool mTDSCDMABandE:1;
7996 bool mTDSCDMABandF:1;
7997
7998 // Padding out 58 bits
7999 UINT8 mReserved1:2;
8000 UINT8 mReserved2[7];
8001 };
8002
8003 // Structure to describe request TLV 0x1E for NASSetSystemSelectionPref()
8004 struct sNASSetSystemSelectionPrefRequest_AcquisitionOrder
8005 {
8006 UINT8 mNumberOfRadioInterfaces;
8007
8008 // This array must be the size specified by mNumberOfRadioInterfaces
8009 // eQMINASRadioInterfaces mRadioInterface[1];
8010 };
8011
8012 // Structure to describe request TLV 0x1F for NASSetSystemSelectionPref()
8013 struct sNASSetSystemSelectionPrefRequest_RegistrationRestriction
8014 {
8015 eQMINASRegistrationRestrictions mRegistrationRestriction;
8016 };
8017
8018 // Structure to describe response TLV 0x10 for NASGetSystemSelectionPref()
8019 struct sNASGetSystemSelectionPrefResponse_EmergencyMode
8020 {
8021 INT8 mEmergencyModeOn;
8022 };
8023
8024 // Structure to describe response TLV 0x11 for NASGetSystemSelectionPref()
8025 struct sNASGetSystemSelectionPrefResponse_Mode
8026 {
8027 bool mCDMA1x:1;
8028 bool mCDMA1xEVDO:1;
8029 bool mGSM:1;
8030 bool mUMTS:1;
8031 bool mLTE:1;
8032 bool mTDSCDMA:1;
8033
8034 // Padding out 10 bits
8035 UINT8 mReserved1:2;
8036 UINT8 mReserved2;
8037 };
8038
8039 // Structure to describe response TLV 0x12 for NASGetSystemSelectionPref()
8040 struct sNASGetSystemSelectionPrefResponse_Band
8041 {
8042 bool mBandClass0ASystem:1;
8043 bool mBandClass0BSystem:1;
8044 bool mBandClass1:1;
8045 bool mBandClass2:1;
8046 bool mBandClass3ASystem:1;
8047 bool mBandClass4:1;
8048 bool mBandClass5:1;
8049 bool mGSMDCS:1;
8050 bool mGSMPrimary:1;
8051 bool mGSMExtended:1;
8052 bool mBandClass6:1;
8053 bool mBandClass7:1;
8054 bool mBandClass8:1;
8055 bool mBandClass9:1;
8056 bool mBandClass10:1;
8057 bool mBandClass11:1;
8058 bool mGSM450:1;
8059 bool mGSM480:1;
8060 bool mGSM750:1;
8061 bool mGSM850:1;
8062 bool mGSMRailways:1;
8063 bool mGSMPCS:1;
8064 bool mWCDMA2100I:1;
8065 bool mWCDMAPCS1900:1;
8066 bool mWCDMADCS1800:1;
8067 bool mWCDMA1700US:1;
8068 bool mWCDMA850:1;
8069 bool mWCDMA800:1;
8070 bool mBandClass12:1;
8071 bool mBandClass14:1;
8072
8073 // Padding out 1 bits
8074 UINT8 mReserved1:1;
8075
8076 bool mBandClass15:1;
8077
8078 // Padding out 16 bits
8079 UINT8 mReserved2[2];
8080
8081 bool mWCDMA2600:1;
8082 bool mWCDMA900:1;
8083 bool mWCDMA1700Japan:1;
8084
8085 // Padding out 5 bits
8086 UINT8 mReserved3:5;
8087
8088 bool mBandClass16:1;
8089 bool mBandClass17:1;
8090 bool mBandClass18:1;
8091 bool mBandClass19:1;
8092
8093 // Padding out 4 bits
8094 UINT8 mReserved4:4;
8095 };
8096
8097 // Structure to describe response TLV 0x13 for NASGetSystemSelectionPref()
8098 struct sNASGetSystemSelectionPrefResponse_PRL
8099 {
8100 eQMINASPRLPreferences mPRLPreference;
8101 };
8102
8103 // Structure to describe response TLV 0x14 for NASGetSystemSelectionPref()
8104 struct sNASGetSystemSelectionPrefResponse_Roaming
8105 {
8106 eQMINASRoamingPreferences2 mRoamingPreference;
8107 };
8108
8109 // Structure to describe response TLV 0x15 for NASGetSystemSelectionPref()
8110 struct sNASGetSystemSelectionPrefResponse_LTEBand
8111 {
8112 bool mEUTRABand1:1;
8113 bool mEUTRABand2:1;
8114 bool mEUTRABand3:1;
8115 bool mEUTRABand4:1;
8116 bool mEUTRABand5:1;
8117 bool mEUTRABand6:1;
8118 bool mEUTRABand7:1;
8119 bool mEUTRABand8:1;
8120 bool mEUTRABand9:1;
8121 bool mEUTRABand10:1;
8122 bool mEUTRABand11:1;
8123 bool mEUTRABand12:1;
8124 bool mEUTRABand13:1;
8125 bool mEUTRABand14:1;
8126
8127 // Padding out 2 bits
8128 UINT8 mReserved1:2;
8129
8130 bool mEUTRABand17:1;
8131 bool mEUTRABand18:1;
8132 bool mEUTRABand19:1;
8133 bool mEUTRABand20:1;
8134 bool mEUTRABand21:1;
8135
8136 // Padding out 2 bits
8137 UINT8 mReserved2:2;
8138
8139 bool mEUTRABand24:1;
8140 bool mEUTRABand25:1;
8141
8142 // Padding out 7 bits
8143 UINT8 mReserved3:7;
8144
8145 bool mEUTRABand33:1;
8146 bool mEUTRABand34:1;
8147 bool mEUTRABand35:1;
8148 bool mEUTRABand36:1;
8149 bool mEUTRABand37:1;
8150 bool mEUTRABand38:1;
8151 bool mEUTRABand39:1;
8152 bool mEUTRABand40:1;
8153 bool mEUTRABand41:1;
8154 bool mEUTRABand42:1;
8155 bool mEUTRABand43:1;
8156
8157 // Padding out 21 bits
8158 UINT8 mReserved4:5;
8159 UINT8 mReserved5[2];
8160 };
8161
8162 // Structure to describe response TLV 0x16 for NASGetSystemSelectionPref()
8163 struct sNASGetSystemSelectionPrefResponse_NetworkSelection
8164 {
8165 eQMINASNetworkSelection mNetworkSelection;
8166 };
8167
8168 // Structure to describe response TLV 0x18 for NASGetSystemSelectionPref()
8169 struct sNASGetSystemSelectionPrefResponse_Domain
8170 {
8171 eQMINASServiceDomainPrefs mServiceDomainPreference;
8172 };
8173
8174 // Structure to describe response TLV 0x19 for NASGetSystemSelectionPref()
8175 struct sNASGetSystemSelectionPrefResponse_Acquisition
8176 {
8177 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8178 };
8179
8180 // Structure to describe response TLV 0x1A for NASGetSystemSelectionPref()
8181 struct sNASGetSystemSelectionPrefResponse_TDSCDMABand
8182 {
8183 bool mTDSCDMABandA:1;
8184 bool mTDSCDMABandB:1;
8185 bool mTDSCDMABandC:1;
8186 bool mTDSCDMABandD:1;
8187 bool mTDSCDMABandE:1;
8188 bool mTDSCDMABandF:1;
8189
8190 // Padding out 58 bits
8191 UINT8 mReserved1:2;
8192 UINT8 mReserved2[7];
8193 };
8194
8195 // Structure to describe response TLV 0x1B for NASGetSystemSelectionPref()
8196 struct sNASGetSystemSelectionPrefResponse_ManualPLMN
8197 {
8198 UINT16 mMobileCountryCode;
8199 UINT16 mMobileNetworkCode;
8200 INT8 mMNCIncludesPCSDigit;
8201 };
8202
8203 // Structure to describe response TLV 0x1C for NASGetSystemSelectionPref()
8204 struct sNASGetSystemSelectionPrefResponse_AcquisitionOrder
8205 {
8206 UINT8 mNumberOfRadioInterfaces;
8207
8208 // This array must be the size specified by mNumberOfRadioInterfaces
8209 // eQMINASRadioInterfaces mRadioInterface[1];
8210 };
8211
8212 // Structure to describe response TLV 0x1D for NASGetSystemSelectionPref()
8213 struct sNASGetSystemSelectionPrefResponse_RegistrationRestriction
8214 {
8215 eQMINASRegistrationRestrictions mRegistrationRestriction;
8216 };
8217
8218 // Structure to describe indication TLV 0x10 for NAS SystemSelectionPrefIndication
8219 struct sNASSystemSelectionPrefIndication_EmergencyMode
8220 {
8221 INT8 mEmergencyModeOn;
8222 };
8223
8224 // Structure to describe indication TLV 0x11 for NAS SystemSelectionPrefIndication
8225 struct sNASSystemSelectionPrefIndication_Mode
8226 {
8227 bool mCDMA1x:1;
8228 bool mCDMA1xEVDO:1;
8229 bool mGSM:1;
8230 bool mUMTS:1;
8231 bool mLTE:1;
8232 bool mTDSCDMA:1;
8233
8234 // Padding out 10 bits
8235 UINT8 mReserved1:2;
8236 UINT8 mReserved2;
8237 };
8238
8239 // Structure to describe indication TLV 0x12 for NAS SystemSelectionPrefIndication
8240 struct sNASSystemSelectionPrefIndication_Band
8241 {
8242 bool mBandClass0ASystem:1;
8243 bool mBandClass0BSystem:1;
8244 bool mBandClass1:1;
8245 bool mBandClass2:1;
8246 bool mBandClass3ASystem:1;
8247 bool mBandClass4:1;
8248 bool mBandClass5:1;
8249 bool mGSMDCS:1;
8250 bool mGSMPrimary:1;
8251 bool mGSMExtended:1;
8252 bool mBandClass6:1;
8253 bool mBandClass7:1;
8254 bool mBandClass8:1;
8255 bool mBandClass9:1;
8256 bool mBandClass10:1;
8257 bool mBandClass11:1;
8258 bool mGSM450:1;
8259 bool mGSM480:1;
8260 bool mGSM750:1;
8261 bool mGSM850:1;
8262 bool mGSMRailways:1;
8263 bool mGSMPCS:1;
8264 bool mWCDMA2100I:1;
8265 bool mWCDMAPCS1900:1;
8266 bool mWCDMADCS1800:1;
8267 bool mWCDMA1700US:1;
8268 bool mWCDMA850:1;
8269 bool mWCDMA800:1;
8270 bool mBandClass12:1;
8271 bool mBandClass14:1;
8272
8273 // Padding out 1 bits
8274 UINT8 mReserved1:1;
8275
8276 bool mBandClass15:1;
8277
8278 // Padding out 16 bits
8279 UINT8 mReserved2[2];
8280
8281 bool mWCDMA2600:1;
8282 bool mWCDMA900:1;
8283 bool mWCDMA1700Japan:1;
8284
8285 // Padding out 5 bits
8286 UINT8 mReserved3:5;
8287
8288 bool mBandClass16:1;
8289 bool mBandClass17:1;
8290 bool mBandClass18:1;
8291 bool mBandClass19:1;
8292
8293 // Padding out 4 bits
8294 UINT8 mReserved4:4;
8295 };
8296
8297 // Structure to describe indication TLV 0x13 for NAS SystemSelectionPrefIndication
8298 struct sNASSystemSelectionPrefIndication_PRL
8299 {
8300 eQMINASPRLPreferences mPRLPreference;
8301 };
8302
8303 // Structure to describe indication TLV 0x14 for NAS SystemSelectionPrefIndication
8304 struct sNASSystemSelectionPrefIndication_Roaming
8305 {
8306 eQMINASRoamingPreferences2 mRoamingPreference;
8307 };
8308
8309 // Structure to describe indication TLV 0x15 for NAS SystemSelectionPrefIndication
8310 struct sNASSystemSelectionPrefIndication_LTEBand
8311 {
8312 bool mEUTRABand1:1;
8313 bool mEUTRABand2:1;
8314 bool mEUTRABand3:1;
8315 bool mEUTRABand4:1;
8316 bool mEUTRABand5:1;
8317 bool mEUTRABand6:1;
8318 bool mEUTRABand7:1;
8319 bool mEUTRABand8:1;
8320 bool mEUTRABand9:1;
8321 bool mEUTRABand10:1;
8322 bool mEUTRABand11:1;
8323 bool mEUTRABand12:1;
8324 bool mEUTRABand13:1;
8325 bool mEUTRABand14:1;
8326
8327 // Padding out 2 bits
8328 UINT8 mReserved1:2;
8329
8330 bool mEUTRABand17:1;
8331 bool mEUTRABand18:1;
8332 bool mEUTRABand19:1;
8333 bool mEUTRABand20:1;
8334 bool mEUTRABand21:1;
8335
8336 // Padding out 2 bits
8337 UINT8 mReserved2:2;
8338
8339 bool mEUTRABand24:1;
8340 bool mEUTRABand25:1;
8341
8342 // Padding out 7 bits
8343 UINT8 mReserved3:7;
8344
8345 bool mEUTRABand33:1;
8346 bool mEUTRABand34:1;
8347 bool mEUTRABand35:1;
8348 bool mEUTRABand36:1;
8349 bool mEUTRABand37:1;
8350 bool mEUTRABand38:1;
8351 bool mEUTRABand39:1;
8352 bool mEUTRABand40:1;
8353 bool mEUTRABand41:1;
8354 bool mEUTRABand42:1;
8355 bool mEUTRABand43:1;
8356
8357 // Padding out 21 bits
8358 UINT8 mReserved4:5;
8359 UINT8 mReserved5[2];
8360 };
8361
8362 // Structure to describe indication TLV 0x16 for NAS SystemSelectionPrefIndication
8363 struct sNASSystemSelectionPrefIndication_NetworkSelection
8364 {
8365 eQMINASNetworkSelection mNetworkSelection;
8366 };
8367
8368 // Structure to describe indication TLV 0x18 for NAS SystemSelectionPrefIndication
8369 struct sNASSystemSelectionPrefIndication_Domain
8370 {
8371 eQMINASServiceDomainPrefs mServiceDomainPreference;
8372 };
8373
8374 // Structure to describe indication TLV 0x19 for NAS SystemSelectionPrefIndication
8375 struct sNASSystemSelectionPrefIndication_Acquisition
8376 {
8377 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8378 };
8379
8380 // Structure to describe indication TLV 0x1A for NAS SystemSelectionPrefIndication
8381 struct sNASSystemSelectionPrefIndication_TDSCDMABand
8382 {
8383 bool mTDSCDMABandA:1;
8384 bool mTDSCDMABandB:1;
8385 bool mTDSCDMABandC:1;
8386 bool mTDSCDMABandD:1;
8387 bool mTDSCDMABandE:1;
8388 bool mTDSCDMABandF:1;
8389
8390 // Padding out 58 bits
8391 UINT8 mReserved1:2;
8392 UINT8 mReserved2[7];
8393 };
8394
8395 // Structure to describe indication TLV 0x1B for NAS SystemSelectionPrefIndication
8396 struct sNASSystemSelectionPrefIndication_ManualPLMN
8397 {
8398 UINT16 mMobileCountryCode;
8399 UINT16 mMobileNetworkCode;
8400 INT8 mMNCIncludesPCSDigit;
8401 };
8402
8403 // Structure to describe indication TLV 0x1C for NAS SystemSelectionPrefIndication
8404 struct sNASSystemSelectionPrefIndication_AcquisitionOrder
8405 {
8406 UINT8 mNumberOfRadioInterfaces;
8407
8408 // This array must be the size specified by mNumberOfRadioInterfaces
8409 // eQMINASRadioInterfaces mRadioInterface[1];
8410 };
8411
8412 // Structure to describe indication TLV 0x1D for NAS SystemSelectionPrefIndication
8413 struct sNASSystemSelectionPrefIndication_RegistrationRestriction
8414 {
8415 eQMINASRegistrationRestrictions mRegistrationRestriction;
8416 };
8417
8418 // Structure to describe request TLV 0x01 for NASSetDDTMPreference()
8419 struct sNASSetDDTMPreferenceRequest_DDTM
8420 {
8421 eQMINASDDTMPreferences mDDTMPreference;
8422 bool mSuppressL2ACK:1;
8423 bool mSuppress1xRegistrations:1;
8424 bool mIgnoreServiceOptionPages:1;
8425 bool mBlockMobileOriginatedSMSAndDBM:1;
8426
8427 // Padding out 12 bits
8428 UINT8 mReserved1:4;
8429 UINT8 mReserved2;
8430
8431 eQMINASServiceOptionActions mServiceOptionAction;
8432 UINT8 mNumberOfInstances;
8433
8434 // This array must be the size specified by mNumberOfInstances
8435 // UINT16 mServiceOption[1];
8436 };
8437
8438 // Structure to describe response TLV 0x01 for NASGetDDTMPreference()
8439 struct sNASGetDDTMPreferenceResponse_DDTM
8440 {
8441 eQMINASDDTMPreferences mDDTMPreference;
8442 bool mSuppressL2ACK:1;
8443 bool mSuppress1xRegistrations:1;
8444 bool mIgnoreServiceOptionPages:1;
8445 bool mBlockMobileOriginatedSMSAndDBM:1;
8446
8447 // Padding out 12 bits
8448 UINT8 mReserved1:4;
8449 UINT8 mReserved2;
8450
8451 eQMINASServiceOptionActions mServiceOptionAction;
8452 UINT8 mNumberOfInstances;
8453
8454 // This array must be the size specified by mNumberOfInstances
8455 // UINT16 mServiceOption[1];
8456 };
8457
8458 // Structure to describe indication TLV 0x01 for NAS DDTMPreferenceIndication
8459 struct sNASDDTMPreferenceIndication_DDTM
8460 {
8461 eQMINASDDTMPreferences mDDTMPreference;
8462 bool mSuppressL2ACK:1;
8463 bool mSuppress1xRegistrations:1;
8464 bool mIgnoreServiceOptionPages:1;
8465 bool mBlockMobileOriginatedSMSAndDBM:1;
8466
8467 // Padding out 12 bits
8468 UINT8 mReserved1:4;
8469 UINT8 mReserved2;
8470
8471 eQMINASServiceOptionActions mServiceOptionAction;
8472 UINT8 mNumberOfInstances;
8473
8474 // This array must be the size specified by mNumberOfInstances
8475 // UINT16 mServiceOption[1];
8476 };
8477
8478 // Structure to describe response TLV 0x10 for NASGetOperatorNameData()
8479 struct sNASGetOperatorNameDataResponse_ServiceProviderName
8480 {
8481 UINT8 mDisplayCondition;
8482 UINT8 mSPNLength;
8483
8484 // This array must be the size specified by mSPNLength
8485 // UINT8 mSPN[1];
8486 };
8487
8488 // Structure to describe response TLV 0x11 for NASGetOperatorNameData()
8489 struct sNASGetOperatorNameDataResponse_OperatorPLMNList
8490 {
8491 UINT16 mPLMNListLength;
8492
8493 struct sPLNM
8494 {
8495 char mMobileCountryCode[3];
8496 char mMobileNetworkCode[3];
8497 UINT16 mLocationAreaCode1;
8498 UINT16 mLocationAreaCode2;
8499 UINT8 mPLMNNameRecordIdentifier;
8500 };
8501
8502 // This array must be the size specified by mPLMNListLength
8503 // sPLNM mPLNMs[1];
8504 };
8505
8506 // Structure to describe response TLV 0x12 for NASGetOperatorNameData()
8507 struct sNASGetOperatorNameDataResponse_PLMNName
8508 {
8509 UINT8 mPLMNCount;
8510
8511 struct sPLMNName1
8512 {
8513 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8514 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8515 eQMINASPLMNNameSpareBits mPLMNLongBits;
8516 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8517 UINT8 mPLMNLongLength;
8518
8519 // This array must be the size specified by mPLMNLongLength
8520 // UINT8 mPLMNLong[1];
8521 };
8522
8523 struct sPLMNName2
8524 {
8525 UINT8 mPLMNShortLength;
8526
8527 // This array must be the size specified by mPLMNShortLength
8528 // UINT8 mPLMNShort[1];
8529 };
8530
8531 struct sPLMNName
8532 {
8533 sPLMNName1 mPLMNName1;
8534 sPLMNName2 mPLMNName2;
8535 };
8536
8537 // This array must be the size specified by mPLMNCount
8538 // sPLMNName mPLMNNames[1];
8539 };
8540
8541 // Structure to describe response TLV 0x13 for NASGetOperatorNameData()
8542 struct sNASGetOperatorNameDataResponse_OperatorStringName
8543 {
8544 // String is variable length, but must be size of the container
8545 // char mPLMNOperatorName[1];
8546 };
8547
8548 // Structure to describe response TLV 0x14 for NASGetOperatorNameData()
8549 struct sNASGetOperatorNameDataResponse_NITZInformation1
8550 {
8551 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8552 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8553 eQMINASPLMNNameSpareBits mPLMNLongBits;
8554 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8555 UINT8 mPLMNLongLength;
8556
8557 // This array must be the size specified by mPLMNLongLength
8558 // UINT8 mPLMNLong[1];
8559 };
8560
8561 struct sNASGetOperatorNameDataResponse_NITZInformation2
8562 {
8563 UINT8 mPLMNShortLength;
8564
8565 // This array must be the size specified by mPLMNShortLength
8566 // UINT8 mPLMNShort[1];
8567 };
8568
8569 struct sNASGetOperatorNameDataResponse_NITZInformation
8570 {
8571 sNASGetOperatorNameDataResponse_NITZInformation1 mNASGetOperatorNameDataResponse_NITZInformation1;
8572 sNASGetOperatorNameDataResponse_NITZInformation2 mNASGetOperatorNameDataResponse_NITZInformation2;
8573 };
8574
8575 // Structure to describe indication TLV 0x10 for NAS OperatorNameDataIndication
8576 struct sNASOperatorNameDataIndication_ServiceProviderName
8577 {
8578 UINT8 mDisplayCondition;
8579 UINT8 mSPNLength;
8580
8581 // This array must be the size specified by mSPNLength
8582 // UINT8 mSPN[1];
8583 };
8584
8585 // Structure to describe indication TLV 0x11 for NAS OperatorNameDataIndication
8586 struct sNASOperatorNameDataIndication_OperatorPLMNList
8587 {
8588 UINT16 mPLMNListLength;
8589
8590 struct sPLNM
8591 {
8592 char mMobileCountryCode[3];
8593 char mMobileNetworkCode[3];
8594 UINT16 mLocationAreaCode1;
8595 UINT16 mLocationAreaCode2;
8596 UINT8 mPLMNNameRecordIdentifier;
8597 };
8598
8599 // This array must be the size specified by mPLMNListLength
8600 // sPLNM mPLNMs[1];
8601 };
8602
8603 // Structure to describe indication TLV 0x12 for NAS OperatorNameDataIndication
8604 struct sNASOperatorNameDataIndication_PLMNName
8605 {
8606 UINT8 mPLMNCount;
8607
8608 struct sPLMNName1
8609 {
8610 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8611 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8612 eQMINASPLMNNameSpareBits mPLMNLongBits;
8613 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8614 UINT8 mPLMNLongLength;
8615
8616 // This array must be the size specified by mPLMNLongLength
8617 // UINT8 mPLMNLong[1];
8618 };
8619
8620 struct sPLMNName2
8621 {
8622 UINT8 mPLMNShortLength;
8623
8624 // This array must be the size specified by mPLMNShortLength
8625 // UINT8 mPLMNShort[1];
8626 };
8627
8628 struct sPLMNName
8629 {
8630 sPLMNName1 mPLMNName1;
8631 sPLMNName2 mPLMNName2;
8632 };
8633
8634 // This array must be the size specified by mPLMNCount
8635 // sPLMNName mPLMNNames[1];
8636 };
8637
8638 // Structure to describe indication TLV 0x13 for NAS OperatorNameDataIndication
8639 struct sNASOperatorNameDataIndication_OperatorStringName
8640 {
8641 // String is variable length, but must be size of the container
8642 // char mPLMNOperatorName[1];
8643 };
8644
8645 // Structure to describe indication TLV 0x14 for NAS OperatorNameDataIndication
8646 struct sNASOperatorNameDataIndication_NITZInformation1
8647 {
8648 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8649 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8650 eQMINASPLMNNameSpareBits mPLMNLongBits;
8651 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8652 UINT8 mPLMNLongLength;
8653
8654 // This array must be the size specified by mPLMNLongLength
8655 // UINT8 mPLMNLong[1];
8656 };
8657
8658 struct sNASOperatorNameDataIndication_NITZInformation2
8659 {
8660 UINT8 mPLMNShortLength;
8661
8662 // This array must be the size specified by mPLMNShortLength
8663 // UINT8 mPLMNShort[1];
8664 };
8665
8666 struct sNASOperatorNameDataIndication_NITZInformation
8667 {
8668 sNASOperatorNameDataIndication_NITZInformation1 mNASOperatorNameDataIndication_NITZInformation1;
8669 sNASOperatorNameDataIndication_NITZInformation2 mNASOperatorNameDataIndication_NITZInformation2;
8670 };
8671
8672 // Structure to describe response TLV 0x10 for NASGetCSPPLMNMode()
8673 struct sNASGetCSPPLMNModeResponse_Mode
8674 {
8675 INT8 mRestrictManualPLMNSelection;
8676 };
8677
8678 // Structure to describe indication TLV 0x10 for NAS CSPPLMNModeIndication
8679 struct sNASCSPPLMNModeIndication_Mode
8680 {
8681 INT8 mRestrictManualPLMNSelection;
8682 };
8683
8684 // Structure to describe request TLV 0x01 for NASUpdateAKEY()
8685 struct sNASUpdateAKEYRequest_AKEY
8686 {
8687 char mAKEY[26];
8688 };
8689
8690 // Structure to describe request TLV 0x01 for NASGet3GPP2SubscriptionInfo()
8691 struct sNASGet3GPP2SubscriptionInfoRequest_NAMID
8692 {
8693 UINT8 mNAMID;
8694 };
8695
8696 // Structure to describe request TLV 0x10 for NASGet3GPP2SubscriptionInfo()
8697 struct sNASGet3GPP2SubscriptionInfoRequest_InfoMask
8698 {
8699 bool mNAMName:1;
8700 bool mDirectoryNumber:1;
8701 bool mHomeID:1;
8702 bool mMINBasedIMSI:1;
8703 bool mTrueIMSI:1;
8704 bool mCDMAChannel:1;
8705 bool mMobileDirectoryNumber:1;
8706
8707 // Padding out 25 bits
8708 UINT8 mReserved1:1;
8709 UINT8 mReserved2[3];
8710 };
8711
8712 // Structure to describe response TLV 0x10 for NASGet3GPP2SubscriptionInfo()
8713 struct sNASGet3GPP2SubscriptionInfoResponse_NAMName
8714 {
8715 UINT8 mNAMNameLength;
8716
8717 // This array must be the size specified by mNAMNameLength
8718 // char mNAMName[1];
8719 };
8720
8721 // Structure to describe response TLV 0x11 for NASGet3GPP2SubscriptionInfo()
8722 struct sNASGet3GPP2SubscriptionInfoResponse_DirectoryNumber
8723 {
8724 UINT8 mDirectoryNumberLength;
8725
8726 // This array must be the size specified by mDirectoryNumberLength
8727 // char mDirectoryNumber[1];
8728 };
8729
8730 // Structure to describe response TLV 0x12 for NASGet3GPP2SubscriptionInfo()
8731 struct sNASGet3GPP2SubscriptionInfoResponse_HomeID
8732 {
8733 UINT8 mHomeIDCount;
8734
8735 struct sHomeID
8736 {
8737 UINT16 mSystemID;
8738 UINT16 mNetworkID;
8739 };
8740
8741 // This array must be the size specified by mHomeIDCount
8742 // sHomeID mHomeIDs[1];
8743 };
8744
8745 // Structure to describe response TLV 0x13 for NASGet3GPP2SubscriptionInfo()
8746 struct sNASGet3GPP2SubscriptionInfoResponse_MINBasedIMSI
8747 {
8748 char mMobileCountryCode[3];
8749 char mIMSI11_12[2];
8750 char mIMSIS1[7];
8751 char mIMSIS2[3];
8752 UINT8 mIMSIAddressNumber;
8753 };
8754
8755 // Structure to describe response TLV 0x14 for NASGet3GPP2SubscriptionInfo()
8756 struct sNASGet3GPP2SubscriptionInfoResponse_TrueIMSI
8757 {
8758 char mMobileCountryCode[3];
8759 char mIMSI11_12[2];
8760 char mIMSIS1[7];
8761 char mIMSIS2[3];
8762 UINT8 mIMSIAddressNumber;
8763 };
8764
8765 // Structure to describe response TLV 0x15 for NASGet3GPP2SubscriptionInfo()
8766 struct sNASGet3GPP2SubscriptionInfoResponse_CDMAChannel
8767 {
8768 UINT16 mAChannelForPrimaryCarrier;
8769 UINT16 mBChannelForPrimaryCarrier;
8770 UINT16 mAChannelForSecondaryCarrier;
8771 UINT16 mBChannelForSecondaryCarrier;
8772 };
8773
8774 // Structure to describe response TLV 0x16 for NASGet3GPP2SubscriptionInfo()
8775 struct sNASGet3GPP2SubscriptionInfoResponse_MDN
8776 {
8777 UINT8 mMobileDirectoryNumberLength;
8778
8779 // This array must be the size specified by mMobileDirectoryNumberLength
8780 // char mMobileDirectoryNumber[1];
8781 };
8782
8783 // Structure to describe request TLV 0x01 for NASSet3GPP2SubscriptionInfo()
8784 struct sNASSet3GPP2SubscriptionInfoRequest_NAMID
8785 {
8786 UINT8 mNAMID;
8787 };
8788
8789 // Structure to describe request TLV 0x10 for NASSet3GPP2SubscriptionInfo()
8790 struct sNASSet3GPP2SubscriptionInfoRequest_DirectoryNumber
8791 {
8792 UINT8 mDirectoryNumberLength;
8793
8794 // This array must be the size specified by mDirectoryNumberLength
8795 // char mDirectoryNumber[1];
8796 };
8797
8798 // Structure to describe request TLV 0x11 for NASSet3GPP2SubscriptionInfo()
8799 struct sNASSet3GPP2SubscriptionInfoRequest_HomeID
8800 {
8801 UINT8 mHomeIDCount;
8802
8803 struct sHomeID
8804 {
8805 UINT16 mSystemID;
8806 UINT16 mNetworkID;
8807 };
8808
8809 // This array must be the size specified by mHomeIDCount
8810 // sHomeID mHomeIDs[1];
8811 };
8812
8813 // Structure to describe request TLV 0x12 for NASSet3GPP2SubscriptionInfo()
8814 struct sNASSet3GPP2SubscriptionInfoRequest_MINBasedIMSI
8815 {
8816 char mMobileCountryCode[3];
8817 char mIMSI11_12[2];
8818 char mIMSIS1[7];
8819 char mIMSIS2[3];
8820 UINT8 mIMSIAddressNumber;
8821 };
8822
8823 // Structure to describe request TLV 0x13 for NASSet3GPP2SubscriptionInfo()
8824 struct sNASSet3GPP2SubscriptionInfoRequest_TrueIMSI
8825 {
8826 char mMobileCountryCode[3];
8827 char mIMSI11_12[2];
8828 char mIMSIS1[7];
8829 char mIMSIS2[3];
8830 UINT8 mIMSIAddressNumber;
8831 };
8832
8833 // Structure to describe request TLV 0x14 for NASSet3GPP2SubscriptionInfo()
8834 struct sNASSet3GPP2SubscriptionInfoRequest_CDMAChannel
8835 {
8836 UINT16 mAChannelForPrimaryCarrier;
8837 UINT16 mBChannelForPrimaryCarrier;
8838 UINT16 mAChannelForSecondaryCarrier;
8839 UINT16 mBChannelForSecondaryCarrier;
8840 };
8841
8842 // Structure to describe request TLV 0x15 for NASSet3GPP2SubscriptionInfo()
8843 struct sNASSet3GPP2SubscriptionInfoRequest_NAMName
8844 {
8845 UINT8 mNAMNameLength;
8846
8847 // This array must be the size specified by mNAMNameLength
8848 // char mNAMName[1];
8849 };
8850
8851 // Structure to describe request TLV 0x16 for NASSet3GPP2SubscriptionInfo()
8852 struct sNASSet3GPP2SubscriptionInfoRequest_MDN
8853 {
8854 UINT8 mMobileDirectoryNumberLength;
8855
8856 // This array must be the size specified by mMobileDirectoryNumberLength
8857 // char mMobileDirectoryNumber[1];
8858 };
8859
8860 // Structure to describe response TLV 0x10 for NASGetMobileCAIRevision()
8861 struct sNASGetMobileCAIRevisionResponse_CAIRevision
8862 {
8863 eQMINASRevision mCAIRevision;
8864 };
8865
8866 // Structure to describe response TLV 0x10 for NASGetRTREConfig()
8867 struct sNASGetRTREConfigResponse_CurrentRTREConfig
8868 {
8869 eQMINASRTREConfiguration mRTREConfiguration;
8870 };
8871
8872 // Structure to describe response TLV 0x11 for NASGetRTREConfig()
8873 struct sNASGetRTREConfigResponse_RTREConfigPreference
8874 {
8875 eQMINASRTREConfiguration mRTREConfiguration;
8876 };
8877
8878 // Structure to describe request TLV 0x01 for NASSetRTREConfig()
8879 struct sNASSetRTREConfigRequest_RTREConfig
8880 {
8881 eQMINASRTREConfiguration mRTREConfiguration;
8882 };
8883
8884 // Structure to describe response TLV 0x10 for NASGetCellLocationInfo()
8885 struct sNASGetCellLocationInfoResponse_GERANInfo
8886 {
8887 UINT32 mCellID;
8888
8889 // Bitfield arrays are not possible in c, unrolling the array
8890 UINT8 mMobileCountryCode0:4;
8891 UINT8 mMobileCountryCode1:4;
8892 UINT8 mMobileCountryCode2:4;
8893
8894 // Bitfield arrays are not possible in c, unrolling the array
8895 UINT8 mMobileNetworkCode0:4;
8896 UINT8 mMobileNetworkCode1:4;
8897 UINT8 mMobileNetworkCode2:4;
8898
8899 UINT16 mLocationAreaCode;
8900 UINT16 mUTRAAbsoluteRFChannelNumber;
8901 UINT8 mBCC:3;
8902 UINT8 mNCC:3;
8903
8904 // Padding out 2 bits
8905 UINT8 mReserved1:2;
8906
8907 UINT32 mTimingAdvance;
8908 eQMINASRXLevel mRXLevel;
8909 UINT8 mNMRCellCount;
8910
8911 struct sNMRCell
8912 {
8913 UINT32 mCellID;
8914
8915 // Bitfield arrays are not possible in c, unrolling the array
8916 UINT8 mPLMNMobileCountryCode0:4;
8917 UINT8 mPLMNMobileCountryCode1:4;
8918 UINT8 mPLMNMobileCountryCode2:4;
8919
8920 // Bitfield arrays are not possible in c, unrolling the array
8921 UINT8 mPLMNMobileNetworkCode0:4;
8922 UINT8 mPLMNMobileNetworkCode1:4;
8923 UINT8 mPLMNMobileNetworkCode2:4;
8924
8925 UINT16 mLocationAreaCode;
8926 UINT16 mUTRAAbsoluteRFChannelNumber;
8927 UINT8 mBaseStationIdentityCodeBCC:3;
8928 UINT8 mBaseStationIdentityCodeNCC:3;
8929
8930 // Padding out 2 bits
8931 UINT8 mReserved2:2;
8932
8933 eQMINASRXLevel mRXLevel;
8934 };
8935
8936 // This array must be the size specified by mNMRCellCount
8937 // sNMRCell mNMRCells[1];
8938 };
8939
8940 // Structure to describe response TLV 0x11 for NASGetCellLocationInfo()
8941 struct sNASGetCellLocationInfoResponse_UMTSInfo1
8942 {
8943 UINT32 mCellID;
8944
8945 // Bitfield arrays are not possible in c, unrolling the array
8946 UINT8 mMobileCountryCode0:4;
8947 UINT8 mMobileCountryCode1:4;
8948 UINT8 mMobileCountryCode2:4;
8949
8950 // Bitfield arrays are not possible in c, unrolling the array
8951 UINT8 mMobileNetworkCode0:4;
8952 UINT8 mMobileNetworkCode1:4;
8953 UINT8 mMobileNetworkCode2:4;
8954
8955 UINT16 mLocationAreaCode;
8956 UINT16 mUTRAAbsoluteRFChannelNumber;
8957 UINT16 mPrimaryScramblingCode;
8958 INT16 mReceivedSignalCodePower;
8959 UINT16 mECIO;
8960 UINT8 mUTRAUMTSMonitoredCellCount;
8961
8962 struct sUMTSMonitoredCell
8963 {
8964 UINT16 mUTRAAbsoluteRFChannelNumber;
8965 UINT16 mPrimaryScramblingCode;
8966 INT16 mReceivedSignalCodePower;
8967 UINT16 mECIO;
8968 };
8969
8970 // This array must be the size specified by mUTRAUMTSMonitoredCellCount
8971 // sUMTSMonitoredCell mUMTSMonitoredCells[1];
8972 };
8973
8974 struct sNASGetCellLocationInfoResponse_UMTSInfo2
8975 {
8976 UINT8 mGERANNBRCellCount;
8977
8978 struct sGERANNBRCell
8979 {
8980 UINT16 mAbsoluteRFChannelNumber;
8981 UINT8 mNetworkColorCode;
8982 UINT8 mBaseStationColorCode;
8983 INT16 mRSSI;
8984 };
8985
8986 // This array must be the size specified by mGERANNBRCellCount
8987 // sGERANNBRCell mGERANNBRCells[1];
8988 };
8989
8990 struct sNASGetCellLocationInfoResponse_UMTSInfo
8991 {
8992 sNASGetCellLocationInfoResponse_UMTSInfo1 mNASGetCellLocationInfoResponse_UMTSInfo1;
8993 sNASGetCellLocationInfoResponse_UMTSInfo2 mNASGetCellLocationInfoResponse_UMTSInfo2;
8994 };
8995
8996 // Structure to describe response TLV 0x12 for NASGetCellLocationInfo()
8997 struct sNASGetCellLocationInfoResponse_CDMAInfo
8998 {
8999 UINT16 mSystemID;
9000 UINT16 mNetworkID;
9001 UINT16 mBaseStationID;
9002 UINT16 mReferencePN;
9003 INT32 mLatitude;
9004 INT32 mLongitude;
9005 };
9006
9007 // Structure to describe response TLV 0x13 for NASGetCellLocationInfo()
9008 struct sNASGetCellLocationInfoResponse_IntrafrequencyLTEInfo
9009 {
9010 INT8 mUEInIdleMode;
9011
9012 // Bitfield arrays are not possible in c, unrolling the array
9013 UINT8 mMobileCountryCode0:4;
9014 UINT8 mMobileCountryCode1:4;
9015 UINT8 mMobileCountryCode2:4;
9016
9017 // Bitfield arrays are not possible in c, unrolling the array
9018 UINT8 mMobileNetworkCode0:4;
9019 UINT8 mMobileNetworkCode1:4;
9020 UINT8 mMobileNetworkCode2:4;
9021
9022 UINT16 mTrackingAreaCode;
9023 UINT32 mGlobalCellID;
9024 UINT16 mEUTRAAbsoluteRFChannelNumber;
9025 UINT16 mServingCellID;
9026 UINT8 mCellReselectionPriority;
9027 UINT8 mSNonIntraSearchThreshold;
9028 UINT8 mServingCellLowThreshold;
9029 UINT8 mSIntraSearchThreshold;
9030 UINT8 mCellCount;
9031
9032 struct sCell
9033 {
9034 UINT16 mPhysicalCellID;
9035 INT16 mRSRQ;
9036 INT16 mRSRP;
9037 INT16 mRSSI;
9038 INT16 mCellSelectionRXLevel;
9039 };
9040
9041 // This array must be the size specified by mCellCount
9042 // sCell mCells[1];
9043 };
9044
9045 // Structure to describe response TLV 0x14 for NASGetCellLocationInfo()
9046 struct sNASGetCellLocationInfoResponse_InterfrequencyLTEInfo
9047 {
9048 INT8 mUEInIdleMode;
9049 UINT8 mFrequencyCount;
9050
9051 struct sFrequency
9052 {
9053 UINT16 mEUTRAAbsoluteRFChannelNumber;
9054 UINT8 mCellSelectionRXLevelLowThreshold;
9055 UINT8 mCellSelectionRXLevelHighThreshold;
9056 UINT8 mCellReselectionPriority;
9057 UINT8 mCellCount;
9058
9059 struct sCell
9060 {
9061 UINT16 mPhysicalCellID;
9062 INT16 mRSRQ;
9063 INT16 mRSRP;
9064 INT16 mRSSI;
9065 INT16 mCellSelectionRXLevel;
9066 };
9067
9068 // This array must be the size specified by mCellCount
9069 // sCell mCells[1];
9070 };
9071
9072 // This array must be the size specified by mFrequencyCount
9073 // sFrequency mFrequencys[1];
9074 };
9075
9076 // Structure to describe response TLV 0x15 for NASGetCellLocationInfo()
9077 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringGSM
9078 {
9079 INT8 mUEInIdleMode;
9080 UINT8 mFrequencyCount;
9081
9082 struct sFrequency
9083 {
9084 UINT8 mCellReselectionPriority;
9085 UINT8 mCellReselectionHighThreshold;
9086 UINT8 mCellReselectionLowThreshold;
9087
9088 // Bitfield arrays are not possible in c, unrolling the array
9089 bool mNCCPermitted0:1;
9090 bool mNCCPermitted1:1;
9091 bool mNCCPermitted2:1;
9092 bool mNCCPermitted3:1;
9093 bool mNCCPermitted4:1;
9094 bool mNCCPermitted5:1;
9095 bool mNCCPermitted6:1;
9096 bool mNCCPermitted7:1;
9097
9098 UINT8 mCellCount;
9099
9100 struct sCell
9101 {
9102 UINT16 mAbsoluteRFChannelNumber;
9103 INT8 mBandIs1900;
9104 INT8 mCellIDValid;
9105 UINT8 mBCC:3;
9106 UINT8 mNCC:3;
9107
9108 // Padding out 2 bits
9109 UINT8 mReserved1:2;
9110
9111 INT16 mRSSI;
9112 INT16 mCellSelectionRXLevel;
9113 };
9114
9115 // This array must be the size specified by mCellCount
9116 // sCell mCells[1];
9117 };
9118
9119 // This array must be the size specified by mFrequencyCount
9120 // sFrequency mFrequencys[1];
9121 };
9122
9123 // Structure to describe response TLV 0x16 for NASGetCellLocationInfo()
9124 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringWCDMA
9125 {
9126 INT8 mUEInIdleMode;
9127 UINT8 mFrequencyCount;
9128
9129 struct sFrequency
9130 {
9131 UINT16 mUTRAAbsoluteRFChannelNumber;
9132 UINT8 mCellReselectionPriority;
9133 UINT8 mCellReselectionHighThreshold;
9134 UINT8 mCellReselectionLowThreshold;
9135 UINT8 mCellCount;
9136
9137 struct sCell
9138 {
9139 UINT16 mPrimaryScramblingCode;
9140 INT16 mCPICHRSCP;
9141 INT16 mCPICHEcNo;
9142 INT16 mCellSelectionRXLevel;
9143 };
9144
9145 // This array must be the size specified by mCellCount
9146 // sCell mCells[1];
9147 };
9148
9149 // This array must be the size specified by mFrequencyCount
9150 // sFrequency mFrequencys[1];
9151 };
9152
9153 // Structure to describe response TLV 0x17 for NASGetCellLocationInfo()
9154 struct sNASGetCellLocationInfoResponse_UMTSCellID
9155 {
9156 UINT32 mCellID;
9157 };
9158
9159 // Structure to describe request TLV 0x01 for NASGetPLMNName()
9160 struct sNASGetPLMNNameRequest_PLMN
9161 {
9162 UINT16 mMobileCountryCode;
9163 UINT16 mMobileNetworkCode;
9164 };
9165
9166 // Structure to describe request TLV 0x10 for NASGetPLMNName()
9167 struct sNASGetPLMNNameRequest_SupressSIMError
9168 {
9169 INT8 mSIMInitNotChecked;
9170 };
9171
9172 // Structure to describe request TLV 0x11 for NASGetPLMNName()
9173 struct sNASGetPLMNNameRequest_MNCPCSDigitIncludeStatus
9174 {
9175 INT8 mMNCIncludesPCSDigit;
9176 };
9177
9178 // Structure to describe request TLV 0x12 for NASGetPLMNName()
9179 struct sNASGetPLMNNameRequest_AlwaysSendPLMNName
9180 {
9181 INT8 mAlwaysSendPLMNName;
9182 };
9183
9184 // Structure to describe request TLV 0x13 for NASGetPLMNName()
9185 struct sNASGetPLMNNameRequest_UseStaticTableOnly
9186 {
9187 INT8 mUseStaticTableOnly;
9188 };
9189
9190 // Structure to describe response TLV 0x10 for NASGetPLMNName()
9191 struct sNASGetPLMNNameResponse_Name1
9192 {
9193 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
9194 UINT8 mSPNLength;
9195
9196 // This array must be the size specified by mSPNLength
9197 // UINT8 mSPN[1];
9198 };
9199
9200 struct sNASGetPLMNNameResponse_Name2
9201 {
9202 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
9203 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
9204 eQMINASPLMNNameSpareBits mPLMNSpareBits;
9205 UINT8 mPLMNShortLength;
9206
9207 // This array must be the size specified by mPLMNShortLength
9208 // UINT8 mPLMNShort[1];
9209 };
9210
9211 struct sNASGetPLMNNameResponse_Name3
9212 {
9213 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
9214 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
9215 eQMINASPLMNNameSpareBits mPLMNLongBits;
9216 UINT8 mPLMNLongLength;
9217
9218 // This array must be the size specified by mPLMNLongLength
9219 // UINT8 mPLMNLong[1];
9220 };
9221
9222 struct sNASGetPLMNNameResponse_Name
9223 {
9224 sNASGetPLMNNameResponse_Name1 mNASGetPLMNNameResponse_Name1;
9225 sNASGetPLMNNameResponse_Name2 mNASGetPLMNNameResponse_Name2;
9226 sNASGetPLMNNameResponse_Name3 mNASGetPLMNNameResponse_Name3;
9227 };
9228
9229 // Structure to describe request TLV 0x01 for NASBindSubscription()
9230 struct sNASBindSubscriptionRequest_SubscriptionType
9231 {
9232 eQMINASSubscriptionType mSubscriptionType;
9233 };
9234
9235 // Structure to describe indication TLV 0x10 for NAS ManagedRoamingIndication
9236 struct sNASManagedRoamingIndication_RadioInterface
9237 {
9238 eQMINASRadioInterfaces mRadioInterface;
9239 };
9240
9241 // Structure to describe indication TLV 0x10 for NAS DualStandbyPrefIndication
9242 struct sNASDualStandbyPrefIndication_StandbyPreference
9243 {
9244 eQMINASStandbyPreference mStandbyPreference;
9245 eQMINASSubscriptionType mPrioritySubscription;
9246 eQMINASSubscriptionType mActiveSubscription;
9247 eQMINASSubscriptionType mDefaultDataSubscription;
9248 };
9249
9250 // Structure to describe indication TLV 0x10 for NAS SubscriptionInfoIndication
9251 struct sNASSubscriptionInfoIndication_PrioritySubscriptionInfo
9252 {
9253 eQMINASSubscriptionType mSubscriptionType;
9254 };
9255
9256 // Structure to describe indication TLV 0x11 for NAS SubscriptionInfoIndication
9257 struct sNASSubscriptionInfoIndication_ActiveSubscriptionInfo
9258 {
9259 eQMINASActiveSubscription mActiveSubscription;
9260 };
9261
9262 // Structure to describe indication TLV 0x12 for NAS SubscriptionInfoIndication
9263 struct sNASSubscriptionInfoIndication_DefaultDataSubscriptionInfo
9264 {
9265 INT8 mDefaultDataSubscription;
9266 };
9267
9268 // Structure to describe response TLV 0x10 for NASGetModePref()
9269 struct sNASGetModePrefResponse_ModePreferenceForIDX0
9270 {
9271 bool mCDMA1x:1;
9272 bool mCDMA1xEVDO:1;
9273 bool mGSM:1;
9274 bool mUMTS:1;
9275 bool mLTE:1;
9276 bool mTDSCDMA:1;
9277
9278 // Padding out 10 bits
9279 UINT8 mReserved1:2;
9280 UINT8 mReserved2;
9281 };
9282
9283 // Structure to describe response TLV 0x11 for NASGetModePref()
9284 struct sNASGetModePrefResponse_ModePreferenceForIDX1
9285 {
9286 bool mCDMA1x:1;
9287 bool mCDMA1xEVDO:1;
9288 bool mGSM:1;
9289 bool mUMTS:1;
9290 bool mLTE:1;
9291 bool mTDSCDMA:1;
9292
9293 // Padding out 10 bits
9294 UINT8 mReserved1:2;
9295 UINT8 mReserved2;
9296 };
9297
9298 // Structure to describe request TLV 0x10 for NASSetDualStandbyPreference()
9299 struct sNASSetDualStandbyPreferenceRequest_StandbyPreference
9300 {
9301 eQMINASStandbyPreference mStandbyPreference;
9302 };
9303
9304 // Structure to describe request TLV 0x11 for NASSetDualStandbyPreference()
9305 struct sNASSetDualStandbyPreferenceRequest_PrioritySubs
9306 {
9307 eQMINASSubscriptionType mSubscriptionType;
9308 };
9309
9310 // Structure to describe request TLV 0x12 for NASSetDualStandbyPreference()
9311 struct sNASSetDualStandbyPreferenceRequest_DefaultDataSubs
9312 {
9313 eQMINASSubscriptionType mSubscriptionType;
9314 };
9315
9316 // Structure to describe indication TLV 0x01 for NAS NetworkTimeIndication
9317 struct sNASNetworkTimeIndication_UniversalTime
9318 {
9319 UINT16 mYear;
9320 UINT8 mMonth;
9321 UINT8 mDay;
9322 UINT8 mHour;
9323 UINT8 mMinute;
9324 UINT8 mSecond;
9325 eQMINASDayOfWeek mDayOfWeek;
9326 };
9327
9328 // Structure to describe indication TLV 0x10 for NAS NetworkTimeIndication
9329 struct sNASNetworkTimeIndication_TimeZone
9330 {
9331 INT8 mTimeZoneOffset;
9332 };
9333
9334 // Structure to describe indication TLV 0x11 for NAS NetworkTimeIndication
9335 struct sNASNetworkTimeIndication_DaylightSavingAdjustment
9336 {
9337 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
9338 };
9339
9340 // Structure to describe indication TLV 0x12 for NAS NetworkTimeIndication
9341 struct sNASNetworkTimeIndication_RadioInterface
9342 {
9343 eQMINASRadioInterfaces mRadioInterface;
9344 };
9345
9346 // Structure to describe response TLV 0x10 for NASGetSystemInfo()
9347 struct sNASGetSystemInfoResponse_CDMAServiceStatusInfo
9348 {
9349 eQMINASServiceStatus mServiceStatus;
9350 eQMINASPreferredDataBath mPreferredDataPath;
9351 };
9352
9353 // Structure to describe response TLV 0x11 for NASGetSystemInfo()
9354 struct sNASGetSystemInfoResponse_CDMA1xEVDOServiceStatusInfo
9355 {
9356 eQMINASServiceStatus mServiceStatus;
9357 eQMINASPreferredDataBath mPreferredDataPath;
9358 };
9359
9360 // Structure to describe response TLV 0x12 for NASGetSystemInfo()
9361 struct sNASGetSystemInfoResponse_GSMServiceStatusInfo
9362 {
9363 eQMINASServiceStatus mServiceStatus;
9364 eQMINASServiceStatus mTrueServiceStatus;
9365 eQMINASPreferredDataBath mPreferredDataPath;
9366 };
9367
9368 // Structure to describe response TLV 0x13 for NASGetSystemInfo()
9369 struct sNASGetSystemInfoResponse_WCDMAServiceStatusInfo
9370 {
9371 eQMINASServiceStatus mServiceStatus;
9372 eQMINASServiceStatus mTrueServiceStatus;
9373 eQMINASPreferredDataBath mPreferredDataPath;
9374 };
9375
9376 // Structure to describe response TLV 0x14 for NASGetSystemInfo()
9377 struct sNASGetSystemInfoResponse_LTEServiceStatusInfo
9378 {
9379 eQMINASServiceStatus mServiceStatus;
9380 eQMINASServiceStatus mTrueServiceStatus;
9381 eQMINASPreferredDataBath mPreferredDataPath;
9382 };
9383
9384 // Structure to describe response TLV 0x15 for NASGetSystemInfo()
9385 struct sNASGetSystemInfoResponse_CDMASystemInfo
9386 {
9387 INT8 mServiceDomainValid;
9388 eQMINASSystemServiceCapabilities mServiceDomain;
9389 INT8 mServiceCapabilityValid;
9390 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9391 INT8 mRoamStatusValid;
9392 eQMINASRoamStatus mRoamStatus;
9393 INT8 mSystemForbiddenValid;
9394 eQMINASSystemForbidden mSystemForbidden;
9395 INT8 mSystemPRLMatchValid;
9396 eQMINASPRLIndicator mSystemPRLMatch;
9397 INT8 mPRevInUseValid;
9398 eQMINASRevision mProtocolRevisionInUse;
9399 INT8 mBaseStationPRevValid;
9400 eQMINASRevision mBaseStationProtocolRevision;
9401 INT8 mConcurrentServiceSupportedValid;
9402 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
9403 INT8 mCDMASystemIDValid;
9404 UINT16 mSystemID;
9405 UINT16 mNetworkID;
9406 INT8 mBaseStationInfoValid;
9407 UINT16 mBaseStationID;
9408 INT32 mLatitude;
9409 INT32 mLongitude;
9410 INT8 mPacketZoneValid;
9411 UINT16 mPacketZone;
9412 INT8 mNetworkIDValid;
9413 char mMobileCountryCode[3];
9414 char mMobileNetworkCode[3];
9415 };
9416
9417 // Structure to describe response TLV 0x16 for NASGetSystemInfo()
9418 struct sNASGetSystemInfoResponse_CDMA1xEVDOSystemInfo
9419 {
9420 INT8 mServiceDomainValid;
9421 eQMINASSystemServiceCapabilities mServiceDomain;
9422 INT8 mServiceCapabilityValid;
9423 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9424 INT8 mRoamStatusValid;
9425 eQMINASRoamStatus mRoamStatus;
9426 INT8 mSystemForbiddenValid;
9427 eQMINASSystemForbidden mSystemForbidden;
9428 INT8 mSystemPRLMatchValid;
9429 eQMINASPRLIndicator mSystemPRLMatch;
9430 INT8 mCDMA1xEVDOPersonalityValid;
9431 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
9432 INT8 mCDMA1xEVDOActiveProtocolValid;
9433 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
9434 INT8 mSectorIDValid;
9435 UINT8 mSectorID[16];
9436 };
9437
9438 // Structure to describe response TLV 0x17 for NASGetSystemInfo()
9439 struct sNASGetSystemInfoResponse_GSMSystemInfo
9440 {
9441 INT8 mServiceDomainValid;
9442 eQMINASSystemServiceCapabilities mServiceDomain;
9443 INT8 mServiceCapabilityValid;
9444 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9445 INT8 mRoamStatusValid;
9446 eQMINASRoamStatus mRoamStatus;
9447 INT8 mSystemForbiddenValid;
9448 eQMINASSystemForbidden mSystemForbidden;
9449 INT8 mLocationAreaCodeValid;
9450 UINT16 mLocationAreaCode;
9451 INT8 mCellIDValid;
9452 UINT32 mCellID;
9453 INT8 mRegistrationRejectInformationValid;
9454 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9455 UINT8 mRejectCause;
9456 INT8 mNetworkIDValid;
9457 char mMobileCountryCode[3];
9458 char mMobileNetworkCode[3];
9459 INT8 mEGPRSSupportValid;
9460 eQMINASEGPRSSupport mEGPRSSupport;
9461 INT8 mDTMSupportValid;
9462 eQMINASDTMSupport mDTMSupport;
9463 };
9464
9465 // Structure to describe response TLV 0x18 for NASGetSystemInfo()
9466 struct sNASGetSystemInfoResponse_WCDMASystemInfo
9467 {
9468 INT8 mServiceDomainValid;
9469 eQMINASSystemServiceCapabilities mServiceDomain;
9470 INT8 mServiceCapabilityValid;
9471 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9472 INT8 mRoamStatusValid;
9473 eQMINASRoamStatus mRoamStatus;
9474 INT8 mSystemForbiddenValid;
9475 eQMINASSystemForbidden mSystemForbidden;
9476 INT8 mLocationAreaCodeValid;
9477 UINT16 mLocationAreaCode;
9478 INT8 mCellIDValid;
9479 UINT32 mCellID;
9480 INT8 mRegistrationRejectInformationValid;
9481 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9482 UINT8 mRejectCause;
9483 INT8 mNetworkIDValid;
9484 char mMobileCountryCode[3];
9485 char mMobileNetworkCode[3];
9486 INT8 mHighSpeedCallStatusValid;
9487 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9488 INT8 mHighSpeedServiceIndicationValid;
9489 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9490 INT8 mPrimaryScramblingCodeValue;
9491 UINT16 mPrimaryScramblingCode;
9492 };
9493
9494 // Structure to describe response TLV 0x19 for NASGetSystemInfo()
9495 struct sNASGetSystemInfoResponse_LTESystemInfo
9496 {
9497 INT8 mServiceDomainValid;
9498 eQMINASSystemServiceCapabilities mServiceDomain;
9499 INT8 mServiceCapabilityValid;
9500 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9501 INT8 mRoamStatusValid;
9502 eQMINASRoamStatus mRoamStatus;
9503 INT8 mSystemForbiddenValid;
9504 eQMINASSystemForbidden mSystemForbidden;
9505 INT8 mLocationAreaCodeValid;
9506 UINT16 mLocationAreaCode;
9507 INT8 mCellIDValid;
9508 UINT32 mCellID;
9509 INT8 mRegistrationRejectInformationValid;
9510 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9511 UINT8 mRejectCause;
9512 INT8 mNetworkIDValid;
9513 char mMobileCountryCode[3];
9514 char mMobileNetworkCode[3];
9515 INT8 mTrackingAreaCodeValid;
9516 UINT16 mTrackingAreaCode;
9517 };
9518
9519 // Structure to describe response TLV 0x1A for NASGetSystemInfo()
9520 struct sNASGetSystemInfoResponse_MoreCDMASystemInfo
9521 {
9522 UINT16 mGeoSystemIndex;
9523 UINT16 mRegistrationPeriod;
9524 };
9525
9526 // Structure to describe response TLV 0x1B for NASGetSystemInfo()
9527 struct sNASGetSystemInfoResponse_MoreCDMA1xEVDOSystemInfo
9528 {
9529 UINT16 mGeoSystemIndex;
9530 };
9531
9532 // Structure to describe response TLV 0x1C for NASGetSystemInfo()
9533 struct sNASGetSystemInfoResponse_MoreGSMSystemInfo
9534 {
9535 UINT16 mGeoSystemIndex;
9536 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9537 };
9538
9539 // Structure to describe response TLV 0x1D for NASGetSystemInfo()
9540 struct sNASGetSystemInfoResponse_MoreWCDMASystemInfo
9541 {
9542 UINT16 mGeoSystemIndex;
9543 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9544 };
9545
9546 // Structure to describe response TLV 0x1E for NASGetSystemInfo()
9547 struct sNASGetSystemInfoResponse_MoreLTESystemInfo
9548 {
9549 UINT16 mGeoSystemIndex;
9550 };
9551
9552 // Structure to describe response TLV 0x1F for NASGetSystemInfo()
9553 struct sNASGetSystemInfoResponse_GSMCallBarring
9554 {
9555 eQMINASCallBarringStatus mCSCallBarringStatus;
9556 eQMINASCallBarringStatus mPSCallBarringStatus;
9557 };
9558
9559 // Structure to describe response TLV 0x20 for NASGetSystemInfo()
9560 struct sNASGetSystemInfoResponse_WCDMACallBarring
9561 {
9562 eQMINASCallBarringStatus mCSCallBarringStatus;
9563 eQMINASCallBarringStatus mPSCallBarringStatus;
9564 };
9565
9566 // Structure to describe response TLV 0x21 for NASGetSystemInfo()
9567 struct sNASGetSystemInfoResponse_LTEVoice
9568 {
9569 INT8 mLTEVoiceSupported;
9570 };
9571
9572 // Structure to describe response TLV 0x22 for NASGetSystemInfo()
9573 struct sNASGetSystemInfoResponse_GSMCipher
9574 {
9575 eQMINASServiceDomains mCipheringOnServiceDomain;
9576 };
9577
9578 // Structure to describe response TLV 0x23 for NASGetSystemInfo()
9579 struct sNASGetSystemInfoResponse_WCDMACipher
9580 {
9581 eQMINASServiceDomains mCipheringOnServiceDomain;
9582 };
9583
9584 // Structure to describe response TLV 0x24 for NASGetSystemInfo()
9585 struct sNASGetSystemInfoResponse_TDSCDMAServiceStatusInfo
9586 {
9587 eQMINASServiceStatus mServiceStatus;
9588 eQMINASServiceStatus mTrueServiceStatus;
9589 eQMINASPreferredDataBath mPreferredDataPath;
9590 };
9591
9592 // Structure to describe response TLV 0x25 for NASGetSystemInfo()
9593 struct sNASGetSystemInfoResponse_TDSCDMASystemInfo
9594 {
9595 INT8 mServiceDomainValid;
9596 eQMINASSystemServiceCapabilities mServiceDomain;
9597 INT8 mServiceCapabilityValid;
9598 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9599 INT8 mRoamStatusValid;
9600 eQMINASRoamStatus mRoamStatus;
9601 INT8 mSystemForbiddenValid;
9602 eQMINASSystemForbidden mSystemForbidden;
9603 INT8 mLocationAreaCodeValid;
9604 UINT16 mLocationAreaCode;
9605 INT8 mCellIDValid;
9606 UINT32 mCellID;
9607 INT8 mRegistrationRejectInformationValid;
9608 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9609 UINT8 mRejectCause;
9610 INT8 mNetworkIDValid;
9611 char mMobileCountryCode[3];
9612 char mMobileNetworkCode[3];
9613 INT8 mHighSpeedCallStatusValid;
9614 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9615 INT8 mHighSpeedServiceIndicationValid;
9616 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9617 INT8 mCellParameterIDValid;
9618 UINT16 mCellParameterID;
9619 INT8 mCellBroadcastCapabilityValid;
9620 eQMINASCellBroadcastCaps2 mCellBroadcastCapability;
9621 INT8 mCSBarringStatusValid;
9622 eQMINASCallBarringStatus mCSCallBarringStatus;
9623 INT8 mPSBarringStatusValid;
9624 eQMINASCallBarringStatus mPSCallBarringStatus;
9625 INT8 mCipheringValid;
9626 eQMINASServiceDomains mCipheringOnServiceDomain;
9627 };
9628
9629 // Structure to describe response TLV 0x26 for NASGetSystemInfo()
9630 struct sNASGetSystemInfoResponse_EMBMSCoverage
9631 {
9632 INT8 mEMBMSSupported;
9633 };
9634
9635 // Structure to describe response TLV 0x27 for NASGetSystemInfo()
9636 struct sNASGetSystemInfoResponse_SIMRejectInfo
9637 {
9638 eQMINASSIMRejectStates mSIMRejectInfo;
9639 };
9640
9641 // Structure to describe response TLV 0x28 for NASGetSystemInfo()
9642 struct sNASGetSystemInfoResponse_WCDMAEUTRADetection
9643 {
9644 eQMINASEUTRAStatus mEUTRADetectionStatus;
9645 };
9646
9647 // Structure to describe response TLV 0x29 for NASGetSystemInfo()
9648 struct sNASGetSystemInfoResponse_LTEIMSVoice
9649 {
9650 INT8 mIMSVoiceSupportAvailable;
9651 };
9652
9653 // Structure to describe response TLV 0x2A for NASGetSystemInfo()
9654 struct sNASGetSystemInfoResponse_LTEVoiceDomain
9655 {
9656 eQMINASLTEVoiceDomains mLTEVoiceDomain;
9657 };
9658
9659 // Structure to describe response TLV 0x2B for NASGetSystemInfo()
9660 struct sNASGetSystemInfoResponse_CDMARegZoneID
9661 {
9662 UINT16 mCDMARegZoneID;
9663 };
9664
9665 // Structure to describe response TLV 0x2C for NASGetSystemInfo()
9666 struct sNASGetSystemInfoResponse_GSMRAC
9667 {
9668 UINT8 mGSMRoutingAreaCode;
9669 };
9670
9671 // Structure to describe response TLV 0x2D for NASGetSystemInfo()
9672 struct sNASGetSystemInfoResponse_WCDMARAC
9673 {
9674 UINT8 mWCDMARoutingAreaCode;
9675 };
9676
9677 // Structure to describe response TLV 0x2E for NASGetSystemInfo()
9678 struct sNASGetSystemInfoResponse_CDMAResolvedMCC
9679 {
9680 UINT16 mCDMAMCCResolvedViaSIDLookup;
9681 };
9682
9683 // Structure to describe response TLV 0x2F for NASGetSystemInfo()
9684 struct sNASGetSystemInfoResponse_RegistrationRestriction
9685 {
9686 eQMINASRegistrationRestrictions mRegistrationRestriction;
9687 };
9688
9689 // Structure to describe response TLV 0x30 for NASGetSystemInfo()
9690 struct sNASGetSystemInfoResponse_TDSCDMARegistrationDomain
9691 {
9692 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9693 };
9694
9695 // Structure to describe response TLV 0x31 for NASGetSystemInfo()
9696 struct sNASGetSystemInfoResponse_LTERegistrationDomain
9697 {
9698 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9699 };
9700
9701 // Structure to describe response TLV 0x32 for NASGetSystemInfo()
9702 struct sNASGetSystemInfoResponse_WCDMARegistrationDomain
9703 {
9704 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9705 };
9706
9707 // Structure to describe response TLV 0x33 for NASGetSystemInfo()
9708 struct sNASGetSystemInfoResponse_GSMRegistrationDomain
9709 {
9710 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9711 };
9712
9713 // Structure to describe indication TLV 0x10 for NAS SystemInfoIndication
9714 struct sNASSystemInfoIndication_CDMAServiceStatusInfo
9715 {
9716 eQMINASServiceStatus mServiceStatus;
9717 eQMINASPreferredDataBath mPreferredDataPath;
9718 };
9719
9720 // Structure to describe indication TLV 0x11 for NAS SystemInfoIndication
9721 struct sNASSystemInfoIndication_CDMA1xEVDOServiceStatusInfo
9722 {
9723 eQMINASServiceStatus mServiceStatus;
9724 eQMINASPreferredDataBath mPreferredDataPath;
9725 };
9726
9727 // Structure to describe indication TLV 0x12 for NAS SystemInfoIndication
9728 struct sNASSystemInfoIndication_GSMServiceStatusInfo
9729 {
9730 eQMINASServiceStatus mServiceStatus;
9731 eQMINASServiceStatus mTrueServiceStatus;
9732 eQMINASPreferredDataBath mPreferredDataPath;
9733 };
9734
9735 // Structure to describe indication TLV 0x13 for NAS SystemInfoIndication
9736 struct sNASSystemInfoIndication_WCDMAServiceStatusInfo
9737 {
9738 eQMINASServiceStatus mServiceStatus;
9739 eQMINASServiceStatus mTrueServiceStatus;
9740 eQMINASPreferredDataBath mPreferredDataPath;
9741 };
9742
9743 // Structure to describe indication TLV 0x14 for NAS SystemInfoIndication
9744 struct sNASSystemInfoIndication_LTEServiceStatusInfo
9745 {
9746 eQMINASServiceStatus mServiceStatus;
9747 eQMINASServiceStatus mTrueServiceStatus;
9748 eQMINASPreferredDataBath mPreferredDataPath;
9749 };
9750
9751 // Structure to describe indication TLV 0x15 for NAS SystemInfoIndication
9752 struct sNASSystemInfoIndication_CDMASystemInfo
9753 {
9754 INT8 mServiceDomainValid;
9755 eQMINASSystemServiceCapabilities mServiceDomain;
9756 INT8 mServiceCapabilityValid;
9757 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9758 INT8 mRoamStatusValid;
9759 eQMINASRoamStatus mRoamStatus;
9760 INT8 mSystemForbiddenValid;
9761 eQMINASSystemForbidden mSystemForbidden;
9762 INT8 mSystemPRLMatchValid;
9763 eQMINASPRLIndicator mSystemPRLMatch;
9764 INT8 mPRevInUseValid;
9765 eQMINASRevision mProtocolRevisionInUse;
9766 INT8 mBaseStationPRevValid;
9767 eQMINASRevision mBaseStationProtocolRevision;
9768 INT8 mConcurrentServiceSupportedValid;
9769 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
9770 INT8 mCDMASystemIDValid;
9771 UINT16 mSystemID;
9772 UINT16 mNetworkID;
9773 INT8 mBaseStationInfoValid;
9774 UINT16 mBaseStationID;
9775 INT32 mLatitude;
9776 INT32 mLongitude;
9777 INT8 mPacketZoneValid;
9778 UINT16 mPacketZone;
9779 INT8 mNetworkIDValid;
9780 char mMobileCountryCode[3];
9781 char mMobileNetworkCode[3];
9782 };
9783
9784 // Structure to describe indication TLV 0x16 for NAS SystemInfoIndication
9785 struct sNASSystemInfoIndication_CDMA1xEVDOSystemInfo
9786 {
9787 INT8 mServiceDomainValid;
9788 eQMINASSystemServiceCapabilities mServiceDomain;
9789 INT8 mServiceCapabilityValid;
9790 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9791 INT8 mRoamStatusValid;
9792 eQMINASRoamStatus mRoamStatus;
9793 INT8 mSystemForbiddenValid;
9794 eQMINASSystemForbidden mSystemForbidden;
9795 INT8 mSystemPRLMatchValid;
9796 eQMINASPRLIndicator mSystemPRLMatch;
9797 INT8 mCDMA1xEVDOPersonalityValid;
9798 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
9799 INT8 mCDMA1xEVDOActiveProtocolValid;
9800 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
9801 INT8 mSectorIDValid;
9802 UINT8 mSectorID[16];
9803 };
9804
9805 // Structure to describe indication TLV 0x17 for NAS SystemInfoIndication
9806 struct sNASSystemInfoIndication_GSMSystemInfo
9807 {
9808 INT8 mServiceDomainValid;
9809 eQMINASSystemServiceCapabilities mServiceDomain;
9810 INT8 mServiceCapabilityValid;
9811 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9812 INT8 mRoamStatusValid;
9813 eQMINASRoamStatus mRoamStatus;
9814 INT8 mSystemForbiddenValid;
9815 eQMINASSystemForbidden mSystemForbidden;
9816 INT8 mLocationAreaCodeValid;
9817 UINT16 mLocationAreaCode;
9818 INT8 mCellIDValid;
9819 UINT32 mCellID;
9820 INT8 mRegistrationRejectInformationValid;
9821 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9822 UINT8 mRejectCause;
9823 INT8 mNetworkIDValid;
9824 char mMobileCountryCode[3];
9825 char mMobileNetworkCode[3];
9826 INT8 mEGPRSSupportValid;
9827 eQMINASEGPRSSupport mEGPRSSupport;
9828 INT8 mDTMSupportValid;
9829 eQMINASDTMSupport mDTMSupport;
9830 };
9831
9832 // Structure to describe indication TLV 0x18 for NAS SystemInfoIndication
9833 struct sNASSystemInfoIndication_WCDMASystemInfo
9834 {
9835 INT8 mServiceDomainValid;
9836 eQMINASSystemServiceCapabilities mServiceDomain;
9837 INT8 mServiceCapabilityValid;
9838 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9839 INT8 mRoamStatusValid;
9840 eQMINASRoamStatus mRoamStatus;
9841 INT8 mSystemForbiddenValid;
9842 eQMINASSystemForbidden mSystemForbidden;
9843 INT8 mLocationAreaCodeValid;
9844 UINT16 mLocationAreaCode;
9845 INT8 mCellIDValid;
9846 UINT32 mCellID;
9847 INT8 mRegistrationRejectInformationValid;
9848 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9849 UINT8 mRejectCause;
9850 INT8 mNetworkIDValid;
9851 char mMobileCountryCode[3];
9852 char mMobileNetworkCode[3];
9853 INT8 mHighSpeedCallStatusValid;
9854 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9855 INT8 mHighSpeedServiceIndicationValid;
9856 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9857 INT8 mPrimaryScramblingCodeValue;
9858 UINT16 mPrimaryScramblingCode;
9859 };
9860
9861 // Structure to describe indication TLV 0x19 for NAS SystemInfoIndication
9862 struct sNASSystemInfoIndication_LTESystemInfo
9863 {
9864 INT8 mServiceDomainValid;
9865 eQMINASSystemServiceCapabilities mServiceDomain;
9866 INT8 mServiceCapabilityValid;
9867 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9868 INT8 mRoamStatusValid;
9869 eQMINASRoamStatus mRoamStatus;
9870 INT8 mSystemForbiddenValid;
9871 eQMINASSystemForbidden mSystemForbidden;
9872 INT8 mLocationAreaCodeValid;
9873 UINT16 mLocationAreaCode;
9874 INT8 mCellIDValid;
9875 UINT32 mCellID;
9876 INT8 mRegistrationRejectInformationValid;
9877 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9878 UINT8 mRejectCause;
9879 INT8 mNetworkIDValid;
9880 char mMobileCountryCode[3];
9881 char mMobileNetworkCode[3];
9882 INT8 mTrackingAreaCodeValid;
9883 UINT16 mTrackingAreaCode;
9884 };
9885
9886 // Structure to describe indication TLV 0x1A for NAS SystemInfoIndication
9887 struct sNASSystemInfoIndication_MoreCDMASystemInfo
9888 {
9889 UINT16 mGeoSystemIndex;
9890 UINT16 mRegistrationPeriod;
9891 };
9892
9893 // Structure to describe indication TLV 0x1B for NAS SystemInfoIndication
9894 struct sNASSystemInfoIndication_MoreCDMA1xEVDOSystemInfo
9895 {
9896 UINT16 mGeoSystemIndex;
9897 };
9898
9899 // Structure to describe indication TLV 0x1C for NAS SystemInfoIndication
9900 struct sNASSystemInfoIndication_MoreGSMSystemInfo
9901 {
9902 UINT16 mGeoSystemIndex;
9903 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9904 };
9905
9906 // Structure to describe indication TLV 0x1D for NAS SystemInfoIndication
9907 struct sNASSystemInfoIndication_MoreWCDMASystemInfo
9908 {
9909 UINT16 mGeoSystemIndex;
9910 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9911 };
9912
9913 // Structure to describe indication TLV 0x1E for NAS SystemInfoIndication
9914 struct sNASSystemInfoIndication_MoreLTESystemInfo
9915 {
9916 UINT16 mGeoSystemIndex;
9917 };
9918
9919 // Structure to describe indication TLV 0x1F for NAS SystemInfoIndication
9920 struct sNASSystemInfoIndication_GSMCallBarring
9921 {
9922 eQMINASCallBarringStatus mCSCallBarringStatus;
9923 eQMINASCallBarringStatus mPSCallBarringStatus;
9924 };
9925
9926 // Structure to describe indication TLV 0x20 for NAS SystemInfoIndication
9927 struct sNASSystemInfoIndication_WCDMACallBarring
9928 {
9929 eQMINASCallBarringStatus mCSCallBarringStatus;
9930 eQMINASCallBarringStatus mPSCallBarringStatus;
9931 };
9932
9933 // Structure to describe indication TLV 0x21 for NAS SystemInfoIndication
9934 struct sNASSystemInfoIndication_LTEVoice
9935 {
9936 INT8 mLTEVoiceSupported;
9937 };
9938
9939 // Structure to describe indication TLV 0x22 for NAS SystemInfoIndication
9940 struct sNASSystemInfoIndication_GSMCipher
9941 {
9942 eQMINASServiceDomains mCipheringOnServiceDomain;
9943 };
9944
9945 // Structure to describe indication TLV 0x23 for NAS SystemInfoIndication
9946 struct sNASSystemInfoIndication_WCDMACipher
9947 {
9948 eQMINASServiceDomains mCipheringOnServiceDomain;
9949 };
9950
9951 // Structure to describe indication TLV 0x24 for NAS SystemInfoIndication
9952 struct sNASSystemInfoIndication_NoPLMNChange
9953 {
9954 INT8 mNoPLMNChange;
9955 };
9956
9957 // Structure to describe indication TLV 0x25 for NAS SystemInfoIndication
9958 struct sNASSystemInfoIndication_TDSCDMAServiceStatusInfo
9959 {
9960 eQMINASServiceStatus mServiceStatus;
9961 eQMINASServiceStatus mTrueServiceStatus;
9962 eQMINASPreferredDataBath mPreferredDataPath;
9963 };
9964
9965 // Structure to describe indication TLV 0x26 for NAS SystemInfoIndication
9966 struct sNASSystemInfoIndication_TDSCDMASystemInfo
9967 {
9968 INT8 mServiceDomainValid;
9969 eQMINASSystemServiceCapabilities mServiceDomain;
9970 INT8 mServiceCapabilityValid;
9971 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9972 INT8 mRoamStatusValid;
9973 eQMINASRoamStatus mRoamStatus;
9974 INT8 mSystemForbiddenValid;
9975 eQMINASSystemForbidden mSystemForbidden;
9976 INT8 mLocationAreaCodeValid;
9977 UINT16 mLocationAreaCode;
9978 INT8 mCellIDValid;
9979 UINT32 mCellID;
9980 INT8 mRegistrationRejectInformationValid;
9981 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9982 UINT8 mRejectCause;
9983 INT8 mNetworkIDValid;
9984 char mMobileCountryCode[3];
9985 char mMobileNetworkCode[3];
9986 INT8 mHighSpeedCallStatusValid;
9987 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9988 INT8 mHighSpeedServiceIndicationValid;
9989 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9990 INT8 mCellParameterIDValid;
9991 UINT16 mCellParameterID;
9992 INT8 mCellBroadcastCapabilityValid;
9993 eQMINASCellBroadcastCaps2 mCellBroadcastCapability;
9994 INT8 mCSBarringStatusValid;
9995 eQMINASCallBarringStatus mCSCallBarringStatus;
9996 INT8 mPSBarringStatusValid;
9997 eQMINASCallBarringStatus mPSCallBarringStatus;
9998 INT8 mCipheringValid;
9999 eQMINASServiceDomains mCipheringOnServiceDomain;
10000 };
10001
10002 // Structure to describe indication TLV 0x27 for NAS SystemInfoIndication
10003 struct sNASSystemInfoIndication_EMBMSCoverage
10004 {
10005 INT8 mEMBMSSupported;
10006 };
10007
10008 // Structure to describe indication TLV 0x28 for NAS SystemInfoIndication
10009 struct sNASSystemInfoIndication_SIMRejectInfo
10010 {
10011 eQMINASSIMRejectStates mSIMRejectInfo;
10012 };
10013
10014 // Structure to describe indication TLV 0x29 for NAS SystemInfoIndication
10015 struct sNASSystemInfoIndication_WCDMAEUTRADetection
10016 {
10017 eQMINASEUTRAStatus mEUTRADetectionStatus;
10018 };
10019
10020 // Structure to describe indication TLV 0x2A for NAS SystemInfoIndication
10021 struct sNASSystemInfoIndication_LTEIMSVoice
10022 {
10023 INT8 mIMSVoiceSupportAvailable;
10024 };
10025
10026 // Structure to describe indication TLV 0x2B for NAS SystemInfoIndication
10027 struct sNASSystemInfoIndication_LTEVoiceDomain
10028 {
10029 eQMINASLTEVoiceDomains mLTEVoiceDomain;
10030 };
10031
10032 // Structure to describe indication TLV 0x2C for NAS SystemInfoIndication
10033 struct sNASSystemInfoIndication_CDMARegZoneID
10034 {
10035 UINT16 mCDMARegZoneID;
10036 };
10037
10038 // Structure to describe indication TLV 0x2D for NAS SystemInfoIndication
10039 struct sNASSystemInfoIndication_GSMRAC
10040 {
10041 UINT8 mGSMRoutingAreaCode;
10042 };
10043
10044 // Structure to describe indication TLV 0x2E for NAS SystemInfoIndication
10045 struct sNASSystemInfoIndication_WCDMARAC
10046 {
10047 UINT8 mWCDMARoutingAreaCode;
10048 };
10049
10050 // Structure to describe indication TLV 0x2F for NAS SystemInfoIndication
10051 struct sNASSystemInfoIndication_CDMAResolvedMCC
10052 {
10053 UINT16 mCDMAMCCResolvedViaSIDLookup;
10054 };
10055
10056 // Structure to describe indication TLV 0x30 for NAS SystemInfoIndication
10057 struct sNASSystemInfoIndication_RegistrationRestriction
10058 {
10059 eQMINASRegistrationRestrictions mRegistrationRestriction;
10060 };
10061
10062 // Structure to describe indication TLV 0x31 for NAS SystemInfoIndication
10063 struct sNASSystemInfoIndication_TDSCDMARegistrationDomain
10064 {
10065 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10066 };
10067
10068 // Structure to describe indication TLV 0x32 for NAS SystemInfoIndication
10069 struct sNASSystemInfoIndication_LTERegistrationDomain
10070 {
10071 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10072 };
10073
10074 // Structure to describe indication TLV 0x33 for NAS SystemInfoIndication
10075 struct sNASSystemInfoIndication_WCDMARegistrationDomain
10076 {
10077 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10078 };
10079
10080 // Structure to describe indication TLV 0x34 for NAS SystemInfoIndication
10081 struct sNASSystemInfoIndication_GSMRegistrationDomain
10082 {
10083 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10084 };
10085
10086 // Structure to describe response TLV 0x10 for NASGetSignalInfo()
10087 struct sNASGetSignalInfoResponse_CDMASignalInfo
10088 {
10089 INT8 mRSSI;
10090 UINT16 mECIO;
10091 };
10092
10093 // Structure to describe response TLV 0x11 for NASGetSignalInfo()
10094 struct sNASGetSignalInfoResponse_CDMA1xEVDOSignalInfo
10095 {
10096 INT8 mRSSI;
10097 UINT16 mECIO;
10098 eQMINASSINRLevels mSINR;
10099 UINT32 mIO;
10100 };
10101
10102 // Structure to describe response TLV 0x12 for NASGetSignalInfo()
10103 struct sNASGetSignalInfoResponse_GSMSignalInfo
10104 {
10105 INT8 mRSSI;
10106 };
10107
10108 // Structure to describe response TLV 0x13 for NASGetSignalInfo()
10109 struct sNASGetSignalInfoResponse_WCDMASignalInfo
10110 {
10111 INT8 mRSSI;
10112 UINT16 mECIO;
10113 };
10114
10115 // Structure to describe response TLV 0x14 for NASGetSignalInfo()
10116 struct sNASGetSignalInfoResponse_LTESignalInfo
10117 {
10118 INT8 mRSSI;
10119 INT8 mRSRQ;
10120 INT16 mRSRP;
10121 INT16 mSNR;
10122 };
10123
10124 // Structure to describe response TLV 0x15 for NASGetSignalInfo()
10125 struct sNASGetSignalInfoResponse_TDSCDMASignalInfo
10126 {
10127 INT8 mPCCPCHRSCP;
10128 };
10129
10130 // Structure to describe request TLV 0x10 for NASConfigureSignalInfo()
10131 struct sNASConfigureSignalInfoRequest_RSSIThresholdList
10132 {
10133 UINT8 mThresholdCount;
10134
10135 // This array must be the size specified by mThresholdCount
10136 // INT8 mThreshold[1];
10137 };
10138
10139 // Structure to describe request TLV 0x11 for NASConfigureSignalInfo()
10140 struct sNASConfigureSignalInfoRequest_ECIOThresholdList
10141 {
10142 UINT8 mThresholdCount;
10143
10144 // This array must be the size specified by mThresholdCount
10145 // INT16 mThreshold[1];
10146 };
10147
10148 // Structure to describe request TLV 0x12 for NASConfigureSignalInfo()
10149 struct sNASConfigureSignalInfoRequest_CDMA1xEVDOSINRThresholdList
10150 {
10151 UINT8 mThresholdCount;
10152
10153 // This array must be the size specified by mThresholdCount
10154 // UINT8 mThreshold[1];
10155 };
10156
10157 // Structure to describe request TLV 0x13 for NASConfigureSignalInfo()
10158 struct sNASConfigureSignalInfoRequest_LTESINRThresholdList
10159 {
10160 UINT8 mThresholdCount;
10161
10162 // This array must be the size specified by mThresholdCount
10163 // INT8 mThreshold[1];
10164 };
10165
10166 // Structure to describe request TLV 0x14 for NASConfigureSignalInfo()
10167 struct sNASConfigureSignalInfoRequest_IOThresholdList
10168 {
10169 UINT8 mThresholdCount;
10170
10171 // This array must be the size specified by mThresholdCount
10172 // INT32 mThreshold[1];
10173 };
10174
10175 // Structure to describe request TLV 0x15 for NASConfigureSignalInfo()
10176 struct sNASConfigureSignalInfoRequest_RSRQThresholdList
10177 {
10178 UINT8 mThresholdCount;
10179
10180 // This array must be the size specified by mThresholdCount
10181 // INT8 mThreshold[1];
10182 };
10183
10184 // Structure to describe request TLV 0x16 for NASConfigureSignalInfo()
10185 struct sNASConfigureSignalInfoRequest_RSRPThresholdList
10186 {
10187 UINT8 mThresholdCount;
10188
10189 // This array must be the size specified by mThresholdCount
10190 // INT16 mThreshold[1];
10191 };
10192
10193 // Structure to describe request TLV 0x17 for NASConfigureSignalInfo()
10194 struct sNASConfigureSignalInfoRequest_LTEConfig
10195 {
10196 eQMINASLTESignalRates mLTESignalCheckRate;
10197 eQMINASLTESignalRates mLTESignalAveragingRate;
10198 };
10199
10200 // Structure to describe request TLV 0x18 for NASConfigureSignalInfo()
10201 struct sNASConfigureSignalInfoRequest_RSCPThresholdList
10202 {
10203 UINT8 mThresholdCount;
10204
10205 // This array must be the size specified by mThresholdCount
10206 // INT8 mRSCPThreshold[1];
10207 };
10208
10209 // Structure to describe indication TLV 0x10 for NAS SignalInfoIndication
10210 struct sNASSignalInfoIndication_CDMASignalInfo
10211 {
10212 INT8 mRSSI;
10213 UINT16 mECIO;
10214 };
10215
10216 // Structure to describe indication TLV 0x11 for NAS SignalInfoIndication
10217 struct sNASSignalInfoIndication_CDMA1xEVDOSignalInfo
10218 {
10219 INT8 mRSSI;
10220 UINT16 mECIO;
10221 eQMINASSINRLevels mSINR;
10222 UINT32 mIO;
10223 };
10224
10225 // Structure to describe indication TLV 0x12 for NAS SignalInfoIndication
10226 struct sNASSignalInfoIndication_GSMSignalInfo
10227 {
10228 INT8 mRSSI;
10229 };
10230
10231 // Structure to describe indication TLV 0x13 for NAS SignalInfoIndication
10232 struct sNASSignalInfoIndication_WCDMASignalInfo
10233 {
10234 INT8 mRSSI;
10235 UINT16 mECIO;
10236 };
10237
10238 // Structure to describe indication TLV 0x14 for NAS SignalInfoIndication
10239 struct sNASSignalInfoIndication_LTESignalInfo
10240 {
10241 INT8 mRSSI;
10242 INT8 mRSRQ;
10243 INT16 mRSRP;
10244 INT16 mSNR;
10245 };
10246
10247 // Structure to describe indication TLV 0x15 for NAS SignalInfoIndication
10248 struct sNASSignalInfoIndication_TDSCDMASignalInfo
10249 {
10250 INT8 mPCCPCHRSCP;
10251 };
10252
10253 // Structure to describe response TLV 0x10 for NASGetErrorRate()
10254 struct sNASGetErrorRateResponse_CDMAFrameErrorRate
10255 {
10256 UINT16 mErrorRate;
10257 };
10258
10259 // Structure to describe response TLV 0x11 for NASGetErrorRate()
10260 struct sNASGetErrorRateResponse_CDMA1xEVDOPacketErrorRate
10261 {
10262 UINT16 mErrorRate;
10263 };
10264
10265 // Structure to describe response TLV 0x12 for NASGetErrorRate()
10266 struct sNASGetErrorRateResponse_GSMBitErrorRate
10267 {
10268 UINT8 mErrorRate;
10269 };
10270
10271 // Structure to describe response TLV 0x13 for NASGetErrorRate()
10272 struct sNASGetErrorRateResponse_WCDMABlockErrorRate
10273 {
10274 UINT8 mErrorRate;
10275 };
10276
10277 // Structure to describe response TLV 0x14 for NASGetErrorRate()
10278 struct sNASGetErrorRateResponse_TDSCDMABlockErrorRate
10279 {
10280 UINT8 mErrorRate;
10281 };
10282
10283 // Structure to describe indication TLV 0x10 for NAS ErrorRateIndication
10284 struct sNASErrorRateIndication_CDMAFrameErrorRate
10285 {
10286 UINT16 mErrorRate;
10287 };
10288
10289 // Structure to describe indication TLV 0x11 for NAS ErrorRateIndication
10290 struct sNASErrorRateIndication_CDMA1xEVDOPacketErrorRate
10291 {
10292 UINT16 mErrorRate;
10293 };
10294
10295 // Structure to describe indication TLV 0x12 for NAS ErrorRateIndication
10296 struct sNASErrorRateIndication_GSMBitErrorRate
10297 {
10298 UINT8 mErrorRate;
10299 };
10300
10301 // Structure to describe indication TLV 0x13 for NAS ErrorRateIndication
10302 struct sNASErrorRateIndication_WCDMAFrameErrorRate
10303 {
10304 UINT8 mErrorRate;
10305 };
10306
10307 // Structure to describe indication TLV 0x14 for NAS ErrorRateIndication
10308 struct sNASErrorRateIndication_TDSCDMABlockErrorRate
10309 {
10310 UINT8 mErrorRate;
10311 };
10312
10313 // Structure to describe indication TLV 0x01 for NAS EVDOSessionCloseIndication
10314 struct sNASEVDOSessionCloseIndication_Reason
10315 {
10316 eQMINASEVDOSessionCloseReasons mSessionCloseReason;
10317 };
10318
10319 // Structure to describe indication TLV 0x01 for NAS EVDOUATIUpdateIndication
10320 struct sNASEVDOUATIUpdateIndication_UATI
10321 {
10322 UINT8 mUATI[16];
10323 };
10324
10325 // Structure to describe request TLV 0x01 for NASGetEVDOProtocolSubtype()
10326 struct sNASGetEVDOProtocolSubtypeRequest_Protocol
10327 {
10328 UINT32 mEVDOProtocol;
10329 };
10330
10331 // Structure to describe response TLV 0x10 for NASGetEVDOProtocolSubtype()
10332 struct sNASGetEVDOProtocolSubtypeResponse_Subtype
10333 {
10334 UINT16 mEVDOProtocolSubtype;
10335 };
10336
10337 // Structure to describe response TLV 0x10 for NASGetEVDOColorCode()
10338 struct sNASGetEVDOColorCodeResponse_Value
10339 {
10340 UINT8 mEVDOColorCode;
10341 };
10342
10343 // Structure to describe response TLV 0x10 for NASGetAcquisitionSystemMode()
10344 struct sNASGetAcquisitionSystemModeResponse_CDMA
10345 {
10346 eQMINASRadioSystemModes mRadioSystemMode;
10347 };
10348
10349 // Structure to describe response TLV 0x11 for NASGetAcquisitionSystemMode()
10350 struct sNASGetAcquisitionSystemModeResponse_CDMA1xEVDO
10351 {
10352 eQMINASRadioSystemModes mRadioSystemMode;
10353 };
10354
10355 // Structure to describe response TLV 0x12 for NASGetAcquisitionSystemMode()
10356 struct sNASGetAcquisitionSystemModeResponse_GSM
10357 {
10358 eQMINASRadioSystemModes mRadioSystemMode;
10359 };
10360
10361 // Structure to describe response TLV 0x13 for NASGetAcquisitionSystemMode()
10362 struct sNASGetAcquisitionSystemModeResponse_UMTS
10363 {
10364 eQMINASRadioSystemModes mRadioSystemMode;
10365 };
10366
10367 // Structure to describe response TLV 0x14 for NASGetAcquisitionSystemMode()
10368 struct sNASGetAcquisitionSystemModeResponse_LTE
10369 {
10370 eQMINASRadioSystemModes mRadioSystemMode;
10371 };
10372
10373 // Structure to describe response TLV 0x15 for NASGetAcquisitionSystemMode()
10374 struct sNASGetAcquisitionSystemModeResponse_TDSCDMA
10375 {
10376 eQMINASRadioSystemModes mRadioSystemMode;
10377 };
10378
10379 // Structure to describe request TLV 0x01 for NASSetRXDiversity()
10380 struct sNASSetRXDiversityRequest_Diversity
10381 {
10382 eQMINASRadioInterfaces mRadioInterface;
10383 bool mEnableRXChain0:1;
10384 bool mEnableRXChain1:1;
10385
10386 // Padding out 6 bits
10387 UINT8 mReserved1:6;
10388 };
10389
10390 // Structure to describe response TLV 0x10 for NASGetRXTXInfo()
10391 struct sNASGetRXTXInfoResponse_RX0Info
10392 {
10393 INT8 mRadioTuned;
10394 INT32 mRXPower;
10395 INT32 mEcIo;
10396 INT32 mRSCP;
10397 INT32 mRSRP;
10398 INT32 mPhase;
10399 };
10400
10401 // Structure to describe response TLV 0x11 for NASGetRXTXInfo()
10402 struct sNASGetRXTXInfoResponse_RX1Info
10403 {
10404 INT8 mRadioTuned;
10405 INT32 mRXPower;
10406 INT32 mEcIo;
10407 INT32 mRSCP;
10408 INT32 mRSRP;
10409 INT32 mPhase;
10410 };
10411
10412 // Structure to describe response TLV 0x12 for NASGetRXTXInfo()
10413 struct sNASGetRXTXInfoResponse_TXInfo
10414 {
10415 INT8 mInTraffic;
10416 INT32 mTXPower;
10417 };
10418
10419 // Structure to describe request TLV 0x01 for NASUpdateAKEYExtended()
10420 struct sNASUpdateAKEYExtendedRequest_AKEY
10421 {
10422 char mSPC[6];
10423 char mAKEY[26];
10424 };
10425
10426 // Structure to describe response TLV 0x10 for NASGetDualStandbyPreference()
10427 struct sNASGetDualStandbyPreferenceResponse_StandbyPreference
10428 {
10429 eQMINASStandbyPreference mStandbyPreference;
10430 };
10431
10432 // Structure to describe response TLV 0x11 for NASGetDualStandbyPreference()
10433 struct sNASGetDualStandbyPreferenceResponse_PrioritySubs
10434 {
10435 eQMINASSubscriptionType mSubscriptionType;
10436 };
10437
10438 // Structure to describe response TLV 0x12 for NASGetDualStandbyPreference()
10439 struct sNASGetDualStandbyPreferenceResponse_ActiveSubs
10440 {
10441 eQMINASSubscriptionType mSubscriptionType;
10442 };
10443
10444 // Structure to describe response TLV 0x13 for NASGetDualStandbyPreference()
10445 struct sNASGetDualStandbyPreferenceResponse_DefaultDataSubs
10446 {
10447 eQMINASSubscriptionType mSubscriptionType;
10448 };
10449
10450 // Structure to describe request TLV 0x01 for NASBlockLTEPLMN()
10451 struct sNASBlockLTEPLMNRequest_PLMN
10452 {
10453 UINT16 mMobileCountryCode;
10454 UINT16 mMobileNetworkCode;
10455 INT8 mMNCIncludesPCSDigit;
10456 };
10457
10458 // Structure to describe request TLV 0x10 for NASBlockLTEPLMN()
10459 struct sNASBlockLTEPLMNRequest_AbsoluteTime
10460 {
10461 UINT32 mBlockingIntervalInMilliseconds;
10462 };
10463
10464 // Structure to describe request TLV 0x11 for NASBlockLTEPLMN()
10465 struct sNASBlockLTEPLMNRequest_T3204Multiplier
10466 {
10467 UINT32 mBlockingIntervalAsT3204Multiplier;
10468 };
10469
10470 // Structure to describe request TLV 0x01 for NASUnblockLTEPLMN()
10471 struct sNASUnblockLTEPLMNRequest_PLMN
10472 {
10473 UINT16 mMobileCountryCode;
10474 UINT16 mMobileNetworkCode;
10475 INT8 mMNCIncludesPCSDigit;
10476 };
10477
10478 // Structure to describe indication TLV 0x10 for NAS CurrentPLMNNameIndication
10479 struct sNASCurrentPLMNNameIndication_PLMN
10480 {
10481 UINT16 mMobileCountryCode;
10482 UINT16 mMobileNetworkCode;
10483 INT8 mMNCIncludesPCSDigit;
10484 };
10485
10486 // Structure to describe indication TLV 0x11 for NAS CurrentPLMNNameIndication
10487 struct sNASCurrentPLMNNameIndication_SPN
10488 {
10489 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
10490 UINT8 mSPNLength;
10491
10492 // This array must be the size specified by mSPNLength
10493 // UINT8 mSPN[1];
10494 };
10495
10496 // Structure to describe indication TLV 0x12 for NAS CurrentPLMNNameIndication
10497 struct sNASCurrentPLMNNameIndication_ShortName
10498 {
10499 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
10500 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
10501 eQMINASPLMNNameSpareBits mPLMNSpareBits;
10502 UINT8 mPLMNShortLength;
10503
10504 // This array must be the size specified by mPLMNShortLength
10505 // UINT8 mPLMNShort[1];
10506 };
10507
10508 // Structure to describe indication TLV 0x13 for NAS CurrentPLMNNameIndication
10509 struct sNASCurrentPLMNNameIndication_LongName
10510 {
10511 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
10512 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
10513 eQMINASPLMNNameSpareBits mPLMNLongBits;
10514 UINT8 mPLMNLongLength;
10515
10516 // This array must be the size specified by mPLMNLongLength
10517 // UINT8 mPLMNLong[1];
10518 };
10519
10520 // Structure to describe request TLV 0x01 for NASConfigureEMBMS()
10521 struct sNASConfigureEMBMSRequest_Config
10522 {
10523 INT8 mEMBMSEnabled;
10524 };
10525
10526 // Structure to describe response TLV 0x10 for NASGetEMBMSStatus()
10527 struct sNASGetEMBMSStatusResponse_Status
10528 {
10529 INT8 mEMBMSEnabled;
10530 };
10531
10532 // Structure to describe indication TLV 0x01 for NAS EMBMSStatusIndication
10533 struct sNASEMBMSStatusIndication_Status
10534 {
10535 INT8 mEMBMSEnabled;
10536 };
10537
10538 // Structure to describe response TLV 0x10 for NASGetCDMAPositionInfo()
10539 struct sNASGetCDMAPositionInfoResponse_Info
10540 {
10541 INT8 mUEInIdleMode;
10542 UINT8 mBaseStationCount;
10543
10544 struct sBaseStation
10545 {
10546 eQMINASCDMAPilotTypes mPilotType;
10547 UINT16 mSystemID;
10548 UINT16 mNetworkID;
10549 UINT16 mBaseStationID;
10550 UINT16 mPilotPN;
10551 UINT16 mPilotStrength;
10552 INT32 mLatitude;
10553 INT32 mLongitude;
10554 UINT64 mGPSTimeInMilliseconds;
10555 };
10556
10557 // This array must be the size specified by mBaseStationCount
10558 // sBaseStation mBaseStations[1];
10559 };
10560
10561 // Structure to describe indication TLV 0x01 for NAS RFBandInfoIndication
10562 struct sNASRFBandInfoIndication_BandInfo
10563 {
10564 eQMINASRadioInterfaces mRadioInterface;
10565 eQMINASBandClasses mActiveBandClass;
10566 UINT16 mActiveChannel;
10567 };
10568
10569 // Structure to describe indication TLV 0x01 for NAS NetworkRejectIndication
10570 struct sNASNetworkRejectIndication_RadioInterface
10571 {
10572 eQMINASRadioInterfaces mRadioInterface;
10573 };
10574
10575 // Structure to describe indication TLV 0x03 for NAS NetworkRejectIndication
10576 struct sNASNetworkRejectIndication_RejectCause
10577 {
10578 UINT8 mRejectCause;
10579 };
10580
10581 // Structure to describe response TLV 0x10 for NASGetManagedRoamingConfig()
10582 struct sNASGetManagedRoamingConfigResponse_Config
10583 {
10584 INT8 mManagedRoamingSupported;
10585 };
10586
10587 // Structure to describe indication TLV 0x10 for NAS RTREConfigurationIndication
10588 struct sNASRTREConfigurationIndication_CurrentConfig
10589 {
10590 eQMINASRTREConfiguration mRTREConfiguration;
10591 };
10592
10593 // Structure to describe indication TLV 0x11 for NAS RTREConfigurationIndication
10594 struct sNASRTREConfigurationIndication_ConfigPreference
10595 {
10596 eQMINASRTREConfiguration mRTREPreference;
10597 };
10598
10599 // Structure to describe response TLV 0x10 for NASGetCentralizedEONSSupport()
10600 struct sNASGetCentralizedEONSSupportResponse_Status
10601 {
10602 INT8 mCentralizedEONSSupported;
10603 };
10604
10605 // Structure to describe request TLV 0x10 for NASConfigureSignalInfo2()
10606 struct sNASConfigureSignalInfo2Request_CDMARSSIThresholdList
10607 {
10608 UINT8 mThresholdCount;
10609
10610 // This array must be the size specified by mThresholdCount
10611 // INT16 mThreshold[1];
10612 };
10613
10614 // Structure to describe request TLV 0x11 for NASConfigureSignalInfo2()
10615 struct sNASConfigureSignalInfo2Request_CDMARSSIDelta
10616 {
10617 UINT16 mDelta;
10618 };
10619
10620 // Structure to describe request TLV 0x12 for NASConfigureSignalInfo2()
10621 struct sNASConfigureSignalInfo2Request_CDMAECIOThresholdList
10622 {
10623 UINT8 mThresholdCount;
10624
10625 // This array must be the size specified by mThresholdCount
10626 // INT16 mThreshold[1];
10627 };
10628
10629 // Structure to describe request TLV 0x13 for NASConfigureSignalInfo2()
10630 struct sNASConfigureSignalInfo2Request_CDMAECIODelta
10631 {
10632 UINT16 mDelta;
10633 };
10634
10635 // Structure to describe request TLV 0x14 for NASConfigureSignalInfo2()
10636 struct sNASConfigureSignalInfo2Request_HDRRSSIThresholdList
10637 {
10638 UINT8 mThresholdCount;
10639
10640 // This array must be the size specified by mThresholdCount
10641 // INT16 mThreshold[1];
10642 };
10643
10644 // Structure to describe request TLV 0x15 for NASConfigureSignalInfo2()
10645 struct sNASConfigureSignalInfo2Request_HDRRSSIDelta
10646 {
10647 UINT16 mDelta;
10648 };
10649
10650 // Structure to describe request TLV 0x16 for NASConfigureSignalInfo2()
10651 struct sNASConfigureSignalInfo2Request_HDRECIOThresholdList
10652 {
10653 UINT8 mThresholdCount;
10654
10655 // This array must be the size specified by mThresholdCount
10656 // INT16 mThreshold[1];
10657 };
10658
10659 // Structure to describe request TLV 0x17 for NASConfigureSignalInfo2()
10660 struct sNASConfigureSignalInfo2Request_HDRECIODelta
10661 {
10662 UINT16 mDelta;
10663 };
10664
10665 // Structure to describe request TLV 0x18 for NASConfigureSignalInfo2()
10666 struct sNASConfigureSignalInfo2Request_HDRSINRThresholdList
10667 {
10668 UINT8 mSINRThresholdCount;
10669
10670 // This array must be the size specified by mSINRThresholdCount
10671 // eQMINASSINRLevels mSINRThreshold[1];
10672 };
10673
10674 // Structure to describe request TLV 0x19 for NASConfigureSignalInfo2()
10675 struct sNASConfigureSignalInfo2Request_HDRSINRDelta
10676 {
10677 UINT16 mDelta;
10678 };
10679
10680 // Structure to describe request TLV 0x1A for NASConfigureSignalInfo2()
10681 struct sNASConfigureSignalInfo2Request_HDRIOThreshold
10682 {
10683 UINT8 mThresholdCount;
10684
10685 // This array must be the size specified by mThresholdCount
10686 // INT16 mThreshold[1];
10687 };
10688
10689 // Structure to describe request TLV 0x1B for NASConfigureSignalInfo2()
10690 struct sNASConfigureSignalInfo2Request_HDRIODelta
10691 {
10692 UINT16 mDelta;
10693 };
10694
10695 // Structure to describe request TLV 0x1C for NASConfigureSignalInfo2()
10696 struct sNASConfigureSignalInfo2Request_GSMRSSIThresholdList
10697 {
10698 UINT8 mThresholdCount;
10699
10700 // This array must be the size specified by mThresholdCount
10701 // INT16 mThreshold[1];
10702 };
10703
10704 // Structure to describe request TLV 0x1D for NASConfigureSignalInfo2()
10705 struct sNASConfigureSignalInfo2Request_GSMRSSIDelta
10706 {
10707 UINT16 mDelta;
10708 };
10709
10710 // Structure to describe request TLV 0x1E for NASConfigureSignalInfo2()
10711 struct sNASConfigureSignalInfo2Request_WCDMARSSIThresholdList
10712 {
10713 UINT8 mThresholdCount;
10714
10715 // This array must be the size specified by mThresholdCount
10716 // INT16 mThreshold[1];
10717 };
10718
10719 // Structure to describe request TLV 0x1F for NASConfigureSignalInfo2()
10720 struct sNASConfigureSignalInfo2Request_WCDMARSSIDelta
10721 {
10722 UINT16 mDelta;
10723 };
10724
10725 // Structure to describe request TLV 0x20 for NASConfigureSignalInfo2()
10726 struct sNASConfigureSignalInfo2Request_WCDMAECIOThresholdList
10727 {
10728 UINT8 mThresholdCount;
10729
10730 // This array must be the size specified by mThresholdCount
10731 // INT16 mThreshold[1];
10732 };
10733
10734 // Structure to describe request TLV 0x21 for NASConfigureSignalInfo2()
10735 struct sNASConfigureSignalInfo2Request_WCDMAECIODelta
10736 {
10737 UINT16 mDelta;
10738 };
10739
10740 // Structure to describe request TLV 0x22 for NASConfigureSignalInfo2()
10741 struct sNASConfigureSignalInfo2Request_LTERSSIThresholdList
10742 {
10743 UINT8 mThresholdCount;
10744
10745 // This array must be the size specified by mThresholdCount
10746 // INT16 mThreshold[1];
10747 };
10748
10749 // Structure to describe request TLV 0x23 for NASConfigureSignalInfo2()
10750 struct sNASConfigureSignalInfo2Request_LTERSSIDelta
10751 {
10752 UINT16 mDelta;
10753 };
10754
10755 // Structure to describe request TLV 0x24 for NASConfigureSignalInfo2()
10756 struct sNASConfigureSignalInfo2Request_LTESNRThresholdList
10757 {
10758 UINT8 mThresholdCount;
10759
10760 // This array must be the size specified by mThresholdCount
10761 // INT16 mThreshold[1];
10762 };
10763
10764 // Structure to describe request TLV 0x25 for NASConfigureSignalInfo2()
10765 struct sNASConfigureSignalInfo2Request_LTESNRDelta
10766 {
10767 UINT16 mDelta;
10768 };
10769
10770 // Structure to describe request TLV 0x26 for NASConfigureSignalInfo2()
10771 struct sNASConfigureSignalInfo2Request_LTERSRQThresholdList
10772 {
10773 UINT8 mThresholdCount;
10774
10775 // This array must be the size specified by mThresholdCount
10776 // INT16 mThreshold[1];
10777 };
10778
10779 // Structure to describe request TLV 0x27 for NASConfigureSignalInfo2()
10780 struct sNASConfigureSignalInfo2Request_LTERSRQDelta
10781 {
10782 UINT16 mDelta;
10783 };
10784
10785 // Structure to describe request TLV 0x28 for NASConfigureSignalInfo2()
10786 struct sNASConfigureSignalInfo2Request_LTERSRPThresholdList
10787 {
10788 UINT8 mThresholdCount;
10789
10790 // This array must be the size specified by mThresholdCount
10791 // INT16 mThreshold[1];
10792 };
10793
10794 // Structure to describe request TLV 0x29 for NASConfigureSignalInfo2()
10795 struct sNASConfigureSignalInfo2Request_LTERSRPDelta
10796 {
10797 UINT16 mDelta;
10798 };
10799
10800 // Structure to describe request TLV 0x2A for NASConfigureSignalInfo2()
10801 struct sNASConfigureSignalInfo2Request_LTESignalReportConfig
10802 {
10803 eQMINASReportRate mReportRate;
10804 eQMINASAveragePeriod mAveragePeriod;
10805 };
10806
10807 // Structure to describe request TLV 0x2B for NASConfigureSignalInfo2()
10808 struct sNASConfigureSignalInfo2Request_TDSCDMARSCPThresholdList
10809 {
10810 UINT8 mThresholdCount;
10811
10812 // This array must be the size specified by mThresholdCount
10813 // INT16 mThreshold[1];
10814 };
10815
10816 // Structure to describe request TLV 0x2C for NASConfigureSignalInfo2()
10817 struct sNASConfigureSignalInfo2Request_TDSCDMARSCPDelta
10818 {
10819 UINT16 mDelta;
10820 };
10821
10822 // Structure to describe response TLV 0x10 for NASGetTDSCDMACellInfo()
10823 struct sNASGetTDSCDMACellInfoResponse_CellInfo
10824 {
10825 // Bitfield arrays are not possible in c, unrolling the array
10826 UINT8 mMobileCountryCode0:4;
10827 UINT8 mMobileCountryCode1:4;
10828 UINT8 mMobileCountryCode2:4;
10829
10830 // Bitfield arrays are not possible in c, unrolling the array
10831 UINT8 mMobileNetworkCode0:4;
10832 UINT8 mMobileNetworkCode1:4;
10833 UINT8 mMobileNetworkCode2:4;
10834
10835 INT8 mMNCIncludesPCSDigit;
10836 UINT16 mLocationAreaCode;
10837 UINT16 mAbsoluteRFChannelNumber;
10838 UINT32 mCellID;
10839 UINT8 mCellParameterID;
10840 UINT8 mPathLossdB;
10841 float mTimingAdvanceSeconds;
10842 float mRSCPdBm;
10843 };
10844
10845 // Structure to describe response TLV 0x11 for NASGetTDSCDMACellInfo()
10846 struct sNASGetTDSCDMACellInfoResponse_NeighborCellInfo
10847 {
10848 UINT8 mNeighborCellCount;
10849
10850 struct sNeighborCell
10851 {
10852 UINT16 mAbsoluteRFChannelNumber;
10853 UINT8 mCellParameterID;
10854 float mRSCPdBm;
10855 };
10856
10857 // This array must be the size specified by mNeighborCellCount
10858 // sNeighborCell mNeighborCells[1];
10859 };
10860
10861 // Structure to describe request TLV 0x10 for WMSSetEventReport()
10862 struct sWMSSetEventReportRequest_NewMTMessageIndicator
10863 {
10864 INT8 mReportNewMTMessages;
10865 };
10866
10867 // Structure to describe indication TLV 0x10 for WMS EventReport
10868 struct sWMSEventReportIndication_ReceivedMTMessage
10869 {
10870 eQMIWMSStorageTypes mStorageType;
10871 UINT32 mStorageIndex;
10872 };
10873
10874 // Structure to describe indication TLV 0x11 for WMS EventReport
10875 struct sWMSEventReportIndication_TransferRouteMTMessage
10876 {
10877 INT8 mACKRequired;
10878 UINT32 mTransactionID;
10879 eQMIWMSMessageFormats mMessageFormat;
10880 UINT16 mRawMessageLength;
10881
10882 // This array must be the size specified by mRawMessageLength
10883 // UINT8 mRawMessage[1];
10884 };
10885
10886 // Structure to describe indication TLV 0x12 for WMS EventReport
10887 struct sWMSEventReportIndication_MessageMode
10888 {
10889 eQMIWMSMessageProtocols mMode;
10890 };
10891
10892 // Structure to describe indication TLV 0x13 for WMS EventReport
10893 struct sWMSEventReportIndication_ReceivedETWSMessage
10894 {
10895 eQMIWMSNotificationType mNotificationType;
10896 UINT16 mRawMessageLength;
10897
10898 // This array must be the size specified by mRawMessageLength
10899 // UINT8 mRawMessage[1];
10900 };
10901
10902 // Structure to describe indication TLV 0x14 for WMS EventReport
10903 struct sWMSEventReportIndication_ReceivedETWSPLMNInfo
10904 {
10905 UINT16 mMobileCountryCode;
10906 UINT16 mMobileNetworkCode;
10907 };
10908
10909 // Structure to describe indication TLV 0x15 for WMS EventReport
10910 struct sWMSEventReportIndication_ReceivedSMSCAddress
10911 {
10912 UINT8 mSMSCAddressLength;
10913
10914 // This array must be the size specified by mSMSCAddressLength
10915 // char mSMSCAddress[1];
10916 };
10917
10918 // Structure to describe indication TLV 0x16 for WMS EventReport
10919 struct sWMSEventReportIndication_SMSOnIMS
10920 {
10921 INT8 mMessageReceivedFromIMS;
10922 };
10923
10924 // Structure to describe request TLV 0x01 for WMSRawSend()
10925 struct sWMSRawSendRequest_MessageData
10926 {
10927 eQMIWMSMessageFormats mMessageFormat;
10928 UINT16 mRawMessageLength;
10929
10930 // This array must be the size specified by mRawMessageLength
10931 // UINT8 mRawMessage[1];
10932 };
10933
10934 // Structure to describe request TLV 0x10 for WMSRawSend()
10935 struct sWMSRawSendRequest_ForceOnDC
10936 {
10937 INT8 mForceSendOnDC;
10938 eQMIWMSCDMAServiceOptions mServiceOption;
10939 };
10940
10941 // Structure to describe request TLV 0x11 for WMSRawSend()
10942 struct sWMSRawSendRequest_FollowOnDC
10943 {
10944 INT8 mDoNotDisconnectDC;
10945 };
10946
10947 // Structure to describe request TLV 0x12 for WMSRawSend()
10948 struct sWMSRawSendRequest_LinkControl
10949 {
10950 UINT8 mLinkTimerInSeconds;
10951 };
10952
10953 // Structure to describe request TLV 0x13 for WMSRawSend()
10954 struct sWMSRawSendRequest_SMSOnIMS
10955 {
10956 INT8 mMessageToBeSentOnIMS;
10957 };
10958
10959 // Structure to describe request TLV 0x14 for WMSRawSend()
10960 struct sWMSRawSendRequest_RetryMessage
10961 {
10962 INT8 mMessageIsARetry;
10963 };
10964
10965 // Structure to describe request TLV 0x15 for WMSRawSend()
10966 struct sWMSRawSendRequest_RetryMessageID
10967 {
10968 UINT32 mMessageRetryID;
10969 };
10970
10971 // Structure to describe response TLV 0x01 for WMSRawSend()
10972 struct sWMSRawSendResponse_MessageID
10973 {
10974 UINT16 mMessageID;
10975 };
10976
10977 // Structure to describe response TLV 0x10 for WMSRawSend()
10978 struct sWMSRawSendResponse_CauseCode
10979 {
10980 UINT16 mCauseCode;
10981 };
10982
10983 // Structure to describe response TLV 0x11 for WMSRawSend()
10984 struct sWMSRawSendResponse_ErrorClass
10985 {
10986 eQMIWMSErrorClasses mErrorClass;
10987 };
10988
10989 // Structure to describe response TLV 0x12 for WMSRawSend()
10990 struct sWMSRawSendResponse_CauseInfo
10991 {
10992 UINT16 mGSMWCDMARPCause;
10993 UINT8 mGSMWCDMATPCause;
10994 };
10995
10996 // Structure to describe response TLV 0x13 for WMSRawSend()
10997 struct sWMSRawSendResponse_MessageDeliveryFailureType
10998 {
10999 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11000 };
11001
11002 // Structure to describe response TLV 0x14 for WMSRawSend()
11003 struct sWMSRawSendResponse_MessageDeliveryFailureCause
11004 {
11005 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11006 };
11007
11008 // Structure to describe response TLV 0x15 for WMSRawSend()
11009 struct sWMSRawSendResponse_CallControlModifiedInfo
11010 {
11011 UINT8 mAlphaIDLength;
11012
11013 // This array must be the size specified by mAlphaIDLength
11014 // UINT8 mAlphaID[1];
11015 };
11016
11017 // Structure to describe request TLV 0x01 for WMSRawWrite()
11018 struct sWMSRawWriteRequest_MessageData
11019 {
11020 eQMIWMSStorageTypes mStorageType;
11021 eQMIWMSMessageFormats mMessageFormat;
11022 UINT16 mRawMessageLength;
11023
11024 // This array must be the size specified by mRawMessageLength
11025 // UINT8 mRawMessage[1];
11026 };
11027
11028 // Structure to describe response TLV 0x01 for WMSRawWrite()
11029 struct sWMSRawWriteResponse_MessageIndex
11030 {
11031 UINT32 mStorageIndex;
11032 };
11033
11034 // Structure to describe request TLV 0x01 for WMSRawRead()
11035 struct sWMSRawReadRequest_MessageIndex
11036 {
11037 eQMIWMSStorageTypes mStorageType;
11038 UINT32 mStorageIndex;
11039 };
11040
11041 // Structure to describe request TLV 0x10 for WMSRawRead()
11042 struct sWMSRawReadRequest_MessageMode
11043 {
11044 eQMIWMSMessageProtocols mMode;
11045 };
11046
11047 // Structure to describe request TLV 0x11 for WMSRawRead()
11048 struct sWMSRawReadRequest_SMSOnIMS
11049 {
11050 INT8 mMessageToBeReadFromIMS;
11051 };
11052
11053 // Structure to describe response TLV 0x01 for WMSRawRead()
11054 struct sWMSRawReadResponse_MessageData
11055 {
11056 eQMIWMSMessageTags mMessageTag;
11057 eQMIWMSMessageFormats mMessageFormat;
11058 UINT16 mRawMessageLength;
11059
11060 // This array must be the size specified by mRawMessageLength
11061 // UINT8 mRawMessage[1];
11062 };
11063
11064 // Structure to describe request TLV 0x01 for WMSModifyTag()
11065 struct sWMSModifyTagRequest_MessageTag
11066 {
11067 eQMIWMSStorageTypes mStorageType;
11068 UINT32 mStorageIndex;
11069 eQMIWMSMessageTags mMessageTag;
11070 };
11071
11072 // Structure to describe request TLV 0x10 for WMSModifyTag()
11073 struct sWMSModifyTagRequest_MessageMode
11074 {
11075 eQMIWMSMessageProtocols mMode;
11076 };
11077
11078 // Structure to describe request TLV 0x01 for WMSDelete()
11079 struct sWMSDeleteRequest_MemoryStorage
11080 {
11081 eQMIWMSStorageTypes mStorageType;
11082 };
11083
11084 // Structure to describe request TLV 0x10 for WMSDelete()
11085 struct sWMSDeleteRequest_MessageIndex
11086 {
11087 UINT32 mStorageIndex;
11088 };
11089
11090 // Structure to describe request TLV 0x11 for WMSDelete()
11091 struct sWMSDeleteRequest_MessageTag
11092 {
11093 eQMIWMSMessageTags mMessageTag;
11094 };
11095
11096 // Structure to describe request TLV 0x12 for WMSDelete()
11097 struct sWMSDeleteRequest_MessageMode
11098 {
11099 eQMIWMSMessageProtocols mMode;
11100 };
11101
11102 // Structure to describe response TLV 0x01 for WMSGetMessageProtocol()
11103 struct sWMSGetMessageProtocolResponse_MessageProtocol
11104 {
11105 eQMIWMSMessageProtocols mMode;
11106 };
11107
11108 // Structure to describe request TLV 0x01 for WMSListMessages()
11109 struct sWMSListMessagesRequest_MemoryStorage
11110 {
11111 eQMIWMSStorageTypes mStorageType;
11112 };
11113
11114 // Structure to describe request TLV 0x10 for WMSListMessages()
11115 struct sWMSListMessagesRequest_MessageTag
11116 {
11117 eQMIWMSMessageTags mMessageTag;
11118 };
11119
11120 // Structure to describe request TLV 0x11 for WMSListMessages()
11121 struct sWMSListMessagesRequest_MessageMode
11122 {
11123 eQMIWMSMessageProtocols mMode;
11124 };
11125
11126 // Structure to describe response TLV 0x01 for WMSListMessages()
11127 struct sWMSListMessagesResponse_MessageList
11128 {
11129 UINT32 mNumberOfMessages;
11130
11131 struct sMessage
11132 {
11133 UINT32 mStorageIndex;
11134 eQMIWMSMessageTags mMessageTag;
11135 };
11136
11137 // This array must be the size specified by mNumberOfMessages
11138 // sMessage mMessages[1];
11139 };
11140
11141 // Structure to describe request TLV 0x01 for WMSSetRoutes()
11142 struct sWMSSetRoutesRequest_RouteList
11143 {
11144 UINT16 mNumberOfRoutes;
11145
11146 struct sRoute
11147 {
11148 eQMIWMSMessageTypes mMessageType;
11149 eQMIWMSMessageClasses mMessageClass;
11150 eQMIWMSStorageTypes mStorageType;
11151 eQMIWMSReceiptActions mReceiptAction;
11152 };
11153
11154 // This array must be the size specified by mNumberOfRoutes
11155 // sRoute mRoutes[1];
11156 };
11157
11158 // Structure to describe request TLV 0x10 for WMSSetRoutes()
11159 struct sWMSSetRoutesRequest_TransferStatusReport
11160 {
11161 INT8 mTransferStatusReports;
11162 };
11163
11164 // Structure to describe response TLV 0x01 for WMSGetRoutes()
11165 struct sWMSGetRoutesResponse_RouteList
11166 {
11167 UINT16 mNumberOfRoutes;
11168
11169 struct sRoute
11170 {
11171 eQMIWMSMessageTypes mMessageType;
11172 eQMIWMSMessageClasses mMessageClass;
11173 eQMIWMSStorageTypes mStorageType;
11174 eQMIWMSRouteValues mRouteValue;
11175 };
11176
11177 // This array must be the size specified by mNumberOfRoutes
11178 // sRoute mRoutes[1];
11179 };
11180
11181 // Structure to describe response TLV 0x10 for WMSGetRoutes()
11182 struct sWMSGetRoutesResponse_TransferStatusReport
11183 {
11184 INT8 mTransferStatusReports;
11185 };
11186
11187 // Structure to describe response TLV 0x01 for WMSGetSMSCAddress()
11188 struct sWMSGetSMSCAddressResponse_Address
11189 {
11190 char mSMSCAddressType[3];
11191 UINT8 mSMSCAddressLength;
11192
11193 // This array must be the size specified by mSMSCAddressLength
11194 // char mSMSCAddress[1];
11195 };
11196
11197 // Structure to describe request TLV 0x01 for WMSSetSMSCAddress()
11198 struct sWMSSetSMSCAddressRequest_Address
11199 {
11200 // String is variable length, but must be size of the container
11201 // char mSMSCAddress[1];
11202 };
11203
11204 // Structure to describe request TLV 0x10 for WMSSetSMSCAddress()
11205 struct sWMSSetSMSCAddressRequest_AddressType
11206 {
11207 // String is variable length, but must be size of the container
11208 // char mSMSCAddressType[1];
11209 };
11210
11211 // Structure to describe request TLV 0x01 for WMSGetStorageMaxSize()
11212 struct sWMSGetStorageMaxSizeRequest_MemoryStorage
11213 {
11214 eQMIWMSStorageTypes mStorageType;
11215 };
11216
11217 // Structure to describe request TLV 0x10 for WMSGetStorageMaxSize()
11218 struct sWMSGetStorageMaxSizeRequest_MessageMode
11219 {
11220 eQMIWMSMessageProtocols mMode;
11221 };
11222
11223 // Structure to describe response TLV 0x01 for WMSGetStorageMaxSize()
11224 struct sWMSGetStorageMaxSizeResponse_MaxSize
11225 {
11226 UINT32 mMaxStorageSizeInMessages;
11227 };
11228
11229 // Structure to describe response TLV 0x10 for WMSGetStorageMaxSize()
11230 struct sWMSGetStorageMaxSizeResponse_AvailableSize
11231 {
11232 UINT32 mFreeStorageSizeInMessages;
11233 };
11234
11235 // Structure to describe request TLV 0x01 for WMSSendACK()
11236 struct sWMSSendACKRequest_ACK
11237 {
11238 UINT32 mTransactionID;
11239 eQMIWMSMessageProtocols mMode;
11240 INT8 mProcessedSuccessfully;
11241 };
11242
11243 // Structure to describe request TLV 0x10 for WMSSendACK()
11244 struct sWMSSendACKRequest_3GPP2FailureInfo
11245 {
11246 eQMIWMSErrorClasses2 mErrorClass;
11247 UINT8 mTransportLayerStatus;
11248 };
11249
11250 // Structure to describe request TLV 0x11 for WMSSendACK()
11251 struct sWMSSendACKRequest_3GPPFailureInfo
11252 {
11253 UINT8 mGSMWCDMARPCause;
11254 UINT8 mGSMWCDMATPCause;
11255 };
11256
11257 // Structure to describe request TLV 0x12 for WMSSendACK()
11258 struct sWMSSendACKRequest_SMSOnIMS
11259 {
11260 INT8 mACKToBeSentOnIMS;
11261 };
11262
11263 // Structure to describe response TLV 0x10 for WMSSendACK()
11264 struct sWMSSendACKResponse_ACKFailureCause
11265 {
11266 eQMIWMSACKFailureCause mACKFailureCause;
11267 };
11268
11269 // Structure to describe request TLV 0x01 for WMSSetRetryPeriod()
11270 struct sWMSSetRetryPeriodRequest_Period
11271 {
11272 UINT32 mRetryPeriodInSeconds;
11273 };
11274
11275 // Structure to describe request TLV 0x01 for WMSSetRetryInterval()
11276 struct sWMSSetRetryIntervalRequest_Interval
11277 {
11278 UINT32 mRetryIntervalInSeconds;
11279 };
11280
11281 // Structure to describe request TLV 0x01 for WMSSetDCDisconnectTimer()
11282 struct sWMSSetDCDisconnectTimerRequest_Timer
11283 {
11284 UINT32 mDCDisconnectTimerInSeconds;
11285 };
11286
11287 // Structure to describe request TLV 0x01 for WMSSetMemoryStatus()
11288 struct sWMSSetMemoryStatusRequest_Status
11289 {
11290 INT8 mMemoryIsAvailable;
11291 };
11292
11293 // Structure to describe request TLV 0x01 for WMSSetBroadcastActivation()
11294 struct sWMSSetBroadcastActivationRequest_BCInfo
11295 {
11296 eQMIWMSMessageProtocols mMode;
11297 INT8 mActivateBroadcast;
11298 };
11299
11300 // Structure to describe request TLV 0x01 for WMSSetBroadcastConfig()
11301 struct sWMSSetBroadcastConfigRequest_Mode
11302 {
11303 eQMIWMSMessageProtocols mMode;
11304 };
11305
11306 // Structure to describe request TLV 0x10 for WMSSetBroadcastConfig()
11307 struct sWMSSetBroadcastConfigRequest_3GPPInfo
11308 {
11309 UINT16 mNumberOfInstances;
11310
11311 struct sInstance
11312 {
11313 UINT16 mMessageIDStart;
11314 UINT16 mMessageIDEnd;
11315 INT8 mSelected;
11316 };
11317
11318 // This array must be the size specified by mNumberOfInstances
11319 // sInstance mInstances[1];
11320 };
11321
11322 // Structure to describe request TLV 0x11 for WMSSetBroadcastConfig()
11323 struct sWMSSetBroadcastConfigRequest_3GPP2Info
11324 {
11325 UINT16 mNumberOfInstances;
11326
11327 struct sInstance
11328 {
11329 UINT16 mServiceCategory;
11330 eQMIWMSLanguage mLanguage;
11331 INT8 mSelected;
11332 };
11333
11334 // This array must be the size specified by mNumberOfInstances
11335 // sInstance mInstances[1];
11336 };
11337
11338 // Structure to describe request TLV 0x01 for WMSGetBroadcastConfig()
11339 struct sWMSGetBroadcastConfigRequest_Mode
11340 {
11341 eQMIWMSMessageProtocols mMode;
11342 };
11343
11344 // Structure to describe response TLV 0x10 for WMSGetBroadcastConfig()
11345 struct sWMSGetBroadcastConfigResponse_3GPPInfo
11346 {
11347 INT8 mActivated;
11348 UINT16 mNumberOfInstances;
11349
11350 struct sInstance
11351 {
11352 UINT16 mMessageIDStart;
11353 UINT16 mMessageIDEnd;
11354 INT8 mSelected;
11355 };
11356
11357 // This array must be the size specified by mNumberOfInstances
11358 // sInstance mInstances[1];
11359 };
11360
11361 // Structure to describe response TLV 0x11 for WMSGetBroadcastConfig()
11362 struct sWMSGetBroadcastConfigResponse_3GPP2Info
11363 {
11364 INT8 mActivated;
11365 UINT16 mNumberOfInstances;
11366
11367 struct sInstance
11368 {
11369 UINT16 mServiceCategory;
11370 eQMIWMSLanguage mLanguage;
11371 INT8 mSelected;
11372 };
11373
11374 // This array must be the size specified by mNumberOfInstances
11375 // sInstance mInstances[1];
11376 };
11377
11378 // Structure to describe indication TLV 0x01 for WMS MemoryFullIndication
11379 struct sWMSMemoryFullIndication_Info
11380 {
11381 eQMIWMSStorageTypes mStorageType;
11382 eQMIWMSMessageProtocols mMode;
11383 };
11384
11385 // Structure to describe response TLV 0x01 for WMSGetDomainPreference()
11386 struct sWMSGetDomainPreferenceResponse_Pref
11387 {
11388 eQMIWMSGSMWCDMADomains mDomainPreference;
11389 };
11390
11391 // Structure to describe request TLV 0x01 for WMSSetDomainPreference()
11392 struct sWMSSetDomainPreferenceRequest_Pref
11393 {
11394 eQMIWMSGSMWCDMADomains mDomainPreference;
11395 };
11396
11397 // Structure to describe request TLV 0x01 for WMSSendFromMemoryStore()
11398 struct sWMSSendFromMemoryStoreRequest_Info
11399 {
11400 eQMIWMSStorageTypes mStorageType;
11401 UINT32 mStorageIndex;
11402 eQMIWMSMessageProtocols mMode;
11403 };
11404
11405 // Structure to describe request TLV 0x10 for WMSSendFromMemoryStore()
11406 struct sWMSSendFromMemoryStoreRequest_SMSOnIMS
11407 {
11408 INT8 mMessageToBeSentOnIMS;
11409 };
11410
11411 // Structure to describe response TLV 0x10 for WMSSendFromMemoryStore()
11412 struct sWMSSendFromMemoryStoreResponse_MessageID
11413 {
11414 UINT16 mMessageID;
11415 };
11416
11417 // Structure to describe response TLV 0x11 for WMSSendFromMemoryStore()
11418 struct sWMSSendFromMemoryStoreResponse_CauseCode
11419 {
11420 UINT16 mCauseCode;
11421 };
11422
11423 // Structure to describe response TLV 0x12 for WMSSendFromMemoryStore()
11424 struct sWMSSendFromMemoryStoreResponse_ErrorClass
11425 {
11426 eQMIWMSErrorClasses mErrorClass;
11427 };
11428
11429 // Structure to describe response TLV 0x13 for WMSSendFromMemoryStore()
11430 struct sWMSSendFromMemoryStoreResponse_CauseInfo
11431 {
11432 UINT16 mGSMWCDMARPCause;
11433 UINT8 mGSMWCDMATPCause;
11434 };
11435
11436 // Structure to describe response TLV 0x14 for WMSSendFromMemoryStore()
11437 struct sWMSSendFromMemoryStoreResponse_MessageDeliveryFailureType
11438 {
11439 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11440 };
11441
11442 // Structure to describe response TLV 0x01 for WMSGetWaitingMessage()
11443 struct sWMSGetWaitingMessageResponse_WaitingMessageInfo
11444 {
11445 UINT8 mNumberOfWaitingMessages;
11446 eQMIWMSWaitingMessageType mWaitingMessageType;
11447 INT8 mActiveIndication;
11448 UINT8 mMessageCount;
11449 };
11450
11451 // Structure to describe indication TLV 0x01 for WMS WaitingMessageIndication
11452 struct sWMSWaitingMessageIndication_WaitingMessageInfo
11453 {
11454 UINT8 mNumberOfWaitingMessages;
11455 eQMIWMSWaitingMessageType mWaitingMessageType;
11456 INT8 mActiveIndication;
11457 UINT8 mMessageCount;
11458 };
11459
11460 // Structure to describe request TLV 0x01 for WMSSetPrimaryClient()
11461 struct sWMSSetPrimaryClientRequest_PrimaryClientInfo
11462 {
11463 INT8 mPrimaryClient;
11464 };
11465
11466 // Structure to describe indication TLV 0x01 for WMS SMSCAddressIndication
11467 struct sWMSSMSCAddressIndication_Address
11468 {
11469 char mSMSCAddressType[3];
11470 UINT8 mSMSCAddressLength;
11471
11472 // This array must be the size specified by mSMSCAddressLength
11473 // char mSMSCAddress[1];
11474 };
11475
11476 // Structure to describe request TLV 0x10 for WMSIndicatorRegistration()
11477 struct sWMSIndicatorRegistrationRequest_TransportLayerInfoEvents
11478 {
11479 INT8 mTransportLayerInfoEvents;
11480 };
11481
11482 // Structure to describe request TLV 0x11 for WMSIndicatorRegistration()
11483 struct sWMSIndicatorRegistrationRequest_NetworkRegistrationInfoEvents
11484 {
11485 INT8 mNetworkRegistrationInfoEvents;
11486 };
11487
11488 // Structure to describe request TLV 0x12 for WMSIndicatorRegistration()
11489 struct sWMSIndicatorRegistrationRequest_CallStatusInfoEvents
11490 {
11491 INT8 mCallStatusInfoEvents;
11492 };
11493
11494 // Structure to describe request TLV 0x13 for WMSIndicatorRegistration()
11495 struct sWMSIndicatorRegistrationRequest_ServiceReadyEvents
11496 {
11497 INT8 mServiceReadyEvents;
11498 };
11499
11500 // Structure to describe request TLV 0x14 for WMSIndicatorRegistration()
11501 struct sWMSIndicatorRegistrationRequest_BroadcastConfigEvents
11502 {
11503 INT8 mBroadcastConfigEvents;
11504 };
11505
11506 // Structure to describe response TLV 0x10 for WMSGetTransportInfoLayer()
11507 struct sWMSGetTransportInfoLayerResponse_TransportLayerRegistrationInfo
11508 {
11509 INT8 mRegistered;
11510 };
11511
11512 // Structure to describe response TLV 0x11 for WMSGetTransportLayerInfo()
11513 struct sWMSGetTransportLayerInfoResponse_TransportLayerInfo
11514 {
11515 eQMIWMSTransportType mTransportType;
11516 eQMIWMSTransportCapability mTransportCapability;
11517 };
11518
11519 // Structure to describe indication TLV 0x01 for WMS TransportLayerInfoIndication
11520 struct sWMSTransportLayerInfoIndication_TransportLayerRegInfo
11521 {
11522 INT8 mRegistered;
11523 };
11524
11525 // Structure to describe indication TLV 0x10 for WMS TransportLayerInfoIndication
11526 struct sWMSTransportLayerInfoIndication_TransportLayerInfo
11527 {
11528 eQMIWMSTransportType mTransportType;
11529 eQMIWMSTransportCapability mTransportCapability;
11530 };
11531
11532 // Structure to describe response TLV 0x10 for WMSGetNetworkRegistrationInfo()
11533 struct sWMSGetNetworkRegistrationInfoResponse_NetworkRegistrationInfo
11534 {
11535 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
11536 };
11537
11538 // Structure to describe indication TLV 0x01 for WMS NetworkRegistrationInfoIndication
11539 struct sWMSNetworkRegistrationInfoIndication_NetworkRegistrationInfo
11540 {
11541 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
11542 };
11543
11544 // Structure to describe request TLV 0x01 for WMSBindSubscription()
11545 struct sWMSBindSubscriptionRequest_SubscriptionType
11546 {
11547 eQMIWMSSubscriptionType mSubscriptionType;
11548 };
11549
11550 // Structure to describe response TLV 0x10 for WMSGetIndicatorRegistration()
11551 struct sWMSGetIndicatorRegistrationResponse_TransportLayerInfoEvents
11552 {
11553 INT8 mTransportLayerInfoEvents;
11554 };
11555
11556 // Structure to describe response TLV 0x11 for WMSGetIndicatorRegistration()
11557 struct sWMSGetIndicatorRegistrationResponse_NetworkRegistrationInfoEvents
11558 {
11559 INT8 mNetworkRegistrationInfoEvents;
11560 };
11561
11562 // Structure to describe response TLV 0x12 for WMSGetIndicatorRegistration()
11563 struct sWMSGetIndicatorRegistrationResponse_CallStatusInfoEvents
11564 {
11565 INT8 mCallStatusInfoEvents;
11566 };
11567
11568 // Structure to describe response TLV 0x13 for WMSGetIndicatorRegistration()
11569 struct sWMSGetIndicatorRegistrationResponse_ServiceReadyEvents
11570 {
11571 INT8 mServiceReadyEvents;
11572 };
11573
11574 // Structure to describe response TLV 0x14 for WMSGetIndicatorRegistration()
11575 struct sWMSGetIndicatorRegistrationResponse_BroadcastConfigEvents
11576 {
11577 INT8 mBroadcastConfigEvents;
11578 };
11579
11580 // Structure to describe request TLV 0x01 for WMSGetSMSParameters()
11581 struct sWMSGetSMSParametersRequest_MessageMode
11582 {
11583 eQMIWMSSMSMessageMode mSMSMessageMode;
11584 };
11585
11586 // Structure to describe response TLV 0x10 for WMSGetSMSParameters()
11587 struct sWMSGetSMSParametersResponse_DestinationAddress
11588 {
11589 UINT8 mDestinationAddressLength;
11590
11591 // This array must be the size specified by mDestinationAddressLength
11592 // UINT8 mDestinationAddress[1];
11593 };
11594
11595 // Structure to describe response TLV 0x11 for WMSGetSMSParameters()
11596 struct sWMSGetSMSParametersResponse_ProtocolIdentifierData
11597 {
11598 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
11599 };
11600
11601 // Structure to describe response TLV 0x12 for WMSGetSMSParameters()
11602 struct sWMSGetSMSParametersResponse_DataCodingScheme
11603 {
11604 UINT8 mDataCodingScheme;
11605 };
11606
11607 // Structure to describe response TLV 0x13 for WMSGetSMSParameters()
11608 struct sWMSGetSMSParametersResponse_ValidityPeriod
11609 {
11610 UINT8 mValidityPeriod;
11611 };
11612
11613 // Structure to describe request TLV 0x01 for WMSSetSMSParameters()
11614 struct sWMSSetSMSParametersRequest_MessageMode
11615 {
11616 eQMIWMSSMSMessageMode mSMSMessageMode;
11617 };
11618
11619 // Structure to describe request TLV 0x10 for WMSSetSMSParameters()
11620 struct sWMSSetSMSParametersRequest_DestinationAddress
11621 {
11622 UINT8 mDestinationAddressLength;
11623
11624 // This array must be the size specified by mDestinationAddressLength
11625 // UINT8 mDestinationAddress[1];
11626 };
11627
11628 // Structure to describe request TLV 0x11 for WMSSetSMSParameters()
11629 struct sWMSSetSMSParametersRequest_ProtocolIdentifierData
11630 {
11631 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
11632 };
11633
11634 // Structure to describe request TLV 0x12 for WMSSetSMSParameters()
11635 struct sWMSSetSMSParametersRequest_DataCodingScheme
11636 {
11637 UINT8 mDataCodingScheme;
11638 };
11639
11640 // Structure to describe request TLV 0x13 for WMSSetSMSParameters()
11641 struct sWMSSetSMSParametersRequest_ValidityPeriod
11642 {
11643 UINT8 mValidityPeriod;
11644 };
11645
11646 // Structure to describe indication TLV 0x01 for WMS CallStatusIndication
11647 struct sWMSCallStatusIndication_SMSCallStatusInfo
11648 {
11649 eQMIWMSSMSCallStatus mSMSCallStatus;
11650 };
11651
11652 // Structure to describe response TLV 0x10 for WMSGetDomainPreferenceConfig()
11653 struct sWMSGetDomainPreferenceConfigResponse_LTEDomain
11654 {
11655 eQMIWMSLTEDomains mLTEDomainPreference;
11656 };
11657
11658 // Structure to describe response TLV 0x11 for WMSGetDomainPreferenceConfig()
11659 struct sWMSGetDomainPreferenceConfigResponse_GWDomain
11660 {
11661 eQMIWMSGSMWCDMADomains mDomainPreference;
11662 };
11663
11664 // Structure to describe response TLV 0x10 for WMSSetDomainPreferenceConfig()
11665 struct sWMSSetDomainPreferenceConfigResponse_LTEDomain
11666 {
11667 eQMIWMSLTEDomains mLTEDomainPreference;
11668 };
11669
11670 // Structure to describe response TLV 0x11 for WMSSetDomainPreferenceConfig()
11671 struct sWMSSetDomainPreferenceConfigResponse_GWDomain
11672 {
11673 eQMIWMSGSMWCDMADomains mDomainPreference;
11674 };
11675
11676 // Structure to describe response TLV 0x10 for WMSSetDomainPreferenceConfig()
11677 struct sWMSSetDomainPreferenceConfigResponse_LTEOutcome
11678 {
11679 UINT16 mLTEDomainPreferenceOutcome;
11680 };
11681
11682 // Structure to describe response TLV 0x11 for WMSSetDomainPreferenceConfig()
11683 struct sWMSSetDomainPreferenceConfigResponse_GWOutcome
11684 {
11685 UINT16 mGWDomainPreferenceOutcome;
11686 };
11687
11688 // Structure to describe response TLV 0x10 for WMSGetRetryPeriod()
11689 struct sWMSGetRetryPeriodResponse_RetryPeriod
11690 {
11691 UINT32 mRetryPeriodInSeconds;
11692 };
11693
11694 // Structure to describe response TLV 0x10 for WMSGetRetryInterval()
11695 struct sWMSGetRetryIntervalResponse_RetryInterval
11696 {
11697 UINT32 mRetryIntervalInSeconds;
11698 };
11699
11700 // Structure to describe response TLV 0x10 for WMSGetDCDisconnectTimer()
11701 struct sWMSGetDCDisconnectTimerResponse_DCDisconnectTimer
11702 {
11703 UINT32 mDCDisconnectTimerInSeconds;
11704 };
11705
11706 // Structure to describe response TLV 0x10 for WMSGetMemoryStatus()
11707 struct sWMSGetMemoryStatusResponse_MemoryStatus
11708 {
11709 INT8 mMemoryIsAvailable;
11710 };
11711
11712 // Structure to describe response TLV 0x10 for WMSGetPrimaryClient()
11713 struct sWMSGetPrimaryClientResponse_PrimaryClientInfo
11714 {
11715 INT8 mPrimaryClient;
11716 };
11717
11718 // Structure to describe response TLV 0x10 for WMSGetSubscriptionBinding()
11719 struct sWMSGetSubscriptionBindingResponse_SubscriptionType
11720 {
11721 eQMIWMSSubscriptionType mSubscriptionType;
11722 };
11723
11724 // Structure to describe request TLV 0x01 for WMSAsyncRawSend()
11725 struct sWMSAsyncRawSendRequest_MessageData
11726 {
11727 eQMIWMSMessageFormats mMessageFormat;
11728 UINT16 mRawMessageLength;
11729
11730 // This array must be the size specified by mRawMessageLength
11731 // UINT8 mRawMessage[1];
11732 };
11733
11734 // Structure to describe request TLV 0x10 for WMSAsyncRawSend()
11735 struct sWMSAsyncRawSendRequest_ForceOnDC
11736 {
11737 INT8 mForceSendOnDC;
11738 eQMIWMSCDMAServiceOptions mServiceOption;
11739 };
11740
11741 // Structure to describe request TLV 0x11 for WMSAsyncRawSend()
11742 struct sWMSAsyncRawSendRequest_FollowOnDC
11743 {
11744 INT8 mDoNotDisconnectDC;
11745 };
11746
11747 // Structure to describe request TLV 0x12 for WMSAsyncRawSend()
11748 struct sWMSAsyncRawSendRequest_LinkControl
11749 {
11750 UINT8 mLinkTimerInSeconds;
11751 };
11752
11753 // Structure to describe request TLV 0x13 for WMSAsyncRawSend()
11754 struct sWMSAsyncRawSendRequest_SMSOnIMS
11755 {
11756 INT8 mMessageToBeSentOnIMS;
11757 };
11758
11759 // Structure to describe request TLV 0x14 for WMSAsyncRawSend()
11760 struct sWMSAsyncRawSendRequest_RetryMessage
11761 {
11762 INT8 mMessageIsARetry;
11763 };
11764
11765 // Structure to describe request TLV 0x15 for WMSAsyncRawSend()
11766 struct sWMSAsyncRawSendRequest_RetryMessageID
11767 {
11768 UINT32 mMessageRetryID;
11769 };
11770
11771 // Structure to describe request TLV 0x16 for WMSAsyncRawSend()
11772 struct sWMSAsyncRawSendRequest_UserData
11773 {
11774 UINT32 mUserData;
11775 };
11776
11777 // Structure to describe indication TLV 0x01 for WMS AsyncRawSendIndication
11778 struct sWMSAsyncRawSendIndication_Status
11779 {
11780 eQMIErrors mQMIError;
11781 };
11782
11783 // Structure to describe indication TLV 0x10 for WMS AsyncRawSendIndication
11784 struct sWMSAsyncRawSendIndication_MessageID
11785 {
11786 UINT16 mMessageID;
11787 };
11788
11789 // Structure to describe indication TLV 0x11 for WMS AsyncRawSendIndication
11790 struct sWMSAsyncRawSendIndication_CauseCode
11791 {
11792 UINT16 mCauseCode;
11793 };
11794
11795 // Structure to describe indication TLV 0x12 for WMS AsyncRawSendIndication
11796 struct sWMSAsyncRawSendIndication_ErrorClass
11797 {
11798 eQMIWMSErrorClasses mErrorClass;
11799 };
11800
11801 // Structure to describe indication TLV 0x13 for WMS AsyncRawSendIndication
11802 struct sWMSAsyncRawSendIndication_CauseInfo
11803 {
11804 UINT16 mGSMWCDMARPCause;
11805 UINT8 mGSMWCDMATPCause;
11806 };
11807
11808 // Structure to describe indication TLV 0x14 for WMS AsyncRawSendIndication
11809 struct sWMSAsyncRawSendIndication_MessageDeliveryFailureType
11810 {
11811 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11812 };
11813
11814 // Structure to describe indication TLV 0x15 for WMS AsyncRawSendIndication
11815 struct sWMSAsyncRawSendIndication_MessageDeliveryFailureCause
11816 {
11817 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11818 };
11819
11820 // Structure to describe indication TLV 0x16 for WMS AsyncRawSendIndication
11821 struct sWMSAsyncRawSendIndication_CallControlModifiedInfo
11822 {
11823 UINT8 mAlphaIDLength;
11824
11825 // This array must be the size specified by mAlphaIDLength
11826 // UINT8 mAlphaID[1];
11827 };
11828
11829 // Structure to describe indication TLV 0x17 for WMS AsyncRawSendIndication
11830 struct sWMSAsyncRawSendIndication_UserData
11831 {
11832 UINT32 mUserData;
11833 };
11834
11835 // Structure to describe request TLV 0x01 for WMSAsyncSendACK()
11836 struct sWMSAsyncSendACKRequest_ACK
11837 {
11838 UINT32 mTransactionID;
11839 eQMIWMSMessageProtocols mMode;
11840 INT8 mProcessedSuccessfully;
11841 };
11842
11843 // Structure to describe request TLV 0x10 for WMSAysncSendACK()
11844 struct sWMSAysncSendACKRequest_3GPP2FailureInfo
11845 {
11846 eQMIWMSErrorClasses2 mErrorClass;
11847 UINT8 mTransportLayerStatus;
11848 };
11849
11850 // Structure to describe request TLV 0x11 for WMSAsyncSendACK()
11851 struct sWMSAsyncSendACKRequest_3GPPFailureInfo
11852 {
11853 UINT8 mGSMWCDMARPCause;
11854 UINT8 mGSMWCDMATPCause;
11855 };
11856
11857 // Structure to describe request TLV 0x12 for WMSAsyncSendACK()
11858 struct sWMSAsyncSendACKRequest_SMSOnIMS
11859 {
11860 INT8 mACKToBeSentOnIMS;
11861 };
11862
11863 // Structure to describe request TLV 0x13 for WMSAsyncSendACK()
11864 struct sWMSAsyncSendACKRequest_UserData
11865 {
11866 UINT32 mUserData;
11867 };
11868
11869 // Structure to describe indication TLV 0x01 for WMS AsyncSendACKIndication
11870 struct sWMSAsyncSendACKIndication_Status
11871 {
11872 eQMIErrors mQMIError;
11873 };
11874
11875 // Structure to describe indication TLV 0x10 for WMS AsyncSendACKIndication
11876 struct sWMSAsyncSendACKIndication_ACKFailureCause
11877 {
11878 eQMIWMSACKFailureCause mACKFailureCause;
11879 };
11880
11881 // Structure to describe indication TLV 0x11 for WMS AsyncSendACKIndication
11882 struct sWMSAsyncSendACKIndication_UserData
11883 {
11884 UINT32 mUserData;
11885 };
11886
11887 // Structure to describe request TLV 0x01 for WMSAsyncSendFromMemoryStore()
11888 struct sWMSAsyncSendFromMemoryStoreRequest_Info
11889 {
11890 eQMIWMSStorageTypes mStorageType;
11891 UINT32 mStorageIndex;
11892 eQMIWMSMessageProtocols mMode;
11893 };
11894
11895 // Structure to describe request TLV 0x10 for WMSAsyncSendFromMemoryStore()
11896 struct sWMSAsyncSendFromMemoryStoreRequest_SMSOnIMS
11897 {
11898 INT8 mMessageToBeSentOnIMS;
11899 };
11900
11901 // Structure to describe request TLV 0x11 for WMSAsyncSendFromMemoryStore()
11902 struct sWMSAsyncSendFromMemoryStoreRequest_UserData
11903 {
11904 UINT32 mUserData;
11905 };
11906
11907 // Structure to describe indication TLV 0x01 for WMS AsyncSendFromMemoryStoreIndication
11908 struct sWMSAsyncSendFromMemoryStoreIndication_Status
11909 {
11910 eQMIErrors mQMIError;
11911 };
11912
11913 // Structure to describe indication TLV 0x10 for WMS AsyncSendFromMemoryStoreIndication
11914 struct sWMSAsyncSendFromMemoryStoreIndication_MessageID
11915 {
11916 UINT16 mMessageID;
11917 };
11918
11919 // Structure to describe indication TLV 0x11 for WMS AsyncSendFromMemoryStoreIndication
11920 struct sWMSAsyncSendFromMemoryStoreIndication_CauseCode
11921 {
11922 UINT16 mCauseCode;
11923 };
11924
11925 // Structure to describe indication TLV 0x12 for WMS AsyncSendFromMemoryStoreIndication
11926 struct sWMSAsyncSendFromMemoryStoreIndication_ErrorClass
11927 {
11928 eQMIWMSErrorClasses mErrorClass;
11929 };
11930
11931 // Structure to describe indication TLV 0x13 for WMS AsyncSendFromMemoryStoreIndication
11932 struct sWMSAsyncSendFromMemoryStoreIndication_CauseInfo
11933 {
11934 UINT16 mGSMWCDMARPCause;
11935 UINT8 mGSMWCDMATPCause;
11936 };
11937
11938 // Structure to describe indication TLV 0x14 for WMS AsyncSendFromMemoryStoreIndication
11939 struct sWMSAsyncSendFromMemoryStoreIndication_MessageDeliveryFailureType
11940 {
11941 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11942 };
11943
11944 // Structure to describe indication TLV 0x15 for WMS AsyncSendFromMemoryStoreIndication
11945 struct sWMSAsyncSendFromMemoryStoreIndication_MessageDeliveryFailureCause
11946 {
11947 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11948 };
11949
11950 // Structure to describe indication TLV 0x16 for WMS AsyncSendFromMemoryStoreIndication
11951 struct sWMSAsyncSendFromMemoryStoreIndication_CallControlModifiedInfo
11952 {
11953 UINT8 mAlphaIDLength;
11954
11955 // This array must be the size specified by mAlphaIDLength
11956 // UINT8 mAlphaID[1];
11957 };
11958
11959 // Structure to describe indication TLV 0x17 for WMS AsyncSendFromMemoryStoreIndication
11960 struct sWMSAsyncSendFromMemoryStoreIndication_UserData
11961 {
11962 UINT32 mUserData;
11963 };
11964
11965 // Structure to describe response TLV 0x10 for WMSGetServiceReadyStatus()
11966 struct sWMSGetServiceReadyStatusResponse_ServiceReadyEvents
11967 {
11968 INT8 mServiceReadyEvents;
11969 };
11970
11971 // Structure to describe response TLV 0x11 for WMSGetServiceReadyStatus()
11972 struct sWMSGetServiceReadyStatusResponse_ServiceReadyStatus
11973 {
11974 eQMIWMSServiceReadyStatus mReadyStatus;
11975 };
11976
11977 // Structure to describe indication TLV 0x01 for WMS ServiceReadyStatusIndication
11978 struct sWMSServiceReadyStatusIndication_ServiceReadyStatus
11979 {
11980 eQMIWMSServiceReadyStatus mReadyStatus;
11981 };
11982
11983 // Structure to describe indication TLV 0x01 for WMS BroadcastConfigIndication
11984 struct sWMSBroadcastConfigIndication_Mode
11985 {
11986 eQMIWMSMessageProtocols mMode;
11987 };
11988
11989 // Structure to describe indication TLV 0x10 for WMS BroadcastConfigIndication
11990 struct sWMSBroadcastConfigIndication_3GPPInfo
11991 {
11992 INT8 mActivated;
11993 UINT16 mNumberOfInstances;
11994
11995 struct sInstance
11996 {
11997 UINT16 mMessageIDStart;
11998 UINT16 mMessageIDEnd;
11999 INT8 mSelected;
12000 };
12001
12002 // This array must be the size specified by mNumberOfInstances
12003 // sInstance mInstances[1];
12004 };
12005
12006 // Structure to describe indication TLV 0x11 for WMS BroadcastConfigIndication
12007 struct sWMSBroadcastConfigIndication_3GPP2Info
12008 {
12009 INT8 mActivated;
12010 UINT16 mNumberOfInstances;
12011
12012 struct sInstance
12013 {
12014 UINT16 mServiceCategory;
12015 eQMIWMSLanguage mLanguage;
12016 INT8 mSelected;
12017 };
12018
12019 // This array must be the size specified by mNumberOfInstances
12020 // sInstance mInstances[1];
12021 };
12022
12023 // Structure to describe request TLV 0x10 for PDSSetEventReport()
12024 struct sPDSSetEventReportRequest_NMEAIndicator
12025 {
12026 INT8 mReportNMEASentences;
12027 };
12028
12029 // Structure to describe request TLV 0x11 for PDSSetEventReport()
12030 struct sPDSSetEventReportRequest_ModeIndicator
12031 {
12032 INT8 mReportNMEASentencesPlusMode;
12033 };
12034
12035 // Structure to describe request TLV 0x12 for PDSSetEventReport()
12036 struct sPDSSetEventReportRequest_RawIndicator
12037 {
12038 INT8 mReportRawPositionData;
12039 };
12040
12041 // Structure to describe request TLV 0x13 for PDSSetEventReport()
12042 struct sPDSSetEventReportRequest_XTRARequestIndicator
12043 {
12044 INT8 mReportExternalXTRADataRequests;
12045 };
12046
12047 // Structure to describe request TLV 0x14 for PDSSetEventReport()
12048 struct sPDSSetEventReportRequest_TimeInjectionIndicator
12049 {
12050 INT8 mReportExternalTimeInjections;
12051 };
12052
12053 // Structure to describe request TLV 0x15 for PDSSetEventReport()
12054 struct sPDSSetEventReportRequest_WiFiIndicator
12055 {
12056 INT8 mReportExternalWiFiRequests;
12057 };
12058
12059 // Structure to describe request TLV 0x16 for PDSSetEventReport()
12060 struct sPDSSetEventReportRequest_SatelliteIndicator
12061 {
12062 INT8 mReportSatelliteInfo;
12063 };
12064
12065 // Structure to describe request TLV 0x17 for PDSSetEventReport()
12066 struct sPDSSetEventReportRequest_VXNetworkIndicator
12067 {
12068 INT8 mReportVXNetworkInitiatedPrompts;
12069 };
12070
12071 // Structure to describe request TLV 0x18 for PDSSetEventReport()
12072 struct sPDSSetEventReportRequest_SUPLNetworkIndicator
12073 {
12074 INT8 mReportSUPLNetworkInitiatedPrompts;
12075 };
12076
12077 // Structure to describe request TLV 0x19 for PDSSetEventReport()
12078 struct sPDSSetEventReportRequest_UMTSCPNetworkIndicator
12079 {
12080 INT8 mReportUMTSCPNetworkInitiatedPrompts;
12081 };
12082
12083 // Structure to describe request TLV 0x1A for PDSSetEventReport()
12084 struct sPDSSetEventReportRequest_PDSCommIndicator
12085 {
12086 INT8 mReportPDSCommEvents;
12087 };
12088
12089 // Structure to describe request TLV 0x1B for PDSSetEventReport()
12090 struct sPDSSetEventReportRequest_AccelerometerDataIndicator
12091 {
12092 INT8 mReportAccelerometerDataStatus;
12093 };
12094
12095 // Structure to describe request TLV 0x1C for PDSSetEventReport()
12096 struct sPDSSetEventReportRequest_GyroDataIndicator
12097 {
12098 INT8 mReportGyroDataStatus;
12099 };
12100
12101 // Structure to describe request TLV 0x1D for PDSSetEventReport()
12102 struct sPDSSetEventReportRequest_TimeSyncIndication
12103 {
12104 INT8 mReportTimeSyncRequest;
12105 };
12106
12107 // Structure to describe request TLV 0x1E for PDSSetEventReport()
12108 struct sPDSSetEventReportRequest_PositionReliablilityIndicator
12109 {
12110 INT8 mReportPositionReliability;
12111 };
12112
12113 // Structure to describe request TLV 0x1F for PDSSetEventReport()
12114 struct sPDSSetEventReportRequest_SensorDataUsageIndicator
12115 {
12116 INT8 mReportSensorDataUsage;
12117 };
12118
12119 // Structure to describe request TLV 0x20 for PDSSetEventReport()
12120 struct sPDSSetEventReportRequest_TimeSourceInformationIndicator
12121 {
12122 INT8 mReportTimeSourceInformation;
12123 };
12124
12125 // Structure to describe request TLV 0x21 for PDSSetEventReport()
12126 struct sPDSSetEventReportRequest_HeadingUncertaintyIndicator
12127 {
12128 INT8 mReportHeadingUncertaintyInformation;
12129 };
12130
12131 // Structure to describe request TLV 0x22 for PDSSetEventReport()
12132 struct sPDSSetEventReportRequest_NMEADebugStringIndicator
12133 {
12134 INT8 mReportNMEADebugStrings;
12135 };
12136
12137 // Structure to describe request TLV 0x23 for PDSSetEventReport()
12138 struct sPDSSetEventReportRequest_ExternalXTRADataIndicator
12139 {
12140 INT8 mReportExtendedXTRAData;
12141 };
12142
12143 // Structure to describe request TLV 0x24 for PDSSetEventReport()
12144 struct sPDSSetEventReportRequest_ServiceResetStatus
12145 {
12146 INT8 mReportServiceResetStatus;
12147 };
12148
12149 // Structure to describe indication TLV 0x10 for PDS EventReport
12150 struct sPDSEventReportIndication_NMEASentence
12151 {
12152 // String is variable length, but must be size of the container
12153 // char mNMEASentence[1];
12154 };
12155
12156 // Structure to describe indication TLV 0x11 for PDS EventReport
12157 struct sPDSEventReportIndication_NMEASentencePlusMode
12158 {
12159 eQMIPDSNMEASentenceOperatingModes mNMEASentenceOperatingMode;
12160 UINT16 mNMEASentenceLength;
12161
12162 // This array must be the size specified by mNMEASentenceLength
12163 // char mNMEASentence[1];
12164 };
12165
12166 // Structure to describe indication TLV 0x12 for PDS EventReport
12167 struct sPDSEventReportIndication_PositionSessionStatus
12168 {
12169 eQMIPDSSessionStatus mSessionStatus;
12170 };
12171
12172 // Structure to describe indication TLV 0x13 for PDS EventReport
12173 struct sPDSEventReportIndication_ParsedPositionData
12174 {
12175 bool mTimestampCalendarValid:1;
12176 bool mTimestampUTCValid:1;
12177 bool mLeapSecondsValid:1;
12178 bool mTimeUncertaintyValid:1;
12179 bool mLatitudeValid:1;
12180 bool mLongitudeValid:1;
12181 bool mEllipsoidAltitudeValid:1;
12182 bool mMeanSeaLevelAltitudeValid:1;
12183 bool mHorizontalSpeedValid:1;
12184 bool mVerticalSpeedValid:1;
12185 bool mHeadingValid:1;
12186 bool mHorizontalUncertaintyCircularValid:1;
12187 bool mHorizontalUncertaintyEllipseSemiMajorValid:1;
12188 bool mHorizontalUncertaintyEllipseSemiMinorValid:1;
12189 bool mHorizontalUncertaintyEllipseOrientAzimuthValid:1;
12190 bool mVerticalUncertaintyValid:1;
12191 bool mHorizontalVelocityUncertaintyValid:1;
12192 bool mVerticalVelocityUncertaintyValid:1;
12193 bool mHorizontalConfidenceValid:1;
12194 bool mPositionDOPValid:1;
12195 bool mHorizontalDOPValid:1;
12196 bool mVerticalDOPValid:1;
12197 bool mOperatingModeUsedValid:1;
12198
12199 // Padding out 9 bits
12200 UINT8 mReserved1:1;
12201 UINT8 mReserved2;
12202
12203 UINT16 mCalendarYear;
12204 eQMIPDSCalendarMonths mCalendarMonth;
12205 eQMIPDSCalendarDays mCalendarDay;
12206 UINT8 mCalendarDayOfMonth;
12207 UINT8 mCalendarHour;
12208 UINT8 mCalendarMinute;
12209 UINT8 mCalendarSecond;
12210 UINT16 mCalendarMillisecond;
12211 UINT8 mCalendarLeapSeconds;
12212 UINT64 mUTCTimestamp;
12213 UINT32 mUTCTimestampUncertainty;
12214 double mLatitude;
12215 double mLongitude;
12216 float mEllipsoidAltitude;
12217 float mMeanSeaLevelAltitude;
12218 float mHorizontalSpeed;
12219 float mVerticalSpeed;
12220 float mHeading;
12221 float mHorizontalUncertaintyCircular;
12222 float mHorizontalUncertaintyEllipseSemiMajor;
12223 float mHorizontalUncertaintyEllipseSemiMinor;
12224 float mHorizontalUncertaintyEllipseOrientAzimuth;
12225 float mVerticalUncertainty;
12226 float mHorizontalVelocityUncertainty;
12227 float mVerticalVelocityUncertainty;
12228 UINT8 mHorizontalConfidence;
12229 float mPositionDOP;
12230 float mHorizontalDOP;
12231 float mVerticalDOP;
12232 eQMIPDSNMEASentenceOperatingModes mOperatingMode;
12233 };
12234
12235 // Structure to describe indication TLV 0x14 for PDS EventReport
12236 struct sPDSEventReportIndication_ExternalXTRARequest
12237 {
12238 UINT16 mMaximumFileSize;
12239 UINT8 mURLRecordCount;
12240
12241 struct sURL
12242 {
12243 UINT8 mURLLength;
12244
12245 // This array must be the size specified by mURLLength
12246 // char mURL[1];
12247 };
12248
12249 // This array must be the size specified by mURLRecordCount
12250 // sURL mURLs[1];
12251 };
12252
12253 // Structure to describe indication TLV 0x15 for PDS EventReport
12254 struct sPDSEventReportIndication_ExternalTimeInjectionRequest
12255 {
12256 UINT32 mDelayThresholdMilliseconds;
12257 UINT8 mURLRecordCount;
12258
12259 struct sURL
12260 {
12261 UINT8 mURLLength;
12262
12263 // This array must be the size specified by mURLLength
12264 // char mURL[1];
12265 };
12266
12267 // This array must be the size specified by mURLRecordCount
12268 // sURL mURLs[1];
12269 };
12270
12271 // Structure to describe indication TLV 0x16 for PDS EventReport
12272 struct sPDSEventReportIndication_ExternalWiFiPositionRequest
12273 {
12274 eQMIPDSWiFiRequestTypes mWiFiRequestType;
12275 UINT16 mWiFiRequestTimeBetweenFixesMilliseconds;
12276 };
12277
12278 // Structure to describe indication TLV 0x17 for PDS EventReport
12279 struct sPDSEventReportIndication_SatelliteInfo
12280 {
12281 bool mIonoValid:1;
12282 bool mSatelliteCountValid:1;
12283 bool mSatelliteListValid:1;
12284
12285 // Padding out 29 bits
12286 UINT8 mReserved1:5;
12287 UINT8 mReserved2[3];
12288
12289 INT8 mIonosphericCorrections;
12290 UINT8 mSVRecordCount;
12291
12292 struct sSV
12293 {
12294 bool mSystemValid:1;
12295 bool mPRNValid:1;
12296 bool mHealthStatusValid:1;
12297 bool mProcessStatusValid:1;
12298 bool mEphemerisStateValid:1;
12299 bool mAlmanacStateValid:1;
12300 bool mElevationValid:1;
12301 bool mAzimuthValid:1;
12302 bool mCN0Valid:1;
12303
12304 // Padding out 23 bits
12305 UINT8 mReserved3:7;
12306 UINT8 mReserved4[2];
12307
12308 eQMIPDSSVSystems mSystem;
12309 UINT8 mPRN;
12310 eQMIPDSSVHealthStatus mHealthLevel;
12311 eQMIPDSSVProcessingStatus mProcessingStatus;
12312 eQMIPDSSVEphemerisStatus mEphemerisState;
12313 eQMIPDSSVAlmanacStatus mAlmanacState;
12314 INT32 mElevation;
12315 UINT16 mAzimuth;
12316 UINT16 mCN0;
12317 };
12318
12319 // This array must be the size specified by mSVRecordCount
12320 // sSV mSVs[1];
12321 };
12322
12323 // Structure to describe indication TLV 0x18 for PDS EventReport
12324 struct sPDSEventReportIndication_VXNetworkInitiatedPrompt
12325 {
12326 bool mPrivacyValid:1;
12327 bool mQoSValid:1;
12328 bool mCountValid:1;
12329 bool mIntervalValid:1;
12330 bool mModeValid:1;
12331 bool mRequestorIDValid:1;
12332
12333 // Padding out 26 bits
12334 UINT8 mReserved1:2;
12335 UINT8 mReserved2[3];
12336
12337 eQMIPDSPrivacyModes mPrivacy;
12338 UINT8 mQoS;
12339 UINT32 mPositionCount;
12340 UINT32 mIntervalBetweenFixesSeconds;
12341 eQMIPDSVXModes mMode;
12342 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
12343 UINT8 mRequestorIDLength;
12344
12345 // This array must be the size specified by mRequestorIDLength
12346 // UINT8 mRequestorID[1];
12347 };
12348
12349 // Structure to describe indication TLV 0x19 for PDS EventReport
12350 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1
12351 {
12352 bool mPrivacyValid:1;
12353 bool mINITHashValid:1;
12354 bool mModeValid:1;
12355 bool mSLPSessionIDValid:1;
12356 bool mSLPServerIPv4AddressValid:1;
12357 bool mSLPServerIPv6AddressValid:1;
12358 bool mSLPServerURLAddressValid:1;
12359 bool mDCSValid:1;
12360 bool mRequestorIDValid:1;
12361 bool mClientNameValid:1;
12362 bool mQoPHorizontalAccuracyValid:1;
12363 bool mQoPVerticalAccuracyValid:1;
12364 bool mQoPMaxLocationAgeValid:1;
12365 bool mQoPDelayValid:1;
12366
12367 // Padding out 18 bits
12368 UINT8 mReserved1:2;
12369 UINT8 mReserved2[2];
12370
12371 eQMIPDSPrivacyModes mPrivacy;
12372 UINT64 mINITHash;
12373 eQMIPDSSUPLModes mMode;
12374 UINT32 mSLPSessionID;
12375 UINT32 mSLPServerIPv4Port;
12376 UINT8 mSLPServerIPv4Address[4];
12377 UINT32 mSLPServerIPv6Port;
12378 UINT8 mSLPServerIPv6Address[16];
12379 UINT8 mSLPServerURLLength;
12380
12381 // This array must be the size specified by mSLPServerURLLength
12382 // char mSLPServerURLAddress[1];
12383 };
12384
12385 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2
12386 {
12387 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
12388 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
12389 UINT8 mRequestorIDLength;
12390
12391 // This array must be the size specified by mRequestorIDLength
12392 // UINT8 mRequestorID[1];
12393 };
12394
12395 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3
12396 {
12397 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
12398 UINT8 mClientNameLength;
12399
12400 // This array must be the size specified by mClientNameLength
12401 // UINT8 mClientName[1];
12402 };
12403
12404 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4
12405 {
12406 UINT8 mQoPHorizontalAccuracy;
12407 UINT8 mQoPVerticalAccuracy;
12408 UINT8 mQoPMaxLocationAge;
12409 UINT8 mQoPDelay;
12410 };
12411
12412 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt
12413 {
12414 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt1;
12415 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt2;
12416 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt3;
12417 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt4;
12418 };
12419
12420 // Structure to describe indication TLV 0x1A for PDS EventReport
12421 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1
12422 {
12423 bool mPrivacyValid:1;
12424 bool mInvokeIDValid:1;
12425 bool mNotificationTextValid:1;
12426 bool mClientAddressValid:1;
12427 bool mLocationTypeValid:1;
12428 bool mRequestorIDValid:1;
12429 bool mCodewordStringValid:1;
12430 bool mServiceTypeIDValid:1;
12431
12432 // Padding out 24 bits
12433 UINT8 mReserved1[3];
12434
12435 eQMIPDSPrivacyModes mPrivacy;
12436 UINT8 mInvokeID;
12437 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
12438 UINT8 mNotificationTextLength;
12439
12440 // This array must be the size specified by mNotificationTextLength
12441 // UINT8 mNotificationText[1];
12442 };
12443
12444 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2
12445 {
12446 UINT8 mClientAddressLength;
12447
12448 // This array must be the size specified by mClientAddressLength
12449 // char mClientAddress[1];
12450 };
12451
12452 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3
12453 {
12454 eQMIPDSUMTSCPLocationTypes mLocationType;
12455 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
12456 UINT8 mRequestorIDLength;
12457
12458 // This array must be the size specified by mRequestorIDLength
12459 // UINT8 mRequestorID[1];
12460 };
12461
12462 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4
12463 {
12464 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
12465 UINT8 mCodewordLength;
12466
12467 // This array must be the size specified by mCodewordLength
12468 // UINT8 mCodeword[1];
12469 };
12470
12471 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5
12472 {
12473 UINT8 mServiceTypeID;
12474 };
12475
12476 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt
12477 {
12478 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1;
12479 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2;
12480 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3;
12481 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4;
12482 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5;
12483 };
12484
12485 // Structure to describe indication TLV 0x1B for PDS EventReport
12486 struct sPDSEventReportIndication_CommEvents
12487 {
12488 eQMIPDSCommEventTypes mType;
12489 eQMIPDSCommEventProtocols mProtocolDataType;
12490 };
12491
12492 // Structure to describe indication TLV 0x1C for PDS EventReport
12493 struct sPDSEventReportIndication_PositionSource
12494 {
12495 bool mGPS:1;
12496 bool mCellID:1;
12497 bool mGlonass:1;
12498 bool mNetwork:1;
12499 bool mEPI:1;
12500
12501 // Padding out 27 bits
12502 UINT8 mReserved1:3;
12503 UINT8 mReserved2[3];
12504 };
12505
12506 // Structure to describe indication TLV 0x1D for PDS EventReport
12507 struct sPDSEventReportIndication_AccelerometerStreamingStatus
12508 {
12509 eQMIPDSStreamingStatus mAccelerometerStreamingStatus;
12510 };
12511
12512 // Structure to describe indication TLV 0x1E for PDS EventReport
12513 struct sPDSEventReportIndication_GyroStreamingStatus
12514 {
12515 eQMIPDSStreamingStatus mGyroStreamingStatus;
12516 };
12517
12518 // Structure to describe indication TLV 0x1F for PDS EventReport
12519 struct sPDSEventReportIndication_TimeSyncRequest
12520 {
12521 UINT32 mReferenceCounter;
12522 };
12523
12524 // Structure to describe indication TLV 0x20 for PDS EventReport
12525 struct sPDSEventReportIndication_PositionReliabilityCounter
12526 {
12527 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
12528 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
12529 };
12530
12531 // Structure to describe indication TLV 0x21 for PDS EventReport
12532 struct sPDSEventReportIndication_SensorDataUsage
12533 {
12534 bool mAccelerometer:1;
12535 bool mGyro:1;
12536
12537 // Padding out 14 bits
12538 UINT8 mReserved1:6;
12539 UINT8 mReserved2;
12540
12541 bool mHeadingAidedWithSensorData:1;
12542 bool mSpeedAidedWithSensorData:1;
12543 bool mPositionAidedWithSensorData:1;
12544 bool mVelocityAidedWithSensorData:1;
12545
12546 // Padding out 12 bits
12547 UINT8 mReserved3:4;
12548 UINT8 mReserved4;
12549 };
12550
12551 // Structure to describe indication TLV 0x22 for PDS EventReport
12552 struct sPDSEventReportIndication_TimeSourceInformation
12553 {
12554 INT8 mTimeValid;
12555 eQMIPDSTimeSource mTimeSource;
12556 UINT32 mTimeUncertaintyMilliseconds;
12557 UINT16 mGPSWeekNumber;
12558 UINT32 mGPSTimeOfWeekMilliseconds;
12559 UINT32 mReserved1;
12560 UINT32 mReserved2;
12561 UINT32 mReserved3;
12562 UINT32 mReserved4;
12563 UINT32 mReserved5;
12564 };
12565
12566 // Structure to describe indication TLV 0x23 for PDS EventReport
12567 struct sPDSEventReportIndication_EncryptedPositionInformation
12568 {
12569 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
12570 UINT8 mEncryptionDataLength;
12571
12572 // This array must be the size specified by mEncryptionDataLength
12573 // UINT8 mEncryptionData[1];
12574 };
12575
12576 // Structure to describe indication TLV 0x24 for PDS EventReport
12577 struct sPDSEventReportIndication_HeadingUncertaintyInformation
12578 {
12579 float mHeadingUncertainty;
12580 float mGNSSHeadingUncertainty;
12581 UINT32 mReserved1;
12582 UINT32 mReserved2;
12583 };
12584
12585 // Structure to describe indication TLV 0x25 for PDS EventReport
12586 struct sPDSEventReportIndication_ProprietaryNMEADebugSentences
12587 {
12588 // String is variable length, but must be size of the container
12589 // char mNMEADebug[1];
12590 };
12591
12592 // Structure to describe indication TLV 0x26 for PDS EventReport
12593 struct sPDSEventReportIndication_ExtendedExternalXTRADatabaseRequest
12594 {
12595 UINT32 mMaximumFileSize;
12596 UINT8 mURLCount;
12597 UINT8 mURLLength;
12598
12599 // This array must be the size specified by mURLLength
12600 // char mURL[1];
12601 };
12602
12603 // Structure to describe indication TLV 0x27 for PDS EventReport
12604 struct sPDSEventReportIndication_ServiceResetStatus
12605 {
12606 eQMIPDSResetStates mServiceResetStatus;
12607 };
12608
12609 // Structure to describe response TLV 0x01 for PDSGetServiceState()
12610 struct sPDSGetServiceStateResponse_State
12611 {
12612 INT8 mServiceEnabled;
12613 eQMIPDSTrackingSessionStates mTrackingSessionState;
12614 };
12615
12616 // Structure to describe indication TLV 0x01 for PDS ServiceStateIndication
12617 struct sPDSServiceStateIndication_State
12618 {
12619 INT8 mServiceEnabled;
12620 eQMIPDSTrackingSessionStates mTrackingSessionState;
12621 };
12622
12623 // Structure to describe request TLV 0x01 for PDSSetServiceState()
12624 struct sPDSSetServiceStateRequest_State
12625 {
12626 INT8 mServiceEnabled;
12627 };
12628
12629 // Structure to describe request TLV 0x01 for PDSStartTrackingSession()
12630 struct sPDSStartTrackingSessionRequest_Session
12631 {
12632 eQMIPDSSessionControlTypes mSessionControl;
12633 eQMIPDSSessionTypes mSessionType;
12634 eQMIPDSOperationTypes mSessionOperation;
12635 eQMIPDSServerOptions mServerOption;
12636 UINT8 mTimeoutSeconds;
12637 UINT32 mSessionFixRequests;
12638 UINT32 mFixRequestIntervalSeconds;
12639 UINT32 mDesiredAccuracyMeters;
12640 };
12641
12642 // Structure to describe response TLV 0x01 for PDSGetTrackingSessionInfo()
12643 struct sPDSGetTrackingSessionInfoResponse_Info
12644 {
12645 eQMIPDSSessionControlTypes mSessionControl;
12646 eQMIPDSSessionTypes mSessionType;
12647 eQMIPDSOperationTypes mSessionOperation;
12648 eQMIPDSServerOptions mServerOption;
12649 UINT8 mTimeoutSeconds;
12650 UINT32 mSessionFixRequests;
12651 UINT32 mFixRequestIntervalSeconds;
12652 UINT32 mDesiredAccuracyMeters;
12653 };
12654
12655 // Structure to describe response TLV 0x01 for PDSGetNMEAConfig()
12656 struct sPDSGetNMEAConfigResponse_Config
12657 {
12658 bool mGPGGANMEASentences:1;
12659 bool mGPRMCNMEASentences:1;
12660 bool mGPGSVNMEASentences:1;
12661 bool mGPGSANMEASentences:1;
12662 bool mGPVTGNMEASentences:1;
12663 bool mGLGSVNMEASentences:1;
12664 bool mGNGSANMEASentences:1;
12665 bool mGNGNSNMEASentences:1;
12666 eQMIPDSOutputDevices mOutputDevice;
12667 eQMIPDSNMEAReportingOptions mNMEAReporting;
12668 };
12669
12670 // Structure to describe response TLV 0x10 for PDSGetNMEAConfig()
12671 struct sPDSGetNMEAConfigResponse_AdditionalConfig
12672 {
12673 bool mPQXFI:1;
12674 bool mPSTIS:1;
12675
12676 // Padding out 14 bits
12677 UINT8 mReserved1:6;
12678 UINT8 mReserved2;
12679 };
12680
12681 // Structure to describe request TLV 0x01 for PDSSetNMEAConfig()
12682 struct sPDSSetNMEAConfigRequest_Config
12683 {
12684 bool mGPGGANMEASentences:1;
12685 bool mGPRMCNMEASentences:1;
12686 bool mGPGSVNMEASentences:1;
12687 bool mGPGSANMEASentences:1;
12688 bool mGPVTGNMEASentences:1;
12689 bool mGLGSVNMEASentences:1;
12690 bool mGNGSANMEASentences:1;
12691 bool mGNGNSNMEASentences:1;
12692 eQMIPDSOutputDevices mOutputDevice;
12693 eQMIPDSNMEAReportingOptions mNMEAReporting;
12694 };
12695
12696 // Structure to describe request TLV 0x10 for PDSSetNMEAConfig()
12697 struct sPDSSetNMEAConfigRequest_AdditionalConfig
12698 {
12699 bool mPQXFI:1;
12700 bool mPSTIS:1;
12701
12702 // Padding out 14 bits
12703 UINT8 mReserved1:6;
12704 UINT8 mReserved2;
12705 };
12706
12707 // Structure to describe request TLV 0x01 for PDSInjectTimeReference()
12708 struct sPDSInjectTimeReferenceRequest_Time
12709 {
12710 UINT64 mSystemTimeMilliseconds;
12711 UINT16 mSystemDiscontinuties;
12712 };
12713
12714 // Structure to describe response TLV 0x01 for PDSGetDefaults()
12715 struct sPDSGetDefaultsResponse_Defaults
12716 {
12717 eQMIPDSOperationTypes mSessionOperation;
12718 UINT8 mTimeoutSeconds;
12719 UINT32 mFixRequestIntervalSeconds;
12720 UINT32 mDesiredAccuracyMeters;
12721 };
12722
12723 // Structure to describe request TLV 0x01 for PDSSetDefaults()
12724 struct sPDSSetDefaultsRequest_Defaults
12725 {
12726 eQMIPDSOperationTypes mSessionOperation;
12727 UINT8 mTimeoutSeconds;
12728 UINT32 mFixRequestIntervalSeconds;
12729 UINT32 mDesiredAccuracyMeters;
12730 };
12731
12732 // Structure to describe response TLV 0x10 for PDSGetXTRAParameters()
12733 struct sPDSGetXTRAParametersResponse_Automatic
12734 {
12735 INT8 mAutomaticDownloadEnabled;
12736 UINT16 mDownloadIntervalInHours;
12737 };
12738
12739 // Structure to describe response TLV 0x11 for PDSGetXTRAParameters()
12740 struct sPDSGetXTRAParametersResponse_Medium
12741 {
12742 UINT8 mMediumPreferences;
12743
12744 // This array must be the size specified by mMediumPreferences
12745 // eQMIPDSMediums mMediumPreference[1];
12746 };
12747
12748 // Structure to describe response TLV 0x12 for PDSGetXTRAParameters()
12749 struct sPDSGetXTRAParametersResponse_Network
12750 {
12751 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
12752 };
12753
12754 // Structure to describe response TLV 0x13 for PDSGetXTRAParameters()
12755 struct sPDSGetXTRAParametersResponse_Validity
12756 {
12757 UINT16 mValidPeriodGPSStartWeek;
12758 UINT16 mValidPeriodGPSStartWeekOffsetInMinutes;
12759 UINT16 mValidPeriodDurationInHours;
12760 };
12761
12762 // Structure to describe response TLV 0x14 for PDSGetXTRAParameters()
12763 struct sPDSGetXTRAParametersResponse_Embedded
12764 {
12765 INT8 mEmbeddedXTRADataClientEnabled;
12766 INT8 mEmbeddedXTRATimeClientEnabled;
12767 };
12768
12769 // Structure to describe request TLV 0x10 for PDSSetXTRAParameters()
12770 struct sPDSSetXTRAParametersRequest_Automatic
12771 {
12772 INT8 mAutomaticDownloadEnabled;
12773 UINT16 mDownloadIntervalInHours;
12774 };
12775
12776 // Structure to describe request TLV 0x11 for PDSSetXTRAParameters()
12777 struct sPDSSetXTRAParametersRequest_Medium
12778 {
12779 UINT8 mMediumPreferences;
12780
12781 // This array must be the size specified by mMediumPreferences
12782 // eQMIPDSMediums mMediumPreference[1];
12783 };
12784
12785 // Structure to describe request TLV 0x12 for PDSSetXTRAParameters()
12786 struct sPDSSetXTRAParametersRequest_Network
12787 {
12788 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
12789 };
12790
12791 // Structure to describe request TLV 0x14 for PDSSetXTRAParameters()
12792 struct sPDSSetXTRAParametersRequest_Embedded
12793 {
12794 INT8 mEmbeddedXTRADataClientEnabled;
12795 INT8 mEmbeddedXTRATimeClientEnabled;
12796 };
12797
12798 // Structure to describe request TLV 0x12 for PDSGetAGPSConfig()
12799 struct sPDSGetAGPSConfigRequest_NetworkMode
12800 {
12801 eQMIPDSNetworkMode mNetworkMode;
12802 };
12803
12804 // Structure to describe response TLV 0x10 for PDSGetAGPSConfig()
12805 struct sPDSGetAGPSConfigResponse_ServerAddress
12806 {
12807 UINT8 mServerAddress[4];
12808 UINT32 mServerPort;
12809 };
12810
12811 // Structure to describe response TLV 0x11 for PDSGetAGPSConfig()
12812 struct sPDSGetAGPSConfigResponse_ServerURL
12813 {
12814 UINT8 mURLLength;
12815
12816 // This array must be the size specified by mURLLength
12817 // char mURL[1];
12818 };
12819
12820 // Structure to describe request TLV 0x10 for PDSSetAGPSConfig()
12821 struct sPDSSetAGPSConfigRequest_Server
12822 {
12823 UINT8 mServerAddress[4];
12824 UINT32 mServerPort;
12825 };
12826
12827 // Structure to describe request TLV 0x11 for PDSSetAGPSConfig()
12828 struct sPDSSetAGPSConfigRequest_ServerURL
12829 {
12830 UINT8 mURLLength;
12831
12832 // This array must be the size specified by mURLLength
12833 // char mURL[1];
12834 };
12835
12836 // Structure to describe request TLV 0x12 for PDSSetAGPSConfig()
12837 struct sPDSSetAGPSConfigRequest_NetworkMode
12838 {
12839 eQMIPDSNetworkMode mNetworkMode;
12840 };
12841
12842 // Structure to describe response TLV 0x01 for PDSGetServiceAutoTrackingState()
12843 struct sPDSGetServiceAutoTrackingStateResponse_State
12844 {
12845 INT8 mAutoTrackingEnabled;
12846 };
12847
12848 // Structure to describe request TLV 0x01 for PDSSetServiceAutoTrackingState()
12849 struct sPDSSetServiceAutoTrackingStateRequest_State
12850 {
12851 INT8 mAutoTrackingEnabled;
12852 };
12853
12854 // Structure to describe response TLV 0x01 for PDSGetCOMPortAutoTrackingConfig()
12855 struct sPDSGetCOMPortAutoTrackingConfigResponse_Config
12856 {
12857 INT8 mAutoTrackingEnabled;
12858 };
12859
12860 // Structure to describe request TLV 0x01 for PDSSetCOMPortAutoTrackingConfig()
12861 struct sPDSSetCOMPortAutoTrackingConfigRequest_Config
12862 {
12863 INT8 mAutoTrackingEnabled;
12864 };
12865
12866 // Structure to describe request TLV 0x10 for PDSResetPDSData()
12867 struct sPDSResetPDSDataRequest_GPSData
12868 {
12869 bool mResetEPH:1;
12870 bool mResetALM:1;
12871 bool mResetPOS:1;
12872 bool mResetTIME:1;
12873 bool mResetIONO:1;
12874 bool mResetUTC:1;
12875 bool mResetHEALTH:1;
12876 bool mResetSVDIR:1;
12877 bool mResetSVSTEER:1;
12878 bool mResetSADATA:1;
12879 bool mResetRTI:1;
12880 bool mResetALMCORR:1;
12881 bool mResetFREQBIASEST:1;
12882
12883 // Padding out 19 bits
12884 UINT8 mReserved1:3;
12885 UINT8 mReserved2[2];
12886 };
12887
12888 // Structure to describe request TLV 0x11 for PDSResetPDSData()
12889 struct sPDSResetPDSDataRequest_CellData
12890 {
12891 bool mResetPOS:1;
12892 bool mResetLATESTGPSPOS:1;
12893 bool mResetOTAPOS:1;
12894 bool mResetEXTREFPOS:1;
12895 bool mResetTIMETAG:1;
12896 bool mResetCELLID:1;
12897 bool mResetCACHEDCELLID:1;
12898 bool mResetLASTSRVCELL:1;
12899 bool mResetCURSRVCELL:1;
12900 bool mResetNEIGHBORINFO:1;
12901
12902 // Padding out 22 bits
12903 UINT8 mReserved1:6;
12904 UINT8 mReserved2[2];
12905 };
12906
12907 // Structure to describe request TLV 0x10 for PDSSinglePositionFix()
12908 struct sPDSSinglePositionFixRequest_Mode
12909 {
12910 eQMIPDSOperationTypes mSessionOperation;
12911 };
12912
12913 // Structure to describe request TLV 0x11 for PDSSinglePositionFix()
12914 struct sPDSSinglePositionFixRequest_Timeout
12915 {
12916 UINT8 mTimeoutSeconds;
12917 };
12918
12919 // Structure to describe request TLV 0x12 for PDSSinglePositionFix()
12920 struct sPDSSinglePositionFixRequest_Accuracy
12921 {
12922 UINT32 mDesiredAccuracyMeters;
12923 };
12924
12925 // Structure to describe response TLV 0x01 for PDSGetServiceVersion()
12926 struct sPDSGetServiceVersionResponse_Version
12927 {
12928 UINT8 mServiceMajorVersion;
12929 UINT8 mServiceMinorVersion;
12930 };
12931
12932 // Structure to describe request TLV 0x01 for PDSInjectXTRAData()
12933 struct sPDSInjectXTRADataRequest_Data
12934 {
12935 UINT8 mSequenceNumber;
12936 UINT16 mTotalLength;
12937 UINT16 mSequenceLength;
12938
12939 // This array must be the size specified by mSequenceLength
12940 // UINT8 mData[1];
12941 };
12942
12943 // Structure to describe request TLV 0x10 for PDSInjectPositionData()
12944 struct sPDSInjectPositionDataRequest_Timestamp
12945 {
12946 UINT64 mUTCTimestamp;
12947 };
12948
12949 // Structure to describe request TLV 0x11 for PDSInjectPositionData()
12950 struct sPDSInjectPositionDataRequest_Latitude
12951 {
12952 double mLatitude;
12953 };
12954
12955 // Structure to describe request TLV 0x12 for PDSInjectPositionData()
12956 struct sPDSInjectPositionDataRequest_Longitude
12957 {
12958 double mLongitude;
12959 };
12960
12961 // Structure to describe request TLV 0x13 for PDSInjectPositionData()
12962 struct sPDSInjectPositionDataRequest_AltitudeEllipsoid
12963 {
12964 float mEllipsoidAltitude;
12965 };
12966
12967 // Structure to describe request TLV 0x14 for PDSInjectPositionData()
12968 struct sPDSInjectPositionDataRequest_AltitudeSeaLevel
12969 {
12970 float mMeanSeaLevelAltitude;
12971 };
12972
12973 // Structure to describe request TLV 0x15 for PDSInjectPositionData()
12974 struct sPDSInjectPositionDataRequest_HorizontalUncertainty
12975 {
12976 float mHorizontalUncertaintyCircular;
12977 };
12978
12979 // Structure to describe request TLV 0x16 for PDSInjectPositionData()
12980 struct sPDSInjectPositionDataRequest_VerticalUncertainty
12981 {
12982 float mVerticalUncertainty;
12983 };
12984
12985 // Structure to describe request TLV 0x17 for PDSInjectPositionData()
12986 struct sPDSInjectPositionDataRequest_HorizontalConfidence
12987 {
12988 UINT8 mHorizontalConfidence;
12989 };
12990
12991 // Structure to describe request TLV 0x18 for PDSInjectPositionData()
12992 struct sPDSInjectPositionDataRequest_VerticalConfidence
12993 {
12994 UINT8 mVerticalConfidence;
12995 };
12996
12997 // Structure to describe request TLV 0x19 for PDSInjectPositionData()
12998 struct sPDSInjectPositionDataRequest_Source
12999 {
13000 eQMIPDSInjectedPositionSources mSource;
13001 };
13002
13003 // Structure to describe request TLV 0x1A for PDSInjectPositionData()
13004 struct sPDSInjectPositionDataRequest_TimeType
13005 {
13006 eQMIPDSTimeType mTimeType;
13007 };
13008
13009 // Structure to describe request TLV 0x1B for PDSInjectPositionData()
13010 struct sPDSInjectPositionDataRequest_PositionReliability
13011 {
13012 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
13013 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
13014 };
13015
13016 // Structure to describe request TLV 0x1C for PDSInjectPositionData()
13017 struct sPDSInjectPositionDataRequest_AltitudeInformation
13018 {
13019 eQMIPDSAltitudeSource mAltitudeSource;
13020 eQMIPDSSourceLinkage mSourceLinkage;
13021 eQMIPDSUncertaintyCoverage mUncertaintyCoverage;
13022 };
13023
13024 // Structure to describe request TLV 0x10 for PDSInjectWiFiPositionData()
13025 struct sPDSInjectWiFiPositionDataRequest_Time
13026 {
13027 UINT32 mWiFiTimeCounterMilliseconds;
13028 };
13029
13030 // Structure to describe request TLV 0x11 for PDSInjectWiFiPositionData()
13031 struct sPDSInjectWiFiPositionDataRequest_Position
13032 {
13033 INT32 mWiFiLatitude;
13034 INT32 mWiFiLongitude;
13035 UINT16 mHEPEInMeters;
13036 UINT8 mAPCount;
13037 UINT8 mErrorCode;
13038 };
13039
13040 // Structure to describe request TLV 0x12 for PDSInjectWiFiPositionData()
13041 struct sPDSInjectWiFiPositionDataRequest_APInfo
13042 {
13043 UINT8 mAPCount;
13044
13045 struct sAP
13046 {
13047 UINT8 mMACAddress[6];
13048 UINT32 mRSSI;
13049 UINT16 mBeaconChannel;
13050 bool mUsedForPosition:1;
13051 bool mHiddenSSID:1;
13052 bool mEncryptionOn:1;
13053 bool mInfrastructureMode:1;
13054
13055 // Padding out 4 bits
13056 UINT8 mReserved1:4;
13057 };
13058
13059 // This array must be the size specified by mAPCount
13060 // sAP mAPs[1];
13061 };
13062
13063 // Structure to describe request TLV 0x13 for PDSInjectWiFiPositionData()
13064 struct sPDSInjectWiFiPositionDataRequest_PositionReliability
13065 {
13066 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
13067 };
13068
13069 // Structure to describe response TLV 0x10 for PDSGetSBASConfig()
13070 struct sPDSGetSBASConfigResponse_Config
13071 {
13072 eQMIPDSSBASStates mState;
13073 };
13074
13075 // Structure to describe request TLV 0x10 for PDSSetSBASConfig()
13076 struct sPDSSetSBASConfigRequest_Config
13077 {
13078 INT8 mEnableSBAS;
13079 };
13080
13081 // Structure to describe request TLV 0x01 for PDSSendNetworkInitiatedResponse()
13082 struct sPDSSendNetworkInitiatedResponseRequest_Action
13083 {
13084 INT8 mAllowRequest;
13085 };
13086
13087 // Structure to describe request TLV 0x10 for PDSSendNetworkInitiatedResponse()
13088 struct sPDSSendNetworkInitiatedResponseRequest_VX
13089 {
13090 bool mPrivacyValid:1;
13091 bool mQoSValid:1;
13092 bool mCountValid:1;
13093 bool mIntervalValid:1;
13094 bool mModeValid:1;
13095 bool mRequestorIDValid:1;
13096
13097 // Padding out 26 bits
13098 UINT8 mReserved1:2;
13099 UINT8 mReserved2[3];
13100
13101 eQMIPDSPrivacyModes mPrivacy;
13102 UINT8 mQoS;
13103 UINT32 mPositionCount;
13104 UINT32 mIntervalBetweenFixesSeconds;
13105 eQMIPDSVXModes mMode;
13106 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
13107 UINT8 mRequestorIDLength;
13108
13109 // This array must be the size specified by mRequestorIDLength
13110 // UINT8 mRequestorID[1];
13111 };
13112
13113 // Structure to describe request TLV 0x11 for PDSSendNetworkInitiatedResponse()
13114 struct sPDSSendNetworkInitiatedResponseRequest_SUPL1
13115 {
13116 bool mPrivacyValid:1;
13117 bool mINITHashValid:1;
13118 bool mModeValid:1;
13119 bool mSLPSessionIDValid:1;
13120 bool mSLPServerIPv4AddressValid:1;
13121 bool mSLPServerIPv6AddressValid:1;
13122 bool mSLPServerURLAddressValid:1;
13123 bool mDCSValid:1;
13124 bool mRequestorIDValid:1;
13125 bool mClientNameValid:1;
13126 bool mQoPHorizontalAccuracyValid:1;
13127 bool mQoPVerticalAccuracyValid:1;
13128 bool mQoPMaxLocationAgeValid:1;
13129 bool mQoPDelayValid:1;
13130
13131 // Padding out 18 bits
13132 UINT8 mReserved1:2;
13133 UINT8 mReserved2[2];
13134
13135 eQMIPDSPrivacyModes mPrivacy;
13136 UINT64 mINITHash;
13137 eQMIPDSSUPLModes mMode;
13138 UINT32 mSLPSessionID;
13139 UINT32 mSLPServerIPv4Port;
13140 UINT8 mSLPServerIPv4Address[4];
13141 UINT32 mSLPServerIPv6Port;
13142 UINT8 mSLPServerIPv6Address[16];
13143 UINT8 mSLPServerURLLength;
13144
13145 // This array must be the size specified by mSLPServerURLLength
13146 // char mSLPServerURLAddress[1];
13147 };
13148
13149 struct sPDSSendNetworkInitiatedResponseRequest_SUPL2
13150 {
13151 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
13152 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
13153 UINT8 mRequestorIDLength;
13154
13155 // This array must be the size specified by mRequestorIDLength
13156 // UINT8 mRequestorID[1];
13157 };
13158
13159 struct sPDSSendNetworkInitiatedResponseRequest_SUPL3
13160 {
13161 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
13162 UINT8 mClientNameLength;
13163
13164 // This array must be the size specified by mClientNameLength
13165 // UINT8 mClientName[1];
13166 };
13167
13168 struct sPDSSendNetworkInitiatedResponseRequest_SUPL4
13169 {
13170 UINT8 mQoPHorizontalAccuracy;
13171 UINT8 mQoPVerticalAccuracy;
13172 UINT8 mQoPMaxLocationAge;
13173 UINT8 mQoPDelay;
13174 };
13175
13176 struct sPDSSendNetworkInitiatedResponseRequest_SUPL
13177 {
13178 sPDSSendNetworkInitiatedResponseRequest_SUPL1 mPDSSendNetworkInitiatedResponseRequest_SUPL1;
13179 sPDSSendNetworkInitiatedResponseRequest_SUPL2 mPDSSendNetworkInitiatedResponseRequest_SUPL2;
13180 sPDSSendNetworkInitiatedResponseRequest_SUPL3 mPDSSendNetworkInitiatedResponseRequest_SUPL3;
13181 sPDSSendNetworkInitiatedResponseRequest_SUPL4 mPDSSendNetworkInitiatedResponseRequest_SUPL4;
13182 };
13183
13184 // Structure to describe request TLV 0x12 for PDSSendNetworkInitiatedResponse()
13185 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP1
13186 {
13187 bool mPrivacyValid:1;
13188 bool mInvokeIDValid:1;
13189 bool mNotificationTextValid:1;
13190 bool mClientAddressValid:1;
13191 bool mLocationTypeValid:1;
13192 bool mRequestorIDValid:1;
13193 bool mCodewordStringValid:1;
13194 bool mServiceTypeIDValid:1;
13195
13196 // Padding out 24 bits
13197 UINT8 mReserved1[3];
13198
13199 eQMIPDSPrivacyModes mPrivacy;
13200 UINT8 mInvokeID;
13201 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
13202 UINT8 mNotificationTextLength;
13203
13204 // This array must be the size specified by mNotificationTextLength
13205 // UINT8 mNotificationText[1];
13206 };
13207
13208 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP2
13209 {
13210 UINT8 mClientAddressLength;
13211
13212 // This array must be the size specified by mClientAddressLength
13213 // char mClientAddress[1];
13214 };
13215
13216 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP3
13217 {
13218 eQMIPDSUMTSCPLocationTypes mLocationType;
13219 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
13220 UINT8 mRequestorIDLength;
13221
13222 // This array must be the size specified by mRequestorIDLength
13223 // UINT8 mRequestorID[1];
13224 };
13225
13226 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP4
13227 {
13228 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
13229 UINT8 mCodewordLength;
13230
13231 // This array must be the size specified by mCodewordLength
13232 // UINT8 mCodeword[1];
13233 };
13234
13235 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP5
13236 {
13237 UINT8 mServiceTypeID;
13238 };
13239
13240 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP
13241 {
13242 sPDSSendNetworkInitiatedResponseRequest_UMTSCP1 mPDSSendNetworkInitiatedResponseRequest_UMTSCP1;
13243 sPDSSendNetworkInitiatedResponseRequest_UMTSCP2 mPDSSendNetworkInitiatedResponseRequest_UMTSCP2;
13244 sPDSSendNetworkInitiatedResponseRequest_UMTSCP3 mPDSSendNetworkInitiatedResponseRequest_UMTSCP3;
13245 sPDSSendNetworkInitiatedResponseRequest_UMTSCP4 mPDSSendNetworkInitiatedResponseRequest_UMTSCP4;
13246 sPDSSendNetworkInitiatedResponseRequest_UMTSCP5 mPDSSendNetworkInitiatedResponseRequest_UMTSCP5;
13247 };
13248
13249 // Structure to describe request TLV 0x01 for PDSInjectAbsoluteTime()
13250 struct sPDSInjectAbsoluteTimeRequest_Time
13251 {
13252 UINT64 mTimestampMilliseconds;
13253 UINT32 mTimeUncertaintyMilliseconds;
13254 eQMIPDSTimeBases mTimeBase;
13255 INT8 mForceAcceptance;
13256 };
13257
13258 // Structure to describe request TLV 0x01 for PDSInjectEFSData()
13259 struct sPDSInjectEFSDataRequest_DateFile1
13260 {
13261 UINT8 mFilenameLength;
13262
13263 // This array must be the size specified by mFilenameLength
13264 // char mFilename[1];
13265 };
13266
13267 struct sPDSInjectEFSDataRequest_DateFile2
13268 {
13269 eQMIPDSEFSFileOperations mFileOperation;
13270 UINT32 mDataLength;
13271 UINT8 mPartNumber;
13272 UINT8 mTotalParts;
13273
13274 // This array must be the size specified by mDataLength
13275 // UINT8 mData[1];
13276 };
13277
13278 struct sPDSInjectEFSDataRequest_DateFile
13279 {
13280 sPDSInjectEFSDataRequest_DateFile1 mPDSInjectEFSDataRequest_DateFile1;
13281 sPDSInjectEFSDataRequest_DateFile2 mPDSInjectEFSDataRequest_DateFile2;
13282 };
13283
13284 // Structure to describe response TLV 0x10 for PDSGetDPOConfig()
13285 struct sPDSGetDPOConfigResponse_Config
13286 {
13287 INT8 mDataPowerOptimizationEnabled;
13288 };
13289
13290 // Structure to describe request TLV 0x10 for PDSSetDPOConfig()
13291 struct sPDSSetDPOConfigRequest_Config
13292 {
13293 eQMIPDSConfig mConfiguration;
13294 };
13295
13296 // Structure to describe response TLV 0x10 for PDSGetODPConfig()
13297 struct sPDSGetODPConfigResponse_Config
13298 {
13299 eQMIPDSODPStates mOnDemandPositioning;
13300 };
13301
13302 // Structure to describe request TLV 0x10 for PDSSetODPConfig()
13303 struct sPDSSetODPConfigRequest_Config
13304 {
13305 eQMIPDSODPStates mOnDemandPositioning;
13306 };
13307
13308 // Structure to describe response TLV 0x10 for PDSGetGPSState()
13309 struct sPDSGetGPSStateResponse_State
13310 {
13311 INT8 mEngineEnabled;
13312 bool mPositionValid:1;
13313 bool mAltitudeVerticalUncertaintyValid:1;
13314 bool mTimeMillisecondsValid:1;
13315 bool mTimeWeekNumberValid:1;
13316 bool mTimeUncertaintyValid:1;
13317 bool mIonoValid:1;
13318 bool mGPSEphemerisValid:1;
13319 bool mGPSAlmanacValid:1;
13320 bool mGPSHealthValid:1;
13321 bool mGPSVisibleSVsValid:1;
13322 bool mGlonassEphemerisValid:1;
13323 bool mGlonassAlmanacValid:1;
13324 bool mGlonassHealthValid:1;
13325 bool mGlonassVisibleSVsValid:1;
13326 bool mSBASEphemerisValid:1;
13327 bool mSBASAlmanacValid:1;
13328 bool mSBASHealthValid:1;
13329 bool mSBASVisibleSVsValid:1;
13330 bool mXTRAInformationValid:1;
13331
13332 // Padding out 5 bits
13333 UINT8 mReserved1:5;
13334
13335 double mLatitude;
13336 double mLongitude;
13337 float mHorizontalUncertaintyCircular;
13338 float mEllipsoidAltitude;
13339 float mVerticalUncertainty;
13340 UINT32 mTimestampInTOWMilliseconds;
13341 UINT16 mGPSWeekNumber;
13342 UINT32 mTimeUncertaintyMilliseconds;
13343 INT8 mIonoIsValid;
13344 UINT32 mGPSEphemerisSVMask;
13345 UINT32 mGPSAlmanacSVMask;
13346 UINT32 mGPSHealthSVMask;
13347 UINT32 mGPSVisibleSVMask;
13348 UINT32 mGlonassEphemerisSVMask;
13349 UINT32 mGlonassAlmanacSVMask;
13350 UINT32 mGlonassHealthSVMask;
13351 UINT32 mGlonassVisibleSVMask;
13352 UINT32 mSBASEphemerisSVMask;
13353 UINT32 mSBASAlmanacSVMask;
13354 UINT32 mSBASHealthSVMask;
13355 UINT32 mSBASVisibleSVMask;
13356 UINT16 mXTRAGPSStartWeek;
13357 UINT16 mXTRAGPSStartMinutes;
13358 INT32 mElevation;
13359 };
13360
13361 // Structure to describe request TLV 0x01 for PDSSetPPMEventReport()
13362 struct sPDSSetPPMEventReportRequest_ReportPPMEvents
13363 {
13364 INT8 mReportPPMEvents;
13365 };
13366
13367 // Structure to describe request TLV 0x01 for PDSSetSPIStreamingReport()
13368 struct sPDSSetSPIStreamingReportRequest_ReportEvents
13369 {
13370 INT8 mReportSPIEvents;
13371 };
13372
13373 // Structure to describe indication TLV 0x10 for PDS SetSPIStreamingReportIndication
13374 struct sPDSSetSPIStreamingReportIndication_SPIStreamingRequest
13375 {
13376 INT8 mStreamSPIStatus;
13377 };
13378
13379 // Structure to describe request TLV 0x01 for PDSSetSPIStatus()
13380 struct sPDSSetSPIStatusRequest_Status
13381 {
13382 eQMIPDSSPIState mSPIState;
13383 UINT8 mSPIConfidence;
13384 };
13385
13386 // Structure to describe request TLV 0x01 for PDSSetPPMReportingState()
13387 struct sPDSSetPPMReportingStateRequest_PPMReportingState
13388 {
13389 eQMIPDSReportingState mReportingState;
13390 UINT16 mReportingPeriodSeconds;
13391 };
13392
13393 // Structure to describe indication TLV 0x10 for PDS SetPPMReportingStateIndication
13394 struct sPDSSetPPMReportingStateIndication_PPMPageReport
13395 {
13396 UINT32 mPageTimeMilliseconds;
13397 UINT16 mPagePNOffset;
13398 UINT8 mPageBandClass;
13399 UINT16 mPageCDMAFrequency;
13400 UINT16 mPageBaseID;
13401 UINT16 mPageSystemID;
13402 UINT16 mPageNetworkID;
13403 };
13404
13405 // Structure to describe indication TLV 0x11 for PDS SetPPMReportingStateIndication
13406 struct sPDSSetPPMReportingStateIndication_PPMMeasurementReport
13407 {
13408 UINT32 mReferenceTimeMilliseconds;
13409 UINT8 mReferenceBandClass;
13410 UINT16 mReferenceCDMAFrequency;
13411 UINT8 mReferenceTotalRXPower;
13412 UINT16 mReferencePNOffset;
13413 UINT8 mReferenceStrength;
13414 UINT8 mReferenceRMSErrorPhase;
13415 UINT8 mNumberOfPilots;
13416
13417 struct sPilot
13418 {
13419 UINT16 mPilotPNOffset;
13420 UINT8 mPilotStrength;
13421 UINT8 mPilotRMSErrorPhase;
13422 INT16 mPilotPhase;
13423 };
13424
13425 // This array must be the size specified by mNumberOfPilots
13426 // sPilot mPilots[1];
13427 };
13428
13429 // Structure to describe indication TLV 0x12 for PDS SetPPMReportingStateIndication
13430 struct sPDSSetPPMReportingStateIndication_PPMSuspendReason
13431 {
13432 eQMIPDSSuspendReason mSuspendReason;
13433 };
13434
13435 // Structure to describe indication TLV 0x13 for PDS SetPPMReportingStateIndication
13436 struct sPDSSetPPMReportingStateIndication_PPMStopReason
13437 {
13438 eQMIPDSStopReason mStopReason;
13439 };
13440
13441 // Structure to describe request TLV 0x01 for PDSForceReceiverOff()
13442 struct sPDSForceReceiverOffRequest_ForceReceiverOff
13443 {
13444 eQMIPDSForceReceiverOff mForceReceiverOff;
13445 };
13446
13447 // Structure to describe response TLV 0x10 for PDSGetPositionMethodsState()
13448 struct sPDSGetPositionMethodsStateResponse_XTRATime
13449 {
13450 eQMIPDSMethodStates mMethodState;
13451 };
13452
13453 // Structure to describe response TLV 0x11 for PDSGetPositionMethodsState()
13454 struct sPDSGetPositionMethodsStateResponse_XTRAData
13455 {
13456 eQMIPDSMethodStates mMethodState;
13457 };
13458
13459 // Structure to describe response TLV 0x12 for PDSGetPositionMethodsState()
13460 struct sPDSGetPositionMethodsStateResponse_WiFi
13461 {
13462 eQMIPDSMethodStates mMethodState;
13463 };
13464
13465 // Structure to describe request TLV 0x10 for PDSSetPositionMethodsState()
13466 struct sPDSSetPositionMethodsStateRequest_XTRATime
13467 {
13468 eQMIPDSMethodStates mMethodState;
13469 };
13470
13471 // Structure to describe request TLV 0x11 for PDSSetPositionMethodsState()
13472 struct sPDSSetPositionMethodsStateRequest_XTRAData
13473 {
13474 eQMIPDSMethodStates mMethodState;
13475 };
13476
13477 // Structure to describe request TLV 0x12 for PDSSetPositionMethodsState()
13478 struct sPDSSetPositionMethodsStateRequest_WiFi
13479 {
13480 eQMIPDSMethodStates mMethodState;
13481 };
13482
13483 // Structure to describe request TLV 0x10 for PDSInjectSensorData()
13484 struct sPDSInjectSensorDataRequest_3AxisAccelerometerData
13485 {
13486 UINT32 mSensorTimeOfFirstSampleMilliseconds;
13487 bool mSignReversalRequired:1;
13488
13489 // Padding out 7 bits
13490 UINT8 mReserved1:7;
13491
13492 UINT8 mNumberOfSamples;
13493
13494 struct sSample
13495 {
13496 UINT16 mSampleTimeOffsetMilliseconds;
13497 float mXAxisSample;
13498 float mYAxisSample;
13499 float mZAxisSample;
13500 };
13501
13502 // This array must be the size specified by mNumberOfSamples
13503 // sSample mSamples[1];
13504 };
13505
13506 // Structure to describe request TLV 0x11 for PDSInjectSensorData()
13507 struct sPDSInjectSensorDataRequest_3AxisGyroData
13508 {
13509 UINT32 mSensorTimeOfFirstSampleMilliseconds;
13510 bool mSignReversalRequired:1;
13511
13512 // Padding out 7 bits
13513 UINT8 mReserved1:7;
13514
13515 UINT8 mNumberOfSamples;
13516
13517 struct sSample
13518 {
13519 UINT16 mSampleTimeOffsetMilliseconds;
13520 float mXAxisSample;
13521 float mYAxisSample;
13522 float mZAxisSample;
13523 };
13524
13525 // This array must be the size specified by mNumberOfSamples
13526 // sSample mSamples[1];
13527 };
13528
13529 // Structure to describe response TLV 0x10 for PDSInjectSensorData()
13530 struct sPDSInjectSensorDataResponse_AccelerometerSampleSetCount
13531 {
13532 UINT8 mAccelerometerSampleSetCount;
13533 };
13534
13535 // Structure to describe response TLV 0x11 for PDSInjectSensorData()
13536 struct sPDSInjectSensorDataResponse_GyroSampleSetCount
13537 {
13538 UINT8 mGyroSampleSetCount;
13539 };
13540
13541 // Structure to describe request TLV 0x01 for PDSInjectTimeSyncData()
13542 struct sPDSInjectTimeSyncDataRequest_TimeTag
13543 {
13544 UINT32 mReferenceCounter;
13545 UINT32 mSensorProcessorRXTimeMilliseconds;
13546 UINT32 mSensorProcessorTXTimeMilliseconds;
13547 };
13548
13549 // Structure to describe response TLV 0x10 for PDSGetSensorConfig()
13550 struct sPDSGetSensorConfigResponse_CradleMountState
13551 {
13552 eQMIPDSCradleMountState mCradleMountState;
13553 UINT8 mCradleMountStateConfidence;
13554 };
13555
13556 // Structure to describe response TLV 0x11 for PDSGetSensorConfig()
13557 struct sPDSGetSensorConfigResponse_ExternalPowerSupplyState
13558 {
13559 eQMIPDSExternalPowerState mExternalPowerSupplyState;
13560 };
13561
13562 // Structure to describe request TLV 0x10 for PDSSetSensorConfig()
13563 struct sPDSSetSensorConfigRequest_CradleMountState
13564 {
13565 eQMIPDSCradleMountState mCradleMountState;
13566 UINT8 mCradleMountStateConfidence;
13567 };
13568
13569 // Structure to describe request TLV 0x11 for PDSSetSensorConfig()
13570 struct sPDSSetSensorConfigRequest_ExternalPowerState
13571 {
13572 eQMIPDSExternalPowerState mExternalPowerSupplyState;
13573 };
13574
13575 // Structure to describe response TLV 0x10 for PDSGetSensorNavigation()
13576 struct sPDSGetSensorNavigationResponse_GyroDataVariance
13577 {
13578 float mGyroDataVariance;
13579 };
13580
13581 // Structure to describe response TLV 0x11 for PDSGetSensorNavigation()
13582 struct sPDSGetSensorNavigationResponse_GyroBiasRandomWalk
13583 {
13584 float mGyroBiasRandomWalk;
13585 };
13586
13587 // Structure to describe response TLV 0x12 for PDSGetSensorNavigation()
13588 struct sPDSGetSensorNavigationResponse_VirtualGyroGravityAveragingLength
13589 {
13590 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
13591 };
13592
13593 // Structure to describe response TLV 0x13 for PDSGetSensorNavigation()
13594 struct sPDSGetSensorNavigationResponse_HeadingFilterMode
13595 {
13596 INT8 mHeadingFilterMode;
13597 };
13598
13599 // Structure to describe response TLV 0x14 for PDSGetSensorNavigation()
13600 struct sPDSGetSensorNavigationResponse_VelocityConstraintVariance
13601 {
13602 float mVelocityConstraintVariance;
13603 };
13604
13605 // Structure to describe response TLV 0x15 for PDSGetSensorNavigation()
13606 struct sPDSGetSensorNavigationResponse_PositioningMethod
13607 {
13608 bool mSuppressInjectedPosition:1;
13609 bool mReportUsingInstantaneousInformation:1;
13610 bool mDisablePersistentMemoryStorage:1;
13611
13612 // Padding out 29 bits
13613 UINT8 mReserved1:5;
13614 UINT8 mReserved2[3];
13615 };
13616
13617 // Structure to describe response TLV 0x16 for PDSGetSensorNavigation()
13618 struct sPDSGetSensorNavigationResponse_VelocityRWSD
13619 {
13620 float mVelocityRandomWalkSpectralDensity;
13621 };
13622
13623 // Structure to describe response TLV 0x17 for PDSGetSensorNavigation()
13624 struct sPDSGetSensorNavigationResponse_AccelerationRWSD
13625 {
13626 float mAccelerationRandomWalkSpectralDensity;
13627 };
13628
13629 // Structure to describe response TLV 0x18 for PDSGetSensorNavigation()
13630 struct sPDSGetSensorNavigationResponse_AngleRWSD
13631 {
13632 float mAngleRandomWalkSpectralDensity;
13633 };
13634
13635 // Structure to describe response TLV 0x19 for PDSGetSensorNavigation()
13636 struct sPDSGetSensorNavigationResponse_RateRWSD
13637 {
13638 float mRateRandomWalkSpectralDensity;
13639 };
13640
13641 // Structure to describe response TLV 0x1A for PDSGetSensorNavigation()
13642 struct sPDSGetSensorNavigationResponse_SensorAlgorithmConfig
13643 {
13644 bool mDisableINSPositioningFilter:1;
13645
13646 // Padding out 31 bits
13647 UINT8 mReserved1:7;
13648 UINT8 mReserved2[3];
13649 };
13650
13651 // Structure to describe response TLV 0x1B for PDSGetSensorNavigation()
13652 struct sPDSGetSensorNavigationResponse_MaximumDeadReckoningTime
13653 {
13654 UINT32 mMaximumDeadReckoningTimeSeconds;
13655 };
13656
13657 // Structure to describe response TLV 0x1C for PDSGetSensorNavigation()
13658 struct sPDSGetSensorNavigationResponse_INSFilterLowThreshold
13659 {
13660 UINT8 mINSFilterCrossCheckSigmaLowThreshold;
13661 };
13662
13663 // Structure to describe response TLV 0x1D for PDSGetSensorNavigation()
13664 struct sPDSGetSensorNavigationResponse_INSFilterHighThreshold
13665 {
13666 UINT8 mINSFilterCrossCheckSigmaHighThreshold;
13667 };
13668
13669 // Structure to describe request TLV 0x10 for PDSSetNavigationConfig()
13670 struct sPDSSetNavigationConfigRequest_GyroDataVariance
13671 {
13672 float mGyroDataVariance;
13673 };
13674
13675 // Structure to describe request TLV 0x11 for PDSSetNavigationConfig()
13676 struct sPDSSetNavigationConfigRequest_GyroBiasRandomWalk
13677 {
13678 float mGyroBiasRandomWalk;
13679 };
13680
13681 // Structure to describe request TLV 0x12 for PDSSetNavigationConfig()
13682 struct sPDSSetNavigationConfigRequest_VirtualGyroCravityAveragingLength
13683 {
13684 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
13685 };
13686
13687 // Structure to describe request TLV 0x13 for PDSSetNavigationConfig()
13688 struct sPDSSetNavigationConfigRequest_HeadingFilterMode
13689 {
13690 INT8 mHeadingFilterMode;
13691 };
13692
13693 // Structure to describe request TLV 0x14 for PDSSetNavigationConfig()
13694 struct sPDSSetNavigationConfigRequest_VelocityConstraintVariance
13695 {
13696 float mVelocityConstraintVariance;
13697 };
13698
13699 // Structure to describe request TLV 0x15 for PDSSetNavigationConfig()
13700 struct sPDSSetNavigationConfigRequest_PositioningMethod
13701 {
13702 bool mSuppressInjectedPosition:1;
13703 bool mReportUsingInstantaneousInformation:1;
13704 bool mDisablePersistentMemoryStorage:1;
13705
13706 // Padding out 29 bits
13707 UINT8 mReserved1:5;
13708 UINT8 mReserved2[3];
13709 };
13710
13711 // Structure to describe request TLV 0x16 for PDSSetSensorNavigation()
13712 struct sPDSSetSensorNavigationRequest_VelocityRWSD
13713 {
13714 float mVelocityRandomWalkSpectralDensity;
13715 };
13716
13717 // Structure to describe request TLV 0x17 for PDSSetSensorNavigation()
13718 struct sPDSSetSensorNavigationRequest_AccelerationRWSD
13719 {
13720 float mAccelerationRandomWalkSpectralDensity;
13721 };
13722
13723 // Structure to describe request TLV 0x18 for PDSSetSensorNavigation()
13724 struct sPDSSetSensorNavigationRequest_AngleRWSD
13725 {
13726 float mAngleRandomWalkSpectralDensity;
13727 };
13728
13729 // Structure to describe request TLV 0x19 for PDSSetSensorNavigation()
13730 struct sPDSSetSensorNavigationRequest_RateRWSD
13731 {
13732 float mRateRandomWalkSpectralDensity;
13733 };
13734
13735 // Structure to describe request TLV 0x1A for PDSSetSensorNavigation()
13736 struct sPDSSetSensorNavigationRequest_SensorAlgorithmConfig
13737 {
13738 bool mDisableINSPositioningFilter:1;
13739
13740 // Padding out 31 bits
13741 UINT8 mReserved1:7;
13742 UINT8 mReserved2[3];
13743 };
13744
13745 // Structure to describe request TLV 0x1B for PDSSetSensorNavigation()
13746 struct sPDSSetSensorNavigationRequest_MaximumDeadReckoningTime
13747 {
13748 UINT32 mMaximumDeadReckoningTimeSeconds;
13749 };
13750
13751 // Structure to describe request TLV 0x1C for PDSSetSensorNavigation()
13752 struct sPDSSetSensorNavigationRequest_INSFilterLowThreshold
13753 {
13754 UINT8 mINSFilterCrossCheckSigmaLowThreshold;
13755 };
13756
13757 // Structure to describe request TLV 0x1D for PDSSetSensorNavigation()
13758 struct sPDSSetSensorNavigationRequest_INSFilterHighThreshold
13759 {
13760 UINT8 mINSFilterCrossCheckSigmaHighThreshold;
13761 };
13762
13763 // Structure to describe request TLV 0x10 for PDSSetWLANBlanking()
13764 struct sPDSSetWLANBlankingRequest_BlankingEnable
13765 {
13766 eQMIPDSBlankingEnable mBlankingEnable;
13767 };
13768
13769 // Structure to describe request TLV 0x11 for PDSSetWLANBlanking()
13770 struct sPDSSetWLANBlankingRequest_ActiveChannels
13771 {
13772 bool mChannel1:1;
13773 bool mChannel2:1;
13774 bool mChannel3:1;
13775 bool mChannel4:1;
13776 bool mChannel5:1;
13777 bool mChannel6:1;
13778 bool mChannel7:1;
13779 bool mChannel8:1;
13780 bool mChannel9:1;
13781 bool mChannel10:1;
13782 bool mChannel11:1;
13783 bool mChannel12:1;
13784 bool mChannel13:1;
13785 bool mChannel14:1;
13786
13787 // Padding out 18 bits
13788 UINT8 mReserved1:2;
13789 UINT8 mReserved2[2];
13790 };
13791
13792 // Structure to describe request TLV 0x12 for PDSSetWLANBlanking()
13793 struct sPDSSetWLANBlankingRequest_BluetoothJamming
13794 {
13795 INT8 mBluetoothJammingActive;
13796 };
13797
13798 // Structure to describe request TLV 0x13 for PDSSetWLANBlanking()
13799 struct sPDSSetWLANBlankingRequest_IMDJamming
13800 {
13801 eQMIPDSIMDJammingStates mSimulateIMDJamming;
13802 };
13803
13804 // Structure to describe request TLV 0x14 for PDSSetWLANBlanking()
13805 struct sPDSSetWLANBlankingRequest_JammingBands
13806 {
13807 eQMIPDSIMDJammingBands mBandstoJam;
13808 };
13809
13810 // Structure to describe request TLV 0x10 for PDSSetSecurityChallengeReport()
13811 struct sPDSSetSecurityChallengeReportRequest_EnableSecurity
13812 {
13813 eQMIPDSReportSecurityChallenge mReportSecurityChallenge;
13814 };
13815
13816 // Structure to describe indication TLV 0x10 for PDS SetSecurityChallengeReportIndication
13817 struct sPDSSetSecurityChallengeReportIndication_EnableSecurity
13818 {
13819 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
13820 UINT8 mEncryptionDataID;
13821 UINT8 mEncryptionDataLength;
13822
13823 // This array must be the size specified by mEncryptionDataLength
13824 // UINT8 mEncryptionData[1];
13825 };
13826
13827 // Structure to describe request TLV 0x10 for PDSSetSecurityChallenge()
13828 struct sPDSSetSecurityChallengeRequest_SecureHashAlgorithm
13829 {
13830 UINT8 mEncryptionDataID;
13831 UINT8 mEncryptionDataLength;
13832
13833 // This array must be the size specified by mEncryptionDataLength
13834 // UINT8 mEncryptionData[1];
13835 };
13836
13837 // Structure to describe response TLV 0x10 for PDSGetSecurityEncryptionConfig()
13838 struct sPDSGetSecurityEncryptionConfigResponse_SecureClientTimestamp
13839 {
13840 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
13841 UINT64 mEncryptionTimestampMilliseconds;
13842 UINT8 mEncryptionDataLength;
13843
13844 // This array must be the size specified by mEncryptionDataLength
13845 // UINT8 mEncryptionData[1];
13846 };
13847
13848 // Structure to describe request TLV 0x10 for PDSSetSecurityUpdateRate()
13849 struct sPDSSetSecurityUpdateRateRequest_EnableSecurity
13850 {
13851 UINT8 mUpdateRate;
13852 };
13853
13854 // Structure to describe request TLV 0x10 for PDSSetCellDatabaseControl()
13855 struct sPDSSetCellDatabaseControlRequest_Control
13856 {
13857 bool mPositionInfoStorage:1;
13858 bool mTimeInfoStorage:1;
13859
13860 // Padding out 30 bits
13861 UINT8 mReserved1:6;
13862 UINT8 mReserved2[3];
13863 };
13864
13865 // Structure to describe request TLV 0x01 for PDSInjectMotionData()
13866 struct sPDSInjectMotionDataRequest_MotionData
13867 {
13868 eQMIPDSMotionStates mMotionState;
13869 eQMIPDSMotionModes mMotionMode;
13870 eQMIPDSMotionSubmodes mMotionSubmode;
13871 float mStateProbability;
13872 UINT16 mMotionDataAgeMilliseconds;
13873 UINT16 mMotionDataTimoutMilliseconds;
13874 };
13875
13876 // Structure to describe request TLV 0x01 for PDSSetGNSSEngineErrorRecoveryReport()
13877 struct sPDSSetGNSSEngineErrorRecoveryReportRequest_Indicator
13878 {
13879 INT8 mReportGNSSEngineErrorRecovery;
13880 };
13881
13882 // Structure to describe indication TLV 0x01 for PDS GNSSEngineErrorRecoveryReport
13883 struct sPDSGNSSEngineErrorRecoveryReportIndication_Reason
13884 {
13885 eQMIPDSResetReasons mResetReason;
13886 };
13887
13888 // Structure to describe indication TLV 0x10 for PDS GNSSEngineErrorRecoveryReport
13889 struct sPDSGNSSEngineErrorRecoveryReportIndication_CurrentSystemTime
13890 {
13891 UINT16 mGPSWeekNumber;
13892 UINT32 mGPSTimeOfWeekMilliseconds;
13893 };
13894
13895 // Structure to describe indication TLV 0x11 for PDS GNSSEngineErrorRecoveryReport
13896 struct sPDSGNSSEngineErrorRecoveryReportIndication_ScanParameters
13897 {
13898 eQMIPDSSVSystems mSystem;
13899 UINT8 mPRN;
13900 UINT16 mCN0;
13901 UINT16 mSubMillisecondDifferenceMicroseconds;
13902 INT16 mDopplerDifferenceHz;
13903 };
13904
13905 // Structure to describe indication TLV 0x12 for PDS GNSSEngineErrorRecoveryReport
13906 struct sPDSGNSSEngineErrorRecoveryReportIndication_ClockParameters
13907 {
13908 eQMIPDSSVSystems mSystem;
13909 eQMIPDSTimeSource mCurrentTimeSource;
13910 eQMIPDSTimeSource mInjectedTimeSource;
13911 UINT32 mTimeDifferenceMilliseconds;
13912 UINT32 mTimeUncertaintyMicroseconds;
13913 };
13914
13915 // Structure to describe indication TLV 0x13 for PDS GNSSEngineErrorRecoveryReport
13916 struct sPDSGNSSEngineErrorRecoveryReportIndication_SubframeParameters
13917 {
13918 UINT8 mPRN;
13919 INT32 mGPSDataDemodulationINProgress;
13920 UINT16 mObservedCycleSlips;
13921 UINT16 mParityErrors;
13922 UINT32 mGPSSubframeWordWithTimingError;
13923 };
13924
13925 // Structure to describe indication TLV 0x14 for PDS GNSSEngineErrorRecoveryReport
13926 struct sPDSGNSSEngineErrorRecoveryReportIndication_TimeParameters
13927 {
13928 eQMIPDSSVSystems mSystem;
13929 UINT8 mPRN;
13930 UINT16 mGPSWeekNumber;
13931 UINT32 mGPSTimeOfWeekMilliseconds;
13932 UINT16 mGNSSNumberOfDays;
13933 UINT32 mGNSSMilliseconds;
13934 UINT32 mClockDifferenceMilliseconds;
13935 };
13936
13937 // Structure to describe indication TLV 0x15 for PDS GNSSEngineErrorRecoveryReport
13938 struct sPDSGNSSEngineErrorRecoveryReportIndication_MeasurementParameters
13939 {
13940 eQMIPDSSVSystems mSystem;
13941 UINT16 mGPSWeekNumber;
13942 UINT32 mGPSTimeOfWeekMilliseconds;
13943 UINT8 mObservedMeasurementInconsistencies;
13944 UINT16 mObservationDuration;
13945 };
13946
13947 // Structure to describe indication TLV 0x16 for PDS GNSSEngineErrorRecoveryReport
13948 struct sPDSGNSSEngineErrorRecoveryReportIndication_RFParameters
13949 {
13950 UINT32 mQualitySignalStrength;
13951 UINT32 mResetSignalStrength;
13952 };
13953
13954 // Structure to describe request TLV 0x10 for PDSInjectTestData()
13955 struct sPDSInjectTestDataRequest_TimeUncertainty
13956 {
13957 UINT32 mTimeUncertaintyMicroseconds;
13958 };
13959
13960 // Structure to describe request TLV 0x11 for PDSInjectTestData()
13961 struct sPDSInjectTestDataRequest_PositionUncertainty
13962 {
13963 UINT32 mPositionUncertaintyCentimeters;
13964 };
13965
13966 // Structure to describe request TLV 0x12 for PDSInjectTestData()
13967 struct sPDSInjectTestDataRequest_TimeOffset
13968 {
13969 UINT64 mTimeOffsetMicroseconds;
13970 };
13971
13972 // Structure to describe request TLV 0x13 for PDSInjectTestData()
13973 struct sPDSInjectTestDataRequest_PositionOffset
13974 {
13975 UINT32 mPositionOffsetMeters;
13976 };
13977
13978 // Structure to describe request TLV 0x01 for PDSSetGNSSRFConfig()
13979 struct sPDSSetGNSSRFConfigRequest_PeakAntennaGain
13980 {
13981 INT16 mPeakAntennaGain;
13982 };
13983
13984 // Structure to describe request TLV 0x10 for PDSSetGNSSRFConfig()
13985 struct sPDSSetGNSSRFConfigRequest_GPSRFLoss
13986 {
13987 UINT16 mRFLoss;
13988 };
13989
13990 // Structure to describe request TLV 0x11 for PDSSetGNSSRFConfig()
13991 struct sPDSSetGNSSRFConfigRequest_GlonassRFLoss
13992 {
13993 UINT16 mRFLossFrequency0;
13994 UINT16 mRFLossFrequencyMinus7;
13995 UINT16 mRFLossFrequencyPlus6;
13996 };
13997
13998 // Structure to describe request TLV 0x10 for AUTHStartEAPSession()
13999 struct sAUTHStartEAPSessionRequest_MethodMask
14000 {
14001 bool mEAPSIM:1;
14002 bool mEAPAKA:1;
14003
14004 // Padding out 30 bits
14005 UINT8 mReserved1:6;
14006 UINT8 mReserved2[3];
14007 };
14008
14009 // Structure to describe request TLV 0x11 for AUTHStartEAPSession()
14010 struct sAUTHStartEAPSessionRequest_UserID
14011 {
14012 UINT8 mUserIDLength;
14013
14014 // This array must be the size specified by mUserIDLength
14015 // UINT8 mUserID[1];
14016 };
14017
14018 // Structure to describe request TLV 0x12 for AUTHStartEAPSession()
14019 struct sAUTHStartEAPSessionRequest_MetaIdentity
14020 {
14021 UINT8 mMetaIdentityLength;
14022
14023 // This array must be the size specified by mMetaIdentityLength
14024 // UINT8 mMetaIdentity[1];
14025 };
14026
14027 // Structure to describe request TLV 0x13 for AUTHStartEAPSession()
14028 struct sAUTHStartEAPSessionRequest_SIMAKAAlgorithm
14029 {
14030 eQMIAUTHSIMAKAAlgorithm mSIMAKAAlgorithm;
14031 };
14032
14033 // Structure to describe request TLV 0x01 for AUTHSendEAPPacket()
14034 struct sAUTHSendEAPPacketRequest_RequestPacket
14035 {
14036 UINT8 mEAPRequestPacket[9999];
14037 };
14038
14039 // Structure to describe response TLV 0x01 for AUTHSendEAPPacket()
14040 struct sAUTHSendEAPPacketResponse_ResponsePacket
14041 {
14042 UINT8 mResponsePacket[9999];
14043 };
14044
14045 // Structure to describe indication TLV 0x01 for AUTH EAPSessionResultIndication
14046 struct sAUTHEAPSessionResultIndication_Result
14047 {
14048 eQMIAUTHEAPResult mResult;
14049 };
14050
14051 // Structure to describe response TLV 0x01 for AUTHGetEAPSessionKeys()
14052 struct sAUTHGetEAPSessionKeysResponse_SessionKeys
14053 {
14054 UINT8 mSessionKeys[9999];
14055 };
14056
14057 // Structure to describe request TLV 0x01 for AUTHRunAKA()
14058 struct sAUTHRunAKARequest_Version
14059 {
14060 eQMIAUTHAKAVersion mAKAVersion;
14061 };
14062
14063 // Structure to describe request TLV 0x10 for AUTHRunAKA()
14064 struct sAUTHRunAKARequest_Parameters1
14065 {
14066 UINT8 mRandomChallengeLength;
14067
14068 // This array must be the size specified by mRandomChallengeLength
14069 // UINT8 mRandomChallenge[1];
14070 };
14071
14072 struct sAUTHRunAKARequest_Parameters2
14073 {
14074 UINT8 mAuthenticationTokenLength;
14075
14076 // This array must be the size specified by mAuthenticationTokenLength
14077 // UINT8 mAuthenticationToken[1];
14078 };
14079
14080 struct sAUTHRunAKARequest_Parameters
14081 {
14082 sAUTHRunAKARequest_Parameters1 mAUTHRunAKARequest_Parameters1;
14083 sAUTHRunAKARequest_Parameters2 mAUTHRunAKARequest_Parameters2;
14084 };
14085
14086 // Structure to describe response TLV 0x01 for AUTHRunAKA()
14087 struct sAUTHRunAKAResponse_Handle
14088 {
14089 UINT32 mHandle;
14090 };
14091
14092 // Structure to describe indication TLV 0x01 for AUTH AKAResultIndication
14093 struct sAUTHAKAResultIndication_Result
14094 {
14095 UINT32 mHandle;
14096 eQMIAUTHAKAResult mResult;
14097 };
14098
14099 // Structure to describe indication TLV 0x10 for AUTH AKAResultIndication
14100 struct sAUTHAKAResultIndication_V1V2ResponseData1
14101 {
14102 UINT8 mDigestLength;
14103
14104 // This array must be the size specified by mDigestLength
14105 // UINT8 mDigest[1];
14106 };
14107
14108 struct sAUTHAKAResultIndication_V1V2ResponseData2
14109 {
14110 UINT8 mAKADataLength;
14111
14112 // This array must be the size specified by mAKADataLength
14113 // UINT8 mAKAData[1];
14114 };
14115
14116 struct sAUTHAKAResultIndication_V1V2ResponseData
14117 {
14118 sAUTHAKAResultIndication_V1V2ResponseData1 mAUTHAKAResultIndication_V1V2ResponseData1;
14119 sAUTHAKAResultIndication_V1V2ResponseData2 mAUTHAKAResultIndication_V1V2ResponseData2;
14120 };
14121
14122 // Structure to describe request TLV 0x10 for VoiceIndicationRegistration()
14123 struct sVoiceIndicationRegistrationRequest_DTMF
14124 {
14125 INT8 mEnableEvents;
14126 };
14127
14128 // Structure to describe request TLV 0x11 for VoiceIndicationRegistration()
14129 struct sVoiceIndicationRegistrationRequest_VoicePrivacy
14130 {
14131 INT8 mEnableEvents;
14132 };
14133
14134 // Structure to describe request TLV 0x12 for VoiceIndicationRegistration()
14135 struct sVoiceIndicationRegistrationRequest_SupplementaryService
14136 {
14137 INT8 mEnableEvents;
14138 };
14139
14140 // Structure to describe request TLV 0x13 for VoiceIndicationRegistration()
14141 struct sVoiceIndicationRegistrationRequest_CallNotification
14142 {
14143 INT8 mEnableEvents;
14144 };
14145
14146 // Structure to describe request TLV 0x14 for VoiceIndicationRegistration()
14147 struct sVoiceIndicationRegistrationRequest_Handover
14148 {
14149 INT8 mEnableEvents;
14150 };
14151
14152 // Structure to describe request TLV 0x15 for VoiceIndicationRegistration()
14153 struct sVoiceIndicationRegistrationRequest_SpeechCodec
14154 {
14155 INT8 mEnableEvents;
14156 };
14157
14158 // Structure to describe request TLV 0x16 for VoiceIndicationRegistration()
14159 struct sVoiceIndicationRegistrationRequest_USSDNotification
14160 {
14161 INT8 mEnableEvents;
14162 };
14163
14164 // Structure to describe request TLV 0x17 for VoiceIndicationRegistration()
14165 struct sVoiceIndicationRegistrationRequest_Supplementary
14166 {
14167 INT8 mEnableEvents;
14168 };
14169
14170 // Structure to describe request TLV 0x18 for VoiceIndicationRegistration()
14171 struct sVoiceIndicationRegistrationRequest_Modification
14172 {
14173 INT8 mEnableEvents;
14174 };
14175
14176 // Structure to describe request TLV 0x19 for VoiceIndicationRegistration()
14177 struct sVoiceIndicationRegistrationRequest_UUS
14178 {
14179 INT8 mEnableEvents;
14180 };
14181
14182 // Structure to describe request TLV 0x1A for VoiceIndicationRegistration()
14183 struct sVoiceIndicationRegistrationRequest_AOC
14184 {
14185 INT8 mEnableEvents;
14186 };
14187
14188 // Structure to describe request TLV 0x01 for VoiceCallOriginate()
14189 struct sVoiceCallOriginateRequest_CallingNumber
14190 {
14191 // String is variable length, but must be size of the container
14192 // char mCallingNumber[1];
14193 };
14194
14195 // Structure to describe request TLV 0x10 for VoiceCallOriginate()
14196 struct sVoiceCallOriginateRequest_CallType
14197 {
14198 eQMIVoiceCallTypes mCallType;
14199 };
14200
14201 // Structure to describe request TLV 0x11 for VoiceCallOriginate()
14202 struct sVoiceCallOriginateRequest_CLIR
14203 {
14204 eQMIVoiceCLIRTypes mCLIRType;
14205 };
14206
14207 // Structure to describe request TLV 0x12 for VoiceCallOriginate()
14208 struct sVoiceCallOriginateRequest_UUS
14209 {
14210 eQMIVoiceUUSTypes mUUSType;
14211 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
14212 UINT8 mUUSLength;
14213
14214 // This array must be the size specified by mUUSLength
14215 // UINT8 mUUSData[1];
14216 };
14217
14218 // Structure to describe request TLV 0x13 for VoiceCallOriginate()
14219 struct sVoiceCallOriginateRequest_CUG
14220 {
14221 UINT16 mCUGIndex;
14222 INT8 mSuppressPreferentialCUG;
14223 INT8 mSuppressOASubscription;
14224 };
14225
14226 // Structure to describe request TLV 0x14 for VoiceCallOriginate()
14227 struct sVoiceCallOriginateRequest_EmergencyCategory
14228 {
14229 bool mPolice:1;
14230 bool mAmbulance:1;
14231 bool mFireBrigade:1;
14232 bool mMarineGuard:1;
14233 bool mMountainRescue:1;
14234 bool mManualCall:1;
14235 bool mAutomaticCall:1;
14236 bool mReserved:1;
14237 };
14238
14239 // Structure to describe request TLV 0x15 for VoiceCallOriginate()
14240 struct sVoiceCallOriginateRequest_CalledPartySubaddress
14241 {
14242 eQMIVoiceSubaddressTypes mSubaddressType;
14243 eQMIVoiceEvenOddIndicators mAddressSignals;
14244 UINT8 mSubaddressLength;
14245
14246 // This array must be the size specified by mSubaddressLength
14247 // UINT8 mSubaddress[1];
14248 };
14249
14250 // Structure to describe request TLV 0x16 for VoiceCallOriginate()
14251 struct sVoiceCallOriginateRequest_ServiceType
14252 {
14253 eQMIVoiceServiceTypes mServiceType;
14254 };
14255
14256 // Structure to describe request TLV 0x17 for VoiceCallOriginate()
14257 struct sVoiceCallOriginateRequest_SIPURIOverflow
14258 {
14259 // String is variable length, but must be size of the container
14260 // char mSIPURIOverflow[1];
14261 };
14262
14263 // Structure to describe request TLV 0x18 for VoiceCallOriginate()
14264 struct sVoiceCallOriginateRequest_AudioAttribute
14265 {
14266 bool mVoiceCallTX:1;
14267 bool mVoiceCallRX:1;
14268
14269 // Padding out 62 bits
14270 UINT8 mReserved1:6;
14271 UINT8 mReserved2[7];
14272 };
14273
14274 // Structure to describe request TLV 0x19 for VoiceCallOriginate()
14275 struct sVoiceCallOriginateRequest_VideoAttribute
14276 {
14277 bool mVoiceCallTX:1;
14278 bool mVoiceCallRX:1;
14279
14280 // Padding out 62 bits
14281 UINT8 mReserved1:6;
14282 UINT8 mReserved2[7];
14283 };
14284
14285 // Structure to describe response TLV 0x10 for VoiceCallOriginate()
14286 struct sVoiceCallOriginateResponse_CallID
14287 {
14288 UINT8 mCallID;
14289 };
14290
14291 // Structure to describe response TLV 0x11 for VoiceCallOriginate()
14292 struct sVoiceCallOriginateResponse_AlphaID
14293 {
14294 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14295 UINT8 mAlphaLength;
14296
14297 // This array must be the size specified by mAlphaLength
14298 // UINT8 mAlphaData[1];
14299 };
14300
14301 // Structure to describe response TLV 0x12 for VoiceCallOriginate()
14302 struct sVoiceCallOriginateResponse_CallControl
14303 {
14304 eQMIVoiceCallControlResultTypes mCallControlResult;
14305 };
14306
14307 // Structure to describe response TLV 0x13 for VoiceCallOriginate()
14308 struct sVoiceCallOriginateResponse_SupplementaryService
14309 {
14310 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14311 eQMIVoiceSupplementaryServiceReasons mReason;
14312 };
14313
14314 // Structure to describe response TLV 0x14 for VoiceCallOriginate()
14315 struct sVoiceCallOriginateResponse_EndReason
14316 {
14317 eQMIVoiceEndReasons mEndReason;
14318 };
14319
14320 // Structure to describe request TLV 0x01 for VoiceCallEnd()
14321 struct sVoiceCallEndRequest_CallID
14322 {
14323 UINT8 mCallID;
14324 };
14325
14326 // Structure to describe response TLV 0x10 for VoiceCallEnd()
14327 struct sVoiceCallEndResponse_CallID
14328 {
14329 UINT8 mCallID;
14330 };
14331
14332 // Structure to describe request TLV 0x01 for VoiceCallAnswer()
14333 struct sVoiceCallAnswerRequest_CallID
14334 {
14335 UINT8 mCallID;
14336 };
14337
14338 // Structure to describe request TLV 0x10 for VoiceCallAnswer()
14339 struct sVoiceCallAnswerRequest_CallType
14340 {
14341 eQMIVoiceCallTypes mCallType;
14342 };
14343
14344 // Structure to describe request TLV 0x11 for VoiceCallAnswer()
14345 struct sVoiceCallAnswerRequest_AudioAttribute
14346 {
14347 bool mVoiceCallTX:1;
14348 bool mVoiceCallRX:1;
14349
14350 // Padding out 62 bits
14351 UINT8 mReserved1:6;
14352 UINT8 mReserved2[7];
14353 };
14354
14355 // Structure to describe request TLV 0x12 for VoiceCallAnswer()
14356 struct sVoiceCallAnswerRequest_VideoAttribute
14357 {
14358 bool mVoiceCallTX:1;
14359 bool mVoiceCallRX:1;
14360
14361 // Padding out 62 bits
14362 UINT8 mReserved1:6;
14363 UINT8 mReserved2[7];
14364 };
14365
14366 // Structure to describe response TLV 0x10 for VoiceCallAnswer()
14367 struct sVoiceCallAnswerResponse_CallID
14368 {
14369 UINT8 mCallID;
14370 };
14371
14372 // Structure to describe request TLV 0x01 for VoiceGetCallInfo()
14373 struct sVoiceGetCallInfoRequest_CallID
14374 {
14375 UINT8 mCallID;
14376 };
14377
14378 // Structure to describe response TLV 0x10 for VoiceGetCallInfo()
14379 struct sVoiceGetCallInfoResponse_CallInfo
14380 {
14381 UINT8 mCallID;
14382 eQMIVoiceCallStates mCallState;
14383 eQMIVoiceCallTypes mCallType;
14384 eQMIVoiceCallDirections mDirection;
14385 eQMIVoiceCallModes mMode;
14386 };
14387
14388 // Structure to describe response TLV 0x11 for VoiceGetCallInfo()
14389 struct sVoiceGetCallInfoResponse_RemotePartyNumber
14390 {
14391 eQMIVoicePresentationIndicators mPresentationIndicator;
14392 UINT8 mNumberLength;
14393
14394 // This array must be the size specified by mNumberLength
14395 // char mNumber[1];
14396 };
14397
14398 // Structure to describe response TLV 0x12 for VoiceGetCallInfo()
14399 struct sVoiceGetCallInfoResponse_ServiceOption
14400 {
14401 UINT16 mServiceOption;
14402 };
14403
14404 // Structure to describe response TLV 0x13 for VoiceGetCallInfo()
14405 struct sVoiceGetCallInfoResponse_VoicePrivacy
14406 {
14407 eQMIVoicePrivacyLevels mVoicePrivacy;
14408 };
14409
14410 // Structure to describe response TLV 0x14 for VoiceGetCallInfo()
14411 struct sVoiceGetCallInfoResponse_OTASPStatus
14412 {
14413 eQMIVoiceOTASPStati mOTASPStatus;
14414 };
14415
14416 // Structure to describe response TLV 0x15 for VoiceGetCallInfo()
14417 struct sVoiceGetCallInfoResponse_RemotePartyName
14418 {
14419 eQMIVoicePresentationIndicators mPresentationIndicator;
14420 UINT8 mCodingScheme;
14421 UINT8 mCallerNameLength;
14422
14423 // This array must be the size specified by mCallerNameLength
14424 // UINT8 mCallerName[1];
14425 };
14426
14427 // Structure to describe response TLV 0x16 for VoiceGetCallInfo()
14428 struct sVoiceGetCallInfoResponse_UUS
14429 {
14430 eQMIVoiceUUSTypes mUUSType;
14431 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
14432 UINT8 mUUSLength;
14433
14434 // This array must be the size specified by mUUSLength
14435 // UINT8 mUUSData[1];
14436 };
14437
14438 // Structure to describe response TLV 0x17 for VoiceGetCallInfo()
14439 struct sVoiceGetCallInfoResponse_AlertingType
14440 {
14441 eQMIVoiceAlertingTypes mAlertingType;
14442 };
14443
14444 // Structure to describe response TLV 0x18 for VoiceGetCallInfo()
14445 struct sVoiceGetCallInfoResponse_AlphaID
14446 {
14447 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14448 UINT8 mAlphaLength;
14449
14450 // This array must be the size specified by mAlphaLength
14451 // UINT8 mAlphaData[1];
14452 };
14453
14454 // Structure to describe response TLV 0x19 for VoiceGetCallInfo()
14455 struct sVoiceGetCallInfoResponse_ConnectedNumberInfo
14456 {
14457 UINT8 mPresentationIndicator;
14458 eQMIVoiceScreeningIndicators mScreeningIndicator;
14459 eQMIVoiceNumberTypes mNumberType;
14460 eQMIVoiceNumberPlans mNumberPlan;
14461 UINT8 mNumberLength;
14462
14463 // This array must be the size specified by mNumberLength
14464 // char mNumber[1];
14465 };
14466
14467 // Structure to describe response TLV 0x1A for VoiceGetCallInfo()
14468 struct sVoiceGetCallInfoResponse_DiagnosticInfo
14469 {
14470 UINT8 mDiagnosticInfoLength;
14471
14472 // This array must be the size specified by mDiagnosticInfoLength
14473 // UINT8 mDiagnosticInfo[1];
14474 };
14475
14476 // Structure to describe response TLV 0x1B for VoiceGetCallInfo()
14477 struct sVoiceGetCallInfoResponse_AlertingPattern
14478 {
14479 eQMIVoiceAlertingPatterns mAlertingPattern;
14480 };
14481
14482 // Structure to describe response TLV 0x1C for VoiceGetCallInfo()
14483 struct sVoiceGetCallInfoResponse_AudioAttribute
14484 {
14485 bool mVoiceCallTX:1;
14486 bool mVoiceCallRX:1;
14487
14488 // Padding out 62 bits
14489 UINT8 mReserved1:6;
14490 UINT8 mReserved2[7];
14491 };
14492
14493 // Structure to describe response TLV 0x1D for VoiceGetCallInfo()
14494 struct sVoiceGetCallInfoResponse_VideoAttribute
14495 {
14496 bool mVoiceCallTX:1;
14497 bool mVoiceCallRX:1;
14498
14499 // Padding out 62 bits
14500 UINT8 mReserved1:6;
14501 UINT8 mReserved2[7];
14502 };
14503
14504 // Structure to describe indication TLV 0x10 for Voice OTASPIndication
14505 struct sVoiceOTASPIndication_OTASPStatus
14506 {
14507 UINT8 mCallID;
14508 eQMIVoiceOTASPStati mOTASPStatus;
14509 };
14510
14511 // Structure to describe indication TLV 0x01 for Voice InfoRecordIndication
14512 struct sVoiceInfoRecordIndication_CallID
14513 {
14514 UINT8 mCallID;
14515 };
14516
14517 // Structure to describe indication TLV 0x10 for Voice InfoRecordIndication
14518 struct sVoiceInfoRecordIndication_Signal
14519 {
14520 UINT8 mSignalType;
14521 UINT8 mAlertPitch;
14522 UINT8 mSignal;
14523 };
14524
14525 // Structure to describe indication TLV 0x11 for Voice InfoRecordIndication
14526 struct sVoiceInfoRecordIndication_CallerID
14527 {
14528 UINT8 mPresentationIndicator;
14529 UINT8 mCallerIDLength;
14530
14531 // This array must be the size specified by mCallerIDLength
14532 // char mCallerID[1];
14533 };
14534
14535 // Structure to describe indication TLV 0x12 for Voice InfoRecordIndication
14536 struct sVoiceInfoRecordIndication_Display
14537 {
14538 // String is variable length, but must be size of the container
14539 // char mDisplayBuffer[1];
14540 };
14541
14542 // Structure to describe indication TLV 0x13 for Voice InfoRecordIndication
14543 struct sVoiceInfoRecordIndication_ExtendedDisplay
14544 {
14545 UINT8 mExtendedDisplayBuffer[182];
14546 };
14547
14548 // Structure to describe indication TLV 0x14 for Voice InfoRecordIndication
14549 struct sVoiceInfoRecordIndication_CallerName
14550 {
14551 // String is variable length, but must be size of the container
14552 // char mCallerName[1];
14553 };
14554
14555 // Structure to describe indication TLV 0x15 for Voice InfoRecordIndication
14556 struct sVoiceInfoRecordIndication_CallWaiting
14557 {
14558 INT8 mNewCallWaiting;
14559 };
14560
14561 // Structure to describe indication TLV 0x16 for Voice InfoRecordIndication
14562 struct sVoiceInfoRecordIndication_ConnectedNumberInfo
14563 {
14564 UINT8 mPresentationIndicator;
14565 eQMIVoiceScreeningIndicators mScreeningIndicator;
14566 eQMIVoiceNumberTypes mNumberType;
14567 eQMIVoiceNumberPlans mNumberPlan;
14568 UINT8 mNumberLength;
14569
14570 // This array must be the size specified by mNumberLength
14571 // char mNumber[1];
14572 };
14573
14574 // Structure to describe indication TLV 0x17 for Voice InfoRecordIndication
14575 struct sVoiceInfoRecordIndication_CallingPartyNumberInfo
14576 {
14577 UINT8 mPresentationIndicator;
14578 eQMIVoiceScreeningIndicators mScreeningIndicator;
14579 eQMIVoiceNumberTypes mNumberType;
14580 eQMIVoiceNumberPlans mNumberPlan;
14581 UINT8 mNumberLength;
14582
14583 // This array must be the size specified by mNumberLength
14584 // char mNumber[1];
14585 };
14586
14587 // Structure to describe indication TLV 0x18 for Voice InfoRecordIndication
14588 struct sVoiceInfoRecordIndication_CalledPartyNumberInfo
14589 {
14590 UINT8 mPresentationIndicator;
14591 eQMIVoiceScreeningIndicators mScreeningIndicator;
14592 eQMIVoiceNumberTypes mNumberType;
14593 eQMIVoiceNumberPlans mNumberPlan;
14594 UINT8 mNumberLength;
14595
14596 // This array must be the size specified by mNumberLength
14597 // char mNumber[1];
14598 };
14599
14600 // Structure to describe indication TLV 0x19 for Voice InfoRecordIndication
14601 struct sVoiceInfoRecordIndication_RedirectingNumberInfo
14602 {
14603 UINT8 mPresentationIndicator;
14604 eQMIVoiceScreeningIndicators mScreeningIndicator;
14605 eQMIVoiceNumberTypes mNumberType;
14606 eQMIVoiceNumberPlans mNumberPlan;
14607 UINT8 mRedirectReason;
14608 UINT8 mNumberLength;
14609
14610 // This array must be the size specified by mNumberLength
14611 // char mNumber[1];
14612 };
14613
14614 // Structure to describe indication TLV 0x1A for Voice InfoRecordIndication
14615 struct sVoiceInfoRecordIndication_CLIRCause
14616 {
14617 eQMIVoiceCLIRCauses mCLIRCause;
14618 };
14619
14620 // Structure to describe indication TLV 0x1B for Voice InfoRecordIndication
14621 struct sVoiceInfoRecordIndication_NSSAudio
14622 {
14623 UINT8 mUpLink;
14624 UINT8 mDownLink;
14625 };
14626
14627 // Structure to describe indication TLV 0x1C for Voice InfoRecordIndication
14628 struct sVoiceInfoRecordIndication_NSSRelease
14629 {
14630 eQMIVoiceNSSReleases mNSSRelease;
14631 };
14632
14633 // Structure to describe indication TLV 0x1D for Voice InfoRecordIndication
14634 struct sVoiceInfoRecordIndication_LineControlInfo
14635 {
14636 INT8 mPolarityIncluded;
14637 INT8 mToggleMode;
14638 INT8 mReversePolarity;
14639 UINT8 mPowerDenialTime;
14640 };
14641
14642 // Structure to describe indication TLV 0x1E for Voice InfoRecordIndication
14643 struct sVoiceInfoRecordIndication_ExtendedDisplayInfo
14644 {
14645 UINT8 mDisplayType;
14646 UINT8 mExtendedDisplayInfoLength;
14647
14648 // This array must be the size specified by mExtendedDisplayInfoLength
14649 // UINT8 mExtendedDisplayInfo[1];
14650 };
14651
14652 // Structure to describe request TLV 0x01 for VoiceSendFlash()
14653 struct sVoiceSendFlashRequest_CallID
14654 {
14655 UINT8 mCallID;
14656 };
14657
14658 // Structure to describe request TLV 0x10 for VoiceSendFlash()
14659 struct sVoiceSendFlashRequest_Payload
14660 {
14661 // String is variable length, but must be size of the container
14662 // char mFlashPayload[1];
14663 };
14664
14665 // Structure to describe request TLV 0x11 for VoiceSendFlash()
14666 struct sVoiceSendFlashRequest_Type
14667 {
14668 eQMIVoiceFlashTypes mFlashType;
14669 };
14670
14671 // Structure to describe response TLV 0x10 for VoiceSendFlash()
14672 struct sVoiceSendFlashResponse_CallID
14673 {
14674 UINT8 mCallID;
14675 };
14676
14677 // Structure to describe request TLV 0x01 for VoiceBurstDTMF()
14678 struct sVoiceBurstDTMFRequest_Info
14679 {
14680 UINT8 mCallID;
14681 UINT8 mDTMFBufferLength;
14682
14683 // This array must be the size specified by mDTMFBufferLength
14684 // char mDTMFBuffer[1];
14685 };
14686
14687 // Structure to describe request TLV 0x10 for VoiceBurstDTMF()
14688 struct sVoiceBurstDTMFRequest_Lengths
14689 {
14690 eQMIVoicePulseWidths mDTMFPulseWidth;
14691 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
14692 };
14693
14694 // Structure to describe request TLV 0x01 for VoiceStartContinuousDTMF()
14695 struct sVoiceStartContinuousDTMFRequest_Info
14696 {
14697 UINT8 mCallID;
14698 char mDTMFDigit;
14699 };
14700
14701 // Structure to describe response TLV 0x10 for VoiceStartContinuous()
14702 struct sVoiceStartContinuousResponse_CallID
14703 {
14704 UINT8 mCallID;
14705 };
14706
14707 // Structure to describe request TLV 0x01 for VoiceStopContinuousDTMF()
14708 struct sVoiceStopContinuousDTMFRequest_CallID
14709 {
14710 UINT8 mCallID;
14711 };
14712
14713 // Structure to describe response TLV 0x10 for VoiceStopContinuous()
14714 struct sVoiceStopContinuousResponse_CallID
14715 {
14716 UINT8 mCallID;
14717 };
14718
14719 // Structure to describe indication TLV 0x01 for Voice DTMFIndication
14720 struct sVoiceDTMFIndication_DTMFInfo
14721 {
14722 UINT8 mCallID;
14723 eQMIVoiceDTMFEvents mDTMFEvent;
14724 UINT8 mDTMFBufferLength;
14725
14726 // This array must be the size specified by mDTMFBufferLength
14727 // char mDTMFBuffer[1];
14728 };
14729
14730 // Structure to describe indication TLV 0x10 for Voice DTMFIndication
14731 struct sVoiceDTMFIndication_Lengths
14732 {
14733 eQMIVoicePulseWidths mDTMFPulseWidth;
14734 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
14735 };
14736
14737 // Structure to describe request TLV 0x01 for VoiceSetPreferredPrivacy()
14738 struct sVoiceSetPreferredPrivacyRequest_Preference
14739 {
14740 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
14741 };
14742
14743 // Structure to describe indication TLV 0x01 for Voice PrivacyIndication
14744 struct sVoicePrivacyIndication_DTMFInfo
14745 {
14746 UINT8 mCallID;
14747 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
14748 };
14749
14750 // Structure to describe indication TLV 0x01 for Voice AllCallStatusIndication
14751 struct sVoiceAllCallStatusIndication_CallInfo
14752 {
14753 UINT8 mCallInstanceCount;
14754
14755 struct sInstance
14756 {
14757 UINT8 mCallID;
14758 eQMIVoiceCallStates mCallState;
14759 eQMIVoiceCallTypes mCallType;
14760 eQMIVoiceCallDirections mDirection;
14761 eQMIVoiceCallModes mMode;
14762 INT8 mMultiparty;
14763 eQMIVoiceALSLineIndicators mALSLineIndicator;
14764 };
14765
14766 // This array must be the size specified by mCallInstanceCount
14767 // sInstance mInstances[1];
14768 };
14769
14770 // Structure to describe indication TLV 0x10 for Voice AllCallStatusIndication
14771 struct sVoiceAllCallStatusIndication_RemotePartyNumber
14772 {
14773 UINT8 mCallInstanceCount;
14774
14775 struct sInstance
14776 {
14777 UINT8 mCallID;
14778 eQMIVoicePresentationIndicators mPresentationIndicator;
14779 UINT8 mNumberLength;
14780
14781 // This array must be the size specified by mNumberLength
14782 // char mNumber[1];
14783 };
14784
14785 // This array must be the size specified by mCallInstanceCount
14786 // sInstance mInstances[1];
14787 };
14788
14789 // Structure to describe indication TLV 0x11 for Voice AllCallStatusIndication
14790 struct sVoiceAllCallStatusIndication_RemotePartyName
14791 {
14792 UINT8 mCallInstanceCount;
14793
14794 struct sInstance
14795 {
14796 UINT8 mCallID;
14797 eQMIVoicePresentationIndicators mPresentationIndicator;
14798 UINT8 mCodingScheme;
14799 UINT8 mCallerNameLength;
14800
14801 // This array must be the size specified by mCallerNameLength
14802 // UINT8 mCallerName[1];
14803 };
14804
14805 // This array must be the size specified by mCallInstanceCount
14806 // sInstance mInstances[1];
14807 };
14808
14809 // Structure to describe indication TLV 0x12 for Voice AllCallStatusIndication
14810 struct sVoiceAllCallStatusIndication_AlertingType
14811 {
14812 UINT8 mCallInstanceCount;
14813
14814 struct sInstance
14815 {
14816 UINT8 mCallID;
14817 eQMIVoiceAlertingTypes mAlertingType;
14818 };
14819
14820 // This array must be the size specified by mCallInstanceCount
14821 // sInstance mInstances[1];
14822 };
14823
14824 // Structure to describe indication TLV 0x13 for Voice AllCallStatusIndication
14825 struct sVoiceAllCallStatusIndication_ServiceOption
14826 {
14827 UINT8 mCallInstanceCount;
14828
14829 struct sInstance
14830 {
14831 UINT8 mCallID;
14832 UINT16 mServiceOption;
14833 };
14834
14835 // This array must be the size specified by mCallInstanceCount
14836 // sInstance mInstances[1];
14837 };
14838
14839 // Structure to describe indication TLV 0x14 for Voice AllCallStatusIndication
14840 struct sVoiceAllCallStatusIndication_CallEndReason
14841 {
14842 UINT8 mCallInstanceCount;
14843
14844 struct sInstance
14845 {
14846 UINT8 mCallID;
14847 eQMIVoiceEndReasons mEndReason;
14848 };
14849
14850 // This array must be the size specified by mCallInstanceCount
14851 // sInstance mInstances[1];
14852 };
14853
14854 // Structure to describe indication TLV 0x15 for Voice AllCallStatusIndication
14855 struct sVoiceAllCallStatusIndication_AlphaID
14856 {
14857 UINT8 mCallInstanceCount;
14858
14859 struct sInstance
14860 {
14861 UINT8 mCallID;
14862 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14863 UINT8 mAlphaLength;
14864
14865 // This array must be the size specified by mAlphaLength
14866 // UINT8 mAlphaData[1];
14867 };
14868
14869 // This array must be the size specified by mCallInstanceCount
14870 // sInstance mInstances[1];
14871 };
14872
14873 // Structure to describe indication TLV 0x16 for Voice AllCallStatusIndication
14874 struct sVoiceAllCallStatusIndication_ConnectedNumberInfo
14875 {
14876 UINT8 mCallInstanceCount;
14877
14878 struct sInstance
14879 {
14880 UINT8 mCallID;
14881 UINT8 mPresentationIndicator;
14882 eQMIVoiceScreeningIndicators mScreeningIndicator;
14883 eQMIVoiceNumberTypes mNumberType;
14884 eQMIVoiceNumberPlans mNumberPlan;
14885 UINT8 mNumberLength;
14886
14887 // This array must be the size specified by mNumberLength
14888 // char mNumber[1];
14889 };
14890
14891 // This array must be the size specified by mCallInstanceCount
14892 // sInstance mInstances[1];
14893 };
14894
14895 // Structure to describe indication TLV 0x17 for Voice AllCallStatusIndication
14896 struct sVoiceAllCallStatusIndication_DiagnosticInfo
14897 {
14898 UINT8 mCallInstanceCount;
14899
14900 struct sInstance
14901 {
14902 UINT8 mCallID;
14903 UINT8 mDiagnosticInfoLength;
14904
14905 // This array must be the size specified by mDiagnosticInfoLength
14906 // UINT8 mDiagnosticInfo[1];
14907 };
14908
14909 // This array must be the size specified by mCallInstanceCount
14910 // sInstance mInstances[1];
14911 };
14912
14913 // Structure to describe indication TLV 0x18 for Voice AllCallStatusIndication
14914 struct sVoiceAllCallStatusIndication_CalledPartyNumberInfo
14915 {
14916 UINT8 mCallInstanceCount;
14917
14918 struct sInstance
14919 {
14920 UINT8 mCallID;
14921 UINT8 mPresentationIndicator;
14922 eQMIVoiceScreeningIndicators mScreeningIndicator;
14923 eQMIVoiceNumberTypes mNumberType;
14924 eQMIVoiceNumberPlans mNumberPlan;
14925 UINT8 mNumberLength;
14926
14927 // This array must be the size specified by mNumberLength
14928 // char mNumber[1];
14929 };
14930
14931 // This array must be the size specified by mCallInstanceCount
14932 // sInstance mInstances[1];
14933 };
14934
14935 // Structure to describe indication TLV 0x19 for Voice AllCallStatusIndication
14936 struct sVoiceAllCallStatusIndication_RedirectingNumberInfo
14937 {
14938 UINT8 mCallInstanceCount;
14939
14940 struct sInstance
14941 {
14942 UINT8 mCallID;
14943 UINT8 mPresentationIndicator;
14944 eQMIVoiceScreeningIndicators mScreeningIndicator;
14945 eQMIVoiceNumberTypes mNumberType;
14946 eQMIVoiceNumberPlans mNumberPlan;
14947 UINT8 mNumberLength;
14948
14949 // This array must be the size specified by mNumberLength
14950 // char mNumber[1];
14951 };
14952
14953 // This array must be the size specified by mCallInstanceCount
14954 // sInstance mInstances[1];
14955 };
14956
14957 // Structure to describe indication TLV 0x1A for Voice AllCallStatusIndication
14958 struct sVoiceAllCallStatusIndication_AlertingPattern
14959 {
14960 UINT8 mCallInstanceCount;
14961
14962 struct sInstance
14963 {
14964 UINT8 mCallID;
14965 eQMIVoiceAlertingPatterns mAlertingPattern;
14966 };
14967
14968 // This array must be the size specified by mCallInstanceCount
14969 // sInstance mInstances[1];
14970 };
14971
14972 // Structure to describe indication TLV 0x1B for Voice AllCallStatusIndication
14973 struct sVoiceAllCallStatusIndication_AudioAttributesArray
14974 {
14975 UINT8 mAttributesCount;
14976
14977 struct sAttributes
14978 {
14979 UINT8 mCallID;
14980 bool mVoiceCallTX:1;
14981 bool mVoiceCallRX:1;
14982
14983 // Padding out 62 bits
14984 UINT8 mReserved1:6;
14985 UINT8 mReserved2[7];
14986 };
14987
14988 // This array must be the size specified by mAttributesCount
14989 // sAttributes mAttributeses[1];
14990 };
14991
14992 // Structure to describe indication TLV 0x1C for Voice AllCallStatusIndication
14993 struct sVoiceAllCallStatusIndication_VideoAttributesArray
14994 {
14995 UINT8 mAttributesCount;
14996
14997 struct sAttributes
14998 {
14999 UINT8 mCallID;
15000 bool mVoiceCallTX:1;
15001 bool mVoiceCallRX:1;
15002
15003 // Padding out 62 bits
15004 UINT8 mReserved1:6;
15005 UINT8 mReserved2[7];
15006 };
15007
15008 // This array must be the size specified by mAttributesCount
15009 // sAttributes mAttributeses[1];
15010 };
15011
15012 // Structure to describe response TLV 0x10 for VoiceGetAllCallInfo()
15013 struct sVoiceGetAllCallInfoResponse_CallInfo
15014 {
15015 UINT8 mCallInstanceCount;
15016
15017 struct sInstance
15018 {
15019 UINT8 mCallID;
15020 eQMIVoiceCallStates mCallState;
15021 eQMIVoiceCallTypes mCallType;
15022 eQMIVoiceCallDirections mDirection;
15023 eQMIVoiceCallModes mMode;
15024 INT8 mMultiparty;
15025 eQMIVoiceALSLineIndicators mALSLineIndicator;
15026 };
15027
15028 // This array must be the size specified by mCallInstanceCount
15029 // sInstance mInstances[1];
15030 };
15031
15032 // Structure to describe response TLV 0x11 for VoiceGetAllCallInfo()
15033 struct sVoiceGetAllCallInfoResponse_RemotePartyNumber
15034 {
15035 UINT8 mCallInstanceCount;
15036
15037 struct sInstance
15038 {
15039 UINT8 mCallID;
15040 eQMIVoicePresentationIndicators mPresentationIndicator;
15041 UINT8 mNumberLength;
15042
15043 // This array must be the size specified by mNumberLength
15044 // char mNumber[1];
15045 };
15046
15047 // This array must be the size specified by mCallInstanceCount
15048 // sInstance mInstances[1];
15049 };
15050
15051 // Structure to describe response TLV 0x12 for VoiceGetAllCallInfo()
15052 struct sVoiceGetAllCallInfoResponse_RemotePartyName
15053 {
15054 UINT8 mCallInstanceCount;
15055
15056 struct sInstance
15057 {
15058 UINT8 mCallID;
15059 eQMIVoicePresentationIndicators mPresentationIndicator;
15060 UINT8 mCodingScheme;
15061 UINT8 mCallerNameLength;
15062
15063 // This array must be the size specified by mCallerNameLength
15064 // UINT8 mCallerName[1];
15065 };
15066
15067 // This array must be the size specified by mCallInstanceCount
15068 // sInstance mInstances[1];
15069 };
15070
15071 // Structure to describe response TLV 0x13 for VoiceGetAllCallInfo()
15072 struct sVoiceGetAllCallInfoResponse_AlertingType
15073 {
15074 UINT8 mCallInstanceCount;
15075
15076 struct sInstance
15077 {
15078 UINT8 mCallID;
15079 eQMIVoiceAlertingTypes mAlertingType;
15080 };
15081
15082 // This array must be the size specified by mCallInstanceCount
15083 // sInstance mInstances[1];
15084 };
15085
15086 // Structure to describe response TLV 0x14 for VoiceGetAllCallInfo()
15087 struct sVoiceGetAllCallInfoResponse_UUS
15088 {
15089 UINT8 mCallInstanceCount;
15090
15091 struct sInstance
15092 {
15093 UINT8 mCallID;
15094 eQMIVoiceUUSTypes mUUSType;
15095 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
15096 UINT8 mUUSLength;
15097
15098 // This array must be the size specified by mUUSLength
15099 // UINT8 mUUSData[1];
15100 };
15101
15102 // This array must be the size specified by mCallInstanceCount
15103 // sInstance mInstances[1];
15104 };
15105
15106 // Structure to describe response TLV 0x15 for VoiceGetAllCallInfo()
15107 struct sVoiceGetAllCallInfoResponse_ServiceOption
15108 {
15109 UINT8 mCallInstanceCount;
15110
15111 struct sInstance
15112 {
15113 UINT8 mCallID;
15114 UINT16 mServiceOption;
15115 };
15116
15117 // This array must be the size specified by mCallInstanceCount
15118 // sInstance mInstances[1];
15119 };
15120
15121 // Structure to describe response TLV 0x16 for VoiceGetAllCallInfo()
15122 struct sVoiceGetAllCallInfoResponse_OTASPStatus
15123 {
15124 eQMIVoiceOTASPStati mOTASPStatus;
15125 };
15126
15127 // Structure to describe response TLV 0x17 for VoiceGetAllCallInfo()
15128 struct sVoiceGetAllCallInfoResponse_VoicePrivacy
15129 {
15130 eQMIVoicePrivacyLevels mVoicePrivacy;
15131 };
15132
15133 // Structure to describe response TLV 0x18 for VoiceGetAllCallInfo()
15134 struct sVoiceGetAllCallInfoResponse_CallEndReason
15135 {
15136 UINT8 mCallInstanceCount;
15137
15138 struct sInstance
15139 {
15140 UINT8 mCallID;
15141 eQMIVoiceEndReasons mEndReason;
15142 };
15143
15144 // This array must be the size specified by mCallInstanceCount
15145 // sInstance mInstances[1];
15146 };
15147
15148 // Structure to describe response TLV 0x19 for VoiceGetAllCallInfo()
15149 struct sVoiceGetAllCallInfoResponse_AlphaID
15150 {
15151 UINT8 mCallInstanceCount;
15152
15153 struct sInstance
15154 {
15155 UINT8 mCallID;
15156 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15157 UINT8 mAlphaLength;
15158
15159 // This array must be the size specified by mAlphaLength
15160 // UINT8 mAlphaData[1];
15161 };
15162
15163 // This array must be the size specified by mCallInstanceCount
15164 // sInstance mInstances[1];
15165 };
15166
15167 // Structure to describe response TLV 0x1A for VoiceGetAllCallInfo()
15168 struct sVoiceGetAllCallInfoResponse_ConnectedNumberInfo
15169 {
15170 UINT8 mCallInstanceCount;
15171
15172 struct sInstance
15173 {
15174 UINT8 mCallID;
15175 UINT8 mPresentationIndicator;
15176 eQMIVoiceScreeningIndicators mScreeningIndicator;
15177 eQMIVoiceNumberTypes mNumberType;
15178 eQMIVoiceNumberPlans mNumberPlan;
15179 UINT8 mNumberLength;
15180
15181 // This array must be the size specified by mNumberLength
15182 // char mNumber[1];
15183 };
15184
15185 // This array must be the size specified by mCallInstanceCount
15186 // sInstance mInstances[1];
15187 };
15188
15189 // Structure to describe response TLV 0x1B for VoiceGetAllCallInfo()
15190 struct sVoiceGetAllCallInfoResponse_DiagnosticInfo
15191 {
15192 UINT8 mCallInstanceCount;
15193
15194 struct sInstance
15195 {
15196 UINT8 mCallID;
15197 UINT8 mDiagnosticInfoLength;
15198
15199 // This array must be the size specified by mDiagnosticInfoLength
15200 // UINT8 mDiagnosticInfo[1];
15201 };
15202
15203 // This array must be the size specified by mCallInstanceCount
15204 // sInstance mInstances[1];
15205 };
15206
15207 // Structure to describe response TLV 0x1C for VoiceGetAllCallInfo()
15208 struct sVoiceGetAllCallInfoResponse_CalledPartyNumberInfo
15209 {
15210 UINT8 mCallInstanceCount;
15211
15212 struct sInstance
15213 {
15214 UINT8 mCallID;
15215 UINT8 mPresentationIndicator;
15216 eQMIVoiceScreeningIndicators mScreeningIndicator;
15217 eQMIVoiceNumberTypes mNumberType;
15218 eQMIVoiceNumberPlans mNumberPlan;
15219 UINT8 mNumberLength;
15220
15221 // This array must be the size specified by mNumberLength
15222 // char mNumber[1];
15223 };
15224
15225 // This array must be the size specified by mCallInstanceCount
15226 // sInstance mInstances[1];
15227 };
15228
15229 // Structure to describe response TLV 0x1D for VoiceGetAllCallInfo()
15230 struct sVoiceGetAllCallInfoResponse_RedirectingNumberInfo
15231 {
15232 UINT8 mCallInstanceCount;
15233
15234 struct sInstance
15235 {
15236 UINT8 mCallID;
15237 UINT8 mPresentationIndicator;
15238 eQMIVoiceScreeningIndicators mScreeningIndicator;
15239 eQMIVoiceNumberTypes mNumberType;
15240 eQMIVoiceNumberPlans mNumberPlan;
15241 UINT8 mNumberLength;
15242
15243 // This array must be the size specified by mNumberLength
15244 // char mNumber[1];
15245 };
15246
15247 // This array must be the size specified by mCallInstanceCount
15248 // sInstance mInstances[1];
15249 };
15250
15251 // Structure to describe response TLV 0x1E for VoiceGetAllCallInfo()
15252 struct sVoiceGetAllCallInfoResponse_AlertingPattern
15253 {
15254 UINT8 mCallInstanceCount;
15255
15256 struct sInstance
15257 {
15258 UINT8 mCallID;
15259 eQMIVoiceAlertingPatterns mAlertingPattern;
15260 };
15261
15262 // This array must be the size specified by mCallInstanceCount
15263 // sInstance mInstances[1];
15264 };
15265
15266 // Structure to describe response TLV 0x1F for VoiceGetAllCallInfo()
15267 struct sVoiceGetAllCallInfoResponse_AudioAttributesArray
15268 {
15269 UINT8 mAttributesCount;
15270
15271 struct sAttributes
15272 {
15273 UINT8 mCallID;
15274 bool mVoiceCallTX:1;
15275 bool mVoiceCallRX:1;
15276
15277 // Padding out 62 bits
15278 UINT8 mReserved1:6;
15279 UINT8 mReserved2[7];
15280 };
15281
15282 // This array must be the size specified by mAttributesCount
15283 // sAttributes mAttributeses[1];
15284 };
15285
15286 // Structure to describe response TLV 0x20 for VoiceGetAllCallInfo()
15287 struct sVoiceGetAllCallInfoResponse_VideoAttributesArray
15288 {
15289 UINT8 mAttributesCount;
15290
15291 struct sAttributes
15292 {
15293 UINT8 mCallID;
15294 bool mVoiceCallTX:1;
15295 bool mVoiceCallRX:1;
15296
15297 // Padding out 62 bits
15298 UINT8 mReserved1:6;
15299 UINT8 mReserved2[7];
15300 };
15301
15302 // This array must be the size specified by mAttributesCount
15303 // sAttributes mAttributeses[1];
15304 };
15305
15306 // Structure to describe request TLV 0x01 for VoiceManageCalls()
15307 struct sVoiceManageCallsRequest_Info
15308 {
15309 eQMIVoiceSupplementaryServiceCallTypes mSupplementaryServiceType;
15310 };
15311
15312 // Structure to describe request TLV 0x10 for VoiceManageCalls()
15313 struct sVoiceManageCallsRequest_CallID
15314 {
15315 UINT8 mCallID;
15316 };
15317
15318 // Structure to describe response TLV 0x10 for VoiceManageCalls()
15319 struct sVoiceManageCallsResponse_FailureCause
15320 {
15321 eQMIVoiceEndReasons mFailureCause;
15322 };
15323
15324 // Structure to describe indication TLV 0x01 for Voice SupplementaryServiceIndication
15325 struct sVoiceSupplementaryServiceIndication_Info
15326 {
15327 UINT8 mCallID;
15328 eQMIVoiceSupplementaryNotificationTypes mNotificationType;
15329 };
15330
15331 // Structure to describe indication TLV 0x10 for Voice SupplementaryServiceIndication
15332 struct sVoiceSupplementaryServiceIndication_CUG
15333 {
15334 UINT16 mCUGIndex;
15335 };
15336
15337 // Structure to describe indication TLV 0x11 for Voice SupplementaryServiceIndication
15338 struct sVoiceSupplementaryServiceIndication_ECT
15339 {
15340 eQMIVoiceECTCallStates mECTCallState;
15341 eQMIVoicePresentationIndicators mPresentationIndicator;
15342 UINT8 mNumberLength;
15343
15344 // This array must be the size specified by mNumberLength
15345 // char mNumber[1];
15346 };
15347
15348 // Structure to describe request TLV 0x01 for VoiceSetSupplementaryService()
15349 struct sVoiceSetSupplementaryServiceRequest_Info
15350 {
15351 eQMIVoiceSupplementaryServiceTypes mService;
15352 eQMIVoiceSupplementaryServiceReasons mReason;
15353 };
15354
15355 // Structure to describe request TLV 0x10 for VoiceSetSupplementaryService()
15356 struct sVoiceSetSupplementaryServiceRequest_ServiceClass
15357 {
15358 bool mSupplementaryServiceClassVoice:1;
15359 bool mSupplementaryServiceClassData:1;
15360 bool mSupplementaryServiceClassFax:1;
15361 bool mSupplementaryServiceClassSMS:1;
15362 bool mSupplementaryServiceClassDataCircuitSync:1;
15363 bool mSupplementaryServiceClassDataCircuitAsync:1;
15364 bool mSupplementaryServiceClassPacketAccess:1;
15365 bool mSupplementaryServiceClassPadAccess:1;
15366 };
15367
15368 // Structure to describe request TLV 0x11 for VoiceSetSupplementaryService()
15369 struct sVoiceSetSupplementaryServiceRequest_Password
15370 {
15371 char mCallBarringPassword[4];
15372 };
15373
15374 // Structure to describe request TLV 0x12 for VoiceSetSupplementaryService()
15375 struct sVoiceSetSupplementaryServiceRequest_Number
15376 {
15377 // String is variable length, but must be size of the container
15378 // char mCallForwardingNumber[1];
15379 };
15380
15381 // Structure to describe request TLV 0x13 for VoiceSetSupplementaryService()
15382 struct sVoiceSetSupplementaryServiceRequest_Timer
15383 {
15384 UINT8 mNoReplyTimerSeconds;
15385 };
15386
15387 // Structure to describe request TLV 0x14 for VoiceSetSupplementaryService()
15388 struct sVoiceSetSupplementaryServiceRequest_CallForwarding
15389 {
15390 eQMIVoiceNumberTypes mNumberType;
15391 eQMIVoiceNumberPlans mNumberPlan;
15392 };
15393
15394 // Structure to describe request TLV 0x15 for VoiceSetSupplementaryService()
15395 struct sVoiceSetSupplementaryServiceRequest_ExtendedServiceClass
15396 {
15397 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15398 };
15399
15400 // Structure to describe response TLV 0x10 for VoiceSetSupplementaryService()
15401 struct sVoiceSetSupplementaryServiceResponse_FailureCause
15402 {
15403 eQMIVoiceEndReasons mFailureCause;
15404 };
15405
15406 // Structure to describe response TLV 0x11 for VoiceSetSupplementaryService()
15407 struct sVoiceSetSupplementaryServiceResponse_AlphaID
15408 {
15409 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15410 UINT8 mAlphaLength;
15411
15412 // This array must be the size specified by mAlphaLength
15413 // UINT8 mAlphaData[1];
15414 };
15415
15416 // Structure to describe response TLV 0x12 for VoiceSetSupplementaryService()
15417 struct sVoiceSetSupplementaryServiceResponse_CallControl
15418 {
15419 eQMIVoiceCallControlResultTypes mCallControlResult;
15420 };
15421
15422 // Structure to describe response TLV 0x13 for VoiceSetSupplementaryService()
15423 struct sVoiceSetSupplementaryServiceResponse_CallID
15424 {
15425 UINT8 mCallID;
15426 };
15427
15428 // Structure to describe response TLV 0x14 for VoiceSetSupplementaryService()
15429 struct sVoiceSetSupplementaryServiceResponse_SupplementaryService
15430 {
15431 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15432 eQMIVoiceSupplementaryServiceReasons mReason;
15433 };
15434
15435 // Structure to describe response TLV 0x15 for VoiceSetSupplementaryService()
15436 struct sVoiceSetSupplementaryServiceResponse_ServiceStatus
15437 {
15438 INT8 mActive;
15439 INT8 mProvisioned;
15440 };
15441
15442 // Structure to describe request TLV 0x10 for VoiceGetCallWaiting()
15443 struct sVoiceGetCallWaitingRequest_ServiceClass
15444 {
15445 bool mSupplementaryServiceClassVoice:1;
15446 bool mSupplementaryServiceClassData:1;
15447 bool mSupplementaryServiceClassFax:1;
15448 bool mSupplementaryServiceClassSMS:1;
15449 bool mSupplementaryServiceClassDataCircuitSync:1;
15450 bool mSupplementaryServiceClassDataCircuitAsync:1;
15451 bool mSupplementaryServiceClassPacketAccess:1;
15452 bool mSupplementaryServiceClassPadAccess:1;
15453 };
15454
15455 // Structure to describe request TLV 0x11 for VoiceGetCallWaiting()
15456 struct sVoiceGetCallWaitingRequest_ExtendedServiceClass
15457 {
15458 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15459 };
15460
15461 // Structure to describe response TLV 0x10 for VoiceGetCallWaiting()
15462 struct sVoiceGetCallWaitingResponse_ServiceClass
15463 {
15464 bool mSupplementaryServiceClassVoice:1;
15465 bool mSupplementaryServiceClassData:1;
15466 bool mSupplementaryServiceClassFax:1;
15467 bool mSupplementaryServiceClassSMS:1;
15468 bool mSupplementaryServiceClassDataCircuitSync:1;
15469 bool mSupplementaryServiceClassDataCircuitAsync:1;
15470 bool mSupplementaryServiceClassPacketAccess:1;
15471 bool mSupplementaryServiceClassPadAccess:1;
15472 };
15473
15474 // Structure to describe response TLV 0x11 for VoiceGetCallWaiting()
15475 struct sVoiceGetCallWaitingResponse_FailureCause
15476 {
15477 eQMIVoiceEndReasons mFailureCause;
15478 };
15479
15480 // Structure to describe response TLV 0x12 for VoiceGetCallWaiting()
15481 struct sVoiceGetCallWaitingResponse_AlphaID
15482 {
15483 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15484 UINT8 mAlphaLength;
15485
15486 // This array must be the size specified by mAlphaLength
15487 // UINT8 mAlphaData[1];
15488 };
15489
15490 // Structure to describe response TLV 0x13 for VoiceGetCallWaitinge()
15491 struct sVoiceGetCallWaitingeResponse_CallControl
15492 {
15493 eQMIVoiceCallControlResultTypes mCallControlResult;
15494 };
15495
15496 // Structure to describe response TLV 0x14 for VoiceGetCallWaiting()
15497 struct sVoiceGetCallWaitingResponse_CallID
15498 {
15499 UINT8 mCallID;
15500 };
15501
15502 // Structure to describe response TLV 0x15 for VoiceGetCallWaiting()
15503 struct sVoiceGetCallWaitingResponse_SupplementaryService
15504 {
15505 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15506 eQMIVoiceSupplementaryServiceReasons mReason;
15507 };
15508
15509 // Structure to describe response TLV 0x16 for VoiceGetCallWaiting()
15510 struct sVoiceGetCallWaitingResponse_ExtendedServiceClass
15511 {
15512 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15513 };
15514
15515 // Structure to describe request TLV 0x01 for VoiceGetCallBarring()
15516 struct sVoiceGetCallBarringRequest_Reason
15517 {
15518 eQMIVoiceSupplementaryServiceReasons mReason;
15519 };
15520
15521 // Structure to describe request TLV 0x10 for VoiceGetCallBarring()
15522 struct sVoiceGetCallBarringRequest_ServiceClass
15523 {
15524 bool mSupplementaryServiceClassVoice:1;
15525 bool mSupplementaryServiceClassData:1;
15526 bool mSupplementaryServiceClassFax:1;
15527 bool mSupplementaryServiceClassSMS:1;
15528 bool mSupplementaryServiceClassDataCircuitSync:1;
15529 bool mSupplementaryServiceClassDataCircuitAsync:1;
15530 bool mSupplementaryServiceClassPacketAccess:1;
15531 bool mSupplementaryServiceClassPadAccess:1;
15532 };
15533
15534 // Structure to describe request TLV 0x11 for VoiceGetCallBarring()
15535 struct sVoiceGetCallBarringRequest_ExtendedServiceClass
15536 {
15537 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15538 };
15539
15540 // Structure to describe response TLV 0x10 for VoiceGetCallBarring()
15541 struct sVoiceGetCallBarringResponse_ServiceClass
15542 {
15543 bool mSupplementaryServiceClassVoice:1;
15544 bool mSupplementaryServiceClassData:1;
15545 bool mSupplementaryServiceClassFax:1;
15546 bool mSupplementaryServiceClassSMS:1;
15547 bool mSupplementaryServiceClassDataCircuitSync:1;
15548 bool mSupplementaryServiceClassDataCircuitAsync:1;
15549 bool mSupplementaryServiceClassPacketAccess:1;
15550 bool mSupplementaryServiceClassPadAccess:1;
15551 };
15552
15553 // Structure to describe response TLV 0x11 for VoiceGetCallBarring()
15554 struct sVoiceGetCallBarringResponse_FailureCause
15555 {
15556 eQMIVoiceEndReasons mFailureCause;
15557 };
15558
15559 // Structure to describe response TLV 0x12 for VoiceGetCallBarring()
15560 struct sVoiceGetCallBarringResponse_AlphaID
15561 {
15562 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15563 UINT8 mAlphaLength;
15564
15565 // This array must be the size specified by mAlphaLength
15566 // UINT8 mAlphaData[1];
15567 };
15568
15569 // Structure to describe response TLV 0x13 for VoiceGetCallBarring()
15570 struct sVoiceGetCallBarringResponse_CallControl
15571 {
15572 eQMIVoiceCallControlResultTypes mCallControlResult;
15573 };
15574
15575 // Structure to describe response TLV 0x14 for VoiceGetCallBarring()
15576 struct sVoiceGetCallBarringResponse_CallID
15577 {
15578 UINT8 mCallID;
15579 };
15580
15581 // Structure to describe response TLV 0x15 for VoiceGetCallBarring()
15582 struct sVoiceGetCallBarringResponse_SupplementaryService
15583 {
15584 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15585 eQMIVoiceSupplementaryServiceReasons mReason;
15586 };
15587
15588 // Structure to describe response TLV 0x16 for VoiceGetCallBarring()
15589 struct sVoiceGetCallBarringResponse_ExtendedServiceClass
15590 {
15591 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15592 };
15593
15594 // Structure to describe response TLV 0x10 for VoiceGetCLIP()
15595 struct sVoiceGetCLIPResponse_Status
15596 {
15597 INT8 mCLIPActive;
15598 INT8 mCLIPProvisioned;
15599 };
15600
15601 // Structure to describe response TLV 0x11 for VoiceGetCLIP()
15602 struct sVoiceGetCLIPResponse_FailureCause
15603 {
15604 eQMIVoiceEndReasons mFailureCause;
15605 };
15606
15607 // Structure to describe response TLV 0x12 for VoiceGetCLIP()
15608 struct sVoiceGetCLIPResponse_AlphaID
15609 {
15610 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15611 UINT8 mAlphaLength;
15612
15613 // This array must be the size specified by mAlphaLength
15614 // UINT8 mAlphaData[1];
15615 };
15616
15617 // Structure to describe response TLV 0x13 for VoiceGetCLIP()
15618 struct sVoiceGetCLIPResponse_CallControl
15619 {
15620 eQMIVoiceCallControlResultTypes mCallControlResult;
15621 };
15622
15623 // Structure to describe response TLV 0x14 for VoiceGetCLIP()
15624 struct sVoiceGetCLIPResponse_CallID
15625 {
15626 UINT8 mCallID;
15627 };
15628
15629 // Structure to describe response TLV 0x15 for VoiceGetCLIP()
15630 struct sVoiceGetCLIPResponse_SupplementaryService
15631 {
15632 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15633 eQMIVoiceSupplementaryServiceReasons mReason;
15634 };
15635
15636 // Structure to describe response TLV 0x10 for VoiceGetCLIR()
15637 struct sVoiceGetCLIRResponse_Status
15638 {
15639 INT8 mCLIRActive;
15640 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
15641 };
15642
15643 // Structure to describe response TLV 0x11 for VoiceGetCLIR()
15644 struct sVoiceGetCLIRResponse_FailureCause
15645 {
15646 eQMIVoiceEndReasons mFailureCause;
15647 };
15648
15649 // Structure to describe response TLV 0x12 for VoiceGetCLIR()
15650 struct sVoiceGetCLIRResponse_AlphaID
15651 {
15652 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15653 UINT8 mAlphaLength;
15654
15655 // This array must be the size specified by mAlphaLength
15656 // UINT8 mAlphaData[1];
15657 };
15658
15659 // Structure to describe response TLV 0x13 for VoiceGetCLIR()
15660 struct sVoiceGetCLIRResponse_CallControl
15661 {
15662 eQMIVoiceCallControlResultTypes mCallControlResult;
15663 };
15664
15665 // Structure to describe response TLV 0x14 for VoiceGetCLIR()
15666 struct sVoiceGetCLIRResponse_CallID
15667 {
15668 UINT8 mCallID;
15669 };
15670
15671 // Structure to describe response TLV 0x15 for VoiceGetCLIR()
15672 struct sVoiceGetCLIRResponse_SupplementaryService
15673 {
15674 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15675 eQMIVoiceSupplementaryServiceReasons mReason;
15676 };
15677
15678 // Structure to describe request TLV 0x01 for VoiceGetCallForwarding()
15679 struct sVoiceGetCallForwardingRequest_Reason
15680 {
15681 eQMIVoiceSupplementaryServiceReasons mReason;
15682 };
15683
15684 // Structure to describe request TLV 0x10 for VoiceGetCallForwarding()
15685 struct sVoiceGetCallForwardingRequest_ServiceClass
15686 {
15687 bool mSupplementaryServiceClassVoice:1;
15688 bool mSupplementaryServiceClassData:1;
15689 bool mSupplementaryServiceClassFax:1;
15690 bool mSupplementaryServiceClassSMS:1;
15691 bool mSupplementaryServiceClassDataCircuitSync:1;
15692 bool mSupplementaryServiceClassDataCircuitAsync:1;
15693 bool mSupplementaryServiceClassPacketAccess:1;
15694 bool mSupplementaryServiceClassPadAccess:1;
15695 };
15696
15697 // Structure to describe request TLV 0x11 for VoiceGetCallForwarding()
15698 struct sVoiceGetCallForwardingRequest_ExtendedServiceClass
15699 {
15700 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15701 };
15702
15703 // Structure to describe response TLV 0x10 for VoiceGetCallForwarding()
15704 struct sVoiceGetCallForwardingResponse_Info
15705 {
15706 UINT8 mInstanceCount;
15707
15708 struct sInstance1
15709 {
15710 INT8 mServiceActive;
15711 bool mSupplementaryServiceClassVoice:1;
15712 bool mSupplementaryServiceClassData:1;
15713 bool mSupplementaryServiceClassFax:1;
15714 bool mSupplementaryServiceClassSMS:1;
15715 bool mSupplementaryServiceClassDataCircuitSync:1;
15716 bool mSupplementaryServiceClassDataCircuitAsync:1;
15717 bool mSupplementaryServiceClassPacketAccess:1;
15718 bool mSupplementaryServiceClassPadAccess:1;
15719 UINT8 mNumberLength;
15720
15721 // This array must be the size specified by mNumberLength
15722 // char mNumber[1];
15723 };
15724
15725 struct sInstance2
15726 {
15727 UINT8 mNoReplyTimerSeconds;
15728 };
15729
15730 struct sInstance
15731 {
15732 sInstance1 mInstance1;
15733 sInstance2 mInstance2;
15734 };
15735
15736 // This array must be the size specified by mInstanceCount
15737 // sInstance mInstances[1];
15738 };
15739
15740 // Structure to describe response TLV 0x11 for VoiceGetCallForwarding()
15741 struct sVoiceGetCallForwardingResponse_FailureCause
15742 {
15743 eQMIVoiceEndReasons mFailureCause;
15744 };
15745
15746 // Structure to describe response TLV 0x12 for VoiceGetCallForwarding()
15747 struct sVoiceGetCallForwardingResponse_AlphaID
15748 {
15749 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15750 UINT8 mAlphaLength;
15751
15752 // This array must be the size specified by mAlphaLength
15753 // UINT8 mAlphaData[1];
15754 };
15755
15756 // Structure to describe response TLV 0x13 for VoiceGetCallForwarding()
15757 struct sVoiceGetCallForwardingResponse_CallControl
15758 {
15759 eQMIVoiceCallControlResultTypes mCallControlResult;
15760 };
15761
15762 // Structure to describe response TLV 0x14 for VoiceGetCallForwarding()
15763 struct sVoiceGetCallForwardingResponse_CallID
15764 {
15765 UINT8 mCallID;
15766 };
15767
15768 // Structure to describe response TLV 0x15 for VoiceGetCallForwarding()
15769 struct sVoiceGetCallForwardingResponse_SupplementaryService
15770 {
15771 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15772 eQMIVoiceSupplementaryServiceReasons mReason;
15773 };
15774
15775 // Structure to describe response TLV 0x16 for VoiceGetCallForwarding()
15776 struct sVoiceGetCallForwardingResponse_ExtendedInfo
15777 {
15778 UINT8 mCallInstanceCount;
15779
15780 struct sInstance
15781 {
15782 INT8 mServiceActive;
15783 bool mSupplementaryServiceClassVoice:1;
15784 bool mSupplementaryServiceClassData:1;
15785 bool mSupplementaryServiceClassFax:1;
15786 bool mSupplementaryServiceClassSMS:1;
15787 bool mSupplementaryServiceClassDataCircuitSync:1;
15788 bool mSupplementaryServiceClassDataCircuitAsync:1;
15789 bool mSupplementaryServiceClassPacketAccess:1;
15790 bool mSupplementaryServiceClassPadAccess:1;
15791 UINT8 mNoReplyTimerSeconds;
15792 UINT8 mPresentationIndicator;
15793 eQMIVoiceScreeningIndicators mScreeningIndicator;
15794 eQMIVoiceNumberTypes mNumberType;
15795 eQMIVoiceNumberPlans mNumberPlan;
15796 UINT8 mNumberLength;
15797
15798 // This array must be the size specified by mNumberLength
15799 // char mNumber[1];
15800 };
15801
15802 // This array must be the size specified by mCallInstanceCount
15803 // sInstance mInstances[1];
15804 };
15805
15806 // Structure to describe response TLV 0x17 for VoiceGetCallForwarding()
15807 struct sVoiceGetCallForwardingResponse_ExtendedInfo2
15808 {
15809 UINT8 mCallInstanceCount;
15810
15811 struct sInstance
15812 {
15813 INT8 mServiceActive;
15814 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15815 UINT8 mNoReplyTimerSeconds;
15816 UINT8 mPresentationIndicator;
15817 eQMIVoiceScreeningIndicators mScreeningIndicator;
15818 eQMIVoiceNumberTypes mNumberType;
15819 eQMIVoiceNumberPlans mNumberPlan;
15820 UINT8 mNumberLength;
15821
15822 // This array must be the size specified by mNumberLength
15823 // char mNumber[1];
15824 };
15825
15826 // This array must be the size specified by mCallInstanceCount
15827 // sInstance mInstances[1];
15828 };
15829
15830 // Structure to describe request TLV 0x01 for VoiceSetCallBarringPassword()
15831 struct sVoiceSetCallBarringPasswordRequest_Info
15832 {
15833 eQMIVoiceSupplementaryServiceReasons mReason;
15834 char mOldCallBarringPassword[4];
15835 char mNewCallBarringPassword[4];
15836 char mNewCallBarringPasswordRepeat[4];
15837 };
15838
15839 // Structure to describe response TLV 0x10 for VoiceSetCallBarring()
15840 struct sVoiceSetCallBarringResponse_FailureCause
15841 {
15842 eQMIVoiceEndReasons mFailureCause;
15843 };
15844
15845 // Structure to describe response TLV 0x11 for VoiceSetCallBarring()
15846 struct sVoiceSetCallBarringResponse_AlphaID
15847 {
15848 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15849 UINT8 mAlphaLength;
15850
15851 // This array must be the size specified by mAlphaLength
15852 // UINT8 mAlphaData[1];
15853 };
15854
15855 // Structure to describe response TLV 0x12 for VoiceSetCallBarring()
15856 struct sVoiceSetCallBarringResponse_CallControl
15857 {
15858 eQMIVoiceCallControlResultTypes mCallControlResult;
15859 };
15860
15861 // Structure to describe response TLV 0x13 for VoiceSetCallBarring()
15862 struct sVoiceSetCallBarringResponse_CallID
15863 {
15864 UINT8 mCallID;
15865 };
15866
15867 // Structure to describe response TLV 0x14 for VoiceSetCallBarring()
15868 struct sVoiceSetCallBarringResponse_SupplementaryService
15869 {
15870 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15871 eQMIVoiceSupplementaryServiceReasons mReason;
15872 };
15873
15874 // Structure to describe request TLV 0x01 for VoiceInitiateUSSD()
15875 struct sVoiceInitiateUSSDRequest_Info
15876 {
15877 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15878 UINT8 mUSSLength;
15879
15880 // This array must be the size specified by mUSSLength
15881 // UINT8 mUSSData[1];
15882 };
15883
15884 // Structure to describe response TLV 0x10 for VoiceInitiateUSSD()
15885 struct sVoiceInitiateUSSDResponse_FailCause
15886 {
15887 UINT16 mFailureCause;
15888 };
15889
15890 // Structure to describe response TLV 0x11 for VoiceInitiateUSSD()
15891 struct sVoiceInitiateUSSDResponse_AlphaID
15892 {
15893 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15894 UINT8 mAlphaLength;
15895
15896 // This array must be the size specified by mAlphaLength
15897 // UINT8 mAlphaData[1];
15898 };
15899
15900 // Structure to describe response TLV 0x12 for VoiceInitiateUSSD()
15901 struct sVoiceInitiateUSSDResponse_Data
15902 {
15903 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15904 UINT8 mUSSLength;
15905
15906 // This array must be the size specified by mUSSLength
15907 // UINT8 mUSSData[1];
15908 };
15909
15910 // Structure to describe response TLV 0x13 for VoiceInitiateUSSD()
15911 struct sVoiceInitiateUSSDResponse_CallControl
15912 {
15913 eQMIVoiceCallControlResultTypes mCallControlResult;
15914 };
15915
15916 // Structure to describe response TLV 0x14 for VoiceInitiateUSSD()
15917 struct sVoiceInitiateUSSDResponse_CallID
15918 {
15919 UINT8 mCallID;
15920 };
15921
15922 // Structure to describe response TLV 0x15 for VoiceInitiateUSSD()
15923 struct sVoiceInitiateUSSDResponse_SupplementaryService
15924 {
15925 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15926 eQMIVoiceSupplementaryServiceReasons mReason;
15927 };
15928
15929 // Structure to describe response TLV 0x16 for VoiceInitiateUSSD()
15930 struct sVoiceInitiateUSSDResponse_EncodedData
15931 {
15932 UINT8 mServiceInformationLength;
15933
15934 // This array must be the size specified by mServiceInformationLength
15935 // wchar_t mServiceInformation[1];
15936 };
15937
15938 // Structure to describe request TLV 0x01 for VoiceAnswerUSSD()
15939 struct sVoiceAnswerUSSDRequest_Info
15940 {
15941 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15942 UINT8 mUSSLength;
15943
15944 // This array must be the size specified by mUSSLength
15945 // UINT8 mUSSData[1];
15946 };
15947
15948 // Structure to describe indication TLV 0x01 for Voice USSDIndication
15949 struct sVoiceUSSDIndication_Type
15950 {
15951 eQMIVoiceUSSDNotifcationTypes mNotificationType;
15952 };
15953
15954 // Structure to describe indication TLV 0x10 for Voice USSDIndication
15955 struct sVoiceUSSDIndication_Data
15956 {
15957 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15958 UINT8 mUSSLength;
15959
15960 // This array must be the size specified by mUSSLength
15961 // UINT8 mUSSData[1];
15962 };
15963
15964 // Structure to describe indication TLV 0x11 for Voice USSDIndication
15965 struct sVoiceUSSDIndication_EncodedData
15966 {
15967 UINT8 mServiceInformationLength;
15968
15969 // This array must be the size specified by mServiceInformationLength
15970 // wchar_t mServiceInformation[1];
15971 };
15972
15973 // Structure to describe indication TLV 0x01 for Voice USSIndication
15974 struct sVoiceUSSIndication_Info
15975 {
15976 UINT8 mCallID;
15977 eQMIVoiceUUSTypes mUUSType;
15978 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
15979 UINT8 mUUSLength;
15980
15981 // This array must be the size specified by mUUSLength
15982 // UINT8 mUUSData[1];
15983 };
15984
15985 // Structure to describe request TLV 0x10 for VoiceSetConfig()
15986 struct sVoiceSetConfigRequest_AutoAnswer
15987 {
15988 INT8 mAutoAnswer;
15989 };
15990
15991 // Structure to describe request TLV 0x11 for VoiceSetConfig()
15992 struct sVoiceSetConfigRequest_AirTimer
15993 {
15994 UINT8 mNAMID;
15995 UINT32 mAirTimerMinutes;
15996 };
15997
15998 // Structure to describe request TLV 0x12 for VoiceSetConfig()
15999 struct sVoiceSetConfigRequest_RoamTimer
16000 {
16001 UINT8 mNAMID;
16002 UINT32 mRoamTimerMinutes;
16003 };
16004
16005 // Structure to describe request TLV 0x13 for VoiceSetConfig()
16006 struct sVoiceSetConfigRequest_TTYMode
16007 {
16008 eQMIVoiceTTYModes mTTYMode;
16009 };
16010
16011 // Structure to describe request TLV 0x14 for VoiceSetConfig()
16012 struct sVoiceSetConfigRequest_PreferredVoiceSO
16013 {
16014 UINT8 mNAMID;
16015 INT8 mEVRCCapability;
16016 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
16017 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
16018 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
16019 };
16020
16021 // Structure to describe request TLV 0x15 for VoiceSetConfig()
16022 struct sVoiceSetConfigRequest_PreferredVoiceDomain
16023 {
16024 eQMIVoiceDomains mPreferredDomain;
16025 };
16026
16027 // Structure to describe response TLV 0x10 for VoiceSetConfig()
16028 struct sVoiceSetConfigResponse_AutoAnswer
16029 {
16030 INT8 mWriteFailed;
16031 };
16032
16033 // Structure to describe response TLV 0x11 for VoiceSetConfig()
16034 struct sVoiceSetConfigResponse_AirTimer
16035 {
16036 INT8 mWriteFailed;
16037 };
16038
16039 // Structure to describe response TLV 0x12 for VoiceSetConfig()
16040 struct sVoiceSetConfigResponse_RoamTimer
16041 {
16042 INT8 mWriteFailed;
16043 };
16044
16045 // Structure to describe response TLV 0x13 for VoiceSetConfig()
16046 struct sVoiceSetConfigResponse_TTYMode
16047 {
16048 INT8 mWriteFailed;
16049 };
16050
16051 // Structure to describe response TLV 0x14 for VoiceSetConfig()
16052 struct sVoiceSetConfigResponse_PreferredVoiceSO
16053 {
16054 INT8 mWriteFailed;
16055 };
16056
16057 // Structure to describe response TLV 0x15 for VoiceSetConfig()
16058 struct sVoiceSetConfigResponse_PreferredVoiceDomain
16059 {
16060 INT8 mWriteFailed;
16061 };
16062
16063 // Structure to describe request TLV 0x10 for VoiceGetConfig()
16064 struct sVoiceGetConfigRequest_AutoAnswer
16065 {
16066 INT8 mInclude;
16067 };
16068
16069 // Structure to describe request TLV 0x11 for VoiceGetConfig()
16070 struct sVoiceGetConfigRequest_AirTimer
16071 {
16072 INT8 mInclude;
16073 };
16074
16075 // Structure to describe request TLV 0x12 for VoiceGetConfig()
16076 struct sVoiceGetConfigRequest_RoamTimer
16077 {
16078 INT8 mInclude;
16079 };
16080
16081 // Structure to describe request TLV 0x13 for VoiceGetConfig()
16082 struct sVoiceGetConfigRequest_TTYMode
16083 {
16084 INT8 mInclude;
16085 };
16086
16087 // Structure to describe request TLV 0x14 for VoiceGetConfig()
16088 struct sVoiceGetConfigRequest_PreferredVoiceSO
16089 {
16090 INT8 mInclude;
16091 };
16092
16093 // Structure to describe request TLV 0x15 for VoiceGetConfig()
16094 struct sVoiceGetConfigRequest_AMRStatus
16095 {
16096 INT8 mInclude;
16097 };
16098
16099 // Structure to describe request TLV 0x16 for VoiceGetConfig()
16100 struct sVoiceGetConfigRequest_PreferredVoicePrivacy
16101 {
16102 INT8 mInclude;
16103 };
16104
16105 // Structure to describe request TLV 0x17 for VoiceGetConfig()
16106 struct sVoiceGetConfigRequest_NAM
16107 {
16108 UINT8 mNAMID;
16109 };
16110
16111 // Structure to describe request TLV 0x18 for VoiceGetConfig()
16112 struct sVoiceGetConfigRequest_VoiceDomain
16113 {
16114 INT8 mInclude;
16115 };
16116
16117 // Structure to describe response TLV 0x10 for VoiceGetConfig()
16118 struct sVoiceGetConfigResponse_AutoAnswer
16119 {
16120 INT8 mAutoAnswer;
16121 };
16122
16123 // Structure to describe response TLV 0x11 for VoiceGetConfig()
16124 struct sVoiceGetConfigResponse_AirTimer
16125 {
16126 UINT8 mNAMID;
16127 UINT32 mAirTimerMinutes;
16128 };
16129
16130 // Structure to describe response TLV 0x12 for VoiceGetConfig()
16131 struct sVoiceGetConfigResponse_RoamTimer
16132 {
16133 UINT8 mNAMID;
16134 UINT32 mRoamTimerMinutes;
16135 };
16136
16137 // Structure to describe response TLV 0x13 for VoiceGetConfig()
16138 struct sVoiceGetConfigResponse_TTYMode
16139 {
16140 eQMIVoiceTTYModes mTTYMode;
16141 };
16142
16143 // Structure to describe response TLV 0x14 for VoiceGetConfig()
16144 struct sVoiceGetConfigResponse_PreferredVoiceSO
16145 {
16146 UINT8 mNAMID;
16147 INT8 mEVRCCapability;
16148 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
16149 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
16150 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
16151 };
16152
16153 // Structure to describe response TLV 0x15 for VoiceGetConfig()
16154 struct sVoiceGetConfigResponse_AMRConfig
16155 {
16156 INT8 mGSMAMR;
16157 bool mWCDMAAMRWB:1;
16158 bool mGSMHRAMR:1;
16159 bool mGSMAMRWB:1;
16160 bool mGSMAMRNB:1;
16161
16162 // Padding out 4 bits
16163 UINT8 mReserved1:4;
16164 };
16165
16166 // Structure to describe response TLV 0x16 for VoiceGetConfig()
16167 struct sVoiceGetConfigResponse_Privacy
16168 {
16169 eQMIVoicePrivacyLevels mVoicePrivacy;
16170 };
16171
16172 // Structure to describe response TLV 0x17 for VoiceGetConfig()
16173 struct sVoiceGetConfigResponse_PreferredVoiceDomain
16174 {
16175 eQMIVoiceDomains mPreferredDomain;
16176 };
16177
16178 // Structure to describe request TLV 0x01 for VoiceSupplementaryService()
16179 struct sVoiceSupplementaryServiceRequestIndication_Info
16180 {
16181 eQMIVoiceSupplementaryServiceRequests mSupplementaryServiceRequest;
16182 INT8 mModifiedByCallControl;
16183 };
16184
16185 // Structure to describe request TLV 0x10 for VoiceSupplementaryService()
16186 struct sVoiceSupplementaryServiceRequestIndication_Class
16187 {
16188 bool mSupplementaryServiceClassVoice:1;
16189 bool mSupplementaryServiceClassData:1;
16190 bool mSupplementaryServiceClassFax:1;
16191 bool mSupplementaryServiceClassSMS:1;
16192 bool mSupplementaryServiceClassDataCircuitSync:1;
16193 bool mSupplementaryServiceClassDataCircuitAsync:1;
16194 bool mSupplementaryServiceClassPacketAccess:1;
16195 bool mSupplementaryServiceClassPadAccess:1;
16196 };
16197
16198 // Structure to describe request TLV 0x11 for VoiceSupplementaryService()
16199 struct sVoiceSupplementaryServiceRequestIndication_Reason
16200 {
16201 eQMIVoiceSupplementaryServiceReasons mReason;
16202 };
16203
16204 // Structure to describe request TLV 0x12 for VoiceSupplementaryService()
16205 struct sVoiceSupplementaryServiceRequestIndication_Number
16206 {
16207 // String is variable length, but must be size of the container
16208 // char mCallForwardingNumber[1];
16209 };
16210
16211 // Structure to describe request TLV 0x13 for VoiceSupplementaryService()
16212 struct sVoiceSupplementaryServiceRequestIndication_Timer
16213 {
16214 UINT8 mNoReplyTimerSeconds;
16215 };
16216
16217 // Structure to describe request TLV 0x14 for VoiceSupplementaryService()
16218 struct sVoiceSupplementaryServiceRequestIndication_USSData
16219 {
16220 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16221 UINT8 mUSSLength;
16222
16223 // This array must be the size specified by mUSSLength
16224 // UINT8 mUSSData[1];
16225 };
16226
16227 // Structure to describe request TLV 0x15 for VoiceSupplementaryService()
16228 struct sVoiceSupplementaryServiceRequestIndication_CallID
16229 {
16230 UINT8 mCallID;
16231 };
16232
16233 // Structure to describe request TLV 0x16 for VoiceSupplementaryService()
16234 struct sVoiceSupplementaryServiceRequestIndication_AlphaID
16235 {
16236 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16237 UINT8 mAlphaLength;
16238
16239 // This array must be the size specified by mAlphaLength
16240 // UINT8 mAlphaData[1];
16241 };
16242
16243 // Structure to describe request TLV 0x17 for VoiceSupplementaryService()
16244 struct sVoiceSupplementaryServiceRequestIndication_Password
16245 {
16246 char mCallBarringPassword[4];
16247 };
16248
16249 // Structure to describe request TLV 0x18 for VoiceSupplementaryService()
16250 struct sVoiceSupplementaryServiceRequestIndication_NewPassword
16251 {
16252 char mNewCallBarringPassword[4];
16253 char mNewCallBarringPasswordRepeat[4];
16254 };
16255
16256 // Structure to describe request TLV 0x19 for VoiceSupplementaryService()
16257 struct sVoiceSupplementaryServiceRequestIndication_DataSource
16258 {
16259 INT8 mResponseData;
16260 };
16261
16262 // Structure to describe request TLV 0x1A for VoiceSupplementaryService()
16263 struct sVoiceSupplementaryServiceRequestIndication_FailCause
16264 {
16265 UINT16 mFailureCause;
16266 };
16267
16268 // Structure to describe request TLV 0x1B for VoiceSupplementaryService()
16269 struct sVoiceSupplementaryServiceRequestIndication_CallForwarding
16270 {
16271 UINT8 mInstanceCount;
16272
16273 struct sInstance1
16274 {
16275 INT8 mServiceActive;
16276 bool mSupplementaryServiceClassVoice:1;
16277 bool mSupplementaryServiceClassData:1;
16278 bool mSupplementaryServiceClassFax:1;
16279 bool mSupplementaryServiceClassSMS:1;
16280 bool mSupplementaryServiceClassDataCircuitSync:1;
16281 bool mSupplementaryServiceClassDataCircuitAsync:1;
16282 bool mSupplementaryServiceClassPacketAccess:1;
16283 bool mSupplementaryServiceClassPadAccess:1;
16284 UINT8 mNumberLength;
16285
16286 // This array must be the size specified by mNumberLength
16287 // char mNumber[1];
16288 };
16289
16290 struct sInstance2
16291 {
16292 UINT8 mNoReplyTimerSeconds;
16293 };
16294
16295 struct sInstance
16296 {
16297 sInstance1 mInstance1;
16298 sInstance2 mInstance2;
16299 };
16300
16301 // This array must be the size specified by mInstanceCount
16302 // sInstance mInstances[1];
16303 };
16304
16305 // Structure to describe request TLV 0x1C for VoiceSupplementaryService()
16306 struct sVoiceSupplementaryServiceRequestIndication_CLIR
16307 {
16308 INT8 mCLIRActive;
16309 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
16310 };
16311
16312 // Structure to describe request TLV 0x1D for VoiceSupplementaryService()
16313 struct sVoiceSupplementaryServiceRequestIndication_CLIP
16314 {
16315 INT8 mCLIPActive;
16316 INT8 mCLIPProvisioned;
16317 };
16318
16319 // Structure to describe request TLV 0x1E for VoiceSupplementaryService()
16320 struct sVoiceSupplementaryServiceRequestIndication_COLP
16321 {
16322 INT8 mActive;
16323 INT8 mProvisioned;
16324 };
16325
16326 // Structure to describe request TLV 0x1F for VoiceSupplementaryService()
16327 struct sVoiceSupplementaryServiceRequestIndication_COLR
16328 {
16329 INT8 mActive;
16330 INT8 mProvisioned;
16331 };
16332
16333 // Structure to describe request TLV 0x20 for VoiceSupplementaryService()
16334 struct sVoiceSupplementaryServiceRequestIndication_CNAP
16335 {
16336 INT8 mActive;
16337 INT8 mProvisioned;
16338 };
16339
16340 // Structure to describe request TLV 0x21 for VoiceSupplementaryService()
16341 struct sVoiceSupplementaryServiceRequestIndication_EncodedData
16342 {
16343 UINT8 mServiceInformationLength;
16344
16345 // This array must be the size specified by mServiceInformationLength
16346 // wchar_t mServiceInformation[1];
16347 };
16348
16349 // Structure to describe request TLV 0x22 for VoiceSupplementaryService()
16350 struct sVoiceSupplementaryServiceRequestIndication_ExtendedServiceClass
16351 {
16352 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
16353 };
16354
16355 // Structure to describe request TLV 0x01 for VoiceAsyncInitiateUSSD()
16356 struct sVoiceAsyncInitiateUSSDRequest_Info
16357 {
16358 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16359 UINT8 mUSSLength;
16360
16361 // This array must be the size specified by mUSSLength
16362 // UINT8 mUSSData[1];
16363 };
16364
16365 // Structure to describe indication TLV 0x10 for Voice USSDAsyncIndication
16366 struct sVoiceUSSDAsyncIndication_Error
16367 {
16368 eQMIErrors mQMIError;
16369 };
16370
16371 // Structure to describe indication TLV 0x11 for Voice USSDAsyncIndication
16372 struct sVoiceUSSDAsyncIndication_FailCause
16373 {
16374 UINT16 mFailureCause;
16375 };
16376
16377 // Structure to describe indication TLV 0x12 for Voice USSDAsyncIndication
16378 struct sVoiceUSSDAsyncIndication_Info
16379 {
16380 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16381 UINT8 mUSSLength;
16382
16383 // This array must be the size specified by mUSSLength
16384 // UINT8 mUSSData[1];
16385 };
16386
16387 // Structure to describe indication TLV 0x13 for Voice USSDAsyncIndication
16388 struct sVoiceUSSDAsyncIndication_AlphaID
16389 {
16390 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16391 UINT8 mAlphaLength;
16392
16393 // This array must be the size specified by mAlphaLength
16394 // UINT8 mAlphaData[1];
16395 };
16396
16397 // Structure to describe indication TLV 0x14 for Voice USSDAsyncIndication
16398 struct sVoiceUSSDAsyncIndication_EncodedData
16399 {
16400 UINT8 mServiceInformationLength;
16401
16402 // This array must be the size specified by mServiceInformationLength
16403 // wchar_t mServiceInformation[1];
16404 };
16405
16406 // Structure to describe request TLV 0x01 for VoiceBindSubscription()
16407 struct sVoiceBindSubscriptionRequest_Type
16408 {
16409 eQMIVoiceSubscriptionTypes mSubscriptionType;
16410 };
16411
16412 // Structure to describe request TLV 0x01 for VoiceALSSetLineSwitching()
16413 struct sVoiceALSSetLineSwitchingRequest_Switching
16414 {
16415 INT8 mLineSwitchingAllowed;
16416 };
16417
16418 // Structure to describe request TLV 0x01 for VoiceALSSelectLine()
16419 struct sVoiceALSSelectLineRequest_Line
16420 {
16421 eQMIVoiceALSLines mLineValue;
16422 };
16423
16424 // Structure to describe request TLV 0x01 for VoiceAOCSetACMMaximum()
16425 struct sVoiceAOCSetACMMaximumRequest_ACMMax
16426 {
16427 UINT32 mACMMaximum;
16428 };
16429
16430 // Structure to describe request TLV 0x01 for VoiceAOCGetCallMeterInfo()
16431 struct sVoiceAOCGetCallMeterInfoRequest_Mask
16432 {
16433 bool mACM:1;
16434 bool mACMMaximum:1;
16435 bool mCCM:1;
16436
16437 // Padding out 13 bits
16438 UINT8 mReserved1:5;
16439 UINT8 mReserved2;
16440 };
16441
16442 // Structure to describe response TLV 0x10 for VoiceAOCGetCallMeterInfo()
16443 struct sVoiceAOCGetCallMeterInfoResponse_ACM
16444 {
16445 UINT32 mACM;
16446 };
16447
16448 // Structure to describe response TLV 0x11 for VoiceAOCGetCallMeterInfo()
16449 struct sVoiceAOCGetCallMeterInfoResponse_ACMMax
16450 {
16451 UINT32 mACMMaximum;
16452 };
16453
16454 // Structure to describe response TLV 0x12 for VoiceAOCGetCallMeterInfo()
16455 struct sVoiceAOCGetCallMeterInfoResponse_CCM
16456 {
16457 UINT32 mCCM;
16458 };
16459
16460 // Structure to describe response TLV 0x10 for VoiceGetCOLP()
16461 struct sVoiceGetCOLPResponse_COLP
16462 {
16463 INT8 mActive;
16464 INT8 mProvisioned;
16465 };
16466
16467 // Structure to describe response TLV 0x11 for VoiceGetCOLP()
16468 struct sVoiceGetCOLPResponse_FailCause
16469 {
16470 UINT16 mFailureCause;
16471 };
16472
16473 // Structure to describe response TLV 0x12 for VoiceGetCOLP()
16474 struct sVoiceGetCOLPResponse_AlphaID
16475 {
16476 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16477 UINT8 mAlphaLength;
16478
16479 // This array must be the size specified by mAlphaLength
16480 // UINT8 mAlphaData[1];
16481 };
16482
16483 // Structure to describe response TLV 0x13 for VoiceGetCOLP()
16484 struct sVoiceGetCOLPResponse_CallControl
16485 {
16486 eQMIVoiceCallControlResultTypes mCallControlResult;
16487 };
16488
16489 // Structure to describe response TLV 0x14 for VoiceGetCOLP()
16490 struct sVoiceGetCOLPResponse_CallID
16491 {
16492 UINT8 mCallID;
16493 };
16494
16495 // Structure to describe response TLV 0x15 for VoiceGetCOLP()
16496 struct sVoiceGetCOLPResponse_SupplementaryService
16497 {
16498 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16499 eQMIVoiceSupplementaryServiceReasons mReason;
16500 };
16501
16502 // Structure to describe response TLV 0x10 for VoiceGetCOLR()
16503 struct sVoiceGetCOLRResponse_COLR
16504 {
16505 INT8 mActive;
16506 INT8 mProvisioned;
16507 };
16508
16509 // Structure to describe response TLV 0x11 for VoiceGetCOLR()
16510 struct sVoiceGetCOLRResponse_FailCause
16511 {
16512 UINT16 mFailureCause;
16513 };
16514
16515 // Structure to describe response TLV 0x12 for VoiceGetCOLR()
16516 struct sVoiceGetCOLRResponse_AlphaID
16517 {
16518 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16519 UINT8 mAlphaLength;
16520
16521 // This array must be the size specified by mAlphaLength
16522 // UINT8 mAlphaData[1];
16523 };
16524
16525 // Structure to describe response TLV 0x13 for VoiceGetCOLR()
16526 struct sVoiceGetCOLRResponse_CallControl
16527 {
16528 eQMIVoiceCallControlResultTypes mCallControlResult;
16529 };
16530
16531 // Structure to describe response TLV 0x14 for VoiceGetCOLR()
16532 struct sVoiceGetCOLRResponse_CallID
16533 {
16534 UINT8 mCallID;
16535 };
16536
16537 // Structure to describe response TLV 0x15 for VoiceGetCOLR()
16538 struct sVoiceGetCOLRResponse_SupplementaryService
16539 {
16540 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16541 eQMIVoiceSupplementaryServiceReasons mReason;
16542 };
16543
16544 // Structure to describe response TLV 0x10 for VoiceGetCNAP()
16545 struct sVoiceGetCNAPResponse_CNAP
16546 {
16547 INT8 mActive;
16548 INT8 mProvisioned;
16549 };
16550
16551 // Structure to describe response TLV 0x11 for VoiceGetCNAP()
16552 struct sVoiceGetCNAPResponse_FailCause
16553 {
16554 UINT16 mFailureCause;
16555 };
16556
16557 // Structure to describe response TLV 0x12 for VoiceGetCNAP()
16558 struct sVoiceGetCNAPResponse_AlphaID
16559 {
16560 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16561 UINT8 mAlphaLength;
16562
16563 // This array must be the size specified by mAlphaLength
16564 // UINT8 mAlphaData[1];
16565 };
16566
16567 // Structure to describe response TLV 0x13 for VoiceGetCNAP()
16568 struct sVoiceGetCNAPResponse_CallControl
16569 {
16570 eQMIVoiceCallControlResultTypes mCallControlResult;
16571 };
16572
16573 // Structure to describe response TLV 0x14 for VoiceGetCNAP()
16574 struct sVoiceGetCNAPResponse_CallID
16575 {
16576 UINT8 mCallID;
16577 };
16578
16579 // Structure to describe response TLV 0x15 for VoiceGetCNAP()
16580 struct sVoiceGetCNAPResponse_SupplementaryService
16581 {
16582 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16583 eQMIVoiceSupplementaryServiceReasons mReason;
16584 };
16585
16586 // Structure to describe request TLV 0x01 for VoiceManageIPCalls()
16587 struct sVoiceManageIPCallsRequest_Info
16588 {
16589 eQMIVoiceVoIPSUPSCallTypes mSupplementaryServiceType;
16590 };
16591
16592 // Structure to describe request TLV 0x10 for VoiceManageIPCalls()
16593 struct sVoiceManageIPCallsRequest_CallID
16594 {
16595 UINT8 mCallID;
16596 };
16597
16598 // Structure to describe request TLV 0x11 for VoiceManageIPCalls()
16599 struct sVoiceManageIPCallsRequest_CallType
16600 {
16601 eQMIVoiceCallTypes mCallType;
16602 };
16603
16604 // Structure to describe request TLV 0x12 for VoiceManageIPCalls()
16605 struct sVoiceManageIPCallsRequest_AudioAttribute
16606 {
16607 bool mVoiceCallTX:1;
16608 bool mVoiceCallRX:1;
16609
16610 // Padding out 62 bits
16611 UINT8 mReserved1:6;
16612 UINT8 mReserved2[7];
16613 };
16614
16615 // Structure to describe request TLV 0x13 for VoiceManageIPCalls()
16616 struct sVoiceManageIPCallsRequest_VideoAttribute
16617 {
16618 bool mVoiceCallTX:1;
16619 bool mVoiceCallRX:1;
16620
16621 // Padding out 62 bits
16622 UINT8 mReserved1:6;
16623 UINT8 mReserved2[7];
16624 };
16625
16626 // Structure to describe request TLV 0x14 for VoiceManageIPCalls()
16627 struct sVoiceManageIPCallsRequest_SIPURI
16628 {
16629 // String is variable length, but must be size of the container
16630 // char mSIPURIOverflow[1];
16631 };
16632
16633 // Structure to describe response TLV 0x10 for VoiceManageIPCalls()
16634 struct sVoiceManageIPCallsResponse_CallID
16635 {
16636 UINT8 mCallID;
16637 };
16638
16639 // Structure to describe response TLV 0x11 for VoiceManageIPCalls()
16640 struct sVoiceManageIPCallsResponse_FailureCause
16641 {
16642 eQMIVoiceEndReasons mFailureCause;
16643 };
16644
16645 // Structure to describe response TLV 0x10 for VoiceALSGetLineSwitchingStatus()
16646 struct sVoiceALSGetLineSwitchingStatusResponse_SwitchValue
16647 {
16648 eQMIVoiceSwitchValue mSwitchValue;
16649 };
16650
16651 // Structure to describe response TLV 0x10 for VoiceALSGetSelectedLine()
16652 struct sVoiceALSGetSelectedLineResponse_Line
16653 {
16654 eQMIVoiceALSLines mLineValue;
16655 };
16656
16657 // Structure to describe indication TLV 0x01 for Voice CallModifiedIndication
16658 struct sVoiceCallModifiedIndication_CallID
16659 {
16660 UINT8 mCallID;
16661 };
16662
16663 // Structure to describe indication TLV 0x10 for Voice CallModifiedIndication
16664 struct sVoiceCallModifiedIndication_CallType
16665 {
16666 eQMIVoiceCallTypes mCallType;
16667 };
16668
16669 // Structure to describe indication TLV 0x11 for Voice CallModifiedIndication
16670 struct sVoiceCallModifiedIndication_AudioAttribute
16671 {
16672 bool mVoiceCallTX:1;
16673 bool mVoiceCallRX:1;
16674
16675 // Padding out 62 bits
16676 UINT8 mReserved1:6;
16677 UINT8 mReserved2[7];
16678 };
16679
16680 // Structure to describe indication TLV 0x12 for Voice CallModifiedIndication
16681 struct sVoiceCallModifiedIndication_VideoAttribute
16682 {
16683 bool mVoiceCallTX:1;
16684 bool mVoiceCallRX:1;
16685
16686 // Padding out 62 bits
16687 UINT8 mReserved1:6;
16688 UINT8 mReserved2[7];
16689 };
16690
16691 // Structure to describe indication TLV 0x01 for Voice CallModifyAcceptIndication
16692 struct sVoiceCallModifyAcceptIndication_CallID
16693 {
16694 UINT8 mCallID;
16695 };
16696
16697 // Structure to describe indication TLV 0x10 for Voice CallModifyAcceptIndication
16698 struct sVoiceCallModifyAcceptIndication_CallType
16699 {
16700 eQMIVoiceCallTypes mCallType;
16701 };
16702
16703 // Structure to describe indication TLV 0x11 for Voice CallModifyAcceptIndication
16704 struct sVoiceCallModifyAcceptIndication_AudioAttribute
16705 {
16706 bool mVoiceCallTX:1;
16707 bool mVoiceCallRX:1;
16708
16709 // Padding out 62 bits
16710 UINT8 mReserved1:6;
16711 UINT8 mReserved2[7];
16712 };
16713
16714 // Structure to describe indication TLV 0x12 for Voice CallModifyAcceptIndication
16715 struct sVoiceCallModifyAcceptIndication_VideoAttribute
16716 {
16717 bool mVoiceCallTX:1;
16718 bool mVoiceCallRX:1;
16719
16720 // Padding out 62 bits
16721 UINT8 mReserved1:6;
16722 UINT8 mReserved2[7];
16723 };
16724
16725 // Structure to describe indication TLV 0x10 for Voice SpeechCodecInformationIndication
16726 struct sVoiceSpeechCodecInformationIndication_NetworkMode
16727 {
16728 eQMIVoiceNetworkMode mNetworkMode;
16729 };
16730
16731 // Structure to describe indication TLV 0x11 for Voice SpeechCodecInformationIndication
16732 struct sVoiceSpeechCodecInformationIndication_Type
16733 {
16734 eQMIVoiceSpeechCodecType mType;
16735 };
16736
16737 // Structure to describe indication TLV 0x12 for Voice SpeechCodecInformationIndication
16738 struct sVoiceSpeechCodecInformationIndication_SamplingRate
16739 {
16740 UINT32 mSamplingRateHz;
16741 };
16742
16743 // Structure to describe indication TLV 0x01 for Voice HandoverIndication
16744 struct sVoiceHandoverIndication_State
16745 {
16746 eQMIVoiceHandoverStates mHandoverState;
16747 };
16748
16749 // Structure to describe request TLV 0x10 for CAT2SetEventReport()
16750 struct sCAT2SetEventReportRequest_ReportMask
16751 {
16752 bool mDisplayText:1;
16753 bool mGetInkey:1;
16754 bool mGetInput:1;
16755 bool mSetupMenu:1;
16756 bool mSelectItem:1;
16757 bool mSendSMSAlphaIdentifier:1;
16758 bool mSetupEventUserActivity:1;
16759 bool mSetupEventIdleScreenNotify:1;
16760 bool mSetupEventLanguageSelNotify:1;
16761 bool mSetupIdleModeText:1;
16762 bool mLanguageNotification:1;
16763 bool mRefresh:1;
16764 bool mEndProactiveSession:1;
16765 bool mPlayTone:1;
16766 bool mSetupCall:1;
16767 bool mSendDTMF:1;
16768 bool mLaunchBrowser:1;
16769 bool mSendSS:1;
16770 bool mSendUSSD:1;
16771 bool mProvideLocalInformationLanguage:1;
16772 bool mBearerIndependentProtocol:1;
16773 bool mSetupEventBrowserTermination:1;
16774 bool mProvideLocalInformationTime:1;
16775 bool mActivate:1;
16776
16777 // Padding out 1 bits
16778 UINT8 mReserved1:1;
16779
16780 bool mSetupEventHCIConnectivity:1;
16781
16782 // Padding out 6 bits
16783 UINT8 mReserved2:6;
16784 };
16785
16786 // Structure to describe request TLV 0x11 for CAT2SetEventReport()
16787 struct sCAT2SetEventReportRequest_DecodeReportMask
16788 {
16789 bool mDisplayText:1;
16790 bool mGetInkey:1;
16791 bool mGetInput:1;
16792 bool mSetupMenu:1;
16793 bool mSelectItem:1;
16794 bool mSendSMSAlphaIdentifier:1;
16795 bool mSetupEventUserActivity:1;
16796 bool mSetupEventIdleScreenNotify:1;
16797 bool mSetupEventLanguageSelNotify:1;
16798 bool mSetupIdleModeText:1;
16799 bool mLanguageNotification:1;
16800
16801 // Padding out 1 bits
16802 UINT8 mReserved1:1;
16803
16804 bool mEndProactiveSession:1;
16805 bool mPlayTone:1;
16806 bool mSetupCall:1;
16807 bool mSendDTMF:1;
16808 bool mLaunchBrowser:1;
16809 bool mSendSS:1;
16810 bool mSendUSSD:1;
16811 bool mProvideLocalInformationLanguage:1;
16812 bool mBearerIndependentProtocol:1;
16813
16814 // Padding out 2 bits
16815 UINT8 mReserved2:2;
16816
16817 bool mSCWSEvent:1;
16818 bool mActivate:1;
16819 bool mSetupEventHCIConnectivity:1;
16820
16821 // Padding out 6 bits
16822 UINT8 mReserved3:6;
16823 };
16824
16825 // Structure to describe request TLV 0x12 for CAT2SetEventReport()
16826 struct sCAT2SetEventReportRequest_Slot
16827 {
16828 bool mSlot1:1;
16829 bool mSlot2:1;
16830
16831 // Padding out 6 bits
16832 UINT8 mReserved1:6;
16833 };
16834
16835 // Structure to describe response TLV 0x10 for CAT2SetEventReport()
16836 struct sCAT2SetEventReportResponse_RegStatusMask
16837 {
16838 bool mDisplayText:1;
16839 bool mGetInkey:1;
16840 bool mGetInput:1;
16841 bool mSetupMenu:1;
16842 bool mSelectItem:1;
16843 bool mSendSMSAlphaIdentifier:1;
16844 bool mSetupEventUserActivity:1;
16845 bool mSetupEventIdleScreenNotify:1;
16846 bool mSetupEventLanguageSelNotify:1;
16847 bool mSetupIdleModeText:1;
16848 bool mLanguageNotification:1;
16849 bool mRefresh:1;
16850 bool mEndProactiveSession:1;
16851 bool mPlayTone:1;
16852 bool mSetupCall:1;
16853 bool mSendDTMF:1;
16854 bool mLaunchBrowser:1;
16855 bool mSendSS:1;
16856 bool mSendUSSD:1;
16857 bool mProvideLocalInformationLanguage:1;
16858 bool mBearerIndependentProtocol:1;
16859 bool mSetupEventBrowserTermination:1;
16860 bool mProvideLocalInformationTime:1;
16861 bool mActivate:1;
16862
16863 // Padding out 1 bits
16864 UINT8 mReserved1:1;
16865
16866 bool mSetupEventHCIConnectivity:1;
16867
16868 // Padding out 6 bits
16869 UINT8 mReserved2:6;
16870 };
16871
16872 // Structure to describe response TLV 0x11 for CAT2SetEventReport()
16873 struct sCAT2SetEventReportResponse_DecodedRegStatusMask
16874 {
16875 bool mDisplayText:1;
16876 bool mGetInkey:1;
16877 bool mGetInput:1;
16878 bool mSetupMenu:1;
16879 bool mSelectItem:1;
16880 bool mSendSMSAlphaIdentifier:1;
16881 bool mSetupEventUserActivity:1;
16882 bool mSetupEventIdleScreenNotify:1;
16883 bool mSetupEventLanguageSelNotify:1;
16884 bool mSetupIdleModeText:1;
16885 bool mLanguageNotification:1;
16886
16887 // Padding out 1 bits
16888 UINT8 mReserved1:1;
16889
16890 bool mEndProactiveSession:1;
16891 bool mPlayTone:1;
16892 bool mSetupCall:1;
16893 bool mSendDTMF:1;
16894 bool mLaunchBrowser:1;
16895 bool mSendSS:1;
16896 bool mSendUSSD:1;
16897 bool mProvideLocalInformationLanguage:1;
16898 bool mBearerIndependentProtocol:1;
16899
16900 // Padding out 2 bits
16901 UINT8 mReserved2:2;
16902
16903 bool mSCWSEvent:1;
16904 bool mActivate:1;
16905 bool mSetupEventHCIConnectivity:1;
16906
16907 // Padding out 6 bits
16908 UINT8 mReserved3:6;
16909 };
16910
16911 // Structure to describe indication TLV 0x10 for CAT2 EventReport
16912 struct sCAT2EventReportIndication_DisplayTextEvent
16913 {
16914 UINT32 mReferenceID;
16915 UINT16 mCommandLength;
16916
16917 // This array must be the size specified by mCommandLength
16918 // UINT8 mDisplayTextCommand[1];
16919 };
16920
16921 // Structure to describe indication TLV 0x11 for CAT2 EventReport
16922 struct sCAT2EventReportIndication_GetInkeyEvent
16923 {
16924 UINT32 mReferenceID;
16925 UINT16 mCommandLength;
16926
16927 // This array must be the size specified by mCommandLength
16928 // UINT8 mGetInkeyCommand[1];
16929 };
16930
16931 // Structure to describe indication TLV 0x12 for CAT2 EventReport
16932 struct sCAT2EventReportIndication_GetInputEvent
16933 {
16934 UINT32 mReferenceID;
16935 UINT16 mCommandLength;
16936
16937 // This array must be the size specified by mCommandLength
16938 // UINT8 mGetInputCommand[1];
16939 };
16940
16941 // Structure to describe indication TLV 0x13 for CAT2 EventReport
16942 struct sCAT2EventReportIndication_SetupMenuEvent
16943 {
16944 UINT32 mReferenceID;
16945 UINT16 mCommandLength;
16946
16947 // This array must be the size specified by mCommandLength
16948 // UINT8 mSetupMenuCommand[1];
16949 };
16950
16951 // Structure to describe indication TLV 0x14 for CAT2 EventReport
16952 struct sCAT2EventReportIndication_SelectItemEvent
16953 {
16954 UINT32 mReferenceID;
16955 UINT16 mCommandLength;
16956
16957 // This array must be the size specified by mCommandLength
16958 // UINT8 mSelectItemCommand[1];
16959 };
16960
16961 // Structure to describe indication TLV 0x15 for CAT2 EventReport
16962 struct sCAT2EventReportIndication_AlphaIDAvailable
16963 {
16964 eQMICATAlphaIDCommandType mAlphaIDCommandType;
16965 UINT16 mAlphaIDLength;
16966
16967 // This array must be the size specified by mAlphaIDLength
16968 // UINT8 mAlphaID[1];
16969 };
16970
16971 // Structure to describe indication TLV 0x16 for CAT2 EventReport
16972 struct sCAT2EventReportIndication_SetupEventList
16973 {
16974 bool mUserActivityNotify:1;
16975 bool mIdleScreenAvailable:1;
16976 bool mLanguageSelectionNotify:1;
16977
16978 // Padding out 29 bits
16979 UINT8 mReserved1:5;
16980 UINT8 mReserved2[3];
16981 };
16982
16983 // Structure to describe indication TLV 0x17 for CAT2 EventReport
16984 struct sCAT2EventReportIndication_SetupIdleModeTextEvent
16985 {
16986 UINT32 mReferenceID;
16987 UINT16 mCommandLength;
16988
16989 // This array must be the size specified by mCommandLength
16990 // UINT8 mSetupIdleModeTextCommand[1];
16991 };
16992
16993 // Structure to describe indication TLV 0x18 for CAT2 EventReport
16994 struct sCAT2EventReportIndication_LanguageNotificationEvent
16995 {
16996 UINT32 mReferenceID;
16997 UINT16 mCommandLength;
16998
16999 // This array must be the size specified by mCommandLength
17000 // UINT8 mLanguageNotificationCommand[1];
17001 };
17002
17003 // Structure to describe indication TLV 0x19 for CAT2 EventReport
17004 struct sCAT2EventReportIndication_RefreshEvent
17005 {
17006 UINT16 mRefreshMode;
17007 eQMICATRefreshStage mRefreshStage;
17008 };
17009
17010 // Structure to describe indication TLV 0x1A for CAT2 EventReport
17011 struct sCAT2EventReportIndication_EndProactiveSession
17012 {
17013 eQMICATProactiveSessionEndType mProactiveSessionEndType;
17014 };
17015
17016 // Structure to describe indication TLV 0x1B for CAT2 EventReport
17017 struct sCAT2EventReportIndication_DecodedHeaderID
17018 {
17019 eQMICATCommandID mCommandID;
17020 UINT32 mReferenceID;
17021 UINT8 mCommandNumber;
17022 };
17023
17024 // Structure to describe indication TLV 0x1C for CAT2 EventReport
17025 struct sCAT2EventReportIndication_TextString
17026 {
17027 eQMICATDataCodingScheme mDataCodingScheme;
17028 UINT8 mTextDataLength;
17029
17030 // This array must be the size specified by mTextDataLength
17031 // UINT8 mTextData[1];
17032 };
17033
17034 // Structure to describe indication TLV 0x1D for CAT2 EventReport
17035 struct sCAT2EventReportIndication_HighPriority
17036 {
17037 eQMICATHighPriority mHighPriority;
17038 };
17039
17040 // Structure to describe indication TLV 0x1E for CAT2 EventReport
17041 struct sCAT2EventReportIndication_UserControl
17042 {
17043 eQMICATUserControl mUserControl;
17044 };
17045
17046 // Structure to describe indication TLV 0x1F for CAT2 EventReport
17047 struct sCAT2EventReportIndication_Icon
17048 {
17049 eQMICATIconQualifier mIconQualifier;
17050 UINT8 mHeight;
17051 UINT8 mWidth;
17052 eQMICATImageCodingScheme mImageCodingScheme;
17053 UINT8 mRecordNumber;
17054 UINT16 mIconDataLength;
17055
17056 // This array must be the size specified by mIconDataLength
17057 // UINT8 mIconData[1];
17058 };
17059
17060 // Structure to describe indication TLV 0x20 for CAT2 EventReport
17061 struct sCAT2EventReportIndication_Duration
17062 {
17063 eQMICATTimeUnits mUnits;
17064 UINT8 mInterval;
17065 };
17066
17067 // Structure to describe indication TLV 0x21 for CAT2 EventReport
17068 struct sCAT2EventReportIndication_ResponseFormat
17069 {
17070 eQMICATResponseFormat mResponseFormat;
17071 };
17072
17073 // Structure to describe indication TLV 0x22 for CAT2 EventReport
17074 struct sCAT2EventReportIndication_HelpAvailable
17075 {
17076 eQMICATHelpAvailable mHelpAvailable;
17077 };
17078
17079 // Structure to describe indication TLV 0x23 for CAT2 EventReport
17080 struct sCAT2EventReportIndication_ResponsePackingFormat
17081 {
17082 eQMICATResponsePackingFormat mResponsePackingFormat;
17083 };
17084
17085 // Structure to describe indication TLV 0x24 for CAT2 EventReport
17086 struct sCAT2EventReportIndication_ResponseLength
17087 {
17088 UINT8 mMaximumUserInput;
17089 UINT8 mMinimumUserInput;
17090 };
17091
17092 // Structure to describe indication TLV 0x25 for CAT2 EventReport
17093 struct sCAT2EventReportIndication_ShowUserInput
17094 {
17095 eQMICATShowUserInput mShowUserInput;
17096 };
17097
17098 // Structure to describe indication TLV 0x26 for CAT2 EventReport
17099 struct sCAT2EventReportIndication_Tone
17100 {
17101 eQMICATTone mTone;
17102 };
17103
17104 // Structure to describe indication TLV 0x27 for CAT2 EventReport
17105 struct sCAT2EventReportIndication_SoftkeySelection
17106 {
17107 eQMICATSoftkeySelection mSoftkeySelection;
17108 };
17109
17110 // Structure to describe indication TLV 0x28 for CAT2 EventReport
17111 struct sCAT2EventReportIndication_Items
17112 {
17113 UINT8 mItemsLength;
17114
17115 struct sItem
17116 {
17117 UINT8 mItemID;
17118 UINT8 mItemTextLength;
17119
17120 // This array must be the size specified by mItemTextLength
17121 // UINT8 mItemText[1];
17122 };
17123
17124 // This array must be the size specified by mItemsLength
17125 // sItem mItems[1];
17126 };
17127
17128 // Structure to describe indication TLV 0x29 for CAT2 EventReport
17129 struct sCAT2EventReportIndication_DefaultItem
17130 {
17131 UINT8 mDefaultItem;
17132 };
17133
17134 // Structure to describe indication TLV 0x2A for CAT2 EventReport
17135 struct sCAT2EventReportIndication_NextActionIdentifier
17136 {
17137 UINT8 mActionsLength;
17138
17139 // This array must be the size specified by mActionsLength
17140 // eQMICATNextAction mNextAction[1];
17141 };
17142
17143 // Structure to describe indication TLV 0x2B for CAT2 EventReport
17144 struct sCAT2EventReportIndication_IconIDList
17145 {
17146 eQMICATDisplayIconOnly mDisplayIconOnly;
17147 UINT8 mItemsLength;
17148
17149 struct sItem
17150 {
17151 eQMICATIconQualifier mIconQualifier;
17152 UINT8 mHeight;
17153 UINT8 mWidth;
17154 eQMICATImageCodingScheme mImageCodingScheme;
17155 UINT8 mRecordNumber;
17156 UINT16 mIconDataLength;
17157
17158 // This array must be the size specified by mIconDataLength
17159 // UINT8 mIconData[1];
17160 };
17161
17162 // This array must be the size specified by mItemsLength
17163 // sItem mItems[1];
17164 };
17165
17166 // Structure to describe indication TLV 0x2C for CAT2 EventReport
17167 struct sCAT2EventReportIndication_Presentation
17168 {
17169 eQMICATPresentation mPresentation;
17170 };
17171
17172 // Structure to describe indication TLV 0x2D for CAT2 EventReport
17173 struct sCAT2EventReportIndication_PackingRequired
17174 {
17175 eQMICATPackingRequired mPackingRequired;
17176 };
17177
17178 // Structure to describe indication TLV 0x2E for CAT2 EventReport
17179 struct sCAT2EventReportIndication_SMSTPDU
17180 {
17181 UINT8 mSMSTPDUDataLength;
17182
17183 // This array must be the size specified by mSMSTPDUDataLength
17184 // UINT8 mSMSTPDUData[1];
17185 };
17186
17187 // Structure to describe indication TLV 0x2F for CAT2 EventReport
17188 struct sCAT2EventReportIndication_IsCDMASMS
17189 {
17190 eQMICATIsCDMASMS mIsCDMASMS;
17191 };
17192
17193 // Structure to describe indication TLV 0x30 for CAT2 EventReport
17194 struct sCAT2EventReportIndication_Address
17195 {
17196 eQMICATAddressTON mAddressTON;
17197 eQMICATAddressNPI mAddressNPI;
17198 UINT8 mAddressDataLength;
17199
17200 // This array must be the size specified by mAddressDataLength
17201 // char mAddressData[1];
17202 };
17203
17204 // Structure to describe indication TLV 0x31 for CAT2 EventReport
17205 struct sCAT2EventReportIndication_CallSetupRequirement
17206 {
17207 eQMICATCallSetupRequirement mCallSetupRequirement;
17208 };
17209
17210 // Structure to describe indication TLV 0x32 for CAT2 EventReport
17211 struct sCAT2EventReportIndication_Redial
17212 {
17213 eQMICATRedialNecessary mRedialNecessary;
17214 eQMICATTimeUnits mUnits;
17215 UINT8 mInterval;
17216 };
17217
17218 // Structure to describe indication TLV 0x33 for CAT2 EventReport
17219 struct sCAT2EventReportIndication_Subaddress
17220 {
17221 UINT8 mSubaddressDataLength;
17222
17223 struct sSubaddressData
17224 {
17225 UINT8 mSubaddressData1:4;
17226 UINT8 mSubaddressData2:4;
17227 };
17228
17229 // This array must be the size specified by mSubaddressDataLength
17230 // sSubaddressData mSubaddressDatas[1];
17231 };
17232
17233 // Structure to describe indication TLV 0x34 for CAT2 EventReport
17234 struct sCAT2EventReportIndication_CapabilitiesConfiguration
17235 {
17236 UINT8 mCapabilitesConfigurationLength;
17237
17238 // This array must be the size specified by mCapabilitesConfigurationLength
17239 // UINT8 mCapabilitiesConfiguration[1];
17240 };
17241
17242 // Structure to describe indication TLV 0x35 for CAT2 EventReport
17243 struct sCAT2EventReportIndication_DTMF
17244 {
17245 UINT8 mDTMFDataLength;
17246
17247 struct sDTMFData
17248 {
17249 UINT8 mDTMFData1:4;
17250 UINT8 mDTMFData2:4;
17251 };
17252
17253 // This array must be the size specified by mDTMFDataLength
17254 // sDTMFData mDTMFDatas[1];
17255 };
17256
17257 // Structure to describe indication TLV 0x36 for CAT2 EventReport
17258 struct sCAT2EventReportIndication_SpecificLanguageNotification
17259 {
17260 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
17261 };
17262
17263 // Structure to describe indication TLV 0x37 for CAT2 EventReport
17264 struct sCAT2EventReportIndication_Language
17265 {
17266 char mLanguage[2];
17267 };
17268
17269 // Structure to describe indication TLV 0x38 for CAT2 EventReport
17270 struct sCAT2EventReportIndication_LaunchMode
17271 {
17272 eQMICATLaunchMode mLaunchMode;
17273 };
17274
17275 // Structure to describe indication TLV 0x39 for CAT2 EventReport
17276 struct sCAT2EventReportIndication_URL
17277 {
17278 UINT8 mURLDataLength;
17279
17280 // This array must be the size specified by mURLDataLength
17281 // char mURLData[1];
17282 };
17283
17284 // Structure to describe indication TLV 0x3A for CAT2 EventReport
17285 struct sCAT2EventReportIndication_BrowserID
17286 {
17287 UINT8 mBrowserID;
17288 };
17289
17290 // Structure to describe indication TLV 0x3B for CAT2 EventReport
17291 struct sCAT2EventReportIndication_BearerList
17292 {
17293 UINT8 mBearerListLength;
17294
17295 // This array must be the size specified by mBearerListLength
17296 // eQMICATBearer mBearerList[1];
17297 };
17298
17299 // Structure to describe indication TLV 0x3C for CAT2 EventReport
17300 struct sCAT2EventReportIndication_ProvisioningFile
17301 {
17302 UINT32 mNumberOfProvisioningFiles;
17303
17304 struct sFile
17305 {
17306 UINT8 mPathLength;
17307
17308 // This array must be the size specified by mPathLength
17309 // char mPath[1];
17310 };
17311
17312 // This array must be the size specified by mNumberOfProvisioningFiles
17313 // sFile mFiles[1];
17314 };
17315
17316 // Structure to describe indication TLV 0x3D for CAT2 EventReport
17317 struct sCAT2EventReportIndication_USSDString
17318 {
17319 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
17320 eQMICATUSSDDataCodingScheme mDataCodingScheme;
17321 UINT8 mUSSDTextLength;
17322
17323 // This array must be the size specified by mUSSDTextLength
17324 // UINT8 mUSSDText[1];
17325 };
17326
17327 // Structure to describe indication TLV 0x3E for CAT2 EventReport
17328 struct sCAT2EventReportIndication_DefaultText
17329 {
17330 eQMICATDataCodingScheme mDataCodingScheme;
17331 UINT8 mTextDataLength;
17332
17333 // This array must be the size specified by mTextDataLength
17334 // UINT8 mTextData[1];
17335 };
17336
17337 // Structure to describe indication TLV 0x3F for CAT2 EventReport
17338 struct sCAT2EventReportIndication_ImmediateResponseRequired
17339 {
17340 eQMICATImmediateResponse mImmediateResponse;
17341 };
17342
17343 // Structure to describe indication TLV 0x40 for CAT2 EventReport
17344 struct sCAT2EventReportIndication_UserConfirmationAlpha
17345 {
17346 eQMICATDataCodingScheme mDataCodingScheme;
17347 UINT8 mTextDataLength;
17348
17349 // This array must be the size specified by mTextDataLength
17350 // UINT8 mTextData[1];
17351 };
17352
17353 // Structure to describe indication TLV 0x41 for CAT2 EventReport
17354 struct sCAT2EventReportIndication_SetupCallDisplayAlpha
17355 {
17356 eQMICATDataCodingScheme mDataCodingScheme;
17357 UINT8 mTextDataLength;
17358
17359 // This array must be the size specified by mTextDataLength
17360 // UINT8 mTextData[1];
17361 };
17362
17363 // Structure to describe indication TLV 0x42 for CAT2 EventReport
17364 struct sCAT2EventReportIndication_UserConfirmationIcon
17365 {
17366 eQMICATIconQualifier mIconQualifier;
17367 UINT8 mHeight;
17368 UINT8 mWidth;
17369 eQMICATImageCodingScheme mImageCodingScheme;
17370 UINT8 mRecordNumber;
17371 UINT16 mIconDataLength;
17372
17373 // This array must be the size specified by mIconDataLength
17374 // UINT8 mIconData[1];
17375 };
17376
17377 // Structure to describe indication TLV 0x43 for CAT2 EventReport
17378 struct sCAT2EventReportIndication_SetupCallDisplayIcon
17379 {
17380 eQMICATIconQualifier mIconQualifier;
17381 UINT8 mHeight;
17382 UINT8 mWidth;
17383 eQMICATImageCodingScheme mImageCodingScheme;
17384 UINT8 mRecordNumber;
17385 UINT16 mIconDataLength;
17386
17387 // This array must be the size specified by mIconDataLength
17388 // UINT8 mIconData[1];
17389 };
17390
17391 // Structure to describe indication TLV 0x44 for CAT2 EventReport
17392 struct sCAT2EventReportIndication_GatewayProxy
17393 {
17394 eQMICATDataCodingScheme mDataCodingScheme;
17395 UINT8 mTextDataLength;
17396
17397 // This array must be the size specified by mTextDataLength
17398 // UINT8 mTextData[1];
17399 };
17400
17401 // Structure to describe indication TLV 0x45 for CAT2 EventReport
17402 struct sCAT2EventReportIndication_Alpha
17403 {
17404 eQMICATDataCodingScheme mDataCodingScheme;
17405 UINT8 mTextDataLength;
17406
17407 // This array must be the size specified by mTextDataLength
17408 // UINT8 mTextData[1];
17409 };
17410
17411 // Structure to describe indication TLV 0x46 for CAT2 EventReport
17412 struct sCAT2EventReportIndication_NotificationRequired
17413 {
17414 eQMICATNotificationRequired mNotificationRequired;
17415 };
17416
17417 // Structure to describe indication TLV 0x47 for CAT2 EventReport
17418 struct sCAT2EventReportIndication_PlayToneEvent
17419 {
17420 UINT32 mReferenceID;
17421 UINT16 mCommandLength;
17422
17423 // This array must be the size specified by mCommandLength
17424 // UINT8 mPlayToneCommand[1];
17425 };
17426
17427 // Structure to describe indication TLV 0x48 for CAT2 EventReport
17428 struct sCAT2EventReportIndication_SetupCallEvent
17429 {
17430 UINT32 mReferenceID;
17431 UINT16 mCommandLength;
17432
17433 // This array must be the size specified by mCommandLength
17434 // UINT8 mSetupCallCommand[1];
17435 };
17436
17437 // Structure to describe indication TLV 0x49 for CAT2 EventReport
17438 struct sCAT2EventReportIndication_SendDTMFEvent
17439 {
17440 UINT32 mReferenceID;
17441 UINT16 mCommandLength;
17442
17443 // This array must be the size specified by mCommandLength
17444 // UINT8 mSendDTMFCommand[1];
17445 };
17446
17447 // Structure to describe indication TLV 0x4A for CAT2 EventReport
17448 struct sCAT2EventReportIndication_LaunchBrowserEvent
17449 {
17450 UINT32 mReferenceID;
17451 UINT16 mCommandLength;
17452
17453 // This array must be the size specified by mCommandLength
17454 // UINT8 mLaunchBrowserCommand[1];
17455 };
17456
17457 // Structure to describe indication TLV 0x4B for CAT2 EventReport
17458 struct sCAT2EventReportIndication_SendSMSEvent
17459 {
17460 UINT32 mReferenceID;
17461 UINT16 mCommandLength;
17462
17463 // This array must be the size specified by mCommandLength
17464 // UINT8 mSendSMSCommand[1];
17465 };
17466
17467 // Structure to describe indication TLV 0x4C for CAT2 EventReport
17468 struct sCAT2EventReportIndication_SendSSEvent
17469 {
17470 UINT32 mReferenceID;
17471 UINT16 mCommandLength;
17472
17473 // This array must be the size specified by mCommandLength
17474 // UINT8 mSendSSCommand[1];
17475 };
17476
17477 // Structure to describe indication TLV 0x4D for CAT2 EventReport
17478 struct sCAT2EventReportIndication_SendUSSDEvent
17479 {
17480 UINT32 mReferenceID;
17481 UINT16 mCommandLength;
17482
17483 // This array must be the size specified by mCommandLength
17484 // UINT8 mSendUSSDCommand[1];
17485 };
17486
17487 // Structure to describe indication TLV 0x4E for CAT2 EventReport
17488 struct sCAT2EventReportIndication_ProvideLocalInformationEvent
17489 {
17490 UINT32 mReferenceID;
17491 UINT16 mCommandLength;
17492
17493 // This array must be the size specified by mCommandLength
17494 // UINT8 mProvideLocalInformationCommand[1];
17495 };
17496
17497 // Structure to describe indication TLV 0x4F for CAT2 EventReport
17498 struct sCAT2EventReportIndication_SetupRawEventList
17499 {
17500 UINT32 mReferenceID;
17501 UINT16 mCommandLength;
17502
17503 // This array must be the size specified by mCommandLength
17504 // UINT8 mSetupEventListCommand[1];
17505 };
17506
17507 // Structure to describe indication TLV 0x50 for CAT2 EventReport
17508 struct sCAT2EventReportIndication_Slot
17509 {
17510 eQMICATSlot mSlot;
17511 };
17512
17513 // Structure to describe indication TLV 0x51 for CAT2 EventReport
17514 struct sCAT2EventReportIndication_OpenChannelEvent
17515 {
17516 UINT32 mReferenceID;
17517 UINT16 mCommandLength;
17518
17519 // This array must be the size specified by mCommandLength
17520 // UINT8 mOpenChannelCommand[1];
17521 };
17522
17523 // Structure to describe indication TLV 0x52 for CAT2 EventReport
17524 struct sCAT2EventReportIndication_CloseChannelEvent
17525 {
17526 UINT32 mReferenceID;
17527 UINT16 mCommandLength;
17528
17529 // This array must be the size specified by mCommandLength
17530 // UINT8 mCloseChannelCommand[1];
17531 };
17532
17533 // Structure to describe indication TLV 0x53 for CAT2 EventReport
17534 struct sCAT2EventReportIndication_SendDataEvent
17535 {
17536 UINT32 mReferenceID;
17537 UINT16 mCommandLength;
17538
17539 // This array must be the size specified by mCommandLength
17540 // UINT8 mSendDataCommand[1];
17541 };
17542
17543 // Structure to describe indication TLV 0x54 for CAT2 EventReport
17544 struct sCAT2EventReportIndication_ReceiveDataEvent
17545 {
17546 UINT32 mReferenceID;
17547 UINT16 mCommandLength;
17548
17549 // This array must be the size specified by mCommandLength
17550 // UINT8 mReceiveDataCommand[1];
17551 };
17552
17553 // Structure to describe indication TLV 0x55 for CAT2 EventReport
17554 struct sCAT2EventReportIndication_OnDemmandLinkEstablish
17555 {
17556 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
17557 };
17558
17559 // Structure to describe indication TLV 0x56 for CAT2 EventReport
17560 struct sCAT2EventReportIndication_CSDBearerDescription
17561 {
17562 UINT8 mSpeed;
17563 eQMICATCSDBearerName mCSDBearerName;
17564 eQMICATConnectionElement mConnectionElement;
17565 };
17566
17567 // Structure to describe indication TLV 0x57 for CAT2 EventReport
17568 struct sCAT2EventReportIndication_GPRSBearerDescription
17569 {
17570 UINT8 mPrecedenceClass;
17571 UINT8 mDelayClass;
17572 UINT8 mReliabilityClass;
17573 UINT8 mPeakThroughput;
17574 UINT8 mMeanThroughput;
17575 eQMICATPacketDataProtocol mPacketDataProtocol;
17576 };
17577
17578 // Structure to describe indication TLV 0x58 for CAT2 EventReport
17579 struct sCAT2EventReportIndication_EUTRANExternalParameterBearerDescription
17580 {
17581 eQMICATTrafficClass mTrafficClass;
17582 UINT16 mMaxUploadBitrate;
17583 UINT16 mMaxDownloadBitrate;
17584 UINT16 mGuaranteedUploadBitrate;
17585 UINT16 mGuaranteedDownloadBitrate;
17586 eQMICATDeliveryOrder mDeliveryOrder;
17587 UINT8 mMaxSDUSize;
17588 UINT8 mMaxSDUErrorRatio;
17589 UINT8 mResidualBitErrorRatio;
17590 eQMICATDeliverErrorSDU mDeliverErrorSDU;
17591 UINT8 mTransferDelay;
17592 UINT8 mTrafficHandlingPRI;
17593 eQMICATPDPType mPDPType;
17594 };
17595
17596 // Structure to describe indication TLV 0x59 for CAT2 EventReport
17597 struct sCAT2EventReportIndication_EUTRANExternalMappedUTRANBearerDescription
17598 {
17599 UINT8 mQCI;
17600 UINT8 mMaxUploadBitrate;
17601 UINT8 mMaxDownloadBitrate;
17602 UINT8 mGuaranteedUploadBitrate;
17603 UINT8 mGuaranteedDownloadBitrate;
17604 UINT8 mMaximumUploadBitrateExt;
17605 UINT8 mMaximumDownloadBitrateExt;
17606 UINT8 mGuaranteedUploadBitrateExt;
17607 UINT8 mGuaranteedDownloadBitrateExt;
17608 eQMICATPDPType mPDPType;
17609 };
17610
17611 // Structure to describe indication TLV 0x5A for CAT2 EventReport
17612 struct sCAT2EventReportIndication_BufferSize
17613 {
17614 UINT16 mBufferSize;
17615 };
17616
17617 // Structure to describe indication TLV 0x5B for CAT2 EventReport
17618 struct sCAT2EventReportIndication_NetworkAccessName
17619 {
17620 UINT8 mNetworkAccessNameLength;
17621
17622 // This array must be the size specified by mNetworkAccessNameLength
17623 // UINT8 mNetworkAccessName[1];
17624 };
17625
17626 // Structure to describe indication TLV 0x5C for CAT2 EventReport
17627 struct sCAT2EventReportIndication_OtherAddress
17628 {
17629 eQMICATAddressType mAddressType;
17630 UINT8 mAddressDataLength;
17631
17632 // This array must be the size specified by mAddressDataLength
17633 // char mAddressData[1];
17634 };
17635
17636 // Structure to describe indication TLV 0x5D for CAT2 EventReport
17637 struct sCAT2EventReportIndication_UserLogin
17638 {
17639 eQMICATDataCodingScheme mDataCodingScheme;
17640 UINT8 mTextDataLength;
17641
17642 // This array must be the size specified by mTextDataLength
17643 // UINT8 mTextData[1];
17644 };
17645
17646 // Structure to describe indication TLV 0x5E for CAT2 EventReport
17647 struct sCAT2EventReportIndication_UserPassword
17648 {
17649 eQMICATDataCodingScheme mDataCodingScheme;
17650 UINT8 mTextDataLength;
17651
17652 // This array must be the size specified by mTextDataLength
17653 // UINT8 mTextData[1];
17654 };
17655
17656 // Structure to describe indication TLV 0x5F for CAT2 EventReport
17657 struct sCAT2EventReportIndication_TransportLevel
17658 {
17659 eQMICATTransportProtocol mTransportProtocol;
17660 UINT16 mPortNumber;
17661 };
17662
17663 // Structure to describe indication TLV 0x60 for CAT2 EventReport
17664 struct sCAT2EventReportIndication_DataDestinationAddress
17665 {
17666 eQMICATAddressType mAddressType;
17667 UINT8 mAddressDataLength;
17668
17669 // This array must be the size specified by mAddressDataLength
17670 // char mAddressData[1];
17671 };
17672
17673 // Structure to describe indication TLV 0x61 for CAT2 EventReport
17674 struct sCAT2EventReportIndication_ChannelDataLength
17675 {
17676 UINT8 mChannelDataLength;
17677 };
17678
17679 // Structure to describe indication TLV 0x62 for CAT2 EventReport
17680 struct sCAT2EventReportIndication_SendDataImmediately
17681 {
17682 eQMICATSendDataImmediately mSendDataImmediately;
17683 };
17684
17685 // Structure to describe indication TLV 0x63 for CAT2 EventReport
17686 struct sCAT2EventReportIndication_ChannelData
17687 {
17688 UINT16 mChannelDataLength;
17689
17690 // This array must be the size specified by mChannelDataLength
17691 // UINT8 mChannelData[1];
17692 };
17693
17694 // Structure to describe indication TLV 0x64 for CAT2 EventReport
17695 struct sCAT2EventReportIndication_ChannelID
17696 {
17697 UINT8 mChannelID;
17698 };
17699
17700 // Structure to describe indication TLV 0x65 for CAT2 EventReport
17701 struct sCAT2EventReportIndication_ItemsWithDCS
17702 {
17703 UINT8 mItemsLength;
17704
17705 struct sItem
17706 {
17707 UINT8 mItemID;
17708 eQMICATDataCodingScheme mDataCodingScheme;
17709 UINT8 mItemTextLength;
17710
17711 // This array must be the size specified by mItemTextLength
17712 // UINT8 mItemText[1];
17713 };
17714
17715 // This array must be the size specified by mItemsLength
17716 // sItem mItems[1];
17717 };
17718
17719 // Structure to describe indication TLV 0x66 for CAT2 EventReport
17720 struct sCAT2EventReportIndication_Activate
17721 {
17722 UINT32 mReferenceID;
17723 UINT16 mActivateLength;
17724
17725 // This array must be the size specified by mActivateLength
17726 // UINT8 mActivate[1];
17727 };
17728
17729 // Structure to describe indication TLV 0x67 for CAT2 EventReport
17730 struct sCAT2EventReportIndication_ActivateTarget
17731 {
17732 eQMICATActivateTargets mActivateTarget;
17733 };
17734
17735 // Structure to describe response TLV 0x01 for CAT2GetServiceState()
17736 struct sCAT2GetServiceStateResponse_CATServiceState
17737 {
17738 bool mCommonDisplayText:1;
17739 bool mCommonGetInkey:1;
17740 bool mCommonGetInput:1;
17741 bool mCommonSetupMenu:1;
17742 bool mCommonSelectItem:1;
17743 bool mCommonSendSMSAlphaIdentifier:1;
17744 bool mCommonSetupEventUserActivity:1;
17745 bool mCommonSetupEventIdleScreenNotify:1;
17746 bool mCommonSetupEventLanguageSelNotify:1;
17747 bool mCommonSetupIdleModeText:1;
17748 bool mCommonLanguageNotification:1;
17749 bool mCommonRefresh:1;
17750 bool mCommonEndProactiveSession:1;
17751 bool mCommonPlayTone:1;
17752 bool mCommonSetupCall:1;
17753 bool mCommonSendDTMF:1;
17754 bool mCommonLaunchBrowser:1;
17755 bool mCommonSendSS:1;
17756 bool mCommonSendUSSD:1;
17757 bool mCommonProvideLocalInformationLanguage:1;
17758 bool mCommonBearerIndependentProtocol:1;
17759 bool mCommonSetupEventBrowserTermination:1;
17760 bool mCommonProvideLocalInformationTime:1;
17761 bool mCommonActivate:1;
17762
17763 // Padding out 1 bits
17764 UINT8 mReserved1:1;
17765
17766 bool mCommonSetupEventHCIConnectivity:1;
17767
17768 // Padding out 6 bits
17769 UINT8 mReserved2:6;
17770
17771 bool mControlDisplayText:1;
17772 bool mControlGetInkey:1;
17773 bool mControlGetInput:1;
17774 bool mControlSetupMenu:1;
17775 bool mControlSelectItem:1;
17776 bool mControlSendSMSAlphaIdentifier:1;
17777 bool mControlSetupEventUserActivity:1;
17778 bool mControlSetupEventIdleScreenNotify:1;
17779 bool mControlSetupEventLanguageSelNotify:1;
17780 bool mControlSetupIdleModeText:1;
17781 bool mControlLanguageNotification:1;
17782 bool mControlRefresh:1;
17783 bool mControlEndProactiveSession:1;
17784 bool mControlPlayTone:1;
17785 bool mControlSetupCall:1;
17786 bool mControlSendDTMF:1;
17787 bool mControlLaunchBrowser:1;
17788 bool mControlSendSS:1;
17789 bool mControlSendUSSD:1;
17790 bool mControlProvideLocalInformationLanguage:1;
17791 bool mControlBearerIndependentProtocol:1;
17792 bool mControlSetupEventBrowserTermination:1;
17793 bool mControlProvideLocalInformationTime:1;
17794 bool mControlActivate:1;
17795
17796 // Padding out 1 bits
17797 UINT8 mReserved3:1;
17798
17799 bool mControlSetupEventHCIConnectivity:1;
17800
17801 // Padding out 6 bits
17802 UINT8 mReserved4:6;
17803 };
17804
17805 // Structure to describe response TLV 0x10 for CAT2GetServiceState()
17806 struct sCAT2GetServiceStateResponse_DecodedCATServiceState
17807 {
17808 bool mCommonDisplayText:1;
17809 bool mCommonGetInkey:1;
17810 bool mCommonGetInput:1;
17811 bool mCommonSetupMenu:1;
17812 bool mCommonSelectItem:1;
17813 bool mCommonSendSMSAlphaIdentifier:1;
17814 bool mCommonSetupEventUserActivity:1;
17815 bool mCommonSetupEventIdleScreenNotify:1;
17816 bool mCommonSetupEventLanguageSelNotify:1;
17817 bool mCommonSetupIdleModeText:1;
17818 bool mCommonLanguageNotification:1;
17819
17820 // Padding out 1 bits
17821 UINT8 mReserved1:1;
17822
17823 bool mCommonEndProactiveSession:1;
17824 bool mCommonPlayTone:1;
17825 bool mCommonSetupCall:1;
17826 bool mCommonSendDTMF:1;
17827 bool mCommonLaunchBrowser:1;
17828 bool mCommonSendSS:1;
17829 bool mCommonSendUSSD:1;
17830 bool mCommonProvideLocalInformationLanguage:1;
17831 bool mCommonBearerIndependentProtocol:1;
17832
17833 // Padding out 2 bits
17834 UINT8 mReserved2:2;
17835
17836 bool mCommonSCWSEvent:1;
17837 bool mCommonActivate:1;
17838 bool mCommonSetupEventHCIConnectivity:1;
17839
17840 // Padding out 6 bits
17841 UINT8 mReserved3:6;
17842
17843 bool mControlDisplayText:1;
17844 bool mControlGetInkey:1;
17845 bool mControlGetInput:1;
17846 bool mControlSetupMenu:1;
17847 bool mControlSelectItem:1;
17848 bool mControlSendSMSAlphaIdentifier:1;
17849 bool mControlSetupEventUserActivity:1;
17850 bool mControlSetupEventIdleScreenNotify:1;
17851 bool mControlSetupEventLanguageSelNotify:1;
17852 bool mControlSetupIdleModeText:1;
17853 bool mControlLanguageNotification:1;
17854
17855 // Padding out 1 bits
17856 UINT8 mReserved4:1;
17857
17858 bool mControlEndProactiveSession:1;
17859 bool mControlPlayTone:1;
17860 bool mControlSetupCall:1;
17861 bool mControlSendDTMF:1;
17862 bool mControlLaunchBrowser:1;
17863 bool mControlSendSS:1;
17864 bool mControlSendUSSD:1;
17865 bool mControlProvideLocalInformationLanguage:1;
17866 bool mControlBearerIndependentProtocol:1;
17867
17868 // Padding out 2 bits
17869 UINT8 mReserved5:2;
17870
17871 bool mControlSCWSEvent:1;
17872 bool mControlActivate:1;
17873 bool mControlSetupEventHCIConnectivity:1;
17874
17875 // Padding out 6 bits
17876 UINT8 mReserved6:6;
17877 };
17878
17879 // Structure to describe request TLV 0x01 for CAT2SendTerminalResponse()
17880 struct sCAT2SendTerminalResponseRequest_TerminalResponseType
17881 {
17882 UINT32 mReferenceID;
17883 UINT16 mTerminalResponseLength;
17884
17885 // This array must be the size specified by mTerminalResponseLength
17886 // UINT8 mTerminalResponse[1];
17887 };
17888
17889 // Structure to describe request TLV 0x10 for CAT2SendTerminalResponse()
17890 struct sCAT2SendTerminalResponseRequest_Slot
17891 {
17892 eQMICATSlot mSlot;
17893 };
17894
17895 // Structure to describe response TLV 0x10 for CAT2SendTerminal()
17896 struct sCAT2SendTerminalResponseResponse_TRResponse
17897 {
17898 UINT8 mSW1;
17899 UINT8 mSW2;
17900 UINT8 mTerminalResponseLength;
17901
17902 // This array must be the size specified by mTerminalResponseLength
17903 // UINT8 mTerminalResponseData[1];
17904 };
17905
17906 // Structure to describe request TLV 0x01 for CAT2EnvelopeCommand()
17907 struct sCAT2EnvelopeCommandRequest_EnvelopeCommand
17908 {
17909 eQMICATEnvelopeCommandType mEnvelopeCommandType;
17910 UINT16 mEnvelopeLength;
17911
17912 // This array must be the size specified by mEnvelopeLength
17913 // UINT8 mEnvelopeData[1];
17914 };
17915
17916 // Structure to describe request TLV 0x10 for CAT2EnvelopeCommand()
17917 struct sCAT2EnvelopeCommandRequest_Slot
17918 {
17919 eQMICATSlot mSlot;
17920 };
17921
17922 // Structure to describe response TLV 0x10 for CAT2EnvelopeCommand()
17923 struct sCAT2EnvelopeCommandResponse_RawResponse
17924 {
17925 UINT8 mSW1;
17926 UINT8 mSW2;
17927 UINT8 mEnvelopeResponseLength;
17928
17929 // This array must be the size specified by mEnvelopeResponseLength
17930 // UINT8 mEnvelopeResponseData[1];
17931 };
17932
17933 // Structure to describe request TLV 0x01 for CAT2GetEventReport()
17934 struct sCAT2GetEventReportRequest_CommandInput
17935 {
17936 UINT32 mCommandID;
17937 eQMICATCommandFormat mCommandFormat;
17938 };
17939
17940 // Structure to describe response TLV 0x10 for CAT2GetEventReport()
17941 struct sCAT2GetEventReportResponse_DisplayTextEvent
17942 {
17943 UINT32 mReferenceID;
17944 UINT16 mCommandLength;
17945
17946 // This array must be the size specified by mCommandLength
17947 // UINT8 mDisplayTextCommand[1];
17948 };
17949
17950 // Structure to describe response TLV 0x11 for CAT2GetEventReport()
17951 struct sCAT2GetEventReportResponse_GetInkeyEvent
17952 {
17953 UINT32 mReferenceID;
17954 UINT16 mCommandLength;
17955
17956 // This array must be the size specified by mCommandLength
17957 // UINT8 mGetInkeyCommand[1];
17958 };
17959
17960 // Structure to describe response TLV 0x12 for CAT2GetEventReport()
17961 struct sCAT2GetEventReportResponse_GetInputEvent
17962 {
17963 UINT32 mReferenceID;
17964 UINT16 mCommandLength;
17965
17966 // This array must be the size specified by mCommandLength
17967 // UINT8 mGetInputCommand[1];
17968 };
17969
17970 // Structure to describe response TLV 0x13 for CAT2GetEventReport()
17971 struct sCAT2GetEventReportResponse_SetupMenuEvent
17972 {
17973 UINT32 mReferenceID;
17974 UINT16 mCommandLength;
17975
17976 // This array must be the size specified by mCommandLength
17977 // UINT8 mSetupMenuCommand[1];
17978 };
17979
17980 // Structure to describe response TLV 0x14 for CAT2GetEventReport()
17981 struct sCAT2GetEventReportResponse_SelectItemEvent
17982 {
17983 UINT32 mReferenceID;
17984 UINT16 mCommandLength;
17985
17986 // This array must be the size specified by mCommandLength
17987 // UINT8 mSelectItemCommand[1];
17988 };
17989
17990 // Structure to describe response TLV 0x15 for CAT2GetEventReport()
17991 struct sCAT2GetEventReportResponse_AlphaIDAvailable
17992 {
17993 eQMICATAlphaIDCommandType mAlphaIDCommandType;
17994 UINT16 mAlphaIDLength;
17995
17996 // This array must be the size specified by mAlphaIDLength
17997 // UINT8 mAlphaID[1];
17998 };
17999
18000 // Structure to describe response TLV 0x16 for CAT2GetEventReport()
18001 struct sCAT2GetEventReportResponse_SetupEventList
18002 {
18003 bool mUserActivityNotify:1;
18004 bool mIdleScreenAvailable:1;
18005 bool mLanguageSelectionNotify:1;
18006
18007 // Padding out 29 bits
18008 UINT8 mReserved1:5;
18009 UINT8 mReserved2[3];
18010 };
18011
18012 // Structure to describe response TLV 0x17 for CAT2GetEventReport()
18013 struct sCAT2GetEventReportResponse_SetupIdleModeTextEvent
18014 {
18015 UINT32 mReferenceID;
18016 UINT16 mCommandLength;
18017
18018 // This array must be the size specified by mCommandLength
18019 // UINT8 mSetupIdleModeTextCommand[1];
18020 };
18021
18022 // Structure to describe response TLV 0x18 for CAT2GetEventReport()
18023 struct sCAT2GetEventReportResponse_LanguageNotificationEvent
18024 {
18025 UINT32 mReferenceID;
18026 UINT16 mCommandLength;
18027
18028 // This array must be the size specified by mCommandLength
18029 // UINT8 mLanguageNotificationCommand[1];
18030 };
18031
18032 // Structure to describe response TLV 0x19 for CAT2GetEventReport()
18033 struct sCAT2GetEventReportResponse_RefreshEvent
18034 {
18035 UINT16 mRefreshMode;
18036 eQMICATRefreshStage mRefreshStage;
18037 };
18038
18039 // Structure to describe response TLV 0x1A for CAT2GetEventReport()
18040 struct sCAT2GetEventReportResponse_EndProactiveSession
18041 {
18042 eQMICATProactiveSessionEndType mProactiveSessionEndType;
18043 };
18044
18045 // Structure to describe response TLV 0x1B for CAT2GetEventReport()
18046 struct sCAT2GetEventReportResponse_DecodedHeaderID
18047 {
18048 eQMICATCommandID mCommandID;
18049 UINT32 mReferenceID;
18050 UINT8 mCommandNumber;
18051 };
18052
18053 // Structure to describe response TLV 0x1C for CAT2GetEventReport()
18054 struct sCAT2GetEventReportResponse_TextString
18055 {
18056 eQMICATDataCodingScheme mDataCodingScheme;
18057 UINT8 mTextDataLength;
18058
18059 // This array must be the size specified by mTextDataLength
18060 // UINT8 mTextData[1];
18061 };
18062
18063 // Structure to describe response TLV 0x1D for CAT2GetEventReport()
18064 struct sCAT2GetEventReportResponse_HighPriority
18065 {
18066 eQMICATHighPriority mHighPriority;
18067 };
18068
18069 // Structure to describe response TLV 0x1E for CAT2GetEventReport()
18070 struct sCAT2GetEventReportResponse_UserControl
18071 {
18072 eQMICATUserControl mUserControl;
18073 };
18074
18075 // Structure to describe response TLV 0x1F for CAT2GetEventReport()
18076 struct sCAT2GetEventReportResponse_Icon
18077 {
18078 eQMICATIconQualifier mIconQualifier;
18079 UINT8 mHeight;
18080 UINT8 mWidth;
18081 eQMICATImageCodingScheme mImageCodingScheme;
18082 UINT8 mRecordNumber;
18083 UINT16 mIconDataLength;
18084
18085 // This array must be the size specified by mIconDataLength
18086 // UINT8 mIconData[1];
18087 };
18088
18089 // Structure to describe response TLV 0x20 for CAT2GetEventReport()
18090 struct sCAT2GetEventReportResponse_Duration
18091 {
18092 eQMICATTimeUnits mUnits;
18093 UINT8 mInterval;
18094 };
18095
18096 // Structure to describe response TLV 0x21 for CAT2GetEventReport()
18097 struct sCAT2GetEventReportResponse_ResponseFormat
18098 {
18099 eQMICATResponseFormat mResponseFormat;
18100 };
18101
18102 // Structure to describe response TLV 0x22 for CAT2GetEventReport()
18103 struct sCAT2GetEventReportResponse_HelpAvailable
18104 {
18105 eQMICATHelpAvailable mHelpAvailable;
18106 };
18107
18108 // Structure to describe response TLV 0x23 for CAT2GetEventReport()
18109 struct sCAT2GetEventReportResponse_ResponsePackingFormat
18110 {
18111 eQMICATResponsePackingFormat mResponsePackingFormat;
18112 };
18113
18114 // Structure to describe response TLV 0x24 for CAT2GetEventReport()
18115 struct sCAT2GetEventReportResponse_ResponseLength
18116 {
18117 UINT8 mMaximumUserInput;
18118 UINT8 mMinimumUserInput;
18119 };
18120
18121 // Structure to describe response TLV 0x25 for CAT2GetEventReport()
18122 struct sCAT2GetEventReportResponse_ShowUserInput
18123 {
18124 eQMICATShowUserInput mShowUserInput;
18125 };
18126
18127 // Structure to describe response TLV 0x26 for CAT2GetEventReport()
18128 struct sCAT2GetEventReportResponse_Tone
18129 {
18130 eQMICATTone mTone;
18131 };
18132
18133 // Structure to describe response TLV 0x27 for CAT2GetEventReport()
18134 struct sCAT2GetEventReportResponse_SoftkeySelection
18135 {
18136 eQMICATSoftkeySelection mSoftkeySelection;
18137 };
18138
18139 // Structure to describe response TLV 0x28 for CAT2GetEventReport()
18140 struct sCAT2GetEventReportResponse_Items
18141 {
18142 UINT8 mItemsLength;
18143
18144 struct sItem
18145 {
18146 UINT8 mItemID;
18147 UINT8 mItemTextLength;
18148
18149 // This array must be the size specified by mItemTextLength
18150 // UINT8 mItemText[1];
18151 };
18152
18153 // This array must be the size specified by mItemsLength
18154 // sItem mItems[1];
18155 };
18156
18157 // Structure to describe response TLV 0x29 for CAT2GetEventReport()
18158 struct sCAT2GetEventReportResponse_DefaultItems
18159 {
18160 UINT8 mDefaultItem;
18161 };
18162
18163 // Structure to describe response TLV 0x2A for CAT2GetEventReport()
18164 struct sCAT2GetEventReportResponse_NextActionIdentifier
18165 {
18166 UINT8 mActionsLength;
18167
18168 // This array must be the size specified by mActionsLength
18169 // eQMICATNextAction mNextAction[1];
18170 };
18171
18172 // Structure to describe response TLV 0x2B for CAT2GetEventReport()
18173 struct sCAT2GetEventReportResponse_IconIDList
18174 {
18175 eQMICATDisplayIconOnly mDisplayIconOnly;
18176 UINT8 mItemsLength;
18177
18178 struct sItem
18179 {
18180 eQMICATIconQualifier mIconQualifier;
18181 UINT8 mHeight;
18182 UINT8 mWidth;
18183 eQMICATImageCodingScheme mImageCodingScheme;
18184 UINT8 mRecordNumber;
18185 UINT16 mIconDataLength;
18186
18187 // This array must be the size specified by mIconDataLength
18188 // UINT8 mIconData[1];
18189 };
18190
18191 // This array must be the size specified by mItemsLength
18192 // sItem mItems[1];
18193 };
18194
18195 // Structure to describe response TLV 0x2C for CAT2GetEventReport()
18196 struct sCAT2GetEventReportResponse_Presentation
18197 {
18198 eQMICATPresentation mPresentation;
18199 };
18200
18201 // Structure to describe response TLV 0x2D for CAT2GetEventReport()
18202 struct sCAT2GetEventReportResponse_PackingRequired
18203 {
18204 eQMICATPackingRequired mPackingRequired;
18205 };
18206
18207 // Structure to describe response TLV 0x2E for CAT2GetEventReport()
18208 struct sCAT2GetEventReportResponse_SMSTPDU
18209 {
18210 UINT8 mSMSTPDUDataLength;
18211
18212 // This array must be the size specified by mSMSTPDUDataLength
18213 // UINT8 mSMSTPDUData[1];
18214 };
18215
18216 // Structure to describe response TLV 0x2F for CAT2GetEventReport()
18217 struct sCAT2GetEventReportResponse_IsCDMASMS
18218 {
18219 eQMICATIsCDMASMS mIsCDMASMS;
18220 };
18221
18222 // Structure to describe response TLV 0x30 for CAT2GetEventReport()
18223 struct sCAT2GetEventReportResponse_Address
18224 {
18225 eQMICATAddressTON mAddressTON;
18226 eQMICATAddressNPI mAddressNPI;
18227 UINT8 mAddressDataLength;
18228
18229 // This array must be the size specified by mAddressDataLength
18230 // char mAddressData[1];
18231 };
18232
18233 // Structure to describe response TLV 0x31 for CAT2GetEventReport()
18234 struct sCAT2GetEventReportResponse_CallSetupRequirement
18235 {
18236 eQMICATCallSetupRequirement mCallSetupRequirement;
18237 };
18238
18239 // Structure to describe response TLV 0x32 for CAT2GetEventReport()
18240 struct sCAT2GetEventReportResponse_Redial
18241 {
18242 eQMICATRedialNecessary mRedialNecessary;
18243 eQMICATTimeUnits mUnits;
18244 UINT8 mInterval;
18245 };
18246
18247 // Structure to describe response TLV 0x33 for CAT2GetEventReport()
18248 struct sCAT2GetEventReportResponse_Subaddress
18249 {
18250 UINT8 mSubaddressDataLength;
18251
18252 struct sSubaddressData
18253 {
18254 UINT8 mSubaddressData1:4;
18255 UINT8 mSubaddressData2:4;
18256 };
18257
18258 // This array must be the size specified by mSubaddressDataLength
18259 // sSubaddressData mSubaddressDatas[1];
18260 };
18261
18262 // Structure to describe response TLV 0x34 for CAT2GetEventReport()
18263 struct sCAT2GetEventReportResponse_CapabilityConfiguration
18264 {
18265 UINT8 mCapabilitesConfigurationLength;
18266
18267 // This array must be the size specified by mCapabilitesConfigurationLength
18268 // UINT8 mCapabilitiesConfiguration[1];
18269 };
18270
18271 // Structure to describe response TLV 0x35 for CAT2GetEventReport()
18272 struct sCAT2GetEventReportResponse_DTMF
18273 {
18274 UINT8 mDTMFDataLength;
18275
18276 struct sDTMFData
18277 {
18278 UINT8 mDTMFData1:4;
18279 UINT8 mDTMFData2:4;
18280 };
18281
18282 // This array must be the size specified by mDTMFDataLength
18283 // sDTMFData mDTMFDatas[1];
18284 };
18285
18286 // Structure to describe response TLV 0x36 for CAT2GetEventReport()
18287 struct sCAT2GetEventReportResponse_SpecificLanguageNotification
18288 {
18289 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
18290 };
18291
18292 // Structure to describe response TLV 0x37 for CAT2GetEventReport()
18293 struct sCAT2GetEventReportResponse_Language
18294 {
18295 char mLanguage[2];
18296 };
18297
18298 // Structure to describe response TLV 0x38 for CAT2GetEventReport()
18299 struct sCAT2GetEventReportResponse_LaunchMode
18300 {
18301 eQMICATLaunchMode mLaunchMode;
18302 };
18303
18304 // Structure to describe response TLV 0x39 for CAT2GetEventReport()
18305 struct sCAT2GetEventReportResponse_URL
18306 {
18307 UINT8 mURLDataLength;
18308
18309 // This array must be the size specified by mURLDataLength
18310 // char mURLData[1];
18311 };
18312
18313 // Structure to describe response TLV 0x3A for CAT2GetEventReport()
18314 struct sCAT2GetEventReportResponse_BrowserID
18315 {
18316 UINT8 mBrowserID;
18317 };
18318
18319 // Structure to describe response TLV 0x3B for CAT2GetEventReport()
18320 struct sCAT2GetEventReportResponse_BearerList
18321 {
18322 UINT8 mBearerListLength;
18323
18324 // This array must be the size specified by mBearerListLength
18325 // eQMICATBearer mBearerList[1];
18326 };
18327
18328 // Structure to describe response TLV 0x3C for CAT2GetEventReport()
18329 struct sCAT2GetEventReportResponse_ProvisioningFiles
18330 {
18331 UINT32 mNumberOfProvisioningFiles;
18332
18333 struct sFile
18334 {
18335 UINT8 mPathLength;
18336
18337 // This array must be the size specified by mPathLength
18338 // char mPath[1];
18339 };
18340
18341 // This array must be the size specified by mNumberOfProvisioningFiles
18342 // sFile mFiles[1];
18343 };
18344
18345 // Structure to describe response TLV 0x3D for CAT2GetEventReport()
18346 struct sCAT2GetEventReportResponse_USSDString
18347 {
18348 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
18349 eQMICATUSSDDataCodingScheme mDataCodingScheme;
18350 UINT8 mUSSDTextLength;
18351
18352 // This array must be the size specified by mUSSDTextLength
18353 // UINT8 mUSSDText[1];
18354 };
18355
18356 // Structure to describe response TLV 0x3E for CAT2GetEventReport()
18357 struct sCAT2GetEventReportResponse_DefaultText
18358 {
18359 eQMICATDataCodingScheme mDataCodingScheme;
18360 UINT8 mTextDataLength;
18361
18362 // This array must be the size specified by mTextDataLength
18363 // UINT8 mTextData[1];
18364 };
18365
18366 // Structure to describe response TLV 0x3F for CAT2GetEventReport()
18367 struct sCAT2GetEventReportResponse_ImmediateResponseRequest
18368 {
18369 eQMICATImmediateResponse mImmediateResponse;
18370 };
18371
18372 // Structure to describe response TLV 0x40 for CAT2GetEventReport()
18373 struct sCAT2GetEventReportResponse_UserConfirmationAlpha
18374 {
18375 eQMICATDataCodingScheme mDataCodingScheme;
18376 UINT8 mTextDataLength;
18377
18378 // This array must be the size specified by mTextDataLength
18379 // UINT8 mTextData[1];
18380 };
18381
18382 // Structure to describe response TLV 0x41 for CAT2GetEventReport()
18383 struct sCAT2GetEventReportResponse_SetupCallDisplayAlpha
18384 {
18385 eQMICATDataCodingScheme mDataCodingScheme;
18386 UINT8 mTextDataLength;
18387
18388 // This array must be the size specified by mTextDataLength
18389 // UINT8 mTextData[1];
18390 };
18391
18392 // Structure to describe response TLV 0x42 for CAT2GetEventReport()
18393 struct sCAT2GetEventReportResponse_UserConfirmationIcon
18394 {
18395 eQMICATIconQualifier mIconQualifier;
18396 UINT8 mHeight;
18397 UINT8 mWidth;
18398 eQMICATImageCodingScheme mImageCodingScheme;
18399 UINT8 mRecordNumber;
18400 UINT16 mIconDataLength;
18401
18402 // This array must be the size specified by mIconDataLength
18403 // UINT8 mIconData[1];
18404 };
18405
18406 // Structure to describe response TLV 0x43 for CAT2GetEventReport()
18407 struct sCAT2GetEventReportResponse_SetupCallDisplayIcon
18408 {
18409 eQMICATIconQualifier mIconQualifier;
18410 UINT8 mHeight;
18411 UINT8 mWidth;
18412 eQMICATImageCodingScheme mImageCodingScheme;
18413 UINT8 mRecordNumber;
18414 UINT16 mIconDataLength;
18415
18416 // This array must be the size specified by mIconDataLength
18417 // UINT8 mIconData[1];
18418 };
18419
18420 // Structure to describe response TLV 0x44 for CAT2GetEventReport()
18421 struct sCAT2GetEventReportResponse_GatewayProxy
18422 {
18423 eQMICATDataCodingScheme mDataCodingScheme;
18424 UINT8 mTextDataLength;
18425
18426 // This array must be the size specified by mTextDataLength
18427 // UINT8 mTextData[1];
18428 };
18429
18430 // Structure to describe response TLV 0x45 for CAT2GetEventReport()
18431 struct sCAT2GetEventReportResponse_Alpha
18432 {
18433 eQMICATDataCodingScheme mDataCodingScheme;
18434 UINT8 mTextDataLength;
18435
18436 // This array must be the size specified by mTextDataLength
18437 // UINT8 mTextData[1];
18438 };
18439
18440 // Structure to describe response TLV 0x46 for CAT2GetEventReport()
18441 struct sCAT2GetEventReportResponse_NotificationRequired
18442 {
18443 eQMICATNotificationRequired mNotificationRequired;
18444 };
18445
18446 // Structure to describe response TLV 0x47 for CAT2GetEventReport()
18447 struct sCAT2GetEventReportResponse_PlayToneEvent
18448 {
18449 UINT32 mReferenceID;
18450 UINT16 mCommandLength;
18451
18452 // This array must be the size specified by mCommandLength
18453 // UINT8 mPlayToneCommand[1];
18454 };
18455
18456 // Structure to describe response TLV 0x48 for CAT2GetEventReport()
18457 struct sCAT2GetEventReportResponse_SetupCallEvent
18458 {
18459 UINT32 mReferenceID;
18460 UINT16 mCommandLength;
18461
18462 // This array must be the size specified by mCommandLength
18463 // UINT8 mSetupCallCommand[1];
18464 };
18465
18466 // Structure to describe response TLV 0x49 for CAT2GetEventReport()
18467 struct sCAT2GetEventReportResponse_SendDTMFEvent
18468 {
18469 UINT32 mReferenceID;
18470 UINT16 mCommandLength;
18471
18472 // This array must be the size specified by mCommandLength
18473 // UINT8 mSendDTMFCommand[1];
18474 };
18475
18476 // Structure to describe response TLV 0x4A for CAT2GetEventReport()
18477 struct sCAT2GetEventReportResponse_LaunchBrowserEvent
18478 {
18479 UINT32 mReferenceID;
18480 UINT16 mCommandLength;
18481
18482 // This array must be the size specified by mCommandLength
18483 // UINT8 mLaunchBrowserCommand[1];
18484 };
18485
18486 // Structure to describe response TLV 0x4B for CAT2GetEventReport()
18487 struct sCAT2GetEventReportResponse_SendSMSEvent
18488 {
18489 UINT32 mReferenceID;
18490 UINT16 mCommandLength;
18491
18492 // This array must be the size specified by mCommandLength
18493 // UINT8 mSendSMSCommand[1];
18494 };
18495
18496 // Structure to describe response TLV 0x4C for CAT2GetEventReport()
18497 struct sCAT2GetEventReportResponse_SendSSEvent
18498 {
18499 UINT32 mReferenceID;
18500 UINT16 mCommandLength;
18501
18502 // This array must be the size specified by mCommandLength
18503 // UINT8 mSendSSCommand[1];
18504 };
18505
18506 // Structure to describe response TLV 0x4D for CAT2GetEventReport()
18507 struct sCAT2GetEventReportResponse_SendUSSDEvent
18508 {
18509 UINT32 mReferenceID;
18510 UINT16 mCommandLength;
18511
18512 // This array must be the size specified by mCommandLength
18513 // UINT8 mSendUSSDCommand[1];
18514 };
18515
18516 // Structure to describe response TLV 0x4E for CAT2GetEventReport()
18517 struct sCAT2GetEventReportResponse_ProvideLocalInformationEvent
18518 {
18519 UINT32 mReferenceID;
18520 UINT16 mCommandLength;
18521
18522 // This array must be the size specified by mCommandLength
18523 // UINT8 mProvideLocalInformationCommand[1];
18524 };
18525
18526 // Structure to describe response TLV 0x4F for CAT2GetEventReport()
18527 struct sCAT2GetEventReportResponse_SetupEventListRawEvent
18528 {
18529 UINT32 mReferenceID;
18530 UINT16 mCommandLength;
18531
18532 // This array must be the size specified by mCommandLength
18533 // UINT8 mSetupEventListCommand[1];
18534 };
18535
18536 // Structure to describe response TLV 0x50 for CAT2GetEventReport()
18537 struct sCAT2GetEventReportResponse_Slot
18538 {
18539 eQMICATSlot mSlot;
18540 };
18541
18542 // Structure to describe response TLV 0x51 for CAT2GetEventReport()
18543 struct sCAT2GetEventReportResponse_OpenChannelEvent
18544 {
18545 UINT32 mReferenceID;
18546 UINT16 mCommandLength;
18547
18548 // This array must be the size specified by mCommandLength
18549 // UINT8 mOpenChannelCommand[1];
18550 };
18551
18552 // Structure to describe response TLV 0x52 for CAT2GetEventReport()
18553 struct sCAT2GetEventReportResponse_CloseChannelEvent
18554 {
18555 UINT32 mReferenceID;
18556 UINT16 mCommandLength;
18557
18558 // This array must be the size specified by mCommandLength
18559 // UINT8 mCloseChannelCommand[1];
18560 };
18561
18562 // Structure to describe response TLV 0x53 for CAT2GetEventReport()
18563 struct sCAT2GetEventReportResponse_SendDataEvent
18564 {
18565 UINT32 mReferenceID;
18566 UINT16 mCommandLength;
18567
18568 // This array must be the size specified by mCommandLength
18569 // UINT8 mSendDataCommand[1];
18570 };
18571
18572 // Structure to describe response TLV 0x54 for CAT2GetEventReport()
18573 struct sCAT2GetEventReportResponse_ReceiveDataEvent
18574 {
18575 UINT32 mReferenceID;
18576 UINT16 mCommandLength;
18577
18578 // This array must be the size specified by mCommandLength
18579 // UINT8 mReceiveDataCommand[1];
18580 };
18581
18582 // Structure to describe response TLV 0x55 for CAT2GetEventReport()
18583 struct sCAT2GetEventReportResponse_OnDemandLinkEstablish
18584 {
18585 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
18586 };
18587
18588 // Structure to describe response TLV 0x56 for CAT2GetEventReport()
18589 struct sCAT2GetEventReportResponse_CSDBearerDescription
18590 {
18591 UINT8 mSpeed;
18592 eQMICATCSDBearerName mCSDBearerName;
18593 eQMICATConnectionElement mConnectionElement;
18594 };
18595
18596 // Structure to describe response TLV 0x57 for CAT2GetEventReport()
18597 struct sCAT2GetEventReportResponse_GPRSBearerDescription
18598 {
18599 UINT8 mPrecedenceClass;
18600 UINT8 mDelayClass;
18601 UINT8 mReliabilityClass;
18602 UINT8 mPeakThroughput;
18603 UINT8 mMeanThroughput;
18604 eQMICATPacketDataProtocol mPacketDataProtocol;
18605 };
18606
18607 // Structure to describe response TLV 0x58 for CAT2GetEventReport()
18608 struct sCAT2GetEventReportResponse_EUTRANExternalParameterBearerDescription
18609 {
18610 eQMICATTrafficClass mTrafficClass;
18611 UINT16 mMaxUploadBitrate;
18612 UINT16 mMaxDownloadBitrate;
18613 UINT16 mGuaranteedUploadBitrate;
18614 UINT16 mGuaranteedDownloadBitrate;
18615 eQMICATDeliveryOrder mDeliveryOrder;
18616 UINT8 mMaxSDUSize;
18617 UINT8 mMaxSDUErrorRatio;
18618 UINT8 mResidualBitErrorRatio;
18619 eQMICATDeliverErrorSDU mDeliverErrorSDU;
18620 UINT8 mTransferDelay;
18621 UINT8 mTrafficHandlingPRI;
18622 eQMICATPDPType mPDPType;
18623 };
18624
18625 // Structure to describe response TLV 0x59 for CAT2GetEventReport()
18626 struct sCAT2GetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
18627 {
18628 UINT8 mQCI;
18629 UINT8 mMaxUploadBitrate;
18630 UINT8 mMaxDownloadBitrate;
18631 UINT8 mGuaranteedUploadBitrate;
18632 UINT8 mGuaranteedDownloadBitrate;
18633 UINT8 mMaximumUploadBitrateExt;
18634 UINT8 mMaximumDownloadBitrateExt;
18635 UINT8 mGuaranteedUploadBitrateExt;
18636 UINT8 mGuaranteedDownloadBitrateExt;
18637 eQMICATPDPType mPDPType;
18638 };
18639
18640 // Structure to describe response TLV 0x5A for CAT2GetEventReport()
18641 struct sCAT2GetEventReportResponse_BufferSize
18642 {
18643 UINT16 mBufferSize;
18644 };
18645
18646 // Structure to describe response TLV 0x5B for CAT2GetEventReport()
18647 struct sCAT2GetEventReportResponse_NetworkAccessName
18648 {
18649 UINT8 mNetworkAccessNameLength;
18650
18651 // This array must be the size specified by mNetworkAccessNameLength
18652 // UINT8 mNetworkAccessName[1];
18653 };
18654
18655 // Structure to describe response TLV 0x5C for CAT2GetEventReport()
18656 struct sCAT2GetEventReportResponse_OtherAddress
18657 {
18658 eQMICATAddressType mAddressType;
18659 UINT8 mAddressDataLength;
18660
18661 // This array must be the size specified by mAddressDataLength
18662 // char mAddressData[1];
18663 };
18664
18665 // Structure to describe response TLV 0x5D for CAT2GetEventReport()
18666 struct sCAT2GetEventReportResponse_UserLogin
18667 {
18668 eQMICATDataCodingScheme mDataCodingScheme;
18669 UINT8 mTextDataLength;
18670
18671 // This array must be the size specified by mTextDataLength
18672 // UINT8 mTextData[1];
18673 };
18674
18675 // Structure to describe response TLV 0x5E for CAT2GetEventReport()
18676 struct sCAT2GetEventReportResponse_UserPassword
18677 {
18678 eQMICATDataCodingScheme mDataCodingScheme;
18679 UINT8 mTextDataLength;
18680
18681 // This array must be the size specified by mTextDataLength
18682 // UINT8 mTextData[1];
18683 };
18684
18685 // Structure to describe response TLV 0x5F for CAT2GetEventReport()
18686 struct sCAT2GetEventReportResponse_TransportLevel
18687 {
18688 eQMICATTransportProtocol mTransportProtocol;
18689 UINT16 mPortNumber;
18690 };
18691
18692 // Structure to describe response TLV 0x60 for CAT2GetEventReport()
18693 struct sCAT2GetEventReportResponse_DataDestinationAddress
18694 {
18695 eQMICATAddressType mAddressType;
18696 UINT8 mAddressDataLength;
18697
18698 // This array must be the size specified by mAddressDataLength
18699 // char mAddressData[1];
18700 };
18701
18702 // Structure to describe response TLV 0x61 for CAT2GetEventReport()
18703 struct sCAT2GetEventReportResponse_ChannelDataLength
18704 {
18705 UINT8 mChannelDataLength;
18706 };
18707
18708 // Structure to describe response TLV 0x62 for CAT2GetEventReport()
18709 struct sCAT2GetEventReportResponse_SendDataImmediately
18710 {
18711 eQMICATSendDataImmediately mSendDataImmediately;
18712 };
18713
18714 // Structure to describe response TLV 0x63 for CAT2GetEventReport()
18715 struct sCAT2GetEventReportResponse_ChannelData
18716 {
18717 UINT16 mChannelDataLength;
18718
18719 // This array must be the size specified by mChannelDataLength
18720 // UINT8 mChannelData[1];
18721 };
18722
18723 // Structure to describe response TLV 0x64 for CAT2GetEventReport()
18724 struct sCAT2GetEventReportResponse_ChannelID
18725 {
18726 UINT8 mChannelID;
18727 };
18728
18729 // Structure to describe response TLV 0x65 for CAT2GetEventReport()
18730 struct sCAT2GetEventReportResponse_ItemsWithDCS
18731 {
18732 UINT8 mItemsLength;
18733
18734 struct sItem
18735 {
18736 UINT8 mItemID;
18737 eQMICATDataCodingScheme mDataCodingScheme;
18738 UINT8 mItemTextLength;
18739
18740 // This array must be the size specified by mItemTextLength
18741 // UINT8 mItemText[1];
18742 };
18743
18744 // This array must be the size specified by mItemsLength
18745 // sItem mItems[1];
18746 };
18747
18748 // Structure to describe response TLV 0x66 for CAT2GetEventReport()
18749 struct sCAT2GetEventReportResponse_Activate
18750 {
18751 UINT32 mReferenceID;
18752 UINT16 mActivateLength;
18753
18754 // This array must be the size specified by mActivateLength
18755 // UINT8 mActivate[1];
18756 };
18757
18758 // Structure to describe response TLV 0x67 for CAT2GetEventReport()
18759 struct sCAT2GetEventReportResponse_ActivateTarget
18760 {
18761 eQMICATActivateTargets mActivateTarget;
18762 };
18763
18764 // Structure to describe request TLV 0x01 for CAT2SendDecodedTerminalResponse()
18765 struct sCAT2SendDecodedTerminalResponseRequest_TerminalResponse
18766 {
18767 UINT32 mReferenceID;
18768 UINT8 mCommandNumber;
18769 eQMICATResponseCommand mResponseCommand;
18770 UINT8 mGeneralResult;
18771 UINT8 mAdditionalInformationLength;
18772
18773 // This array must be the size specified by mAdditionalInformationLength
18774 // UINT8 mTerminalResponseAdditionalInformation[1];
18775 };
18776
18777 // Structure to describe request TLV 0x10 for CAT2SendDecodedTerminalResponse()
18778 struct sCAT2SendDecodedTerminalResponseRequest_TextString
18779 {
18780 eQMICATDataCodingScheme mDataCodingScheme;
18781 UINT8 mTextDataLength;
18782
18783 // This array must be the size specified by mTextDataLength
18784 // UINT8 mTextData[1];
18785 };
18786
18787 // Structure to describe request TLV 0x11 for CAT2SendDecodedTerminalResponse()
18788 struct sCAT2SendDecodedTerminalResponseRequest_ItemIdentifier
18789 {
18790 UINT8 mItemIdentifier;
18791 };
18792
18793 // Structure to describe request TLV 0x12 for CAT2SendDecodedTerminalResponse()
18794 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyExtraInfo
18795 {
18796 eQMICATTimeUnits mUnits;
18797 UINT8 mInterval;
18798 eQMICATDataCodingScheme mDataCodingScheme;
18799 UINT8 mTextDataLength;
18800
18801 // This array must be the size specified by mTextDataLength
18802 // UINT8 mTextData[1];
18803 };
18804
18805 // Structure to describe request TLV 0x13 for CAT2SendDecodedTerminalResponse()
18806 struct sCAT2SendDecodedTerminalResponseRequest_LanguageInfo
18807 {
18808 char mLanguage[2];
18809 };
18810
18811 // Structure to describe request TLV 0x14 for CAT2SendDecodedTerminalResponse()
18812 struct sCAT2SendDecodedTerminalResponseRequest_Slot
18813 {
18814 eQMICATSlot mSlot;
18815 };
18816
18817 // Structure to describe request TLV 0x15 for CAT2SendDecodedTerminalResponse()
18818 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyYesInput
18819 {
18820 eQMICATTimeUnits mUnits;
18821 UINT8 mInterval;
18822 INT8 mGetInkeyYesInput;
18823 };
18824
18825 // Structure to describe response TLV 0x10 for CAT2SendDecodedTerminal()
18826 struct sCAT2SendDecodedTerminalResponseResponse_TRResponse
18827 {
18828 UINT8 mSW1;
18829 UINT8 mSW2;
18830 UINT8 mTerminalResponseLength;
18831
18832 // This array must be the size specified by mTerminalResponseLength
18833 // UINT8 mTerminalResponseData[1];
18834 };
18835
18836 // Structure to describe request TLV 0x01 for CAT2SendDecodedEnvelopeCommand()
18837 struct sCAT2SendDecodedEnvelopeCommandRequest_EnvelopeCommand
18838 {
18839 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
18840 };
18841
18842 // Structure to describe request TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
18843 struct sCAT2SendDecodedEnvelopeCommandRequest_ItemIdentifier
18844 {
18845 UINT8 mItemIdentifier;
18846 };
18847
18848 // Structure to describe request TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
18849 struct sCAT2SendDecodedEnvelopeCommandRequest_HelpRequest
18850 {
18851 eQMICATHelpRequest mHelpRequest;
18852 };
18853
18854 // Structure to describe request TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
18855 struct sCAT2SendDecodedEnvelopeCommandRequest_Language
18856 {
18857 char mLanguage[2];
18858 };
18859
18860 // Structure to describe request TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
18861 struct sCAT2SendDecodedEnvelopeCommandRequest_Slot
18862 {
18863 eQMICATSlot mSlot;
18864 };
18865
18866 // Structure to describe request TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
18867 struct sCAT2SendDecodedEnvelopeCommandRequest_Address
18868 {
18869 eQMICATAddressTON mAddressTON;
18870 eQMICATAddressNPI mAddressNPI;
18871 UINT8 mAddressDataLength;
18872
18873 // This array must be the size specified by mAddressDataLength
18874 // char mAddressData[1];
18875 };
18876
18877 // Structure to describe request TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
18878 struct sCAT2SendDecodedEnvelopeCommandRequest_Subaddress
18879 {
18880 UINT8 mSubaddressDataLength;
18881
18882 struct sSubaddressData
18883 {
18884 UINT8 mSubaddressData1:4;
18885 UINT8 mSubaddressData2:4;
18886 };
18887
18888 // This array must be the size specified by mSubaddressDataLength
18889 // sSubaddressData mSubaddressDatas[1];
18890 };
18891
18892 // Structure to describe request TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
18893 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
18894 {
18895 UINT8 mCapabilitesConfigurationLength;
18896
18897 // This array must be the size specified by mCapabilitesConfigurationLength
18898 // UINT8 mCapabilitiesConfiguration[1];
18899 };
18900
18901 // Structure to describe request TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
18902 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
18903 {
18904 UINT8 mCapabilitesConfigurationLength;
18905
18906 // This array must be the size specified by mCapabilitesConfigurationLength
18907 // UINT8 mCapabilitiesConfiguration[1];
18908 };
18909
18910 // Structure to describe request TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
18911 struct sCAT2SendDecodedEnvelopeCommandRequest_USSDString
18912 {
18913 eQMICATDataCodingScheme mDataCodingScheme;
18914 UINT8 mTextDataLength;
18915
18916 // This array must be the size specified by mTextDataLength
18917 // UINT8 mTextData[1];
18918 };
18919
18920 // Structure to describe request TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
18921 struct sCAT2SendDecodedEnvelopeCommandRequest_PDPContextActivation
18922 {
18923 UINT8 mPDPContextActivationDataLength;
18924
18925 // This array must be the size specified by mPDPContextActivationDataLength
18926 // UINT8 mPDPContextActivationData[1];
18927 };
18928
18929 // Structure to describe request TLV 0x1A for CAT2SendDecodedEnvelopeCommand()
18930 struct sCAT2SendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
18931 {
18932 UINT8 mEPSPDNConnectActivationDataLength;
18933
18934 // This array must be the size specified by mEPSPDNConnectActivationDataLength
18935 // UINT8 mEPSPDNConnectActivationData[1];
18936 };
18937
18938 // Structure to describe request TLV 0x1B for CAT2SendDecodedEnvelopeCommand()
18939 struct sCAT2SendDecodedEnvelopeCommandRequest_BrowserTerminationCause
18940 {
18941 eQMICATBrowserTerminationCauses mBrowserTerminationCause;
18942 };
18943
18944 // Structure to describe response TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
18945 struct sCAT2SendDecodedEnvelopeCommandResponse_CallControlResult
18946 {
18947 eQMICATCallControlResult mCallControlResult;
18948 };
18949
18950 // Structure to describe response TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
18951 struct sCAT2SendDecodedEnvelopeCommandResponse_Address
18952 {
18953 eQMICATAddressTON mAddressTON;
18954 eQMICATAddressNPI mAddressNPI;
18955 UINT8 mAddressDataLength;
18956
18957 // This array must be the size specified by mAddressDataLength
18958 // char mAddressData[1];
18959 };
18960
18961 // Structure to describe response TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
18962 struct sCAT2SendDecodedEnvelopeCommandResponse_Subaddress
18963 {
18964 UINT8 mSubaddressDataLength;
18965
18966 struct sSubaddressData
18967 {
18968 UINT8 mSubaddressData1:4;
18969 UINT8 mSubaddressData2:4;
18970 };
18971
18972 // This array must be the size specified by mSubaddressDataLength
18973 // sSubaddressData mSubaddressDatas[1];
18974 };
18975
18976 // Structure to describe response TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
18977 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
18978 {
18979 UINT8 mCapabilitesConfigurationLength;
18980
18981 // This array must be the size specified by mCapabilitesConfigurationLength
18982 // UINT8 mCapabilitiesConfiguration[1];
18983 };
18984
18985 // Structure to describe response TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
18986 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
18987 {
18988 UINT8 mCapabilitesConfigurationLength;
18989
18990 // This array must be the size specified by mCapabilitesConfigurationLength
18991 // UINT8 mCapabilitiesConfiguration[1];
18992 };
18993
18994 // Structure to describe response TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
18995 struct sCAT2SendDecodedEnvelopeCommandResponse_USSDString
18996 {
18997 eQMICATDataCodingScheme mDataCodingScheme;
18998 UINT8 mTextDataLength;
18999
19000 // This array must be the size specified by mTextDataLength
19001 // UINT8 mTextData[1];
19002 };
19003
19004 // Structure to describe response TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
19005 struct sCAT2SendDecodedEnvelopeCommandResponse_PDPContextActivation
19006 {
19007 UINT8 mPDPContextActivationDataLength;
19008
19009 // This array must be the size specified by mPDPContextActivationDataLength
19010 // UINT8 mPDPContextActivationData[1];
19011 };
19012
19013 // Structure to describe response TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
19014 struct sCAT2SendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
19015 {
19016 UINT8 mEPSPDNConnectActivationDataLength;
19017
19018 // This array must be the size specified by mEPSPDNConnectActivationDataLength
19019 // UINT8 mEPSPDNConnectActivationData[1];
19020 };
19021
19022 // Structure to describe response TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
19023 struct sCAT2SendDecodedEnvelopeCommandResponse_Alpha
19024 {
19025 eQMICATDataCodingScheme mDataCodingScheme;
19026 UINT8 mTextDataLength;
19027
19028 // This array must be the size specified by mTextDataLength
19029 // UINT8 mTextData[1];
19030 };
19031
19032 // Structure to describe response TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
19033 struct sCAT2SendDecodedEnvelopeCommandResponse_BCRepeatIndicator
19034 {
19035 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
19036 };
19037
19038 // Structure to describe request TLV 0x10 for CAT2EventConfirmation()
19039 struct sCAT2EventConfirmationRequest_UserConfirmed
19040 {
19041 eQMICATUserConfirmed mUserConfirmed;
19042 };
19043
19044 // Structure to describe request TLV 0x11 for CAT2EventConfirmation()
19045 struct sCAT2EventConfirmationRequest_IconIsDisplayed
19046 {
19047 eQMICATIconIsDisplayed mIconIsDisplayed;
19048 };
19049
19050 // Structure to describe request TLV 0x12 for CAT2EventConfirmation()
19051 struct sCAT2EventConfirmationRequest_Slot
19052 {
19053 eQMICATSlot mSlot;
19054 };
19055
19056 // Structure to describe request TLV 0x01 for CAT2SCWSOpenChannel()
19057 struct sCAT2SCWSOpenChannelRequest_ChannelStatus
19058 {
19059 UINT32 mChannelID;
19060 eQMICATChannelState mChannelState;
19061 };
19062
19063 // Structure to describe request TLV 0x10 for CAT2SCWSOpenChannel()
19064 struct sCAT2SCWSOpenChannelRequest_Slot
19065 {
19066 eQMICATSlot mSlot;
19067 };
19068
19069 // Structure to describe indication TLV 0x10 for CAT2 SCWSOpenChannelIndication
19070 struct sCAT2SCWSOpenChannelIndication_OpenChannelInformation
19071 {
19072 UINT32 mChannelID;
19073 UINT16 mPortNumber;
19074 UINT16 mBufferSize;
19075 };
19076
19077 // Structure to describe indication TLV 0x11 for CAT2 SCWSOpenChannelIndication
19078 struct sCAT2SCWSOpenChannelIndication_Slot
19079 {
19080 eQMICATSlot mSlot;
19081 };
19082
19083 // Structure to describe request TLV 0x01 for CAT2SCWSCloseChannel()
19084 struct sCAT2SCWSCloseChannelRequest_ChannelStatus
19085 {
19086 UINT32 mChannelID;
19087 eQMICATChannelState mChannelState;
19088 };
19089
19090 // Structure to describe request TLV 0x10 for CAT2SCWSCloseChannel()
19091 struct sCAT2SCWSCloseChannelRequest_Slot
19092 {
19093 eQMICATSlot mSlot;
19094 };
19095
19096 // Structure to describe indication TLV 0x10 for CAT2 SCWSCloseChannelIndication
19097 struct sCAT2SCWSCloseChannelIndication_CloseChannelInfo
19098 {
19099 UINT32 mChannelID;
19100 eQMICATChannelState mChannelState;
19101 };
19102
19103 // Structure to describe response TLV 0x11 for CAT2SCWSCloseChannel()
19104 struct sCAT2SCWSCloseChannelResponse_Slot
19105 {
19106 eQMICATSlot mSlot;
19107 };
19108
19109 // Structure to describe request TLV 0x01 for CAT2SCWSSendData()
19110 struct sCAT2SCWSSendDataRequest_ChannelStatus
19111 {
19112 UINT32 mChannelID;
19113 eQMICATSendDataResult mDataSendResult;
19114 };
19115
19116 // Structure to describe request TLV 0x10 for CAT2SCWSSendData()
19117 struct sCAT2SCWSSendDataRequest_Slot
19118 {
19119 eQMICATSlot mSlot;
19120 };
19121
19122 // Structure to describe indication TLV 0x10 for CAT2 SCWSSendDataIndication
19123 struct sCAT2SCWSSendDataIndication_SendDataInfo
19124 {
19125 UINT32 mChannelID;
19126 UINT8 mTotalPackets;
19127 UINT8 mCurrentPacket;
19128 UINT16 mDataLength;
19129
19130 // This array must be the size specified by mDataLength
19131 // UINT8 mData[1];
19132 };
19133
19134 // Structure to describe indication TLV 0x11 for CAT2 SCWSSendDataIndication
19135 struct sCAT2SCWSSendDataIndication_Slot
19136 {
19137 eQMICATSlot mSlot;
19138 };
19139
19140 // Structure to describe request TLV 0x01 for CAT2SCWSDataAvailable()
19141 struct sCAT2SCWSDataAvailableRequest_RemainingData
19142 {
19143 UINT32 mChannelID;
19144 UINT16 mDataLength;
19145
19146 // This array must be the size specified by mDataLength
19147 // UINT8 mData[1];
19148 };
19149
19150 // Structure to describe request TLV 0x10 for CAT2SCWSDataAvailable()
19151 struct sCAT2SCWSDataAvailableRequest_Slot
19152 {
19153 eQMICATSlot mSlot;
19154 };
19155
19156 // Structure to describe request TLV 0x01 for CAT2SCWSChannelStatus()
19157 struct sCAT2SCWSChannelStatusRequest_ChannelStatus
19158 {
19159 UINT32 mChannelID;
19160 eQMICATChannelState mChannelState;
19161 };
19162
19163 // Structure to describe request TLV 0x10 for CAT2SCWSChannelStatus()
19164 struct sCAT2SCWSChannelStatusRequest_Slot
19165 {
19166 eQMICATSlot mSlot;
19167 };
19168
19169 // Structure to describe request TLV 0x10 for CAT2GetTerminalProfile()
19170 struct sCAT2GetTerminalProfileRequest_Slot
19171 {
19172 eQMICATSlot mSlot;
19173 };
19174
19175 // Structure to describe response TLV 0x10 for CAT2GetTerminalProfile()
19176 struct sCAT2GetTerminalProfileResponse_RawData
19177 {
19178 UINT8 mTerminalProfileLength;
19179
19180 // This array must be the size specified by mTerminalProfileLength
19181 // UINT8 mTerminalProfileData[1];
19182 };
19183
19184 // Structure to describe request TLV 0x01 for CAT2SetConfiguration()
19185 struct sCAT2SetConfigurationRequest_Mode
19186 {
19187 eQMICATConfigModes mConfigMode;
19188 };
19189
19190 // Structure to describe request TLV 0x10 for CAT2SetConfiguration()
19191 struct sCAT2SetConfigurationRequest_CustomData
19192 {
19193 UINT8 mTerminalProfileLength;
19194
19195 // This array must be the size specified by mTerminalProfileLength
19196 // UINT8 mTerminalProfileData[1];
19197 };
19198
19199 // Structure to describe response TLV 0x10 for CAT2GetConfiguration()
19200 struct sCAT2GetConfigurationResponse_Mode
19201 {
19202 eQMICATConfigModes mConfigMode;
19203 };
19204
19205 // Structure to describe response TLV 0x11 for CAT2GetConfiguration()
19206 struct sCAT2GetConfigurationResponse_CustomData
19207 {
19208 UINT8 mTerminalProfileLength;
19209
19210 // This array must be the size specified by mTerminalProfileLength
19211 // UINT8 mTerminalProfileData[1];
19212 };
19213
19214 // Structure to describe request TLV 0x01 for UIMReadTransparent()
19215 struct sUIMReadTransparentRequest_SessionInfo
19216 {
19217 eQMIUIMSessionTypes mSessionType;
19218 UINT8 mAIDLength;
19219
19220 // This array must be the size specified by mAIDLength
19221 // UINT8 mAID[1];
19222 };
19223
19224 // Structure to describe request TLV 0x03 for UIMReadTransparent()
19225 struct sUIMReadTransparentRequest_Buffer
19226 {
19227 UINT16 mOffset;
19228 UINT16 mLength;
19229 };
19230
19231 // Structure to describe request TLV 0x10 for UIMReadTransparent()
19232 struct sUIMReadTransparentRequest_ResponseInIndication
19233 {
19234 UINT32 mIndicationToken;
19235 };
19236
19237 // Structure to describe request TLV 0x11 for UIMReadTransparent()
19238 struct sUIMReadTransparentRequest_Encryption
19239 {
19240 INT8 mDataEncrypted;
19241 };
19242
19243 // Structure to describe response TLV 0x10 for UIMReadTransparent()
19244 struct sUIMReadTransparentResponse_CardResult
19245 {
19246 UINT8 mSW1;
19247 UINT8 mSW2;
19248 };
19249
19250 // Structure to describe response TLV 0x11 for UIMReadTransparent()
19251 struct sUIMReadTransparentResponse_ReadResult
19252 {
19253 UINT16 mContentLength;
19254
19255 // This array must be the size specified by mContentLength
19256 // UINT8 mContent[1];
19257 };
19258
19259 // Structure to describe response TLV 0x12 for UIMReadTransparent()
19260 struct sUIMReadTransparentResponse_ResponseInIndication
19261 {
19262 UINT32 mIndicationToken;
19263 };
19264
19265 // Structure to describe response TLV 0x13 for UIMReadTransparent()
19266 struct sUIMReadTransparentResponse_Encryption
19267 {
19268 INT8 mDataEncrypted;
19269 };
19270
19271 // Structure to describe response TLV 0x14 for UIMReadTransparent()
19272 struct sUIMReadTransparentResponse_RequestedLength
19273 {
19274 UINT16 mFileLength;
19275 };
19276
19277 // Structure to describe indication TLV 0x01 for UIM ReadTransparentIndication
19278 struct sUIMReadTransparentIndication_OriginalToken
19279 {
19280 UINT32 mIndicationToken;
19281 };
19282
19283 // Structure to describe indication TLV 0x10 for UIM ReadTransparentIndication
19284 struct sUIMReadTransparentIndication_CardResult
19285 {
19286 UINT8 mSW1;
19287 UINT8 mSW2;
19288 };
19289
19290 // Structure to describe indication TLV 0x11 for UIM ReadTransparentIndication
19291 struct sUIMReadTransparentIndication_ReadResult
19292 {
19293 UINT16 mContentLength;
19294
19295 // This array must be the size specified by mContentLength
19296 // UINT8 mContent[1];
19297 };
19298
19299 // Structure to describe indication TLV 0x12 for UIM ReadTransparentIndication
19300 struct sUIMReadTransparentIndication_Encryption
19301 {
19302 INT8 mDataEncrypted;
19303 };
19304
19305 // Structure to describe indication TLV 0x13 for UIM ReadTransparentIndication
19306 struct sUIMReadTransparentIndication_RequestedLength
19307 {
19308 UINT16 mFileLength;
19309 };
19310
19311 // Structure to describe request TLV 0x01 for UIMReadRecord()
19312 struct sUIMReadRecordRequest_SessionInfo
19313 {
19314 eQMIUIMSessionTypes mSessionType;
19315 UINT8 mAIDLength;
19316
19317 // This array must be the size specified by mAIDLength
19318 // UINT8 mAID[1];
19319 };
19320
19321 // Structure to describe request TLV 0x03 for UIMReadRecord()
19322 struct sUIMReadRecordRequest_Record
19323 {
19324 UINT16 mRecordNumber;
19325 UINT16 mContentLength;
19326 };
19327
19328 // Structure to describe request TLV 0x10 for UIMReadRecord()
19329 struct sUIMReadRecordRequest_LastRecord
19330 {
19331 UINT16 mRecordNumber;
19332 };
19333
19334 // Structure to describe request TLV 0x11 for UIMReadRecord()
19335 struct sUIMReadRecordRequest_ResponseInIndication
19336 {
19337 UINT32 mIndicationToken;
19338 };
19339
19340 // Structure to describe response TLV 0x10 for UIMReadRecord()
19341 struct sUIMReadRecordResponse_CardResult
19342 {
19343 UINT8 mSW1;
19344 UINT8 mSW2;
19345 };
19346
19347 // Structure to describe response TLV 0x11 for UIMReadRecord()
19348 struct sUIMReadRecordResponse_ReadResult
19349 {
19350 UINT16 mContentLength;
19351
19352 // This array must be the size specified by mContentLength
19353 // UINT8 mContent[1];
19354 };
19355
19356 // Structure to describe response TLV 0x12 for UIMReadRecord()
19357 struct sUIMReadRecordResponse_AdditionalReadResult
19358 {
19359 UINT16 mContentLength;
19360
19361 struct sRecord
19362 {
19363 // This array must be the size specified by mContentLength
19364 // UINT8 mContent[1];
19365 };
19366
19367 // This array is variable length based on the size of the container
19368 // sRecord mRecords[1];
19369 };
19370
19371 // Structure to describe response TLV 0x13 for UIMReadRecord()
19372 struct sUIMReadRecordResponse_ResponseInIndication
19373 {
19374 UINT32 mIndicationToken;
19375 };
19376
19377 // Structure to describe indication TLV 0x01 for UIM ReadRecordIndication
19378 struct sUIMReadRecordIndication_OriginalToken
19379 {
19380 UINT32 mIndicationToken;
19381 };
19382
19383 // Structure to describe indication TLV 0x10 for UIM ReadRecordIndication
19384 struct sUIMReadRecordIndication_CardResult
19385 {
19386 UINT8 mSW1;
19387 UINT8 mSW2;
19388 };
19389
19390 // Structure to describe indication TLV 0x11 for UIM ReadRecordIndication
19391 struct sUIMReadRecordIndication_ReadResult
19392 {
19393 UINT16 mContentLength;
19394
19395 // This array must be the size specified by mContentLength
19396 // UINT8 mContent[1];
19397 };
19398
19399 // Structure to describe indication TLV 0x12 for UIM ReadRecordIndication
19400 struct sUIMReadRecordIndication_AdditionalReadResult
19401 {
19402 UINT16 mContentLength;
19403
19404 struct sRecord
19405 {
19406 // This array must be the size specified by mContentLength
19407 // UINT8 mContent[1];
19408 };
19409
19410 // This array is variable length based on the size of the container
19411 // sRecord mRecords[1];
19412 };
19413
19414 // Structure to describe request TLV 0x01 for UIMWriteTransparent()
19415 struct sUIMWriteTransparentRequest_SessionInfo
19416 {
19417 eQMIUIMSessionTypes mSessionType;
19418 UINT8 mAIDLength;
19419
19420 // This array must be the size specified by mAIDLength
19421 // UINT8 mAID[1];
19422 };
19423
19424 // Structure to describe request TLV 0x03 for UIMWriteTransparent()
19425 struct sUIMWriteTransparentRequest_Buffer
19426 {
19427 UINT16 mOffset;
19428 UINT16 mContentLength;
19429
19430 // This array must be the size specified by mContentLength
19431 // UINT8 mContent[1];
19432 };
19433
19434 // Structure to describe request TLV 0x10 for UIMWriteTransparent()
19435 struct sUIMWriteTransparentRequest_ResponseInIndicaiton
19436 {
19437 UINT32 mIndicationToken;
19438 };
19439
19440 // Structure to describe response TLV 0x10 for UIMWriteTransparent()
19441 struct sUIMWriteTransparentResponse_CardResult
19442 {
19443 UINT8 mSW1;
19444 UINT8 mSW2;
19445 };
19446
19447 // Structure to describe response TLV 0x11 for UIMWriteTransparent()
19448 struct sUIMWriteTransparentResponse_ResponseInIndication
19449 {
19450 UINT32 mIndicationToken;
19451 };
19452
19453 // Structure to describe indication TLV 0x01 for UIM WriteTransparentIndication
19454 struct sUIMWriteTransparentIndication_OriginalToken
19455 {
19456 UINT32 mIndicationToken;
19457 };
19458
19459 // Structure to describe indication TLV 0x10 for UIM WriteTransparentIndication
19460 struct sUIMWriteTransparentIndication_CardResult
19461 {
19462 UINT8 mSW1;
19463 UINT8 mSW2;
19464 };
19465
19466 // Structure to describe request TLV 0x01 for UIMWriteRecord()
19467 struct sUIMWriteRecordRequest_SessionInfo
19468 {
19469 eQMIUIMSessionTypes mSessionType;
19470 UINT8 mAIDLength;
19471
19472 // This array must be the size specified by mAIDLength
19473 // UINT8 mAID[1];
19474 };
19475
19476 // Structure to describe request TLV 0x03 for UIMWriteRecord()
19477 struct sUIMWriteRecordRequest_Record
19478 {
19479 UINT16 mRecordNumber;
19480 UINT16 mContentLength;
19481
19482 // This array must be the size specified by mContentLength
19483 // UINT8 mContent[1];
19484 };
19485
19486 // Structure to describe request TLV 0x10 for UIMWriteRecord()
19487 struct sUIMWriteRecordRequest_ResponseInIndication
19488 {
19489 UINT32 mIndicationToken;
19490 };
19491
19492 // Structure to describe response TLV 0x10 for UIMWriteRecord()
19493 struct sUIMWriteRecordResponse_CardResult
19494 {
19495 UINT8 mSW1;
19496 UINT8 mSW2;
19497 };
19498
19499 // Structure to describe response TLV 0x11 for UIMWriteRecord()
19500 struct sUIMWriteRecordResponse_ResponseInIndication
19501 {
19502 UINT32 mIndicationToken;
19503 };
19504
19505 // Structure to describe indication TLV 0x01 for UIM WriteRecordIndication
19506 struct sUIMWriteRecordIndication_OriginalToken
19507 {
19508 UINT32 mIndicationToken;
19509 };
19510
19511 // Structure to describe indication TLV 0x10 for UIM WriteRecordIndication
19512 struct sUIMWriteRecordIndication_CardResult
19513 {
19514 UINT8 mSW1;
19515 UINT8 mSW2;
19516 };
19517
19518 // Structure to describe request TLV 0x01 for UIMGetFileAttributes()
19519 struct sUIMGetFileAttributesRequest_SessionInfo
19520 {
19521 eQMIUIMSessionTypes mSessionType;
19522 UINT8 mAIDLength;
19523
19524 // This array must be the size specified by mAIDLength
19525 // UINT8 mAID[1];
19526 };
19527
19528 // Structure to describe request TLV 0x10 for UIMGetFileAttributes()
19529 struct sUIMGetFileAttributesRequest_ResponseInIndication
19530 {
19531 UINT32 mIndicationToken;
19532 };
19533
19534 // Structure to describe response TLV 0x10 for UIMGetFileAttributes()
19535 struct sUIMGetFileAttributesResponse_CardResult
19536 {
19537 UINT8 mSW1;
19538 UINT8 mSW2;
19539 };
19540
19541 // Structure to describe response TLV 0x11 for UIMGetFileAttributes()
19542 struct sUIMGetFileAttributesResponse_Attributes
19543 {
19544 UINT16 mFileSize;
19545 UINT16 mFileID;
19546 eQMIUIMFileTypes mFileType;
19547 UINT16 mRecordSize;
19548 UINT16 mRecordCount;
19549 eQMIUIMSecurityAttributes mReadSecurityAttributes;
19550 bool mReadPIN1:1;
19551 bool mReadPIN2:1;
19552 bool mReadUPIN:1;
19553 bool mReadADM:1;
19554
19555 // Padding out 4 bits
19556 UINT8 mReserved1:4;
19557
19558 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
19559 bool mWritePIN1:1;
19560 bool mWritePIN2:1;
19561 bool mWriteUPIN:1;
19562 bool mWriteADM:1;
19563
19564 // Padding out 4 bits
19565 UINT8 mReserved2:4;
19566
19567 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
19568 bool mIncreasePIN1:1;
19569 bool mIncreasePIN2:1;
19570 bool mIncreaseUPIN:1;
19571 bool mIncreaseADM:1;
19572
19573 // Padding out 4 bits
19574 UINT8 mReserved3:4;
19575
19576 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
19577 bool mDeactivatePIN1:1;
19578 bool mDeactivatePIN2:1;
19579 bool mDeactivateUPIN:1;
19580 bool mDeactivateADM:1;
19581
19582 // Padding out 4 bits
19583 UINT8 mReserved4:4;
19584
19585 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
19586 bool mActivatePIN1:1;
19587 bool mActivatePIN2:1;
19588 bool mActivateUPIN:1;
19589 bool mActivateADM:1;
19590
19591 // Padding out 4 bits
19592 UINT8 mReserved5:4;
19593
19594 UINT16 mValueLength;
19595
19596 // This array must be the size specified by mValueLength
19597 // UINT8 mValue[1];
19598 };
19599
19600 // Structure to describe response TLV 0x12 for UIMGetFileAttributes()
19601 struct sUIMGetFileAttributesResponse_ResponseInIndication
19602 {
19603 UINT32 mIndicationToken;
19604 };
19605
19606 // Structure to describe indication TLV 0x01 for UIM GetFileAttributesIndication
19607 struct sUIMGetFileAttributesIndication_OriginalToken
19608 {
19609 UINT32 mIndicationToken;
19610 };
19611
19612 // Structure to describe indication TLV 0x10 for UIM GetFileAttributesIndication
19613 struct sUIMGetFileAttributesIndication_CardResult
19614 {
19615 UINT8 mSW1;
19616 UINT8 mSW2;
19617 };
19618
19619 // Structure to describe indication TLV 0x11 for UIM GetFileAttributesIndication
19620 struct sUIMGetFileAttributesIndication_FileAttributes
19621 {
19622 UINT16 mFileSize;
19623 UINT16 mFileID;
19624 eQMIUIMFileTypes mFileType;
19625 UINT16 mRecordSize;
19626 UINT16 mRecordCount;
19627 eQMIUIMSecurityAttributes mReadSecurityAttributes;
19628 bool mReadPIN1:1;
19629 bool mReadPIN2:1;
19630 bool mReadUPIN:1;
19631 bool mReadADM:1;
19632
19633 // Padding out 4 bits
19634 UINT8 mReserved1:4;
19635
19636 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
19637 bool mWritePIN1:1;
19638 bool mWritePIN2:1;
19639 bool mWriteUPIN:1;
19640 bool mWriteADM:1;
19641
19642 // Padding out 4 bits
19643 UINT8 mReserved2:4;
19644
19645 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
19646 bool mIncreasePIN1:1;
19647 bool mIncreasePIN2:1;
19648 bool mIncreaseUPIN:1;
19649 bool mIncreaseADM:1;
19650
19651 // Padding out 4 bits
19652 UINT8 mReserved3:4;
19653
19654 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
19655 bool mDeactivatePIN1:1;
19656 bool mDeactivatePIN2:1;
19657 bool mDeactivateUPIN:1;
19658 bool mDeactivateADM:1;
19659
19660 // Padding out 4 bits
19661 UINT8 mReserved4:4;
19662
19663 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
19664 bool mActivatePIN1:1;
19665 bool mActivatePIN2:1;
19666 bool mActivateUPIN:1;
19667 bool mActivateADM:1;
19668
19669 // Padding out 4 bits
19670 UINT8 mReserved5:4;
19671
19672 UINT16 mValueLength;
19673
19674 // This array must be the size specified by mValueLength
19675 // UINT8 mValue[1];
19676 };
19677
19678 // Structure to describe request TLV 0x01 for UIMSetPINProtection()
19679 struct sUIMSetPINProtectionRequest_SessionInfo
19680 {
19681 eQMIUIMSessionTypes mSessionType;
19682 UINT8 mAIDLength;
19683
19684 // This array must be the size specified by mAIDLength
19685 // UINT8 mAID[1];
19686 };
19687
19688 // Structure to describe request TLV 0x10 for UIMSetPINProtection()
19689 struct sUIMSetPINProtectionRequest_KeyReferenceID
19690 {
19691 eQMIUIMKeyReferenceID mKeyReferenceID;
19692 };
19693
19694 // Structure to describe request TLV 0x11 for UIMSetPINProtection()
19695 struct sUIMSetPINProtectionRequest_ResponseInIndication
19696 {
19697 UINT32 mIndicationToken;
19698 };
19699
19700 // Structure to describe response TLV 0x10 for UIMSetPINProtection()
19701 struct sUIMSetPINProtectionResponse_Retries
19702 {
19703 UINT8 mRemainingVerifyRetries;
19704 UINT8 mRemainingUnblockRetries;
19705 };
19706
19707 // Structure to describe response TLV 0x11 for UIMSetPINProtection()
19708 struct sUIMSetPINProtectionResponse_EncryptedPIN1
19709 {
19710 UINT8 mPINLength;
19711
19712 // This array must be the size specified by mPINLength
19713 // UINT8 mValue[1];
19714 };
19715
19716 // Structure to describe response TLV 0x12 for UIMSetPINProtection()
19717 struct sUIMSetPINProtectionResponse_ResponseInIndication
19718 {
19719 UINT32 mIndicationToken;
19720 };
19721
19722 // Structure to describe indication TLV 0x01 for UIM SetPINProtectionIndication
19723 struct sUIMSetPINProtectionIndication_OriginalToken
19724 {
19725 UINT32 mIndicationToken;
19726 };
19727
19728 // Structure to describe indication TLV 0x10 for UIM SetPINProtectionIndication
19729 struct sUIMSetPINProtectionIndication_Retries
19730 {
19731 UINT8 mRemainingVerifyRetries;
19732 UINT8 mRemainingUnblockRetries;
19733 };
19734
19735 // Structure to describe indication TLV 0x11 for UIM SetPINProtectionIndication
19736 struct sUIMSetPINProtectionIndication_EncryptedPIN1
19737 {
19738 UINT8 mPINLength;
19739
19740 // This array must be the size specified by mPINLength
19741 // UINT8 mValue[1];
19742 };
19743
19744 // Structure to describe request TLV 0x01 for UIMVerifyPIN()
19745 struct sUIMVerifyPINRequest_SessionInfo
19746 {
19747 eQMIUIMSessionTypes mSessionType;
19748 UINT8 mAIDLength;
19749
19750 // This array must be the size specified by mAIDLength
19751 // UINT8 mAID[1];
19752 };
19753
19754 // Structure to describe request TLV 0x10 for UIMVerifyPIN()
19755 struct sUIMVerifyPINRequest_EncryptedPIN1
19756 {
19757 UINT8 mPINLength;
19758
19759 // This array must be the size specified by mPINLength
19760 // UINT8 mValue[1];
19761 };
19762
19763 // Structure to describe request TLV 0x11 for UIMVerifyPIN()
19764 struct sUIMVerifyPINRequest_KeyReferenceID
19765 {
19766 eQMIUIMKeyReferenceID mKeyReferenceID;
19767 };
19768
19769 // Structure to describe request TLV 0x12 for UIMVerifyPIN()
19770 struct sUIMVerifyPINRequest_ResponseInIndication
19771 {
19772 UINT32 mIndicationToken;
19773 };
19774
19775 // Structure to describe response TLV 0x10 for UIMVerifyPIN()
19776 struct sUIMVerifyPINResponse_Retries
19777 {
19778 UINT8 mRemainingVerifyRetries;
19779 UINT8 mRemainingUnblockRetries;
19780 };
19781
19782 // Structure to describe response TLV 0x11 for UIMVerifyPIN()
19783 struct sUIMVerifyPINResponse_EncryptedPIN1
19784 {
19785 UINT8 mPINLength;
19786
19787 // This array must be the size specified by mPINLength
19788 // UINT8 mValue[1];
19789 };
19790
19791 // Structure to describe response TLV 0x12 for UIMVerifyPIN()
19792 struct sUIMVerifyPINResponse_ResponseInIndication
19793 {
19794 UINT32 mIndicationToken;
19795 };
19796
19797 // Structure to describe indication TLV 0x01 for UIM VerifyPINIndication
19798 struct sUIMVerifyPINIndication_OriginalToken
19799 {
19800 UINT32 mIndicationToken;
19801 };
19802
19803 // Structure to describe indication TLV 0x10 for UIM VerifyPINIndication
19804 struct sUIMVerifyPINIndication_Retries
19805 {
19806 UINT8 mRemainingVerifyRetries;
19807 UINT8 mRemainingUnblockRetries;
19808 };
19809
19810 // Structure to describe indication TLV 0x11 for UIM VerifyPINIndication
19811 struct sUIMVerifyPINIndication_EncryptedPIN1
19812 {
19813 UINT8 mPINLength;
19814
19815 // This array must be the size specified by mPINLength
19816 // UINT8 mValue[1];
19817 };
19818
19819 // Structure to describe request TLV 0x01 for UIMUnblockPIN()
19820 struct sUIMUnblockPINRequest_SessionInfo
19821 {
19822 eQMIUIMSessionTypes mSessionType;
19823 UINT8 mAIDLength;
19824
19825 // This array must be the size specified by mAIDLength
19826 // UINT8 mAID[1];
19827 };
19828
19829 // Structure to describe request TLV 0x10 for UIMUnblockPIN()
19830 struct sUIMUnblockPINRequest_KeyReferenceID
19831 {
19832 eQMIUIMKeyReferenceID mKeyReferenceID;
19833 };
19834
19835 // Structure to describe request TLV 0x11 for UIMUnblockPIN()
19836 struct sUIMUnblockPINRequest_ResponseInIndication
19837 {
19838 UINT32 mIndicationToken;
19839 };
19840
19841 // Structure to describe response TLV 0x10 for UIMUnblockPIN()
19842 struct sUIMUnblockPINResponse_Retries
19843 {
19844 UINT8 mRemainingVerifyRetries;
19845 UINT8 mRemainingUnblockRetries;
19846 };
19847
19848 // Structure to describe response TLV 0x11 for UIMUnblockPIN()
19849 struct sUIMUnblockPINResponse_EncryptedPIN1
19850 {
19851 UINT8 mPINLength;
19852
19853 // This array must be the size specified by mPINLength
19854 // UINT8 mValue[1];
19855 };
19856
19857 // Structure to describe response TLV 0x12 for UIMUnblockPIN()
19858 struct sUIMUnblockPINResponse_ResponseInIndication
19859 {
19860 UINT32 mIndicationToken;
19861 };
19862
19863 // Structure to describe indication TLV 0x01 for UIM UnblockPINIndication
19864 struct sUIMUnblockPINIndication_OriginalToken
19865 {
19866 UINT32 mIndicationToken;
19867 };
19868
19869 // Structure to describe indication TLV 0x10 for UIM UnblockPINIndication
19870 struct sUIMUnblockPINIndication_Retries
19871 {
19872 UINT8 mRemainingVerifyRetries;
19873 UINT8 mRemainingUnblockRetries;
19874 };
19875
19876 // Structure to describe indication TLV 0x11 for UIM UnblockPINIndication
19877 struct sUIMUnblockPINIndication_EncryptedPIN1
19878 {
19879 UINT8 mPINLength;
19880
19881 // This array must be the size specified by mPINLength
19882 // UINT8 mValue[1];
19883 };
19884
19885 // Structure to describe request TLV 0x01 for UIMChangePIN()
19886 struct sUIMChangePINRequest_SessionInfo
19887 {
19888 eQMIUIMSessionTypes mSessionType;
19889 UINT8 mAIDLength;
19890
19891 // This array must be the size specified by mAIDLength
19892 // UINT8 mAID[1];
19893 };
19894
19895 // Structure to describe request TLV 0x10 for UIMChangePIN()
19896 struct sUIMChangePINRequest_KeyReferenceID
19897 {
19898 eQMIUIMKeyReferenceID mKeyReferenceID;
19899 };
19900
19901 // Structure to describe request TLV 0x11 for UIMChangePIN()
19902 struct sUIMChangePINRequest_ResponseInIndication
19903 {
19904 UINT32 mIndicationToken;
19905 };
19906
19907 // Structure to describe response TLV 0x10 for UIMChangePIN()
19908 struct sUIMChangePINResponse_Retries
19909 {
19910 UINT8 mRemainingVerifyRetries;
19911 UINT8 mRemainingUnblockRetries;
19912 };
19913
19914 // Structure to describe response TLV 0x11 for UIMChangePIN()
19915 struct sUIMChangePINResponse_EncryptedPIN1
19916 {
19917 UINT8 mPINLength;
19918
19919 // This array must be the size specified by mPINLength
19920 // UINT8 mValue[1];
19921 };
19922
19923 // Structure to describe response TLV 0x12 for UIMChangePIN()
19924 struct sUIMChangePINResponse_ResponseInIndication
19925 {
19926 UINT32 mIndicationToken;
19927 };
19928
19929 // Structure to describe indication TLV 0x01 for UIM ChangePINIndication
19930 struct sUIMChangePINIndication_OriginalToken
19931 {
19932 UINT32 mIndicationToken;
19933 };
19934
19935 // Structure to describe indication TLV 0x10 for UIM ChangePINIndication
19936 struct sUIMChangePINIndication_Retries
19937 {
19938 UINT8 mRemainingVerifyRetries;
19939 UINT8 mRemainingUnblockRetries;
19940 };
19941
19942 // Structure to describe indication TLV 0x11 for UIM ChangePINIndication
19943 struct sUIMChangePINIndication_EncryptedPIN1
19944 {
19945 UINT8 mPINLength;
19946
19947 // This array must be the size specified by mPINLength
19948 // UINT8 mValue[1];
19949 };
19950
19951 // Structure to describe request TLV 0x01 for UIMDepersonalization()
19952 struct sUIMDepersonalizationRequest_Info
19953 {
19954 eQMIUIMPersonalizationFeatures mFeature;
19955 eQMIUIMCKSessionOperations mOperation;
19956 UINT8 mCKLength;
19957
19958 // This array must be the size specified by mCKLength
19959 // char mCKValue[1];
19960 };
19961
19962 // Structure to describe response TLV 0x10 for UIMDepersonalization()
19963 struct sUIMDepersonalizationResponse_Retries
19964 {
19965 UINT8 mRemainingVerifyRetries;
19966 UINT8 mRemainingUnblockRetries;
19967 };
19968
19969 // Structure to describe request TLV 0x01 for UIMRefreshRegister()
19970 struct sUIMRefreshRegisterRequest_SessionInfo
19971 {
19972 eQMIUIMSessionTypes mSessionType;
19973 UINT8 mAIDLength;
19974
19975 // This array must be the size specified by mAIDLength
19976 // UINT8 mAID[1];
19977 };
19978
19979 // Structure to describe request TLV 0x01 for UIMRefreshOK()
19980 struct sUIMRefreshOKRequest_SessionInfo
19981 {
19982 eQMIUIMSessionTypes mSessionType;
19983 UINT8 mAIDLength;
19984
19985 // This array must be the size specified by mAIDLength
19986 // UINT8 mAID[1];
19987 };
19988
19989 // Structure to describe request TLV 0x01 for UIMRefreshComplete()
19990 struct sUIMRefreshCompleteRequest_SessionInfo
19991 {
19992 eQMIUIMSessionTypes mSessionType;
19993 UINT8 mAIDLength;
19994
19995 // This array must be the size specified by mAIDLength
19996 // UINT8 mAID[1];
19997 };
19998
19999 // Structure to describe request TLV 0x01 for UIMGetLastRefreshEvent()
20000 struct sUIMGetLastRefreshEventRequest_SessionInfo
20001 {
20002 eQMIUIMSessionTypes mSessionType;
20003 UINT8 mAIDLength;
20004
20005 // This array must be the size specified by mAIDLength
20006 // UINT8 mAID[1];
20007 };
20008
20009 // Structure to describe response TLV 0x10 for UIMGetLastRefreshEvent()
20010 struct sUIMGetLastRefreshEventResponse_RefreshEvent1
20011 {
20012 eQMIUIMRefreshStages mStage;
20013 eQMIUIMRefreshModes mMode;
20014 eQMIUIMSessionTypes mSessionType;
20015 UINT8 mAIDLength;
20016
20017 // This array must be the size specified by mAIDLength
20018 // UINT8 mAID[1];
20019 };
20020
20021 struct sUIMGetLastRefreshEventResponse_RefreshEvent2
20022 {
20023 UINT16 mFileCount;
20024
20025 struct sFile
20026 {
20027 UINT16 mFileID;
20028 UINT8 mPathLength;
20029
20030 // This array must be the size specified by mPathLength
20031 // UINT16 mPath[1];
20032 };
20033
20034 // This array must be the size specified by mFileCount
20035 // sFile mFiles[1];
20036 };
20037
20038 struct sUIMGetLastRefreshEventResponse_RefreshEvent
20039 {
20040 sUIMGetLastRefreshEventResponse_RefreshEvent1 mUIMGetLastRefreshEventResponse_RefreshEvent1;
20041 sUIMGetLastRefreshEventResponse_RefreshEvent2 mUIMGetLastRefreshEventResponse_RefreshEvent2;
20042 };
20043
20044 // Structure to describe request TLV 0x01 for UIMEventRegistration()
20045 struct sUIMEventRegistrationRequest_Mask
20046 {
20047 bool mCardStatus:1;
20048 bool mSAPConnection:1;
20049
20050 // Padding out 30 bits
20051 UINT8 mReserved1:6;
20052 UINT8 mReserved2[3];
20053 };
20054
20055 // Structure to describe response TLV 0x10 for UIMEventRegistration()
20056 struct sUIMEventRegistrationResponse_Mask
20057 {
20058 bool mCardStatus:1;
20059 bool mSAPConnection:1;
20060
20061 // Padding out 30 bits
20062 UINT8 mReserved1:6;
20063 UINT8 mReserved2[3];
20064 };
20065
20066 // Structure to describe response TLV 0x10 for UIMGetCardStatus()
20067 struct sUIMGetCardStatusResponse_Status1
20068 {
20069 UINT8 mPrimaryGWSlot;
20070 UINT8 mPrimaryGWApplication;
20071 UINT8 mPrimary1XSlot;
20072 UINT8 mPrimary1XApplication;
20073 UINT8 mSecondaryGWSlot;
20074 UINT8 mSecondaryGWApplication;
20075 UINT8 mSecondary1XSlot;
20076 UINT8 mSecondary1XApplication;
20077 UINT8 mSlotsAvailable;
20078 eQMIUIMCardStates mCardState;
20079 eQMIUIMPINStates mUPINState;
20080 UINT8 mRemainingUPINVerifyRetries;
20081 UINT8 mRemainingUPINUnblockRetries;
20082 eQMIUIMCardErrorCodes mCardErrorCode;
20083 UINT8 mApplicationsAvailable;
20084 eQMIUIMApplicationTypes mApplicationType;
20085 eQMIUIMApplicationStates mApplicationState;
20086 eQMIUIMPersonalizationStates mPersonalizationState;
20087 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
20088 UINT8 mRemainingPersonalizationVerifyRetries;
20089 UINT8 mRemainingPersonalizationUnblockRetries;
20090 UINT8 mAIDLength;
20091
20092 // This array must be the size specified by mAIDLength
20093 // UINT8 mAID[1];
20094 };
20095
20096 struct sUIMGetCardStatusResponse_Status2
20097 {
20098 INT8 mUPINReplacesPIN1;
20099 eQMIUIMPINStates mPIN1State;
20100 UINT8 mRemainingPIN1VerifyRetries;
20101 UINT8 mRemainingPIN1UnblockRetries;
20102 eQMIUIMPINStates mPIN2State;
20103 UINT8 mRemainingPIN2VerifyRetries;
20104 UINT8 mRemainingPIN2UnblockRetries;
20105 };
20106
20107 struct sUIMGetCardStatusResponse_Status
20108 {
20109 sUIMGetCardStatusResponse_Status1 mUIMGetCardStatusResponse_Status1;
20110 sUIMGetCardStatusResponse_Status2 mUIMGetCardStatusResponse_Status2;
20111 };
20112
20113 // Structure to describe response TLV 0x11 for UIMGetCardStatus()
20114 struct sUIMGetCardStatusResponse_HotSwapStatus
20115 {
20116 UINT8 mHotSwapLength;
20117
20118 // This array must be the size specified by mHotSwapLength
20119 // eQMIUIMHotSwap mHotSwap[1];
20120 };
20121
20122 // Structure to describe response TLV 0x12 for UIMGetCardStatus()
20123 struct sUIMGetCardStatusResponse_ValidCardStatus
20124 {
20125 UINT8 mCardStatusValidCount;
20126
20127 // This array must be the size specified by mCardStatusValidCount
20128 // INT8 mCardStatusValid[1];
20129 };
20130
20131 // Structure to describe request TLV 0x01 for UIMPowerDown()
20132 struct sUIMPowerDownRequest_Slot
20133 {
20134 eQMIUIMSlots mSlot;
20135 };
20136
20137 // Structure to describe request TLV 0x01 for UIMPowerUp()
20138 struct sUIMPowerUpRequest_Slot
20139 {
20140 eQMIUIMSlots mSlot;
20141 };
20142
20143 // Structure to describe request TLV 0x10 for UIMPowerUp()
20144 struct sUIMPowerUpRequest_IgnoreHotSwapSwitch
20145 {
20146 INT8 mIgnoreHotSwapSwitch;
20147 };
20148
20149 // Structure to describe indication TLV 0x10 for UIM CardStatusIndication
20150 struct sUIMCardStatusIndication_Status1
20151 {
20152 UINT8 mPrimaryGWSlot;
20153 UINT8 mPrimaryGWApplication;
20154 UINT8 mPrimary1XSlot;
20155 UINT8 mPrimary1XApplication;
20156 UINT8 mSecondaryGWSlot;
20157 UINT8 mSecondaryGWApplication;
20158 UINT8 mSecondary1XSlot;
20159 UINT8 mSecondary1XApplication;
20160 UINT8 mSlotsAvailable;
20161 eQMIUIMCardStates mCardState;
20162 eQMIUIMPINStates mUPINState;
20163 UINT8 mRemainingUPINVerifyRetries;
20164 UINT8 mRemainingUPINUnblockRetries;
20165 eQMIUIMCardErrorCodes mCardErrorCode;
20166 UINT8 mApplicationsAvailable;
20167 eQMIUIMApplicationTypes mApplicationType;
20168 eQMIUIMApplicationStates mApplicationState;
20169 eQMIUIMPersonalizationStates mPersonalizationState;
20170 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
20171 UINT8 mRemainingPersonalizationVerifyRetries;
20172 UINT8 mRemainingPersonalizationUnblockRetries;
20173 UINT8 mAIDLength;
20174
20175 // This array must be the size specified by mAIDLength
20176 // UINT8 mAID[1];
20177 };
20178
20179 struct sUIMCardStatusIndication_Status2
20180 {
20181 INT8 mUPINReplacesPIN1;
20182 eQMIUIMPINStates mPIN1State;
20183 UINT8 mRemainingPIN1VerifyRetries;
20184 UINT8 mRemainingPIN1UnblockRetries;
20185 eQMIUIMPINStates mPIN2State;
20186 UINT8 mRemainingPIN2VerifyRetries;
20187 UINT8 mRemainingPIN2UnblockRetries;
20188 };
20189
20190 struct sUIMCardStatusIndication_Status
20191 {
20192 sUIMCardStatusIndication_Status1 mUIMCardStatusIndication_Status1;
20193 sUIMCardStatusIndication_Status2 mUIMCardStatusIndication_Status2;
20194 };
20195
20196 // Structure to describe indication TLV 0x10 for UIM RefreshIndication
20197 struct sUIMRefreshIndication_RefreshEvent1
20198 {
20199 eQMIUIMRefreshStages mStage;
20200 eQMIUIMRefreshModes mMode;
20201 eQMIUIMSessionTypes mSessionType;
20202 UINT8 mAIDLength;
20203
20204 // This array must be the size specified by mAIDLength
20205 // UINT8 mAID[1];
20206 };
20207
20208 struct sUIMRefreshIndication_RefreshEvent2
20209 {
20210 UINT16 mFileCount;
20211
20212 struct sFile
20213 {
20214 UINT16 mFileID;
20215 UINT8 mPathLength;
20216
20217 // This array must be the size specified by mPathLength
20218 // UINT16 mPath[1];
20219 };
20220
20221 // This array must be the size specified by mFileCount
20222 // sFile mFiles[1];
20223 };
20224
20225 struct sUIMRefreshIndication_RefreshEvent
20226 {
20227 sUIMRefreshIndication_RefreshEvent1 mUIMRefreshIndication_RefreshEvent1;
20228 sUIMRefreshIndication_RefreshEvent2 mUIMRefreshIndication_RefreshEvent2;
20229 };
20230
20231 // Structure to describe request TLV 0x01 for UIMAuthenticate()
20232 struct sUIMAuthenticateRequest_SessionInfo
20233 {
20234 eQMIUIMSessionTypes mSessionType;
20235 UINT8 mAIDLength;
20236
20237 // This array must be the size specified by mAIDLength
20238 // UINT8 mAID[1];
20239 };
20240
20241 // Structure to describe request TLV 0x10 for UIMAuthenticate()
20242 struct sUIMAuthenticateRequest_ResponseInIndication
20243 {
20244 UINT32 mIndicationToken;
20245 };
20246
20247 // Structure to describe response TLV 0x10 for UIMAuthenticate()
20248 struct sUIMAuthenticateResponse_CardResult
20249 {
20250 UINT8 mSW1;
20251 UINT8 mSW2;
20252 };
20253
20254 // Structure to describe response TLV 0x11 for UIMAuthenticate()
20255 struct sUIMAuthenticateResponse_Data
20256 {
20257 UINT16 mContentLength;
20258
20259 // This array must be the size specified by mContentLength
20260 // UINT8 mContent[1];
20261 };
20262
20263 // Structure to describe response TLV 0x12 for UIMAuthenticate()
20264 struct sUIMAuthenticateResponse_ResponseInIndication
20265 {
20266 UINT32 mIndicationToken;
20267 };
20268
20269 // Structure to describe indication TLV 0x01 for UIM AuthenticateIndication
20270 struct sUIMAuthenticateIndication_OriginalToken
20271 {
20272 UINT32 mIndicationToken;
20273 };
20274
20275 // Structure to describe indication TLV 0x10 for UIM AuthenticateIndication
20276 struct sUIMAuthenticateIndication_CardResult
20277 {
20278 UINT8 mSW1;
20279 UINT8 mSW2;
20280 };
20281
20282 // Structure to describe indication TLV 0x11 for UIM AuthenticateIndication
20283 struct sUIMAuthenticateIndication_Data
20284 {
20285 UINT16 mContentLength;
20286
20287 // This array must be the size specified by mContentLength
20288 // UINT8 mContent[1];
20289 };
20290
20291 // Structure to describe request TLV 0x01 for UIMCloseSession()
20292 struct sUIMCloseSessionRequest_SessionInfo
20293 {
20294 eQMIUIMSessionTypes mSessionType;
20295 UINT8 mAIDLength;
20296
20297 // This array must be the size specified by mAIDLength
20298 // UINT8 mAID[1];
20299 };
20300
20301 // Structure to describe request TLV 0x01 for UIMGetServiceStatus()
20302 struct sUIMGetServiceStatusRequest_SessionInfo
20303 {
20304 eQMIUIMSessionTypes mSessionType;
20305 UINT8 mAIDLength;
20306
20307 // This array must be the size specified by mAIDLength
20308 // UINT8 mAID[1];
20309 };
20310
20311 // Structure to describe response TLV 0x10 for UIMGetServiceStatus()
20312 struct sUIMGetServiceStatusResponse_FDNStatus
20313 {
20314 eQMIUIMFDNStatusValues mFDNStatus;
20315 };
20316
20317 // Structure to describe response TLV 0x11 for UIMGetServiceStatus()
20318 struct sUIMGetServiceStatusResponse_HiddenKeyStatus
20319 {
20320 eQMIUIMHiddenKeyStatusValues mHiddenKeyStatus;
20321 };
20322
20323 // Structure to describe response TLV 0x12 for UIMGetServiceStatus()
20324 struct sUIMGetServiceStatusResponse_Index
20325 {
20326 UINT8 mEFDIRIndex;
20327 };
20328
20329 // Structure to describe response TLV 0x13 for UIMGetServiceStatus()
20330 struct sUIMGetServiceStatusResponse_ESNStatus
20331 {
20332 INT8 mESNChanged;
20333 };
20334
20335 // Structure to describe request TLV 0x01 for UIMSetServiceStatus()
20336 struct sUIMSetServiceStatusRequest_SessionInfo
20337 {
20338 eQMIUIMSessionTypes mSessionType;
20339 UINT8 mAIDLength;
20340
20341 // This array must be the size specified by mAIDLength
20342 // UINT8 mAID[1];
20343 };
20344
20345 // Structure to describe request TLV 0x10 for UIMSetServiceStatus()
20346 struct sUIMSetServiceStatusRequest_FDNStatus
20347 {
20348 INT8 mEnableFDN;
20349 };
20350
20351 // Structure to describe request TLV 0x01 for UIMChangeProvisioningSession()
20352 struct sUIMChangeProvisioningSessionRequest_SessionChange
20353 {
20354 eQMIUIMSessionTypes mSessionType;
20355 eQMIUIMCKSessionOperations mOperation;
20356 };
20357
20358 // Structure to describe request TLV 0x10 for UIMChangeProvisioningSession()
20359 struct sUIMChangeProvisioningSessionRequest_AppInfo
20360 {
20361 eQMIUIMSlots mSlot;
20362 UINT8 mAIDLength;
20363
20364 // This array must be the size specified by mAIDLength
20365 // UINT8 mAID[1];
20366 };
20367
20368 // Structure to describe request TLV 0x01 for UIMGetLabel()
20369 struct sUIMGetLabelRequest_AppInfo
20370 {
20371 eQMIUIMSlots mSlot;
20372 UINT8 mAIDLength;
20373
20374 // This array must be the size specified by mAIDLength
20375 // UINT8 mAID[1];
20376 };
20377
20378 // Structure to describe response TLV 0x10 for UIMGetLabel()
20379 struct sUIMGetLabelResponse_AppLabel
20380 {
20381 UINT8 mLabelLength;
20382
20383 // This array must be the size specified by mLabelLength
20384 // char mLabelValue[1];
20385 };
20386
20387 // Structure to describe request TLV 0x10 for UIMGetConfiguration()
20388 struct sUIMGetConfigurationRequest_Mask
20389 {
20390 bool mAutomaticSelection:1;
20391 bool mPersonalizationStatus:1;
20392 bool mHaltSubscription:1;
20393
20394 // Padding out 29 bits
20395 UINT8 mReserved1:5;
20396 UINT8 mReserved2[3];
20397 };
20398
20399 // Structure to describe response TLV 0x10 for UIMGetConfiguration()
20400 struct sUIMGetConfigurationResponse_AutoSelection
20401 {
20402 INT8 mAutomaticProvisioningOn;
20403 };
20404
20405 // Structure to describe response TLV 0x11 for UIMGetConfiguration()
20406 struct sUIMGetConfigurationResponse_Personalization
20407 {
20408 UINT8 mFeatureCount;
20409
20410 struct sFeature
20411 {
20412 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
20413 UINT8 mRemainingVerifyRetries;
20414 UINT8 mRemainingUnblockRetries;
20415 };
20416
20417 // This array must be the size specified by mFeatureCount
20418 // sFeature mFeatures[1];
20419 };
20420
20421 // Structure to describe response TLV 0x12 for UIMGetConfiguration()
20422 struct sUIMGetConfigurationResponse_Subscription
20423 {
20424 INT8 mPublishSubscription;
20425 };
20426
20427 // Structure to describe request TLV 0x01 for UIMSendADPU()
20428 struct sUIMSendADPURequest_Slot
20429 {
20430 eQMIUIMSlots mSlot;
20431 };
20432
20433 // Structure to describe request TLV 0x10 for UIMSendADPU()
20434 struct sUIMSendADPURequest_LogicalChannel
20435 {
20436 UINT8 mChannelID;
20437 };
20438
20439 // Structure to describe request TLV 0x11 for UIMSendADPU()
20440 struct sUIMSendADPURequest_IntermediateProcedureBytes
20441 {
20442 eQMIUIMAPDUResponseStatus mIntermediateProcedureBytes;
20443 };
20444
20445 // Structure to describe response TLV 0x10 for UIMSendADPU()
20446 struct sUIMSendADPUResponse_APDUResponse
20447 {
20448 UINT16 mDataLength;
20449
20450 // This array must be the size specified by mDataLength
20451 // UINT8 mData[1];
20452 };
20453
20454 // Structure to describe response TLV 0x11 for UIMSendADPU()
20455 struct sUIMSendADPUResponse_LongAPDUResponse
20456 {
20457 UINT16 mTotalLength;
20458 UINT32 mIndicationToken;
20459 };
20460
20461 // Structure to describe indication TLV 0x01 for UIM SendADPUIndication
20462 struct sUIMSendADPUIndication_APDUResponseChunk
20463 {
20464 UINT32 mIndicationToken;
20465 UINT16 mTotalLength;
20466 UINT16 mOffset;
20467 UINT16 mDataLength;
20468
20469 // This array must be the size specified by mDataLength
20470 // UINT8 mData[1];
20471 };
20472
20473 // Structure to describe request TLV 0x01 for UIMSAPConnection()
20474 struct sUIMSAPConnectionRequest_Slot
20475 {
20476 eQMIUIMConnectOperations mOperation;
20477 eQMIUIMSlots mSlot;
20478 };
20479
20480 // Structure to describe request TLV 0x10 for UIMSAPConnection()
20481 struct sUIMSAPConnectionRequest_DisconnectMode
20482 {
20483 eQMIUIMDisonnectModes mDisconnectMode;
20484 };
20485
20486 // Structure to describe request TLV 0x11 for UIMSAPConnection()
20487 struct sUIMSAPConnectionRequest_IntermediateGetResponse
20488 {
20489 INT8 mReturnIntermediateGetResponse;
20490 };
20491
20492 // Structure to describe response TLV 0x10 for UIMSAPConnection()
20493 struct sUIMSAPConnectionResponse_State
20494 {
20495 eQMIUIMSAPStates mSAPState;
20496 };
20497
20498 // Structure to describe request TLV 0x01 for UIMSAP()
20499 struct sUIMSAPRequestRequest_Request
20500 {
20501 eQMIUIMSAPRequests mSAPRequest;
20502 eQMIUIMSlots mSlot;
20503 };
20504
20505 // Structure to describe request TLV 0x10 for UIMSAP()
20506 struct sUIMSAPRequestRequest_APDU
20507 {
20508 UINT16 mDataLength;
20509
20510 // This array must be the size specified by mDataLength
20511 // UINT8 mData[1];
20512 };
20513
20514 // Structure to describe response TLV 0x10 for UIMSAPRequest()
20515 struct sUIMSAPRequestResponse_ATR
20516 {
20517 UINT8 mDataLength;
20518
20519 // This array must be the size specified by mDataLength
20520 // UINT8 mData[1];
20521 };
20522
20523 // Structure to describe response TLV 0x11 for UIMSAPRequest()
20524 struct sUIMSAPRequestResponse_APDU
20525 {
20526 UINT16 mDataLength;
20527
20528 // This array must be the size specified by mDataLength
20529 // UINT8 mData[1];
20530 };
20531
20532 // Structure to describe response TLV 0x12 for UIMSAPRequest()
20533 struct sUIMSAPRequestResponse_CardReaderStatus
20534 {
20535 UINT8 mDataLength;
20536
20537 // This array must be the size specified by mDataLength
20538 // UINT8 mData[1];
20539 };
20540
20541 // Structure to describe indication TLV 0x10 for UIM SAPConnectionIndication
20542 struct sUIMSAPConnectionIndication_CardStatus
20543 {
20544 eQMIUIMSAPStates mSAPState;
20545 eQMIUIMSlots mSlot;
20546 };
20547
20548 // Structure to describe request TLV 0x01 for UIMLogicalChannel()
20549 struct sUIMLogicalChannelRequest_Slot
20550 {
20551 eQMIUIMSlots mSlot;
20552 };
20553
20554 // Structure to describe request TLV 0x10 for UIMLogicalChannel()
20555 struct sUIMLogicalChannelRequest_AID
20556 {
20557 UINT8 mAIDLength;
20558
20559 // This array must be the size specified by mAIDLength
20560 // UINT8 mAID[1];
20561 };
20562
20563 // Structure to describe request TLV 0x11 for UIMLogicalChannel()
20564 struct sUIMLogicalChannelRequest_LogicalChannel
20565 {
20566 UINT8 mChannelID;
20567 };
20568
20569 // Structure to describe request TLV 0x12 for UIMLogicalChannel()
20570 struct sUIMLogicalChannelRequest_FileControlInformation
20571 {
20572 eQMIUIMFileControlInformation mFileControlInformation;
20573 };
20574
20575 // Structure to describe response TLV 0x10 for UIMLogicalChannel()
20576 struct sUIMLogicalChannelResponse_LogicalChannel
20577 {
20578 UINT8 mChannelID;
20579 };
20580
20581 // Structure to describe response TLV 0x11 for UIMLogicalChannel()
20582 struct sUIMLogicalChannelResponse_CardResult
20583 {
20584 UINT8 mSW1;
20585 UINT8 mSW2;
20586 };
20587
20588 // Structure to describe response TLV 0x12 for UIMLogicalChannel()
20589 struct sUIMLogicalChannelResponse_ResponseToSelectCommand
20590 {
20591 UINT8 mResponseLength;
20592
20593 // This array must be the size specified by mResponseLength
20594 // UINT8 mResponse[1];
20595 };
20596
20597 // Structure to describe request TLV 0x01 for UIMSubscriptionOK()
20598 struct sUIMSubscriptionOKRequest_SessionInfo
20599 {
20600 eQMIUIMSessionTypes mSessionType;
20601 UINT8 mAIDLength;
20602
20603 // This array must be the size specified by mAIDLength
20604 // UINT8 mAID[1];
20605 };
20606
20607 // Structure to describe request TLV 0x10 for UIMSubscriptionOK()
20608 struct sUIMSubscriptionOKRequest_EncryptedIMSI
20609 {
20610 UINT8 mEncryptedIMSILength;
20611
20612 // This array must be the size specified by mEncryptedIMSILength
20613 // UINT8 mEncryptedIMSI[1];
20614 };
20615
20616 // Structure to describe request TLV 0x01 for UIMGetATR()
20617 struct sUIMGetATRRequest_Slot
20618 {
20619 eQMIUIMSlots mSlot;
20620 };
20621
20622 // Structure to describe response TLV 0x10 for UIMGetATR()
20623 struct sUIMGetATRResponse_ATRValue
20624 {
20625 UINT8 mATRValueLength;
20626
20627 // This array must be the size specified by mATRValueLength
20628 // UINT8 mATRValue[1];
20629 };
20630
20631 // Structure to describe request TLV 0x01 for UIMOpenLogicalChannel()
20632 struct sUIMOpenLogicalChannelRequest_Slot
20633 {
20634 eQMIUIMSlots mSlot;
20635 };
20636
20637 // Structure to describe request TLV 0x10 for UIMOpenLogicalChannel()
20638 struct sUIMOpenLogicalChannelRequest_AID
20639 {
20640 UINT8 mAIDLength;
20641
20642 // This array must be the size specified by mAIDLength
20643 // UINT8 mAID[1];
20644 };
20645
20646 // Structure to describe request TLV 0x11 for UIMOpenLogicalChannel()
20647 struct sUIMOpenLogicalChannelRequest_FileControlInformation
20648 {
20649 eQMIUIMFileControlInformation mFileControlInformation;
20650 };
20651
20652 // Structure to describe response TLV 0x10 for UIMOpenLogicalChannel()
20653 struct sUIMOpenLogicalChannelResponse_LogicalChannel
20654 {
20655 UINT8 mChannelID;
20656 };
20657
20658 // Structure to describe response TLV 0x11 for UIMOpenLogicalChannel()
20659 struct sUIMOpenLogicalChannelResponse_CardResult
20660 {
20661 UINT8 mSW1;
20662 UINT8 mSW2;
20663 };
20664
20665 // Structure to describe response TLV 0x12 for UIMOpenLogicalChannel()
20666 struct sUIMOpenLogicalChannelResponse_ResponseToSelectCommand
20667 {
20668 UINT8 mResponseLength;
20669
20670 // This array must be the size specified by mResponseLength
20671 // UINT8 mResponse[1];
20672 };
20673
20674 // Structure to describe indication TLV 0x01 for UIM SessionClosedIndication
20675 struct sUIMSessionClosedIndication_Slot
20676 {
20677 eQMIUIMSlots mSlot;
20678 };
20679
20680 // Structure to describe indication TLV 0x10 for UIM SessionClosedIndication
20681 struct sUIMSessionClosedIndication_AID
20682 {
20683 UINT8 mAIDLength;
20684
20685 // This array must be the size specified by mAIDLength
20686 // UINT8 mAID[1];
20687 };
20688
20689 // Structure to describe indication TLV 0x11 for UIM SessionClosedIndication
20690 struct sUIMSessionClosedIndication_LogicalChannel
20691 {
20692 UINT8 mChannelID;
20693 };
20694
20695 // Structure to describe request TLV 0x01 for PBMSetIndicationRegistrationState()
20696 struct sPBMSetIndicationRegistrationStateRequest_Mask
20697 {
20698 bool mRecordUpdate:1;
20699 bool mPhonebookReady:1;
20700 bool mEmergencyNumberList:1;
20701 bool mHiddenRecordStatus:1;
20702 bool mAASUpdate:1;
20703 bool mGASUpdate:1;
20704
20705 // Padding out 26 bits
20706 UINT8 mReserved1:2;
20707 UINT8 mReserved2[3];
20708 };
20709
20710 // Structure to describe response TLV 0x10 for PBMSetIndicationRegistrationState()
20711 struct sPBMSetIndicationRegistrationStateResponse_Mask
20712 {
20713 bool mRecordUpdate:1;
20714 bool mPhonebookReady:1;
20715 bool mEmergencyNumberList:1;
20716 bool mHiddenRecordStatus:1;
20717 bool mAASUpdate:1;
20718 bool mGASUpdate:1;
20719
20720 // Padding out 26 bits
20721 UINT8 mReserved1:2;
20722 UINT8 mReserved2[3];
20723 };
20724
20725 // Structure to describe request TLV 0x01 for PBMGetCapabilities()
20726 struct sPBMGetCapabilitiesRequest_Info
20727 {
20728 eQMIPBMSessionTypes mSessionType;
20729 eQMIPBMPhonebookTypes mPhonebookType;
20730 };
20731
20732 // Structure to describe response TLV 0x10 for PBMGetCapabilities()
20733 struct sPBMGetCapabilitiesResponse_Basic
20734 {
20735 eQMIPBMSessionTypes mSessionType;
20736 eQMIPBMPhonebookTypes mPhonebookType;
20737 UINT16 mRecordsUsed;
20738 UINT16 mMaximumRecords;
20739 UINT8 mMaximumNumberLength;
20740 UINT8 mMaximumNameLength;
20741 };
20742
20743 // Structure to describe response TLV 0x11 for PBMGetCapabilities()
20744 struct sPBMGetCapabilitiesResponse_Group
20745 {
20746 UINT8 mMaximumGroupsPossible;
20747 UINT8 mMaximumGroupTagLength;
20748 };
20749
20750 // Structure to describe response TLV 0x12 for PBMGetCapabilities()
20751 struct sPBMGetCapabilitiesResponse_AdditionalNumber
20752 {
20753 UINT8 mMaximumAdditionalNumbersPossible;
20754 UINT8 mMaximumAdditionalNumberLength;
20755 UINT8 mMaximumAdditionalNumberTagLength;
20756 };
20757
20758 // Structure to describe response TLV 0x13 for PBMGetCapabilities()
20759 struct sPBMGetCapabilitiesResponse_Email
20760 {
20761 UINT8 mMaximumEmailsPossible;
20762 UINT8 mMaximumEmailAddressLength;
20763 };
20764
20765 // Structure to describe response TLV 0x14 for PBMGetCapabilities()
20766 struct sPBMGetCapabilitiesResponse_SecondName
20767 {
20768 UINT8 mMaximumSecondNameLength;
20769 };
20770
20771 // Structure to describe response TLV 0x15 for PBMGetCapabilities()
20772 struct sPBMGetCapabilitiesResponse_HiddenRecords
20773 {
20774 INT8 mHiddenEntrySupported;
20775 };
20776
20777 // Structure to describe response TLV 0x16 for PBMGetCapabilities()
20778 struct sPBMGetCapabilitiesResponse_GAS
20779 {
20780 UINT8 mMaximumGASStringLength;
20781 };
20782
20783 // Structure to describe response TLV 0x17 for PBMGetCapabilities()
20784 struct sPBMGetCapabilitiesResponse_AAS
20785 {
20786 UINT8 mMaximumAASStringLength;
20787 };
20788
20789 // Structure to describe response TLV 0x18 for PBMGetCapabilities()
20790 struct sPBMGetCapabilitiesResponse_Protection
20791 {
20792 eQMIPBMProtectionMethods mProtectionMethod;
20793 };
20794
20795 // Structure to describe response TLV 0x10 for PBMGetAllCapabilities()
20796 struct sPBMGetAllCapabilitiesResponse_Basic
20797 {
20798 UINT8 mNumberOfSessions;
20799
20800 struct sSession
20801 {
20802 eQMIPBMSessionTypes mSessionType;
20803 UINT8 mNumberOfPhonebooks;
20804
20805 struct sPhonebook
20806 {
20807 eQMIPBMPhonebookTypes mPhonebookType;
20808 UINT16 mRecordsUsed;
20809 UINT16 mMaximumRecords;
20810 UINT8 mMaximumNumberLength;
20811 UINT8 mMaximumNameLength;
20812 };
20813
20814 // This array must be the size specified by mNumberOfPhonebooks
20815 // sPhonebook mPhonebooks[1];
20816 };
20817
20818 // This array must be the size specified by mNumberOfSessions
20819 // sSession mSessions[1];
20820 };
20821
20822 // Structure to describe response TLV 0x11 for PBMGetAllCapabilities()
20823 struct sPBMGetAllCapabilitiesResponse_Group
20824 {
20825 UINT8 mNumberOfSessions;
20826
20827 struct sSession
20828 {
20829 eQMIPBMSessionTypes mSessionType;
20830 UINT8 mMaximumGroupsPossible;
20831 UINT8 mMaximumGroupTagLength;
20832 };
20833
20834 // This array must be the size specified by mNumberOfSessions
20835 // sSession mSessions[1];
20836 };
20837
20838 // Structure to describe response TLV 0x12 for PBMGetAllCapabilities()
20839 struct sPBMGetAllCapabilitiesResponse_AdditionalNumber
20840 {
20841 UINT8 mNumberOfSessions;
20842
20843 struct sSession
20844 {
20845 eQMIPBMSessionTypes mSessionType;
20846 UINT8 mMaximumAdditionalNumbersPossible;
20847 UINT8 mMaximumAdditionalNumberLength;
20848 UINT8 mMaximumAdditionalNumberTagLength;
20849 };
20850
20851 // This array must be the size specified by mNumberOfSessions
20852 // sSession mSessions[1];
20853 };
20854
20855 // Structure to describe response TLV 0x13 for PBMGetAllCapabilities()
20856 struct sPBMGetAllCapabilitiesResponse_Email
20857 {
20858 UINT8 mNumberOfSessions;
20859
20860 struct sSession
20861 {
20862 eQMIPBMSessionTypes mSessionType;
20863 UINT8 mMaximumEmailsPossible;
20864 UINT8 mMaximumEmailAddressLength;
20865 };
20866
20867 // This array must be the size specified by mNumberOfSessions
20868 // sSession mSessions[1];
20869 };
20870
20871 // Structure to describe response TLV 0x14 for PBMGetAllCapabilities()
20872 struct sPBMGetAllCapabilitiesResponse_SecondName
20873 {
20874 UINT8 mNumberOfSessions;
20875
20876 struct sSession
20877 {
20878 eQMIPBMSessionTypes mSessionType;
20879 UINT8 mMaximumSecondNameLength;
20880 };
20881
20882 // This array must be the size specified by mNumberOfSessions
20883 // sSession mSessions[1];
20884 };
20885
20886 // Structure to describe response TLV 0x15 for PBMGetAllCapabilities()
20887 struct sPBMGetAllCapabilitiesResponse_HiddenRecords
20888 {
20889 UINT8 mNumberOfSessions;
20890
20891 struct sSession
20892 {
20893 eQMIPBMSessionTypes mSessionType;
20894 INT8 mHiddenEntrySupported;
20895 };
20896
20897 // This array must be the size specified by mNumberOfSessions
20898 // sSession mSessions[1];
20899 };
20900
20901 // Structure to describe response TLV 0x16 for PBMGetAllCapabilities()
20902 struct sPBMGetAllCapabilitiesResponse_GAS
20903 {
20904 UINT8 mNumberOfSessions;
20905
20906 struct sSession
20907 {
20908 eQMIPBMSessionTypes mSessionType;
20909 UINT8 mMaximumRecords;
20910 UINT8 mRecordsUsed;
20911 UINT8 mMaximumGASStringLength;
20912 };
20913
20914 // This array must be the size specified by mNumberOfSessions
20915 // sSession mSessions[1];
20916 };
20917
20918 // Structure to describe response TLV 0x17 for PBMGetAllCapabilities()
20919 struct sPBMGetAllCapabilitiesResponse_AAS
20920 {
20921 UINT8 mNumberOfSessions;
20922
20923 struct sSession
20924 {
20925 eQMIPBMSessionTypes mSessionType;
20926 UINT8 mMaximumRecords;
20927 UINT8 mRecordsUsed;
20928 UINT8 mMaximumAASStringLength;
20929 };
20930
20931 // This array must be the size specified by mNumberOfSessions
20932 // sSession mSessions[1];
20933 };
20934
20935 // Structure to describe request TLV 0x01 for PBMReadRecords()
20936 struct sPBMReadRecordsRequest_Info
20937 {
20938 eQMIPBMSessionTypes mSessionType;
20939 eQMIPBMPhonebookTypes mPhonebookType;
20940 UINT16 mStartingRecordID;
20941 UINT16 mEndingRecordID;
20942 };
20943
20944 // Structure to describe response TLV 0x10 for PBMReadRecords()
20945 struct sPBMReadRecordsResponse_RecordsRead
20946 {
20947 UINT16 mNumberOfRecords;
20948 };
20949
20950 // Structure to describe indication TLV 0x01 for PBM ReadRecordsIndication
20951 struct sPBMReadRecordsIndication_Basic
20952 {
20953 UINT16 mSequenceNumber;
20954 eQMIPBMSessionTypes mSessionType;
20955 eQMIPBMPhonebookTypes mPhonebookType;
20956 UINT8 mNumberOfRecords;
20957
20958 struct sRecord1
20959 {
20960 UINT16 mRecordID;
20961 eQMIPBMNumberTypes mNumberType;
20962 eQMIPBMNumberPlans mNumberPlan;
20963 UINT8 mNumberLength;
20964
20965 // This array must be the size specified by mNumberLength
20966 // char mNumber[1];
20967 };
20968
20969 struct sRecord2
20970 {
20971 UINT8 mNameLength;
20972
20973 // This array must be the size (in BYTEs) specified by mNameLength
20974 // wchar_t mName[1];
20975 };
20976
20977 struct sRecord
20978 {
20979 sRecord1 mRecord1;
20980 sRecord2 mRecord2;
20981 };
20982
20983 // This array must be the size specified by mNumberOfRecords
20984 // sRecord mRecords[1];
20985 };
20986
20987 // Structure to describe indication TLV 0x10 for PBM ReadRecordsIndication
20988 struct sPBMReadRecordsIndication_SecondName
20989 {
20990 UINT8 mNumberOfRecords;
20991
20992 struct sRecord
20993 {
20994 UINT16 mRecordID;
20995 UINT8 mSecondNameLength;
20996
20997 // This array must be the size (in BYTEs) specified by mSecondNameLength
20998 // wchar_t mSecondName[1];
20999 };
21000
21001 // This array must be the size specified by mNumberOfRecords
21002 // sRecord mRecords[1];
21003 };
21004
21005 // Structure to describe indication TLV 0x11 for PBM ReadRecordsIndication
21006 struct sPBMReadRecordsIndication_AdditionalNumber
21007 {
21008 UINT8 mNumberOfRecords;
21009
21010 struct sRecord
21011 {
21012 UINT16 mRecordID;
21013 UINT8 mAdditionalNumberCount;
21014
21015 struct sAdditionalNumber1
21016 {
21017 eQMIPBMNumberTypes mNumberType;
21018 eQMIPBMNumberPlans mNumberPlan;
21019 UINT8 mNumberLength;
21020
21021 // This array must be the size specified by mNumberLength
21022 // char mNumber[1];
21023 };
21024
21025 struct sAdditionalNumber2
21026 {
21027 UINT8 mTagID;
21028 };
21029
21030 struct sAdditionalNumber
21031 {
21032 sAdditionalNumber1 mAdditionalNumber1;
21033 sAdditionalNumber2 mAdditionalNumber2;
21034 };
21035
21036 // This array must be the size specified by mAdditionalNumberCount
21037 // sAdditionalNumber mAdditionalNumbers[1];
21038 };
21039
21040 // This array must be the size specified by mNumberOfRecords
21041 // sRecord mRecords[1];
21042 };
21043
21044 // Structure to describe indication TLV 0x12 for PBM ReadRecordsIndication
21045 struct sPBMReadRecordsIndication_Group
21046 {
21047 UINT8 mNumberOfRecords;
21048
21049 struct sRecord
21050 {
21051 UINT16 mRecordID;
21052 UINT8 mGroupCount;
21053
21054 // This array must be the size specified by mGroupCount
21055 // UINT8 mGroupID[1];
21056 };
21057
21058 // This array must be the size specified by mNumberOfRecords
21059 // sRecord mRecords[1];
21060 };
21061
21062 // Structure to describe indication TLV 0x13 for PBM ReadRecordsIndication
21063 struct sPBMReadRecordsIndication_Email
21064 {
21065 UINT8 mNumberOfRecords;
21066
21067 struct sRecord
21068 {
21069 UINT16 mRecordID;
21070 UINT8 mEmailCount;
21071
21072 struct sEmail
21073 {
21074 UINT8 mAddressLength;
21075
21076 // This array must be the size (in BYTEs) specified by mAddressLength
21077 // wchar_t mAddress[1];
21078 };
21079
21080 // This array must be the size specified by mEmailCount
21081 // sEmail mEmails[1];
21082 };
21083
21084 // This array must be the size specified by mNumberOfRecords
21085 // sRecord mRecords[1];
21086 };
21087
21088 // Structure to describe indication TLV 0x14 for PBM ReadRecordsIndication
21089 struct sPBMReadRecordsIndication_Hidden
21090 {
21091 UINT8 mNumberOfRecords;
21092
21093 struct sRecord
21094 {
21095 UINT16 mRecordID;
21096 INT8 mHidden;
21097 };
21098
21099 // This array must be the size specified by mNumberOfRecords
21100 // sRecord mRecords[1];
21101 };
21102
21103 // Structure to describe request TLV 0x01 for PBMWriteRecord()
21104 struct sPBMWriteRecordRequest_Info1
21105 {
21106 eQMIPBMSessionTypes mSessionType;
21107 eQMIPBMPhonebookTypes mPhonebookType;
21108 UINT16 mRecordID;
21109 eQMIPBMNumberTypes mNumberType;
21110 eQMIPBMNumberPlans mNumberPlan;
21111 UINT8 mNumberLength;
21112
21113 // This array must be the size specified by mNumberLength
21114 // char mNumber[1];
21115 };
21116
21117 struct sPBMWriteRecordRequest_Info2
21118 {
21119 UINT8 mNameLength;
21120
21121 // This array must be the size (in BYTEs) specified by mNameLength
21122 // wchar_t mName[1];
21123 };
21124
21125 struct sPBMWriteRecordRequest_Info
21126 {
21127 sPBMWriteRecordRequest_Info1 mPBMWriteRecordRequest_Info1;
21128 sPBMWriteRecordRequest_Info2 mPBMWriteRecordRequest_Info2;
21129 };
21130
21131 // Structure to describe request TLV 0x10 for PBMWriteRecord()
21132 struct sPBMWriteRecordRequest_SecondName
21133 {
21134 UINT8 mNameLength;
21135
21136 // This array must be the size (in BYTEs) specified by mNameLength
21137 // wchar_t mName[1];
21138 };
21139
21140 // Structure to describe request TLV 0x11 for PBMWriteRecord()
21141 struct sPBMWriteRecordRequest_AdditionalNumber
21142 {
21143 UINT8 mAdditionalNumberCount;
21144
21145 struct sAdditionalNumber1
21146 {
21147 eQMIPBMNumberTypes mNumberType;
21148 eQMIPBMNumberPlans mNumberPlan;
21149 UINT8 mNumberLength;
21150
21151 // This array must be the size specified by mNumberLength
21152 // char mNumber[1];
21153 };
21154
21155 struct sAdditionalNumber2
21156 {
21157 UINT8 mTagID;
21158 };
21159
21160 struct sAdditionalNumber
21161 {
21162 sAdditionalNumber1 mAdditionalNumber1;
21163 sAdditionalNumber2 mAdditionalNumber2;
21164 };
21165
21166 // This array must be the size specified by mAdditionalNumberCount
21167 // sAdditionalNumber mAdditionalNumbers[1];
21168 };
21169
21170 // Structure to describe request TLV 0x12 for PBMWriteRecord()
21171 struct sPBMWriteRecordRequest_Group
21172 {
21173 UINT8 mGroupCount;
21174
21175 // This array must be the size specified by mGroupCount
21176 // UINT8 mGroupID[1];
21177 };
21178
21179 // Structure to describe request TLV 0x13 for PBMWriteRecord()
21180 struct sPBMWriteRecordRequest_Email
21181 {
21182 UINT8 mEmailCount;
21183
21184 struct sEmail
21185 {
21186 UINT8 mAddressLength;
21187
21188 // This array must be the size (in BYTEs) specified by mAddressLength
21189 // wchar_t mAddress[1];
21190 };
21191
21192 // This array must be the size specified by mEmailCount
21193 // sEmail mEmails[1];
21194 };
21195
21196 // Structure to describe request TLV 0x14 for PBMWriteRecord()
21197 struct sPBMWriteRecordRequest_Hidden
21198 {
21199 INT8 mHidden;
21200 };
21201
21202 // Structure to describe response TLV 0x10 for PBMWriteRecord()
21203 struct sPBMWriteRecordResponse_Info
21204 {
21205 UINT16 mRecordID;
21206 };
21207
21208 // Structure to describe request TLV 0x01 for PBMDeleteRecord()
21209 struct sPBMDeleteRecordRequest_Info
21210 {
21211 eQMIPBMSessionTypes mSessionType;
21212 eQMIPBMPhonebookTypes mPhonebookType;
21213 UINT16 mRecordID;
21214 };
21215
21216 // Structure to describe response TLV 0x10 for PBMDeleteRecord()
21217 struct sPBMDeleteRecordResponse_Info
21218 {
21219 UINT16 mRecordID;
21220 };
21221
21222 // Structure to describe request TLV 0x01 for PBMDeleteAllRecords()
21223 struct sPBMDeleteAllRecordsRequest_Info
21224 {
21225 eQMIPBMSessionTypes mSessionType;
21226 eQMIPBMPhonebookTypes mPhonebookType;
21227 };
21228
21229 // Structure to describe request TLV 0x01 for PBMSearchRecords()
21230 struct sPBMSearchRecordsRequest_Info
21231 {
21232 eQMIPBMSessionTypes mSessionType;
21233 eQMIPBMPhonebookTypes mPhonebookType;
21234 };
21235
21236 // Structure to describe request TLV 0x10 for PBMSearchRecords()
21237 struct sPBMSearchRecordsRequest_Number
21238 {
21239 UINT8 mNumberLength;
21240
21241 // This array must be the size specified by mNumberLength
21242 // char mNumber[1];
21243 };
21244
21245 // Structure to describe request TLV 0x11 for PBMSearchRecords()
21246 struct sPBMSearchRecordsRequest_Name
21247 {
21248 UINT8 mNameLength;
21249
21250 // This array must be the size (in BYTEs) specified by mNameLength
21251 // wchar_t mName[1];
21252 };
21253
21254 // Structure to describe response TLV 0x10 for PBMSearchRecords()
21255 struct sPBMSearchRecordsResponse_List
21256 {
21257 UINT16 mNumberOfRecordIDs;
21258
21259 // This array must be the size specified by mNumberOfRecordIDs
21260 // UINT16 mRecordID[1];
21261 };
21262
21263 // Structure to describe indication TLV 0x01 for PBM RecordUpdateIndication
21264 struct sPBMRecordUpdateIndication_Info
21265 {
21266 eQMIPBMSessionTypes mSessionType;
21267 eQMIPBMPhonebookTypes mPhonebookType;
21268 eQMIPBMOperations mOperation;
21269 UINT16 mRecordID;
21270 };
21271
21272 // Structure to describe indication TLV 0x01 for PBM RefreshIndication
21273 struct sPBMRefreshIndication_Info
21274 {
21275 eQMIPBMSessionTypes mSessionType;
21276 eQMIPBMPhonebookTypes mPhonebookType;
21277 eQMIPBMRefreshStatus mStatus;
21278 };
21279
21280 // Structure to describe indication TLV 0x01 for PBM ReadyIndication
21281 struct sPBMReadyIndication_Info
21282 {
21283 eQMIPBMSessionTypes mSessionType;
21284 eQMIPBMPhonebookTypes mPhonebookType;
21285 };
21286
21287 // Structure to describe indication TLV 0x01 for PBM EmergencyListIndication
21288 struct sPBMEmergencyListIndication_HardCodedNumbers
21289 {
21290 UINT8 mNumberCount;
21291
21292 struct sNumber
21293 {
21294 UINT8 mEmergencyNumberLength;
21295
21296 // This array must be the size specified by mEmergencyNumberLength
21297 // char mEmergencyNumber[1];
21298 };
21299
21300 // This array must be the size specified by mNumberCount
21301 // sNumber mNumbers[1];
21302 };
21303
21304 // Structure to describe indication TLV 0x10 for PBM EmergencyListIndication
21305 struct sPBMEmergencyListIndication_NVNumbers
21306 {
21307 UINT8 mNumberCount;
21308
21309 struct sNumber
21310 {
21311 UINT8 mEmergencyNumberLength;
21312
21313 // This array must be the size specified by mEmergencyNumberLength
21314 // char mEmergencyNumber[1];
21315 };
21316
21317 // This array must be the size specified by mNumberCount
21318 // sNumber mNumbers[1];
21319 };
21320
21321 // Structure to describe indication TLV 0x11 for PBM EmergencyListIndication
21322 struct sPBMEmergencyListIndication_CardNumbers
21323 {
21324 UINT8 mNumberOfSessions;
21325
21326 struct sSession
21327 {
21328 eQMIPBMSessionTypes mSessionType;
21329 UINT8 mNumberCount;
21330
21331 struct sNumber
21332 {
21333 bool mPolice:1;
21334 bool mAmbulance:1;
21335 bool mFireBrigade:1;
21336 bool mMarineGuard:1;
21337 bool mMountainRescue:1;
21338 bool mManualECall:1;
21339 bool mAutomaticECall:1;
21340 bool mSpare:1;
21341 UINT8 mEmergencyNumberLength;
21342
21343 // This array must be the size specified by mEmergencyNumberLength
21344 // char mEmergencyNumber[1];
21345 };
21346
21347 // This array must be the size specified by mNumberCount
21348 // sNumber mNumbers[1];
21349 };
21350
21351 // This array must be the size specified by mNumberOfSessions
21352 // sSession mSessions[1];
21353 };
21354
21355 // Structure to describe indication TLV 0x12 for PBM EmergencyListIndication
21356 struct sPBMEmergencyListIndication_NetworkNumbers
21357 {
21358 UINT8 mNumberOfSessions;
21359
21360 struct sSession
21361 {
21362 eQMIPBMSessionTypes mSessionType;
21363 UINT8 mNumberCount;
21364
21365 struct sNumber
21366 {
21367 bool mPolice:1;
21368 bool mAmbulance:1;
21369 bool mFireBrigade:1;
21370 bool mMarineGuard:1;
21371 bool mMountainRescue:1;
21372 bool mManualECall:1;
21373 bool mAutomaticECall:1;
21374 bool mSpare:1;
21375 UINT8 mEmergencyNumberLength;
21376
21377 // This array must be the size specified by mEmergencyNumberLength
21378 // char mEmergencyNumber[1];
21379 };
21380
21381 // This array must be the size specified by mNumberCount
21382 // sNumber mNumbers[1];
21383 };
21384
21385 // This array must be the size specified by mNumberOfSessions
21386 // sSession mSessions[1];
21387 };
21388
21389 // Structure to describe indication TLV 0x01 for PBM AllReadyIndication
21390 struct sPBMAllReadyIndication_Info
21391 {
21392 UINT8 mNumberOfSessions;
21393
21394 struct sSession
21395 {
21396 eQMIPBMSessionTypes mSessionType;
21397 bool mAbbreviatedDialingNumber:1;
21398 bool mFixedDialingNumber:1;
21399 bool mMobileSubscriberIntegratedServicesDigitalNetwork:1;
21400 bool mMailBoxDialingNumber:1;
21401 bool mServiceDialingNumber:1;
21402 bool mBarredDialingNumber:1;
21403 bool mLastNumberDialed:1;
21404 bool mMailBoxNumber:1;
21405
21406 // Padding out 8 bits
21407 UINT8 mReserved1;
21408 };
21409
21410 // This array must be the size specified by mNumberOfSessions
21411 // sSession mSessions[1];
21412 };
21413
21414 // Structure to describe response TLV 0x10 for PBMGetEmergencyList()
21415 struct sPBMGetEmergencyListResponse_HardCodedNumbers
21416 {
21417 UINT8 mNumberCount;
21418
21419 struct sNumber
21420 {
21421 UINT8 mEmergencyNumberLength;
21422
21423 // This array must be the size specified by mEmergencyNumberLength
21424 // char mEmergencyNumber[1];
21425 };
21426
21427 // This array must be the size specified by mNumberCount
21428 // sNumber mNumbers[1];
21429 };
21430
21431 // Structure to describe response TLV 0x11 for PBMGetEmergencyList()
21432 struct sPBMGetEmergencyListResponse_NVNumbers
21433 {
21434 UINT8 mNumberCount;
21435
21436 struct sNumber
21437 {
21438 UINT8 mEmergencyNumberLength;
21439
21440 // This array must be the size specified by mEmergencyNumberLength
21441 // char mEmergencyNumber[1];
21442 };
21443
21444 // This array must be the size specified by mNumberCount
21445 // sNumber mNumbers[1];
21446 };
21447
21448 // Structure to describe response TLV 0x12 for PBMGetEmergencyList()
21449 struct sPBMGetEmergencyListResponse_CardNumbers
21450 {
21451 UINT8 mNumberOfSessions;
21452
21453 struct sSession
21454 {
21455 eQMIPBMSessionTypes mSessionType;
21456 UINT8 mNumberCount;
21457
21458 struct sNumber
21459 {
21460 bool mPolice:1;
21461 bool mAmbulance:1;
21462 bool mFireBrigade:1;
21463 bool mMarineGuard:1;
21464 bool mMountainRescue:1;
21465 bool mManualECall:1;
21466 bool mAutomaticECall:1;
21467 bool mSpare:1;
21468 UINT8 mEmergencyNumberLength;
21469
21470 // This array must be the size specified by mEmergencyNumberLength
21471 // char mEmergencyNumber[1];
21472 };
21473
21474 // This array must be the size specified by mNumberCount
21475 // sNumber mNumbers[1];
21476 };
21477
21478 // This array must be the size specified by mNumberOfSessions
21479 // sSession mSessions[1];
21480 };
21481
21482 // Structure to describe response TLV 0x13 for PBMGetEmergencyList()
21483 struct sPBMGetEmergencyListResponse_NetworkNumbers
21484 {
21485 UINT8 mNumberOfSessions;
21486
21487 struct sSession
21488 {
21489 eQMIPBMSessionTypes mSessionType;
21490 UINT8 mNumberCount;
21491
21492 struct sNumber
21493 {
21494 bool mPolice:1;
21495 bool mAmbulance:1;
21496 bool mFireBrigade:1;
21497 bool mMarineGuard:1;
21498 bool mMountainRescue:1;
21499 bool mManualECall:1;
21500 bool mAutomaticECall:1;
21501 bool mSpare:1;
21502 UINT8 mEmergencyNumberLength;
21503
21504 // This array must be the size specified by mEmergencyNumberLength
21505 // char mEmergencyNumber[1];
21506 };
21507
21508 // This array must be the size specified by mNumberCount
21509 // sNumber mNumbers[1];
21510 };
21511
21512 // This array must be the size specified by mNumberOfSessions
21513 // sSession mSessions[1];
21514 };
21515
21516 // Structure to describe response TLV 0x10 for PBMGetAllGroups()
21517 struct sPBMGetAllGroupsResponse_Groups
21518 {
21519 UINT8 mNumberOfSessions;
21520
21521 struct sSession
21522 {
21523 eQMIPBMSessionTypes mSessionType;
21524 UINT8 mGroupCount;
21525
21526 struct sGroup
21527 {
21528 UINT8 mGroupID;
21529 UINT8 mGroupNameLength;
21530
21531 // This array must be the size (in BYTEs) specified by mGroupNameLength
21532 // wchar_t mGroupName[1];
21533 };
21534
21535 // This array must be the size specified by mGroupCount
21536 // sGroup mGroups[1];
21537 };
21538
21539 // This array must be the size specified by mNumberOfSessions
21540 // sSession mSessions[1];
21541 };
21542
21543 // Structure to describe request TLV 0x01 for PBMSetGroupInfo()
21544 struct sPBMSetGroupInfoRequest_Info
21545 {
21546 eQMIPBMSessionTypes mSessionType;
21547 eQMIPBMOperations mOperation;
21548 UINT8 mGroupID;
21549 UINT8 mGroupNameLength;
21550
21551 // This array must be the size (in BYTEs) specified by mGroupNameLength
21552 // wchar_t mGroupName[1];
21553 };
21554
21555 // Structure to describe response TLV 0x10 for PBMSetGroupInfo()
21556 struct sPBMSetGroupInfoResponse_ID
21557 {
21558 eQMIPBMSessionTypes mSessionType;
21559 UINT8 mGroupID;
21560 };
21561
21562 // Structure to describe request TLV 0x01 for PBMGetState()
21563 struct sPBMGetStateRequest_Info
21564 {
21565 eQMIPBMSessionTypes mSessionType;
21566 eQMIPBMPhonebookTypes mPhonebookType;
21567 };
21568
21569 // Structure to describe response TLV 0x10 for PBMGetStateInfo()
21570 struct sPBMGetStateInfoResponse_State
21571 {
21572 eQMIPBMSessionTypes mSessionType;
21573 eQMIPBMPhonebookTypes mPhonebookType;
21574 eQMIPBMStates mState;
21575 };
21576
21577 // Structure to describe request TLV 0x01 for PBMReadAllHiddenRecords()
21578 struct sPBMReadAllHiddenRecordsRequest_Info
21579 {
21580 eQMIPBMSessionTypes mSessionType;
21581 };
21582
21583 // Structure to describe response TLV 0x10 for PBMReadAllHiddenRecords()
21584 struct sPBMReadAllHiddenRecordsResponse_Records
21585 {
21586 UINT16 mNumberOfRecords;
21587 };
21588
21589 // Structure to describe indication TLV 0x01 for PBM HiddenRecordStatusIndication
21590 struct sPBMHiddenRecordStatusIndication_Status
21591 {
21592 eQMIPBMSessionTypes mSessionType;
21593 INT8 mHiddenRecordsValid;
21594 };
21595
21596 // Structure to describe request TLV 0x01 for PBMGetNextEmptyRecordID()
21597 struct sPBMGetNextEmptyRecordIDRequest_Info
21598 {
21599 eQMIPBMSessionTypes mSessionType;
21600 eQMIPBMPhonebookTypes mPhonebookType;
21601 UINT16 mRecordID;
21602 };
21603
21604 // Structure to describe response TLV 0x10 for PBMGetNextEmptyRecordID()
21605 struct sPBMGetNextEmptyRecordIDResponse_Info
21606 {
21607 UINT16 mRecordID;
21608 };
21609
21610 // Structure to describe request TLV 0x01 for PBMGetNextRecordID()
21611 struct sPBMGetNextRecordIDRequest_Info
21612 {
21613 eQMIPBMSessionTypes mSessionType;
21614 eQMIPBMPhonebookTypes mPhonebookType;
21615 UINT16 mRecordID;
21616 };
21617
21618 // Structure to describe response TLV 0x10 for PBMGetNextRecordID()
21619 struct sPBMGetNextRecordIDResponse_Info
21620 {
21621 UINT16 mRecordID;
21622 };
21623
21624 // Structure to describe response TLV 0x10 for PBMGetAASList()
21625 struct sPBMGetAASListResponse_List
21626 {
21627 UINT8 mNumberOfSessions;
21628
21629 struct sSession
21630 {
21631 eQMIPBMSessionTypes mSessionType;
21632 UINT8 mAASCount;
21633
21634 struct sAAS
21635 {
21636 UINT8 mAASID;
21637 UINT8 mAlphaStringLength;
21638
21639 // This array must be the size (in BYTEs) specified by mAlphaStringLength
21640 // wchar_t mAlphaString[1];
21641 };
21642
21643 // This array must be the size specified by mAASCount
21644 // sAAS mAASs[1];
21645 };
21646
21647 // This array must be the size specified by mNumberOfSessions
21648 // sSession mSessions[1];
21649 };
21650
21651 // Structure to describe request TLV 0x10 for PBMSetAAS()
21652 struct sPBMSetAASRequest_Info
21653 {
21654 eQMIPBMSessionTypes mSessionType;
21655 eQMIPBMAASOperations mOperation;
21656 UINT8 mAASID;
21657 UINT8 mAlphaStringLength;
21658
21659 // This array must be the size (in BYTEs) specified by mAlphaStringLength
21660 // wchar_t mAlphaString[1];
21661 };
21662
21663 // Structure to describe response TLV 0x10 for PBMSetAAS()
21664 struct sPBMSetAASResponse_Info
21665 {
21666 eQMIPBMSessionTypes mSessionType;
21667 UINT8 mAASID;
21668 };
21669
21670 // Structure to describe indication TLV 0x01 for PBM AASChangeIndication
21671 struct sPBMAASChangeIndication_Info
21672 {
21673 eQMIPBMSessionTypes mSessionType;
21674 eQMIPBMOperations mOperation;
21675 UINT8 mAASID;
21676 UINT8 mAlphaStringLength;
21677
21678 // This array must be the size (in BYTEs) specified by mAlphaStringLength
21679 // wchar_t mAlphaString[1];
21680 };
21681
21682 // Structure to describe indication TLV 0x01 for PBM GASChangeIndication
21683 struct sPBMGASChangeIndication_Info
21684 {
21685 eQMIPBMSessionTypes mSessionType;
21686 eQMIPBMOperations mOperation;
21687 UINT8 mGASID;
21688 UINT8 mGroupNameLength;
21689
21690 // This array must be the size (in BYTEs) specified by mGroupNameLength
21691 // wchar_t mGroupName[1];
21692 };
21693
21694 // Structure to describe request TLV 0x10 for PBMBindSubscription()
21695 struct sPBMBindSubscriptionRequest_Type
21696 {
21697 eQMIPBMSubscriptionTypes mSubscriptionType;
21698 };
21699
21700 // Structure to describe request TLV 0x10 for PBMGetSubscription()
21701 struct sPBMGetSubscriptionRequest_Type
21702 {
21703 eQMIPBMSubscriptionTypes mSubscriptionType;
21704 };
21705
21706 // Structure to describe request TLV 0x01 for LOCClientRevision()
21707 struct sLOCClientRevisionRequest_Revision
21708 {
21709 UINT32 mRevision;
21710 };
21711
21712 // Structure to describe request TLV 0x01 for LOCRegisterEvents()
21713 struct sLOCRegisterEventsRequest_EventRegistrationMask
21714 {
21715 bool mPositionReport:1;
21716 bool mGNSSSatelliteInfo:1;
21717 bool mNMEA:1;
21718 bool mNINotifyVerifyRequest:1;
21719 bool mInjectTimeRequest:1;
21720 bool mInjectPredictedOrbitsRequest:1;
21721 bool mInjectPositionRequest:1;
21722 bool mEngineState:1;
21723 bool mFixSessionState:1;
21724 bool mWiFiRequest:1;
21725 bool mSensorStreamingReadyStatus:1;
21726 bool mTimeSyncRequest:1;
21727 bool mSetSPIStreamingReport:1;
21728 bool mLocationServerConnectionRequest:1;
21729 bool mNIGeofenceNotification:1;
21730 bool mGeofenceGeneralAlert:1;
21731 bool mGeofenceBreachNotification:1;
21732
21733 // Padding out 47 bits
21734 UINT8 mReserved1:7;
21735 UINT8 mReserved2[5];
21736 };
21737
21738 // Structure to describe request TLV 0x01 for LOCStart()
21739 struct sLOCStartRequest_SessionID
21740 {
21741 UINT8 mSessionID;
21742 };
21743
21744 // Structure to describe request TLV 0x10 for LOCStart()
21745 struct sLOCStartRequest_FixRecurrenceType
21746 {
21747 eQMILOCFixRecurrenceType mFixRecurrenceType;
21748 };
21749
21750 // Structure to describe request TLV 0x11 for LOCStart()
21751 struct sLOCStartRequest_HorizontalAccuracy
21752 {
21753 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
21754 };
21755
21756 // Structure to describe request TLV 0x12 for LOCStart()
21757 struct sLOCStartRequest_EnableIntermediateReports
21758 {
21759 eQMILOCIntermediateReportState mEnableIntermediateReports;
21760 };
21761
21762 // Structure to describe request TLV 0x13 for LOCStart()
21763 struct sLOCStartRequest_MinimumIntervalBetweenPositionReports
21764 {
21765 UINT32 mMinimumTimeIntervalMilliseconds;
21766 };
21767
21768 // Structure to describe request TLV 0x14 for LOCStart()
21769 struct sLOCStartRequest_ApplicationID1
21770 {
21771 UINT8 mApplicationProviderLength;
21772
21773 // This array must be the size specified by mApplicationProviderLength
21774 // char mApplicationProvider[1];
21775 };
21776
21777 struct sLOCStartRequest_ApplicationID2
21778 {
21779 UINT8 mApplicationNameLength;
21780
21781 // This array must be the size specified by mApplicationNameLength
21782 // char mApplicationName[1];
21783 };
21784
21785 struct sLOCStartRequest_ApplicationID3
21786 {
21787 INT8 mApplicationVersionValid;
21788 UINT8 mApplicationVersionLength;
21789
21790 // This array must be the size specified by mApplicationVersionLength
21791 // char mApplicationVersion[1];
21792 };
21793
21794 struct sLOCStartRequest_ApplicationID
21795 {
21796 sLOCStartRequest_ApplicationID1 mLOCStartRequest_ApplicationID1;
21797 sLOCStartRequest_ApplicationID2 mLOCStartRequest_ApplicationID2;
21798 sLOCStartRequest_ApplicationID3 mLOCStartRequest_ApplicationID3;
21799 };
21800
21801 // Structure to describe request TLV 0x01 for LOCStop()
21802 struct sLOCStopRequest_SessionID
21803 {
21804 UINT8 mSessionID;
21805 };
21806
21807 // Structure to describe indication TLV 0x01 for LOC PositionReportIndication
21808 struct sLOCPositionReportIndication_SessionStatus
21809 {
21810 eQMILOCSessionStatus mSessionStatus;
21811 };
21812
21813 // Structure to describe indication TLV 0x10 for LOC PositionReportIndication
21814 struct sLOCPositionReportIndication_Latitude
21815 {
21816 double mLatitudeDegrees;
21817 };
21818
21819 // Structure to describe indication TLV 0x11 for LOC PositionReportIndication
21820 struct sLOCPositionReportIndication_Longitude
21821 {
21822 double mLongitudeDegrees;
21823 };
21824
21825 // Structure to describe indication TLV 0x12 for LOC PositionReportIndication
21826 struct sLOCPositionReportIndication_HorizontalUncertaintyCircular
21827 {
21828 float mHorizontalUncertaintyCircularMeters;
21829 };
21830
21831 // Structure to describe indication TLV 0x13 for LOC PositionReportIndication
21832 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMinor
21833 {
21834 float mHorizontalUncertaintyEllipticalMinorMeters;
21835 };
21836
21837 // Structure to describe indication TLV 0x14 for LOC PositionReportIndication
21838 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMajor
21839 {
21840 float mHorizontalUncertaintyEllipticalMajorMeters;
21841 };
21842
21843 // Structure to describe indication TLV 0x15 for LOC PositionReportIndication
21844 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalAzimuth
21845 {
21846 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
21847 };
21848
21849 // Structure to describe indication TLV 0x16 for LOC PositionReportIndication
21850 struct sLOCPositionReportIndication_HorizontalConfidence
21851 {
21852 UINT8 mHorizontalConfidencePercent;
21853 };
21854
21855 // Structure to describe indication TLV 0x17 for LOC PositionReportIndication
21856 struct sLOCPositionReportIndication_HorizontalReliability
21857 {
21858 eQMILOCReliability mHorizontalReliability;
21859 };
21860
21861 // Structure to describe indication TLV 0x18 for LOC PositionReportIndication
21862 struct sLOCPositionReportIndication_HorizontalSpeed
21863 {
21864 float mHorizontalSpeedMetersSecond;
21865 };
21866
21867 // Structure to describe indication TLV 0x19 for LOC PositionReportIndication
21868 struct sLOCPositionReportIndication_SpeedUncertainty
21869 {
21870 float mSpeedUncertaintyMetersSecond;
21871 };
21872
21873 // Structure to describe indication TLV 0x1A for LOC PositionReportIndication
21874 struct sLOCPositionReportIndication_AltitudeFromEllipsoid
21875 {
21876 float mAltitudeFromEllipsoidMeters;
21877 };
21878
21879 // Structure to describe indication TLV 0x1B for LOC PositionReportIndication
21880 struct sLOCPositionReportIndication_AltitudeFromSeaLevel
21881 {
21882 float mAltitudeFromSeaLevelMeters;
21883 };
21884
21885 // Structure to describe indication TLV 0x1C for LOC PositionReportIndication
21886 struct sLOCPositionReportIndication_VerticalUncertainty
21887 {
21888 float mVerticalUncertaintyMeters;
21889 };
21890
21891 // Structure to describe indication TLV 0x1D for LOC PositionReportIndication
21892 struct sLOCPositionReportIndication_VerticalConfidence
21893 {
21894 UINT8 mVerticalConfidencePercent;
21895 };
21896
21897 // Structure to describe indication TLV 0x1E for LOC PositionReportIndication
21898 struct sLOCPositionReportIndication_VerticalReliability
21899 {
21900 eQMILOCReliability mVerticalReliability;
21901 };
21902
21903 // Structure to describe indication TLV 0x1F for LOC PositionReportIndication
21904 struct sLOCPositionReportIndication_VerticalSpeed
21905 {
21906 float mVerticalSpeedMetersSecond;
21907 };
21908
21909 // Structure to describe indication TLV 0x20 for LOC PositionReportIndication
21910 struct sLOCPositionReportIndication_Heading
21911 {
21912 float mHeadingDegrees;
21913 };
21914
21915 // Structure to describe indication TLV 0x21 for LOC PositionReportIndication
21916 struct sLOCPositionReportIndication_HeadingUncertainty
21917 {
21918 float mHeadingUncertaintyDegrees;
21919 };
21920
21921 // Structure to describe indication TLV 0x22 for LOC PositionReportIndication
21922 struct sLOCPositionReportIndication_MagneticDeviation
21923 {
21924 float mMagneticDeviation;
21925 };
21926
21927 // Structure to describe indication TLV 0x23 for LOC PositionReportIndication
21928 struct sLOCPositionReportIndication_TechnologyUsed
21929 {
21930 bool mSatellite:1;
21931 bool mCellular:1;
21932 bool mWiFi:1;
21933 bool mSensors:1;
21934 bool mReferenceLocation:1;
21935
21936 // Padding out 27 bits
21937 UINT8 mReserved1:3;
21938 UINT8 mReserved2[3];
21939 };
21940
21941 // Structure to describe indication TLV 0x24 for LOC PositionReportIndication
21942 struct sLOCPositionReportIndication_DilutionOfPrecision
21943 {
21944 float mPositionDilutionOfPrecision;
21945 float mHorizontalDilutionOfPrecision;
21946 float mVerticalDilutionOfPrecision;
21947 };
21948
21949 // Structure to describe indication TLV 0x25 for LOC PositionReportIndication
21950 struct sLOCPositionReportIndication_UTCTimestamp
21951 {
21952 UINT64 mUTCTimestampMilliseconds;
21953 };
21954
21955 // Structure to describe indication TLV 0x26 for LOC PositionReportIndication
21956 struct sLOCPositionReportIndication_LeapSeconds
21957 {
21958 UINT8 mLeapSeconds;
21959 };
21960
21961 // Structure to describe indication TLV 0x27 for LOC PositionReportIndication
21962 struct sLOCPositionReportIndication_GPSTime
21963 {
21964 UINT16 mGPSWeeks;
21965 UINT32 mGPSTimeOfWeekMilliseconds;
21966 };
21967
21968 // Structure to describe indication TLV 0x28 for LOC PositionReportIndication
21969 struct sLOCPositionReportIndication_TimeUncertainty
21970 {
21971 float mTimeUncertaintyMilliseconds;
21972 };
21973
21974 // Structure to describe indication TLV 0x29 for LOC PositionReportIndication
21975 struct sLOCPositionReportIndication_TimeSource
21976 {
21977 eQMILOCTimeSource mTimeSource;
21978 };
21979
21980 // Structure to describe indication TLV 0x2A for LOC PositionReportIndication
21981 struct sLOCPositionReportIndication_SensorDataUsage
21982 {
21983 bool mAccelerometerUsed:1;
21984 bool mGyroUsed:1;
21985
21986 // Padding out 30 bits
21987 UINT8 mReserved1:6;
21988 UINT8 mReserved2[3];
21989
21990 bool mAidedHeading:1;
21991 bool mAidedSpeed:1;
21992 bool mAidedPosition:1;
21993 bool mAidedVelocity:1;
21994
21995 // Padding out 28 bits
21996 UINT8 mReserved3:4;
21997 UINT8 mReserved4[3];
21998 };
21999
22000 // Structure to describe indication TLV 0x2B for LOC PositionReportIndication
22001 struct sLOCPositionReportIndication_SessionFixCount
22002 {
22003 UINT32 mSessionFixCount;
22004 };
22005
22006 // Structure to describe indication TLV 0x2C for LOC PositionReportIndication
22007 struct sLOCPositionReportIndication_SatellitesUsed
22008 {
22009 UINT8 mSatellitesUsedCount;
22010
22011 // This array must be the size specified by mSatellitesUsedCount
22012 // UINT16 mSatellitesUsed[1];
22013 };
22014
22015 // Structure to describe indication TLV 0x01 for LOC GNSSSatelliteInfoIndication
22016 struct sLOCGNSSSatelliteInfoIndication_AltitudeSource
22017 {
22018 eQMILOCAltitudeAssumed mAltitudeAssumed;
22019 };
22020
22021 // Structure to describe indication TLV 0x10 for LOC GNSSSatelliteInfoIndication
22022 struct sLOCGNSSSatelliteInfoIndication_SatelliteInfo
22023 {
22024 UINT8 mSatelliteInfoCount;
22025 bool mValidSystem:1;
22026 bool mValidGNSSSatelliteID:1;
22027 bool mValidHealthStatus:1;
22028 bool mValidProcessStatus:1;
22029 bool mValidSatelliteInfoMask:1;
22030 bool mValidElevation:1;
22031 bool mValidAzimuth:1;
22032 bool mValidSignalToNoiseRatio:1;
22033
22034 // Padding out 24 bits
22035 UINT8 mReserved1[3];
22036
22037 eQMILOCSystem mSystem;
22038 UINT16 mGNSSSatelliteID;
22039 eQMILOCHealthStatus mHealthStatus;
22040 eQMILOCSatelliteStatus mSatelliteStatus;
22041 bool mHasEphemeris:1;
22042 bool mHasAlmanac:1;
22043
22044 // Padding out 6 bits
22045 UINT8 mReserved2:6;
22046
22047 float mElevationDegrees;
22048 float mAzimuthDegrees;
22049 float mSignalToNoiseRatiodBHz;
22050 };
22051
22052 // Structure to describe indication TLV 0x01 for LOC NMEAIndication
22053 struct sLOCNMEAIndication_NMEAString
22054 {
22055 // String is variable length, but must be size of the container
22056 // char mNMEAString[1];
22057 };
22058
22059 // Structure to describe request TLV 0x01 for LOCNetworkInitiated()
22060 struct sLOCNetworkInitiatedRequestIndication_NotificationType
22061 {
22062 eQMILOCNotificationType mNotificationType;
22063 };
22064
22065 // Structure to describe request TLV 0x10 for LOCNetworkInitiated()
22066 struct sLOCNetworkInitiatedRequestIndication_VxRequest1
22067 {
22068 INT8 mPositionQoSIncluded;
22069 UINT8 mPositionQoSTimeoutSeconds;
22070 UINT32 mMaxNumberOfFixes;
22071 UINT32 mTimeBetweenFixesSeconds;
22072 eQMILOCPositionMode mPosistionMode;
22073 eQMILOCEncodingScheme mEncodingScheme;
22074 UINT8 mRequestorIDLength;
22075
22076 // This array must be the size specified by mRequestorIDLength
22077 // UINT8 mRequestorID[1];
22078 };
22079
22080 struct sLOCNetworkInitiatedRequestIndication_VxRequest2
22081 {
22082 UINT16 mUserResponseTimerSeconds;
22083 };
22084
22085 struct sLOCNetworkInitiatedRequestIndication_VxRequest
22086 {
22087 sLOCNetworkInitiatedRequestIndication_VxRequest1 mLOCNetworkInitiatedRequestIndication_VxRequest1;
22088 sLOCNetworkInitiatedRequestIndication_VxRequest2 mLOCNetworkInitiatedRequestIndication_VxRequest2;
22089 };
22090
22091 // Structure to describe request TLV 0x11 for LOCNetworkInitiated()
22092 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest1
22093 {
22094 bool mValidServerInfo:1;
22095 bool mValidSessionID:1;
22096 bool mValidHash:1;
22097 bool mValidPositionMethod:1;
22098 bool mValidDataCodingScheme:1;
22099 bool mValidRequestorID:1;
22100 bool mValidClientName:1;
22101 bool mValidQualityOfPosition:1;
22102 bool mValidUserResponseTimer:1;
22103
22104 // Padding out 23 bits
22105 UINT8 mReserved1:7;
22106 UINT8 mReserved2[2];
22107
22108 bool mIPv4:1;
22109 bool mIPv6:1;
22110 bool mURL:1;
22111
22112 // Padding out 5 bits
22113 UINT8 mReserved3:5;
22114
22115 UINT32 mIPv4Address;
22116 UINT16 mIPv4Port;
22117 UINT8 mIPv6Address[16];
22118 UINT32 mIPv6Port;
22119 UINT8 mURLAddressLength;
22120
22121 // This array must be the size specified by mURLAddressLength
22122 // char mURLAddress[1];
22123 };
22124
22125 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest2
22126 {
22127 UINT8 mSUPLSessionID[4];
22128 UINT8 mSUPLHash[8];
22129 eQMILOCPosition mPositionMethod;
22130 eQMILOCDataCodingScheme mDataCodingScheme;
22131 eQMILOCFormatType mRequestorIDFormatType;
22132 UINT8 mRequestorIDFormattedStringLength;
22133
22134 // This array must be the size specified by mRequestorIDFormattedStringLength
22135 // UINT8 mRequestorIDFormattedString[1];
22136 };
22137
22138 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest3
22139 {
22140 eQMILOCFormatType mClientNameFormatType;
22141 UINT8 mClientNameFormattedStringLength;
22142
22143 // This array must be the size specified by mClientNameFormattedStringLength
22144 // UINT8 mClientNameFormattedString[1];
22145 };
22146
22147 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest4
22148 {
22149 bool mQoPHorizontalAccelerationValid:1;
22150 bool mQoPVerticalAccelerationValid:1;
22151 bool mQoPMaximumAge:1;
22152 bool mQoPDelayValid:1;
22153
22154 // Padding out 4 bits
22155 UINT8 mReserved4:4;
22156
22157 UINT8 mHorizontalAccuracyMeters;
22158 UINT8 mVerticalAccuracyMeters;
22159 UINT16 mMaximumLocationAgeSeconds;
22160 UINT8 mDelaySeconds;
22161 UINT16 mUserResponseTimerSeconds;
22162 };
22163
22164 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest
22165 {
22166 sLOCNetworkInitiatedRequestIndication_SUPLRequest1 mLOCNetworkInitiatedRequestIndication_SUPLRequest1;
22167 sLOCNetworkInitiatedRequestIndication_SUPLRequest2 mLOCNetworkInitiatedRequestIndication_SUPLRequest2;
22168 sLOCNetworkInitiatedRequestIndication_SUPLRequest3 mLOCNetworkInitiatedRequestIndication_SUPLRequest3;
22169 sLOCNetworkInitiatedRequestIndication_SUPLRequest4 mLOCNetworkInitiatedRequestIndication_SUPLRequest4;
22170 };
22171
22172 // Structure to describe request TLV 0x12 for LOCNetworkInitiated()
22173 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1
22174 {
22175 bool mValidInvokeID:1;
22176 bool mValidDataCodingScheme:1;
22177 bool mValidNotificationText:1;
22178 bool mValidClientAddress:1;
22179 bool mValidLocationType:1;
22180 bool mValidRequestorID:1;
22181 bool mValidCodewordString:1;
22182 bool mValidServiceTypeMask:1;
22183 bool mValidUserResponseTImer:1;
22184
22185 // Padding out 7 bits
22186 UINT8 mReserved1:7;
22187
22188 UINT8 mInvokeID;
22189 eQMILOCDataCodingScheme mDataCodingScheme;
22190 UINT8 mNotificationTextLength;
22191
22192 // This array must be the size specified by mNotificationTextLength
22193 // UINT8 mNotificationText[1];
22194 };
22195
22196 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2
22197 {
22198 UINT8 mClientAddressLength;
22199
22200 // This array must be the size specified by mClientAddressLength
22201 // UINT8 mClientAddress[1];
22202 };
22203
22204 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3
22205 {
22206 eQMILOCLocationType mLocationType;
22207 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
22208 UINT8 mRequestorIDCodedStingLength;
22209
22210 // This array must be the size specified by mRequestorIDCodedStingLength
22211 // UINT8 mRequestorIDCodedString[1];
22212 };
22213
22214 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4
22215 {
22216 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
22217 UINT8 mCodewordStringCodedStringLength;
22218
22219 // This array must be the size specified by mCodewordStringCodedStringLength
22220 // UINT8 mCodewordStringCodedString[1];
22221 };
22222
22223 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5
22224 {
22225 UINT8 mServiceTypeID;
22226 UINT16 mUserResponseTimerSeconds;
22227 };
22228
22229 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest
22230 {
22231 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1;
22232 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2;
22233 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3;
22234 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4;
22235 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5;
22236 };
22237
22238 // Structure to describe request TLV 0x13 for LOCNetworkInitiated()
22239 struct sLOCNetworkInitiatedRequestIndication_ServiceInteractionRequest
22240 {
22241 INT8 mPositionQoSIncluded;
22242 UINT8 mPositionQoSTimeoutSeconds;
22243 UINT32 mMaxNumberOfFixes;
22244 UINT32 mTimeBetweenFixesSeconds;
22245 eQMILOCPositionMode mPosistionMode;
22246 eQMILOCEncodingScheme mEncodingScheme;
22247 UINT8 mRequestorIDLength;
22248 UINT8 mRequestorID;
22249 UINT16 mUserResponseTimerSeconds;
22250 eQMILOCServiceInteractionType mServiceInteractionType;
22251 };
22252
22253 // Structure to describe request TLV 0x14 for LOCNetworkInitiated()
22254 struct sLOCNetworkInitiatedRequestIndication_SUPLVersion2Extension
22255 {
22256 bool mWLAN:1;
22257 bool mGSM:1;
22258 bool mWCDMA:1;
22259 bool mCDMA:1;
22260 bool mHRDP:1;
22261 bool mUMB:1;
22262 bool mLTE:1;
22263 bool mWIMAX:1;
22264 bool mHISTORIC:1;
22265 bool mNONSVRV:1;
22266
22267 // Padding out 6 bits
22268 UINT8 mReserved1:6;
22269
22270 eQMILOCTriggerType mTriggerType;
22271 bool mGPS:1;
22272 bool mGLONASS:1;
22273 bool mGALILEO:1;
22274 bool mSBAS:1;
22275 bool mQZSS:1;
22276 bool mMODERNGPS:1;
22277
22278 // Padding out 10 bits
22279 UINT8 mReserved2:2;
22280 UINT8 mReserved3;
22281 };
22282
22283 // Structure to describe indication TLV 0x10 for LOC InjectTimeIndication
22284 struct sLOCInjectTimeIndication_TimeServerInfo
22285 {
22286 UINT32 mDelayThresholdMilliseconds;
22287 UINT8 mServerListLength;
22288
22289 struct sServer
22290 {
22291 UINT8 mServerURLLength;
22292
22293 // This array must be the size specified by mServerURLLength
22294 // char mServerURL[1];
22295 };
22296
22297 // This array must be the size specified by mServerListLength
22298 // sServer mServers[1];
22299 };
22300
22301 // Structure to describe indication TLV 0x01 for LOC InjectPredictedOrbitsIndication
22302 struct sLOCInjectPredictedOrbitsIndication_AllowedSize
22303 {
22304 UINT32 mMaximumFileSizeBytes;
22305 UINT32 mMaximumPartSizeBytes;
22306 };
22307
22308 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsIndication
22309 struct sLOCInjectPredictedOrbitsIndication_ServerList
22310 {
22311 UINT8 mServerListLength;
22312
22313 struct sServer
22314 {
22315 UINT8 mServerURLLength;
22316
22317 // This array must be the size specified by mServerURLLength
22318 // char mServerURL[1];
22319 };
22320
22321 // This array must be the size specified by mServerListLength
22322 // sServer mServers[1];
22323 };
22324
22325 // Structure to describe indication TLV 0x01 for LOC InjectPositionIndication
22326 struct sLOCInjectPositionIndication_Latitude
22327 {
22328 double mLatitudeDegrees;
22329 };
22330
22331 // Structure to describe indication TLV 0x03 for LOC InjectPositionIndication
22332 struct sLOCInjectPositionIndication_HorizontalUncertaintyCircular
22333 {
22334 float mHorizontalUncertaintyCircularMeters;
22335 };
22336
22337 // Structure to describe indication TLV 0x04 for LOC InjectPositionIndication
22338 struct sLOCInjectPositionIndication_UTCTimestamp
22339 {
22340 UINT64 mUTCTimestampMilliseconds;
22341 };
22342
22343 // Structure to describe indication TLV 0x01 for LOC EngineStateIndication
22344 struct sLOCEngineStateIndication_EngineState
22345 {
22346 eQMILOCEngineState mEngineState;
22347 };
22348
22349 // Structure to describe indication TLV 0x01 for LOC FixSessionStateIndication
22350 struct sLOCFixSessionStateIndication_SessionState
22351 {
22352 eQMILOCSessionState mSessionState;
22353 };
22354
22355 // Structure to describe indication TLV 0x10 for LOC FixSessionStateIndication
22356 struct sLOCFixSessionStateIndication_SessionID
22357 {
22358 UINT8 mSessionID;
22359 };
22360
22361 // Structure to describe request TLV 0x01 for LOCWiFi()
22362 struct sLOCWiFiRequestIndication_RequestType
22363 {
22364 eQMILOCRequestType mRequestType;
22365 };
22366
22367 // Structure to describe request TLV 0x10 for LOCWiFi()
22368 struct sLOCWiFiRequestIndication_TimeBetweenFixes
22369 {
22370 UINT16 mTimeBetweenFixesMilliseconds;
22371 };
22372
22373 // Structure to describe indication TLV 0x10 for LOC SensorStreamingReadyStatusIndication
22374 struct sLOCSensorStreamingReadyStatusIndication_AccelerometerReady
22375 {
22376 INT8 mReadyForInjection;
22377 UINT16 mSamplesPerBatch;
22378 UINT16 mBatchesPerSecond;
22379 };
22380
22381 // Structure to describe indication TLV 0x11 for LOC SensorStreamingReadyStatusIndication
22382 struct sLOCSensorStreamingReadyStatusIndication_GyrometerReady
22383 {
22384 INT8 mReadyForInjection;
22385 UINT16 mSamplesPerBatch;
22386 UINT16 mBatchesPerSecond;
22387 };
22388
22389 // Structure to describe request TLV 0x01 for LOCTimeSync()
22390 struct sLOCTimeSyncRequestIndication_ReferenceCounter
22391 {
22392 UINT32 mReferenceCounter;
22393 };
22394
22395 // Structure to describe indication TLV 0x01 for LOC SetSPIStreamingReportIndication
22396 struct sLOCSetSPIStreamingReportIndication_SPIRequests
22397 {
22398 INT8 mEnableSPIRequests;
22399 };
22400
22401 // Structure to describe request TLV 0x01 for LOCLocationServerConnection()
22402 struct sLOCLocationServerConnectionRequestIndication_ConnectionHandle
22403 {
22404 UINT32 mConnectionHandle;
22405 };
22406
22407 // Structure to describe request TLV 0x03 for LOCLocationServerConnection()
22408 struct sLOCLocationServerConnectionRequestIndication_WWANType
22409 {
22410 eQMILOCWWANType mWWANType;
22411 };
22412
22413 // Structure to describe indication TLV 0x10 for LOC GetServiceRevisionIndication
22414 struct sLOCGetServiceRevisionIndication_GNSSMeasurementEngineFirmwareVersion
22415 {
22416 // String is variable length, but must be size of the container
22417 // char mFirmwareVersion[1];
22418 };
22419
22420 // Structure to describe indication TLV 0x11 for LOC GetServiceRevisionIndication
22421 struct sLOCGetServiceRevisionIndication_GNSSHostedSoftwareVersion
22422 {
22423 // String is variable length, but must be size of the container
22424 // char mSoftwareVersion[1];
22425 };
22426
22427 // Structure to describe indication TLV 0x12 for LOC GetServiceRevisionIndication
22428 struct sLOCGetServiceRevisionIndication_GNSSSoftwareVersion
22429 {
22430 // String is variable length, but must be size of the container
22431 // char mSoftwareVersion[1];
22432 };
22433
22434 // Structure to describe indication TLV 0x10 for LOC GetFixCriteriaIndication
22435 struct sLOCGetFixCriteriaIndication_HorizontalAccuracy
22436 {
22437 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
22438 };
22439
22440 // Structure to describe indication TLV 0x11 for LOC GetFixCriteriaIndication
22441 struct sLOCGetFixCriteriaIndication_IntermediateFixes
22442 {
22443 eQMILOCIntermediateReportState mEnableIntermediateReports;
22444 };
22445
22446 // Structure to describe indication TLV 0x12 for LOC GetFixCriteriaIndication
22447 struct sLOCGetFixCriteriaIndication_MinimumIntervalBetweenFixes
22448 {
22449 UINT32 mMinimumTimeIntervalMilliseconds;
22450 };
22451
22452 // Structure to describe indication TLV 0x13 for LOC GetFixCriteriaIndication
22453 struct sLOCGetFixCriteriaIndication_ApplicationID1
22454 {
22455 UINT8 mApplicationProviderLength;
22456
22457 // This array must be the size specified by mApplicationProviderLength
22458 // char mApplicationProvider[1];
22459 };
22460
22461 struct sLOCGetFixCriteriaIndication_ApplicationID2
22462 {
22463 UINT8 mApplicationNameLength;
22464
22465 // This array must be the size specified by mApplicationNameLength
22466 // char mApplicationName[1];
22467 };
22468
22469 struct sLOCGetFixCriteriaIndication_ApplicationID3
22470 {
22471 INT8 mApplicationVersionValid;
22472 UINT8 mApplicationVersionLength;
22473
22474 // This array must be the size specified by mApplicationVersionLength
22475 // char mApplicationVersion[1];
22476 };
22477
22478 struct sLOCGetFixCriteriaIndication_ApplicationID
22479 {
22480 sLOCGetFixCriteriaIndication_ApplicationID1 mLOCGetFixCriteriaIndication_ApplicationID1;
22481 sLOCGetFixCriteriaIndication_ApplicationID2 mLOCGetFixCriteriaIndication_ApplicationID2;
22482 sLOCGetFixCriteriaIndication_ApplicationID3 mLOCGetFixCriteriaIndication_ApplicationID3;
22483 };
22484
22485 // Structure to describe request TLV 0x01 for LOCProvideNIUserResponse()
22486 struct sLOCProvideNIUserResponseRequest_UserResponse
22487 {
22488 eQMILOCUserResponse mUserResponse;
22489 };
22490
22491 // Structure to describe request TLV 0x10 for LOCProvideNIUserResponse()
22492 struct sLOCProvideNIUserResponseRequest_VxRequest1
22493 {
22494 INT8 mPositionQoSIncluded;
22495 UINT8 mPositionQoSTimeoutSeconds;
22496 UINT32 mMaxNumberOfFixes;
22497 UINT32 mTimeBetweenFixesSeconds;
22498 eQMILOCPositionMode mPosistionMode;
22499 eQMILOCEncodingScheme mEncodingScheme;
22500 UINT8 mRequestorIDLength;
22501
22502 // This array must be the size specified by mRequestorIDLength
22503 // UINT8 mRequestorID[1];
22504 };
22505
22506 struct sLOCProvideNIUserResponseRequest_VxRequest2
22507 {
22508 UINT16 mUserResponseTimerSeconds;
22509 };
22510
22511 struct sLOCProvideNIUserResponseRequest_VxRequest
22512 {
22513 sLOCProvideNIUserResponseRequest_VxRequest1 mLOCProvideNIUserResponseRequest_VxRequest1;
22514 sLOCProvideNIUserResponseRequest_VxRequest2 mLOCProvideNIUserResponseRequest_VxRequest2;
22515 };
22516
22517 // Structure to describe request TLV 0x11 for LOCProvideNIUserResponse()
22518 struct sLOCProvideNIUserResponseRequest_SUPLRequest1
22519 {
22520 bool mValidServerInfo:1;
22521 bool mValidSessionID:1;
22522 bool mValidHash:1;
22523 bool mValidPositionMethod:1;
22524 bool mValidDataCodingScheme:1;
22525 bool mValidRequestorID:1;
22526 bool mValidClientName:1;
22527 bool mValidQualityOfPosition:1;
22528 bool mValidUserResponseTimer:1;
22529
22530 // Padding out 23 bits
22531 UINT8 mReserved1:7;
22532 UINT8 mReserved2[2];
22533
22534 bool mIPv4:1;
22535 bool mIPv6:1;
22536 bool mURL:1;
22537
22538 // Padding out 5 bits
22539 UINT8 mReserved3:5;
22540
22541 UINT32 mIPv4Address;
22542 UINT16 mIPv4Port;
22543 UINT8 mIPv6Address[16];
22544 UINT32 mIPv6Port;
22545 UINT8 mURLAddressLength;
22546
22547 // This array must be the size specified by mURLAddressLength
22548 // char mURLAddress[1];
22549 };
22550
22551 struct sLOCProvideNIUserResponseRequest_SUPLRequest2
22552 {
22553 UINT8 mSUPLSessionID[4];
22554 UINT8 mSUPLHash[8];
22555 eQMILOCPosition mPositionMethod;
22556 eQMILOCDataCodingScheme mDataCodingScheme;
22557 eQMILOCFormatType mRequestorIDFormatType;
22558 UINT8 mRequestorIDFormattedStringLength;
22559
22560 // This array must be the size specified by mRequestorIDFormattedStringLength
22561 // UINT8 mRequestorIDFormattedString[1];
22562 };
22563
22564 struct sLOCProvideNIUserResponseRequest_SUPLRequest3
22565 {
22566 eQMILOCFormatType mClientNameFormatType;
22567 UINT8 mClientNameFormattedStringLength;
22568
22569 // This array must be the size specified by mClientNameFormattedStringLength
22570 // UINT8 mClientNameFormattedString[1];
22571 };
22572
22573 struct sLOCProvideNIUserResponseRequest_SUPLRequest4
22574 {
22575 bool mQoPHorizontalAccelerationValid:1;
22576 bool mQoPVerticalAccelerationValid:1;
22577 bool mQoPMaximumAge:1;
22578 bool mQoPDelayValid:1;
22579
22580 // Padding out 4 bits
22581 UINT8 mReserved4:4;
22582
22583 UINT8 mHorizontalAccuracyMeters;
22584 UINT8 mVerticalAccuracyMeters;
22585 UINT16 mMaximumLocationAgeSeconds;
22586 UINT8 mDelaySeconds;
22587 UINT16 mUserResponseTimerSeconds;
22588 };
22589
22590 struct sLOCProvideNIUserResponseRequest_SUPLRequest
22591 {
22592 sLOCProvideNIUserResponseRequest_SUPLRequest1 mLOCProvideNIUserResponseRequest_SUPLRequest1;
22593 sLOCProvideNIUserResponseRequest_SUPLRequest2 mLOCProvideNIUserResponseRequest_SUPLRequest2;
22594 sLOCProvideNIUserResponseRequest_SUPLRequest3 mLOCProvideNIUserResponseRequest_SUPLRequest3;
22595 sLOCProvideNIUserResponseRequest_SUPLRequest4 mLOCProvideNIUserResponseRequest_SUPLRequest4;
22596 };
22597
22598 // Structure to describe request TLV 0x12 for LOCProvideNIUserResponse()
22599 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1
22600 {
22601 bool mValidInvokeID:1;
22602 bool mValidDataCodingScheme:1;
22603 bool mValidNotificationText:1;
22604 bool mValidClientAddress:1;
22605 bool mValidLocationType:1;
22606 bool mValidRequestorID:1;
22607 bool mValidCodewordString:1;
22608 bool mValidServiceTypeMask:1;
22609 bool mValidUserResponseTImer:1;
22610
22611 // Padding out 7 bits
22612 UINT8 mReserved1:7;
22613
22614 UINT8 mInvokeID;
22615 eQMILOCDataCodingScheme mDataCodingScheme;
22616 UINT8 mNotificationTextLength;
22617
22618 // This array must be the size specified by mNotificationTextLength
22619 // UINT8 mNotificationText[1];
22620 };
22621
22622 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2
22623 {
22624 UINT8 mClientAddressLength;
22625
22626 // This array must be the size specified by mClientAddressLength
22627 // UINT8 mClientAddress[1];
22628 };
22629
22630 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3
22631 {
22632 eQMILOCLocationType mLocationType;
22633 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
22634 UINT8 mRequestorIDCodedStingLength;
22635
22636 // This array must be the size specified by mRequestorIDCodedStingLength
22637 // UINT8 mRequestorIDCodedString[1];
22638 };
22639
22640 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4
22641 {
22642 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
22643 UINT8 mCodewordStringCodedStringLength;
22644
22645 // This array must be the size specified by mCodewordStringCodedStringLength
22646 // UINT8 mCodewordStringCodedString[1];
22647 };
22648
22649 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5
22650 {
22651 UINT8 mServiceTypeID;
22652 UINT16 mUserResponseTimerSeconds;
22653 };
22654
22655 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest
22656 {
22657 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1;
22658 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2;
22659 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3;
22660 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4;
22661 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5;
22662 };
22663
22664 // Structure to describe request TLV 0x13 for LOCProvideNIUserResponse()
22665 struct sLOCProvideNIUserResponseRequest_ServiceInteractionRequest
22666 {
22667 INT8 mPositionQoSIncluded;
22668 UINT8 mPositionQoSTimeoutSeconds;
22669 UINT32 mMaxNumberOfFixes;
22670 UINT32 mTimeBetweenFixesSeconds;
22671 eQMILOCPositionMode mPosistionMode;
22672 eQMILOCEncodingScheme mEncodingScheme;
22673 UINT8 mRequestorIDLength;
22674 UINT8 mRequestorID;
22675 UINT16 mUserResponseTimerSeconds;
22676 eQMILOCServiceInteractionType mServiceInteractionType;
22677 };
22678
22679 // Structure to describe request TLV 0x14 for LOCProvideNIUserResponse()
22680 struct sLOCProvideNIUserResponseRequest_SUPLVersion2Extension
22681 {
22682 bool mWLAN:1;
22683 bool mGSM:1;
22684 bool mWCDMA:1;
22685 bool mCDMA:1;
22686 bool mHRDP:1;
22687 bool mUMB:1;
22688 bool mLTE:1;
22689 bool mWIMAX:1;
22690 bool mHISTORIC:1;
22691 bool mNONSVRV:1;
22692
22693 // Padding out 6 bits
22694 UINT8 mReserved1:6;
22695
22696 eQMILOCTriggerType mTriggerType;
22697 bool mGPS:1;
22698 bool mGLONASS:1;
22699 bool mGALILEO:1;
22700 bool mSBAS:1;
22701 bool mQZSS:1;
22702 bool mMODERNGPS:1;
22703
22704 // Padding out 10 bits
22705 UINT8 mReserved2:2;
22706 UINT8 mReserved3;
22707 };
22708
22709 // Structure to describe request TLV 0x01 for LOCInjectPredictedOrbitsData()
22710 struct sLOCInjectPredictedOrbitsDataRequest_TotalSize
22711 {
22712 UINT32 mTotalSize;
22713 };
22714
22715 // Structure to describe request TLV 0x03 for LOCInjectPredictedOrbitsData()
22716 struct sLOCInjectPredictedOrbitsDataRequest_PartNumber
22717 {
22718 UINT16 mPartNumber;
22719 };
22720
22721 // Structure to describe request TLV 0x04 for LOCInjectPredictedOrbitsData()
22722 struct sLOCInjectPredictedOrbitsDataRequest_PartData
22723 {
22724 UINT16 mPartDataLength;
22725
22726 // This array must be the size specified by mPartDataLength
22727 // UINT8 mPartData[1];
22728 };
22729
22730 // Structure to describe request TLV 0x10 for LOCInjectPredictedOrbitsData()
22731 struct sLOCInjectPredictedOrbitsDataRequest_FormatType
22732 {
22733 eQMILOCOrbitsFormatType mOrbitsFormatType;
22734 };
22735
22736 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsDataIndication
22737 struct sLOCInjectPredictedOrbitsDataIndication_PartNumber
22738 {
22739 UINT16 mPartNumber;
22740 };
22741
22742 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataSourceIndication
22743 struct sLOCGetPredictedOrbitsDataSourceIndication_AllowedSizes
22744 {
22745 UINT32 mMaximumFileSizeBytes;
22746 UINT32 mMaximumPartSizeBytes;
22747 };
22748
22749 // Structure to describe indication TLV 0x11 for LOC GetPredictedOrbitsDataSourceIndication
22750 struct sLOCGetPredictedOrbitsDataSourceIndication_ServerList
22751 {
22752 UINT8 mServerListLength;
22753
22754 struct sServer
22755 {
22756 UINT8 mServerURLLength;
22757
22758 // This array must be the size specified by mServerURLLength
22759 // char mServerURL[1];
22760 };
22761
22762 // This array must be the size specified by mServerListLength
22763 // sServer mServers[1];
22764 };
22765
22766 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataValidityIndication
22767 struct sLOCGetPredictedOrbitsDataValidityIndication_ValidityInfo
22768 {
22769 UINT64 mStartTimeInUTC;
22770 UINT16 mDurationHours;
22771 };
22772
22773 // Structure to describe request TLV 0x01 for LOCInjectUTCTime()
22774 struct sLOCInjectUTCTimeRequest_UTCTime
22775 {
22776 UINT64 mUTCTimestampMilliseconds;
22777 };
22778
22779 // Structure to describe request TLV 0x10 for LOCInjectPosition()
22780 struct sLOCInjectPositionRequest_Latitude
22781 {
22782 double mLatitudeDegrees;
22783 };
22784
22785 // Structure to describe request TLV 0x11 for LOCInjectPosition()
22786 struct sLOCInjectPositionRequest_Longitude
22787 {
22788 double mLongitudeDegrees;
22789 };
22790
22791 // Structure to describe request TLV 0x12 for LOCInjectPosition()
22792 struct sLOCInjectPositionRequest_HorizontalUncertaintyCircular
22793 {
22794 float mHorizontalUncertaintyCircularMeters;
22795 };
22796
22797 // Structure to describe request TLV 0x13 for LOCInjectPosition()
22798 struct sLOCInjectPositionRequest_HorizontalConfidence
22799 {
22800 UINT8 mHorizontalConfidencePercent;
22801 };
22802
22803 // Structure to describe request TLV 0x14 for LOCInjectPosition()
22804 struct sLOCInjectPositionRequest_HorizontalReliability
22805 {
22806 eQMILOCReliability mHorizontalReliability;
22807 };
22808
22809 // Structure to describe request TLV 0x15 for LOCInjectPosition()
22810 struct sLOCInjectPositionRequest_AltitudeFromEllipsoid
22811 {
22812 float mAltitudeFromEllipsoidMeters;
22813 };
22814
22815 // Structure to describe request TLV 0x16 for LOCInjectPosition()
22816 struct sLOCInjectPositionRequest_AltitudeFromSeaLevel
22817 {
22818 float mAltitudeFromSeaLevelMeters;
22819 };
22820
22821 // Structure to describe request TLV 0x17 for LOCInjectPosition()
22822 struct sLOCInjectPositionRequest_VerticalUncertainty
22823 {
22824 float mVerticalUncertaintyMeters;
22825 };
22826
22827 // Structure to describe request TLV 0x18 for LOCInjectPosition()
22828 struct sLOCInjectPositionRequest_VerticalConfidence
22829 {
22830 UINT8 mVerticalConfidencePercent;
22831 };
22832
22833 // Structure to describe request TLV 0x19 for LOCInjectPosition()
22834 struct sLOCInjectPositionRequest_VerticalReliability
22835 {
22836 eQMILOCReliability mVerticalReliability;
22837 };
22838
22839 // Structure to describe request TLV 0x1A for LOCInjectPosition()
22840 struct sLOCInjectPositionRequest_AltitudeSource
22841 {
22842 eQMILOCAltitudeSource mAltitudeSource;
22843 eQMILOCLinkage mLinkage;
22844 eQMILOCCoverage mCoverage;
22845 };
22846
22847 // Structure to describe request TLV 0x1B for LOCInjectPosition()
22848 struct sLOCInjectPositionRequest_UTCTimestamp
22849 {
22850 UINT64 mUTCTimestampMilliseconds;
22851 };
22852
22853 // Structure to describe request TLV 0x1C for LOCInjectPosition()
22854 struct sLOCInjectPositionRequest_PositionAge
22855 {
22856 UINT32 mAgeTimestampMilliseconds;
22857 };
22858
22859 // Structure to describe request TLV 0x1D for LOCInjectPosition()
22860 struct sLOCInjectPositionRequest_PositionSource
22861 {
22862 eQMILOCPositionSource mPositionSource;
22863 };
22864
22865 // Structure to describe request TLV 0x01 for LOCSetEngineLock()
22866 struct sLOCSetEngineLockRequest_LockType
22867 {
22868 eQMILOCLockType mLockType;
22869 };
22870
22871 // Structure to describe indication TLV 0x10 for LOC GetEngineLockIndication
22872 struct sLOCGetEngineLockIndication_LockType
22873 {
22874 eQMILOCLockType mLockType;
22875 };
22876
22877 // Structure to describe request TLV 0x01 for LOCSetSBASConfig()
22878 struct sLOCSetSBASConfigRequest_SBASConfig
22879 {
22880 INT8 mSBASEnabled;
22881 };
22882
22883 // Structure to describe response TLV 0x10 for LOCGetSBASConfig()
22884 struct sLOCGetSBASConfigResponse_SBASConfig
22885 {
22886 INT8 mSBASEnabled;
22887 };
22888
22889 // Structure to describe request TLV 0x01 for LOCSetNMEATypes()
22890 struct sLOCSetNMEATypesRequest_SentenceTypes
22891 {
22892 bool mGGASentence:1;
22893 bool mRMCSentence:1;
22894 bool mGSVSentence:1;
22895 bool mGSASentence:1;
22896 bool mVTGSentence:1;
22897 bool mPQXFISentence:1;
22898 bool mPSTISSentence:1;
22899
22900 // Padding out 25 bits
22901 UINT8 mReserved1:1;
22902 UINT8 mReserved2[3];
22903 };
22904
22905 // Structure to describe indication TLV 0x10 for LOC GetNMEATypesIndication
22906 struct sLOCGetNMEATypesIndication_SentenceType
22907 {
22908 bool mGGASentence:1;
22909 bool mRMCSentence:1;
22910 bool mGSVSentence:1;
22911 bool mGSASentence:1;
22912 bool mVTGSentence:1;
22913 bool mPQXFISentence:1;
22914 bool mPSTISSentence:1;
22915
22916 // Padding out 25 bits
22917 UINT8 mReserved1:1;
22918 UINT8 mReserved2[3];
22919 };
22920
22921 // Structure to describe request TLV 0x01 for LOCSetLowPowerMode()
22922 struct sLOCSetLowPowerModeRequest_EnableLPM
22923 {
22924 INT8 mEnableLowPowerMode;
22925 };
22926
22927 // Structure to describe indication TLV 0x10 for LOC GetLowPowerModeIndication
22928 struct sLOCGetLowPowerModeIndication_EnableLPM
22929 {
22930 INT8 mEnableLowPowerMode;
22931 };
22932
22933 // Structure to describe request TLV 0x01 for LOCSetLocationServer()
22934 struct sLOCSetLocationServerRequest_ServerType
22935 {
22936 eQMILOCLocationServerType mServerType;
22937 };
22938
22939 // Structure to describe request TLV 0x10 for LOCSetLocationServer()
22940 struct sLOCSetLocationServerRequest_IPv4Address
22941 {
22942 UINT32 mIPv4Address;
22943 UINT16 mIPv4Port;
22944 };
22945
22946 // Structure to describe request TLV 0x11 for LOCSetLocationServer()
22947 struct sLOCSetLocationServerRequest_IPv6Address
22948 {
22949 UINT8 mIPv6Address[16];
22950 UINT32 mIPv6Port;
22951 };
22952
22953 // Structure to describe request TLV 0x12 for LOCSetLocationServer()
22954 struct sLOCSetLocationServerRequest_URLAddress
22955 {
22956 // String is variable length, but must be size of the container
22957 // char mURLAddress[1];
22958 };
22959
22960 // Structure to describe request TLV 0x01 for LOCGetLocationServer()
22961 struct sLOCGetLocationServerRequest_ServerType
22962 {
22963 eQMILOCLocationServerType mServerType;
22964 };
22965
22966 // Structure to describe request TLV 0x10 for LOCGetLocationServer()
22967 struct sLOCGetLocationServerRequest_AddressType
22968 {
22969 bool mIPv4:1;
22970 bool mIPv6:1;
22971 bool mURL:1;
22972
22973 // Padding out 5 bits
22974 UINT8 mReserved1:5;
22975 };
22976
22977 // Structure to describe indication TLV 0x10 for LOC GetLocationServerIndication
22978 struct sLOCGetLocationServerIndication_IPv4Address
22979 {
22980 UINT32 mIPv4Address;
22981 UINT16 mIPv4Port;
22982 };
22983
22984 // Structure to describe indication TLV 0x11 for LOC GetLocationServerIndication
22985 struct sLOCGetLocationServerIndication_IPv6Address
22986 {
22987 UINT8 mIPv6Address[16];
22988 UINT32 mIPv6Port;
22989 };
22990
22991 // Structure to describe indication TLV 0x12 for LOC GetLocationServerIndication
22992 struct sLOCGetLocationServerIndication_URLAddress
22993 {
22994 // String is variable length, but must be size of the container
22995 // char mURLAddress[1];
22996 };
22997
22998 // Structure to describe request TLV 0x01 for LOCDeleteAssistData()
22999 struct sLOCDeleteAssistDataRequest_DeleteAll
23000 {
23001 INT8 mDeleteAll;
23002 };
23003
23004 // Structure to describe request TLV 0x10 for LOCDeleteAssistData()
23005 struct sLOCDeleteAssistDataRequest_DeleteSatelliteInfo
23006 {
23007 UINT8 mSatelliteInfoCount;
23008
23009 struct sSatelliteInfo
23010 {
23011 UINT16 mGNSSSatelliteID;
23012 eQMILOCSystem mSystem;
23013 bool mDeleteEphemeris:1;
23014 bool mDeleteAlmanac:1;
23015
23016 // Padding out 6 bits
23017 UINT8 mReserved1:6;
23018 };
23019
23020 // This array must be the size specified by mSatelliteInfoCount
23021 // sSatelliteInfo mSatelliteInfos[1];
23022 };
23023
23024 // Structure to describe request TLV 0x11 for LOCDeleteAssistData()
23025 struct sLOCDeleteAssistDataRequest_DeleteGNSData
23026 {
23027 bool mDeleteGPSSatelliteDirectory:1;
23028 bool mDeleteGPSSatelliteSteering:1;
23029 bool mDeleteGPSTime:1;
23030 bool mDeleteGPSAlmanacCorrection:1;
23031 bool mDeleteGLOSatelliteDirectory:1;
23032 bool mDeleteGLOSatelliteSteering:1;
23033 bool mDeleteGLOTime:1;
23034 bool mDeleteGLOAlmanacCorrection:1;
23035 bool mDeleteSBASSatelliteDirectory:1;
23036 bool mDeleteSBASSatelliteSteering:1;
23037 bool mDeletePosition:1;
23038 bool mDeleteTime:1;
23039 bool mDeleteIONO:1;
23040 bool mDeleteUTCTimestamp:1;
23041 bool mDeleteHealth:1;
23042 bool mDeleteSAData:1;
23043 bool mDeleteRTI:1;
23044 bool mDeleteSatelliteNoExist:1;
23045 bool mDeleteFrequencyBiasEstimate:1;
23046
23047 // Padding out 45 bits
23048 UINT8 mReserved1:5;
23049 UINT8 mReserved2[5];
23050 };
23051
23052 // Structure to describe request TLV 0x12 for LOCDeleteAssistData()
23053 struct sLOCDeleteAssistDataRequest_DeleteCellDatabase
23054 {
23055 bool mDeletePosition:1;
23056 bool mDeleteLatestGPSPosition:1;
23057 bool mDeleteOTAPosition:1;
23058 bool mDeleteEXTReferencePosition:1;
23059 bool mDeleteTimeTag:1;
23060 bool mDeleteCellID:1;
23061 bool mDeleteCachedCellID:1;
23062 bool mDeleteLastServerCell:1;
23063 bool mDeleteCurrentServerCell:1;
23064 bool mDeleteNeighborInfo:1;
23065
23066 // Padding out 22 bits
23067 UINT8 mReserved1:6;
23068 UINT8 mReserved2[2];
23069 };
23070
23071 // Structure to describe request TLV 0x13 for LOCDeleteAssistData()
23072 struct sLOCDeleteAssistDataRequest_DeleteClockInfo
23073 {
23074 bool mDeleteTimeEstimate:1;
23075 bool mDeleteFrequencyEstimate:1;
23076 bool mDeleteWeekNumber:1;
23077 bool mDeleteRTCTime:1;
23078 bool mDeleteTimeTransfer:1;
23079 bool mDeleteGPSTimeEstimate:1;
23080 bool mDeleteGLOTimeEstimate:1;
23081 bool mDeleteGLODayNumber:1;
23082 bool mDeleteGLOYearNumber:1;
23083 bool mDeleteGLORFGroupDelay:1;
23084 bool mDeleteDisableTT:1;
23085
23086 // Padding out 21 bits
23087 UINT8 mReserved1:5;
23088 UINT8 mReserved2[2];
23089 };
23090
23091 // Structure to describe request TLV 0x01 for LOCSetXTRATSessionControl()
23092 struct sLOCSetXTRATSessionControlRequest_EnableXTRAT
23093 {
23094 INT8 mEnableXTRAT;
23095 };
23096
23097 // Structure to describe indication TLV 0x10 for LOC GetXTRATSessionControlIndication
23098 struct sLOCGetXTRATSessionControlIndication_EnableXTRAT
23099 {
23100 INT8 mEnableXTRAT;
23101 };
23102
23103 // Structure to describe request TLV 0x10 for LOCInjectWiFiPosition()
23104 struct sLOCInjectWiFiPositionRequest_Time
23105 {
23106 UINT32 mWiFiPositionTime;
23107 };
23108
23109 // Structure to describe request TLV 0x11 for LOCInjectWiFiPosition()
23110 struct sLOCInjectWiFiPositionRequest_WiFiPosition
23111 {
23112 double mLatitudeDegrees;
23113 double mLongitudeDegrees;
23114 UINT16 mHEPEMeters;
23115 UINT8 mNumberOfAccessPointsUsed;
23116 eQMILOCWiFiFixErrorCode mFixErrorCode;
23117 };
23118
23119 // Structure to describe request TLV 0x12 for LOCInjectWiFiPosition()
23120 struct sLOCInjectWiFiPositionRequest_AccessPointInformation
23121 {
23122 UINT8 mNumberOfAccessPoints;
23123
23124 struct sAccessPointInfo
23125 {
23126 UINT8 mMACAddress[6];
23127 INT32 mRSSIdBm;
23128 UINT16 mChannel;
23129 bool mBeingUsed:1;
23130 bool mHiddenSSID:1;
23131 bool mPrivate:1;
23132 bool mInfrastructureMode:1;
23133
23134 // Padding out 4 bits
23135 UINT8 mReserved1:4;
23136 };
23137
23138 // This array must be the size specified by mNumberOfAccessPoints
23139 // sAccessPointInfo mAccessPointInfos[1];
23140 };
23141
23142 // Structure to describe request TLV 0x13 for LOCInjectWiFiPosition()
23143 struct sLOCInjectWiFiPositionRequest_HorizontalReliability
23144 {
23145 eQMILOCReliability mHorizontalReliability;
23146 };
23147
23148 // Structure to describe request TLV 0x01 for LOCProvideWiFiStatus()
23149 struct sLOCProvideWiFiStatusRequest_WiFiStatus
23150 {
23151 eQMILOCWiFiStatus mWiFiStatus;
23152 };
23153
23154 // Structure to describe indication TLV 0x10 for LOC GetRegisteredEventsIndication
23155 struct sLOCGetRegisteredEventsIndication_RegistrationMask
23156 {
23157 bool mPositionReport:1;
23158 bool mGNSSSatelliteInfo:1;
23159 bool mNMEA:1;
23160 bool mNINotifyVerifyRequest:1;
23161 bool mInjectTimeRequest:1;
23162 bool mInjectPredictedOrbitsRequest:1;
23163 bool mInjectPositionRequest:1;
23164 bool mEngineState:1;
23165 bool mFixSessionState:1;
23166 bool mWiFiRequest:1;
23167 bool mSensorStreamingReadyStatus:1;
23168 bool mTimeSyncRequest:1;
23169 bool mSetSPIStreamingReport:1;
23170 bool mLocationServerConnectionRequest:1;
23171 bool mNIGeofenceNotification:1;
23172 bool mGeofenceGeneralAlert:1;
23173 bool mGeofenceBreachNotification:1;
23174
23175 // Padding out 47 bits
23176 UINT8 mReserved1:7;
23177 UINT8 mReserved2[5];
23178 };
23179
23180 // Structure to describe request TLV 0x01 for LOCSetOperationMode()
23181 struct sLOCSetOperationModeRequest_OperationMode
23182 {
23183 eQMILOCOperationMode mOperationMode;
23184 };
23185
23186 // Structure to describe indication TLV 0x10 for LOC GetOperationModeIndication
23187 struct sLOCGetOperationModeIndication_OperationMode
23188 {
23189 eQMILOCOperationMode mOperationMode;
23190 };
23191
23192 // Structure to describe request TLV 0x01 for LOCSetSPIStatus()
23193 struct sLOCSetSPIStatusRequest_StationaryStatus
23194 {
23195 INT8 mDeviceIsStationary;
23196 };
23197
23198 // Structure to describe request TLV 0x10 for LOCSetSPIStatus()
23199 struct sLOCSetSPIStatusRequest_Confidence
23200 {
23201 UINT8 mStationaryConfidence;
23202 };
23203
23204 // Structure to describe request TLV 0x10 for LOCInjectSensorData()
23205 struct sLOCInjectSensorDataRequest_OpaqueIdentifier
23206 {
23207 UINT32 mOpaqueIdentifier;
23208 };
23209
23210 // Structure to describe request TLV 0x11 for LOCInjectSensorData()
23211 struct sLOCInjectSensorDataRequest_AccelerometerData
23212 {
23213 UINT32 mTimeOfFirstSampleMilliseconds;
23214 bool mSignReversal:1;
23215 bool mSensorTimeIsModemTime:1;
23216
23217 // Padding out 6 bits
23218 UINT8 mReserved1:6;
23219
23220 UINT8 mSensorDataLength;
23221
23222 struct sSensorData
23223 {
23224 UINT16 mTimeOffsetMilliseconds;
23225 float mXAxis;
23226 float mYAxis;
23227 float mZAxis;
23228 };
23229
23230 // This array must be the size specified by mSensorDataLength
23231 // sSensorData mSensorDatas[1];
23232 };
23233
23234 // Structure to describe request TLV 0x12 for LOCInjectSensorData()
23235 struct sLOCInjectSensorDataRequest_GyrometerData
23236 {
23237 UINT32 mTimeOfFirstSampleMilliseconds;
23238 bool mSignReversal:1;
23239 bool mSensorTimeIsModemTime:1;
23240
23241 // Padding out 6 bits
23242 UINT8 mReserved1:6;
23243
23244 UINT8 mSensorDataLength;
23245
23246 struct sSensorData
23247 {
23248 UINT16 mTimeOffsetMilliseconds;
23249 float mXAxis;
23250 float mYAxis;
23251 float mZAxis;
23252 };
23253
23254 // This array must be the size specified by mSensorDataLength
23255 // sSensorData mSensorDatas[1];
23256 };
23257
23258 // Structure to describe indication TLV 0x10 for LOC InjectSensorDataIndication
23259 struct sLOCInjectSensorDataIndication_OpaqueIdentifier
23260 {
23261 UINT32 mOpaqueIdentifier;
23262 };
23263
23264 // Structure to describe indication TLV 0x11 for LOC InjectSensorDataIndication
23265 struct sLOCInjectSensorDataIndication_AccelerometerSampleAccepted
23266 {
23267 INT8 mAccelerometerSampleAccepted;
23268 };
23269
23270 // Structure to describe indication TLV 0x12 for LOC InjectSensorDataIndication
23271 struct sLOCInjectSensorDataIndication_GyrometerSamplesAccepted
23272 {
23273 INT8 mGyrometerSamplesAccepted;
23274 };
23275
23276 // Structure to describe request TLV 0x01 for LOCInjectTimeSyncData()
23277 struct sLOCInjectTimeSyncDataRequest_ReferenceCounter
23278 {
23279 UINT32 mReferenceCounter;
23280 };
23281
23282 // Structure to describe request TLV 0x03 for LOCInjectTimeSyncData()
23283 struct sLOCInjectTimeSyncDataRequest_SensorTransmitTime
23284 {
23285 UINT32 mProcessTXTimeMilliseconds;
23286 };
23287
23288 // Structure to describe request TLV 0x01 for LOCSetCradleMountConfig()
23289 struct sLOCSetCradleMountConfigRequest_State
23290 {
23291 eQMILOCCradleMountState mCradleMountState;
23292 };
23293
23294 // Structure to describe request TLV 0x10 for LOCSetCradleMountConfig()
23295 struct sLOCSetCradleMountConfigRequest_Confidence
23296 {
23297 UINT8 mCradleMountConfidence;
23298 };
23299
23300 // Structure to describe indication TLV 0x10 for LOC GetCradleMountConfigIndication
23301 struct sLOCGetCradleMountConfigIndication_State
23302 {
23303 eQMILOCCradleMountState mCradleMountState;
23304 };
23305
23306 // Structure to describe indication TLV 0x11 for LOC GetCradleMountConfigIndication
23307 struct sLOCGetCradleMountConfigIndication_Confidence
23308 {
23309 UINT8 mCradleMountConfidence;
23310 };
23311
23312 // Structure to describe request TLV 0x01 for LOCSetExternalPowerConfig()
23313 struct sLOCSetExternalPowerConfigRequest_PowerState
23314 {
23315 eQMILOCPowerState mPowerState;
23316 };
23317
23318 // Structure to describe indication TLV 0x10 for LOC GetExternalPowerConfigIndication
23319 struct sLOCGetExternalPowerConfigIndication_PowerState
23320 {
23321 eQMILOCPowerState mPowerState;
23322 };
23323
23324 // Structure to describe request TLV 0x01 for LOCProvideConnectionStatus()
23325 struct sLOCProvideConnectionStatusRequest_ConnectionHandle
23326 {
23327 UINT32 mConnectionHandle;
23328 };
23329
23330 // Structure to describe request TLV 0x03 for LOCProvideConnectionStatus()
23331 struct sLOCProvideConnectionStatusRequest_ConnectionStatus
23332 {
23333 eQMILOCConnectionStatus mConnectionStatus;
23334 };
23335
23336 // Structure to describe request TLV 0x10 for LOCProvideConnectionStatus()
23337 struct sLOCProvideConnectionStatusRequest_APNProfile
23338 {
23339 eQMILOCPDNType mPDNType;
23340 UINT8 mAPNNameLength;
23341
23342 // This array must be the size specified by mAPNNameLength
23343 // char mAPNName[1];
23344 };
23345
23346 // Structure to describe request TLV 0x10 for LOCSetProtocolConfigParameters()
23347 struct sLOCSetProtocolConfigParametersRequest_SUPLSecurity
23348 {
23349 INT8 mSUPLSecurityEnabled;
23350 };
23351
23352 // Structure to describe request TLV 0x11 for LOCSetProtocolConfigParameters()
23353 struct sLOCSetProtocolConfigParametersRequest_VXVersion
23354 {
23355 eQMILOCVXVersion mVXVersion;
23356 };
23357
23358 // Structure to describe request TLV 0x12 for LOCSetProtocolConfigParameters()
23359 struct sLOCSetProtocolConfigParametersRequest_SUPLVersion
23360 {
23361 eQMILOCSUPLVersion mSUPLVersion;
23362 };
23363
23364 // Structure to describe request TLV 0x13 for LOCSetProtocolConfigParameters()
23365 struct sLOCSetProtocolConfigParametersRequest_LPPConfiguration
23366 {
23367 bool mEnableUserPlane:1;
23368 bool mEnableControlPlane:1;
23369
23370 // Padding out 30 bits
23371 UINT8 mReserved1:6;
23372 UINT8 mReserved2[3];
23373 };
23374
23375 // Structure to describe indication TLV 0x10 for LOC SetProtocolConfigParametersIndication
23376 struct sLOCSetProtocolConfigParametersIndication_FailedParameters
23377 {
23378 bool mSUPLSecurity:1;
23379 bool mVXVersion:1;
23380 bool mSUPLVersion:1;
23381
23382 // Padding out 61 bits
23383 UINT8 mReserved1:5;
23384 UINT8 mReserved2[7];
23385 };
23386
23387 // Structure to describe request TLV 0x01 for LOCGetProtocolConfigParameters()
23388 struct sLOCGetProtocolConfigParametersRequest_ConfigParameters
23389 {
23390 bool mSUPLSecurity:1;
23391 bool mVXVersion:1;
23392 bool mSUPLVersion:1;
23393
23394 // Padding out 61 bits
23395 UINT8 mReserved1:5;
23396 UINT8 mReserved2[7];
23397 };
23398
23399 // Structure to describe indication TLV 0x10 for LOC GetProtocolConfigParametersIndication
23400 struct sLOCGetProtocolConfigParametersIndication_SUPLSecurity
23401 {
23402 INT8 mSUPLSecurityEnabled;
23403 };
23404
23405 // Structure to describe indication TLV 0x11 for LOC GetProtocolConfigParametersIndication
23406 struct sLOCGetProtocolConfigParametersIndication_VXVersion
23407 {
23408 eQMILOCVXVersion mVXVersion;
23409 };
23410
23411 // Structure to describe indication TLV 0x12 for LOC GetProtocolConfigParametersIndication
23412 struct sLOCGetProtocolConfigParametersIndication_SUPLVersion
23413 {
23414 eQMILOCSUPLVersion mSUPLVersion;
23415 };
23416
23417 // Structure to describe indication TLV 0x13 for LOC GetProtocolConfigParametersIndication
23418 struct sLOCGetProtocolConfigParametersIndication_LPPConfiguration
23419 {
23420 bool mEnableUserPlane:1;
23421 bool mEnableControlPlane:1;
23422
23423 // Padding out 30 bits
23424 UINT8 mReserved1:6;
23425 UINT8 mReserved2[3];
23426 };
23427
23428 // Structure to describe request TLV 0x10 for LOCSetSensorControlConfig()
23429 struct sLOCSetSensorControlConfigRequest_SensorUsage
23430 {
23431 eQMILOCSensorUsage mSensorUsage;
23432 };
23433
23434 // Structure to describe indication TLV 0x10 for LOC GetSensorControlConfigIndication
23435 struct sLOCGetSensorControlConfigIndication_SensorUsage
23436 {
23437 eQMILOCSensorUsage mSensorUsage;
23438 };
23439
23440 // Structure to describe request TLV 0x10 for LOCSetSensorProperties()
23441 struct sLOCSetSensorPropertiesRequest_GyroBiasVariance
23442 {
23443 float mGyroBiasVariance;
23444 };
23445
23446 // Structure to describe request TLV 0x11 for LOCSetSensorProperties()
23447 struct sLOCSetSensorPropertiesRequest_VelocityRWSD
23448 {
23449 float mVelocityRandomWalkSpectralDensity;
23450 };
23451
23452 // Structure to describe request TLV 0x12 for LOCSetSensorProperties()
23453 struct sLOCSetSensorPropertiesRequest_AccelerationRWSD
23454 {
23455 float mAccelerationRandomWalkSpectralDensity;
23456 };
23457
23458 // Structure to describe request TLV 0x13 for LOCSetSensorProperties()
23459 struct sLOCSetSensorPropertiesRequest_AngleRWSD
23460 {
23461 float mAngleRandomWalkSpectralDensity;
23462 };
23463
23464 // Structure to describe request TLV 0x14 for LOCSetSensorProperties()
23465 struct sLOCSetSensorPropertiesRequest_RateRWSD
23466 {
23467 float mRateRandomWalkSpectralDensity;
23468 };
23469
23470 // Structure to describe indication TLV 0x10 for LOC SetSensorPropertiesIndication
23471 struct sLOCSetSensorPropertiesIndication_Failures
23472 {
23473 bool mGyroBiasVariance:1;
23474 bool mVelocityRandomWalkSpectralDensity:1;
23475 bool mAccelerationRandomWalkSpectralDensity:1;
23476 bool mAngleRandomWalkSpectralDensity:1;
23477 bool mRateRandomWalkSpectralDensity:1;
23478
23479 // Padding out 27 bits
23480 UINT8 mReserved1:3;
23481 UINT8 mReserved2[3];
23482 };
23483
23484 // Structure to describe request TLV 0x01 for LOCGetSensorProperties()
23485 struct sLOCGetSensorPropertiesRequest_Properties
23486 {
23487 bool mGyroBiasVariance:1;
23488 bool mVelocityRandomWalkSpectralDensity:1;
23489 bool mAccelerationRandomWalkSpectralDensity:1;
23490 bool mAngleRandomWalkSpectralDensity:1;
23491 bool mRateRandomWalkSpectralDensity:1;
23492
23493 // Padding out 27 bits
23494 UINT8 mReserved1:3;
23495 UINT8 mReserved2[3];
23496 };
23497
23498 // Structure to describe indication TLV 0x10 for LOC GetSensorPropertiesIndication
23499 struct sLOCGetSensorPropertiesIndication_GyroBiasVariance
23500 {
23501 float mGyroBiasVariance;
23502 };
23503
23504 // Structure to describe indication TLV 0x11 for LOC GetSensorPropertiesIndication
23505 struct sLOCGetSensorPropertiesIndication_VelocityRWSD
23506 {
23507 float mVelocityRandomWalkSpectralDensity;
23508 };
23509
23510 // Structure to describe indication TLV 0x12 for LOC GetSensorPropertiesIndication
23511 struct sLOCGetSensorPropertiesIndication_AccelerationRWSD
23512 {
23513 float mAccelerationRandomWalkSpectralDensity;
23514 };
23515
23516 // Structure to describe indication TLV 0x13 for LOC GetSensorPropertiesIndication
23517 struct sLOCGetSensorPropertiesIndication_AngleRWSD
23518 {
23519 float mAngleRandomWalkSpectralDensity;
23520 };
23521
23522 // Structure to describe indication TLV 0x14 for LOC GetSensorPropertiesIndication
23523 struct sLOCGetSensorPropertiesIndication_RateRWSD
23524 {
23525 float mRateRandomWalkSpectralDensity;
23526 };
23527
23528 // Structure to describe request TLV 0x10 for LOCSetSensorPerformanceConfig()
23529 struct sLOCSetSensorPerformanceConfigRequest_ControlMode
23530 {
23531 eQMILOCControlMode mControlMode;
23532 };
23533
23534 // Structure to describe request TLV 0x11 for LOCSetSensorPerformanceConfig()
23535 struct sLOCSetSensorPerformanceConfigRequest_AccelerometerSampling
23536 {
23537 UINT16 mSamplesPerBatch;
23538 UINT16 mBatchesPerSecond;
23539 };
23540
23541 // Structure to describe request TLV 0x12 for LOCSetSensorPerformanceConfig()
23542 struct sLOCSetSensorPerformanceConfigRequest_GyrometerSampling
23543 {
23544 UINT16 mSamplesPerBatch;
23545 UINT16 mBatchesPerSecond;
23546 };
23547
23548 // Structure to describe request TLV 0x13 for LOCSetSensorPerformanceConfig()
23549 struct sLOCSetSensorPerformanceConfigRequest_AlgorithmConfig
23550 {
23551 bool mDisableINSPositioningFilter:1;
23552
23553 // Padding out 31 bits
23554 UINT8 mReserved1:7;
23555 UINT8 mReserved2[3];
23556 };
23557
23558 // Structure to describe indication TLV 0x10 for LOC SetSensorPerformanceConfigIndication
23559 struct sLOCSetSensorPerformanceConfigIndication_FailedConfiguration
23560 {
23561 bool mPerformanceMode:1;
23562 bool mAccelerometerSampling:1;
23563 bool mGyrometerSampling:1;
23564 bool mAlgorithmConfig:1;
23565
23566 // Padding out 28 bits
23567 UINT8 mReserved1:4;
23568 UINT8 mReserved2[3];
23569 };
23570
23571 // Structure to describe indication TLV 0x10 for LOC GetSensorPerformanceConfigIndication
23572 struct sLOCGetSensorPerformanceConfigIndication_ControlMode
23573 {
23574 eQMILOCControlMode mControlMode;
23575 };
23576
23577 // Structure to describe indication TLV 0x11 for LOC GetSensorPerformanceConfigIndication
23578 struct sLOCGetSensorPerformanceConfigIndication_AccelerometerSampling
23579 {
23580 UINT16 mSamplesPerBatch;
23581 UINT16 mBatchesPerSecond;
23582 };
23583
23584 // Structure to describe indication TLV 0x12 for LOC GetSensorPerformanceConfigIndication
23585 struct sLOCGetSensorPerformanceConfigIndication_GyrometerSampling
23586 {
23587 UINT16 mSamplesPerBatch;
23588 UINT16 mBatchesPerSecond;
23589 };
23590
23591 // Structure to describe indication TLV 0x13 for LOC GetSensorPerformanceConfigIndication
23592 struct sLOCGetSensorPerformanceConfigIndication_AlgorithmConfig
23593 {
23594 bool mDisableINSPositioningFilter:1;
23595
23596 // Padding out 31 bits
23597 UINT8 mReserved1:7;
23598 UINT8 mReserved2[3];
23599 };
23600
23601 // Structure to describe request TLV 0x01 for LOCInjectSUPLCertificate()
23602 struct sLOCInjectSUPLCertificateRequest_ID
23603 {
23604 UINT8 mSUPLCertificateID;
23605 };
23606
23607 // Structure to describe request TLV 0x10 for LOCDeleteSUPLCertificate()
23608 struct sLOCDeleteSUPLCertificateRequest_ID
23609 {
23610 UINT8 mSUPLCertificateID;
23611 };
23612
23613 // Structure to describe request TLV 0x10 for LOCSetPositionEngineConfig()
23614 struct sLOCSetPositionEngineConfigRequest_InjectedPosition
23615 {
23616 INT8 mUseInjectedPositionInCalculations;
23617 };
23618
23619 // Structure to describe request TLV 0x11 for LOCSetPositionEngineConfig()
23620 struct sLOCSetPositionEngineConfigRequest_FilterSVUsage
23621 {
23622 INT8 mFilterUsageOfSVs;
23623 };
23624
23625 // Structure to describe request TLV 0x12 for LOCSetPositionEngineConfig()
23626 struct sLOCSetPositionEngineConfigRequest_StoreAssistData
23627 {
23628 INT8 mStoreAssistanceData;
23629 };
23630
23631 // Structure to describe indication TLV 0x10 for LOC SetPositionEngineConfigIndication
23632 struct sLOCSetPositionEngineConfigIndication_FailedParameters
23633 {
23634 bool mInjectedPosition:1;
23635 bool mFilterSVUsage:1;
23636 bool mStoreAssistData:1;
23637
23638 // Padding out 29 bits
23639 UINT8 mReserved1:5;
23640 UINT8 mReserved2[3];
23641 };
23642
23643 // Structure to describe request TLV 0x01 for LOCGetPositionEngineConfig()
23644 struct sLOCGetPositionEngineConfigRequest_Parameters
23645 {
23646 bool mInjectedPosition:1;
23647 bool mFilterSVUsage:1;
23648 bool mStoreAssistData:1;
23649
23650 // Padding out 29 bits
23651 UINT8 mReserved1:5;
23652 UINT8 mReserved2[3];
23653 };
23654
23655 // Structure to describe indication TLV 0x10 for LOC GetPositionEngineConfigIndication
23656 struct sLOCGetPositionEngineConfigIndication_InjectedPosition
23657 {
23658 INT8 mUseInjectedPositionInCalculations;
23659 };
23660
23661 // Structure to describe indication TLV 0x11 for LOC GetPositionEngineConfigIndication
23662 struct sLOCGetPositionEngineConfigIndication_FilterSVUsage
23663 {
23664 INT8 mFilterUsageOfSVs;
23665 };
23666
23667 // Structure to describe indication TLV 0x12 for LOC GetPositionEngineConfigIndication
23668 struct sLOCGetPositionEngineConfigIndication_StoreAssistData
23669 {
23670 INT8 mStoreAssistanceData;
23671 };
23672
23673 // Structure to describe indication TLV 0x01 for LOC NetworkInitiatedGeofenceIndication
23674 struct sLOCNetworkInitiatedGeofenceIndication_GeofenceID
23675 {
23676 UINT32 mGeofenceID;
23677 };
23678
23679 // Structure to describe indication TLV 0x01 for LOC EventGeofenceGeneralAlertIndication
23680 struct sLOCEventGeofenceGeneralAlertIndication_GeofenceGeneralAlert
23681 {
23682 eQMILOCGeofenceGeneralAlert mGeofenceGeneralAlert;
23683 };
23684
23685 // Structure to describe indication TLV 0x01 for LOC EventGeofenceBreachIndication
23686 struct sLOCEventGeofenceBreachIndication_GeofenceID
23687 {
23688 UINT32 mGeofenceID;
23689 };
23690
23691 // Structure to describe indication TLV 0x10 for LOC EventGeofenceBreachIndication
23692 struct sLOCEventGeofenceBreachIndication_GeofencePosition
23693 {
23694 UINT64 mUTCTimestampMilliseconds;
23695 double mLatitudeDegrees;
23696 double mLongitudeDegrees;
23697 float mHorizontalUncertaintyEllipticalMinorMeters;
23698 float mHorizontalUncertaintyEllipticalMajorMeters;
23699 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
23700 INT8 mHorizontalSpeedValid;
23701 float mHorizontalSpeedMetersSecond;
23702 INT8 mAltitudeEllipsoidValid;
23703 float mAltitudeFromEllipsoidMeters;
23704 INT8 mVerticalUncertaintyValid;
23705 float mVerticalUncertaintyMeters;
23706 INT8 mVerticalSpeedValid;
23707 float mVerticalSpeedMetersSecond;
23708 INT8 mHeadingValid;
23709 float mHeadingDegrees;
23710 };
23711
23712 // Structure to describe request TLV 0x01 for LOCAddCircularGeofence()
23713 struct sLOCAddCircularGeofenceRequest_TransactionID
23714 {
23715 UINT32 mTransactionID;
23716 };
23717
23718 // Structure to describe request TLV 0x03 for LOCAddCircularGeofence()
23719 struct sLOCAddCircularGeofenceRequest_BreachEventMask
23720 {
23721 bool mEnteringGeofence:1;
23722 bool mLeavingGeofence:1;
23723
23724 // Padding out 6 bits
23725 UINT8 mReserved1:6;
23726 };
23727
23728 // Structure to describe request TLV 0x04 for LOCAddCircularGeofence()
23729 struct sLOCAddCircularGeofenceRequest_IncludePositionInBreachEvent
23730 {
23731 INT8 mIncludePositionInBreachEvent;
23732 };
23733
23734 // Structure to describe request TLV 0x10 for LOCAddCircularGeofence()
23735 struct sLOCAddCircularGeofenceRequest_Responsiveness
23736 {
23737 eQMILOCResponsiveness mResponsiveness;
23738 };
23739
23740 // Structure to describe request TLV 0x11 for LOCAddCircularGeofence()
23741 struct sLOCAddCircularGeofenceRequest_Confidence
23742 {
23743 eQMILOCConfidence mConfidence;
23744 };
23745
23746 // Structure to describe indication TLV 0x01 for LOC AddCircularGeofenceIndication
23747 struct sLOCAddCircularGeofenceIndication_GeofenceStatus
23748 {
23749 eQMILOCGeofenceStatus mGeofenceStatus;
23750 };
23751
23752 // Structure to describe indication TLV 0x10 for LOC AddCircularGeofenceIndication
23753 struct sLOCAddCircularGeofenceIndication_TransactionID
23754 {
23755 UINT32 mTransactionID;
23756 };
23757
23758 // Structure to describe indication TLV 0x11 for LOC AddCircularGeofenceIndication
23759 struct sLOCAddCircularGeofenceIndication_GeofenceID
23760 {
23761 UINT32 mGeofenceID;
23762 };
23763
23764 // Structure to describe request TLV 0x01 for LOCDeleteGeofence()
23765 struct sLOCDeleteGeofenceRequest_GeofenceID
23766 {
23767 UINT32 mGeofenceID;
23768 };
23769
23770 // Structure to describe indication TLV 0x01 for LOC DeleteGeofenceIndication
23771 struct sLOCDeleteGeofenceIndication_GeofenceStatus
23772 {
23773 eQMILOCGeofenceStatus mGeofenceStatus;
23774 };
23775
23776 // Structure to describe indication TLV 0x10 for LOC DeleteGeofenceIndication
23777 struct sLOCDeleteGeofenceIndication_GeofenceID
23778 {
23779 UINT32 mGeofenceID;
23780 };
23781
23782 // Structure to describe indication TLV 0x11 for LOC DeleteGeofenceIndication
23783 struct sLOCDeleteGeofenceIndication_TransactionID
23784 {
23785 UINT32 mTransactionID;
23786 };
23787
23788 // Structure to describe request TLV 0x01 for LOCQueryGeofence()
23789 struct sLOCQueryGeofenceRequest_GeofenceID
23790 {
23791 UINT32 mGeofenceID;
23792 };
23793
23794 // Structure to describe indication TLV 0x01 for LOC QueryGeofenceIndication
23795 struct sLOCQueryGeofenceIndication_Status
23796 {
23797 eQMILOCGeofenceStatus mGeofenceStatus;
23798 };
23799
23800 // Structure to describe indication TLV 0x10 for LOC QueryGeofenceIndication
23801 struct sLOCQueryGeofenceIndication_GeofenceID
23802 {
23803 UINT32 mGeofenceID;
23804 };
23805
23806 // Structure to describe indication TLV 0x11 for LOC QueryGeofenceIndication
23807 struct sLOCQueryGeofenceIndication_TransactionID
23808 {
23809 UINT32 mTransactionID;
23810 };
23811
23812 // Structure to describe indication TLV 0x12 for LOC QueryGeofenceIndication
23813 struct sLOCQueryGeofenceIndication_Origin
23814 {
23815 eQMILOCGeofenceOrigin mGeofenceOrigin;
23816 };
23817
23818 // Structure to describe indication TLV 0x13 for LOC QueryGeofenceIndication
23819 struct sLOCQueryGeofenceIndication_PositionFromGeofence
23820 {
23821 eQMILOCPositionFromGeofence mPositionFromGeofence;
23822 };
23823
23824 // Structure to describe indication TLV 0x14 for LOC QueryGeofenceIndication
23825 struct sLOCQueryGeofenceIndication_Parameters
23826 {
23827 double mLatitudeDegrees;
23828 double mLongitudeDegrees;
23829 UINT32 mRadiusMeters;
23830 };
23831
23832 // Structure to describe indication TLV 0x15 for LOC QueryGeofenceIndication
23833 struct sLOCQueryGeofenceIndication_State
23834 {
23835 eQMILOCGeofenceState mGeofenceState;
23836 };
23837
23838 // Structure to describe request TLV 0x01 for LOCEditGeofence()
23839 struct sLOCEditGeofenceRequest_GeofenceID
23840 {
23841 UINT32 mGeofenceID;
23842 };
23843
23844 // Structure to describe request TLV 0x10 for LOCEditGeofence()
23845 struct sLOCEditGeofenceRequest_State
23846 {
23847 eQMILOCGeofenceState mGeofenceState;
23848 };
23849
23850 // Structure to describe request TLV 0x11 for LOCEditGeofence()
23851 struct sLOCEditGeofenceRequest_BreachEventMask
23852 {
23853 bool mEnteringGeofence:1;
23854 bool mLeavingGeofence:1;
23855
23856 // Padding out 6 bits
23857 UINT8 mReserved1:6;
23858 };
23859
23860 // Structure to describe indication TLV 0x01 for LOC EditGeofenceIndication
23861 struct sLOCEditGeofenceIndication_Status
23862 {
23863 eQMILOCGeofenceStatus mGeofenceStatus;
23864 };
23865
23866 // Structure to describe indication TLV 0x10 for LOC EditGeofenceIndication
23867 struct sLOCEditGeofenceIndication_GeofenceID
23868 {
23869 UINT32 mGeofenceID;
23870 };
23871
23872 // Structure to describe indication TLV 0x11 for LOC EditGeofenceIndication
23873 struct sLOCEditGeofenceIndication_TransactionID
23874 {
23875 UINT32 mTransactionID;
23876 };
23877
23878 // Structure to describe indication TLV 0x12 for LOC EditGeofenceIndication
23879 struct sLOCEditGeofenceIndication_FailedParameters
23880 {
23881 bool mGeofenceState:1;
23882 bool mBreachMask:1;
23883
23884 // Padding out 30 bits
23885 UINT8 mReserved1:6;
23886 UINT8 mReserved2[3];
23887 };
23888
23889 // Structure to describe request TLV 0x01 for LOCGetBestAvailablePosition()
23890 struct sLOCGetBestAvailablePositionRequest_TransactionID
23891 {
23892 UINT32 mTransactionID;
23893 };
23894
23895 // Structure to describe indication TLV 0x01 for LOC GetBestAvailablePositionIndication
23896 struct sLOCGetBestAvailablePositionIndication_Status
23897 {
23898 eQMILOCGeofenceStatus mGeofenceStatus;
23899 };
23900
23901 // Structure to describe indication TLV 0x10 for LOC GetBestAvailablePositionIndication
23902 struct sLOCGetBestAvailablePositionIndication_TransactionID
23903 {
23904 UINT32 mTransactionID;
23905 };
23906
23907 // Structure to describe indication TLV 0x11 for LOC GetBestAvailablePositionIndication
23908 struct sLOCGetBestAvailablePositionIndication_Latitude
23909 {
23910 double mLatitudeDegrees;
23911 };
23912
23913 // Structure to describe indication TLV 0x12 for LOC GetBestAvailablePositionIndication
23914 struct sLOCGetBestAvailablePositionIndication_Longitude
23915 {
23916 double mLongitudeDegrees;
23917 };
23918
23919 // Structure to describe indication TLV 0x13 for LOC GetBestAvailablePositionIndication
23920 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyCircular
23921 {
23922 float mHorizontalUncertaintyCircularMeters;
23923 };
23924
23925 // Structure to describe indication TLV 0x14 for LOC GetBestAvailablePositionIndication
23926 struct sLOCGetBestAvailablePositionIndication_AltitudeFromEllipsoid
23927 {
23928 float mAltitudeFromEllipsoidMeters;
23929 };
23930
23931 // Structure to describe indication TLV 0x15 for LOC GetBestAvailablePositionIndication
23932 struct sLOCGetBestAvailablePositionIndication_VerticalUncertainty
23933 {
23934 float mVerticalUncertaintyMeters;
23935 };
23936
23937 // Structure to describe indication TLV 0x16 for LOC GetBestAvailablePositionIndication
23938 struct sLOCGetBestAvailablePositionIndication_UTCTimestamp
23939 {
23940 UINT64 mUTCTimestampMilliseconds;
23941 };
23942
23943 // Structure to describe indication TLV 0x17 for LOC GetBestAvailablePositionIndication
23944 struct sLOCGetBestAvailablePositionIndication_TimeUncertainty
23945 {
23946 float mTimeUncertaintyMilliseconds;
23947 };
23948
23949 // Structure to describe indication TLV 0x18 for LOC GetBestAvailablePositionIndication
23950 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalMinor
23951 {
23952 float mHorizontalUncertaintyEllipticalMinorMeters;
23953 };
23954
23955 // Structure to describe indication TLV 0x19 for LOC GetBestAvailablePositionIndication
23956 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalMajor
23957 {
23958 float mHorizontalUncertaintyEllipticalMajorMeters;
23959 };
23960
23961 // Structure to describe indication TLV 0x1A for LOC GetBestAvailablePositionIndication
23962 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalAzimuth
23963 {
23964 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
23965 };
23966
23967 // Structure to describe indication TLV 0x1B for LOC GetBestAvailablePositionIndication
23968 struct sLOCGetBestAvailablePositionIndication_HorizontalConfidenceCircular
23969 {
23970 UINT8 mHorizontalConfidencePercent;
23971 };
23972
23973 // Structure to describe indication TLV 0x1C for LOC GetBestAvailablePositionIndication
23974 struct sLOCGetBestAvailablePositionIndication_HorizontalConfidenceElliptical
23975 {
23976 UINT8 mHorizontalConfidencePercent;
23977 };
23978
23979 // Structure to describe indication TLV 0x1D for LOC GetBestAvailablePositionIndication
23980 struct sLOCGetBestAvailablePositionIndication_HorizontalReliablility
23981 {
23982 eQMILOCReliability mHorizontalReliability;
23983 };
23984
23985 // Structure to describe indication TLV 0x1E for LOC GetBestAvailablePositionIndication
23986 struct sLOCGetBestAvailablePositionIndication_HorizontalSpeed
23987 {
23988 float mHorizontalSpeedMetersSecond;
23989 };
23990
23991 // Structure to describe indication TLV 0x1F for LOC GetBestAvailablePositionIndication
23992 struct sLOCGetBestAvailablePositionIndication_HorizontalSpeedUncertainty
23993 {
23994 float mSpeedUncertaintyMetersSecond;
23995 };
23996
23997 // Structure to describe indication TLV 0x20 for LOC GetBestAvailablePositionIndication
23998 struct sLOCGetBestAvailablePositionIndication_AltitudeFromSeaLevel
23999 {
24000 float mAltitudeFromSeaLevelMeters;
24001 };
24002
24003 // Structure to describe indication TLV 0x21 for LOC GetBestAvailablePositionIndication
24004 struct sLOCGetBestAvailablePositionIndication_VerticalConfidence
24005 {
24006 UINT8 mVerticalConfidencePercent;
24007 };
24008
24009 // Structure to describe indication TLV 0x22 for LOC GetBestAvailablePositionIndication
24010 struct sLOCGetBestAvailablePositionIndication_VerticalReliability
24011 {
24012 eQMILOCReliability mVerticalReliability;
24013 };
24014
24015 // Structure to describe indication TLV 0x23 for LOC GetBestAvailablePositionIndication
24016 struct sLOCGetBestAvailablePositionIndication_VerticalSpeed
24017 {
24018 float mVerticalSpeedMetersSecond;
24019 };
24020
24021 // Structure to describe indication TLV 0x24 for LOC GetBestAvailablePositionIndication
24022 struct sLOCGetBestAvailablePositionIndication_VerticalSpeedUncertainty
24023 {
24024 float mSpeedUncertaintyMetersSecond;
24025 };
24026
24027 // Structure to describe indication TLV 0x25 for LOC GetBestAvailablePositionIndication
24028 struct sLOCGetBestAvailablePositionIndication_Heading
24029 {
24030 float mHeadingDegrees;
24031 };
24032
24033 // Structure to describe indication TLV 0x26 for LOC GetBestAvailablePositionIndication
24034 struct sLOCGetBestAvailablePositionIndication_HeadingUncertainty
24035 {
24036 float mHeadingUncertaintyDegrees;
24037 };
24038
24039 // Structure to describe indication TLV 0x27 for LOC GetBestAvailablePositionIndication
24040 struct sLOCGetBestAvailablePositionIndication_MagneticDeviation
24041 {
24042 float mMagneticDeviation;
24043 };
24044
24045 // Structure to describe indication TLV 0x28 for LOC GetBestAvailablePositionIndication
24046 struct sLOCGetBestAvailablePositionIndication_TechnologyUsed
24047 {
24048 bool mSatellite:1;
24049 bool mCellular:1;
24050 bool mWiFi:1;
24051 bool mSensors:1;
24052 bool mReferenceLocation:1;
24053
24054 // Padding out 27 bits
24055 UINT8 mReserved1:3;
24056 UINT8 mReserved2[3];
24057 };
24058
24059 // Structure to describe indication TLV 0x29 for LOC GetBestAvailablePositionIndication
24060 struct sLOCGetBestAvailablePositionIndication_DilutionOfPrecision
24061 {
24062 float mPositionDilutionOfPrecision;
24063 float mHorizontalDilutionOfPrecision;
24064 float mVerticalDilutionOfPrecision;
24065 };
24066
24067 // Structure to describe indication TLV 0x2A for LOC GetBestAvailablePositionIndication
24068 struct sLOCGetBestAvailablePositionIndication_GPSTime
24069 {
24070 UINT16 mGPSWeeks;
24071 UINT32 mGPSTimeOfWeekMilliseconds;
24072 };
24073
24074 // Structure to describe indication TLV 0x2B for LOC GetBestAvailablePositionIndication
24075 struct sLOCGetBestAvailablePositionIndication_TimeSource
24076 {
24077 eQMILOCTimeSource mTimeSource;
24078 };
24079
24080 // Structure to describe indication TLV 0x2C for LOC GetBestAvailablePositionIndication
24081 struct sLOCGetBestAvailablePositionIndication_SensorDataUsage
24082 {
24083 bool mAccelerometerUsed:1;
24084 bool mGyroUsed:1;
24085
24086 // Padding out 30 bits
24087 UINT8 mReserved1:6;
24088 UINT8 mReserved2[3];
24089
24090 bool mAidedHeading:1;
24091 bool mAidedSpeed:1;
24092 bool mAidedPosition:1;
24093 bool mAidedVelocity:1;
24094
24095 // Padding out 28 bits
24096 UINT8 mReserved3:4;
24097 UINT8 mReserved4[3];
24098 };
24099
24100 // Structure to describe indication TLV 0x2D for LOC GetBestAvailablePositionIndication
24101 struct sLOCGetBestAvailablePositionIndication_SatellitesUsed
24102 {
24103 UINT8 mSatellitesUsedCount;
24104
24105 // This array must be the size specified by mSatellitesUsedCount
24106 // UINT16 mSatellitesUsed[1];
24107 };
24108
24109 // Structure to describe request TLV 0x10 for CATSetEventReport()
24110 struct sCATSetEventReportRequest_ReportMask
24111 {
24112 bool mDisplayText:1;
24113 bool mGetInkey:1;
24114 bool mGetInput:1;
24115 bool mSetupMenu:1;
24116 bool mSelectItem:1;
24117 bool mSendSMSAlphaIdentifier:1;
24118 bool mSetupEventUserActivity:1;
24119 bool mSetupEventIdleScreenNotify:1;
24120 bool mSetupEventLanguageSelNotify:1;
24121 bool mSetupIdleModeText:1;
24122 bool mLanguageNotification:1;
24123 bool mRefresh:1;
24124 bool mEndProactiveSession:1;
24125 bool mPlayTone:1;
24126 bool mSetupCall:1;
24127 bool mSendDTMF:1;
24128 bool mLaunchBrowser:1;
24129 bool mSendSS:1;
24130 bool mSendUSSD:1;
24131 bool mProvideLocalInformationLanguage:1;
24132 bool mBearerIndependentProtocol:1;
24133 bool mSetupEventBrowserTermination:1;
24134 bool mProvideLocalInformationTime:1;
24135 bool mActivate:1;
24136
24137 // Padding out 1 bits
24138 UINT8 mReserved1:1;
24139
24140 bool mSetupEventHCIConnectivity:1;
24141
24142 // Padding out 6 bits
24143 UINT8 mReserved2:6;
24144 };
24145
24146 // Structure to describe request TLV 0x11 for CATSetEventReport()
24147 struct sCATSetEventReportRequest_DecodeReportMask
24148 {
24149 bool mDisplayText:1;
24150 bool mGetInkey:1;
24151 bool mGetInput:1;
24152 bool mSetupMenu:1;
24153 bool mSelectItem:1;
24154 bool mSendSMSAlphaIdentifier:1;
24155 bool mSetupEventUserActivity:1;
24156 bool mSetupEventIdleScreenNotify:1;
24157 bool mSetupEventLanguageSelNotify:1;
24158 bool mSetupIdleModeText:1;
24159 bool mLanguageNotification:1;
24160
24161 // Padding out 1 bits
24162 UINT8 mReserved1:1;
24163
24164 bool mEndProactiveSession:1;
24165 bool mPlayTone:1;
24166 bool mSetupCall:1;
24167 bool mSendDTMF:1;
24168 bool mLaunchBrowser:1;
24169 bool mSendSS:1;
24170 bool mSendUSSD:1;
24171 bool mProvideLocalInformationLanguage:1;
24172 bool mBearerIndependentProtocol:1;
24173
24174 // Padding out 2 bits
24175 UINT8 mReserved2:2;
24176
24177 bool mSCWSEvent:1;
24178 bool mActivate:1;
24179 bool mSetupEventHCIConnectivity:1;
24180
24181 // Padding out 6 bits
24182 UINT8 mReserved3:6;
24183 };
24184
24185 // Structure to describe request TLV 0x12 for CATSetEventReport()
24186 struct sCATSetEventReportRequest_Slot
24187 {
24188 bool mSlot1:1;
24189 bool mSlot2:1;
24190
24191 // Padding out 6 bits
24192 UINT8 mReserved1:6;
24193 };
24194
24195 // Structure to describe response TLV 0x10 for CATSetEventReport()
24196 struct sCATSetEventReportResponse_RegStatusMask
24197 {
24198 bool mDisplayText:1;
24199 bool mGetInkey:1;
24200 bool mGetInput:1;
24201 bool mSetupMenu:1;
24202 bool mSelectItem:1;
24203 bool mSendSMSAlphaIdentifier:1;
24204 bool mSetupEventUserActivity:1;
24205 bool mSetupEventIdleScreenNotify:1;
24206 bool mSetupEventLanguageSelNotify:1;
24207 bool mSetupIdleModeText:1;
24208 bool mLanguageNotification:1;
24209 bool mRefresh:1;
24210 bool mEndProactiveSession:1;
24211 bool mPlayTone:1;
24212 bool mSetupCall:1;
24213 bool mSendDTMF:1;
24214 bool mLaunchBrowser:1;
24215 bool mSendSS:1;
24216 bool mSendUSSD:1;
24217 bool mProvideLocalInformationLanguage:1;
24218 bool mBearerIndependentProtocol:1;
24219 bool mSetupEventBrowserTermination:1;
24220 bool mProvideLocalInformationTime:1;
24221 bool mActivate:1;
24222
24223 // Padding out 1 bits
24224 UINT8 mReserved1:1;
24225
24226 bool mSetupEventHCIConnectivity:1;
24227
24228 // Padding out 6 bits
24229 UINT8 mReserved2:6;
24230 };
24231
24232 // Structure to describe response TLV 0x11 for CATSetEventReport()
24233 struct sCATSetEventReportResponse_DecodedRegStatusMask
24234 {
24235 bool mDisplayText:1;
24236 bool mGetInkey:1;
24237 bool mGetInput:1;
24238 bool mSetupMenu:1;
24239 bool mSelectItem:1;
24240 bool mSendSMSAlphaIdentifier:1;
24241 bool mSetupEventUserActivity:1;
24242 bool mSetupEventIdleScreenNotify:1;
24243 bool mSetupEventLanguageSelNotify:1;
24244 bool mSetupIdleModeText:1;
24245 bool mLanguageNotification:1;
24246
24247 // Padding out 1 bits
24248 UINT8 mReserved1:1;
24249
24250 bool mEndProactiveSession:1;
24251 bool mPlayTone:1;
24252 bool mSetupCall:1;
24253 bool mSendDTMF:1;
24254 bool mLaunchBrowser:1;
24255 bool mSendSS:1;
24256 bool mSendUSSD:1;
24257 bool mProvideLocalInformationLanguage:1;
24258 bool mBearerIndependentProtocol:1;
24259
24260 // Padding out 2 bits
24261 UINT8 mReserved2:2;
24262
24263 bool mSCWSEvent:1;
24264 bool mActivate:1;
24265 bool mSetupEventHCIConnectivity:1;
24266
24267 // Padding out 6 bits
24268 UINT8 mReserved3:6;
24269 };
24270
24271 // Structure to describe indication TLV 0x10 for CAT EventReport
24272 struct sCATEventReportIndication_DisplayTextEvent
24273 {
24274 UINT32 mReferenceID;
24275 UINT16 mCommandLength;
24276
24277 // This array must be the size specified by mCommandLength
24278 // UINT8 mDisplayTextCommand[1];
24279 };
24280
24281 // Structure to describe indication TLV 0x11 for CAT EventReport
24282 struct sCATEventReportIndication_GetInkeyEvent
24283 {
24284 UINT32 mReferenceID;
24285 UINT16 mCommandLength;
24286
24287 // This array must be the size specified by mCommandLength
24288 // UINT8 mGetInkeyCommand[1];
24289 };
24290
24291 // Structure to describe indication TLV 0x12 for CAT EventReport
24292 struct sCATEventReportIndication_GetInputEvent
24293 {
24294 UINT32 mReferenceID;
24295 UINT16 mCommandLength;
24296
24297 // This array must be the size specified by mCommandLength
24298 // UINT8 mGetInputCommand[1];
24299 };
24300
24301 // Structure to describe indication TLV 0x13 for CAT EventReport
24302 struct sCATEventReportIndication_SetupMenuEvent
24303 {
24304 UINT32 mReferenceID;
24305 UINT16 mCommandLength;
24306
24307 // This array must be the size specified by mCommandLength
24308 // UINT8 mSetupMenuCommand[1];
24309 };
24310
24311 // Structure to describe indication TLV 0x14 for CAT EventReport
24312 struct sCATEventReportIndication_SelectItemEvent
24313 {
24314 UINT32 mReferenceID;
24315 UINT16 mCommandLength;
24316
24317 // This array must be the size specified by mCommandLength
24318 // UINT8 mSelectItemCommand[1];
24319 };
24320
24321 // Structure to describe indication TLV 0x15 for CAT EventReport
24322 struct sCATEventReportIndication_AlphaIDAvailable
24323 {
24324 eQMICATAlphaIDCommandType mAlphaIDCommandType;
24325 UINT16 mAlphaIDLength;
24326
24327 // This array must be the size specified by mAlphaIDLength
24328 // UINT8 mAlphaID[1];
24329 };
24330
24331 // Structure to describe indication TLV 0x16 for CAT EventReport
24332 struct sCATEventReportIndication_SetupEventList
24333 {
24334 bool mUserActivityNotify:1;
24335 bool mIdleScreenAvailable:1;
24336 bool mLanguageSelectionNotify:1;
24337
24338 // Padding out 29 bits
24339 UINT8 mReserved1:5;
24340 UINT8 mReserved2[3];
24341 };
24342
24343 // Structure to describe indication TLV 0x17 for CAT EventReport
24344 struct sCATEventReportIndication_SetupIdleModeTextEvent
24345 {
24346 UINT32 mReferenceID;
24347 UINT16 mCommandLength;
24348
24349 // This array must be the size specified by mCommandLength
24350 // UINT8 mSetupIdleModeTextCommand[1];
24351 };
24352
24353 // Structure to describe indication TLV 0x18 for CAT EventReport
24354 struct sCATEventReportIndication_LanguageNotificationEvent
24355 {
24356 UINT32 mReferenceID;
24357 UINT16 mCommandLength;
24358
24359 // This array must be the size specified by mCommandLength
24360 // UINT8 mLanguageNotificationCommand[1];
24361 };
24362
24363 // Structure to describe indication TLV 0x19 for CAT EventReport
24364 struct sCATEventReportIndication_RefreshEvent
24365 {
24366 UINT16 mRefreshMode;
24367 eQMICATRefreshStage mRefreshStage;
24368 };
24369
24370 // Structure to describe indication TLV 0x1A for CAT EventReport
24371 struct sCATEventReportIndication_EndProactiveSession
24372 {
24373 eQMICATProactiveSessionEndType mProactiveSessionEndType;
24374 };
24375
24376 // Structure to describe indication TLV 0x1B for CAT EventReport
24377 struct sCATEventReportIndication_DecodedHeaderID
24378 {
24379 eQMICATCommandID mCommandID;
24380 UINT32 mReferenceID;
24381 UINT8 mCommandNumber;
24382 };
24383
24384 // Structure to describe indication TLV 0x1C for CAT EventReport
24385 struct sCATEventReportIndication_TextString
24386 {
24387 eQMICATDataCodingScheme mDataCodingScheme;
24388 UINT8 mTextDataLength;
24389
24390 // This array must be the size specified by mTextDataLength
24391 // UINT8 mTextData[1];
24392 };
24393
24394 // Structure to describe indication TLV 0x1D for CAT EventReport
24395 struct sCATEventReportIndication_HighPriority
24396 {
24397 eQMICATHighPriority mHighPriority;
24398 };
24399
24400 // Structure to describe indication TLV 0x1E for CAT EventReport
24401 struct sCATEventReportIndication_UserControl
24402 {
24403 eQMICATUserControl mUserControl;
24404 };
24405
24406 // Structure to describe indication TLV 0x1F for CAT EventReport
24407 struct sCATEventReportIndication_Icon
24408 {
24409 eQMICATIconQualifier mIconQualifier;
24410 UINT8 mHeight;
24411 UINT8 mWidth;
24412 eQMICATImageCodingScheme mImageCodingScheme;
24413 UINT8 mRecordNumber;
24414 UINT16 mIconDataLength;
24415
24416 // This array must be the size specified by mIconDataLength
24417 // UINT8 mIconData[1];
24418 };
24419
24420 // Structure to describe indication TLV 0x20 for CAT EventReport
24421 struct sCATEventReportIndication_Duration
24422 {
24423 eQMICATTimeUnits mUnits;
24424 UINT8 mInterval;
24425 };
24426
24427 // Structure to describe indication TLV 0x21 for CAT EventReport
24428 struct sCATEventReportIndication_ResponseFormat
24429 {
24430 eQMICATResponseFormat mResponseFormat;
24431 };
24432
24433 // Structure to describe indication TLV 0x22 for CAT EventReport
24434 struct sCATEventReportIndication_HelpAvailable
24435 {
24436 eQMICATHelpAvailable mHelpAvailable;
24437 };
24438
24439 // Structure to describe indication TLV 0x23 for CAT EventReport
24440 struct sCATEventReportIndication_ResponsePackingFormat
24441 {
24442 eQMICATResponsePackingFormat mResponsePackingFormat;
24443 };
24444
24445 // Structure to describe indication TLV 0x24 for CAT EventReport
24446 struct sCATEventReportIndication_ResponseLength
24447 {
24448 UINT8 mMaximumUserInput;
24449 UINT8 mMinimumUserInput;
24450 };
24451
24452 // Structure to describe indication TLV 0x25 for CAT EventReport
24453 struct sCATEventReportIndication_ShowUserInput
24454 {
24455 eQMICATShowUserInput mShowUserInput;
24456 };
24457
24458 // Structure to describe indication TLV 0x26 for CAT EventReport
24459 struct sCATEventReportIndication_Tone
24460 {
24461 eQMICATTone mTone;
24462 };
24463
24464 // Structure to describe indication TLV 0x27 for CAT EventReport
24465 struct sCATEventReportIndication_SoftkeySelection
24466 {
24467 eQMICATSoftkeySelection mSoftkeySelection;
24468 };
24469
24470 // Structure to describe indication TLV 0x28 for CAT EventReport
24471 struct sCATEventReportIndication_Items
24472 {
24473 UINT8 mItemsLength;
24474
24475 struct sItem
24476 {
24477 UINT8 mItemID;
24478 UINT8 mItemTextLength;
24479
24480 // This array must be the size specified by mItemTextLength
24481 // UINT8 mItemText[1];
24482 };
24483
24484 // This array must be the size specified by mItemsLength
24485 // sItem mItems[1];
24486 };
24487
24488 // Structure to describe indication TLV 0x29 for CAT EventReport
24489 struct sCATEventReportIndication_DefaultItem
24490 {
24491 UINT8 mDefaultItem;
24492 };
24493
24494 // Structure to describe indication TLV 0x2A for CAT EventReport
24495 struct sCATEventReportIndication_NextActionIdentifier
24496 {
24497 UINT8 mActionsLength;
24498
24499 // This array must be the size specified by mActionsLength
24500 // eQMICATNextAction mNextAction[1];
24501 };
24502
24503 // Structure to describe indication TLV 0x2B for CAT EventReport
24504 struct sCATEventReportIndication_IconIDList
24505 {
24506 eQMICATDisplayIconOnly mDisplayIconOnly;
24507 UINT8 mItemsLength;
24508
24509 struct sItem
24510 {
24511 eQMICATIconQualifier mIconQualifier;
24512 UINT8 mHeight;
24513 UINT8 mWidth;
24514 eQMICATImageCodingScheme mImageCodingScheme;
24515 UINT8 mRecordNumber;
24516 UINT16 mIconDataLength;
24517
24518 // This array must be the size specified by mIconDataLength
24519 // UINT8 mIconData[1];
24520 };
24521
24522 // This array must be the size specified by mItemsLength
24523 // sItem mItems[1];
24524 };
24525
24526 // Structure to describe indication TLV 0x2C for CAT EventReport
24527 struct sCATEventReportIndication_Presentation
24528 {
24529 eQMICATPresentation mPresentation;
24530 };
24531
24532 // Structure to describe indication TLV 0x2D for CAT EventReport
24533 struct sCATEventReportIndication_PackingRequired
24534 {
24535 eQMICATPackingRequired mPackingRequired;
24536 };
24537
24538 // Structure to describe indication TLV 0x2E for CAT EventReport
24539 struct sCATEventReportIndication_SMSTPDU
24540 {
24541 UINT8 mSMSTPDUDataLength;
24542
24543 // This array must be the size specified by mSMSTPDUDataLength
24544 // UINT8 mSMSTPDUData[1];
24545 };
24546
24547 // Structure to describe indication TLV 0x2F for CAT EventReport
24548 struct sCATEventReportIndication_IsCDMASMS
24549 {
24550 eQMICATIsCDMASMS mIsCDMASMS;
24551 };
24552
24553 // Structure to describe indication TLV 0x30 for CAT EventReport
24554 struct sCATEventReportIndication_Address
24555 {
24556 eQMICATAddressTON mAddressTON;
24557 eQMICATAddressNPI mAddressNPI;
24558 UINT8 mAddressDataLength;
24559
24560 // This array must be the size specified by mAddressDataLength
24561 // char mAddressData[1];
24562 };
24563
24564 // Structure to describe indication TLV 0x31 for CAT EventReport
24565 struct sCATEventReportIndication_CallSetupRequirement
24566 {
24567 eQMICATCallSetupRequirement mCallSetupRequirement;
24568 };
24569
24570 // Structure to describe indication TLV 0x32 for CAT EventReport
24571 struct sCATEventReportIndication_Redial
24572 {
24573 eQMICATRedialNecessary mRedialNecessary;
24574 eQMICATTimeUnits mUnits;
24575 UINT8 mInterval;
24576 };
24577
24578 // Structure to describe indication TLV 0x33 for CAT EventReport
24579 struct sCATEventReportIndication_Subaddress
24580 {
24581 UINT8 mSubaddressDataLength;
24582
24583 struct sSubaddressData
24584 {
24585 UINT8 mSubaddressData1:4;
24586 UINT8 mSubaddressData2:4;
24587 };
24588
24589 // This array must be the size specified by mSubaddressDataLength
24590 // sSubaddressData mSubaddressDatas[1];
24591 };
24592
24593 // Structure to describe indication TLV 0x34 for CAT EventReport
24594 struct sCATEventReportIndication_CapabilitiesConfiguration
24595 {
24596 UINT8 mCapabilitesConfigurationLength;
24597
24598 // This array must be the size specified by mCapabilitesConfigurationLength
24599 // UINT8 mCapabilitiesConfiguration[1];
24600 };
24601
24602 // Structure to describe indication TLV 0x35 for CAT EventReport
24603 struct sCATEventReportIndication_DTMF
24604 {
24605 UINT8 mDTMFDataLength;
24606
24607 struct sDTMFData
24608 {
24609 UINT8 mDTMFData1:4;
24610 UINT8 mDTMFData2:4;
24611 };
24612
24613 // This array must be the size specified by mDTMFDataLength
24614 // sDTMFData mDTMFDatas[1];
24615 };
24616
24617 // Structure to describe indication TLV 0x36 for CAT EventReport
24618 struct sCATEventReportIndication_SpecificLanguageNotification
24619 {
24620 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
24621 };
24622
24623 // Structure to describe indication TLV 0x37 for CAT EventReport
24624 struct sCATEventReportIndication_Language
24625 {
24626 char mLanguage[2];
24627 };
24628
24629 // Structure to describe indication TLV 0x38 for CAT EventReport
24630 struct sCATEventReportIndication_LaunchMode
24631 {
24632 eQMICATLaunchMode mLaunchMode;
24633 };
24634
24635 // Structure to describe indication TLV 0x39 for CAT EventReport
24636 struct sCATEventReportIndication_URL
24637 {
24638 UINT8 mURLDataLength;
24639
24640 // This array must be the size specified by mURLDataLength
24641 // char mURLData[1];
24642 };
24643
24644 // Structure to describe indication TLV 0x3A for CAT EventReport
24645 struct sCATEventReportIndication_BrowserID
24646 {
24647 UINT8 mBrowserID;
24648 };
24649
24650 // Structure to describe indication TLV 0x3B for CAT EventReport
24651 struct sCATEventReportIndication_BearerList
24652 {
24653 UINT8 mBearerListLength;
24654
24655 // This array must be the size specified by mBearerListLength
24656 // eQMICATBearer mBearerList[1];
24657 };
24658
24659 // Structure to describe indication TLV 0x3C for CAT EventReport
24660 struct sCATEventReportIndication_ProvisioningFile
24661 {
24662 UINT32 mNumberOfProvisioningFiles;
24663
24664 struct sFile
24665 {
24666 UINT8 mPathLength;
24667
24668 // This array must be the size specified by mPathLength
24669 // char mPath[1];
24670 };
24671
24672 // This array must be the size specified by mNumberOfProvisioningFiles
24673 // sFile mFiles[1];
24674 };
24675
24676 // Structure to describe indication TLV 0x3D for CAT EventReport
24677 struct sCATEventReportIndication_USSDString
24678 {
24679 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
24680 eQMICATUSSDDataCodingScheme mDataCodingScheme;
24681 UINT8 mUSSDTextLength;
24682
24683 // This array must be the size specified by mUSSDTextLength
24684 // UINT8 mUSSDText[1];
24685 };
24686
24687 // Structure to describe indication TLV 0x3E for CAT EventReport
24688 struct sCATEventReportIndication_DefaultText
24689 {
24690 eQMICATDataCodingScheme mDataCodingScheme;
24691 UINT8 mTextDataLength;
24692
24693 // This array must be the size specified by mTextDataLength
24694 // UINT8 mTextData[1];
24695 };
24696
24697 // Structure to describe indication TLV 0x3F for CAT EventReport
24698 struct sCATEventReportIndication_ImmediateResponseRequired
24699 {
24700 eQMICATImmediateResponse mImmediateResponse;
24701 };
24702
24703 // Structure to describe indication TLV 0x40 for CAT EventReport
24704 struct sCATEventReportIndication_UserConfirmationAlpha
24705 {
24706 eQMICATDataCodingScheme mDataCodingScheme;
24707 UINT8 mTextDataLength;
24708
24709 // This array must be the size specified by mTextDataLength
24710 // UINT8 mTextData[1];
24711 };
24712
24713 // Structure to describe indication TLV 0x41 for CAT EventReport
24714 struct sCATEventReportIndication_SetupCallDisplayAlpha
24715 {
24716 eQMICATDataCodingScheme mDataCodingScheme;
24717 UINT8 mTextDataLength;
24718
24719 // This array must be the size specified by mTextDataLength
24720 // UINT8 mTextData[1];
24721 };
24722
24723 // Structure to describe indication TLV 0x42 for CAT EventReport
24724 struct sCATEventReportIndication_UserConfirmationIcon
24725 {
24726 eQMICATIconQualifier mIconQualifier;
24727 UINT8 mHeight;
24728 UINT8 mWidth;
24729 eQMICATImageCodingScheme mImageCodingScheme;
24730 UINT8 mRecordNumber;
24731 UINT16 mIconDataLength;
24732
24733 // This array must be the size specified by mIconDataLength
24734 // UINT8 mIconData[1];
24735 };
24736
24737 // Structure to describe indication TLV 0x43 for CAT EventReport
24738 struct sCATEventReportIndication_SetupCallDisplayIcon
24739 {
24740 eQMICATIconQualifier mIconQualifier;
24741 UINT8 mHeight;
24742 UINT8 mWidth;
24743 eQMICATImageCodingScheme mImageCodingScheme;
24744 UINT8 mRecordNumber;
24745 UINT16 mIconDataLength;
24746
24747 // This array must be the size specified by mIconDataLength
24748 // UINT8 mIconData[1];
24749 };
24750
24751 // Structure to describe indication TLV 0x44 for CAT EventReport
24752 struct sCATEventReportIndication_GatewayProxy
24753 {
24754 eQMICATDataCodingScheme mDataCodingScheme;
24755 UINT8 mTextDataLength;
24756
24757 // This array must be the size specified by mTextDataLength
24758 // UINT8 mTextData[1];
24759 };
24760
24761 // Structure to describe indication TLV 0x45 for CAT EventReport
24762 struct sCATEventReportIndication_Alpha
24763 {
24764 eQMICATDataCodingScheme mDataCodingScheme;
24765 UINT8 mTextDataLength;
24766
24767 // This array must be the size specified by mTextDataLength
24768 // UINT8 mTextData[1];
24769 };
24770
24771 // Structure to describe indication TLV 0x46 for CAT EventReport
24772 struct sCATEventReportIndication_NotificationRequired
24773 {
24774 eQMICATNotificationRequired mNotificationRequired;
24775 };
24776
24777 // Structure to describe indication TLV 0x47 for CAT EventReport
24778 struct sCATEventReportIndication_PlayToneEvent
24779 {
24780 UINT32 mReferenceID;
24781 UINT16 mCommandLength;
24782
24783 // This array must be the size specified by mCommandLength
24784 // UINT8 mPlayToneCommand[1];
24785 };
24786
24787 // Structure to describe indication TLV 0x48 for CAT EventReport
24788 struct sCATEventReportIndication_SetupCallEvent
24789 {
24790 UINT32 mReferenceID;
24791 UINT16 mCommandLength;
24792
24793 // This array must be the size specified by mCommandLength
24794 // UINT8 mSetupCallCommand[1];
24795 };
24796
24797 // Structure to describe indication TLV 0x49 for CAT EventReport
24798 struct sCATEventReportIndication_SendDTMFEvent
24799 {
24800 UINT32 mReferenceID;
24801 UINT16 mCommandLength;
24802
24803 // This array must be the size specified by mCommandLength
24804 // UINT8 mSendDTMFCommand[1];
24805 };
24806
24807 // Structure to describe indication TLV 0x4A for CAT EventReport
24808 struct sCATEventReportIndication_LaunchBrowserEvent
24809 {
24810 UINT32 mReferenceID;
24811 UINT16 mCommandLength;
24812
24813 // This array must be the size specified by mCommandLength
24814 // UINT8 mLaunchBrowserCommand[1];
24815 };
24816
24817 // Structure to describe indication TLV 0x4B for CAT EventReport
24818 struct sCATEventReportIndication_SendSMSEvent
24819 {
24820 UINT32 mReferenceID;
24821 UINT16 mCommandLength;
24822
24823 // This array must be the size specified by mCommandLength
24824 // UINT8 mSendSMSCommand[1];
24825 };
24826
24827 // Structure to describe indication TLV 0x4C for CAT EventReport
24828 struct sCATEventReportIndication_SendSSEvent
24829 {
24830 UINT32 mReferenceID;
24831 UINT16 mCommandLength;
24832
24833 // This array must be the size specified by mCommandLength
24834 // UINT8 mSendSSCommand[1];
24835 };
24836
24837 // Structure to describe indication TLV 0x4D for CAT EventReport
24838 struct sCATEventReportIndication_SendUSSDEvent
24839 {
24840 UINT32 mReferenceID;
24841 UINT16 mCommandLength;
24842
24843 // This array must be the size specified by mCommandLength
24844 // UINT8 mSendUSSDCommand[1];
24845 };
24846
24847 // Structure to describe indication TLV 0x4E for CAT EventReport
24848 struct sCATEventReportIndication_ProvideLocalInformationEvent
24849 {
24850 UINT32 mReferenceID;
24851 UINT16 mCommandLength;
24852
24853 // This array must be the size specified by mCommandLength
24854 // UINT8 mProvideLocalInformationCommand[1];
24855 };
24856
24857 // Structure to describe indication TLV 0x4F for CAT EventReport
24858 struct sCATEventReportIndication_SetupRawEventList
24859 {
24860 UINT32 mReferenceID;
24861 UINT16 mCommandLength;
24862
24863 // This array must be the size specified by mCommandLength
24864 // UINT8 mSetupEventListCommand[1];
24865 };
24866
24867 // Structure to describe indication TLV 0x50 for CAT EventReport
24868 struct sCATEventReportIndication_Slot
24869 {
24870 eQMICATSlot mSlot;
24871 };
24872
24873 // Structure to describe indication TLV 0x51 for CAT EventReport
24874 struct sCATEventReportIndication_OpenChannelEvent
24875 {
24876 UINT32 mReferenceID;
24877 UINT16 mCommandLength;
24878
24879 // This array must be the size specified by mCommandLength
24880 // UINT8 mOpenChannelCommand[1];
24881 };
24882
24883 // Structure to describe indication TLV 0x52 for CAT EventReport
24884 struct sCATEventReportIndication_CloseChannelEvent
24885 {
24886 UINT32 mReferenceID;
24887 UINT16 mCommandLength;
24888
24889 // This array must be the size specified by mCommandLength
24890 // UINT8 mCloseChannelCommand[1];
24891 };
24892
24893 // Structure to describe indication TLV 0x53 for CAT EventReport
24894 struct sCATEventReportIndication_SendDataEvent
24895 {
24896 UINT32 mReferenceID;
24897 UINT16 mCommandLength;
24898
24899 // This array must be the size specified by mCommandLength
24900 // UINT8 mSendDataCommand[1];
24901 };
24902
24903 // Structure to describe indication TLV 0x54 for CAT EventReport
24904 struct sCATEventReportIndication_ReceiveDataEvent
24905 {
24906 UINT32 mReferenceID;
24907 UINT16 mCommandLength;
24908
24909 // This array must be the size specified by mCommandLength
24910 // UINT8 mReceiveDataCommand[1];
24911 };
24912
24913 // Structure to describe indication TLV 0x55 for CAT EventReport
24914 struct sCATEventReportIndication_OnDemmandLinkEstablish
24915 {
24916 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
24917 };
24918
24919 // Structure to describe indication TLV 0x56 for CAT EventReport
24920 struct sCATEventReportIndication_CSDBearerDescription
24921 {
24922 UINT8 mSpeed;
24923 eQMICATCSDBearerName mCSDBearerName;
24924 eQMICATConnectionElement mConnectionElement;
24925 };
24926
24927 // Structure to describe indication TLV 0x57 for CAT EventReport
24928 struct sCATEventReportIndication_GPRSBearerDescription
24929 {
24930 UINT8 mPrecedenceClass;
24931 UINT8 mDelayClass;
24932 UINT8 mReliabilityClass;
24933 UINT8 mPeakThroughput;
24934 UINT8 mMeanThroughput;
24935 eQMICATPacketDataProtocol mPacketDataProtocol;
24936 };
24937
24938 // Structure to describe indication TLV 0x58 for CAT EventReport
24939 struct sCATEventReportIndication_EUTRANExternalParameterBearerDescription
24940 {
24941 eQMICATTrafficClass mTrafficClass;
24942 UINT16 mMaxUploadBitrate;
24943 UINT16 mMaxDownloadBitrate;
24944 UINT16 mGuaranteedUploadBitrate;
24945 UINT16 mGuaranteedDownloadBitrate;
24946 eQMICATDeliveryOrder mDeliveryOrder;
24947 UINT8 mMaxSDUSize;
24948 UINT8 mMaxSDUErrorRatio;
24949 UINT8 mResidualBitErrorRatio;
24950 eQMICATDeliverErrorSDU mDeliverErrorSDU;
24951 UINT8 mTransferDelay;
24952 UINT8 mTrafficHandlingPRI;
24953 eQMICATPDPType mPDPType;
24954 };
24955
24956 // Structure to describe indication TLV 0x59 for CAT EventReport
24957 struct sCATEventReportIndication_EUTRANExternalMappedUTRANBearerDescription
24958 {
24959 UINT8 mQCI;
24960 UINT8 mMaxUploadBitrate;
24961 UINT8 mMaxDownloadBitrate;
24962 UINT8 mGuaranteedUploadBitrate;
24963 UINT8 mGuaranteedDownloadBitrate;
24964 UINT8 mMaximumUploadBitrateExt;
24965 UINT8 mMaximumDownloadBitrateExt;
24966 UINT8 mGuaranteedUploadBitrateExt;
24967 UINT8 mGuaranteedDownloadBitrateExt;
24968 eQMICATPDPType mPDPType;
24969 };
24970
24971 // Structure to describe indication TLV 0x5A for CAT EventReport
24972 struct sCATEventReportIndication_BufferSize
24973 {
24974 UINT16 mBufferSize;
24975 };
24976
24977 // Structure to describe indication TLV 0x5B for CAT EventReport
24978 struct sCATEventReportIndication_NetworkAccessName
24979 {
24980 UINT8 mNetworkAccessNameLength;
24981
24982 // This array must be the size specified by mNetworkAccessNameLength
24983 // UINT8 mNetworkAccessName[1];
24984 };
24985
24986 // Structure to describe indication TLV 0x5C for CAT EventReport
24987 struct sCATEventReportIndication_OtherAddress
24988 {
24989 eQMICATAddressType mAddressType;
24990 UINT8 mAddressDataLength;
24991
24992 // This array must be the size specified by mAddressDataLength
24993 // char mAddressData[1];
24994 };
24995
24996 // Structure to describe indication TLV 0x5D for CAT EventReport
24997 struct sCATEventReportIndication_UserLogin
24998 {
24999 eQMICATDataCodingScheme mDataCodingScheme;
25000 UINT8 mTextDataLength;
25001
25002 // This array must be the size specified by mTextDataLength
25003 // UINT8 mTextData[1];
25004 };
25005
25006 // Structure to describe indication TLV 0x5E for CAT EventReport
25007 struct sCATEventReportIndication_UserPassword
25008 {
25009 eQMICATDataCodingScheme mDataCodingScheme;
25010 UINT8 mTextDataLength;
25011
25012 // This array must be the size specified by mTextDataLength
25013 // UINT8 mTextData[1];
25014 };
25015
25016 // Structure to describe indication TLV 0x5F for CAT EventReport
25017 struct sCATEventReportIndication_TransportLevel
25018 {
25019 eQMICATTransportProtocol mTransportProtocol;
25020 UINT16 mPortNumber;
25021 };
25022
25023 // Structure to describe indication TLV 0x60 for CAT EventReport
25024 struct sCATEventReportIndication_DataDestinationAddress
25025 {
25026 eQMICATAddressType mAddressType;
25027 UINT8 mAddressDataLength;
25028
25029 // This array must be the size specified by mAddressDataLength
25030 // char mAddressData[1];
25031 };
25032
25033 // Structure to describe indication TLV 0x61 for CAT EventReport
25034 struct sCATEventReportIndication_ChannelDataLength
25035 {
25036 UINT8 mChannelDataLength;
25037 };
25038
25039 // Structure to describe indication TLV 0x62 for CAT EventReport
25040 struct sCATEventReportIndication_SendDataImmediately
25041 {
25042 eQMICATSendDataImmediately mSendDataImmediately;
25043 };
25044
25045 // Structure to describe indication TLV 0x63 for CAT EventReport
25046 struct sCATEventReportIndication_ChannelData
25047 {
25048 UINT16 mChannelDataLength;
25049
25050 // This array must be the size specified by mChannelDataLength
25051 // UINT8 mChannelData[1];
25052 };
25053
25054 // Structure to describe indication TLV 0x64 for CAT EventReport
25055 struct sCATEventReportIndication_ChannelID
25056 {
25057 UINT8 mChannelID;
25058 };
25059
25060 // Structure to describe indication TLV 0x65 for CAT EventReport
25061 struct sCATEventReportIndication_ItemsWithDCS
25062 {
25063 UINT8 mItemsLength;
25064
25065 struct sItem
25066 {
25067 UINT8 mItemID;
25068 eQMICATDataCodingScheme mDataCodingScheme;
25069 UINT8 mItemTextLength;
25070
25071 // This array must be the size specified by mItemTextLength
25072 // UINT8 mItemText[1];
25073 };
25074
25075 // This array must be the size specified by mItemsLength
25076 // sItem mItems[1];
25077 };
25078
25079 // Structure to describe indication TLV 0x66 for CAT EventReport
25080 struct sCATEventReportIndication_Activate
25081 {
25082 UINT32 mReferenceID;
25083 UINT16 mActivateLength;
25084
25085 // This array must be the size specified by mActivateLength
25086 // UINT8 mActivate[1];
25087 };
25088
25089 // Structure to describe indication TLV 0x67 for CAT EventReport
25090 struct sCATEventReportIndication_ActivateTarget
25091 {
25092 eQMICATActivateTargets mActivateTarget;
25093 };
25094
25095 // Structure to describe response TLV 0x01 for CATGetServiceState()
25096 struct sCATGetServiceStateResponse_CATServiceState
25097 {
25098 bool mCommonDisplayText:1;
25099 bool mCommonGetInkey:1;
25100 bool mCommonGetInput:1;
25101 bool mCommonSetupMenu:1;
25102 bool mCommonSelectItem:1;
25103 bool mCommonSendSMSAlphaIdentifier:1;
25104 bool mCommonSetupEventUserActivity:1;
25105 bool mCommonSetupEventIdleScreenNotify:1;
25106 bool mCommonSetupEventLanguageSelNotify:1;
25107 bool mCommonSetupIdleModeText:1;
25108 bool mCommonLanguageNotification:1;
25109 bool mCommonRefresh:1;
25110 bool mCommonEndProactiveSession:1;
25111 bool mCommonPlayTone:1;
25112 bool mCommonSetupCall:1;
25113 bool mCommonSendDTMF:1;
25114 bool mCommonLaunchBrowser:1;
25115 bool mCommonSendSS:1;
25116 bool mCommonSendUSSD:1;
25117 bool mCommonProvideLocalInformationLanguage:1;
25118 bool mCommonBearerIndependentProtocol:1;
25119 bool mCommonSetupEventBrowserTermination:1;
25120 bool mCommonProvideLocalInformationTime:1;
25121 bool mCommonActivate:1;
25122
25123 // Padding out 1 bits
25124 UINT8 mReserved1:1;
25125
25126 bool mCommonSetupEventHCIConnectivity:1;
25127
25128 // Padding out 6 bits
25129 UINT8 mReserved2:6;
25130
25131 bool mControlDisplayText:1;
25132 bool mControlGetInkey:1;
25133 bool mControlGetInput:1;
25134 bool mControlSetupMenu:1;
25135 bool mControlSelectItem:1;
25136 bool mControlSendSMSAlphaIdentifier:1;
25137 bool mControlSetupEventUserActivity:1;
25138 bool mControlSetupEventIdleScreenNotify:1;
25139 bool mControlSetupEventLanguageSelNotify:1;
25140 bool mControlSetupIdleModeText:1;
25141 bool mControlLanguageNotification:1;
25142 bool mControlRefresh:1;
25143 bool mControlEndProactiveSession:1;
25144 bool mControlPlayTone:1;
25145 bool mControlSetupCall:1;
25146 bool mControlSendDTMF:1;
25147 bool mControlLaunchBrowser:1;
25148 bool mControlSendSS:1;
25149 bool mControlSendUSSD:1;
25150 bool mControlProvideLocalInformationLanguage:1;
25151 bool mControlBearerIndependentProtocol:1;
25152 bool mControlSetupEventBrowserTermination:1;
25153 bool mControlProvideLocalInformationTime:1;
25154 bool mControlActivate:1;
25155
25156 // Padding out 1 bits
25157 UINT8 mReserved3:1;
25158
25159 bool mControlSetupEventHCIConnectivity:1;
25160
25161 // Padding out 6 bits
25162 UINT8 mReserved4:6;
25163 };
25164
25165 // Structure to describe response TLV 0x10 for CATGetServiceState()
25166 struct sCATGetServiceStateResponse_DecodedCATServiceState
25167 {
25168 bool mCommonDisplayText:1;
25169 bool mCommonGetInkey:1;
25170 bool mCommonGetInput:1;
25171 bool mCommonSetupMenu:1;
25172 bool mCommonSelectItem:1;
25173 bool mCommonSendSMSAlphaIdentifier:1;
25174 bool mCommonSetupEventUserActivity:1;
25175 bool mCommonSetupEventIdleScreenNotify:1;
25176 bool mCommonSetupEventLanguageSelNotify:1;
25177 bool mCommonSetupIdleModeText:1;
25178 bool mCommonLanguageNotification:1;
25179
25180 // Padding out 1 bits
25181 UINT8 mReserved1:1;
25182
25183 bool mCommonEndProactiveSession:1;
25184 bool mCommonPlayTone:1;
25185 bool mCommonSetupCall:1;
25186 bool mCommonSendDTMF:1;
25187 bool mCommonLaunchBrowser:1;
25188 bool mCommonSendSS:1;
25189 bool mCommonSendUSSD:1;
25190 bool mCommonProvideLocalInformationLanguage:1;
25191 bool mCommonBearerIndependentProtocol:1;
25192
25193 // Padding out 2 bits
25194 UINT8 mReserved2:2;
25195
25196 bool mCommonSCWSEvent:1;
25197 bool mCommonActivate:1;
25198 bool mCommonSetupEventHCIConnectivity:1;
25199
25200 // Padding out 6 bits
25201 UINT8 mReserved3:6;
25202
25203 bool mControlDisplayText:1;
25204 bool mControlGetInkey:1;
25205 bool mControlGetInput:1;
25206 bool mControlSetupMenu:1;
25207 bool mControlSelectItem:1;
25208 bool mControlSendSMSAlphaIdentifier:1;
25209 bool mControlSetupEventUserActivity:1;
25210 bool mControlSetupEventIdleScreenNotify:1;
25211 bool mControlSetupEventLanguageSelNotify:1;
25212 bool mControlSetupIdleModeText:1;
25213 bool mControlLanguageNotification:1;
25214
25215 // Padding out 1 bits
25216 UINT8 mReserved4:1;
25217
25218 bool mControlEndProactiveSession:1;
25219 bool mControlPlayTone:1;
25220 bool mControlSetupCall:1;
25221 bool mControlSendDTMF:1;
25222 bool mControlLaunchBrowser:1;
25223 bool mControlSendSS:1;
25224 bool mControlSendUSSD:1;
25225 bool mControlProvideLocalInformationLanguage:1;
25226 bool mControlBearerIndependentProtocol:1;
25227
25228 // Padding out 2 bits
25229 UINT8 mReserved5:2;
25230
25231 bool mControlSCWSEvent:1;
25232 bool mControlActivate:1;
25233 bool mControlSetupEventHCIConnectivity:1;
25234
25235 // Padding out 6 bits
25236 UINT8 mReserved6:6;
25237 };
25238
25239 // Structure to describe request TLV 0x01 for CATSendTerminalResponse()
25240 struct sCATSendTerminalResponseRequest_TerminalResponseType
25241 {
25242 UINT32 mReferenceID;
25243 UINT16 mTerminalResponseLength;
25244
25245 // This array must be the size specified by mTerminalResponseLength
25246 // UINT8 mTerminalResponse[1];
25247 };
25248
25249 // Structure to describe request TLV 0x10 for CATSendTerminalResponse()
25250 struct sCATSendTerminalResponseRequest_Slot
25251 {
25252 eQMICATSlot mSlot;
25253 };
25254
25255 // Structure to describe response TLV 0x10 for CATSendTerminal()
25256 struct sCATSendTerminalResponseResponse_TRResponse
25257 {
25258 UINT8 mSW1;
25259 UINT8 mSW2;
25260 UINT8 mTerminalResponseLength;
25261
25262 // This array must be the size specified by mTerminalResponseLength
25263 // UINT8 mTerminalResponseData[1];
25264 };
25265
25266 // Structure to describe request TLV 0x01 for CATEnvelopeCommand()
25267 struct sCATEnvelopeCommandRequest_EnvelopeCommand
25268 {
25269 eQMICATEnvelopeCommandType mEnvelopeCommandType;
25270 UINT16 mEnvelopeLength;
25271
25272 // This array must be the size specified by mEnvelopeLength
25273 // UINT8 mEnvelopeData[1];
25274 };
25275
25276 // Structure to describe request TLV 0x10 for CATEnvelopeCommand()
25277 struct sCATEnvelopeCommandRequest_Slot
25278 {
25279 eQMICATSlot mSlot;
25280 };
25281
25282 // Structure to describe response TLV 0x10 for CATEnvelopeCommand()
25283 struct sCATEnvelopeCommandResponse_RawResponse
25284 {
25285 UINT8 mSW1;
25286 UINT8 mSW2;
25287 UINT8 mEnvelopeResponseLength;
25288
25289 // This array must be the size specified by mEnvelopeResponseLength
25290 // UINT8 mEnvelopeResponseData[1];
25291 };
25292
25293 // Structure to describe request TLV 0x01 for CATGetEventReport()
25294 struct sCATGetEventReportRequest_CommandInput
25295 {
25296 UINT32 mCommandID;
25297 eQMICATCommandFormat mCommandFormat;
25298 };
25299
25300 // Structure to describe response TLV 0x10 for CATGetEventReport()
25301 struct sCATGetEventReportResponse_DisplayTextEvent
25302 {
25303 UINT32 mReferenceID;
25304 UINT16 mCommandLength;
25305
25306 // This array must be the size specified by mCommandLength
25307 // UINT8 mDisplayTextCommand[1];
25308 };
25309
25310 // Structure to describe response TLV 0x11 for CATGetEventReport()
25311 struct sCATGetEventReportResponse_GetInkeyEvent
25312 {
25313 UINT32 mReferenceID;
25314 UINT16 mCommandLength;
25315
25316 // This array must be the size specified by mCommandLength
25317 // UINT8 mGetInkeyCommand[1];
25318 };
25319
25320 // Structure to describe response TLV 0x12 for CATGetEventReport()
25321 struct sCATGetEventReportResponse_GetInputEvent
25322 {
25323 UINT32 mReferenceID;
25324 UINT16 mCommandLength;
25325
25326 // This array must be the size specified by mCommandLength
25327 // UINT8 mGetInputCommand[1];
25328 };
25329
25330 // Structure to describe response TLV 0x13 for CATGetEventReport()
25331 struct sCATGetEventReportResponse_SetupMenuEvent
25332 {
25333 UINT32 mReferenceID;
25334 UINT16 mCommandLength;
25335
25336 // This array must be the size specified by mCommandLength
25337 // UINT8 mSetupMenuCommand[1];
25338 };
25339
25340 // Structure to describe response TLV 0x14 for CATGetEventReport()
25341 struct sCATGetEventReportResponse_SelectItemEvent
25342 {
25343 UINT32 mReferenceID;
25344 UINT16 mCommandLength;
25345
25346 // This array must be the size specified by mCommandLength
25347 // UINT8 mSelectItemCommand[1];
25348 };
25349
25350 // Structure to describe response TLV 0x15 for CATGetEventReport()
25351 struct sCATGetEventReportResponse_AlphaIDAvailable
25352 {
25353 eQMICATAlphaIDCommandType mAlphaIDCommandType;
25354 UINT16 mAlphaIDLength;
25355
25356 // This array must be the size specified by mAlphaIDLength
25357 // UINT8 mAlphaID[1];
25358 };
25359
25360 // Structure to describe response TLV 0x16 for CATGetEventReport()
25361 struct sCATGetEventReportResponse_SetupEventList
25362 {
25363 bool mUserActivityNotify:1;
25364 bool mIdleScreenAvailable:1;
25365 bool mLanguageSelectionNotify:1;
25366
25367 // Padding out 29 bits
25368 UINT8 mReserved1:5;
25369 UINT8 mReserved2[3];
25370 };
25371
25372 // Structure to describe response TLV 0x17 for CATGetEventReport()
25373 struct sCATGetEventReportResponse_SetupIdleModeTextEvent
25374 {
25375 UINT32 mReferenceID;
25376 UINT16 mCommandLength;
25377
25378 // This array must be the size specified by mCommandLength
25379 // UINT8 mSetupIdleModeTextCommand[1];
25380 };
25381
25382 // Structure to describe response TLV 0x18 for CATGetEventReport()
25383 struct sCATGetEventReportResponse_LanguageNotificationEvent
25384 {
25385 UINT32 mReferenceID;
25386 UINT16 mCommandLength;
25387
25388 // This array must be the size specified by mCommandLength
25389 // UINT8 mLanguageNotificationCommand[1];
25390 };
25391
25392 // Structure to describe response TLV 0x19 for CATGetEventReport()
25393 struct sCATGetEventReportResponse_RefreshEvent
25394 {
25395 UINT16 mRefreshMode;
25396 eQMICATRefreshStage mRefreshStage;
25397 };
25398
25399 // Structure to describe response TLV 0x1A for CATGetEventReport()
25400 struct sCATGetEventReportResponse_EndProactiveSession
25401 {
25402 eQMICATProactiveSessionEndType mProactiveSessionEndType;
25403 };
25404
25405 // Structure to describe response TLV 0x1B for CATGetEventReport()
25406 struct sCATGetEventReportResponse_DecodedHeaderID
25407 {
25408 eQMICATCommandID mCommandID;
25409 UINT32 mReferenceID;
25410 UINT8 mCommandNumber;
25411 };
25412
25413 // Structure to describe response TLV 0x1C for CATGetEventReport()
25414 struct sCATGetEventReportResponse_TextString
25415 {
25416 eQMICATDataCodingScheme mDataCodingScheme;
25417 UINT8 mTextDataLength;
25418
25419 // This array must be the size specified by mTextDataLength
25420 // UINT8 mTextData[1];
25421 };
25422
25423 // Structure to describe response TLV 0x1D for CATGetEventReport()
25424 struct sCATGetEventReportResponse_HighPriority
25425 {
25426 eQMICATHighPriority mHighPriority;
25427 };
25428
25429 // Structure to describe response TLV 0x1E for CATGetEventReport()
25430 struct sCATGetEventReportResponse_UserControl
25431 {
25432 eQMICATUserControl mUserControl;
25433 };
25434
25435 // Structure to describe response TLV 0x1F for CATGetEventReport()
25436 struct sCATGetEventReportResponse_Icon
25437 {
25438 eQMICATIconQualifier mIconQualifier;
25439 UINT8 mHeight;
25440 UINT8 mWidth;
25441 eQMICATImageCodingScheme mImageCodingScheme;
25442 UINT8 mRecordNumber;
25443 UINT16 mIconDataLength;
25444
25445 // This array must be the size specified by mIconDataLength
25446 // UINT8 mIconData[1];
25447 };
25448
25449 // Structure to describe response TLV 0x20 for CATGetEventReport()
25450 struct sCATGetEventReportResponse_Duration
25451 {
25452 eQMICATTimeUnits mUnits;
25453 UINT8 mInterval;
25454 };
25455
25456 // Structure to describe response TLV 0x21 for CATGetEventReport()
25457 struct sCATGetEventReportResponse_ResponseFormat
25458 {
25459 eQMICATResponseFormat mResponseFormat;
25460 };
25461
25462 // Structure to describe response TLV 0x22 for CATGetEventReport()
25463 struct sCATGetEventReportResponse_HelpAvailable
25464 {
25465 eQMICATHelpAvailable mHelpAvailable;
25466 };
25467
25468 // Structure to describe response TLV 0x23 for CATGetEventReport()
25469 struct sCATGetEventReportResponse_ResponsePackingFormat
25470 {
25471 eQMICATResponsePackingFormat mResponsePackingFormat;
25472 };
25473
25474 // Structure to describe response TLV 0x24 for CATGetEventReport()
25475 struct sCATGetEventReportResponse_ResponseLength
25476 {
25477 UINT8 mMaximumUserInput;
25478 UINT8 mMinimumUserInput;
25479 };
25480
25481 // Structure to describe response TLV 0x25 for CATGetEventReport()
25482 struct sCATGetEventReportResponse_ShowUserInput
25483 {
25484 eQMICATShowUserInput mShowUserInput;
25485 };
25486
25487 // Structure to describe response TLV 0x26 for CATGetEventReport()
25488 struct sCATGetEventReportResponse_Tone
25489 {
25490 eQMICATTone mTone;
25491 };
25492
25493 // Structure to describe response TLV 0x27 for CATGetEventReport()
25494 struct sCATGetEventReportResponse_SoftkeySelection
25495 {
25496 eQMICATSoftkeySelection mSoftkeySelection;
25497 };
25498
25499 // Structure to describe response TLV 0x28 for CATGetEventReport()
25500 struct sCATGetEventReportResponse_Items
25501 {
25502 UINT8 mItemsLength;
25503
25504 struct sItem
25505 {
25506 UINT8 mItemID;
25507 UINT8 mItemTextLength;
25508
25509 // This array must be the size specified by mItemTextLength
25510 // UINT8 mItemText[1];
25511 };
25512
25513 // This array must be the size specified by mItemsLength
25514 // sItem mItems[1];
25515 };
25516
25517 // Structure to describe response TLV 0x29 for CATGetEventReport()
25518 struct sCATGetEventReportResponse_DefaultItems
25519 {
25520 UINT8 mDefaultItem;
25521 };
25522
25523 // Structure to describe response TLV 0x2A for CATGetEventReport()
25524 struct sCATGetEventReportResponse_NextActionIdentifier
25525 {
25526 UINT8 mActionsLength;
25527
25528 // This array must be the size specified by mActionsLength
25529 // eQMICATNextAction mNextAction[1];
25530 };
25531
25532 // Structure to describe response TLV 0x2B for CATGetEventReport()
25533 struct sCATGetEventReportResponse_IconIDList
25534 {
25535 eQMICATDisplayIconOnly mDisplayIconOnly;
25536 UINT8 mItemsLength;
25537
25538 struct sItem
25539 {
25540 eQMICATIconQualifier mIconQualifier;
25541 UINT8 mHeight;
25542 UINT8 mWidth;
25543 eQMICATImageCodingScheme mImageCodingScheme;
25544 UINT8 mRecordNumber;
25545 UINT16 mIconDataLength;
25546
25547 // This array must be the size specified by mIconDataLength
25548 // UINT8 mIconData[1];
25549 };
25550
25551 // This array must be the size specified by mItemsLength
25552 // sItem mItems[1];
25553 };
25554
25555 // Structure to describe response TLV 0x2C for CATGetEventReport()
25556 struct sCATGetEventReportResponse_Presentation
25557 {
25558 eQMICATPresentation mPresentation;
25559 };
25560
25561 // Structure to describe response TLV 0x2D for CATGetEventReport()
25562 struct sCATGetEventReportResponse_PackingRequired
25563 {
25564 eQMICATPackingRequired mPackingRequired;
25565 };
25566
25567 // Structure to describe response TLV 0x2E for CATGetEventReport()
25568 struct sCATGetEventReportResponse_SMSTPDU
25569 {
25570 UINT8 mSMSTPDUDataLength;
25571
25572 // This array must be the size specified by mSMSTPDUDataLength
25573 // UINT8 mSMSTPDUData[1];
25574 };
25575
25576 // Structure to describe response TLV 0x2F for CATGetEventReport()
25577 struct sCATGetEventReportResponse_IsCDMASMS
25578 {
25579 eQMICATIsCDMASMS mIsCDMASMS;
25580 };
25581
25582 // Structure to describe response TLV 0x30 for CATGetEventReport()
25583 struct sCATGetEventReportResponse_Address
25584 {
25585 eQMICATAddressTON mAddressTON;
25586 eQMICATAddressNPI mAddressNPI;
25587 UINT8 mAddressDataLength;
25588
25589 // This array must be the size specified by mAddressDataLength
25590 // char mAddressData[1];
25591 };
25592
25593 // Structure to describe response TLV 0x31 for CATGetEventReport()
25594 struct sCATGetEventReportResponse_CallSetupRequirement
25595 {
25596 eQMICATCallSetupRequirement mCallSetupRequirement;
25597 };
25598
25599 // Structure to describe response TLV 0x32 for CATGetEventReport()
25600 struct sCATGetEventReportResponse_Redial
25601 {
25602 eQMICATRedialNecessary mRedialNecessary;
25603 eQMICATTimeUnits mUnits;
25604 UINT8 mInterval;
25605 };
25606
25607 // Structure to describe response TLV 0x33 for CATGetEventReport()
25608 struct sCATGetEventReportResponse_Subaddress
25609 {
25610 UINT8 mSubaddressDataLength;
25611
25612 struct sSubaddressData
25613 {
25614 UINT8 mSubaddressData1:4;
25615 UINT8 mSubaddressData2:4;
25616 };
25617
25618 // This array must be the size specified by mSubaddressDataLength
25619 // sSubaddressData mSubaddressDatas[1];
25620 };
25621
25622 // Structure to describe response TLV 0x34 for CATGetEventReport()
25623 struct sCATGetEventReportResponse_CapabilityConfiguration
25624 {
25625 UINT8 mCapabilitesConfigurationLength;
25626
25627 // This array must be the size specified by mCapabilitesConfigurationLength
25628 // UINT8 mCapabilitiesConfiguration[1];
25629 };
25630
25631 // Structure to describe response TLV 0x35 for CATGetEventReport()
25632 struct sCATGetEventReportResponse_DTMF
25633 {
25634 UINT8 mDTMFDataLength;
25635
25636 struct sDTMFData
25637 {
25638 UINT8 mDTMFData1:4;
25639 UINT8 mDTMFData2:4;
25640 };
25641
25642 // This array must be the size specified by mDTMFDataLength
25643 // sDTMFData mDTMFDatas[1];
25644 };
25645
25646 // Structure to describe response TLV 0x36 for CATGetEventReport()
25647 struct sCATGetEventReportResponse_SpecificLanguageNotification
25648 {
25649 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
25650 };
25651
25652 // Structure to describe response TLV 0x37 for CATGetEventReport()
25653 struct sCATGetEventReportResponse_Language
25654 {
25655 char mLanguage[2];
25656 };
25657
25658 // Structure to describe response TLV 0x38 for CATGetEventReport()
25659 struct sCATGetEventReportResponse_LaunchMode
25660 {
25661 eQMICATLaunchMode mLaunchMode;
25662 };
25663
25664 // Structure to describe response TLV 0x39 for CATGetEventReport()
25665 struct sCATGetEventReportResponse_URL
25666 {
25667 UINT8 mURLDataLength;
25668
25669 // This array must be the size specified by mURLDataLength
25670 // char mURLData[1];
25671 };
25672
25673 // Structure to describe response TLV 0x3A for CATGetEventReport()
25674 struct sCATGetEventReportResponse_BrowserID
25675 {
25676 UINT8 mBrowserID;
25677 };
25678
25679 // Structure to describe response TLV 0x3B for CATGetEventReport()
25680 struct sCATGetEventReportResponse_BearerList
25681 {
25682 UINT8 mBearerListLength;
25683
25684 // This array must be the size specified by mBearerListLength
25685 // eQMICATBearer mBearerList[1];
25686 };
25687
25688 // Structure to describe response TLV 0x3C for CATGetEventReport()
25689 struct sCATGetEventReportResponse_ProvisioningFiles
25690 {
25691 UINT32 mNumberOfProvisioningFiles;
25692
25693 struct sFile
25694 {
25695 UINT8 mPathLength;
25696
25697 // This array must be the size specified by mPathLength
25698 // char mPath[1];
25699 };
25700
25701 // This array must be the size specified by mNumberOfProvisioningFiles
25702 // sFile mFiles[1];
25703 };
25704
25705 // Structure to describe response TLV 0x3D for CATGetEventReport()
25706 struct sCATGetEventReportResponse_USSDString
25707 {
25708 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
25709 eQMICATUSSDDataCodingScheme mDataCodingScheme;
25710 UINT8 mUSSDTextLength;
25711
25712 // This array must be the size specified by mUSSDTextLength
25713 // UINT8 mUSSDText[1];
25714 };
25715
25716 // Structure to describe response TLV 0x3E for CATGetEventReport()
25717 struct sCATGetEventReportResponse_DefaultText
25718 {
25719 eQMICATDataCodingScheme mDataCodingScheme;
25720 UINT8 mTextDataLength;
25721
25722 // This array must be the size specified by mTextDataLength
25723 // UINT8 mTextData[1];
25724 };
25725
25726 // Structure to describe response TLV 0x3F for CATGetEventReport()
25727 struct sCATGetEventReportResponse_ImmediateResponseRequest
25728 {
25729 eQMICATImmediateResponse mImmediateResponse;
25730 };
25731
25732 // Structure to describe response TLV 0x40 for CATGetEventReport()
25733 struct sCATGetEventReportResponse_UserConfirmationAlpha
25734 {
25735 eQMICATDataCodingScheme mDataCodingScheme;
25736 UINT8 mTextDataLength;
25737
25738 // This array must be the size specified by mTextDataLength
25739 // UINT8 mTextData[1];
25740 };
25741
25742 // Structure to describe response TLV 0x41 for CATGetEventReport()
25743 struct sCATGetEventReportResponse_SetupCallDisplayAlpha
25744 {
25745 eQMICATDataCodingScheme mDataCodingScheme;
25746 UINT8 mTextDataLength;
25747
25748 // This array must be the size specified by mTextDataLength
25749 // UINT8 mTextData[1];
25750 };
25751
25752 // Structure to describe response TLV 0x42 for CATGetEventReport()
25753 struct sCATGetEventReportResponse_UserConfirmationIcon
25754 {
25755 eQMICATIconQualifier mIconQualifier;
25756 UINT8 mHeight;
25757 UINT8 mWidth;
25758 eQMICATImageCodingScheme mImageCodingScheme;
25759 UINT8 mRecordNumber;
25760 UINT16 mIconDataLength;
25761
25762 // This array must be the size specified by mIconDataLength
25763 // UINT8 mIconData[1];
25764 };
25765
25766 // Structure to describe response TLV 0x43 for CATGetEventReport()
25767 struct sCATGetEventReportResponse_SetupCallDisplayIcon
25768 {
25769 eQMICATIconQualifier mIconQualifier;
25770 UINT8 mHeight;
25771 UINT8 mWidth;
25772 eQMICATImageCodingScheme mImageCodingScheme;
25773 UINT8 mRecordNumber;
25774 UINT16 mIconDataLength;
25775
25776 // This array must be the size specified by mIconDataLength
25777 // UINT8 mIconData[1];
25778 };
25779
25780 // Structure to describe response TLV 0x44 for CATGetEventReport()
25781 struct sCATGetEventReportResponse_GatewayProxy
25782 {
25783 eQMICATDataCodingScheme mDataCodingScheme;
25784 UINT8 mTextDataLength;
25785
25786 // This array must be the size specified by mTextDataLength
25787 // UINT8 mTextData[1];
25788 };
25789
25790 // Structure to describe response TLV 0x45 for CATGetEventReport()
25791 struct sCATGetEventReportResponse_Alpha
25792 {
25793 eQMICATDataCodingScheme mDataCodingScheme;
25794 UINT8 mTextDataLength;
25795
25796 // This array must be the size specified by mTextDataLength
25797 // UINT8 mTextData[1];
25798 };
25799
25800 // Structure to describe response TLV 0x46 for CATGetEventReport()
25801 struct sCATGetEventReportResponse_NotificationRequired
25802 {
25803 eQMICATNotificationRequired mNotificationRequired;
25804 };
25805
25806 // Structure to describe response TLV 0x47 for CATGetEventReport()
25807 struct sCATGetEventReportResponse_PlayToneEvent
25808 {
25809 UINT32 mReferenceID;
25810 UINT16 mCommandLength;
25811
25812 // This array must be the size specified by mCommandLength
25813 // UINT8 mPlayToneCommand[1];
25814 };
25815
25816 // Structure to describe response TLV 0x48 for CATGetEventReport()
25817 struct sCATGetEventReportResponse_SetupCallEvent
25818 {
25819 UINT32 mReferenceID;
25820 UINT16 mCommandLength;
25821
25822 // This array must be the size specified by mCommandLength
25823 // UINT8 mSetupCallCommand[1];
25824 };
25825
25826 // Structure to describe response TLV 0x49 for CATGetEventReport()
25827 struct sCATGetEventReportResponse_SendDTMFEvent
25828 {
25829 UINT32 mReferenceID;
25830 UINT16 mCommandLength;
25831
25832 // This array must be the size specified by mCommandLength
25833 // UINT8 mSendDTMFCommand[1];
25834 };
25835
25836 // Structure to describe response TLV 0x4A for CATGetEventReport()
25837 struct sCATGetEventReportResponse_LaunchBrowserEvent
25838 {
25839 UINT32 mReferenceID;
25840 UINT16 mCommandLength;
25841
25842 // This array must be the size specified by mCommandLength
25843 // UINT8 mLaunchBrowserCommand[1];
25844 };
25845
25846 // Structure to describe response TLV 0x4B for CATGetEventReport()
25847 struct sCATGetEventReportResponse_SendSMSEvent
25848 {
25849 UINT32 mReferenceID;
25850 UINT16 mCommandLength;
25851
25852 // This array must be the size specified by mCommandLength
25853 // UINT8 mSendSMSCommand[1];
25854 };
25855
25856 // Structure to describe response TLV 0x4C for CATGetEventReport()
25857 struct sCATGetEventReportResponse_SendSSEvent
25858 {
25859 UINT32 mReferenceID;
25860 UINT16 mCommandLength;
25861
25862 // This array must be the size specified by mCommandLength
25863 // UINT8 mSendSSCommand[1];
25864 };
25865
25866 // Structure to describe response TLV 0x4D for CATGetEventReport()
25867 struct sCATGetEventReportResponse_SendUSSDEvent
25868 {
25869 UINT32 mReferenceID;
25870 UINT16 mCommandLength;
25871
25872 // This array must be the size specified by mCommandLength
25873 // UINT8 mSendUSSDCommand[1];
25874 };
25875
25876 // Structure to describe response TLV 0x4E for CATGetEventReport()
25877 struct sCATGetEventReportResponse_ProvideLocalInformationEvent
25878 {
25879 UINT32 mReferenceID;
25880 UINT16 mCommandLength;
25881
25882 // This array must be the size specified by mCommandLength
25883 // UINT8 mProvideLocalInformationCommand[1];
25884 };
25885
25886 // Structure to describe response TLV 0x4F for CATGetEventReport()
25887 struct sCATGetEventReportResponse_SetupEventListRawEvent
25888 {
25889 UINT32 mReferenceID;
25890 UINT16 mCommandLength;
25891
25892 // This array must be the size specified by mCommandLength
25893 // UINT8 mSetupEventListCommand[1];
25894 };
25895
25896 // Structure to describe response TLV 0x50 for CATGetEventReport()
25897 struct sCATGetEventReportResponse_Slot
25898 {
25899 eQMICATSlot mSlot;
25900 };
25901
25902 // Structure to describe response TLV 0x51 for CATGetEventReport()
25903 struct sCATGetEventReportResponse_OpenChannelEvent
25904 {
25905 UINT32 mReferenceID;
25906 UINT16 mCommandLength;
25907
25908 // This array must be the size specified by mCommandLength
25909 // UINT8 mOpenChannelCommand[1];
25910 };
25911
25912 // Structure to describe response TLV 0x52 for CATGetEventReport()
25913 struct sCATGetEventReportResponse_CloseChannelEvent
25914 {
25915 UINT32 mReferenceID;
25916 UINT16 mCommandLength;
25917
25918 // This array must be the size specified by mCommandLength
25919 // UINT8 mCloseChannelCommand[1];
25920 };
25921
25922 // Structure to describe response TLV 0x53 for CATGetEventReport()
25923 struct sCATGetEventReportResponse_SendDataEvent
25924 {
25925 UINT32 mReferenceID;
25926 UINT16 mCommandLength;
25927
25928 // This array must be the size specified by mCommandLength
25929 // UINT8 mSendDataCommand[1];
25930 };
25931
25932 // Structure to describe response TLV 0x54 for CATGetEventReport()
25933 struct sCATGetEventReportResponse_ReceiveDataEvent
25934 {
25935 UINT32 mReferenceID;
25936 UINT16 mCommandLength;
25937
25938 // This array must be the size specified by mCommandLength
25939 // UINT8 mReceiveDataCommand[1];
25940 };
25941
25942 // Structure to describe response TLV 0x55 for CATGetEventReport()
25943 struct sCATGetEventReportResponse_OnDemandLinkEstablish
25944 {
25945 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
25946 };
25947
25948 // Structure to describe response TLV 0x56 for CATGetEventReport()
25949 struct sCATGetEventReportResponse_CSDBearerDescription
25950 {
25951 UINT8 mSpeed;
25952 eQMICATCSDBearerName mCSDBearerName;
25953 eQMICATConnectionElement mConnectionElement;
25954 };
25955
25956 // Structure to describe response TLV 0x57 for CATGetEventReport()
25957 struct sCATGetEventReportResponse_GPRSBearerDescription
25958 {
25959 UINT8 mPrecedenceClass;
25960 UINT8 mDelayClass;
25961 UINT8 mReliabilityClass;
25962 UINT8 mPeakThroughput;
25963 UINT8 mMeanThroughput;
25964 eQMICATPacketDataProtocol mPacketDataProtocol;
25965 };
25966
25967 // Structure to describe response TLV 0x58 for CATGetEventReport()
25968 struct sCATGetEventReportResponse_EUTRANExternalParameterBearerDescription
25969 {
25970 eQMICATTrafficClass mTrafficClass;
25971 UINT16 mMaxUploadBitrate;
25972 UINT16 mMaxDownloadBitrate;
25973 UINT16 mGuaranteedUploadBitrate;
25974 UINT16 mGuaranteedDownloadBitrate;
25975 eQMICATDeliveryOrder mDeliveryOrder;
25976 UINT8 mMaxSDUSize;
25977 UINT8 mMaxSDUErrorRatio;
25978 UINT8 mResidualBitErrorRatio;
25979 eQMICATDeliverErrorSDU mDeliverErrorSDU;
25980 UINT8 mTransferDelay;
25981 UINT8 mTrafficHandlingPRI;
25982 eQMICATPDPType mPDPType;
25983 };
25984
25985 // Structure to describe response TLV 0x59 for CATGetEventReport()
25986 struct sCATGetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
25987 {
25988 UINT8 mQCI;
25989 UINT8 mMaxUploadBitrate;
25990 UINT8 mMaxDownloadBitrate;
25991 UINT8 mGuaranteedUploadBitrate;
25992 UINT8 mGuaranteedDownloadBitrate;
25993 UINT8 mMaximumUploadBitrateExt;
25994 UINT8 mMaximumDownloadBitrateExt;
25995 UINT8 mGuaranteedUploadBitrateExt;
25996 UINT8 mGuaranteedDownloadBitrateExt;
25997 eQMICATPDPType mPDPType;
25998 };
25999
26000 // Structure to describe response TLV 0x5A for CATGetEventReport()
26001 struct sCATGetEventReportResponse_BufferSize
26002 {
26003 UINT16 mBufferSize;
26004 };
26005
26006 // Structure to describe response TLV 0x5B for CATGetEventReport()
26007 struct sCATGetEventReportResponse_NetworkAccessName
26008 {
26009 UINT8 mNetworkAccessNameLength;
26010
26011 // This array must be the size specified by mNetworkAccessNameLength
26012 // UINT8 mNetworkAccessName[1];
26013 };
26014
26015 // Structure to describe response TLV 0x5C for CATGetEventReport()
26016 struct sCATGetEventReportResponse_OtherAddress
26017 {
26018 eQMICATAddressType mAddressType;
26019 UINT8 mAddressDataLength;
26020
26021 // This array must be the size specified by mAddressDataLength
26022 // char mAddressData[1];
26023 };
26024
26025 // Structure to describe response TLV 0x5D for CATGetEventReport()
26026 struct sCATGetEventReportResponse_UserLogin
26027 {
26028 eQMICATDataCodingScheme mDataCodingScheme;
26029 UINT8 mTextDataLength;
26030
26031 // This array must be the size specified by mTextDataLength
26032 // UINT8 mTextData[1];
26033 };
26034
26035 // Structure to describe response TLV 0x5E for CATGetEventReport()
26036 struct sCATGetEventReportResponse_UserPassword
26037 {
26038 eQMICATDataCodingScheme mDataCodingScheme;
26039 UINT8 mTextDataLength;
26040
26041 // This array must be the size specified by mTextDataLength
26042 // UINT8 mTextData[1];
26043 };
26044
26045 // Structure to describe response TLV 0x5F for CATGetEventReport()
26046 struct sCATGetEventReportResponse_TransportLevel
26047 {
26048 eQMICATTransportProtocol mTransportProtocol;
26049 UINT16 mPortNumber;
26050 };
26051
26052 // Structure to describe response TLV 0x60 for CATGetEventReport()
26053 struct sCATGetEventReportResponse_DataDestinationAddress
26054 {
26055 eQMICATAddressType mAddressType;
26056 UINT8 mAddressDataLength;
26057
26058 // This array must be the size specified by mAddressDataLength
26059 // char mAddressData[1];
26060 };
26061
26062 // Structure to describe response TLV 0x61 for CATGetEventReport()
26063 struct sCATGetEventReportResponse_ChannelDataLength
26064 {
26065 UINT8 mChannelDataLength;
26066 };
26067
26068 // Structure to describe response TLV 0x62 for CATGetEventReport()
26069 struct sCATGetEventReportResponse_SendDataImmediately
26070 {
26071 eQMICATSendDataImmediately mSendDataImmediately;
26072 };
26073
26074 // Structure to describe response TLV 0x63 for CATGetEventReport()
26075 struct sCATGetEventReportResponse_ChannelData
26076 {
26077 UINT16 mChannelDataLength;
26078
26079 // This array must be the size specified by mChannelDataLength
26080 // UINT8 mChannelData[1];
26081 };
26082
26083 // Structure to describe response TLV 0x64 for CATGetEventReport()
26084 struct sCATGetEventReportResponse_ChannelID
26085 {
26086 UINT8 mChannelID;
26087 };
26088
26089 // Structure to describe response TLV 0x65 for CATGetEventReport()
26090 struct sCATGetEventReportResponse_ItemsWithDCS
26091 {
26092 UINT8 mItemsLength;
26093
26094 struct sItem
26095 {
26096 UINT8 mItemID;
26097 eQMICATDataCodingScheme mDataCodingScheme;
26098 UINT8 mItemTextLength;
26099
26100 // This array must be the size specified by mItemTextLength
26101 // UINT8 mItemText[1];
26102 };
26103
26104 // This array must be the size specified by mItemsLength
26105 // sItem mItems[1];
26106 };
26107
26108 // Structure to describe response TLV 0x66 for CATGetEventReport()
26109 struct sCATGetEventReportResponse_Activate
26110 {
26111 UINT32 mReferenceID;
26112 UINT16 mActivateLength;
26113
26114 // This array must be the size specified by mActivateLength
26115 // UINT8 mActivate[1];
26116 };
26117
26118 // Structure to describe response TLV 0x67 for CATGetEventReport()
26119 struct sCATGetEventReportResponse_ActivateTarget
26120 {
26121 eQMICATActivateTargets mActivateTarget;
26122 };
26123
26124 // Structure to describe request TLV 0x01 for CATSendDecodedTerminalResponse()
26125 struct sCATSendDecodedTerminalResponseRequest_TerminalResponse
26126 {
26127 UINT32 mReferenceID;
26128 UINT8 mCommandNumber;
26129 eQMICATResponseCommand mResponseCommand;
26130 UINT8 mGeneralResult;
26131 UINT8 mAdditionalInformationLength;
26132
26133 // This array must be the size specified by mAdditionalInformationLength
26134 // UINT8 mTerminalResponseAdditionalInformation[1];
26135 };
26136
26137 // Structure to describe request TLV 0x10 for CATSendDecodedTerminalResponse()
26138 struct sCATSendDecodedTerminalResponseRequest_TextString
26139 {
26140 eQMICATDataCodingScheme mDataCodingScheme;
26141 UINT8 mTextDataLength;
26142
26143 // This array must be the size specified by mTextDataLength
26144 // UINT8 mTextData[1];
26145 };
26146
26147 // Structure to describe request TLV 0x11 for CATSendDecodedTerminalResponse()
26148 struct sCATSendDecodedTerminalResponseRequest_ItemIdentifier
26149 {
26150 UINT8 mItemIdentifier;
26151 };
26152
26153 // Structure to describe request TLV 0x12 for CATSendDecodedTerminalResponse()
26154 struct sCATSendDecodedTerminalResponseRequest_GetInkeyExtraInfo
26155 {
26156 eQMICATTimeUnits mUnits;
26157 UINT8 mInterval;
26158 eQMICATDataCodingScheme mDataCodingScheme;
26159 UINT8 mTextDataLength;
26160
26161 // This array must be the size specified by mTextDataLength
26162 // UINT8 mTextData[1];
26163 };
26164
26165 // Structure to describe request TLV 0x13 for CATSendDecodedTerminalResponse()
26166 struct sCATSendDecodedTerminalResponseRequest_LanguageInfo
26167 {
26168 char mLanguage[2];
26169 };
26170
26171 // Structure to describe request TLV 0x14 for CATSendDecodedTerminalResponse()
26172 struct sCATSendDecodedTerminalResponseRequest_Slot
26173 {
26174 eQMICATSlot mSlot;
26175 };
26176
26177 // Structure to describe request TLV 0x15 for CATSendDecodedTerminalResponse()
26178 struct sCATSendDecodedTerminalResponseRequest_GetInkeyYesInput
26179 {
26180 eQMICATTimeUnits mUnits;
26181 UINT8 mInterval;
26182 INT8 mGetInkeyYesInput;
26183 };
26184
26185 // Structure to describe response TLV 0x10 for CATSendDecodedTerminal()
26186 struct sCATSendDecodedTerminalResponseResponse_TRResponse
26187 {
26188 UINT8 mSW1;
26189 UINT8 mSW2;
26190 UINT8 mTerminalResponseLength;
26191
26192 // This array must be the size specified by mTerminalResponseLength
26193 // UINT8 mTerminalResponseData[1];
26194 };
26195
26196 // Structure to describe request TLV 0x01 for CATSendDecodedEnvelopeCommand()
26197 struct sCATSendDecodedEnvelopeCommandRequest_EnvelopeCommand
26198 {
26199 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
26200 };
26201
26202 // Structure to describe request TLV 0x10 for CATSendDecodedEnvelopeCommand()
26203 struct sCATSendDecodedEnvelopeCommandRequest_ItemIdentifier
26204 {
26205 UINT8 mItemIdentifier;
26206 };
26207
26208 // Structure to describe request TLV 0x11 for CATSendDecodedEnvelopeCommand()
26209 struct sCATSendDecodedEnvelopeCommandRequest_HelpRequest
26210 {
26211 eQMICATHelpRequest mHelpRequest;
26212 };
26213
26214 // Structure to describe request TLV 0x12 for CATSendDecodedEnvelopeCommand()
26215 struct sCATSendDecodedEnvelopeCommandRequest_Language
26216 {
26217 char mLanguage[2];
26218 };
26219
26220 // Structure to describe request TLV 0x13 for CATSendDecodedEnvelopeCommand()
26221 struct sCATSendDecodedEnvelopeCommandRequest_Slot
26222 {
26223 eQMICATSlot mSlot;
26224 };
26225
26226 // Structure to describe request TLV 0x14 for CATSendDecodedEnvelopeCommand()
26227 struct sCATSendDecodedEnvelopeCommandRequest_Address
26228 {
26229 eQMICATAddressTON mAddressTON;
26230 eQMICATAddressNPI mAddressNPI;
26231 UINT8 mAddressDataLength;
26232
26233 // This array must be the size specified by mAddressDataLength
26234 // char mAddressData[1];
26235 };
26236
26237 // Structure to describe request TLV 0x15 for CATSendDecodedEnvelopeCommand()
26238 struct sCATSendDecodedEnvelopeCommandRequest_Subaddress
26239 {
26240 UINT8 mSubaddressDataLength;
26241
26242 struct sSubaddressData
26243 {
26244 UINT8 mSubaddressData1:4;
26245 UINT8 mSubaddressData2:4;
26246 };
26247
26248 // This array must be the size specified by mSubaddressDataLength
26249 // sSubaddressData mSubaddressDatas[1];
26250 };
26251
26252 // Structure to describe request TLV 0x16 for CATSendDecodedEnvelopeCommand()
26253 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
26254 {
26255 UINT8 mCapabilitesConfigurationLength;
26256
26257 // This array must be the size specified by mCapabilitesConfigurationLength
26258 // UINT8 mCapabilitiesConfiguration[1];
26259 };
26260
26261 // Structure to describe request TLV 0x17 for CATSendDecodedEnvelopeCommand()
26262 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
26263 {
26264 UINT8 mCapabilitesConfigurationLength;
26265
26266 // This array must be the size specified by mCapabilitesConfigurationLength
26267 // UINT8 mCapabilitiesConfiguration[1];
26268 };
26269
26270 // Structure to describe request TLV 0x18 for CATSendDecodedEnvelopeCommand()
26271 struct sCATSendDecodedEnvelopeCommandRequest_USSDString
26272 {
26273 eQMICATDataCodingScheme mDataCodingScheme;
26274 UINT8 mTextDataLength;
26275
26276 // This array must be the size specified by mTextDataLength
26277 // UINT8 mTextData[1];
26278 };
26279
26280 // Structure to describe request TLV 0x19 for CATSendDecodedEnvelopeCommand()
26281 struct sCATSendDecodedEnvelopeCommandRequest_PDPContextActivation
26282 {
26283 UINT8 mPDPContextActivationDataLength;
26284
26285 // This array must be the size specified by mPDPContextActivationDataLength
26286 // UINT8 mPDPContextActivationData[1];
26287 };
26288
26289 // Structure to describe request TLV 0x1A for CATSendDecodedEnvelopeCommand()
26290 struct sCATSendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
26291 {
26292 UINT8 mEPSPDNConnectActivationDataLength;
26293
26294 // This array must be the size specified by mEPSPDNConnectActivationDataLength
26295 // UINT8 mEPSPDNConnectActivationData[1];
26296 };
26297
26298 // Structure to describe request TLV 0x1B for CATSendDecodedEnvelopeCommand()
26299 struct sCATSendDecodedEnvelopeCommandRequest_BrowserTerminationCause
26300 {
26301 eQMICATBrowserTerminationCauses mBrowserTerminationCause;
26302 };
26303
26304 // Structure to describe response TLV 0x10 for CATSendDecodedEnvelopeCommand()
26305 struct sCATSendDecodedEnvelopeCommandResponse_CallControlResult
26306 {
26307 eQMICATCallControlResult mCallControlResult;
26308 };
26309
26310 // Structure to describe response TLV 0x11 for CATSendDecodedEnvelopeCommand()
26311 struct sCATSendDecodedEnvelopeCommandResponse_Address
26312 {
26313 eQMICATAddressTON mAddressTON;
26314 eQMICATAddressNPI mAddressNPI;
26315 UINT8 mAddressDataLength;
26316
26317 // This array must be the size specified by mAddressDataLength
26318 // char mAddressData[1];
26319 };
26320
26321 // Structure to describe response TLV 0x12 for CATSendDecodedEnvelopeCommand()
26322 struct sCATSendDecodedEnvelopeCommandResponse_Subaddress
26323 {
26324 UINT8 mSubaddressDataLength;
26325
26326 struct sSubaddressData
26327 {
26328 UINT8 mSubaddressData1:4;
26329 UINT8 mSubaddressData2:4;
26330 };
26331
26332 // This array must be the size specified by mSubaddressDataLength
26333 // sSubaddressData mSubaddressDatas[1];
26334 };
26335
26336 // Structure to describe response TLV 0x13 for CATSendDecodedEnvelopeCommand()
26337 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
26338 {
26339 UINT8 mCapabilitesConfigurationLength;
26340
26341 // This array must be the size specified by mCapabilitesConfigurationLength
26342 // UINT8 mCapabilitiesConfiguration[1];
26343 };
26344
26345 // Structure to describe response TLV 0x14 for CATSendDecodedEnvelopeCommand()
26346 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
26347 {
26348 UINT8 mCapabilitesConfigurationLength;
26349
26350 // This array must be the size specified by mCapabilitesConfigurationLength
26351 // UINT8 mCapabilitiesConfiguration[1];
26352 };
26353
26354 // Structure to describe response TLV 0x15 for CATSendDecodedEnvelopeCommand()
26355 struct sCATSendDecodedEnvelopeCommandResponse_USSDString
26356 {
26357 eQMICATDataCodingScheme mDataCodingScheme;
26358 UINT8 mTextDataLength;
26359
26360 // This array must be the size specified by mTextDataLength
26361 // UINT8 mTextData[1];
26362 };
26363
26364 // Structure to describe response TLV 0x16 for CATSendDecodedEnvelopeCommand()
26365 struct sCATSendDecodedEnvelopeCommandResponse_PDPContextActivation
26366 {
26367 UINT8 mPDPContextActivationDataLength;
26368
26369 // This array must be the size specified by mPDPContextActivationDataLength
26370 // UINT8 mPDPContextActivationData[1];
26371 };
26372
26373 // Structure to describe response TLV 0x17 for CATSendDecodedEnvelopeCommand()
26374 struct sCATSendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
26375 {
26376 UINT8 mEPSPDNConnectActivationDataLength;
26377
26378 // This array must be the size specified by mEPSPDNConnectActivationDataLength
26379 // UINT8 mEPSPDNConnectActivationData[1];
26380 };
26381
26382 // Structure to describe response TLV 0x18 for CATSendDecodedEnvelopeCommand()
26383 struct sCATSendDecodedEnvelopeCommandResponse_Alpha
26384 {
26385 eQMICATDataCodingScheme mDataCodingScheme;
26386 UINT8 mTextDataLength;
26387
26388 // This array must be the size specified by mTextDataLength
26389 // UINT8 mTextData[1];
26390 };
26391
26392 // Structure to describe response TLV 0x19 for CATSendDecodedEnvelopeCommand()
26393 struct sCATSendDecodedEnvelopeCommandResponse_BCRepeatIndicator
26394 {
26395 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
26396 };
26397
26398 // Structure to describe request TLV 0x10 for CATEventConfirmation()
26399 struct sCATEventConfirmationRequest_UserConfirmed
26400 {
26401 eQMICATUserConfirmed mUserConfirmed;
26402 };
26403
26404 // Structure to describe request TLV 0x11 for CATEventConfirmation()
26405 struct sCATEventConfirmationRequest_IconIsDisplayed
26406 {
26407 eQMICATIconIsDisplayed mIconIsDisplayed;
26408 };
26409
26410 // Structure to describe request TLV 0x12 for CATEventConfirmation()
26411 struct sCATEventConfirmationRequest_Slot
26412 {
26413 eQMICATSlot mSlot;
26414 };
26415
26416 // Structure to describe request TLV 0x01 for CATSCWSOpenChannel()
26417 struct sCATSCWSOpenChannelRequest_ChannelStatus
26418 {
26419 UINT32 mChannelID;
26420 eQMICATChannelState mChannelState;
26421 };
26422
26423 // Structure to describe request TLV 0x10 for CATSCWSOpenChannel()
26424 struct sCATSCWSOpenChannelRequest_Slot
26425 {
26426 eQMICATSlot mSlot;
26427 };
26428
26429 // Structure to describe indication TLV 0x10 for CAT SCWSOpenChannelIndication
26430 struct sCATSCWSOpenChannelIndication_OpenChannelInformation
26431 {
26432 UINT32 mChannelID;
26433 UINT16 mPortNumber;
26434 UINT16 mBufferSize;
26435 };
26436
26437 // Structure to describe indication TLV 0x11 for CAT SCWSOpenChannelIndication
26438 struct sCATSCWSOpenChannelIndication_Slot
26439 {
26440 eQMICATSlot mSlot;
26441 };
26442
26443 // Structure to describe request TLV 0x01 for CATSCWSCloseChannel()
26444 struct sCATSCWSCloseChannelRequest_ChannelStatus
26445 {
26446 UINT32 mChannelID;
26447 eQMICATChannelState mChannelState;
26448 };
26449
26450 // Structure to describe request TLV 0x10 for CATSCWSCloseChannel()
26451 struct sCATSCWSCloseChannelRequest_Slot
26452 {
26453 eQMICATSlot mSlot;
26454 };
26455
26456 // Structure to describe indication TLV 0x10 for CAT SCWSCloseChannelIndication
26457 struct sCATSCWSCloseChannelIndication_CloseChannelInfo
26458 {
26459 UINT32 mChannelID;
26460 eQMICATChannelState mChannelState;
26461 };
26462
26463 // Structure to describe response TLV 0x11 for CATSCWSCloseChannel()
26464 struct sCATSCWSCloseChannelResponse_Slot
26465 {
26466 eQMICATSlot mSlot;
26467 };
26468
26469 // Structure to describe request TLV 0x01 for CATSCWSSendData()
26470 struct sCATSCWSSendDataRequest_ChannelStatus
26471 {
26472 UINT32 mChannelID;
26473 eQMICATSendDataResult mDataSendResult;
26474 };
26475
26476 // Structure to describe request TLV 0x10 for CATSCWSSendData()
26477 struct sCATSCWSSendDataRequest_Slot
26478 {
26479 eQMICATSlot mSlot;
26480 };
26481
26482 // Structure to describe indication TLV 0x10 for CAT SCWSSendDataIndication
26483 struct sCATSCWSSendDataIndication_SendDataInfo
26484 {
26485 UINT32 mChannelID;
26486 UINT8 mTotalPackets;
26487 UINT8 mCurrentPacket;
26488 UINT16 mDataLength;
26489
26490 // This array must be the size specified by mDataLength
26491 // UINT8 mData[1];
26492 };
26493
26494 // Structure to describe indication TLV 0x11 for CAT SCWSSendDataIndication
26495 struct sCATSCWSSendDataIndication_Slot
26496 {
26497 eQMICATSlot mSlot;
26498 };
26499
26500 // Structure to describe request TLV 0x01 for CATSCWSDataAvailable()
26501 struct sCATSCWSDataAvailableRequest_RemainingData
26502 {
26503 UINT32 mChannelID;
26504 UINT16 mDataLength;
26505
26506 // This array must be the size specified by mDataLength
26507 // UINT8 mData[1];
26508 };
26509
26510 // Structure to describe request TLV 0x10 for CATSCWSDataAvailable()
26511 struct sCATSCWSDataAvailableRequest_Slot
26512 {
26513 eQMICATSlot mSlot;
26514 };
26515
26516 // Structure to describe request TLV 0x01 for CATSCWSChannelStatus()
26517 struct sCATSCWSChannelStatusRequest_ChannelStatus
26518 {
26519 UINT32 mChannelID;
26520 eQMICATChannelState mChannelState;
26521 };
26522
26523 // Structure to describe request TLV 0x10 for CATSCWSChannelStatus()
26524 struct sCATSCWSChannelStatusRequest_Slot
26525 {
26526 eQMICATSlot mSlot;
26527 };
26528
26529 // Structure to describe request TLV 0x10 for CATGetTerminalProfile()
26530 struct sCATGetTerminalProfileRequest_Slot
26531 {
26532 eQMICATSlot mSlot;
26533 };
26534
26535 // Structure to describe response TLV 0x10 for CATGetTerminalProfile()
26536 struct sCATGetTerminalProfileResponse_RawData
26537 {
26538 UINT8 mTerminalProfileLength;
26539
26540 // This array must be the size specified by mTerminalProfileLength
26541 // UINT8 mTerminalProfileData[1];
26542 };
26543
26544 // Structure to describe request TLV 0x01 for CATSetConfiguration()
26545 struct sCATSetConfigurationRequest_Mode
26546 {
26547 eQMICATConfigModes mConfigMode;
26548 };
26549
26550 // Structure to describe request TLV 0x10 for CATSetConfiguration()
26551 struct sCATSetConfigurationRequest_CustomData
26552 {
26553 UINT8 mTerminalProfileLength;
26554
26555 // This array must be the size specified by mTerminalProfileLength
26556 // UINT8 mTerminalProfileData[1];
26557 };
26558
26559 // Structure to describe response TLV 0x10 for CATGetConfiguration()
26560 struct sCATGetConfigurationResponse_Mode
26561 {
26562 eQMICATConfigModes mConfigMode;
26563 };
26564
26565 // Structure to describe response TLV 0x11 for CATGetConfiguration()
26566 struct sCATGetConfigurationResponse_CustomData
26567 {
26568 UINT8 mTerminalProfileLength;
26569
26570 // This array must be the size specified by mTerminalProfileLength
26571 // UINT8 mTerminalProfileData[1];
26572 };
26573
26574 // Structure to describe response TLV 0x10 for RMSGetSMSWake()
26575 struct sRMSGetSMSWakeResponse_State
26576 {
26577 INT8 mSMSWakeEnabled;
26578 };
26579
26580 // Structure to describe request TLV 0x11 for RMSGetSMSWake()
26581 struct sRMSGetSMSWakeRequest_Mask
26582 {
26583 UINT32 mMask;
26584 };
26585
26586 // Structure to describe request TLV 0x10 for RMSSetSMSWake()
26587 struct sRMSSetSMSWakeRequest_State
26588 {
26589 INT8 mSMSWakeEnabled;
26590 };
26591
26592 // Structure to describe request TLV 0x11 for RMSSetSMSWake()
26593 struct sRMSSetSMSWakeRequest_Mask
26594 {
26595 UINT32 mMask;
26596 };
26597
26598 // Structure to describe request TLV 0x10 for OMASetEventReport()
26599 struct sOMASetEventReportRequest_NIA
26600 {
26601 INT8 mReportNetworkInitiatedAlerts;
26602 };
26603
26604 // Structure to describe request TLV 0x11 for OMASetEventReport()
26605 struct sOMASetEventReportRequest_Status
26606 {
26607 INT8 mReportSessionStatus;
26608 };
26609
26610 // Structure to describe indication TLV 0x10 for OMA EventReport
26611 struct sOMAEventReportIndication_NIA
26612 {
26613 eQMIOMASessionTypes mSessionType;
26614 UINT16 mSessionID;
26615 };
26616
26617 // Structure to describe indication TLV 0x11 for OMA EventReport
26618 struct sOMAEventReportIndication_Status
26619 {
26620 eQMIOMASessionStates mSessionState;
26621 };
26622
26623 // Structure to describe indication TLV 0x12 for OMA EventReport
26624 struct sOMAEventReportIndication_Failure
26625 {
26626 eQMIOMASessionFailureReasons mSessionFailure;
26627 };
26628
26629 // Structure to describe request TLV 0x10 for OMAStartSession()
26630 struct sOMAStartSessionRequest_Type
26631 {
26632 eQMIOMASessionTypes mSessionType;
26633 };
26634
26635 // Structure to describe response TLV 0x10 for OMAGetSessionInfo()
26636 struct sOMAGetSessionInfoResponse_Info
26637 {
26638 eQMIOMASessionStates mSessionState;
26639 eQMIOMASessionTypes mSessionType;
26640 };
26641
26642 // Structure to describe response TLV 0x11 for OMAGetSessionInfo()
26643 struct sOMAGetSessionInfoResponse_Failure
26644 {
26645 eQMIOMASessionFailureReasons mSessionFailure;
26646 };
26647
26648 // Structure to describe response TLV 0x12 for OMAGetSessionInfo()
26649 struct sOMAGetSessionInfoResponse_Retry
26650 {
26651 UINT8 mRetryCount;
26652 UINT16 mRetryPauseTimer;
26653 UINT16 mRemainingTime;
26654 };
26655
26656 // Structure to describe response TLV 0x13 for OMAGetSessionInfo()
26657 struct sOMAGetSessionInfoResponse_NIA
26658 {
26659 eQMIOMASessionTypes mSessionType;
26660 UINT16 mSessionID;
26661 };
26662
26663 // Structure to describe request TLV 0x10 for OMASendSelection()
26664 struct sOMASendSelectionRequest_Type
26665 {
26666 eQMIOMASelections mSelection;
26667 UINT16 mSessionID;
26668 };
26669
26670 // Structure to describe response TLV 0x10 for OMAGetFeatures()
26671 struct sOMAGetFeaturesResponse_Provisioning
26672 {
26673 INT8 mDeviceProvisioningServiceUpdateEnabled;
26674 };
26675
26676 // Structure to describe response TLV 0x11 for OMAGetFeatures()
26677 struct sOMAGetFeaturesResponse_PRLUpdate
26678 {
26679 INT8 mPRLServiceUpdateEnabled;
26680 };
26681
26682 // Structure to describe response TLV 0x12 for OMAGetFeatures()
26683 struct sOMAGetFeaturesResponse_HFAFeature
26684 {
26685 INT8 mHFAFeatureEnabled;
26686 };
26687
26688 // Structure to describe response TLV 0x13 for OMAGetFeatures()
26689 struct sOMAGetFeaturesResponse_HFADoneState
26690 {
26691 eQMIOMAHFADoneStates mHFAFeatureDoneState;
26692 };
26693
26694 // Structure to describe request TLV 0x10 for OMASetFeatures()
26695 struct sOMASetFeaturesRequest_Provisioning
26696 {
26697 INT8 mDeviceProvisioningServiceUpdateEnabled;
26698 };
26699
26700 // Structure to describe request TLV 0x11 for OMASetFeatures()
26701 struct sOMASetFeaturesRequest_PRLUpdate
26702 {
26703 INT8 mPRLServiceUpdateEnabled;
26704 };
26705
26706 // Structure to describe request TLV 0x12 for OMASetFeatures()
26707 struct sOMASetFeaturesRequest_HFAFeature
26708 {
26709 INT8 mHFAFeatureEnabled;
26710 };
26711
26712
26713 #pragma pack( pop )