Debian Codegraph @

gobi-api/GobiAPI_2012-09-12-0719/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 request TLV 0x10 for WDSEMBMSTMGIActivate()
5339 struct sWDSEMBMSTMGIActivateRequest_TransactionID
5340 {
5341 INT16 mTransactionID;
5342 };
5343
5344 // Structure to describe request TLV 0x11 for WDSEMBMSTMGIActivate()
5345 struct sWDSEMBMSTMGIActivateRequest_PreemptPriority
5346 {
5347 UINT32 mPreemptPriority;
5348 };
5349
5350 // Structure to describe request TLV 0x12 for WDSEMBMSTMGIActivate()
5351 struct sWDSEMBMSTMGIActivateRequest_EARFCNList
5352 {
5353 UINT8 mEARFCNCount;
5354
5355 // This array must be the size specified by mEARFCNCount
5356 // UINT16 mEARFCN[1];
5357 };
5358
5359 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIActivate()
5360 struct sWDSEMBMSTMGIActivateResponse_ExtendedError
5361 {
5362 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5363 };
5364
5365 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGIActivateIndication
5366 struct sWDSEMBMSTMGIActivateIndication_Status
5367 {
5368 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5369 };
5370
5371 // Structure to describe indication TLV 0x10 for WDS EMBMSTMGIActivateIndication
5372 struct sWDSEMBMSTMGIActivateIndication_TransactionID
5373 {
5374 INT16 mTransactionID;
5375 };
5376
5377 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIDeactivate()
5378 struct sWDSEMBMSTMGIDeactivateRequest_TMGI
5379 {
5380 UINT8 mTMGI[6];
5381 INT8 mSessionIDValid;
5382 UINT8 mSessionID;
5383 };
5384
5385 // Structure to describe request TLV 0x10 for WDSEMBMSTMGIDeactivate()
5386 struct sWDSEMBMSTMGIDeactivateRequest_TransactionID
5387 {
5388 INT16 mTransactionID;
5389 };
5390
5391 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIDeactivate()
5392 struct sWDSEMBMSTMGIDeactivateResponse_ExtendedError
5393 {
5394 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5395 };
5396
5397 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGIDectivateIndication
5398 struct sWDSEMBMSTMGIDectivateIndication_Status
5399 {
5400 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5401 };
5402
5403 // Structure to describe indication TLV 0x10 for WDS EMBMSTMGIDectivateIndication
5404 struct sWDSEMBMSTMGIDectivateIndication_TransactionID
5405 {
5406 INT16 mTransactionID;
5407 };
5408
5409 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIListQuery()
5410 struct sWDSEMBMSTMGIListQueryRequest_Type
5411 {
5412 eQMIWDSEMBMSListTypes mTMGIListType;
5413 };
5414
5415 // Structure to describe request TLV 0x10 for WDSEMBMSTMGIListQuery()
5416 struct sWDSEMBMSTMGIListQueryRequest_TransactionID
5417 {
5418 INT16 mTransactionID;
5419 };
5420
5421 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIListQuery()
5422 struct sWDSEMBMSTMGIListQueryResponse_List
5423 {
5424 eQMIWDSEMBMSListTypes mTMGIListType;
5425 UINT8 mTMGIListCount;
5426
5427 struct sEntry
5428 {
5429 UINT8 mTMGI[6];
5430 INT8 mSessionIDValid;
5431 UINT8 mSessionID;
5432 };
5433
5434 // This array must be the size specified by mTMGIListCount
5435 // sEntry mEntrys[1];
5436 };
5437
5438 // Structure to describe response TLV 0x11 for WDSEMBMSTMGIListQuery()
5439 struct sWDSEMBMSTMGIListQueryResponse_OOS
5440 {
5441 eQMIWDSOOSWarningReasons mOOSWarningReason;
5442 };
5443
5444 // Structure to describe indication TLV 0x10 for WDS EMBMSTMGIListIndication
5445 struct sWDSEMBMSTMGIListIndication_List
5446 {
5447 eQMIWDSEMBMSListTypes mTMGIListType;
5448 UINT8 mTMGIListCount;
5449
5450 struct sEntry
5451 {
5452 UINT8 mTMGI[6];
5453 INT8 mSessionIDValid;
5454 UINT8 mSessionID;
5455 };
5456
5457 // This array must be the size specified by mTMGIListCount
5458 // sEntry mEntrys[1];
5459 };
5460
5461 // Structure to describe indication TLV 0x11 for WDS EMBMSTMGIListIndication
5462 struct sWDSEMBMSTMGIListIndication_OOS
5463 {
5464 eQMIWDSOOSWarningReasons mOOSWarningReason;
5465 };
5466
5467 // Structure to describe indication TLV 0x12 for WDS EMBMSTMGIListIndication
5468 struct sWDSEMBMSTMGIListIndication_TransactionID
5469 {
5470 INT16 mTransactionID;
5471 };
5472
5473 // Structure to describe response TLV 0x10 for WDSGetPreferredDataSystem()
5474 struct sWDSGetPreferredDataSystemResponse_PreferredDataSystem
5475 {
5476 eQMIWDSDataSystems mPreferredDataSystem;
5477 };
5478
5479 // Structure to describe response TLV 0x10 for WDSGetLastDataCallStatus()
5480 struct sWDSGetLastDataCallStatusResponse_DataCallStatus
5481 {
5482 eQMIWDSDataCallStatus mDataCallStatus;
5483 };
5484
5485 // Structure to describe response TLV 0x11 for WDSGetLastDataCallStatus()
5486 struct sWDSGetLastDataCallStatusResponse_DataCallType
5487 {
5488 eQMIWDSDataCallTypes mDataCallType;
5489 eQMIWDSTetheredCallTypes mTetheredCallType;
5490 };
5491
5492 // Structure to describe response TLV 0x10 for WDSGetCurrentDataSystems()
5493 struct sWDSGetCurrentDataSystemsResponse_Systems
5494 {
5495 eQMIWDSDataSystemNetworkTypes mPreferredNetworkType;
5496 UINT8 mNetworkCount;
5497
5498 struct sNetwork
5499 {
5500 eQMIWDSDataSystemNetworkTypes mNetworkType;
5501
5502 // The following union is based on the value of mNetworkType
5503 union uValOfNetworkType
5504 {
5505 // If the value of mNetworkType == 0
5506 struct sNetworkTypeIs0
5507 {
5508 bool mWCDMA:1;
5509 bool mGPRS:1;
5510 bool mHSDPA:1;
5511 bool mHSUPA:1;
5512 bool mEDGE:1;
5513 bool mLTE:1;
5514 bool mHSDPAPlus:1;
5515 bool mDualCellHSDPAPlus:1;
5516 bool m64QAM:1;
5517 bool mTDSCDMA:1;
5518
5519 // Padding out 21 bits
5520 UINT8 mReserved1:6;
5521 UINT8 mReserved2;
5522 UINT8 mReserved3:7;
5523
5524 bool mNULLBearer:1;
5525 };
5526
5527 sNetworkTypeIs0 mNetworkTypeIs0;
5528
5529 // If the value of mNetworkType == 1
5530 struct sNetworkTypeIs1
5531 {
5532 bool mCDMA1x:1;
5533 bool mCDMA1xEvDORev0:1;
5534 bool mCDMA1xEvDORevA:1;
5535 bool mCDMA1xEvDORevB:1;
5536 bool mCDMAEHRPD:1;
5537 bool mCDMAFMC:1;
5538
5539 // Padding out 25 bits
5540 UINT8 mReserved4:2;
5541 UINT8 mReserved5[2];
5542 UINT8 mReserved6:7;
5543
5544 bool mNULLBearer:1;
5545
5546 // The following union is for handing all mCDMA1x types
5547 union uValOfCDMA1xTypes
5548 {
5549 // If the value of mCDMA1x == 1
5550 struct sCDMA1xIs1
5551 {
5552 bool mCDMA1xIS95:1;
5553 bool mCDMA1xIS2000:1;
5554 bool mCDMA1xIS2000RelA:1;
5555
5556 // Padding out 29 bits
5557 UINT8 mReserved7:5;
5558 UINT8 mReserved8[3];
5559 };
5560
5561 sCDMA1xIs1 mCDMA1xIs1;
5562
5563 // If the value of mCDMA1xEvDORev0 == 1
5564 struct sCDMA1xEvDORev0Is1
5565 {
5566 bool mCDMA1xEvDORev0DPA:1;
5567
5568 // Padding out 31 bits
5569 UINT8 mReserved9:7;
5570 UINT8 mReserved10[3];
5571 };
5572
5573 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
5574
5575 // If the value of mCDMA1xEvDORevA == 1
5576 struct sCDMA1xEvDORevAIs1
5577 {
5578 bool mCDMA1xEvDORevADPA:1;
5579 bool mCDMA1xEvDORevAMFPA:1;
5580 bool mCDMA1xEvDORevAEMPA:1;
5581 bool mCDMA1xEvDORevAEMPAEHRPD:1;
5582
5583 // Padding out 28 bits
5584 UINT8 mReserved11:4;
5585 UINT8 mReserved12[3];
5586 };
5587
5588 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
5589
5590 // If the value of mCDMA1xEvDORevB == 1
5591 struct sCDMA1xEvDORevBIs1
5592 {
5593 bool mCDMA1xEvDORevBDPA:1;
5594 bool mCDMA1xEvDORevBMFPA:1;
5595 bool mCDMA1xEvDORevBEMPA:1;
5596 bool mCDMA1xEvDORevBEMPAEHRPD:1;
5597 bool mCDMA1xEvDORevBMMPA:1;
5598 bool mCDMA1xEvDORevBMMPAEHRPD:1;
5599
5600 // Padding out 26 bits
5601 UINT8 mReserved13:2;
5602 UINT8 mReserved14[3];
5603 };
5604
5605 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
5606
5607 // Padding out 32 bits
5608 UINT8 mReserved15[4];
5609 };
5610
5611 uValOfCDMA1xTypes mValOfCDMA1xTypes;
5612 };
5613
5614 sNetworkTypeIs1 mNetworkTypeIs1;
5615
5616 // Padding out 64 bits
5617 UINT8 mReserved16[8];
5618 };
5619
5620 uValOfNetworkType mValOfNetworkType;
5621 };
5622
5623 // This array must be the size specified by mNetworkCount
5624 // sNetwork mNetworks[1];
5625 };
5626
5627 // Structure to describe request TLV 0x01 for WDSGetPDNThrottleInfo()
5628 struct sWDSGetPDNThrottleInfoRequest_Type
5629 {
5630 eQMIWDSDataSystemNetworkTypes mTechnologyType;
5631 };
5632
5633 // Structure to describe response TLV 0x10 for WDSGetPDNThrottleInfo()
5634 struct sWDSGetPDNThrottleInfoResponse_Info
5635 {
5636 UINT8 mThrottleInfoCount;
5637
5638 struct sInfo
5639 {
5640 INT8 mIPv4Throttled;
5641 INT8 mIPv6Throttled;
5642 UINT32 mIPv4ThrottleTimeLeftInMilliseconds;
5643 UINT32 mIPv6ThrottleTimeLeftInMilliseconds;
5644 UINT8 mAPNNameLength;
5645
5646 // This array must be the size specified by mAPNNameLength
5647 // char mAPNName[1];
5648 };
5649
5650 // This array must be the size specified by mThrottleInfoCount
5651 // sInfo mInfos[1];
5652 };
5653
5654 // Structure to describe response TLV 0x10 for WDSGetLTEAttachParameters()
5655 struct sWDSGetLTEAttachParametersResponse_APNString
5656 {
5657 // String is variable length, but must be size of the container
5658 // char mAPNName[1];
5659 };
5660
5661 // Structure to describe response TLV 0x11 for WDSGetLTEAttachParameters()
5662 struct sWDSGetLTEAttachParametersResponse_IPSupport
5663 {
5664 eQMIWDSLTEIPTypes mIPType;
5665 };
5666
5667 // Structure to describe response TLV 0x12 for WDSGetLTEAttachParameters()
5668 struct sWDSGetLTEAttachParametersResponse_OTAAttach
5669 {
5670 INT8 mOTAAttachPerformed;
5671 };
5672
5673 // Structure to describe response TLV 0x10 for WDSGetFlowControlStatus()
5674 struct sWDSGetFlowControlStatusResponse_UplinkFlowControl
5675 {
5676 INT8 mUplinkFlowControlEnabled;
5677 };
5678
5679 // Structure to describe request TLV 0x01 for WDSEMBMSTMGISwitch()
5680 struct sWDSEMBMSTMGISwitchRequest_TMGIToActivate
5681 {
5682 UINT8 mTMGI[6];
5683 INT8 mSessionIDValid;
5684 UINT8 mSessionID;
5685 };
5686
5687 // Structure to describe request TLV 0x10 for WDSEMBMSTMGISwitch()
5688 struct sWDSEMBMSTMGISwitchRequest_TransactionID
5689 {
5690 INT16 mTransactionID;
5691 };
5692
5693 // Structure to describe request TLV 0x11 for WDSEMBMSTMGISwitch()
5694 struct sWDSEMBMSTMGISwitchRequest_PreemptPriority
5695 {
5696 UINT32 mPreemptPriority;
5697 };
5698
5699 // Structure to describe request TLV 0x12 for WDSEMBMSTMGISwitch()
5700 struct sWDSEMBMSTMGISwitchRequest_EARFCNList
5701 {
5702 UINT8 mEARFCNCount;
5703
5704 // This array must be the size specified by mEARFCNCount
5705 // UINT16 mEARFCN[1];
5706 };
5707
5708 // Structure to describe response TLV 0x10 for WDSEMBMSTMGISwitch()
5709 struct sWDSEMBMSTMGISwitchResponse_ExtendedError
5710 {
5711 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5712 };
5713
5714 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGISwitchIndication
5715 struct sWDSEMBMSTMGISwitchIndication_ActivationStatus
5716 {
5717 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5718 };
5719
5720 // Structure to describe indication TLV 0x03 for WDS EMBMSTMGISwitchIndication
5721 struct sWDSEMBMSTMGISwitchIndication_DeactivationStatus
5722 {
5723 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5724 };
5725
5726 // Structure to describe indication TLV 0x04 for WDS EMBMSTMGISwitchIndication
5727 struct sWDSEMBMSTMGISwitchIndication_DeactivationTMGI
5728 {
5729 UINT8 mTMGI[6];
5730 INT8 mSessionIDValid;
5731 UINT8 mSessionID;
5732 };
5733
5734 // Structure to describe indication TLV 0x10 for WDS EMBMSTMGISwitchIndication
5735 struct sWDSEMBMSTMGISwitchIndication_TransactionID
5736 {
5737 INT16 mTransactionID;
5738 };
5739
5740 // Structure to describe request TLV 0x10 for DMSSetEventReport()
5741 struct sDMSSetEventReportRequest_PowerState
5742 {
5743 INT8 mReportPowerState;
5744 };
5745
5746 // Structure to describe request TLV 0x11 for DMSSetEventReport()
5747 struct sDMSSetEventReportRequest_BatteryLevel
5748 {
5749 UINT8 mBatteryLevelLowerLimit;
5750 UINT8 mBatteryLevelUpperLimit;
5751 };
5752
5753 // Structure to describe request TLV 0x12 for DMSSetEventReport()
5754 struct sDMSSetEventReportRequest_PINStatus
5755 {
5756 INT8 mReportPINStatus;
5757 };
5758
5759 // Structure to describe request TLV 0x13 for DMSSetEventReport()
5760 struct sDMSSetEventReportRequest_ActivationState
5761 {
5762 INT8 mReportActivationState;
5763 };
5764
5765 // Structure to describe request TLV 0x14 for DMSSetEventReport()
5766 struct sDMSSetEventReportRequest_OperatingMode
5767 {
5768 INT8 mReportOperatingMode;
5769 };
5770
5771 // Structure to describe request TLV 0x15 for DMSSetEventReport()
5772 struct sDMSSetEventReportRequest_UIMState
5773 {
5774 INT8 mReportUIMState;
5775 };
5776
5777 // Structure to describe request TLV 0x16 for DMSSetEventReport()
5778 struct sDMSSetEventReportRequest_WirelessDisableState
5779 {
5780 INT8 mReportWirelessDisableState;
5781 };
5782
5783 // Structure to describe request TLV 0x17 for DMSSetEventReport()
5784 struct sDMSSetEventReportRequest_PRLInit
5785 {
5786 INT8 mReportPRLInitialization;
5787 };
5788
5789 // Structure to describe indication TLV 0x10 for DMS EventReport
5790 struct sDMSEventReportIndication_PowerState
5791 {
5792 eQMIDMSPowerSources mPowerSource:1;
5793 bool mBatteryConnected:1;
5794 bool mBatteryCharging:1;
5795 bool mPowerFault:1;
5796
5797 // Padding out 4 bits
5798 UINT8 mReserved1:4;
5799
5800 UINT8 mBatteryLevel;
5801 };
5802
5803 // Structure to describe indication TLV 0x11 for DMS EventReport
5804 struct sDMSEventReportIndication_PIN1State
5805 {
5806 eQMIDMSPINStatus mPINStatus;
5807 UINT8 mRemainingVerifyRetries;
5808 UINT8 mRemainingUnblockRetries;
5809 };
5810
5811 // Structure to describe indication TLV 0x12 for DMS EventReport
5812 struct sDMSEventReportIndication_PIN2State
5813 {
5814 eQMIDMSPINStatus mPINStatus;
5815 UINT8 mRemainingVerifyRetries;
5816 UINT8 mRemainingUnblockRetries;
5817 };
5818
5819 // Structure to describe indication TLV 0x13 for DMS EventReport
5820 struct sDMSEventReportIndication_ActivationState
5821 {
5822 eQMIDMSActivationStates mActivationState;
5823 };
5824
5825 // Structure to describe indication TLV 0x14 for DMS EventReport
5826 struct sDMSEventReportIndication_OperatingMode
5827 {
5828 eQMIDMSOperatingModes mOperatingMode;
5829 };
5830
5831 // Structure to describe indication TLV 0x15 for DMS EventReport
5832 struct sDMSEventReportIndication_UIMState
5833 {
5834 eQMIDMSUIMStates mUIMState;
5835 };
5836
5837 // Structure to describe indication TLV 0x16 for DMS EventReport
5838 struct sDMSEventReportIndication_WirelessDisableState
5839 {
5840 INT8 mWirelessDisableOn;
5841 };
5842
5843 // Structure to describe indication TLV 0x17 for DMS EventReport
5844 struct sDMSEventReportIndication_PRLInit
5845 {
5846 INT8 mPRLLoaded;
5847 };
5848
5849 // Structure to describe response TLV 0x01 for DMSGetDeviceCapabilities()
5850 struct sDMSGetDeviceCapabilitiesResponse_Capabilities
5851 {
5852 UINT32 mMaxTXRatebps;
5853 UINT32 mMaxRXRatebps;
5854 eQMIDMSDataServiceCapabilities1 mDataServiceCapability;
5855 INT8 mSIMSupported;
5856 UINT8 mRadioInterfaceCount;
5857
5858 // This array must be the size specified by mRadioInterfaceCount
5859 // eQMIDMSRadioInterfaces mRadioInterface[1];
5860 };
5861
5862 // Structure to describe response TLV 0x10 for DMSGetDeviceCapabilities()
5863 struct sDMSGetDeviceCapabilitiesResponse_ServiceCapability
5864 {
5865 eQMIDMSServiceCapabilities mServiceCapability;
5866 };
5867
5868 // Structure to describe response TLV 0x11 for DMSGetDeviceCapabilities()
5869 struct sDMSGetDeviceCapabilitiesResponse_VoiceCapability
5870 {
5871 bool mGWCSFBCapable:1;
5872 bool m1xCSFBCapable:1;
5873 bool mVoLTECapable:1;
5874
5875 // Padding out 61 bits
5876 UINT8 mReserved1:5;
5877 UINT8 mReserved2[7];
5878 };
5879
5880 // Structure to describe response TLV 0x01 for DMSGetDeviceManfacturer()
5881 struct sDMSGetDeviceManfacturerResponse_Manfacturer
5882 {
5883 // String is variable length, but must be size of the container
5884 // char mDeviceManfacturer[1];
5885 };
5886
5887 // Structure to describe response TLV 0x01 for DMSGetDeviceModel()
5888 struct sDMSGetDeviceModelResponse_Model
5889 {
5890 // String is variable length, but must be size of the container
5891 // char mDeviceModelID[1];
5892 };
5893
5894 // Structure to describe response TLV 0x01 for DMSGetDeviceRevision()
5895 struct sDMSGetDeviceRevisionResponse_Revision
5896 {
5897 // String is variable length, but must be size of the container
5898 // char mDeviceRevisionID[1];
5899 };
5900
5901 // Structure to describe response TLV 0x10 for DMSGetDeviceRevision()
5902 struct sDMSGetDeviceRevisionResponse_BootCodeRevision
5903 {
5904 // String is variable length, but must be size of the container
5905 // char mBootCodeRevisionID[1];
5906 };
5907
5908 // Structure to describe response TLV 0x11 for DMSGetDeviceRevision()
5909 struct sDMSGetDeviceRevisionResponse_UQCNRevision
5910 {
5911 // String is variable length, but must be size of the container
5912 // char mBootCodeRevisionID[1];
5913 };
5914
5915 // Structure to describe response TLV 0x01 for DMSGetDeviceVoiceNumber()
5916 struct sDMSGetDeviceVoiceNumberResponse_VoiceNumber
5917 {
5918 // String is variable length, but must be size of the container
5919 // char mDeviceVoiceNumber[1];
5920 };
5921
5922 // Structure to describe response TLV 0x10 for DMSGetDeviceVoiceNumber()
5923 struct sDMSGetDeviceVoiceNumberResponse_MobileIDNumber
5924 {
5925 // String is variable length, but must be size of the container
5926 // char mDeviceMobileIDNumber[1];
5927 };
5928
5929 // Structure to describe response TLV 0x11 for DMSGetDeviceVoiceNumber()
5930 struct sDMSGetDeviceVoiceNumberResponse_IMSI
5931 {
5932 // String is variable length, but must be size of the container
5933 // char mIMSI[1];
5934 };
5935
5936 // Structure to describe response TLV 0x10 for DMSGetDeviceSerialNumbers()
5937 struct sDMSGetDeviceSerialNumbersResponse_ESN
5938 {
5939 // String is variable length, but must be size of the container
5940 // char mESN[1];
5941 };
5942
5943 // Structure to describe response TLV 0x11 for DMSGetDeviceSerialNumbers()
5944 struct sDMSGetDeviceSerialNumbersResponse_IMEI
5945 {
5946 // String is variable length, but must be size of the container
5947 // char mIMEI[1];
5948 };
5949
5950 // Structure to describe response TLV 0x12 for DMSGetDeviceSerialNumbers()
5951 struct sDMSGetDeviceSerialNumbersResponse_MEID
5952 {
5953 // String is variable length, but must be size of the container
5954 // char mMEID[1];
5955 };
5956
5957 // Structure to describe response TLV 0x01 for DMSGetPowerState()
5958 struct sDMSGetPowerStateResponse_PowerState
5959 {
5960 eQMIDMSPowerSources mPowerSource:1;
5961 bool mBatteryConnected:1;
5962 bool mBatteryCharging:1;
5963 bool mPowerFault:1;
5964
5965 // Padding out 4 bits
5966 UINT8 mReserved1:4;
5967
5968 UINT8 mBatteryLevel;
5969 };
5970
5971 // Structure to describe request TLV 0x01 for DMSUIMSetPINProtection()
5972 struct sDMSUIMSetPINProtectionRequest_Info
5973 {
5974 UINT8 mPINID;
5975 UINT8 mPINEnabled;
5976 UINT8 mPINLength;
5977
5978 // This array must be the size specified by mPINLength
5979 // char mPINValue[1];
5980 };
5981
5982 // Structure to describe response TLV 0x10 for DMSUIMSetPINProtection()
5983 struct sDMSUIMSetPINProtectionResponse_RetryInfo
5984 {
5985 UINT8 mRemainingVerifyRetries;
5986 UINT8 mRemainingUnblockRetries;
5987 };
5988
5989 // Structure to describe request TLV 0x01 for DMSUIMVerifyPIN()
5990 struct sDMSUIMVerifyPINRequest_Info
5991 {
5992 UINT8 mPINID;
5993 UINT8 mPINLength;
5994
5995 // This array must be the size specified by mPINLength
5996 // char mPINValue[1];
5997 };
5998
5999 // Structure to describe response TLV 0x10 for DMSUIMVerifyPIN()
6000 struct sDMSUIMVerifyPINResponse_RetryInfo
6001 {
6002 UINT8 mRemainingVerifyRetries;
6003 UINT8 mRemainingUnblockRetries;
6004 };
6005
6006 // Structure to describe request TLV 0x01 for DMSUIMUnblockPIN()
6007 struct sDMSUIMUnblockPINRequest_Info1
6008 {
6009 UINT8 mPINID;
6010 UINT8 mPUKLength;
6011
6012 // This array must be the size specified by mPUKLength
6013 // char mPUKValue[1];
6014 };
6015
6016 struct sDMSUIMUnblockPINRequest_Info2
6017 {
6018 UINT8 mNewPINLength;
6019
6020 // This array must be the size specified by mNewPINLength
6021 // char mNewPINValue[1];
6022 };
6023
6024 struct sDMSUIMUnblockPINRequest_Info
6025 {
6026 sDMSUIMUnblockPINRequest_Info1 mDMSUIMUnblockPINRequest_Info1;
6027 sDMSUIMUnblockPINRequest_Info2 mDMSUIMUnblockPINRequest_Info2;
6028 };
6029
6030 // Structure to describe response TLV 0x10 for DMSUIMUnblockPIN()
6031 struct sDMSUIMUnblockPINResponse_RetryInfo
6032 {
6033 UINT8 mRemainingVerifyRetries;
6034 UINT8 mRemainingUnblockRetries;
6035 };
6036
6037 // Structure to describe request TLV 0x01 for DMSUIMChangePIN()
6038 struct sDMSUIMChangePINRequest_Info1
6039 {
6040 UINT8 mPINID;
6041 UINT8 mOldPINLength;
6042
6043 // This array must be the size specified by mOldPINLength
6044 // char mOldPINValue[1];
6045 };
6046
6047 struct sDMSUIMChangePINRequest_Info2
6048 {
6049 UINT8 mNewPINLength;
6050
6051 // This array must be the size specified by mNewPINLength
6052 // char mNewPINValue[1];
6053 };
6054
6055 struct sDMSUIMChangePINRequest_Info
6056 {
6057 sDMSUIMChangePINRequest_Info1 mDMSUIMChangePINRequest_Info1;
6058 sDMSUIMChangePINRequest_Info2 mDMSUIMChangePINRequest_Info2;
6059 };
6060
6061 // Structure to describe response TLV 0x10 for DMSUIMChangePIN()
6062 struct sDMSUIMChangePINResponse_RetryInfo
6063 {
6064 UINT8 mRemainingVerifyRetries;
6065 UINT8 mRemainingUnblockRetries;
6066 };
6067
6068 // Structure to describe response TLV 0x11 for DMSUIMGetPINStatus()
6069 struct sDMSUIMGetPINStatusResponse_PIN1Status
6070 {
6071 eQMIDMSPINStatus mPINStatus;
6072 UINT8 mRemainingVerifyRetries;
6073 UINT8 mRemainingUnblockRetries;
6074 };
6075
6076 // Structure to describe response TLV 0x12 for DMSUIMGetPINStatus()
6077 struct sDMSUIMGetPINStatusResponse_PIN2Status
6078 {
6079 eQMIDMSPINStatus mPINStatus;
6080 UINT8 mRemainingVerifyRetries;
6081 UINT8 mRemainingUnblockRetries;
6082 };
6083
6084 // Structure to describe response TLV 0x01 for DMSGetHardwareRevision()
6085 struct sDMSGetHardwareRevisionResponse_HardwareRevision
6086 {
6087 // String is variable length, but must be size of the container
6088 // char mDeviceHardwareRevision[1];
6089 };
6090
6091 // Structure to describe response TLV 0x01 for DMSGetOperatingMode()
6092 struct sDMSGetOperatingModeResponse_OperatingMode
6093 {
6094 eQMIDMSOperatingModes mOperatingMode;
6095 };
6096
6097 // Structure to describe response TLV 0x10 for DMSGetOperatingMode()
6098 struct sDMSGetOperatingModeResponse_OfflineReason
6099 {
6100 UINT8 mHostImageMismatch:1;
6101 UINT8 mUQCNImageMismatch:1;
6102 UINT8 mIncompatibleUQCN:1;
6103 UINT8 mUQCNCopyIssue:1;
6104
6105 // Padding out 12 bits
6106 UINT8 mReserved1:4;
6107 UINT8 mReserved2;
6108 };
6109
6110 // Structure to describe response TLV 0x11 for DMSGetOperatingMode()
6111 struct sDMSGetOperatingModeResponse_PlatformRestricted
6112 {
6113 INT8 mPlatformRestricted;
6114 };
6115
6116 // Structure to describe request TLV 0x01 for DMSSetOperatingMode()
6117 struct sDMSSetOperatingModeRequest_OperatingMode
6118 {
6119 eQMIDMSOperatingModes mOperatingMode;
6120 };
6121
6122 // Structure to describe response TLV 0x01 for DMSGetTimestamp()
6123 struct sDMSGetTimestampResponse_Timestamp
6124 {
6125 UINT64 mTimestamp:48;
6126
6127 // mSource is of type eQMIDMSTimestampSources
6128 UINT64 mSource:16;
6129 };
6130
6131 // Structure to describe response TLV 0x01 for DMSGetPRLVersion()
6132 struct sDMSGetPRLVersionResponse_PRLVersion
6133 {
6134 UINT16 mPRLVersion;
6135 };
6136
6137 // Structure to describe response TLV 0x01 for DMSGetActivationState()
6138 struct sDMSGetActivationStateResponse_ActivationState
6139 {
6140 eQMIDMSActivationStates mActivationState;
6141 };
6142
6143 // Structure to describe request TLV 0x01 for DMSActivateAutomatic()
6144 struct sDMSActivateAutomaticRequest_ActivationCode
6145 {
6146 UINT8 mCodeLength;
6147
6148 // This array must be the size specified by mCodeLength
6149 // char mCode[1];
6150 };
6151
6152 // Structure to describe request TLV 0x01 for DMSActivateManual()
6153 struct sDMSActivateManualRequest_ActivationData1
6154 {
6155 char mSPC[6];
6156 UINT16 mSID;
6157 UINT8 mMDNLength;
6158
6159 // This array must be the size specified by mMDNLength
6160 // char mMDN[1];
6161 };
6162
6163 struct sDMSActivateManualRequest_ActivationData2
6164 {
6165 UINT8 mMINLength;
6166
6167 // This array must be the size specified by mMINLength
6168 // char mMIN[1];
6169 };
6170
6171 struct sDMSActivateManualRequest_ActivationData
6172 {
6173 sDMSActivateManualRequest_ActivationData1 mDMSActivateManualRequest_ActivationData1;
6174 sDMSActivateManualRequest_ActivationData2 mDMSActivateManualRequest_ActivationData2;
6175 };
6176
6177 // Structure to describe request TLV 0x10 for DMSActivateManual()
6178 struct sDMSActivateManualRequest_PRLObsolete
6179 {
6180 UINT16 mPRLLength;
6181
6182 // This array must be the size specified by mPRLLength
6183 // UINT8 mPRL[1];
6184 };
6185
6186 // Structure to describe request TLV 0x11 for DMSActivateManual()
6187 struct sDMSActivateManualRequest_MNHAKey
6188 {
6189 UINT8 mMNHALength;
6190
6191 // This array must be the size specified by mMNHALength
6192 // char mMNHA[1];
6193 };
6194
6195 // Structure to describe request TLV 0x12 for DMSActivateManual()
6196 struct sDMSActivateManualRequest_MNAAAKey
6197 {
6198 UINT8 mMNAAALength;
6199
6200 // This array must be the size specified by mMNAAALength
6201 // char mMNAAA[1];
6202 };
6203
6204 // Structure to describe request TLV 0x13 for DMSActivateManual()
6205 struct sDMSActivateManualRequest_PRL
6206 {
6207 UINT16 mPRLTotalLength;
6208 UINT16 mPRLSegmentLength;
6209 UINT8 mPRLSegmentID;
6210
6211 // This array must be the size specified by mPRLSegmentLength
6212 // UINT8 mPRL[1];
6213 };
6214
6215 // Structure to describe response TLV 0x01 for DMSGetLockState()
6216 struct sDMSGetLockStateResponse_LockState
6217 {
6218 eQMIDMSLockStates mLockState;
6219 };
6220
6221 // Structure to describe request TLV 0x01 for DMSSetLockState()
6222 struct sDMSSetLockStateRequest_LockState
6223 {
6224 eQMIDMSLockStates mLockState;
6225 char mLockCode[4];
6226 };
6227
6228 // Structure to describe request TLV 0x01 for DMSSetLockCode()
6229 struct sDMSSetLockCodeRequest_LockCode
6230 {
6231 char mCurrentLockCode[4];
6232 char mNewLockCode[4];
6233 };
6234
6235 // Structure to describe response TLV 0x01 for DMSReadUserData()
6236 struct sDMSReadUserDataResponse_UserData
6237 {
6238 UINT16 mDataLength;
6239
6240 // This array must be the size specified by mDataLength
6241 // UINT8 mData[1];
6242 };
6243
6244 // Structure to describe request TLV 0x01 for DMSWriteUserData()
6245 struct sDMSWriteUserDataRequest_UserData
6246 {
6247 UINT16 mDataLength;
6248
6249 // This array must be the size specified by mDataLength
6250 // UINT8 mData[1];
6251 };
6252
6253 // Structure to describe response TLV 0x01 for DMSReadERIData()
6254 struct sDMSReadERIDataResponse_UserData
6255 {
6256 UINT16 mDataLength;
6257
6258 // This array must be the size specified by mDataLength
6259 // UINT8 mData[1];
6260 };
6261
6262 // Structure to describe request TLV 0x01 for DMSResetFactoryDefaults()
6263 struct sDMSResetFactoryDefaultsRequest_SPC
6264 {
6265 char mSPC[6];
6266 };
6267
6268 // Structure to describe request TLV 0x01 for DMSValidateSPC()
6269 struct sDMSValidateSPCRequest_SPC
6270 {
6271 char mSPC[6];
6272 };
6273
6274 // Structure to describe response TLV 0x01 for DMSUIMGetICCID()
6275 struct sDMSUIMGetICCIDResponse_ICCID
6276 {
6277 // String is variable length, but must be size of the container
6278 // char mICCID[1];
6279 };
6280
6281 // Structure to describe response TLV 0x01 for DMSUIMGetHostLockID()
6282 struct sDMSUIMGetHostLockIDResponse_ID
6283 {
6284 UINT32 mHostLockCode;
6285 };
6286
6287 // Structure to describe request TLV 0x01 for DMSUIMGetControlKeyStatus()
6288 struct sDMSUIMGetControlKeyStatusRequest_Facility
6289 {
6290 eQMIDMSUIMFacility mFacility;
6291 };
6292
6293 // Structure to describe response TLV 0x01 for DMSUIMGetControlKeyStatus()
6294 struct sDMSUIMGetControlKeyStatusResponse_Status
6295 {
6296 eQMIDMSUIMFacilityStates mFacilityState;
6297 UINT8 mRemainingVerifyRetries;
6298 UINT8 mRemainingUnblockRetries;
6299 };
6300
6301 // Structure to describe response TLV 0x10 for DMSUIMGetControlKeyStatus()
6302 struct sDMSUIMGetControlKeyStatusResponse_Blocking
6303 {
6304 INT8 mOperationBlocking;
6305 };
6306
6307 // Structure to describe request TLV 0x01 for DMSUIMSetControlKeyProtection()
6308 struct sDMSUIMSetControlKeyProtectionRequest_Facility
6309 {
6310 eQMIDMSUIMFacility mFacility;
6311 eQMIDMSUIMFacilityStates mFacilityState;
6312 UINT8 mControlKeyLength;
6313
6314 // This array must be the size specified by mControlKeyLength
6315 // char mControlKey[1];
6316 };
6317
6318 // Structure to describe response TLV 0x10 for DMSUIMSetControlKeyProtection()
6319 struct sDMSUIMSetControlKeyProtectionResponse_Status
6320 {
6321 UINT8 mRemainingVerifyRetries;
6322 };
6323
6324 // Structure to describe request TLV 0x01 for DMSUIMUnblockControlKey()
6325 struct sDMSUIMUnblockControlKeyRequest_Facility
6326 {
6327 eQMIDMSUIMFacility mFacility;
6328 UINT8 mControlKeyLength;
6329
6330 // This array must be the size specified by mControlKeyLength
6331 // char mControlKey[1];
6332 };
6333
6334 // Structure to describe response TLV 0x10 for DMSUIMUnblockControlKey()
6335 struct sDMSUIMUnblockControlKeyResponse_Status
6336 {
6337 UINT8 mRemainingUnblockRetries;
6338 };
6339
6340 // Structure to describe response TLV 0x01 for DMSGetIMSI()
6341 struct sDMSGetIMSIResponse_IMSI
6342 {
6343 // String is variable length, but must be size of the container
6344 // char mIMSI[1];
6345 };
6346
6347 // Structure to describe response TLV 0x01 for DMSGetUIMState()
6348 struct sDMSGetUIMStateResponse_State
6349 {
6350 eQMIDMSUIMStates mUIMState;
6351 };
6352
6353 // Structure to describe response TLV 0x01 for DMSGetBandCapabilities()
6354 struct sDMSGetBandCapabilitiesResponse_Bands
6355 {
6356 bool mBandClass0ASystem:1;
6357 bool mBandClass0BSystem:1;
6358 bool mBandClass1:1;
6359 bool mBandClass2:1;
6360 bool mBandClass3ASystem:1;
6361 bool mBandClass4:1;
6362 bool mBandClass5:1;
6363 bool mGSMDCS:1;
6364 bool mGSMPrimary:1;
6365 bool mGSMExtended:1;
6366 bool mBandClass6:1;
6367 bool mBandClass7:1;
6368 bool mBandClass8:1;
6369 bool mBandClass9:1;
6370 bool mBandClass10:1;
6371 bool mBandClass11:1;
6372 bool mGSM450:1;
6373 bool mGSM480:1;
6374 bool mGSM750:1;
6375 bool mGSM850:1;
6376 bool mGSMRailways:1;
6377 bool mGSMPCS:1;
6378 bool mWCDMA2100I:1;
6379 bool mWCDMAPCS1900:1;
6380 bool mWCDMADCS1800:1;
6381 bool mWCDMA1700US:1;
6382 bool mWCDMA850:1;
6383 bool mWCDMA800:1;
6384 bool mBandClass12:1;
6385 bool mBandClass14:1;
6386
6387 // Padding out 1 bits
6388 UINT8 mReserved1:1;
6389
6390 bool mBandClass15:1;
6391
6392 // Padding out 16 bits
6393 UINT8 mReserved2[2];
6394
6395 bool mWCDMA2600:1;
6396 bool mWCDMA900:1;
6397 bool mWCDMA1700Japan:1;
6398
6399 // Padding out 5 bits
6400 UINT8 mReserved3:5;
6401
6402 bool mBandClass16:1;
6403 bool mBandClass17:1;
6404 bool mBandClass18:1;
6405 bool mBandClass19:1;
6406
6407 // Padding out 4 bits
6408 UINT8 mReserved4:4;
6409 };
6410
6411 // Structure to describe response TLV 0x10 for DMSGetBandCapabilities()
6412 struct sDMSGetBandCapabilitiesResponse_LTEBands
6413 {
6414 bool mEUTRANBand1:1;
6415 bool mEUTRANBand2:1;
6416 bool mEUTRANBand3:1;
6417 bool mEUTRANBand4:1;
6418 bool mEUTRANBand5:1;
6419 bool mEUTRANBand6:1;
6420 bool mEUTRANBand7:1;
6421 bool mEUTRANBand8:1;
6422 bool mEUTRANBand9:1;
6423 bool mEUTRANBand10:1;
6424 bool mEUTRANBand11:1;
6425 bool mEUTRANBand12:1;
6426 bool mEUTRANBand13:1;
6427 bool mEUTRANBand14:1;
6428
6429 // Padding out 2 bits
6430 UINT8 mReserved1:2;
6431
6432 bool mEUTRANBand17:1;
6433 bool mEUTRANBand18:1;
6434 bool mEUTRANBand19:1;
6435 bool mEUTRANBand20:1;
6436 bool mEUTRANBand21:1;
6437
6438 // Padding out 2 bits
6439 UINT8 mReserved2:2;
6440
6441 bool mEUTRANBand24:1;
6442 bool mEUTRANBand25:1;
6443
6444 // Padding out 7 bits
6445 UINT8 mReserved3:7;
6446
6447 bool mEUTRANBand33:1;
6448 bool mEUTRANBand34:1;
6449 bool mEUTRANBand35:1;
6450 bool mEUTRANBand36:1;
6451 bool mEUTRANBand37:1;
6452 bool mEUTRANBand38:1;
6453 bool mEUTRANBand39:1;
6454 bool mEUTRANBand40:1;
6455 bool mEUTRANBand41:1;
6456
6457 // Padding out 23 bits
6458 UINT8 mReserved4:7;
6459 UINT8 mReserved5[2];
6460 };
6461
6462 // Structure to describe response TLV 0x11 for DMSGetBandCapabilities()
6463 struct sDMSGetBandCapabilitiesResponse_TDSBands
6464 {
6465 bool mTDSBandA:1;
6466 bool mTDSBandB:1;
6467 bool mTDSBandC:1;
6468 bool mTDSBandD:1;
6469 bool mTDSBandE:1;
6470 bool mTDSBandF:1;
6471
6472 // Padding out 58 bits
6473 UINT8 mReserved1:2;
6474 UINT8 mReserved2[7];
6475 };
6476
6477 // Structure to describe response TLV 0x01 for DMSGetFactorySerialNumber()
6478 struct sDMSGetFactorySerialNumberResponse_ID
6479 {
6480 // String is variable length, but must be size of the container
6481 // char mFactorySerialNumber[1];
6482 };
6483
6484 // Structure to describe request TLV 0x01 for DMSSetDeviceTime()
6485 struct sDMSSetDeviceTimeRequest_Time
6486 {
6487 UINT64 mTimeInMilliseconds;
6488 };
6489
6490 // Structure to describe request TLV 0x10 for DMSSetDeviceTime()
6491 struct sDMSSetDeviceTimeRequest_Type
6492 {
6493 eQMIDMSTimeReferences mTimeReference;
6494 };
6495
6496 // Structure to describe response TLV 0x01 for DMSGetSoftwareVersion()
6497 struct sDMSGetSoftwareVersionResponse_Version
6498 {
6499 // String is variable length, but must be size of the container
6500 // char mSoftwareVersion[1];
6501 };
6502
6503 // Structure to describe request TLV 0x01 for DMSSetSPC()
6504 struct sDMSSetSPCRequest_CurrentSPC
6505 {
6506 char mCurrentSPC[6];
6507 };
6508
6509 // Structure to describe response TLV 0x10 for DMSGetCurrentPRLInfo()
6510 struct sDMSGetCurrentPRLInfoResponse_Version
6511 {
6512 UINT16 mPRLVersion;
6513 };
6514
6515 // Structure to describe response TLV 0x11 for DMSGetCurrentPRLInfo()
6516 struct sDMSGetCurrentPRLInfoResponse_Preference
6517 {
6518 INT8 mPRLOnlyPreferenceSet;
6519 };
6520
6521 // Structure to describe request TLV 0x01 for NASAbort()
6522 struct sNASAbortRequest_TransactionID
6523 {
6524 UINT16 mTransactionID;
6525 };
6526
6527 // Structure to describe request TLV 0x10 for NASSetEventReport()
6528 struct sNASSetEventReportRequest_SignalIndicator
6529 {
6530 INT8 mReportSignalStrength;
6531 UINT8 mNumberOfThresholds;
6532
6533 // This array must be the size specified by mNumberOfThresholds
6534 // INT8 mSignalStrengthThresholddBm[1];
6535 };
6536
6537 // Structure to describe request TLV 0x11 for NASSetEventReport()
6538 struct sNASSetEventReportRequest_RFIndicator
6539 {
6540 INT8 mReportRFInfo;
6541 };
6542
6543 // Structure to describe request TLV 0x12 for NASSetEventReport()
6544 struct sNASSetEventReportRequest_RegistrationRejectIndicator
6545 {
6546 INT8 mReportLUReject;
6547 };
6548
6549 // Structure to describe request TLV 0x13 for NASSetEventReport()
6550 struct sNASSetEventReportRequest_RSSIIndicator
6551 {
6552 INT8 mReportRSSI;
6553 UINT8 mRSSIDelta;
6554 };
6555
6556 // Structure to describe request TLV 0x14 for NASSetEventReport()
6557 struct sNASSetEventReportRequest_ECIOIndicator
6558 {
6559 INT8 mReportECIO;
6560 UINT8 mECIODelta;
6561 };
6562
6563 // Structure to describe request TLV 0x15 for NASSetEventReport()
6564 struct sNASSetEventReportRequest_IOIndicator
6565 {
6566 INT8 mReportIO;
6567 UINT8 mIODelta;
6568 };
6569
6570 // Structure to describe request TLV 0x16 for NASSetEventReport()
6571 struct sNASSetEventReportRequest_SINRIndicator
6572 {
6573 INT8 mReportSINR;
6574 UINT8 mSINRDelta;
6575 };
6576
6577 // Structure to describe request TLV 0x17 for NASSetEventReport()
6578 struct sNASSetEventReportRequest_ErrorRateIndicator
6579 {
6580 INT8 mReportErrorRate;
6581 };
6582
6583 // Structure to describe request TLV 0x18 for NASSetEventReport()
6584 struct sNASSetEventReportRequest_RSRQIndicator
6585 {
6586 INT8 mReportRSRQ;
6587 UINT8 mRSRQDelta;
6588 };
6589
6590 // Structure to describe request TLV 0x19 for NASSetEventReport()
6591 struct sNASSetEventReportRequest_ECIOThreshold
6592 {
6593 INT8 mReportECIO;
6594 UINT8 mThresholdCount;
6595
6596 // This array must be the size specified by mThresholdCount
6597 // INT16 mThreshold[1];
6598 };
6599
6600 // Structure to describe request TLV 0x1A for NASSetEventReport()
6601 struct sNASSetEventReportRequest_SINRThreshold
6602 {
6603 INT8 mReportSINR;
6604 UINT8 mThresholdCount;
6605
6606 // This array must be the size specified by mThresholdCount
6607 // UINT8 mThreshold[1];
6608 };
6609
6610 // Structure to describe request TLV 0x1B for NASSetEventReport()
6611 struct sNASSetEventReportRequest_LTESNRDelta
6612 {
6613 INT8 mReportLTESNR;
6614 UINT16 mLTESNRDelta;
6615 };
6616
6617 // Structure to describe request TLV 0x1C for NASSetEventReport()
6618 struct sNASSetEventReportRequest_LTERSPSDelta
6619 {
6620 INT8 mReportLTERSRP;
6621 UINT8 mLTERSRPDelta;
6622 };
6623
6624 // Structure to describe indication TLV 0x10 for NAS EventReport
6625 struct sNASEventReportIndication_SignalStrength
6626 {
6627 INT8 mSignalStrengthdBm;
6628 eQMINASRadioInterfaces mRadioInterface;
6629 };
6630
6631 // Structure to describe indication TLV 0x11 for NAS EventReport
6632 struct sNASEventReportIndication_RFInfo
6633 {
6634 UINT8 mNumberOfInstances;
6635
6636 struct sInstance
6637 {
6638 eQMINASRadioInterfaces mRadioInterface;
6639 eQMINASBandClasses mActiveBandClass;
6640 UINT16 mActiveChannel;
6641 };
6642
6643 // This array must be the size specified by mNumberOfInstances
6644 // sInstance mInstances[1];
6645 };
6646
6647 // Structure to describe indication TLV 0x12 for NAS EventReport
6648 struct sNASEventReportIndication_RegistrationReject
6649 {
6650 eQMINASServiceDomains mServiceDomain;
6651 UINT16 mRejectCause;
6652 };
6653
6654 // Structure to describe indication TLV 0x13 for NAS EventReport
6655 struct sNASEventReportIndication_RSSI
6656 {
6657 UINT8 mRSSIDelta;
6658 eQMINASRadioInterfaces mRadioInterface;
6659 };
6660
6661 // Structure to describe indication TLV 0x14 for NAS EventReport
6662 struct sNASEventReportIndication_ECIO
6663 {
6664 UINT8 mECIO;
6665 eQMINASRadioInterfaces mRadioInterface;
6666 };
6667
6668 // Structure to describe indication TLV 0x15 for NAS EventReport
6669 struct sNASEventReportIndication_IO
6670 {
6671 UINT32 mIO;
6672 };
6673
6674 // Structure to describe indication TLV 0x16 for NAS EventReport
6675 struct sNASEventReportIndication_SINR
6676 {
6677 eQMINASSINRLevels mSINR;
6678 };
6679
6680 // Structure to describe indication TLV 0x17 for NAS EventReport
6681 struct sNASEventReportIndication_ErrorRate
6682 {
6683 UINT16 mErrorRate;
6684 eQMINASRadioInterfaces mRadioInterface;
6685 };
6686
6687 // Structure to describe indication TLV 0x18 for NAS EventReport
6688 struct sNASEventReportIndication_RSRQ
6689 {
6690 INT8 mRSRQ;
6691 eQMINASRadioInterfaces mRadioInterface;
6692 };
6693
6694 // Structure to describe indication TLV 0x19 for NAS EventReport
6695 struct sNASEventReportIndication_LTESNR
6696 {
6697 INT16 mLTESNR;
6698 };
6699
6700 // Structure to describe indication TLV 0x1A for NAS EventReport
6701 struct sNASEventReportIndication_LTERSRP
6702 {
6703 INT16 mLTERSRP;
6704 };
6705
6706 // Structure to describe request TLV 0x10 for NASSetRegistrationEventReport()
6707 struct sNASSetRegistrationEventReportRequest_SystemSelectIndicator
6708 {
6709 INT8 mReportSystemSelect;
6710 };
6711
6712 // Structure to describe request TLV 0x12 for NASSetRegistrationEventReport()
6713 struct sNASSetRegistrationEventReportRequest_DDTMIndicator
6714 {
6715 INT8 mReportDDTM;
6716 };
6717
6718 // Structure to describe request TLV 0x13 for NASSetRegistrationEventReport()
6719 struct sNASSetRegistrationEventReportRequest_ServingSystemIndicator
6720 {
6721 INT8 mReportServingSystem;
6722 };
6723
6724 // Structure to describe request TLV 0x14 for NASSetRegistrationEventReport()
6725 struct sNASSetRegistrationEventReportRequest_DualStandbyIndicator
6726 {
6727 INT8 mReportDualStandby;
6728 };
6729
6730 // Structure to describe request TLV 0x15 for NASSetRegistrationEventReport()
6731 struct sNASSetRegistrationEventReportRequest_SubscriptionInformationIndicator
6732 {
6733 INT8 mReportSubscriptionInformation;
6734 };
6735
6736 // Structure to describe request TLV 0x17 for NASSetRegistrationEventReport()
6737 struct sNASSetRegistrationEventReportRequest_NetworkTimeIndicator
6738 {
6739 INT8 mReportNetworkTime;
6740 };
6741
6742 // Structure to describe request TLV 0x18 for NASSetRegistrationEventReport()
6743 struct sNASSetRegistrationEventReportRequest_SystemInformationIndicator
6744 {
6745 INT8 mReportSystemInformation;
6746 };
6747
6748 // Structure to describe request TLV 0x19 for NASSetRegistrationEventReport()
6749 struct sNASSetRegistrationEventReportRequest_SignalStrengthIndicator
6750 {
6751 INT8 mReportSignalStrength;
6752 };
6753
6754 // Structure to describe request TLV 0x1A for NASSetRegistrationEventReport()
6755 struct sNASSetRegistrationEventReportRequest_ErrorRateIndicator
6756 {
6757 INT8 mReportErrorRate;
6758 };
6759
6760 // Structure to describe request TLV 0x1B for NASSetRegistrationEventReport()
6761 struct sNASSetRegistrationEventReportRequest_NewEVDOUATIIndicator
6762 {
6763 INT8 mReportNewEVDOUATI;
6764 };
6765
6766 // Structure to describe request TLV 0x1C for NASSetRegistrationEventReport()
6767 struct sNASSetRegistrationEventReportRequest_EVDOSessionIndicator
6768 {
6769 INT8 mReportEVDOSessionClose;
6770 };
6771
6772 // Structure to describe request TLV 0x1D for NASSetRegistrationEventReport()
6773 struct sNASSetRegistrationEventReportRequest_ManagedRoamingIndicator
6774 {
6775 INT8 mReportManagedRoaming;
6776 };
6777
6778 // Structure to describe request TLV 0x1E for NASSetRegistrationEventReport()
6779 struct sNASSetRegistrationEventReportRequest_CurrentPLMNName
6780 {
6781 INT8 mReportCurrentPLMNName;
6782 };
6783
6784 // Structure to describe request TLV 0x1F for NASSetRegistrationEventReport()
6785 struct sNASSetRegistrationEventReportRequest_EMBMSStatus
6786 {
6787 INT8 mReportEMBMSStatus;
6788 };
6789
6790 // Structure to describe request TLV 0x20 for NASSetRegistrationEventReport()
6791 struct sNASSetRegistrationEventReportRequest_RFBandInfo
6792 {
6793 INT8 mReportRFBandInfo;
6794 };
6795
6796 // Structure to describe request TLV 0x21 for NASSetRegistrationEventReport()
6797 struct sNASSetRegistrationEventReportRequest_NetworkReject
6798 {
6799 INT8 mNetworkRejectEnabled;
6800 INT8 mSupressSytemInfoEnabled;
6801 };
6802
6803 // Structure to describe request TLV 0x22 for NASSetRegistrationEventReport()
6804 struct sNASSetRegistrationEventReportRequest_OperatorNameData
6805 {
6806 INT8 mOperatorNameDataEnabled;
6807 };
6808
6809 // Structure to describe request TLV 0x23 for NASSetRegistrationEventReport()
6810 struct sNASSetRegistrationEventReportRequest_CSPPLMNModeBit
6811 {
6812 INT8 mCSPPLMNModeBitEnabled;
6813 };
6814
6815 // Structure to describe request TLV 0x24 for NASSetRegistrationEventReport()
6816 struct sNASSetRegistrationEventReportRequest_RTREConfiguration
6817 {
6818 INT8 mRTREConfigurationEnabled;
6819 };
6820
6821 // Structure to describe request TLV 0x10 for NASGetSignalStrength()
6822 struct sNASGetSignalStrengthRequest_RequestMask
6823 {
6824 bool mQueryRSSI:1;
6825 bool mQueryECIO:1;
6826 bool mQueryIO:1;
6827 bool mQuerySINR:1;
6828 bool mQueryErrorRate:1;
6829 bool mQueryRSRQ:1;
6830 bool mQueryLTESNR:1;
6831 bool mQueryLTERSRQ:1;
6832
6833 // Padding out 8 bits
6834 UINT8 mReserved1;
6835 };
6836
6837 // Structure to describe response TLV 0x01 for NASGetSignalStrength()
6838 struct sNASGetSignalStrengthResponse_SignalStrength
6839 {
6840 INT8 mSignalStrengthdBm;
6841 eQMINASRadioInterfaces mRadioInterface;
6842 };
6843
6844 // Structure to describe response TLV 0x10 for NASGetSignalStrength()
6845 struct sNASGetSignalStrengthResponse_SignalStrengthList
6846 {
6847 UINT16 mNumberOfInfoInstances;
6848
6849 struct sInfo
6850 {
6851 INT8 mSignalStrengthdBm;
6852 eQMINASRadioInterfaces mRadioInterface;
6853 };
6854
6855 // This array must be the size specified by mNumberOfInfoInstances
6856 // sInfo mInfos[1];
6857 };
6858
6859 // Structure to describe response TLV 0x11 for NASGetSignalStrength()
6860 struct sNASGetSignalStrengthResponse_RSSIList
6861 {
6862 UINT16 mNumberOfMeasurements;
6863
6864 struct sMeasurement
6865 {
6866 UINT8 mRSSIDelta;
6867 eQMINASRadioInterfaces mRadioInterface;
6868 };
6869
6870 // This array must be the size specified by mNumberOfMeasurements
6871 // sMeasurement mMeasurements[1];
6872 };
6873
6874 // Structure to describe response TLV 0x12 for NASGetSignalStrength()
6875 struct sNASGetSignalStrengthResponse_ECIOList
6876 {
6877 UINT16 mNumberOfMeasurements;
6878
6879 struct sMeasurement
6880 {
6881 UINT8 mECIO;
6882 eQMINASRadioInterfaces mRadioInterface;
6883 };
6884
6885 // This array must be the size specified by mNumberOfMeasurements
6886 // sMeasurement mMeasurements[1];
6887 };
6888
6889 // Structure to describe response TLV 0x13 for NASGetSignalStrength()
6890 struct sNASGetSignalStrengthResponse_IO
6891 {
6892 UINT32 mIO;
6893 };
6894
6895 // Structure to describe response TLV 0x14 for NASGetSignalStrength()
6896 struct sNASGetSignalStrengthResponse_SINR
6897 {
6898 eQMINASSINRLevels mSINR;
6899 };
6900
6901 // Structure to describe response TLV 0x15 for NASGetSignalStrength()
6902 struct sNASGetSignalStrengthResponse_ErrorRateList
6903 {
6904 UINT16 mNumberOfMeasurements;
6905
6906 struct sMeasurement
6907 {
6908 UINT16 mErrorRate;
6909 eQMINASRadioInterfaces mRadioInterface;
6910 };
6911
6912 // This array must be the size specified by mNumberOfMeasurements
6913 // sMeasurement mMeasurements[1];
6914 };
6915
6916 // Structure to describe response TLV 0x16 for NASGetSignalStrength()
6917 struct sNASGetSignalStrengthResponse_RSRQ
6918 {
6919 INT8 mRSRQ;
6920 eQMINASRadioInterfaces mRadioInterface;
6921 };
6922
6923 // Structure to describe response TLV 0x17 for NASGetSignalStrength()
6924 struct sNASGetSignalStrengthResponse_LTESNR
6925 {
6926 INT16 mLTESNR;
6927 };
6928
6929 // Structure to describe response TLV 0x18 for NASGetSignalStrength()
6930 struct sNASGetSignalStrengthResponse_LTERSRQ
6931 {
6932 INT16 mLTERSRP;
6933 };
6934
6935 // Structure to describe request TLV 0x10 for NASPerformNetworkScan()
6936 struct sNASPerformNetworkScanRequest_NetworkMask
6937 {
6938 bool mGSM:1;
6939 bool mUMTS:1;
6940 bool mLTE:1;
6941 bool mTDSCDMA:1;
6942
6943 // Padding out 4 bits
6944 UINT8 mReserved1:4;
6945 };
6946
6947 // Structure to describe response TLV 0x10 for NASPerformNetworkScan()
6948 struct sNASPerformNetworkScanResponse_NetworkInfo
6949 {
6950 UINT16 mNumberOfInfoInstances;
6951
6952 struct sNetworkInfo
6953 {
6954 UINT16 mMobileCountryCode;
6955 UINT16 mMobileNetworkCode;
6956 eQMINASInUseStates mInUseStatus:2;
6957 eQMINASRoamingStates mRoamingStatus:2;
6958 eQMINASForbiddenStates mForbiddenStatus:2;
6959 eQMINASPreferredStates mPreferredStatus:2;
6960 UINT8 mDescriptionLength;
6961
6962 // This array must be the size specified by mDescriptionLength
6963 // char mDescription[1];
6964 };
6965
6966 // This array must be the size specified by mNumberOfInfoInstances
6967 // sNetworkInfo mNetworkInfos[1];
6968 };
6969
6970 // Structure to describe response TLV 0x11 for NASPerformNetworkScan()
6971 struct sNASPerformNetworkScanResponse_NetworkRAT
6972 {
6973 UINT16 mNumberOfInfoInstances;
6974
6975 struct sInfo
6976 {
6977 UINT16 mMobileCountryCode;
6978 UINT16 mMobileNetworkCode;
6979 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
6980 };
6981
6982 // This array must be the size specified by mNumberOfInfoInstances
6983 // sInfo mInfos[1];
6984 };
6985
6986 // Structure to describe response TLV 0x12 for NASPerformNetworkScan()
6987 struct sNASPerformNetworkScanResponse_PCSInfo
6988 {
6989 UINT16 mPCSInfoCount;
6990
6991 struct sPCSInfo
6992 {
6993 UINT16 mMobileCountryCode;
6994 UINT16 mMobileNetworkCode;
6995 INT8 mMNCIncludesPCSDigit;
6996 };
6997
6998 // This array must be the size specified by mPCSInfoCount
6999 // sPCSInfo mPCSInfos[1];
7000 };
7001
7002 // Structure to describe response TLV 0x13 for NASPerformNetworkScan()
7003 struct sNASPerformNetworkScanResponse_NetworkScanResult
7004 {
7005 eQMINASNetworkScanResult mNetworkScanResult;
7006 };
7007
7008 // Structure to describe request TLV 0x01 for NASInitiateNetworkRegister()
7009 struct sNASInitiateNetworkRegisterRequest_Action
7010 {
7011 eQMINASRegisterActions mRegisterAction;
7012 };
7013
7014 // Structure to describe request TLV 0x10 for NASInitiateNetworkRegister()
7015 struct sNASInitiateNetworkRegisterRequest_ManualInfo
7016 {
7017 UINT16 mMobileCountryCode;
7018 UINT16 mMobileNetworkCode;
7019 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
7020 };
7021
7022 // Structure to describe request TLV 0x11 for NASInitiateNetworkRegister()
7023 struct sNASInitiateNetworkRegisterRequest_ChangeDuration
7024 {
7025 eQMINASChangeDuration mChangeDuration;
7026 };
7027
7028 // Structure to describe request TLV 0x12 for NASInitiateNetworkRegister()
7029 struct sNASInitiateNetworkRegisterRequest_PCSInfo
7030 {
7031 INT8 mMNCIncludesPCSDigit;
7032 };
7033
7034 // Structure to describe request TLV 0x10 for NASInitiateAttach()
7035 struct sNASInitiateAttachRequest_Action
7036 {
7037 eQMINASPSAttachActions mPSAttachAction;
7038 };
7039
7040 // Structure to describe response TLV 0x01 for NASGetServingSystem()
7041 struct sNASGetServingSystemResponse_ServingSystem
7042 {
7043 eQMINASRegistrationStates mRegistrationState;
7044 eQMINASCSPSAttachStates mCSAttachState;
7045 eQMINASCSPSAttachStates mPSAttachState;
7046 eQMINASRegisteredNetworks mRegisteredNetwork;
7047 UINT8 mNumberOfRadioInterfacesInUse;
7048
7049 // This array must be the size specified by mNumberOfRadioInterfacesInUse
7050 // eQMINASRadioInterfaces mRadioInterface[1];
7051 };
7052
7053 // Structure to describe response TLV 0x10 for NASGetServingSystem()
7054 struct sNASGetServingSystemResponse_RoamingIndicator
7055 {
7056 eQMINASRoamingIndicators mRoamingIndicator;
7057 };
7058
7059 // Structure to describe response TLV 0x11 for NASGetServingSystem()
7060 struct sNASGetServingSystemResponse_DataServices
7061 {
7062 UINT8 mNumberOfDataCapabilities;
7063
7064 // This array must be the size specified by mNumberOfDataCapabilities
7065 // eQMINASDataServiceCapabilities2 mDataCapability[1];
7066 };
7067
7068 // Structure to describe response TLV 0x12 for NASGetServingSystem()
7069 struct sNASGetServingSystemResponse_CurrentPLMN
7070 {
7071 UINT16 mMobileCountryCode;
7072 UINT16 mMobileNetworkCode;
7073 UINT8 mDescriptionLength;
7074
7075 // This array must be the size specified by mDescriptionLength
7076 // char mDescription[1];
7077 };
7078
7079 // Structure to describe response TLV 0x13 for NASGetServingSystem()
7080 struct sNASGetServingSystemResponse_SystemID
7081 {
7082 UINT16 mSystemID;
7083 UINT16 mNetworkID;
7084 };
7085
7086 // Structure to describe response TLV 0x14 for NASGetServingSystem()
7087 struct sNASGetServingSystemResponse_BaseStation
7088 {
7089 UINT16 mBaseStationID;
7090 INT32 mLatitude;
7091 INT32 mLongitude;
7092 };
7093
7094 // Structure to describe response TLV 0x15 for NASGetServingSystem()
7095 struct sNASGetServingSystemResponse_RoamingList
7096 {
7097 UINT8 mNumberOfInstances;
7098
7099 struct sInstance
7100 {
7101 eQMINASRadioInterfaces mRadioInterface;
7102 eQMINASRoamingIndicators mRoamingIndicator;
7103 };
7104
7105 // This array must be the size specified by mNumberOfInstances
7106 // sInstance mInstances[1];
7107 };
7108
7109 // Structure to describe response TLV 0x16 for NASGetServingSystem()
7110 struct sNASGetServingSystemResponse_DefaultRoaming
7111 {
7112 eQMINASRoamingIndicators mRoamingIndicator;
7113 };
7114
7115 // Structure to describe response TLV 0x17 for NASGetServingSystem()
7116 struct sNASGetServingSystemResponse_3GPP2TimeZone
7117 {
7118 UINT8 mLeapSeconds;
7119 INT8 mLocalTimeOffset;
7120 INT8 mDaylightSavingsInEffect;
7121 };
7122
7123 // Structure to describe response TLV 0x18 for NASGetServingSystem()
7124 struct sNASGetServingSystemResponse_ProtocolRevision
7125 {
7126 eQMINASRevision mProtocolRevision;
7127 };
7128
7129 // Structure to describe response TLV 0x1A for NASGetServingSystem()
7130 struct sNASGetServingSystemResponse_3GPPTimeZone
7131 {
7132 INT8 m3GPPTimeZone;
7133 };
7134
7135 // Structure to describe response TLV 0x1B for NASGetServingSystem()
7136 struct sNASGetServingSystemResponse_3GPPDaylightSavingsAdjustment
7137 {
7138 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
7139 };
7140
7141 // Structure to describe response TLV 0x1C for NASGetServingSystem()
7142 struct sNASGetServingSystemResponse_3GPPLocationAreaCode
7143 {
7144 UINT16 mLocationAreaCode;
7145 };
7146
7147 // Structure to describe response TLV 0x1D for NASGetServingSystem()
7148 struct sNASGetServingSystemResponse_3GPPCellID
7149 {
7150 UINT32 mCellID;
7151 };
7152
7153 // Structure to describe response TLV 0x1E for NASGetServingSystem()
7154 struct sNASGetServingSystemResponse_3GPP2ConcurrentService
7155 {
7156 eQMINASConcurrentService mConcurrentService;
7157 };
7158
7159 // Structure to describe response TLV 0x1F for NASGetServingSystem()
7160 struct sNASGetServingSystemResponse_3GPP2PRLIndicator
7161 {
7162 eQMINASPRLIndicator mPRLIndicator;
7163 };
7164
7165 // Structure to describe response TLV 0x20 for NASGetServingSystem()
7166 struct sNASGetServingSystemResponse_DualTransferModeIndication
7167 {
7168 eQMINASDualTransferMode mDualTransferMode;
7169 };
7170
7171 // Structure to describe response TLV 0x21 for NASGetServingSystem()
7172 struct sNASGetServingSystemResponse_DetailedServiceInformation
7173 {
7174 eQMINASServiceStatus mServiceStatus;
7175 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
7176 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
7177 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
7178 eQMINASSystemForbidden mSystemForbidden;
7179 };
7180
7181 // Structure to describe response TLV 0x22 for NASGetServingSystem()
7182 struct sNASGetServingSystemResponse_CDMASystemInformation
7183 {
7184 UINT16 mMobileCountryCode;
7185 UINT8 mIMSI_11_12;
7186 };
7187
7188 // Structure to describe response TLV 0x23 for NASGetServingSystem()
7189 struct sNASGetServingSystemResponse_CDMA1xEVDOPersonality
7190 {
7191 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
7192 };
7193
7194 // Structure to describe response TLV 0x24 for NASGetServingSystem()
7195 struct sNASGetServingSystemResponse_TrackingAreaCode
7196 {
7197 UINT16 mTrackingAreaCode;
7198 };
7199
7200 // Structure to describe response TLV 0x25 for NASGetServingSystem()
7201 struct sNASGetServingSystemResponse_CallBarring
7202 {
7203 eQMINASCallBarringStatus mCSCallBarringStatus;
7204 eQMINASCallBarringStatus mPSCallBarringStatus;
7205 };
7206
7207 // Structure to describe response TLV 0x26 for NASGetServingSystem()
7208 struct sNASGetServingSystemResponse_UMTSPSC
7209 {
7210 UINT16 mPrimaryScramblingCode;
7211 };
7212
7213 // Structure to describe response TLV 0x27 for NASGetServingSystem()
7214 struct sNASGetServingSystemResponse_PCSInfo
7215 {
7216 UINT16 mMobileCountryCode;
7217 UINT16 mMobileNetworkCode;
7218 INT8 mMNCIncludesPCSDigit;
7219 };
7220
7221 // Structure to describe response TLV 0x28 for NASGetServingSystem()
7222 struct sNASGetServingSystemResponse_HSCallStatus
7223 {
7224 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
7225 };
7226
7227 // Structure to describe indication TLV 0x01 for NAS ServingSystemIndication
7228 struct sNASServingSystemIndication_ServingSystem
7229 {
7230 eQMINASRegistrationStates mRegistrationState;
7231 eQMINASCSPSAttachStates mCSAttachState;
7232 eQMINASCSPSAttachStates mPSAttachState;
7233 eQMINASRegisteredNetworks mRegisteredNetwork;
7234 UINT8 mNumberOfRadioInterfacesInUse;
7235
7236 // This array must be the size specified by mNumberOfRadioInterfacesInUse
7237 // eQMINASRadioInterfaces mRadioInterface[1];
7238 };
7239
7240 // Structure to describe indication TLV 0x10 for NAS ServingSystemIndication
7241 struct sNASServingSystemIndication_RoamingIndicator
7242 {
7243 eQMINASRoamingIndicators mRoamingIndicator;
7244 };
7245
7246 // Structure to describe indication TLV 0x11 for NAS ServingSystemIndication
7247 struct sNASServingSystemIndication_DataServices
7248 {
7249 UINT8 mNumberOfDataCapabilities;
7250
7251 // This array must be the size specified by mNumberOfDataCapabilities
7252 // eQMINASDataServiceCapabilities2 mDataCapability[1];
7253 };
7254
7255 // Structure to describe indication TLV 0x12 for NAS ServingSystemIndication
7256 struct sNASServingSystemIndication_CurrentPLMN
7257 {
7258 UINT16 mMobileCountryCode;
7259 UINT16 mMobileNetworkCode;
7260 UINT8 mDescriptionLength;
7261
7262 // This array must be the size specified by mDescriptionLength
7263 // char mDescription[1];
7264 };
7265
7266 // Structure to describe indication TLV 0x13 for NAS ServingSystemIndication
7267 struct sNASServingSystemIndication_SystemID
7268 {
7269 UINT16 mSystemID;
7270 UINT16 mNetworkID;
7271 };
7272
7273 // Structure to describe indication TLV 0x14 for NAS ServingSystemIndication
7274 struct sNASServingSystemIndication_BaseStation
7275 {
7276 UINT16 mBaseStationID;
7277 INT32 mLatitude;
7278 INT32 mLongitude;
7279 };
7280
7281 // Structure to describe indication TLV 0x15 for NAS ServingSystemIndication
7282 struct sNASServingSystemIndication_RoamingList
7283 {
7284 UINT8 mNumberOfInstances;
7285
7286 struct sInstance
7287 {
7288 eQMINASRadioInterfaces mRadioInterface;
7289 eQMINASRoamingIndicators mRoamingIndicator;
7290 };
7291
7292 // This array must be the size specified by mNumberOfInstances
7293 // sInstance mInstances[1];
7294 };
7295
7296 // Structure to describe indication TLV 0x16 for NAS ServingSystemIndication
7297 struct sNASServingSystemIndication_DefaultRoaming
7298 {
7299 eQMINASRoamingIndicators mRoamingIndicator;
7300 };
7301
7302 // Structure to describe indication TLV 0x17 for NAS ServingSystemIndication
7303 struct sNASServingSystemIndication_TimeZone
7304 {
7305 UINT8 mLeapSeconds;
7306 INT8 mLocalTimeOffset;
7307 INT8 mDaylightSavingsInEffect;
7308 };
7309
7310 // Structure to describe indication TLV 0x18 for NAS ServingSystemIndication
7311 struct sNASServingSystemIndication_ProtocolRevision
7312 {
7313 eQMINASRevision mProtocolRevision;
7314 };
7315
7316 // Structure to describe indication TLV 0x19 for NAS ServingSystemIndication
7317 struct sNASServingSystemIndication_PLMNChange
7318 {
7319 INT8 mPLMNChanged;
7320 };
7321
7322 // Structure to describe indication TLV 0x1A for NAS ServingSystemIndication
7323 struct sNASServingSystemIndication_3GPPTimeZone
7324 {
7325 INT8 m3GPPTimeZone;
7326 };
7327
7328 // Structure to describe indication TLV 0x1B for NAS ServingSystemIndication
7329 struct sNASServingSystemIndication_3GPPDaylightSavingAdjustment
7330 {
7331 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
7332 };
7333
7334 // Structure to describe indication TLV 0x1C for NAS ServingSystemIndication
7335 struct sNASServingSystemIndication_3GPPUniversalTimeAndZone
7336 {
7337 UINT16 mYear;
7338 UINT8 mMonth;
7339 UINT8 mDay;
7340 UINT8 mHour;
7341 UINT8 mMinute;
7342 UINT8 mSecond;
7343 INT8 mTimeZoneOffset;
7344 };
7345
7346 // Structure to describe indication TLV 0x1D for NAS ServingSystemIndication
7347 struct sNASServingSystemIndication_3GPPLocationAreaCode
7348 {
7349 UINT16 mLocationAreaCode;
7350 };
7351
7352 // Structure to describe indication TLV 0x1E for NAS ServingSystemIndication
7353 struct sNASServingSystemIndication_3GPPCellID
7354 {
7355 UINT32 mCellID;
7356 };
7357
7358 // Structure to describe indication TLV 0x1F for NAS ServingSystemIndication
7359 struct sNASServingSystemIndication_3GPP2ConcurrentService
7360 {
7361 eQMINASConcurrentService mConcurrentService;
7362 };
7363
7364 // Structure to describe indication TLV 0x20 for NAS ServingSystemIndication
7365 struct sNASServingSystemIndication_3GPP2PRLIndicator
7366 {
7367 eQMINASPRLIndicator mPRLIndicator;
7368 };
7369
7370 // Structure to describe indication TLV 0x21 for NAS ServingSystemIndication
7371 struct sNASServingSystemIndication_DualTransferModeIndication
7372 {
7373 eQMINASDualTransferMode mDualTransferMode;
7374 };
7375
7376 // Structure to describe indication TLV 0x22 for NAS ServingSystemIndication
7377 struct sNASServingSystemIndication_DetailedServiceInformation
7378 {
7379 eQMINASServiceStatus mServiceStatus;
7380 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
7381 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
7382 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
7383 eQMINASSystemForbidden mSystemForbidden;
7384 };
7385
7386 // Structure to describe indication TLV 0x23 for NAS ServingSystemIndication
7387 struct sNASServingSystemIndication_CDMASystemInformation
7388 {
7389 UINT16 mMobileCountryCode;
7390 UINT8 mIMSI_11_12;
7391 };
7392
7393 // Structure to describe indication TLV 0x24 for NAS ServingSystemIndication
7394 struct sNASServingSystemIndication_CDMA1xEVDOPersonality
7395 {
7396 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
7397 };
7398
7399 // Structure to describe indication TLV 0x25 for NAS ServingSystemIndication
7400 struct sNASServingSystemIndication_TrackingAreaCode
7401 {
7402 UINT16 mTrackingAreaCode;
7403 };
7404
7405 // Structure to describe indication TLV 0x26 for NAS ServingSystemIndication
7406 struct sNASServingSystemIndication_CallBarring
7407 {
7408 eQMINASCallBarringStatus mCSCallBarringStatus;
7409 eQMINASCallBarringStatus mPSCallBarringStatus;
7410 };
7411
7412 // Structure to describe indication TLV 0x27 for NAS ServingSystemIndication
7413 struct sNASServingSystemIndication_PLMNChangeStatus
7414 {
7415 INT8 mNoPLMNChange;
7416 };
7417
7418 // Structure to describe indication TLV 0x28 for NAS ServingSystemIndication
7419 struct sNASServingSystemIndication_UMTSPSC
7420 {
7421 UINT16 mPrimaryScramblingCode;
7422 };
7423
7424 // Structure to describe indication TLV 0x29 for NAS ServingSystemIndication
7425 struct sNASServingSystemIndication_PCSInfo
7426 {
7427 UINT16 mMobileCountryCode;
7428 UINT16 mMobileNetworkCode;
7429 INT8 mMNCIncludesPCSDigit;
7430 };
7431
7432 // Structure to describe indication TLV 0x2A for NAS ServingSystemIndication
7433 struct sNASServingSystemIndication_HSCallStatus
7434 {
7435 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
7436 };
7437
7438 // Structure to describe response TLV 0x01 for NASGetHomeNetwork()
7439 struct sNASGetHomeNetworkResponse_HomeNetwork
7440 {
7441 UINT16 mMobileCountryCode;
7442 UINT16 mMobileNetworkCode;
7443 UINT8 mDescriptionLength;
7444
7445 // This array must be the size specified by mDescriptionLength
7446 // char mDescription[1];
7447 };
7448
7449 // Structure to describe response TLV 0x10 for NASGetHomeNetwork()
7450 struct sNASGetHomeNetworkResponse_HomeIDs
7451 {
7452 UINT16 mSystemID;
7453 UINT16 mNetworkID;
7454 };
7455
7456 // Structure to describe response TLV 0x11 for NASGetHomeNetwork()
7457 struct sNASGetHomeNetworkResponse_ExtendedHomeNetwork
7458 {
7459 UINT16 mMobileCountryCode;
7460 UINT16 mMobileNetworkCode;
7461 eQMINASNetworkDescriptionDisplays mDisplayNetworkDescription;
7462 eQMINASNetworkDescriptionEncodings mNetworkDescriptionEncoding;
7463 UINT8 mNetworkDescriptionLength;
7464
7465 // This array must be the size specified by mNetworkDescriptionLength
7466 // UINT8 mNetworkDescription[1];
7467 };
7468
7469 // Structure to describe response TLV 0x10 for NASGetPreferredNetworks()
7470 struct sNASGetPreferredNetworksResponse_Networks
7471 {
7472 UINT16 mNumberOfPreferredNetworks;
7473
7474 struct sNetwork
7475 {
7476 UINT16 mMobileCountryCode;
7477 UINT16 mMobileNetworkCode;
7478
7479 // Padding out 6 bits
7480 UINT8 mReserved1:6;
7481
7482 bool mGSMCompact:1;
7483 bool mGSM:1;
7484
7485 // Padding out 6 bits
7486 UINT8 mReserved2:6;
7487
7488 bool mLTE:1;
7489 bool mUMTS:1;
7490 };
7491
7492 // This array must be the size specified by mNumberOfPreferredNetworks
7493 // sNetwork mNetworks[1];
7494 };
7495
7496 // Structure to describe response TLV 0x11 for NASGetPreferredNetworks()
7497 struct sNASGetPreferredNetworksResponse_StaticNetworks
7498 {
7499 UINT16 mNumberOfPreferredNetworks;
7500
7501 struct sNetwork
7502 {
7503 UINT16 mMobileCountryCode;
7504 UINT16 mMobileNetworkCode;
7505
7506 // Padding out 6 bits
7507 UINT8 mReserved1:6;
7508
7509 bool mGSMCompact:1;
7510 bool mGSM:1;
7511
7512 // Padding out 6 bits
7513 UINT8 mReserved2:6;
7514
7515 bool mLTE:1;
7516 bool mUMTS:1;
7517 };
7518
7519 // This array must be the size specified by mNumberOfPreferredNetworks
7520 // sNetwork mNetworks[1];
7521 };
7522
7523 // Structure to describe request TLV 0x10 for NASSetPreferredNetworks()
7524 struct sNASSetPreferredNetworksRequest_Networks
7525 {
7526 UINT16 mNumberOfPreferredNetworks;
7527
7528 struct sNetwork
7529 {
7530 UINT16 mMobileCountryCode;
7531 UINT16 mMobileNetworkCode;
7532
7533 // Padding out 6 bits
7534 UINT8 mReserved1:6;
7535
7536 bool mGSMCompact:1;
7537 bool mGSM:1;
7538
7539 // Padding out 6 bits
7540 UINT8 mReserved2:6;
7541
7542 bool mLTE:1;
7543 bool mUMTS:1;
7544 };
7545
7546 // This array must be the size specified by mNumberOfPreferredNetworks
7547 // sNetwork mNetworks[1];
7548 };
7549
7550 // Structure to describe response TLV 0x10 for NASGetForbiddenNetworks()
7551 struct sNASGetForbiddenNetworksResponse_Networks
7552 {
7553 UINT16 mNumberOfForbiddenNetworks;
7554
7555 struct sNetwork
7556 {
7557 UINT16 mMobileCountryCode;
7558 UINT16 mMobileNetworkCode;
7559 };
7560
7561 // This array must be the size specified by mNumberOfForbiddenNetworks
7562 // sNetwork mNetworks[1];
7563 };
7564
7565 // Structure to describe request TLV 0x10 for NASSetForbiddenNetworks()
7566 struct sNASSetForbiddenNetworksRequest_Networks
7567 {
7568 UINT16 mNumberOfForbiddenNetworks;
7569
7570 struct sNetwork
7571 {
7572 UINT16 mMobileCountryCode;
7573 UINT16 mMobileNetworkCode;
7574 };
7575
7576 // This array must be the size specified by mNumberOfForbiddenNetworks
7577 // sNetwork mNetworks[1];
7578 };
7579
7580 // Structure to describe request TLV 0x01 for NASSetTechnologyPreference()
7581 struct sNASSetTechnologyPreferenceRequest_Preference
7582 {
7583 // mTechnology must be the first two bits of a UINT8
7584 // whose remaining bits are described in the optional
7585 // structs following.
7586
7587 // The following union is based on the value of mTechnology
7588 union uValOfTechnology
7589 {
7590 // Always present
7591 eQMINASTechPrefs mTechnology:2;
7592
7593 // If the value of mTechnology == 1
7594 struct sTechnologyIs1
7595 {
7596 // Padding out 2 bits
7597 UINT8 mReserved1:2;
7598
7599 UINT8 mAnalog:1;
7600 UINT8 mDigital:1;
7601 UINT8 mEVDO:1;
7602 UINT8 mLTE:1;
7603
7604 // Padding out 2 bits
7605 UINT8 mReserved2:2;
7606 };
7607
7608 sTechnologyIs1 mTechnologyIs1;
7609
7610 // If the value of mTechnology == 2
7611 struct sTechnologyIs2
7612 {
7613 // Padding out 2 bits
7614 UINT8 mReserved3:2;
7615
7616 UINT8 mGSM:1;
7617 UINT8 mWCDMA:1;
7618 UINT8 mEVDO:1;
7619 UINT8 mLTE:1;
7620
7621 // Padding out 2 bits
7622 UINT8 mReserved4:2;
7623 };
7624
7625 sTechnologyIs2 mTechnologyIs2;
7626
7627 // Padding out 8 bits
7628 UINT8 mReserved5;
7629 };
7630
7631 uValOfTechnology mValOfTechnology;
7632
7633 // Padding out 8 bits
7634 UINT8 mReserved6;
7635
7636 eQMINASTechPrefDurations mDuration;
7637 };
7638
7639 // Structure to describe response TLV 0x01 for NASGetTechnologyPreference()
7640 struct sNASGetTechnologyPreferenceResponse_ActivePreference
7641 {
7642 // mTechnology must be the first two bits of a UINT8
7643 // whose remaining bits are described in the optional
7644 // structs following.
7645
7646 // The following union is based on the value of mTechnology
7647 union uValOfTechnology
7648 {
7649 // Always present
7650 eQMINASTechPrefs mTechnology:2;
7651
7652 // If the value of mTechnology == 1
7653 struct sTechnologyIs1
7654 {
7655 // Padding out 2 bits
7656 UINT8 mReserved1:2;
7657
7658 UINT8 mAnalog:1;
7659 UINT8 mDigital:1;
7660 UINT8 mEVDO:1;
7661 UINT8 mLTE:1;
7662
7663 // Padding out 2 bits
7664 UINT8 mReserved2:2;
7665 };
7666
7667 sTechnologyIs1 mTechnologyIs1;
7668
7669 // If the value of mTechnology == 2
7670 struct sTechnologyIs2
7671 {
7672 // Padding out 2 bits
7673 UINT8 mReserved3:2;
7674
7675 UINT8 mGSM:1;
7676 UINT8 mWCDMA:1;
7677 UINT8 mEVDO:1;
7678 UINT8 mLTE:1;
7679
7680 // Padding out 2 bits
7681 UINT8 mReserved4:2;
7682 };
7683
7684 sTechnologyIs2 mTechnologyIs2;
7685
7686 // Padding out 8 bits
7687 UINT8 mReserved5;
7688 };
7689
7690 uValOfTechnology mValOfTechnology;
7691
7692 // Padding out 8 bits
7693 UINT8 mReserved6;
7694
7695 eQMINASTechPrefDurations mDuration;
7696 };
7697
7698 // Structure to describe response TLV 0x10 for NASGetTechnologyPreference()
7699 struct sNASGetTechnologyPreferenceResponse_PersistentPreference
7700 {
7701 // mTechnology must be the first two bits of a UINT8
7702 // whose remaining bits are described in the optional
7703 // structs following.
7704
7705 // The following union is based on the value of mTechnology
7706 union uValOfTechnology
7707 {
7708 // Always present
7709 eQMINASTechPrefs mTechnology:2;
7710
7711 // If the value of mTechnology == 1
7712 struct sTechnologyIs1
7713 {
7714 // Padding out 2 bits
7715 UINT8 mReserved1:2;
7716
7717 UINT8 mAnalog:1;
7718 UINT8 mDigital:1;
7719 UINT8 mEVDO:1;
7720 UINT8 mLTE:1;
7721
7722 // Padding out 2 bits
7723 UINT8 mReserved2:2;
7724 };
7725
7726 sTechnologyIs1 mTechnologyIs1;
7727
7728 // If the value of mTechnology == 2
7729 struct sTechnologyIs2
7730 {
7731 // Padding out 2 bits
7732 UINT8 mReserved3:2;
7733
7734 UINT8 mGSM:1;
7735 UINT8 mWCDMA:1;
7736 UINT8 mEVDO:1;
7737 UINT8 mLTE:1;
7738
7739 // Padding out 2 bits
7740 UINT8 mReserved4:2;
7741 };
7742
7743 sTechnologyIs2 mTechnologyIs2;
7744
7745 // Padding out 8 bits
7746 UINT8 mReserved5;
7747 };
7748
7749 uValOfTechnology mValOfTechnology;
7750
7751 // Padding out 8 bits
7752 UINT8 mReserved6;
7753 };
7754
7755 // Structure to describe response TLV 0x01 for NASGetACCOLC()
7756 struct sNASGetACCOLCResponse_ACCOLC
7757 {
7758 UINT8 mACCOLC;
7759 };
7760
7761 // Structure to describe request TLV 0x01 for NASSetACCOLC()
7762 struct sNASSetACCOLCRequest_ACCOLC
7763 {
7764 char mSPC[6];
7765 UINT8 mACCOLC;
7766 };
7767
7768 // Structure to describe indication TLV 0x01 for NAS GetSystemPreference
7769 struct sNASGetSystemPreferenceIndication_Pref
7770 {
7771 eQMINASSystemPreferences mSystemPreference;
7772 };
7773
7774 // Structure to describe response TLV 0x11 for NASGetNetworkParameters()
7775 struct sNASGetNetworkParametersResponse_SCI
7776 {
7777 UINT8 mSlotCycleIndex;
7778 };
7779
7780 // Structure to describe response TLV 0x12 for NASGetNetworkParameters()
7781 struct sNASGetNetworkParametersResponse_SCM
7782 {
7783 UINT8 mStationClassMark;
7784 };
7785
7786 // Structure to describe response TLV 0x13 for NASGetNetworkParameters()
7787 struct sNASGetNetworkParametersResponse_Registration
7788 {
7789 INT8 mRegisterOnHomeSystem;
7790 INT8 mRegisterOnForeignSystem;
7791 INT8 mRegisterOnForeignNetwork;
7792 };
7793
7794 // Structure to describe response TLV 0x14 for NASGetNetworkParameters()
7795 struct sNASGetNetworkParametersResponse_CDMA1xEVDORevision
7796 {
7797 INT8 mForceCDMA1xEVDORev0;
7798 };
7799
7800 // Structure to describe response TLV 0x15 for NASGetNetworkParameters()
7801 struct sNASGetNetworkParametersResponse_CDMA1xEVDOSCPCustom
7802 {
7803 INT8 mCDMA1xEVDOSCPCustomConfig;
7804 bool mSubtype2PhysicalLayer:1;
7805 bool mEnhancedCCMAC:1;
7806 bool mEnhancedACMAC:1;
7807 bool mEnhancedFTCMAC:1;
7808 bool mSubtype3RTCMAC:1;
7809 bool mSubtype1RTCMAC:1;
7810 bool mEnhancedIdle:1;
7811 bool mGenericMultimodeCapableDiscPort:1;
7812
7813 // Padding out 24 bits
7814 UINT8 mReserved1[3];
7815
7816 bool mGenericBroadcast:1;
7817
7818 // Padding out 31 bits
7819 UINT8 mReserved2:7;
7820 UINT8 mReserved3[3];
7821
7822 bool mSNMultiflowPacketApplication:1;
7823 bool mSNEnhancedMultiflowPacketApplication:1;
7824
7825 // Padding out 30 bits
7826 UINT8 mReserved4:6;
7827 UINT8 mReserved5[3];
7828 };
7829
7830 // Structure to describe response TLV 0x16 for NASGetNetworkParameters()
7831 struct sNASGetNetworkParametersResponse_Roaming
7832 {
7833 eQMINASRoamingPreferences mRoamPreference;
7834 };
7835
7836 // Structure to describe response TLV 0x17 for NASGetNetworkParameters()
7837 struct sNASGetNetworkParametersResponse_ForceCDMA1xEVDOSCP
7838 {
7839 eQMINASForceCDMA1xEVDOSCP mForceCDMA1xEVDOSCP;
7840 };
7841
7842 // Structure to describe request TLV 0x10 for NASSetNetworkParameters()
7843 struct sNASSetNetworkParametersRequest_SPC
7844 {
7845 char mSPC[6];
7846 };
7847
7848 // Structure to describe request TLV 0x14 for NASSetNetworkParameters()
7849 struct sNASSetNetworkParametersRequest_CDMA1xEVDORevision
7850 {
7851 INT8 mForceCDMA1xEVDORev0;
7852 };
7853
7854 // Structure to describe request TLV 0x15 for NASSetNetworkParameters()
7855 struct sNASSetNetworkParametersRequest_CDMA1xEVDOSCPCustom
7856 {
7857 INT8 mCDMA1xEVDOSCPCustomConfig;
7858 bool mSubtype2PhysicalLayer:1;
7859 bool mEnhancedCCMAC:1;
7860 bool mEnhancedACMAC:1;
7861 bool mEnhancedFTCMAC:1;
7862 bool mSubtype3RTCMAC:1;
7863 bool mSubtype1RTCMAC:1;
7864 bool mEnhancedIdle:1;
7865 bool mGenericMultimodeCapableDiscPort:1;
7866
7867 // Padding out 24 bits
7868 UINT8 mReserved1[3];
7869
7870 bool mGenericBroadcast:1;
7871
7872 // Padding out 31 bits
7873 UINT8 mReserved2:7;
7874 UINT8 mReserved3[3];
7875
7876 bool mSNMultiflowPacketApplication:1;
7877 bool mSNEnhancedMultiflowPacketApplication:1;
7878
7879 // Padding out 30 bits
7880 UINT8 mReserved4:6;
7881 UINT8 mReserved5[3];
7882 };
7883
7884 // Structure to describe request TLV 0x16 for NASSetNetworkParameters()
7885 struct sNASSetNetworkParametersRequest_Roaming
7886 {
7887 eQMINASRoamingPreferences mRoamPreference;
7888 };
7889
7890 // Structure to describe response TLV 0x01 for NASGetRFInfo()
7891 struct sNASGetRFInfoResponse_RFInfo
7892 {
7893 UINT8 mNumberOfInstances;
7894
7895 struct sInstance
7896 {
7897 eQMINASRadioInterfaces mRadioInterface;
7898 eQMINASBandClasses mActiveBandClass;
7899 UINT16 mActiveChannel;
7900 };
7901
7902 // This array must be the size specified by mNumberOfInstances
7903 // sInstance mInstances[1];
7904 };
7905
7906 // Structure to describe response TLV 0x01 for NASGetANAAAAuthenticationStatus()
7907 struct sNASGetANAAAAuthenticationStatusResponse_Status
7908 {
7909 eQMINASANAAAAuthenticationStatus mANAAAAuthenticationStatus;
7910 };
7911
7912 // Structure to describe request TLV 0x10 for NASSetSystemSelectionPref()
7913 struct sNASSetSystemSelectionPrefRequest_EmergencyMode
7914 {
7915 INT8 mEmergencyModeOn;
7916 };
7917
7918 // Structure to describe request TLV 0x11 for NASSetSystemSelectionPref()
7919 struct sNASSetSystemSelectionPrefRequest_Mode
7920 {
7921 bool mCDMA1x:1;
7922 bool mCDMA1xEVDO:1;
7923 bool mGSM:1;
7924 bool mUMTS:1;
7925 bool mLTE:1;
7926 bool mTDSCDMA:1;
7927
7928 // Padding out 10 bits
7929 UINT8 mReserved1:2;
7930 UINT8 mReserved2;
7931 };
7932
7933 // Structure to describe request TLV 0x12 for NASSetSystemSelectionPref()
7934 struct sNASSetSystemSelectionPrefRequest_Band
7935 {
7936 bool mBandClass0ASystem:1;
7937 bool mBandClass0BSystem:1;
7938 bool mBandClass1:1;
7939 bool mBandClass2:1;
7940 bool mBandClass3ASystem:1;
7941 bool mBandClass4:1;
7942 bool mBandClass5:1;
7943 bool mGSMDCS:1;
7944 bool mGSMPrimary:1;
7945 bool mGSMExtended:1;
7946 bool mBandClass6:1;
7947 bool mBandClass7:1;
7948 bool mBandClass8:1;
7949 bool mBandClass9:1;
7950 bool mBandClass10:1;
7951 bool mBandClass11:1;
7952 bool mGSM450:1;
7953 bool mGSM480:1;
7954 bool mGSM750:1;
7955 bool mGSM850:1;
7956 bool mGSMRailways:1;
7957 bool mGSMPCS:1;
7958 bool mWCDMA2100I:1;
7959 bool mWCDMAPCS1900:1;
7960 bool mWCDMADCS1800:1;
7961 bool mWCDMA1700US:1;
7962 bool mWCDMA850:1;
7963 bool mWCDMA800:1;
7964 bool mBandClass12:1;
7965 bool mBandClass14:1;
7966
7967 // Padding out 1 bits
7968 UINT8 mReserved1:1;
7969
7970 bool mBandClass15:1;
7971
7972 // Padding out 16 bits
7973 UINT8 mReserved2[2];
7974
7975 bool mWCDMA2600:1;
7976 bool mWCDMA900:1;
7977 bool mWCDMA1700Japan:1;
7978
7979 // Padding out 5 bits
7980 UINT8 mReserved3:5;
7981
7982 bool mBandClass16:1;
7983 bool mBandClass17:1;
7984 bool mBandClass18:1;
7985 bool mBandClass19:1;
7986
7987 // Padding out 4 bits
7988 UINT8 mReserved4:4;
7989 };
7990
7991 // Structure to describe request TLV 0x13 for NASSetSystemSelectionPref()
7992 struct sNASSetSystemSelectionPrefRequest_PRL
7993 {
7994 eQMINASPRLPreferences mPRLPreference;
7995 };
7996
7997 // Structure to describe request TLV 0x14 for NASSetSystemSelectionPref()
7998 struct sNASSetSystemSelectionPrefRequest_Roaming
7999 {
8000 eQMINASRoamingPreferences2 mRoamingPreference;
8001 };
8002
8003 // Structure to describe request TLV 0x15 for NASSetSystemSelectionPref()
8004 struct sNASSetSystemSelectionPrefRequest_LTEBand
8005 {
8006 bool mEUTRABand1:1;
8007 bool mEUTRABand2:1;
8008 bool mEUTRABand3:1;
8009 bool mEUTRABand4:1;
8010 bool mEUTRABand5:1;
8011 bool mEUTRABand6:1;
8012 bool mEUTRABand7:1;
8013 bool mEUTRABand8:1;
8014 bool mEUTRABand9:1;
8015 bool mEUTRABand10:1;
8016 bool mEUTRABand11:1;
8017 bool mEUTRABand12:1;
8018 bool mEUTRABand13:1;
8019 bool mEUTRABand14:1;
8020
8021 // Padding out 2 bits
8022 UINT8 mReserved1:2;
8023
8024 bool mEUTRABand17:1;
8025 bool mEUTRABand18:1;
8026 bool mEUTRABand19:1;
8027 bool mEUTRABand20:1;
8028 bool mEUTRABand21:1;
8029
8030 // Padding out 2 bits
8031 UINT8 mReserved2:2;
8032
8033 bool mEUTRABand24:1;
8034 bool mEUTRABand25:1;
8035
8036 // Padding out 7 bits
8037 UINT8 mReserved3:7;
8038
8039 bool mEUTRABand33:1;
8040 bool mEUTRABand34:1;
8041 bool mEUTRABand35:1;
8042 bool mEUTRABand36:1;
8043 bool mEUTRABand37:1;
8044 bool mEUTRABand38:1;
8045 bool mEUTRABand39:1;
8046 bool mEUTRABand40:1;
8047 bool mEUTRABand41:1;
8048 bool mEUTRABand42:1;
8049 bool mEUTRABand43:1;
8050
8051 // Padding out 21 bits
8052 UINT8 mReserved4:5;
8053 UINT8 mReserved5[2];
8054 };
8055
8056 // Structure to describe request TLV 0x16 for NASSetSystemSelectionPref()
8057 struct sNASSetSystemSelectionPrefRequest_NetworkSelection
8058 {
8059 eQMINASNetworkSelection mNetworkSelection;
8060 UINT16 mMobileCountryCode;
8061 UINT16 mMobileNetworkCode;
8062 };
8063
8064 // Structure to describe request TLV 0x17 for NASSetSystemSelectionPref()
8065 struct sNASSetSystemSelectionPrefRequest_ChangeDuration
8066 {
8067 eQMINASChangeDuration mChangeDuration;
8068 };
8069
8070 // Structure to describe request TLV 0x18 for NASSetSystemSelectionPref()
8071 struct sNASSetSystemSelectionPrefRequest_ServiceDomain
8072 {
8073 eQMINASServiceDomainPrefs mServiceDomainPreference;
8074 };
8075
8076 // Structure to describe request TLV 0x19 for NASSetSystemSelectionPref()
8077 struct sNASSetSystemSelectionPrefRequest_GWAcquisitionOrder
8078 {
8079 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8080 };
8081
8082 // Structure to describe request TLV 0x1A for NASSetSystemSelectionPref()
8083 struct sNASSetSystemSelectionPrefRequest_PCSInfo
8084 {
8085 INT8 mMNCIncludesPCSDigit;
8086 };
8087
8088 // Structure to describe request TLV 0x1B for NASSetSystemSelectionPref()
8089 struct sNASSetSystemSelectionPrefRequest_Domain
8090 {
8091 eQMINASServiceDomainPrefs mServiceDomainPreference;
8092 };
8093
8094 // Structure to describe request TLV 0x1C for NASSetSystemSelectionPref()
8095 struct sNASSetSystemSelectionPrefRequest_Acquisition
8096 {
8097 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8098 };
8099
8100 // Structure to describe request TLV 0x1D for NASSetSystemSelectionPref()
8101 struct sNASSetSystemSelectionPrefRequest_TDSCDMABand
8102 {
8103 bool mTDSCDMABandA:1;
8104 bool mTDSCDMABandB:1;
8105 bool mTDSCDMABandC:1;
8106 bool mTDSCDMABandD:1;
8107 bool mTDSCDMABandE:1;
8108 bool mTDSCDMABandF:1;
8109
8110 // Padding out 58 bits
8111 UINT8 mReserved1:2;
8112 UINT8 mReserved2[7];
8113 };
8114
8115 // Structure to describe request TLV 0x1E for NASSetSystemSelectionPref()
8116 struct sNASSetSystemSelectionPrefRequest_AcquisitionOrder
8117 {
8118 UINT8 mNumberOfRadioInterfaces;
8119
8120 // This array must be the size specified by mNumberOfRadioInterfaces
8121 // eQMINASRadioInterfaces mRadioInterface[1];
8122 };
8123
8124 // Structure to describe request TLV 0x1F for NASSetSystemSelectionPref()
8125 struct sNASSetSystemSelectionPrefRequest_RegistrationRestriction
8126 {
8127 eQMINASRegistrationRestrictions mRegistrationRestriction;
8128 };
8129
8130 // Structure to describe response TLV 0x10 for NASGetSystemSelectionPref()
8131 struct sNASGetSystemSelectionPrefResponse_EmergencyMode
8132 {
8133 INT8 mEmergencyModeOn;
8134 };
8135
8136 // Structure to describe response TLV 0x11 for NASGetSystemSelectionPref()
8137 struct sNASGetSystemSelectionPrefResponse_Mode
8138 {
8139 bool mCDMA1x:1;
8140 bool mCDMA1xEVDO:1;
8141 bool mGSM:1;
8142 bool mUMTS:1;
8143 bool mLTE:1;
8144 bool mTDSCDMA:1;
8145
8146 // Padding out 10 bits
8147 UINT8 mReserved1:2;
8148 UINT8 mReserved2;
8149 };
8150
8151 // Structure to describe response TLV 0x12 for NASGetSystemSelectionPref()
8152 struct sNASGetSystemSelectionPrefResponse_Band
8153 {
8154 bool mBandClass0ASystem:1;
8155 bool mBandClass0BSystem:1;
8156 bool mBandClass1:1;
8157 bool mBandClass2:1;
8158 bool mBandClass3ASystem:1;
8159 bool mBandClass4:1;
8160 bool mBandClass5:1;
8161 bool mGSMDCS:1;
8162 bool mGSMPrimary:1;
8163 bool mGSMExtended:1;
8164 bool mBandClass6:1;
8165 bool mBandClass7:1;
8166 bool mBandClass8:1;
8167 bool mBandClass9:1;
8168 bool mBandClass10:1;
8169 bool mBandClass11:1;
8170 bool mGSM450:1;
8171 bool mGSM480:1;
8172 bool mGSM750:1;
8173 bool mGSM850:1;
8174 bool mGSMRailways:1;
8175 bool mGSMPCS:1;
8176 bool mWCDMA2100I:1;
8177 bool mWCDMAPCS1900:1;
8178 bool mWCDMADCS1800:1;
8179 bool mWCDMA1700US:1;
8180 bool mWCDMA850:1;
8181 bool mWCDMA800:1;
8182 bool mBandClass12:1;
8183 bool mBandClass14:1;
8184
8185 // Padding out 1 bits
8186 UINT8 mReserved1:1;
8187
8188 bool mBandClass15:1;
8189
8190 // Padding out 16 bits
8191 UINT8 mReserved2[2];
8192
8193 bool mWCDMA2600:1;
8194 bool mWCDMA900:1;
8195 bool mWCDMA1700Japan:1;
8196
8197 // Padding out 5 bits
8198 UINT8 mReserved3:5;
8199
8200 bool mBandClass16:1;
8201 bool mBandClass17:1;
8202 bool mBandClass18:1;
8203 bool mBandClass19:1;
8204
8205 // Padding out 4 bits
8206 UINT8 mReserved4:4;
8207 };
8208
8209 // Structure to describe response TLV 0x13 for NASGetSystemSelectionPref()
8210 struct sNASGetSystemSelectionPrefResponse_PRL
8211 {
8212 eQMINASPRLPreferences mPRLPreference;
8213 };
8214
8215 // Structure to describe response TLV 0x14 for NASGetSystemSelectionPref()
8216 struct sNASGetSystemSelectionPrefResponse_Roaming
8217 {
8218 eQMINASRoamingPreferences2 mRoamingPreference;
8219 };
8220
8221 // Structure to describe response TLV 0x15 for NASGetSystemSelectionPref()
8222 struct sNASGetSystemSelectionPrefResponse_LTEBand
8223 {
8224 bool mEUTRABand1:1;
8225 bool mEUTRABand2:1;
8226 bool mEUTRABand3:1;
8227 bool mEUTRABand4:1;
8228 bool mEUTRABand5:1;
8229 bool mEUTRABand6:1;
8230 bool mEUTRABand7:1;
8231 bool mEUTRABand8:1;
8232 bool mEUTRABand9:1;
8233 bool mEUTRABand10:1;
8234 bool mEUTRABand11:1;
8235 bool mEUTRABand12:1;
8236 bool mEUTRABand13:1;
8237 bool mEUTRABand14:1;
8238
8239 // Padding out 2 bits
8240 UINT8 mReserved1:2;
8241
8242 bool mEUTRABand17:1;
8243 bool mEUTRABand18:1;
8244 bool mEUTRABand19:1;
8245 bool mEUTRABand20:1;
8246 bool mEUTRABand21:1;
8247
8248 // Padding out 2 bits
8249 UINT8 mReserved2:2;
8250
8251 bool mEUTRABand24:1;
8252 bool mEUTRABand25:1;
8253
8254 // Padding out 7 bits
8255 UINT8 mReserved3:7;
8256
8257 bool mEUTRABand33:1;
8258 bool mEUTRABand34:1;
8259 bool mEUTRABand35:1;
8260 bool mEUTRABand36:1;
8261 bool mEUTRABand37:1;
8262 bool mEUTRABand38:1;
8263 bool mEUTRABand39:1;
8264 bool mEUTRABand40:1;
8265 bool mEUTRABand41:1;
8266 bool mEUTRABand42:1;
8267 bool mEUTRABand43:1;
8268
8269 // Padding out 21 bits
8270 UINT8 mReserved4:5;
8271 UINT8 mReserved5[2];
8272 };
8273
8274 // Structure to describe response TLV 0x16 for NASGetSystemSelectionPref()
8275 struct sNASGetSystemSelectionPrefResponse_NetworkSelection
8276 {
8277 eQMINASNetworkSelection mNetworkSelection;
8278 };
8279
8280 // Structure to describe response TLV 0x18 for NASGetSystemSelectionPref()
8281 struct sNASGetSystemSelectionPrefResponse_Domain
8282 {
8283 eQMINASServiceDomainPrefs mServiceDomainPreference;
8284 };
8285
8286 // Structure to describe response TLV 0x19 for NASGetSystemSelectionPref()
8287 struct sNASGetSystemSelectionPrefResponse_Acquisition
8288 {
8289 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8290 };
8291
8292 // Structure to describe response TLV 0x1A for NASGetSystemSelectionPref()
8293 struct sNASGetSystemSelectionPrefResponse_TDSCDMABand
8294 {
8295 bool mTDSCDMABandA:1;
8296 bool mTDSCDMABandB:1;
8297 bool mTDSCDMABandC:1;
8298 bool mTDSCDMABandD:1;
8299 bool mTDSCDMABandE:1;
8300 bool mTDSCDMABandF:1;
8301
8302 // Padding out 58 bits
8303 UINT8 mReserved1:2;
8304 UINT8 mReserved2[7];
8305 };
8306
8307 // Structure to describe response TLV 0x1B for NASGetSystemSelectionPref()
8308 struct sNASGetSystemSelectionPrefResponse_ManualPLMN
8309 {
8310 UINT16 mMobileCountryCode;
8311 UINT16 mMobileNetworkCode;
8312 INT8 mMNCIncludesPCSDigit;
8313 };
8314
8315 // Structure to describe response TLV 0x1C for NASGetSystemSelectionPref()
8316 struct sNASGetSystemSelectionPrefResponse_AcquisitionOrder
8317 {
8318 UINT8 mNumberOfRadioInterfaces;
8319
8320 // This array must be the size specified by mNumberOfRadioInterfaces
8321 // eQMINASRadioInterfaces mRadioInterface[1];
8322 };
8323
8324 // Structure to describe response TLV 0x1D for NASGetSystemSelectionPref()
8325 struct sNASGetSystemSelectionPrefResponse_RegistrationRestriction
8326 {
8327 eQMINASRegistrationRestrictions mRegistrationRestriction;
8328 };
8329
8330 // Structure to describe indication TLV 0x10 for NAS SystemSelectionPrefIndication
8331 struct sNASSystemSelectionPrefIndication_EmergencyMode
8332 {
8333 INT8 mEmergencyModeOn;
8334 };
8335
8336 // Structure to describe indication TLV 0x11 for NAS SystemSelectionPrefIndication
8337 struct sNASSystemSelectionPrefIndication_Mode
8338 {
8339 bool mCDMA1x:1;
8340 bool mCDMA1xEVDO:1;
8341 bool mGSM:1;
8342 bool mUMTS:1;
8343 bool mLTE:1;
8344 bool mTDSCDMA:1;
8345
8346 // Padding out 10 bits
8347 UINT8 mReserved1:2;
8348 UINT8 mReserved2;
8349 };
8350
8351 // Structure to describe indication TLV 0x12 for NAS SystemSelectionPrefIndication
8352 struct sNASSystemSelectionPrefIndication_Band
8353 {
8354 bool mBandClass0ASystem:1;
8355 bool mBandClass0BSystem:1;
8356 bool mBandClass1:1;
8357 bool mBandClass2:1;
8358 bool mBandClass3ASystem:1;
8359 bool mBandClass4:1;
8360 bool mBandClass5:1;
8361 bool mGSMDCS:1;
8362 bool mGSMPrimary:1;
8363 bool mGSMExtended:1;
8364 bool mBandClass6:1;
8365 bool mBandClass7:1;
8366 bool mBandClass8:1;
8367 bool mBandClass9:1;
8368 bool mBandClass10:1;
8369 bool mBandClass11:1;
8370 bool mGSM450:1;
8371 bool mGSM480:1;
8372 bool mGSM750:1;
8373 bool mGSM850:1;
8374 bool mGSMRailways:1;
8375 bool mGSMPCS:1;
8376 bool mWCDMA2100I:1;
8377 bool mWCDMAPCS1900:1;
8378 bool mWCDMADCS1800:1;
8379 bool mWCDMA1700US:1;
8380 bool mWCDMA850:1;
8381 bool mWCDMA800:1;
8382 bool mBandClass12:1;
8383 bool mBandClass14:1;
8384
8385 // Padding out 1 bits
8386 UINT8 mReserved1:1;
8387
8388 bool mBandClass15:1;
8389
8390 // Padding out 16 bits
8391 UINT8 mReserved2[2];
8392
8393 bool mWCDMA2600:1;
8394 bool mWCDMA900:1;
8395 bool mWCDMA1700Japan:1;
8396
8397 // Padding out 5 bits
8398 UINT8 mReserved3:5;
8399
8400 bool mBandClass16:1;
8401 bool mBandClass17:1;
8402 bool mBandClass18:1;
8403 bool mBandClass19:1;
8404
8405 // Padding out 4 bits
8406 UINT8 mReserved4:4;
8407 };
8408
8409 // Structure to describe indication TLV 0x13 for NAS SystemSelectionPrefIndication
8410 struct sNASSystemSelectionPrefIndication_PRL
8411 {
8412 eQMINASPRLPreferences mPRLPreference;
8413 };
8414
8415 // Structure to describe indication TLV 0x14 for NAS SystemSelectionPrefIndication
8416 struct sNASSystemSelectionPrefIndication_Roaming
8417 {
8418 eQMINASRoamingPreferences2 mRoamingPreference;
8419 };
8420
8421 // Structure to describe indication TLV 0x15 for NAS SystemSelectionPrefIndication
8422 struct sNASSystemSelectionPrefIndication_LTEBand
8423 {
8424 bool mEUTRABand1:1;
8425 bool mEUTRABand2:1;
8426 bool mEUTRABand3:1;
8427 bool mEUTRABand4:1;
8428 bool mEUTRABand5:1;
8429 bool mEUTRABand6:1;
8430 bool mEUTRABand7:1;
8431 bool mEUTRABand8:1;
8432 bool mEUTRABand9:1;
8433 bool mEUTRABand10:1;
8434 bool mEUTRABand11:1;
8435 bool mEUTRABand12:1;
8436 bool mEUTRABand13:1;
8437 bool mEUTRABand14:1;
8438
8439 // Padding out 2 bits
8440 UINT8 mReserved1:2;
8441
8442 bool mEUTRABand17:1;
8443 bool mEUTRABand18:1;
8444 bool mEUTRABand19:1;
8445 bool mEUTRABand20:1;
8446 bool mEUTRABand21:1;
8447
8448 // Padding out 2 bits
8449 UINT8 mReserved2:2;
8450
8451 bool mEUTRABand24:1;
8452 bool mEUTRABand25:1;
8453
8454 // Padding out 7 bits
8455 UINT8 mReserved3:7;
8456
8457 bool mEUTRABand33:1;
8458 bool mEUTRABand34:1;
8459 bool mEUTRABand35:1;
8460 bool mEUTRABand36:1;
8461 bool mEUTRABand37:1;
8462 bool mEUTRABand38:1;
8463 bool mEUTRABand39:1;
8464 bool mEUTRABand40:1;
8465 bool mEUTRABand41:1;
8466 bool mEUTRABand42:1;
8467 bool mEUTRABand43:1;
8468
8469 // Padding out 21 bits
8470 UINT8 mReserved4:5;
8471 UINT8 mReserved5[2];
8472 };
8473
8474 // Structure to describe indication TLV 0x16 for NAS SystemSelectionPrefIndication
8475 struct sNASSystemSelectionPrefIndication_NetworkSelection
8476 {
8477 eQMINASNetworkSelection mNetworkSelection;
8478 };
8479
8480 // Structure to describe indication TLV 0x18 for NAS SystemSelectionPrefIndication
8481 struct sNASSystemSelectionPrefIndication_Domain
8482 {
8483 eQMINASServiceDomainPrefs mServiceDomainPreference;
8484 };
8485
8486 // Structure to describe indication TLV 0x19 for NAS SystemSelectionPrefIndication
8487 struct sNASSystemSelectionPrefIndication_Acquisition
8488 {
8489 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8490 };
8491
8492 // Structure to describe indication TLV 0x1A for NAS SystemSelectionPrefIndication
8493 struct sNASSystemSelectionPrefIndication_TDSCDMABand
8494 {
8495 bool mTDSCDMABandA:1;
8496 bool mTDSCDMABandB:1;
8497 bool mTDSCDMABandC:1;
8498 bool mTDSCDMABandD:1;
8499 bool mTDSCDMABandE:1;
8500 bool mTDSCDMABandF:1;
8501
8502 // Padding out 58 bits
8503 UINT8 mReserved1:2;
8504 UINT8 mReserved2[7];
8505 };
8506
8507 // Structure to describe indication TLV 0x1B for NAS SystemSelectionPrefIndication
8508 struct sNASSystemSelectionPrefIndication_ManualPLMN
8509 {
8510 UINT16 mMobileCountryCode;
8511 UINT16 mMobileNetworkCode;
8512 INT8 mMNCIncludesPCSDigit;
8513 };
8514
8515 // Structure to describe indication TLV 0x1C for NAS SystemSelectionPrefIndication
8516 struct sNASSystemSelectionPrefIndication_AcquisitionOrder
8517 {
8518 UINT8 mNumberOfRadioInterfaces;
8519
8520 // This array must be the size specified by mNumberOfRadioInterfaces
8521 // eQMINASRadioInterfaces mRadioInterface[1];
8522 };
8523
8524 // Structure to describe indication TLV 0x1D for NAS SystemSelectionPrefIndication
8525 struct sNASSystemSelectionPrefIndication_RegistrationRestriction
8526 {
8527 eQMINASRegistrationRestrictions mRegistrationRestriction;
8528 };
8529
8530 // Structure to describe request TLV 0x01 for NASSetDDTMPreference()
8531 struct sNASSetDDTMPreferenceRequest_DDTM
8532 {
8533 eQMINASDDTMPreferences mDDTMPreference;
8534 bool mSuppressL2ACK:1;
8535 bool mSuppress1xRegistrations:1;
8536 bool mIgnoreServiceOptionPages:1;
8537 bool mBlockMobileOriginatedSMSAndDBM:1;
8538
8539 // Padding out 12 bits
8540 UINT8 mReserved1:4;
8541 UINT8 mReserved2;
8542
8543 eQMINASServiceOptionActions mServiceOptionAction;
8544 UINT8 mNumberOfInstances;
8545
8546 // This array must be the size specified by mNumberOfInstances
8547 // UINT16 mServiceOption[1];
8548 };
8549
8550 // Structure to describe response TLV 0x01 for NASGetDDTMPreference()
8551 struct sNASGetDDTMPreferenceResponse_DDTM
8552 {
8553 eQMINASDDTMPreferences mDDTMPreference;
8554 bool mSuppressL2ACK:1;
8555 bool mSuppress1xRegistrations:1;
8556 bool mIgnoreServiceOptionPages:1;
8557 bool mBlockMobileOriginatedSMSAndDBM:1;
8558
8559 // Padding out 12 bits
8560 UINT8 mReserved1:4;
8561 UINT8 mReserved2;
8562
8563 eQMINASServiceOptionActions mServiceOptionAction;
8564 UINT8 mNumberOfInstances;
8565
8566 // This array must be the size specified by mNumberOfInstances
8567 // UINT16 mServiceOption[1];
8568 };
8569
8570 // Structure to describe indication TLV 0x01 for NAS DDTMPreferenceIndication
8571 struct sNASDDTMPreferenceIndication_DDTM
8572 {
8573 eQMINASDDTMPreferences mDDTMPreference;
8574 bool mSuppressL2ACK:1;
8575 bool mSuppress1xRegistrations:1;
8576 bool mIgnoreServiceOptionPages:1;
8577 bool mBlockMobileOriginatedSMSAndDBM:1;
8578
8579 // Padding out 12 bits
8580 UINT8 mReserved1:4;
8581 UINT8 mReserved2;
8582
8583 eQMINASServiceOptionActions mServiceOptionAction;
8584 UINT8 mNumberOfInstances;
8585
8586 // This array must be the size specified by mNumberOfInstances
8587 // UINT16 mServiceOption[1];
8588 };
8589
8590 // Structure to describe response TLV 0x10 for NASGetOperatorNameData()
8591 struct sNASGetOperatorNameDataResponse_ServiceProviderName
8592 {
8593 UINT8 mDisplayCondition;
8594 UINT8 mSPNLength;
8595
8596 // This array must be the size specified by mSPNLength
8597 // UINT8 mSPN[1];
8598 };
8599
8600 // Structure to describe response TLV 0x11 for NASGetOperatorNameData()
8601 struct sNASGetOperatorNameDataResponse_OperatorPLMNList
8602 {
8603 UINT16 mPLMNListLength;
8604
8605 struct sPLNM
8606 {
8607 char mMobileCountryCode[3];
8608 char mMobileNetworkCode[3];
8609 UINT16 mLocationAreaCode1;
8610 UINT16 mLocationAreaCode2;
8611 UINT8 mPLMNNameRecordIdentifier;
8612 };
8613
8614 // This array must be the size specified by mPLMNListLength
8615 // sPLNM mPLNMs[1];
8616 };
8617
8618 // Structure to describe response TLV 0x12 for NASGetOperatorNameData()
8619 struct sNASGetOperatorNameDataResponse_PLMNName
8620 {
8621 UINT8 mPLMNCount;
8622
8623 struct sPLMNName1
8624 {
8625 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8626 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8627 eQMINASPLMNNameSpareBits mPLMNLongBits;
8628 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8629 UINT8 mPLMNLongLength;
8630
8631 // This array must be the size specified by mPLMNLongLength
8632 // UINT8 mPLMNLong[1];
8633 };
8634
8635 struct sPLMNName2
8636 {
8637 UINT8 mPLMNShortLength;
8638
8639 // This array must be the size specified by mPLMNShortLength
8640 // UINT8 mPLMNShort[1];
8641 };
8642
8643 struct sPLMNName
8644 {
8645 sPLMNName1 mPLMNName1;
8646 sPLMNName2 mPLMNName2;
8647 };
8648
8649 // This array must be the size specified by mPLMNCount
8650 // sPLMNName mPLMNNames[1];
8651 };
8652
8653 // Structure to describe response TLV 0x13 for NASGetOperatorNameData()
8654 struct sNASGetOperatorNameDataResponse_OperatorStringName
8655 {
8656 // String is variable length, but must be size of the container
8657 // char mPLMNOperatorName[1];
8658 };
8659
8660 // Structure to describe response TLV 0x14 for NASGetOperatorNameData()
8661 struct sNASGetOperatorNameDataResponse_NITZInformation1
8662 {
8663 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8664 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8665 eQMINASPLMNNameSpareBits mPLMNLongBits;
8666 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8667 UINT8 mPLMNLongLength;
8668
8669 // This array must be the size specified by mPLMNLongLength
8670 // UINT8 mPLMNLong[1];
8671 };
8672
8673 struct sNASGetOperatorNameDataResponse_NITZInformation2
8674 {
8675 UINT8 mPLMNShortLength;
8676
8677 // This array must be the size specified by mPLMNShortLength
8678 // UINT8 mPLMNShort[1];
8679 };
8680
8681 struct sNASGetOperatorNameDataResponse_NITZInformation
8682 {
8683 sNASGetOperatorNameDataResponse_NITZInformation1 mNASGetOperatorNameDataResponse_NITZInformation1;
8684 sNASGetOperatorNameDataResponse_NITZInformation2 mNASGetOperatorNameDataResponse_NITZInformation2;
8685 };
8686
8687 // Structure to describe indication TLV 0x10 for NAS OperatorNameDataIndication
8688 struct sNASOperatorNameDataIndication_ServiceProviderName
8689 {
8690 UINT8 mDisplayCondition;
8691 UINT8 mSPNLength;
8692
8693 // This array must be the size specified by mSPNLength
8694 // UINT8 mSPN[1];
8695 };
8696
8697 // Structure to describe indication TLV 0x11 for NAS OperatorNameDataIndication
8698 struct sNASOperatorNameDataIndication_OperatorPLMNList
8699 {
8700 UINT16 mPLMNListLength;
8701
8702 struct sPLNM
8703 {
8704 char mMobileCountryCode[3];
8705 char mMobileNetworkCode[3];
8706 UINT16 mLocationAreaCode1;
8707 UINT16 mLocationAreaCode2;
8708 UINT8 mPLMNNameRecordIdentifier;
8709 };
8710
8711 // This array must be the size specified by mPLMNListLength
8712 // sPLNM mPLNMs[1];
8713 };
8714
8715 // Structure to describe indication TLV 0x12 for NAS OperatorNameDataIndication
8716 struct sNASOperatorNameDataIndication_PLMNName
8717 {
8718 UINT8 mPLMNCount;
8719
8720 struct sPLMNName1
8721 {
8722 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8723 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8724 eQMINASPLMNNameSpareBits mPLMNLongBits;
8725 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8726 UINT8 mPLMNLongLength;
8727
8728 // This array must be the size specified by mPLMNLongLength
8729 // UINT8 mPLMNLong[1];
8730 };
8731
8732 struct sPLMNName2
8733 {
8734 UINT8 mPLMNShortLength;
8735
8736 // This array must be the size specified by mPLMNShortLength
8737 // UINT8 mPLMNShort[1];
8738 };
8739
8740 struct sPLMNName
8741 {
8742 sPLMNName1 mPLMNName1;
8743 sPLMNName2 mPLMNName2;
8744 };
8745
8746 // This array must be the size specified by mPLMNCount
8747 // sPLMNName mPLMNNames[1];
8748 };
8749
8750 // Structure to describe indication TLV 0x13 for NAS OperatorNameDataIndication
8751 struct sNASOperatorNameDataIndication_OperatorStringName
8752 {
8753 // String is variable length, but must be size of the container
8754 // char mPLMNOperatorName[1];
8755 };
8756
8757 // Structure to describe indication TLV 0x14 for NAS OperatorNameDataIndication
8758 struct sNASOperatorNameDataIndication_NITZInformation1
8759 {
8760 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8761 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8762 eQMINASPLMNNameSpareBits mPLMNLongBits;
8763 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8764 UINT8 mPLMNLongLength;
8765
8766 // This array must be the size specified by mPLMNLongLength
8767 // UINT8 mPLMNLong[1];
8768 };
8769
8770 struct sNASOperatorNameDataIndication_NITZInformation2
8771 {
8772 UINT8 mPLMNShortLength;
8773
8774 // This array must be the size specified by mPLMNShortLength
8775 // UINT8 mPLMNShort[1];
8776 };
8777
8778 struct sNASOperatorNameDataIndication_NITZInformation
8779 {
8780 sNASOperatorNameDataIndication_NITZInformation1 mNASOperatorNameDataIndication_NITZInformation1;
8781 sNASOperatorNameDataIndication_NITZInformation2 mNASOperatorNameDataIndication_NITZInformation2;
8782 };
8783
8784 // Structure to describe response TLV 0x10 for NASGetCSPPLMNMode()
8785 struct sNASGetCSPPLMNModeResponse_Mode
8786 {
8787 INT8 mRestrictManualPLMNSelection;
8788 };
8789
8790 // Structure to describe indication TLV 0x10 for NAS CSPPLMNModeIndication
8791 struct sNASCSPPLMNModeIndication_Mode
8792 {
8793 INT8 mRestrictManualPLMNSelection;
8794 };
8795
8796 // Structure to describe request TLV 0x01 for NASUpdateAKEY()
8797 struct sNASUpdateAKEYRequest_AKEY
8798 {
8799 char mAKEY[26];
8800 };
8801
8802 // Structure to describe request TLV 0x01 for NASGet3GPP2SubscriptionInfo()
8803 struct sNASGet3GPP2SubscriptionInfoRequest_NAMID
8804 {
8805 UINT8 mNAMID;
8806 };
8807
8808 // Structure to describe request TLV 0x10 for NASGet3GPP2SubscriptionInfo()
8809 struct sNASGet3GPP2SubscriptionInfoRequest_InfoMask
8810 {
8811 bool mNAMName:1;
8812 bool mDirectoryNumber:1;
8813 bool mHomeID:1;
8814 bool mMINBasedIMSI:1;
8815 bool mTrueIMSI:1;
8816 bool mCDMAChannel:1;
8817 bool mMobileDirectoryNumber:1;
8818
8819 // Padding out 25 bits
8820 UINT8 mReserved1:1;
8821 UINT8 mReserved2[3];
8822 };
8823
8824 // Structure to describe response TLV 0x10 for NASGet3GPP2SubscriptionInfo()
8825 struct sNASGet3GPP2SubscriptionInfoResponse_NAMName
8826 {
8827 UINT8 mNAMNameLength;
8828
8829 // This array must be the size specified by mNAMNameLength
8830 // char mNAMName[1];
8831 };
8832
8833 // Structure to describe response TLV 0x11 for NASGet3GPP2SubscriptionInfo()
8834 struct sNASGet3GPP2SubscriptionInfoResponse_DirectoryNumber
8835 {
8836 UINT8 mDirectoryNumberLength;
8837
8838 // This array must be the size specified by mDirectoryNumberLength
8839 // char mDirectoryNumber[1];
8840 };
8841
8842 // Structure to describe response TLV 0x12 for NASGet3GPP2SubscriptionInfo()
8843 struct sNASGet3GPP2SubscriptionInfoResponse_HomeID
8844 {
8845 UINT8 mHomeIDCount;
8846
8847 struct sHomeID
8848 {
8849 UINT16 mSystemID;
8850 UINT16 mNetworkID;
8851 };
8852
8853 // This array must be the size specified by mHomeIDCount
8854 // sHomeID mHomeIDs[1];
8855 };
8856
8857 // Structure to describe response TLV 0x13 for NASGet3GPP2SubscriptionInfo()
8858 struct sNASGet3GPP2SubscriptionInfoResponse_MINBasedIMSI
8859 {
8860 char mMobileCountryCode[3];
8861 char mIMSI11_12[2];
8862 char mIMSIS1[7];
8863 char mIMSIS2[3];
8864 UINT8 mIMSIAddressNumber;
8865 };
8866
8867 // Structure to describe response TLV 0x14 for NASGet3GPP2SubscriptionInfo()
8868 struct sNASGet3GPP2SubscriptionInfoResponse_TrueIMSI
8869 {
8870 char mMobileCountryCode[3];
8871 char mIMSI11_12[2];
8872 char mIMSIS1[7];
8873 char mIMSIS2[3];
8874 UINT8 mIMSIAddressNumber;
8875 };
8876
8877 // Structure to describe response TLV 0x15 for NASGet3GPP2SubscriptionInfo()
8878 struct sNASGet3GPP2SubscriptionInfoResponse_CDMAChannel
8879 {
8880 UINT16 mAChannelForPrimaryCarrier;
8881 UINT16 mBChannelForPrimaryCarrier;
8882 UINT16 mAChannelForSecondaryCarrier;
8883 UINT16 mBChannelForSecondaryCarrier;
8884 };
8885
8886 // Structure to describe response TLV 0x16 for NASGet3GPP2SubscriptionInfo()
8887 struct sNASGet3GPP2SubscriptionInfoResponse_MDN
8888 {
8889 UINT8 mMobileDirectoryNumberLength;
8890
8891 // This array must be the size specified by mMobileDirectoryNumberLength
8892 // char mMobileDirectoryNumber[1];
8893 };
8894
8895 // Structure to describe request TLV 0x01 for NASSet3GPP2SubscriptionInfo()
8896 struct sNASSet3GPP2SubscriptionInfoRequest_NAMID
8897 {
8898 UINT8 mNAMID;
8899 };
8900
8901 // Structure to describe request TLV 0x10 for NASSet3GPP2SubscriptionInfo()
8902 struct sNASSet3GPP2SubscriptionInfoRequest_DirectoryNumber
8903 {
8904 UINT8 mDirectoryNumberLength;
8905
8906 // This array must be the size specified by mDirectoryNumberLength
8907 // char mDirectoryNumber[1];
8908 };
8909
8910 // Structure to describe request TLV 0x11 for NASSet3GPP2SubscriptionInfo()
8911 struct sNASSet3GPP2SubscriptionInfoRequest_HomeID
8912 {
8913 UINT8 mHomeIDCount;
8914
8915 struct sHomeID
8916 {
8917 UINT16 mSystemID;
8918 UINT16 mNetworkID;
8919 };
8920
8921 // This array must be the size specified by mHomeIDCount
8922 // sHomeID mHomeIDs[1];
8923 };
8924
8925 // Structure to describe request TLV 0x12 for NASSet3GPP2SubscriptionInfo()
8926 struct sNASSet3GPP2SubscriptionInfoRequest_MINBasedIMSI
8927 {
8928 char mMobileCountryCode[3];
8929 char mIMSI11_12[2];
8930 char mIMSIS1[7];
8931 char mIMSIS2[3];
8932 UINT8 mIMSIAddressNumber;
8933 };
8934
8935 // Structure to describe request TLV 0x13 for NASSet3GPP2SubscriptionInfo()
8936 struct sNASSet3GPP2SubscriptionInfoRequest_TrueIMSI
8937 {
8938 char mMobileCountryCode[3];
8939 char mIMSI11_12[2];
8940 char mIMSIS1[7];
8941 char mIMSIS2[3];
8942 UINT8 mIMSIAddressNumber;
8943 };
8944
8945 // Structure to describe request TLV 0x14 for NASSet3GPP2SubscriptionInfo()
8946 struct sNASSet3GPP2SubscriptionInfoRequest_CDMAChannel
8947 {
8948 UINT16 mAChannelForPrimaryCarrier;
8949 UINT16 mBChannelForPrimaryCarrier;
8950 UINT16 mAChannelForSecondaryCarrier;
8951 UINT16 mBChannelForSecondaryCarrier;
8952 };
8953
8954 // Structure to describe request TLV 0x15 for NASSet3GPP2SubscriptionInfo()
8955 struct sNASSet3GPP2SubscriptionInfoRequest_NAMName
8956 {
8957 UINT8 mNAMNameLength;
8958
8959 // This array must be the size specified by mNAMNameLength
8960 // char mNAMName[1];
8961 };
8962
8963 // Structure to describe request TLV 0x16 for NASSet3GPP2SubscriptionInfo()
8964 struct sNASSet3GPP2SubscriptionInfoRequest_MDN
8965 {
8966 UINT8 mMobileDirectoryNumberLength;
8967
8968 // This array must be the size specified by mMobileDirectoryNumberLength
8969 // char mMobileDirectoryNumber[1];
8970 };
8971
8972 // Structure to describe response TLV 0x10 for NASGetMobileCAIRevision()
8973 struct sNASGetMobileCAIRevisionResponse_CAIRevision
8974 {
8975 eQMINASRevision mCAIRevision;
8976 };
8977
8978 // Structure to describe response TLV 0x10 for NASGetRTREConfig()
8979 struct sNASGetRTREConfigResponse_CurrentRTREConfig
8980 {
8981 eQMINASRTREConfiguration mRTREConfiguration;
8982 };
8983
8984 // Structure to describe response TLV 0x11 for NASGetRTREConfig()
8985 struct sNASGetRTREConfigResponse_RTREConfigPreference
8986 {
8987 eQMINASRTREConfiguration mRTREConfiguration;
8988 };
8989
8990 // Structure to describe request TLV 0x01 for NASSetRTREConfig()
8991 struct sNASSetRTREConfigRequest_RTREConfig
8992 {
8993 eQMINASRTREConfiguration mRTREConfiguration;
8994 };
8995
8996 // Structure to describe response TLV 0x10 for NASGetCellLocationInfo()
8997 struct sNASGetCellLocationInfoResponse_GERANInfo
8998 {
8999 UINT32 mCellID;
9000
9001 // Bitfield arrays are not possible in c, unrolling the array
9002 UINT8 mMobileCountryCode0:4;
9003 UINT8 mMobileCountryCode1:4;
9004 UINT8 mMobileCountryCode2:4;
9005
9006 // Bitfield arrays are not possible in c, unrolling the array
9007 UINT8 mMobileNetworkCode0:4;
9008 UINT8 mMobileNetworkCode1:4;
9009 UINT8 mMobileNetworkCode2:4;
9010
9011 UINT16 mLocationAreaCode;
9012 UINT16 mUTRAAbsoluteRFChannelNumber;
9013 UINT8 mBCC:3;
9014 UINT8 mNCC:3;
9015
9016 // Padding out 2 bits
9017 UINT8 mReserved1:2;
9018
9019 UINT32 mTimingAdvance;
9020 eQMINASRXLevel mRXLevel;
9021 UINT8 mNMRCellCount;
9022
9023 struct sNMRCell
9024 {
9025 UINT32 mCellID;
9026
9027 // Bitfield arrays are not possible in c, unrolling the array
9028 UINT8 mPLMNMobileCountryCode0:4;
9029 UINT8 mPLMNMobileCountryCode1:4;
9030 UINT8 mPLMNMobileCountryCode2:4;
9031
9032 // Bitfield arrays are not possible in c, unrolling the array
9033 UINT8 mPLMNMobileNetworkCode0:4;
9034 UINT8 mPLMNMobileNetworkCode1:4;
9035 UINT8 mPLMNMobileNetworkCode2:4;
9036
9037 UINT16 mLocationAreaCode;
9038 UINT16 mUTRAAbsoluteRFChannelNumber;
9039 UINT8 mBaseStationIdentityCodeBCC:3;
9040 UINT8 mBaseStationIdentityCodeNCC:3;
9041
9042 // Padding out 2 bits
9043 UINT8 mReserved2:2;
9044
9045 eQMINASRXLevel mRXLevel;
9046 };
9047
9048 // This array must be the size specified by mNMRCellCount
9049 // sNMRCell mNMRCells[1];
9050 };
9051
9052 // Structure to describe response TLV 0x11 for NASGetCellLocationInfo()
9053 struct sNASGetCellLocationInfoResponse_UMTSInfo1
9054 {
9055 UINT32 mCellID;
9056
9057 // Bitfield arrays are not possible in c, unrolling the array
9058 UINT8 mMobileCountryCode0:4;
9059 UINT8 mMobileCountryCode1:4;
9060 UINT8 mMobileCountryCode2:4;
9061
9062 // Bitfield arrays are not possible in c, unrolling the array
9063 UINT8 mMobileNetworkCode0:4;
9064 UINT8 mMobileNetworkCode1:4;
9065 UINT8 mMobileNetworkCode2:4;
9066
9067 UINT16 mLocationAreaCode;
9068 UINT16 mUTRAAbsoluteRFChannelNumber;
9069 UINT16 mPrimaryScramblingCode;
9070 INT16 mReceivedSignalCodePower;
9071 UINT16 mECIO;
9072 UINT8 mUTRAUMTSMonitoredCellCount;
9073
9074 struct sUMTSMonitoredCell
9075 {
9076 UINT16 mUTRAAbsoluteRFChannelNumber;
9077 UINT16 mPrimaryScramblingCode;
9078 INT16 mReceivedSignalCodePower;
9079 UINT16 mECIO;
9080 };
9081
9082 // This array must be the size specified by mUTRAUMTSMonitoredCellCount
9083 // sUMTSMonitoredCell mUMTSMonitoredCells[1];
9084 };
9085
9086 struct sNASGetCellLocationInfoResponse_UMTSInfo2
9087 {
9088 UINT8 mGERANNBRCellCount;
9089
9090 struct sGERANNBRCell
9091 {
9092 UINT16 mAbsoluteRFChannelNumber;
9093 UINT8 mNetworkColorCode;
9094 UINT8 mBaseStationColorCode;
9095 INT16 mRSSI;
9096 };
9097
9098 // This array must be the size specified by mGERANNBRCellCount
9099 // sGERANNBRCell mGERANNBRCells[1];
9100 };
9101
9102 struct sNASGetCellLocationInfoResponse_UMTSInfo
9103 {
9104 sNASGetCellLocationInfoResponse_UMTSInfo1 mNASGetCellLocationInfoResponse_UMTSInfo1;
9105 sNASGetCellLocationInfoResponse_UMTSInfo2 mNASGetCellLocationInfoResponse_UMTSInfo2;
9106 };
9107
9108 // Structure to describe response TLV 0x12 for NASGetCellLocationInfo()
9109 struct sNASGetCellLocationInfoResponse_CDMAInfo
9110 {
9111 UINT16 mSystemID;
9112 UINT16 mNetworkID;
9113 UINT16 mBaseStationID;
9114 UINT16 mReferencePN;
9115 INT32 mLatitude;
9116 INT32 mLongitude;
9117 };
9118
9119 // Structure to describe response TLV 0x13 for NASGetCellLocationInfo()
9120 struct sNASGetCellLocationInfoResponse_IntrafrequencyLTEInfo
9121 {
9122 INT8 mUEInIdleMode;
9123
9124 // Bitfield arrays are not possible in c, unrolling the array
9125 UINT8 mMobileCountryCode0:4;
9126 UINT8 mMobileCountryCode1:4;
9127 UINT8 mMobileCountryCode2:4;
9128
9129 // Bitfield arrays are not possible in c, unrolling the array
9130 UINT8 mMobileNetworkCode0:4;
9131 UINT8 mMobileNetworkCode1:4;
9132 UINT8 mMobileNetworkCode2:4;
9133
9134 UINT16 mTrackingAreaCode;
9135 UINT32 mGlobalCellID;
9136 UINT16 mEUTRAAbsoluteRFChannelNumber;
9137 UINT16 mServingCellID;
9138 UINT8 mCellReselectionPriority;
9139 UINT8 mSNonIntraSearchThreshold;
9140 UINT8 mServingCellLowThreshold;
9141 UINT8 mSIntraSearchThreshold;
9142 UINT8 mCellCount;
9143
9144 struct sCell
9145 {
9146 UINT16 mPhysicalCellID;
9147 INT16 mRSRQ;
9148 INT16 mRSRP;
9149 INT16 mRSSI;
9150 INT16 mCellSelectionRXLevel;
9151 };
9152
9153 // This array must be the size specified by mCellCount
9154 // sCell mCells[1];
9155 };
9156
9157 // Structure to describe response TLV 0x14 for NASGetCellLocationInfo()
9158 struct sNASGetCellLocationInfoResponse_InterfrequencyLTEInfo
9159 {
9160 INT8 mUEInIdleMode;
9161 UINT8 mFrequencyCount;
9162
9163 struct sFrequency
9164 {
9165 UINT16 mEUTRAAbsoluteRFChannelNumber;
9166 UINT8 mCellSelectionRXLevelLowThreshold;
9167 UINT8 mCellSelectionRXLevelHighThreshold;
9168 UINT8 mCellReselectionPriority;
9169 UINT8 mCellCount;
9170
9171 struct sCell
9172 {
9173 UINT16 mPhysicalCellID;
9174 INT16 mRSRQ;
9175 INT16 mRSRP;
9176 INT16 mRSSI;
9177 INT16 mCellSelectionRXLevel;
9178 };
9179
9180 // This array must be the size specified by mCellCount
9181 // sCell mCells[1];
9182 };
9183
9184 // This array must be the size specified by mFrequencyCount
9185 // sFrequency mFrequencys[1];
9186 };
9187
9188 // Structure to describe response TLV 0x15 for NASGetCellLocationInfo()
9189 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringGSM
9190 {
9191 INT8 mUEInIdleMode;
9192 UINT8 mFrequencyCount;
9193
9194 struct sFrequency
9195 {
9196 UINT8 mCellReselectionPriority;
9197 UINT8 mCellReselectionHighThreshold;
9198 UINT8 mCellReselectionLowThreshold;
9199
9200 // Bitfield arrays are not possible in c, unrolling the array
9201 bool mNCCPermitted0:1;
9202 bool mNCCPermitted1:1;
9203 bool mNCCPermitted2:1;
9204 bool mNCCPermitted3:1;
9205 bool mNCCPermitted4:1;
9206 bool mNCCPermitted5:1;
9207 bool mNCCPermitted6:1;
9208 bool mNCCPermitted7:1;
9209
9210 UINT8 mCellCount;
9211
9212 struct sCell
9213 {
9214 UINT16 mAbsoluteRFChannelNumber;
9215 INT8 mBandIs1900;
9216 INT8 mCellIDValid;
9217 UINT8 mBCC:3;
9218 UINT8 mNCC:3;
9219
9220 // Padding out 2 bits
9221 UINT8 mReserved1:2;
9222
9223 INT16 mRSSI;
9224 INT16 mCellSelectionRXLevel;
9225 };
9226
9227 // This array must be the size specified by mCellCount
9228 // sCell mCells[1];
9229 };
9230
9231 // This array must be the size specified by mFrequencyCount
9232 // sFrequency mFrequencys[1];
9233 };
9234
9235 // Structure to describe response TLV 0x16 for NASGetCellLocationInfo()
9236 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringWCDMA
9237 {
9238 INT8 mUEInIdleMode;
9239 UINT8 mFrequencyCount;
9240
9241 struct sFrequency
9242 {
9243 UINT16 mUTRAAbsoluteRFChannelNumber;
9244 UINT8 mCellReselectionPriority;
9245 UINT8 mCellReselectionHighThreshold;
9246 UINT8 mCellReselectionLowThreshold;
9247 UINT8 mCellCount;
9248
9249 struct sCell
9250 {
9251 UINT16 mPrimaryScramblingCode;
9252 INT16 mCPICHRSCP;
9253 INT16 mCPICHEcNo;
9254 INT16 mCellSelectionRXLevel;
9255 };
9256
9257 // This array must be the size specified by mCellCount
9258 // sCell mCells[1];
9259 };
9260
9261 // This array must be the size specified by mFrequencyCount
9262 // sFrequency mFrequencys[1];
9263 };
9264
9265 // Structure to describe response TLV 0x17 for NASGetCellLocationInfo()
9266 struct sNASGetCellLocationInfoResponse_UMTSCellID
9267 {
9268 UINT32 mCellID;
9269 };
9270
9271 // Structure to describe request TLV 0x01 for NASGetPLMNName()
9272 struct sNASGetPLMNNameRequest_PLMN
9273 {
9274 UINT16 mMobileCountryCode;
9275 UINT16 mMobileNetworkCode;
9276 };
9277
9278 // Structure to describe request TLV 0x10 for NASGetPLMNName()
9279 struct sNASGetPLMNNameRequest_SupressSIMError
9280 {
9281 INT8 mSIMInitNotChecked;
9282 };
9283
9284 // Structure to describe request TLV 0x11 for NASGetPLMNName()
9285 struct sNASGetPLMNNameRequest_MNCPCSDigitIncludeStatus
9286 {
9287 INT8 mMNCIncludesPCSDigit;
9288 };
9289
9290 // Structure to describe request TLV 0x12 for NASGetPLMNName()
9291 struct sNASGetPLMNNameRequest_AlwaysSendPLMNName
9292 {
9293 INT8 mAlwaysSendPLMNName;
9294 };
9295
9296 // Structure to describe request TLV 0x13 for NASGetPLMNName()
9297 struct sNASGetPLMNNameRequest_UseStaticTableOnly
9298 {
9299 INT8 mUseStaticTableOnly;
9300 };
9301
9302 // Structure to describe response TLV 0x10 for NASGetPLMNName()
9303 struct sNASGetPLMNNameResponse_Name1
9304 {
9305 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
9306 UINT8 mSPNLength;
9307
9308 // This array must be the size specified by mSPNLength
9309 // UINT8 mSPN[1];
9310 };
9311
9312 struct sNASGetPLMNNameResponse_Name2
9313 {
9314 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
9315 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
9316 eQMINASPLMNNameSpareBits mPLMNSpareBits;
9317 UINT8 mPLMNShortLength;
9318
9319 // This array must be the size specified by mPLMNShortLength
9320 // UINT8 mPLMNShort[1];
9321 };
9322
9323 struct sNASGetPLMNNameResponse_Name3
9324 {
9325 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
9326 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
9327 eQMINASPLMNNameSpareBits mPLMNLongBits;
9328 UINT8 mPLMNLongLength;
9329
9330 // This array must be the size specified by mPLMNLongLength
9331 // UINT8 mPLMNLong[1];
9332 };
9333
9334 struct sNASGetPLMNNameResponse_Name
9335 {
9336 sNASGetPLMNNameResponse_Name1 mNASGetPLMNNameResponse_Name1;
9337 sNASGetPLMNNameResponse_Name2 mNASGetPLMNNameResponse_Name2;
9338 sNASGetPLMNNameResponse_Name3 mNASGetPLMNNameResponse_Name3;
9339 };
9340
9341 // Structure to describe request TLV 0x01 for NASBindSubscription()
9342 struct sNASBindSubscriptionRequest_SubscriptionType
9343 {
9344 eQMINASSubscriptionType mSubscriptionType;
9345 };
9346
9347 // Structure to describe indication TLV 0x10 for NAS ManagedRoamingIndication
9348 struct sNASManagedRoamingIndication_RadioInterface
9349 {
9350 eQMINASRadioInterfaces mRadioInterface;
9351 };
9352
9353 // Structure to describe indication TLV 0x10 for NAS DualStandbyPrefIndication
9354 struct sNASDualStandbyPrefIndication_StandbyPreference
9355 {
9356 eQMINASStandbyPreference mStandbyPreference;
9357 eQMINASSubscriptionType mPrioritySubscription;
9358 eQMINASSubscriptionType mActiveSubscription;
9359 eQMINASSubscriptionType mDefaultDataSubscription;
9360 };
9361
9362 // Structure to describe indication TLV 0x10 for NAS SubscriptionInfoIndication
9363 struct sNASSubscriptionInfoIndication_PrioritySubscriptionInfo
9364 {
9365 eQMINASSubscriptionType mSubscriptionType;
9366 };
9367
9368 // Structure to describe indication TLV 0x11 for NAS SubscriptionInfoIndication
9369 struct sNASSubscriptionInfoIndication_ActiveSubscriptionInfo
9370 {
9371 eQMINASActiveSubscription mActiveSubscription;
9372 };
9373
9374 // Structure to describe indication TLV 0x12 for NAS SubscriptionInfoIndication
9375 struct sNASSubscriptionInfoIndication_DefaultDataSubscriptionInfo
9376 {
9377 INT8 mDefaultDataSubscription;
9378 };
9379
9380 // Structure to describe response TLV 0x10 for NASGetModePref()
9381 struct sNASGetModePrefResponse_ModePreferenceForIDX0
9382 {
9383 bool mCDMA1x:1;
9384 bool mCDMA1xEVDO:1;
9385 bool mGSM:1;
9386 bool mUMTS:1;
9387 bool mLTE:1;
9388 bool mTDSCDMA:1;
9389
9390 // Padding out 10 bits
9391 UINT8 mReserved1:2;
9392 UINT8 mReserved2;
9393 };
9394
9395 // Structure to describe response TLV 0x11 for NASGetModePref()
9396 struct sNASGetModePrefResponse_ModePreferenceForIDX1
9397 {
9398 bool mCDMA1x:1;
9399 bool mCDMA1xEVDO:1;
9400 bool mGSM:1;
9401 bool mUMTS:1;
9402 bool mLTE:1;
9403 bool mTDSCDMA:1;
9404
9405 // Padding out 10 bits
9406 UINT8 mReserved1:2;
9407 UINT8 mReserved2;
9408 };
9409
9410 // Structure to describe request TLV 0x10 for NASSetDualStandbyPreference()
9411 struct sNASSetDualStandbyPreferenceRequest_StandbyPreference
9412 {
9413 eQMINASStandbyPreference mStandbyPreference;
9414 };
9415
9416 // Structure to describe request TLV 0x11 for NASSetDualStandbyPreference()
9417 struct sNASSetDualStandbyPreferenceRequest_PrioritySubs
9418 {
9419 eQMINASSubscriptionType mSubscriptionType;
9420 };
9421
9422 // Structure to describe request TLV 0x12 for NASSetDualStandbyPreference()
9423 struct sNASSetDualStandbyPreferenceRequest_DefaultDataSubs
9424 {
9425 eQMINASSubscriptionType mSubscriptionType;
9426 };
9427
9428 // Structure to describe indication TLV 0x01 for NAS NetworkTimeIndication
9429 struct sNASNetworkTimeIndication_UniversalTime
9430 {
9431 UINT16 mYear;
9432 UINT8 mMonth;
9433 UINT8 mDay;
9434 UINT8 mHour;
9435 UINT8 mMinute;
9436 UINT8 mSecond;
9437 eQMINASDayOfWeek mDayOfWeek;
9438 };
9439
9440 // Structure to describe indication TLV 0x10 for NAS NetworkTimeIndication
9441 struct sNASNetworkTimeIndication_TimeZone
9442 {
9443 INT8 mTimeZoneOffset;
9444 };
9445
9446 // Structure to describe indication TLV 0x11 for NAS NetworkTimeIndication
9447 struct sNASNetworkTimeIndication_DaylightSavingAdjustment
9448 {
9449 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
9450 };
9451
9452 // Structure to describe indication TLV 0x12 for NAS NetworkTimeIndication
9453 struct sNASNetworkTimeIndication_RadioInterface
9454 {
9455 eQMINASRadioInterfaces mRadioInterface;
9456 };
9457
9458 // Structure to describe response TLV 0x10 for NASGetSystemInfo()
9459 struct sNASGetSystemInfoResponse_CDMAServiceStatusInfo
9460 {
9461 eQMINASServiceStatus mServiceStatus;
9462 eQMINASPreferredDataBath mPreferredDataPath;
9463 };
9464
9465 // Structure to describe response TLV 0x11 for NASGetSystemInfo()
9466 struct sNASGetSystemInfoResponse_CDMA1xEVDOServiceStatusInfo
9467 {
9468 eQMINASServiceStatus mServiceStatus;
9469 eQMINASPreferredDataBath mPreferredDataPath;
9470 };
9471
9472 // Structure to describe response TLV 0x12 for NASGetSystemInfo()
9473 struct sNASGetSystemInfoResponse_GSMServiceStatusInfo
9474 {
9475 eQMINASServiceStatus mServiceStatus;
9476 eQMINASServiceStatus mTrueServiceStatus;
9477 eQMINASPreferredDataBath mPreferredDataPath;
9478 };
9479
9480 // Structure to describe response TLV 0x13 for NASGetSystemInfo()
9481 struct sNASGetSystemInfoResponse_WCDMAServiceStatusInfo
9482 {
9483 eQMINASServiceStatus mServiceStatus;
9484 eQMINASServiceStatus mTrueServiceStatus;
9485 eQMINASPreferredDataBath mPreferredDataPath;
9486 };
9487
9488 // Structure to describe response TLV 0x14 for NASGetSystemInfo()
9489 struct sNASGetSystemInfoResponse_LTEServiceStatusInfo
9490 {
9491 eQMINASServiceStatus mServiceStatus;
9492 eQMINASServiceStatus mTrueServiceStatus;
9493 eQMINASPreferredDataBath mPreferredDataPath;
9494 };
9495
9496 // Structure to describe response TLV 0x15 for NASGetSystemInfo()
9497 struct sNASGetSystemInfoResponse_CDMASystemInfo
9498 {
9499 INT8 mServiceDomainValid;
9500 eQMINASSystemServiceCapabilities mServiceDomain;
9501 INT8 mServiceCapabilityValid;
9502 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9503 INT8 mRoamStatusValid;
9504 eQMINASRoamStatus mRoamStatus;
9505 INT8 mSystemForbiddenValid;
9506 eQMINASSystemForbidden mSystemForbidden;
9507 INT8 mSystemPRLMatchValid;
9508 eQMINASPRLIndicator mSystemPRLMatch;
9509 INT8 mPRevInUseValid;
9510 eQMINASRevision mProtocolRevisionInUse;
9511 INT8 mBaseStationPRevValid;
9512 eQMINASRevision mBaseStationProtocolRevision;
9513 INT8 mConcurrentServiceSupportedValid;
9514 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
9515 INT8 mCDMASystemIDValid;
9516 UINT16 mSystemID;
9517 UINT16 mNetworkID;
9518 INT8 mBaseStationInfoValid;
9519 UINT16 mBaseStationID;
9520 INT32 mLatitude;
9521 INT32 mLongitude;
9522 INT8 mPacketZoneValid;
9523 UINT16 mPacketZone;
9524 INT8 mNetworkIDValid;
9525 char mMobileCountryCode[3];
9526 char mMobileNetworkCode[3];
9527 };
9528
9529 // Structure to describe response TLV 0x16 for NASGetSystemInfo()
9530 struct sNASGetSystemInfoResponse_CDMA1xEVDOSystemInfo
9531 {
9532 INT8 mServiceDomainValid;
9533 eQMINASSystemServiceCapabilities mServiceDomain;
9534 INT8 mServiceCapabilityValid;
9535 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9536 INT8 mRoamStatusValid;
9537 eQMINASRoamStatus mRoamStatus;
9538 INT8 mSystemForbiddenValid;
9539 eQMINASSystemForbidden mSystemForbidden;
9540 INT8 mSystemPRLMatchValid;
9541 eQMINASPRLIndicator mSystemPRLMatch;
9542 INT8 mCDMA1xEVDOPersonalityValid;
9543 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
9544 INT8 mCDMA1xEVDOActiveProtocolValid;
9545 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
9546 INT8 mSectorIDValid;
9547 UINT8 mSectorID[16];
9548 };
9549
9550 // Structure to describe response TLV 0x17 for NASGetSystemInfo()
9551 struct sNASGetSystemInfoResponse_GSMSystemInfo
9552 {
9553 INT8 mServiceDomainValid;
9554 eQMINASSystemServiceCapabilities mServiceDomain;
9555 INT8 mServiceCapabilityValid;
9556 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9557 INT8 mRoamStatusValid;
9558 eQMINASRoamStatus mRoamStatus;
9559 INT8 mSystemForbiddenValid;
9560 eQMINASSystemForbidden mSystemForbidden;
9561 INT8 mLocationAreaCodeValid;
9562 UINT16 mLocationAreaCode;
9563 INT8 mCellIDValid;
9564 UINT32 mCellID;
9565 INT8 mRegistrationRejectInformationValid;
9566 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9567 UINT8 mRejectCause;
9568 INT8 mNetworkIDValid;
9569 char mMobileCountryCode[3];
9570 char mMobileNetworkCode[3];
9571 INT8 mEGPRSSupportValid;
9572 eQMINASEGPRSSupport mEGPRSSupport;
9573 INT8 mDTMSupportValid;
9574 eQMINASDTMSupport mDTMSupport;
9575 };
9576
9577 // Structure to describe response TLV 0x18 for NASGetSystemInfo()
9578 struct sNASGetSystemInfoResponse_WCDMASystemInfo
9579 {
9580 INT8 mServiceDomainValid;
9581 eQMINASSystemServiceCapabilities mServiceDomain;
9582 INT8 mServiceCapabilityValid;
9583 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9584 INT8 mRoamStatusValid;
9585 eQMINASRoamStatus mRoamStatus;
9586 INT8 mSystemForbiddenValid;
9587 eQMINASSystemForbidden mSystemForbidden;
9588 INT8 mLocationAreaCodeValid;
9589 UINT16 mLocationAreaCode;
9590 INT8 mCellIDValid;
9591 UINT32 mCellID;
9592 INT8 mRegistrationRejectInformationValid;
9593 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9594 UINT8 mRejectCause;
9595 INT8 mNetworkIDValid;
9596 char mMobileCountryCode[3];
9597 char mMobileNetworkCode[3];
9598 INT8 mHighSpeedCallStatusValid;
9599 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9600 INT8 mHighSpeedServiceIndicationValid;
9601 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9602 INT8 mPrimaryScramblingCodeValue;
9603 UINT16 mPrimaryScramblingCode;
9604 };
9605
9606 // Structure to describe response TLV 0x19 for NASGetSystemInfo()
9607 struct sNASGetSystemInfoResponse_LTESystemInfo
9608 {
9609 INT8 mServiceDomainValid;
9610 eQMINASSystemServiceCapabilities mServiceDomain;
9611 INT8 mServiceCapabilityValid;
9612 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9613 INT8 mRoamStatusValid;
9614 eQMINASRoamStatus mRoamStatus;
9615 INT8 mSystemForbiddenValid;
9616 eQMINASSystemForbidden mSystemForbidden;
9617 INT8 mLocationAreaCodeValid;
9618 UINT16 mLocationAreaCode;
9619 INT8 mCellIDValid;
9620 UINT32 mCellID;
9621 INT8 mRegistrationRejectInformationValid;
9622 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9623 UINT8 mRejectCause;
9624 INT8 mNetworkIDValid;
9625 char mMobileCountryCode[3];
9626 char mMobileNetworkCode[3];
9627 INT8 mTrackingAreaCodeValid;
9628 UINT16 mTrackingAreaCode;
9629 };
9630
9631 // Structure to describe response TLV 0x1A for NASGetSystemInfo()
9632 struct sNASGetSystemInfoResponse_MoreCDMASystemInfo
9633 {
9634 UINT16 mGeoSystemIndex;
9635 UINT16 mRegistrationPeriod;
9636 };
9637
9638 // Structure to describe response TLV 0x1B for NASGetSystemInfo()
9639 struct sNASGetSystemInfoResponse_MoreCDMA1xEVDOSystemInfo
9640 {
9641 UINT16 mGeoSystemIndex;
9642 };
9643
9644 // Structure to describe response TLV 0x1C for NASGetSystemInfo()
9645 struct sNASGetSystemInfoResponse_MoreGSMSystemInfo
9646 {
9647 UINT16 mGeoSystemIndex;
9648 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9649 };
9650
9651 // Structure to describe response TLV 0x1D for NASGetSystemInfo()
9652 struct sNASGetSystemInfoResponse_MoreWCDMASystemInfo
9653 {
9654 UINT16 mGeoSystemIndex;
9655 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9656 };
9657
9658 // Structure to describe response TLV 0x1E for NASGetSystemInfo()
9659 struct sNASGetSystemInfoResponse_MoreLTESystemInfo
9660 {
9661 UINT16 mGeoSystemIndex;
9662 };
9663
9664 // Structure to describe response TLV 0x1F for NASGetSystemInfo()
9665 struct sNASGetSystemInfoResponse_GSMCallBarring
9666 {
9667 eQMINASCallBarringStatus mCSCallBarringStatus;
9668 eQMINASCallBarringStatus mPSCallBarringStatus;
9669 };
9670
9671 // Structure to describe response TLV 0x20 for NASGetSystemInfo()
9672 struct sNASGetSystemInfoResponse_WCDMACallBarring
9673 {
9674 eQMINASCallBarringStatus mCSCallBarringStatus;
9675 eQMINASCallBarringStatus mPSCallBarringStatus;
9676 };
9677
9678 // Structure to describe response TLV 0x21 for NASGetSystemInfo()
9679 struct sNASGetSystemInfoResponse_LTEVoice
9680 {
9681 INT8 mLTEVoiceSupported;
9682 };
9683
9684 // Structure to describe response TLV 0x22 for NASGetSystemInfo()
9685 struct sNASGetSystemInfoResponse_GSMCipher
9686 {
9687 eQMINASServiceDomains mCipheringOnServiceDomain;
9688 };
9689
9690 // Structure to describe response TLV 0x23 for NASGetSystemInfo()
9691 struct sNASGetSystemInfoResponse_WCDMACipher
9692 {
9693 eQMINASServiceDomains mCipheringOnServiceDomain;
9694 };
9695
9696 // Structure to describe response TLV 0x24 for NASGetSystemInfo()
9697 struct sNASGetSystemInfoResponse_TDSCDMAServiceStatusInfo
9698 {
9699 eQMINASServiceStatus mServiceStatus;
9700 eQMINASServiceStatus mTrueServiceStatus;
9701 eQMINASPreferredDataBath mPreferredDataPath;
9702 };
9703
9704 // Structure to describe response TLV 0x25 for NASGetSystemInfo()
9705 struct sNASGetSystemInfoResponse_TDSCDMASystemInfo
9706 {
9707 INT8 mServiceDomainValid;
9708 eQMINASSystemServiceCapabilities mServiceDomain;
9709 INT8 mServiceCapabilityValid;
9710 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9711 INT8 mRoamStatusValid;
9712 eQMINASRoamStatus mRoamStatus;
9713 INT8 mSystemForbiddenValid;
9714 eQMINASSystemForbidden mSystemForbidden;
9715 INT8 mLocationAreaCodeValid;
9716 UINT16 mLocationAreaCode;
9717 INT8 mCellIDValid;
9718 UINT32 mCellID;
9719 INT8 mRegistrationRejectInformationValid;
9720 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9721 UINT8 mRejectCause;
9722 INT8 mNetworkIDValid;
9723 char mMobileCountryCode[3];
9724 char mMobileNetworkCode[3];
9725 INT8 mHighSpeedCallStatusValid;
9726 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9727 INT8 mHighSpeedServiceIndicationValid;
9728 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9729 INT8 mCellParameterIDValid;
9730 UINT16 mCellParameterID;
9731 INT8 mCellBroadcastCapabilityValid;
9732 eQMINASCellBroadcastCaps2 mCellBroadcastCapability;
9733 INT8 mCSBarringStatusValid;
9734 eQMINASCallBarringStatus mCSCallBarringStatus;
9735 INT8 mPSBarringStatusValid;
9736 eQMINASCallBarringStatus mPSCallBarringStatus;
9737 INT8 mCipheringValid;
9738 eQMINASServiceDomains mCipheringOnServiceDomain;
9739 };
9740
9741 // Structure to describe response TLV 0x26 for NASGetSystemInfo()
9742 struct sNASGetSystemInfoResponse_EMBMSCoverage
9743 {
9744 INT8 mEMBMSSupported;
9745 };
9746
9747 // Structure to describe response TLV 0x27 for NASGetSystemInfo()
9748 struct sNASGetSystemInfoResponse_SIMRejectInfo
9749 {
9750 eQMINASSIMRejectStates mSIMRejectInfo;
9751 };
9752
9753 // Structure to describe response TLV 0x28 for NASGetSystemInfo()
9754 struct sNASGetSystemInfoResponse_WCDMAEUTRADetection
9755 {
9756 eQMINASEUTRAStatus mEUTRADetectionStatus;
9757 };
9758
9759 // Structure to describe response TLV 0x29 for NASGetSystemInfo()
9760 struct sNASGetSystemInfoResponse_LTEIMSVoice
9761 {
9762 INT8 mIMSVoiceSupportAvailable;
9763 };
9764
9765 // Structure to describe response TLV 0x2A for NASGetSystemInfo()
9766 struct sNASGetSystemInfoResponse_LTEVoiceDomain
9767 {
9768 eQMINASLTEVoiceDomains mLTEVoiceDomain;
9769 };
9770
9771 // Structure to describe response TLV 0x2B for NASGetSystemInfo()
9772 struct sNASGetSystemInfoResponse_CDMARegZoneID
9773 {
9774 UINT16 mCDMARegZoneID;
9775 };
9776
9777 // Structure to describe response TLV 0x2C for NASGetSystemInfo()
9778 struct sNASGetSystemInfoResponse_GSMRAC
9779 {
9780 UINT8 mGSMRoutingAreaCode;
9781 };
9782
9783 // Structure to describe response TLV 0x2D for NASGetSystemInfo()
9784 struct sNASGetSystemInfoResponse_WCDMARAC
9785 {
9786 UINT8 mWCDMARoutingAreaCode;
9787 };
9788
9789 // Structure to describe response TLV 0x2E for NASGetSystemInfo()
9790 struct sNASGetSystemInfoResponse_CDMAResolvedMCC
9791 {
9792 UINT16 mCDMAMCCResolvedViaSIDLookup;
9793 };
9794
9795 // Structure to describe response TLV 0x2F for NASGetSystemInfo()
9796 struct sNASGetSystemInfoResponse_RegistrationRestriction
9797 {
9798 eQMINASRegistrationRestrictions mRegistrationRestriction;
9799 };
9800
9801 // Structure to describe response TLV 0x30 for NASGetSystemInfo()
9802 struct sNASGetSystemInfoResponse_TDSCDMARegistrationDomain
9803 {
9804 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9805 };
9806
9807 // Structure to describe response TLV 0x31 for NASGetSystemInfo()
9808 struct sNASGetSystemInfoResponse_LTERegistrationDomain
9809 {
9810 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9811 };
9812
9813 // Structure to describe response TLV 0x32 for NASGetSystemInfo()
9814 struct sNASGetSystemInfoResponse_WCDMARegistrationDomain
9815 {
9816 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9817 };
9818
9819 // Structure to describe response TLV 0x33 for NASGetSystemInfo()
9820 struct sNASGetSystemInfoResponse_GSMRegistrationDomain
9821 {
9822 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
9823 };
9824
9825 // Structure to describe indication TLV 0x10 for NAS SystemInfoIndication
9826 struct sNASSystemInfoIndication_CDMAServiceStatusInfo
9827 {
9828 eQMINASServiceStatus mServiceStatus;
9829 eQMINASPreferredDataBath mPreferredDataPath;
9830 };
9831
9832 // Structure to describe indication TLV 0x11 for NAS SystemInfoIndication
9833 struct sNASSystemInfoIndication_CDMA1xEVDOServiceStatusInfo
9834 {
9835 eQMINASServiceStatus mServiceStatus;
9836 eQMINASPreferredDataBath mPreferredDataPath;
9837 };
9838
9839 // Structure to describe indication TLV 0x12 for NAS SystemInfoIndication
9840 struct sNASSystemInfoIndication_GSMServiceStatusInfo
9841 {
9842 eQMINASServiceStatus mServiceStatus;
9843 eQMINASServiceStatus mTrueServiceStatus;
9844 eQMINASPreferredDataBath mPreferredDataPath;
9845 };
9846
9847 // Structure to describe indication TLV 0x13 for NAS SystemInfoIndication
9848 struct sNASSystemInfoIndication_WCDMAServiceStatusInfo
9849 {
9850 eQMINASServiceStatus mServiceStatus;
9851 eQMINASServiceStatus mTrueServiceStatus;
9852 eQMINASPreferredDataBath mPreferredDataPath;
9853 };
9854
9855 // Structure to describe indication TLV 0x14 for NAS SystemInfoIndication
9856 struct sNASSystemInfoIndication_LTEServiceStatusInfo
9857 {
9858 eQMINASServiceStatus mServiceStatus;
9859 eQMINASServiceStatus mTrueServiceStatus;
9860 eQMINASPreferredDataBath mPreferredDataPath;
9861 };
9862
9863 // Structure to describe indication TLV 0x15 for NAS SystemInfoIndication
9864 struct sNASSystemInfoIndication_CDMASystemInfo
9865 {
9866 INT8 mServiceDomainValid;
9867 eQMINASSystemServiceCapabilities mServiceDomain;
9868 INT8 mServiceCapabilityValid;
9869 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9870 INT8 mRoamStatusValid;
9871 eQMINASRoamStatus mRoamStatus;
9872 INT8 mSystemForbiddenValid;
9873 eQMINASSystemForbidden mSystemForbidden;
9874 INT8 mSystemPRLMatchValid;
9875 eQMINASPRLIndicator mSystemPRLMatch;
9876 INT8 mPRevInUseValid;
9877 eQMINASRevision mProtocolRevisionInUse;
9878 INT8 mBaseStationPRevValid;
9879 eQMINASRevision mBaseStationProtocolRevision;
9880 INT8 mConcurrentServiceSupportedValid;
9881 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
9882 INT8 mCDMASystemIDValid;
9883 UINT16 mSystemID;
9884 UINT16 mNetworkID;
9885 INT8 mBaseStationInfoValid;
9886 UINT16 mBaseStationID;
9887 INT32 mLatitude;
9888 INT32 mLongitude;
9889 INT8 mPacketZoneValid;
9890 UINT16 mPacketZone;
9891 INT8 mNetworkIDValid;
9892 char mMobileCountryCode[3];
9893 char mMobileNetworkCode[3];
9894 };
9895
9896 // Structure to describe indication TLV 0x16 for NAS SystemInfoIndication
9897 struct sNASSystemInfoIndication_CDMA1xEVDOSystemInfo
9898 {
9899 INT8 mServiceDomainValid;
9900 eQMINASSystemServiceCapabilities mServiceDomain;
9901 INT8 mServiceCapabilityValid;
9902 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9903 INT8 mRoamStatusValid;
9904 eQMINASRoamStatus mRoamStatus;
9905 INT8 mSystemForbiddenValid;
9906 eQMINASSystemForbidden mSystemForbidden;
9907 INT8 mSystemPRLMatchValid;
9908 eQMINASPRLIndicator mSystemPRLMatch;
9909 INT8 mCDMA1xEVDOPersonalityValid;
9910 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
9911 INT8 mCDMA1xEVDOActiveProtocolValid;
9912 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
9913 INT8 mSectorIDValid;
9914 UINT8 mSectorID[16];
9915 };
9916
9917 // Structure to describe indication TLV 0x17 for NAS SystemInfoIndication
9918 struct sNASSystemInfoIndication_GSMSystemInfo
9919 {
9920 INT8 mServiceDomainValid;
9921 eQMINASSystemServiceCapabilities mServiceDomain;
9922 INT8 mServiceCapabilityValid;
9923 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9924 INT8 mRoamStatusValid;
9925 eQMINASRoamStatus mRoamStatus;
9926 INT8 mSystemForbiddenValid;
9927 eQMINASSystemForbidden mSystemForbidden;
9928 INT8 mLocationAreaCodeValid;
9929 UINT16 mLocationAreaCode;
9930 INT8 mCellIDValid;
9931 UINT32 mCellID;
9932 INT8 mRegistrationRejectInformationValid;
9933 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9934 UINT8 mRejectCause;
9935 INT8 mNetworkIDValid;
9936 char mMobileCountryCode[3];
9937 char mMobileNetworkCode[3];
9938 INT8 mEGPRSSupportValid;
9939 eQMINASEGPRSSupport mEGPRSSupport;
9940 INT8 mDTMSupportValid;
9941 eQMINASDTMSupport mDTMSupport;
9942 };
9943
9944 // Structure to describe indication TLV 0x18 for NAS SystemInfoIndication
9945 struct sNASSystemInfoIndication_WCDMASystemInfo
9946 {
9947 INT8 mServiceDomainValid;
9948 eQMINASSystemServiceCapabilities mServiceDomain;
9949 INT8 mServiceCapabilityValid;
9950 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9951 INT8 mRoamStatusValid;
9952 eQMINASRoamStatus mRoamStatus;
9953 INT8 mSystemForbiddenValid;
9954 eQMINASSystemForbidden mSystemForbidden;
9955 INT8 mLocationAreaCodeValid;
9956 UINT16 mLocationAreaCode;
9957 INT8 mCellIDValid;
9958 UINT32 mCellID;
9959 INT8 mRegistrationRejectInformationValid;
9960 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9961 UINT8 mRejectCause;
9962 INT8 mNetworkIDValid;
9963 char mMobileCountryCode[3];
9964 char mMobileNetworkCode[3];
9965 INT8 mHighSpeedCallStatusValid;
9966 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9967 INT8 mHighSpeedServiceIndicationValid;
9968 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9969 INT8 mPrimaryScramblingCodeValue;
9970 UINT16 mPrimaryScramblingCode;
9971 };
9972
9973 // Structure to describe indication TLV 0x19 for NAS SystemInfoIndication
9974 struct sNASSystemInfoIndication_LTESystemInfo
9975 {
9976 INT8 mServiceDomainValid;
9977 eQMINASSystemServiceCapabilities mServiceDomain;
9978 INT8 mServiceCapabilityValid;
9979 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9980 INT8 mRoamStatusValid;
9981 eQMINASRoamStatus mRoamStatus;
9982 INT8 mSystemForbiddenValid;
9983 eQMINASSystemForbidden mSystemForbidden;
9984 INT8 mLocationAreaCodeValid;
9985 UINT16 mLocationAreaCode;
9986 INT8 mCellIDValid;
9987 UINT32 mCellID;
9988 INT8 mRegistrationRejectInformationValid;
9989 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9990 UINT8 mRejectCause;
9991 INT8 mNetworkIDValid;
9992 char mMobileCountryCode[3];
9993 char mMobileNetworkCode[3];
9994 INT8 mTrackingAreaCodeValid;
9995 UINT16 mTrackingAreaCode;
9996 };
9997
9998 // Structure to describe indication TLV 0x1A for NAS SystemInfoIndication
9999 struct sNASSystemInfoIndication_MoreCDMASystemInfo
10000 {
10001 UINT16 mGeoSystemIndex;
10002 UINT16 mRegistrationPeriod;
10003 };
10004
10005 // Structure to describe indication TLV 0x1B for NAS SystemInfoIndication
10006 struct sNASSystemInfoIndication_MoreCDMA1xEVDOSystemInfo
10007 {
10008 UINT16 mGeoSystemIndex;
10009 };
10010
10011 // Structure to describe indication TLV 0x1C for NAS SystemInfoIndication
10012 struct sNASSystemInfoIndication_MoreGSMSystemInfo
10013 {
10014 UINT16 mGeoSystemIndex;
10015 eQMINASCellBroadcastCaps mCellBroadcastCapability;
10016 };
10017
10018 // Structure to describe indication TLV 0x1D for NAS SystemInfoIndication
10019 struct sNASSystemInfoIndication_MoreWCDMASystemInfo
10020 {
10021 UINT16 mGeoSystemIndex;
10022 eQMINASCellBroadcastCaps mCellBroadcastCapability;
10023 };
10024
10025 // Structure to describe indication TLV 0x1E for NAS SystemInfoIndication
10026 struct sNASSystemInfoIndication_MoreLTESystemInfo
10027 {
10028 UINT16 mGeoSystemIndex;
10029 };
10030
10031 // Structure to describe indication TLV 0x1F for NAS SystemInfoIndication
10032 struct sNASSystemInfoIndication_GSMCallBarring
10033 {
10034 eQMINASCallBarringStatus mCSCallBarringStatus;
10035 eQMINASCallBarringStatus mPSCallBarringStatus;
10036 };
10037
10038 // Structure to describe indication TLV 0x20 for NAS SystemInfoIndication
10039 struct sNASSystemInfoIndication_WCDMACallBarring
10040 {
10041 eQMINASCallBarringStatus mCSCallBarringStatus;
10042 eQMINASCallBarringStatus mPSCallBarringStatus;
10043 };
10044
10045 // Structure to describe indication TLV 0x21 for NAS SystemInfoIndication
10046 struct sNASSystemInfoIndication_LTEVoice
10047 {
10048 INT8 mLTEVoiceSupported;
10049 };
10050
10051 // Structure to describe indication TLV 0x22 for NAS SystemInfoIndication
10052 struct sNASSystemInfoIndication_GSMCipher
10053 {
10054 eQMINASServiceDomains mCipheringOnServiceDomain;
10055 };
10056
10057 // Structure to describe indication TLV 0x23 for NAS SystemInfoIndication
10058 struct sNASSystemInfoIndication_WCDMACipher
10059 {
10060 eQMINASServiceDomains mCipheringOnServiceDomain;
10061 };
10062
10063 // Structure to describe indication TLV 0x24 for NAS SystemInfoIndication
10064 struct sNASSystemInfoIndication_NoPLMNChange
10065 {
10066 INT8 mNoPLMNChange;
10067 };
10068
10069 // Structure to describe indication TLV 0x25 for NAS SystemInfoIndication
10070 struct sNASSystemInfoIndication_TDSCDMAServiceStatusInfo
10071 {
10072 eQMINASServiceStatus mServiceStatus;
10073 eQMINASServiceStatus mTrueServiceStatus;
10074 eQMINASPreferredDataBath mPreferredDataPath;
10075 };
10076
10077 // Structure to describe indication TLV 0x26 for NAS SystemInfoIndication
10078 struct sNASSystemInfoIndication_TDSCDMASystemInfo
10079 {
10080 INT8 mServiceDomainValid;
10081 eQMINASSystemServiceCapabilities mServiceDomain;
10082 INT8 mServiceCapabilityValid;
10083 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
10084 INT8 mRoamStatusValid;
10085 eQMINASRoamStatus mRoamStatus;
10086 INT8 mSystemForbiddenValid;
10087 eQMINASSystemForbidden mSystemForbidden;
10088 INT8 mLocationAreaCodeValid;
10089 UINT16 mLocationAreaCode;
10090 INT8 mCellIDValid;
10091 UINT32 mCellID;
10092 INT8 mRegistrationRejectInformationValid;
10093 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
10094 UINT8 mRejectCause;
10095 INT8 mNetworkIDValid;
10096 char mMobileCountryCode[3];
10097 char mMobileNetworkCode[3];
10098 INT8 mHighSpeedCallStatusValid;
10099 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
10100 INT8 mHighSpeedServiceIndicationValid;
10101 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
10102 INT8 mCellParameterIDValid;
10103 UINT16 mCellParameterID;
10104 INT8 mCellBroadcastCapabilityValid;
10105 eQMINASCellBroadcastCaps2 mCellBroadcastCapability;
10106 INT8 mCSBarringStatusValid;
10107 eQMINASCallBarringStatus mCSCallBarringStatus;
10108 INT8 mPSBarringStatusValid;
10109 eQMINASCallBarringStatus mPSCallBarringStatus;
10110 INT8 mCipheringValid;
10111 eQMINASServiceDomains mCipheringOnServiceDomain;
10112 };
10113
10114 // Structure to describe indication TLV 0x27 for NAS SystemInfoIndication
10115 struct sNASSystemInfoIndication_EMBMSCoverage
10116 {
10117 INT8 mEMBMSSupported;
10118 };
10119
10120 // Structure to describe indication TLV 0x28 for NAS SystemInfoIndication
10121 struct sNASSystemInfoIndication_SIMRejectInfo
10122 {
10123 eQMINASSIMRejectStates mSIMRejectInfo;
10124 };
10125
10126 // Structure to describe indication TLV 0x29 for NAS SystemInfoIndication
10127 struct sNASSystemInfoIndication_WCDMAEUTRADetection
10128 {
10129 eQMINASEUTRAStatus mEUTRADetectionStatus;
10130 };
10131
10132 // Structure to describe indication TLV 0x2A for NAS SystemInfoIndication
10133 struct sNASSystemInfoIndication_LTEIMSVoice
10134 {
10135 INT8 mIMSVoiceSupportAvailable;
10136 };
10137
10138 // Structure to describe indication TLV 0x2B for NAS SystemInfoIndication
10139 struct sNASSystemInfoIndication_LTEVoiceDomain
10140 {
10141 eQMINASLTEVoiceDomains mLTEVoiceDomain;
10142 };
10143
10144 // Structure to describe indication TLV 0x2C for NAS SystemInfoIndication
10145 struct sNASSystemInfoIndication_CDMARegZoneID
10146 {
10147 UINT16 mCDMARegZoneID;
10148 };
10149
10150 // Structure to describe indication TLV 0x2D for NAS SystemInfoIndication
10151 struct sNASSystemInfoIndication_GSMRAC
10152 {
10153 UINT8 mGSMRoutingAreaCode;
10154 };
10155
10156 // Structure to describe indication TLV 0x2E for NAS SystemInfoIndication
10157 struct sNASSystemInfoIndication_WCDMARAC
10158 {
10159 UINT8 mWCDMARoutingAreaCode;
10160 };
10161
10162 // Structure to describe indication TLV 0x2F for NAS SystemInfoIndication
10163 struct sNASSystemInfoIndication_CDMAResolvedMCC
10164 {
10165 UINT16 mCDMAMCCResolvedViaSIDLookup;
10166 };
10167
10168 // Structure to describe indication TLV 0x30 for NAS SystemInfoIndication
10169 struct sNASSystemInfoIndication_RegistrationRestriction
10170 {
10171 eQMINASRegistrationRestrictions mRegistrationRestriction;
10172 };
10173
10174 // Structure to describe indication TLV 0x31 for NAS SystemInfoIndication
10175 struct sNASSystemInfoIndication_TDSCDMARegistrationDomain
10176 {
10177 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10178 };
10179
10180 // Structure to describe indication TLV 0x32 for NAS SystemInfoIndication
10181 struct sNASSystemInfoIndication_LTERegistrationDomain
10182 {
10183 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10184 };
10185
10186 // Structure to describe indication TLV 0x33 for NAS SystemInfoIndication
10187 struct sNASSystemInfoIndication_WCDMARegistrationDomain
10188 {
10189 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10190 };
10191
10192 // Structure to describe indication TLV 0x34 for NAS SystemInfoIndication
10193 struct sNASSystemInfoIndication_GSMRegistrationDomain
10194 {
10195 eQMINASRegistrationDomains mTDSCDMARegistrationDomain;
10196 };
10197
10198 // Structure to describe response TLV 0x10 for NASGetSignalInfo()
10199 struct sNASGetSignalInfoResponse_CDMASignalInfo
10200 {
10201 INT8 mRSSI;
10202 UINT16 mECIO;
10203 };
10204
10205 // Structure to describe response TLV 0x11 for NASGetSignalInfo()
10206 struct sNASGetSignalInfoResponse_CDMA1xEVDOSignalInfo
10207 {
10208 INT8 mRSSI;
10209 UINT16 mECIO;
10210 eQMINASSINRLevels mSINR;
10211 UINT32 mIO;
10212 };
10213
10214 // Structure to describe response TLV 0x12 for NASGetSignalInfo()
10215 struct sNASGetSignalInfoResponse_GSMSignalInfo
10216 {
10217 INT8 mRSSI;
10218 };
10219
10220 // Structure to describe response TLV 0x13 for NASGetSignalInfo()
10221 struct sNASGetSignalInfoResponse_WCDMASignalInfo
10222 {
10223 INT8 mRSSI;
10224 UINT16 mECIO;
10225 };
10226
10227 // Structure to describe response TLV 0x14 for NASGetSignalInfo()
10228 struct sNASGetSignalInfoResponse_LTESignalInfo
10229 {
10230 INT8 mRSSI;
10231 INT8 mRSRQ;
10232 INT16 mRSRP;
10233 INT16 mSNR;
10234 };
10235
10236 // Structure to describe response TLV 0x15 for NASGetSignalInfo()
10237 struct sNASGetSignalInfoResponse_TDSCDMASignalInfo
10238 {
10239 INT8 mPCCPCHRSCP;
10240 };
10241
10242 // Structure to describe request TLV 0x10 for NASConfigureSignalInfo()
10243 struct sNASConfigureSignalInfoRequest_RSSIThresholdList
10244 {
10245 UINT8 mThresholdCount;
10246
10247 // This array must be the size specified by mThresholdCount
10248 // INT8 mThreshold[1];
10249 };
10250
10251 // Structure to describe request TLV 0x11 for NASConfigureSignalInfo()
10252 struct sNASConfigureSignalInfoRequest_ECIOThresholdList
10253 {
10254 UINT8 mThresholdCount;
10255
10256 // This array must be the size specified by mThresholdCount
10257 // INT16 mThreshold[1];
10258 };
10259
10260 // Structure to describe request TLV 0x12 for NASConfigureSignalInfo()
10261 struct sNASConfigureSignalInfoRequest_CDMA1xEVDOSINRThresholdList
10262 {
10263 UINT8 mThresholdCount;
10264
10265 // This array must be the size specified by mThresholdCount
10266 // UINT8 mThreshold[1];
10267 };
10268
10269 // Structure to describe request TLV 0x13 for NASConfigureSignalInfo()
10270 struct sNASConfigureSignalInfoRequest_LTESINRThresholdList
10271 {
10272 UINT8 mThresholdCount;
10273
10274 // This array must be the size specified by mThresholdCount
10275 // INT8 mThreshold[1];
10276 };
10277
10278 // Structure to describe request TLV 0x14 for NASConfigureSignalInfo()
10279 struct sNASConfigureSignalInfoRequest_IOThresholdList
10280 {
10281 UINT8 mThresholdCount;
10282
10283 // This array must be the size specified by mThresholdCount
10284 // INT32 mThreshold[1];
10285 };
10286
10287 // Structure to describe request TLV 0x15 for NASConfigureSignalInfo()
10288 struct sNASConfigureSignalInfoRequest_RSRQThresholdList
10289 {
10290 UINT8 mThresholdCount;
10291
10292 // This array must be the size specified by mThresholdCount
10293 // INT8 mThreshold[1];
10294 };
10295
10296 // Structure to describe request TLV 0x16 for NASConfigureSignalInfo()
10297 struct sNASConfigureSignalInfoRequest_RSRPThresholdList
10298 {
10299 UINT8 mThresholdCount;
10300
10301 // This array must be the size specified by mThresholdCount
10302 // INT16 mThreshold[1];
10303 };
10304
10305 // Structure to describe request TLV 0x17 for NASConfigureSignalInfo()
10306 struct sNASConfigureSignalInfoRequest_LTEConfig
10307 {
10308 eQMINASLTESignalRates mLTESignalCheckRate;
10309 eQMINASLTESignalRates mLTESignalAveragingRate;
10310 };
10311
10312 // Structure to describe request TLV 0x18 for NASConfigureSignalInfo()
10313 struct sNASConfigureSignalInfoRequest_RSCPThresholdList
10314 {
10315 UINT8 mThresholdCount;
10316
10317 // This array must be the size specified by mThresholdCount
10318 // INT8 mRSCPThreshold[1];
10319 };
10320
10321 // Structure to describe indication TLV 0x10 for NAS SignalInfoIndication
10322 struct sNASSignalInfoIndication_CDMASignalInfo
10323 {
10324 INT8 mRSSI;
10325 UINT16 mECIO;
10326 };
10327
10328 // Structure to describe indication TLV 0x11 for NAS SignalInfoIndication
10329 struct sNASSignalInfoIndication_CDMA1xEVDOSignalInfo
10330 {
10331 INT8 mRSSI;
10332 UINT16 mECIO;
10333 eQMINASSINRLevels mSINR;
10334 UINT32 mIO;
10335 };
10336
10337 // Structure to describe indication TLV 0x12 for NAS SignalInfoIndication
10338 struct sNASSignalInfoIndication_GSMSignalInfo
10339 {
10340 INT8 mRSSI;
10341 };
10342
10343 // Structure to describe indication TLV 0x13 for NAS SignalInfoIndication
10344 struct sNASSignalInfoIndication_WCDMASignalInfo
10345 {
10346 INT8 mRSSI;
10347 UINT16 mECIO;
10348 };
10349
10350 // Structure to describe indication TLV 0x14 for NAS SignalInfoIndication
10351 struct sNASSignalInfoIndication_LTESignalInfo
10352 {
10353 INT8 mRSSI;
10354 INT8 mRSRQ;
10355 INT16 mRSRP;
10356 INT16 mSNR;
10357 };
10358
10359 // Structure to describe indication TLV 0x15 for NAS SignalInfoIndication
10360 struct sNASSignalInfoIndication_TDSCDMASignalInfo
10361 {
10362 INT8 mPCCPCHRSCP;
10363 };
10364
10365 // Structure to describe response TLV 0x10 for NASGetErrorRate()
10366 struct sNASGetErrorRateResponse_CDMAFrameErrorRate
10367 {
10368 UINT16 mErrorRate;
10369 };
10370
10371 // Structure to describe response TLV 0x11 for NASGetErrorRate()
10372 struct sNASGetErrorRateResponse_CDMA1xEVDOPacketErrorRate
10373 {
10374 UINT16 mErrorRate;
10375 };
10376
10377 // Structure to describe response TLV 0x12 for NASGetErrorRate()
10378 struct sNASGetErrorRateResponse_GSMBitErrorRate
10379 {
10380 UINT8 mErrorRate;
10381 };
10382
10383 // Structure to describe response TLV 0x13 for NASGetErrorRate()
10384 struct sNASGetErrorRateResponse_WCDMABlockErrorRate
10385 {
10386 UINT8 mErrorRate;
10387 };
10388
10389 // Structure to describe response TLV 0x14 for NASGetErrorRate()
10390 struct sNASGetErrorRateResponse_TDSCDMABlockErrorRate
10391 {
10392 UINT8 mErrorRate;
10393 };
10394
10395 // Structure to describe indication TLV 0x10 for NAS ErrorRateIndication
10396 struct sNASErrorRateIndication_CDMAFrameErrorRate
10397 {
10398 UINT16 mErrorRate;
10399 };
10400
10401 // Structure to describe indication TLV 0x11 for NAS ErrorRateIndication
10402 struct sNASErrorRateIndication_CDMA1xEVDOPacketErrorRate
10403 {
10404 UINT16 mErrorRate;
10405 };
10406
10407 // Structure to describe indication TLV 0x12 for NAS ErrorRateIndication
10408 struct sNASErrorRateIndication_GSMBitErrorRate
10409 {
10410 UINT8 mErrorRate;
10411 };
10412
10413 // Structure to describe indication TLV 0x13 for NAS ErrorRateIndication
10414 struct sNASErrorRateIndication_WCDMAFrameErrorRate
10415 {
10416 UINT8 mErrorRate;
10417 };
10418
10419 // Structure to describe indication TLV 0x14 for NAS ErrorRateIndication
10420 struct sNASErrorRateIndication_TDSCDMABlockErrorRate
10421 {
10422 UINT8 mErrorRate;
10423 };
10424
10425 // Structure to describe indication TLV 0x01 for NAS EVDOSessionCloseIndication
10426 struct sNASEVDOSessionCloseIndication_Reason
10427 {
10428 eQMINASEVDOSessionCloseReasons mSessionCloseReason;
10429 };
10430
10431 // Structure to describe indication TLV 0x01 for NAS EVDOUATIUpdateIndication
10432 struct sNASEVDOUATIUpdateIndication_UATI
10433 {
10434 UINT8 mUATI[16];
10435 };
10436
10437 // Structure to describe request TLV 0x01 for NASGetEVDOProtocolSubtype()
10438 struct sNASGetEVDOProtocolSubtypeRequest_Protocol
10439 {
10440 UINT32 mEVDOProtocol;
10441 };
10442
10443 // Structure to describe response TLV 0x10 for NASGetEVDOProtocolSubtype()
10444 struct sNASGetEVDOProtocolSubtypeResponse_Subtype
10445 {
10446 UINT16 mEVDOProtocolSubtype;
10447 };
10448
10449 // Structure to describe response TLV 0x10 for NASGetEVDOColorCode()
10450 struct sNASGetEVDOColorCodeResponse_Value
10451 {
10452 UINT8 mEVDOColorCode;
10453 };
10454
10455 // Structure to describe response TLV 0x10 for NASGetAcquisitionSystemMode()
10456 struct sNASGetAcquisitionSystemModeResponse_CDMA
10457 {
10458 eQMINASRadioSystemModes mRadioSystemMode;
10459 };
10460
10461 // Structure to describe response TLV 0x11 for NASGetAcquisitionSystemMode()
10462 struct sNASGetAcquisitionSystemModeResponse_CDMA1xEVDO
10463 {
10464 eQMINASRadioSystemModes mRadioSystemMode;
10465 };
10466
10467 // Structure to describe response TLV 0x12 for NASGetAcquisitionSystemMode()
10468 struct sNASGetAcquisitionSystemModeResponse_GSM
10469 {
10470 eQMINASRadioSystemModes mRadioSystemMode;
10471 };
10472
10473 // Structure to describe response TLV 0x13 for NASGetAcquisitionSystemMode()
10474 struct sNASGetAcquisitionSystemModeResponse_UMTS
10475 {
10476 eQMINASRadioSystemModes mRadioSystemMode;
10477 };
10478
10479 // Structure to describe response TLV 0x14 for NASGetAcquisitionSystemMode()
10480 struct sNASGetAcquisitionSystemModeResponse_LTE
10481 {
10482 eQMINASRadioSystemModes mRadioSystemMode;
10483 };
10484
10485 // Structure to describe response TLV 0x15 for NASGetAcquisitionSystemMode()
10486 struct sNASGetAcquisitionSystemModeResponse_TDSCDMA
10487 {
10488 eQMINASRadioSystemModes mRadioSystemMode;
10489 };
10490
10491 // Structure to describe request TLV 0x01 for NASSetRXDiversity()
10492 struct sNASSetRXDiversityRequest_Diversity
10493 {
10494 eQMINASRadioInterfaces mRadioInterface;
10495 bool mEnableRXChain0:1;
10496 bool mEnableRXChain1:1;
10497
10498 // Padding out 6 bits
10499 UINT8 mReserved1:6;
10500 };
10501
10502 // Structure to describe response TLV 0x10 for NASGetRXTXInfo()
10503 struct sNASGetRXTXInfoResponse_RX0Info
10504 {
10505 INT8 mRadioTuned;
10506 INT32 mRXPower;
10507 INT32 mEcIo;
10508 INT32 mRSCP;
10509 INT32 mRSRP;
10510 INT32 mPhase;
10511 };
10512
10513 // Structure to describe response TLV 0x11 for NASGetRXTXInfo()
10514 struct sNASGetRXTXInfoResponse_RX1Info
10515 {
10516 INT8 mRadioTuned;
10517 INT32 mRXPower;
10518 INT32 mEcIo;
10519 INT32 mRSCP;
10520 INT32 mRSRP;
10521 INT32 mPhase;
10522 };
10523
10524 // Structure to describe response TLV 0x12 for NASGetRXTXInfo()
10525 struct sNASGetRXTXInfoResponse_TXInfo
10526 {
10527 INT8 mInTraffic;
10528 INT32 mTXPower;
10529 };
10530
10531 // Structure to describe request TLV 0x01 for NASUpdateAKEYExtended()
10532 struct sNASUpdateAKEYExtendedRequest_AKEY
10533 {
10534 char mSPC[6];
10535 char mAKEY[26];
10536 };
10537
10538 // Structure to describe response TLV 0x10 for NASGetDualStandbyPreference()
10539 struct sNASGetDualStandbyPreferenceResponse_StandbyPreference
10540 {
10541 eQMINASStandbyPreference mStandbyPreference;
10542 };
10543
10544 // Structure to describe response TLV 0x11 for NASGetDualStandbyPreference()
10545 struct sNASGetDualStandbyPreferenceResponse_PrioritySubs
10546 {
10547 eQMINASSubscriptionType mSubscriptionType;
10548 };
10549
10550 // Structure to describe response TLV 0x12 for NASGetDualStandbyPreference()
10551 struct sNASGetDualStandbyPreferenceResponse_ActiveSubs
10552 {
10553 eQMINASSubscriptionType mSubscriptionType;
10554 };
10555
10556 // Structure to describe response TLV 0x13 for NASGetDualStandbyPreference()
10557 struct sNASGetDualStandbyPreferenceResponse_DefaultDataSubs
10558 {
10559 eQMINASSubscriptionType mSubscriptionType;
10560 };
10561
10562 // Structure to describe request TLV 0x01 for NASBlockLTEPLMN()
10563 struct sNASBlockLTEPLMNRequest_PLMN
10564 {
10565 UINT16 mMobileCountryCode;
10566 UINT16 mMobileNetworkCode;
10567 INT8 mMNCIncludesPCSDigit;
10568 };
10569
10570 // Structure to describe request TLV 0x10 for NASBlockLTEPLMN()
10571 struct sNASBlockLTEPLMNRequest_AbsoluteTime
10572 {
10573 UINT32 mBlockingIntervalInMilliseconds;
10574 };
10575
10576 // Structure to describe request TLV 0x11 for NASBlockLTEPLMN()
10577 struct sNASBlockLTEPLMNRequest_T3204Multiplier
10578 {
10579 UINT32 mBlockingIntervalAsT3204Multiplier;
10580 };
10581
10582 // Structure to describe request TLV 0x01 for NASUnblockLTEPLMN()
10583 struct sNASUnblockLTEPLMNRequest_PLMN
10584 {
10585 UINT16 mMobileCountryCode;
10586 UINT16 mMobileNetworkCode;
10587 INT8 mMNCIncludesPCSDigit;
10588 };
10589
10590 // Structure to describe indication TLV 0x10 for NAS CurrentPLMNNameIndication
10591 struct sNASCurrentPLMNNameIndication_PLMN
10592 {
10593 UINT16 mMobileCountryCode;
10594 UINT16 mMobileNetworkCode;
10595 INT8 mMNCIncludesPCSDigit;
10596 };
10597
10598 // Structure to describe indication TLV 0x11 for NAS CurrentPLMNNameIndication
10599 struct sNASCurrentPLMNNameIndication_SPN
10600 {
10601 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
10602 UINT8 mSPNLength;
10603
10604 // This array must be the size specified by mSPNLength
10605 // UINT8 mSPN[1];
10606 };
10607
10608 // Structure to describe indication TLV 0x12 for NAS CurrentPLMNNameIndication
10609 struct sNASCurrentPLMNNameIndication_ShortName
10610 {
10611 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
10612 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
10613 eQMINASPLMNNameSpareBits mPLMNSpareBits;
10614 UINT8 mPLMNShortLength;
10615
10616 // This array must be the size specified by mPLMNShortLength
10617 // UINT8 mPLMNShort[1];
10618 };
10619
10620 // Structure to describe indication TLV 0x13 for NAS CurrentPLMNNameIndication
10621 struct sNASCurrentPLMNNameIndication_LongName
10622 {
10623 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
10624 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
10625 eQMINASPLMNNameSpareBits mPLMNLongBits;
10626 UINT8 mPLMNLongLength;
10627
10628 // This array must be the size specified by mPLMNLongLength
10629 // UINT8 mPLMNLong[1];
10630 };
10631
10632 // Structure to describe request TLV 0x01 for NASConfigureEMBMS()
10633 struct sNASConfigureEMBMSRequest_Config
10634 {
10635 INT8 mEMBMSEnabled;
10636 };
10637
10638 // Structure to describe response TLV 0x10 for NASGetEMBMSStatus()
10639 struct sNASGetEMBMSStatusResponse_Status
10640 {
10641 INT8 mEMBMSEnabled;
10642 };
10643
10644 // Structure to describe indication TLV 0x01 for NAS EMBMSStatusIndication
10645 struct sNASEMBMSStatusIndication_Status
10646 {
10647 INT8 mEMBMSEnabled;
10648 };
10649
10650 // Structure to describe response TLV 0x10 for NASGetCDMAPositionInfo()
10651 struct sNASGetCDMAPositionInfoResponse_Info
10652 {
10653 INT8 mUEInIdleMode;
10654 UINT8 mBaseStationCount;
10655
10656 struct sBaseStation
10657 {
10658 eQMINASCDMAPilotTypes mPilotType;
10659 UINT16 mSystemID;
10660 UINT16 mNetworkID;
10661 UINT16 mBaseStationID;
10662 UINT16 mPilotPN;
10663 UINT16 mPilotStrength;
10664 INT32 mLatitude;
10665 INT32 mLongitude;
10666 UINT64 mGPSTimeInMilliseconds;
10667 };
10668
10669 // This array must be the size specified by mBaseStationCount
10670 // sBaseStation mBaseStations[1];
10671 };
10672
10673 // Structure to describe indication TLV 0x01 for NAS RFBandInfoIndication
10674 struct sNASRFBandInfoIndication_BandInfo
10675 {
10676 eQMINASRadioInterfaces mRadioInterface;
10677 eQMINASBandClasses mActiveBandClass;
10678 UINT16 mActiveChannel;
10679 };
10680
10681 // Structure to describe indication TLV 0x01 for NAS NetworkRejectIndication
10682 struct sNASNetworkRejectIndication_RadioInterface
10683 {
10684 eQMINASRadioInterfaces mRadioInterface;
10685 };
10686
10687 // Structure to describe indication TLV 0x03 for NAS NetworkRejectIndication
10688 struct sNASNetworkRejectIndication_RejectCause
10689 {
10690 UINT8 mRejectCause;
10691 };
10692
10693 // Structure to describe response TLV 0x10 for NASGetManagedRoamingConfig()
10694 struct sNASGetManagedRoamingConfigResponse_Config
10695 {
10696 INT8 mManagedRoamingSupported;
10697 };
10698
10699 // Structure to describe indication TLV 0x10 for NAS RTREConfigurationIndication
10700 struct sNASRTREConfigurationIndication_CurrentConfig
10701 {
10702 eQMINASRTREConfiguration mRTREConfiguration;
10703 };
10704
10705 // Structure to describe indication TLV 0x11 for NAS RTREConfigurationIndication
10706 struct sNASRTREConfigurationIndication_ConfigPreference
10707 {
10708 eQMINASRTREConfiguration mRTREPreference;
10709 };
10710
10711 // Structure to describe response TLV 0x10 for NASGetCentralizedEONSSupport()
10712 struct sNASGetCentralizedEONSSupportResponse_Status
10713 {
10714 INT8 mCentralizedEONSSupported;
10715 };
10716
10717 // Structure to describe request TLV 0x10 for NASConfigureSignalInfo2()
10718 struct sNASConfigureSignalInfo2Request_CDMARSSIThresholdList
10719 {
10720 UINT8 mThresholdCount;
10721
10722 // This array must be the size specified by mThresholdCount
10723 // INT16 mThreshold[1];
10724 };
10725
10726 // Structure to describe request TLV 0x11 for NASConfigureSignalInfo2()
10727 struct sNASConfigureSignalInfo2Request_CDMARSSIDelta
10728 {
10729 UINT16 mDelta;
10730 };
10731
10732 // Structure to describe request TLV 0x12 for NASConfigureSignalInfo2()
10733 struct sNASConfigureSignalInfo2Request_CDMAECIOThresholdList
10734 {
10735 UINT8 mThresholdCount;
10736
10737 // This array must be the size specified by mThresholdCount
10738 // INT16 mThreshold[1];
10739 };
10740
10741 // Structure to describe request TLV 0x13 for NASConfigureSignalInfo2()
10742 struct sNASConfigureSignalInfo2Request_CDMAECIODelta
10743 {
10744 UINT16 mDelta;
10745 };
10746
10747 // Structure to describe request TLV 0x14 for NASConfigureSignalInfo2()
10748 struct sNASConfigureSignalInfo2Request_HDRRSSIThresholdList
10749 {
10750 UINT8 mThresholdCount;
10751
10752 // This array must be the size specified by mThresholdCount
10753 // INT16 mThreshold[1];
10754 };
10755
10756 // Structure to describe request TLV 0x15 for NASConfigureSignalInfo2()
10757 struct sNASConfigureSignalInfo2Request_HDRRSSIDelta
10758 {
10759 UINT16 mDelta;
10760 };
10761
10762 // Structure to describe request TLV 0x16 for NASConfigureSignalInfo2()
10763 struct sNASConfigureSignalInfo2Request_HDRECIOThresholdList
10764 {
10765 UINT8 mThresholdCount;
10766
10767 // This array must be the size specified by mThresholdCount
10768 // INT16 mThreshold[1];
10769 };
10770
10771 // Structure to describe request TLV 0x17 for NASConfigureSignalInfo2()
10772 struct sNASConfigureSignalInfo2Request_HDRECIODelta
10773 {
10774 UINT16 mDelta;
10775 };
10776
10777 // Structure to describe request TLV 0x18 for NASConfigureSignalInfo2()
10778 struct sNASConfigureSignalInfo2Request_HDRSINRThresholdList
10779 {
10780 UINT8 mSINRThresholdCount;
10781
10782 // This array must be the size specified by mSINRThresholdCount
10783 // eQMINASSINRLevels mSINRThreshold[1];
10784 };
10785
10786 // Structure to describe request TLV 0x19 for NASConfigureSignalInfo2()
10787 struct sNASConfigureSignalInfo2Request_HDRSINRDelta
10788 {
10789 UINT16 mDelta;
10790 };
10791
10792 // Structure to describe request TLV 0x1A for NASConfigureSignalInfo2()
10793 struct sNASConfigureSignalInfo2Request_HDRIOThreshold
10794 {
10795 UINT8 mThresholdCount;
10796
10797 // This array must be the size specified by mThresholdCount
10798 // INT16 mThreshold[1];
10799 };
10800
10801 // Structure to describe request TLV 0x1B for NASConfigureSignalInfo2()
10802 struct sNASConfigureSignalInfo2Request_HDRIODelta
10803 {
10804 UINT16 mDelta;
10805 };
10806
10807 // Structure to describe request TLV 0x1C for NASConfigureSignalInfo2()
10808 struct sNASConfigureSignalInfo2Request_GSMRSSIThresholdList
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 0x1D for NASConfigureSignalInfo2()
10817 struct sNASConfigureSignalInfo2Request_GSMRSSIDelta
10818 {
10819 UINT16 mDelta;
10820 };
10821
10822 // Structure to describe request TLV 0x1E for NASConfigureSignalInfo2()
10823 struct sNASConfigureSignalInfo2Request_WCDMARSSIThresholdList
10824 {
10825 UINT8 mThresholdCount;
10826
10827 // This array must be the size specified by mThresholdCount
10828 // INT16 mThreshold[1];
10829 };
10830
10831 // Structure to describe request TLV 0x1F for NASConfigureSignalInfo2()
10832 struct sNASConfigureSignalInfo2Request_WCDMARSSIDelta
10833 {
10834 UINT16 mDelta;
10835 };
10836
10837 // Structure to describe request TLV 0x20 for NASConfigureSignalInfo2()
10838 struct sNASConfigureSignalInfo2Request_WCDMAECIOThresholdList
10839 {
10840 UINT8 mThresholdCount;
10841
10842 // This array must be the size specified by mThresholdCount
10843 // INT16 mThreshold[1];
10844 };
10845
10846 // Structure to describe request TLV 0x21 for NASConfigureSignalInfo2()
10847 struct sNASConfigureSignalInfo2Request_WCDMAECIODelta
10848 {
10849 UINT16 mDelta;
10850 };
10851
10852 // Structure to describe request TLV 0x22 for NASConfigureSignalInfo2()
10853 struct sNASConfigureSignalInfo2Request_LTERSSIThresholdList
10854 {
10855 UINT8 mThresholdCount;
10856
10857 // This array must be the size specified by mThresholdCount
10858 // INT16 mThreshold[1];
10859 };
10860
10861 // Structure to describe request TLV 0x23 for NASConfigureSignalInfo2()
10862 struct sNASConfigureSignalInfo2Request_LTERSSIDelta
10863 {
10864 UINT16 mDelta;
10865 };
10866
10867 // Structure to describe request TLV 0x24 for NASConfigureSignalInfo2()
10868 struct sNASConfigureSignalInfo2Request_LTESNRThresholdList
10869 {
10870 UINT8 mThresholdCount;
10871
10872 // This array must be the size specified by mThresholdCount
10873 // INT16 mThreshold[1];
10874 };
10875
10876 // Structure to describe request TLV 0x25 for NASConfigureSignalInfo2()
10877 struct sNASConfigureSignalInfo2Request_LTESNRDelta
10878 {
10879 UINT16 mDelta;
10880 };
10881
10882 // Structure to describe request TLV 0x26 for NASConfigureSignalInfo2()
10883 struct sNASConfigureSignalInfo2Request_LTERSRQThresholdList
10884 {
10885 UINT8 mThresholdCount;
10886
10887 // This array must be the size specified by mThresholdCount
10888 // INT16 mThreshold[1];
10889 };
10890
10891 // Structure to describe request TLV 0x27 for NASConfigureSignalInfo2()
10892 struct sNASConfigureSignalInfo2Request_LTERSRQDelta
10893 {
10894 UINT16 mDelta;
10895 };
10896
10897 // Structure to describe request TLV 0x28 for NASConfigureSignalInfo2()
10898 struct sNASConfigureSignalInfo2Request_LTERSRPThresholdList
10899 {
10900 UINT8 mThresholdCount;
10901
10902 // This array must be the size specified by mThresholdCount
10903 // INT16 mThreshold[1];
10904 };
10905
10906 // Structure to describe request TLV 0x29 for NASConfigureSignalInfo2()
10907 struct sNASConfigureSignalInfo2Request_LTERSRPDelta
10908 {
10909 UINT16 mDelta;
10910 };
10911
10912 // Structure to describe request TLV 0x2A for NASConfigureSignalInfo2()
10913 struct sNASConfigureSignalInfo2Request_LTESignalReportConfig
10914 {
10915 eQMINASReportRate mReportRate;
10916 eQMINASAveragePeriod mAveragePeriod;
10917 };
10918
10919 // Structure to describe request TLV 0x2B for NASConfigureSignalInfo2()
10920 struct sNASConfigureSignalInfo2Request_TDSCDMARSCPThresholdList
10921 {
10922 UINT8 mThresholdCount;
10923
10924 // This array must be the size specified by mThresholdCount
10925 // INT16 mThreshold[1];
10926 };
10927
10928 // Structure to describe request TLV 0x2C for NASConfigureSignalInfo2()
10929 struct sNASConfigureSignalInfo2Request_TDSCDMARSCPDelta
10930 {
10931 UINT16 mDelta;
10932 };
10933
10934 // Structure to describe response TLV 0x10 for NASGetTDSCDMACellInfo()
10935 struct sNASGetTDSCDMACellInfoResponse_CellInfo
10936 {
10937 // Bitfield arrays are not possible in c, unrolling the array
10938 UINT8 mMobileCountryCode0:4;
10939 UINT8 mMobileCountryCode1:4;
10940 UINT8 mMobileCountryCode2:4;
10941
10942 // Bitfield arrays are not possible in c, unrolling the array
10943 UINT8 mMobileNetworkCode0:4;
10944 UINT8 mMobileNetworkCode1:4;
10945 UINT8 mMobileNetworkCode2:4;
10946
10947 INT8 mMNCIncludesPCSDigit;
10948 UINT16 mLocationAreaCode;
10949 UINT16 mAbsoluteRFChannelNumber;
10950 UINT32 mCellID;
10951 UINT8 mCellParameterID;
10952 UINT8 mPathLossdB;
10953 float mTimingAdvanceSeconds;
10954 float mRSCPdBm;
10955 };
10956
10957 // Structure to describe response TLV 0x11 for NASGetTDSCDMACellInfo()
10958 struct sNASGetTDSCDMACellInfoResponse_NeighborCellInfo
10959 {
10960 UINT8 mNeighborCellCount;
10961
10962 struct sNeighborCell
10963 {
10964 UINT16 mAbsoluteRFChannelNumber;
10965 UINT8 mCellParameterID;
10966 float mRSCPdBm;
10967 };
10968
10969 // This array must be the size specified by mNeighborCellCount
10970 // sNeighborCell mNeighborCells[1];
10971 };
10972
10973 // Structure to describe request TLV 0x10 for WMSSetEventReport()
10974 struct sWMSSetEventReportRequest_NewMTMessageIndicator
10975 {
10976 INT8 mReportNewMTMessages;
10977 };
10978
10979 // Structure to describe indication TLV 0x10 for WMS EventReport
10980 struct sWMSEventReportIndication_ReceivedMTMessage
10981 {
10982 eQMIWMSStorageTypes mStorageType;
10983 UINT32 mStorageIndex;
10984 };
10985
10986 // Structure to describe indication TLV 0x11 for WMS EventReport
10987 struct sWMSEventReportIndication_TransferRouteMTMessage
10988 {
10989 INT8 mACKRequired;
10990 UINT32 mTransactionID;
10991 eQMIWMSMessageFormats mMessageFormat;
10992 UINT16 mRawMessageLength;
10993
10994 // This array must be the size specified by mRawMessageLength
10995 // UINT8 mRawMessage[1];
10996 };
10997
10998 // Structure to describe indication TLV 0x12 for WMS EventReport
10999 struct sWMSEventReportIndication_MessageMode
11000 {
11001 eQMIWMSMessageProtocols mMode;
11002 };
11003
11004 // Structure to describe indication TLV 0x13 for WMS EventReport
11005 struct sWMSEventReportIndication_ReceivedETWSMessage
11006 {
11007 eQMIWMSNotificationType mNotificationType;
11008 UINT16 mRawMessageLength;
11009
11010 // This array must be the size specified by mRawMessageLength
11011 // UINT8 mRawMessage[1];
11012 };
11013
11014 // Structure to describe indication TLV 0x14 for WMS EventReport
11015 struct sWMSEventReportIndication_ReceivedETWSPLMNInfo
11016 {
11017 UINT16 mMobileCountryCode;
11018 UINT16 mMobileNetworkCode;
11019 };
11020
11021 // Structure to describe indication TLV 0x15 for WMS EventReport
11022 struct sWMSEventReportIndication_ReceivedSMSCAddress
11023 {
11024 UINT8 mSMSCAddressLength;
11025
11026 // This array must be the size specified by mSMSCAddressLength
11027 // char mSMSCAddress[1];
11028 };
11029
11030 // Structure to describe indication TLV 0x16 for WMS EventReport
11031 struct sWMSEventReportIndication_SMSOnIMS
11032 {
11033 INT8 mMessageReceivedFromIMS;
11034 };
11035
11036 // Structure to describe request TLV 0x01 for WMSRawSend()
11037 struct sWMSRawSendRequest_MessageData
11038 {
11039 eQMIWMSMessageFormats mMessageFormat;
11040 UINT16 mRawMessageLength;
11041
11042 // This array must be the size specified by mRawMessageLength
11043 // UINT8 mRawMessage[1];
11044 };
11045
11046 // Structure to describe request TLV 0x10 for WMSRawSend()
11047 struct sWMSRawSendRequest_ForceOnDC
11048 {
11049 INT8 mForceSendOnDC;
11050 eQMIWMSCDMAServiceOptions mServiceOption;
11051 };
11052
11053 // Structure to describe request TLV 0x11 for WMSRawSend()
11054 struct sWMSRawSendRequest_FollowOnDC
11055 {
11056 INT8 mDoNotDisconnectDC;
11057 };
11058
11059 // Structure to describe request TLV 0x12 for WMSRawSend()
11060 struct sWMSRawSendRequest_LinkControl
11061 {
11062 UINT8 mLinkTimerInSeconds;
11063 };
11064
11065 // Structure to describe request TLV 0x13 for WMSRawSend()
11066 struct sWMSRawSendRequest_SMSOnIMS
11067 {
11068 INT8 mMessageToBeSentOnIMS;
11069 };
11070
11071 // Structure to describe request TLV 0x14 for WMSRawSend()
11072 struct sWMSRawSendRequest_RetryMessage
11073 {
11074 INT8 mMessageIsARetry;
11075 };
11076
11077 // Structure to describe request TLV 0x15 for WMSRawSend()
11078 struct sWMSRawSendRequest_RetryMessageID
11079 {
11080 UINT32 mMessageRetryID;
11081 };
11082
11083 // Structure to describe response TLV 0x01 for WMSRawSend()
11084 struct sWMSRawSendResponse_MessageID
11085 {
11086 UINT16 mMessageID;
11087 };
11088
11089 // Structure to describe response TLV 0x10 for WMSRawSend()
11090 struct sWMSRawSendResponse_CauseCode
11091 {
11092 UINT16 mCauseCode;
11093 };
11094
11095 // Structure to describe response TLV 0x11 for WMSRawSend()
11096 struct sWMSRawSendResponse_ErrorClass
11097 {
11098 eQMIWMSErrorClasses mErrorClass;
11099 };
11100
11101 // Structure to describe response TLV 0x12 for WMSRawSend()
11102 struct sWMSRawSendResponse_CauseInfo
11103 {
11104 UINT16 mGSMWCDMARPCause;
11105 UINT8 mGSMWCDMATPCause;
11106 };
11107
11108 // Structure to describe response TLV 0x13 for WMSRawSend()
11109 struct sWMSRawSendResponse_MessageDeliveryFailureType
11110 {
11111 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11112 };
11113
11114 // Structure to describe response TLV 0x14 for WMSRawSend()
11115 struct sWMSRawSendResponse_MessageDeliveryFailureCause
11116 {
11117 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11118 };
11119
11120 // Structure to describe response TLV 0x15 for WMSRawSend()
11121 struct sWMSRawSendResponse_CallControlModifiedInfo
11122 {
11123 UINT8 mAlphaIDLength;
11124
11125 // This array must be the size specified by mAlphaIDLength
11126 // UINT8 mAlphaID[1];
11127 };
11128
11129 // Structure to describe request TLV 0x01 for WMSRawWrite()
11130 struct sWMSRawWriteRequest_MessageData
11131 {
11132 eQMIWMSStorageTypes mStorageType;
11133 eQMIWMSMessageFormats mMessageFormat;
11134 UINT16 mRawMessageLength;
11135
11136 // This array must be the size specified by mRawMessageLength
11137 // UINT8 mRawMessage[1];
11138 };
11139
11140 // Structure to describe request TLV 0x10 for WMSRawWrite()
11141 struct sWMSRawWriteRequest_MessageTag
11142 {
11143 eQMIWMSMessageTags mMessageTag;
11144 };
11145
11146 // Structure to describe response TLV 0x01 for WMSRawWrite()
11147 struct sWMSRawWriteResponse_MessageIndex
11148 {
11149 UINT32 mStorageIndex;
11150 };
11151
11152 // Structure to describe request TLV 0x01 for WMSRawRead()
11153 struct sWMSRawReadRequest_MessageIndex
11154 {
11155 eQMIWMSStorageTypes mStorageType;
11156 UINT32 mStorageIndex;
11157 };
11158
11159 // Structure to describe request TLV 0x10 for WMSRawRead()
11160 struct sWMSRawReadRequest_MessageMode
11161 {
11162 eQMIWMSMessageProtocols mMode;
11163 };
11164
11165 // Structure to describe request TLV 0x11 for WMSRawRead()
11166 struct sWMSRawReadRequest_SMSOnIMS
11167 {
11168 INT8 mMessageToBeReadFromIMS;
11169 };
11170
11171 // Structure to describe response TLV 0x01 for WMSRawRead()
11172 struct sWMSRawReadResponse_MessageData
11173 {
11174 eQMIWMSMessageTags mMessageTag;
11175 eQMIWMSMessageFormats mMessageFormat;
11176 UINT16 mRawMessageLength;
11177
11178 // This array must be the size specified by mRawMessageLength
11179 // UINT8 mRawMessage[1];
11180 };
11181
11182 // Structure to describe request TLV 0x01 for WMSModifyTag()
11183 struct sWMSModifyTagRequest_MessageTag
11184 {
11185 eQMIWMSStorageTypes mStorageType;
11186 UINT32 mStorageIndex;
11187 eQMIWMSMessageTags mMessageTag;
11188 };
11189
11190 // Structure to describe request TLV 0x10 for WMSModifyTag()
11191 struct sWMSModifyTagRequest_MessageMode
11192 {
11193 eQMIWMSMessageProtocols mMode;
11194 };
11195
11196 // Structure to describe request TLV 0x01 for WMSDelete()
11197 struct sWMSDeleteRequest_MemoryStorage
11198 {
11199 eQMIWMSStorageTypes mStorageType;
11200 };
11201
11202 // Structure to describe request TLV 0x10 for WMSDelete()
11203 struct sWMSDeleteRequest_MessageIndex
11204 {
11205 UINT32 mStorageIndex;
11206 };
11207
11208 // Structure to describe request TLV 0x11 for WMSDelete()
11209 struct sWMSDeleteRequest_MessageTag
11210 {
11211 eQMIWMSMessageTags mMessageTag;
11212 };
11213
11214 // Structure to describe request TLV 0x12 for WMSDelete()
11215 struct sWMSDeleteRequest_MessageMode
11216 {
11217 eQMIWMSMessageProtocols mMode;
11218 };
11219
11220 // Structure to describe response TLV 0x01 for WMSGetMessageProtocol()
11221 struct sWMSGetMessageProtocolResponse_MessageProtocol
11222 {
11223 eQMIWMSMessageProtocols mMode;
11224 };
11225
11226 // Structure to describe request TLV 0x01 for WMSListMessages()
11227 struct sWMSListMessagesRequest_MemoryStorage
11228 {
11229 eQMIWMSStorageTypes mStorageType;
11230 };
11231
11232 // Structure to describe request TLV 0x10 for WMSListMessages()
11233 struct sWMSListMessagesRequest_MessageTag
11234 {
11235 eQMIWMSMessageTags mMessageTag;
11236 };
11237
11238 // Structure to describe request TLV 0x11 for WMSListMessages()
11239 struct sWMSListMessagesRequest_MessageMode
11240 {
11241 eQMIWMSMessageProtocols mMode;
11242 };
11243
11244 // Structure to describe response TLV 0x01 for WMSListMessages()
11245 struct sWMSListMessagesResponse_MessageList
11246 {
11247 UINT32 mNumberOfMessages;
11248
11249 struct sMessage
11250 {
11251 UINT32 mStorageIndex;
11252 eQMIWMSMessageTags mMessageTag;
11253 };
11254
11255 // This array must be the size specified by mNumberOfMessages
11256 // sMessage mMessages[1];
11257 };
11258
11259 // Structure to describe request TLV 0x01 for WMSSetRoutes()
11260 struct sWMSSetRoutesRequest_RouteList
11261 {
11262 UINT16 mNumberOfRoutes;
11263
11264 struct sRoute
11265 {
11266 eQMIWMSMessageTypes mMessageType;
11267 eQMIWMSMessageClasses mMessageClass;
11268 eQMIWMSStorageTypes mStorageType;
11269 eQMIWMSReceiptActions mReceiptAction;
11270 };
11271
11272 // This array must be the size specified by mNumberOfRoutes
11273 // sRoute mRoutes[1];
11274 };
11275
11276 // Structure to describe request TLV 0x10 for WMSSetRoutes()
11277 struct sWMSSetRoutesRequest_TransferStatusReport
11278 {
11279 INT8 mTransferStatusReports;
11280 };
11281
11282 // Structure to describe response TLV 0x01 for WMSGetRoutes()
11283 struct sWMSGetRoutesResponse_RouteList
11284 {
11285 UINT16 mNumberOfRoutes;
11286
11287 struct sRoute
11288 {
11289 eQMIWMSMessageTypes mMessageType;
11290 eQMIWMSMessageClasses mMessageClass;
11291 eQMIWMSStorageTypes mStorageType;
11292 eQMIWMSRouteValues mRouteValue;
11293 };
11294
11295 // This array must be the size specified by mNumberOfRoutes
11296 // sRoute mRoutes[1];
11297 };
11298
11299 // Structure to describe response TLV 0x10 for WMSGetRoutes()
11300 struct sWMSGetRoutesResponse_TransferStatusReport
11301 {
11302 INT8 mTransferStatusReports;
11303 };
11304
11305 // Structure to describe response TLV 0x01 for WMSGetSMSCAddress()
11306 struct sWMSGetSMSCAddressResponse_Address
11307 {
11308 char mSMSCAddressType[3];
11309 UINT8 mSMSCAddressLength;
11310
11311 // This array must be the size specified by mSMSCAddressLength
11312 // char mSMSCAddress[1];
11313 };
11314
11315 // Structure to describe request TLV 0x01 for WMSSetSMSCAddress()
11316 struct sWMSSetSMSCAddressRequest_Address
11317 {
11318 // String is variable length, but must be size of the container
11319 // char mSMSCAddress[1];
11320 };
11321
11322 // Structure to describe request TLV 0x10 for WMSSetSMSCAddress()
11323 struct sWMSSetSMSCAddressRequest_AddressType
11324 {
11325 // String is variable length, but must be size of the container
11326 // char mSMSCAddressType[1];
11327 };
11328
11329 // Structure to describe request TLV 0x01 for WMSGetStorageMaxSize()
11330 struct sWMSGetStorageMaxSizeRequest_MemoryStorage
11331 {
11332 eQMIWMSStorageTypes mStorageType;
11333 };
11334
11335 // Structure to describe request TLV 0x10 for WMSGetStorageMaxSize()
11336 struct sWMSGetStorageMaxSizeRequest_MessageMode
11337 {
11338 eQMIWMSMessageProtocols mMode;
11339 };
11340
11341 // Structure to describe response TLV 0x01 for WMSGetStorageMaxSize()
11342 struct sWMSGetStorageMaxSizeResponse_MaxSize
11343 {
11344 UINT32 mMaxStorageSizeInMessages;
11345 };
11346
11347 // Structure to describe response TLV 0x10 for WMSGetStorageMaxSize()
11348 struct sWMSGetStorageMaxSizeResponse_AvailableSize
11349 {
11350 UINT32 mFreeStorageSizeInMessages;
11351 };
11352
11353 // Structure to describe request TLV 0x01 for WMSSendACK()
11354 struct sWMSSendACKRequest_ACK
11355 {
11356 UINT32 mTransactionID;
11357 eQMIWMSMessageProtocols mMode;
11358 INT8 mProcessedSuccessfully;
11359 };
11360
11361 // Structure to describe request TLV 0x10 for WMSSendACK()
11362 struct sWMSSendACKRequest_3GPP2FailureInfo
11363 {
11364 eQMIWMSErrorClasses2 mErrorClass;
11365 UINT8 mTransportLayerStatus;
11366 };
11367
11368 // Structure to describe request TLV 0x11 for WMSSendACK()
11369 struct sWMSSendACKRequest_3GPPFailureInfo
11370 {
11371 UINT8 mGSMWCDMARPCause;
11372 UINT8 mGSMWCDMATPCause;
11373 };
11374
11375 // Structure to describe request TLV 0x12 for WMSSendACK()
11376 struct sWMSSendACKRequest_SMSOnIMS
11377 {
11378 INT8 mACKToBeSentOnIMS;
11379 };
11380
11381 // Structure to describe response TLV 0x10 for WMSSendACK()
11382 struct sWMSSendACKResponse_ACKFailureCause
11383 {
11384 eQMIWMSACKFailureCause mACKFailureCause;
11385 };
11386
11387 // Structure to describe request TLV 0x01 for WMSSetRetryPeriod()
11388 struct sWMSSetRetryPeriodRequest_Period
11389 {
11390 UINT32 mRetryPeriodInSeconds;
11391 };
11392
11393 // Structure to describe request TLV 0x01 for WMSSetRetryInterval()
11394 struct sWMSSetRetryIntervalRequest_Interval
11395 {
11396 UINT32 mRetryIntervalInSeconds;
11397 };
11398
11399 // Structure to describe request TLV 0x01 for WMSSetDCDisconnectTimer()
11400 struct sWMSSetDCDisconnectTimerRequest_Timer
11401 {
11402 UINT32 mDCDisconnectTimerInSeconds;
11403 };
11404
11405 // Structure to describe request TLV 0x01 for WMSSetMemoryStatus()
11406 struct sWMSSetMemoryStatusRequest_Status
11407 {
11408 INT8 mMemoryIsAvailable;
11409 };
11410
11411 // Structure to describe request TLV 0x01 for WMSSetBroadcastActivation()
11412 struct sWMSSetBroadcastActivationRequest_BCInfo
11413 {
11414 eQMIWMSMessageProtocols mMode;
11415 INT8 mActivateBroadcast;
11416 };
11417
11418 // Structure to describe request TLV 0x10 for WMSSetBroadcastActivation()
11419 struct sWMSSetBroadcastActivationRequest_BCFiltering
11420 {
11421 INT8 mNoBroadcastMessageFiltering;
11422 };
11423
11424 // Structure to describe request TLV 0x01 for WMSSetBroadcastConfig()
11425 struct sWMSSetBroadcastConfigRequest_Mode
11426 {
11427 eQMIWMSMessageProtocols mMode;
11428 };
11429
11430 // Structure to describe request TLV 0x10 for WMSSetBroadcastConfig()
11431 struct sWMSSetBroadcastConfigRequest_3GPPInfo
11432 {
11433 UINT16 mNumberOfInstances;
11434
11435 struct sInstance
11436 {
11437 UINT16 mMessageIDStart;
11438 UINT16 mMessageIDEnd;
11439 INT8 mSelected;
11440 };
11441
11442 // This array must be the size specified by mNumberOfInstances
11443 // sInstance mInstances[1];
11444 };
11445
11446 // Structure to describe request TLV 0x11 for WMSSetBroadcastConfig()
11447 struct sWMSSetBroadcastConfigRequest_3GPP2Info
11448 {
11449 UINT16 mNumberOfInstances;
11450
11451 struct sInstance
11452 {
11453 UINT16 mServiceCategory;
11454 eQMIWMSLanguage mLanguage;
11455 INT8 mSelected;
11456 };
11457
11458 // This array must be the size specified by mNumberOfInstances
11459 // sInstance mInstances[1];
11460 };
11461
11462 // Structure to describe request TLV 0x01 for WMSGetBroadcastConfig()
11463 struct sWMSGetBroadcastConfigRequest_Mode
11464 {
11465 eQMIWMSMessageProtocols mMode;
11466 };
11467
11468 // Structure to describe response TLV 0x10 for WMSGetBroadcastConfig()
11469 struct sWMSGetBroadcastConfigResponse_3GPPInfo
11470 {
11471 INT8 mActivated;
11472 UINT16 mNumberOfInstances;
11473
11474 struct sInstance
11475 {
11476 UINT16 mMessageIDStart;
11477 UINT16 mMessageIDEnd;
11478 INT8 mSelected;
11479 };
11480
11481 // This array must be the size specified by mNumberOfInstances
11482 // sInstance mInstances[1];
11483 };
11484
11485 // Structure to describe response TLV 0x11 for WMSGetBroadcastConfig()
11486 struct sWMSGetBroadcastConfigResponse_3GPP2Info
11487 {
11488 INT8 mActivated;
11489 UINT16 mNumberOfInstances;
11490
11491 struct sInstance
11492 {
11493 UINT16 mServiceCategory;
11494 eQMIWMSLanguage mLanguage;
11495 INT8 mSelected;
11496 };
11497
11498 // This array must be the size specified by mNumberOfInstances
11499 // sInstance mInstances[1];
11500 };
11501
11502 // Structure to describe indication TLV 0x01 for WMS MemoryFullIndication
11503 struct sWMSMemoryFullIndication_Info
11504 {
11505 eQMIWMSStorageTypes mStorageType;
11506 eQMIWMSMessageProtocols mMode;
11507 };
11508
11509 // Structure to describe response TLV 0x01 for WMSGetDomainPreference()
11510 struct sWMSGetDomainPreferenceResponse_Pref
11511 {
11512 eQMIWMSGSMWCDMADomains mDomainPreference;
11513 };
11514
11515 // Structure to describe request TLV 0x01 for WMSSetDomainPreference()
11516 struct sWMSSetDomainPreferenceRequest_Pref
11517 {
11518 eQMIWMSGSMWCDMADomains mDomainPreference;
11519 };
11520
11521 // Structure to describe request TLV 0x01 for WMSSendFromMemoryStore()
11522 struct sWMSSendFromMemoryStoreRequest_Info
11523 {
11524 eQMIWMSStorageTypes mStorageType;
11525 UINT32 mStorageIndex;
11526 eQMIWMSMessageProtocols mMode;
11527 };
11528
11529 // Structure to describe request TLV 0x10 for WMSSendFromMemoryStore()
11530 struct sWMSSendFromMemoryStoreRequest_SMSOnIMS
11531 {
11532 INT8 mMessageToBeSentOnIMS;
11533 };
11534
11535 // Structure to describe response TLV 0x10 for WMSSendFromMemoryStore()
11536 struct sWMSSendFromMemoryStoreResponse_MessageID
11537 {
11538 UINT16 mMessageID;
11539 };
11540
11541 // Structure to describe response TLV 0x11 for WMSSendFromMemoryStore()
11542 struct sWMSSendFromMemoryStoreResponse_CauseCode
11543 {
11544 UINT16 mCauseCode;
11545 };
11546
11547 // Structure to describe response TLV 0x12 for WMSSendFromMemoryStore()
11548 struct sWMSSendFromMemoryStoreResponse_ErrorClass
11549 {
11550 eQMIWMSErrorClasses mErrorClass;
11551 };
11552
11553 // Structure to describe response TLV 0x13 for WMSSendFromMemoryStore()
11554 struct sWMSSendFromMemoryStoreResponse_CauseInfo
11555 {
11556 UINT16 mGSMWCDMARPCause;
11557 UINT8 mGSMWCDMATPCause;
11558 };
11559
11560 // Structure to describe response TLV 0x14 for WMSSendFromMemoryStore()
11561 struct sWMSSendFromMemoryStoreResponse_MessageDeliveryFailureType
11562 {
11563 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11564 };
11565
11566 // Structure to describe response TLV 0x01 for WMSGetWaitingMessage()
11567 struct sWMSGetWaitingMessageResponse_WaitingMessageInfo
11568 {
11569 UINT8 mNumberOfWaitingMessages;
11570 eQMIWMSWaitingMessageType mWaitingMessageType;
11571 INT8 mActiveIndication;
11572 UINT8 mMessageCount;
11573 };
11574
11575 // Structure to describe indication TLV 0x01 for WMS WaitingMessageIndication
11576 struct sWMSWaitingMessageIndication_WaitingMessageInfo
11577 {
11578 UINT8 mNumberOfWaitingMessages;
11579 eQMIWMSWaitingMessageType mWaitingMessageType;
11580 INT8 mActiveIndication;
11581 UINT8 mMessageCount;
11582 };
11583
11584 // Structure to describe request TLV 0x01 for WMSSetPrimaryClient()
11585 struct sWMSSetPrimaryClientRequest_PrimaryClientInfo
11586 {
11587 INT8 mPrimaryClient;
11588 };
11589
11590 // Structure to describe indication TLV 0x01 for WMS SMSCAddressIndication
11591 struct sWMSSMSCAddressIndication_Address
11592 {
11593 char mSMSCAddressType[3];
11594 UINT8 mSMSCAddressLength;
11595
11596 // This array must be the size specified by mSMSCAddressLength
11597 // char mSMSCAddress[1];
11598 };
11599
11600 // Structure to describe request TLV 0x10 for WMSIndicatorRegistration()
11601 struct sWMSIndicatorRegistrationRequest_TransportLayerInfoEvents
11602 {
11603 INT8 mTransportLayerInfoEvents;
11604 };
11605
11606 // Structure to describe request TLV 0x11 for WMSIndicatorRegistration()
11607 struct sWMSIndicatorRegistrationRequest_NetworkRegistrationInfoEvents
11608 {
11609 INT8 mNetworkRegistrationInfoEvents;
11610 };
11611
11612 // Structure to describe request TLV 0x12 for WMSIndicatorRegistration()
11613 struct sWMSIndicatorRegistrationRequest_CallStatusInfoEvents
11614 {
11615 INT8 mCallStatusInfoEvents;
11616 };
11617
11618 // Structure to describe request TLV 0x13 for WMSIndicatorRegistration()
11619 struct sWMSIndicatorRegistrationRequest_ServiceReadyEvents
11620 {
11621 INT8 mServiceReadyEvents;
11622 };
11623
11624 // Structure to describe request TLV 0x14 for WMSIndicatorRegistration()
11625 struct sWMSIndicatorRegistrationRequest_BroadcastConfigEvents
11626 {
11627 INT8 mBroadcastConfigEvents;
11628 };
11629
11630 // Structure to describe response TLV 0x10 for WMSGetTransportInfoLayer()
11631 struct sWMSGetTransportInfoLayerResponse_TransportLayerRegistrationInfo
11632 {
11633 INT8 mRegistered;
11634 };
11635
11636 // Structure to describe response TLV 0x11 for WMSGetTransportLayerInfo()
11637 struct sWMSGetTransportLayerInfoResponse_TransportLayerInfo
11638 {
11639 eQMIWMSTransportType mTransportType;
11640 eQMIWMSTransportCapability mTransportCapability;
11641 };
11642
11643 // Structure to describe indication TLV 0x01 for WMS TransportLayerInfoIndication
11644 struct sWMSTransportLayerInfoIndication_TransportLayerRegInfo
11645 {
11646 INT8 mRegistered;
11647 };
11648
11649 // Structure to describe indication TLV 0x10 for WMS TransportLayerInfoIndication
11650 struct sWMSTransportLayerInfoIndication_TransportLayerInfo
11651 {
11652 eQMIWMSTransportType mTransportType;
11653 eQMIWMSTransportCapability mTransportCapability;
11654 };
11655
11656 // Structure to describe response TLV 0x10 for WMSGetNetworkRegistrationInfo()
11657 struct sWMSGetNetworkRegistrationInfoResponse_NetworkRegistrationInfo
11658 {
11659 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
11660 };
11661
11662 // Structure to describe indication TLV 0x01 for WMS NetworkRegistrationInfoIndication
11663 struct sWMSNetworkRegistrationInfoIndication_NetworkRegistrationInfo
11664 {
11665 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
11666 };
11667
11668 // Structure to describe request TLV 0x01 for WMSBindSubscription()
11669 struct sWMSBindSubscriptionRequest_SubscriptionType
11670 {
11671 eQMIWMSSubscriptionType mSubscriptionType;
11672 };
11673
11674 // Structure to describe response TLV 0x10 for WMSGetIndicatorRegistration()
11675 struct sWMSGetIndicatorRegistrationResponse_TransportLayerInfoEvents
11676 {
11677 INT8 mTransportLayerInfoEvents;
11678 };
11679
11680 // Structure to describe response TLV 0x11 for WMSGetIndicatorRegistration()
11681 struct sWMSGetIndicatorRegistrationResponse_NetworkRegistrationInfoEvents
11682 {
11683 INT8 mNetworkRegistrationInfoEvents;
11684 };
11685
11686 // Structure to describe response TLV 0x12 for WMSGetIndicatorRegistration()
11687 struct sWMSGetIndicatorRegistrationResponse_CallStatusInfoEvents
11688 {
11689 INT8 mCallStatusInfoEvents;
11690 };
11691
11692 // Structure to describe response TLV 0x13 for WMSGetIndicatorRegistration()
11693 struct sWMSGetIndicatorRegistrationResponse_ServiceReadyEvents
11694 {
11695 INT8 mServiceReadyEvents;
11696 };
11697
11698 // Structure to describe response TLV 0x14 for WMSGetIndicatorRegistration()
11699 struct sWMSGetIndicatorRegistrationResponse_BroadcastConfigEvents
11700 {
11701 INT8 mBroadcastConfigEvents;
11702 };
11703
11704 // Structure to describe request TLV 0x01 for WMSGetSMSParameters()
11705 struct sWMSGetSMSParametersRequest_MessageMode
11706 {
11707 eQMIWMSSMSMessageMode mSMSMessageMode;
11708 };
11709
11710 // Structure to describe response TLV 0x10 for WMSGetSMSParameters()
11711 struct sWMSGetSMSParametersResponse_DestinationAddress
11712 {
11713 UINT8 mDestinationAddressLength;
11714
11715 // This array must be the size specified by mDestinationAddressLength
11716 // UINT8 mDestinationAddress[1];
11717 };
11718
11719 // Structure to describe response TLV 0x11 for WMSGetSMSParameters()
11720 struct sWMSGetSMSParametersResponse_ProtocolIdentifierData
11721 {
11722 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
11723 };
11724
11725 // Structure to describe response TLV 0x12 for WMSGetSMSParameters()
11726 struct sWMSGetSMSParametersResponse_DataCodingScheme
11727 {
11728 UINT8 mDataCodingScheme;
11729 };
11730
11731 // Structure to describe response TLV 0x13 for WMSGetSMSParameters()
11732 struct sWMSGetSMSParametersResponse_ValidityPeriod
11733 {
11734 UINT8 mValidityPeriod;
11735 };
11736
11737 // Structure to describe request TLV 0x01 for WMSSetSMSParameters()
11738 struct sWMSSetSMSParametersRequest_MessageMode
11739 {
11740 eQMIWMSSMSMessageMode mSMSMessageMode;
11741 };
11742
11743 // Structure to describe request TLV 0x10 for WMSSetSMSParameters()
11744 struct sWMSSetSMSParametersRequest_DestinationAddress
11745 {
11746 UINT8 mDestinationAddressLength;
11747
11748 // This array must be the size specified by mDestinationAddressLength
11749 // UINT8 mDestinationAddress[1];
11750 };
11751
11752 // Structure to describe request TLV 0x11 for WMSSetSMSParameters()
11753 struct sWMSSetSMSParametersRequest_ProtocolIdentifierData
11754 {
11755 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
11756 };
11757
11758 // Structure to describe request TLV 0x12 for WMSSetSMSParameters()
11759 struct sWMSSetSMSParametersRequest_DataCodingScheme
11760 {
11761 UINT8 mDataCodingScheme;
11762 };
11763
11764 // Structure to describe request TLV 0x13 for WMSSetSMSParameters()
11765 struct sWMSSetSMSParametersRequest_ValidityPeriod
11766 {
11767 UINT8 mValidityPeriod;
11768 };
11769
11770 // Structure to describe indication TLV 0x01 for WMS CallStatusIndication
11771 struct sWMSCallStatusIndication_SMSCallStatusInfo
11772 {
11773 eQMIWMSSMSCallStatus mSMSCallStatus;
11774 };
11775
11776 // Structure to describe response TLV 0x10 for WMSGetDomainPreferenceConfig()
11777 struct sWMSGetDomainPreferenceConfigResponse_LTEDomain
11778 {
11779 eQMIWMSLTEDomains mLTEDomainPreference;
11780 };
11781
11782 // Structure to describe response TLV 0x11 for WMSGetDomainPreferenceConfig()
11783 struct sWMSGetDomainPreferenceConfigResponse_GWDomain
11784 {
11785 eQMIWMSGSMWCDMADomains mDomainPreference;
11786 };
11787
11788 // Structure to describe response TLV 0x10 for WMSSetDomainPreferenceConfig()
11789 struct sWMSSetDomainPreferenceConfigResponse_LTEDomain
11790 {
11791 eQMIWMSLTEDomains mLTEDomainPreference;
11792 };
11793
11794 // Structure to describe response TLV 0x11 for WMSSetDomainPreferenceConfig()
11795 struct sWMSSetDomainPreferenceConfigResponse_GWDomain
11796 {
11797 eQMIWMSGSMWCDMADomains mDomainPreference;
11798 };
11799
11800 // Structure to describe response TLV 0x10 for WMSSetDomainPreferenceConfig()
11801 struct sWMSSetDomainPreferenceConfigResponse_LTEOutcome
11802 {
11803 UINT16 mLTEDomainPreferenceOutcome;
11804 };
11805
11806 // Structure to describe response TLV 0x11 for WMSSetDomainPreferenceConfig()
11807 struct sWMSSetDomainPreferenceConfigResponse_GWOutcome
11808 {
11809 UINT16 mGWDomainPreferenceOutcome;
11810 };
11811
11812 // Structure to describe response TLV 0x10 for WMSGetRetryPeriod()
11813 struct sWMSGetRetryPeriodResponse_RetryPeriod
11814 {
11815 UINT32 mRetryPeriodInSeconds;
11816 };
11817
11818 // Structure to describe response TLV 0x10 for WMSGetRetryInterval()
11819 struct sWMSGetRetryIntervalResponse_RetryInterval
11820 {
11821 UINT32 mRetryIntervalInSeconds;
11822 };
11823
11824 // Structure to describe response TLV 0x10 for WMSGetDCDisconnectTimer()
11825 struct sWMSGetDCDisconnectTimerResponse_DCDisconnectTimer
11826 {
11827 UINT32 mDCDisconnectTimerInSeconds;
11828 };
11829
11830 // Structure to describe response TLV 0x10 for WMSGetMemoryStatus()
11831 struct sWMSGetMemoryStatusResponse_MemoryStatus
11832 {
11833 INT8 mMemoryIsAvailable;
11834 };
11835
11836 // Structure to describe response TLV 0x10 for WMSGetPrimaryClient()
11837 struct sWMSGetPrimaryClientResponse_PrimaryClientInfo
11838 {
11839 INT8 mPrimaryClient;
11840 };
11841
11842 // Structure to describe response TLV 0x10 for WMSGetSubscriptionBinding()
11843 struct sWMSGetSubscriptionBindingResponse_SubscriptionType
11844 {
11845 eQMIWMSSubscriptionType mSubscriptionType;
11846 };
11847
11848 // Structure to describe request TLV 0x01 for WMSAsyncRawSend()
11849 struct sWMSAsyncRawSendRequest_MessageData
11850 {
11851 eQMIWMSMessageFormats mMessageFormat;
11852 UINT16 mRawMessageLength;
11853
11854 // This array must be the size specified by mRawMessageLength
11855 // UINT8 mRawMessage[1];
11856 };
11857
11858 // Structure to describe request TLV 0x10 for WMSAsyncRawSend()
11859 struct sWMSAsyncRawSendRequest_ForceOnDC
11860 {
11861 INT8 mForceSendOnDC;
11862 eQMIWMSCDMAServiceOptions mServiceOption;
11863 };
11864
11865 // Structure to describe request TLV 0x11 for WMSAsyncRawSend()
11866 struct sWMSAsyncRawSendRequest_FollowOnDC
11867 {
11868 INT8 mDoNotDisconnectDC;
11869 };
11870
11871 // Structure to describe request TLV 0x12 for WMSAsyncRawSend()
11872 struct sWMSAsyncRawSendRequest_LinkControl
11873 {
11874 UINT8 mLinkTimerInSeconds;
11875 };
11876
11877 // Structure to describe request TLV 0x13 for WMSAsyncRawSend()
11878 struct sWMSAsyncRawSendRequest_SMSOnIMS
11879 {
11880 INT8 mMessageToBeSentOnIMS;
11881 };
11882
11883 // Structure to describe request TLV 0x14 for WMSAsyncRawSend()
11884 struct sWMSAsyncRawSendRequest_RetryMessage
11885 {
11886 INT8 mMessageIsARetry;
11887 };
11888
11889 // Structure to describe request TLV 0x15 for WMSAsyncRawSend()
11890 struct sWMSAsyncRawSendRequest_RetryMessageID
11891 {
11892 UINT32 mMessageRetryID;
11893 };
11894
11895 // Structure to describe request TLV 0x16 for WMSAsyncRawSend()
11896 struct sWMSAsyncRawSendRequest_UserData
11897 {
11898 UINT32 mUserData;
11899 };
11900
11901 // Structure to describe indication TLV 0x01 for WMS AsyncRawSendIndication
11902 struct sWMSAsyncRawSendIndication_Status
11903 {
11904 eQMIErrors mQMIError;
11905 };
11906
11907 // Structure to describe indication TLV 0x10 for WMS AsyncRawSendIndication
11908 struct sWMSAsyncRawSendIndication_MessageID
11909 {
11910 UINT16 mMessageID;
11911 };
11912
11913 // Structure to describe indication TLV 0x11 for WMS AsyncRawSendIndication
11914 struct sWMSAsyncRawSendIndication_CauseCode
11915 {
11916 UINT16 mCauseCode;
11917 };
11918
11919 // Structure to describe indication TLV 0x12 for WMS AsyncRawSendIndication
11920 struct sWMSAsyncRawSendIndication_ErrorClass
11921 {
11922 eQMIWMSErrorClasses mErrorClass;
11923 };
11924
11925 // Structure to describe indication TLV 0x13 for WMS AsyncRawSendIndication
11926 struct sWMSAsyncRawSendIndication_CauseInfo
11927 {
11928 UINT16 mGSMWCDMARPCause;
11929 UINT8 mGSMWCDMATPCause;
11930 };
11931
11932 // Structure to describe indication TLV 0x14 for WMS AsyncRawSendIndication
11933 struct sWMSAsyncRawSendIndication_MessageDeliveryFailureType
11934 {
11935 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11936 };
11937
11938 // Structure to describe indication TLV 0x15 for WMS AsyncRawSendIndication
11939 struct sWMSAsyncRawSendIndication_MessageDeliveryFailureCause
11940 {
11941 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11942 };
11943
11944 // Structure to describe indication TLV 0x16 for WMS AsyncRawSendIndication
11945 struct sWMSAsyncRawSendIndication_CallControlModifiedInfo
11946 {
11947 UINT8 mAlphaIDLength;
11948
11949 // This array must be the size specified by mAlphaIDLength
11950 // UINT8 mAlphaID[1];
11951 };
11952
11953 // Structure to describe indication TLV 0x17 for WMS AsyncRawSendIndication
11954 struct sWMSAsyncRawSendIndication_UserData
11955 {
11956 UINT32 mUserData;
11957 };
11958
11959 // Structure to describe request TLV 0x01 for WMSAsyncSendACK()
11960 struct sWMSAsyncSendACKRequest_ACK
11961 {
11962 UINT32 mTransactionID;
11963 eQMIWMSMessageProtocols mMode;
11964 INT8 mProcessedSuccessfully;
11965 };
11966
11967 // Structure to describe request TLV 0x10 for WMSAysncSendACK()
11968 struct sWMSAysncSendACKRequest_3GPP2FailureInfo
11969 {
11970 eQMIWMSErrorClasses2 mErrorClass;
11971 UINT8 mTransportLayerStatus;
11972 };
11973
11974 // Structure to describe request TLV 0x11 for WMSAsyncSendACK()
11975 struct sWMSAsyncSendACKRequest_3GPPFailureInfo
11976 {
11977 UINT8 mGSMWCDMARPCause;
11978 UINT8 mGSMWCDMATPCause;
11979 };
11980
11981 // Structure to describe request TLV 0x12 for WMSAsyncSendACK()
11982 struct sWMSAsyncSendACKRequest_SMSOnIMS
11983 {
11984 INT8 mACKToBeSentOnIMS;
11985 };
11986
11987 // Structure to describe request TLV 0x13 for WMSAsyncSendACK()
11988 struct sWMSAsyncSendACKRequest_UserData
11989 {
11990 UINT32 mUserData;
11991 };
11992
11993 // Structure to describe indication TLV 0x01 for WMS AsyncSendACKIndication
11994 struct sWMSAsyncSendACKIndication_Status
11995 {
11996 eQMIErrors mQMIError;
11997 };
11998
11999 // Structure to describe indication TLV 0x10 for WMS AsyncSendACKIndication
12000 struct sWMSAsyncSendACKIndication_ACKFailureCause
12001 {
12002 eQMIWMSACKFailureCause mACKFailureCause;
12003 };
12004
12005 // Structure to describe indication TLV 0x11 for WMS AsyncSendACKIndication
12006 struct sWMSAsyncSendACKIndication_UserData
12007 {
12008 UINT32 mUserData;
12009 };
12010
12011 // Structure to describe request TLV 0x01 for WMSAsyncSendFromMemoryStore()
12012 struct sWMSAsyncSendFromMemoryStoreRequest_Info
12013 {
12014 eQMIWMSStorageTypes mStorageType;
12015 UINT32 mStorageIndex;
12016 eQMIWMSMessageProtocols mMode;
12017 };
12018
12019 // Structure to describe request TLV 0x10 for WMSAsyncSendFromMemoryStore()
12020 struct sWMSAsyncSendFromMemoryStoreRequest_SMSOnIMS
12021 {
12022 INT8 mMessageToBeSentOnIMS;
12023 };
12024
12025 // Structure to describe request TLV 0x11 for WMSAsyncSendFromMemoryStore()
12026 struct sWMSAsyncSendFromMemoryStoreRequest_UserData
12027 {
12028 UINT32 mUserData;
12029 };
12030
12031 // Structure to describe indication TLV 0x01 for WMS AsyncSendFromMemoryStoreIndication
12032 struct sWMSAsyncSendFromMemoryStoreIndication_Status
12033 {
12034 eQMIErrors mQMIError;
12035 };
12036
12037 // Structure to describe indication TLV 0x10 for WMS AsyncSendFromMemoryStoreIndication
12038 struct sWMSAsyncSendFromMemoryStoreIndication_MessageID
12039 {
12040 UINT16 mMessageID;
12041 };
12042
12043 // Structure to describe indication TLV 0x11 for WMS AsyncSendFromMemoryStoreIndication
12044 struct sWMSAsyncSendFromMemoryStoreIndication_CauseCode
12045 {
12046 UINT16 mCauseCode;
12047 };
12048
12049 // Structure to describe indication TLV 0x12 for WMS AsyncSendFromMemoryStoreIndication
12050 struct sWMSAsyncSendFromMemoryStoreIndication_ErrorClass
12051 {
12052 eQMIWMSErrorClasses mErrorClass;
12053 };
12054
12055 // Structure to describe indication TLV 0x13 for WMS AsyncSendFromMemoryStoreIndication
12056 struct sWMSAsyncSendFromMemoryStoreIndication_CauseInfo
12057 {
12058 UINT16 mGSMWCDMARPCause;
12059 UINT8 mGSMWCDMATPCause;
12060 };
12061
12062 // Structure to describe indication TLV 0x14 for WMS AsyncSendFromMemoryStoreIndication
12063 struct sWMSAsyncSendFromMemoryStoreIndication_MessageDeliveryFailureType
12064 {
12065 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
12066 };
12067
12068 // Structure to describe indication TLV 0x15 for WMS AsyncSendFromMemoryStoreIndication
12069 struct sWMSAsyncSendFromMemoryStoreIndication_MessageDeliveryFailureCause
12070 {
12071 eQMIWMSDeliveryFailures mDeliveryFailureCause;
12072 };
12073
12074 // Structure to describe indication TLV 0x16 for WMS AsyncSendFromMemoryStoreIndication
12075 struct sWMSAsyncSendFromMemoryStoreIndication_CallControlModifiedInfo
12076 {
12077 UINT8 mAlphaIDLength;
12078
12079 // This array must be the size specified by mAlphaIDLength
12080 // UINT8 mAlphaID[1];
12081 };
12082
12083 // Structure to describe indication TLV 0x17 for WMS AsyncSendFromMemoryStoreIndication
12084 struct sWMSAsyncSendFromMemoryStoreIndication_UserData
12085 {
12086 UINT32 mUserData;
12087 };
12088
12089 // Structure to describe response TLV 0x10 for WMSGetServiceReadyStatus()
12090 struct sWMSGetServiceReadyStatusResponse_ServiceReadyEvents
12091 {
12092 INT8 mServiceReadyEvents;
12093 };
12094
12095 // Structure to describe response TLV 0x11 for WMSGetServiceReadyStatus()
12096 struct sWMSGetServiceReadyStatusResponse_ServiceReadyStatus
12097 {
12098 eQMIWMSServiceReadyStatus mReadyStatus;
12099 };
12100
12101 // Structure to describe indication TLV 0x01 for WMS ServiceReadyStatusIndication
12102 struct sWMSServiceReadyStatusIndication_ServiceReadyStatus
12103 {
12104 eQMIWMSServiceReadyStatus mReadyStatus;
12105 };
12106
12107 // Structure to describe indication TLV 0x01 for WMS BroadcastConfigIndication
12108 struct sWMSBroadcastConfigIndication_Mode
12109 {
12110 eQMIWMSMessageProtocols mMode;
12111 };
12112
12113 // Structure to describe indication TLV 0x10 for WMS BroadcastConfigIndication
12114 struct sWMSBroadcastConfigIndication_3GPPInfo
12115 {
12116 INT8 mActivated;
12117 UINT16 mNumberOfInstances;
12118
12119 struct sInstance
12120 {
12121 UINT16 mMessageIDStart;
12122 UINT16 mMessageIDEnd;
12123 INT8 mSelected;
12124 };
12125
12126 // This array must be the size specified by mNumberOfInstances
12127 // sInstance mInstances[1];
12128 };
12129
12130 // Structure to describe indication TLV 0x11 for WMS BroadcastConfigIndication
12131 struct sWMSBroadcastConfigIndication_3GPP2Info
12132 {
12133 INT8 mActivated;
12134 UINT16 mNumberOfInstances;
12135
12136 struct sInstance
12137 {
12138 UINT16 mServiceCategory;
12139 eQMIWMSLanguage mLanguage;
12140 INT8 mSelected;
12141 };
12142
12143 // This array must be the size specified by mNumberOfInstances
12144 // sInstance mInstances[1];
12145 };
12146
12147 // Structure to describe request TLV 0x10 for PDSSetEventReport()
12148 struct sPDSSetEventReportRequest_NMEAIndicator
12149 {
12150 INT8 mReportNMEASentences;
12151 };
12152
12153 // Structure to describe request TLV 0x11 for PDSSetEventReport()
12154 struct sPDSSetEventReportRequest_ModeIndicator
12155 {
12156 INT8 mReportNMEASentencesPlusMode;
12157 };
12158
12159 // Structure to describe request TLV 0x12 for PDSSetEventReport()
12160 struct sPDSSetEventReportRequest_RawIndicator
12161 {
12162 INT8 mReportRawPositionData;
12163 };
12164
12165 // Structure to describe request TLV 0x13 for PDSSetEventReport()
12166 struct sPDSSetEventReportRequest_XTRARequestIndicator
12167 {
12168 INT8 mReportExternalXTRADataRequests;
12169 };
12170
12171 // Structure to describe request TLV 0x14 for PDSSetEventReport()
12172 struct sPDSSetEventReportRequest_TimeInjectionIndicator
12173 {
12174 INT8 mReportExternalTimeInjections;
12175 };
12176
12177 // Structure to describe request TLV 0x15 for PDSSetEventReport()
12178 struct sPDSSetEventReportRequest_WiFiIndicator
12179 {
12180 INT8 mReportExternalWiFiRequests;
12181 };
12182
12183 // Structure to describe request TLV 0x16 for PDSSetEventReport()
12184 struct sPDSSetEventReportRequest_SatelliteIndicator
12185 {
12186 INT8 mReportSatelliteInfo;
12187 };
12188
12189 // Structure to describe request TLV 0x17 for PDSSetEventReport()
12190 struct sPDSSetEventReportRequest_VXNetworkIndicator
12191 {
12192 INT8 mReportVXNetworkInitiatedPrompts;
12193 };
12194
12195 // Structure to describe request TLV 0x18 for PDSSetEventReport()
12196 struct sPDSSetEventReportRequest_SUPLNetworkIndicator
12197 {
12198 INT8 mReportSUPLNetworkInitiatedPrompts;
12199 };
12200
12201 // Structure to describe request TLV 0x19 for PDSSetEventReport()
12202 struct sPDSSetEventReportRequest_UMTSCPNetworkIndicator
12203 {
12204 INT8 mReportUMTSCPNetworkInitiatedPrompts;
12205 };
12206
12207 // Structure to describe request TLV 0x1A for PDSSetEventReport()
12208 struct sPDSSetEventReportRequest_PDSCommIndicator
12209 {
12210 INT8 mReportPDSCommEvents;
12211 };
12212
12213 // Structure to describe request TLV 0x1B for PDSSetEventReport()
12214 struct sPDSSetEventReportRequest_AccelerometerDataIndicator
12215 {
12216 INT8 mReportAccelerometerDataStatus;
12217 };
12218
12219 // Structure to describe request TLV 0x1C for PDSSetEventReport()
12220 struct sPDSSetEventReportRequest_GyroDataIndicator
12221 {
12222 INT8 mReportGyroDataStatus;
12223 };
12224
12225 // Structure to describe request TLV 0x1D for PDSSetEventReport()
12226 struct sPDSSetEventReportRequest_TimeSyncIndication
12227 {
12228 INT8 mReportTimeSyncRequest;
12229 };
12230
12231 // Structure to describe request TLV 0x1E for PDSSetEventReport()
12232 struct sPDSSetEventReportRequest_PositionReliablilityIndicator
12233 {
12234 INT8 mReportPositionReliability;
12235 };
12236
12237 // Structure to describe request TLV 0x1F for PDSSetEventReport()
12238 struct sPDSSetEventReportRequest_SensorDataUsageIndicator
12239 {
12240 INT8 mReportSensorDataUsage;
12241 };
12242
12243 // Structure to describe request TLV 0x20 for PDSSetEventReport()
12244 struct sPDSSetEventReportRequest_TimeSourceInformationIndicator
12245 {
12246 INT8 mReportTimeSourceInformation;
12247 };
12248
12249 // Structure to describe request TLV 0x21 for PDSSetEventReport()
12250 struct sPDSSetEventReportRequest_HeadingUncertaintyIndicator
12251 {
12252 INT8 mReportHeadingUncertaintyInformation;
12253 };
12254
12255 // Structure to describe request TLV 0x22 for PDSSetEventReport()
12256 struct sPDSSetEventReportRequest_NMEADebugStringIndicator
12257 {
12258 INT8 mReportNMEADebugStrings;
12259 };
12260
12261 // Structure to describe request TLV 0x23 for PDSSetEventReport()
12262 struct sPDSSetEventReportRequest_ExternalXTRADataIndicator
12263 {
12264 INT8 mReportExtendedXTRAData;
12265 };
12266
12267 // Structure to describe request TLV 0x24 for PDSSetEventReport()
12268 struct sPDSSetEventReportRequest_ServiceResetStatus
12269 {
12270 INT8 mReportServiceResetStatus;
12271 };
12272
12273 // Structure to describe indication TLV 0x10 for PDS EventReport
12274 struct sPDSEventReportIndication_NMEASentence
12275 {
12276 // String is variable length, but must be size of the container
12277 // char mNMEASentence[1];
12278 };
12279
12280 // Structure to describe indication TLV 0x11 for PDS EventReport
12281 struct sPDSEventReportIndication_NMEASentencePlusMode
12282 {
12283 eQMIPDSNMEASentenceOperatingModes mNMEASentenceOperatingMode;
12284 UINT16 mNMEASentenceLength;
12285
12286 // This array must be the size specified by mNMEASentenceLength
12287 // char mNMEASentence[1];
12288 };
12289
12290 // Structure to describe indication TLV 0x12 for PDS EventReport
12291 struct sPDSEventReportIndication_PositionSessionStatus
12292 {
12293 eQMIPDSSessionStatus mSessionStatus;
12294 };
12295
12296 // Structure to describe indication TLV 0x13 for PDS EventReport
12297 struct sPDSEventReportIndication_ParsedPositionData
12298 {
12299 bool mTimestampCalendarValid:1;
12300 bool mTimestampUTCValid:1;
12301 bool mLeapSecondsValid:1;
12302 bool mTimeUncertaintyValid:1;
12303 bool mLatitudeValid:1;
12304 bool mLongitudeValid:1;
12305 bool mEllipsoidAltitudeValid:1;
12306 bool mMeanSeaLevelAltitudeValid:1;
12307 bool mHorizontalSpeedValid:1;
12308 bool mVerticalSpeedValid:1;
12309 bool mHeadingValid:1;
12310 bool mHorizontalUncertaintyCircularValid:1;
12311 bool mHorizontalUncertaintyEllipseSemiMajorValid:1;
12312 bool mHorizontalUncertaintyEllipseSemiMinorValid:1;
12313 bool mHorizontalUncertaintyEllipseOrientAzimuthValid:1;
12314 bool mVerticalUncertaintyValid:1;
12315 bool mHorizontalVelocityUncertaintyValid:1;
12316 bool mVerticalVelocityUncertaintyValid:1;
12317 bool mHorizontalConfidenceValid:1;
12318 bool mPositionDOPValid:1;
12319 bool mHorizontalDOPValid:1;
12320 bool mVerticalDOPValid:1;
12321 bool mOperatingModeUsedValid:1;
12322
12323 // Padding out 9 bits
12324 UINT8 mReserved1:1;
12325 UINT8 mReserved2;
12326
12327 UINT16 mCalendarYear;
12328 eQMIPDSCalendarMonths mCalendarMonth;
12329 eQMIPDSCalendarDays mCalendarDay;
12330 UINT8 mCalendarDayOfMonth;
12331 UINT8 mCalendarHour;
12332 UINT8 mCalendarMinute;
12333 UINT8 mCalendarSecond;
12334 UINT16 mCalendarMillisecond;
12335 UINT8 mCalendarLeapSeconds;
12336 UINT64 mUTCTimestamp;
12337 UINT32 mUTCTimestampUncertainty;
12338 double mLatitude;
12339 double mLongitude;
12340 float mEllipsoidAltitude;
12341 float mMeanSeaLevelAltitude;
12342 float mHorizontalSpeed;
12343 float mVerticalSpeed;
12344 float mHeading;
12345 float mHorizontalUncertaintyCircular;
12346 float mHorizontalUncertaintyEllipseSemiMajor;
12347 float mHorizontalUncertaintyEllipseSemiMinor;
12348 float mHorizontalUncertaintyEllipseOrientAzimuth;
12349 float mVerticalUncertainty;
12350 float mHorizontalVelocityUncertainty;
12351 float mVerticalVelocityUncertainty;
12352 UINT8 mHorizontalConfidence;
12353 float mPositionDOP;
12354 float mHorizontalDOP;
12355 float mVerticalDOP;
12356 eQMIPDSNMEASentenceOperatingModes mOperatingMode;
12357 };
12358
12359 // Structure to describe indication TLV 0x14 for PDS EventReport
12360 struct sPDSEventReportIndication_ExternalXTRARequest
12361 {
12362 UINT16 mMaximumFileSize;
12363 UINT8 mURLRecordCount;
12364
12365 struct sURL
12366 {
12367 UINT8 mURLLength;
12368
12369 // This array must be the size specified by mURLLength
12370 // char mURL[1];
12371 };
12372
12373 // This array must be the size specified by mURLRecordCount
12374 // sURL mURLs[1];
12375 };
12376
12377 // Structure to describe indication TLV 0x15 for PDS EventReport
12378 struct sPDSEventReportIndication_ExternalTimeInjectionRequest
12379 {
12380 UINT32 mDelayThresholdMilliseconds;
12381 UINT8 mURLRecordCount;
12382
12383 struct sURL
12384 {
12385 UINT8 mURLLength;
12386
12387 // This array must be the size specified by mURLLength
12388 // char mURL[1];
12389 };
12390
12391 // This array must be the size specified by mURLRecordCount
12392 // sURL mURLs[1];
12393 };
12394
12395 // Structure to describe indication TLV 0x16 for PDS EventReport
12396 struct sPDSEventReportIndication_ExternalWiFiPositionRequest
12397 {
12398 eQMIPDSWiFiRequestTypes mWiFiRequestType;
12399 UINT16 mWiFiRequestTimeBetweenFixesMilliseconds;
12400 };
12401
12402 // Structure to describe indication TLV 0x17 for PDS EventReport
12403 struct sPDSEventReportIndication_SatelliteInfo
12404 {
12405 bool mIonoValid:1;
12406 bool mSatelliteCountValid:1;
12407 bool mSatelliteListValid:1;
12408
12409 // Padding out 29 bits
12410 UINT8 mReserved1:5;
12411 UINT8 mReserved2[3];
12412
12413 INT8 mIonosphericCorrections;
12414 UINT8 mSVRecordCount;
12415
12416 struct sSV
12417 {
12418 bool mSystemValid:1;
12419 bool mPRNValid:1;
12420 bool mHealthStatusValid:1;
12421 bool mProcessStatusValid:1;
12422 bool mEphemerisStateValid:1;
12423 bool mAlmanacStateValid:1;
12424 bool mElevationValid:1;
12425 bool mAzimuthValid:1;
12426 bool mCN0Valid:1;
12427
12428 // Padding out 23 bits
12429 UINT8 mReserved3:7;
12430 UINT8 mReserved4[2];
12431
12432 eQMIPDSSVSystems mSystem;
12433 UINT8 mPRN;
12434 eQMIPDSSVHealthStatus mHealthLevel;
12435 eQMIPDSSVProcessingStatus mProcessingStatus;
12436 eQMIPDSSVEphemerisStatus mEphemerisState;
12437 eQMIPDSSVAlmanacStatus mAlmanacState;
12438 INT32 mElevation;
12439 UINT16 mAzimuth;
12440 UINT16 mCN0;
12441 };
12442
12443 // This array must be the size specified by mSVRecordCount
12444 // sSV mSVs[1];
12445 };
12446
12447 // Structure to describe indication TLV 0x18 for PDS EventReport
12448 struct sPDSEventReportIndication_VXNetworkInitiatedPrompt
12449 {
12450 bool mPrivacyValid:1;
12451 bool mQoSValid:1;
12452 bool mCountValid:1;
12453 bool mIntervalValid:1;
12454 bool mModeValid:1;
12455 bool mRequestorIDValid:1;
12456
12457 // Padding out 26 bits
12458 UINT8 mReserved1:2;
12459 UINT8 mReserved2[3];
12460
12461 eQMIPDSPrivacyModes mPrivacy;
12462 UINT8 mQoS;
12463 UINT32 mPositionCount;
12464 UINT32 mIntervalBetweenFixesSeconds;
12465 eQMIPDSVXModes mMode;
12466 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
12467 UINT8 mRequestorIDLength;
12468
12469 // This array must be the size specified by mRequestorIDLength
12470 // UINT8 mRequestorID[1];
12471 };
12472
12473 // Structure to describe indication TLV 0x19 for PDS EventReport
12474 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1
12475 {
12476 bool mPrivacyValid:1;
12477 bool mINITHashValid:1;
12478 bool mModeValid:1;
12479 bool mSLPSessionIDValid:1;
12480 bool mSLPServerIPv4AddressValid:1;
12481 bool mSLPServerIPv6AddressValid:1;
12482 bool mSLPServerURLAddressValid:1;
12483 bool mDCSValid:1;
12484 bool mRequestorIDValid:1;
12485 bool mClientNameValid:1;
12486 bool mQoPHorizontalAccuracyValid:1;
12487 bool mQoPVerticalAccuracyValid:1;
12488 bool mQoPMaxLocationAgeValid:1;
12489 bool mQoPDelayValid:1;
12490
12491 // Padding out 18 bits
12492 UINT8 mReserved1:2;
12493 UINT8 mReserved2[2];
12494
12495 eQMIPDSPrivacyModes mPrivacy;
12496 UINT64 mINITHash;
12497 eQMIPDSSUPLModes mMode;
12498 UINT32 mSLPSessionID;
12499 UINT32 mSLPServerIPv4Port;
12500 UINT8 mSLPServerIPv4Address[4];
12501 UINT32 mSLPServerIPv6Port;
12502 UINT8 mSLPServerIPv6Address[16];
12503 UINT8 mSLPServerURLLength;
12504
12505 // This array must be the size specified by mSLPServerURLLength
12506 // char mSLPServerURLAddress[1];
12507 };
12508
12509 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2
12510 {
12511 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
12512 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
12513 UINT8 mRequestorIDLength;
12514
12515 // This array must be the size specified by mRequestorIDLength
12516 // UINT8 mRequestorID[1];
12517 };
12518
12519 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3
12520 {
12521 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
12522 UINT8 mClientNameLength;
12523
12524 // This array must be the size specified by mClientNameLength
12525 // UINT8 mClientName[1];
12526 };
12527
12528 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4
12529 {
12530 UINT8 mQoPHorizontalAccuracy;
12531 UINT8 mQoPVerticalAccuracy;
12532 UINT8 mQoPMaxLocationAge;
12533 UINT8 mQoPDelay;
12534 };
12535
12536 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt
12537 {
12538 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt1;
12539 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt2;
12540 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt3;
12541 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt4;
12542 };
12543
12544 // Structure to describe indication TLV 0x1A for PDS EventReport
12545 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1
12546 {
12547 bool mPrivacyValid:1;
12548 bool mInvokeIDValid:1;
12549 bool mNotificationTextValid:1;
12550 bool mClientAddressValid:1;
12551 bool mLocationTypeValid:1;
12552 bool mRequestorIDValid:1;
12553 bool mCodewordStringValid:1;
12554 bool mServiceTypeIDValid:1;
12555
12556 // Padding out 24 bits
12557 UINT8 mReserved1[3];
12558
12559 eQMIPDSPrivacyModes mPrivacy;
12560 UINT8 mInvokeID;
12561 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
12562 UINT8 mNotificationTextLength;
12563
12564 // This array must be the size specified by mNotificationTextLength
12565 // UINT8 mNotificationText[1];
12566 };
12567
12568 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2
12569 {
12570 UINT8 mClientAddressLength;
12571
12572 // This array must be the size specified by mClientAddressLength
12573 // char mClientAddress[1];
12574 };
12575
12576 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3
12577 {
12578 eQMIPDSUMTSCPLocationTypes mLocationType;
12579 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
12580 UINT8 mRequestorIDLength;
12581
12582 // This array must be the size specified by mRequestorIDLength
12583 // UINT8 mRequestorID[1];
12584 };
12585
12586 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4
12587 {
12588 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
12589 UINT8 mCodewordLength;
12590
12591 // This array must be the size specified by mCodewordLength
12592 // UINT8 mCodeword[1];
12593 };
12594
12595 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5
12596 {
12597 UINT8 mServiceTypeID;
12598 };
12599
12600 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt
12601 {
12602 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1;
12603 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2;
12604 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3;
12605 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4;
12606 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5;
12607 };
12608
12609 // Structure to describe indication TLV 0x1B for PDS EventReport
12610 struct sPDSEventReportIndication_CommEvents
12611 {
12612 eQMIPDSCommEventTypes mType;
12613 eQMIPDSCommEventProtocols mProtocolDataType;
12614 };
12615
12616 // Structure to describe indication TLV 0x1C for PDS EventReport
12617 struct sPDSEventReportIndication_PositionSource
12618 {
12619 bool mGPS:1;
12620 bool mCellID:1;
12621 bool mGlonass:1;
12622 bool mNetwork:1;
12623 bool mEPI:1;
12624
12625 // Padding out 27 bits
12626 UINT8 mReserved1:3;
12627 UINT8 mReserved2[3];
12628 };
12629
12630 // Structure to describe indication TLV 0x1D for PDS EventReport
12631 struct sPDSEventReportIndication_AccelerometerStreamingStatus
12632 {
12633 eQMIPDSStreamingStatus mAccelerometerStreamingStatus;
12634 };
12635
12636 // Structure to describe indication TLV 0x1E for PDS EventReport
12637 struct sPDSEventReportIndication_GyroStreamingStatus
12638 {
12639 eQMIPDSStreamingStatus mGyroStreamingStatus;
12640 };
12641
12642 // Structure to describe indication TLV 0x1F for PDS EventReport
12643 struct sPDSEventReportIndication_TimeSyncRequest
12644 {
12645 UINT32 mReferenceCounter;
12646 };
12647
12648 // Structure to describe indication TLV 0x20 for PDS EventReport
12649 struct sPDSEventReportIndication_PositionReliabilityCounter
12650 {
12651 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
12652 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
12653 };
12654
12655 // Structure to describe indication TLV 0x21 for PDS EventReport
12656 struct sPDSEventReportIndication_SensorDataUsage
12657 {
12658 bool mAccelerometer:1;
12659 bool mGyro:1;
12660
12661 // Padding out 14 bits
12662 UINT8 mReserved1:6;
12663 UINT8 mReserved2;
12664
12665 bool mHeadingAidedWithSensorData:1;
12666 bool mSpeedAidedWithSensorData:1;
12667 bool mPositionAidedWithSensorData:1;
12668 bool mVelocityAidedWithSensorData:1;
12669
12670 // Padding out 12 bits
12671 UINT8 mReserved3:4;
12672 UINT8 mReserved4;
12673 };
12674
12675 // Structure to describe indication TLV 0x22 for PDS EventReport
12676 struct sPDSEventReportIndication_TimeSourceInformation
12677 {
12678 INT8 mTimeValid;
12679 eQMIPDSTimeSource mTimeSource;
12680 UINT32 mTimeUncertaintyMilliseconds;
12681 UINT16 mGPSWeekNumber;
12682 UINT32 mGPSTimeOfWeekMilliseconds;
12683 UINT32 mReserved1;
12684 UINT32 mReserved2;
12685 UINT32 mReserved3;
12686 UINT32 mReserved4;
12687 UINT32 mReserved5;
12688 };
12689
12690 // Structure to describe indication TLV 0x23 for PDS EventReport
12691 struct sPDSEventReportIndication_EncryptedPositionInformation
12692 {
12693 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
12694 UINT8 mEncryptionDataLength;
12695
12696 // This array must be the size specified by mEncryptionDataLength
12697 // UINT8 mEncryptionData[1];
12698 };
12699
12700 // Structure to describe indication TLV 0x24 for PDS EventReport
12701 struct sPDSEventReportIndication_HeadingUncertaintyInformation
12702 {
12703 float mHeadingUncertainty;
12704 float mGNSSHeadingUncertainty;
12705 UINT32 mReserved1;
12706 UINT32 mReserved2;
12707 };
12708
12709 // Structure to describe indication TLV 0x25 for PDS EventReport
12710 struct sPDSEventReportIndication_ProprietaryNMEADebugSentences
12711 {
12712 // String is variable length, but must be size of the container
12713 // char mNMEADebug[1];
12714 };
12715
12716 // Structure to describe indication TLV 0x26 for PDS EventReport
12717 struct sPDSEventReportIndication_ExtendedExternalXTRADatabaseRequest
12718 {
12719 UINT32 mMaximumFileSize;
12720 UINT8 mURLCount;
12721 UINT8 mURLLength;
12722
12723 // This array must be the size specified by mURLLength
12724 // char mURL[1];
12725 };
12726
12727 // Structure to describe indication TLV 0x27 for PDS EventReport
12728 struct sPDSEventReportIndication_ServiceResetStatus
12729 {
12730 eQMIPDSResetStates mServiceResetStatus;
12731 };
12732
12733 // Structure to describe response TLV 0x01 for PDSGetServiceState()
12734 struct sPDSGetServiceStateResponse_State
12735 {
12736 INT8 mServiceEnabled;
12737 eQMIPDSTrackingSessionStates mTrackingSessionState;
12738 };
12739
12740 // Structure to describe indication TLV 0x01 for PDS ServiceStateIndication
12741 struct sPDSServiceStateIndication_State
12742 {
12743 INT8 mServiceEnabled;
12744 eQMIPDSTrackingSessionStates mTrackingSessionState;
12745 };
12746
12747 // Structure to describe request TLV 0x01 for PDSSetServiceState()
12748 struct sPDSSetServiceStateRequest_State
12749 {
12750 INT8 mServiceEnabled;
12751 };
12752
12753 // Structure to describe request TLV 0x01 for PDSStartTrackingSession()
12754 struct sPDSStartTrackingSessionRequest_Session
12755 {
12756 eQMIPDSSessionControlTypes mSessionControl;
12757 eQMIPDSSessionTypes mSessionType;
12758 eQMIPDSOperationTypes mSessionOperation;
12759 eQMIPDSServerOptions mServerOption;
12760 UINT8 mTimeoutSeconds;
12761 UINT32 mSessionFixRequests;
12762 UINT32 mFixRequestIntervalSeconds;
12763 UINT32 mDesiredAccuracyMeters;
12764 };
12765
12766 // Structure to describe response TLV 0x01 for PDSGetTrackingSessionInfo()
12767 struct sPDSGetTrackingSessionInfoResponse_Info
12768 {
12769 eQMIPDSSessionControlTypes mSessionControl;
12770 eQMIPDSSessionTypes mSessionType;
12771 eQMIPDSOperationTypes mSessionOperation;
12772 eQMIPDSServerOptions mServerOption;
12773 UINT8 mTimeoutSeconds;
12774 UINT32 mSessionFixRequests;
12775 UINT32 mFixRequestIntervalSeconds;
12776 UINT32 mDesiredAccuracyMeters;
12777 };
12778
12779 // Structure to describe response TLV 0x01 for PDSGetNMEAConfig()
12780 struct sPDSGetNMEAConfigResponse_Config
12781 {
12782 bool mGPGGANMEASentences:1;
12783 bool mGPRMCNMEASentences:1;
12784 bool mGPGSVNMEASentences:1;
12785 bool mGPGSANMEASentences:1;
12786 bool mGPVTGNMEASentences:1;
12787 bool mGLGSVNMEASentences:1;
12788 bool mGNGSANMEASentences:1;
12789 bool mGNGNSNMEASentences:1;
12790 eQMIPDSOutputDevices mOutputDevice;
12791 eQMIPDSNMEAReportingOptions mNMEAReporting;
12792 };
12793
12794 // Structure to describe response TLV 0x10 for PDSGetNMEAConfig()
12795 struct sPDSGetNMEAConfigResponse_AdditionalConfig
12796 {
12797 bool mPQXFI:1;
12798 bool mPSTIS:1;
12799
12800 // Padding out 14 bits
12801 UINT8 mReserved1:6;
12802 UINT8 mReserved2;
12803 };
12804
12805 // Structure to describe request TLV 0x01 for PDSSetNMEAConfig()
12806 struct sPDSSetNMEAConfigRequest_Config
12807 {
12808 bool mGPGGANMEASentences:1;
12809 bool mGPRMCNMEASentences:1;
12810 bool mGPGSVNMEASentences:1;
12811 bool mGPGSANMEASentences:1;
12812 bool mGPVTGNMEASentences:1;
12813 bool mGLGSVNMEASentences:1;
12814 bool mGNGSANMEASentences:1;
12815 bool mGNGNSNMEASentences:1;
12816 eQMIPDSOutputDevices mOutputDevice;
12817 eQMIPDSNMEAReportingOptions mNMEAReporting;
12818 };
12819
12820 // Structure to describe request TLV 0x10 for PDSSetNMEAConfig()
12821 struct sPDSSetNMEAConfigRequest_AdditionalConfig
12822 {
12823 bool mPQXFI:1;
12824 bool mPSTIS:1;
12825
12826 // Padding out 14 bits
12827 UINT8 mReserved1:6;
12828 UINT8 mReserved2;
12829 };
12830
12831 // Structure to describe request TLV 0x01 for PDSInjectTimeReference()
12832 struct sPDSInjectTimeReferenceRequest_Time
12833 {
12834 UINT64 mSystemTimeMilliseconds;
12835 UINT16 mSystemDiscontinuties;
12836 };
12837
12838 // Structure to describe response TLV 0x01 for PDSGetDefaults()
12839 struct sPDSGetDefaultsResponse_Defaults
12840 {
12841 eQMIPDSOperationTypes mSessionOperation;
12842 UINT8 mTimeoutSeconds;
12843 UINT32 mFixRequestIntervalSeconds;
12844 UINT32 mDesiredAccuracyMeters;
12845 };
12846
12847 // Structure to describe request TLV 0x01 for PDSSetDefaults()
12848 struct sPDSSetDefaultsRequest_Defaults
12849 {
12850 eQMIPDSOperationTypes mSessionOperation;
12851 UINT8 mTimeoutSeconds;
12852 UINT32 mFixRequestIntervalSeconds;
12853 UINT32 mDesiredAccuracyMeters;
12854 };
12855
12856 // Structure to describe response TLV 0x10 for PDSGetXTRAParameters()
12857 struct sPDSGetXTRAParametersResponse_Automatic
12858 {
12859 INT8 mAutomaticDownloadEnabled;
12860 UINT16 mDownloadIntervalInHours;
12861 };
12862
12863 // Structure to describe response TLV 0x11 for PDSGetXTRAParameters()
12864 struct sPDSGetXTRAParametersResponse_Medium
12865 {
12866 UINT8 mMediumPreferences;
12867
12868 // This array must be the size specified by mMediumPreferences
12869 // eQMIPDSMediums mMediumPreference[1];
12870 };
12871
12872 // Structure to describe response TLV 0x12 for PDSGetXTRAParameters()
12873 struct sPDSGetXTRAParametersResponse_Network
12874 {
12875 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
12876 };
12877
12878 // Structure to describe response TLV 0x13 for PDSGetXTRAParameters()
12879 struct sPDSGetXTRAParametersResponse_Validity
12880 {
12881 UINT16 mValidPeriodGPSStartWeek;
12882 UINT16 mValidPeriodGPSStartWeekOffsetInMinutes;
12883 UINT16 mValidPeriodDurationInHours;
12884 };
12885
12886 // Structure to describe response TLV 0x14 for PDSGetXTRAParameters()
12887 struct sPDSGetXTRAParametersResponse_Embedded
12888 {
12889 INT8 mEmbeddedXTRADataClientEnabled;
12890 INT8 mEmbeddedXTRATimeClientEnabled;
12891 };
12892
12893 // Structure to describe request TLV 0x10 for PDSSetXTRAParameters()
12894 struct sPDSSetXTRAParametersRequest_Automatic
12895 {
12896 INT8 mAutomaticDownloadEnabled;
12897 UINT16 mDownloadIntervalInHours;
12898 };
12899
12900 // Structure to describe request TLV 0x11 for PDSSetXTRAParameters()
12901 struct sPDSSetXTRAParametersRequest_Medium
12902 {
12903 UINT8 mMediumPreferences;
12904
12905 // This array must be the size specified by mMediumPreferences
12906 // eQMIPDSMediums mMediumPreference[1];
12907 };
12908
12909 // Structure to describe request TLV 0x12 for PDSSetXTRAParameters()
12910 struct sPDSSetXTRAParametersRequest_Network
12911 {
12912 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
12913 };
12914
12915 // Structure to describe request TLV 0x14 for PDSSetXTRAParameters()
12916 struct sPDSSetXTRAParametersRequest_Embedded
12917 {
12918 INT8 mEmbeddedXTRADataClientEnabled;
12919 INT8 mEmbeddedXTRATimeClientEnabled;
12920 };
12921
12922 // Structure to describe request TLV 0x12 for PDSGetAGPSConfig()
12923 struct sPDSGetAGPSConfigRequest_NetworkMode
12924 {
12925 eQMIPDSNetworkMode mNetworkMode;
12926 };
12927
12928 // Structure to describe response TLV 0x10 for PDSGetAGPSConfig()
12929 struct sPDSGetAGPSConfigResponse_ServerAddress
12930 {
12931 UINT8 mServerAddress[4];
12932 UINT32 mServerPort;
12933 };
12934
12935 // Structure to describe response TLV 0x11 for PDSGetAGPSConfig()
12936 struct sPDSGetAGPSConfigResponse_ServerURL
12937 {
12938 UINT8 mURLLength;
12939
12940 // This array must be the size specified by mURLLength
12941 // char mURL[1];
12942 };
12943
12944 // Structure to describe request TLV 0x10 for PDSSetAGPSConfig()
12945 struct sPDSSetAGPSConfigRequest_Server
12946 {
12947 UINT8 mServerAddress[4];
12948 UINT32 mServerPort;
12949 };
12950
12951 // Structure to describe request TLV 0x11 for PDSSetAGPSConfig()
12952 struct sPDSSetAGPSConfigRequest_ServerURL
12953 {
12954 UINT8 mURLLength;
12955
12956 // This array must be the size specified by mURLLength
12957 // char mURL[1];
12958 };
12959
12960 // Structure to describe request TLV 0x12 for PDSSetAGPSConfig()
12961 struct sPDSSetAGPSConfigRequest_NetworkMode
12962 {
12963 eQMIPDSNetworkMode mNetworkMode;
12964 };
12965
12966 // Structure to describe response TLV 0x01 for PDSGetServiceAutoTrackingState()
12967 struct sPDSGetServiceAutoTrackingStateResponse_State
12968 {
12969 INT8 mAutoTrackingEnabled;
12970 };
12971
12972 // Structure to describe request TLV 0x01 for PDSSetServiceAutoTrackingState()
12973 struct sPDSSetServiceAutoTrackingStateRequest_State
12974 {
12975 INT8 mAutoTrackingEnabled;
12976 };
12977
12978 // Structure to describe response TLV 0x01 for PDSGetCOMPortAutoTrackingConfig()
12979 struct sPDSGetCOMPortAutoTrackingConfigResponse_Config
12980 {
12981 INT8 mAutoTrackingEnabled;
12982 };
12983
12984 // Structure to describe request TLV 0x01 for PDSSetCOMPortAutoTrackingConfig()
12985 struct sPDSSetCOMPortAutoTrackingConfigRequest_Config
12986 {
12987 INT8 mAutoTrackingEnabled;
12988 };
12989
12990 // Structure to describe request TLV 0x10 for PDSResetPDSData()
12991 struct sPDSResetPDSDataRequest_GPSData
12992 {
12993 bool mResetEPH:1;
12994 bool mResetALM:1;
12995 bool mResetPOS:1;
12996 bool mResetTIME:1;
12997 bool mResetIONO:1;
12998 bool mResetUTC:1;
12999 bool mResetHEALTH:1;
13000 bool mResetSVDIR:1;
13001 bool mResetSVSTEER:1;
13002 bool mResetSADATA:1;
13003 bool mResetRTI:1;
13004 bool mResetALMCORR:1;
13005 bool mResetFREQBIASEST:1;
13006
13007 // Padding out 19 bits
13008 UINT8 mReserved1:3;
13009 UINT8 mReserved2[2];
13010 };
13011
13012 // Structure to describe request TLV 0x11 for PDSResetPDSData()
13013 struct sPDSResetPDSDataRequest_CellData
13014 {
13015 bool mResetPOS:1;
13016 bool mResetLATESTGPSPOS:1;
13017 bool mResetOTAPOS:1;
13018 bool mResetEXTREFPOS:1;
13019 bool mResetTIMETAG:1;
13020 bool mResetCELLID:1;
13021 bool mResetCACHEDCELLID:1;
13022 bool mResetLASTSRVCELL:1;
13023 bool mResetCURSRVCELL:1;
13024 bool mResetNEIGHBORINFO:1;
13025
13026 // Padding out 22 bits
13027 UINT8 mReserved1:6;
13028 UINT8 mReserved2[2];
13029 };
13030
13031 // Structure to describe request TLV 0x10 for PDSSinglePositionFix()
13032 struct sPDSSinglePositionFixRequest_Mode
13033 {
13034 eQMIPDSOperationTypes mSessionOperation;
13035 };
13036
13037 // Structure to describe request TLV 0x11 for PDSSinglePositionFix()
13038 struct sPDSSinglePositionFixRequest_Timeout
13039 {
13040 UINT8 mTimeoutSeconds;
13041 };
13042
13043 // Structure to describe request TLV 0x12 for PDSSinglePositionFix()
13044 struct sPDSSinglePositionFixRequest_Accuracy
13045 {
13046 UINT32 mDesiredAccuracyMeters;
13047 };
13048
13049 // Structure to describe response TLV 0x01 for PDSGetServiceVersion()
13050 struct sPDSGetServiceVersionResponse_Version
13051 {
13052 UINT8 mServiceMajorVersion;
13053 UINT8 mServiceMinorVersion;
13054 };
13055
13056 // Structure to describe request TLV 0x01 for PDSInjectXTRAData()
13057 struct sPDSInjectXTRADataRequest_Data
13058 {
13059 UINT8 mSequenceNumber;
13060 UINT16 mTotalLength;
13061 UINT16 mSequenceLength;
13062
13063 // This array must be the size specified by mSequenceLength
13064 // UINT8 mData[1];
13065 };
13066
13067 // Structure to describe request TLV 0x10 for PDSInjectPositionData()
13068 struct sPDSInjectPositionDataRequest_Timestamp
13069 {
13070 UINT64 mUTCTimestamp;
13071 };
13072
13073 // Structure to describe request TLV 0x11 for PDSInjectPositionData()
13074 struct sPDSInjectPositionDataRequest_Latitude
13075 {
13076 double mLatitude;
13077 };
13078
13079 // Structure to describe request TLV 0x12 for PDSInjectPositionData()
13080 struct sPDSInjectPositionDataRequest_Longitude
13081 {
13082 double mLongitude;
13083 };
13084
13085 // Structure to describe request TLV 0x13 for PDSInjectPositionData()
13086 struct sPDSInjectPositionDataRequest_AltitudeEllipsoid
13087 {
13088 float mEllipsoidAltitude;
13089 };
13090
13091 // Structure to describe request TLV 0x14 for PDSInjectPositionData()
13092 struct sPDSInjectPositionDataRequest_AltitudeSeaLevel
13093 {
13094 float mMeanSeaLevelAltitude;
13095 };
13096
13097 // Structure to describe request TLV 0x15 for PDSInjectPositionData()
13098 struct sPDSInjectPositionDataRequest_HorizontalUncertainty
13099 {
13100 float mHorizontalUncertaintyCircular;
13101 };
13102
13103 // Structure to describe request TLV 0x16 for PDSInjectPositionData()
13104 struct sPDSInjectPositionDataRequest_VerticalUncertainty
13105 {
13106 float mVerticalUncertainty;
13107 };
13108
13109 // Structure to describe request TLV 0x17 for PDSInjectPositionData()
13110 struct sPDSInjectPositionDataRequest_HorizontalConfidence
13111 {
13112 UINT8 mHorizontalConfidence;
13113 };
13114
13115 // Structure to describe request TLV 0x18 for PDSInjectPositionData()
13116 struct sPDSInjectPositionDataRequest_VerticalConfidence
13117 {
13118 UINT8 mVerticalConfidence;
13119 };
13120
13121 // Structure to describe request TLV 0x19 for PDSInjectPositionData()
13122 struct sPDSInjectPositionDataRequest_Source
13123 {
13124 eQMIPDSInjectedPositionSources mSource;
13125 };
13126
13127 // Structure to describe request TLV 0x1A for PDSInjectPositionData()
13128 struct sPDSInjectPositionDataRequest_TimeType
13129 {
13130 eQMIPDSTimeType mTimeType;
13131 };
13132
13133 // Structure to describe request TLV 0x1B for PDSInjectPositionData()
13134 struct sPDSInjectPositionDataRequest_PositionReliability
13135 {
13136 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
13137 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
13138 };
13139
13140 // Structure to describe request TLV 0x1C for PDSInjectPositionData()
13141 struct sPDSInjectPositionDataRequest_AltitudeInformation
13142 {
13143 eQMIPDSAltitudeSource mAltitudeSource;
13144 eQMIPDSSourceLinkage mSourceLinkage;
13145 eQMIPDSUncertaintyCoverage mUncertaintyCoverage;
13146 };
13147
13148 // Structure to describe request TLV 0x10 for PDSInjectWiFiPositionData()
13149 struct sPDSInjectWiFiPositionDataRequest_Time
13150 {
13151 UINT32 mWiFiTimeCounterMilliseconds;
13152 };
13153
13154 // Structure to describe request TLV 0x11 for PDSInjectWiFiPositionData()
13155 struct sPDSInjectWiFiPositionDataRequest_Position
13156 {
13157 INT32 mWiFiLatitude;
13158 INT32 mWiFiLongitude;
13159 UINT16 mHEPEInMeters;
13160 UINT8 mAPCount;
13161 UINT8 mErrorCode;
13162 };
13163
13164 // Structure to describe request TLV 0x12 for PDSInjectWiFiPositionData()
13165 struct sPDSInjectWiFiPositionDataRequest_APInfo
13166 {
13167 UINT8 mAPCount;
13168
13169 struct sAP
13170 {
13171 UINT8 mMACAddress[6];
13172 UINT32 mRSSI;
13173 UINT16 mBeaconChannel;
13174 bool mUsedForPosition:1;
13175 bool mHiddenSSID:1;
13176 bool mEncryptionOn:1;
13177 bool mInfrastructureMode:1;
13178
13179 // Padding out 4 bits
13180 UINT8 mReserved1:4;
13181 };
13182
13183 // This array must be the size specified by mAPCount
13184 // sAP mAPs[1];
13185 };
13186
13187 // Structure to describe request TLV 0x13 for PDSInjectWiFiPositionData()
13188 struct sPDSInjectWiFiPositionDataRequest_PositionReliability
13189 {
13190 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
13191 };
13192
13193 // Structure to describe response TLV 0x10 for PDSGetSBASConfig()
13194 struct sPDSGetSBASConfigResponse_Config
13195 {
13196 eQMIPDSSBASStates mState;
13197 };
13198
13199 // Structure to describe request TLV 0x10 for PDSSetSBASConfig()
13200 struct sPDSSetSBASConfigRequest_Config
13201 {
13202 INT8 mEnableSBAS;
13203 };
13204
13205 // Structure to describe request TLV 0x01 for PDSSendNetworkInitiatedResponse()
13206 struct sPDSSendNetworkInitiatedResponseRequest_Action
13207 {
13208 INT8 mAllowRequest;
13209 };
13210
13211 // Structure to describe request TLV 0x10 for PDSSendNetworkInitiatedResponse()
13212 struct sPDSSendNetworkInitiatedResponseRequest_VX
13213 {
13214 bool mPrivacyValid:1;
13215 bool mQoSValid:1;
13216 bool mCountValid:1;
13217 bool mIntervalValid:1;
13218 bool mModeValid:1;
13219 bool mRequestorIDValid:1;
13220
13221 // Padding out 26 bits
13222 UINT8 mReserved1:2;
13223 UINT8 mReserved2[3];
13224
13225 eQMIPDSPrivacyModes mPrivacy;
13226 UINT8 mQoS;
13227 UINT32 mPositionCount;
13228 UINT32 mIntervalBetweenFixesSeconds;
13229 eQMIPDSVXModes mMode;
13230 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
13231 UINT8 mRequestorIDLength;
13232
13233 // This array must be the size specified by mRequestorIDLength
13234 // UINT8 mRequestorID[1];
13235 };
13236
13237 // Structure to describe request TLV 0x11 for PDSSendNetworkInitiatedResponse()
13238 struct sPDSSendNetworkInitiatedResponseRequest_SUPL1
13239 {
13240 bool mPrivacyValid:1;
13241 bool mINITHashValid:1;
13242 bool mModeValid:1;
13243 bool mSLPSessionIDValid:1;
13244 bool mSLPServerIPv4AddressValid:1;
13245 bool mSLPServerIPv6AddressValid:1;
13246 bool mSLPServerURLAddressValid:1;
13247 bool mDCSValid:1;
13248 bool mRequestorIDValid:1;
13249 bool mClientNameValid:1;
13250 bool mQoPHorizontalAccuracyValid:1;
13251 bool mQoPVerticalAccuracyValid:1;
13252 bool mQoPMaxLocationAgeValid:1;
13253 bool mQoPDelayValid:1;
13254
13255 // Padding out 18 bits
13256 UINT8 mReserved1:2;
13257 UINT8 mReserved2[2];
13258
13259 eQMIPDSPrivacyModes mPrivacy;
13260 UINT64 mINITHash;
13261 eQMIPDSSUPLModes mMode;
13262 UINT32 mSLPSessionID;
13263 UINT32 mSLPServerIPv4Port;
13264 UINT8 mSLPServerIPv4Address[4];
13265 UINT32 mSLPServerIPv6Port;
13266 UINT8 mSLPServerIPv6Address[16];
13267 UINT8 mSLPServerURLLength;
13268
13269 // This array must be the size specified by mSLPServerURLLength
13270 // char mSLPServerURLAddress[1];
13271 };
13272
13273 struct sPDSSendNetworkInitiatedResponseRequest_SUPL2
13274 {
13275 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
13276 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
13277 UINT8 mRequestorIDLength;
13278
13279 // This array must be the size specified by mRequestorIDLength
13280 // UINT8 mRequestorID[1];
13281 };
13282
13283 struct sPDSSendNetworkInitiatedResponseRequest_SUPL3
13284 {
13285 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
13286 UINT8 mClientNameLength;
13287
13288 // This array must be the size specified by mClientNameLength
13289 // UINT8 mClientName[1];
13290 };
13291
13292 struct sPDSSendNetworkInitiatedResponseRequest_SUPL4
13293 {
13294 UINT8 mQoPHorizontalAccuracy;
13295 UINT8 mQoPVerticalAccuracy;
13296 UINT8 mQoPMaxLocationAge;
13297 UINT8 mQoPDelay;
13298 };
13299
13300 struct sPDSSendNetworkInitiatedResponseRequest_SUPL
13301 {
13302 sPDSSendNetworkInitiatedResponseRequest_SUPL1 mPDSSendNetworkInitiatedResponseRequest_SUPL1;
13303 sPDSSendNetworkInitiatedResponseRequest_SUPL2 mPDSSendNetworkInitiatedResponseRequest_SUPL2;
13304 sPDSSendNetworkInitiatedResponseRequest_SUPL3 mPDSSendNetworkInitiatedResponseRequest_SUPL3;
13305 sPDSSendNetworkInitiatedResponseRequest_SUPL4 mPDSSendNetworkInitiatedResponseRequest_SUPL4;
13306 };
13307
13308 // Structure to describe request TLV 0x12 for PDSSendNetworkInitiatedResponse()
13309 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP1
13310 {
13311 bool mPrivacyValid:1;
13312 bool mInvokeIDValid:1;
13313 bool mNotificationTextValid:1;
13314 bool mClientAddressValid:1;
13315 bool mLocationTypeValid:1;
13316 bool mRequestorIDValid:1;
13317 bool mCodewordStringValid:1;
13318 bool mServiceTypeIDValid:1;
13319
13320 // Padding out 24 bits
13321 UINT8 mReserved1[3];
13322
13323 eQMIPDSPrivacyModes mPrivacy;
13324 UINT8 mInvokeID;
13325 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
13326 UINT8 mNotificationTextLength;
13327
13328 // This array must be the size specified by mNotificationTextLength
13329 // UINT8 mNotificationText[1];
13330 };
13331
13332 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP2
13333 {
13334 UINT8 mClientAddressLength;
13335
13336 // This array must be the size specified by mClientAddressLength
13337 // char mClientAddress[1];
13338 };
13339
13340 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP3
13341 {
13342 eQMIPDSUMTSCPLocationTypes mLocationType;
13343 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
13344 UINT8 mRequestorIDLength;
13345
13346 // This array must be the size specified by mRequestorIDLength
13347 // UINT8 mRequestorID[1];
13348 };
13349
13350 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP4
13351 {
13352 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
13353 UINT8 mCodewordLength;
13354
13355 // This array must be the size specified by mCodewordLength
13356 // UINT8 mCodeword[1];
13357 };
13358
13359 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP5
13360 {
13361 UINT8 mServiceTypeID;
13362 };
13363
13364 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP
13365 {
13366 sPDSSendNetworkInitiatedResponseRequest_UMTSCP1 mPDSSendNetworkInitiatedResponseRequest_UMTSCP1;
13367 sPDSSendNetworkInitiatedResponseRequest_UMTSCP2 mPDSSendNetworkInitiatedResponseRequest_UMTSCP2;
13368 sPDSSendNetworkInitiatedResponseRequest_UMTSCP3 mPDSSendNetworkInitiatedResponseRequest_UMTSCP3;
13369 sPDSSendNetworkInitiatedResponseRequest_UMTSCP4 mPDSSendNetworkInitiatedResponseRequest_UMTSCP4;
13370 sPDSSendNetworkInitiatedResponseRequest_UMTSCP5 mPDSSendNetworkInitiatedResponseRequest_UMTSCP5;
13371 };
13372
13373 // Structure to describe request TLV 0x01 for PDSInjectAbsoluteTime()
13374 struct sPDSInjectAbsoluteTimeRequest_Time
13375 {
13376 UINT64 mTimestampMilliseconds;
13377 UINT32 mTimeUncertaintyMilliseconds;
13378 eQMIPDSTimeBases mTimeBase;
13379 INT8 mForceAcceptance;
13380 };
13381
13382 // Structure to describe request TLV 0x01 for PDSInjectEFSData()
13383 struct sPDSInjectEFSDataRequest_DateFile1
13384 {
13385 UINT8 mFilenameLength;
13386
13387 // This array must be the size specified by mFilenameLength
13388 // char mFilename[1];
13389 };
13390
13391 struct sPDSInjectEFSDataRequest_DateFile2
13392 {
13393 eQMIPDSEFSFileOperations mFileOperation;
13394 UINT32 mDataLength;
13395 UINT8 mPartNumber;
13396 UINT8 mTotalParts;
13397
13398 // This array must be the size specified by mDataLength
13399 // UINT8 mData[1];
13400 };
13401
13402 struct sPDSInjectEFSDataRequest_DateFile
13403 {
13404 sPDSInjectEFSDataRequest_DateFile1 mPDSInjectEFSDataRequest_DateFile1;
13405 sPDSInjectEFSDataRequest_DateFile2 mPDSInjectEFSDataRequest_DateFile2;
13406 };
13407
13408 // Structure to describe response TLV 0x10 for PDSGetDPOConfig()
13409 struct sPDSGetDPOConfigResponse_Config
13410 {
13411 INT8 mDataPowerOptimizationEnabled;
13412 };
13413
13414 // Structure to describe request TLV 0x10 for PDSSetDPOConfig()
13415 struct sPDSSetDPOConfigRequest_Config
13416 {
13417 eQMIPDSConfig mConfiguration;
13418 };
13419
13420 // Structure to describe response TLV 0x10 for PDSGetODPConfig()
13421 struct sPDSGetODPConfigResponse_Config
13422 {
13423 eQMIPDSODPStates mOnDemandPositioning;
13424 };
13425
13426 // Structure to describe request TLV 0x10 for PDSSetODPConfig()
13427 struct sPDSSetODPConfigRequest_Config
13428 {
13429 eQMIPDSODPStates mOnDemandPositioning;
13430 };
13431
13432 // Structure to describe response TLV 0x10 for PDSGetGPSState()
13433 struct sPDSGetGPSStateResponse_State
13434 {
13435 INT8 mEngineEnabled;
13436 bool mPositionValid:1;
13437 bool mAltitudeVerticalUncertaintyValid:1;
13438 bool mTimeMillisecondsValid:1;
13439 bool mTimeWeekNumberValid:1;
13440 bool mTimeUncertaintyValid:1;
13441 bool mIonoValid:1;
13442 bool mGPSEphemerisValid:1;
13443 bool mGPSAlmanacValid:1;
13444 bool mGPSHealthValid:1;
13445 bool mGPSVisibleSVsValid:1;
13446 bool mGlonassEphemerisValid:1;
13447 bool mGlonassAlmanacValid:1;
13448 bool mGlonassHealthValid:1;
13449 bool mGlonassVisibleSVsValid:1;
13450 bool mSBASEphemerisValid:1;
13451 bool mSBASAlmanacValid:1;
13452 bool mSBASHealthValid:1;
13453 bool mSBASVisibleSVsValid:1;
13454 bool mXTRAInformationValid:1;
13455
13456 // Padding out 5 bits
13457 UINT8 mReserved1:5;
13458
13459 double mLatitude;
13460 double mLongitude;
13461 float mHorizontalUncertaintyCircular;
13462 float mEllipsoidAltitude;
13463 float mVerticalUncertainty;
13464 UINT32 mTimestampInTOWMilliseconds;
13465 UINT16 mGPSWeekNumber;
13466 UINT32 mTimeUncertaintyMilliseconds;
13467 INT8 mIonoIsValid;
13468 UINT32 mGPSEphemerisSVMask;
13469 UINT32 mGPSAlmanacSVMask;
13470 UINT32 mGPSHealthSVMask;
13471 UINT32 mGPSVisibleSVMask;
13472 UINT32 mGlonassEphemerisSVMask;
13473 UINT32 mGlonassAlmanacSVMask;
13474 UINT32 mGlonassHealthSVMask;
13475 UINT32 mGlonassVisibleSVMask;
13476 UINT32 mSBASEphemerisSVMask;
13477 UINT32 mSBASAlmanacSVMask;
13478 UINT32 mSBASHealthSVMask;
13479 UINT32 mSBASVisibleSVMask;
13480 UINT16 mXTRAGPSStartWeek;
13481 UINT16 mXTRAGPSStartMinutes;
13482 INT32 mElevation;
13483 };
13484
13485 // Structure to describe request TLV 0x01 for PDSSetPPMEventReport()
13486 struct sPDSSetPPMEventReportRequest_ReportPPMEvents
13487 {
13488 INT8 mReportPPMEvents;
13489 };
13490
13491 // Structure to describe request TLV 0x01 for PDSSetSPIStreamingReport()
13492 struct sPDSSetSPIStreamingReportRequest_ReportEvents
13493 {
13494 INT8 mReportSPIEvents;
13495 };
13496
13497 // Structure to describe indication TLV 0x10 for PDS SetSPIStreamingReportIndication
13498 struct sPDSSetSPIStreamingReportIndication_SPIStreamingRequest
13499 {
13500 INT8 mStreamSPIStatus;
13501 };
13502
13503 // Structure to describe request TLV 0x01 for PDSSetSPIStatus()
13504 struct sPDSSetSPIStatusRequest_Status
13505 {
13506 eQMIPDSSPIState mSPIState;
13507 UINT8 mSPIConfidence;
13508 };
13509
13510 // Structure to describe request TLV 0x01 for PDSSetPPMReportingState()
13511 struct sPDSSetPPMReportingStateRequest_PPMReportingState
13512 {
13513 eQMIPDSReportingState mReportingState;
13514 UINT16 mReportingPeriodSeconds;
13515 };
13516
13517 // Structure to describe indication TLV 0x10 for PDS SetPPMReportingStateIndication
13518 struct sPDSSetPPMReportingStateIndication_PPMPageReport
13519 {
13520 UINT32 mPageTimeMilliseconds;
13521 UINT16 mPagePNOffset;
13522 UINT8 mPageBandClass;
13523 UINT16 mPageCDMAFrequency;
13524 UINT16 mPageBaseID;
13525 UINT16 mPageSystemID;
13526 UINT16 mPageNetworkID;
13527 };
13528
13529 // Structure to describe indication TLV 0x11 for PDS SetPPMReportingStateIndication
13530 struct sPDSSetPPMReportingStateIndication_PPMMeasurementReport
13531 {
13532 UINT32 mReferenceTimeMilliseconds;
13533 UINT8 mReferenceBandClass;
13534 UINT16 mReferenceCDMAFrequency;
13535 UINT8 mReferenceTotalRXPower;
13536 UINT16 mReferencePNOffset;
13537 UINT8 mReferenceStrength;
13538 UINT8 mReferenceRMSErrorPhase;
13539 UINT8 mNumberOfPilots;
13540
13541 struct sPilot
13542 {
13543 UINT16 mPilotPNOffset;
13544 UINT8 mPilotStrength;
13545 UINT8 mPilotRMSErrorPhase;
13546 INT16 mPilotPhase;
13547 };
13548
13549 // This array must be the size specified by mNumberOfPilots
13550 // sPilot mPilots[1];
13551 };
13552
13553 // Structure to describe indication TLV 0x12 for PDS SetPPMReportingStateIndication
13554 struct sPDSSetPPMReportingStateIndication_PPMSuspendReason
13555 {
13556 eQMIPDSSuspendReason mSuspendReason;
13557 };
13558
13559 // Structure to describe indication TLV 0x13 for PDS SetPPMReportingStateIndication
13560 struct sPDSSetPPMReportingStateIndication_PPMStopReason
13561 {
13562 eQMIPDSStopReason mStopReason;
13563 };
13564
13565 // Structure to describe request TLV 0x01 for PDSForceReceiverOff()
13566 struct sPDSForceReceiverOffRequest_ForceReceiverOff
13567 {
13568 eQMIPDSForceReceiverOff mForceReceiverOff;
13569 };
13570
13571 // Structure to describe response TLV 0x10 for PDSGetPositionMethodsState()
13572 struct sPDSGetPositionMethodsStateResponse_XTRATime
13573 {
13574 eQMIPDSMethodStates mMethodState;
13575 };
13576
13577 // Structure to describe response TLV 0x11 for PDSGetPositionMethodsState()
13578 struct sPDSGetPositionMethodsStateResponse_XTRAData
13579 {
13580 eQMIPDSMethodStates mMethodState;
13581 };
13582
13583 // Structure to describe response TLV 0x12 for PDSGetPositionMethodsState()
13584 struct sPDSGetPositionMethodsStateResponse_WiFi
13585 {
13586 eQMIPDSMethodStates mMethodState;
13587 };
13588
13589 // Structure to describe request TLV 0x10 for PDSSetPositionMethodsState()
13590 struct sPDSSetPositionMethodsStateRequest_XTRATime
13591 {
13592 eQMIPDSMethodStates mMethodState;
13593 };
13594
13595 // Structure to describe request TLV 0x11 for PDSSetPositionMethodsState()
13596 struct sPDSSetPositionMethodsStateRequest_XTRAData
13597 {
13598 eQMIPDSMethodStates mMethodState;
13599 };
13600
13601 // Structure to describe request TLV 0x12 for PDSSetPositionMethodsState()
13602 struct sPDSSetPositionMethodsStateRequest_WiFi
13603 {
13604 eQMIPDSMethodStates mMethodState;
13605 };
13606
13607 // Structure to describe request TLV 0x10 for PDSInjectSensorData()
13608 struct sPDSInjectSensorDataRequest_3AxisAccelerometerData
13609 {
13610 UINT32 mSensorTimeOfFirstSampleMilliseconds;
13611 bool mSignReversalRequired:1;
13612
13613 // Padding out 7 bits
13614 UINT8 mReserved1:7;
13615
13616 UINT8 mNumberOfSamples;
13617
13618 struct sSample
13619 {
13620 UINT16 mSampleTimeOffsetMilliseconds;
13621 float mXAxisSample;
13622 float mYAxisSample;
13623 float mZAxisSample;
13624 };
13625
13626 // This array must be the size specified by mNumberOfSamples
13627 // sSample mSamples[1];
13628 };
13629
13630 // Structure to describe request TLV 0x11 for PDSInjectSensorData()
13631 struct sPDSInjectSensorDataRequest_3AxisGyroData
13632 {
13633 UINT32 mSensorTimeOfFirstSampleMilliseconds;
13634 bool mSignReversalRequired:1;
13635
13636 // Padding out 7 bits
13637 UINT8 mReserved1:7;
13638
13639 UINT8 mNumberOfSamples;
13640
13641 struct sSample
13642 {
13643 UINT16 mSampleTimeOffsetMilliseconds;
13644 float mXAxisSample;
13645 float mYAxisSample;
13646 float mZAxisSample;
13647 };
13648
13649 // This array must be the size specified by mNumberOfSamples
13650 // sSample mSamples[1];
13651 };
13652
13653 // Structure to describe response TLV 0x10 for PDSInjectSensorData()
13654 struct sPDSInjectSensorDataResponse_AccelerometerSampleSetCount
13655 {
13656 UINT8 mAccelerometerSampleSetCount;
13657 };
13658
13659 // Structure to describe response TLV 0x11 for PDSInjectSensorData()
13660 struct sPDSInjectSensorDataResponse_GyroSampleSetCount
13661 {
13662 UINT8 mGyroSampleSetCount;
13663 };
13664
13665 // Structure to describe request TLV 0x01 for PDSInjectTimeSyncData()
13666 struct sPDSInjectTimeSyncDataRequest_TimeTag
13667 {
13668 UINT32 mReferenceCounter;
13669 UINT32 mSensorProcessorRXTimeMilliseconds;
13670 UINT32 mSensorProcessorTXTimeMilliseconds;
13671 };
13672
13673 // Structure to describe response TLV 0x10 for PDSGetSensorConfig()
13674 struct sPDSGetSensorConfigResponse_CradleMountState
13675 {
13676 eQMIPDSCradleMountState mCradleMountState;
13677 UINT8 mCradleMountStateConfidence;
13678 };
13679
13680 // Structure to describe response TLV 0x11 for PDSGetSensorConfig()
13681 struct sPDSGetSensorConfigResponse_ExternalPowerSupplyState
13682 {
13683 eQMIPDSExternalPowerState mExternalPowerSupplyState;
13684 };
13685
13686 // Structure to describe request TLV 0x10 for PDSSetSensorConfig()
13687 struct sPDSSetSensorConfigRequest_CradleMountState
13688 {
13689 eQMIPDSCradleMountState mCradleMountState;
13690 UINT8 mCradleMountStateConfidence;
13691 };
13692
13693 // Structure to describe request TLV 0x11 for PDSSetSensorConfig()
13694 struct sPDSSetSensorConfigRequest_ExternalPowerState
13695 {
13696 eQMIPDSExternalPowerState mExternalPowerSupplyState;
13697 };
13698
13699 // Structure to describe response TLV 0x10 for PDSGetSensorNavigation()
13700 struct sPDSGetSensorNavigationResponse_GyroDataVariance
13701 {
13702 float mGyroDataVariance;
13703 };
13704
13705 // Structure to describe response TLV 0x11 for PDSGetSensorNavigation()
13706 struct sPDSGetSensorNavigationResponse_GyroBiasRandomWalk
13707 {
13708 float mGyroBiasRandomWalk;
13709 };
13710
13711 // Structure to describe response TLV 0x12 for PDSGetSensorNavigation()
13712 struct sPDSGetSensorNavigationResponse_VirtualGyroGravityAveragingLength
13713 {
13714 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
13715 };
13716
13717 // Structure to describe response TLV 0x13 for PDSGetSensorNavigation()
13718 struct sPDSGetSensorNavigationResponse_HeadingFilterMode
13719 {
13720 INT8 mHeadingFilterMode;
13721 };
13722
13723 // Structure to describe response TLV 0x14 for PDSGetSensorNavigation()
13724 struct sPDSGetSensorNavigationResponse_VelocityConstraintVariance
13725 {
13726 float mVelocityConstraintVariance;
13727 };
13728
13729 // Structure to describe response TLV 0x15 for PDSGetSensorNavigation()
13730 struct sPDSGetSensorNavigationResponse_PositioningMethod
13731 {
13732 bool mSuppressInjectedPosition:1;
13733 bool mReportUsingInstantaneousInformation:1;
13734 bool mDisablePersistentMemoryStorage:1;
13735
13736 // Padding out 29 bits
13737 UINT8 mReserved1:5;
13738 UINT8 mReserved2[3];
13739 };
13740
13741 // Structure to describe response TLV 0x16 for PDSGetSensorNavigation()
13742 struct sPDSGetSensorNavigationResponse_VelocityRWSD
13743 {
13744 float mVelocityRandomWalkSpectralDensity;
13745 };
13746
13747 // Structure to describe response TLV 0x17 for PDSGetSensorNavigation()
13748 struct sPDSGetSensorNavigationResponse_AccelerationRWSD
13749 {
13750 float mAccelerationRandomWalkSpectralDensity;
13751 };
13752
13753 // Structure to describe response TLV 0x18 for PDSGetSensorNavigation()
13754 struct sPDSGetSensorNavigationResponse_AngleRWSD
13755 {
13756 float mAngleRandomWalkSpectralDensity;
13757 };
13758
13759 // Structure to describe response TLV 0x19 for PDSGetSensorNavigation()
13760 struct sPDSGetSensorNavigationResponse_RateRWSD
13761 {
13762 float mRateRandomWalkSpectralDensity;
13763 };
13764
13765 // Structure to describe response TLV 0x1A for PDSGetSensorNavigation()
13766 struct sPDSGetSensorNavigationResponse_SensorAlgorithmConfig
13767 {
13768 bool mDisableINSPositioningFilter:1;
13769
13770 // Padding out 31 bits
13771 UINT8 mReserved1:7;
13772 UINT8 mReserved2[3];
13773 };
13774
13775 // Structure to describe response TLV 0x1B for PDSGetSensorNavigation()
13776 struct sPDSGetSensorNavigationResponse_MaximumDeadReckoningTime
13777 {
13778 UINT32 mMaximumDeadReckoningTimeSeconds;
13779 };
13780
13781 // Structure to describe response TLV 0x1C for PDSGetSensorNavigation()
13782 struct sPDSGetSensorNavigationResponse_INSFilterLowThreshold
13783 {
13784 UINT8 mINSFilterCrossCheckSigmaLowThreshold;
13785 };
13786
13787 // Structure to describe response TLV 0x1D for PDSGetSensorNavigation()
13788 struct sPDSGetSensorNavigationResponse_INSFilterHighThreshold
13789 {
13790 UINT8 mINSFilterCrossCheckSigmaHighThreshold;
13791 };
13792
13793 // Structure to describe request TLV 0x10 for PDSSetNavigationConfig()
13794 struct sPDSSetNavigationConfigRequest_GyroDataVariance
13795 {
13796 float mGyroDataVariance;
13797 };
13798
13799 // Structure to describe request TLV 0x11 for PDSSetNavigationConfig()
13800 struct sPDSSetNavigationConfigRequest_GyroBiasRandomWalk
13801 {
13802 float mGyroBiasRandomWalk;
13803 };
13804
13805 // Structure to describe request TLV 0x12 for PDSSetNavigationConfig()
13806 struct sPDSSetNavigationConfigRequest_VirtualGyroCravityAveragingLength
13807 {
13808 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
13809 };
13810
13811 // Structure to describe request TLV 0x13 for PDSSetNavigationConfig()
13812 struct sPDSSetNavigationConfigRequest_HeadingFilterMode
13813 {
13814 INT8 mHeadingFilterMode;
13815 };
13816
13817 // Structure to describe request TLV 0x14 for PDSSetNavigationConfig()
13818 struct sPDSSetNavigationConfigRequest_VelocityConstraintVariance
13819 {
13820 float mVelocityConstraintVariance;
13821 };
13822
13823 // Structure to describe request TLV 0x15 for PDSSetNavigationConfig()
13824 struct sPDSSetNavigationConfigRequest_PositioningMethod
13825 {
13826 bool mSuppressInjectedPosition:1;
13827 bool mReportUsingInstantaneousInformation:1;
13828 bool mDisablePersistentMemoryStorage:1;
13829
13830 // Padding out 29 bits
13831 UINT8 mReserved1:5;
13832 UINT8 mReserved2[3];
13833 };
13834
13835 // Structure to describe request TLV 0x16 for PDSSetSensorNavigation()
13836 struct sPDSSetSensorNavigationRequest_VelocityRWSD
13837 {
13838 float mVelocityRandomWalkSpectralDensity;
13839 };
13840
13841 // Structure to describe request TLV 0x17 for PDSSetSensorNavigation()
13842 struct sPDSSetSensorNavigationRequest_AccelerationRWSD
13843 {
13844 float mAccelerationRandomWalkSpectralDensity;
13845 };
13846
13847 // Structure to describe request TLV 0x18 for PDSSetSensorNavigation()
13848 struct sPDSSetSensorNavigationRequest_AngleRWSD
13849 {
13850 float mAngleRandomWalkSpectralDensity;
13851 };
13852
13853 // Structure to describe request TLV 0x19 for PDSSetSensorNavigation()
13854 struct sPDSSetSensorNavigationRequest_RateRWSD
13855 {
13856 float mRateRandomWalkSpectralDensity;
13857 };
13858
13859 // Structure to describe request TLV 0x1A for PDSSetSensorNavigation()
13860 struct sPDSSetSensorNavigationRequest_SensorAlgorithmConfig
13861 {
13862 bool mDisableINSPositioningFilter:1;
13863
13864 // Padding out 31 bits
13865 UINT8 mReserved1:7;
13866 UINT8 mReserved2[3];
13867 };
13868
13869 // Structure to describe request TLV 0x1B for PDSSetSensorNavigation()
13870 struct sPDSSetSensorNavigationRequest_MaximumDeadReckoningTime
13871 {
13872 UINT32 mMaximumDeadReckoningTimeSeconds;
13873 };
13874
13875 // Structure to describe request TLV 0x1C for PDSSetSensorNavigation()
13876 struct sPDSSetSensorNavigationRequest_INSFilterLowThreshold
13877 {
13878 UINT8 mINSFilterCrossCheckSigmaLowThreshold;
13879 };
13880
13881 // Structure to describe request TLV 0x1D for PDSSetSensorNavigation()
13882 struct sPDSSetSensorNavigationRequest_INSFilterHighThreshold
13883 {
13884 UINT8 mINSFilterCrossCheckSigmaHighThreshold;
13885 };
13886
13887 // Structure to describe request TLV 0x10 for PDSSetWLANBlanking()
13888 struct sPDSSetWLANBlankingRequest_BlankingEnable
13889 {
13890 eQMIPDSBlankingEnable mBlankingEnable;
13891 };
13892
13893 // Structure to describe request TLV 0x11 for PDSSetWLANBlanking()
13894 struct sPDSSetWLANBlankingRequest_ActiveChannels
13895 {
13896 bool mChannel1:1;
13897 bool mChannel2:1;
13898 bool mChannel3:1;
13899 bool mChannel4:1;
13900 bool mChannel5:1;
13901 bool mChannel6:1;
13902 bool mChannel7:1;
13903 bool mChannel8:1;
13904 bool mChannel9:1;
13905 bool mChannel10:1;
13906 bool mChannel11:1;
13907 bool mChannel12:1;
13908 bool mChannel13:1;
13909 bool mChannel14:1;
13910
13911 // Padding out 18 bits
13912 UINT8 mReserved1:2;
13913 UINT8 mReserved2[2];
13914 };
13915
13916 // Structure to describe request TLV 0x12 for PDSSetWLANBlanking()
13917 struct sPDSSetWLANBlankingRequest_BluetoothJamming
13918 {
13919 INT8 mBluetoothJammingActive;
13920 };
13921
13922 // Structure to describe request TLV 0x13 for PDSSetWLANBlanking()
13923 struct sPDSSetWLANBlankingRequest_IMDJamming
13924 {
13925 eQMIPDSIMDJammingStates mSimulateIMDJamming;
13926 };
13927
13928 // Structure to describe request TLV 0x14 for PDSSetWLANBlanking()
13929 struct sPDSSetWLANBlankingRequest_JammingBands
13930 {
13931 eQMIPDSIMDJammingBands mBandstoJam;
13932 };
13933
13934 // Structure to describe request TLV 0x10 for PDSSetSecurityChallengeReport()
13935 struct sPDSSetSecurityChallengeReportRequest_EnableSecurity
13936 {
13937 eQMIPDSReportSecurityChallenge mReportSecurityChallenge;
13938 };
13939
13940 // Structure to describe indication TLV 0x10 for PDS SetSecurityChallengeReportIndication
13941 struct sPDSSetSecurityChallengeReportIndication_EnableSecurity
13942 {
13943 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
13944 UINT8 mEncryptionDataID;
13945 UINT8 mEncryptionDataLength;
13946
13947 // This array must be the size specified by mEncryptionDataLength
13948 // UINT8 mEncryptionData[1];
13949 };
13950
13951 // Structure to describe request TLV 0x10 for PDSSetSecurityChallenge()
13952 struct sPDSSetSecurityChallengeRequest_SecureHashAlgorithm
13953 {
13954 UINT8 mEncryptionDataID;
13955 UINT8 mEncryptionDataLength;
13956
13957 // This array must be the size specified by mEncryptionDataLength
13958 // UINT8 mEncryptionData[1];
13959 };
13960
13961 // Structure to describe response TLV 0x10 for PDSGetSecurityEncryptionConfig()
13962 struct sPDSGetSecurityEncryptionConfigResponse_SecureClientTimestamp
13963 {
13964 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
13965 UINT64 mEncryptionTimestampMilliseconds;
13966 UINT8 mEncryptionDataLength;
13967
13968 // This array must be the size specified by mEncryptionDataLength
13969 // UINT8 mEncryptionData[1];
13970 };
13971
13972 // Structure to describe request TLV 0x10 for PDSSetSecurityUpdateRate()
13973 struct sPDSSetSecurityUpdateRateRequest_EnableSecurity
13974 {
13975 UINT8 mUpdateRate;
13976 };
13977
13978 // Structure to describe request TLV 0x10 for PDSSetCellDatabaseControl()
13979 struct sPDSSetCellDatabaseControlRequest_Control
13980 {
13981 bool mPositionInfoStorage:1;
13982 bool mTimeInfoStorage:1;
13983
13984 // Padding out 30 bits
13985 UINT8 mReserved1:6;
13986 UINT8 mReserved2[3];
13987 };
13988
13989 // Structure to describe request TLV 0x01 for PDSInjectMotionData()
13990 struct sPDSInjectMotionDataRequest_MotionData
13991 {
13992 eQMIPDSMotionStates mMotionState;
13993 eQMIPDSMotionModes mMotionMode;
13994 eQMIPDSMotionSubmodes mMotionSubmode;
13995 float mStateProbability;
13996 UINT16 mMotionDataAgeMilliseconds;
13997 UINT16 mMotionDataTimoutMilliseconds;
13998 };
13999
14000 // Structure to describe request TLV 0x01 for PDSSetGNSSEngineErrorRecoveryReport()
14001 struct sPDSSetGNSSEngineErrorRecoveryReportRequest_Indicator
14002 {
14003 INT8 mReportGNSSEngineErrorRecovery;
14004 };
14005
14006 // Structure to describe indication TLV 0x01 for PDS GNSSEngineErrorRecoveryReport
14007 struct sPDSGNSSEngineErrorRecoveryReportIndication_Reason
14008 {
14009 eQMIPDSResetReasons mResetReason;
14010 };
14011
14012 // Structure to describe indication TLV 0x10 for PDS GNSSEngineErrorRecoveryReport
14013 struct sPDSGNSSEngineErrorRecoveryReportIndication_CurrentSystemTime
14014 {
14015 UINT16 mGPSWeekNumber;
14016 UINT32 mGPSTimeOfWeekMilliseconds;
14017 };
14018
14019 // Structure to describe indication TLV 0x11 for PDS GNSSEngineErrorRecoveryReport
14020 struct sPDSGNSSEngineErrorRecoveryReportIndication_ScanParameters
14021 {
14022 eQMIPDSSVSystems mSystem;
14023 UINT8 mPRN;
14024 UINT16 mCN0;
14025 UINT16 mSubMillisecondDifferenceMicroseconds;
14026 INT16 mDopplerDifferenceHz;
14027 };
14028
14029 // Structure to describe indication TLV 0x12 for PDS GNSSEngineErrorRecoveryReport
14030 struct sPDSGNSSEngineErrorRecoveryReportIndication_ClockParameters
14031 {
14032 eQMIPDSSVSystems mSystem;
14033 eQMIPDSTimeSource mCurrentTimeSource;
14034 eQMIPDSTimeSource mInjectedTimeSource;
14035 UINT32 mTimeDifferenceMilliseconds;
14036 UINT32 mTimeUncertaintyMicroseconds;
14037 };
14038
14039 // Structure to describe indication TLV 0x13 for PDS GNSSEngineErrorRecoveryReport
14040 struct sPDSGNSSEngineErrorRecoveryReportIndication_SubframeParameters
14041 {
14042 UINT8 mPRN;
14043 INT32 mGPSDataDemodulationINProgress;
14044 UINT16 mObservedCycleSlips;
14045 UINT16 mParityErrors;
14046 UINT32 mGPSSubframeWordWithTimingError;
14047 };
14048
14049 // Structure to describe indication TLV 0x14 for PDS GNSSEngineErrorRecoveryReport
14050 struct sPDSGNSSEngineErrorRecoveryReportIndication_TimeParameters
14051 {
14052 eQMIPDSSVSystems mSystem;
14053 UINT8 mPRN;
14054 UINT16 mGPSWeekNumber;
14055 UINT32 mGPSTimeOfWeekMilliseconds;
14056 UINT16 mGNSSNumberOfDays;
14057 UINT32 mGNSSMilliseconds;
14058 UINT32 mClockDifferenceMilliseconds;
14059 };
14060
14061 // Structure to describe indication TLV 0x15 for PDS GNSSEngineErrorRecoveryReport
14062 struct sPDSGNSSEngineErrorRecoveryReportIndication_MeasurementParameters
14063 {
14064 eQMIPDSSVSystems mSystem;
14065 UINT16 mGPSWeekNumber;
14066 UINT32 mGPSTimeOfWeekMilliseconds;
14067 UINT8 mObservedMeasurementInconsistencies;
14068 UINT16 mObservationDuration;
14069 };
14070
14071 // Structure to describe indication TLV 0x16 for PDS GNSSEngineErrorRecoveryReport
14072 struct sPDSGNSSEngineErrorRecoveryReportIndication_RFParameters
14073 {
14074 UINT32 mQualitySignalStrength;
14075 UINT32 mResetSignalStrength;
14076 };
14077
14078 // Structure to describe request TLV 0x10 for PDSInjectTestData()
14079 struct sPDSInjectTestDataRequest_TimeUncertainty
14080 {
14081 UINT32 mTimeUncertaintyMicroseconds;
14082 };
14083
14084 // Structure to describe request TLV 0x11 for PDSInjectTestData()
14085 struct sPDSInjectTestDataRequest_PositionUncertainty
14086 {
14087 UINT32 mPositionUncertaintyCentimeters;
14088 };
14089
14090 // Structure to describe request TLV 0x12 for PDSInjectTestData()
14091 struct sPDSInjectTestDataRequest_TimeOffset
14092 {
14093 UINT64 mTimeOffsetMicroseconds;
14094 };
14095
14096 // Structure to describe request TLV 0x13 for PDSInjectTestData()
14097 struct sPDSInjectTestDataRequest_PositionOffset
14098 {
14099 UINT32 mPositionOffsetMeters;
14100 };
14101
14102 // Structure to describe request TLV 0x01 for PDSSetGNSSRFConfig()
14103 struct sPDSSetGNSSRFConfigRequest_PeakAntennaGain
14104 {
14105 INT16 mPeakAntennaGain;
14106 };
14107
14108 // Structure to describe request TLV 0x10 for PDSSetGNSSRFConfig()
14109 struct sPDSSetGNSSRFConfigRequest_GPSRFLoss
14110 {
14111 UINT16 mRFLoss;
14112 };
14113
14114 // Structure to describe request TLV 0x11 for PDSSetGNSSRFConfig()
14115 struct sPDSSetGNSSRFConfigRequest_GlonassRFLoss
14116 {
14117 UINT16 mRFLossFrequency0;
14118 UINT16 mRFLossFrequencyMinus7;
14119 UINT16 mRFLossFrequencyPlus6;
14120 };
14121
14122 // Structure to describe request TLV 0x10 for AUTHStartEAPSession()
14123 struct sAUTHStartEAPSessionRequest_MethodMask
14124 {
14125 bool mEAPSIM:1;
14126 bool mEAPAKA:1;
14127
14128 // Padding out 30 bits
14129 UINT8 mReserved1:6;
14130 UINT8 mReserved2[3];
14131 };
14132
14133 // Structure to describe request TLV 0x11 for AUTHStartEAPSession()
14134 struct sAUTHStartEAPSessionRequest_UserID
14135 {
14136 UINT8 mUserIDLength;
14137
14138 // This array must be the size specified by mUserIDLength
14139 // UINT8 mUserID[1];
14140 };
14141
14142 // Structure to describe request TLV 0x12 for AUTHStartEAPSession()
14143 struct sAUTHStartEAPSessionRequest_MetaIdentity
14144 {
14145 UINT8 mMetaIdentityLength;
14146
14147 // This array must be the size specified by mMetaIdentityLength
14148 // UINT8 mMetaIdentity[1];
14149 };
14150
14151 // Structure to describe request TLV 0x13 for AUTHStartEAPSession()
14152 struct sAUTHStartEAPSessionRequest_SIMAKAAlgorithm
14153 {
14154 eQMIAUTHSIMAKAAlgorithm mSIMAKAAlgorithm;
14155 };
14156
14157 // Structure to describe request TLV 0x01 for AUTHSendEAPPacket()
14158 struct sAUTHSendEAPPacketRequest_RequestPacket
14159 {
14160 UINT8 mEAPRequestPacket[9999];
14161 };
14162
14163 // Structure to describe response TLV 0x01 for AUTHSendEAPPacket()
14164 struct sAUTHSendEAPPacketResponse_ResponsePacket
14165 {
14166 UINT8 mResponsePacket[9999];
14167 };
14168
14169 // Structure to describe indication TLV 0x01 for AUTH EAPSessionResultIndication
14170 struct sAUTHEAPSessionResultIndication_Result
14171 {
14172 eQMIAUTHEAPResult mResult;
14173 };
14174
14175 // Structure to describe response TLV 0x01 for AUTHGetEAPSessionKeys()
14176 struct sAUTHGetEAPSessionKeysResponse_SessionKeys
14177 {
14178 UINT8 mSessionKeys[9999];
14179 };
14180
14181 // Structure to describe request TLV 0x01 for AUTHRunAKA()
14182 struct sAUTHRunAKARequest_Version
14183 {
14184 eQMIAUTHAKAVersion mAKAVersion;
14185 };
14186
14187 // Structure to describe request TLV 0x10 for AUTHRunAKA()
14188 struct sAUTHRunAKARequest_Parameters1
14189 {
14190 UINT8 mRandomChallengeLength;
14191
14192 // This array must be the size specified by mRandomChallengeLength
14193 // UINT8 mRandomChallenge[1];
14194 };
14195
14196 struct sAUTHRunAKARequest_Parameters2
14197 {
14198 UINT8 mAuthenticationTokenLength;
14199
14200 // This array must be the size specified by mAuthenticationTokenLength
14201 // UINT8 mAuthenticationToken[1];
14202 };
14203
14204 struct sAUTHRunAKARequest_Parameters
14205 {
14206 sAUTHRunAKARequest_Parameters1 mAUTHRunAKARequest_Parameters1;
14207 sAUTHRunAKARequest_Parameters2 mAUTHRunAKARequest_Parameters2;
14208 };
14209
14210 // Structure to describe response TLV 0x01 for AUTHRunAKA()
14211 struct sAUTHRunAKAResponse_Handle
14212 {
14213 UINT32 mHandle;
14214 };
14215
14216 // Structure to describe indication TLV 0x01 for AUTH AKAResultIndication
14217 struct sAUTHAKAResultIndication_Result
14218 {
14219 UINT32 mHandle;
14220 eQMIAUTHAKAResult mResult;
14221 };
14222
14223 // Structure to describe indication TLV 0x10 for AUTH AKAResultIndication
14224 struct sAUTHAKAResultIndication_V1V2ResponseData1
14225 {
14226 UINT8 mDigestLength;
14227
14228 // This array must be the size specified by mDigestLength
14229 // UINT8 mDigest[1];
14230 };
14231
14232 struct sAUTHAKAResultIndication_V1V2ResponseData2
14233 {
14234 UINT8 mAKADataLength;
14235
14236 // This array must be the size specified by mAKADataLength
14237 // UINT8 mAKAData[1];
14238 };
14239
14240 struct sAUTHAKAResultIndication_V1V2ResponseData
14241 {
14242 sAUTHAKAResultIndication_V1V2ResponseData1 mAUTHAKAResultIndication_V1V2ResponseData1;
14243 sAUTHAKAResultIndication_V1V2ResponseData2 mAUTHAKAResultIndication_V1V2ResponseData2;
14244 };
14245
14246 // Structure to describe request TLV 0x10 for VoiceIndicationRegistration()
14247 struct sVoiceIndicationRegistrationRequest_DTMF
14248 {
14249 INT8 mEnableEvents;
14250 };
14251
14252 // Structure to describe request TLV 0x11 for VoiceIndicationRegistration()
14253 struct sVoiceIndicationRegistrationRequest_VoicePrivacy
14254 {
14255 INT8 mEnableEvents;
14256 };
14257
14258 // Structure to describe request TLV 0x12 for VoiceIndicationRegistration()
14259 struct sVoiceIndicationRegistrationRequest_SupplementaryService
14260 {
14261 INT8 mEnableEvents;
14262 };
14263
14264 // Structure to describe request TLV 0x13 for VoiceIndicationRegistration()
14265 struct sVoiceIndicationRegistrationRequest_CallNotification
14266 {
14267 INT8 mEnableEvents;
14268 };
14269
14270 // Structure to describe request TLV 0x14 for VoiceIndicationRegistration()
14271 struct sVoiceIndicationRegistrationRequest_Handover
14272 {
14273 INT8 mEnableEvents;
14274 };
14275
14276 // Structure to describe request TLV 0x15 for VoiceIndicationRegistration()
14277 struct sVoiceIndicationRegistrationRequest_SpeechCodec
14278 {
14279 INT8 mEnableEvents;
14280 };
14281
14282 // Structure to describe request TLV 0x16 for VoiceIndicationRegistration()
14283 struct sVoiceIndicationRegistrationRequest_USSDNotification
14284 {
14285 INT8 mEnableEvents;
14286 };
14287
14288 // Structure to describe request TLV 0x17 for VoiceIndicationRegistration()
14289 struct sVoiceIndicationRegistrationRequest_Supplementary
14290 {
14291 INT8 mEnableEvents;
14292 };
14293
14294 // Structure to describe request TLV 0x18 for VoiceIndicationRegistration()
14295 struct sVoiceIndicationRegistrationRequest_Modification
14296 {
14297 INT8 mEnableEvents;
14298 };
14299
14300 // Structure to describe request TLV 0x19 for VoiceIndicationRegistration()
14301 struct sVoiceIndicationRegistrationRequest_UUS
14302 {
14303 INT8 mEnableEvents;
14304 };
14305
14306 // Structure to describe request TLV 0x1A for VoiceIndicationRegistration()
14307 struct sVoiceIndicationRegistrationRequest_AOC
14308 {
14309 INT8 mEnableEvents;
14310 };
14311
14312 // Structure to describe request TLV 0x01 for VoiceCallOriginate()
14313 struct sVoiceCallOriginateRequest_CallingNumber
14314 {
14315 // String is variable length, but must be size of the container
14316 // char mCallingNumber[1];
14317 };
14318
14319 // Structure to describe request TLV 0x10 for VoiceCallOriginate()
14320 struct sVoiceCallOriginateRequest_CallType
14321 {
14322 eQMIVoiceCallTypes mCallType;
14323 };
14324
14325 // Structure to describe request TLV 0x11 for VoiceCallOriginate()
14326 struct sVoiceCallOriginateRequest_CLIR
14327 {
14328 eQMIVoiceCLIRTypes mCLIRType;
14329 };
14330
14331 // Structure to describe request TLV 0x12 for VoiceCallOriginate()
14332 struct sVoiceCallOriginateRequest_UUS
14333 {
14334 eQMIVoiceUUSTypes mUUSType;
14335 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
14336 UINT8 mUUSLength;
14337
14338 // This array must be the size specified by mUUSLength
14339 // UINT8 mUUSData[1];
14340 };
14341
14342 // Structure to describe request TLV 0x13 for VoiceCallOriginate()
14343 struct sVoiceCallOriginateRequest_CUG
14344 {
14345 UINT16 mCUGIndex;
14346 INT8 mSuppressPreferentialCUG;
14347 INT8 mSuppressOASubscription;
14348 };
14349
14350 // Structure to describe request TLV 0x14 for VoiceCallOriginate()
14351 struct sVoiceCallOriginateRequest_EmergencyCategory
14352 {
14353 bool mPolice:1;
14354 bool mAmbulance:1;
14355 bool mFireBrigade:1;
14356 bool mMarineGuard:1;
14357 bool mMountainRescue:1;
14358 bool mManualCall:1;
14359 bool mAutomaticCall:1;
14360 bool mReserved:1;
14361 };
14362
14363 // Structure to describe request TLV 0x15 for VoiceCallOriginate()
14364 struct sVoiceCallOriginateRequest_CalledPartySubaddress
14365 {
14366 eQMIVoiceSubaddressTypes mSubaddressType;
14367 eQMIVoiceEvenOddIndicators mAddressSignals;
14368 UINT8 mSubaddressLength;
14369
14370 // This array must be the size specified by mSubaddressLength
14371 // UINT8 mSubaddress[1];
14372 };
14373
14374 // Structure to describe request TLV 0x16 for VoiceCallOriginate()
14375 struct sVoiceCallOriginateRequest_ServiceType
14376 {
14377 eQMIVoiceServiceTypes mServiceType;
14378 };
14379
14380 // Structure to describe request TLV 0x17 for VoiceCallOriginate()
14381 struct sVoiceCallOriginateRequest_SIPURIOverflow
14382 {
14383 // String is variable length, but must be size of the container
14384 // char mSIPURIOverflow[1];
14385 };
14386
14387 // Structure to describe request TLV 0x18 for VoiceCallOriginate()
14388 struct sVoiceCallOriginateRequest_AudioAttribute
14389 {
14390 bool mVoiceCallTX:1;
14391 bool mVoiceCallRX:1;
14392
14393 // Padding out 62 bits
14394 UINT8 mReserved1:6;
14395 UINT8 mReserved2[7];
14396 };
14397
14398 // Structure to describe request TLV 0x19 for VoiceCallOriginate()
14399 struct sVoiceCallOriginateRequest_VideoAttribute
14400 {
14401 bool mVoiceCallTX:1;
14402 bool mVoiceCallRX:1;
14403
14404 // Padding out 62 bits
14405 UINT8 mReserved1:6;
14406 UINT8 mReserved2[7];
14407 };
14408
14409 // Structure to describe response TLV 0x10 for VoiceCallOriginate()
14410 struct sVoiceCallOriginateResponse_CallID
14411 {
14412 UINT8 mCallID;
14413 };
14414
14415 // Structure to describe response TLV 0x11 for VoiceCallOriginate()
14416 struct sVoiceCallOriginateResponse_AlphaID
14417 {
14418 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14419 UINT8 mAlphaLength;
14420
14421 // This array must be the size specified by mAlphaLength
14422 // UINT8 mAlphaData[1];
14423 };
14424
14425 // Structure to describe response TLV 0x12 for VoiceCallOriginate()
14426 struct sVoiceCallOriginateResponse_CallControl
14427 {
14428 eQMIVoiceCallControlResultTypes mCallControlResult;
14429 };
14430
14431 // Structure to describe response TLV 0x13 for VoiceCallOriginate()
14432 struct sVoiceCallOriginateResponse_SupplementaryService
14433 {
14434 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14435 eQMIVoiceSupplementaryServiceReasons mReason;
14436 };
14437
14438 // Structure to describe response TLV 0x14 for VoiceCallOriginate()
14439 struct sVoiceCallOriginateResponse_EndReason
14440 {
14441 eQMIVoiceEndReasons mEndReason;
14442 };
14443
14444 // Structure to describe request TLV 0x01 for VoiceCallEnd()
14445 struct sVoiceCallEndRequest_CallID
14446 {
14447 UINT8 mCallID;
14448 };
14449
14450 // Structure to describe response TLV 0x10 for VoiceCallEnd()
14451 struct sVoiceCallEndResponse_CallID
14452 {
14453 UINT8 mCallID;
14454 };
14455
14456 // Structure to describe request TLV 0x01 for VoiceCallAnswer()
14457 struct sVoiceCallAnswerRequest_CallID
14458 {
14459 UINT8 mCallID;
14460 };
14461
14462 // Structure to describe request TLV 0x10 for VoiceCallAnswer()
14463 struct sVoiceCallAnswerRequest_CallType
14464 {
14465 eQMIVoiceCallTypes mCallType;
14466 };
14467
14468 // Structure to describe request TLV 0x11 for VoiceCallAnswer()
14469 struct sVoiceCallAnswerRequest_AudioAttribute
14470 {
14471 bool mVoiceCallTX:1;
14472 bool mVoiceCallRX:1;
14473
14474 // Padding out 62 bits
14475 UINT8 mReserved1:6;
14476 UINT8 mReserved2[7];
14477 };
14478
14479 // Structure to describe request TLV 0x12 for VoiceCallAnswer()
14480 struct sVoiceCallAnswerRequest_VideoAttribute
14481 {
14482 bool mVoiceCallTX:1;
14483 bool mVoiceCallRX:1;
14484
14485 // Padding out 62 bits
14486 UINT8 mReserved1:6;
14487 UINT8 mReserved2[7];
14488 };
14489
14490 // Structure to describe response TLV 0x10 for VoiceCallAnswer()
14491 struct sVoiceCallAnswerResponse_CallID
14492 {
14493 UINT8 mCallID;
14494 };
14495
14496 // Structure to describe request TLV 0x01 for VoiceGetCallInfo()
14497 struct sVoiceGetCallInfoRequest_CallID
14498 {
14499 UINT8 mCallID;
14500 };
14501
14502 // Structure to describe response TLV 0x10 for VoiceGetCallInfo()
14503 struct sVoiceGetCallInfoResponse_CallInfo
14504 {
14505 UINT8 mCallID;
14506 eQMIVoiceCallStates mCallState;
14507 eQMIVoiceCallTypes mCallType;
14508 eQMIVoiceCallDirections mDirection;
14509 eQMIVoiceCallModes mMode;
14510 };
14511
14512 // Structure to describe response TLV 0x11 for VoiceGetCallInfo()
14513 struct sVoiceGetCallInfoResponse_RemotePartyNumber
14514 {
14515 eQMIVoicePresentationIndicators mPresentationIndicator;
14516 UINT8 mNumberLength;
14517
14518 // This array must be the size specified by mNumberLength
14519 // char mNumber[1];
14520 };
14521
14522 // Structure to describe response TLV 0x12 for VoiceGetCallInfo()
14523 struct sVoiceGetCallInfoResponse_ServiceOption
14524 {
14525 UINT16 mServiceOption;
14526 };
14527
14528 // Structure to describe response TLV 0x13 for VoiceGetCallInfo()
14529 struct sVoiceGetCallInfoResponse_VoicePrivacy
14530 {
14531 eQMIVoicePrivacyLevels mVoicePrivacy;
14532 };
14533
14534 // Structure to describe response TLV 0x14 for VoiceGetCallInfo()
14535 struct sVoiceGetCallInfoResponse_OTASPStatus
14536 {
14537 eQMIVoiceOTASPStati mOTASPStatus;
14538 };
14539
14540 // Structure to describe response TLV 0x15 for VoiceGetCallInfo()
14541 struct sVoiceGetCallInfoResponse_RemotePartyName
14542 {
14543 eQMIVoicePresentationIndicators mPresentationIndicator;
14544 UINT8 mCodingScheme;
14545 UINT8 mCallerNameLength;
14546
14547 // This array must be the size specified by mCallerNameLength
14548 // UINT8 mCallerName[1];
14549 };
14550
14551 // Structure to describe response TLV 0x16 for VoiceGetCallInfo()
14552 struct sVoiceGetCallInfoResponse_UUS
14553 {
14554 eQMIVoiceUUSTypes mUUSType;
14555 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
14556 UINT8 mUUSLength;
14557
14558 // This array must be the size specified by mUUSLength
14559 // UINT8 mUUSData[1];
14560 };
14561
14562 // Structure to describe response TLV 0x17 for VoiceGetCallInfo()
14563 struct sVoiceGetCallInfoResponse_AlertingType
14564 {
14565 eQMIVoiceAlertingTypes mAlertingType;
14566 };
14567
14568 // Structure to describe response TLV 0x18 for VoiceGetCallInfo()
14569 struct sVoiceGetCallInfoResponse_AlphaID
14570 {
14571 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14572 UINT8 mAlphaLength;
14573
14574 // This array must be the size specified by mAlphaLength
14575 // UINT8 mAlphaData[1];
14576 };
14577
14578 // Structure to describe response TLV 0x19 for VoiceGetCallInfo()
14579 struct sVoiceGetCallInfoResponse_ConnectedNumberInfo
14580 {
14581 UINT8 mPresentationIndicator;
14582 eQMIVoiceScreeningIndicators mScreeningIndicator;
14583 eQMIVoiceNumberTypes mNumberType;
14584 eQMIVoiceNumberPlans mNumberPlan;
14585 UINT8 mNumberLength;
14586
14587 // This array must be the size specified by mNumberLength
14588 // char mNumber[1];
14589 };
14590
14591 // Structure to describe response TLV 0x1A for VoiceGetCallInfo()
14592 struct sVoiceGetCallInfoResponse_DiagnosticInfo
14593 {
14594 UINT8 mDiagnosticInfoLength;
14595
14596 // This array must be the size specified by mDiagnosticInfoLength
14597 // UINT8 mDiagnosticInfo[1];
14598 };
14599
14600 // Structure to describe response TLV 0x1B for VoiceGetCallInfo()
14601 struct sVoiceGetCallInfoResponse_AlertingPattern
14602 {
14603 eQMIVoiceAlertingPatterns mAlertingPattern;
14604 };
14605
14606 // Structure to describe response TLV 0x1C for VoiceGetCallInfo()
14607 struct sVoiceGetCallInfoResponse_AudioAttribute
14608 {
14609 bool mVoiceCallTX:1;
14610 bool mVoiceCallRX:1;
14611
14612 // Padding out 62 bits
14613 UINT8 mReserved1:6;
14614 UINT8 mReserved2[7];
14615 };
14616
14617 // Structure to describe response TLV 0x1D for VoiceGetCallInfo()
14618 struct sVoiceGetCallInfoResponse_VideoAttribute
14619 {
14620 bool mVoiceCallTX:1;
14621 bool mVoiceCallRX:1;
14622
14623 // Padding out 62 bits
14624 UINT8 mReserved1:6;
14625 UINT8 mReserved2[7];
14626 };
14627
14628 // Structure to describe indication TLV 0x10 for Voice OTASPIndication
14629 struct sVoiceOTASPIndication_OTASPStatus
14630 {
14631 UINT8 mCallID;
14632 eQMIVoiceOTASPStati mOTASPStatus;
14633 };
14634
14635 // Structure to describe indication TLV 0x01 for Voice InfoRecordIndication
14636 struct sVoiceInfoRecordIndication_CallID
14637 {
14638 UINT8 mCallID;
14639 };
14640
14641 // Structure to describe indication TLV 0x10 for Voice InfoRecordIndication
14642 struct sVoiceInfoRecordIndication_Signal
14643 {
14644 UINT8 mSignalType;
14645 UINT8 mAlertPitch;
14646 UINT8 mSignal;
14647 };
14648
14649 // Structure to describe indication TLV 0x11 for Voice InfoRecordIndication
14650 struct sVoiceInfoRecordIndication_CallerID
14651 {
14652 UINT8 mPresentationIndicator;
14653 UINT8 mCallerIDLength;
14654
14655 // This array must be the size specified by mCallerIDLength
14656 // char mCallerID[1];
14657 };
14658
14659 // Structure to describe indication TLV 0x12 for Voice InfoRecordIndication
14660 struct sVoiceInfoRecordIndication_Display
14661 {
14662 // String is variable length, but must be size of the container
14663 // char mDisplayBuffer[1];
14664 };
14665
14666 // Structure to describe indication TLV 0x13 for Voice InfoRecordIndication
14667 struct sVoiceInfoRecordIndication_ExtendedDisplay
14668 {
14669 UINT8 mExtendedDisplayBuffer[182];
14670 };
14671
14672 // Structure to describe indication TLV 0x14 for Voice InfoRecordIndication
14673 struct sVoiceInfoRecordIndication_CallerName
14674 {
14675 // String is variable length, but must be size of the container
14676 // char mCallerName[1];
14677 };
14678
14679 // Structure to describe indication TLV 0x15 for Voice InfoRecordIndication
14680 struct sVoiceInfoRecordIndication_CallWaiting
14681 {
14682 INT8 mNewCallWaiting;
14683 };
14684
14685 // Structure to describe indication TLV 0x16 for Voice InfoRecordIndication
14686 struct sVoiceInfoRecordIndication_ConnectedNumberInfo
14687 {
14688 UINT8 mPresentationIndicator;
14689 eQMIVoiceScreeningIndicators mScreeningIndicator;
14690 eQMIVoiceNumberTypes mNumberType;
14691 eQMIVoiceNumberPlans mNumberPlan;
14692 UINT8 mNumberLength;
14693
14694 // This array must be the size specified by mNumberLength
14695 // char mNumber[1];
14696 };
14697
14698 // Structure to describe indication TLV 0x17 for Voice InfoRecordIndication
14699 struct sVoiceInfoRecordIndication_CallingPartyNumberInfo
14700 {
14701 UINT8 mPresentationIndicator;
14702 eQMIVoiceScreeningIndicators mScreeningIndicator;
14703 eQMIVoiceNumberTypes mNumberType;
14704 eQMIVoiceNumberPlans mNumberPlan;
14705 UINT8 mNumberLength;
14706
14707 // This array must be the size specified by mNumberLength
14708 // char mNumber[1];
14709 };
14710
14711 // Structure to describe indication TLV 0x18 for Voice InfoRecordIndication
14712 struct sVoiceInfoRecordIndication_CalledPartyNumberInfo
14713 {
14714 UINT8 mPresentationIndicator;
14715 eQMIVoiceScreeningIndicators mScreeningIndicator;
14716 eQMIVoiceNumberTypes mNumberType;
14717 eQMIVoiceNumberPlans mNumberPlan;
14718 UINT8 mNumberLength;
14719
14720 // This array must be the size specified by mNumberLength
14721 // char mNumber[1];
14722 };
14723
14724 // Structure to describe indication TLV 0x19 for Voice InfoRecordIndication
14725 struct sVoiceInfoRecordIndication_RedirectingNumberInfo
14726 {
14727 UINT8 mPresentationIndicator;
14728 eQMIVoiceScreeningIndicators mScreeningIndicator;
14729 eQMIVoiceNumberTypes mNumberType;
14730 eQMIVoiceNumberPlans mNumberPlan;
14731 UINT8 mRedirectReason;
14732 UINT8 mNumberLength;
14733
14734 // This array must be the size specified by mNumberLength
14735 // char mNumber[1];
14736 };
14737
14738 // Structure to describe indication TLV 0x1A for Voice InfoRecordIndication
14739 struct sVoiceInfoRecordIndication_CLIRCause
14740 {
14741 eQMIVoiceCLIRCauses mCLIRCause;
14742 };
14743
14744 // Structure to describe indication TLV 0x1B for Voice InfoRecordIndication
14745 struct sVoiceInfoRecordIndication_NSSAudio
14746 {
14747 UINT8 mUpLink;
14748 UINT8 mDownLink;
14749 };
14750
14751 // Structure to describe indication TLV 0x1C for Voice InfoRecordIndication
14752 struct sVoiceInfoRecordIndication_NSSRelease
14753 {
14754 eQMIVoiceNSSReleases mNSSRelease;
14755 };
14756
14757 // Structure to describe indication TLV 0x1D for Voice InfoRecordIndication
14758 struct sVoiceInfoRecordIndication_LineControlInfo
14759 {
14760 INT8 mPolarityIncluded;
14761 INT8 mToggleMode;
14762 INT8 mReversePolarity;
14763 UINT8 mPowerDenialTime;
14764 };
14765
14766 // Structure to describe indication TLV 0x1E for Voice InfoRecordIndication
14767 struct sVoiceInfoRecordIndication_ExtendedDisplayInfo
14768 {
14769 UINT8 mDisplayType;
14770 UINT8 mExtendedDisplayInfoLength;
14771
14772 // This array must be the size specified by mExtendedDisplayInfoLength
14773 // UINT8 mExtendedDisplayInfo[1];
14774 };
14775
14776 // Structure to describe request TLV 0x01 for VoiceSendFlash()
14777 struct sVoiceSendFlashRequest_CallID
14778 {
14779 UINT8 mCallID;
14780 };
14781
14782 // Structure to describe request TLV 0x10 for VoiceSendFlash()
14783 struct sVoiceSendFlashRequest_Payload
14784 {
14785 // String is variable length, but must be size of the container
14786 // char mFlashPayload[1];
14787 };
14788
14789 // Structure to describe request TLV 0x11 for VoiceSendFlash()
14790 struct sVoiceSendFlashRequest_Type
14791 {
14792 eQMIVoiceFlashTypes mFlashType;
14793 };
14794
14795 // Structure to describe response TLV 0x10 for VoiceSendFlash()
14796 struct sVoiceSendFlashResponse_CallID
14797 {
14798 UINT8 mCallID;
14799 };
14800
14801 // Structure to describe request TLV 0x01 for VoiceBurstDTMF()
14802 struct sVoiceBurstDTMFRequest_Info
14803 {
14804 UINT8 mCallID;
14805 UINT8 mDTMFBufferLength;
14806
14807 // This array must be the size specified by mDTMFBufferLength
14808 // char mDTMFBuffer[1];
14809 };
14810
14811 // Structure to describe request TLV 0x10 for VoiceBurstDTMF()
14812 struct sVoiceBurstDTMFRequest_Lengths
14813 {
14814 eQMIVoicePulseWidths mDTMFPulseWidth;
14815 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
14816 };
14817
14818 // Structure to describe request TLV 0x01 for VoiceStartContinuousDTMF()
14819 struct sVoiceStartContinuousDTMFRequest_Info
14820 {
14821 UINT8 mCallID;
14822 char mDTMFDigit;
14823 };
14824
14825 // Structure to describe response TLV 0x10 for VoiceStartContinuous()
14826 struct sVoiceStartContinuousResponse_CallID
14827 {
14828 UINT8 mCallID;
14829 };
14830
14831 // Structure to describe request TLV 0x01 for VoiceStopContinuousDTMF()
14832 struct sVoiceStopContinuousDTMFRequest_CallID
14833 {
14834 UINT8 mCallID;
14835 };
14836
14837 // Structure to describe response TLV 0x10 for VoiceStopContinuous()
14838 struct sVoiceStopContinuousResponse_CallID
14839 {
14840 UINT8 mCallID;
14841 };
14842
14843 // Structure to describe indication TLV 0x01 for Voice DTMFIndication
14844 struct sVoiceDTMFIndication_DTMFInfo
14845 {
14846 UINT8 mCallID;
14847 eQMIVoiceDTMFEvents mDTMFEvent;
14848 UINT8 mDTMFBufferLength;
14849
14850 // This array must be the size specified by mDTMFBufferLength
14851 // char mDTMFBuffer[1];
14852 };
14853
14854 // Structure to describe indication TLV 0x10 for Voice DTMFIndication
14855 struct sVoiceDTMFIndication_Lengths
14856 {
14857 eQMIVoicePulseWidths mDTMFPulseWidth;
14858 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
14859 };
14860
14861 // Structure to describe request TLV 0x01 for VoiceSetPreferredPrivacy()
14862 struct sVoiceSetPreferredPrivacyRequest_Preference
14863 {
14864 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
14865 };
14866
14867 // Structure to describe indication TLV 0x01 for Voice PrivacyIndication
14868 struct sVoicePrivacyIndication_DTMFInfo
14869 {
14870 UINT8 mCallID;
14871 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
14872 };
14873
14874 // Structure to describe indication TLV 0x01 for Voice AllCallStatusIndication
14875 struct sVoiceAllCallStatusIndication_CallInfo
14876 {
14877 UINT8 mCallInstanceCount;
14878
14879 struct sInstance
14880 {
14881 UINT8 mCallID;
14882 eQMIVoiceCallStates mCallState;
14883 eQMIVoiceCallTypes mCallType;
14884 eQMIVoiceCallDirections mDirection;
14885 eQMIVoiceCallModes mMode;
14886 INT8 mMultiparty;
14887 eQMIVoiceALSLineIndicators mALSLineIndicator;
14888 };
14889
14890 // This array must be the size specified by mCallInstanceCount
14891 // sInstance mInstances[1];
14892 };
14893
14894 // Structure to describe indication TLV 0x10 for Voice AllCallStatusIndication
14895 struct sVoiceAllCallStatusIndication_RemotePartyNumber
14896 {
14897 UINT8 mCallInstanceCount;
14898
14899 struct sInstance
14900 {
14901 UINT8 mCallID;
14902 eQMIVoicePresentationIndicators mPresentationIndicator;
14903 UINT8 mNumberLength;
14904
14905 // This array must be the size specified by mNumberLength
14906 // char mNumber[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 0x11 for Voice AllCallStatusIndication
14914 struct sVoiceAllCallStatusIndication_RemotePartyName
14915 {
14916 UINT8 mCallInstanceCount;
14917
14918 struct sInstance
14919 {
14920 UINT8 mCallID;
14921 eQMIVoicePresentationIndicators mPresentationIndicator;
14922 UINT8 mCodingScheme;
14923 UINT8 mCallerNameLength;
14924
14925 // This array must be the size specified by mCallerNameLength
14926 // UINT8 mCallerName[1];
14927 };
14928
14929 // This array must be the size specified by mCallInstanceCount
14930 // sInstance mInstances[1];
14931 };
14932
14933 // Structure to describe indication TLV 0x12 for Voice AllCallStatusIndication
14934 struct sVoiceAllCallStatusIndication_AlertingType
14935 {
14936 UINT8 mCallInstanceCount;
14937
14938 struct sInstance
14939 {
14940 UINT8 mCallID;
14941 eQMIVoiceAlertingTypes mAlertingType;
14942 };
14943
14944 // This array must be the size specified by mCallInstanceCount
14945 // sInstance mInstances[1];
14946 };
14947
14948 // Structure to describe indication TLV 0x13 for Voice AllCallStatusIndication
14949 struct sVoiceAllCallStatusIndication_ServiceOption
14950 {
14951 UINT8 mCallInstanceCount;
14952
14953 struct sInstance
14954 {
14955 UINT8 mCallID;
14956 UINT16 mServiceOption;
14957 };
14958
14959 // This array must be the size specified by mCallInstanceCount
14960 // sInstance mInstances[1];
14961 };
14962
14963 // Structure to describe indication TLV 0x14 for Voice AllCallStatusIndication
14964 struct sVoiceAllCallStatusIndication_CallEndReason
14965 {
14966 UINT8 mCallInstanceCount;
14967
14968 struct sInstance
14969 {
14970 UINT8 mCallID;
14971 eQMIVoiceEndReasons mEndReason;
14972 };
14973
14974 // This array must be the size specified by mCallInstanceCount
14975 // sInstance mInstances[1];
14976 };
14977
14978 // Structure to describe indication TLV 0x15 for Voice AllCallStatusIndication
14979 struct sVoiceAllCallStatusIndication_AlphaID
14980 {
14981 UINT8 mCallInstanceCount;
14982
14983 struct sInstance
14984 {
14985 UINT8 mCallID;
14986 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14987 UINT8 mAlphaLength;
14988
14989 // This array must be the size specified by mAlphaLength
14990 // UINT8 mAlphaData[1];
14991 };
14992
14993 // This array must be the size specified by mCallInstanceCount
14994 // sInstance mInstances[1];
14995 };
14996
14997 // Structure to describe indication TLV 0x16 for Voice AllCallStatusIndication
14998 struct sVoiceAllCallStatusIndication_ConnectedNumberInfo
14999 {
15000 UINT8 mCallInstanceCount;
15001
15002 struct sInstance
15003 {
15004 UINT8 mCallID;
15005 UINT8 mPresentationIndicator;
15006 eQMIVoiceScreeningIndicators mScreeningIndicator;
15007 eQMIVoiceNumberTypes mNumberType;
15008 eQMIVoiceNumberPlans mNumberPlan;
15009 UINT8 mNumberLength;
15010
15011 // This array must be the size specified by mNumberLength
15012 // char mNumber[1];
15013 };
15014
15015 // This array must be the size specified by mCallInstanceCount
15016 // sInstance mInstances[1];
15017 };
15018
15019 // Structure to describe indication TLV 0x17 for Voice AllCallStatusIndication
15020 struct sVoiceAllCallStatusIndication_DiagnosticInfo
15021 {
15022 UINT8 mCallInstanceCount;
15023
15024 struct sInstance
15025 {
15026 UINT8 mCallID;
15027 UINT8 mDiagnosticInfoLength;
15028
15029 // This array must be the size specified by mDiagnosticInfoLength
15030 // UINT8 mDiagnosticInfo[1];
15031 };
15032
15033 // This array must be the size specified by mCallInstanceCount
15034 // sInstance mInstances[1];
15035 };
15036
15037 // Structure to describe indication TLV 0x18 for Voice AllCallStatusIndication
15038 struct sVoiceAllCallStatusIndication_CalledPartyNumberInfo
15039 {
15040 UINT8 mCallInstanceCount;
15041
15042 struct sInstance
15043 {
15044 UINT8 mCallID;
15045 UINT8 mPresentationIndicator;
15046 eQMIVoiceScreeningIndicators mScreeningIndicator;
15047 eQMIVoiceNumberTypes mNumberType;
15048 eQMIVoiceNumberPlans mNumberPlan;
15049 UINT8 mNumberLength;
15050
15051 // This array must be the size specified by mNumberLength
15052 // char mNumber[1];
15053 };
15054
15055 // This array must be the size specified by mCallInstanceCount
15056 // sInstance mInstances[1];
15057 };
15058
15059 // Structure to describe indication TLV 0x19 for Voice AllCallStatusIndication
15060 struct sVoiceAllCallStatusIndication_RedirectingNumberInfo
15061 {
15062 UINT8 mCallInstanceCount;
15063
15064 struct sInstance
15065 {
15066 UINT8 mCallID;
15067 UINT8 mPresentationIndicator;
15068 eQMIVoiceScreeningIndicators mScreeningIndicator;
15069 eQMIVoiceNumberTypes mNumberType;
15070 eQMIVoiceNumberPlans mNumberPlan;
15071 UINT8 mNumberLength;
15072
15073 // This array must be the size specified by mNumberLength
15074 // char mNumber[1];
15075 };
15076
15077 // This array must be the size specified by mCallInstanceCount
15078 // sInstance mInstances[1];
15079 };
15080
15081 // Structure to describe indication TLV 0x1A for Voice AllCallStatusIndication
15082 struct sVoiceAllCallStatusIndication_AlertingPattern
15083 {
15084 UINT8 mCallInstanceCount;
15085
15086 struct sInstance
15087 {
15088 UINT8 mCallID;
15089 eQMIVoiceAlertingPatterns mAlertingPattern;
15090 };
15091
15092 // This array must be the size specified by mCallInstanceCount
15093 // sInstance mInstances[1];
15094 };
15095
15096 // Structure to describe indication TLV 0x1B for Voice AllCallStatusIndication
15097 struct sVoiceAllCallStatusIndication_AudioAttributesArray
15098 {
15099 UINT8 mAttributesCount;
15100
15101 struct sAttributes
15102 {
15103 UINT8 mCallID;
15104 bool mVoiceCallTX:1;
15105 bool mVoiceCallRX:1;
15106
15107 // Padding out 62 bits
15108 UINT8 mReserved1:6;
15109 UINT8 mReserved2[7];
15110 };
15111
15112 // This array must be the size specified by mAttributesCount
15113 // sAttributes mAttributeses[1];
15114 };
15115
15116 // Structure to describe indication TLV 0x1C for Voice AllCallStatusIndication
15117 struct sVoiceAllCallStatusIndication_VideoAttributesArray
15118 {
15119 UINT8 mAttributesCount;
15120
15121 struct sAttributes
15122 {
15123 UINT8 mCallID;
15124 bool mVoiceCallTX:1;
15125 bool mVoiceCallRX:1;
15126
15127 // Padding out 62 bits
15128 UINT8 mReserved1:6;
15129 UINT8 mReserved2[7];
15130 };
15131
15132 // This array must be the size specified by mAttributesCount
15133 // sAttributes mAttributeses[1];
15134 };
15135
15136 // Structure to describe response TLV 0x10 for VoiceGetAllCallInfo()
15137 struct sVoiceGetAllCallInfoResponse_CallInfo
15138 {
15139 UINT8 mCallInstanceCount;
15140
15141 struct sInstance
15142 {
15143 UINT8 mCallID;
15144 eQMIVoiceCallStates mCallState;
15145 eQMIVoiceCallTypes mCallType;
15146 eQMIVoiceCallDirections mDirection;
15147 eQMIVoiceCallModes mMode;
15148 INT8 mMultiparty;
15149 eQMIVoiceALSLineIndicators mALSLineIndicator;
15150 };
15151
15152 // This array must be the size specified by mCallInstanceCount
15153 // sInstance mInstances[1];
15154 };
15155
15156 // Structure to describe response TLV 0x11 for VoiceGetAllCallInfo()
15157 struct sVoiceGetAllCallInfoResponse_RemotePartyNumber
15158 {
15159 UINT8 mCallInstanceCount;
15160
15161 struct sInstance
15162 {
15163 UINT8 mCallID;
15164 eQMIVoicePresentationIndicators mPresentationIndicator;
15165 UINT8 mNumberLength;
15166
15167 // This array must be the size specified by mNumberLength
15168 // char mNumber[1];
15169 };
15170
15171 // This array must be the size specified by mCallInstanceCount
15172 // sInstance mInstances[1];
15173 };
15174
15175 // Structure to describe response TLV 0x12 for VoiceGetAllCallInfo()
15176 struct sVoiceGetAllCallInfoResponse_RemotePartyName
15177 {
15178 UINT8 mCallInstanceCount;
15179
15180 struct sInstance
15181 {
15182 UINT8 mCallID;
15183 eQMIVoicePresentationIndicators mPresentationIndicator;
15184 UINT8 mCodingScheme;
15185 UINT8 mCallerNameLength;
15186
15187 // This array must be the size specified by mCallerNameLength
15188 // UINT8 mCallerName[1];
15189 };
15190
15191 // This array must be the size specified by mCallInstanceCount
15192 // sInstance mInstances[1];
15193 };
15194
15195 // Structure to describe response TLV 0x13 for VoiceGetAllCallInfo()
15196 struct sVoiceGetAllCallInfoResponse_AlertingType
15197 {
15198 UINT8 mCallInstanceCount;
15199
15200 struct sInstance
15201 {
15202 UINT8 mCallID;
15203 eQMIVoiceAlertingTypes mAlertingType;
15204 };
15205
15206 // This array must be the size specified by mCallInstanceCount
15207 // sInstance mInstances[1];
15208 };
15209
15210 // Structure to describe response TLV 0x14 for VoiceGetAllCallInfo()
15211 struct sVoiceGetAllCallInfoResponse_UUS
15212 {
15213 UINT8 mCallInstanceCount;
15214
15215 struct sInstance
15216 {
15217 UINT8 mCallID;
15218 eQMIVoiceUUSTypes mUUSType;
15219 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
15220 UINT8 mUUSLength;
15221
15222 // This array must be the size specified by mUUSLength
15223 // UINT8 mUUSData[1];
15224 };
15225
15226 // This array must be the size specified by mCallInstanceCount
15227 // sInstance mInstances[1];
15228 };
15229
15230 // Structure to describe response TLV 0x15 for VoiceGetAllCallInfo()
15231 struct sVoiceGetAllCallInfoResponse_ServiceOption
15232 {
15233 UINT8 mCallInstanceCount;
15234
15235 struct sInstance
15236 {
15237 UINT8 mCallID;
15238 UINT16 mServiceOption;
15239 };
15240
15241 // This array must be the size specified by mCallInstanceCount
15242 // sInstance mInstances[1];
15243 };
15244
15245 // Structure to describe response TLV 0x16 for VoiceGetAllCallInfo()
15246 struct sVoiceGetAllCallInfoResponse_OTASPStatus
15247 {
15248 eQMIVoiceOTASPStati mOTASPStatus;
15249 };
15250
15251 // Structure to describe response TLV 0x17 for VoiceGetAllCallInfo()
15252 struct sVoiceGetAllCallInfoResponse_VoicePrivacy
15253 {
15254 eQMIVoicePrivacyLevels mVoicePrivacy;
15255 };
15256
15257 // Structure to describe response TLV 0x18 for VoiceGetAllCallInfo()
15258 struct sVoiceGetAllCallInfoResponse_CallEndReason
15259 {
15260 UINT8 mCallInstanceCount;
15261
15262 struct sInstance
15263 {
15264 UINT8 mCallID;
15265 eQMIVoiceEndReasons mEndReason;
15266 };
15267
15268 // This array must be the size specified by mCallInstanceCount
15269 // sInstance mInstances[1];
15270 };
15271
15272 // Structure to describe response TLV 0x19 for VoiceGetAllCallInfo()
15273 struct sVoiceGetAllCallInfoResponse_AlphaID
15274 {
15275 UINT8 mCallInstanceCount;
15276
15277 struct sInstance
15278 {
15279 UINT8 mCallID;
15280 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15281 UINT8 mAlphaLength;
15282
15283 // This array must be the size specified by mAlphaLength
15284 // UINT8 mAlphaData[1];
15285 };
15286
15287 // This array must be the size specified by mCallInstanceCount
15288 // sInstance mInstances[1];
15289 };
15290
15291 // Structure to describe response TLV 0x1A for VoiceGetAllCallInfo()
15292 struct sVoiceGetAllCallInfoResponse_ConnectedNumberInfo
15293 {
15294 UINT8 mCallInstanceCount;
15295
15296 struct sInstance
15297 {
15298 UINT8 mCallID;
15299 UINT8 mPresentationIndicator;
15300 eQMIVoiceScreeningIndicators mScreeningIndicator;
15301 eQMIVoiceNumberTypes mNumberType;
15302 eQMIVoiceNumberPlans mNumberPlan;
15303 UINT8 mNumberLength;
15304
15305 // This array must be the size specified by mNumberLength
15306 // char mNumber[1];
15307 };
15308
15309 // This array must be the size specified by mCallInstanceCount
15310 // sInstance mInstances[1];
15311 };
15312
15313 // Structure to describe response TLV 0x1B for VoiceGetAllCallInfo()
15314 struct sVoiceGetAllCallInfoResponse_DiagnosticInfo
15315 {
15316 UINT8 mCallInstanceCount;
15317
15318 struct sInstance
15319 {
15320 UINT8 mCallID;
15321 UINT8 mDiagnosticInfoLength;
15322
15323 // This array must be the size specified by mDiagnosticInfoLength
15324 // UINT8 mDiagnosticInfo[1];
15325 };
15326
15327 // This array must be the size specified by mCallInstanceCount
15328 // sInstance mInstances[1];
15329 };
15330
15331 // Structure to describe response TLV 0x1C for VoiceGetAllCallInfo()
15332 struct sVoiceGetAllCallInfoResponse_CalledPartyNumberInfo
15333 {
15334 UINT8 mCallInstanceCount;
15335
15336 struct sInstance
15337 {
15338 UINT8 mCallID;
15339 UINT8 mPresentationIndicator;
15340 eQMIVoiceScreeningIndicators mScreeningIndicator;
15341 eQMIVoiceNumberTypes mNumberType;
15342 eQMIVoiceNumberPlans mNumberPlan;
15343 UINT8 mNumberLength;
15344
15345 // This array must be the size specified by mNumberLength
15346 // char mNumber[1];
15347 };
15348
15349 // This array must be the size specified by mCallInstanceCount
15350 // sInstance mInstances[1];
15351 };
15352
15353 // Structure to describe response TLV 0x1D for VoiceGetAllCallInfo()
15354 struct sVoiceGetAllCallInfoResponse_RedirectingNumberInfo
15355 {
15356 UINT8 mCallInstanceCount;
15357
15358 struct sInstance
15359 {
15360 UINT8 mCallID;
15361 UINT8 mPresentationIndicator;
15362 eQMIVoiceScreeningIndicators mScreeningIndicator;
15363 eQMIVoiceNumberTypes mNumberType;
15364 eQMIVoiceNumberPlans mNumberPlan;
15365 UINT8 mNumberLength;
15366
15367 // This array must be the size specified by mNumberLength
15368 // char mNumber[1];
15369 };
15370
15371 // This array must be the size specified by mCallInstanceCount
15372 // sInstance mInstances[1];
15373 };
15374
15375 // Structure to describe response TLV 0x1E for VoiceGetAllCallInfo()
15376 struct sVoiceGetAllCallInfoResponse_AlertingPattern
15377 {
15378 UINT8 mCallInstanceCount;
15379
15380 struct sInstance
15381 {
15382 UINT8 mCallID;
15383 eQMIVoiceAlertingPatterns mAlertingPattern;
15384 };
15385
15386 // This array must be the size specified by mCallInstanceCount
15387 // sInstance mInstances[1];
15388 };
15389
15390 // Structure to describe response TLV 0x1F for VoiceGetAllCallInfo()
15391 struct sVoiceGetAllCallInfoResponse_AudioAttributesArray
15392 {
15393 UINT8 mAttributesCount;
15394
15395 struct sAttributes
15396 {
15397 UINT8 mCallID;
15398 bool mVoiceCallTX:1;
15399 bool mVoiceCallRX:1;
15400
15401 // Padding out 62 bits
15402 UINT8 mReserved1:6;
15403 UINT8 mReserved2[7];
15404 };
15405
15406 // This array must be the size specified by mAttributesCount
15407 // sAttributes mAttributeses[1];
15408 };
15409
15410 // Structure to describe response TLV 0x20 for VoiceGetAllCallInfo()
15411 struct sVoiceGetAllCallInfoResponse_VideoAttributesArray
15412 {
15413 UINT8 mAttributesCount;
15414
15415 struct sAttributes
15416 {
15417 UINT8 mCallID;
15418 bool mVoiceCallTX:1;
15419 bool mVoiceCallRX:1;
15420
15421 // Padding out 62 bits
15422 UINT8 mReserved1:6;
15423 UINT8 mReserved2[7];
15424 };
15425
15426 // This array must be the size specified by mAttributesCount
15427 // sAttributes mAttributeses[1];
15428 };
15429
15430 // Structure to describe request TLV 0x01 for VoiceManageCalls()
15431 struct sVoiceManageCallsRequest_Info
15432 {
15433 eQMIVoiceSupplementaryServiceCallTypes mSupplementaryServiceType;
15434 };
15435
15436 // Structure to describe request TLV 0x10 for VoiceManageCalls()
15437 struct sVoiceManageCallsRequest_CallID
15438 {
15439 UINT8 mCallID;
15440 };
15441
15442 // Structure to describe response TLV 0x10 for VoiceManageCalls()
15443 struct sVoiceManageCallsResponse_FailureCause
15444 {
15445 eQMIVoiceEndReasons mFailureCause;
15446 };
15447
15448 // Structure to describe indication TLV 0x01 for Voice SupplementaryServiceIndication
15449 struct sVoiceSupplementaryServiceIndication_Info
15450 {
15451 UINT8 mCallID;
15452 eQMIVoiceSupplementaryNotificationTypes mNotificationType;
15453 };
15454
15455 // Structure to describe indication TLV 0x10 for Voice SupplementaryServiceIndication
15456 struct sVoiceSupplementaryServiceIndication_CUG
15457 {
15458 UINT16 mCUGIndex;
15459 };
15460
15461 // Structure to describe indication TLV 0x11 for Voice SupplementaryServiceIndication
15462 struct sVoiceSupplementaryServiceIndication_ECT
15463 {
15464 eQMIVoiceECTCallStates mECTCallState;
15465 eQMIVoicePresentationIndicators mPresentationIndicator;
15466 UINT8 mNumberLength;
15467
15468 // This array must be the size specified by mNumberLength
15469 // char mNumber[1];
15470 };
15471
15472 // Structure to describe request TLV 0x01 for VoiceSetSupplementaryService()
15473 struct sVoiceSetSupplementaryServiceRequest_Info
15474 {
15475 eQMIVoiceSupplementaryServiceTypes mService;
15476 eQMIVoiceSupplementaryServiceReasons mReason;
15477 };
15478
15479 // Structure to describe request TLV 0x10 for VoiceSetSupplementaryService()
15480 struct sVoiceSetSupplementaryServiceRequest_ServiceClass
15481 {
15482 bool mSupplementaryServiceClassVoice:1;
15483 bool mSupplementaryServiceClassData:1;
15484 bool mSupplementaryServiceClassFax:1;
15485 bool mSupplementaryServiceClassSMS:1;
15486 bool mSupplementaryServiceClassDataCircuitSync:1;
15487 bool mSupplementaryServiceClassDataCircuitAsync:1;
15488 bool mSupplementaryServiceClassPacketAccess:1;
15489 bool mSupplementaryServiceClassPadAccess:1;
15490 };
15491
15492 // Structure to describe request TLV 0x11 for VoiceSetSupplementaryService()
15493 struct sVoiceSetSupplementaryServiceRequest_Password
15494 {
15495 char mCallBarringPassword[4];
15496 };
15497
15498 // Structure to describe request TLV 0x12 for VoiceSetSupplementaryService()
15499 struct sVoiceSetSupplementaryServiceRequest_Number
15500 {
15501 // String is variable length, but must be size of the container
15502 // char mCallForwardingNumber[1];
15503 };
15504
15505 // Structure to describe request TLV 0x13 for VoiceSetSupplementaryService()
15506 struct sVoiceSetSupplementaryServiceRequest_Timer
15507 {
15508 UINT8 mNoReplyTimerSeconds;
15509 };
15510
15511 // Structure to describe request TLV 0x14 for VoiceSetSupplementaryService()
15512 struct sVoiceSetSupplementaryServiceRequest_CallForwarding
15513 {
15514 eQMIVoiceNumberTypes mNumberType;
15515 eQMIVoiceNumberPlans mNumberPlan;
15516 };
15517
15518 // Structure to describe request TLV 0x15 for VoiceSetSupplementaryService()
15519 struct sVoiceSetSupplementaryServiceRequest_ExtendedServiceClass
15520 {
15521 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15522 };
15523
15524 // Structure to describe response TLV 0x10 for VoiceSetSupplementaryService()
15525 struct sVoiceSetSupplementaryServiceResponse_FailureCause
15526 {
15527 eQMIVoiceEndReasons mFailureCause;
15528 };
15529
15530 // Structure to describe response TLV 0x11 for VoiceSetSupplementaryService()
15531 struct sVoiceSetSupplementaryServiceResponse_AlphaID
15532 {
15533 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15534 UINT8 mAlphaLength;
15535
15536 // This array must be the size specified by mAlphaLength
15537 // UINT8 mAlphaData[1];
15538 };
15539
15540 // Structure to describe response TLV 0x12 for VoiceSetSupplementaryService()
15541 struct sVoiceSetSupplementaryServiceResponse_CallControl
15542 {
15543 eQMIVoiceCallControlResultTypes mCallControlResult;
15544 };
15545
15546 // Structure to describe response TLV 0x13 for VoiceSetSupplementaryService()
15547 struct sVoiceSetSupplementaryServiceResponse_CallID
15548 {
15549 UINT8 mCallID;
15550 };
15551
15552 // Structure to describe response TLV 0x14 for VoiceSetSupplementaryService()
15553 struct sVoiceSetSupplementaryServiceResponse_SupplementaryService
15554 {
15555 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15556 eQMIVoiceSupplementaryServiceReasons mReason;
15557 };
15558
15559 // Structure to describe response TLV 0x15 for VoiceSetSupplementaryService()
15560 struct sVoiceSetSupplementaryServiceResponse_ServiceStatus
15561 {
15562 INT8 mActive;
15563 INT8 mProvisioned;
15564 };
15565
15566 // Structure to describe request TLV 0x10 for VoiceGetCallWaiting()
15567 struct sVoiceGetCallWaitingRequest_ServiceClass
15568 {
15569 bool mSupplementaryServiceClassVoice:1;
15570 bool mSupplementaryServiceClassData:1;
15571 bool mSupplementaryServiceClassFax:1;
15572 bool mSupplementaryServiceClassSMS:1;
15573 bool mSupplementaryServiceClassDataCircuitSync:1;
15574 bool mSupplementaryServiceClassDataCircuitAsync:1;
15575 bool mSupplementaryServiceClassPacketAccess:1;
15576 bool mSupplementaryServiceClassPadAccess:1;
15577 };
15578
15579 // Structure to describe request TLV 0x11 for VoiceGetCallWaiting()
15580 struct sVoiceGetCallWaitingRequest_ExtendedServiceClass
15581 {
15582 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15583 };
15584
15585 // Structure to describe response TLV 0x10 for VoiceGetCallWaiting()
15586 struct sVoiceGetCallWaitingResponse_ServiceClass
15587 {
15588 bool mSupplementaryServiceClassVoice:1;
15589 bool mSupplementaryServiceClassData:1;
15590 bool mSupplementaryServiceClassFax:1;
15591 bool mSupplementaryServiceClassSMS:1;
15592 bool mSupplementaryServiceClassDataCircuitSync:1;
15593 bool mSupplementaryServiceClassDataCircuitAsync:1;
15594 bool mSupplementaryServiceClassPacketAccess:1;
15595 bool mSupplementaryServiceClassPadAccess:1;
15596 };
15597
15598 // Structure to describe response TLV 0x11 for VoiceGetCallWaiting()
15599 struct sVoiceGetCallWaitingResponse_FailureCause
15600 {
15601 eQMIVoiceEndReasons mFailureCause;
15602 };
15603
15604 // Structure to describe response TLV 0x12 for VoiceGetCallWaiting()
15605 struct sVoiceGetCallWaitingResponse_AlphaID
15606 {
15607 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15608 UINT8 mAlphaLength;
15609
15610 // This array must be the size specified by mAlphaLength
15611 // UINT8 mAlphaData[1];
15612 };
15613
15614 // Structure to describe response TLV 0x13 for VoiceGetCallWaitinge()
15615 struct sVoiceGetCallWaitingeResponse_CallControl
15616 {
15617 eQMIVoiceCallControlResultTypes mCallControlResult;
15618 };
15619
15620 // Structure to describe response TLV 0x14 for VoiceGetCallWaiting()
15621 struct sVoiceGetCallWaitingResponse_CallID
15622 {
15623 UINT8 mCallID;
15624 };
15625
15626 // Structure to describe response TLV 0x15 for VoiceGetCallWaiting()
15627 struct sVoiceGetCallWaitingResponse_SupplementaryService
15628 {
15629 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15630 eQMIVoiceSupplementaryServiceReasons mReason;
15631 };
15632
15633 // Structure to describe response TLV 0x16 for VoiceGetCallWaiting()
15634 struct sVoiceGetCallWaitingResponse_ExtendedServiceClass
15635 {
15636 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15637 };
15638
15639 // Structure to describe request TLV 0x01 for VoiceGetCallBarring()
15640 struct sVoiceGetCallBarringRequest_Reason
15641 {
15642 eQMIVoiceSupplementaryServiceReasons mReason;
15643 };
15644
15645 // Structure to describe request TLV 0x10 for VoiceGetCallBarring()
15646 struct sVoiceGetCallBarringRequest_ServiceClass
15647 {
15648 bool mSupplementaryServiceClassVoice:1;
15649 bool mSupplementaryServiceClassData:1;
15650 bool mSupplementaryServiceClassFax:1;
15651 bool mSupplementaryServiceClassSMS:1;
15652 bool mSupplementaryServiceClassDataCircuitSync:1;
15653 bool mSupplementaryServiceClassDataCircuitAsync:1;
15654 bool mSupplementaryServiceClassPacketAccess:1;
15655 bool mSupplementaryServiceClassPadAccess:1;
15656 };
15657
15658 // Structure to describe request TLV 0x11 for VoiceGetCallBarring()
15659 struct sVoiceGetCallBarringRequest_ExtendedServiceClass
15660 {
15661 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15662 };
15663
15664 // Structure to describe response TLV 0x10 for VoiceGetCallBarring()
15665 struct sVoiceGetCallBarringResponse_ServiceClass
15666 {
15667 bool mSupplementaryServiceClassVoice:1;
15668 bool mSupplementaryServiceClassData:1;
15669 bool mSupplementaryServiceClassFax:1;
15670 bool mSupplementaryServiceClassSMS:1;
15671 bool mSupplementaryServiceClassDataCircuitSync:1;
15672 bool mSupplementaryServiceClassDataCircuitAsync:1;
15673 bool mSupplementaryServiceClassPacketAccess:1;
15674 bool mSupplementaryServiceClassPadAccess:1;
15675 };
15676
15677 // Structure to describe response TLV 0x11 for VoiceGetCallBarring()
15678 struct sVoiceGetCallBarringResponse_FailureCause
15679 {
15680 eQMIVoiceEndReasons mFailureCause;
15681 };
15682
15683 // Structure to describe response TLV 0x12 for VoiceGetCallBarring()
15684 struct sVoiceGetCallBarringResponse_AlphaID
15685 {
15686 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15687 UINT8 mAlphaLength;
15688
15689 // This array must be the size specified by mAlphaLength
15690 // UINT8 mAlphaData[1];
15691 };
15692
15693 // Structure to describe response TLV 0x13 for VoiceGetCallBarring()
15694 struct sVoiceGetCallBarringResponse_CallControl
15695 {
15696 eQMIVoiceCallControlResultTypes mCallControlResult;
15697 };
15698
15699 // Structure to describe response TLV 0x14 for VoiceGetCallBarring()
15700 struct sVoiceGetCallBarringResponse_CallID
15701 {
15702 UINT8 mCallID;
15703 };
15704
15705 // Structure to describe response TLV 0x15 for VoiceGetCallBarring()
15706 struct sVoiceGetCallBarringResponse_SupplementaryService
15707 {
15708 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15709 eQMIVoiceSupplementaryServiceReasons mReason;
15710 };
15711
15712 // Structure to describe response TLV 0x16 for VoiceGetCallBarring()
15713 struct sVoiceGetCallBarringResponse_ExtendedServiceClass
15714 {
15715 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15716 };
15717
15718 // Structure to describe response TLV 0x10 for VoiceGetCLIP()
15719 struct sVoiceGetCLIPResponse_Status
15720 {
15721 INT8 mCLIPActive;
15722 INT8 mCLIPProvisioned;
15723 };
15724
15725 // Structure to describe response TLV 0x11 for VoiceGetCLIP()
15726 struct sVoiceGetCLIPResponse_FailureCause
15727 {
15728 eQMIVoiceEndReasons mFailureCause;
15729 };
15730
15731 // Structure to describe response TLV 0x12 for VoiceGetCLIP()
15732 struct sVoiceGetCLIPResponse_AlphaID
15733 {
15734 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15735 UINT8 mAlphaLength;
15736
15737 // This array must be the size specified by mAlphaLength
15738 // UINT8 mAlphaData[1];
15739 };
15740
15741 // Structure to describe response TLV 0x13 for VoiceGetCLIP()
15742 struct sVoiceGetCLIPResponse_CallControl
15743 {
15744 eQMIVoiceCallControlResultTypes mCallControlResult;
15745 };
15746
15747 // Structure to describe response TLV 0x14 for VoiceGetCLIP()
15748 struct sVoiceGetCLIPResponse_CallID
15749 {
15750 UINT8 mCallID;
15751 };
15752
15753 // Structure to describe response TLV 0x15 for VoiceGetCLIP()
15754 struct sVoiceGetCLIPResponse_SupplementaryService
15755 {
15756 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15757 eQMIVoiceSupplementaryServiceReasons mReason;
15758 };
15759
15760 // Structure to describe response TLV 0x10 for VoiceGetCLIR()
15761 struct sVoiceGetCLIRResponse_Status
15762 {
15763 INT8 mCLIRActive;
15764 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
15765 };
15766
15767 // Structure to describe response TLV 0x11 for VoiceGetCLIR()
15768 struct sVoiceGetCLIRResponse_FailureCause
15769 {
15770 eQMIVoiceEndReasons mFailureCause;
15771 };
15772
15773 // Structure to describe response TLV 0x12 for VoiceGetCLIR()
15774 struct sVoiceGetCLIRResponse_AlphaID
15775 {
15776 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15777 UINT8 mAlphaLength;
15778
15779 // This array must be the size specified by mAlphaLength
15780 // UINT8 mAlphaData[1];
15781 };
15782
15783 // Structure to describe response TLV 0x13 for VoiceGetCLIR()
15784 struct sVoiceGetCLIRResponse_CallControl
15785 {
15786 eQMIVoiceCallControlResultTypes mCallControlResult;
15787 };
15788
15789 // Structure to describe response TLV 0x14 for VoiceGetCLIR()
15790 struct sVoiceGetCLIRResponse_CallID
15791 {
15792 UINT8 mCallID;
15793 };
15794
15795 // Structure to describe response TLV 0x15 for VoiceGetCLIR()
15796 struct sVoiceGetCLIRResponse_SupplementaryService
15797 {
15798 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15799 eQMIVoiceSupplementaryServiceReasons mReason;
15800 };
15801
15802 // Structure to describe request TLV 0x01 for VoiceGetCallForwarding()
15803 struct sVoiceGetCallForwardingRequest_Reason
15804 {
15805 eQMIVoiceSupplementaryServiceReasons mReason;
15806 };
15807
15808 // Structure to describe request TLV 0x10 for VoiceGetCallForwarding()
15809 struct sVoiceGetCallForwardingRequest_ServiceClass
15810 {
15811 bool mSupplementaryServiceClassVoice:1;
15812 bool mSupplementaryServiceClassData:1;
15813 bool mSupplementaryServiceClassFax:1;
15814 bool mSupplementaryServiceClassSMS:1;
15815 bool mSupplementaryServiceClassDataCircuitSync:1;
15816 bool mSupplementaryServiceClassDataCircuitAsync:1;
15817 bool mSupplementaryServiceClassPacketAccess:1;
15818 bool mSupplementaryServiceClassPadAccess:1;
15819 };
15820
15821 // Structure to describe request TLV 0x11 for VoiceGetCallForwarding()
15822 struct sVoiceGetCallForwardingRequest_ExtendedServiceClass
15823 {
15824 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15825 };
15826
15827 // Structure to describe response TLV 0x10 for VoiceGetCallForwarding()
15828 struct sVoiceGetCallForwardingResponse_Info
15829 {
15830 UINT8 mInstanceCount;
15831
15832 struct sInstance1
15833 {
15834 INT8 mServiceActive;
15835 bool mSupplementaryServiceClassVoice:1;
15836 bool mSupplementaryServiceClassData:1;
15837 bool mSupplementaryServiceClassFax:1;
15838 bool mSupplementaryServiceClassSMS:1;
15839 bool mSupplementaryServiceClassDataCircuitSync:1;
15840 bool mSupplementaryServiceClassDataCircuitAsync:1;
15841 bool mSupplementaryServiceClassPacketAccess:1;
15842 bool mSupplementaryServiceClassPadAccess:1;
15843 UINT8 mNumberLength;
15844
15845 // This array must be the size specified by mNumberLength
15846 // char mNumber[1];
15847 };
15848
15849 struct sInstance2
15850 {
15851 UINT8 mNoReplyTimerSeconds;
15852 };
15853
15854 struct sInstance
15855 {
15856 sInstance1 mInstance1;
15857 sInstance2 mInstance2;
15858 };
15859
15860 // This array must be the size specified by mInstanceCount
15861 // sInstance mInstances[1];
15862 };
15863
15864 // Structure to describe response TLV 0x11 for VoiceGetCallForwarding()
15865 struct sVoiceGetCallForwardingResponse_FailureCause
15866 {
15867 eQMIVoiceEndReasons mFailureCause;
15868 };
15869
15870 // Structure to describe response TLV 0x12 for VoiceGetCallForwarding()
15871 struct sVoiceGetCallForwardingResponse_AlphaID
15872 {
15873 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15874 UINT8 mAlphaLength;
15875
15876 // This array must be the size specified by mAlphaLength
15877 // UINT8 mAlphaData[1];
15878 };
15879
15880 // Structure to describe response TLV 0x13 for VoiceGetCallForwarding()
15881 struct sVoiceGetCallForwardingResponse_CallControl
15882 {
15883 eQMIVoiceCallControlResultTypes mCallControlResult;
15884 };
15885
15886 // Structure to describe response TLV 0x14 for VoiceGetCallForwarding()
15887 struct sVoiceGetCallForwardingResponse_CallID
15888 {
15889 UINT8 mCallID;
15890 };
15891
15892 // Structure to describe response TLV 0x15 for VoiceGetCallForwarding()
15893 struct sVoiceGetCallForwardingResponse_SupplementaryService
15894 {
15895 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15896 eQMIVoiceSupplementaryServiceReasons mReason;
15897 };
15898
15899 // Structure to describe response TLV 0x16 for VoiceGetCallForwarding()
15900 struct sVoiceGetCallForwardingResponse_ExtendedInfo
15901 {
15902 UINT8 mCallInstanceCount;
15903
15904 struct sInstance
15905 {
15906 INT8 mServiceActive;
15907 bool mSupplementaryServiceClassVoice:1;
15908 bool mSupplementaryServiceClassData:1;
15909 bool mSupplementaryServiceClassFax:1;
15910 bool mSupplementaryServiceClassSMS:1;
15911 bool mSupplementaryServiceClassDataCircuitSync:1;
15912 bool mSupplementaryServiceClassDataCircuitAsync:1;
15913 bool mSupplementaryServiceClassPacketAccess:1;
15914 bool mSupplementaryServiceClassPadAccess:1;
15915 UINT8 mNoReplyTimerSeconds;
15916 UINT8 mPresentationIndicator;
15917 eQMIVoiceScreeningIndicators mScreeningIndicator;
15918 eQMIVoiceNumberTypes mNumberType;
15919 eQMIVoiceNumberPlans mNumberPlan;
15920 UINT8 mNumberLength;
15921
15922 // This array must be the size specified by mNumberLength
15923 // char mNumber[1];
15924 };
15925
15926 // This array must be the size specified by mCallInstanceCount
15927 // sInstance mInstances[1];
15928 };
15929
15930 // Structure to describe response TLV 0x17 for VoiceGetCallForwarding()
15931 struct sVoiceGetCallForwardingResponse_ExtendedInfo2
15932 {
15933 UINT8 mCallInstanceCount;
15934
15935 struct sInstance
15936 {
15937 INT8 mServiceActive;
15938 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
15939 UINT8 mNoReplyTimerSeconds;
15940 UINT8 mPresentationIndicator;
15941 eQMIVoiceScreeningIndicators mScreeningIndicator;
15942 eQMIVoiceNumberTypes mNumberType;
15943 eQMIVoiceNumberPlans mNumberPlan;
15944 UINT8 mNumberLength;
15945
15946 // This array must be the size specified by mNumberLength
15947 // char mNumber[1];
15948 };
15949
15950 // This array must be the size specified by mCallInstanceCount
15951 // sInstance mInstances[1];
15952 };
15953
15954 // Structure to describe request TLV 0x01 for VoiceSetCallBarringPassword()
15955 struct sVoiceSetCallBarringPasswordRequest_Info
15956 {
15957 eQMIVoiceSupplementaryServiceReasons mReason;
15958 char mOldCallBarringPassword[4];
15959 char mNewCallBarringPassword[4];
15960 char mNewCallBarringPasswordRepeat[4];
15961 };
15962
15963 // Structure to describe response TLV 0x10 for VoiceSetCallBarring()
15964 struct sVoiceSetCallBarringResponse_FailureCause
15965 {
15966 eQMIVoiceEndReasons mFailureCause;
15967 };
15968
15969 // Structure to describe response TLV 0x11 for VoiceSetCallBarring()
15970 struct sVoiceSetCallBarringResponse_AlphaID
15971 {
15972 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15973 UINT8 mAlphaLength;
15974
15975 // This array must be the size specified by mAlphaLength
15976 // UINT8 mAlphaData[1];
15977 };
15978
15979 // Structure to describe response TLV 0x12 for VoiceSetCallBarring()
15980 struct sVoiceSetCallBarringResponse_CallControl
15981 {
15982 eQMIVoiceCallControlResultTypes mCallControlResult;
15983 };
15984
15985 // Structure to describe response TLV 0x13 for VoiceSetCallBarring()
15986 struct sVoiceSetCallBarringResponse_CallID
15987 {
15988 UINT8 mCallID;
15989 };
15990
15991 // Structure to describe response TLV 0x14 for VoiceSetCallBarring()
15992 struct sVoiceSetCallBarringResponse_SupplementaryService
15993 {
15994 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15995 eQMIVoiceSupplementaryServiceReasons mReason;
15996 };
15997
15998 // Structure to describe request TLV 0x01 for VoiceInitiateUSSD()
15999 struct sVoiceInitiateUSSDRequest_Info
16000 {
16001 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16002 UINT8 mUSSLength;
16003
16004 // This array must be the size specified by mUSSLength
16005 // UINT8 mUSSData[1];
16006 };
16007
16008 // Structure to describe response TLV 0x10 for VoiceInitiateUSSD()
16009 struct sVoiceInitiateUSSDResponse_FailCause
16010 {
16011 UINT16 mFailureCause;
16012 };
16013
16014 // Structure to describe response TLV 0x11 for VoiceInitiateUSSD()
16015 struct sVoiceInitiateUSSDResponse_AlphaID
16016 {
16017 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16018 UINT8 mAlphaLength;
16019
16020 // This array must be the size specified by mAlphaLength
16021 // UINT8 mAlphaData[1];
16022 };
16023
16024 // Structure to describe response TLV 0x12 for VoiceInitiateUSSD()
16025 struct sVoiceInitiateUSSDResponse_Data
16026 {
16027 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16028 UINT8 mUSSLength;
16029
16030 // This array must be the size specified by mUSSLength
16031 // UINT8 mUSSData[1];
16032 };
16033
16034 // Structure to describe response TLV 0x13 for VoiceInitiateUSSD()
16035 struct sVoiceInitiateUSSDResponse_CallControl
16036 {
16037 eQMIVoiceCallControlResultTypes mCallControlResult;
16038 };
16039
16040 // Structure to describe response TLV 0x14 for VoiceInitiateUSSD()
16041 struct sVoiceInitiateUSSDResponse_CallID
16042 {
16043 UINT8 mCallID;
16044 };
16045
16046 // Structure to describe response TLV 0x15 for VoiceInitiateUSSD()
16047 struct sVoiceInitiateUSSDResponse_SupplementaryService
16048 {
16049 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16050 eQMIVoiceSupplementaryServiceReasons mReason;
16051 };
16052
16053 // Structure to describe response TLV 0x16 for VoiceInitiateUSSD()
16054 struct sVoiceInitiateUSSDResponse_EncodedData
16055 {
16056 UINT8 mServiceInformationLength;
16057
16058 // This array must be the size specified by mServiceInformationLength
16059 // wchar_t mServiceInformation[1];
16060 };
16061
16062 // Structure to describe request TLV 0x01 for VoiceAnswerUSSD()
16063 struct sVoiceAnswerUSSDRequest_Info
16064 {
16065 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16066 UINT8 mUSSLength;
16067
16068 // This array must be the size specified by mUSSLength
16069 // UINT8 mUSSData[1];
16070 };
16071
16072 // Structure to describe indication TLV 0x01 for Voice USSDIndication
16073 struct sVoiceUSSDIndication_Type
16074 {
16075 eQMIVoiceUSSDNotifcationTypes mNotificationType;
16076 };
16077
16078 // Structure to describe indication TLV 0x10 for Voice USSDIndication
16079 struct sVoiceUSSDIndication_Data
16080 {
16081 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16082 UINT8 mUSSLength;
16083
16084 // This array must be the size specified by mUSSLength
16085 // UINT8 mUSSData[1];
16086 };
16087
16088 // Structure to describe indication TLV 0x11 for Voice USSDIndication
16089 struct sVoiceUSSDIndication_EncodedData
16090 {
16091 UINT8 mServiceInformationLength;
16092
16093 // This array must be the size specified by mServiceInformationLength
16094 // wchar_t mServiceInformation[1];
16095 };
16096
16097 // Structure to describe indication TLV 0x01 for Voice USSIndication
16098 struct sVoiceUSSIndication_Info
16099 {
16100 UINT8 mCallID;
16101 eQMIVoiceUUSTypes mUUSType;
16102 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
16103 UINT8 mUUSLength;
16104
16105 // This array must be the size specified by mUUSLength
16106 // UINT8 mUUSData[1];
16107 };
16108
16109 // Structure to describe request TLV 0x10 for VoiceSetConfig()
16110 struct sVoiceSetConfigRequest_AutoAnswer
16111 {
16112 INT8 mAutoAnswer;
16113 };
16114
16115 // Structure to describe request TLV 0x11 for VoiceSetConfig()
16116 struct sVoiceSetConfigRequest_AirTimer
16117 {
16118 UINT8 mNAMID;
16119 UINT32 mAirTimerMinutes;
16120 };
16121
16122 // Structure to describe request TLV 0x12 for VoiceSetConfig()
16123 struct sVoiceSetConfigRequest_RoamTimer
16124 {
16125 UINT8 mNAMID;
16126 UINT32 mRoamTimerMinutes;
16127 };
16128
16129 // Structure to describe request TLV 0x13 for VoiceSetConfig()
16130 struct sVoiceSetConfigRequest_TTYMode
16131 {
16132 eQMIVoiceTTYModes mTTYMode;
16133 };
16134
16135 // Structure to describe request TLV 0x14 for VoiceSetConfig()
16136 struct sVoiceSetConfigRequest_PreferredVoiceSO
16137 {
16138 UINT8 mNAMID;
16139 INT8 mEVRCCapability;
16140 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
16141 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
16142 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
16143 };
16144
16145 // Structure to describe request TLV 0x15 for VoiceSetConfig()
16146 struct sVoiceSetConfigRequest_PreferredVoiceDomain
16147 {
16148 eQMIVoiceDomains mPreferredDomain;
16149 };
16150
16151 // Structure to describe response TLV 0x10 for VoiceSetConfig()
16152 struct sVoiceSetConfigResponse_AutoAnswer
16153 {
16154 INT8 mWriteFailed;
16155 };
16156
16157 // Structure to describe response TLV 0x11 for VoiceSetConfig()
16158 struct sVoiceSetConfigResponse_AirTimer
16159 {
16160 INT8 mWriteFailed;
16161 };
16162
16163 // Structure to describe response TLV 0x12 for VoiceSetConfig()
16164 struct sVoiceSetConfigResponse_RoamTimer
16165 {
16166 INT8 mWriteFailed;
16167 };
16168
16169 // Structure to describe response TLV 0x13 for VoiceSetConfig()
16170 struct sVoiceSetConfigResponse_TTYMode
16171 {
16172 INT8 mWriteFailed;
16173 };
16174
16175 // Structure to describe response TLV 0x14 for VoiceSetConfig()
16176 struct sVoiceSetConfigResponse_PreferredVoiceSO
16177 {
16178 INT8 mWriteFailed;
16179 };
16180
16181 // Structure to describe response TLV 0x15 for VoiceSetConfig()
16182 struct sVoiceSetConfigResponse_PreferredVoiceDomain
16183 {
16184 INT8 mWriteFailed;
16185 };
16186
16187 // Structure to describe request TLV 0x10 for VoiceGetConfig()
16188 struct sVoiceGetConfigRequest_AutoAnswer
16189 {
16190 INT8 mInclude;
16191 };
16192
16193 // Structure to describe request TLV 0x11 for VoiceGetConfig()
16194 struct sVoiceGetConfigRequest_AirTimer
16195 {
16196 INT8 mInclude;
16197 };
16198
16199 // Structure to describe request TLV 0x12 for VoiceGetConfig()
16200 struct sVoiceGetConfigRequest_RoamTimer
16201 {
16202 INT8 mInclude;
16203 };
16204
16205 // Structure to describe request TLV 0x13 for VoiceGetConfig()
16206 struct sVoiceGetConfigRequest_TTYMode
16207 {
16208 INT8 mInclude;
16209 };
16210
16211 // Structure to describe request TLV 0x14 for VoiceGetConfig()
16212 struct sVoiceGetConfigRequest_PreferredVoiceSO
16213 {
16214 INT8 mInclude;
16215 };
16216
16217 // Structure to describe request TLV 0x15 for VoiceGetConfig()
16218 struct sVoiceGetConfigRequest_AMRStatus
16219 {
16220 INT8 mInclude;
16221 };
16222
16223 // Structure to describe request TLV 0x16 for VoiceGetConfig()
16224 struct sVoiceGetConfigRequest_PreferredVoicePrivacy
16225 {
16226 INT8 mInclude;
16227 };
16228
16229 // Structure to describe request TLV 0x17 for VoiceGetConfig()
16230 struct sVoiceGetConfigRequest_NAM
16231 {
16232 UINT8 mNAMID;
16233 };
16234
16235 // Structure to describe request TLV 0x18 for VoiceGetConfig()
16236 struct sVoiceGetConfigRequest_VoiceDomain
16237 {
16238 INT8 mInclude;
16239 };
16240
16241 // Structure to describe response TLV 0x10 for VoiceGetConfig()
16242 struct sVoiceGetConfigResponse_AutoAnswer
16243 {
16244 INT8 mAutoAnswer;
16245 };
16246
16247 // Structure to describe response TLV 0x11 for VoiceGetConfig()
16248 struct sVoiceGetConfigResponse_AirTimer
16249 {
16250 UINT8 mNAMID;
16251 UINT32 mAirTimerMinutes;
16252 };
16253
16254 // Structure to describe response TLV 0x12 for VoiceGetConfig()
16255 struct sVoiceGetConfigResponse_RoamTimer
16256 {
16257 UINT8 mNAMID;
16258 UINT32 mRoamTimerMinutes;
16259 };
16260
16261 // Structure to describe response TLV 0x13 for VoiceGetConfig()
16262 struct sVoiceGetConfigResponse_TTYMode
16263 {
16264 eQMIVoiceTTYModes mTTYMode;
16265 };
16266
16267 // Structure to describe response TLV 0x14 for VoiceGetConfig()
16268 struct sVoiceGetConfigResponse_PreferredVoiceSO
16269 {
16270 UINT8 mNAMID;
16271 INT8 mEVRCCapability;
16272 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
16273 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
16274 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
16275 };
16276
16277 // Structure to describe response TLV 0x15 for VoiceGetConfig()
16278 struct sVoiceGetConfigResponse_AMRConfig
16279 {
16280 INT8 mGSMAMR;
16281 bool mWCDMAAMRWB:1;
16282 bool mGSMHRAMR:1;
16283 bool mGSMAMRWB:1;
16284 bool mGSMAMRNB:1;
16285
16286 // Padding out 4 bits
16287 UINT8 mReserved1:4;
16288 };
16289
16290 // Structure to describe response TLV 0x16 for VoiceGetConfig()
16291 struct sVoiceGetConfigResponse_Privacy
16292 {
16293 eQMIVoicePrivacyLevels mVoicePrivacy;
16294 };
16295
16296 // Structure to describe response TLV 0x17 for VoiceGetConfig()
16297 struct sVoiceGetConfigResponse_PreferredVoiceDomain
16298 {
16299 eQMIVoiceDomains mPreferredDomain;
16300 };
16301
16302 // Structure to describe request TLV 0x01 for VoiceSupplementaryService()
16303 struct sVoiceSupplementaryServiceRequestIndication_Info
16304 {
16305 eQMIVoiceSupplementaryServiceRequests mSupplementaryServiceRequest;
16306 INT8 mModifiedByCallControl;
16307 };
16308
16309 // Structure to describe request TLV 0x10 for VoiceSupplementaryService()
16310 struct sVoiceSupplementaryServiceRequestIndication_Class
16311 {
16312 bool mSupplementaryServiceClassVoice:1;
16313 bool mSupplementaryServiceClassData:1;
16314 bool mSupplementaryServiceClassFax:1;
16315 bool mSupplementaryServiceClassSMS:1;
16316 bool mSupplementaryServiceClassDataCircuitSync:1;
16317 bool mSupplementaryServiceClassDataCircuitAsync:1;
16318 bool mSupplementaryServiceClassPacketAccess:1;
16319 bool mSupplementaryServiceClassPadAccess:1;
16320 };
16321
16322 // Structure to describe request TLV 0x11 for VoiceSupplementaryService()
16323 struct sVoiceSupplementaryServiceRequestIndication_Reason
16324 {
16325 eQMIVoiceSupplementaryServiceReasons mReason;
16326 };
16327
16328 // Structure to describe request TLV 0x12 for VoiceSupplementaryService()
16329 struct sVoiceSupplementaryServiceRequestIndication_Number
16330 {
16331 // String is variable length, but must be size of the container
16332 // char mCallForwardingNumber[1];
16333 };
16334
16335 // Structure to describe request TLV 0x13 for VoiceSupplementaryService()
16336 struct sVoiceSupplementaryServiceRequestIndication_Timer
16337 {
16338 UINT8 mNoReplyTimerSeconds;
16339 };
16340
16341 // Structure to describe request TLV 0x14 for VoiceSupplementaryService()
16342 struct sVoiceSupplementaryServiceRequestIndication_USSData
16343 {
16344 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16345 UINT8 mUSSLength;
16346
16347 // This array must be the size specified by mUSSLength
16348 // UINT8 mUSSData[1];
16349 };
16350
16351 // Structure to describe request TLV 0x15 for VoiceSupplementaryService()
16352 struct sVoiceSupplementaryServiceRequestIndication_CallID
16353 {
16354 UINT8 mCallID;
16355 };
16356
16357 // Structure to describe request TLV 0x16 for VoiceSupplementaryService()
16358 struct sVoiceSupplementaryServiceRequestIndication_AlphaID
16359 {
16360 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16361 UINT8 mAlphaLength;
16362
16363 // This array must be the size specified by mAlphaLength
16364 // UINT8 mAlphaData[1];
16365 };
16366
16367 // Structure to describe request TLV 0x17 for VoiceSupplementaryService()
16368 struct sVoiceSupplementaryServiceRequestIndication_Password
16369 {
16370 char mCallBarringPassword[4];
16371 };
16372
16373 // Structure to describe request TLV 0x18 for VoiceSupplementaryService()
16374 struct sVoiceSupplementaryServiceRequestIndication_NewPassword
16375 {
16376 char mNewCallBarringPassword[4];
16377 char mNewCallBarringPasswordRepeat[4];
16378 };
16379
16380 // Structure to describe request TLV 0x19 for VoiceSupplementaryService()
16381 struct sVoiceSupplementaryServiceRequestIndication_DataSource
16382 {
16383 INT8 mResponseData;
16384 };
16385
16386 // Structure to describe request TLV 0x1A for VoiceSupplementaryService()
16387 struct sVoiceSupplementaryServiceRequestIndication_FailCause
16388 {
16389 UINT16 mFailureCause;
16390 };
16391
16392 // Structure to describe request TLV 0x1B for VoiceSupplementaryService()
16393 struct sVoiceSupplementaryServiceRequestIndication_CallForwarding
16394 {
16395 UINT8 mInstanceCount;
16396
16397 struct sInstance1
16398 {
16399 INT8 mServiceActive;
16400 bool mSupplementaryServiceClassVoice:1;
16401 bool mSupplementaryServiceClassData:1;
16402 bool mSupplementaryServiceClassFax:1;
16403 bool mSupplementaryServiceClassSMS:1;
16404 bool mSupplementaryServiceClassDataCircuitSync:1;
16405 bool mSupplementaryServiceClassDataCircuitAsync:1;
16406 bool mSupplementaryServiceClassPacketAccess:1;
16407 bool mSupplementaryServiceClassPadAccess:1;
16408 UINT8 mNumberLength;
16409
16410 // This array must be the size specified by mNumberLength
16411 // char mNumber[1];
16412 };
16413
16414 struct sInstance2
16415 {
16416 UINT8 mNoReplyTimerSeconds;
16417 };
16418
16419 struct sInstance
16420 {
16421 sInstance1 mInstance1;
16422 sInstance2 mInstance2;
16423 };
16424
16425 // This array must be the size specified by mInstanceCount
16426 // sInstance mInstances[1];
16427 };
16428
16429 // Structure to describe request TLV 0x1C for VoiceSupplementaryService()
16430 struct sVoiceSupplementaryServiceRequestIndication_CLIR
16431 {
16432 INT8 mCLIRActive;
16433 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
16434 };
16435
16436 // Structure to describe request TLV 0x1D for VoiceSupplementaryService()
16437 struct sVoiceSupplementaryServiceRequestIndication_CLIP
16438 {
16439 INT8 mCLIPActive;
16440 INT8 mCLIPProvisioned;
16441 };
16442
16443 // Structure to describe request TLV 0x1E for VoiceSupplementaryService()
16444 struct sVoiceSupplementaryServiceRequestIndication_COLP
16445 {
16446 INT8 mActive;
16447 INT8 mProvisioned;
16448 };
16449
16450 // Structure to describe request TLV 0x1F for VoiceSupplementaryService()
16451 struct sVoiceSupplementaryServiceRequestIndication_COLR
16452 {
16453 INT8 mActive;
16454 INT8 mProvisioned;
16455 };
16456
16457 // Structure to describe request TLV 0x20 for VoiceSupplementaryService()
16458 struct sVoiceSupplementaryServiceRequestIndication_CNAP
16459 {
16460 INT8 mActive;
16461 INT8 mProvisioned;
16462 };
16463
16464 // Structure to describe request TLV 0x21 for VoiceSupplementaryService()
16465 struct sVoiceSupplementaryServiceRequestIndication_EncodedData
16466 {
16467 UINT8 mServiceInformationLength;
16468
16469 // This array must be the size specified by mServiceInformationLength
16470 // wchar_t mServiceInformation[1];
16471 };
16472
16473 // Structure to describe request TLV 0x22 for VoiceSupplementaryService()
16474 struct sVoiceSupplementaryServiceRequestIndication_ExtendedServiceClass
16475 {
16476 eQMIVoiceExtendedServiceClass mExtendedServiceClass;
16477 };
16478
16479 // Structure to describe request TLV 0x01 for VoiceAsyncInitiateUSSD()
16480 struct sVoiceAsyncInitiateUSSDRequest_Info
16481 {
16482 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16483 UINT8 mUSSLength;
16484
16485 // This array must be the size specified by mUSSLength
16486 // UINT8 mUSSData[1];
16487 };
16488
16489 // Structure to describe indication TLV 0x10 for Voice USSDAsyncIndication
16490 struct sVoiceUSSDAsyncIndication_Error
16491 {
16492 eQMIErrors mQMIError;
16493 };
16494
16495 // Structure to describe indication TLV 0x11 for Voice USSDAsyncIndication
16496 struct sVoiceUSSDAsyncIndication_FailCause
16497 {
16498 UINT16 mFailureCause;
16499 };
16500
16501 // Structure to describe indication TLV 0x12 for Voice USSDAsyncIndication
16502 struct sVoiceUSSDAsyncIndication_Info
16503 {
16504 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
16505 UINT8 mUSSLength;
16506
16507 // This array must be the size specified by mUSSLength
16508 // UINT8 mUSSData[1];
16509 };
16510
16511 // Structure to describe indication TLV 0x13 for Voice USSDAsyncIndication
16512 struct sVoiceUSSDAsyncIndication_AlphaID
16513 {
16514 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16515 UINT8 mAlphaLength;
16516
16517 // This array must be the size specified by mAlphaLength
16518 // UINT8 mAlphaData[1];
16519 };
16520
16521 // Structure to describe indication TLV 0x14 for Voice USSDAsyncIndication
16522 struct sVoiceUSSDAsyncIndication_EncodedData
16523 {
16524 UINT8 mServiceInformationLength;
16525
16526 // This array must be the size specified by mServiceInformationLength
16527 // wchar_t mServiceInformation[1];
16528 };
16529
16530 // Structure to describe request TLV 0x01 for VoiceBindSubscription()
16531 struct sVoiceBindSubscriptionRequest_Type
16532 {
16533 eQMIVoiceSubscriptionTypes mSubscriptionType;
16534 };
16535
16536 // Structure to describe request TLV 0x01 for VoiceALSSetLineSwitching()
16537 struct sVoiceALSSetLineSwitchingRequest_Switching
16538 {
16539 INT8 mLineSwitchingAllowed;
16540 };
16541
16542 // Structure to describe request TLV 0x01 for VoiceALSSelectLine()
16543 struct sVoiceALSSelectLineRequest_Line
16544 {
16545 eQMIVoiceALSLines mLineValue;
16546 };
16547
16548 // Structure to describe request TLV 0x01 for VoiceAOCSetACMMaximum()
16549 struct sVoiceAOCSetACMMaximumRequest_ACMMax
16550 {
16551 UINT32 mACMMaximum;
16552 };
16553
16554 // Structure to describe request TLV 0x01 for VoiceAOCGetCallMeterInfo()
16555 struct sVoiceAOCGetCallMeterInfoRequest_Mask
16556 {
16557 bool mACM:1;
16558 bool mACMMaximum:1;
16559 bool mCCM:1;
16560
16561 // Padding out 13 bits
16562 UINT8 mReserved1:5;
16563 UINT8 mReserved2;
16564 };
16565
16566 // Structure to describe response TLV 0x10 for VoiceAOCGetCallMeterInfo()
16567 struct sVoiceAOCGetCallMeterInfoResponse_ACM
16568 {
16569 UINT32 mACM;
16570 };
16571
16572 // Structure to describe response TLV 0x11 for VoiceAOCGetCallMeterInfo()
16573 struct sVoiceAOCGetCallMeterInfoResponse_ACMMax
16574 {
16575 UINT32 mACMMaximum;
16576 };
16577
16578 // Structure to describe response TLV 0x12 for VoiceAOCGetCallMeterInfo()
16579 struct sVoiceAOCGetCallMeterInfoResponse_CCM
16580 {
16581 UINT32 mCCM;
16582 };
16583
16584 // Structure to describe response TLV 0x10 for VoiceGetCOLP()
16585 struct sVoiceGetCOLPResponse_COLP
16586 {
16587 INT8 mActive;
16588 INT8 mProvisioned;
16589 };
16590
16591 // Structure to describe response TLV 0x11 for VoiceGetCOLP()
16592 struct sVoiceGetCOLPResponse_FailCause
16593 {
16594 UINT16 mFailureCause;
16595 };
16596
16597 // Structure to describe response TLV 0x12 for VoiceGetCOLP()
16598 struct sVoiceGetCOLPResponse_AlphaID
16599 {
16600 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16601 UINT8 mAlphaLength;
16602
16603 // This array must be the size specified by mAlphaLength
16604 // UINT8 mAlphaData[1];
16605 };
16606
16607 // Structure to describe response TLV 0x13 for VoiceGetCOLP()
16608 struct sVoiceGetCOLPResponse_CallControl
16609 {
16610 eQMIVoiceCallControlResultTypes mCallControlResult;
16611 };
16612
16613 // Structure to describe response TLV 0x14 for VoiceGetCOLP()
16614 struct sVoiceGetCOLPResponse_CallID
16615 {
16616 UINT8 mCallID;
16617 };
16618
16619 // Structure to describe response TLV 0x15 for VoiceGetCOLP()
16620 struct sVoiceGetCOLPResponse_SupplementaryService
16621 {
16622 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16623 eQMIVoiceSupplementaryServiceReasons mReason;
16624 };
16625
16626 // Structure to describe response TLV 0x10 for VoiceGetCOLR()
16627 struct sVoiceGetCOLRResponse_COLR
16628 {
16629 INT8 mActive;
16630 INT8 mProvisioned;
16631 };
16632
16633 // Structure to describe response TLV 0x11 for VoiceGetCOLR()
16634 struct sVoiceGetCOLRResponse_FailCause
16635 {
16636 UINT16 mFailureCause;
16637 };
16638
16639 // Structure to describe response TLV 0x12 for VoiceGetCOLR()
16640 struct sVoiceGetCOLRResponse_AlphaID
16641 {
16642 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16643 UINT8 mAlphaLength;
16644
16645 // This array must be the size specified by mAlphaLength
16646 // UINT8 mAlphaData[1];
16647 };
16648
16649 // Structure to describe response TLV 0x13 for VoiceGetCOLR()
16650 struct sVoiceGetCOLRResponse_CallControl
16651 {
16652 eQMIVoiceCallControlResultTypes mCallControlResult;
16653 };
16654
16655 // Structure to describe response TLV 0x14 for VoiceGetCOLR()
16656 struct sVoiceGetCOLRResponse_CallID
16657 {
16658 UINT8 mCallID;
16659 };
16660
16661 // Structure to describe response TLV 0x15 for VoiceGetCOLR()
16662 struct sVoiceGetCOLRResponse_SupplementaryService
16663 {
16664 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16665 eQMIVoiceSupplementaryServiceReasons mReason;
16666 };
16667
16668 // Structure to describe response TLV 0x10 for VoiceGetCNAP()
16669 struct sVoiceGetCNAPResponse_CNAP
16670 {
16671 INT8 mActive;
16672 INT8 mProvisioned;
16673 };
16674
16675 // Structure to describe response TLV 0x11 for VoiceGetCNAP()
16676 struct sVoiceGetCNAPResponse_FailCause
16677 {
16678 UINT16 mFailureCause;
16679 };
16680
16681 // Structure to describe response TLV 0x12 for VoiceGetCNAP()
16682 struct sVoiceGetCNAPResponse_AlphaID
16683 {
16684 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
16685 UINT8 mAlphaLength;
16686
16687 // This array must be the size specified by mAlphaLength
16688 // UINT8 mAlphaData[1];
16689 };
16690
16691 // Structure to describe response TLV 0x13 for VoiceGetCNAP()
16692 struct sVoiceGetCNAPResponse_CallControl
16693 {
16694 eQMIVoiceCallControlResultTypes mCallControlResult;
16695 };
16696
16697 // Structure to describe response TLV 0x14 for VoiceGetCNAP()
16698 struct sVoiceGetCNAPResponse_CallID
16699 {
16700 UINT8 mCallID;
16701 };
16702
16703 // Structure to describe response TLV 0x15 for VoiceGetCNAP()
16704 struct sVoiceGetCNAPResponse_SupplementaryService
16705 {
16706 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
16707 eQMIVoiceSupplementaryServiceReasons mReason;
16708 };
16709
16710 // Structure to describe request TLV 0x01 for VoiceManageIPCalls()
16711 struct sVoiceManageIPCallsRequest_Info
16712 {
16713 eQMIVoiceVoIPSUPSCallTypes mSupplementaryServiceType;
16714 };
16715
16716 // Structure to describe request TLV 0x10 for VoiceManageIPCalls()
16717 struct sVoiceManageIPCallsRequest_CallID
16718 {
16719 UINT8 mCallID;
16720 };
16721
16722 // Structure to describe request TLV 0x11 for VoiceManageIPCalls()
16723 struct sVoiceManageIPCallsRequest_CallType
16724 {
16725 eQMIVoiceCallTypes mCallType;
16726 };
16727
16728 // Structure to describe request TLV 0x12 for VoiceManageIPCalls()
16729 struct sVoiceManageIPCallsRequest_AudioAttribute
16730 {
16731 bool mVoiceCallTX:1;
16732 bool mVoiceCallRX:1;
16733
16734 // Padding out 62 bits
16735 UINT8 mReserved1:6;
16736 UINT8 mReserved2[7];
16737 };
16738
16739 // Structure to describe request TLV 0x13 for VoiceManageIPCalls()
16740 struct sVoiceManageIPCallsRequest_VideoAttribute
16741 {
16742 bool mVoiceCallTX:1;
16743 bool mVoiceCallRX:1;
16744
16745 // Padding out 62 bits
16746 UINT8 mReserved1:6;
16747 UINT8 mReserved2[7];
16748 };
16749
16750 // Structure to describe request TLV 0x14 for VoiceManageIPCalls()
16751 struct sVoiceManageIPCallsRequest_SIPURI
16752 {
16753 // String is variable length, but must be size of the container
16754 // char mSIPURIOverflow[1];
16755 };
16756
16757 // Structure to describe response TLV 0x10 for VoiceManageIPCalls()
16758 struct sVoiceManageIPCallsResponse_CallID
16759 {
16760 UINT8 mCallID;
16761 };
16762
16763 // Structure to describe response TLV 0x11 for VoiceManageIPCalls()
16764 struct sVoiceManageIPCallsResponse_FailureCause
16765 {
16766 eQMIVoiceEndReasons mFailureCause;
16767 };
16768
16769 // Structure to describe response TLV 0x10 for VoiceALSGetLineSwitchingStatus()
16770 struct sVoiceALSGetLineSwitchingStatusResponse_SwitchValue
16771 {
16772 eQMIVoiceSwitchValue mSwitchValue;
16773 };
16774
16775 // Structure to describe response TLV 0x10 for VoiceALSGetSelectedLine()
16776 struct sVoiceALSGetSelectedLineResponse_Line
16777 {
16778 eQMIVoiceALSLines mLineValue;
16779 };
16780
16781 // Structure to describe indication TLV 0x01 for Voice CallModifiedIndication
16782 struct sVoiceCallModifiedIndication_CallID
16783 {
16784 UINT8 mCallID;
16785 };
16786
16787 // Structure to describe indication TLV 0x10 for Voice CallModifiedIndication
16788 struct sVoiceCallModifiedIndication_CallType
16789 {
16790 eQMIVoiceCallTypes mCallType;
16791 };
16792
16793 // Structure to describe indication TLV 0x11 for Voice CallModifiedIndication
16794 struct sVoiceCallModifiedIndication_AudioAttribute
16795 {
16796 bool mVoiceCallTX:1;
16797 bool mVoiceCallRX:1;
16798
16799 // Padding out 62 bits
16800 UINT8 mReserved1:6;
16801 UINT8 mReserved2[7];
16802 };
16803
16804 // Structure to describe indication TLV 0x12 for Voice CallModifiedIndication
16805 struct sVoiceCallModifiedIndication_VideoAttribute
16806 {
16807 bool mVoiceCallTX:1;
16808 bool mVoiceCallRX:1;
16809
16810 // Padding out 62 bits
16811 UINT8 mReserved1:6;
16812 UINT8 mReserved2[7];
16813 };
16814
16815 // Structure to describe indication TLV 0x01 for Voice CallModifyAcceptIndication
16816 struct sVoiceCallModifyAcceptIndication_CallID
16817 {
16818 UINT8 mCallID;
16819 };
16820
16821 // Structure to describe indication TLV 0x10 for Voice CallModifyAcceptIndication
16822 struct sVoiceCallModifyAcceptIndication_CallType
16823 {
16824 eQMIVoiceCallTypes mCallType;
16825 };
16826
16827 // Structure to describe indication TLV 0x11 for Voice CallModifyAcceptIndication
16828 struct sVoiceCallModifyAcceptIndication_AudioAttribute
16829 {
16830 bool mVoiceCallTX:1;
16831 bool mVoiceCallRX:1;
16832
16833 // Padding out 62 bits
16834 UINT8 mReserved1:6;
16835 UINT8 mReserved2[7];
16836 };
16837
16838 // Structure to describe indication TLV 0x12 for Voice CallModifyAcceptIndication
16839 struct sVoiceCallModifyAcceptIndication_VideoAttribute
16840 {
16841 bool mVoiceCallTX:1;
16842 bool mVoiceCallRX:1;
16843
16844 // Padding out 62 bits
16845 UINT8 mReserved1:6;
16846 UINT8 mReserved2[7];
16847 };
16848
16849 // Structure to describe indication TLV 0x10 for Voice SpeechCodecInformationIndication
16850 struct sVoiceSpeechCodecInformationIndication_NetworkMode
16851 {
16852 eQMIVoiceNetworkMode mNetworkMode;
16853 };
16854
16855 // Structure to describe indication TLV 0x11 for Voice SpeechCodecInformationIndication
16856 struct sVoiceSpeechCodecInformationIndication_Type
16857 {
16858 eQMIVoiceSpeechCodecType mType;
16859 };
16860
16861 // Structure to describe indication TLV 0x12 for Voice SpeechCodecInformationIndication
16862 struct sVoiceSpeechCodecInformationIndication_SamplingRate
16863 {
16864 UINT32 mSamplingRateHz;
16865 };
16866
16867 // Structure to describe indication TLV 0x01 for Voice HandoverIndication
16868 struct sVoiceHandoverIndication_State
16869 {
16870 eQMIVoiceHandoverStates mHandoverState;
16871 };
16872
16873 // Structure to describe request TLV 0x10 for CAT2SetEventReport()
16874 struct sCAT2SetEventReportRequest_ReportMask
16875 {
16876 bool mDisplayText:1;
16877 bool mGetInkey:1;
16878 bool mGetInput:1;
16879 bool mSetupMenu:1;
16880 bool mSelectItem:1;
16881 bool mSendSMSAlphaIdentifier:1;
16882 bool mSetupEventUserActivity:1;
16883 bool mSetupEventIdleScreenNotify:1;
16884 bool mSetupEventLanguageSelNotify:1;
16885 bool mSetupIdleModeText:1;
16886 bool mLanguageNotification:1;
16887 bool mRefresh:1;
16888 bool mEndProactiveSession:1;
16889 bool mPlayTone:1;
16890 bool mSetupCall:1;
16891 bool mSendDTMF:1;
16892 bool mLaunchBrowser:1;
16893 bool mSendSS:1;
16894 bool mSendUSSD:1;
16895 bool mProvideLocalInformationLanguage:1;
16896 bool mBearerIndependentProtocol:1;
16897 bool mSetupEventBrowserTermination:1;
16898 bool mProvideLocalInformationTime:1;
16899 bool mActivate:1;
16900
16901 // Padding out 1 bits
16902 UINT8 mReserved1:1;
16903
16904 bool mSetupEventHCIConnectivity:1;
16905
16906 // Padding out 6 bits
16907 UINT8 mReserved2:6;
16908 };
16909
16910 // Structure to describe request TLV 0x11 for CAT2SetEventReport()
16911 struct sCAT2SetEventReportRequest_DecodeReportMask
16912 {
16913 bool mDisplayText:1;
16914 bool mGetInkey:1;
16915 bool mGetInput:1;
16916 bool mSetupMenu:1;
16917 bool mSelectItem:1;
16918 bool mSendSMSAlphaIdentifier:1;
16919 bool mSetupEventUserActivity:1;
16920 bool mSetupEventIdleScreenNotify:1;
16921 bool mSetupEventLanguageSelNotify:1;
16922 bool mSetupIdleModeText:1;
16923 bool mLanguageNotification:1;
16924
16925 // Padding out 1 bits
16926 UINT8 mReserved1:1;
16927
16928 bool mEndProactiveSession:1;
16929 bool mPlayTone:1;
16930 bool mSetupCall:1;
16931 bool mSendDTMF:1;
16932 bool mLaunchBrowser:1;
16933 bool mSendSS:1;
16934 bool mSendUSSD:1;
16935 bool mProvideLocalInformationLanguage:1;
16936 bool mBearerIndependentProtocol:1;
16937
16938 // Padding out 2 bits
16939 UINT8 mReserved2:2;
16940
16941 bool mSCWSEvent:1;
16942 bool mActivate:1;
16943 bool mSetupEventHCIConnectivity:1;
16944
16945 // Padding out 6 bits
16946 UINT8 mReserved3:6;
16947 };
16948
16949 // Structure to describe request TLV 0x12 for CAT2SetEventReport()
16950 struct sCAT2SetEventReportRequest_Slot
16951 {
16952 bool mSlot1:1;
16953 bool mSlot2:1;
16954
16955 // Padding out 6 bits
16956 UINT8 mReserved1:6;
16957 };
16958
16959 // Structure to describe response TLV 0x10 for CAT2SetEventReport()
16960 struct sCAT2SetEventReportResponse_RegStatusMask
16961 {
16962 bool mDisplayText:1;
16963 bool mGetInkey:1;
16964 bool mGetInput:1;
16965 bool mSetupMenu:1;
16966 bool mSelectItem:1;
16967 bool mSendSMSAlphaIdentifier:1;
16968 bool mSetupEventUserActivity:1;
16969 bool mSetupEventIdleScreenNotify:1;
16970 bool mSetupEventLanguageSelNotify:1;
16971 bool mSetupIdleModeText:1;
16972 bool mLanguageNotification:1;
16973 bool mRefresh:1;
16974 bool mEndProactiveSession:1;
16975 bool mPlayTone:1;
16976 bool mSetupCall:1;
16977 bool mSendDTMF:1;
16978 bool mLaunchBrowser:1;
16979 bool mSendSS:1;
16980 bool mSendUSSD:1;
16981 bool mProvideLocalInformationLanguage:1;
16982 bool mBearerIndependentProtocol:1;
16983 bool mSetupEventBrowserTermination:1;
16984 bool mProvideLocalInformationTime:1;
16985 bool mActivate:1;
16986
16987 // Padding out 1 bits
16988 UINT8 mReserved1:1;
16989
16990 bool mSetupEventHCIConnectivity:1;
16991
16992 // Padding out 6 bits
16993 UINT8 mReserved2:6;
16994 };
16995
16996 // Structure to describe response TLV 0x11 for CAT2SetEventReport()
16997 struct sCAT2SetEventReportResponse_DecodedRegStatusMask
16998 {
16999 bool mDisplayText:1;
17000 bool mGetInkey:1;
17001 bool mGetInput:1;
17002 bool mSetupMenu:1;
17003 bool mSelectItem:1;
17004 bool mSendSMSAlphaIdentifier:1;
17005 bool mSetupEventUserActivity:1;
17006 bool mSetupEventIdleScreenNotify:1;
17007 bool mSetupEventLanguageSelNotify:1;
17008 bool mSetupIdleModeText:1;
17009 bool mLanguageNotification:1;
17010
17011 // Padding out 1 bits
17012 UINT8 mReserved1:1;
17013
17014 bool mEndProactiveSession:1;
17015 bool mPlayTone:1;
17016 bool mSetupCall:1;
17017 bool mSendDTMF:1;
17018 bool mLaunchBrowser:1;
17019 bool mSendSS:1;
17020 bool mSendUSSD:1;
17021 bool mProvideLocalInformationLanguage:1;
17022 bool mBearerIndependentProtocol:1;
17023
17024 // Padding out 2 bits
17025 UINT8 mReserved2:2;
17026
17027 bool mSCWSEvent:1;
17028 bool mActivate:1;
17029 bool mSetupEventHCIConnectivity:1;
17030
17031 // Padding out 6 bits
17032 UINT8 mReserved3:6;
17033 };
17034
17035 // Structure to describe indication TLV 0x10 for CAT2 EventReport
17036 struct sCAT2EventReportIndication_DisplayTextEvent
17037 {
17038 UINT32 mReferenceID;
17039 UINT16 mCommandLength;
17040
17041 // This array must be the size specified by mCommandLength
17042 // UINT8 mDisplayTextCommand[1];
17043 };
17044
17045 // Structure to describe indication TLV 0x11 for CAT2 EventReport
17046 struct sCAT2EventReportIndication_GetInkeyEvent
17047 {
17048 UINT32 mReferenceID;
17049 UINT16 mCommandLength;
17050
17051 // This array must be the size specified by mCommandLength
17052 // UINT8 mGetInkeyCommand[1];
17053 };
17054
17055 // Structure to describe indication TLV 0x12 for CAT2 EventReport
17056 struct sCAT2EventReportIndication_GetInputEvent
17057 {
17058 UINT32 mReferenceID;
17059 UINT16 mCommandLength;
17060
17061 // This array must be the size specified by mCommandLength
17062 // UINT8 mGetInputCommand[1];
17063 };
17064
17065 // Structure to describe indication TLV 0x13 for CAT2 EventReport
17066 struct sCAT2EventReportIndication_SetupMenuEvent
17067 {
17068 UINT32 mReferenceID;
17069 UINT16 mCommandLength;
17070
17071 // This array must be the size specified by mCommandLength
17072 // UINT8 mSetupMenuCommand[1];
17073 };
17074
17075 // Structure to describe indication TLV 0x14 for CAT2 EventReport
17076 struct sCAT2EventReportIndication_SelectItemEvent
17077 {
17078 UINT32 mReferenceID;
17079 UINT16 mCommandLength;
17080
17081 // This array must be the size specified by mCommandLength
17082 // UINT8 mSelectItemCommand[1];
17083 };
17084
17085 // Structure to describe indication TLV 0x15 for CAT2 EventReport
17086 struct sCAT2EventReportIndication_AlphaIDAvailable
17087 {
17088 eQMICATAlphaIDCommandType mAlphaIDCommandType;
17089 UINT16 mAlphaIDLength;
17090
17091 // This array must be the size specified by mAlphaIDLength
17092 // UINT8 mAlphaID[1];
17093 };
17094
17095 // Structure to describe indication TLV 0x16 for CAT2 EventReport
17096 struct sCAT2EventReportIndication_SetupEventList
17097 {
17098 bool mUserActivityNotify:1;
17099 bool mIdleScreenAvailable:1;
17100 bool mLanguageSelectionNotify:1;
17101
17102 // Padding out 29 bits
17103 UINT8 mReserved1:5;
17104 UINT8 mReserved2[3];
17105 };
17106
17107 // Structure to describe indication TLV 0x17 for CAT2 EventReport
17108 struct sCAT2EventReportIndication_SetupIdleModeTextEvent
17109 {
17110 UINT32 mReferenceID;
17111 UINT16 mCommandLength;
17112
17113 // This array must be the size specified by mCommandLength
17114 // UINT8 mSetupIdleModeTextCommand[1];
17115 };
17116
17117 // Structure to describe indication TLV 0x18 for CAT2 EventReport
17118 struct sCAT2EventReportIndication_LanguageNotificationEvent
17119 {
17120 UINT32 mReferenceID;
17121 UINT16 mCommandLength;
17122
17123 // This array must be the size specified by mCommandLength
17124 // UINT8 mLanguageNotificationCommand[1];
17125 };
17126
17127 // Structure to describe indication TLV 0x19 for CAT2 EventReport
17128 struct sCAT2EventReportIndication_RefreshEvent
17129 {
17130 UINT16 mRefreshMode;
17131 eQMICATRefreshStage mRefreshStage;
17132 };
17133
17134 // Structure to describe indication TLV 0x1A for CAT2 EventReport
17135 struct sCAT2EventReportIndication_EndProactiveSession
17136 {
17137 eQMICATProactiveSessionEndType mProactiveSessionEndType;
17138 };
17139
17140 // Structure to describe indication TLV 0x1B for CAT2 EventReport
17141 struct sCAT2EventReportIndication_DecodedHeaderID
17142 {
17143 eQMICATCommandID mCommandID;
17144 UINT32 mReferenceID;
17145 UINT8 mCommandNumber;
17146 };
17147
17148 // Structure to describe indication TLV 0x1C for CAT2 EventReport
17149 struct sCAT2EventReportIndication_TextString
17150 {
17151 eQMICATDataCodingScheme mDataCodingScheme;
17152 UINT8 mTextDataLength;
17153
17154 // This array must be the size specified by mTextDataLength
17155 // UINT8 mTextData[1];
17156 };
17157
17158 // Structure to describe indication TLV 0x1D for CAT2 EventReport
17159 struct sCAT2EventReportIndication_HighPriority
17160 {
17161 eQMICATHighPriority mHighPriority;
17162 };
17163
17164 // Structure to describe indication TLV 0x1E for CAT2 EventReport
17165 struct sCAT2EventReportIndication_UserControl
17166 {
17167 eQMICATUserControl mUserControl;
17168 };
17169
17170 // Structure to describe indication TLV 0x1F for CAT2 EventReport
17171 struct sCAT2EventReportIndication_Icon
17172 {
17173 eQMICATIconQualifier mIconQualifier;
17174 UINT8 mHeight;
17175 UINT8 mWidth;
17176 eQMICATImageCodingScheme mImageCodingScheme;
17177 UINT8 mRecordNumber;
17178 UINT16 mIconDataLength;
17179
17180 // This array must be the size specified by mIconDataLength
17181 // UINT8 mIconData[1];
17182 };
17183
17184 // Structure to describe indication TLV 0x20 for CAT2 EventReport
17185 struct sCAT2EventReportIndication_Duration
17186 {
17187 eQMICATTimeUnits mUnits;
17188 UINT8 mInterval;
17189 };
17190
17191 // Structure to describe indication TLV 0x21 for CAT2 EventReport
17192 struct sCAT2EventReportIndication_ResponseFormat
17193 {
17194 eQMICATResponseFormat mResponseFormat;
17195 };
17196
17197 // Structure to describe indication TLV 0x22 for CAT2 EventReport
17198 struct sCAT2EventReportIndication_HelpAvailable
17199 {
17200 eQMICATHelpAvailable mHelpAvailable;
17201 };
17202
17203 // Structure to describe indication TLV 0x23 for CAT2 EventReport
17204 struct sCAT2EventReportIndication_ResponsePackingFormat
17205 {
17206 eQMICATResponsePackingFormat mResponsePackingFormat;
17207 };
17208
17209 // Structure to describe indication TLV 0x24 for CAT2 EventReport
17210 struct sCAT2EventReportIndication_ResponseLength
17211 {
17212 UINT8 mMaximumUserInput;
17213 UINT8 mMinimumUserInput;
17214 };
17215
17216 // Structure to describe indication TLV 0x25 for CAT2 EventReport
17217 struct sCAT2EventReportIndication_ShowUserInput
17218 {
17219 eQMICATShowUserInput mShowUserInput;
17220 };
17221
17222 // Structure to describe indication TLV 0x26 for CAT2 EventReport
17223 struct sCAT2EventReportIndication_Tone
17224 {
17225 eQMICATTone mTone;
17226 };
17227
17228 // Structure to describe indication TLV 0x27 for CAT2 EventReport
17229 struct sCAT2EventReportIndication_SoftkeySelection
17230 {
17231 eQMICATSoftkeySelection mSoftkeySelection;
17232 };
17233
17234 // Structure to describe indication TLV 0x28 for CAT2 EventReport
17235 struct sCAT2EventReportIndication_Items
17236 {
17237 UINT8 mItemsLength;
17238
17239 struct sItem
17240 {
17241 UINT8 mItemID;
17242 UINT8 mItemTextLength;
17243
17244 // This array must be the size specified by mItemTextLength
17245 // UINT8 mItemText[1];
17246 };
17247
17248 // This array must be the size specified by mItemsLength
17249 // sItem mItems[1];
17250 };
17251
17252 // Structure to describe indication TLV 0x29 for CAT2 EventReport
17253 struct sCAT2EventReportIndication_DefaultItem
17254 {
17255 UINT8 mDefaultItem;
17256 };
17257
17258 // Structure to describe indication TLV 0x2A for CAT2 EventReport
17259 struct sCAT2EventReportIndication_NextActionIdentifier
17260 {
17261 UINT8 mActionsLength;
17262
17263 // This array must be the size specified by mActionsLength
17264 // eQMICATNextAction mNextAction[1];
17265 };
17266
17267 // Structure to describe indication TLV 0x2B for CAT2 EventReport
17268 struct sCAT2EventReportIndication_IconIDList
17269 {
17270 eQMICATDisplayIconOnly mDisplayIconOnly;
17271 UINT8 mItemsLength;
17272
17273 struct sItem
17274 {
17275 eQMICATIconQualifier mIconQualifier;
17276 UINT8 mHeight;
17277 UINT8 mWidth;
17278 eQMICATImageCodingScheme mImageCodingScheme;
17279 UINT8 mRecordNumber;
17280 UINT16 mIconDataLength;
17281
17282 // This array must be the size specified by mIconDataLength
17283 // UINT8 mIconData[1];
17284 };
17285
17286 // This array must be the size specified by mItemsLength
17287 // sItem mItems[1];
17288 };
17289
17290 // Structure to describe indication TLV 0x2C for CAT2 EventReport
17291 struct sCAT2EventReportIndication_Presentation
17292 {
17293 eQMICATPresentation mPresentation;
17294 };
17295
17296 // Structure to describe indication TLV 0x2D for CAT2 EventReport
17297 struct sCAT2EventReportIndication_PackingRequired
17298 {
17299 eQMICATPackingRequired mPackingRequired;
17300 };
17301
17302 // Structure to describe indication TLV 0x2E for CAT2 EventReport
17303 struct sCAT2EventReportIndication_SMSTPDU
17304 {
17305 UINT8 mSMSTPDUDataLength;
17306
17307 // This array must be the size specified by mSMSTPDUDataLength
17308 // UINT8 mSMSTPDUData[1];
17309 };
17310
17311 // Structure to describe indication TLV 0x2F for CAT2 EventReport
17312 struct sCAT2EventReportIndication_IsCDMASMS
17313 {
17314 eQMICATIsCDMASMS mIsCDMASMS;
17315 };
17316
17317 // Structure to describe indication TLV 0x30 for CAT2 EventReport
17318 struct sCAT2EventReportIndication_Address
17319 {
17320 eQMICATAddressTON mAddressTON;
17321 eQMICATAddressNPI mAddressNPI;
17322 UINT8 mAddressDataLength;
17323
17324 // This array must be the size specified by mAddressDataLength
17325 // char mAddressData[1];
17326 };
17327
17328 // Structure to describe indication TLV 0x31 for CAT2 EventReport
17329 struct sCAT2EventReportIndication_CallSetupRequirement
17330 {
17331 eQMICATCallSetupRequirement mCallSetupRequirement;
17332 };
17333
17334 // Structure to describe indication TLV 0x32 for CAT2 EventReport
17335 struct sCAT2EventReportIndication_Redial
17336 {
17337 eQMICATRedialNecessary mRedialNecessary;
17338 eQMICATTimeUnits mUnits;
17339 UINT8 mInterval;
17340 };
17341
17342 // Structure to describe indication TLV 0x33 for CAT2 EventReport
17343 struct sCAT2EventReportIndication_Subaddress
17344 {
17345 UINT8 mSubaddressDataLength;
17346
17347 struct sSubaddressData
17348 {
17349 UINT8 mSubaddressData1:4;
17350 UINT8 mSubaddressData2:4;
17351 };
17352
17353 // This array must be the size specified by mSubaddressDataLength
17354 // sSubaddressData mSubaddressDatas[1];
17355 };
17356
17357 // Structure to describe indication TLV 0x34 for CAT2 EventReport
17358 struct sCAT2EventReportIndication_CapabilitiesConfiguration
17359 {
17360 UINT8 mCapabilitesConfigurationLength;
17361
17362 // This array must be the size specified by mCapabilitesConfigurationLength
17363 // UINT8 mCapabilitiesConfiguration[1];
17364 };
17365
17366 // Structure to describe indication TLV 0x35 for CAT2 EventReport
17367 struct sCAT2EventReportIndication_DTMF
17368 {
17369 UINT8 mDTMFDataLength;
17370
17371 struct sDTMFData
17372 {
17373 UINT8 mDTMFData1:4;
17374 UINT8 mDTMFData2:4;
17375 };
17376
17377 // This array must be the size specified by mDTMFDataLength
17378 // sDTMFData mDTMFDatas[1];
17379 };
17380
17381 // Structure to describe indication TLV 0x36 for CAT2 EventReport
17382 struct sCAT2EventReportIndication_SpecificLanguageNotification
17383 {
17384 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
17385 };
17386
17387 // Structure to describe indication TLV 0x37 for CAT2 EventReport
17388 struct sCAT2EventReportIndication_Language
17389 {
17390 char mLanguage[2];
17391 };
17392
17393 // Structure to describe indication TLV 0x38 for CAT2 EventReport
17394 struct sCAT2EventReportIndication_LaunchMode
17395 {
17396 eQMICATLaunchMode mLaunchMode;
17397 };
17398
17399 // Structure to describe indication TLV 0x39 for CAT2 EventReport
17400 struct sCAT2EventReportIndication_URL
17401 {
17402 UINT8 mURLDataLength;
17403
17404 // This array must be the size specified by mURLDataLength
17405 // char mURLData[1];
17406 };
17407
17408 // Structure to describe indication TLV 0x3A for CAT2 EventReport
17409 struct sCAT2EventReportIndication_BrowserID
17410 {
17411 UINT8 mBrowserID;
17412 };
17413
17414 // Structure to describe indication TLV 0x3B for CAT2 EventReport
17415 struct sCAT2EventReportIndication_BearerList
17416 {
17417 UINT8 mBearerListLength;
17418
17419 // This array must be the size specified by mBearerListLength
17420 // eQMICATBearer mBearerList[1];
17421 };
17422
17423 // Structure to describe indication TLV 0x3C for CAT2 EventReport
17424 struct sCAT2EventReportIndication_ProvisioningFile
17425 {
17426 UINT32 mNumberOfProvisioningFiles;
17427
17428 struct sFile
17429 {
17430 UINT8 mPathLength;
17431
17432 // This array must be the size specified by mPathLength
17433 // char mPath[1];
17434 };
17435
17436 // This array must be the size specified by mNumberOfProvisioningFiles
17437 // sFile mFiles[1];
17438 };
17439
17440 // Structure to describe indication TLV 0x3D for CAT2 EventReport
17441 struct sCAT2EventReportIndication_USSDString
17442 {
17443 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
17444 eQMICATUSSDDataCodingScheme mDataCodingScheme;
17445 UINT8 mUSSDTextLength;
17446
17447 // This array must be the size specified by mUSSDTextLength
17448 // UINT8 mUSSDText[1];
17449 };
17450
17451 // Structure to describe indication TLV 0x3E for CAT2 EventReport
17452 struct sCAT2EventReportIndication_DefaultText
17453 {
17454 eQMICATDataCodingScheme mDataCodingScheme;
17455 UINT8 mTextDataLength;
17456
17457 // This array must be the size specified by mTextDataLength
17458 // UINT8 mTextData[1];
17459 };
17460
17461 // Structure to describe indication TLV 0x3F for CAT2 EventReport
17462 struct sCAT2EventReportIndication_ImmediateResponseRequired
17463 {
17464 eQMICATImmediateResponse mImmediateResponse;
17465 };
17466
17467 // Structure to describe indication TLV 0x40 for CAT2 EventReport
17468 struct sCAT2EventReportIndication_UserConfirmationAlpha
17469 {
17470 eQMICATDataCodingScheme mDataCodingScheme;
17471 UINT8 mTextDataLength;
17472
17473 // This array must be the size specified by mTextDataLength
17474 // UINT8 mTextData[1];
17475 };
17476
17477 // Structure to describe indication TLV 0x41 for CAT2 EventReport
17478 struct sCAT2EventReportIndication_SetupCallDisplayAlpha
17479 {
17480 eQMICATDataCodingScheme mDataCodingScheme;
17481 UINT8 mTextDataLength;
17482
17483 // This array must be the size specified by mTextDataLength
17484 // UINT8 mTextData[1];
17485 };
17486
17487 // Structure to describe indication TLV 0x42 for CAT2 EventReport
17488 struct sCAT2EventReportIndication_UserConfirmationIcon
17489 {
17490 eQMICATIconQualifier mIconQualifier;
17491 UINT8 mHeight;
17492 UINT8 mWidth;
17493 eQMICATImageCodingScheme mImageCodingScheme;
17494 UINT8 mRecordNumber;
17495 UINT16 mIconDataLength;
17496
17497 // This array must be the size specified by mIconDataLength
17498 // UINT8 mIconData[1];
17499 };
17500
17501 // Structure to describe indication TLV 0x43 for CAT2 EventReport
17502 struct sCAT2EventReportIndication_SetupCallDisplayIcon
17503 {
17504 eQMICATIconQualifier mIconQualifier;
17505 UINT8 mHeight;
17506 UINT8 mWidth;
17507 eQMICATImageCodingScheme mImageCodingScheme;
17508 UINT8 mRecordNumber;
17509 UINT16 mIconDataLength;
17510
17511 // This array must be the size specified by mIconDataLength
17512 // UINT8 mIconData[1];
17513 };
17514
17515 // Structure to describe indication TLV 0x44 for CAT2 EventReport
17516 struct sCAT2EventReportIndication_GatewayProxy
17517 {
17518 eQMICATDataCodingScheme mDataCodingScheme;
17519 UINT8 mTextDataLength;
17520
17521 // This array must be the size specified by mTextDataLength
17522 // UINT8 mTextData[1];
17523 };
17524
17525 // Structure to describe indication TLV 0x45 for CAT2 EventReport
17526 struct sCAT2EventReportIndication_Alpha
17527 {
17528 eQMICATDataCodingScheme mDataCodingScheme;
17529 UINT8 mTextDataLength;
17530
17531 // This array must be the size specified by mTextDataLength
17532 // UINT8 mTextData[1];
17533 };
17534
17535 // Structure to describe indication TLV 0x46 for CAT2 EventReport
17536 struct sCAT2EventReportIndication_NotificationRequired
17537 {
17538 eQMICATNotificationRequired mNotificationRequired;
17539 };
17540
17541 // Structure to describe indication TLV 0x47 for CAT2 EventReport
17542 struct sCAT2EventReportIndication_PlayToneEvent
17543 {
17544 UINT32 mReferenceID;
17545 UINT16 mCommandLength;
17546
17547 // This array must be the size specified by mCommandLength
17548 // UINT8 mPlayToneCommand[1];
17549 };
17550
17551 // Structure to describe indication TLV 0x48 for CAT2 EventReport
17552 struct sCAT2EventReportIndication_SetupCallEvent
17553 {
17554 UINT32 mReferenceID;
17555 UINT16 mCommandLength;
17556
17557 // This array must be the size specified by mCommandLength
17558 // UINT8 mSetupCallCommand[1];
17559 };
17560
17561 // Structure to describe indication TLV 0x49 for CAT2 EventReport
17562 struct sCAT2EventReportIndication_SendDTMFEvent
17563 {
17564 UINT32 mReferenceID;
17565 UINT16 mCommandLength;
17566
17567 // This array must be the size specified by mCommandLength
17568 // UINT8 mSendDTMFCommand[1];
17569 };
17570
17571 // Structure to describe indication TLV 0x4A for CAT2 EventReport
17572 struct sCAT2EventReportIndication_LaunchBrowserEvent
17573 {
17574 UINT32 mReferenceID;
17575 UINT16 mCommandLength;
17576
17577 // This array must be the size specified by mCommandLength
17578 // UINT8 mLaunchBrowserCommand[1];
17579 };
17580
17581 // Structure to describe indication TLV 0x4B for CAT2 EventReport
17582 struct sCAT2EventReportIndication_SendSMSEvent
17583 {
17584 UINT32 mReferenceID;
17585 UINT16 mCommandLength;
17586
17587 // This array must be the size specified by mCommandLength
17588 // UINT8 mSendSMSCommand[1];
17589 };
17590
17591 // Structure to describe indication TLV 0x4C for CAT2 EventReport
17592 struct sCAT2EventReportIndication_SendSSEvent
17593 {
17594 UINT32 mReferenceID;
17595 UINT16 mCommandLength;
17596
17597 // This array must be the size specified by mCommandLength
17598 // UINT8 mSendSSCommand[1];
17599 };
17600
17601 // Structure to describe indication TLV 0x4D for CAT2 EventReport
17602 struct sCAT2EventReportIndication_SendUSSDEvent
17603 {
17604 UINT32 mReferenceID;
17605 UINT16 mCommandLength;
17606
17607 // This array must be the size specified by mCommandLength
17608 // UINT8 mSendUSSDCommand[1];
17609 };
17610
17611 // Structure to describe indication TLV 0x4E for CAT2 EventReport
17612 struct sCAT2EventReportIndication_ProvideLocalInformationEvent
17613 {
17614 UINT32 mReferenceID;
17615 UINT16 mCommandLength;
17616
17617 // This array must be the size specified by mCommandLength
17618 // UINT8 mProvideLocalInformationCommand[1];
17619 };
17620
17621 // Structure to describe indication TLV 0x4F for CAT2 EventReport
17622 struct sCAT2EventReportIndication_SetupRawEventList
17623 {
17624 UINT32 mReferenceID;
17625 UINT16 mCommandLength;
17626
17627 // This array must be the size specified by mCommandLength
17628 // UINT8 mSetupEventListCommand[1];
17629 };
17630
17631 // Structure to describe indication TLV 0x50 for CAT2 EventReport
17632 struct sCAT2EventReportIndication_Slot
17633 {
17634 eQMICATSlot mSlot;
17635 };
17636
17637 // Structure to describe indication TLV 0x51 for CAT2 EventReport
17638 struct sCAT2EventReportIndication_OpenChannelEvent
17639 {
17640 UINT32 mReferenceID;
17641 UINT16 mCommandLength;
17642
17643 // This array must be the size specified by mCommandLength
17644 // UINT8 mOpenChannelCommand[1];
17645 };
17646
17647 // Structure to describe indication TLV 0x52 for CAT2 EventReport
17648 struct sCAT2EventReportIndication_CloseChannelEvent
17649 {
17650 UINT32 mReferenceID;
17651 UINT16 mCommandLength;
17652
17653 // This array must be the size specified by mCommandLength
17654 // UINT8 mCloseChannelCommand[1];
17655 };
17656
17657 // Structure to describe indication TLV 0x53 for CAT2 EventReport
17658 struct sCAT2EventReportIndication_SendDataEvent
17659 {
17660 UINT32 mReferenceID;
17661 UINT16 mCommandLength;
17662
17663 // This array must be the size specified by mCommandLength
17664 // UINT8 mSendDataCommand[1];
17665 };
17666
17667 // Structure to describe indication TLV 0x54 for CAT2 EventReport
17668 struct sCAT2EventReportIndication_ReceiveDataEvent
17669 {
17670 UINT32 mReferenceID;
17671 UINT16 mCommandLength;
17672
17673 // This array must be the size specified by mCommandLength
17674 // UINT8 mReceiveDataCommand[1];
17675 };
17676
17677 // Structure to describe indication TLV 0x55 for CAT2 EventReport
17678 struct sCAT2EventReportIndication_OnDemmandLinkEstablish
17679 {
17680 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
17681 };
17682
17683 // Structure to describe indication TLV 0x56 for CAT2 EventReport
17684 struct sCAT2EventReportIndication_CSDBearerDescription
17685 {
17686 UINT8 mSpeed;
17687 eQMICATCSDBearerName mCSDBearerName;
17688 eQMICATConnectionElement mConnectionElement;
17689 };
17690
17691 // Structure to describe indication TLV 0x57 for CAT2 EventReport
17692 struct sCAT2EventReportIndication_GPRSBearerDescription
17693 {
17694 UINT8 mPrecedenceClass;
17695 UINT8 mDelayClass;
17696 UINT8 mReliabilityClass;
17697 UINT8 mPeakThroughput;
17698 UINT8 mMeanThroughput;
17699 eQMICATPacketDataProtocol mPacketDataProtocol;
17700 };
17701
17702 // Structure to describe indication TLV 0x58 for CAT2 EventReport
17703 struct sCAT2EventReportIndication_EUTRANExternalParameterBearerDescription
17704 {
17705 eQMICATTrafficClass mTrafficClass;
17706 UINT16 mMaxUploadBitrate;
17707 UINT16 mMaxDownloadBitrate;
17708 UINT16 mGuaranteedUploadBitrate;
17709 UINT16 mGuaranteedDownloadBitrate;
17710 eQMICATDeliveryOrder mDeliveryOrder;
17711 UINT8 mMaxSDUSize;
17712 UINT8 mMaxSDUErrorRatio;
17713 UINT8 mResidualBitErrorRatio;
17714 eQMICATDeliverErrorSDU mDeliverErrorSDU;
17715 UINT8 mTransferDelay;
17716 UINT8 mTrafficHandlingPRI;
17717 eQMICATPDPType mPDPType;
17718 };
17719
17720 // Structure to describe indication TLV 0x59 for CAT2 EventReport
17721 struct sCAT2EventReportIndication_EUTRANExternalMappedUTRANBearerDescription
17722 {
17723 UINT8 mQCI;
17724 UINT8 mMaxUploadBitrate;
17725 UINT8 mMaxDownloadBitrate;
17726 UINT8 mGuaranteedUploadBitrate;
17727 UINT8 mGuaranteedDownloadBitrate;
17728 UINT8 mMaximumUploadBitrateExt;
17729 UINT8 mMaximumDownloadBitrateExt;
17730 UINT8 mGuaranteedUploadBitrateExt;
17731 UINT8 mGuaranteedDownloadBitrateExt;
17732 eQMICATPDPType mPDPType;
17733 };
17734
17735 // Structure to describe indication TLV 0x5A for CAT2 EventReport
17736 struct sCAT2EventReportIndication_BufferSize
17737 {
17738 UINT16 mBufferSize;
17739 };
17740
17741 // Structure to describe indication TLV 0x5B for CAT2 EventReport
17742 struct sCAT2EventReportIndication_NetworkAccessName
17743 {
17744 UINT8 mNetworkAccessNameLength;
17745
17746 // This array must be the size specified by mNetworkAccessNameLength
17747 // UINT8 mNetworkAccessName[1];
17748 };
17749
17750 // Structure to describe indication TLV 0x5C for CAT2 EventReport
17751 struct sCAT2EventReportIndication_OtherAddress
17752 {
17753 eQMICATAddressType mAddressType;
17754 UINT8 mAddressDataLength;
17755
17756 // This array must be the size specified by mAddressDataLength
17757 // char mAddressData[1];
17758 };
17759
17760 // Structure to describe indication TLV 0x5D for CAT2 EventReport
17761 struct sCAT2EventReportIndication_UserLogin
17762 {
17763 eQMICATDataCodingScheme mDataCodingScheme;
17764 UINT8 mTextDataLength;
17765
17766 // This array must be the size specified by mTextDataLength
17767 // UINT8 mTextData[1];
17768 };
17769
17770 // Structure to describe indication TLV 0x5E for CAT2 EventReport
17771 struct sCAT2EventReportIndication_UserPassword
17772 {
17773 eQMICATDataCodingScheme mDataCodingScheme;
17774 UINT8 mTextDataLength;
17775
17776 // This array must be the size specified by mTextDataLength
17777 // UINT8 mTextData[1];
17778 };
17779
17780 // Structure to describe indication TLV 0x5F for CAT2 EventReport
17781 struct sCAT2EventReportIndication_TransportLevel
17782 {
17783 eQMICATTransportProtocol mTransportProtocol;
17784 UINT16 mPortNumber;
17785 };
17786
17787 // Structure to describe indication TLV 0x60 for CAT2 EventReport
17788 struct sCAT2EventReportIndication_DataDestinationAddress
17789 {
17790 eQMICATAddressType mAddressType;
17791 UINT8 mAddressDataLength;
17792
17793 // This array must be the size specified by mAddressDataLength
17794 // char mAddressData[1];
17795 };
17796
17797 // Structure to describe indication TLV 0x61 for CAT2 EventReport
17798 struct sCAT2EventReportIndication_ChannelDataLength
17799 {
17800 UINT8 mChannelDataLength;
17801 };
17802
17803 // Structure to describe indication TLV 0x62 for CAT2 EventReport
17804 struct sCAT2EventReportIndication_SendDataImmediately
17805 {
17806 eQMICATSendDataImmediately mSendDataImmediately;
17807 };
17808
17809 // Structure to describe indication TLV 0x63 for CAT2 EventReport
17810 struct sCAT2EventReportIndication_ChannelData
17811 {
17812 UINT16 mChannelDataLength;
17813
17814 // This array must be the size specified by mChannelDataLength
17815 // UINT8 mChannelData[1];
17816 };
17817
17818 // Structure to describe indication TLV 0x64 for CAT2 EventReport
17819 struct sCAT2EventReportIndication_ChannelID
17820 {
17821 UINT8 mChannelID;
17822 };
17823
17824 // Structure to describe indication TLV 0x65 for CAT2 EventReport
17825 struct sCAT2EventReportIndication_ItemsWithDCS
17826 {
17827 UINT8 mItemsLength;
17828
17829 struct sItem
17830 {
17831 UINT8 mItemID;
17832 eQMICATDataCodingScheme mDataCodingScheme;
17833 UINT8 mItemTextLength;
17834
17835 // This array must be the size specified by mItemTextLength
17836 // UINT8 mItemText[1];
17837 };
17838
17839 // This array must be the size specified by mItemsLength
17840 // sItem mItems[1];
17841 };
17842
17843 // Structure to describe indication TLV 0x66 for CAT2 EventReport
17844 struct sCAT2EventReportIndication_Activate
17845 {
17846 UINT32 mReferenceID;
17847 UINT16 mActivateLength;
17848
17849 // This array must be the size specified by mActivateLength
17850 // UINT8 mActivate[1];
17851 };
17852
17853 // Structure to describe indication TLV 0x67 for CAT2 EventReport
17854 struct sCAT2EventReportIndication_ActivateTarget
17855 {
17856 eQMICATActivateTargets mActivateTarget;
17857 };
17858
17859 // Structure to describe response TLV 0x01 for CAT2GetServiceState()
17860 struct sCAT2GetServiceStateResponse_CATServiceState
17861 {
17862 bool mCommonDisplayText:1;
17863 bool mCommonGetInkey:1;
17864 bool mCommonGetInput:1;
17865 bool mCommonSetupMenu:1;
17866 bool mCommonSelectItem:1;
17867 bool mCommonSendSMSAlphaIdentifier:1;
17868 bool mCommonSetupEventUserActivity:1;
17869 bool mCommonSetupEventIdleScreenNotify:1;
17870 bool mCommonSetupEventLanguageSelNotify:1;
17871 bool mCommonSetupIdleModeText:1;
17872 bool mCommonLanguageNotification:1;
17873 bool mCommonRefresh:1;
17874 bool mCommonEndProactiveSession:1;
17875 bool mCommonPlayTone:1;
17876 bool mCommonSetupCall:1;
17877 bool mCommonSendDTMF:1;
17878 bool mCommonLaunchBrowser:1;
17879 bool mCommonSendSS:1;
17880 bool mCommonSendUSSD:1;
17881 bool mCommonProvideLocalInformationLanguage:1;
17882 bool mCommonBearerIndependentProtocol:1;
17883 bool mCommonSetupEventBrowserTermination:1;
17884 bool mCommonProvideLocalInformationTime:1;
17885 bool mCommonActivate:1;
17886
17887 // Padding out 1 bits
17888 UINT8 mReserved1:1;
17889
17890 bool mCommonSetupEventHCIConnectivity:1;
17891
17892 // Padding out 6 bits
17893 UINT8 mReserved2:6;
17894
17895 bool mControlDisplayText:1;
17896 bool mControlGetInkey:1;
17897 bool mControlGetInput:1;
17898 bool mControlSetupMenu:1;
17899 bool mControlSelectItem:1;
17900 bool mControlSendSMSAlphaIdentifier:1;
17901 bool mControlSetupEventUserActivity:1;
17902 bool mControlSetupEventIdleScreenNotify:1;
17903 bool mControlSetupEventLanguageSelNotify:1;
17904 bool mControlSetupIdleModeText:1;
17905 bool mControlLanguageNotification:1;
17906 bool mControlRefresh:1;
17907 bool mControlEndProactiveSession:1;
17908 bool mControlPlayTone:1;
17909 bool mControlSetupCall:1;
17910 bool mControlSendDTMF:1;
17911 bool mControlLaunchBrowser:1;
17912 bool mControlSendSS:1;
17913 bool mControlSendUSSD:1;
17914 bool mControlProvideLocalInformationLanguage:1;
17915 bool mControlBearerIndependentProtocol:1;
17916 bool mControlSetupEventBrowserTermination:1;
17917 bool mControlProvideLocalInformationTime:1;
17918 bool mControlActivate:1;
17919
17920 // Padding out 1 bits
17921 UINT8 mReserved3:1;
17922
17923 bool mControlSetupEventHCIConnectivity:1;
17924
17925 // Padding out 6 bits
17926 UINT8 mReserved4:6;
17927 };
17928
17929 // Structure to describe response TLV 0x10 for CAT2GetServiceState()
17930 struct sCAT2GetServiceStateResponse_DecodedCATServiceState
17931 {
17932 bool mCommonDisplayText:1;
17933 bool mCommonGetInkey:1;
17934 bool mCommonGetInput:1;
17935 bool mCommonSetupMenu:1;
17936 bool mCommonSelectItem:1;
17937 bool mCommonSendSMSAlphaIdentifier:1;
17938 bool mCommonSetupEventUserActivity:1;
17939 bool mCommonSetupEventIdleScreenNotify:1;
17940 bool mCommonSetupEventLanguageSelNotify:1;
17941 bool mCommonSetupIdleModeText:1;
17942 bool mCommonLanguageNotification:1;
17943
17944 // Padding out 1 bits
17945 UINT8 mReserved1:1;
17946
17947 bool mCommonEndProactiveSession:1;
17948 bool mCommonPlayTone:1;
17949 bool mCommonSetupCall:1;
17950 bool mCommonSendDTMF:1;
17951 bool mCommonLaunchBrowser:1;
17952 bool mCommonSendSS:1;
17953 bool mCommonSendUSSD:1;
17954 bool mCommonProvideLocalInformationLanguage:1;
17955 bool mCommonBearerIndependentProtocol:1;
17956
17957 // Padding out 2 bits
17958 UINT8 mReserved2:2;
17959
17960 bool mCommonSCWSEvent:1;
17961 bool mCommonActivate:1;
17962 bool mCommonSetupEventHCIConnectivity:1;
17963
17964 // Padding out 6 bits
17965 UINT8 mReserved3:6;
17966
17967 bool mControlDisplayText:1;
17968 bool mControlGetInkey:1;
17969 bool mControlGetInput:1;
17970 bool mControlSetupMenu:1;
17971 bool mControlSelectItem:1;
17972 bool mControlSendSMSAlphaIdentifier:1;
17973 bool mControlSetupEventUserActivity:1;
17974 bool mControlSetupEventIdleScreenNotify:1;
17975 bool mControlSetupEventLanguageSelNotify:1;
17976 bool mControlSetupIdleModeText:1;
17977 bool mControlLanguageNotification:1;
17978
17979 // Padding out 1 bits
17980 UINT8 mReserved4:1;
17981
17982 bool mControlEndProactiveSession:1;
17983 bool mControlPlayTone:1;
17984 bool mControlSetupCall:1;
17985 bool mControlSendDTMF:1;
17986 bool mControlLaunchBrowser:1;
17987 bool mControlSendSS:1;
17988 bool mControlSendUSSD:1;
17989 bool mControlProvideLocalInformationLanguage:1;
17990 bool mControlBearerIndependentProtocol:1;
17991
17992 // Padding out 2 bits
17993 UINT8 mReserved5:2;
17994
17995 bool mControlSCWSEvent:1;
17996 bool mControlActivate:1;
17997 bool mControlSetupEventHCIConnectivity:1;
17998
17999 // Padding out 6 bits
18000 UINT8 mReserved6:6;
18001 };
18002
18003 // Structure to describe request TLV 0x01 for CAT2SendTerminalResponse()
18004 struct sCAT2SendTerminalResponseRequest_TerminalResponseType
18005 {
18006 UINT32 mReferenceID;
18007 UINT16 mTerminalResponseLength;
18008
18009 // This array must be the size specified by mTerminalResponseLength
18010 // UINT8 mTerminalResponse[1];
18011 };
18012
18013 // Structure to describe request TLV 0x10 for CAT2SendTerminalResponse()
18014 struct sCAT2SendTerminalResponseRequest_Slot
18015 {
18016 eQMICATSlot mSlot;
18017 };
18018
18019 // Structure to describe response TLV 0x10 for CAT2SendTerminal()
18020 struct sCAT2SendTerminalResponseResponse_TRResponse
18021 {
18022 UINT8 mSW1;
18023 UINT8 mSW2;
18024 UINT8 mTerminalResponseLength;
18025
18026 // This array must be the size specified by mTerminalResponseLength
18027 // UINT8 mTerminalResponseData[1];
18028 };
18029
18030 // Structure to describe request TLV 0x01 for CAT2EnvelopeCommand()
18031 struct sCAT2EnvelopeCommandRequest_EnvelopeCommand
18032 {
18033 eQMICATEnvelopeCommandType mEnvelopeCommandType;
18034 UINT16 mEnvelopeLength;
18035
18036 // This array must be the size specified by mEnvelopeLength
18037 // UINT8 mEnvelopeData[1];
18038 };
18039
18040 // Structure to describe request TLV 0x10 for CAT2EnvelopeCommand()
18041 struct sCAT2EnvelopeCommandRequest_Slot
18042 {
18043 eQMICATSlot mSlot;
18044 };
18045
18046 // Structure to describe response TLV 0x10 for CAT2EnvelopeCommand()
18047 struct sCAT2EnvelopeCommandResponse_RawResponse
18048 {
18049 UINT8 mSW1;
18050 UINT8 mSW2;
18051 UINT8 mEnvelopeResponseLength;
18052
18053 // This array must be the size specified by mEnvelopeResponseLength
18054 // UINT8 mEnvelopeResponseData[1];
18055 };
18056
18057 // Structure to describe request TLV 0x01 for CAT2GetEventReport()
18058 struct sCAT2GetEventReportRequest_CommandInput
18059 {
18060 UINT32 mCommandID;
18061 eQMICATCommandFormat mCommandFormat;
18062 };
18063
18064 // Structure to describe response TLV 0x10 for CAT2GetEventReport()
18065 struct sCAT2GetEventReportResponse_DisplayTextEvent
18066 {
18067 UINT32 mReferenceID;
18068 UINT16 mCommandLength;
18069
18070 // This array must be the size specified by mCommandLength
18071 // UINT8 mDisplayTextCommand[1];
18072 };
18073
18074 // Structure to describe response TLV 0x11 for CAT2GetEventReport()
18075 struct sCAT2GetEventReportResponse_GetInkeyEvent
18076 {
18077 UINT32 mReferenceID;
18078 UINT16 mCommandLength;
18079
18080 // This array must be the size specified by mCommandLength
18081 // UINT8 mGetInkeyCommand[1];
18082 };
18083
18084 // Structure to describe response TLV 0x12 for CAT2GetEventReport()
18085 struct sCAT2GetEventReportResponse_GetInputEvent
18086 {
18087 UINT32 mReferenceID;
18088 UINT16 mCommandLength;
18089
18090 // This array must be the size specified by mCommandLength
18091 // UINT8 mGetInputCommand[1];
18092 };
18093
18094 // Structure to describe response TLV 0x13 for CAT2GetEventReport()
18095 struct sCAT2GetEventReportResponse_SetupMenuEvent
18096 {
18097 UINT32 mReferenceID;
18098 UINT16 mCommandLength;
18099
18100 // This array must be the size specified by mCommandLength
18101 // UINT8 mSetupMenuCommand[1];
18102 };
18103
18104 // Structure to describe response TLV 0x14 for CAT2GetEventReport()
18105 struct sCAT2GetEventReportResponse_SelectItemEvent
18106 {
18107 UINT32 mReferenceID;
18108 UINT16 mCommandLength;
18109
18110 // This array must be the size specified by mCommandLength
18111 // UINT8 mSelectItemCommand[1];
18112 };
18113
18114 // Structure to describe response TLV 0x15 for CAT2GetEventReport()
18115 struct sCAT2GetEventReportResponse_AlphaIDAvailable
18116 {
18117 eQMICATAlphaIDCommandType mAlphaIDCommandType;
18118 UINT16 mAlphaIDLength;
18119
18120 // This array must be the size specified by mAlphaIDLength
18121 // UINT8 mAlphaID[1];
18122 };
18123
18124 // Structure to describe response TLV 0x16 for CAT2GetEventReport()
18125 struct sCAT2GetEventReportResponse_SetupEventList
18126 {
18127 bool mUserActivityNotify:1;
18128 bool mIdleScreenAvailable:1;
18129 bool mLanguageSelectionNotify:1;
18130
18131 // Padding out 29 bits
18132 UINT8 mReserved1:5;
18133 UINT8 mReserved2[3];
18134 };
18135
18136 // Structure to describe response TLV 0x17 for CAT2GetEventReport()
18137 struct sCAT2GetEventReportResponse_SetupIdleModeTextEvent
18138 {
18139 UINT32 mReferenceID;
18140 UINT16 mCommandLength;
18141
18142 // This array must be the size specified by mCommandLength
18143 // UINT8 mSetupIdleModeTextCommand[1];
18144 };
18145
18146 // Structure to describe response TLV 0x18 for CAT2GetEventReport()
18147 struct sCAT2GetEventReportResponse_LanguageNotificationEvent
18148 {
18149 UINT32 mReferenceID;
18150 UINT16 mCommandLength;
18151
18152 // This array must be the size specified by mCommandLength
18153 // UINT8 mLanguageNotificationCommand[1];
18154 };
18155
18156 // Structure to describe response TLV 0x19 for CAT2GetEventReport()
18157 struct sCAT2GetEventReportResponse_RefreshEvent
18158 {
18159 UINT16 mRefreshMode;
18160 eQMICATRefreshStage mRefreshStage;
18161 };
18162
18163 // Structure to describe response TLV 0x1A for CAT2GetEventReport()
18164 struct sCAT2GetEventReportResponse_EndProactiveSession
18165 {
18166 eQMICATProactiveSessionEndType mProactiveSessionEndType;
18167 };
18168
18169 // Structure to describe response TLV 0x1B for CAT2GetEventReport()
18170 struct sCAT2GetEventReportResponse_DecodedHeaderID
18171 {
18172 eQMICATCommandID mCommandID;
18173 UINT32 mReferenceID;
18174 UINT8 mCommandNumber;
18175 };
18176
18177 // Structure to describe response TLV 0x1C for CAT2GetEventReport()
18178 struct sCAT2GetEventReportResponse_TextString
18179 {
18180 eQMICATDataCodingScheme mDataCodingScheme;
18181 UINT8 mTextDataLength;
18182
18183 // This array must be the size specified by mTextDataLength
18184 // UINT8 mTextData[1];
18185 };
18186
18187 // Structure to describe response TLV 0x1D for CAT2GetEventReport()
18188 struct sCAT2GetEventReportResponse_HighPriority
18189 {
18190 eQMICATHighPriority mHighPriority;
18191 };
18192
18193 // Structure to describe response TLV 0x1E for CAT2GetEventReport()
18194 struct sCAT2GetEventReportResponse_UserControl
18195 {
18196 eQMICATUserControl mUserControl;
18197 };
18198
18199 // Structure to describe response TLV 0x1F for CAT2GetEventReport()
18200 struct sCAT2GetEventReportResponse_Icon
18201 {
18202 eQMICATIconQualifier mIconQualifier;
18203 UINT8 mHeight;
18204 UINT8 mWidth;
18205 eQMICATImageCodingScheme mImageCodingScheme;
18206 UINT8 mRecordNumber;
18207 UINT16 mIconDataLength;
18208
18209 // This array must be the size specified by mIconDataLength
18210 // UINT8 mIconData[1];
18211 };
18212
18213 // Structure to describe response TLV 0x20 for CAT2GetEventReport()
18214 struct sCAT2GetEventReportResponse_Duration
18215 {
18216 eQMICATTimeUnits mUnits;
18217 UINT8 mInterval;
18218 };
18219
18220 // Structure to describe response TLV 0x21 for CAT2GetEventReport()
18221 struct sCAT2GetEventReportResponse_ResponseFormat
18222 {
18223 eQMICATResponseFormat mResponseFormat;
18224 };
18225
18226 // Structure to describe response TLV 0x22 for CAT2GetEventReport()
18227 struct sCAT2GetEventReportResponse_HelpAvailable
18228 {
18229 eQMICATHelpAvailable mHelpAvailable;
18230 };
18231
18232 // Structure to describe response TLV 0x23 for CAT2GetEventReport()
18233 struct sCAT2GetEventReportResponse_ResponsePackingFormat
18234 {
18235 eQMICATResponsePackingFormat mResponsePackingFormat;
18236 };
18237
18238 // Structure to describe response TLV 0x24 for CAT2GetEventReport()
18239 struct sCAT2GetEventReportResponse_ResponseLength
18240 {
18241 UINT8 mMaximumUserInput;
18242 UINT8 mMinimumUserInput;
18243 };
18244
18245 // Structure to describe response TLV 0x25 for CAT2GetEventReport()
18246 struct sCAT2GetEventReportResponse_ShowUserInput
18247 {
18248 eQMICATShowUserInput mShowUserInput;
18249 };
18250
18251 // Structure to describe response TLV 0x26 for CAT2GetEventReport()
18252 struct sCAT2GetEventReportResponse_Tone
18253 {
18254 eQMICATTone mTone;
18255 };
18256
18257 // Structure to describe response TLV 0x27 for CAT2GetEventReport()
18258 struct sCAT2GetEventReportResponse_SoftkeySelection
18259 {
18260 eQMICATSoftkeySelection mSoftkeySelection;
18261 };
18262
18263 // Structure to describe response TLV 0x28 for CAT2GetEventReport()
18264 struct sCAT2GetEventReportResponse_Items
18265 {
18266 UINT8 mItemsLength;
18267
18268 struct sItem
18269 {
18270 UINT8 mItemID;
18271 UINT8 mItemTextLength;
18272
18273 // This array must be the size specified by mItemTextLength
18274 // UINT8 mItemText[1];
18275 };
18276
18277 // This array must be the size specified by mItemsLength
18278 // sItem mItems[1];
18279 };
18280
18281 // Structure to describe response TLV 0x29 for CAT2GetEventReport()
18282 struct sCAT2GetEventReportResponse_DefaultItems
18283 {
18284 UINT8 mDefaultItem;
18285 };
18286
18287 // Structure to describe response TLV 0x2A for CAT2GetEventReport()
18288 struct sCAT2GetEventReportResponse_NextActionIdentifier
18289 {
18290 UINT8 mActionsLength;
18291
18292 // This array must be the size specified by mActionsLength
18293 // eQMICATNextAction mNextAction[1];
18294 };
18295
18296 // Structure to describe response TLV 0x2B for CAT2GetEventReport()
18297 struct sCAT2GetEventReportResponse_IconIDList
18298 {
18299 eQMICATDisplayIconOnly mDisplayIconOnly;
18300 UINT8 mItemsLength;
18301
18302 struct sItem
18303 {
18304 eQMICATIconQualifier mIconQualifier;
18305 UINT8 mHeight;
18306 UINT8 mWidth;
18307 eQMICATImageCodingScheme mImageCodingScheme;
18308 UINT8 mRecordNumber;
18309 UINT16 mIconDataLength;
18310
18311 // This array must be the size specified by mIconDataLength
18312 // UINT8 mIconData[1];
18313 };
18314
18315 // This array must be the size specified by mItemsLength
18316 // sItem mItems[1];
18317 };
18318
18319 // Structure to describe response TLV 0x2C for CAT2GetEventReport()
18320 struct sCAT2GetEventReportResponse_Presentation
18321 {
18322 eQMICATPresentation mPresentation;
18323 };
18324
18325 // Structure to describe response TLV 0x2D for CAT2GetEventReport()
18326 struct sCAT2GetEventReportResponse_PackingRequired
18327 {
18328 eQMICATPackingRequired mPackingRequired;
18329 };
18330
18331 // Structure to describe response TLV 0x2E for CAT2GetEventReport()
18332 struct sCAT2GetEventReportResponse_SMSTPDU
18333 {
18334 UINT8 mSMSTPDUDataLength;
18335
18336 // This array must be the size specified by mSMSTPDUDataLength
18337 // UINT8 mSMSTPDUData[1];
18338 };
18339
18340 // Structure to describe response TLV 0x2F for CAT2GetEventReport()
18341 struct sCAT2GetEventReportResponse_IsCDMASMS
18342 {
18343 eQMICATIsCDMASMS mIsCDMASMS;
18344 };
18345
18346 // Structure to describe response TLV 0x30 for CAT2GetEventReport()
18347 struct sCAT2GetEventReportResponse_Address
18348 {
18349 eQMICATAddressTON mAddressTON;
18350 eQMICATAddressNPI mAddressNPI;
18351 UINT8 mAddressDataLength;
18352
18353 // This array must be the size specified by mAddressDataLength
18354 // char mAddressData[1];
18355 };
18356
18357 // Structure to describe response TLV 0x31 for CAT2GetEventReport()
18358 struct sCAT2GetEventReportResponse_CallSetupRequirement
18359 {
18360 eQMICATCallSetupRequirement mCallSetupRequirement;
18361 };
18362
18363 // Structure to describe response TLV 0x32 for CAT2GetEventReport()
18364 struct sCAT2GetEventReportResponse_Redial
18365 {
18366 eQMICATRedialNecessary mRedialNecessary;
18367 eQMICATTimeUnits mUnits;
18368 UINT8 mInterval;
18369 };
18370
18371 // Structure to describe response TLV 0x33 for CAT2GetEventReport()
18372 struct sCAT2GetEventReportResponse_Subaddress
18373 {
18374 UINT8 mSubaddressDataLength;
18375
18376 struct sSubaddressData
18377 {
18378 UINT8 mSubaddressData1:4;
18379 UINT8 mSubaddressData2:4;
18380 };
18381
18382 // This array must be the size specified by mSubaddressDataLength
18383 // sSubaddressData mSubaddressDatas[1];
18384 };
18385
18386 // Structure to describe response TLV 0x34 for CAT2GetEventReport()
18387 struct sCAT2GetEventReportResponse_CapabilityConfiguration
18388 {
18389 UINT8 mCapabilitesConfigurationLength;
18390
18391 // This array must be the size specified by mCapabilitesConfigurationLength
18392 // UINT8 mCapabilitiesConfiguration[1];
18393 };
18394
18395 // Structure to describe response TLV 0x35 for CAT2GetEventReport()
18396 struct sCAT2GetEventReportResponse_DTMF
18397 {
18398 UINT8 mDTMFDataLength;
18399
18400 struct sDTMFData
18401 {
18402 UINT8 mDTMFData1:4;
18403 UINT8 mDTMFData2:4;
18404 };
18405
18406 // This array must be the size specified by mDTMFDataLength
18407 // sDTMFData mDTMFDatas[1];
18408 };
18409
18410 // Structure to describe response TLV 0x36 for CAT2GetEventReport()
18411 struct sCAT2GetEventReportResponse_SpecificLanguageNotification
18412 {
18413 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
18414 };
18415
18416 // Structure to describe response TLV 0x37 for CAT2GetEventReport()
18417 struct sCAT2GetEventReportResponse_Language
18418 {
18419 char mLanguage[2];
18420 };
18421
18422 // Structure to describe response TLV 0x38 for CAT2GetEventReport()
18423 struct sCAT2GetEventReportResponse_LaunchMode
18424 {
18425 eQMICATLaunchMode mLaunchMode;
18426 };
18427
18428 // Structure to describe response TLV 0x39 for CAT2GetEventReport()
18429 struct sCAT2GetEventReportResponse_URL
18430 {
18431 UINT8 mURLDataLength;
18432
18433 // This array must be the size specified by mURLDataLength
18434 // char mURLData[1];
18435 };
18436
18437 // Structure to describe response TLV 0x3A for CAT2GetEventReport()
18438 struct sCAT2GetEventReportResponse_BrowserID
18439 {
18440 UINT8 mBrowserID;
18441 };
18442
18443 // Structure to describe response TLV 0x3B for CAT2GetEventReport()
18444 struct sCAT2GetEventReportResponse_BearerList
18445 {
18446 UINT8 mBearerListLength;
18447
18448 // This array must be the size specified by mBearerListLength
18449 // eQMICATBearer mBearerList[1];
18450 };
18451
18452 // Structure to describe response TLV 0x3C for CAT2GetEventReport()
18453 struct sCAT2GetEventReportResponse_ProvisioningFiles
18454 {
18455 UINT32 mNumberOfProvisioningFiles;
18456
18457 struct sFile
18458 {
18459 UINT8 mPathLength;
18460
18461 // This array must be the size specified by mPathLength
18462 // char mPath[1];
18463 };
18464
18465 // This array must be the size specified by mNumberOfProvisioningFiles
18466 // sFile mFiles[1];
18467 };
18468
18469 // Structure to describe response TLV 0x3D for CAT2GetEventReport()
18470 struct sCAT2GetEventReportResponse_USSDString
18471 {
18472 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
18473 eQMICATUSSDDataCodingScheme mDataCodingScheme;
18474 UINT8 mUSSDTextLength;
18475
18476 // This array must be the size specified by mUSSDTextLength
18477 // UINT8 mUSSDText[1];
18478 };
18479
18480 // Structure to describe response TLV 0x3E for CAT2GetEventReport()
18481 struct sCAT2GetEventReportResponse_DefaultText
18482 {
18483 eQMICATDataCodingScheme mDataCodingScheme;
18484 UINT8 mTextDataLength;
18485
18486 // This array must be the size specified by mTextDataLength
18487 // UINT8 mTextData[1];
18488 };
18489
18490 // Structure to describe response TLV 0x3F for CAT2GetEventReport()
18491 struct sCAT2GetEventReportResponse_ImmediateResponseRequest
18492 {
18493 eQMICATImmediateResponse mImmediateResponse;
18494 };
18495
18496 // Structure to describe response TLV 0x40 for CAT2GetEventReport()
18497 struct sCAT2GetEventReportResponse_UserConfirmationAlpha
18498 {
18499 eQMICATDataCodingScheme mDataCodingScheme;
18500 UINT8 mTextDataLength;
18501
18502 // This array must be the size specified by mTextDataLength
18503 // UINT8 mTextData[1];
18504 };
18505
18506 // Structure to describe response TLV 0x41 for CAT2GetEventReport()
18507 struct sCAT2GetEventReportResponse_SetupCallDisplayAlpha
18508 {
18509 eQMICATDataCodingScheme mDataCodingScheme;
18510 UINT8 mTextDataLength;
18511
18512 // This array must be the size specified by mTextDataLength
18513 // UINT8 mTextData[1];
18514 };
18515
18516 // Structure to describe response TLV 0x42 for CAT2GetEventReport()
18517 struct sCAT2GetEventReportResponse_UserConfirmationIcon
18518 {
18519 eQMICATIconQualifier mIconQualifier;
18520 UINT8 mHeight;
18521 UINT8 mWidth;
18522 eQMICATImageCodingScheme mImageCodingScheme;
18523 UINT8 mRecordNumber;
18524 UINT16 mIconDataLength;
18525
18526 // This array must be the size specified by mIconDataLength
18527 // UINT8 mIconData[1];
18528 };
18529
18530 // Structure to describe response TLV 0x43 for CAT2GetEventReport()
18531 struct sCAT2GetEventReportResponse_SetupCallDisplayIcon
18532 {
18533 eQMICATIconQualifier mIconQualifier;
18534 UINT8 mHeight;
18535 UINT8 mWidth;
18536 eQMICATImageCodingScheme mImageCodingScheme;
18537 UINT8 mRecordNumber;
18538 UINT16 mIconDataLength;
18539
18540 // This array must be the size specified by mIconDataLength
18541 // UINT8 mIconData[1];
18542 };
18543
18544 // Structure to describe response TLV 0x44 for CAT2GetEventReport()
18545 struct sCAT2GetEventReportResponse_GatewayProxy
18546 {
18547 eQMICATDataCodingScheme mDataCodingScheme;
18548 UINT8 mTextDataLength;
18549
18550 // This array must be the size specified by mTextDataLength
18551 // UINT8 mTextData[1];
18552 };
18553
18554 // Structure to describe response TLV 0x45 for CAT2GetEventReport()
18555 struct sCAT2GetEventReportResponse_Alpha
18556 {
18557 eQMICATDataCodingScheme mDataCodingScheme;
18558 UINT8 mTextDataLength;
18559
18560 // This array must be the size specified by mTextDataLength
18561 // UINT8 mTextData[1];
18562 };
18563
18564 // Structure to describe response TLV 0x46 for CAT2GetEventReport()
18565 struct sCAT2GetEventReportResponse_NotificationRequired
18566 {
18567 eQMICATNotificationRequired mNotificationRequired;
18568 };
18569
18570 // Structure to describe response TLV 0x47 for CAT2GetEventReport()
18571 struct sCAT2GetEventReportResponse_PlayToneEvent
18572 {
18573 UINT32 mReferenceID;
18574 UINT16 mCommandLength;
18575
18576 // This array must be the size specified by mCommandLength
18577 // UINT8 mPlayToneCommand[1];
18578 };
18579
18580 // Structure to describe response TLV 0x48 for CAT2GetEventReport()
18581 struct sCAT2GetEventReportResponse_SetupCallEvent
18582 {
18583 UINT32 mReferenceID;
18584 UINT16 mCommandLength;
18585
18586 // This array must be the size specified by mCommandLength
18587 // UINT8 mSetupCallCommand[1];
18588 };
18589
18590 // Structure to describe response TLV 0x49 for CAT2GetEventReport()
18591 struct sCAT2GetEventReportResponse_SendDTMFEvent
18592 {
18593 UINT32 mReferenceID;
18594 UINT16 mCommandLength;
18595
18596 // This array must be the size specified by mCommandLength
18597 // UINT8 mSendDTMFCommand[1];
18598 };
18599
18600 // Structure to describe response TLV 0x4A for CAT2GetEventReport()
18601 struct sCAT2GetEventReportResponse_LaunchBrowserEvent
18602 {
18603 UINT32 mReferenceID;
18604 UINT16 mCommandLength;
18605
18606 // This array must be the size specified by mCommandLength
18607 // UINT8 mLaunchBrowserCommand[1];
18608 };
18609
18610 // Structure to describe response TLV 0x4B for CAT2GetEventReport()
18611 struct sCAT2GetEventReportResponse_SendSMSEvent
18612 {
18613 UINT32 mReferenceID;
18614 UINT16 mCommandLength;
18615
18616 // This array must be the size specified by mCommandLength
18617 // UINT8 mSendSMSCommand[1];
18618 };
18619
18620 // Structure to describe response TLV 0x4C for CAT2GetEventReport()
18621 struct sCAT2GetEventReportResponse_SendSSEvent
18622 {
18623 UINT32 mReferenceID;
18624 UINT16 mCommandLength;
18625
18626 // This array must be the size specified by mCommandLength
18627 // UINT8 mSendSSCommand[1];
18628 };
18629
18630 // Structure to describe response TLV 0x4D for CAT2GetEventReport()
18631 struct sCAT2GetEventReportResponse_SendUSSDEvent
18632 {
18633 UINT32 mReferenceID;
18634 UINT16 mCommandLength;
18635
18636 // This array must be the size specified by mCommandLength
18637 // UINT8 mSendUSSDCommand[1];
18638 };
18639
18640 // Structure to describe response TLV 0x4E for CAT2GetEventReport()
18641 struct sCAT2GetEventReportResponse_ProvideLocalInformationEvent
18642 {
18643 UINT32 mReferenceID;
18644 UINT16 mCommandLength;
18645
18646 // This array must be the size specified by mCommandLength
18647 // UINT8 mProvideLocalInformationCommand[1];
18648 };
18649
18650 // Structure to describe response TLV 0x4F for CAT2GetEventReport()
18651 struct sCAT2GetEventReportResponse_SetupEventListRawEvent
18652 {
18653 UINT32 mReferenceID;
18654 UINT16 mCommandLength;
18655
18656 // This array must be the size specified by mCommandLength
18657 // UINT8 mSetupEventListCommand[1];
18658 };
18659
18660 // Structure to describe response TLV 0x50 for CAT2GetEventReport()
18661 struct sCAT2GetEventReportResponse_Slot
18662 {
18663 eQMICATSlot mSlot;
18664 };
18665
18666 // Structure to describe response TLV 0x51 for CAT2GetEventReport()
18667 struct sCAT2GetEventReportResponse_OpenChannelEvent
18668 {
18669 UINT32 mReferenceID;
18670 UINT16 mCommandLength;
18671
18672 // This array must be the size specified by mCommandLength
18673 // UINT8 mOpenChannelCommand[1];
18674 };
18675
18676 // Structure to describe response TLV 0x52 for CAT2GetEventReport()
18677 struct sCAT2GetEventReportResponse_CloseChannelEvent
18678 {
18679 UINT32 mReferenceID;
18680 UINT16 mCommandLength;
18681
18682 // This array must be the size specified by mCommandLength
18683 // UINT8 mCloseChannelCommand[1];
18684 };
18685
18686 // Structure to describe response TLV 0x53 for CAT2GetEventReport()
18687 struct sCAT2GetEventReportResponse_SendDataEvent
18688 {
18689 UINT32 mReferenceID;
18690 UINT16 mCommandLength;
18691
18692 // This array must be the size specified by mCommandLength
18693 // UINT8 mSendDataCommand[1];
18694 };
18695
18696 // Structure to describe response TLV 0x54 for CAT2GetEventReport()
18697 struct sCAT2GetEventReportResponse_ReceiveDataEvent
18698 {
18699 UINT32 mReferenceID;
18700 UINT16 mCommandLength;
18701
18702 // This array must be the size specified by mCommandLength
18703 // UINT8 mReceiveDataCommand[1];
18704 };
18705
18706 // Structure to describe response TLV 0x55 for CAT2GetEventReport()
18707 struct sCAT2GetEventReportResponse_OnDemandLinkEstablish
18708 {
18709 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
18710 };
18711
18712 // Structure to describe response TLV 0x56 for CAT2GetEventReport()
18713 struct sCAT2GetEventReportResponse_CSDBearerDescription
18714 {
18715 UINT8 mSpeed;
18716 eQMICATCSDBearerName mCSDBearerName;
18717 eQMICATConnectionElement mConnectionElement;
18718 };
18719
18720 // Structure to describe response TLV 0x57 for CAT2GetEventReport()
18721 struct sCAT2GetEventReportResponse_GPRSBearerDescription
18722 {
18723 UINT8 mPrecedenceClass;
18724 UINT8 mDelayClass;
18725 UINT8 mReliabilityClass;
18726 UINT8 mPeakThroughput;
18727 UINT8 mMeanThroughput;
18728 eQMICATPacketDataProtocol mPacketDataProtocol;
18729 };
18730
18731 // Structure to describe response TLV 0x58 for CAT2GetEventReport()
18732 struct sCAT2GetEventReportResponse_EUTRANExternalParameterBearerDescription
18733 {
18734 eQMICATTrafficClass mTrafficClass;
18735 UINT16 mMaxUploadBitrate;
18736 UINT16 mMaxDownloadBitrate;
18737 UINT16 mGuaranteedUploadBitrate;
18738 UINT16 mGuaranteedDownloadBitrate;
18739 eQMICATDeliveryOrder mDeliveryOrder;
18740 UINT8 mMaxSDUSize;
18741 UINT8 mMaxSDUErrorRatio;
18742 UINT8 mResidualBitErrorRatio;
18743 eQMICATDeliverErrorSDU mDeliverErrorSDU;
18744 UINT8 mTransferDelay;
18745 UINT8 mTrafficHandlingPRI;
18746 eQMICATPDPType mPDPType;
18747 };
18748
18749 // Structure to describe response TLV 0x59 for CAT2GetEventReport()
18750 struct sCAT2GetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
18751 {
18752 UINT8 mQCI;
18753 UINT8 mMaxUploadBitrate;
18754 UINT8 mMaxDownloadBitrate;
18755 UINT8 mGuaranteedUploadBitrate;
18756 UINT8 mGuaranteedDownloadBitrate;
18757 UINT8 mMaximumUploadBitrateExt;
18758 UINT8 mMaximumDownloadBitrateExt;
18759 UINT8 mGuaranteedUploadBitrateExt;
18760 UINT8 mGuaranteedDownloadBitrateExt;
18761 eQMICATPDPType mPDPType;
18762 };
18763
18764 // Structure to describe response TLV 0x5A for CAT2GetEventReport()
18765 struct sCAT2GetEventReportResponse_BufferSize
18766 {
18767 UINT16 mBufferSize;
18768 };
18769
18770 // Structure to describe response TLV 0x5B for CAT2GetEventReport()
18771 struct sCAT2GetEventReportResponse_NetworkAccessName
18772 {
18773 UINT8 mNetworkAccessNameLength;
18774
18775 // This array must be the size specified by mNetworkAccessNameLength
18776 // UINT8 mNetworkAccessName[1];
18777 };
18778
18779 // Structure to describe response TLV 0x5C for CAT2GetEventReport()
18780 struct sCAT2GetEventReportResponse_OtherAddress
18781 {
18782 eQMICATAddressType mAddressType;
18783 UINT8 mAddressDataLength;
18784
18785 // This array must be the size specified by mAddressDataLength
18786 // char mAddressData[1];
18787 };
18788
18789 // Structure to describe response TLV 0x5D for CAT2GetEventReport()
18790 struct sCAT2GetEventReportResponse_UserLogin
18791 {
18792 eQMICATDataCodingScheme mDataCodingScheme;
18793 UINT8 mTextDataLength;
18794
18795 // This array must be the size specified by mTextDataLength
18796 // UINT8 mTextData[1];
18797 };
18798
18799 // Structure to describe response TLV 0x5E for CAT2GetEventReport()
18800 struct sCAT2GetEventReportResponse_UserPassword
18801 {
18802 eQMICATDataCodingScheme mDataCodingScheme;
18803 UINT8 mTextDataLength;
18804
18805 // This array must be the size specified by mTextDataLength
18806 // UINT8 mTextData[1];
18807 };
18808
18809 // Structure to describe response TLV 0x5F for CAT2GetEventReport()
18810 struct sCAT2GetEventReportResponse_TransportLevel
18811 {
18812 eQMICATTransportProtocol mTransportProtocol;
18813 UINT16 mPortNumber;
18814 };
18815
18816 // Structure to describe response TLV 0x60 for CAT2GetEventReport()
18817 struct sCAT2GetEventReportResponse_DataDestinationAddress
18818 {
18819 eQMICATAddressType mAddressType;
18820 UINT8 mAddressDataLength;
18821
18822 // This array must be the size specified by mAddressDataLength
18823 // char mAddressData[1];
18824 };
18825
18826 // Structure to describe response TLV 0x61 for CAT2GetEventReport()
18827 struct sCAT2GetEventReportResponse_ChannelDataLength
18828 {
18829 UINT8 mChannelDataLength;
18830 };
18831
18832 // Structure to describe response TLV 0x62 for CAT2GetEventReport()
18833 struct sCAT2GetEventReportResponse_SendDataImmediately
18834 {
18835 eQMICATSendDataImmediately mSendDataImmediately;
18836 };
18837
18838 // Structure to describe response TLV 0x63 for CAT2GetEventReport()
18839 struct sCAT2GetEventReportResponse_ChannelData
18840 {
18841 UINT16 mChannelDataLength;
18842
18843 // This array must be the size specified by mChannelDataLength
18844 // UINT8 mChannelData[1];
18845 };
18846
18847 // Structure to describe response TLV 0x64 for CAT2GetEventReport()
18848 struct sCAT2GetEventReportResponse_ChannelID
18849 {
18850 UINT8 mChannelID;
18851 };
18852
18853 // Structure to describe response TLV 0x65 for CAT2GetEventReport()
18854 struct sCAT2GetEventReportResponse_ItemsWithDCS
18855 {
18856 UINT8 mItemsLength;
18857
18858 struct sItem
18859 {
18860 UINT8 mItemID;
18861 eQMICATDataCodingScheme mDataCodingScheme;
18862 UINT8 mItemTextLength;
18863
18864 // This array must be the size specified by mItemTextLength
18865 // UINT8 mItemText[1];
18866 };
18867
18868 // This array must be the size specified by mItemsLength
18869 // sItem mItems[1];
18870 };
18871
18872 // Structure to describe response TLV 0x66 for CAT2GetEventReport()
18873 struct sCAT2GetEventReportResponse_Activate
18874 {
18875 UINT32 mReferenceID;
18876 UINT16 mActivateLength;
18877
18878 // This array must be the size specified by mActivateLength
18879 // UINT8 mActivate[1];
18880 };
18881
18882 // Structure to describe response TLV 0x67 for CAT2GetEventReport()
18883 struct sCAT2GetEventReportResponse_ActivateTarget
18884 {
18885 eQMICATActivateTargets mActivateTarget;
18886 };
18887
18888 // Structure to describe request TLV 0x01 for CAT2SendDecodedTerminalResponse()
18889 struct sCAT2SendDecodedTerminalResponseRequest_TerminalResponse
18890 {
18891 UINT32 mReferenceID;
18892 UINT8 mCommandNumber;
18893 eQMICATResponseCommand mResponseCommand;
18894 UINT8 mGeneralResult;
18895 UINT8 mAdditionalInformationLength;
18896
18897 // This array must be the size specified by mAdditionalInformationLength
18898 // UINT8 mTerminalResponseAdditionalInformation[1];
18899 };
18900
18901 // Structure to describe request TLV 0x10 for CAT2SendDecodedTerminalResponse()
18902 struct sCAT2SendDecodedTerminalResponseRequest_TextString
18903 {
18904 eQMICATDataCodingScheme mDataCodingScheme;
18905 UINT8 mTextDataLength;
18906
18907 // This array must be the size specified by mTextDataLength
18908 // UINT8 mTextData[1];
18909 };
18910
18911 // Structure to describe request TLV 0x11 for CAT2SendDecodedTerminalResponse()
18912 struct sCAT2SendDecodedTerminalResponseRequest_ItemIdentifier
18913 {
18914 UINT8 mItemIdentifier;
18915 };
18916
18917 // Structure to describe request TLV 0x12 for CAT2SendDecodedTerminalResponse()
18918 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyExtraInfo
18919 {
18920 eQMICATTimeUnits mUnits;
18921 UINT8 mInterval;
18922 eQMICATDataCodingScheme mDataCodingScheme;
18923 UINT8 mTextDataLength;
18924
18925 // This array must be the size specified by mTextDataLength
18926 // UINT8 mTextData[1];
18927 };
18928
18929 // Structure to describe request TLV 0x13 for CAT2SendDecodedTerminalResponse()
18930 struct sCAT2SendDecodedTerminalResponseRequest_LanguageInfo
18931 {
18932 char mLanguage[2];
18933 };
18934
18935 // Structure to describe request TLV 0x14 for CAT2SendDecodedTerminalResponse()
18936 struct sCAT2SendDecodedTerminalResponseRequest_Slot
18937 {
18938 eQMICATSlot mSlot;
18939 };
18940
18941 // Structure to describe request TLV 0x15 for CAT2SendDecodedTerminalResponse()
18942 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyYesInput
18943 {
18944 eQMICATTimeUnits mUnits;
18945 UINT8 mInterval;
18946 INT8 mGetInkeyYesInput;
18947 };
18948
18949 // Structure to describe response TLV 0x10 for CAT2SendDecodedTerminal()
18950 struct sCAT2SendDecodedTerminalResponseResponse_TRResponse
18951 {
18952 UINT8 mSW1;
18953 UINT8 mSW2;
18954 UINT8 mTerminalResponseLength;
18955
18956 // This array must be the size specified by mTerminalResponseLength
18957 // UINT8 mTerminalResponseData[1];
18958 };
18959
18960 // Structure to describe request TLV 0x01 for CAT2SendDecodedEnvelopeCommand()
18961 struct sCAT2SendDecodedEnvelopeCommandRequest_EnvelopeCommand
18962 {
18963 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
18964 };
18965
18966 // Structure to describe request TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
18967 struct sCAT2SendDecodedEnvelopeCommandRequest_ItemIdentifier
18968 {
18969 UINT8 mItemIdentifier;
18970 };
18971
18972 // Structure to describe request TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
18973 struct sCAT2SendDecodedEnvelopeCommandRequest_HelpRequest
18974 {
18975 eQMICATHelpRequest mHelpRequest;
18976 };
18977
18978 // Structure to describe request TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
18979 struct sCAT2SendDecodedEnvelopeCommandRequest_Language
18980 {
18981 char mLanguage[2];
18982 };
18983
18984 // Structure to describe request TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
18985 struct sCAT2SendDecodedEnvelopeCommandRequest_Slot
18986 {
18987 eQMICATSlot mSlot;
18988 };
18989
18990 // Structure to describe request TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
18991 struct sCAT2SendDecodedEnvelopeCommandRequest_Address
18992 {
18993 eQMICATAddressTON mAddressTON;
18994 eQMICATAddressNPI mAddressNPI;
18995 UINT8 mAddressDataLength;
18996
18997 // This array must be the size specified by mAddressDataLength
18998 // char mAddressData[1];
18999 };
19000
19001 // Structure to describe request TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
19002 struct sCAT2SendDecodedEnvelopeCommandRequest_Subaddress
19003 {
19004 UINT8 mSubaddressDataLength;
19005
19006 struct sSubaddressData
19007 {
19008 UINT8 mSubaddressData1:4;
19009 UINT8 mSubaddressData2:4;
19010 };
19011
19012 // This array must be the size specified by mSubaddressDataLength
19013 // sSubaddressData mSubaddressDatas[1];
19014 };
19015
19016 // Structure to describe request TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
19017 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
19018 {
19019 UINT8 mCapabilitesConfigurationLength;
19020
19021 // This array must be the size specified by mCapabilitesConfigurationLength
19022 // UINT8 mCapabilitiesConfiguration[1];
19023 };
19024
19025 // Structure to describe request TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
19026 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
19027 {
19028 UINT8 mCapabilitesConfigurationLength;
19029
19030 // This array must be the size specified by mCapabilitesConfigurationLength
19031 // UINT8 mCapabilitiesConfiguration[1];
19032 };
19033
19034 // Structure to describe request TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
19035 struct sCAT2SendDecodedEnvelopeCommandRequest_USSDString
19036 {
19037 eQMICATDataCodingScheme mDataCodingScheme;
19038 UINT8 mTextDataLength;
19039
19040 // This array must be the size specified by mTextDataLength
19041 // UINT8 mTextData[1];
19042 };
19043
19044 // Structure to describe request TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
19045 struct sCAT2SendDecodedEnvelopeCommandRequest_PDPContextActivation
19046 {
19047 UINT8 mPDPContextActivationDataLength;
19048
19049 // This array must be the size specified by mPDPContextActivationDataLength
19050 // UINT8 mPDPContextActivationData[1];
19051 };
19052
19053 // Structure to describe request TLV 0x1A for CAT2SendDecodedEnvelopeCommand()
19054 struct sCAT2SendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
19055 {
19056 UINT8 mEPSPDNConnectActivationDataLength;
19057
19058 // This array must be the size specified by mEPSPDNConnectActivationDataLength
19059 // UINT8 mEPSPDNConnectActivationData[1];
19060 };
19061
19062 // Structure to describe request TLV 0x1B for CAT2SendDecodedEnvelopeCommand()
19063 struct sCAT2SendDecodedEnvelopeCommandRequest_BrowserTerminationCause
19064 {
19065 eQMICATBrowserTerminationCauses mBrowserTerminationCause;
19066 };
19067
19068 // Structure to describe response TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
19069 struct sCAT2SendDecodedEnvelopeCommandResponse_CallControlResult
19070 {
19071 eQMICATCallControlResult mCallControlResult;
19072 };
19073
19074 // Structure to describe response TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
19075 struct sCAT2SendDecodedEnvelopeCommandResponse_Address
19076 {
19077 eQMICATAddressTON mAddressTON;
19078 eQMICATAddressNPI mAddressNPI;
19079 UINT8 mAddressDataLength;
19080
19081 // This array must be the size specified by mAddressDataLength
19082 // char mAddressData[1];
19083 };
19084
19085 // Structure to describe response TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
19086 struct sCAT2SendDecodedEnvelopeCommandResponse_Subaddress
19087 {
19088 UINT8 mSubaddressDataLength;
19089
19090 struct sSubaddressData
19091 {
19092 UINT8 mSubaddressData1:4;
19093 UINT8 mSubaddressData2:4;
19094 };
19095
19096 // This array must be the size specified by mSubaddressDataLength
19097 // sSubaddressData mSubaddressDatas[1];
19098 };
19099
19100 // Structure to describe response TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
19101 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
19102 {
19103 UINT8 mCapabilitesConfigurationLength;
19104
19105 // This array must be the size specified by mCapabilitesConfigurationLength
19106 // UINT8 mCapabilitiesConfiguration[1];
19107 };
19108
19109 // Structure to describe response TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
19110 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
19111 {
19112 UINT8 mCapabilitesConfigurationLength;
19113
19114 // This array must be the size specified by mCapabilitesConfigurationLength
19115 // UINT8 mCapabilitiesConfiguration[1];
19116 };
19117
19118 // Structure to describe response TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
19119 struct sCAT2SendDecodedEnvelopeCommandResponse_USSDString
19120 {
19121 eQMICATDataCodingScheme mDataCodingScheme;
19122 UINT8 mTextDataLength;
19123
19124 // This array must be the size specified by mTextDataLength
19125 // UINT8 mTextData[1];
19126 };
19127
19128 // Structure to describe response TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
19129 struct sCAT2SendDecodedEnvelopeCommandResponse_PDPContextActivation
19130 {
19131 UINT8 mPDPContextActivationDataLength;
19132
19133 // This array must be the size specified by mPDPContextActivationDataLength
19134 // UINT8 mPDPContextActivationData[1];
19135 };
19136
19137 // Structure to describe response TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
19138 struct sCAT2SendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
19139 {
19140 UINT8 mEPSPDNConnectActivationDataLength;
19141
19142 // This array must be the size specified by mEPSPDNConnectActivationDataLength
19143 // UINT8 mEPSPDNConnectActivationData[1];
19144 };
19145
19146 // Structure to describe response TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
19147 struct sCAT2SendDecodedEnvelopeCommandResponse_Alpha
19148 {
19149 eQMICATDataCodingScheme mDataCodingScheme;
19150 UINT8 mTextDataLength;
19151
19152 // This array must be the size specified by mTextDataLength
19153 // UINT8 mTextData[1];
19154 };
19155
19156 // Structure to describe response TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
19157 struct sCAT2SendDecodedEnvelopeCommandResponse_BCRepeatIndicator
19158 {
19159 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
19160 };
19161
19162 // Structure to describe request TLV 0x10 for CAT2EventConfirmation()
19163 struct sCAT2EventConfirmationRequest_UserConfirmed
19164 {
19165 eQMICATUserConfirmed mUserConfirmed;
19166 };
19167
19168 // Structure to describe request TLV 0x11 for CAT2EventConfirmation()
19169 struct sCAT2EventConfirmationRequest_IconIsDisplayed
19170 {
19171 eQMICATIconIsDisplayed mIconIsDisplayed;
19172 };
19173
19174 // Structure to describe request TLV 0x12 for CAT2EventConfirmation()
19175 struct sCAT2EventConfirmationRequest_Slot
19176 {
19177 eQMICATSlot mSlot;
19178 };
19179
19180 // Structure to describe request TLV 0x01 for CAT2SCWSOpenChannel()
19181 struct sCAT2SCWSOpenChannelRequest_ChannelStatus
19182 {
19183 UINT32 mChannelID;
19184 eQMICATChannelState mChannelState;
19185 };
19186
19187 // Structure to describe request TLV 0x10 for CAT2SCWSOpenChannel()
19188 struct sCAT2SCWSOpenChannelRequest_Slot
19189 {
19190 eQMICATSlot mSlot;
19191 };
19192
19193 // Structure to describe indication TLV 0x10 for CAT2 SCWSOpenChannelIndication
19194 struct sCAT2SCWSOpenChannelIndication_OpenChannelInformation
19195 {
19196 UINT32 mChannelID;
19197 UINT16 mPortNumber;
19198 UINT16 mBufferSize;
19199 };
19200
19201 // Structure to describe indication TLV 0x11 for CAT2 SCWSOpenChannelIndication
19202 struct sCAT2SCWSOpenChannelIndication_Slot
19203 {
19204 eQMICATSlot mSlot;
19205 };
19206
19207 // Structure to describe request TLV 0x01 for CAT2SCWSCloseChannel()
19208 struct sCAT2SCWSCloseChannelRequest_ChannelStatus
19209 {
19210 UINT32 mChannelID;
19211 eQMICATChannelState mChannelState;
19212 };
19213
19214 // Structure to describe request TLV 0x10 for CAT2SCWSCloseChannel()
19215 struct sCAT2SCWSCloseChannelRequest_Slot
19216 {
19217 eQMICATSlot mSlot;
19218 };
19219
19220 // Structure to describe indication TLV 0x10 for CAT2 SCWSCloseChannelIndication
19221 struct sCAT2SCWSCloseChannelIndication_CloseChannelInfo
19222 {
19223 UINT32 mChannelID;
19224 eQMICATChannelState mChannelState;
19225 };
19226
19227 // Structure to describe response TLV 0x11 for CAT2SCWSCloseChannel()
19228 struct sCAT2SCWSCloseChannelResponse_Slot
19229 {
19230 eQMICATSlot mSlot;
19231 };
19232
19233 // Structure to describe request TLV 0x01 for CAT2SCWSSendData()
19234 struct sCAT2SCWSSendDataRequest_ChannelStatus
19235 {
19236 UINT32 mChannelID;
19237 eQMICATSendDataResult mDataSendResult;
19238 };
19239
19240 // Structure to describe request TLV 0x10 for CAT2SCWSSendData()
19241 struct sCAT2SCWSSendDataRequest_Slot
19242 {
19243 eQMICATSlot mSlot;
19244 };
19245
19246 // Structure to describe indication TLV 0x10 for CAT2 SCWSSendDataIndication
19247 struct sCAT2SCWSSendDataIndication_SendDataInfo
19248 {
19249 UINT32 mChannelID;
19250 UINT8 mTotalPackets;
19251 UINT8 mCurrentPacket;
19252 UINT16 mDataLength;
19253
19254 // This array must be the size specified by mDataLength
19255 // UINT8 mData[1];
19256 };
19257
19258 // Structure to describe indication TLV 0x11 for CAT2 SCWSSendDataIndication
19259 struct sCAT2SCWSSendDataIndication_Slot
19260 {
19261 eQMICATSlot mSlot;
19262 };
19263
19264 // Structure to describe request TLV 0x01 for CAT2SCWSDataAvailable()
19265 struct sCAT2SCWSDataAvailableRequest_RemainingData
19266 {
19267 UINT32 mChannelID;
19268 UINT16 mDataLength;
19269
19270 // This array must be the size specified by mDataLength
19271 // UINT8 mData[1];
19272 };
19273
19274 // Structure to describe request TLV 0x10 for CAT2SCWSDataAvailable()
19275 struct sCAT2SCWSDataAvailableRequest_Slot
19276 {
19277 eQMICATSlot mSlot;
19278 };
19279
19280 // Structure to describe request TLV 0x01 for CAT2SCWSChannelStatus()
19281 struct sCAT2SCWSChannelStatusRequest_ChannelStatus
19282 {
19283 UINT32 mChannelID;
19284 eQMICATChannelState mChannelState;
19285 };
19286
19287 // Structure to describe request TLV 0x10 for CAT2SCWSChannelStatus()
19288 struct sCAT2SCWSChannelStatusRequest_Slot
19289 {
19290 eQMICATSlot mSlot;
19291 };
19292
19293 // Structure to describe request TLV 0x10 for CAT2GetTerminalProfile()
19294 struct sCAT2GetTerminalProfileRequest_Slot
19295 {
19296 eQMICATSlot mSlot;
19297 };
19298
19299 // Structure to describe response TLV 0x10 for CAT2GetTerminalProfile()
19300 struct sCAT2GetTerminalProfileResponse_RawData
19301 {
19302 UINT8 mTerminalProfileLength;
19303
19304 // This array must be the size specified by mTerminalProfileLength
19305 // UINT8 mTerminalProfileData[1];
19306 };
19307
19308 // Structure to describe request TLV 0x01 for CAT2SetConfiguration()
19309 struct sCAT2SetConfigurationRequest_Mode
19310 {
19311 eQMICATConfigModes mConfigMode;
19312 };
19313
19314 // Structure to describe request TLV 0x10 for CAT2SetConfiguration()
19315 struct sCAT2SetConfigurationRequest_CustomData
19316 {
19317 UINT8 mTerminalProfileLength;
19318
19319 // This array must be the size specified by mTerminalProfileLength
19320 // UINT8 mTerminalProfileData[1];
19321 };
19322
19323 // Structure to describe response TLV 0x10 for CAT2GetConfiguration()
19324 struct sCAT2GetConfigurationResponse_Mode
19325 {
19326 eQMICATConfigModes mConfigMode;
19327 };
19328
19329 // Structure to describe response TLV 0x11 for CAT2GetConfiguration()
19330 struct sCAT2GetConfigurationResponse_CustomData
19331 {
19332 UINT8 mTerminalProfileLength;
19333
19334 // This array must be the size specified by mTerminalProfileLength
19335 // UINT8 mTerminalProfileData[1];
19336 };
19337
19338 // Structure to describe request TLV 0x01 for UIMReadTransparent()
19339 struct sUIMReadTransparentRequest_SessionInfo
19340 {
19341 eQMIUIMSessionTypes mSessionType;
19342 UINT8 mAIDLength;
19343
19344 // This array must be the size specified by mAIDLength
19345 // UINT8 mAID[1];
19346 };
19347
19348 // Structure to describe request TLV 0x03 for UIMReadTransparent()
19349 struct sUIMReadTransparentRequest_Buffer
19350 {
19351 UINT16 mOffset;
19352 UINT16 mLength;
19353 };
19354
19355 // Structure to describe request TLV 0x10 for UIMReadTransparent()
19356 struct sUIMReadTransparentRequest_ResponseInIndication
19357 {
19358 UINT32 mIndicationToken;
19359 };
19360
19361 // Structure to describe request TLV 0x11 for UIMReadTransparent()
19362 struct sUIMReadTransparentRequest_Encryption
19363 {
19364 INT8 mDataEncrypted;
19365 };
19366
19367 // Structure to describe response TLV 0x10 for UIMReadTransparent()
19368 struct sUIMReadTransparentResponse_CardResult
19369 {
19370 UINT8 mSW1;
19371 UINT8 mSW2;
19372 };
19373
19374 // Structure to describe response TLV 0x11 for UIMReadTransparent()
19375 struct sUIMReadTransparentResponse_ReadResult
19376 {
19377 UINT16 mContentLength;
19378
19379 // This array must be the size specified by mContentLength
19380 // UINT8 mContent[1];
19381 };
19382
19383 // Structure to describe response TLV 0x12 for UIMReadTransparent()
19384 struct sUIMReadTransparentResponse_ResponseInIndication
19385 {
19386 UINT32 mIndicationToken;
19387 };
19388
19389 // Structure to describe response TLV 0x13 for UIMReadTransparent()
19390 struct sUIMReadTransparentResponse_Encryption
19391 {
19392 INT8 mDataEncrypted;
19393 };
19394
19395 // Structure to describe response TLV 0x14 for UIMReadTransparent()
19396 struct sUIMReadTransparentResponse_RequestedLength
19397 {
19398 UINT16 mFileLength;
19399 };
19400
19401 // Structure to describe indication TLV 0x01 for UIM ReadTransparentIndication
19402 struct sUIMReadTransparentIndication_OriginalToken
19403 {
19404 UINT32 mIndicationToken;
19405 };
19406
19407 // Structure to describe indication TLV 0x10 for UIM ReadTransparentIndication
19408 struct sUIMReadTransparentIndication_CardResult
19409 {
19410 UINT8 mSW1;
19411 UINT8 mSW2;
19412 };
19413
19414 // Structure to describe indication TLV 0x11 for UIM ReadTransparentIndication
19415 struct sUIMReadTransparentIndication_ReadResult
19416 {
19417 UINT16 mContentLength;
19418
19419 // This array must be the size specified by mContentLength
19420 // UINT8 mContent[1];
19421 };
19422
19423 // Structure to describe indication TLV 0x12 for UIM ReadTransparentIndication
19424 struct sUIMReadTransparentIndication_Encryption
19425 {
19426 INT8 mDataEncrypted;
19427 };
19428
19429 // Structure to describe indication TLV 0x13 for UIM ReadTransparentIndication
19430 struct sUIMReadTransparentIndication_RequestedLength
19431 {
19432 UINT16 mFileLength;
19433 };
19434
19435 // Structure to describe request TLV 0x01 for UIMReadRecord()
19436 struct sUIMReadRecordRequest_SessionInfo
19437 {
19438 eQMIUIMSessionTypes mSessionType;
19439 UINT8 mAIDLength;
19440
19441 // This array must be the size specified by mAIDLength
19442 // UINT8 mAID[1];
19443 };
19444
19445 // Structure to describe request TLV 0x03 for UIMReadRecord()
19446 struct sUIMReadRecordRequest_Record
19447 {
19448 UINT16 mRecordNumber;
19449 UINT16 mContentLength;
19450 };
19451
19452 // Structure to describe request TLV 0x10 for UIMReadRecord()
19453 struct sUIMReadRecordRequest_LastRecord
19454 {
19455 UINT16 mRecordNumber;
19456 };
19457
19458 // Structure to describe request TLV 0x11 for UIMReadRecord()
19459 struct sUIMReadRecordRequest_ResponseInIndication
19460 {
19461 UINT32 mIndicationToken;
19462 };
19463
19464 // Structure to describe response TLV 0x10 for UIMReadRecord()
19465 struct sUIMReadRecordResponse_CardResult
19466 {
19467 UINT8 mSW1;
19468 UINT8 mSW2;
19469 };
19470
19471 // Structure to describe response TLV 0x11 for UIMReadRecord()
19472 struct sUIMReadRecordResponse_ReadResult
19473 {
19474 UINT16 mContentLength;
19475
19476 // This array must be the size specified by mContentLength
19477 // UINT8 mContent[1];
19478 };
19479
19480 // Structure to describe response TLV 0x12 for UIMReadRecord()
19481 struct sUIMReadRecordResponse_AdditionalReadResult
19482 {
19483 UINT16 mContentLength;
19484
19485 struct sRecord
19486 {
19487 // This array must be the size specified by mContentLength
19488 // UINT8 mContent[1];
19489 };
19490
19491 // This array is variable length based on the size of the container
19492 // sRecord mRecords[1];
19493 };
19494
19495 // Structure to describe response TLV 0x13 for UIMReadRecord()
19496 struct sUIMReadRecordResponse_ResponseInIndication
19497 {
19498 UINT32 mIndicationToken;
19499 };
19500
19501 // Structure to describe indication TLV 0x01 for UIM ReadRecordIndication
19502 struct sUIMReadRecordIndication_OriginalToken
19503 {
19504 UINT32 mIndicationToken;
19505 };
19506
19507 // Structure to describe indication TLV 0x10 for UIM ReadRecordIndication
19508 struct sUIMReadRecordIndication_CardResult
19509 {
19510 UINT8 mSW1;
19511 UINT8 mSW2;
19512 };
19513
19514 // Structure to describe indication TLV 0x11 for UIM ReadRecordIndication
19515 struct sUIMReadRecordIndication_ReadResult
19516 {
19517 UINT16 mContentLength;
19518
19519 // This array must be the size specified by mContentLength
19520 // UINT8 mContent[1];
19521 };
19522
19523 // Structure to describe indication TLV 0x12 for UIM ReadRecordIndication
19524 struct sUIMReadRecordIndication_AdditionalReadResult
19525 {
19526 UINT16 mContentLength;
19527
19528 struct sRecord
19529 {
19530 // This array must be the size specified by mContentLength
19531 // UINT8 mContent[1];
19532 };
19533
19534 // This array is variable length based on the size of the container
19535 // sRecord mRecords[1];
19536 };
19537
19538 // Structure to describe request TLV 0x01 for UIMWriteTransparent()
19539 struct sUIMWriteTransparentRequest_SessionInfo
19540 {
19541 eQMIUIMSessionTypes mSessionType;
19542 UINT8 mAIDLength;
19543
19544 // This array must be the size specified by mAIDLength
19545 // UINT8 mAID[1];
19546 };
19547
19548 // Structure to describe request TLV 0x03 for UIMWriteTransparent()
19549 struct sUIMWriteTransparentRequest_Buffer
19550 {
19551 UINT16 mOffset;
19552 UINT16 mContentLength;
19553
19554 // This array must be the size specified by mContentLength
19555 // UINT8 mContent[1];
19556 };
19557
19558 // Structure to describe request TLV 0x10 for UIMWriteTransparent()
19559 struct sUIMWriteTransparentRequest_ResponseInIndicaiton
19560 {
19561 UINT32 mIndicationToken;
19562 };
19563
19564 // Structure to describe response TLV 0x10 for UIMWriteTransparent()
19565 struct sUIMWriteTransparentResponse_CardResult
19566 {
19567 UINT8 mSW1;
19568 UINT8 mSW2;
19569 };
19570
19571 // Structure to describe response TLV 0x11 for UIMWriteTransparent()
19572 struct sUIMWriteTransparentResponse_ResponseInIndication
19573 {
19574 UINT32 mIndicationToken;
19575 };
19576
19577 // Structure to describe indication TLV 0x01 for UIM WriteTransparentIndication
19578 struct sUIMWriteTransparentIndication_OriginalToken
19579 {
19580 UINT32 mIndicationToken;
19581 };
19582
19583 // Structure to describe indication TLV 0x10 for UIM WriteTransparentIndication
19584 struct sUIMWriteTransparentIndication_CardResult
19585 {
19586 UINT8 mSW1;
19587 UINT8 mSW2;
19588 };
19589
19590 // Structure to describe request TLV 0x01 for UIMWriteRecord()
19591 struct sUIMWriteRecordRequest_SessionInfo
19592 {
19593 eQMIUIMSessionTypes mSessionType;
19594 UINT8 mAIDLength;
19595
19596 // This array must be the size specified by mAIDLength
19597 // UINT8 mAID[1];
19598 };
19599
19600 // Structure to describe request TLV 0x03 for UIMWriteRecord()
19601 struct sUIMWriteRecordRequest_Record
19602 {
19603 UINT16 mRecordNumber;
19604 UINT16 mContentLength;
19605
19606 // This array must be the size specified by mContentLength
19607 // UINT8 mContent[1];
19608 };
19609
19610 // Structure to describe request TLV 0x10 for UIMWriteRecord()
19611 struct sUIMWriteRecordRequest_ResponseInIndication
19612 {
19613 UINT32 mIndicationToken;
19614 };
19615
19616 // Structure to describe response TLV 0x10 for UIMWriteRecord()
19617 struct sUIMWriteRecordResponse_CardResult
19618 {
19619 UINT8 mSW1;
19620 UINT8 mSW2;
19621 };
19622
19623 // Structure to describe response TLV 0x11 for UIMWriteRecord()
19624 struct sUIMWriteRecordResponse_ResponseInIndication
19625 {
19626 UINT32 mIndicationToken;
19627 };
19628
19629 // Structure to describe indication TLV 0x01 for UIM WriteRecordIndication
19630 struct sUIMWriteRecordIndication_OriginalToken
19631 {
19632 UINT32 mIndicationToken;
19633 };
19634
19635 // Structure to describe indication TLV 0x10 for UIM WriteRecordIndication
19636 struct sUIMWriteRecordIndication_CardResult
19637 {
19638 UINT8 mSW1;
19639 UINT8 mSW2;
19640 };
19641
19642 // Structure to describe request TLV 0x01 for UIMGetFileAttributes()
19643 struct sUIMGetFileAttributesRequest_SessionInfo
19644 {
19645 eQMIUIMSessionTypes mSessionType;
19646 UINT8 mAIDLength;
19647
19648 // This array must be the size specified by mAIDLength
19649 // UINT8 mAID[1];
19650 };
19651
19652 // Structure to describe request TLV 0x10 for UIMGetFileAttributes()
19653 struct sUIMGetFileAttributesRequest_ResponseInIndication
19654 {
19655 UINT32 mIndicationToken;
19656 };
19657
19658 // Structure to describe response TLV 0x10 for UIMGetFileAttributes()
19659 struct sUIMGetFileAttributesResponse_CardResult
19660 {
19661 UINT8 mSW1;
19662 UINT8 mSW2;
19663 };
19664
19665 // Structure to describe response TLV 0x11 for UIMGetFileAttributes()
19666 struct sUIMGetFileAttributesResponse_Attributes
19667 {
19668 UINT16 mFileSize;
19669 UINT16 mFileID;
19670 eQMIUIMFileTypes mFileType;
19671 UINT16 mRecordSize;
19672 UINT16 mRecordCount;
19673 eQMIUIMSecurityAttributes mReadSecurityAttributes;
19674 bool mReadPIN1:1;
19675 bool mReadPIN2:1;
19676 bool mReadUPIN:1;
19677 bool mReadADM:1;
19678
19679 // Padding out 4 bits
19680 UINT8 mReserved1:4;
19681
19682 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
19683 bool mWritePIN1:1;
19684 bool mWritePIN2:1;
19685 bool mWriteUPIN:1;
19686 bool mWriteADM:1;
19687
19688 // Padding out 4 bits
19689 UINT8 mReserved2:4;
19690
19691 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
19692 bool mIncreasePIN1:1;
19693 bool mIncreasePIN2:1;
19694 bool mIncreaseUPIN:1;
19695 bool mIncreaseADM:1;
19696
19697 // Padding out 4 bits
19698 UINT8 mReserved3:4;
19699
19700 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
19701 bool mDeactivatePIN1:1;
19702 bool mDeactivatePIN2:1;
19703 bool mDeactivateUPIN:1;
19704 bool mDeactivateADM:1;
19705
19706 // Padding out 4 bits
19707 UINT8 mReserved4:4;
19708
19709 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
19710 bool mActivatePIN1:1;
19711 bool mActivatePIN2:1;
19712 bool mActivateUPIN:1;
19713 bool mActivateADM:1;
19714
19715 // Padding out 4 bits
19716 UINT8 mReserved5:4;
19717
19718 UINT16 mValueLength;
19719
19720 // This array must be the size specified by mValueLength
19721 // UINT8 mValue[1];
19722 };
19723
19724 // Structure to describe response TLV 0x12 for UIMGetFileAttributes()
19725 struct sUIMGetFileAttributesResponse_ResponseInIndication
19726 {
19727 UINT32 mIndicationToken;
19728 };
19729
19730 // Structure to describe indication TLV 0x01 for UIM GetFileAttributesIndication
19731 struct sUIMGetFileAttributesIndication_OriginalToken
19732 {
19733 UINT32 mIndicationToken;
19734 };
19735
19736 // Structure to describe indication TLV 0x10 for UIM GetFileAttributesIndication
19737 struct sUIMGetFileAttributesIndication_CardResult
19738 {
19739 UINT8 mSW1;
19740 UINT8 mSW2;
19741 };
19742
19743 // Structure to describe indication TLV 0x11 for UIM GetFileAttributesIndication
19744 struct sUIMGetFileAttributesIndication_FileAttributes
19745 {
19746 UINT16 mFileSize;
19747 UINT16 mFileID;
19748 eQMIUIMFileTypes mFileType;
19749 UINT16 mRecordSize;
19750 UINT16 mRecordCount;
19751 eQMIUIMSecurityAttributes mReadSecurityAttributes;
19752 bool mReadPIN1:1;
19753 bool mReadPIN2:1;
19754 bool mReadUPIN:1;
19755 bool mReadADM:1;
19756
19757 // Padding out 4 bits
19758 UINT8 mReserved1:4;
19759
19760 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
19761 bool mWritePIN1:1;
19762 bool mWritePIN2:1;
19763 bool mWriteUPIN:1;
19764 bool mWriteADM:1;
19765
19766 // Padding out 4 bits
19767 UINT8 mReserved2:4;
19768
19769 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
19770 bool mIncreasePIN1:1;
19771 bool mIncreasePIN2:1;
19772 bool mIncreaseUPIN:1;
19773 bool mIncreaseADM:1;
19774
19775 // Padding out 4 bits
19776 UINT8 mReserved3:4;
19777
19778 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
19779 bool mDeactivatePIN1:1;
19780 bool mDeactivatePIN2:1;
19781 bool mDeactivateUPIN:1;
19782 bool mDeactivateADM:1;
19783
19784 // Padding out 4 bits
19785 UINT8 mReserved4:4;
19786
19787 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
19788 bool mActivatePIN1:1;
19789 bool mActivatePIN2:1;
19790 bool mActivateUPIN:1;
19791 bool mActivateADM:1;
19792
19793 // Padding out 4 bits
19794 UINT8 mReserved5:4;
19795
19796 UINT16 mValueLength;
19797
19798 // This array must be the size specified by mValueLength
19799 // UINT8 mValue[1];
19800 };
19801
19802 // Structure to describe request TLV 0x01 for UIMSetPINProtection()
19803 struct sUIMSetPINProtectionRequest_SessionInfo
19804 {
19805 eQMIUIMSessionTypes mSessionType;
19806 UINT8 mAIDLength;
19807
19808 // This array must be the size specified by mAIDLength
19809 // UINT8 mAID[1];
19810 };
19811
19812 // Structure to describe request TLV 0x10 for UIMSetPINProtection()
19813 struct sUIMSetPINProtectionRequest_KeyReferenceID
19814 {
19815 eQMIUIMKeyReferenceID mKeyReferenceID;
19816 };
19817
19818 // Structure to describe request TLV 0x11 for UIMSetPINProtection()
19819 struct sUIMSetPINProtectionRequest_ResponseInIndication
19820 {
19821 UINT32 mIndicationToken;
19822 };
19823
19824 // Structure to describe response TLV 0x10 for UIMSetPINProtection()
19825 struct sUIMSetPINProtectionResponse_Retries
19826 {
19827 UINT8 mRemainingVerifyRetries;
19828 UINT8 mRemainingUnblockRetries;
19829 };
19830
19831 // Structure to describe response TLV 0x11 for UIMSetPINProtection()
19832 struct sUIMSetPINProtectionResponse_EncryptedPIN1
19833 {
19834 UINT8 mPINLength;
19835
19836 // This array must be the size specified by mPINLength
19837 // UINT8 mValue[1];
19838 };
19839
19840 // Structure to describe response TLV 0x12 for UIMSetPINProtection()
19841 struct sUIMSetPINProtectionResponse_ResponseInIndication
19842 {
19843 UINT32 mIndicationToken;
19844 };
19845
19846 // Structure to describe indication TLV 0x01 for UIM SetPINProtectionIndication
19847 struct sUIMSetPINProtectionIndication_OriginalToken
19848 {
19849 UINT32 mIndicationToken;
19850 };
19851
19852 // Structure to describe indication TLV 0x10 for UIM SetPINProtectionIndication
19853 struct sUIMSetPINProtectionIndication_Retries
19854 {
19855 UINT8 mRemainingVerifyRetries;
19856 UINT8 mRemainingUnblockRetries;
19857 };
19858
19859 // Structure to describe indication TLV 0x11 for UIM SetPINProtectionIndication
19860 struct sUIMSetPINProtectionIndication_EncryptedPIN1
19861 {
19862 UINT8 mPINLength;
19863
19864 // This array must be the size specified by mPINLength
19865 // UINT8 mValue[1];
19866 };
19867
19868 // Structure to describe request TLV 0x01 for UIMVerifyPIN()
19869 struct sUIMVerifyPINRequest_SessionInfo
19870 {
19871 eQMIUIMSessionTypes mSessionType;
19872 UINT8 mAIDLength;
19873
19874 // This array must be the size specified by mAIDLength
19875 // UINT8 mAID[1];
19876 };
19877
19878 // Structure to describe request TLV 0x10 for UIMVerifyPIN()
19879 struct sUIMVerifyPINRequest_EncryptedPIN1
19880 {
19881 UINT8 mPINLength;
19882
19883 // This array must be the size specified by mPINLength
19884 // UINT8 mValue[1];
19885 };
19886
19887 // Structure to describe request TLV 0x11 for UIMVerifyPIN()
19888 struct sUIMVerifyPINRequest_KeyReferenceID
19889 {
19890 eQMIUIMKeyReferenceID mKeyReferenceID;
19891 };
19892
19893 // Structure to describe request TLV 0x12 for UIMVerifyPIN()
19894 struct sUIMVerifyPINRequest_ResponseInIndication
19895 {
19896 UINT32 mIndicationToken;
19897 };
19898
19899 // Structure to describe response TLV 0x10 for UIMVerifyPIN()
19900 struct sUIMVerifyPINResponse_Retries
19901 {
19902 UINT8 mRemainingVerifyRetries;
19903 UINT8 mRemainingUnblockRetries;
19904 };
19905
19906 // Structure to describe response TLV 0x11 for UIMVerifyPIN()
19907 struct sUIMVerifyPINResponse_EncryptedPIN1
19908 {
19909 UINT8 mPINLength;
19910
19911 // This array must be the size specified by mPINLength
19912 // UINT8 mValue[1];
19913 };
19914
19915 // Structure to describe response TLV 0x12 for UIMVerifyPIN()
19916 struct sUIMVerifyPINResponse_ResponseInIndication
19917 {
19918 UINT32 mIndicationToken;
19919 };
19920
19921 // Structure to describe indication TLV 0x01 for UIM VerifyPINIndication
19922 struct sUIMVerifyPINIndication_OriginalToken
19923 {
19924 UINT32 mIndicationToken;
19925 };
19926
19927 // Structure to describe indication TLV 0x10 for UIM VerifyPINIndication
19928 struct sUIMVerifyPINIndication_Retries
19929 {
19930 UINT8 mRemainingVerifyRetries;
19931 UINT8 mRemainingUnblockRetries;
19932 };
19933
19934 // Structure to describe indication TLV 0x11 for UIM VerifyPINIndication
19935 struct sUIMVerifyPINIndication_EncryptedPIN1
19936 {
19937 UINT8 mPINLength;
19938
19939 // This array must be the size specified by mPINLength
19940 // UINT8 mValue[1];
19941 };
19942
19943 // Structure to describe request TLV 0x01 for UIMUnblockPIN()
19944 struct sUIMUnblockPINRequest_SessionInfo
19945 {
19946 eQMIUIMSessionTypes mSessionType;
19947 UINT8 mAIDLength;
19948
19949 // This array must be the size specified by mAIDLength
19950 // UINT8 mAID[1];
19951 };
19952
19953 // Structure to describe request TLV 0x10 for UIMUnblockPIN()
19954 struct sUIMUnblockPINRequest_KeyReferenceID
19955 {
19956 eQMIUIMKeyReferenceID mKeyReferenceID;
19957 };
19958
19959 // Structure to describe request TLV 0x11 for UIMUnblockPIN()
19960 struct sUIMUnblockPINRequest_ResponseInIndication
19961 {
19962 UINT32 mIndicationToken;
19963 };
19964
19965 // Structure to describe response TLV 0x10 for UIMUnblockPIN()
19966 struct sUIMUnblockPINResponse_Retries
19967 {
19968 UINT8 mRemainingVerifyRetries;
19969 UINT8 mRemainingUnblockRetries;
19970 };
19971
19972 // Structure to describe response TLV 0x11 for UIMUnblockPIN()
19973 struct sUIMUnblockPINResponse_EncryptedPIN1
19974 {
19975 UINT8 mPINLength;
19976
19977 // This array must be the size specified by mPINLength
19978 // UINT8 mValue[1];
19979 };
19980
19981 // Structure to describe response TLV 0x12 for UIMUnblockPIN()
19982 struct sUIMUnblockPINResponse_ResponseInIndication
19983 {
19984 UINT32 mIndicationToken;
19985 };
19986
19987 // Structure to describe indication TLV 0x01 for UIM UnblockPINIndication
19988 struct sUIMUnblockPINIndication_OriginalToken
19989 {
19990 UINT32 mIndicationToken;
19991 };
19992
19993 // Structure to describe indication TLV 0x10 for UIM UnblockPINIndication
19994 struct sUIMUnblockPINIndication_Retries
19995 {
19996 UINT8 mRemainingVerifyRetries;
19997 UINT8 mRemainingUnblockRetries;
19998 };
19999
20000 // Structure to describe indication TLV 0x11 for UIM UnblockPINIndication
20001 struct sUIMUnblockPINIndication_EncryptedPIN1
20002 {
20003 UINT8 mPINLength;
20004
20005 // This array must be the size specified by mPINLength
20006 // UINT8 mValue[1];
20007 };
20008
20009 // Structure to describe request TLV 0x01 for UIMChangePIN()
20010 struct sUIMChangePINRequest_SessionInfo
20011 {
20012 eQMIUIMSessionTypes mSessionType;
20013 UINT8 mAIDLength;
20014
20015 // This array must be the size specified by mAIDLength
20016 // UINT8 mAID[1];
20017 };
20018
20019 // Structure to describe request TLV 0x10 for UIMChangePIN()
20020 struct sUIMChangePINRequest_KeyReferenceID
20021 {
20022 eQMIUIMKeyReferenceID mKeyReferenceID;
20023 };
20024
20025 // Structure to describe request TLV 0x11 for UIMChangePIN()
20026 struct sUIMChangePINRequest_ResponseInIndication
20027 {
20028 UINT32 mIndicationToken;
20029 };
20030
20031 // Structure to describe response TLV 0x10 for UIMChangePIN()
20032 struct sUIMChangePINResponse_Retries
20033 {
20034 UINT8 mRemainingVerifyRetries;
20035 UINT8 mRemainingUnblockRetries;
20036 };
20037
20038 // Structure to describe response TLV 0x11 for UIMChangePIN()
20039 struct sUIMChangePINResponse_EncryptedPIN1
20040 {
20041 UINT8 mPINLength;
20042
20043 // This array must be the size specified by mPINLength
20044 // UINT8 mValue[1];
20045 };
20046
20047 // Structure to describe response TLV 0x12 for UIMChangePIN()
20048 struct sUIMChangePINResponse_ResponseInIndication
20049 {
20050 UINT32 mIndicationToken;
20051 };
20052
20053 // Structure to describe indication TLV 0x01 for UIM ChangePINIndication
20054 struct sUIMChangePINIndication_OriginalToken
20055 {
20056 UINT32 mIndicationToken;
20057 };
20058
20059 // Structure to describe indication TLV 0x10 for UIM ChangePINIndication
20060 struct sUIMChangePINIndication_Retries
20061 {
20062 UINT8 mRemainingVerifyRetries;
20063 UINT8 mRemainingUnblockRetries;
20064 };
20065
20066 // Structure to describe indication TLV 0x11 for UIM ChangePINIndication
20067 struct sUIMChangePINIndication_EncryptedPIN1
20068 {
20069 UINT8 mPINLength;
20070
20071 // This array must be the size specified by mPINLength
20072 // UINT8 mValue[1];
20073 };
20074
20075 // Structure to describe request TLV 0x01 for UIMDepersonalization()
20076 struct sUIMDepersonalizationRequest_Info
20077 {
20078 eQMIUIMPersonalizationFeatures mFeature;
20079 eQMIUIMCKSessionOperations mOperation;
20080 UINT8 mCKLength;
20081
20082 // This array must be the size specified by mCKLength
20083 // char mCKValue[1];
20084 };
20085
20086 // Structure to describe response TLV 0x10 for UIMDepersonalization()
20087 struct sUIMDepersonalizationResponse_Retries
20088 {
20089 UINT8 mRemainingVerifyRetries;
20090 UINT8 mRemainingUnblockRetries;
20091 };
20092
20093 // Structure to describe request TLV 0x01 for UIMRefreshRegister()
20094 struct sUIMRefreshRegisterRequest_SessionInfo
20095 {
20096 eQMIUIMSessionTypes mSessionType;
20097 UINT8 mAIDLength;
20098
20099 // This array must be the size specified by mAIDLength
20100 // UINT8 mAID[1];
20101 };
20102
20103 // Structure to describe request TLV 0x01 for UIMRefreshOK()
20104 struct sUIMRefreshOKRequest_SessionInfo
20105 {
20106 eQMIUIMSessionTypes mSessionType;
20107 UINT8 mAIDLength;
20108
20109 // This array must be the size specified by mAIDLength
20110 // UINT8 mAID[1];
20111 };
20112
20113 // Structure to describe request TLV 0x01 for UIMRefreshComplete()
20114 struct sUIMRefreshCompleteRequest_SessionInfo
20115 {
20116 eQMIUIMSessionTypes mSessionType;
20117 UINT8 mAIDLength;
20118
20119 // This array must be the size specified by mAIDLength
20120 // UINT8 mAID[1];
20121 };
20122
20123 // Structure to describe request TLV 0x01 for UIMGetLastRefreshEvent()
20124 struct sUIMGetLastRefreshEventRequest_SessionInfo
20125 {
20126 eQMIUIMSessionTypes mSessionType;
20127 UINT8 mAIDLength;
20128
20129 // This array must be the size specified by mAIDLength
20130 // UINT8 mAID[1];
20131 };
20132
20133 // Structure to describe response TLV 0x10 for UIMGetLastRefreshEvent()
20134 struct sUIMGetLastRefreshEventResponse_RefreshEvent1
20135 {
20136 eQMIUIMRefreshStages mStage;
20137 eQMIUIMRefreshModes mMode;
20138 eQMIUIMSessionTypes mSessionType;
20139 UINT8 mAIDLength;
20140
20141 // This array must be the size specified by mAIDLength
20142 // UINT8 mAID[1];
20143 };
20144
20145 struct sUIMGetLastRefreshEventResponse_RefreshEvent2
20146 {
20147 UINT16 mFileCount;
20148
20149 struct sFile
20150 {
20151 UINT16 mFileID;
20152 UINT8 mPathLength;
20153
20154 // This array must be the size specified by mPathLength
20155 // UINT16 mPath[1];
20156 };
20157
20158 // This array must be the size specified by mFileCount
20159 // sFile mFiles[1];
20160 };
20161
20162 struct sUIMGetLastRefreshEventResponse_RefreshEvent
20163 {
20164 sUIMGetLastRefreshEventResponse_RefreshEvent1 mUIMGetLastRefreshEventResponse_RefreshEvent1;
20165 sUIMGetLastRefreshEventResponse_RefreshEvent2 mUIMGetLastRefreshEventResponse_RefreshEvent2;
20166 };
20167
20168 // Structure to describe request TLV 0x01 for UIMEventRegistration()
20169 struct sUIMEventRegistrationRequest_Mask
20170 {
20171 bool mCardStatus:1;
20172 bool mSAPConnection:1;
20173
20174 // Padding out 30 bits
20175 UINT8 mReserved1:6;
20176 UINT8 mReserved2[3];
20177 };
20178
20179 // Structure to describe response TLV 0x10 for UIMEventRegistration()
20180 struct sUIMEventRegistrationResponse_Mask
20181 {
20182 bool mCardStatus:1;
20183 bool mSAPConnection:1;
20184
20185 // Padding out 30 bits
20186 UINT8 mReserved1:6;
20187 UINT8 mReserved2[3];
20188 };
20189
20190 // Structure to describe response TLV 0x10 for UIMGetCardStatus()
20191 struct sUIMGetCardStatusResponse_Status1
20192 {
20193 UINT8 mPrimaryGWSlot;
20194 UINT8 mPrimaryGWApplication;
20195 UINT8 mPrimary1XSlot;
20196 UINT8 mPrimary1XApplication;
20197 UINT8 mSecondaryGWSlot;
20198 UINT8 mSecondaryGWApplication;
20199 UINT8 mSecondary1XSlot;
20200 UINT8 mSecondary1XApplication;
20201 UINT8 mSlotsAvailable;
20202 eQMIUIMCardStates mCardState;
20203 eQMIUIMPINStates mUPINState;
20204 UINT8 mRemainingUPINVerifyRetries;
20205 UINT8 mRemainingUPINUnblockRetries;
20206 eQMIUIMCardErrorCodes mCardErrorCode;
20207 UINT8 mApplicationsAvailable;
20208 eQMIUIMApplicationTypes mApplicationType;
20209 eQMIUIMApplicationStates mApplicationState;
20210 eQMIUIMPersonalizationStates mPersonalizationState;
20211 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
20212 UINT8 mRemainingPersonalizationVerifyRetries;
20213 UINT8 mRemainingPersonalizationUnblockRetries;
20214 UINT8 mAIDLength;
20215
20216 // This array must be the size specified by mAIDLength
20217 // UINT8 mAID[1];
20218 };
20219
20220 struct sUIMGetCardStatusResponse_Status2
20221 {
20222 INT8 mUPINReplacesPIN1;
20223 eQMIUIMPINStates mPIN1State;
20224 UINT8 mRemainingPIN1VerifyRetries;
20225 UINT8 mRemainingPIN1UnblockRetries;
20226 eQMIUIMPINStates mPIN2State;
20227 UINT8 mRemainingPIN2VerifyRetries;
20228 UINT8 mRemainingPIN2UnblockRetries;
20229 };
20230
20231 struct sUIMGetCardStatusResponse_Status
20232 {
20233 sUIMGetCardStatusResponse_Status1 mUIMGetCardStatusResponse_Status1;
20234 sUIMGetCardStatusResponse_Status2 mUIMGetCardStatusResponse_Status2;
20235 };
20236
20237 // Structure to describe response TLV 0x11 for UIMGetCardStatus()
20238 struct sUIMGetCardStatusResponse_HotSwapStatus
20239 {
20240 UINT8 mHotSwapLength;
20241
20242 // This array must be the size specified by mHotSwapLength
20243 // eQMIUIMHotSwap mHotSwap[1];
20244 };
20245
20246 // Structure to describe response TLV 0x12 for UIMGetCardStatus()
20247 struct sUIMGetCardStatusResponse_ValidCardStatus
20248 {
20249 UINT8 mCardStatusValidCount;
20250
20251 // This array must be the size specified by mCardStatusValidCount
20252 // INT8 mCardStatusValid[1];
20253 };
20254
20255 // Structure to describe request TLV 0x01 for UIMPowerDown()
20256 struct sUIMPowerDownRequest_Slot
20257 {
20258 eQMIUIMSlots mSlot;
20259 };
20260
20261 // Structure to describe request TLV 0x01 for UIMPowerUp()
20262 struct sUIMPowerUpRequest_Slot
20263 {
20264 eQMIUIMSlots mSlot;
20265 };
20266
20267 // Structure to describe request TLV 0x10 for UIMPowerUp()
20268 struct sUIMPowerUpRequest_IgnoreHotSwapSwitch
20269 {
20270 INT8 mIgnoreHotSwapSwitch;
20271 };
20272
20273 // Structure to describe indication TLV 0x10 for UIM CardStatusIndication
20274 struct sUIMCardStatusIndication_Status1
20275 {
20276 UINT8 mPrimaryGWSlot;
20277 UINT8 mPrimaryGWApplication;
20278 UINT8 mPrimary1XSlot;
20279 UINT8 mPrimary1XApplication;
20280 UINT8 mSecondaryGWSlot;
20281 UINT8 mSecondaryGWApplication;
20282 UINT8 mSecondary1XSlot;
20283 UINT8 mSecondary1XApplication;
20284 UINT8 mSlotsAvailable;
20285 eQMIUIMCardStates mCardState;
20286 eQMIUIMPINStates mUPINState;
20287 UINT8 mRemainingUPINVerifyRetries;
20288 UINT8 mRemainingUPINUnblockRetries;
20289 eQMIUIMCardErrorCodes mCardErrorCode;
20290 UINT8 mApplicationsAvailable;
20291 eQMIUIMApplicationTypes mApplicationType;
20292 eQMIUIMApplicationStates mApplicationState;
20293 eQMIUIMPersonalizationStates mPersonalizationState;
20294 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
20295 UINT8 mRemainingPersonalizationVerifyRetries;
20296 UINT8 mRemainingPersonalizationUnblockRetries;
20297 UINT8 mAIDLength;
20298
20299 // This array must be the size specified by mAIDLength
20300 // UINT8 mAID[1];
20301 };
20302
20303 struct sUIMCardStatusIndication_Status2
20304 {
20305 INT8 mUPINReplacesPIN1;
20306 eQMIUIMPINStates mPIN1State;
20307 UINT8 mRemainingPIN1VerifyRetries;
20308 UINT8 mRemainingPIN1UnblockRetries;
20309 eQMIUIMPINStates mPIN2State;
20310 UINT8 mRemainingPIN2VerifyRetries;
20311 UINT8 mRemainingPIN2UnblockRetries;
20312 };
20313
20314 struct sUIMCardStatusIndication_Status
20315 {
20316 sUIMCardStatusIndication_Status1 mUIMCardStatusIndication_Status1;
20317 sUIMCardStatusIndication_Status2 mUIMCardStatusIndication_Status2;
20318 };
20319
20320 // Structure to describe indication TLV 0x11 for UIM CardStatusIndication
20321 struct sUIMCardStatusIndication_ValidCardStatus
20322 {
20323 UINT8 mCardStatusValidCount;
20324
20325 // This array must be the size specified by mCardStatusValidCount
20326 // INT8 mCardStatusValid[1];
20327 };
20328
20329 // Structure to describe indication TLV 0x10 for UIM RefreshIndication
20330 struct sUIMRefreshIndication_RefreshEvent1
20331 {
20332 eQMIUIMRefreshStages mStage;
20333 eQMIUIMRefreshModes mMode;
20334 eQMIUIMSessionTypes mSessionType;
20335 UINT8 mAIDLength;
20336
20337 // This array must be the size specified by mAIDLength
20338 // UINT8 mAID[1];
20339 };
20340
20341 struct sUIMRefreshIndication_RefreshEvent2
20342 {
20343 UINT16 mFileCount;
20344
20345 struct sFile
20346 {
20347 UINT16 mFileID;
20348 UINT8 mPathLength;
20349
20350 // This array must be the size specified by mPathLength
20351 // UINT16 mPath[1];
20352 };
20353
20354 // This array must be the size specified by mFileCount
20355 // sFile mFiles[1];
20356 };
20357
20358 struct sUIMRefreshIndication_RefreshEvent
20359 {
20360 sUIMRefreshIndication_RefreshEvent1 mUIMRefreshIndication_RefreshEvent1;
20361 sUIMRefreshIndication_RefreshEvent2 mUIMRefreshIndication_RefreshEvent2;
20362 };
20363
20364 // Structure to describe request TLV 0x01 for UIMAuthenticate()
20365 struct sUIMAuthenticateRequest_SessionInfo
20366 {
20367 eQMIUIMSessionTypes mSessionType;
20368 UINT8 mAIDLength;
20369
20370 // This array must be the size specified by mAIDLength
20371 // UINT8 mAID[1];
20372 };
20373
20374 // Structure to describe request TLV 0x10 for UIMAuthenticate()
20375 struct sUIMAuthenticateRequest_ResponseInIndication
20376 {
20377 UINT32 mIndicationToken;
20378 };
20379
20380 // Structure to describe response TLV 0x10 for UIMAuthenticate()
20381 struct sUIMAuthenticateResponse_CardResult
20382 {
20383 UINT8 mSW1;
20384 UINT8 mSW2;
20385 };
20386
20387 // Structure to describe response TLV 0x11 for UIMAuthenticate()
20388 struct sUIMAuthenticateResponse_Data
20389 {
20390 UINT16 mContentLength;
20391
20392 // This array must be the size specified by mContentLength
20393 // UINT8 mContent[1];
20394 };
20395
20396 // Structure to describe response TLV 0x12 for UIMAuthenticate()
20397 struct sUIMAuthenticateResponse_ResponseInIndication
20398 {
20399 UINT32 mIndicationToken;
20400 };
20401
20402 // Structure to describe indication TLV 0x01 for UIM AuthenticateIndication
20403 struct sUIMAuthenticateIndication_OriginalToken
20404 {
20405 UINT32 mIndicationToken;
20406 };
20407
20408 // Structure to describe indication TLV 0x10 for UIM AuthenticateIndication
20409 struct sUIMAuthenticateIndication_CardResult
20410 {
20411 UINT8 mSW1;
20412 UINT8 mSW2;
20413 };
20414
20415 // Structure to describe indication TLV 0x11 for UIM AuthenticateIndication
20416 struct sUIMAuthenticateIndication_Data
20417 {
20418 UINT16 mContentLength;
20419
20420 // This array must be the size specified by mContentLength
20421 // UINT8 mContent[1];
20422 };
20423
20424 // Structure to describe request TLV 0x01 for UIMCloseSession()
20425 struct sUIMCloseSessionRequest_SessionInfo
20426 {
20427 eQMIUIMSessionTypes mSessionType;
20428 UINT8 mAIDLength;
20429
20430 // This array must be the size specified by mAIDLength
20431 // UINT8 mAID[1];
20432 };
20433
20434 // Structure to describe request TLV 0x01 for UIMGetServiceStatus()
20435 struct sUIMGetServiceStatusRequest_SessionInfo
20436 {
20437 eQMIUIMSessionTypes mSessionType;
20438 UINT8 mAIDLength;
20439
20440 // This array must be the size specified by mAIDLength
20441 // UINT8 mAID[1];
20442 };
20443
20444 // Structure to describe response TLV 0x10 for UIMGetServiceStatus()
20445 struct sUIMGetServiceStatusResponse_FDNStatus
20446 {
20447 eQMIUIMFDNStatusValues mFDNStatus;
20448 };
20449
20450 // Structure to describe response TLV 0x11 for UIMGetServiceStatus()
20451 struct sUIMGetServiceStatusResponse_HiddenKeyStatus
20452 {
20453 eQMIUIMHiddenKeyStatusValues mHiddenKeyStatus;
20454 };
20455
20456 // Structure to describe response TLV 0x12 for UIMGetServiceStatus()
20457 struct sUIMGetServiceStatusResponse_Index
20458 {
20459 UINT8 mEFDIRIndex;
20460 };
20461
20462 // Structure to describe response TLV 0x13 for UIMGetServiceStatus()
20463 struct sUIMGetServiceStatusResponse_ESNStatus
20464 {
20465 INT8 mESNChanged;
20466 };
20467
20468 // Structure to describe request TLV 0x01 for UIMSetServiceStatus()
20469 struct sUIMSetServiceStatusRequest_SessionInfo
20470 {
20471 eQMIUIMSessionTypes mSessionType;
20472 UINT8 mAIDLength;
20473
20474 // This array must be the size specified by mAIDLength
20475 // UINT8 mAID[1];
20476 };
20477
20478 // Structure to describe request TLV 0x10 for UIMSetServiceStatus()
20479 struct sUIMSetServiceStatusRequest_FDNStatus
20480 {
20481 INT8 mEnableFDN;
20482 };
20483
20484 // Structure to describe request TLV 0x01 for UIMChangeProvisioningSession()
20485 struct sUIMChangeProvisioningSessionRequest_SessionChange
20486 {
20487 eQMIUIMSessionTypes mSessionType;
20488 eQMIUIMCKSessionOperations mOperation;
20489 };
20490
20491 // Structure to describe request TLV 0x10 for UIMChangeProvisioningSession()
20492 struct sUIMChangeProvisioningSessionRequest_AppInfo
20493 {
20494 eQMIUIMSlots mSlot;
20495 UINT8 mAIDLength;
20496
20497 // This array must be the size specified by mAIDLength
20498 // UINT8 mAID[1];
20499 };
20500
20501 // Structure to describe request TLV 0x01 for UIMGetLabel()
20502 struct sUIMGetLabelRequest_AppInfo
20503 {
20504 eQMIUIMSlots mSlot;
20505 UINT8 mAIDLength;
20506
20507 // This array must be the size specified by mAIDLength
20508 // UINT8 mAID[1];
20509 };
20510
20511 // Structure to describe response TLV 0x10 for UIMGetLabel()
20512 struct sUIMGetLabelResponse_AppLabel
20513 {
20514 UINT8 mLabelLength;
20515
20516 // This array must be the size specified by mLabelLength
20517 // char mLabelValue[1];
20518 };
20519
20520 // Structure to describe request TLV 0x10 for UIMGetConfiguration()
20521 struct sUIMGetConfigurationRequest_Mask
20522 {
20523 bool mAutomaticSelection:1;
20524 bool mPersonalizationStatus:1;
20525 bool mHaltSubscription:1;
20526
20527 // Padding out 29 bits
20528 UINT8 mReserved1:5;
20529 UINT8 mReserved2[3];
20530 };
20531
20532 // Structure to describe response TLV 0x10 for UIMGetConfiguration()
20533 struct sUIMGetConfigurationResponse_AutoSelection
20534 {
20535 INT8 mAutomaticProvisioningOn;
20536 };
20537
20538 // Structure to describe response TLV 0x11 for UIMGetConfiguration()
20539 struct sUIMGetConfigurationResponse_Personalization
20540 {
20541 UINT8 mFeatureCount;
20542
20543 struct sFeature
20544 {
20545 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
20546 UINT8 mRemainingVerifyRetries;
20547 UINT8 mRemainingUnblockRetries;
20548 };
20549
20550 // This array must be the size specified by mFeatureCount
20551 // sFeature mFeatures[1];
20552 };
20553
20554 // Structure to describe response TLV 0x12 for UIMGetConfiguration()
20555 struct sUIMGetConfigurationResponse_Subscription
20556 {
20557 INT8 mPublishSubscription;
20558 };
20559
20560 // Structure to describe request TLV 0x01 for UIMSendADPU()
20561 struct sUIMSendADPURequest_Slot
20562 {
20563 eQMIUIMSlots mSlot;
20564 };
20565
20566 // Structure to describe request TLV 0x10 for UIMSendADPU()
20567 struct sUIMSendADPURequest_LogicalChannel
20568 {
20569 UINT8 mChannelID;
20570 };
20571
20572 // Structure to describe request TLV 0x11 for UIMSendADPU()
20573 struct sUIMSendADPURequest_IntermediateProcedureBytes
20574 {
20575 eQMIUIMAPDUResponseStatus mIntermediateProcedureBytes;
20576 };
20577
20578 // Structure to describe response TLV 0x10 for UIMSendADPU()
20579 struct sUIMSendADPUResponse_APDUResponse
20580 {
20581 UINT16 mDataLength;
20582
20583 // This array must be the size specified by mDataLength
20584 // UINT8 mData[1];
20585 };
20586
20587 // Structure to describe response TLV 0x11 for UIMSendADPU()
20588 struct sUIMSendADPUResponse_LongAPDUResponse
20589 {
20590 UINT16 mTotalLength;
20591 UINT32 mIndicationToken;
20592 };
20593
20594 // Structure to describe indication TLV 0x01 for UIM SendADPUIndication
20595 struct sUIMSendADPUIndication_APDUResponseChunk
20596 {
20597 UINT32 mIndicationToken;
20598 UINT16 mTotalLength;
20599 UINT16 mOffset;
20600 UINT16 mDataLength;
20601
20602 // This array must be the size specified by mDataLength
20603 // UINT8 mData[1];
20604 };
20605
20606 // Structure to describe request TLV 0x01 for UIMSAPConnection()
20607 struct sUIMSAPConnectionRequest_Slot
20608 {
20609 eQMIUIMConnectOperations mOperation;
20610 eQMIUIMSlots mSlot;
20611 };
20612
20613 // Structure to describe request TLV 0x10 for UIMSAPConnection()
20614 struct sUIMSAPConnectionRequest_DisconnectMode
20615 {
20616 eQMIUIMDisonnectModes mDisconnectMode;
20617 };
20618
20619 // Structure to describe request TLV 0x11 for UIMSAPConnection()
20620 struct sUIMSAPConnectionRequest_IntermediateGetResponse
20621 {
20622 INT8 mReturnIntermediateGetResponse;
20623 };
20624
20625 // Structure to describe response TLV 0x10 for UIMSAPConnection()
20626 struct sUIMSAPConnectionResponse_State
20627 {
20628 eQMIUIMSAPStates mSAPState;
20629 };
20630
20631 // Structure to describe request TLV 0x01 for UIMSAP()
20632 struct sUIMSAPRequestRequest_Request
20633 {
20634 eQMIUIMSAPRequests mSAPRequest;
20635 eQMIUIMSlots mSlot;
20636 };
20637
20638 // Structure to describe request TLV 0x10 for UIMSAP()
20639 struct sUIMSAPRequestRequest_APDU
20640 {
20641 UINT16 mDataLength;
20642
20643 // This array must be the size specified by mDataLength
20644 // UINT8 mData[1];
20645 };
20646
20647 // Structure to describe response TLV 0x10 for UIMSAPRequest()
20648 struct sUIMSAPRequestResponse_ATR
20649 {
20650 UINT8 mDataLength;
20651
20652 // This array must be the size specified by mDataLength
20653 // UINT8 mData[1];
20654 };
20655
20656 // Structure to describe response TLV 0x11 for UIMSAPRequest()
20657 struct sUIMSAPRequestResponse_APDU
20658 {
20659 UINT16 mDataLength;
20660
20661 // This array must be the size specified by mDataLength
20662 // UINT8 mData[1];
20663 };
20664
20665 // Structure to describe response TLV 0x12 for UIMSAPRequest()
20666 struct sUIMSAPRequestResponse_CardReaderStatus
20667 {
20668 UINT8 mDataLength;
20669
20670 // This array must be the size specified by mDataLength
20671 // UINT8 mData[1];
20672 };
20673
20674 // Structure to describe indication TLV 0x10 for UIM SAPConnectionIndication
20675 struct sUIMSAPConnectionIndication_CardStatus
20676 {
20677 eQMIUIMSAPStates mSAPState;
20678 eQMIUIMSlots mSlot;
20679 };
20680
20681 // Structure to describe request TLV 0x01 for UIMLogicalChannel()
20682 struct sUIMLogicalChannelRequest_Slot
20683 {
20684 eQMIUIMSlots mSlot;
20685 };
20686
20687 // Structure to describe request TLV 0x10 for UIMLogicalChannel()
20688 struct sUIMLogicalChannelRequest_AID
20689 {
20690 UINT8 mAIDLength;
20691
20692 // This array must be the size specified by mAIDLength
20693 // UINT8 mAID[1];
20694 };
20695
20696 // Structure to describe request TLV 0x11 for UIMLogicalChannel()
20697 struct sUIMLogicalChannelRequest_LogicalChannel
20698 {
20699 UINT8 mChannelID;
20700 };
20701
20702 // Structure to describe request TLV 0x12 for UIMLogicalChannel()
20703 struct sUIMLogicalChannelRequest_FileControlInformation
20704 {
20705 eQMIUIMFileControlInformation mFileControlInformation;
20706 };
20707
20708 // Structure to describe request TLV 0x13 for UIMLogicalChannel()
20709 struct sUIMLogicalChannelRequest_TerminateApplication
20710 {
20711 INT8 mTerminateApplication;
20712 };
20713
20714 // Structure to describe response TLV 0x10 for UIMLogicalChannel()
20715 struct sUIMLogicalChannelResponse_LogicalChannel
20716 {
20717 UINT8 mChannelID;
20718 };
20719
20720 // Structure to describe response TLV 0x11 for UIMLogicalChannel()
20721 struct sUIMLogicalChannelResponse_CardResult
20722 {
20723 UINT8 mSW1;
20724 UINT8 mSW2;
20725 };
20726
20727 // Structure to describe response TLV 0x12 for UIMLogicalChannel()
20728 struct sUIMLogicalChannelResponse_ResponseToSelectCommand
20729 {
20730 UINT8 mResponseLength;
20731
20732 // This array must be the size specified by mResponseLength
20733 // UINT8 mResponse[1];
20734 };
20735
20736 // Structure to describe request TLV 0x01 for UIMSubscriptionOK()
20737 struct sUIMSubscriptionOKRequest_SessionInfo
20738 {
20739 eQMIUIMSessionTypes mSessionType;
20740 UINT8 mAIDLength;
20741
20742 // This array must be the size specified by mAIDLength
20743 // UINT8 mAID[1];
20744 };
20745
20746 // Structure to describe request TLV 0x10 for UIMSubscriptionOK()
20747 struct sUIMSubscriptionOKRequest_EncryptedIMSI
20748 {
20749 UINT8 mEncryptedIMSILength;
20750
20751 // This array must be the size specified by mEncryptedIMSILength
20752 // UINT8 mEncryptedIMSI[1];
20753 };
20754
20755 // Structure to describe request TLV 0x01 for UIMGetATR()
20756 struct sUIMGetATRRequest_Slot
20757 {
20758 eQMIUIMSlots mSlot;
20759 };
20760
20761 // Structure to describe response TLV 0x10 for UIMGetATR()
20762 struct sUIMGetATRResponse_ATRValue
20763 {
20764 UINT8 mATRValueLength;
20765
20766 // This array must be the size specified by mATRValueLength
20767 // UINT8 mATRValue[1];
20768 };
20769
20770 // Structure to describe request TLV 0x01 for UIMOpenLogicalChannel()
20771 struct sUIMOpenLogicalChannelRequest_Slot
20772 {
20773 eQMIUIMSlots mSlot;
20774 };
20775
20776 // Structure to describe request TLV 0x10 for UIMOpenLogicalChannel()
20777 struct sUIMOpenLogicalChannelRequest_AID
20778 {
20779 UINT8 mAIDLength;
20780
20781 // This array must be the size specified by mAIDLength
20782 // UINT8 mAID[1];
20783 };
20784
20785 // Structure to describe request TLV 0x11 for UIMOpenLogicalChannel()
20786 struct sUIMOpenLogicalChannelRequest_FileControlInformation
20787 {
20788 eQMIUIMFileControlInformation mFileControlInformation;
20789 };
20790
20791 // Structure to describe response TLV 0x10 for UIMOpenLogicalChannel()
20792 struct sUIMOpenLogicalChannelResponse_LogicalChannel
20793 {
20794 UINT8 mChannelID;
20795 };
20796
20797 // Structure to describe response TLV 0x11 for UIMOpenLogicalChannel()
20798 struct sUIMOpenLogicalChannelResponse_CardResult
20799 {
20800 UINT8 mSW1;
20801 UINT8 mSW2;
20802 };
20803
20804 // Structure to describe response TLV 0x12 for UIMOpenLogicalChannel()
20805 struct sUIMOpenLogicalChannelResponse_ResponseToSelectCommand
20806 {
20807 UINT8 mResponseLength;
20808
20809 // This array must be the size specified by mResponseLength
20810 // UINT8 mResponse[1];
20811 };
20812
20813 // Structure to describe indication TLV 0x01 for UIM SessionClosedIndication
20814 struct sUIMSessionClosedIndication_Slot
20815 {
20816 eQMIUIMSlots mSlot;
20817 };
20818
20819 // Structure to describe indication TLV 0x10 for UIM SessionClosedIndication
20820 struct sUIMSessionClosedIndication_AID
20821 {
20822 UINT8 mAIDLength;
20823
20824 // This array must be the size specified by mAIDLength
20825 // UINT8 mAID[1];
20826 };
20827
20828 // Structure to describe indication TLV 0x11 for UIM SessionClosedIndication
20829 struct sUIMSessionClosedIndication_LogicalChannel
20830 {
20831 UINT8 mChannelID;
20832 };
20833
20834 // Structure to describe request TLV 0x01 for UIMRefreshRegisterAll()
20835 struct sUIMRefreshRegisterAllRequest_SessionInfo
20836 {
20837 eQMIUIMSessionTypes mSessionType;
20838 UINT8 mAIDLength;
20839
20840 // This array must be the size specified by mAIDLength
20841 // UINT8 mAID[1];
20842 };
20843
20844 // Structure to describe request TLV 0x10 for UIMRefreshRegisterAll()
20845 struct sUIMRefreshRegisterAllRequest_VoteForInit
20846 {
20847 INT8 mVoteForInitialization;
20848 };
20849
20850 // Structure to describe request TLV 0x01 for PBMSetIndicationRegistrationState()
20851 struct sPBMSetIndicationRegistrationStateRequest_Mask
20852 {
20853 bool mRecordUpdate:1;
20854 bool mPhonebookReady:1;
20855 bool mEmergencyNumberList:1;
20856 bool mHiddenRecordStatus:1;
20857 bool mAASUpdate:1;
20858 bool mGASUpdate:1;
20859
20860 // Padding out 26 bits
20861 UINT8 mReserved1:2;
20862 UINT8 mReserved2[3];
20863 };
20864
20865 // Structure to describe response TLV 0x10 for PBMSetIndicationRegistrationState()
20866 struct sPBMSetIndicationRegistrationStateResponse_Mask
20867 {
20868 bool mRecordUpdate:1;
20869 bool mPhonebookReady:1;
20870 bool mEmergencyNumberList:1;
20871 bool mHiddenRecordStatus:1;
20872 bool mAASUpdate:1;
20873 bool mGASUpdate:1;
20874
20875 // Padding out 26 bits
20876 UINT8 mReserved1:2;
20877 UINT8 mReserved2[3];
20878 };
20879
20880 // Structure to describe request TLV 0x01 for PBMGetCapabilities()
20881 struct sPBMGetCapabilitiesRequest_Info
20882 {
20883 eQMIPBMSessionTypes mSessionType;
20884 eQMIPBMPhonebookTypes mPhonebookType;
20885 };
20886
20887 // Structure to describe response TLV 0x10 for PBMGetCapabilities()
20888 struct sPBMGetCapabilitiesResponse_Basic
20889 {
20890 eQMIPBMSessionTypes mSessionType;
20891 eQMIPBMPhonebookTypes mPhonebookType;
20892 UINT16 mRecordsUsed;
20893 UINT16 mMaximumRecords;
20894 UINT8 mMaximumNumberLength;
20895 UINT8 mMaximumNameLength;
20896 };
20897
20898 // Structure to describe response TLV 0x11 for PBMGetCapabilities()
20899 struct sPBMGetCapabilitiesResponse_Group
20900 {
20901 UINT8 mMaximumGroupsPossible;
20902 UINT8 mMaximumGroupTagLength;
20903 };
20904
20905 // Structure to describe response TLV 0x12 for PBMGetCapabilities()
20906 struct sPBMGetCapabilitiesResponse_AdditionalNumber
20907 {
20908 UINT8 mMaximumAdditionalNumbersPossible;
20909 UINT8 mMaximumAdditionalNumberLength;
20910 UINT8 mMaximumAdditionalNumberTagLength;
20911 };
20912
20913 // Structure to describe response TLV 0x13 for PBMGetCapabilities()
20914 struct sPBMGetCapabilitiesResponse_Email
20915 {
20916 UINT8 mMaximumEmailsPossible;
20917 UINT8 mMaximumEmailAddressLength;
20918 };
20919
20920 // Structure to describe response TLV 0x14 for PBMGetCapabilities()
20921 struct sPBMGetCapabilitiesResponse_SecondName
20922 {
20923 UINT8 mMaximumSecondNameLength;
20924 };
20925
20926 // Structure to describe response TLV 0x15 for PBMGetCapabilities()
20927 struct sPBMGetCapabilitiesResponse_HiddenRecords
20928 {
20929 INT8 mHiddenEntrySupported;
20930 };
20931
20932 // Structure to describe response TLV 0x16 for PBMGetCapabilities()
20933 struct sPBMGetCapabilitiesResponse_GAS
20934 {
20935 UINT8 mMaximumGASStringLength;
20936 };
20937
20938 // Structure to describe response TLV 0x17 for PBMGetCapabilities()
20939 struct sPBMGetCapabilitiesResponse_AAS
20940 {
20941 UINT8 mMaximumAASStringLength;
20942 };
20943
20944 // Structure to describe response TLV 0x18 for PBMGetCapabilities()
20945 struct sPBMGetCapabilitiesResponse_Protection
20946 {
20947 eQMIPBMProtectionMethods mProtectionMethod;
20948 };
20949
20950 // Structure to describe response TLV 0x19 for PBMGetCapabilities()
20951 struct sPBMGetCapabilitiesResponse_Sets
20952 {
20953 UINT16 mNumberOfPhonebookSets;
20954 };
20955
20956 // Structure to describe response TLV 0x10 for PBMGetAllCapabilities()
20957 struct sPBMGetAllCapabilitiesResponse_Basic
20958 {
20959 UINT8 mNumberOfSessions;
20960
20961 struct sSession
20962 {
20963 eQMIPBMSessionTypes mSessionType;
20964 UINT8 mNumberOfPhonebooks;
20965
20966 struct sPhonebook
20967 {
20968 eQMIPBMPhonebookTypes mPhonebookType;
20969 UINT16 mRecordsUsed;
20970 UINT16 mMaximumRecords;
20971 UINT8 mMaximumNumberLength;
20972 UINT8 mMaximumNameLength;
20973 };
20974
20975 // This array must be the size specified by mNumberOfPhonebooks
20976 // sPhonebook mPhonebooks[1];
20977 };
20978
20979 // This array must be the size specified by mNumberOfSessions
20980 // sSession mSessions[1];
20981 };
20982
20983 // Structure to describe response TLV 0x11 for PBMGetAllCapabilities()
20984 struct sPBMGetAllCapabilitiesResponse_Group
20985 {
20986 UINT8 mNumberOfSessions;
20987
20988 struct sSession
20989 {
20990 eQMIPBMSessionTypes mSessionType;
20991 UINT8 mMaximumGroupsPossible;
20992 UINT8 mMaximumGroupTagLength;
20993 };
20994
20995 // This array must be the size specified by mNumberOfSessions
20996 // sSession mSessions[1];
20997 };
20998
20999 // Structure to describe response TLV 0x12 for PBMGetAllCapabilities()
21000 struct sPBMGetAllCapabilitiesResponse_AdditionalNumber
21001 {
21002 UINT8 mNumberOfSessions;
21003
21004 struct sSession
21005 {
21006 eQMIPBMSessionTypes mSessionType;
21007 UINT8 mMaximumAdditionalNumbersPossible;
21008 UINT8 mMaximumAdditionalNumberLength;
21009 UINT8 mMaximumAdditionalNumberTagLength;
21010 };
21011
21012 // This array must be the size specified by mNumberOfSessions
21013 // sSession mSessions[1];
21014 };
21015
21016 // Structure to describe response TLV 0x13 for PBMGetAllCapabilities()
21017 struct sPBMGetAllCapabilitiesResponse_Email
21018 {
21019 UINT8 mNumberOfSessions;
21020
21021 struct sSession
21022 {
21023 eQMIPBMSessionTypes mSessionType;
21024 UINT8 mMaximumEmailsPossible;
21025 UINT8 mMaximumEmailAddressLength;
21026 };
21027
21028 // This array must be the size specified by mNumberOfSessions
21029 // sSession mSessions[1];
21030 };
21031
21032 // Structure to describe response TLV 0x14 for PBMGetAllCapabilities()
21033 struct sPBMGetAllCapabilitiesResponse_SecondName
21034 {
21035 UINT8 mNumberOfSessions;
21036
21037 struct sSession
21038 {
21039 eQMIPBMSessionTypes mSessionType;
21040 UINT8 mMaximumSecondNameLength;
21041 };
21042
21043 // This array must be the size specified by mNumberOfSessions
21044 // sSession mSessions[1];
21045 };
21046
21047 // Structure to describe response TLV 0x15 for PBMGetAllCapabilities()
21048 struct sPBMGetAllCapabilitiesResponse_HiddenRecords
21049 {
21050 UINT8 mNumberOfSessions;
21051
21052 struct sSession
21053 {
21054 eQMIPBMSessionTypes mSessionType;
21055 INT8 mHiddenEntrySupported;
21056 };
21057
21058 // This array must be the size specified by mNumberOfSessions
21059 // sSession mSessions[1];
21060 };
21061
21062 // Structure to describe response TLV 0x16 for PBMGetAllCapabilities()
21063 struct sPBMGetAllCapabilitiesResponse_GAS
21064 {
21065 UINT8 mNumberOfSessions;
21066
21067 struct sSession
21068 {
21069 eQMIPBMSessionTypes mSessionType;
21070 UINT8 mMaximumRecords;
21071 UINT8 mRecordsUsed;
21072 UINT8 mMaximumGASStringLength;
21073 };
21074
21075 // This array must be the size specified by mNumberOfSessions
21076 // sSession mSessions[1];
21077 };
21078
21079 // Structure to describe response TLV 0x17 for PBMGetAllCapabilities()
21080 struct sPBMGetAllCapabilitiesResponse_AAS
21081 {
21082 UINT8 mNumberOfSessions;
21083
21084 struct sSession
21085 {
21086 eQMIPBMSessionTypes mSessionType;
21087 UINT8 mMaximumRecords;
21088 UINT8 mRecordsUsed;
21089 UINT8 mMaximumAASStringLength;
21090 };
21091
21092 // This array must be the size specified by mNumberOfSessions
21093 // sSession mSessions[1];
21094 };
21095
21096 // Structure to describe request TLV 0x01 for PBMReadRecords()
21097 struct sPBMReadRecordsRequest_Info
21098 {
21099 eQMIPBMSessionTypes mSessionType;
21100 eQMIPBMPhonebookTypes mPhonebookType;
21101 UINT16 mStartingRecordID;
21102 UINT16 mEndingRecordID;
21103 };
21104
21105 // Structure to describe response TLV 0x10 for PBMReadRecords()
21106 struct sPBMReadRecordsResponse_RecordsRead
21107 {
21108 UINT16 mNumberOfRecords;
21109 };
21110
21111 // Structure to describe indication TLV 0x01 for PBM ReadRecordsIndication
21112 struct sPBMReadRecordsIndication_Basic
21113 {
21114 UINT16 mSequenceNumber;
21115 eQMIPBMSessionTypes mSessionType;
21116 eQMIPBMPhonebookTypes mPhonebookType;
21117 UINT8 mNumberOfRecords;
21118
21119 struct sRecord1
21120 {
21121 UINT16 mRecordID;
21122 eQMIPBMNumberTypes mNumberType;
21123 eQMIPBMNumberPlans mNumberPlan;
21124 UINT8 mNumberLength;
21125
21126 // This array must be the size specified by mNumberLength
21127 // char mNumber[1];
21128 };
21129
21130 struct sRecord2
21131 {
21132 UINT8 mNameLength;
21133
21134 // This array must be the size (in BYTEs) specified by mNameLength
21135 // wchar_t mName[1];
21136 };
21137
21138 struct sRecord
21139 {
21140 sRecord1 mRecord1;
21141 sRecord2 mRecord2;
21142 };
21143
21144 // This array must be the size specified by mNumberOfRecords
21145 // sRecord mRecords[1];
21146 };
21147
21148 // Structure to describe indication TLV 0x10 for PBM ReadRecordsIndication
21149 struct sPBMReadRecordsIndication_SecondName
21150 {
21151 UINT8 mNumberOfRecords;
21152
21153 struct sRecord
21154 {
21155 UINT16 mRecordID;
21156 UINT8 mSecondNameLength;
21157
21158 // This array must be the size (in BYTEs) specified by mSecondNameLength
21159 // wchar_t mSecondName[1];
21160 };
21161
21162 // This array must be the size specified by mNumberOfRecords
21163 // sRecord mRecords[1];
21164 };
21165
21166 // Structure to describe indication TLV 0x11 for PBM ReadRecordsIndication
21167 struct sPBMReadRecordsIndication_AdditionalNumber
21168 {
21169 UINT8 mNumberOfRecords;
21170
21171 struct sRecord
21172 {
21173 UINT16 mRecordID;
21174 UINT8 mAdditionalNumberCount;
21175
21176 struct sAdditionalNumber1
21177 {
21178 eQMIPBMNumberTypes mNumberType;
21179 eQMIPBMNumberPlans mNumberPlan;
21180 UINT8 mNumberLength;
21181
21182 // This array must be the size specified by mNumberLength
21183 // char mNumber[1];
21184 };
21185
21186 struct sAdditionalNumber2
21187 {
21188 UINT8 mTagID;
21189 };
21190
21191 struct sAdditionalNumber
21192 {
21193 sAdditionalNumber1 mAdditionalNumber1;
21194 sAdditionalNumber2 mAdditionalNumber2;
21195 };
21196
21197 // This array must be the size specified by mAdditionalNumberCount
21198 // sAdditionalNumber mAdditionalNumbers[1];
21199 };
21200
21201 // This array must be the size specified by mNumberOfRecords
21202 // sRecord mRecords[1];
21203 };
21204
21205 // Structure to describe indication TLV 0x12 for PBM ReadRecordsIndication
21206 struct sPBMReadRecordsIndication_Group
21207 {
21208 UINT8 mNumberOfRecords;
21209
21210 struct sRecord
21211 {
21212 UINT16 mRecordID;
21213 UINT8 mGroupCount;
21214
21215 // This array must be the size specified by mGroupCount
21216 // UINT8 mGroupID[1];
21217 };
21218
21219 // This array must be the size specified by mNumberOfRecords
21220 // sRecord mRecords[1];
21221 };
21222
21223 // Structure to describe indication TLV 0x13 for PBM ReadRecordsIndication
21224 struct sPBMReadRecordsIndication_Email
21225 {
21226 UINT8 mNumberOfRecords;
21227
21228 struct sRecord
21229 {
21230 UINT16 mRecordID;
21231 UINT8 mEmailCount;
21232
21233 struct sEmail
21234 {
21235 UINT8 mAddressLength;
21236
21237 // This array must be the size (in BYTEs) specified by mAddressLength
21238 // wchar_t mAddress[1];
21239 };
21240
21241 // This array must be the size specified by mEmailCount
21242 // sEmail mEmails[1];
21243 };
21244
21245 // This array must be the size specified by mNumberOfRecords
21246 // sRecord mRecords[1];
21247 };
21248
21249 // Structure to describe indication TLV 0x14 for PBM ReadRecordsIndication
21250 struct sPBMReadRecordsIndication_Hidden
21251 {
21252 UINT8 mNumberOfRecords;
21253
21254 struct sRecord
21255 {
21256 UINT16 mRecordID;
21257 INT8 mHidden;
21258 };
21259
21260 // This array must be the size specified by mNumberOfRecords
21261 // sRecord mRecords[1];
21262 };
21263
21264 // Structure to describe request TLV 0x01 for PBMWriteRecord()
21265 struct sPBMWriteRecordRequest_Info1
21266 {
21267 eQMIPBMSessionTypes mSessionType;
21268 eQMIPBMPhonebookTypes mPhonebookType;
21269 UINT16 mRecordID;
21270 eQMIPBMNumberTypes mNumberType;
21271 eQMIPBMNumberPlans mNumberPlan;
21272 UINT8 mNumberLength;
21273
21274 // This array must be the size specified by mNumberLength
21275 // char mNumber[1];
21276 };
21277
21278 struct sPBMWriteRecordRequest_Info2
21279 {
21280 UINT8 mNameLength;
21281
21282 // This array must be the size (in BYTEs) specified by mNameLength
21283 // wchar_t mName[1];
21284 };
21285
21286 struct sPBMWriteRecordRequest_Info
21287 {
21288 sPBMWriteRecordRequest_Info1 mPBMWriteRecordRequest_Info1;
21289 sPBMWriteRecordRequest_Info2 mPBMWriteRecordRequest_Info2;
21290 };
21291
21292 // Structure to describe request TLV 0x10 for PBMWriteRecord()
21293 struct sPBMWriteRecordRequest_SecondName
21294 {
21295 UINT8 mNameLength;
21296
21297 // This array must be the size (in BYTEs) specified by mNameLength
21298 // wchar_t mName[1];
21299 };
21300
21301 // Structure to describe request TLV 0x11 for PBMWriteRecord()
21302 struct sPBMWriteRecordRequest_AdditionalNumber
21303 {
21304 UINT8 mAdditionalNumberCount;
21305
21306 struct sAdditionalNumber1
21307 {
21308 eQMIPBMNumberTypes mNumberType;
21309 eQMIPBMNumberPlans mNumberPlan;
21310 UINT8 mNumberLength;
21311
21312 // This array must be the size specified by mNumberLength
21313 // char mNumber[1];
21314 };
21315
21316 struct sAdditionalNumber2
21317 {
21318 UINT8 mTagID;
21319 };
21320
21321 struct sAdditionalNumber
21322 {
21323 sAdditionalNumber1 mAdditionalNumber1;
21324 sAdditionalNumber2 mAdditionalNumber2;
21325 };
21326
21327 // This array must be the size specified by mAdditionalNumberCount
21328 // sAdditionalNumber mAdditionalNumbers[1];
21329 };
21330
21331 // Structure to describe request TLV 0x12 for PBMWriteRecord()
21332 struct sPBMWriteRecordRequest_Group
21333 {
21334 UINT8 mGroupCount;
21335
21336 // This array must be the size specified by mGroupCount
21337 // UINT8 mGroupID[1];
21338 };
21339
21340 // Structure to describe request TLV 0x13 for PBMWriteRecord()
21341 struct sPBMWriteRecordRequest_Email
21342 {
21343 UINT8 mEmailCount;
21344
21345 struct sEmail
21346 {
21347 UINT8 mAddressLength;
21348
21349 // This array must be the size (in BYTEs) specified by mAddressLength
21350 // wchar_t mAddress[1];
21351 };
21352
21353 // This array must be the size specified by mEmailCount
21354 // sEmail mEmails[1];
21355 };
21356
21357 // Structure to describe request TLV 0x14 for PBMWriteRecord()
21358 struct sPBMWriteRecordRequest_Hidden
21359 {
21360 INT8 mHidden;
21361 };
21362
21363 // Structure to describe response TLV 0x10 for PBMWriteRecord()
21364 struct sPBMWriteRecordResponse_Info
21365 {
21366 UINT16 mRecordID;
21367 };
21368
21369 // Structure to describe request TLV 0x01 for PBMDeleteRecord()
21370 struct sPBMDeleteRecordRequest_Info
21371 {
21372 eQMIPBMSessionTypes mSessionType;
21373 eQMIPBMPhonebookTypes mPhonebookType;
21374 UINT16 mRecordID;
21375 };
21376
21377 // Structure to describe response TLV 0x10 for PBMDeleteRecord()
21378 struct sPBMDeleteRecordResponse_Info
21379 {
21380 UINT16 mRecordID;
21381 };
21382
21383 // Structure to describe request TLV 0x01 for PBMDeleteAllRecords()
21384 struct sPBMDeleteAllRecordsRequest_Info
21385 {
21386 eQMIPBMSessionTypes mSessionType;
21387 eQMIPBMPhonebookTypes mPhonebookType;
21388 };
21389
21390 // Structure to describe request TLV 0x01 for PBMSearchRecords()
21391 struct sPBMSearchRecordsRequest_Info
21392 {
21393 eQMIPBMSessionTypes mSessionType;
21394 eQMIPBMPhonebookTypes mPhonebookType;
21395 };
21396
21397 // Structure to describe request TLV 0x10 for PBMSearchRecords()
21398 struct sPBMSearchRecordsRequest_Number
21399 {
21400 UINT8 mNumberLength;
21401
21402 // This array must be the size specified by mNumberLength
21403 // char mNumber[1];
21404 };
21405
21406 // Structure to describe request TLV 0x11 for PBMSearchRecords()
21407 struct sPBMSearchRecordsRequest_Name
21408 {
21409 UINT8 mNameLength;
21410
21411 // This array must be the size (in BYTEs) specified by mNameLength
21412 // wchar_t mName[1];
21413 };
21414
21415 // Structure to describe response TLV 0x10 for PBMSearchRecords()
21416 struct sPBMSearchRecordsResponse_List
21417 {
21418 UINT16 mNumberOfRecordIDs;
21419
21420 // This array must be the size specified by mNumberOfRecordIDs
21421 // UINT16 mRecordID[1];
21422 };
21423
21424 // Structure to describe indication TLV 0x01 for PBM RecordUpdateIndication
21425 struct sPBMRecordUpdateIndication_Info
21426 {
21427 eQMIPBMSessionTypes mSessionType;
21428 eQMIPBMPhonebookTypes mPhonebookType;
21429 eQMIPBMOperations mOperation;
21430 UINT16 mRecordID;
21431 };
21432
21433 // Structure to describe indication TLV 0x01 for PBM RefreshIndication
21434 struct sPBMRefreshIndication_Info
21435 {
21436 eQMIPBMSessionTypes mSessionType;
21437 eQMIPBMPhonebookTypes mPhonebookType;
21438 eQMIPBMRefreshStatus mStatus;
21439 };
21440
21441 // Structure to describe indication TLV 0x01 for PBM ReadyIndication
21442 struct sPBMReadyIndication_Info
21443 {
21444 eQMIPBMSessionTypes mSessionType;
21445 eQMIPBMPhonebookTypes mPhonebookType;
21446 };
21447
21448 // Structure to describe indication TLV 0x01 for PBM EmergencyListIndication
21449 struct sPBMEmergencyListIndication_HardCodedNumbers
21450 {
21451 UINT8 mNumberCount;
21452
21453 struct sNumber
21454 {
21455 UINT8 mEmergencyNumberLength;
21456
21457 // This array must be the size specified by mEmergencyNumberLength
21458 // char mEmergencyNumber[1];
21459 };
21460
21461 // This array must be the size specified by mNumberCount
21462 // sNumber mNumbers[1];
21463 };
21464
21465 // Structure to describe indication TLV 0x10 for PBM EmergencyListIndication
21466 struct sPBMEmergencyListIndication_NVNumbers
21467 {
21468 UINT8 mNumberCount;
21469
21470 struct sNumber
21471 {
21472 UINT8 mEmergencyNumberLength;
21473
21474 // This array must be the size specified by mEmergencyNumberLength
21475 // char mEmergencyNumber[1];
21476 };
21477
21478 // This array must be the size specified by mNumberCount
21479 // sNumber mNumbers[1];
21480 };
21481
21482 // Structure to describe indication TLV 0x11 for PBM EmergencyListIndication
21483 struct sPBMEmergencyListIndication_CardNumbers
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 indication TLV 0x12 for PBM EmergencyListIndication
21517 struct sPBMEmergencyListIndication_NetworkNumbers
21518 {
21519 UINT8 mNumberOfSessions;
21520
21521 struct sSession
21522 {
21523 eQMIPBMSessionTypes mSessionType;
21524 UINT8 mNumberCount;
21525
21526 struct sNumber
21527 {
21528 bool mPolice:1;
21529 bool mAmbulance:1;
21530 bool mFireBrigade:1;
21531 bool mMarineGuard:1;
21532 bool mMountainRescue:1;
21533 bool mManualECall:1;
21534 bool mAutomaticECall:1;
21535 bool mSpare:1;
21536 UINT8 mEmergencyNumberLength;
21537
21538 // This array must be the size specified by mEmergencyNumberLength
21539 // char mEmergencyNumber[1];
21540 };
21541
21542 // This array must be the size specified by mNumberCount
21543 // sNumber mNumbers[1];
21544 };
21545
21546 // This array must be the size specified by mNumberOfSessions
21547 // sSession mSessions[1];
21548 };
21549
21550 // Structure to describe indication TLV 0x13 for PBM EmergencyListIndication
21551 struct sPBMEmergencyListIndication_HardCodedNumbersEx
21552 {
21553 UINT8 mNumberCount;
21554
21555 struct sNumber
21556 {
21557 UINT8 mEmergencyNumberLength;
21558
21559 // This array must be the size specified by mEmergencyNumberLength
21560 // char mEmergencyNumber[1];
21561 };
21562
21563 // This array must be the size specified by mNumberCount
21564 // sNumber mNumbers[1];
21565 };
21566
21567 // Structure to describe indication TLV 0x14 for PBM EmergencyListIndication
21568 struct sPBMEmergencyListIndication_NVNumbersEx
21569 {
21570 UINT8 mNumberCount;
21571
21572 struct sNumber
21573 {
21574 UINT8 mEmergencyNumberLength;
21575
21576 // This array must be the size specified by mEmergencyNumberLength
21577 // char mEmergencyNumber[1];
21578 };
21579
21580 // This array must be the size specified by mNumberCount
21581 // sNumber mNumbers[1];
21582 };
21583
21584 // Structure to describe indication TLV 0x01 for PBM AllReadyIndication
21585 struct sPBMAllReadyIndication_Info
21586 {
21587 UINT8 mNumberOfSessions;
21588
21589 struct sSession
21590 {
21591 eQMIPBMSessionTypes mSessionType;
21592 bool mAbbreviatedDialingNumber:1;
21593 bool mFixedDialingNumber:1;
21594 bool mMobileSubscriberIntegratedServicesDigitalNetwork:1;
21595 bool mMailBoxDialingNumber:1;
21596 bool mServiceDialingNumber:1;
21597 bool mBarredDialingNumber:1;
21598 bool mLastNumberDialed:1;
21599 bool mMailBoxNumber:1;
21600
21601 // Padding out 8 bits
21602 UINT8 mReserved1;
21603 };
21604
21605 // This array must be the size specified by mNumberOfSessions
21606 // sSession mSessions[1];
21607 };
21608
21609 // Structure to describe response TLV 0x10 for PBMGetEmergencyList()
21610 struct sPBMGetEmergencyListResponse_HardCodedNumbers
21611 {
21612 UINT8 mNumberCount;
21613
21614 struct sNumber
21615 {
21616 UINT8 mEmergencyNumberLength;
21617
21618 // This array must be the size specified by mEmergencyNumberLength
21619 // char mEmergencyNumber[1];
21620 };
21621
21622 // This array must be the size specified by mNumberCount
21623 // sNumber mNumbers[1];
21624 };
21625
21626 // Structure to describe response TLV 0x11 for PBMGetEmergencyList()
21627 struct sPBMGetEmergencyListResponse_NVNumbers
21628 {
21629 UINT8 mNumberCount;
21630
21631 struct sNumber
21632 {
21633 UINT8 mEmergencyNumberLength;
21634
21635 // This array must be the size specified by mEmergencyNumberLength
21636 // char mEmergencyNumber[1];
21637 };
21638
21639 // This array must be the size specified by mNumberCount
21640 // sNumber mNumbers[1];
21641 };
21642
21643 // Structure to describe response TLV 0x12 for PBMGetEmergencyList()
21644 struct sPBMGetEmergencyListResponse_CardNumbers
21645 {
21646 UINT8 mNumberOfSessions;
21647
21648 struct sSession
21649 {
21650 eQMIPBMSessionTypes mSessionType;
21651 UINT8 mNumberCount;
21652
21653 struct sNumber
21654 {
21655 bool mPolice:1;
21656 bool mAmbulance:1;
21657 bool mFireBrigade:1;
21658 bool mMarineGuard:1;
21659 bool mMountainRescue:1;
21660 bool mManualECall:1;
21661 bool mAutomaticECall:1;
21662 bool mSpare:1;
21663 UINT8 mEmergencyNumberLength;
21664
21665 // This array must be the size specified by mEmergencyNumberLength
21666 // char mEmergencyNumber[1];
21667 };
21668
21669 // This array must be the size specified by mNumberCount
21670 // sNumber mNumbers[1];
21671 };
21672
21673 // This array must be the size specified by mNumberOfSessions
21674 // sSession mSessions[1];
21675 };
21676
21677 // Structure to describe response TLV 0x13 for PBMGetEmergencyList()
21678 struct sPBMGetEmergencyListResponse_NetworkNumbers
21679 {
21680 UINT8 mNumberOfSessions;
21681
21682 struct sSession
21683 {
21684 eQMIPBMSessionTypes mSessionType;
21685 UINT8 mNumberCount;
21686
21687 struct sNumber
21688 {
21689 bool mPolice:1;
21690 bool mAmbulance:1;
21691 bool mFireBrigade:1;
21692 bool mMarineGuard:1;
21693 bool mMountainRescue:1;
21694 bool mManualECall:1;
21695 bool mAutomaticECall:1;
21696 bool mSpare:1;
21697 UINT8 mEmergencyNumberLength;
21698
21699 // This array must be the size specified by mEmergencyNumberLength
21700 // char mEmergencyNumber[1];
21701 };
21702
21703 // This array must be the size specified by mNumberCount
21704 // sNumber mNumbers[1];
21705 };
21706
21707 // This array must be the size specified by mNumberOfSessions
21708 // sSession mSessions[1];
21709 };
21710
21711 // Structure to describe response TLV 0x14 for PBMGetEmergencyList()
21712 struct sPBMGetEmergencyListResponse_HardCodedNumbersEx
21713 {
21714 UINT8 mNumberCount;
21715
21716 struct sNumber
21717 {
21718 UINT8 mEmergencyNumberLength;
21719
21720 // This array must be the size specified by mEmergencyNumberLength
21721 // char mEmergencyNumber[1];
21722 };
21723
21724 // This array must be the size specified by mNumberCount
21725 // sNumber mNumbers[1];
21726 };
21727
21728 // Structure to describe response TLV 0x15 for PBMGetEmergencyList()
21729 struct sPBMGetEmergencyListResponse_NVNumbersEx
21730 {
21731 UINT8 mNumberCount;
21732
21733 struct sNumber
21734 {
21735 UINT8 mEmergencyNumberLength;
21736
21737 // This array must be the size specified by mEmergencyNumberLength
21738 // char mEmergencyNumber[1];
21739 };
21740
21741 // This array must be the size specified by mNumberCount
21742 // sNumber mNumbers[1];
21743 };
21744
21745 // Structure to describe response TLV 0x10 for PBMGetAllGroups()
21746 struct sPBMGetAllGroupsResponse_Groups
21747 {
21748 UINT8 mNumberOfSessions;
21749
21750 struct sSession
21751 {
21752 eQMIPBMSessionTypes mSessionType;
21753 UINT8 mGroupCount;
21754
21755 struct sGroup
21756 {
21757 UINT8 mGroupID;
21758 UINT8 mGroupNameLength;
21759
21760 // This array must be the size (in BYTEs) specified by mGroupNameLength
21761 // wchar_t mGroupName[1];
21762 };
21763
21764 // This array must be the size specified by mGroupCount
21765 // sGroup mGroups[1];
21766 };
21767
21768 // This array must be the size specified by mNumberOfSessions
21769 // sSession mSessions[1];
21770 };
21771
21772 // Structure to describe request TLV 0x01 for PBMSetGroupInfo()
21773 struct sPBMSetGroupInfoRequest_Info
21774 {
21775 eQMIPBMSessionTypes mSessionType;
21776 eQMIPBMOperations mOperation;
21777 UINT8 mGroupID;
21778 UINT8 mGroupNameLength;
21779
21780 // This array must be the size (in BYTEs) specified by mGroupNameLength
21781 // wchar_t mGroupName[1];
21782 };
21783
21784 // Structure to describe response TLV 0x10 for PBMSetGroupInfo()
21785 struct sPBMSetGroupInfoResponse_ID
21786 {
21787 eQMIPBMSessionTypes mSessionType;
21788 UINT8 mGroupID;
21789 };
21790
21791 // Structure to describe request TLV 0x01 for PBMGetState()
21792 struct sPBMGetStateRequest_Info
21793 {
21794 eQMIPBMSessionTypes mSessionType;
21795 eQMIPBMPhonebookTypes mPhonebookType;
21796 };
21797
21798 // Structure to describe response TLV 0x10 for PBMGetStateInfo()
21799 struct sPBMGetStateInfoResponse_State
21800 {
21801 eQMIPBMSessionTypes mSessionType;
21802 eQMIPBMPhonebookTypes mPhonebookType;
21803 eQMIPBMStates mState;
21804 };
21805
21806 // Structure to describe request TLV 0x01 for PBMReadAllHiddenRecords()
21807 struct sPBMReadAllHiddenRecordsRequest_Info
21808 {
21809 eQMIPBMSessionTypes mSessionType;
21810 };
21811
21812 // Structure to describe response TLV 0x10 for PBMReadAllHiddenRecords()
21813 struct sPBMReadAllHiddenRecordsResponse_Records
21814 {
21815 UINT16 mNumberOfRecords;
21816 };
21817
21818 // Structure to describe indication TLV 0x01 for PBM HiddenRecordStatusIndication
21819 struct sPBMHiddenRecordStatusIndication_Status
21820 {
21821 eQMIPBMSessionTypes mSessionType;
21822 INT8 mHiddenRecordsValid;
21823 };
21824
21825 // Structure to describe request TLV 0x01 for PBMGetNextEmptyRecordID()
21826 struct sPBMGetNextEmptyRecordIDRequest_Info
21827 {
21828 eQMIPBMSessionTypes mSessionType;
21829 eQMIPBMPhonebookTypes mPhonebookType;
21830 UINT16 mRecordID;
21831 };
21832
21833 // Structure to describe response TLV 0x10 for PBMGetNextEmptyRecordID()
21834 struct sPBMGetNextEmptyRecordIDResponse_Info
21835 {
21836 UINT16 mRecordID;
21837 };
21838
21839 // Structure to describe request TLV 0x01 for PBMGetNextRecordID()
21840 struct sPBMGetNextRecordIDRequest_Info
21841 {
21842 eQMIPBMSessionTypes mSessionType;
21843 eQMIPBMPhonebookTypes mPhonebookType;
21844 UINT16 mRecordID;
21845 };
21846
21847 // Structure to describe response TLV 0x10 for PBMGetNextRecordID()
21848 struct sPBMGetNextRecordIDResponse_Info
21849 {
21850 UINT16 mRecordID;
21851 };
21852
21853 // Structure to describe response TLV 0x10 for PBMGetAASList()
21854 struct sPBMGetAASListResponse_List
21855 {
21856 UINT8 mNumberOfSessions;
21857
21858 struct sSession
21859 {
21860 eQMIPBMSessionTypes mSessionType;
21861 UINT8 mAASCount;
21862
21863 struct sAAS
21864 {
21865 UINT8 mAASID;
21866 UINT8 mAlphaStringLength;
21867
21868 // This array must be the size (in BYTEs) specified by mAlphaStringLength
21869 // wchar_t mAlphaString[1];
21870 };
21871
21872 // This array must be the size specified by mAASCount
21873 // sAAS mAASs[1];
21874 };
21875
21876 // This array must be the size specified by mNumberOfSessions
21877 // sSession mSessions[1];
21878 };
21879
21880 // Structure to describe request TLV 0x10 for PBMSetAAS()
21881 struct sPBMSetAASRequest_Info
21882 {
21883 eQMIPBMSessionTypes mSessionType;
21884 eQMIPBMAASOperations mOperation;
21885 UINT8 mAASID;
21886 UINT8 mAlphaStringLength;
21887
21888 // This array must be the size (in BYTEs) specified by mAlphaStringLength
21889 // wchar_t mAlphaString[1];
21890 };
21891
21892 // Structure to describe response TLV 0x10 for PBMSetAAS()
21893 struct sPBMSetAASResponse_Info
21894 {
21895 eQMIPBMSessionTypes mSessionType;
21896 UINT8 mAASID;
21897 };
21898
21899 // Structure to describe indication TLV 0x01 for PBM AASChangeIndication
21900 struct sPBMAASChangeIndication_Info
21901 {
21902 eQMIPBMSessionTypes mSessionType;
21903 eQMIPBMOperations mOperation;
21904 UINT8 mAASID;
21905 UINT8 mAlphaStringLength;
21906
21907 // This array must be the size (in BYTEs) specified by mAlphaStringLength
21908 // wchar_t mAlphaString[1];
21909 };
21910
21911 // Structure to describe indication TLV 0x01 for PBM GASChangeIndication
21912 struct sPBMGASChangeIndication_Info
21913 {
21914 eQMIPBMSessionTypes mSessionType;
21915 eQMIPBMOperations mOperation;
21916 UINT8 mGASID;
21917 UINT8 mGroupNameLength;
21918
21919 // This array must be the size (in BYTEs) specified by mGroupNameLength
21920 // wchar_t mGroupName[1];
21921 };
21922
21923 // Structure to describe request TLV 0x10 for PBMBindSubscription()
21924 struct sPBMBindSubscriptionRequest_Type
21925 {
21926 eQMIPBMSubscriptionTypes mSubscriptionType;
21927 };
21928
21929 // Structure to describe response TLV 0x10 for PBMGetSubscription()
21930 struct sPBMGetSubscriptionResponse_Type
21931 {
21932 eQMIPBMSubscriptionTypes mSubscriptionType;
21933 };
21934
21935 // Structure to describe request TLV 0x01 for PBMSetCapabilitiesReadOperation()
21936 struct sPBMSetCapabilitiesReadOperationRequest_Session
21937 {
21938 eQMIPBMSessionTypes mSessionType;
21939 };
21940
21941 // Structure to describe request TLV 0x10 for PBMSetCapabilitiesReadOperation()
21942 struct sPBMSetCapabilitiesReadOperationRequest_StartID
21943 {
21944 UINT16 mStartingSetID;
21945 };
21946
21947 // Structure to describe request TLV 0x11 for PBMSetCapabilitiesReadOperation()
21948 struct sPBMSetCapabilitiesReadOperationRequest_EndID
21949 {
21950 UINT16 mEndingSetID;
21951 };
21952
21953 // Structure to describe response TLV 0x10 for PBMSetCapabilitiesReadOperation()
21954 struct sPBMSetCapabilitiesReadOperationResponse_Sets
21955 {
21956 UINT16 mNumberOfPhonebookSets;
21957 };
21958
21959 // Structure to describe indication TLV 0x01 for PBM SetCapabilitiesReadOperationIndication
21960 struct sPBMSetCapabilitiesReadOperationIndication_Data
21961 {
21962 eQMIPBMSessionTypes mSessionType;
21963 UINT8 mNumberOfPhonebookSets;
21964
21965 struct sSet
21966 {
21967 UINT16 mSetID;
21968 UINT8 mNumberOfUSIMFiles;
21969
21970 struct sField
21971 {
21972 eQMIPBMFieldTypes mFieldID;
21973 eQMIPBMMappingTypes mMappingType;
21974 UINT16 mNumberOfRecords;
21975 UINT16 mNumberOfFreeRecords;
21976 UINT16 mRecordLength;
21977 };
21978
21979 // This array must be the size specified by mNumberOfUSIMFiles
21980 // sField mFields[1];
21981 };
21982
21983 // This array must be the size specified by mNumberOfPhonebookSets
21984 // sSet mSets[1];
21985 };
21986
21987 // Structure to describe request TLV 0x01 for LOCClientRevision()
21988 struct sLOCClientRevisionRequest_Revision
21989 {
21990 UINT32 mRevision;
21991 };
21992
21993 // Structure to describe request TLV 0x01 for LOCRegisterEvents()
21994 struct sLOCRegisterEventsRequest_EventRegistrationMask
21995 {
21996 bool mPositionReport:1;
21997 bool mGNSSSatelliteInfo:1;
21998 bool mNMEA:1;
21999 bool mNINotifyVerifyRequest:1;
22000 bool mInjectTimeRequest:1;
22001 bool mInjectPredictedOrbitsRequest:1;
22002 bool mInjectPositionRequest:1;
22003 bool mEngineState:1;
22004 bool mFixSessionState:1;
22005 bool mWiFiRequest:1;
22006 bool mSensorStreamingReadyStatus:1;
22007 bool mTimeSyncRequest:1;
22008 bool mSetSPIStreamingReport:1;
22009 bool mLocationServerConnectionRequest:1;
22010 bool mNIGeofenceNotification:1;
22011 bool mGeofenceGeneralAlert:1;
22012 bool mGeofenceBreachNotification:1;
22013
22014 // Padding out 47 bits
22015 UINT8 mReserved1:7;
22016 UINT8 mReserved2[5];
22017 };
22018
22019 // Structure to describe request TLV 0x01 for LOCStart()
22020 struct sLOCStartRequest_SessionID
22021 {
22022 UINT8 mSessionID;
22023 };
22024
22025 // Structure to describe request TLV 0x10 for LOCStart()
22026 struct sLOCStartRequest_FixRecurrenceType
22027 {
22028 eQMILOCFixRecurrenceType mFixRecurrenceType;
22029 };
22030
22031 // Structure to describe request TLV 0x11 for LOCStart()
22032 struct sLOCStartRequest_HorizontalAccuracy
22033 {
22034 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
22035 };
22036
22037 // Structure to describe request TLV 0x12 for LOCStart()
22038 struct sLOCStartRequest_EnableIntermediateReports
22039 {
22040 eQMILOCIntermediateReportState mEnableIntermediateReports;
22041 };
22042
22043 // Structure to describe request TLV 0x13 for LOCStart()
22044 struct sLOCStartRequest_MinimumIntervalBetweenPositionReports
22045 {
22046 UINT32 mMinimumTimeIntervalMilliseconds;
22047 };
22048
22049 // Structure to describe request TLV 0x14 for LOCStart()
22050 struct sLOCStartRequest_ApplicationID1
22051 {
22052 UINT8 mApplicationProviderLength;
22053
22054 // This array must be the size specified by mApplicationProviderLength
22055 // char mApplicationProvider[1];
22056 };
22057
22058 struct sLOCStartRequest_ApplicationID2
22059 {
22060 UINT8 mApplicationNameLength;
22061
22062 // This array must be the size specified by mApplicationNameLength
22063 // char mApplicationName[1];
22064 };
22065
22066 struct sLOCStartRequest_ApplicationID3
22067 {
22068 INT8 mApplicationVersionValid;
22069 UINT8 mApplicationVersionLength;
22070
22071 // This array must be the size specified by mApplicationVersionLength
22072 // char mApplicationVersion[1];
22073 };
22074
22075 struct sLOCStartRequest_ApplicationID
22076 {
22077 sLOCStartRequest_ApplicationID1 mLOCStartRequest_ApplicationID1;
22078 sLOCStartRequest_ApplicationID2 mLOCStartRequest_ApplicationID2;
22079 sLOCStartRequest_ApplicationID3 mLOCStartRequest_ApplicationID3;
22080 };
22081
22082 // Structure to describe request TLV 0x01 for LOCStop()
22083 struct sLOCStopRequest_SessionID
22084 {
22085 UINT8 mSessionID;
22086 };
22087
22088 // Structure to describe indication TLV 0x01 for LOC PositionReportIndication
22089 struct sLOCPositionReportIndication_SessionStatus
22090 {
22091 eQMILOCSessionStatus mSessionStatus;
22092 };
22093
22094 // Structure to describe indication TLV 0x10 for LOC PositionReportIndication
22095 struct sLOCPositionReportIndication_Latitude
22096 {
22097 double mLatitudeDegrees;
22098 };
22099
22100 // Structure to describe indication TLV 0x11 for LOC PositionReportIndication
22101 struct sLOCPositionReportIndication_Longitude
22102 {
22103 double mLongitudeDegrees;
22104 };
22105
22106 // Structure to describe indication TLV 0x12 for LOC PositionReportIndication
22107 struct sLOCPositionReportIndication_HorizontalUncertaintyCircular
22108 {
22109 float mHorizontalUncertaintyCircularMeters;
22110 };
22111
22112 // Structure to describe indication TLV 0x13 for LOC PositionReportIndication
22113 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMinor
22114 {
22115 float mHorizontalUncertaintyEllipticalMinorMeters;
22116 };
22117
22118 // Structure to describe indication TLV 0x14 for LOC PositionReportIndication
22119 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMajor
22120 {
22121 float mHorizontalUncertaintyEllipticalMajorMeters;
22122 };
22123
22124 // Structure to describe indication TLV 0x15 for LOC PositionReportIndication
22125 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalAzimuth
22126 {
22127 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
22128 };
22129
22130 // Structure to describe indication TLV 0x16 for LOC PositionReportIndication
22131 struct sLOCPositionReportIndication_HorizontalConfidence
22132 {
22133 UINT8 mHorizontalConfidencePercent;
22134 };
22135
22136 // Structure to describe indication TLV 0x17 for LOC PositionReportIndication
22137 struct sLOCPositionReportIndication_HorizontalReliability
22138 {
22139 eQMILOCReliability mHorizontalReliability;
22140 };
22141
22142 // Structure to describe indication TLV 0x18 for LOC PositionReportIndication
22143 struct sLOCPositionReportIndication_HorizontalSpeed
22144 {
22145 float mHorizontalSpeedMetersSecond;
22146 };
22147
22148 // Structure to describe indication TLV 0x19 for LOC PositionReportIndication
22149 struct sLOCPositionReportIndication_SpeedUncertainty
22150 {
22151 float mSpeedUncertaintyMetersSecond;
22152 };
22153
22154 // Structure to describe indication TLV 0x1A for LOC PositionReportIndication
22155 struct sLOCPositionReportIndication_AltitudeFromEllipsoid
22156 {
22157 float mAltitudeFromEllipsoidMeters;
22158 };
22159
22160 // Structure to describe indication TLV 0x1B for LOC PositionReportIndication
22161 struct sLOCPositionReportIndication_AltitudeFromSeaLevel
22162 {
22163 float mAltitudeFromSeaLevelMeters;
22164 };
22165
22166 // Structure to describe indication TLV 0x1C for LOC PositionReportIndication
22167 struct sLOCPositionReportIndication_VerticalUncertainty
22168 {
22169 float mVerticalUncertaintyMeters;
22170 };
22171
22172 // Structure to describe indication TLV 0x1D for LOC PositionReportIndication
22173 struct sLOCPositionReportIndication_VerticalConfidence
22174 {
22175 UINT8 mVerticalConfidencePercent;
22176 };
22177
22178 // Structure to describe indication TLV 0x1E for LOC PositionReportIndication
22179 struct sLOCPositionReportIndication_VerticalReliability
22180 {
22181 eQMILOCReliability mVerticalReliability;
22182 };
22183
22184 // Structure to describe indication TLV 0x1F for LOC PositionReportIndication
22185 struct sLOCPositionReportIndication_VerticalSpeed
22186 {
22187 float mVerticalSpeedMetersSecond;
22188 };
22189
22190 // Structure to describe indication TLV 0x20 for LOC PositionReportIndication
22191 struct sLOCPositionReportIndication_Heading
22192 {
22193 float mHeadingDegrees;
22194 };
22195
22196 // Structure to describe indication TLV 0x21 for LOC PositionReportIndication
22197 struct sLOCPositionReportIndication_HeadingUncertainty
22198 {
22199 float mHeadingUncertaintyDegrees;
22200 };
22201
22202 // Structure to describe indication TLV 0x22 for LOC PositionReportIndication
22203 struct sLOCPositionReportIndication_MagneticDeviation
22204 {
22205 float mMagneticDeviation;
22206 };
22207
22208 // Structure to describe indication TLV 0x23 for LOC PositionReportIndication
22209 struct sLOCPositionReportIndication_TechnologyUsed
22210 {
22211 bool mSatellite:1;
22212 bool mCellular:1;
22213 bool mWiFi:1;
22214 bool mSensors:1;
22215 bool mReferenceLocation:1;
22216 bool mInjectedPosition:1;
22217
22218 // Padding out 26 bits
22219 UINT8 mReserved1:2;
22220 UINT8 mReserved2[3];
22221 };
22222
22223 // Structure to describe indication TLV 0x24 for LOC PositionReportIndication
22224 struct sLOCPositionReportIndication_DilutionOfPrecision
22225 {
22226 float mPositionDilutionOfPrecision;
22227 float mHorizontalDilutionOfPrecision;
22228 float mVerticalDilutionOfPrecision;
22229 };
22230
22231 // Structure to describe indication TLV 0x25 for LOC PositionReportIndication
22232 struct sLOCPositionReportIndication_UTCTimestamp
22233 {
22234 UINT64 mUTCTimestampMilliseconds;
22235 };
22236
22237 // Structure to describe indication TLV 0x26 for LOC PositionReportIndication
22238 struct sLOCPositionReportIndication_LeapSeconds
22239 {
22240 UINT8 mLeapSeconds;
22241 };
22242
22243 // Structure to describe indication TLV 0x27 for LOC PositionReportIndication
22244 struct sLOCPositionReportIndication_GPSTime
22245 {
22246 UINT16 mGPSWeeks;
22247 UINT32 mGPSTimeOfWeekMilliseconds;
22248 };
22249
22250 // Structure to describe indication TLV 0x28 for LOC PositionReportIndication
22251 struct sLOCPositionReportIndication_TimeUncertainty
22252 {
22253 float mTimeUncertaintyMilliseconds;
22254 };
22255
22256 // Structure to describe indication TLV 0x29 for LOC PositionReportIndication
22257 struct sLOCPositionReportIndication_TimeSource
22258 {
22259 eQMILOCTimeSource mTimeSource;
22260 };
22261
22262 // Structure to describe indication TLV 0x2A for LOC PositionReportIndication
22263 struct sLOCPositionReportIndication_SensorDataUsage
22264 {
22265 bool mAccelerometerUsed:1;
22266 bool mGyroUsed:1;
22267
22268 // Padding out 30 bits
22269 UINT8 mReserved1:6;
22270 UINT8 mReserved2[3];
22271
22272 bool mAidedHeading:1;
22273 bool mAidedSpeed:1;
22274 bool mAidedPosition:1;
22275 bool mAidedVelocity:1;
22276
22277 // Padding out 28 bits
22278 UINT8 mReserved3:4;
22279 UINT8 mReserved4[3];
22280 };
22281
22282 // Structure to describe indication TLV 0x2B for LOC PositionReportIndication
22283 struct sLOCPositionReportIndication_SessionFixCount
22284 {
22285 UINT32 mSessionFixCount;
22286 };
22287
22288 // Structure to describe indication TLV 0x2C for LOC PositionReportIndication
22289 struct sLOCPositionReportIndication_SatellitesUsed
22290 {
22291 UINT8 mSatellitesUsedCount;
22292
22293 // This array must be the size specified by mSatellitesUsedCount
22294 // UINT16 mSatellitesUsed[1];
22295 };
22296
22297 // Structure to describe indication TLV 0x01 for LOC GNSSSatelliteInfoIndication
22298 struct sLOCGNSSSatelliteInfoIndication_AltitudeSource
22299 {
22300 eQMILOCAltitudeAssumed mAltitudeAssumed;
22301 };
22302
22303 // Structure to describe indication TLV 0x10 for LOC GNSSSatelliteInfoIndication
22304 struct sLOCGNSSSatelliteInfoIndication_SatelliteInfo
22305 {
22306 UINT8 mSatelliteInfoCount;
22307 bool mValidSystem:1;
22308 bool mValidGNSSSatelliteID:1;
22309 bool mValidHealthStatus:1;
22310 bool mValidProcessStatus:1;
22311 bool mValidSatelliteInfoMask:1;
22312 bool mValidElevation:1;
22313 bool mValidAzimuth:1;
22314 bool mValidSignalToNoiseRatio:1;
22315
22316 // Padding out 24 bits
22317 UINT8 mReserved1[3];
22318
22319 eQMILOCSystem mSystem;
22320 UINT16 mGNSSSatelliteID;
22321 eQMILOCHealthStatus mHealthStatus;
22322 eQMILOCSatelliteStatus mSatelliteStatus;
22323 bool mHasEphemeris:1;
22324 bool mHasAlmanac:1;
22325
22326 // Padding out 6 bits
22327 UINT8 mReserved2:6;
22328
22329 float mElevationDegrees;
22330 float mAzimuthDegrees;
22331 float mSignalToNoiseRatiodBHz;
22332 };
22333
22334 // Structure to describe indication TLV 0x01 for LOC NMEAIndication
22335 struct sLOCNMEAIndication_NMEAString
22336 {
22337 // String is variable length, but must be size of the container
22338 // char mNMEAString[1];
22339 };
22340
22341 // Structure to describe request TLV 0x01 for LOCNetworkInitiated()
22342 struct sLOCNetworkInitiatedRequestIndication_NotificationType
22343 {
22344 eQMILOCNotificationType mNotificationType;
22345 };
22346
22347 // Structure to describe request TLV 0x10 for LOCNetworkInitiated()
22348 struct sLOCNetworkInitiatedRequestIndication_VxRequest1
22349 {
22350 INT8 mPositionQoSIncluded;
22351 UINT8 mPositionQoSTimeoutSeconds;
22352 UINT32 mMaxNumberOfFixes;
22353 UINT32 mTimeBetweenFixesSeconds;
22354 eQMILOCPositionMode mPosistionMode;
22355 eQMILOCEncodingScheme mEncodingScheme;
22356 UINT8 mRequestorIDLength;
22357
22358 // This array must be the size specified by mRequestorIDLength
22359 // UINT8 mRequestorID[1];
22360 };
22361
22362 struct sLOCNetworkInitiatedRequestIndication_VxRequest2
22363 {
22364 UINT16 mUserResponseTimerSeconds;
22365 };
22366
22367 struct sLOCNetworkInitiatedRequestIndication_VxRequest
22368 {
22369 sLOCNetworkInitiatedRequestIndication_VxRequest1 mLOCNetworkInitiatedRequestIndication_VxRequest1;
22370 sLOCNetworkInitiatedRequestIndication_VxRequest2 mLOCNetworkInitiatedRequestIndication_VxRequest2;
22371 };
22372
22373 // Structure to describe request TLV 0x11 for LOCNetworkInitiated()
22374 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest1
22375 {
22376 bool mValidServerInfo:1;
22377 bool mValidSessionID:1;
22378 bool mValidHash:1;
22379 bool mValidPositionMethod:1;
22380 bool mValidDataCodingScheme:1;
22381 bool mValidRequestorID:1;
22382 bool mValidClientName:1;
22383 bool mValidQualityOfPosition:1;
22384 bool mValidUserResponseTimer:1;
22385
22386 // Padding out 23 bits
22387 UINT8 mReserved1:7;
22388 UINT8 mReserved2[2];
22389
22390 bool mIPv4:1;
22391 bool mIPv6:1;
22392 bool mURL:1;
22393
22394 // Padding out 5 bits
22395 UINT8 mReserved3:5;
22396
22397 UINT32 mIPv4Address;
22398 UINT16 mIPv4Port;
22399 UINT8 mIPv6Address[16];
22400 UINT32 mIPv6Port;
22401 UINT8 mURLAddressLength;
22402
22403 // This array must be the size specified by mURLAddressLength
22404 // char mURLAddress[1];
22405 };
22406
22407 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest2
22408 {
22409 UINT8 mSUPLSessionID[4];
22410 UINT8 mSUPLHash[8];
22411 eQMILOCPosition mPositionMethod;
22412 eQMILOCDataCodingScheme mDataCodingScheme;
22413 eQMILOCFormatType mRequestorIDFormatType;
22414 UINT8 mRequestorIDFormattedStringLength;
22415
22416 // This array must be the size specified by mRequestorIDFormattedStringLength
22417 // UINT8 mRequestorIDFormattedString[1];
22418 };
22419
22420 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest3
22421 {
22422 eQMILOCFormatType mClientNameFormatType;
22423 UINT8 mClientNameFormattedStringLength;
22424
22425 // This array must be the size specified by mClientNameFormattedStringLength
22426 // UINT8 mClientNameFormattedString[1];
22427 };
22428
22429 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest4
22430 {
22431 bool mQoPHorizontalAccelerationValid:1;
22432 bool mQoPVerticalAccelerationValid:1;
22433 bool mQoPMaximumAge:1;
22434 bool mQoPDelayValid:1;
22435
22436 // Padding out 4 bits
22437 UINT8 mReserved4:4;
22438
22439 UINT8 mHorizontalAccuracyMeters;
22440 UINT8 mVerticalAccuracyMeters;
22441 UINT16 mMaximumLocationAgeSeconds;
22442 UINT8 mDelaySeconds;
22443 UINT16 mUserResponseTimerSeconds;
22444 };
22445
22446 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest
22447 {
22448 sLOCNetworkInitiatedRequestIndication_SUPLRequest1 mLOCNetworkInitiatedRequestIndication_SUPLRequest1;
22449 sLOCNetworkInitiatedRequestIndication_SUPLRequest2 mLOCNetworkInitiatedRequestIndication_SUPLRequest2;
22450 sLOCNetworkInitiatedRequestIndication_SUPLRequest3 mLOCNetworkInitiatedRequestIndication_SUPLRequest3;
22451 sLOCNetworkInitiatedRequestIndication_SUPLRequest4 mLOCNetworkInitiatedRequestIndication_SUPLRequest4;
22452 };
22453
22454 // Structure to describe request TLV 0x12 for LOCNetworkInitiated()
22455 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1
22456 {
22457 bool mValidInvokeID:1;
22458 bool mValidDataCodingScheme:1;
22459 bool mValidNotificationText:1;
22460 bool mValidClientAddress:1;
22461 bool mValidLocationType:1;
22462 bool mValidRequestorID:1;
22463 bool mValidCodewordString:1;
22464 bool mValidServiceTypeMask:1;
22465 bool mValidUserResponseTImer:1;
22466
22467 // Padding out 7 bits
22468 UINT8 mReserved1:7;
22469
22470 UINT8 mInvokeID;
22471 eQMILOCDataCodingScheme mDataCodingScheme;
22472 UINT8 mNotificationTextLength;
22473
22474 // This array must be the size specified by mNotificationTextLength
22475 // UINT8 mNotificationText[1];
22476 };
22477
22478 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2
22479 {
22480 UINT8 mClientAddressLength;
22481
22482 // This array must be the size specified by mClientAddressLength
22483 // UINT8 mClientAddress[1];
22484 };
22485
22486 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3
22487 {
22488 eQMILOCLocationType mLocationType;
22489 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
22490 UINT8 mRequestorIDCodedStingLength;
22491
22492 // This array must be the size specified by mRequestorIDCodedStingLength
22493 // UINT8 mRequestorIDCodedString[1];
22494 };
22495
22496 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4
22497 {
22498 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
22499 UINT8 mCodewordStringCodedStringLength;
22500
22501 // This array must be the size specified by mCodewordStringCodedStringLength
22502 // UINT8 mCodewordStringCodedString[1];
22503 };
22504
22505 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5
22506 {
22507 UINT8 mServiceTypeID;
22508 UINT16 mUserResponseTimerSeconds;
22509 };
22510
22511 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest
22512 {
22513 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1;
22514 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2;
22515 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3;
22516 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4;
22517 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5;
22518 };
22519
22520 // Structure to describe request TLV 0x13 for LOCNetworkInitiated()
22521 struct sLOCNetworkInitiatedRequestIndication_ServiceInteractionRequest
22522 {
22523 INT8 mPositionQoSIncluded;
22524 UINT8 mPositionQoSTimeoutSeconds;
22525 UINT32 mMaxNumberOfFixes;
22526 UINT32 mTimeBetweenFixesSeconds;
22527 eQMILOCPositionMode mPosistionMode;
22528 eQMILOCEncodingScheme mEncodingScheme;
22529 UINT8 mRequestorIDLength;
22530 UINT8 mRequestorID;
22531 UINT16 mUserResponseTimerSeconds;
22532 eQMILOCServiceInteractionType mServiceInteractionType;
22533 };
22534
22535 // Structure to describe request TLV 0x14 for LOCNetworkInitiated()
22536 struct sLOCNetworkInitiatedRequestIndication_SUPLVersion2Extension
22537 {
22538 bool mWLAN:1;
22539 bool mGSM:1;
22540 bool mWCDMA:1;
22541 bool mCDMA:1;
22542 bool mHRDP:1;
22543 bool mUMB:1;
22544 bool mLTE:1;
22545 bool mWIMAX:1;
22546 bool mHISTORIC:1;
22547 bool mNONSVRV:1;
22548
22549 // Padding out 6 bits
22550 UINT8 mReserved1:6;
22551
22552 eQMILOCTriggerType mTriggerType;
22553 bool mGPS:1;
22554 bool mGLONASS:1;
22555 bool mGALILEO:1;
22556 bool mSBAS:1;
22557 bool mQZSS:1;
22558 bool mMODERNGPS:1;
22559
22560 // Padding out 10 bits
22561 UINT8 mReserved2:2;
22562 UINT8 mReserved3;
22563 };
22564
22565 // Structure to describe indication TLV 0x10 for LOC InjectTimeIndication
22566 struct sLOCInjectTimeIndication_TimeServerInfo
22567 {
22568 UINT32 mDelayThresholdMilliseconds;
22569 UINT8 mServerListLength;
22570
22571 struct sServer
22572 {
22573 UINT8 mServerURLLength;
22574
22575 // This array must be the size specified by mServerURLLength
22576 // char mServerURL[1];
22577 };
22578
22579 // This array must be the size specified by mServerListLength
22580 // sServer mServers[1];
22581 };
22582
22583 // Structure to describe indication TLV 0x01 for LOC InjectPredictedOrbitsIndication
22584 struct sLOCInjectPredictedOrbitsIndication_AllowedSize
22585 {
22586 UINT32 mMaximumFileSizeBytes;
22587 UINT32 mMaximumPartSizeBytes;
22588 };
22589
22590 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsIndication
22591 struct sLOCInjectPredictedOrbitsIndication_ServerList
22592 {
22593 UINT8 mServerListLength;
22594
22595 struct sServer
22596 {
22597 UINT8 mServerURLLength;
22598
22599 // This array must be the size specified by mServerURLLength
22600 // char mServerURL[1];
22601 };
22602
22603 // This array must be the size specified by mServerListLength
22604 // sServer mServers[1];
22605 };
22606
22607 // Structure to describe indication TLV 0x01 for LOC InjectPositionIndication
22608 struct sLOCInjectPositionIndication_Latitude
22609 {
22610 double mLatitudeDegrees;
22611 };
22612
22613 // Structure to describe indication TLV 0x03 for LOC InjectPositionIndication
22614 struct sLOCInjectPositionIndication_HorizontalUncertaintyCircular
22615 {
22616 float mHorizontalUncertaintyCircularMeters;
22617 };
22618
22619 // Structure to describe indication TLV 0x04 for LOC InjectPositionIndication
22620 struct sLOCInjectPositionIndication_UTCTimestamp
22621 {
22622 UINT64 mUTCTimestampMilliseconds;
22623 };
22624
22625 // Structure to describe indication TLV 0x01 for LOC EngineStateIndication
22626 struct sLOCEngineStateIndication_EngineState
22627 {
22628 eQMILOCEngineState mEngineState;
22629 };
22630
22631 // Structure to describe indication TLV 0x01 for LOC FixSessionStateIndication
22632 struct sLOCFixSessionStateIndication_SessionState
22633 {
22634 eQMILOCSessionState mSessionState;
22635 };
22636
22637 // Structure to describe indication TLV 0x10 for LOC FixSessionStateIndication
22638 struct sLOCFixSessionStateIndication_SessionID
22639 {
22640 UINT8 mSessionID;
22641 };
22642
22643 // Structure to describe request TLV 0x01 for LOCWiFi()
22644 struct sLOCWiFiRequestIndication_RequestType
22645 {
22646 eQMILOCRequestType mRequestType;
22647 };
22648
22649 // Structure to describe request TLV 0x10 for LOCWiFi()
22650 struct sLOCWiFiRequestIndication_TimeBetweenFixes
22651 {
22652 UINT16 mTimeBetweenFixesMilliseconds;
22653 };
22654
22655 // Structure to describe indication TLV 0x10 for LOC SensorStreamingReadyStatusIndication
22656 struct sLOCSensorStreamingReadyStatusIndication_AccelerometerReady
22657 {
22658 INT8 mReadyForInjection;
22659 UINT16 mSamplesPerBatch;
22660 UINT16 mBatchesPerSecond;
22661 };
22662
22663 // Structure to describe indication TLV 0x11 for LOC SensorStreamingReadyStatusIndication
22664 struct sLOCSensorStreamingReadyStatusIndication_GyrometerReady
22665 {
22666 INT8 mReadyForInjection;
22667 UINT16 mSamplesPerBatch;
22668 UINT16 mBatchesPerSecond;
22669 };
22670
22671 // Structure to describe request TLV 0x01 for LOCTimeSync()
22672 struct sLOCTimeSyncRequestIndication_ReferenceCounter
22673 {
22674 UINT32 mReferenceCounter;
22675 };
22676
22677 // Structure to describe indication TLV 0x01 for LOC SetSPIStreamingReportIndication
22678 struct sLOCSetSPIStreamingReportIndication_SPIRequests
22679 {
22680 INT8 mEnableSPIRequests;
22681 };
22682
22683 // Structure to describe request TLV 0x01 for LOCLocationServerConnection()
22684 struct sLOCLocationServerConnectionRequestIndication_ConnectionHandle
22685 {
22686 UINT32 mConnectionHandle;
22687 };
22688
22689 // Structure to describe request TLV 0x03 for LOCLocationServerConnection()
22690 struct sLOCLocationServerConnectionRequestIndication_WWANType
22691 {
22692 eQMILOCWWANType mWWANType;
22693 };
22694
22695 // Structure to describe indication TLV 0x10 for LOC GetServiceRevisionIndication
22696 struct sLOCGetServiceRevisionIndication_GNSSMeasurementEngineFirmwareVersion
22697 {
22698 // String is variable length, but must be size of the container
22699 // char mFirmwareVersion[1];
22700 };
22701
22702 // Structure to describe indication TLV 0x11 for LOC GetServiceRevisionIndication
22703 struct sLOCGetServiceRevisionIndication_GNSSHostedSoftwareVersion
22704 {
22705 // String is variable length, but must be size of the container
22706 // char mSoftwareVersion[1];
22707 };
22708
22709 // Structure to describe indication TLV 0x12 for LOC GetServiceRevisionIndication
22710 struct sLOCGetServiceRevisionIndication_GNSSSoftwareVersion
22711 {
22712 // String is variable length, but must be size of the container
22713 // char mSoftwareVersion[1];
22714 };
22715
22716 // Structure to describe indication TLV 0x10 for LOC GetFixCriteriaIndication
22717 struct sLOCGetFixCriteriaIndication_HorizontalAccuracy
22718 {
22719 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
22720 };
22721
22722 // Structure to describe indication TLV 0x11 for LOC GetFixCriteriaIndication
22723 struct sLOCGetFixCriteriaIndication_IntermediateFixes
22724 {
22725 eQMILOCIntermediateReportState mEnableIntermediateReports;
22726 };
22727
22728 // Structure to describe indication TLV 0x12 for LOC GetFixCriteriaIndication
22729 struct sLOCGetFixCriteriaIndication_MinimumIntervalBetweenFixes
22730 {
22731 UINT32 mMinimumTimeIntervalMilliseconds;
22732 };
22733
22734 // Structure to describe indication TLV 0x13 for LOC GetFixCriteriaIndication
22735 struct sLOCGetFixCriteriaIndication_ApplicationID1
22736 {
22737 UINT8 mApplicationProviderLength;
22738
22739 // This array must be the size specified by mApplicationProviderLength
22740 // char mApplicationProvider[1];
22741 };
22742
22743 struct sLOCGetFixCriteriaIndication_ApplicationID2
22744 {
22745 UINT8 mApplicationNameLength;
22746
22747 // This array must be the size specified by mApplicationNameLength
22748 // char mApplicationName[1];
22749 };
22750
22751 struct sLOCGetFixCriteriaIndication_ApplicationID3
22752 {
22753 INT8 mApplicationVersionValid;
22754 UINT8 mApplicationVersionLength;
22755
22756 // This array must be the size specified by mApplicationVersionLength
22757 // char mApplicationVersion[1];
22758 };
22759
22760 struct sLOCGetFixCriteriaIndication_ApplicationID
22761 {
22762 sLOCGetFixCriteriaIndication_ApplicationID1 mLOCGetFixCriteriaIndication_ApplicationID1;
22763 sLOCGetFixCriteriaIndication_ApplicationID2 mLOCGetFixCriteriaIndication_ApplicationID2;
22764 sLOCGetFixCriteriaIndication_ApplicationID3 mLOCGetFixCriteriaIndication_ApplicationID3;
22765 };
22766
22767 // Structure to describe request TLV 0x01 for LOCProvideNIUserResponse()
22768 struct sLOCProvideNIUserResponseRequest_UserResponse
22769 {
22770 eQMILOCUserResponse mUserResponse;
22771 };
22772
22773 // Structure to describe request TLV 0x10 for LOCProvideNIUserResponse()
22774 struct sLOCProvideNIUserResponseRequest_VxRequest1
22775 {
22776 INT8 mPositionQoSIncluded;
22777 UINT8 mPositionQoSTimeoutSeconds;
22778 UINT32 mMaxNumberOfFixes;
22779 UINT32 mTimeBetweenFixesSeconds;
22780 eQMILOCPositionMode mPosistionMode;
22781 eQMILOCEncodingScheme mEncodingScheme;
22782 UINT8 mRequestorIDLength;
22783
22784 // This array must be the size specified by mRequestorIDLength
22785 // UINT8 mRequestorID[1];
22786 };
22787
22788 struct sLOCProvideNIUserResponseRequest_VxRequest2
22789 {
22790 UINT16 mUserResponseTimerSeconds;
22791 };
22792
22793 struct sLOCProvideNIUserResponseRequest_VxRequest
22794 {
22795 sLOCProvideNIUserResponseRequest_VxRequest1 mLOCProvideNIUserResponseRequest_VxRequest1;
22796 sLOCProvideNIUserResponseRequest_VxRequest2 mLOCProvideNIUserResponseRequest_VxRequest2;
22797 };
22798
22799 // Structure to describe request TLV 0x11 for LOCProvideNIUserResponse()
22800 struct sLOCProvideNIUserResponseRequest_SUPLRequest1
22801 {
22802 bool mValidServerInfo:1;
22803 bool mValidSessionID:1;
22804 bool mValidHash:1;
22805 bool mValidPositionMethod:1;
22806 bool mValidDataCodingScheme:1;
22807 bool mValidRequestorID:1;
22808 bool mValidClientName:1;
22809 bool mValidQualityOfPosition:1;
22810 bool mValidUserResponseTimer:1;
22811
22812 // Padding out 23 bits
22813 UINT8 mReserved1:7;
22814 UINT8 mReserved2[2];
22815
22816 bool mIPv4:1;
22817 bool mIPv6:1;
22818 bool mURL:1;
22819
22820 // Padding out 5 bits
22821 UINT8 mReserved3:5;
22822
22823 UINT32 mIPv4Address;
22824 UINT16 mIPv4Port;
22825 UINT8 mIPv6Address[16];
22826 UINT32 mIPv6Port;
22827 UINT8 mURLAddressLength;
22828
22829 // This array must be the size specified by mURLAddressLength
22830 // char mURLAddress[1];
22831 };
22832
22833 struct sLOCProvideNIUserResponseRequest_SUPLRequest2
22834 {
22835 UINT8 mSUPLSessionID[4];
22836 UINT8 mSUPLHash[8];
22837 eQMILOCPosition mPositionMethod;
22838 eQMILOCDataCodingScheme mDataCodingScheme;
22839 eQMILOCFormatType mRequestorIDFormatType;
22840 UINT8 mRequestorIDFormattedStringLength;
22841
22842 // This array must be the size specified by mRequestorIDFormattedStringLength
22843 // UINT8 mRequestorIDFormattedString[1];
22844 };
22845
22846 struct sLOCProvideNIUserResponseRequest_SUPLRequest3
22847 {
22848 eQMILOCFormatType mClientNameFormatType;
22849 UINT8 mClientNameFormattedStringLength;
22850
22851 // This array must be the size specified by mClientNameFormattedStringLength
22852 // UINT8 mClientNameFormattedString[1];
22853 };
22854
22855 struct sLOCProvideNIUserResponseRequest_SUPLRequest4
22856 {
22857 bool mQoPHorizontalAccelerationValid:1;
22858 bool mQoPVerticalAccelerationValid:1;
22859 bool mQoPMaximumAge:1;
22860 bool mQoPDelayValid:1;
22861
22862 // Padding out 4 bits
22863 UINT8 mReserved4:4;
22864
22865 UINT8 mHorizontalAccuracyMeters;
22866 UINT8 mVerticalAccuracyMeters;
22867 UINT16 mMaximumLocationAgeSeconds;
22868 UINT8 mDelaySeconds;
22869 UINT16 mUserResponseTimerSeconds;
22870 };
22871
22872 struct sLOCProvideNIUserResponseRequest_SUPLRequest
22873 {
22874 sLOCProvideNIUserResponseRequest_SUPLRequest1 mLOCProvideNIUserResponseRequest_SUPLRequest1;
22875 sLOCProvideNIUserResponseRequest_SUPLRequest2 mLOCProvideNIUserResponseRequest_SUPLRequest2;
22876 sLOCProvideNIUserResponseRequest_SUPLRequest3 mLOCProvideNIUserResponseRequest_SUPLRequest3;
22877 sLOCProvideNIUserResponseRequest_SUPLRequest4 mLOCProvideNIUserResponseRequest_SUPLRequest4;
22878 };
22879
22880 // Structure to describe request TLV 0x12 for LOCProvideNIUserResponse()
22881 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1
22882 {
22883 bool mValidInvokeID:1;
22884 bool mValidDataCodingScheme:1;
22885 bool mValidNotificationText:1;
22886 bool mValidClientAddress:1;
22887 bool mValidLocationType:1;
22888 bool mValidRequestorID:1;
22889 bool mValidCodewordString:1;
22890 bool mValidServiceTypeMask:1;
22891 bool mValidUserResponseTImer:1;
22892
22893 // Padding out 7 bits
22894 UINT8 mReserved1:7;
22895
22896 UINT8 mInvokeID;
22897 eQMILOCDataCodingScheme mDataCodingScheme;
22898 UINT8 mNotificationTextLength;
22899
22900 // This array must be the size specified by mNotificationTextLength
22901 // UINT8 mNotificationText[1];
22902 };
22903
22904 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2
22905 {
22906 UINT8 mClientAddressLength;
22907
22908 // This array must be the size specified by mClientAddressLength
22909 // UINT8 mClientAddress[1];
22910 };
22911
22912 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3
22913 {
22914 eQMILOCLocationType mLocationType;
22915 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
22916 UINT8 mRequestorIDCodedStingLength;
22917
22918 // This array must be the size specified by mRequestorIDCodedStingLength
22919 // UINT8 mRequestorIDCodedString[1];
22920 };
22921
22922 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4
22923 {
22924 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
22925 UINT8 mCodewordStringCodedStringLength;
22926
22927 // This array must be the size specified by mCodewordStringCodedStringLength
22928 // UINT8 mCodewordStringCodedString[1];
22929 };
22930
22931 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5
22932 {
22933 UINT8 mServiceTypeID;
22934 UINT16 mUserResponseTimerSeconds;
22935 };
22936
22937 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest
22938 {
22939 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1;
22940 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2;
22941 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3;
22942 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4;
22943 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5;
22944 };
22945
22946 // Structure to describe request TLV 0x13 for LOCProvideNIUserResponse()
22947 struct sLOCProvideNIUserResponseRequest_ServiceInteractionRequest
22948 {
22949 INT8 mPositionQoSIncluded;
22950 UINT8 mPositionQoSTimeoutSeconds;
22951 UINT32 mMaxNumberOfFixes;
22952 UINT32 mTimeBetweenFixesSeconds;
22953 eQMILOCPositionMode mPosistionMode;
22954 eQMILOCEncodingScheme mEncodingScheme;
22955 UINT8 mRequestorIDLength;
22956 UINT8 mRequestorID;
22957 UINT16 mUserResponseTimerSeconds;
22958 eQMILOCServiceInteractionType mServiceInteractionType;
22959 };
22960
22961 // Structure to describe request TLV 0x14 for LOCProvideNIUserResponse()
22962 struct sLOCProvideNIUserResponseRequest_SUPLVersion2Extension
22963 {
22964 bool mWLAN:1;
22965 bool mGSM:1;
22966 bool mWCDMA:1;
22967 bool mCDMA:1;
22968 bool mHRDP:1;
22969 bool mUMB:1;
22970 bool mLTE:1;
22971 bool mWIMAX:1;
22972 bool mHISTORIC:1;
22973 bool mNONSVRV:1;
22974
22975 // Padding out 6 bits
22976 UINT8 mReserved1:6;
22977
22978 eQMILOCTriggerType mTriggerType;
22979 bool mGPS:1;
22980 bool mGLONASS:1;
22981 bool mGALILEO:1;
22982 bool mSBAS:1;
22983 bool mQZSS:1;
22984 bool mMODERNGPS:1;
22985
22986 // Padding out 10 bits
22987 UINT8 mReserved2:2;
22988 UINT8 mReserved3;
22989 };
22990
22991 // Structure to describe request TLV 0x01 for LOCInjectPredictedOrbitsData()
22992 struct sLOCInjectPredictedOrbitsDataRequest_TotalSize
22993 {
22994 UINT32 mTotalSize;
22995 };
22996
22997 // Structure to describe request TLV 0x03 for LOCInjectPredictedOrbitsData()
22998 struct sLOCInjectPredictedOrbitsDataRequest_PartNumber
22999 {
23000 UINT16 mPartNumber;
23001 };
23002
23003 // Structure to describe request TLV 0x04 for LOCInjectPredictedOrbitsData()
23004 struct sLOCInjectPredictedOrbitsDataRequest_PartData
23005 {
23006 UINT16 mPartDataLength;
23007
23008 // This array must be the size specified by mPartDataLength
23009 // UINT8 mPartData[1];
23010 };
23011
23012 // Structure to describe request TLV 0x10 for LOCInjectPredictedOrbitsData()
23013 struct sLOCInjectPredictedOrbitsDataRequest_FormatType
23014 {
23015 eQMILOCOrbitsFormatType mOrbitsFormatType;
23016 };
23017
23018 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsDataIndication
23019 struct sLOCInjectPredictedOrbitsDataIndication_PartNumber
23020 {
23021 UINT16 mPartNumber;
23022 };
23023
23024 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataSourceIndication
23025 struct sLOCGetPredictedOrbitsDataSourceIndication_AllowedSizes
23026 {
23027 UINT32 mMaximumFileSizeBytes;
23028 UINT32 mMaximumPartSizeBytes;
23029 };
23030
23031 // Structure to describe indication TLV 0x11 for LOC GetPredictedOrbitsDataSourceIndication
23032 struct sLOCGetPredictedOrbitsDataSourceIndication_ServerList
23033 {
23034 UINT8 mServerListLength;
23035
23036 struct sServer
23037 {
23038 UINT8 mServerURLLength;
23039
23040 // This array must be the size specified by mServerURLLength
23041 // char mServerURL[1];
23042 };
23043
23044 // This array must be the size specified by mServerListLength
23045 // sServer mServers[1];
23046 };
23047
23048 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataValidityIndication
23049 struct sLOCGetPredictedOrbitsDataValidityIndication_ValidityInfo
23050 {
23051 UINT64 mStartTimeInUTC;
23052 UINT16 mDurationHours;
23053 };
23054
23055 // Structure to describe request TLV 0x01 for LOCInjectUTCTime()
23056 struct sLOCInjectUTCTimeRequest_UTCTime
23057 {
23058 UINT64 mUTCTimestampMilliseconds;
23059 };
23060
23061 // Structure to describe request TLV 0x10 for LOCInjectPosition()
23062 struct sLOCInjectPositionRequest_Latitude
23063 {
23064 double mLatitudeDegrees;
23065 };
23066
23067 // Structure to describe request TLV 0x11 for LOCInjectPosition()
23068 struct sLOCInjectPositionRequest_Longitude
23069 {
23070 double mLongitudeDegrees;
23071 };
23072
23073 // Structure to describe request TLV 0x12 for LOCInjectPosition()
23074 struct sLOCInjectPositionRequest_HorizontalUncertaintyCircular
23075 {
23076 float mHorizontalUncertaintyCircularMeters;
23077 };
23078
23079 // Structure to describe request TLV 0x13 for LOCInjectPosition()
23080 struct sLOCInjectPositionRequest_HorizontalConfidence
23081 {
23082 UINT8 mHorizontalConfidencePercent;
23083 };
23084
23085 // Structure to describe request TLV 0x14 for LOCInjectPosition()
23086 struct sLOCInjectPositionRequest_HorizontalReliability
23087 {
23088 eQMILOCReliability mHorizontalReliability;
23089 };
23090
23091 // Structure to describe request TLV 0x15 for LOCInjectPosition()
23092 struct sLOCInjectPositionRequest_AltitudeFromEllipsoid
23093 {
23094 float mAltitudeFromEllipsoidMeters;
23095 };
23096
23097 // Structure to describe request TLV 0x16 for LOCInjectPosition()
23098 struct sLOCInjectPositionRequest_AltitudeFromSeaLevel
23099 {
23100 float mAltitudeFromSeaLevelMeters;
23101 };
23102
23103 // Structure to describe request TLV 0x17 for LOCInjectPosition()
23104 struct sLOCInjectPositionRequest_VerticalUncertainty
23105 {
23106 float mVerticalUncertaintyMeters;
23107 };
23108
23109 // Structure to describe request TLV 0x18 for LOCInjectPosition()
23110 struct sLOCInjectPositionRequest_VerticalConfidence
23111 {
23112 UINT8 mVerticalConfidencePercent;
23113 };
23114
23115 // Structure to describe request TLV 0x19 for LOCInjectPosition()
23116 struct sLOCInjectPositionRequest_VerticalReliability
23117 {
23118 eQMILOCReliability mVerticalReliability;
23119 };
23120
23121 // Structure to describe request TLV 0x1A for LOCInjectPosition()
23122 struct sLOCInjectPositionRequest_AltitudeSource
23123 {
23124 eQMILOCAltitudeSource mAltitudeSource;
23125 eQMILOCLinkage mLinkage;
23126 eQMILOCCoverage mCoverage;
23127 };
23128
23129 // Structure to describe request TLV 0x1B for LOCInjectPosition()
23130 struct sLOCInjectPositionRequest_UTCTimestamp
23131 {
23132 UINT64 mUTCTimestampMilliseconds;
23133 };
23134
23135 // Structure to describe request TLV 0x1C for LOCInjectPosition()
23136 struct sLOCInjectPositionRequest_PositionAge
23137 {
23138 UINT32 mAgeTimestampMilliseconds;
23139 };
23140
23141 // Structure to describe request TLV 0x1D for LOCInjectPosition()
23142 struct sLOCInjectPositionRequest_PositionSource
23143 {
23144 eQMILOCPositionSource mPositionSource;
23145 };
23146
23147 // Structure to describe request TLV 0x01 for LOCSetEngineLock()
23148 struct sLOCSetEngineLockRequest_LockType
23149 {
23150 eQMILOCLockType mLockType;
23151 };
23152
23153 // Structure to describe indication TLV 0x10 for LOC GetEngineLockIndication
23154 struct sLOCGetEngineLockIndication_LockType
23155 {
23156 eQMILOCLockType mLockType;
23157 };
23158
23159 // Structure to describe request TLV 0x01 for LOCSetSBASConfig()
23160 struct sLOCSetSBASConfigRequest_SBASConfig
23161 {
23162 INT8 mSBASEnabled;
23163 };
23164
23165 // Structure to describe response TLV 0x10 for LOCGetSBASConfig()
23166 struct sLOCGetSBASConfigResponse_SBASConfig
23167 {
23168 INT8 mSBASEnabled;
23169 };
23170
23171 // Structure to describe request TLV 0x01 for LOCSetNMEATypes()
23172 struct sLOCSetNMEATypesRequest_SentenceTypes
23173 {
23174 bool mGGASentence:1;
23175 bool mRMCSentence:1;
23176 bool mGSVSentence:1;
23177 bool mGSASentence:1;
23178 bool mVTGSentence:1;
23179 bool mPQXFISentence:1;
23180 bool mPSTISSentence:1;
23181
23182 // Padding out 25 bits
23183 UINT8 mReserved1:1;
23184 UINT8 mReserved2[3];
23185 };
23186
23187 // Structure to describe indication TLV 0x10 for LOC GetNMEATypesIndication
23188 struct sLOCGetNMEATypesIndication_SentenceType
23189 {
23190 bool mGGASentence:1;
23191 bool mRMCSentence:1;
23192 bool mGSVSentence:1;
23193 bool mGSASentence:1;
23194 bool mVTGSentence:1;
23195 bool mPQXFISentence:1;
23196 bool mPSTISSentence:1;
23197
23198 // Padding out 25 bits
23199 UINT8 mReserved1:1;
23200 UINT8 mReserved2[3];
23201 };
23202
23203 // Structure to describe request TLV 0x01 for LOCSetLowPowerMode()
23204 struct sLOCSetLowPowerModeRequest_EnableLPM
23205 {
23206 INT8 mEnableLowPowerMode;
23207 };
23208
23209 // Structure to describe indication TLV 0x10 for LOC GetLowPowerModeIndication
23210 struct sLOCGetLowPowerModeIndication_EnableLPM
23211 {
23212 INT8 mEnableLowPowerMode;
23213 };
23214
23215 // Structure to describe request TLV 0x01 for LOCSetLocationServer()
23216 struct sLOCSetLocationServerRequest_ServerType
23217 {
23218 eQMILOCLocationServerType mServerType;
23219 };
23220
23221 // Structure to describe request TLV 0x10 for LOCSetLocationServer()
23222 struct sLOCSetLocationServerRequest_IPv4Address
23223 {
23224 UINT32 mIPv4Address;
23225 UINT16 mIPv4Port;
23226 };
23227
23228 // Structure to describe request TLV 0x11 for LOCSetLocationServer()
23229 struct sLOCSetLocationServerRequest_IPv6Address
23230 {
23231 UINT8 mIPv6Address[16];
23232 UINT32 mIPv6Port;
23233 };
23234
23235 // Structure to describe request TLV 0x12 for LOCSetLocationServer()
23236 struct sLOCSetLocationServerRequest_URLAddress
23237 {
23238 // String is variable length, but must be size of the container
23239 // char mURLAddress[1];
23240 };
23241
23242 // Structure to describe request TLV 0x01 for LOCGetLocationServer()
23243 struct sLOCGetLocationServerRequest_ServerType
23244 {
23245 eQMILOCLocationServerType mServerType;
23246 };
23247
23248 // Structure to describe request TLV 0x10 for LOCGetLocationServer()
23249 struct sLOCGetLocationServerRequest_AddressType
23250 {
23251 bool mIPv4:1;
23252 bool mIPv6:1;
23253 bool mURL:1;
23254
23255 // Padding out 5 bits
23256 UINT8 mReserved1:5;
23257 };
23258
23259 // Structure to describe indication TLV 0x10 for LOC GetLocationServerIndication
23260 struct sLOCGetLocationServerIndication_IPv4Address
23261 {
23262 UINT32 mIPv4Address;
23263 UINT16 mIPv4Port;
23264 };
23265
23266 // Structure to describe indication TLV 0x11 for LOC GetLocationServerIndication
23267 struct sLOCGetLocationServerIndication_IPv6Address
23268 {
23269 UINT8 mIPv6Address[16];
23270 UINT32 mIPv6Port;
23271 };
23272
23273 // Structure to describe indication TLV 0x12 for LOC GetLocationServerIndication
23274 struct sLOCGetLocationServerIndication_URLAddress
23275 {
23276 // String is variable length, but must be size of the container
23277 // char mURLAddress[1];
23278 };
23279
23280 // Structure to describe request TLV 0x01 for LOCDeleteAssistData()
23281 struct sLOCDeleteAssistDataRequest_DeleteAll
23282 {
23283 INT8 mDeleteAll;
23284 };
23285
23286 // Structure to describe request TLV 0x10 for LOCDeleteAssistData()
23287 struct sLOCDeleteAssistDataRequest_DeleteSatelliteInfo
23288 {
23289 UINT8 mSatelliteInfoCount;
23290
23291 struct sSatelliteInfo
23292 {
23293 UINT16 mGNSSSatelliteID;
23294 eQMILOCSystem mSystem;
23295 bool mDeleteEphemeris:1;
23296 bool mDeleteAlmanac:1;
23297
23298 // Padding out 6 bits
23299 UINT8 mReserved1:6;
23300 };
23301
23302 // This array must be the size specified by mSatelliteInfoCount
23303 // sSatelliteInfo mSatelliteInfos[1];
23304 };
23305
23306 // Structure to describe request TLV 0x11 for LOCDeleteAssistData()
23307 struct sLOCDeleteAssistDataRequest_DeleteGNSData
23308 {
23309 bool mDeleteGPSSatelliteDirectory:1;
23310 bool mDeleteGPSSatelliteSteering:1;
23311 bool mDeleteGPSTime:1;
23312 bool mDeleteGPSAlmanacCorrection:1;
23313 bool mDeleteGLOSatelliteDirectory:1;
23314 bool mDeleteGLOSatelliteSteering:1;
23315 bool mDeleteGLOTime:1;
23316 bool mDeleteGLOAlmanacCorrection:1;
23317 bool mDeleteSBASSatelliteDirectory:1;
23318 bool mDeleteSBASSatelliteSteering:1;
23319 bool mDeletePosition:1;
23320 bool mDeleteTime:1;
23321 bool mDeleteIONO:1;
23322 bool mDeleteUTCTimestamp:1;
23323 bool mDeleteHealth:1;
23324 bool mDeleteSAData:1;
23325 bool mDeleteRTI:1;
23326 bool mDeleteSatelliteNoExist:1;
23327 bool mDeleteFrequencyBiasEstimate:1;
23328
23329 // Padding out 45 bits
23330 UINT8 mReserved1:5;
23331 UINT8 mReserved2[5];
23332 };
23333
23334 // Structure to describe request TLV 0x12 for LOCDeleteAssistData()
23335 struct sLOCDeleteAssistDataRequest_DeleteCellDatabase
23336 {
23337 bool mDeletePosition:1;
23338 bool mDeleteLatestGPSPosition:1;
23339 bool mDeleteOTAPosition:1;
23340 bool mDeleteEXTReferencePosition:1;
23341 bool mDeleteTimeTag:1;
23342 bool mDeleteCellID:1;
23343 bool mDeleteCachedCellID:1;
23344 bool mDeleteLastServerCell:1;
23345 bool mDeleteCurrentServerCell:1;
23346 bool mDeleteNeighborInfo:1;
23347
23348 // Padding out 22 bits
23349 UINT8 mReserved1:6;
23350 UINT8 mReserved2[2];
23351 };
23352
23353 // Structure to describe request TLV 0x13 for LOCDeleteAssistData()
23354 struct sLOCDeleteAssistDataRequest_DeleteClockInfo
23355 {
23356 bool mDeleteTimeEstimate:1;
23357 bool mDeleteFrequencyEstimate:1;
23358 bool mDeleteWeekNumber:1;
23359 bool mDeleteRTCTime:1;
23360 bool mDeleteTimeTransfer:1;
23361 bool mDeleteGPSTimeEstimate:1;
23362 bool mDeleteGLOTimeEstimate:1;
23363 bool mDeleteGLODayNumber:1;
23364 bool mDeleteGLOYearNumber:1;
23365 bool mDeleteGLORFGroupDelay:1;
23366 bool mDeleteDisableTT:1;
23367
23368 // Padding out 21 bits
23369 UINT8 mReserved1:5;
23370 UINT8 mReserved2[2];
23371 };
23372
23373 // Structure to describe request TLV 0x01 for LOCSetXTRATSessionControl()
23374 struct sLOCSetXTRATSessionControlRequest_EnableXTRAT
23375 {
23376 INT8 mEnableXTRAT;
23377 };
23378
23379 // Structure to describe indication TLV 0x10 for LOC GetXTRATSessionControlIndication
23380 struct sLOCGetXTRATSessionControlIndication_EnableXTRAT
23381 {
23382 INT8 mEnableXTRAT;
23383 };
23384
23385 // Structure to describe request TLV 0x10 for LOCInjectWiFiPosition()
23386 struct sLOCInjectWiFiPositionRequest_Time
23387 {
23388 UINT32 mWiFiPositionTime;
23389 };
23390
23391 // Structure to describe request TLV 0x11 for LOCInjectWiFiPosition()
23392 struct sLOCInjectWiFiPositionRequest_WiFiPosition
23393 {
23394 double mLatitudeDegrees;
23395 double mLongitudeDegrees;
23396 UINT16 mHEPEMeters;
23397 UINT8 mNumberOfAccessPointsUsed;
23398 eQMILOCWiFiFixErrorCode mFixErrorCode;
23399 };
23400
23401 // Structure to describe request TLV 0x12 for LOCInjectWiFiPosition()
23402 struct sLOCInjectWiFiPositionRequest_AccessPointInformation
23403 {
23404 UINT8 mNumberOfAccessPoints;
23405
23406 struct sAccessPointInfo
23407 {
23408 UINT8 mMACAddress[6];
23409 INT32 mRSSIdBm;
23410 UINT16 mChannel;
23411 bool mBeingUsed:1;
23412 bool mHiddenSSID:1;
23413 bool mPrivate:1;
23414 bool mInfrastructureMode:1;
23415
23416 // Padding out 4 bits
23417 UINT8 mReserved1:4;
23418 };
23419
23420 // This array must be the size specified by mNumberOfAccessPoints
23421 // sAccessPointInfo mAccessPointInfos[1];
23422 };
23423
23424 // Structure to describe request TLV 0x13 for LOCInjectWiFiPosition()
23425 struct sLOCInjectWiFiPositionRequest_HorizontalReliability
23426 {
23427 eQMILOCReliability mHorizontalReliability;
23428 };
23429
23430 // Structure to describe request TLV 0x01 for LOCProvideWiFiStatus()
23431 struct sLOCProvideWiFiStatusRequest_WiFiStatus
23432 {
23433 eQMILOCWiFiStatus mWiFiStatus;
23434 };
23435
23436 // Structure to describe indication TLV 0x10 for LOC GetRegisteredEventsIndication
23437 struct sLOCGetRegisteredEventsIndication_RegistrationMask
23438 {
23439 bool mPositionReport:1;
23440 bool mGNSSSatelliteInfo:1;
23441 bool mNMEA:1;
23442 bool mNINotifyVerifyRequest:1;
23443 bool mInjectTimeRequest:1;
23444 bool mInjectPredictedOrbitsRequest:1;
23445 bool mInjectPositionRequest:1;
23446 bool mEngineState:1;
23447 bool mFixSessionState:1;
23448 bool mWiFiRequest:1;
23449 bool mSensorStreamingReadyStatus:1;
23450 bool mTimeSyncRequest:1;
23451 bool mSetSPIStreamingReport:1;
23452 bool mLocationServerConnectionRequest:1;
23453 bool mNIGeofenceNotification:1;
23454 bool mGeofenceGeneralAlert:1;
23455 bool mGeofenceBreachNotification:1;
23456
23457 // Padding out 47 bits
23458 UINT8 mReserved1:7;
23459 UINT8 mReserved2[5];
23460 };
23461
23462 // Structure to describe request TLV 0x01 for LOCSetOperationMode()
23463 struct sLOCSetOperationModeRequest_OperationMode
23464 {
23465 eQMILOCOperationMode mOperationMode;
23466 };
23467
23468 // Structure to describe indication TLV 0x10 for LOC GetOperationModeIndication
23469 struct sLOCGetOperationModeIndication_OperationMode
23470 {
23471 eQMILOCOperationMode mOperationMode;
23472 };
23473
23474 // Structure to describe request TLV 0x01 for LOCSetSPIStatus()
23475 struct sLOCSetSPIStatusRequest_StationaryStatus
23476 {
23477 INT8 mDeviceIsStationary;
23478 };
23479
23480 // Structure to describe request TLV 0x10 for LOCSetSPIStatus()
23481 struct sLOCSetSPIStatusRequest_Confidence
23482 {
23483 UINT8 mStationaryConfidence;
23484 };
23485
23486 // Structure to describe request TLV 0x10 for LOCInjectSensorData()
23487 struct sLOCInjectSensorDataRequest_OpaqueIdentifier
23488 {
23489 UINT32 mOpaqueIdentifier;
23490 };
23491
23492 // Structure to describe request TLV 0x11 for LOCInjectSensorData()
23493 struct sLOCInjectSensorDataRequest_AccelerometerData
23494 {
23495 UINT32 mTimeOfFirstSampleMilliseconds;
23496 bool mSignReversal:1;
23497 bool mSensorTimeIsModemTime:1;
23498
23499 // Padding out 6 bits
23500 UINT8 mReserved1:6;
23501
23502 UINT8 mSensorDataLength;
23503
23504 struct sSensorData
23505 {
23506 UINT16 mTimeOffsetMilliseconds;
23507 float mXAxis;
23508 float mYAxis;
23509 float mZAxis;
23510 };
23511
23512 // This array must be the size specified by mSensorDataLength
23513 // sSensorData mSensorDatas[1];
23514 };
23515
23516 // Structure to describe request TLV 0x12 for LOCInjectSensorData()
23517 struct sLOCInjectSensorDataRequest_GyrometerData
23518 {
23519 UINT32 mTimeOfFirstSampleMilliseconds;
23520 bool mSignReversal:1;
23521 bool mSensorTimeIsModemTime:1;
23522
23523 // Padding out 6 bits
23524 UINT8 mReserved1:6;
23525
23526 UINT8 mSensorDataLength;
23527
23528 struct sSensorData
23529 {
23530 UINT16 mTimeOffsetMilliseconds;
23531 float mXAxis;
23532 float mYAxis;
23533 float mZAxis;
23534 };
23535
23536 // This array must be the size specified by mSensorDataLength
23537 // sSensorData mSensorDatas[1];
23538 };
23539
23540 // Structure to describe indication TLV 0x10 for LOC InjectSensorDataIndication
23541 struct sLOCInjectSensorDataIndication_OpaqueIdentifier
23542 {
23543 UINT32 mOpaqueIdentifier;
23544 };
23545
23546 // Structure to describe indication TLV 0x11 for LOC InjectSensorDataIndication
23547 struct sLOCInjectSensorDataIndication_AccelerometerSampleAccepted
23548 {
23549 INT8 mAccelerometerSampleAccepted;
23550 };
23551
23552 // Structure to describe indication TLV 0x12 for LOC InjectSensorDataIndication
23553 struct sLOCInjectSensorDataIndication_GyrometerSamplesAccepted
23554 {
23555 INT8 mGyrometerSamplesAccepted;
23556 };
23557
23558 // Structure to describe request TLV 0x01 for LOCInjectTimeSyncData()
23559 struct sLOCInjectTimeSyncDataRequest_ReferenceCounter
23560 {
23561 UINT32 mReferenceCounter;
23562 };
23563
23564 // Structure to describe request TLV 0x03 for LOCInjectTimeSyncData()
23565 struct sLOCInjectTimeSyncDataRequest_SensorTransmitTime
23566 {
23567 UINT32 mProcessTXTimeMilliseconds;
23568 };
23569
23570 // Structure to describe request TLV 0x01 for LOCSetCradleMountConfig()
23571 struct sLOCSetCradleMountConfigRequest_State
23572 {
23573 eQMILOCCradleMountState mCradleMountState;
23574 };
23575
23576 // Structure to describe request TLV 0x10 for LOCSetCradleMountConfig()
23577 struct sLOCSetCradleMountConfigRequest_Confidence
23578 {
23579 UINT8 mCradleMountConfidence;
23580 };
23581
23582 // Structure to describe indication TLV 0x10 for LOC GetCradleMountConfigIndication
23583 struct sLOCGetCradleMountConfigIndication_State
23584 {
23585 eQMILOCCradleMountState mCradleMountState;
23586 };
23587
23588 // Structure to describe indication TLV 0x11 for LOC GetCradleMountConfigIndication
23589 struct sLOCGetCradleMountConfigIndication_Confidence
23590 {
23591 UINT8 mCradleMountConfidence;
23592 };
23593
23594 // Structure to describe request TLV 0x01 for LOCSetExternalPowerConfig()
23595 struct sLOCSetExternalPowerConfigRequest_PowerState
23596 {
23597 eQMILOCPowerState mPowerState;
23598 };
23599
23600 // Structure to describe indication TLV 0x10 for LOC GetExternalPowerConfigIndication
23601 struct sLOCGetExternalPowerConfigIndication_PowerState
23602 {
23603 eQMILOCPowerState mPowerState;
23604 };
23605
23606 // Structure to describe request TLV 0x01 for LOCProvideConnectionStatus()
23607 struct sLOCProvideConnectionStatusRequest_ConnectionHandle
23608 {
23609 UINT32 mConnectionHandle;
23610 };
23611
23612 // Structure to describe request TLV 0x03 for LOCProvideConnectionStatus()
23613 struct sLOCProvideConnectionStatusRequest_ConnectionStatus
23614 {
23615 eQMILOCConnectionStatus mConnectionStatus;
23616 };
23617
23618 // Structure to describe request TLV 0x10 for LOCProvideConnectionStatus()
23619 struct sLOCProvideConnectionStatusRequest_APNProfile
23620 {
23621 eQMILOCPDNType mPDNType;
23622 UINT8 mAPNNameLength;
23623
23624 // This array must be the size specified by mAPNNameLength
23625 // char mAPNName[1];
23626 };
23627
23628 // Structure to describe request TLV 0x10 for LOCSetProtocolConfigParameters()
23629 struct sLOCSetProtocolConfigParametersRequest_SUPLSecurity
23630 {
23631 INT8 mSUPLSecurityEnabled;
23632 };
23633
23634 // Structure to describe request TLV 0x11 for LOCSetProtocolConfigParameters()
23635 struct sLOCSetProtocolConfigParametersRequest_VXVersion
23636 {
23637 eQMILOCVXVersion mVXVersion;
23638 };
23639
23640 // Structure to describe request TLV 0x12 for LOCSetProtocolConfigParameters()
23641 struct sLOCSetProtocolConfigParametersRequest_SUPLVersion
23642 {
23643 eQMILOCSUPLVersion mSUPLVersion;
23644 };
23645
23646 // Structure to describe request TLV 0x13 for LOCSetProtocolConfigParameters()
23647 struct sLOCSetProtocolConfigParametersRequest_LPPConfiguration
23648 {
23649 bool mEnableUserPlane:1;
23650 bool mEnableControlPlane:1;
23651
23652 // Padding out 30 bits
23653 UINT8 mReserved1:6;
23654 UINT8 mReserved2[3];
23655 };
23656
23657 // Structure to describe request TLV 0x14 for LOCSetProtocolConfigParameters()
23658 struct sLOCSetProtocolConfigParametersRequest_AssistedGLONASS
23659 {
23660 bool mRRCCP:1;
23661 bool mRRLPUP:1;
23662
23663 // Padding out 30 bits
23664 UINT8 mReserved1:6;
23665 UINT8 mReserved2[3];
23666 };
23667
23668 // Structure to describe indication TLV 0x10 for LOC SetProtocolConfigParametersIndication
23669 struct sLOCSetProtocolConfigParametersIndication_FailedParameters
23670 {
23671 bool mSUPLSecurity:1;
23672 bool mVXVersion:1;
23673 bool mSUPLVersion:1;
23674 bool mLLPConfiguration:1;
23675 bool mAssistedGLONASS:1;
23676
23677 // Padding out 59 bits
23678 UINT8 mReserved1:3;
23679 UINT8 mReserved2[7];
23680 };
23681
23682 // Structure to describe request TLV 0x01 for LOCGetProtocolConfigParameters()
23683 struct sLOCGetProtocolConfigParametersRequest_ConfigParameters
23684 {
23685 bool mSUPLSecurity:1;
23686 bool mVXVersion:1;
23687 bool mSUPLVersion:1;
23688 bool mLLPConfiguration:1;
23689 bool mAssistedGLONASS:1;
23690
23691 // Padding out 59 bits
23692 UINT8 mReserved1:3;
23693 UINT8 mReserved2[7];
23694 };
23695
23696 // Structure to describe indication TLV 0x10 for LOC GetProtocolConfigParametersIndication
23697 struct sLOCGetProtocolConfigParametersIndication_SUPLSecurity
23698 {
23699 INT8 mSUPLSecurityEnabled;
23700 };
23701
23702 // Structure to describe indication TLV 0x11 for LOC GetProtocolConfigParametersIndication
23703 struct sLOCGetProtocolConfigParametersIndication_VXVersion
23704 {
23705 eQMILOCVXVersion mVXVersion;
23706 };
23707
23708 // Structure to describe indication TLV 0x12 for LOC GetProtocolConfigParametersIndication
23709 struct sLOCGetProtocolConfigParametersIndication_SUPLVersion
23710 {
23711 eQMILOCSUPLVersion mSUPLVersion;
23712 };
23713
23714 // Structure to describe indication TLV 0x13 for LOC GetProtocolConfigParametersIndication
23715 struct sLOCGetProtocolConfigParametersIndication_LPPConfiguration
23716 {
23717 bool mEnableUserPlane:1;
23718 bool mEnableControlPlane:1;
23719
23720 // Padding out 30 bits
23721 UINT8 mReserved1:6;
23722 UINT8 mReserved2[3];
23723 };
23724
23725 // Structure to describe indication TLV 0x14 for LOC GetProtocolConfigParametersIndication
23726 struct sLOCGetProtocolConfigParametersIndication_AssistedGLONASS
23727 {
23728 bool mRRCCP:1;
23729 bool mRRLPUP:1;
23730
23731 // Padding out 30 bits
23732 UINT8 mReserved1:6;
23733 UINT8 mReserved2[3];
23734 };
23735
23736 // Structure to describe request TLV 0x10 for LOCSetSensorControlConfig()
23737 struct sLOCSetSensorControlConfigRequest_SensorUsage
23738 {
23739 eQMILOCSensorUsage mSensorUsage;
23740 };
23741
23742 // Structure to describe indication TLV 0x10 for LOC GetSensorControlConfigIndication
23743 struct sLOCGetSensorControlConfigIndication_SensorUsage
23744 {
23745 eQMILOCSensorUsage mSensorUsage;
23746 };
23747
23748 // Structure to describe request TLV 0x10 for LOCSetSensorProperties()
23749 struct sLOCSetSensorPropertiesRequest_GyroBiasVariance
23750 {
23751 float mGyroBiasVariance;
23752 };
23753
23754 // Structure to describe request TLV 0x11 for LOCSetSensorProperties()
23755 struct sLOCSetSensorPropertiesRequest_VelocityRWSD
23756 {
23757 float mVelocityRandomWalkSpectralDensity;
23758 };
23759
23760 // Structure to describe request TLV 0x12 for LOCSetSensorProperties()
23761 struct sLOCSetSensorPropertiesRequest_AccelerationRWSD
23762 {
23763 float mAccelerationRandomWalkSpectralDensity;
23764 };
23765
23766 // Structure to describe request TLV 0x13 for LOCSetSensorProperties()
23767 struct sLOCSetSensorPropertiesRequest_AngleRWSD
23768 {
23769 float mAngleRandomWalkSpectralDensity;
23770 };
23771
23772 // Structure to describe request TLV 0x14 for LOCSetSensorProperties()
23773 struct sLOCSetSensorPropertiesRequest_RateRWSD
23774 {
23775 float mRateRandomWalkSpectralDensity;
23776 };
23777
23778 // Structure to describe indication TLV 0x10 for LOC SetSensorPropertiesIndication
23779 struct sLOCSetSensorPropertiesIndication_Failures
23780 {
23781 bool mGyroBiasVariance:1;
23782 bool mVelocityRandomWalkSpectralDensity:1;
23783 bool mAccelerationRandomWalkSpectralDensity:1;
23784 bool mAngleRandomWalkSpectralDensity:1;
23785 bool mRateRandomWalkSpectralDensity:1;
23786
23787 // Padding out 27 bits
23788 UINT8 mReserved1:3;
23789 UINT8 mReserved2[3];
23790 };
23791
23792 // Structure to describe request TLV 0x01 for LOCGetSensorProperties()
23793 struct sLOCGetSensorPropertiesRequest_Properties
23794 {
23795 bool mGyroBiasVariance:1;
23796 bool mVelocityRandomWalkSpectralDensity:1;
23797 bool mAccelerationRandomWalkSpectralDensity:1;
23798 bool mAngleRandomWalkSpectralDensity:1;
23799 bool mRateRandomWalkSpectralDensity:1;
23800
23801 // Padding out 27 bits
23802 UINT8 mReserved1:3;
23803 UINT8 mReserved2[3];
23804 };
23805
23806 // Structure to describe indication TLV 0x10 for LOC GetSensorPropertiesIndication
23807 struct sLOCGetSensorPropertiesIndication_GyroBiasVariance
23808 {
23809 float mGyroBiasVariance;
23810 };
23811
23812 // Structure to describe indication TLV 0x11 for LOC GetSensorPropertiesIndication
23813 struct sLOCGetSensorPropertiesIndication_VelocityRWSD
23814 {
23815 float mVelocityRandomWalkSpectralDensity;
23816 };
23817
23818 // Structure to describe indication TLV 0x12 for LOC GetSensorPropertiesIndication
23819 struct sLOCGetSensorPropertiesIndication_AccelerationRWSD
23820 {
23821 float mAccelerationRandomWalkSpectralDensity;
23822 };
23823
23824 // Structure to describe indication TLV 0x13 for LOC GetSensorPropertiesIndication
23825 struct sLOCGetSensorPropertiesIndication_AngleRWSD
23826 {
23827 float mAngleRandomWalkSpectralDensity;
23828 };
23829
23830 // Structure to describe indication TLV 0x14 for LOC GetSensorPropertiesIndication
23831 struct sLOCGetSensorPropertiesIndication_RateRWSD
23832 {
23833 float mRateRandomWalkSpectralDensity;
23834 };
23835
23836 // Structure to describe request TLV 0x10 for LOCSetSensorPerformanceConfig()
23837 struct sLOCSetSensorPerformanceConfigRequest_ControlMode
23838 {
23839 eQMILOCControlMode mControlMode;
23840 };
23841
23842 // Structure to describe request TLV 0x11 for LOCSetSensorPerformanceConfig()
23843 struct sLOCSetSensorPerformanceConfigRequest_AccelerometerSampling
23844 {
23845 UINT16 mSamplesPerBatch;
23846 UINT16 mBatchesPerSecond;
23847 };
23848
23849 // Structure to describe request TLV 0x12 for LOCSetSensorPerformanceConfig()
23850 struct sLOCSetSensorPerformanceConfigRequest_GyrometerSampling
23851 {
23852 UINT16 mSamplesPerBatch;
23853 UINT16 mBatchesPerSecond;
23854 };
23855
23856 // Structure to describe request TLV 0x13 for LOCSetSensorPerformanceConfig()
23857 struct sLOCSetSensorPerformanceConfigRequest_AlgorithmConfig
23858 {
23859 bool mDisableINSPositioningFilter:1;
23860
23861 // Padding out 31 bits
23862 UINT8 mReserved1:7;
23863 UINT8 mReserved2[3];
23864 };
23865
23866 // Structure to describe request TLV 0x14 for LOCSetSensorPerformanceConfig()
23867 struct sLOCSetSensorPerformanceConfigRequest_HDRFAccelerometerSampling
23868 {
23869 UINT16 mSamplesPerBatch;
23870 UINT16 mBatchesPerSecond;
23871 };
23872
23873 // Structure to describe request TLV 0x15 for LOCSetSensorPerformanceConfig()
23874 struct sLOCSetSensorPerformanceConfigRequest_HDRFGyroscopeSampling
23875 {
23876 UINT16 mSamplesPerBatch;
23877 UINT16 mBatchesPerSecond;
23878 };
23879
23880 // Structure to describe indication TLV 0x10 for LOC SetSensorPerformanceConfigIndication
23881 struct sLOCSetSensorPerformanceConfigIndication_FailedConfiguration
23882 {
23883 bool mPerformanceMode:1;
23884 bool mAccelerometerSampling:1;
23885 bool mGyrometerSampling:1;
23886 bool mAlgorithmConfig:1;
23887 bool mHDRFAccelerometerSampling:1;
23888 bool mHDRFGyroscopeSampling:1;
23889
23890 // Padding out 26 bits
23891 UINT8 mReserved1:2;
23892 UINT8 mReserved2[3];
23893 };
23894
23895 // Structure to describe indication TLV 0x10 for LOC GetSensorPerformanceConfigIndication
23896 struct sLOCGetSensorPerformanceConfigIndication_ControlMode
23897 {
23898 eQMILOCControlMode mControlMode;
23899 };
23900
23901 // Structure to describe indication TLV 0x11 for LOC GetSensorPerformanceConfigIndication
23902 struct sLOCGetSensorPerformanceConfigIndication_AccelerometerSampling
23903 {
23904 UINT16 mSamplesPerBatch;
23905 UINT16 mBatchesPerSecond;
23906 };
23907
23908 // Structure to describe indication TLV 0x12 for LOC GetSensorPerformanceConfigIndication
23909 struct sLOCGetSensorPerformanceConfigIndication_GyrometerSampling
23910 {
23911 UINT16 mSamplesPerBatch;
23912 UINT16 mBatchesPerSecond;
23913 };
23914
23915 // Structure to describe indication TLV 0x13 for LOC GetSensorPerformanceConfigIndication
23916 struct sLOCGetSensorPerformanceConfigIndication_AlgorithmConfig
23917 {
23918 bool mDisableINSPositioningFilter:1;
23919
23920 // Padding out 31 bits
23921 UINT8 mReserved1:7;
23922 UINT8 mReserved2[3];
23923 };
23924
23925 // Structure to describe indication TLV 0x14 for LOC GetSensorPerformanceConfigIndication
23926 struct sLOCGetSensorPerformanceConfigIndication_HDRFAccelerometerSampling
23927 {
23928 UINT16 mSamplesPerBatch;
23929 UINT16 mBatchesPerSecond;
23930 };
23931
23932 // Structure to describe indication TLV 0x15 for LOC GetSensorPerformanceConfigIndication
23933 struct sLOCGetSensorPerformanceConfigIndication_HDRFGyroscopeSampling
23934 {
23935 UINT16 mSamplesPerBatch;
23936 UINT16 mBatchesPerSecond;
23937 };
23938
23939 // Structure to describe request TLV 0x01 for LOCInjectSUPLCertificate()
23940 struct sLOCInjectSUPLCertificateRequest_ID
23941 {
23942 UINT8 mSUPLCertificateID;
23943 };
23944
23945 // Structure to describe request TLV 0x10 for LOCDeleteSUPLCertificate()
23946 struct sLOCDeleteSUPLCertificateRequest_ID
23947 {
23948 UINT8 mSUPLCertificateID;
23949 };
23950
23951 // Structure to describe request TLV 0x10 for LOCSetPositionEngineConfig()
23952 struct sLOCSetPositionEngineConfigRequest_InjectedPosition
23953 {
23954 INT8 mUseInjectedPositionInCalculations;
23955 };
23956
23957 // Structure to describe request TLV 0x11 for LOCSetPositionEngineConfig()
23958 struct sLOCSetPositionEngineConfigRequest_FilterSVUsage
23959 {
23960 INT8 mFilterUsageOfSVs;
23961 };
23962
23963 // Structure to describe request TLV 0x12 for LOCSetPositionEngineConfig()
23964 struct sLOCSetPositionEngineConfigRequest_StoreAssistData
23965 {
23966 INT8 mStoreAssistanceData;
23967 };
23968
23969 // Structure to describe indication TLV 0x10 for LOC SetPositionEngineConfigIndication
23970 struct sLOCSetPositionEngineConfigIndication_FailedParameters
23971 {
23972 bool mInjectedPosition:1;
23973 bool mFilterSVUsage:1;
23974 bool mStoreAssistData:1;
23975
23976 // Padding out 29 bits
23977 UINT8 mReserved1:5;
23978 UINT8 mReserved2[3];
23979 };
23980
23981 // Structure to describe request TLV 0x01 for LOCGetPositionEngineConfig()
23982 struct sLOCGetPositionEngineConfigRequest_Parameters
23983 {
23984 bool mInjectedPosition:1;
23985 bool mFilterSVUsage:1;
23986 bool mStoreAssistData:1;
23987
23988 // Padding out 29 bits
23989 UINT8 mReserved1:5;
23990 UINT8 mReserved2[3];
23991 };
23992
23993 // Structure to describe indication TLV 0x10 for LOC GetPositionEngineConfigIndication
23994 struct sLOCGetPositionEngineConfigIndication_InjectedPosition
23995 {
23996 INT8 mUseInjectedPositionInCalculations;
23997 };
23998
23999 // Structure to describe indication TLV 0x11 for LOC GetPositionEngineConfigIndication
24000 struct sLOCGetPositionEngineConfigIndication_FilterSVUsage
24001 {
24002 INT8 mFilterUsageOfSVs;
24003 };
24004
24005 // Structure to describe indication TLV 0x12 for LOC GetPositionEngineConfigIndication
24006 struct sLOCGetPositionEngineConfigIndication_StoreAssistData
24007 {
24008 INT8 mStoreAssistanceData;
24009 };
24010
24011 // Structure to describe indication TLV 0x01 for LOC NetworkInitiatedGeofenceIndication
24012 struct sLOCNetworkInitiatedGeofenceIndication_GeofenceID
24013 {
24014 UINT32 mGeofenceID;
24015 };
24016
24017 // Structure to describe indication TLV 0x01 for LOC EventGeofenceGeneralAlertIndication
24018 struct sLOCEventGeofenceGeneralAlertIndication_GeofenceGeneralAlert
24019 {
24020 eQMILOCGeofenceGeneralAlert mGeofenceGeneralAlert;
24021 };
24022
24023 // Structure to describe indication TLV 0x01 for LOC EventGeofenceBreachIndication
24024 struct sLOCEventGeofenceBreachIndication_GeofenceID
24025 {
24026 UINT32 mGeofenceID;
24027 };
24028
24029 // Structure to describe indication TLV 0x10 for LOC EventGeofenceBreachIndication
24030 struct sLOCEventGeofenceBreachIndication_GeofencePosition
24031 {
24032 UINT64 mUTCTimestampMilliseconds;
24033 double mLatitudeDegrees;
24034 double mLongitudeDegrees;
24035 float mHorizontalUncertaintyEllipticalMinorMeters;
24036 float mHorizontalUncertaintyEllipticalMajorMeters;
24037 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
24038 INT8 mHorizontalSpeedValid;
24039 float mHorizontalSpeedMetersSecond;
24040 INT8 mAltitudeEllipsoidValid;
24041 float mAltitudeFromEllipsoidMeters;
24042 INT8 mVerticalUncertaintyValid;
24043 float mVerticalUncertaintyMeters;
24044 INT8 mVerticalSpeedValid;
24045 float mVerticalSpeedMetersSecond;
24046 INT8 mHeadingValid;
24047 float mHeadingDegrees;
24048 };
24049
24050 // Structure to describe request TLV 0x01 for LOCAddCircularGeofence()
24051 struct sLOCAddCircularGeofenceRequest_TransactionID
24052 {
24053 UINT32 mTransactionID;
24054 };
24055
24056 // Structure to describe request TLV 0x03 for LOCAddCircularGeofence()
24057 struct sLOCAddCircularGeofenceRequest_BreachEventMask
24058 {
24059 bool mEnteringGeofence:1;
24060 bool mLeavingGeofence:1;
24061
24062 // Padding out 6 bits
24063 UINT8 mReserved1:6;
24064 };
24065
24066 // Structure to describe request TLV 0x04 for LOCAddCircularGeofence()
24067 struct sLOCAddCircularGeofenceRequest_IncludePositionInBreachEvent
24068 {
24069 INT8 mIncludePositionInBreachEvent;
24070 };
24071
24072 // Structure to describe request TLV 0x10 for LOCAddCircularGeofence()
24073 struct sLOCAddCircularGeofenceRequest_Responsiveness
24074 {
24075 eQMILOCResponsiveness mResponsiveness;
24076 };
24077
24078 // Structure to describe request TLV 0x11 for LOCAddCircularGeofence()
24079 struct sLOCAddCircularGeofenceRequest_Confidence
24080 {
24081 eQMILOCConfidence mConfidence;
24082 };
24083
24084 // Structure to describe indication TLV 0x01 for LOC AddCircularGeofenceIndication
24085 struct sLOCAddCircularGeofenceIndication_GeofenceStatus
24086 {
24087 eQMILOCGeofenceStatus mGeofenceStatus;
24088 };
24089
24090 // Structure to describe indication TLV 0x10 for LOC AddCircularGeofenceIndication
24091 struct sLOCAddCircularGeofenceIndication_TransactionID
24092 {
24093 UINT32 mTransactionID;
24094 };
24095
24096 // Structure to describe indication TLV 0x11 for LOC AddCircularGeofenceIndication
24097 struct sLOCAddCircularGeofenceIndication_GeofenceID
24098 {
24099 UINT32 mGeofenceID;
24100 };
24101
24102 // Structure to describe request TLV 0x01 for LOCDeleteGeofence()
24103 struct sLOCDeleteGeofenceRequest_GeofenceID
24104 {
24105 UINT32 mGeofenceID;
24106 };
24107
24108 // Structure to describe indication TLV 0x01 for LOC DeleteGeofenceIndication
24109 struct sLOCDeleteGeofenceIndication_GeofenceStatus
24110 {
24111 eQMILOCGeofenceStatus mGeofenceStatus;
24112 };
24113
24114 // Structure to describe indication TLV 0x10 for LOC DeleteGeofenceIndication
24115 struct sLOCDeleteGeofenceIndication_GeofenceID
24116 {
24117 UINT32 mGeofenceID;
24118 };
24119
24120 // Structure to describe indication TLV 0x11 for LOC DeleteGeofenceIndication
24121 struct sLOCDeleteGeofenceIndication_TransactionID
24122 {
24123 UINT32 mTransactionID;
24124 };
24125
24126 // Structure to describe request TLV 0x01 for LOCQueryGeofence()
24127 struct sLOCQueryGeofenceRequest_GeofenceID
24128 {
24129 UINT32 mGeofenceID;
24130 };
24131
24132 // Structure to describe indication TLV 0x01 for LOC QueryGeofenceIndication
24133 struct sLOCQueryGeofenceIndication_Status
24134 {
24135 eQMILOCGeofenceStatus mGeofenceStatus;
24136 };
24137
24138 // Structure to describe indication TLV 0x10 for LOC QueryGeofenceIndication
24139 struct sLOCQueryGeofenceIndication_GeofenceID
24140 {
24141 UINT32 mGeofenceID;
24142 };
24143
24144 // Structure to describe indication TLV 0x11 for LOC QueryGeofenceIndication
24145 struct sLOCQueryGeofenceIndication_TransactionID
24146 {
24147 UINT32 mTransactionID;
24148 };
24149
24150 // Structure to describe indication TLV 0x12 for LOC QueryGeofenceIndication
24151 struct sLOCQueryGeofenceIndication_Origin
24152 {
24153 eQMILOCGeofenceOrigin mGeofenceOrigin;
24154 };
24155
24156 // Structure to describe indication TLV 0x13 for LOC QueryGeofenceIndication
24157 struct sLOCQueryGeofenceIndication_PositionFromGeofence
24158 {
24159 eQMILOCPositionFromGeofence mPositionFromGeofence;
24160 };
24161
24162 // Structure to describe indication TLV 0x14 for LOC QueryGeofenceIndication
24163 struct sLOCQueryGeofenceIndication_Parameters
24164 {
24165 double mLatitudeDegrees;
24166 double mLongitudeDegrees;
24167 UINT32 mRadiusMeters;
24168 };
24169
24170 // Structure to describe indication TLV 0x15 for LOC QueryGeofenceIndication
24171 struct sLOCQueryGeofenceIndication_State
24172 {
24173 eQMILOCGeofenceState mGeofenceState;
24174 };
24175
24176 // Structure to describe request TLV 0x01 for LOCEditGeofence()
24177 struct sLOCEditGeofenceRequest_GeofenceID
24178 {
24179 UINT32 mGeofenceID;
24180 };
24181
24182 // Structure to describe request TLV 0x10 for LOCEditGeofence()
24183 struct sLOCEditGeofenceRequest_State
24184 {
24185 eQMILOCGeofenceState mGeofenceState;
24186 };
24187
24188 // Structure to describe request TLV 0x11 for LOCEditGeofence()
24189 struct sLOCEditGeofenceRequest_BreachEventMask
24190 {
24191 bool mEnteringGeofence:1;
24192 bool mLeavingGeofence:1;
24193
24194 // Padding out 6 bits
24195 UINT8 mReserved1:6;
24196 };
24197
24198 // Structure to describe indication TLV 0x01 for LOC EditGeofenceIndication
24199 struct sLOCEditGeofenceIndication_Status
24200 {
24201 eQMILOCGeofenceStatus mGeofenceStatus;
24202 };
24203
24204 // Structure to describe indication TLV 0x10 for LOC EditGeofenceIndication
24205 struct sLOCEditGeofenceIndication_GeofenceID
24206 {
24207 UINT32 mGeofenceID;
24208 };
24209
24210 // Structure to describe indication TLV 0x11 for LOC EditGeofenceIndication
24211 struct sLOCEditGeofenceIndication_TransactionID
24212 {
24213 UINT32 mTransactionID;
24214 };
24215
24216 // Structure to describe indication TLV 0x12 for LOC EditGeofenceIndication
24217 struct sLOCEditGeofenceIndication_FailedParameters
24218 {
24219 bool mGeofenceState:1;
24220 bool mBreachMask:1;
24221
24222 // Padding out 30 bits
24223 UINT8 mReserved1:6;
24224 UINT8 mReserved2[3];
24225 };
24226
24227 // Structure to describe request TLV 0x01 for LOCGetBestAvailablePosition()
24228 struct sLOCGetBestAvailablePositionRequest_TransactionID
24229 {
24230 UINT32 mTransactionID;
24231 };
24232
24233 // Structure to describe indication TLV 0x01 for LOC GetBestAvailablePositionIndication
24234 struct sLOCGetBestAvailablePositionIndication_Status
24235 {
24236 eQMILOCGeofenceStatus mGeofenceStatus;
24237 };
24238
24239 // Structure to describe indication TLV 0x10 for LOC GetBestAvailablePositionIndication
24240 struct sLOCGetBestAvailablePositionIndication_TransactionID
24241 {
24242 UINT32 mTransactionID;
24243 };
24244
24245 // Structure to describe indication TLV 0x11 for LOC GetBestAvailablePositionIndication
24246 struct sLOCGetBestAvailablePositionIndication_Latitude
24247 {
24248 double mLatitudeDegrees;
24249 };
24250
24251 // Structure to describe indication TLV 0x12 for LOC GetBestAvailablePositionIndication
24252 struct sLOCGetBestAvailablePositionIndication_Longitude
24253 {
24254 double mLongitudeDegrees;
24255 };
24256
24257 // Structure to describe indication TLV 0x13 for LOC GetBestAvailablePositionIndication
24258 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyCircular
24259 {
24260 float mHorizontalUncertaintyCircularMeters;
24261 };
24262
24263 // Structure to describe indication TLV 0x14 for LOC GetBestAvailablePositionIndication
24264 struct sLOCGetBestAvailablePositionIndication_AltitudeFromEllipsoid
24265 {
24266 float mAltitudeFromEllipsoidMeters;
24267 };
24268
24269 // Structure to describe indication TLV 0x15 for LOC GetBestAvailablePositionIndication
24270 struct sLOCGetBestAvailablePositionIndication_VerticalUncertainty
24271 {
24272 float mVerticalUncertaintyMeters;
24273 };
24274
24275 // Structure to describe indication TLV 0x16 for LOC GetBestAvailablePositionIndication
24276 struct sLOCGetBestAvailablePositionIndication_UTCTimestamp
24277 {
24278 UINT64 mUTCTimestampMilliseconds;
24279 };
24280
24281 // Structure to describe indication TLV 0x17 for LOC GetBestAvailablePositionIndication
24282 struct sLOCGetBestAvailablePositionIndication_TimeUncertainty
24283 {
24284 float mTimeUncertaintyMilliseconds;
24285 };
24286
24287 // Structure to describe indication TLV 0x18 for LOC GetBestAvailablePositionIndication
24288 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalMinor
24289 {
24290 float mHorizontalUncertaintyEllipticalMinorMeters;
24291 };
24292
24293 // Structure to describe indication TLV 0x19 for LOC GetBestAvailablePositionIndication
24294 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalMajor
24295 {
24296 float mHorizontalUncertaintyEllipticalMajorMeters;
24297 };
24298
24299 // Structure to describe indication TLV 0x1A for LOC GetBestAvailablePositionIndication
24300 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalAzimuth
24301 {
24302 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
24303 };
24304
24305 // Structure to describe indication TLV 0x1B for LOC GetBestAvailablePositionIndication
24306 struct sLOCGetBestAvailablePositionIndication_HorizontalConfidenceCircular
24307 {
24308 UINT8 mHorizontalConfidencePercent;
24309 };
24310
24311 // Structure to describe indication TLV 0x1C for LOC GetBestAvailablePositionIndication
24312 struct sLOCGetBestAvailablePositionIndication_HorizontalConfidenceElliptical
24313 {
24314 UINT8 mHorizontalConfidencePercent;
24315 };
24316
24317 // Structure to describe indication TLV 0x1D for LOC GetBestAvailablePositionIndication
24318 struct sLOCGetBestAvailablePositionIndication_HorizontalReliablility
24319 {
24320 eQMILOCReliability mHorizontalReliability;
24321 };
24322
24323 // Structure to describe indication TLV 0x1E for LOC GetBestAvailablePositionIndication
24324 struct sLOCGetBestAvailablePositionIndication_HorizontalSpeed
24325 {
24326 float mHorizontalSpeedMetersSecond;
24327 };
24328
24329 // Structure to describe indication TLV 0x1F for LOC GetBestAvailablePositionIndication
24330 struct sLOCGetBestAvailablePositionIndication_HorizontalSpeedUncertainty
24331 {
24332 float mSpeedUncertaintyMetersSecond;
24333 };
24334
24335 // Structure to describe indication TLV 0x20 for LOC GetBestAvailablePositionIndication
24336 struct sLOCGetBestAvailablePositionIndication_AltitudeFromSeaLevel
24337 {
24338 float mAltitudeFromSeaLevelMeters;
24339 };
24340
24341 // Structure to describe indication TLV 0x21 for LOC GetBestAvailablePositionIndication
24342 struct sLOCGetBestAvailablePositionIndication_VerticalConfidence
24343 {
24344 UINT8 mVerticalConfidencePercent;
24345 };
24346
24347 // Structure to describe indication TLV 0x22 for LOC GetBestAvailablePositionIndication
24348 struct sLOCGetBestAvailablePositionIndication_VerticalReliability
24349 {
24350 eQMILOCReliability mVerticalReliability;
24351 };
24352
24353 // Structure to describe indication TLV 0x23 for LOC GetBestAvailablePositionIndication
24354 struct sLOCGetBestAvailablePositionIndication_VerticalSpeed
24355 {
24356 float mVerticalSpeedMetersSecond;
24357 };
24358
24359 // Structure to describe indication TLV 0x24 for LOC GetBestAvailablePositionIndication
24360 struct sLOCGetBestAvailablePositionIndication_VerticalSpeedUncertainty
24361 {
24362 float mSpeedUncertaintyMetersSecond;
24363 };
24364
24365 // Structure to describe indication TLV 0x25 for LOC GetBestAvailablePositionIndication
24366 struct sLOCGetBestAvailablePositionIndication_Heading
24367 {
24368 float mHeadingDegrees;
24369 };
24370
24371 // Structure to describe indication TLV 0x26 for LOC GetBestAvailablePositionIndication
24372 struct sLOCGetBestAvailablePositionIndication_HeadingUncertainty
24373 {
24374 float mHeadingUncertaintyDegrees;
24375 };
24376
24377 // Structure to describe indication TLV 0x27 for LOC GetBestAvailablePositionIndication
24378 struct sLOCGetBestAvailablePositionIndication_MagneticDeviation
24379 {
24380 float mMagneticDeviation;
24381 };
24382
24383 // Structure to describe indication TLV 0x28 for LOC GetBestAvailablePositionIndication
24384 struct sLOCGetBestAvailablePositionIndication_TechnologyUsed
24385 {
24386 bool mSatellite:1;
24387 bool mCellular:1;
24388 bool mWiFi:1;
24389 bool mSensors:1;
24390 bool mReferenceLocation:1;
24391 bool mInjectedPosition:1;
24392
24393 // Padding out 26 bits
24394 UINT8 mReserved1:2;
24395 UINT8 mReserved2[3];
24396 };
24397
24398 // Structure to describe indication TLV 0x29 for LOC GetBestAvailablePositionIndication
24399 struct sLOCGetBestAvailablePositionIndication_DilutionOfPrecision
24400 {
24401 float mPositionDilutionOfPrecision;
24402 float mHorizontalDilutionOfPrecision;
24403 float mVerticalDilutionOfPrecision;
24404 };
24405
24406 // Structure to describe indication TLV 0x2A for LOC GetBestAvailablePositionIndication
24407 struct sLOCGetBestAvailablePositionIndication_GPSTime
24408 {
24409 UINT16 mGPSWeeks;
24410 UINT32 mGPSTimeOfWeekMilliseconds;
24411 };
24412
24413 // Structure to describe indication TLV 0x2B for LOC GetBestAvailablePositionIndication
24414 struct sLOCGetBestAvailablePositionIndication_TimeSource
24415 {
24416 eQMILOCTimeSource mTimeSource;
24417 };
24418
24419 // Structure to describe indication TLV 0x2C for LOC GetBestAvailablePositionIndication
24420 struct sLOCGetBestAvailablePositionIndication_SensorDataUsage
24421 {
24422 bool mAccelerometerUsed:1;
24423 bool mGyroUsed:1;
24424
24425 // Padding out 30 bits
24426 UINT8 mReserved1:6;
24427 UINT8 mReserved2[3];
24428
24429 bool mAidedHeading:1;
24430 bool mAidedSpeed:1;
24431 bool mAidedPosition:1;
24432 bool mAidedVelocity:1;
24433
24434 // Padding out 28 bits
24435 UINT8 mReserved3:4;
24436 UINT8 mReserved4[3];
24437 };
24438
24439 // Structure to describe indication TLV 0x2D for LOC GetBestAvailablePositionIndication
24440 struct sLOCGetBestAvailablePositionIndication_SatellitesUsed
24441 {
24442 UINT8 mSatellitesUsedCount;
24443
24444 // This array must be the size specified by mSatellitesUsedCount
24445 // UINT16 mSatellitesUsed[1];
24446 };
24447
24448 // Structure to describe request TLV 0x01 for LOCInjectMotionData()
24449 struct sLOCInjectMotionDataRequest_MotionData
24450 {
24451 eQMILOCMotionStates mMotionState;
24452 eQMILOCMotionModes mMotionMode;
24453 float mProbabilityOfState;
24454 UINT16 mAgeMilliseconds;
24455 UINT16 mTimeoutMilliseconds;
24456 };
24457
24458 // Structure to describe indication TLV 0x01 for LOC InjectMotionDataIndication
24459 struct sLOCInjectMotionDataIndication_Status
24460 {
24461 eQMILOCGeofenceStatus mGeofenceStatus;
24462 };
24463
24464 // Structure to describe request TLV 0x01 for LOCGetNIGeofenceIDList()
24465 struct sLOCGetNIGeofenceIDListRequest_TransactionID
24466 {
24467 UINT32 mTransactionID;
24468 };
24469
24470 // Structure to describe indication TLV 0x01 for LOC GetNIGeofenceIDListIndication
24471 struct sLOCGetNIGeofenceIDListIndication_Status
24472 {
24473 eQMILOCGeofenceStatus mGeofenceStatus;
24474 };
24475
24476 // Structure to describe indication TLV 0x10 for LOC GetNIGeofenceIDListIndication
24477 struct sLOCGetNIGeofenceIDListIndication_TransactionID
24478 {
24479 UINT32 mTransactionID;
24480 };
24481
24482 // Structure to describe indication TLV 0x11 for LOC GetNIGeofenceIDListIndication
24483 struct sLOCGetNIGeofenceIDListIndication_GeofenceIDList
24484 {
24485 UINT8 mGeofenceIDCount;
24486
24487 // This array must be the size specified by mGeofenceIDCount
24488 // UINT32 mGeofenceID[1];
24489 };
24490
24491 // Structure to describe request TLV 0x01 for QCMAPEnable()
24492 struct sQCMAPEnableRequest_IPFamily
24493 {
24494 eQMIQCMAPIPFamilies mIPFamily;
24495 };
24496
24497 // Structure to describe request TLV 0x10 for QCMAPEnable()
24498 struct sQCMAPEnableRequest_IPAddress
24499 {
24500 UINT8 mSubnetMask[4];
24501 UINT8 mNATIPAddress[4];
24502 UINT8 mNATDNSAddress[4];
24503 UINT8 mUSBIPAddress[4];
24504 UINT8 mUSBGatewayAddress[4];
24505 UINT8 mApplicationsIPAddress[4];
24506 UINT8 mApplicationsGatewayAddress[4];
24507 };
24508
24509 // Structure to describe request TLV 0x11 for QCMAPEnable()
24510 struct sQCMAPEnableRequest_NetworkPolicy
24511 {
24512 bool m3GPP:1;
24513 bool m3GPP2:1;
24514
24515 // Padding out 62 bits
24516 UINT8 mReserved1:6;
24517 UINT8 mReserved2[7];
24518
24519 UINT8 m3GPP2ProfileID;
24520 UINT8 m3GPPProfileID;
24521 };
24522
24523 // Structure to describe response TLV 0x10 for QCMAPEnable()
24524 struct sQCMAPEnableResponse_Handle
24525 {
24526 UINT32 mMAPHandle;
24527 };
24528
24529 // Structure to describe request TLV 0x01 for QCMAPDisable()
24530 struct sQCMAPDisableRequest_Handle
24531 {
24532 UINT32 mMAPHandle;
24533 };
24534
24535 // Structure to describe request TLV 0x01 for QCMAPBringUpWWAN()
24536 struct sQCMAPBringUpWWANRequest_Handle
24537 {
24538 UINT32 mMAPHandle;
24539 };
24540
24541 // Structure to describe indication TLV 0x01 for QCMAP BringUpWWANIndication
24542 struct sQCMAPBringUpWWANIndication_Handle
24543 {
24544 UINT32 mMAPHandle;
24545 };
24546
24547 // Structure to describe request TLV 0x01 for QCMAPTearDownWWAN()
24548 struct sQCMAPTearDownWWANRequest_Handle
24549 {
24550 UINT32 mMAPHandle;
24551 };
24552
24553 // Structure to describe indication TLV 0x01 for QCMAP TearDownWWANIndication
24554 struct sQCMAPTearDownWWANIndication_Handle
24555 {
24556 UINT32 mMAPHandle;
24557 };
24558
24559 // Structure to describe request TLV 0x01 for QCMAPGetWWANStatus()
24560 struct sQCMAPGetWWANStatusRequest_Handle
24561 {
24562 UINT32 mMAPHandle;
24563 };
24564
24565 // Structure to describe response TLV 0x10 for QCMAPGetWWANStatus()
24566 struct sQCMAPGetWWANStatusResponse_CallEndReason
24567 {
24568 eQMIQCMAPCallEndReasons mCallEndReason;
24569 };
24570
24571 // Structure to describe response TLV 0x11 for QCMAPGetWWANStatus()
24572 struct sQCMAPGetWWANStatusResponse_VerboseCallEndReason
24573 {
24574 eQMIQCMAPVerboseCallEndReasons mVerboseCallEndReason;
24575 };
24576
24577 // Structure to describe response TLV 0x12 for QCMAPGetWWANStatus()
24578 struct sQCMAPGetWWANStatusResponse_PacketServiceStatus
24579 {
24580 eQMIQCMAPPacketServiceStatus mPacketServiceStatus;
24581 };
24582
24583 // Structure to describe request TLV 0x01 for QCMAPGetIPSecVPNPassthrough()
24584 struct sQCMAPGetIPSecVPNPassthroughRequest_Handle
24585 {
24586 UINT32 mMAPHandle;
24587 };
24588
24589 // Structure to describe response TLV 0x10 for QCMAPGetIPSecVPNPassthrough()
24590 struct sQCMAPGetIPSecVPNPassthroughResponse_Passthrough
24591 {
24592 INT8 mVPNPassthroughAllowed;
24593 };
24594
24595 // Structure to describe request TLV 0x01 for QCMAPSetIPSecVPNPassthrough()
24596 struct sQCMAPSetIPSecVPNPassthroughRequest_Handle
24597 {
24598 UINT32 mMAPHandle;
24599 };
24600
24601 // Structure to describe request TLV 0x01 for QCMAPGetPPTPVPNPassthrough()
24602 struct sQCMAPGetPPTPVPNPassthroughRequest_Handle
24603 {
24604 UINT32 mMAPHandle;
24605 };
24606
24607 // Structure to describe response TLV 0x10 for QCMAPGetPPTPVPNPassthrough()
24608 struct sQCMAPGetPPTPVPNPassthroughResponse_Passthrough
24609 {
24610 INT8 mVPNPassthroughAllowed;
24611 };
24612
24613 // Structure to describe request TLV 0x01 for QCMAPSetPPTPVPNPassthrough()
24614 struct sQCMAPSetPPTPVPNPassthroughRequest_Handle
24615 {
24616 UINT32 mMAPHandle;
24617 };
24618
24619 // Structure to describe request TLV 0x01 for QCMAPGetL2TPVPNPassthrough()
24620 struct sQCMAPGetL2TPVPNPassthroughRequest_Handle
24621 {
24622 UINT32 mMAPHandle;
24623 };
24624
24625 // Structure to describe response TLV 0x10 for QCMAPGetL2TPVPNPassthrough()
24626 struct sQCMAPGetL2TPVPNPassthroughResponse_Passthrough
24627 {
24628 INT8 mVPNPassthroughAllowed;
24629 };
24630
24631 // Structure to describe request TLV 0x01 for QCMAPSetL2TPVPNPassthrough()
24632 struct sQCMAPSetL2TPVPNPassthroughRequest_Handle
24633 {
24634 UINT32 mMAPHandle;
24635 };
24636
24637 // Structure to describe request TLV 0x01 for QCMAPGetDynamicNATEntryTimeout()
24638 struct sQCMAPGetDynamicNATEntryTimeoutRequest_Handle
24639 {
24640 UINT32 mMAPHandle;
24641 };
24642
24643 // Structure to describe response TLV 0x10 for QCMAPGetDynamicNATEntryTimeout()
24644 struct sQCMAPGetDynamicNATEntryTimeoutResponse_Timeout
24645 {
24646 UINT16 mTimeout;
24647 };
24648
24649 // Structure to describe request TLV 0x01 for QCMAPSetDynamicNATEntryTimeout()
24650 struct sQCMAPSetDynamicNATEntryTimeoutRequest_Handle
24651 {
24652 UINT32 mMAPHandle;
24653 };
24654
24655 // Structure to describe request TLV 0x01 for QCMAPAddStaticNATEntry()
24656 struct sQCMAPAddStaticNATEntryRequest_Handle
24657 {
24658 UINT32 mMAPHandle;
24659 };
24660
24661 // Structure to describe request TLV 0x01 for QCMAPDeleteStaticNATEntry()
24662 struct sQCMAPDeleteStaticNATEntryRequest_Handle
24663 {
24664 UINT32 mMAPHandle;
24665 };
24666
24667 // Structure to describe request TLV 0x01 for QCMAPGetStaticNATEntries()
24668 struct sQCMAPGetStaticNATEntriesRequest_Handle
24669 {
24670 UINT32 mMAPHandle;
24671 };
24672
24673 // Structure to describe response TLV 0x10 for QCMAPGetStaticNATEntries()
24674 struct sQCMAPGetStaticNATEntriesResponse_SNATEntries
24675 {
24676 UINT8 mSNATEntriesCount;
24677
24678 struct sSNATEntry
24679 {
24680 UINT8 mPrivateIPAddress[4];
24681 UINT16 mPrivatePort;
24682 UINT16 mGlobalPort;
24683 UINT8 mProtocol;
24684 };
24685
24686 // This array must be the size specified by mSNATEntriesCount
24687 // sSNATEntry mSNATEntrys[1];
24688 };
24689
24690 // Structure to describe request TLV 0x01 for QCMAPSetDMZ()
24691 struct sQCMAPSetDMZRequest_Handle
24692 {
24693 UINT32 mMAPHandle;
24694 };
24695
24696 // Structure to describe request TLV 0x01 for QCMAPDeleteDMZ()
24697 struct sQCMAPDeleteDMZRequest_Handle
24698 {
24699 UINT32 mMAPHandle;
24700 };
24701
24702 // Structure to describe request TLV 0x01 for QCMAPGetDMZ()
24703 struct sQCMAPGetDMZRequest_Handle
24704 {
24705 UINT32 mMAPHandle;
24706 };
24707
24708 // Structure to describe response TLV 0x10 for QCMAPGetDMZ()
24709 struct sQCMAPGetDMZResponse_DMZIPAddress
24710 {
24711 UINT8 mDMZIPAddress[4];
24712 };
24713
24714 // Structure to describe request TLV 0x01 for QCMAPGetWWANConfig()
24715 struct sQCMAPGetWWANConfigRequest_Handle
24716 {
24717 UINT32 mMAPHandle;
24718 };
24719
24720 // Structure to describe response TLV 0x10 for QCMAPGetWWANConfig()
24721 struct sQCMAPGetWWANConfigResponse_IPv4Address
24722 {
24723 UINT8 mIPv4Address[4];
24724 };
24725
24726 // Structure to describe response TLV 0x11 for QCMAPGetWWANConfig()
24727 struct sQCMAPGetWWANConfigResponse_IPv6Address
24728 {
24729 UINT16 mIPv6Address[8];
24730 };
24731
24732 // Structure to describe response TLV 0x12 for QCMAPGetWWANConfig()
24733 struct sQCMAPGetWWANConfigResponse_IPv4PrimaryDNSAddress
24734 {
24735 UINT8 mIPv4Address[4];
24736 };
24737
24738 // Structure to describe response TLV 0x13 for QCMAPGetWWANConfig()
24739 struct sQCMAPGetWWANConfigResponse_IPv4SecondaryDNSAddress
24740 {
24741 UINT8 mIPv4Address[4];
24742 };
24743
24744 // Structure to describe response TLV 0x14 for QCMAPGetWWANConfig()
24745 struct sQCMAPGetWWANConfigResponse_IPv6PrimaryDNSAddress
24746 {
24747 UINT16 mIPv6Address[8];
24748 };
24749
24750 // Structure to describe response TLV 0x15 for QCMAPGetWWANConfig()
24751 struct sQCMAPGetWWANConfigResponse_IPv6SecondaryDNSAddress
24752 {
24753 UINT16 mIPv6Address[8];
24754 };
24755
24756 // Structure to describe request TLV 0x01 for QCMAPEnableFirewallSetting()
24757 struct sQCMAPEnableFirewallSettingRequest_Handle
24758 {
24759 UINT32 mMAPHandle;
24760 };
24761
24762 // Structure to describe request TLV 0x01 for QCMAPGetFirewallSetting()
24763 struct sQCMAPGetFirewallSettingRequest_Handle
24764 {
24765 UINT32 mMAPHandle;
24766 };
24767
24768 // Structure to describe response TLV 0x10 for QCMAPGetFirewallSetting()
24769 struct sQCMAPGetFirewallSettingResponse_FirewallEnabled
24770 {
24771 INT8 mFirewallEnabled;
24772 };
24773
24774 // Structure to describe response TLV 0x11 for QCMAPGetFirewallSetting()
24775 struct sQCMAPGetFirewallSettingResponse_PacketsAllowed
24776 {
24777 INT8 mPacketsMatchingFirewallRuleAllowed;
24778 };
24779
24780 // Structure to describe request TLV 0x01 for QCMAPDisableFirewallSetting()
24781 struct sQCMAPDisableFirewallSettingRequest_Handle
24782 {
24783 UINT32 mMAPHandle;
24784 };
24785
24786 // Structure to describe request TLV 0x01 for QCMAPAddFirewallConfig()
24787 struct sQCMAPAddFirewallConfigRequest_Handle
24788 {
24789 UINT32 mMAPHandle;
24790 };
24791
24792 // Structure to describe response TLV 0x10 for QCMAPAddFirewallConfig()
24793 struct sQCMAPAddFirewallConfigResponse_FirewallHandle
24794 {
24795 UINT32 mFirewallHandle;
24796 };
24797
24798 // Structure to describe request TLV 0x01 for QCMAPGetFirewallConfig()
24799 struct sQCMAPGetFirewallConfigRequest_Handle
24800 {
24801 UINT32 mMAPHandle;
24802 };
24803
24804 // Structure to describe response TLV 0x10 for QCMAPGetFirewallConfig()
24805 struct sQCMAPGetFirewallConfigResponse_FirewallEntries
24806 {
24807 UINT8 mFirewallEntriesCount;
24808
24809 struct sFirewallEntry
24810 {
24811 UINT32 mFirewallHandle;
24812 UINT16 mStartingDestinationPort;
24813 UINT16 mEndingDestinationPort;
24814 UINT8 mProtocol;
24815 };
24816
24817 // This array must be the size specified by mFirewallEntriesCount
24818 // sFirewallEntry mFirewallEntrys[1];
24819 };
24820
24821 // Structure to describe request TLV 0x01 for QCMAPDeleteFirewallConfig()
24822 struct sQCMAPDeleteFirewallConfigRequest_Handle
24823 {
24824 UINT32 mMAPHandle;
24825 };
24826
24827 // Structure to describe request TLV 0x01 for QCMAPWWANStatusIndicationRegister()
24828 struct sQCMAPWWANStatusIndicationRegisterRequest_Handle
24829 {
24830 UINT32 mMAPHandle;
24831 };
24832
24833 // Structure to describe request TLV 0x01 for QCMAPStationModeEnable()
24834 struct sQCMAPStationModeEnableRequest_Handle
24835 {
24836 UINT32 mMAPHandle;
24837 };
24838
24839 // Structure to describe request TLV 0x01 for QCMAPStationModeDisable()
24840 struct sQCMAPStationModeDisableRequest_Handle
24841 {
24842 UINT32 mMAPHandle;
24843 };
24844
24845 // Structure to describe request TLV 0x01 for QCMAPGetStationMode()
24846 struct sQCMAPGetStationModeRequest_Handle
24847 {
24848 UINT32 mMAPHandle;
24849 };
24850
24851 // Structure to describe response TLV 0x10 for QCMAPGetStationMode()
24852 struct sQCMAPGetStationModeResponse_StationMode
24853 {
24854 INT8 mStationModeEnabled;
24855 };
24856
24857 // Structure to describe indication TLV 0x01 for QCMAP WWANStatusIndication
24858 struct sQCMAPWWANStatusIndication_Handle
24859 {
24860 UINT32 mMAPHandle;
24861 };
24862
24863 // Structure to describe indication TLV 0x03 for QCMAP WWANStatusIndication
24864 struct sQCMAPWWANStatusIndication_PacketServiceStatus
24865 {
24866 eQMIQCMAPPacketServiceStatus mPacketServiceStatus;
24867 };
24868
24869 // Structure to describe indication TLV 0x04 for QCMAP WWANStatusIndication
24870 struct sQCMAPWWANStatusIndication_ReconfigRequired
24871 {
24872 INT8 mReconfigurationRequired;
24873 };
24874
24875 // Structure to describe indication TLV 0x10 for QCMAP WWANStatusIndication
24876 struct sQCMAPWWANStatusIndication_CallEndReason
24877 {
24878 eQMIQCMAPCallEndReasons mCallEndReason;
24879 };
24880
24881 // Structure to describe indication TLV 0x11 for QCMAP WWANStatusIndication
24882 struct sQCMAPWWANStatusIndication_VerboseCallEndReason
24883 {
24884 eQMIQCMAPVerboseCallEndReasons mVerboseCallEndReason;
24885 };
24886
24887 // Structure to describe request TLV 0x01 for QCMAPAddExtendedFirewallConfig()
24888 struct sQCMAPAddExtendedFirewallConfigRequest_Handle
24889 {
24890 UINT32 mMAPHandle;
24891 };
24892
24893 // Structure to describe request TLV 0x10 for QCMAPAddExtendedFirewallConfig()
24894 struct sQCMAPAddExtendedFirewallConfigRequest_TCPUDPSource
24895 {
24896 UINT16 mPort;
24897 UINT16 mRange;
24898 };
24899
24900 // Structure to describe request TLV 0x11 for QCMAPAddExtendedFirewallConfig()
24901 struct sQCMAPAddExtendedFirewallConfigRequest_TCPUDPDestination
24902 {
24903 UINT16 mPort;
24904 UINT16 mRange;
24905 };
24906
24907 // Structure to describe request TLV 0x12 for QCMAPAddExtendedFirewallConfig()
24908 struct sQCMAPAddExtendedFirewallConfigRequest_ICMPType
24909 {
24910 UINT8 mICMPType;
24911 };
24912
24913 // Structure to describe request TLV 0x13 for QCMAPAddExtendedFirewallConfig()
24914 struct sQCMAPAddExtendedFirewallConfigRequest_ICMPCode
24915 {
24916 UINT8 mICMPCode;
24917 };
24918
24919 // Structure to describe request TLV 0x14 for QCMAPAddExtendedFirewallConfig()
24920 struct sQCMAPAddExtendedFirewallConfigRequest_ESPSPI
24921 {
24922 UINT32 mESPSPI;
24923 };
24924
24925 // Structure to describe request TLV 0x15 for QCMAPAddExtendedFirewallConfig()
24926 struct sQCMAPAddExtendedFirewallConfigRequest_IPv4SourceAddress
24927 {
24928 UINT8 mIPv4Address[4];
24929 UINT8 mSubnetMask[4];
24930 };
24931
24932 // Structure to describe request TLV 0x16 for QCMAPAddExtendedFirewallConfig()
24933 struct sQCMAPAddExtendedFirewallConfigRequest_IPv4DestinationAddress
24934 {
24935 UINT8 mIPv4Address[4];
24936 UINT8 mSubnetMask[4];
24937 };
24938
24939 // Structure to describe request TLV 0x17 for QCMAPAddExtendedFirewallConfig()
24940 struct sQCMAPAddExtendedFirewallConfigRequest_IPv4TOS
24941 {
24942 UINT8 mTOSValue;
24943 UINT8 mTOSMask;
24944 };
24945
24946 // Structure to describe request TLV 0x18 for QCMAPAddExtendedFirewallConfig()
24947 struct sQCMAPAddExtendedFirewallConfigRequest_IPv6SourceAddress
24948 {
24949 UINT16 mIPv6Address[8];
24950 UINT8 mPrefixLength;
24951 };
24952
24953 // Structure to describe request TLV 0x19 for QCMAPAddExtendedFirewallConfig()
24954 struct sQCMAPAddExtendedFirewallConfigRequest_IPv6DestinationAddress
24955 {
24956 UINT16 mIPv6Address[8];
24957 UINT8 mPrefixLength;
24958 };
24959
24960 // Structure to describe request TLV 0x1A for QCMAPAddExtendedFirewallConfig()
24961 struct sQCMAPAddExtendedFirewallConfigRequest_IPv6TrafficClass
24962 {
24963 UINT8 mTrafficClassValue;
24964 UINT8 mTrafficClassMask;
24965 };
24966
24967 // Structure to describe response TLV 0x10 for QCMAPAddExtendedFirewallConfig()
24968 struct sQCMAPAddExtendedFirewallConfigResponse_FirewallHandle
24969 {
24970 UINT32 mFirewallHandle;
24971 };
24972
24973 // Structure to describe request TLV 0x01 for QCMAPGetExtendedFirewallConfig()
24974 struct sQCMAPGetExtendedFirewallConfigRequest_Handle
24975 {
24976 UINT32 mMAPHandle;
24977 };
24978
24979 // Structure to describe response TLV 0x10 for QCMAPGetExtendedFirewallConfig()
24980 struct sQCMAPGetExtendedFirewallConfigResponse_NextHeaderProtocol
24981 {
24982 eQMIQCMAPNextHeaderProtocols mNextHeaderProtocol;
24983 };
24984
24985 // Structure to describe response TLV 0x11 for QCMAPGetExtendedFirewallConfig()
24986 struct sQCMAPGetExtendedFirewallConfigResponse_TCPUDPSource
24987 {
24988 UINT16 mPort;
24989 UINT16 mRange;
24990 };
24991
24992 // Structure to describe response TLV 0x12 for QCMAPGetExtendedFirewallConfig()
24993 struct sQCMAPGetExtendedFirewallConfigResponse_TCPUDPDestination
24994 {
24995 UINT16 mPort;
24996 UINT16 mRange;
24997 };
24998
24999 // Structure to describe response TLV 0x13 for QCMAPGetExtendedFirewallConfig()
25000 struct sQCMAPGetExtendedFirewallConfigResponse_ICMPType
25001 {
25002 UINT8 mICMPType;
25003 };
25004
25005 // Structure to describe response TLV 0x14 for QCMAPGetExtendedFirewallConfig()
25006 struct sQCMAPGetExtendedFirewallConfigResponse_ICMPCode
25007 {
25008 UINT8 mICMPCode;
25009 };
25010
25011 // Structure to describe response TLV 0x15 for QCMAPGetExtendedFirewallConfig()
25012 struct sQCMAPGetExtendedFirewallConfigResponse_ESPSPI
25013 {
25014 UINT32 mESPSPI;
25015 };
25016
25017 // Structure to describe response TLV 0x16 for QCMAPGetExtendedFirewallConfig()
25018 struct sQCMAPGetExtendedFirewallConfigResponse_IPv4SourceAddress
25019 {
25020 UINT8 mIPv4Address[4];
25021 UINT8 mSubnetMask[4];
25022 };
25023
25024 // Structure to describe response TLV 0x17 for QCMAPGetExtendedFirewallConfig()
25025 struct sQCMAPGetExtendedFirewallConfigResponse_IPv4DestinationAddress
25026 {
25027 UINT8 mIPv4Address[4];
25028 UINT8 mSubnetMask[4];
25029 };
25030
25031 // Structure to describe response TLV 0x18 for QCMAPGetExtendedFirewallConfig()
25032 struct sQCMAPGetExtendedFirewallConfigResponse_IPv4TOS
25033 {
25034 UINT8 mTOSValue;
25035 UINT8 mTOSMask;
25036 };
25037
25038 // Structure to describe response TLV 0x19 for QCMAPGetExtendedFirewallConfig()
25039 struct sQCMAPGetExtendedFirewallConfigResponse_IPv6SourceAddress
25040 {
25041 UINT16 mIPv6Address[8];
25042 UINT8 mPrefixLength;
25043 };
25044
25045 // Structure to describe response TLV 0x1A for QCMAPGetExtendedFirewallConfig()
25046 struct sQCMAPGetExtendedFirewallConfigResponse_IPv6DestinationAddress
25047 {
25048 UINT16 mIPv6Address[8];
25049 UINT8 mPrefixLength;
25050 };
25051
25052 // Structure to describe response TLV 0x1B for QCMAPGetExtendedFirewallConfig()
25053 struct sQCMAPGetExtendedFirewallConfigResponse_IPv6TrafficClass
25054 {
25055 UINT8 mTrafficClassValue;
25056 UINT8 mTrafficClassMask;
25057 };
25058
25059 // Structure to describe request TLV 0x01 for QCMAPGetFirewallHandles()
25060 struct sQCMAPGetFirewallHandlesRequest_Handle
25061 {
25062 UINT32 mMAPHandle;
25063 };
25064
25065 // Structure to describe response TLV 0x10 for QCMAPGetFirewallHandles()
25066 struct sQCMAPGetFirewallHandlesResponse_Handles
25067 {
25068 UINT8 mFirewallHandlesCount;
25069
25070 // This array must be the size specified by mFirewallHandlesCount
25071 // UINT32 mFirewallHandle[1];
25072 };
25073
25074 // Structure to describe request TLV 0x10 for PDCRegisterForIndications()
25075 struct sPDCRegisterForIndicationsRequest_Config
25076 {
25077 INT8 mEnableReporting;
25078 };
25079
25080 // Structure to describe indication TLV 0x01 for PDC ConfigChangeIndication
25081 struct sPDCConfigChangeIndication_Config
25082 {
25083 eQMIPDCConfigurations mConfigType;
25084 UINT8 mConfigIDLength;
25085
25086 // This array must be the size specified by mConfigIDLength
25087 // UINT8 mConfigID[1];
25088 };
25089
25090 // Structure to describe request TLV 0x01 for PDCGetSelectedConfig()
25091 struct sPDCGetSelectedConfigRequest_Type
25092 {
25093 eQMIPDCConfigurations mConfigType;
25094 };
25095
25096 // Structure to describe request TLV 0x10 for PDCGetSelectedConfig()
25097 struct sPDCGetSelectedConfigRequest_Token
25098 {
25099 UINT32 mToken;
25100 };
25101
25102 // Structure to describe indication TLV 0x01 for PDC GetSelectedConfigIndication
25103 struct sPDCGetSelectedConfigIndication_Error
25104 {
25105 eQMIErrors mQMIError;
25106 };
25107
25108 // Structure to describe indication TLV 0x10 for PDC GetSelectedConfigIndication
25109 struct sPDCGetSelectedConfigIndication_Token
25110 {
25111 UINT32 mToken;
25112 };
25113
25114 // Structure to describe indication TLV 0x11 for PDC GetSelectedConfigIndication
25115 struct sPDCGetSelectedConfigIndication_ActiveID
25116 {
25117 UINT8 mConfigIDLength;
25118
25119 // This array must be the size specified by mConfigIDLength
25120 // UINT8 mConfigID[1];
25121 };
25122
25123 // Structure to describe indication TLV 0x12 for PDC GetSelectedConfigIndication
25124 struct sPDCGetSelectedConfigIndication_PendingID
25125 {
25126 UINT8 mConfigIDLength;
25127
25128 // This array must be the size specified by mConfigIDLength
25129 // UINT8 mConfigID[1];
25130 };
25131
25132 // Structure to describe request TLV 0x01 for PDCSetSelectedConfig()
25133 struct sPDCSetSelectedConfigRequest_Config
25134 {
25135 eQMIPDCConfigurations mConfigType;
25136 UINT8 mConfigIDLength;
25137
25138 // This array must be the size specified by mConfigIDLength
25139 // UINT8 mConfigID[1];
25140 };
25141
25142 // Structure to describe request TLV 0x10 for PDCSetSelectedConfig()
25143 struct sPDCSetSelectedConfigRequest_Token
25144 {
25145 UINT32 mToken;
25146 };
25147
25148 // Structure to describe indication TLV 0x01 for PDC SetSelectedConfigIndication
25149 struct sPDCSetSelectedConfigIndication_Error
25150 {
25151 eQMIErrors mQMIError;
25152 };
25153
25154 // Structure to describe indication TLV 0x10 for PDC SetSelectedConfigIndication
25155 struct sPDCSetSelectedConfigIndication_Token
25156 {
25157 UINT32 mToken;
25158 };
25159
25160 // Structure to describe request TLV 0x10 for PDCListConfigs()
25161 struct sPDCListConfigsRequest_Token
25162 {
25163 UINT32 mToken;
25164 };
25165
25166 // Structure to describe request TLV 0x11 for PDCListConfigs()
25167 struct sPDCListConfigsRequest_Type
25168 {
25169 eQMIPDCConfigurations mConfigType;
25170 };
25171
25172 // Structure to describe indication TLV 0x01 for PDC ListConfigsIndication
25173 struct sPDCListConfigsIndication_Error
25174 {
25175 eQMIErrors mQMIError;
25176 };
25177
25178 // Structure to describe indication TLV 0x10 for PDC ListConfigsIndication
25179 struct sPDCListConfigsIndication_Token
25180 {
25181 UINT32 mToken;
25182 };
25183
25184 // Structure to describe indication TLV 0x11 for PDC ListConfigsIndication
25185 struct sPDCListConfigsIndication_List
25186 {
25187 UINT8 mConfigListLength;
25188
25189 struct sConfig
25190 {
25191 eQMIPDCConfigurations mConfigType;
25192 UINT8 mConfigIDLength;
25193
25194 // This array must be the size specified by mConfigIDLength
25195 // UINT8 mConfigID[1];
25196 };
25197
25198 // This array must be the size specified by mConfigListLength
25199 // sConfig mConfigs[1];
25200 };
25201
25202 // Structure to describe request TLV 0x01 for PDCDeleteConfig()
25203 struct sPDCDeleteConfigRequest_Type
25204 {
25205 eQMIPDCConfigurations mConfigType;
25206 };
25207
25208 // Structure to describe request TLV 0x10 for PDCDeleteConfig()
25209 struct sPDCDeleteConfigRequest_Token
25210 {
25211 UINT32 mToken;
25212 };
25213
25214 // Structure to describe request TLV 0x11 for PDCDeleteConfig()
25215 struct sPDCDeleteConfigRequest_ID
25216 {
25217 UINT8 mConfigIDLength;
25218
25219 // This array must be the size specified by mConfigIDLength
25220 // UINT8 mConfigID[1];
25221 };
25222
25223 // Structure to describe indication TLV 0x01 for PDC DeleteConfigIndication
25224 struct sPDCDeleteConfigIndication_Error
25225 {
25226 eQMIErrors mQMIError;
25227 };
25228
25229 // Structure to describe indication TLV 0x10 for PDC DeleteConfigIndication
25230 struct sPDCDeleteConfigIndication_Token
25231 {
25232 UINT32 mToken;
25233 };
25234
25235 // Structure to describe request TLV 0x01 for PDCLoadConfig()
25236 struct sPDCLoadConfigRequest_Frame1
25237 {
25238 eQMIPDCConfigurations mConfigType;
25239 UINT8 mConfigIDLength;
25240
25241 // This array must be the size specified by mConfigIDLength
25242 // UINT8 mConfigID[1];
25243 };
25244
25245 struct sPDCLoadConfigRequest_Frame2
25246 {
25247 UINT32 mTotalSize;
25248 UINT16 mFrameSize;
25249
25250 // This array must be the size specified by mFrameSize
25251 // UINT8 mFrame[1];
25252 };
25253
25254 struct sPDCLoadConfigRequest_Frame
25255 {
25256 sPDCLoadConfigRequest_Frame1 mPDCLoadConfigRequest_Frame1;
25257 sPDCLoadConfigRequest_Frame2 mPDCLoadConfigRequest_Frame2;
25258 };
25259
25260 // Structure to describe request TLV 0x10 for PDCLoadConfig()
25261 struct sPDCLoadConfigRequest_Token
25262 {
25263 UINT32 mToken;
25264 };
25265
25266 // Structure to describe response TLV 0x10 for PDCLoadConfig()
25267 struct sPDCLoadConfigResponse_Reset
25268 {
25269 INT8 mFrameReset;
25270 };
25271
25272 // Structure to describe indication TLV 0x01 for PDC LoadConfigIndication
25273 struct sPDCLoadConfigIndication_Error
25274 {
25275 eQMIErrors mQMIError;
25276 };
25277
25278 // Structure to describe indication TLV 0x10 for PDC LoadConfigIndication
25279 struct sPDCLoadConfigIndication_Token
25280 {
25281 UINT32 mToken;
25282 };
25283
25284 // Structure to describe indication TLV 0x11 for PDC LoadConfigIndication
25285 struct sPDCLoadConfigIndication_Received
25286 {
25287 UINT32 mReceivedSize;
25288 };
25289
25290 // Structure to describe indication TLV 0x12 for PDC LoadConfigIndication
25291 struct sPDCLoadConfigIndication_Remaining
25292 {
25293 UINT32 mRemainingSize;
25294 };
25295
25296 // Structure to describe indication TLV 0x13 for PDC LoadConfigIndication
25297 struct sPDCLoadConfigIndication_Reset
25298 {
25299 INT8 mFrameReset;
25300 };
25301
25302 // Structure to describe request TLV 0x01 for PDCActivateConfig()
25303 struct sPDCActivateConfigRequest_Type
25304 {
25305 eQMIPDCConfigurations mConfigType;
25306 };
25307
25308 // Structure to describe request TLV 0x10 for PDCActivateConfig()
25309 struct sPDCActivateConfigRequest_Token
25310 {
25311 UINT32 mToken;
25312 };
25313
25314 // Structure to describe indication TLV 0x01 for PDC ActivateConfigIndication
25315 struct sPDCActivateConfigIndication_Error
25316 {
25317 eQMIErrors mQMIError;
25318 };
25319
25320 // Structure to describe indication TLV 0x10 for PDC ActivateConfigIndication
25321 struct sPDCActivateConfigIndication_Token
25322 {
25323 UINT32 mToken;
25324 };
25325
25326 // Structure to describe request TLV 0x01 for PDCGetConfigInfo()
25327 struct sPDCGetConfigInfoRequest_Config
25328 {
25329 eQMIPDCConfigurations mConfigType;
25330 UINT8 mConfigIDLength;
25331
25332 // This array must be the size specified by mConfigIDLength
25333 // UINT8 mConfigID[1];
25334 };
25335
25336 // Structure to describe request TLV 0x10 for PDCGetConfigInfo()
25337 struct sPDCGetConfigInfoRequest_Token
25338 {
25339 UINT32 mToken;
25340 };
25341
25342 // Structure to describe indication TLV 0x01 for PDC GetConfigInfoIndication
25343 struct sPDCGetConfigInfoIndication_Error
25344 {
25345 eQMIErrors mQMIError;
25346 };
25347
25348 // Structure to describe indication TLV 0x10 for PDC GetConfigInfoIndication
25349 struct sPDCGetConfigInfoIndication_Token
25350 {
25351 UINT32 mToken;
25352 };
25353
25354 // Structure to describe indication TLV 0x11 for PDC GetConfigInfoIndication
25355 struct sPDCGetConfigInfoIndication_Size
25356 {
25357 UINT32 mTotalSize;
25358 };
25359
25360 // Structure to describe indication TLV 0x12 for PDC GetConfigInfoIndication
25361 struct sPDCGetConfigInfoIndication_Description
25362 {
25363 UINT8 mDescriptionLength;
25364
25365 // This array must be the size specified by mDescriptionLength
25366 // char mDescription[1];
25367 };
25368
25369 // Structure to describe request TLV 0x01 for PDCGetConfigLimits()
25370 struct sPDCGetConfigLimitsRequest_Type
25371 {
25372 eQMIPDCConfigurations mConfigType;
25373 };
25374
25375 // Structure to describe request TLV 0x10 for PDCGetConfigLimits()
25376 struct sPDCGetConfigLimitsRequest_Token
25377 {
25378 UINT32 mToken;
25379 };
25380
25381 // Structure to describe indication TLV 0x01 for PDC GetConfigLimitsIndication
25382 struct sPDCGetConfigLimitsIndication_Error
25383 {
25384 eQMIErrors mQMIError;
25385 };
25386
25387 // Structure to describe indication TLV 0x10 for PDC GetConfigLimitsIndication
25388 struct sPDCGetConfigLimitsIndication_Token
25389 {
25390 UINT32 mToken;
25391 };
25392
25393 // Structure to describe indication TLV 0x11 for PDC GetConfigLimitsIndication
25394 struct sPDCGetConfigLimitsIndication_MaximumSize
25395 {
25396 UINT64 mMaximumSize;
25397 };
25398
25399 // Structure to describe indication TLV 0x12 for PDC GetConfigLimitsIndication
25400 struct sPDCGetConfigLimitsIndication_CurrentSize
25401 {
25402 UINT64 mCurrentSize;
25403 };
25404
25405 // Structure to describe request TLV 0x10 for CATSetEventReport()
25406 struct sCATSetEventReportRequest_ReportMask
25407 {
25408 bool mDisplayText:1;
25409 bool mGetInkey:1;
25410 bool mGetInput:1;
25411 bool mSetupMenu:1;
25412 bool mSelectItem:1;
25413 bool mSendSMSAlphaIdentifier:1;
25414 bool mSetupEventUserActivity:1;
25415 bool mSetupEventIdleScreenNotify:1;
25416 bool mSetupEventLanguageSelNotify:1;
25417 bool mSetupIdleModeText:1;
25418 bool mLanguageNotification:1;
25419 bool mRefresh:1;
25420 bool mEndProactiveSession:1;
25421 bool mPlayTone:1;
25422 bool mSetupCall:1;
25423 bool mSendDTMF:1;
25424 bool mLaunchBrowser:1;
25425 bool mSendSS:1;
25426 bool mSendUSSD:1;
25427 bool mProvideLocalInformationLanguage:1;
25428 bool mBearerIndependentProtocol:1;
25429 bool mSetupEventBrowserTermination:1;
25430 bool mProvideLocalInformationTime:1;
25431 bool mActivate:1;
25432
25433 // Padding out 1 bits
25434 UINT8 mReserved1:1;
25435
25436 bool mSetupEventHCIConnectivity:1;
25437
25438 // Padding out 6 bits
25439 UINT8 mReserved2:6;
25440 };
25441
25442 // Structure to describe request TLV 0x11 for CATSetEventReport()
25443 struct sCATSetEventReportRequest_DecodeReportMask
25444 {
25445 bool mDisplayText:1;
25446 bool mGetInkey:1;
25447 bool mGetInput:1;
25448 bool mSetupMenu:1;
25449 bool mSelectItem:1;
25450 bool mSendSMSAlphaIdentifier:1;
25451 bool mSetupEventUserActivity:1;
25452 bool mSetupEventIdleScreenNotify:1;
25453 bool mSetupEventLanguageSelNotify:1;
25454 bool mSetupIdleModeText:1;
25455 bool mLanguageNotification:1;
25456
25457 // Padding out 1 bits
25458 UINT8 mReserved1:1;
25459
25460 bool mEndProactiveSession:1;
25461 bool mPlayTone:1;
25462 bool mSetupCall:1;
25463 bool mSendDTMF:1;
25464 bool mLaunchBrowser:1;
25465 bool mSendSS:1;
25466 bool mSendUSSD:1;
25467 bool mProvideLocalInformationLanguage:1;
25468 bool mBearerIndependentProtocol:1;
25469
25470 // Padding out 2 bits
25471 UINT8 mReserved2:2;
25472
25473 bool mSCWSEvent:1;
25474 bool mActivate:1;
25475 bool mSetupEventHCIConnectivity:1;
25476
25477 // Padding out 6 bits
25478 UINT8 mReserved3:6;
25479 };
25480
25481 // Structure to describe request TLV 0x12 for CATSetEventReport()
25482 struct sCATSetEventReportRequest_Slot
25483 {
25484 bool mSlot1:1;
25485 bool mSlot2:1;
25486
25487 // Padding out 6 bits
25488 UINT8 mReserved1:6;
25489 };
25490
25491 // Structure to describe response TLV 0x10 for CATSetEventReport()
25492 struct sCATSetEventReportResponse_RegStatusMask
25493 {
25494 bool mDisplayText:1;
25495 bool mGetInkey:1;
25496 bool mGetInput:1;
25497 bool mSetupMenu:1;
25498 bool mSelectItem:1;
25499 bool mSendSMSAlphaIdentifier:1;
25500 bool mSetupEventUserActivity:1;
25501 bool mSetupEventIdleScreenNotify:1;
25502 bool mSetupEventLanguageSelNotify:1;
25503 bool mSetupIdleModeText:1;
25504 bool mLanguageNotification:1;
25505 bool mRefresh:1;
25506 bool mEndProactiveSession:1;
25507 bool mPlayTone:1;
25508 bool mSetupCall:1;
25509 bool mSendDTMF:1;
25510 bool mLaunchBrowser:1;
25511 bool mSendSS:1;
25512 bool mSendUSSD:1;
25513 bool mProvideLocalInformationLanguage:1;
25514 bool mBearerIndependentProtocol:1;
25515 bool mSetupEventBrowserTermination:1;
25516 bool mProvideLocalInformationTime:1;
25517 bool mActivate:1;
25518
25519 // Padding out 1 bits
25520 UINT8 mReserved1:1;
25521
25522 bool mSetupEventHCIConnectivity:1;
25523
25524 // Padding out 6 bits
25525 UINT8 mReserved2:6;
25526 };
25527
25528 // Structure to describe response TLV 0x11 for CATSetEventReport()
25529 struct sCATSetEventReportResponse_DecodedRegStatusMask
25530 {
25531 bool mDisplayText:1;
25532 bool mGetInkey:1;
25533 bool mGetInput:1;
25534 bool mSetupMenu:1;
25535 bool mSelectItem:1;
25536 bool mSendSMSAlphaIdentifier:1;
25537 bool mSetupEventUserActivity:1;
25538 bool mSetupEventIdleScreenNotify:1;
25539 bool mSetupEventLanguageSelNotify:1;
25540 bool mSetupIdleModeText:1;
25541 bool mLanguageNotification:1;
25542
25543 // Padding out 1 bits
25544 UINT8 mReserved1:1;
25545
25546 bool mEndProactiveSession:1;
25547 bool mPlayTone:1;
25548 bool mSetupCall:1;
25549 bool mSendDTMF:1;
25550 bool mLaunchBrowser:1;
25551 bool mSendSS:1;
25552 bool mSendUSSD:1;
25553 bool mProvideLocalInformationLanguage:1;
25554 bool mBearerIndependentProtocol:1;
25555
25556 // Padding out 2 bits
25557 UINT8 mReserved2:2;
25558
25559 bool mSCWSEvent:1;
25560 bool mActivate:1;
25561 bool mSetupEventHCIConnectivity:1;
25562
25563 // Padding out 6 bits
25564 UINT8 mReserved3:6;
25565 };
25566
25567 // Structure to describe indication TLV 0x10 for CAT EventReport
25568 struct sCATEventReportIndication_DisplayTextEvent
25569 {
25570 UINT32 mReferenceID;
25571 UINT16 mCommandLength;
25572
25573 // This array must be the size specified by mCommandLength
25574 // UINT8 mDisplayTextCommand[1];
25575 };
25576
25577 // Structure to describe indication TLV 0x11 for CAT EventReport
25578 struct sCATEventReportIndication_GetInkeyEvent
25579 {
25580 UINT32 mReferenceID;
25581 UINT16 mCommandLength;
25582
25583 // This array must be the size specified by mCommandLength
25584 // UINT8 mGetInkeyCommand[1];
25585 };
25586
25587 // Structure to describe indication TLV 0x12 for CAT EventReport
25588 struct sCATEventReportIndication_GetInputEvent
25589 {
25590 UINT32 mReferenceID;
25591 UINT16 mCommandLength;
25592
25593 // This array must be the size specified by mCommandLength
25594 // UINT8 mGetInputCommand[1];
25595 };
25596
25597 // Structure to describe indication TLV 0x13 for CAT EventReport
25598 struct sCATEventReportIndication_SetupMenuEvent
25599 {
25600 UINT32 mReferenceID;
25601 UINT16 mCommandLength;
25602
25603 // This array must be the size specified by mCommandLength
25604 // UINT8 mSetupMenuCommand[1];
25605 };
25606
25607 // Structure to describe indication TLV 0x14 for CAT EventReport
25608 struct sCATEventReportIndication_SelectItemEvent
25609 {
25610 UINT32 mReferenceID;
25611 UINT16 mCommandLength;
25612
25613 // This array must be the size specified by mCommandLength
25614 // UINT8 mSelectItemCommand[1];
25615 };
25616
25617 // Structure to describe indication TLV 0x15 for CAT EventReport
25618 struct sCATEventReportIndication_AlphaIDAvailable
25619 {
25620 eQMICATAlphaIDCommandType mAlphaIDCommandType;
25621 UINT16 mAlphaIDLength;
25622
25623 // This array must be the size specified by mAlphaIDLength
25624 // UINT8 mAlphaID[1];
25625 };
25626
25627 // Structure to describe indication TLV 0x16 for CAT EventReport
25628 struct sCATEventReportIndication_SetupEventList
25629 {
25630 bool mUserActivityNotify:1;
25631 bool mIdleScreenAvailable:1;
25632 bool mLanguageSelectionNotify:1;
25633
25634 // Padding out 29 bits
25635 UINT8 mReserved1:5;
25636 UINT8 mReserved2[3];
25637 };
25638
25639 // Structure to describe indication TLV 0x17 for CAT EventReport
25640 struct sCATEventReportIndication_SetupIdleModeTextEvent
25641 {
25642 UINT32 mReferenceID;
25643 UINT16 mCommandLength;
25644
25645 // This array must be the size specified by mCommandLength
25646 // UINT8 mSetupIdleModeTextCommand[1];
25647 };
25648
25649 // Structure to describe indication TLV 0x18 for CAT EventReport
25650 struct sCATEventReportIndication_LanguageNotificationEvent
25651 {
25652 UINT32 mReferenceID;
25653 UINT16 mCommandLength;
25654
25655 // This array must be the size specified by mCommandLength
25656 // UINT8 mLanguageNotificationCommand[1];
25657 };
25658
25659 // Structure to describe indication TLV 0x19 for CAT EventReport
25660 struct sCATEventReportIndication_RefreshEvent
25661 {
25662 UINT16 mRefreshMode;
25663 eQMICATRefreshStage mRefreshStage;
25664 };
25665
25666 // Structure to describe indication TLV 0x1A for CAT EventReport
25667 struct sCATEventReportIndication_EndProactiveSession
25668 {
25669 eQMICATProactiveSessionEndType mProactiveSessionEndType;
25670 };
25671
25672 // Structure to describe indication TLV 0x1B for CAT EventReport
25673 struct sCATEventReportIndication_DecodedHeaderID
25674 {
25675 eQMICATCommandID mCommandID;
25676 UINT32 mReferenceID;
25677 UINT8 mCommandNumber;
25678 };
25679
25680 // Structure to describe indication TLV 0x1C for CAT EventReport
25681 struct sCATEventReportIndication_TextString
25682 {
25683 eQMICATDataCodingScheme mDataCodingScheme;
25684 UINT8 mTextDataLength;
25685
25686 // This array must be the size specified by mTextDataLength
25687 // UINT8 mTextData[1];
25688 };
25689
25690 // Structure to describe indication TLV 0x1D for CAT EventReport
25691 struct sCATEventReportIndication_HighPriority
25692 {
25693 eQMICATHighPriority mHighPriority;
25694 };
25695
25696 // Structure to describe indication TLV 0x1E for CAT EventReport
25697 struct sCATEventReportIndication_UserControl
25698 {
25699 eQMICATUserControl mUserControl;
25700 };
25701
25702 // Structure to describe indication TLV 0x1F for CAT EventReport
25703 struct sCATEventReportIndication_Icon
25704 {
25705 eQMICATIconQualifier mIconQualifier;
25706 UINT8 mHeight;
25707 UINT8 mWidth;
25708 eQMICATImageCodingScheme mImageCodingScheme;
25709 UINT8 mRecordNumber;
25710 UINT16 mIconDataLength;
25711
25712 // This array must be the size specified by mIconDataLength
25713 // UINT8 mIconData[1];
25714 };
25715
25716 // Structure to describe indication TLV 0x20 for CAT EventReport
25717 struct sCATEventReportIndication_Duration
25718 {
25719 eQMICATTimeUnits mUnits;
25720 UINT8 mInterval;
25721 };
25722
25723 // Structure to describe indication TLV 0x21 for CAT EventReport
25724 struct sCATEventReportIndication_ResponseFormat
25725 {
25726 eQMICATResponseFormat mResponseFormat;
25727 };
25728
25729 // Structure to describe indication TLV 0x22 for CAT EventReport
25730 struct sCATEventReportIndication_HelpAvailable
25731 {
25732 eQMICATHelpAvailable mHelpAvailable;
25733 };
25734
25735 // Structure to describe indication TLV 0x23 for CAT EventReport
25736 struct sCATEventReportIndication_ResponsePackingFormat
25737 {
25738 eQMICATResponsePackingFormat mResponsePackingFormat;
25739 };
25740
25741 // Structure to describe indication TLV 0x24 for CAT EventReport
25742 struct sCATEventReportIndication_ResponseLength
25743 {
25744 UINT8 mMaximumUserInput;
25745 UINT8 mMinimumUserInput;
25746 };
25747
25748 // Structure to describe indication TLV 0x25 for CAT EventReport
25749 struct sCATEventReportIndication_ShowUserInput
25750 {
25751 eQMICATShowUserInput mShowUserInput;
25752 };
25753
25754 // Structure to describe indication TLV 0x26 for CAT EventReport
25755 struct sCATEventReportIndication_Tone
25756 {
25757 eQMICATTone mTone;
25758 };
25759
25760 // Structure to describe indication TLV 0x27 for CAT EventReport
25761 struct sCATEventReportIndication_SoftkeySelection
25762 {
25763 eQMICATSoftkeySelection mSoftkeySelection;
25764 };
25765
25766 // Structure to describe indication TLV 0x28 for CAT EventReport
25767 struct sCATEventReportIndication_Items
25768 {
25769 UINT8 mItemsLength;
25770
25771 struct sItem
25772 {
25773 UINT8 mItemID;
25774 UINT8 mItemTextLength;
25775
25776 // This array must be the size specified by mItemTextLength
25777 // UINT8 mItemText[1];
25778 };
25779
25780 // This array must be the size specified by mItemsLength
25781 // sItem mItems[1];
25782 };
25783
25784 // Structure to describe indication TLV 0x29 for CAT EventReport
25785 struct sCATEventReportIndication_DefaultItem
25786 {
25787 UINT8 mDefaultItem;
25788 };
25789
25790 // Structure to describe indication TLV 0x2A for CAT EventReport
25791 struct sCATEventReportIndication_NextActionIdentifier
25792 {
25793 UINT8 mActionsLength;
25794
25795 // This array must be the size specified by mActionsLength
25796 // eQMICATNextAction mNextAction[1];
25797 };
25798
25799 // Structure to describe indication TLV 0x2B for CAT EventReport
25800 struct sCATEventReportIndication_IconIDList
25801 {
25802 eQMICATDisplayIconOnly mDisplayIconOnly;
25803 UINT8 mItemsLength;
25804
25805 struct sItem
25806 {
25807 eQMICATIconQualifier mIconQualifier;
25808 UINT8 mHeight;
25809 UINT8 mWidth;
25810 eQMICATImageCodingScheme mImageCodingScheme;
25811 UINT8 mRecordNumber;
25812 UINT16 mIconDataLength;
25813
25814 // This array must be the size specified by mIconDataLength
25815 // UINT8 mIconData[1];
25816 };
25817
25818 // This array must be the size specified by mItemsLength
25819 // sItem mItems[1];
25820 };
25821
25822 // Structure to describe indication TLV 0x2C for CAT EventReport
25823 struct sCATEventReportIndication_Presentation
25824 {
25825 eQMICATPresentation mPresentation;
25826 };
25827
25828 // Structure to describe indication TLV 0x2D for CAT EventReport
25829 struct sCATEventReportIndication_PackingRequired
25830 {
25831 eQMICATPackingRequired mPackingRequired;
25832 };
25833
25834 // Structure to describe indication TLV 0x2E for CAT EventReport
25835 struct sCATEventReportIndication_SMSTPDU
25836 {
25837 UINT8 mSMSTPDUDataLength;
25838
25839 // This array must be the size specified by mSMSTPDUDataLength
25840 // UINT8 mSMSTPDUData[1];
25841 };
25842
25843 // Structure to describe indication TLV 0x2F for CAT EventReport
25844 struct sCATEventReportIndication_IsCDMASMS
25845 {
25846 eQMICATIsCDMASMS mIsCDMASMS;
25847 };
25848
25849 // Structure to describe indication TLV 0x30 for CAT EventReport
25850 struct sCATEventReportIndication_Address
25851 {
25852 eQMICATAddressTON mAddressTON;
25853 eQMICATAddressNPI mAddressNPI;
25854 UINT8 mAddressDataLength;
25855
25856 // This array must be the size specified by mAddressDataLength
25857 // char mAddressData[1];
25858 };
25859
25860 // Structure to describe indication TLV 0x31 for CAT EventReport
25861 struct sCATEventReportIndication_CallSetupRequirement
25862 {
25863 eQMICATCallSetupRequirement mCallSetupRequirement;
25864 };
25865
25866 // Structure to describe indication TLV 0x32 for CAT EventReport
25867 struct sCATEventReportIndication_Redial
25868 {
25869 eQMICATRedialNecessary mRedialNecessary;
25870 eQMICATTimeUnits mUnits;
25871 UINT8 mInterval;
25872 };
25873
25874 // Structure to describe indication TLV 0x33 for CAT EventReport
25875 struct sCATEventReportIndication_Subaddress
25876 {
25877 UINT8 mSubaddressDataLength;
25878
25879 struct sSubaddressData
25880 {
25881 UINT8 mSubaddressData1:4;
25882 UINT8 mSubaddressData2:4;
25883 };
25884
25885 // This array must be the size specified by mSubaddressDataLength
25886 // sSubaddressData mSubaddressDatas[1];
25887 };
25888
25889 // Structure to describe indication TLV 0x34 for CAT EventReport
25890 struct sCATEventReportIndication_CapabilitiesConfiguration
25891 {
25892 UINT8 mCapabilitesConfigurationLength;
25893
25894 // This array must be the size specified by mCapabilitesConfigurationLength
25895 // UINT8 mCapabilitiesConfiguration[1];
25896 };
25897
25898 // Structure to describe indication TLV 0x35 for CAT EventReport
25899 struct sCATEventReportIndication_DTMF
25900 {
25901 UINT8 mDTMFDataLength;
25902
25903 struct sDTMFData
25904 {
25905 UINT8 mDTMFData1:4;
25906 UINT8 mDTMFData2:4;
25907 };
25908
25909 // This array must be the size specified by mDTMFDataLength
25910 // sDTMFData mDTMFDatas[1];
25911 };
25912
25913 // Structure to describe indication TLV 0x36 for CAT EventReport
25914 struct sCATEventReportIndication_SpecificLanguageNotification
25915 {
25916 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
25917 };
25918
25919 // Structure to describe indication TLV 0x37 for CAT EventReport
25920 struct sCATEventReportIndication_Language
25921 {
25922 char mLanguage[2];
25923 };
25924
25925 // Structure to describe indication TLV 0x38 for CAT EventReport
25926 struct sCATEventReportIndication_LaunchMode
25927 {
25928 eQMICATLaunchMode mLaunchMode;
25929 };
25930
25931 // Structure to describe indication TLV 0x39 for CAT EventReport
25932 struct sCATEventReportIndication_URL
25933 {
25934 UINT8 mURLDataLength;
25935
25936 // This array must be the size specified by mURLDataLength
25937 // char mURLData[1];
25938 };
25939
25940 // Structure to describe indication TLV 0x3A for CAT EventReport
25941 struct sCATEventReportIndication_BrowserID
25942 {
25943 UINT8 mBrowserID;
25944 };
25945
25946 // Structure to describe indication TLV 0x3B for CAT EventReport
25947 struct sCATEventReportIndication_BearerList
25948 {
25949 UINT8 mBearerListLength;
25950
25951 // This array must be the size specified by mBearerListLength
25952 // eQMICATBearer mBearerList[1];
25953 };
25954
25955 // Structure to describe indication TLV 0x3C for CAT EventReport
25956 struct sCATEventReportIndication_ProvisioningFile
25957 {
25958 UINT32 mNumberOfProvisioningFiles;
25959
25960 struct sFile
25961 {
25962 UINT8 mPathLength;
25963
25964 // This array must be the size specified by mPathLength
25965 // char mPath[1];
25966 };
25967
25968 // This array must be the size specified by mNumberOfProvisioningFiles
25969 // sFile mFiles[1];
25970 };
25971
25972 // Structure to describe indication TLV 0x3D for CAT EventReport
25973 struct sCATEventReportIndication_USSDString
25974 {
25975 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
25976 eQMICATUSSDDataCodingScheme mDataCodingScheme;
25977 UINT8 mUSSDTextLength;
25978
25979 // This array must be the size specified by mUSSDTextLength
25980 // UINT8 mUSSDText[1];
25981 };
25982
25983 // Structure to describe indication TLV 0x3E for CAT EventReport
25984 struct sCATEventReportIndication_DefaultText
25985 {
25986 eQMICATDataCodingScheme mDataCodingScheme;
25987 UINT8 mTextDataLength;
25988
25989 // This array must be the size specified by mTextDataLength
25990 // UINT8 mTextData[1];
25991 };
25992
25993 // Structure to describe indication TLV 0x3F for CAT EventReport
25994 struct sCATEventReportIndication_ImmediateResponseRequired
25995 {
25996 eQMICATImmediateResponse mImmediateResponse;
25997 };
25998
25999 // Structure to describe indication TLV 0x40 for CAT EventReport
26000 struct sCATEventReportIndication_UserConfirmationAlpha
26001 {
26002 eQMICATDataCodingScheme mDataCodingScheme;
26003 UINT8 mTextDataLength;
26004
26005 // This array must be the size specified by mTextDataLength
26006 // UINT8 mTextData[1];
26007 };
26008
26009 // Structure to describe indication TLV 0x41 for CAT EventReport
26010 struct sCATEventReportIndication_SetupCallDisplayAlpha
26011 {
26012 eQMICATDataCodingScheme mDataCodingScheme;
26013 UINT8 mTextDataLength;
26014
26015 // This array must be the size specified by mTextDataLength
26016 // UINT8 mTextData[1];
26017 };
26018
26019 // Structure to describe indication TLV 0x42 for CAT EventReport
26020 struct sCATEventReportIndication_UserConfirmationIcon
26021 {
26022 eQMICATIconQualifier mIconQualifier;
26023 UINT8 mHeight;
26024 UINT8 mWidth;
26025 eQMICATImageCodingScheme mImageCodingScheme;
26026 UINT8 mRecordNumber;
26027 UINT16 mIconDataLength;
26028
26029 // This array must be the size specified by mIconDataLength
26030 // UINT8 mIconData[1];
26031 };
26032
26033 // Structure to describe indication TLV 0x43 for CAT EventReport
26034 struct sCATEventReportIndication_SetupCallDisplayIcon
26035 {
26036 eQMICATIconQualifier mIconQualifier;
26037 UINT8 mHeight;
26038 UINT8 mWidth;
26039 eQMICATImageCodingScheme mImageCodingScheme;
26040 UINT8 mRecordNumber;
26041 UINT16 mIconDataLength;
26042
26043 // This array must be the size specified by mIconDataLength
26044 // UINT8 mIconData[1];
26045 };
26046
26047 // Structure to describe indication TLV 0x44 for CAT EventReport
26048 struct sCATEventReportIndication_GatewayProxy
26049 {
26050 eQMICATDataCodingScheme mDataCodingScheme;
26051 UINT8 mTextDataLength;
26052
26053 // This array must be the size specified by mTextDataLength
26054 // UINT8 mTextData[1];
26055 };
26056
26057 // Structure to describe indication TLV 0x45 for CAT EventReport
26058 struct sCATEventReportIndication_Alpha
26059 {
26060 eQMICATDataCodingScheme mDataCodingScheme;
26061 UINT8 mTextDataLength;
26062
26063 // This array must be the size specified by mTextDataLength
26064 // UINT8 mTextData[1];
26065 };
26066
26067 // Structure to describe indication TLV 0x46 for CAT EventReport
26068 struct sCATEventReportIndication_NotificationRequired
26069 {
26070 eQMICATNotificationRequired mNotificationRequired;
26071 };
26072
26073 // Structure to describe indication TLV 0x47 for CAT EventReport
26074 struct sCATEventReportIndication_PlayToneEvent
26075 {
26076 UINT32 mReferenceID;
26077 UINT16 mCommandLength;
26078
26079 // This array must be the size specified by mCommandLength
26080 // UINT8 mPlayToneCommand[1];
26081 };
26082
26083 // Structure to describe indication TLV 0x48 for CAT EventReport
26084 struct sCATEventReportIndication_SetupCallEvent
26085 {
26086 UINT32 mReferenceID;
26087 UINT16 mCommandLength;
26088
26089 // This array must be the size specified by mCommandLength
26090 // UINT8 mSetupCallCommand[1];
26091 };
26092
26093 // Structure to describe indication TLV 0x49 for CAT EventReport
26094 struct sCATEventReportIndication_SendDTMFEvent
26095 {
26096 UINT32 mReferenceID;
26097 UINT16 mCommandLength;
26098
26099 // This array must be the size specified by mCommandLength
26100 // UINT8 mSendDTMFCommand[1];
26101 };
26102
26103 // Structure to describe indication TLV 0x4A for CAT EventReport
26104 struct sCATEventReportIndication_LaunchBrowserEvent
26105 {
26106 UINT32 mReferenceID;
26107 UINT16 mCommandLength;
26108
26109 // This array must be the size specified by mCommandLength
26110 // UINT8 mLaunchBrowserCommand[1];
26111 };
26112
26113 // Structure to describe indication TLV 0x4B for CAT EventReport
26114 struct sCATEventReportIndication_SendSMSEvent
26115 {
26116 UINT32 mReferenceID;
26117 UINT16 mCommandLength;
26118
26119 // This array must be the size specified by mCommandLength
26120 // UINT8 mSendSMSCommand[1];
26121 };
26122
26123 // Structure to describe indication TLV 0x4C for CAT EventReport
26124 struct sCATEventReportIndication_SendSSEvent
26125 {
26126 UINT32 mReferenceID;
26127 UINT16 mCommandLength;
26128
26129 // This array must be the size specified by mCommandLength
26130 // UINT8 mSendSSCommand[1];
26131 };
26132
26133 // Structure to describe indication TLV 0x4D for CAT EventReport
26134 struct sCATEventReportIndication_SendUSSDEvent
26135 {
26136 UINT32 mReferenceID;
26137 UINT16 mCommandLength;
26138
26139 // This array must be the size specified by mCommandLength
26140 // UINT8 mSendUSSDCommand[1];
26141 };
26142
26143 // Structure to describe indication TLV 0x4E for CAT EventReport
26144 struct sCATEventReportIndication_ProvideLocalInformationEvent
26145 {
26146 UINT32 mReferenceID;
26147 UINT16 mCommandLength;
26148
26149 // This array must be the size specified by mCommandLength
26150 // UINT8 mProvideLocalInformationCommand[1];
26151 };
26152
26153 // Structure to describe indication TLV 0x4F for CAT EventReport
26154 struct sCATEventReportIndication_SetupRawEventList
26155 {
26156 UINT32 mReferenceID;
26157 UINT16 mCommandLength;
26158
26159 // This array must be the size specified by mCommandLength
26160 // UINT8 mSetupEventListCommand[1];
26161 };
26162
26163 // Structure to describe indication TLV 0x50 for CAT EventReport
26164 struct sCATEventReportIndication_Slot
26165 {
26166 eQMICATSlot mSlot;
26167 };
26168
26169 // Structure to describe indication TLV 0x51 for CAT EventReport
26170 struct sCATEventReportIndication_OpenChannelEvent
26171 {
26172 UINT32 mReferenceID;
26173 UINT16 mCommandLength;
26174
26175 // This array must be the size specified by mCommandLength
26176 // UINT8 mOpenChannelCommand[1];
26177 };
26178
26179 // Structure to describe indication TLV 0x52 for CAT EventReport
26180 struct sCATEventReportIndication_CloseChannelEvent
26181 {
26182 UINT32 mReferenceID;
26183 UINT16 mCommandLength;
26184
26185 // This array must be the size specified by mCommandLength
26186 // UINT8 mCloseChannelCommand[1];
26187 };
26188
26189 // Structure to describe indication TLV 0x53 for CAT EventReport
26190 struct sCATEventReportIndication_SendDataEvent
26191 {
26192 UINT32 mReferenceID;
26193 UINT16 mCommandLength;
26194
26195 // This array must be the size specified by mCommandLength
26196 // UINT8 mSendDataCommand[1];
26197 };
26198
26199 // Structure to describe indication TLV 0x54 for CAT EventReport
26200 struct sCATEventReportIndication_ReceiveDataEvent
26201 {
26202 UINT32 mReferenceID;
26203 UINT16 mCommandLength;
26204
26205 // This array must be the size specified by mCommandLength
26206 // UINT8 mReceiveDataCommand[1];
26207 };
26208
26209 // Structure to describe indication TLV 0x55 for CAT EventReport
26210 struct sCATEventReportIndication_OnDemmandLinkEstablish
26211 {
26212 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
26213 };
26214
26215 // Structure to describe indication TLV 0x56 for CAT EventReport
26216 struct sCATEventReportIndication_CSDBearerDescription
26217 {
26218 UINT8 mSpeed;
26219 eQMICATCSDBearerName mCSDBearerName;
26220 eQMICATConnectionElement mConnectionElement;
26221 };
26222
26223 // Structure to describe indication TLV 0x57 for CAT EventReport
26224 struct sCATEventReportIndication_GPRSBearerDescription
26225 {
26226 UINT8 mPrecedenceClass;
26227 UINT8 mDelayClass;
26228 UINT8 mReliabilityClass;
26229 UINT8 mPeakThroughput;
26230 UINT8 mMeanThroughput;
26231 eQMICATPacketDataProtocol mPacketDataProtocol;
26232 };
26233
26234 // Structure to describe indication TLV 0x58 for CAT EventReport
26235 struct sCATEventReportIndication_EUTRANExternalParameterBearerDescription
26236 {
26237 eQMICATTrafficClass mTrafficClass;
26238 UINT16 mMaxUploadBitrate;
26239 UINT16 mMaxDownloadBitrate;
26240 UINT16 mGuaranteedUploadBitrate;
26241 UINT16 mGuaranteedDownloadBitrate;
26242 eQMICATDeliveryOrder mDeliveryOrder;
26243 UINT8 mMaxSDUSize;
26244 UINT8 mMaxSDUErrorRatio;
26245 UINT8 mResidualBitErrorRatio;
26246 eQMICATDeliverErrorSDU mDeliverErrorSDU;
26247 UINT8 mTransferDelay;
26248 UINT8 mTrafficHandlingPRI;
26249 eQMICATPDPType mPDPType;
26250 };
26251
26252 // Structure to describe indication TLV 0x59 for CAT EventReport
26253 struct sCATEventReportIndication_EUTRANExternalMappedUTRANBearerDescription
26254 {
26255 UINT8 mQCI;
26256 UINT8 mMaxUploadBitrate;
26257 UINT8 mMaxDownloadBitrate;
26258 UINT8 mGuaranteedUploadBitrate;
26259 UINT8 mGuaranteedDownloadBitrate;
26260 UINT8 mMaximumUploadBitrateExt;
26261 UINT8 mMaximumDownloadBitrateExt;
26262 UINT8 mGuaranteedUploadBitrateExt;
26263 UINT8 mGuaranteedDownloadBitrateExt;
26264 eQMICATPDPType mPDPType;
26265 };
26266
26267 // Structure to describe indication TLV 0x5A for CAT EventReport
26268 struct sCATEventReportIndication_BufferSize
26269 {
26270 UINT16 mBufferSize;
26271 };
26272
26273 // Structure to describe indication TLV 0x5B for CAT EventReport
26274 struct sCATEventReportIndication_NetworkAccessName
26275 {
26276 UINT8 mNetworkAccessNameLength;
26277
26278 // This array must be the size specified by mNetworkAccessNameLength
26279 // UINT8 mNetworkAccessName[1];
26280 };
26281
26282 // Structure to describe indication TLV 0x5C for CAT EventReport
26283 struct sCATEventReportIndication_OtherAddress
26284 {
26285 eQMICATAddressType mAddressType;
26286 UINT8 mAddressDataLength;
26287
26288 // This array must be the size specified by mAddressDataLength
26289 // char mAddressData[1];
26290 };
26291
26292 // Structure to describe indication TLV 0x5D for CAT EventReport
26293 struct sCATEventReportIndication_UserLogin
26294 {
26295 eQMICATDataCodingScheme mDataCodingScheme;
26296 UINT8 mTextDataLength;
26297
26298 // This array must be the size specified by mTextDataLength
26299 // UINT8 mTextData[1];
26300 };
26301
26302 // Structure to describe indication TLV 0x5E for CAT EventReport
26303 struct sCATEventReportIndication_UserPassword
26304 {
26305 eQMICATDataCodingScheme mDataCodingScheme;
26306 UINT8 mTextDataLength;
26307
26308 // This array must be the size specified by mTextDataLength
26309 // UINT8 mTextData[1];
26310 };
26311
26312 // Structure to describe indication TLV 0x5F for CAT EventReport
26313 struct sCATEventReportIndication_TransportLevel
26314 {
26315 eQMICATTransportProtocol mTransportProtocol;
26316 UINT16 mPortNumber;
26317 };
26318
26319 // Structure to describe indication TLV 0x60 for CAT EventReport
26320 struct sCATEventReportIndication_DataDestinationAddress
26321 {
26322 eQMICATAddressType mAddressType;
26323 UINT8 mAddressDataLength;
26324
26325 // This array must be the size specified by mAddressDataLength
26326 // char mAddressData[1];
26327 };
26328
26329 // Structure to describe indication TLV 0x61 for CAT EventReport
26330 struct sCATEventReportIndication_ChannelDataLength
26331 {
26332 UINT8 mChannelDataLength;
26333 };
26334
26335 // Structure to describe indication TLV 0x62 for CAT EventReport
26336 struct sCATEventReportIndication_SendDataImmediately
26337 {
26338 eQMICATSendDataImmediately mSendDataImmediately;
26339 };
26340
26341 // Structure to describe indication TLV 0x63 for CAT EventReport
26342 struct sCATEventReportIndication_ChannelData
26343 {
26344 UINT16 mChannelDataLength;
26345
26346 // This array must be the size specified by mChannelDataLength
26347 // UINT8 mChannelData[1];
26348 };
26349
26350 // Structure to describe indication TLV 0x64 for CAT EventReport
26351 struct sCATEventReportIndication_ChannelID
26352 {
26353 UINT8 mChannelID;
26354 };
26355
26356 // Structure to describe indication TLV 0x65 for CAT EventReport
26357 struct sCATEventReportIndication_ItemsWithDCS
26358 {
26359 UINT8 mItemsLength;
26360
26361 struct sItem
26362 {
26363 UINT8 mItemID;
26364 eQMICATDataCodingScheme mDataCodingScheme;
26365 UINT8 mItemTextLength;
26366
26367 // This array must be the size specified by mItemTextLength
26368 // UINT8 mItemText[1];
26369 };
26370
26371 // This array must be the size specified by mItemsLength
26372 // sItem mItems[1];
26373 };
26374
26375 // Structure to describe indication TLV 0x66 for CAT EventReport
26376 struct sCATEventReportIndication_Activate
26377 {
26378 UINT32 mReferenceID;
26379 UINT16 mActivateLength;
26380
26381 // This array must be the size specified by mActivateLength
26382 // UINT8 mActivate[1];
26383 };
26384
26385 // Structure to describe indication TLV 0x67 for CAT EventReport
26386 struct sCATEventReportIndication_ActivateTarget
26387 {
26388 eQMICATActivateTargets mActivateTarget;
26389 };
26390
26391 // Structure to describe response TLV 0x01 for CATGetServiceState()
26392 struct sCATGetServiceStateResponse_CATServiceState
26393 {
26394 bool mCommonDisplayText:1;
26395 bool mCommonGetInkey:1;
26396 bool mCommonGetInput:1;
26397 bool mCommonSetupMenu:1;
26398 bool mCommonSelectItem:1;
26399 bool mCommonSendSMSAlphaIdentifier:1;
26400 bool mCommonSetupEventUserActivity:1;
26401 bool mCommonSetupEventIdleScreenNotify:1;
26402 bool mCommonSetupEventLanguageSelNotify:1;
26403 bool mCommonSetupIdleModeText:1;
26404 bool mCommonLanguageNotification:1;
26405 bool mCommonRefresh:1;
26406 bool mCommonEndProactiveSession:1;
26407 bool mCommonPlayTone:1;
26408 bool mCommonSetupCall:1;
26409 bool mCommonSendDTMF:1;
26410 bool mCommonLaunchBrowser:1;
26411 bool mCommonSendSS:1;
26412 bool mCommonSendUSSD:1;
26413 bool mCommonProvideLocalInformationLanguage:1;
26414 bool mCommonBearerIndependentProtocol:1;
26415 bool mCommonSetupEventBrowserTermination:1;
26416 bool mCommonProvideLocalInformationTime:1;
26417 bool mCommonActivate:1;
26418
26419 // Padding out 1 bits
26420 UINT8 mReserved1:1;
26421
26422 bool mCommonSetupEventHCIConnectivity:1;
26423
26424 // Padding out 6 bits
26425 UINT8 mReserved2:6;
26426
26427 bool mControlDisplayText:1;
26428 bool mControlGetInkey:1;
26429 bool mControlGetInput:1;
26430 bool mControlSetupMenu:1;
26431 bool mControlSelectItem:1;
26432 bool mControlSendSMSAlphaIdentifier:1;
26433 bool mControlSetupEventUserActivity:1;
26434 bool mControlSetupEventIdleScreenNotify:1;
26435 bool mControlSetupEventLanguageSelNotify:1;
26436 bool mControlSetupIdleModeText:1;
26437 bool mControlLanguageNotification:1;
26438 bool mControlRefresh:1;
26439 bool mControlEndProactiveSession:1;
26440 bool mControlPlayTone:1;
26441 bool mControlSetupCall:1;
26442 bool mControlSendDTMF:1;
26443 bool mControlLaunchBrowser:1;
26444 bool mControlSendSS:1;
26445 bool mControlSendUSSD:1;
26446 bool mControlProvideLocalInformationLanguage:1;
26447 bool mControlBearerIndependentProtocol:1;
26448 bool mControlSetupEventBrowserTermination:1;
26449 bool mControlProvideLocalInformationTime:1;
26450 bool mControlActivate:1;
26451
26452 // Padding out 1 bits
26453 UINT8 mReserved3:1;
26454
26455 bool mControlSetupEventHCIConnectivity:1;
26456
26457 // Padding out 6 bits
26458 UINT8 mReserved4:6;
26459 };
26460
26461 // Structure to describe response TLV 0x10 for CATGetServiceState()
26462 struct sCATGetServiceStateResponse_DecodedCATServiceState
26463 {
26464 bool mCommonDisplayText:1;
26465 bool mCommonGetInkey:1;
26466 bool mCommonGetInput:1;
26467 bool mCommonSetupMenu:1;
26468 bool mCommonSelectItem:1;
26469 bool mCommonSendSMSAlphaIdentifier:1;
26470 bool mCommonSetupEventUserActivity:1;
26471 bool mCommonSetupEventIdleScreenNotify:1;
26472 bool mCommonSetupEventLanguageSelNotify:1;
26473 bool mCommonSetupIdleModeText:1;
26474 bool mCommonLanguageNotification:1;
26475
26476 // Padding out 1 bits
26477 UINT8 mReserved1:1;
26478
26479 bool mCommonEndProactiveSession:1;
26480 bool mCommonPlayTone:1;
26481 bool mCommonSetupCall:1;
26482 bool mCommonSendDTMF:1;
26483 bool mCommonLaunchBrowser:1;
26484 bool mCommonSendSS:1;
26485 bool mCommonSendUSSD:1;
26486 bool mCommonProvideLocalInformationLanguage:1;
26487 bool mCommonBearerIndependentProtocol:1;
26488
26489 // Padding out 2 bits
26490 UINT8 mReserved2:2;
26491
26492 bool mCommonSCWSEvent:1;
26493 bool mCommonActivate:1;
26494 bool mCommonSetupEventHCIConnectivity:1;
26495
26496 // Padding out 6 bits
26497 UINT8 mReserved3:6;
26498
26499 bool mControlDisplayText:1;
26500 bool mControlGetInkey:1;
26501 bool mControlGetInput:1;
26502 bool mControlSetupMenu:1;
26503 bool mControlSelectItem:1;
26504 bool mControlSendSMSAlphaIdentifier:1;
26505 bool mControlSetupEventUserActivity:1;
26506 bool mControlSetupEventIdleScreenNotify:1;
26507 bool mControlSetupEventLanguageSelNotify:1;
26508 bool mControlSetupIdleModeText:1;
26509 bool mControlLanguageNotification:1;
26510
26511 // Padding out 1 bits
26512 UINT8 mReserved4:1;
26513
26514 bool mControlEndProactiveSession:1;
26515 bool mControlPlayTone:1;
26516 bool mControlSetupCall:1;
26517 bool mControlSendDTMF:1;
26518 bool mControlLaunchBrowser:1;
26519 bool mControlSendSS:1;
26520 bool mControlSendUSSD:1;
26521 bool mControlProvideLocalInformationLanguage:1;
26522 bool mControlBearerIndependentProtocol:1;
26523
26524 // Padding out 2 bits
26525 UINT8 mReserved5:2;
26526
26527 bool mControlSCWSEvent:1;
26528 bool mControlActivate:1;
26529 bool mControlSetupEventHCIConnectivity:1;
26530
26531 // Padding out 6 bits
26532 UINT8 mReserved6:6;
26533 };
26534
26535 // Structure to describe request TLV 0x01 for CATSendTerminalResponse()
26536 struct sCATSendTerminalResponseRequest_TerminalResponseType
26537 {
26538 UINT32 mReferenceID;
26539 UINT16 mTerminalResponseLength;
26540
26541 // This array must be the size specified by mTerminalResponseLength
26542 // UINT8 mTerminalResponse[1];
26543 };
26544
26545 // Structure to describe request TLV 0x10 for CATSendTerminalResponse()
26546 struct sCATSendTerminalResponseRequest_Slot
26547 {
26548 eQMICATSlot mSlot;
26549 };
26550
26551 // Structure to describe response TLV 0x10 for CATSendTerminal()
26552 struct sCATSendTerminalResponseResponse_TRResponse
26553 {
26554 UINT8 mSW1;
26555 UINT8 mSW2;
26556 UINT8 mTerminalResponseLength;
26557
26558 // This array must be the size specified by mTerminalResponseLength
26559 // UINT8 mTerminalResponseData[1];
26560 };
26561
26562 // Structure to describe request TLV 0x01 for CATEnvelopeCommand()
26563 struct sCATEnvelopeCommandRequest_EnvelopeCommand
26564 {
26565 eQMICATEnvelopeCommandType mEnvelopeCommandType;
26566 UINT16 mEnvelopeLength;
26567
26568 // This array must be the size specified by mEnvelopeLength
26569 // UINT8 mEnvelopeData[1];
26570 };
26571
26572 // Structure to describe request TLV 0x10 for CATEnvelopeCommand()
26573 struct sCATEnvelopeCommandRequest_Slot
26574 {
26575 eQMICATSlot mSlot;
26576 };
26577
26578 // Structure to describe response TLV 0x10 for CATEnvelopeCommand()
26579 struct sCATEnvelopeCommandResponse_RawResponse
26580 {
26581 UINT8 mSW1;
26582 UINT8 mSW2;
26583 UINT8 mEnvelopeResponseLength;
26584
26585 // This array must be the size specified by mEnvelopeResponseLength
26586 // UINT8 mEnvelopeResponseData[1];
26587 };
26588
26589 // Structure to describe request TLV 0x01 for CATGetEventReport()
26590 struct sCATGetEventReportRequest_CommandInput
26591 {
26592 UINT32 mCommandID;
26593 eQMICATCommandFormat mCommandFormat;
26594 };
26595
26596 // Structure to describe response TLV 0x10 for CATGetEventReport()
26597 struct sCATGetEventReportResponse_DisplayTextEvent
26598 {
26599 UINT32 mReferenceID;
26600 UINT16 mCommandLength;
26601
26602 // This array must be the size specified by mCommandLength
26603 // UINT8 mDisplayTextCommand[1];
26604 };
26605
26606 // Structure to describe response TLV 0x11 for CATGetEventReport()
26607 struct sCATGetEventReportResponse_GetInkeyEvent
26608 {
26609 UINT32 mReferenceID;
26610 UINT16 mCommandLength;
26611
26612 // This array must be the size specified by mCommandLength
26613 // UINT8 mGetInkeyCommand[1];
26614 };
26615
26616 // Structure to describe response TLV 0x12 for CATGetEventReport()
26617 struct sCATGetEventReportResponse_GetInputEvent
26618 {
26619 UINT32 mReferenceID;
26620 UINT16 mCommandLength;
26621
26622 // This array must be the size specified by mCommandLength
26623 // UINT8 mGetInputCommand[1];
26624 };
26625
26626 // Structure to describe response TLV 0x13 for CATGetEventReport()
26627 struct sCATGetEventReportResponse_SetupMenuEvent
26628 {
26629 UINT32 mReferenceID;
26630 UINT16 mCommandLength;
26631
26632 // This array must be the size specified by mCommandLength
26633 // UINT8 mSetupMenuCommand[1];
26634 };
26635
26636 // Structure to describe response TLV 0x14 for CATGetEventReport()
26637 struct sCATGetEventReportResponse_SelectItemEvent
26638 {
26639 UINT32 mReferenceID;
26640 UINT16 mCommandLength;
26641
26642 // This array must be the size specified by mCommandLength
26643 // UINT8 mSelectItemCommand[1];
26644 };
26645
26646 // Structure to describe response TLV 0x15 for CATGetEventReport()
26647 struct sCATGetEventReportResponse_AlphaIDAvailable
26648 {
26649 eQMICATAlphaIDCommandType mAlphaIDCommandType;
26650 UINT16 mAlphaIDLength;
26651
26652 // This array must be the size specified by mAlphaIDLength
26653 // UINT8 mAlphaID[1];
26654 };
26655
26656 // Structure to describe response TLV 0x16 for CATGetEventReport()
26657 struct sCATGetEventReportResponse_SetupEventList
26658 {
26659 bool mUserActivityNotify:1;
26660 bool mIdleScreenAvailable:1;
26661 bool mLanguageSelectionNotify:1;
26662
26663 // Padding out 29 bits
26664 UINT8 mReserved1:5;
26665 UINT8 mReserved2[3];
26666 };
26667
26668 // Structure to describe response TLV 0x17 for CATGetEventReport()
26669 struct sCATGetEventReportResponse_SetupIdleModeTextEvent
26670 {
26671 UINT32 mReferenceID;
26672 UINT16 mCommandLength;
26673
26674 // This array must be the size specified by mCommandLength
26675 // UINT8 mSetupIdleModeTextCommand[1];
26676 };
26677
26678 // Structure to describe response TLV 0x18 for CATGetEventReport()
26679 struct sCATGetEventReportResponse_LanguageNotificationEvent
26680 {
26681 UINT32 mReferenceID;
26682 UINT16 mCommandLength;
26683
26684 // This array must be the size specified by mCommandLength
26685 // UINT8 mLanguageNotificationCommand[1];
26686 };
26687
26688 // Structure to describe response TLV 0x19 for CATGetEventReport()
26689 struct sCATGetEventReportResponse_RefreshEvent
26690 {
26691 UINT16 mRefreshMode;
26692 eQMICATRefreshStage mRefreshStage;
26693 };
26694
26695 // Structure to describe response TLV 0x1A for CATGetEventReport()
26696 struct sCATGetEventReportResponse_EndProactiveSession
26697 {
26698 eQMICATProactiveSessionEndType mProactiveSessionEndType;
26699 };
26700
26701 // Structure to describe response TLV 0x1B for CATGetEventReport()
26702 struct sCATGetEventReportResponse_DecodedHeaderID
26703 {
26704 eQMICATCommandID mCommandID;
26705 UINT32 mReferenceID;
26706 UINT8 mCommandNumber;
26707 };
26708
26709 // Structure to describe response TLV 0x1C for CATGetEventReport()
26710 struct sCATGetEventReportResponse_TextString
26711 {
26712 eQMICATDataCodingScheme mDataCodingScheme;
26713 UINT8 mTextDataLength;
26714
26715 // This array must be the size specified by mTextDataLength
26716 // UINT8 mTextData[1];
26717 };
26718
26719 // Structure to describe response TLV 0x1D for CATGetEventReport()
26720 struct sCATGetEventReportResponse_HighPriority
26721 {
26722 eQMICATHighPriority mHighPriority;
26723 };
26724
26725 // Structure to describe response TLV 0x1E for CATGetEventReport()
26726 struct sCATGetEventReportResponse_UserControl
26727 {
26728 eQMICATUserControl mUserControl;
26729 };
26730
26731 // Structure to describe response TLV 0x1F for CATGetEventReport()
26732 struct sCATGetEventReportResponse_Icon
26733 {
26734 eQMICATIconQualifier mIconQualifier;
26735 UINT8 mHeight;
26736 UINT8 mWidth;
26737 eQMICATImageCodingScheme mImageCodingScheme;
26738 UINT8 mRecordNumber;
26739 UINT16 mIconDataLength;
26740
26741 // This array must be the size specified by mIconDataLength
26742 // UINT8 mIconData[1];
26743 };
26744
26745 // Structure to describe response TLV 0x20 for CATGetEventReport()
26746 struct sCATGetEventReportResponse_Duration
26747 {
26748 eQMICATTimeUnits mUnits;
26749 UINT8 mInterval;
26750 };
26751
26752 // Structure to describe response TLV 0x21 for CATGetEventReport()
26753 struct sCATGetEventReportResponse_ResponseFormat
26754 {
26755 eQMICATResponseFormat mResponseFormat;
26756 };
26757
26758 // Structure to describe response TLV 0x22 for CATGetEventReport()
26759 struct sCATGetEventReportResponse_HelpAvailable
26760 {
26761 eQMICATHelpAvailable mHelpAvailable;
26762 };
26763
26764 // Structure to describe response TLV 0x23 for CATGetEventReport()
26765 struct sCATGetEventReportResponse_ResponsePackingFormat
26766 {
26767 eQMICATResponsePackingFormat mResponsePackingFormat;
26768 };
26769
26770 // Structure to describe response TLV 0x24 for CATGetEventReport()
26771 struct sCATGetEventReportResponse_ResponseLength
26772 {
26773 UINT8 mMaximumUserInput;
26774 UINT8 mMinimumUserInput;
26775 };
26776
26777 // Structure to describe response TLV 0x25 for CATGetEventReport()
26778 struct sCATGetEventReportResponse_ShowUserInput
26779 {
26780 eQMICATShowUserInput mShowUserInput;
26781 };
26782
26783 // Structure to describe response TLV 0x26 for CATGetEventReport()
26784 struct sCATGetEventReportResponse_Tone
26785 {
26786 eQMICATTone mTone;
26787 };
26788
26789 // Structure to describe response TLV 0x27 for CATGetEventReport()
26790 struct sCATGetEventReportResponse_SoftkeySelection
26791 {
26792 eQMICATSoftkeySelection mSoftkeySelection;
26793 };
26794
26795 // Structure to describe response TLV 0x28 for CATGetEventReport()
26796 struct sCATGetEventReportResponse_Items
26797 {
26798 UINT8 mItemsLength;
26799
26800 struct sItem
26801 {
26802 UINT8 mItemID;
26803 UINT8 mItemTextLength;
26804
26805 // This array must be the size specified by mItemTextLength
26806 // UINT8 mItemText[1];
26807 };
26808
26809 // This array must be the size specified by mItemsLength
26810 // sItem mItems[1];
26811 };
26812
26813 // Structure to describe response TLV 0x29 for CATGetEventReport()
26814 struct sCATGetEventReportResponse_DefaultItems
26815 {
26816 UINT8 mDefaultItem;
26817 };
26818
26819 // Structure to describe response TLV 0x2A for CATGetEventReport()
26820 struct sCATGetEventReportResponse_NextActionIdentifier
26821 {
26822 UINT8 mActionsLength;
26823
26824 // This array must be the size specified by mActionsLength
26825 // eQMICATNextAction mNextAction[1];
26826 };
26827
26828 // Structure to describe response TLV 0x2B for CATGetEventReport()
26829 struct sCATGetEventReportResponse_IconIDList
26830 {
26831 eQMICATDisplayIconOnly mDisplayIconOnly;
26832 UINT8 mItemsLength;
26833
26834 struct sItem
26835 {
26836 eQMICATIconQualifier mIconQualifier;
26837 UINT8 mHeight;
26838 UINT8 mWidth;
26839 eQMICATImageCodingScheme mImageCodingScheme;
26840 UINT8 mRecordNumber;
26841 UINT16 mIconDataLength;
26842
26843 // This array must be the size specified by mIconDataLength
26844 // UINT8 mIconData[1];
26845 };
26846
26847 // This array must be the size specified by mItemsLength
26848 // sItem mItems[1];
26849 };
26850
26851 // Structure to describe response TLV 0x2C for CATGetEventReport()
26852 struct sCATGetEventReportResponse_Presentation
26853 {
26854 eQMICATPresentation mPresentation;
26855 };
26856
26857 // Structure to describe response TLV 0x2D for CATGetEventReport()
26858 struct sCATGetEventReportResponse_PackingRequired
26859 {
26860 eQMICATPackingRequired mPackingRequired;
26861 };
26862
26863 // Structure to describe response TLV 0x2E for CATGetEventReport()
26864 struct sCATGetEventReportResponse_SMSTPDU
26865 {
26866 UINT8 mSMSTPDUDataLength;
26867
26868 // This array must be the size specified by mSMSTPDUDataLength
26869 // UINT8 mSMSTPDUData[1];
26870 };
26871
26872 // Structure to describe response TLV 0x2F for CATGetEventReport()
26873 struct sCATGetEventReportResponse_IsCDMASMS
26874 {
26875 eQMICATIsCDMASMS mIsCDMASMS;
26876 };
26877
26878 // Structure to describe response TLV 0x30 for CATGetEventReport()
26879 struct sCATGetEventReportResponse_Address
26880 {
26881 eQMICATAddressTON mAddressTON;
26882 eQMICATAddressNPI mAddressNPI;
26883 UINT8 mAddressDataLength;
26884
26885 // This array must be the size specified by mAddressDataLength
26886 // char mAddressData[1];
26887 };
26888
26889 // Structure to describe response TLV 0x31 for CATGetEventReport()
26890 struct sCATGetEventReportResponse_CallSetupRequirement
26891 {
26892 eQMICATCallSetupRequirement mCallSetupRequirement;
26893 };
26894
26895 // Structure to describe response TLV 0x32 for CATGetEventReport()
26896 struct sCATGetEventReportResponse_Redial
26897 {
26898 eQMICATRedialNecessary mRedialNecessary;
26899 eQMICATTimeUnits mUnits;
26900 UINT8 mInterval;
26901 };
26902
26903 // Structure to describe response TLV 0x33 for CATGetEventReport()
26904 struct sCATGetEventReportResponse_Subaddress
26905 {
26906 UINT8 mSubaddressDataLength;
26907
26908 struct sSubaddressData
26909 {
26910 UINT8 mSubaddressData1:4;
26911 UINT8 mSubaddressData2:4;
26912 };
26913
26914 // This array must be the size specified by mSubaddressDataLength
26915 // sSubaddressData mSubaddressDatas[1];
26916 };
26917
26918 // Structure to describe response TLV 0x34 for CATGetEventReport()
26919 struct sCATGetEventReportResponse_CapabilityConfiguration
26920 {
26921 UINT8 mCapabilitesConfigurationLength;
26922
26923 // This array must be the size specified by mCapabilitesConfigurationLength
26924 // UINT8 mCapabilitiesConfiguration[1];
26925 };
26926
26927 // Structure to describe response TLV 0x35 for CATGetEventReport()
26928 struct sCATGetEventReportResponse_DTMF
26929 {
26930 UINT8 mDTMFDataLength;
26931
26932 struct sDTMFData
26933 {
26934 UINT8 mDTMFData1:4;
26935 UINT8 mDTMFData2:4;
26936 };
26937
26938 // This array must be the size specified by mDTMFDataLength
26939 // sDTMFData mDTMFDatas[1];
26940 };
26941
26942 // Structure to describe response TLV 0x36 for CATGetEventReport()
26943 struct sCATGetEventReportResponse_SpecificLanguageNotification
26944 {
26945 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
26946 };
26947
26948 // Structure to describe response TLV 0x37 for CATGetEventReport()
26949 struct sCATGetEventReportResponse_Language
26950 {
26951 char mLanguage[2];
26952 };
26953
26954 // Structure to describe response TLV 0x38 for CATGetEventReport()
26955 struct sCATGetEventReportResponse_LaunchMode
26956 {
26957 eQMICATLaunchMode mLaunchMode;
26958 };
26959
26960 // Structure to describe response TLV 0x39 for CATGetEventReport()
26961 struct sCATGetEventReportResponse_URL
26962 {
26963 UINT8 mURLDataLength;
26964
26965 // This array must be the size specified by mURLDataLength
26966 // char mURLData[1];
26967 };
26968
26969 // Structure to describe response TLV 0x3A for CATGetEventReport()
26970 struct sCATGetEventReportResponse_BrowserID
26971 {
26972 UINT8 mBrowserID;
26973 };
26974
26975 // Structure to describe response TLV 0x3B for CATGetEventReport()
26976 struct sCATGetEventReportResponse_BearerList
26977 {
26978 UINT8 mBearerListLength;
26979
26980 // This array must be the size specified by mBearerListLength
26981 // eQMICATBearer mBearerList[1];
26982 };
26983
26984 // Structure to describe response TLV 0x3C for CATGetEventReport()
26985 struct sCATGetEventReportResponse_ProvisioningFiles
26986 {
26987 UINT32 mNumberOfProvisioningFiles;
26988
26989 struct sFile
26990 {
26991 UINT8 mPathLength;
26992
26993 // This array must be the size specified by mPathLength
26994 // char mPath[1];
26995 };
26996
26997 // This array must be the size specified by mNumberOfProvisioningFiles
26998 // sFile mFiles[1];
26999 };
27000
27001 // Structure to describe response TLV 0x3D for CATGetEventReport()
27002 struct sCATGetEventReportResponse_USSDString
27003 {
27004 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
27005 eQMICATUSSDDataCodingScheme mDataCodingScheme;
27006 UINT8 mUSSDTextLength;
27007
27008 // This array must be the size specified by mUSSDTextLength
27009 // UINT8 mUSSDText[1];
27010 };
27011
27012 // Structure to describe response TLV 0x3E for CATGetEventReport()
27013 struct sCATGetEventReportResponse_DefaultText
27014 {
27015 eQMICATDataCodingScheme mDataCodingScheme;
27016 UINT8 mTextDataLength;
27017
27018 // This array must be the size specified by mTextDataLength
27019 // UINT8 mTextData[1];
27020 };
27021
27022 // Structure to describe response TLV 0x3F for CATGetEventReport()
27023 struct sCATGetEventReportResponse_ImmediateResponseRequest
27024 {
27025 eQMICATImmediateResponse mImmediateResponse;
27026 };
27027
27028 // Structure to describe response TLV 0x40 for CATGetEventReport()
27029 struct sCATGetEventReportResponse_UserConfirmationAlpha
27030 {
27031 eQMICATDataCodingScheme mDataCodingScheme;
27032 UINT8 mTextDataLength;
27033
27034 // This array must be the size specified by mTextDataLength
27035 // UINT8 mTextData[1];
27036 };
27037
27038 // Structure to describe response TLV 0x41 for CATGetEventReport()
27039 struct sCATGetEventReportResponse_SetupCallDisplayAlpha
27040 {
27041 eQMICATDataCodingScheme mDataCodingScheme;
27042 UINT8 mTextDataLength;
27043
27044 // This array must be the size specified by mTextDataLength
27045 // UINT8 mTextData[1];
27046 };
27047
27048 // Structure to describe response TLV 0x42 for CATGetEventReport()
27049 struct sCATGetEventReportResponse_UserConfirmationIcon
27050 {
27051 eQMICATIconQualifier mIconQualifier;
27052 UINT8 mHeight;
27053 UINT8 mWidth;
27054 eQMICATImageCodingScheme mImageCodingScheme;
27055 UINT8 mRecordNumber;
27056 UINT16 mIconDataLength;
27057
27058 // This array must be the size specified by mIconDataLength
27059 // UINT8 mIconData[1];
27060 };
27061
27062 // Structure to describe response TLV 0x43 for CATGetEventReport()
27063 struct sCATGetEventReportResponse_SetupCallDisplayIcon
27064 {
27065 eQMICATIconQualifier mIconQualifier;
27066 UINT8 mHeight;
27067 UINT8 mWidth;
27068 eQMICATImageCodingScheme mImageCodingScheme;
27069 UINT8 mRecordNumber;
27070 UINT16 mIconDataLength;
27071
27072 // This array must be the size specified by mIconDataLength
27073 // UINT8 mIconData[1];
27074 };
27075
27076 // Structure to describe response TLV 0x44 for CATGetEventReport()
27077 struct sCATGetEventReportResponse_GatewayProxy
27078 {
27079 eQMICATDataCodingScheme mDataCodingScheme;
27080 UINT8 mTextDataLength;
27081
27082 // This array must be the size specified by mTextDataLength
27083 // UINT8 mTextData[1];
27084 };
27085
27086 // Structure to describe response TLV 0x45 for CATGetEventReport()
27087 struct sCATGetEventReportResponse_Alpha
27088 {
27089 eQMICATDataCodingScheme mDataCodingScheme;
27090 UINT8 mTextDataLength;
27091
27092 // This array must be the size specified by mTextDataLength
27093 // UINT8 mTextData[1];
27094 };
27095
27096 // Structure to describe response TLV 0x46 for CATGetEventReport()
27097 struct sCATGetEventReportResponse_NotificationRequired
27098 {
27099 eQMICATNotificationRequired mNotificationRequired;
27100 };
27101
27102 // Structure to describe response TLV 0x47 for CATGetEventReport()
27103 struct sCATGetEventReportResponse_PlayToneEvent
27104 {
27105 UINT32 mReferenceID;
27106 UINT16 mCommandLength;
27107
27108 // This array must be the size specified by mCommandLength
27109 // UINT8 mPlayToneCommand[1];
27110 };
27111
27112 // Structure to describe response TLV 0x48 for CATGetEventReport()
27113 struct sCATGetEventReportResponse_SetupCallEvent
27114 {
27115 UINT32 mReferenceID;
27116 UINT16 mCommandLength;
27117
27118 // This array must be the size specified by mCommandLength
27119 // UINT8 mSetupCallCommand[1];
27120 };
27121
27122 // Structure to describe response TLV 0x49 for CATGetEventReport()
27123 struct sCATGetEventReportResponse_SendDTMFEvent
27124 {
27125 UINT32 mReferenceID;
27126 UINT16 mCommandLength;
27127
27128 // This array must be the size specified by mCommandLength
27129 // UINT8 mSendDTMFCommand[1];
27130 };
27131
27132 // Structure to describe response TLV 0x4A for CATGetEventReport()
27133 struct sCATGetEventReportResponse_LaunchBrowserEvent
27134 {
27135 UINT32 mReferenceID;
27136 UINT16 mCommandLength;
27137
27138 // This array must be the size specified by mCommandLength
27139 // UINT8 mLaunchBrowserCommand[1];
27140 };
27141
27142 // Structure to describe response TLV 0x4B for CATGetEventReport()
27143 struct sCATGetEventReportResponse_SendSMSEvent
27144 {
27145 UINT32 mReferenceID;
27146 UINT16 mCommandLength;
27147
27148 // This array must be the size specified by mCommandLength
27149 // UINT8 mSendSMSCommand[1];
27150 };
27151
27152 // Structure to describe response TLV 0x4C for CATGetEventReport()
27153 struct sCATGetEventReportResponse_SendSSEvent
27154 {
27155 UINT32 mReferenceID;
27156 UINT16 mCommandLength;
27157
27158 // This array must be the size specified by mCommandLength
27159 // UINT8 mSendSSCommand[1];
27160 };
27161
27162 // Structure to describe response TLV 0x4D for CATGetEventReport()
27163 struct sCATGetEventReportResponse_SendUSSDEvent
27164 {
27165 UINT32 mReferenceID;
27166 UINT16 mCommandLength;
27167
27168 // This array must be the size specified by mCommandLength
27169 // UINT8 mSendUSSDCommand[1];
27170 };
27171
27172 // Structure to describe response TLV 0x4E for CATGetEventReport()
27173 struct sCATGetEventReportResponse_ProvideLocalInformationEvent
27174 {
27175 UINT32 mReferenceID;
27176 UINT16 mCommandLength;
27177
27178 // This array must be the size specified by mCommandLength
27179 // UINT8 mProvideLocalInformationCommand[1];
27180 };
27181
27182 // Structure to describe response TLV 0x4F for CATGetEventReport()
27183 struct sCATGetEventReportResponse_SetupEventListRawEvent
27184 {
27185 UINT32 mReferenceID;
27186 UINT16 mCommandLength;
27187
27188 // This array must be the size specified by mCommandLength
27189 // UINT8 mSetupEventListCommand[1];
27190 };
27191
27192 // Structure to describe response TLV 0x50 for CATGetEventReport()
27193 struct sCATGetEventReportResponse_Slot
27194 {
27195 eQMICATSlot mSlot;
27196 };
27197
27198 // Structure to describe response TLV 0x51 for CATGetEventReport()
27199 struct sCATGetEventReportResponse_OpenChannelEvent
27200 {
27201 UINT32 mReferenceID;
27202 UINT16 mCommandLength;
27203
27204 // This array must be the size specified by mCommandLength
27205 // UINT8 mOpenChannelCommand[1];
27206 };
27207
27208 // Structure to describe response TLV 0x52 for CATGetEventReport()
27209 struct sCATGetEventReportResponse_CloseChannelEvent
27210 {
27211 UINT32 mReferenceID;
27212 UINT16 mCommandLength;
27213
27214 // This array must be the size specified by mCommandLength
27215 // UINT8 mCloseChannelCommand[1];
27216 };
27217
27218 // Structure to describe response TLV 0x53 for CATGetEventReport()
27219 struct sCATGetEventReportResponse_SendDataEvent
27220 {
27221 UINT32 mReferenceID;
27222 UINT16 mCommandLength;
27223
27224 // This array must be the size specified by mCommandLength
27225 // UINT8 mSendDataCommand[1];
27226 };
27227
27228 // Structure to describe response TLV 0x54 for CATGetEventReport()
27229 struct sCATGetEventReportResponse_ReceiveDataEvent
27230 {
27231 UINT32 mReferenceID;
27232 UINT16 mCommandLength;
27233
27234 // This array must be the size specified by mCommandLength
27235 // UINT8 mReceiveDataCommand[1];
27236 };
27237
27238 // Structure to describe response TLV 0x55 for CATGetEventReport()
27239 struct sCATGetEventReportResponse_OnDemandLinkEstablish
27240 {
27241 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
27242 };
27243
27244 // Structure to describe response TLV 0x56 for CATGetEventReport()
27245 struct sCATGetEventReportResponse_CSDBearerDescription
27246 {
27247 UINT8 mSpeed;
27248 eQMICATCSDBearerName mCSDBearerName;
27249 eQMICATConnectionElement mConnectionElement;
27250 };
27251
27252 // Structure to describe response TLV 0x57 for CATGetEventReport()
27253 struct sCATGetEventReportResponse_GPRSBearerDescription
27254 {
27255 UINT8 mPrecedenceClass;
27256 UINT8 mDelayClass;
27257 UINT8 mReliabilityClass;
27258 UINT8 mPeakThroughput;
27259 UINT8 mMeanThroughput;
27260 eQMICATPacketDataProtocol mPacketDataProtocol;
27261 };
27262
27263 // Structure to describe response TLV 0x58 for CATGetEventReport()
27264 struct sCATGetEventReportResponse_EUTRANExternalParameterBearerDescription
27265 {
27266 eQMICATTrafficClass mTrafficClass;
27267 UINT16 mMaxUploadBitrate;
27268 UINT16 mMaxDownloadBitrate;
27269 UINT16 mGuaranteedUploadBitrate;
27270 UINT16 mGuaranteedDownloadBitrate;
27271 eQMICATDeliveryOrder mDeliveryOrder;
27272 UINT8 mMaxSDUSize;
27273 UINT8 mMaxSDUErrorRatio;
27274 UINT8 mResidualBitErrorRatio;
27275 eQMICATDeliverErrorSDU mDeliverErrorSDU;
27276 UINT8 mTransferDelay;
27277 UINT8 mTrafficHandlingPRI;
27278 eQMICATPDPType mPDPType;
27279 };
27280
27281 // Structure to describe response TLV 0x59 for CATGetEventReport()
27282 struct sCATGetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
27283 {
27284 UINT8 mQCI;
27285 UINT8 mMaxUploadBitrate;
27286 UINT8 mMaxDownloadBitrate;
27287 UINT8 mGuaranteedUploadBitrate;
27288 UINT8 mGuaranteedDownloadBitrate;
27289 UINT8 mMaximumUploadBitrateExt;
27290 UINT8 mMaximumDownloadBitrateExt;
27291 UINT8 mGuaranteedUploadBitrateExt;
27292 UINT8 mGuaranteedDownloadBitrateExt;
27293 eQMICATPDPType mPDPType;
27294 };
27295
27296 // Structure to describe response TLV 0x5A for CATGetEventReport()
27297 struct sCATGetEventReportResponse_BufferSize
27298 {
27299 UINT16 mBufferSize;
27300 };
27301
27302 // Structure to describe response TLV 0x5B for CATGetEventReport()
27303 struct sCATGetEventReportResponse_NetworkAccessName
27304 {
27305 UINT8 mNetworkAccessNameLength;
27306
27307 // This array must be the size specified by mNetworkAccessNameLength
27308 // UINT8 mNetworkAccessName[1];
27309 };
27310
27311 // Structure to describe response TLV 0x5C for CATGetEventReport()
27312 struct sCATGetEventReportResponse_OtherAddress
27313 {
27314 eQMICATAddressType mAddressType;
27315 UINT8 mAddressDataLength;
27316
27317 // This array must be the size specified by mAddressDataLength
27318 // char mAddressData[1];
27319 };
27320
27321 // Structure to describe response TLV 0x5D for CATGetEventReport()
27322 struct sCATGetEventReportResponse_UserLogin
27323 {
27324 eQMICATDataCodingScheme mDataCodingScheme;
27325 UINT8 mTextDataLength;
27326
27327 // This array must be the size specified by mTextDataLength
27328 // UINT8 mTextData[1];
27329 };
27330
27331 // Structure to describe response TLV 0x5E for CATGetEventReport()
27332 struct sCATGetEventReportResponse_UserPassword
27333 {
27334 eQMICATDataCodingScheme mDataCodingScheme;
27335 UINT8 mTextDataLength;
27336
27337 // This array must be the size specified by mTextDataLength
27338 // UINT8 mTextData[1];
27339 };
27340
27341 // Structure to describe response TLV 0x5F for CATGetEventReport()
27342 struct sCATGetEventReportResponse_TransportLevel
27343 {
27344 eQMICATTransportProtocol mTransportProtocol;
27345 UINT16 mPortNumber;
27346 };
27347
27348 // Structure to describe response TLV 0x60 for CATGetEventReport()
27349 struct sCATGetEventReportResponse_DataDestinationAddress
27350 {
27351 eQMICATAddressType mAddressType;
27352 UINT8 mAddressDataLength;
27353
27354 // This array must be the size specified by mAddressDataLength
27355 // char mAddressData[1];
27356 };
27357
27358 // Structure to describe response TLV 0x61 for CATGetEventReport()
27359 struct sCATGetEventReportResponse_ChannelDataLength
27360 {
27361 UINT8 mChannelDataLength;
27362 };
27363
27364 // Structure to describe response TLV 0x62 for CATGetEventReport()
27365 struct sCATGetEventReportResponse_SendDataImmediately
27366 {
27367 eQMICATSendDataImmediately mSendDataImmediately;
27368 };
27369
27370 // Structure to describe response TLV 0x63 for CATGetEventReport()
27371 struct sCATGetEventReportResponse_ChannelData
27372 {
27373 UINT16 mChannelDataLength;
27374
27375 // This array must be the size specified by mChannelDataLength
27376 // UINT8 mChannelData[1];
27377 };
27378
27379 // Structure to describe response TLV 0x64 for CATGetEventReport()
27380 struct sCATGetEventReportResponse_ChannelID
27381 {
27382 UINT8 mChannelID;
27383 };
27384
27385 // Structure to describe response TLV 0x65 for CATGetEventReport()
27386 struct sCATGetEventReportResponse_ItemsWithDCS
27387 {
27388 UINT8 mItemsLength;
27389
27390 struct sItem
27391 {
27392 UINT8 mItemID;
27393 eQMICATDataCodingScheme mDataCodingScheme;
27394 UINT8 mItemTextLength;
27395
27396 // This array must be the size specified by mItemTextLength
27397 // UINT8 mItemText[1];
27398 };
27399
27400 // This array must be the size specified by mItemsLength
27401 // sItem mItems[1];
27402 };
27403
27404 // Structure to describe response TLV 0x66 for CATGetEventReport()
27405 struct sCATGetEventReportResponse_Activate
27406 {
27407 UINT32 mReferenceID;
27408 UINT16 mActivateLength;
27409
27410 // This array must be the size specified by mActivateLength
27411 // UINT8 mActivate[1];
27412 };
27413
27414 // Structure to describe response TLV 0x67 for CATGetEventReport()
27415 struct sCATGetEventReportResponse_ActivateTarget
27416 {
27417 eQMICATActivateTargets mActivateTarget;
27418 };
27419
27420 // Structure to describe request TLV 0x01 for CATSendDecodedTerminalResponse()
27421 struct sCATSendDecodedTerminalResponseRequest_TerminalResponse
27422 {
27423 UINT32 mReferenceID;
27424 UINT8 mCommandNumber;
27425 eQMICATResponseCommand mResponseCommand;
27426 UINT8 mGeneralResult;
27427 UINT8 mAdditionalInformationLength;
27428
27429 // This array must be the size specified by mAdditionalInformationLength
27430 // UINT8 mTerminalResponseAdditionalInformation[1];
27431 };
27432
27433 // Structure to describe request TLV 0x10 for CATSendDecodedTerminalResponse()
27434 struct sCATSendDecodedTerminalResponseRequest_TextString
27435 {
27436 eQMICATDataCodingScheme mDataCodingScheme;
27437 UINT8 mTextDataLength;
27438
27439 // This array must be the size specified by mTextDataLength
27440 // UINT8 mTextData[1];
27441 };
27442
27443 // Structure to describe request TLV 0x11 for CATSendDecodedTerminalResponse()
27444 struct sCATSendDecodedTerminalResponseRequest_ItemIdentifier
27445 {
27446 UINT8 mItemIdentifier;
27447 };
27448
27449 // Structure to describe request TLV 0x12 for CATSendDecodedTerminalResponse()
27450 struct sCATSendDecodedTerminalResponseRequest_GetInkeyExtraInfo
27451 {
27452 eQMICATTimeUnits mUnits;
27453 UINT8 mInterval;
27454 eQMICATDataCodingScheme mDataCodingScheme;
27455 UINT8 mTextDataLength;
27456
27457 // This array must be the size specified by mTextDataLength
27458 // UINT8 mTextData[1];
27459 };
27460
27461 // Structure to describe request TLV 0x13 for CATSendDecodedTerminalResponse()
27462 struct sCATSendDecodedTerminalResponseRequest_LanguageInfo
27463 {
27464 char mLanguage[2];
27465 };
27466
27467 // Structure to describe request TLV 0x14 for CATSendDecodedTerminalResponse()
27468 struct sCATSendDecodedTerminalResponseRequest_Slot
27469 {
27470 eQMICATSlot mSlot;
27471 };
27472
27473 // Structure to describe request TLV 0x15 for CATSendDecodedTerminalResponse()
27474 struct sCATSendDecodedTerminalResponseRequest_GetInkeyYesInput
27475 {
27476 eQMICATTimeUnits mUnits;
27477 UINT8 mInterval;
27478 INT8 mGetInkeyYesInput;
27479 };
27480
27481 // Structure to describe response TLV 0x10 for CATSendDecodedTerminal()
27482 struct sCATSendDecodedTerminalResponseResponse_TRResponse
27483 {
27484 UINT8 mSW1;
27485 UINT8 mSW2;
27486 UINT8 mTerminalResponseLength;
27487
27488 // This array must be the size specified by mTerminalResponseLength
27489 // UINT8 mTerminalResponseData[1];
27490 };
27491
27492 // Structure to describe request TLV 0x01 for CATSendDecodedEnvelopeCommand()
27493 struct sCATSendDecodedEnvelopeCommandRequest_EnvelopeCommand
27494 {
27495 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
27496 };
27497
27498 // Structure to describe request TLV 0x10 for CATSendDecodedEnvelopeCommand()
27499 struct sCATSendDecodedEnvelopeCommandRequest_ItemIdentifier
27500 {
27501 UINT8 mItemIdentifier;
27502 };
27503
27504 // Structure to describe request TLV 0x11 for CATSendDecodedEnvelopeCommand()
27505 struct sCATSendDecodedEnvelopeCommandRequest_HelpRequest
27506 {
27507 eQMICATHelpRequest mHelpRequest;
27508 };
27509
27510 // Structure to describe request TLV 0x12 for CATSendDecodedEnvelopeCommand()
27511 struct sCATSendDecodedEnvelopeCommandRequest_Language
27512 {
27513 char mLanguage[2];
27514 };
27515
27516 // Structure to describe request TLV 0x13 for CATSendDecodedEnvelopeCommand()
27517 struct sCATSendDecodedEnvelopeCommandRequest_Slot
27518 {
27519 eQMICATSlot mSlot;
27520 };
27521
27522 // Structure to describe request TLV 0x14 for CATSendDecodedEnvelopeCommand()
27523 struct sCATSendDecodedEnvelopeCommandRequest_Address
27524 {
27525 eQMICATAddressTON mAddressTON;
27526 eQMICATAddressNPI mAddressNPI;
27527 UINT8 mAddressDataLength;
27528
27529 // This array must be the size specified by mAddressDataLength
27530 // char mAddressData[1];
27531 };
27532
27533 // Structure to describe request TLV 0x15 for CATSendDecodedEnvelopeCommand()
27534 struct sCATSendDecodedEnvelopeCommandRequest_Subaddress
27535 {
27536 UINT8 mSubaddressDataLength;
27537
27538 struct sSubaddressData
27539 {
27540 UINT8 mSubaddressData1:4;
27541 UINT8 mSubaddressData2:4;
27542 };
27543
27544 // This array must be the size specified by mSubaddressDataLength
27545 // sSubaddressData mSubaddressDatas[1];
27546 };
27547
27548 // Structure to describe request TLV 0x16 for CATSendDecodedEnvelopeCommand()
27549 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
27550 {
27551 UINT8 mCapabilitesConfigurationLength;
27552
27553 // This array must be the size specified by mCapabilitesConfigurationLength
27554 // UINT8 mCapabilitiesConfiguration[1];
27555 };
27556
27557 // Structure to describe request TLV 0x17 for CATSendDecodedEnvelopeCommand()
27558 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
27559 {
27560 UINT8 mCapabilitesConfigurationLength;
27561
27562 // This array must be the size specified by mCapabilitesConfigurationLength
27563 // UINT8 mCapabilitiesConfiguration[1];
27564 };
27565
27566 // Structure to describe request TLV 0x18 for CATSendDecodedEnvelopeCommand()
27567 struct sCATSendDecodedEnvelopeCommandRequest_USSDString
27568 {
27569 eQMICATDataCodingScheme mDataCodingScheme;
27570 UINT8 mTextDataLength;
27571
27572 // This array must be the size specified by mTextDataLength
27573 // UINT8 mTextData[1];
27574 };
27575
27576 // Structure to describe request TLV 0x19 for CATSendDecodedEnvelopeCommand()
27577 struct sCATSendDecodedEnvelopeCommandRequest_PDPContextActivation
27578 {
27579 UINT8 mPDPContextActivationDataLength;
27580
27581 // This array must be the size specified by mPDPContextActivationDataLength
27582 // UINT8 mPDPContextActivationData[1];
27583 };
27584
27585 // Structure to describe request TLV 0x1A for CATSendDecodedEnvelopeCommand()
27586 struct sCATSendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
27587 {
27588 UINT8 mEPSPDNConnectActivationDataLength;
27589
27590 // This array must be the size specified by mEPSPDNConnectActivationDataLength
27591 // UINT8 mEPSPDNConnectActivationData[1];
27592 };
27593
27594 // Structure to describe request TLV 0x1B for CATSendDecodedEnvelopeCommand()
27595 struct sCATSendDecodedEnvelopeCommandRequest_BrowserTerminationCause
27596 {
27597 eQMICATBrowserTerminationCauses mBrowserTerminationCause;
27598 };
27599
27600 // Structure to describe response TLV 0x10 for CATSendDecodedEnvelopeCommand()
27601 struct sCATSendDecodedEnvelopeCommandResponse_CallControlResult
27602 {
27603 eQMICATCallControlResult mCallControlResult;
27604 };
27605
27606 // Structure to describe response TLV 0x11 for CATSendDecodedEnvelopeCommand()
27607 struct sCATSendDecodedEnvelopeCommandResponse_Address
27608 {
27609 eQMICATAddressTON mAddressTON;
27610 eQMICATAddressNPI mAddressNPI;
27611 UINT8 mAddressDataLength;
27612
27613 // This array must be the size specified by mAddressDataLength
27614 // char mAddressData[1];
27615 };
27616
27617 // Structure to describe response TLV 0x12 for CATSendDecodedEnvelopeCommand()
27618 struct sCATSendDecodedEnvelopeCommandResponse_Subaddress
27619 {
27620 UINT8 mSubaddressDataLength;
27621
27622 struct sSubaddressData
27623 {
27624 UINT8 mSubaddressData1:4;
27625 UINT8 mSubaddressData2:4;
27626 };
27627
27628 // This array must be the size specified by mSubaddressDataLength
27629 // sSubaddressData mSubaddressDatas[1];
27630 };
27631
27632 // Structure to describe response TLV 0x13 for CATSendDecodedEnvelopeCommand()
27633 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
27634 {
27635 UINT8 mCapabilitesConfigurationLength;
27636
27637 // This array must be the size specified by mCapabilitesConfigurationLength
27638 // UINT8 mCapabilitiesConfiguration[1];
27639 };
27640
27641 // Structure to describe response TLV 0x14 for CATSendDecodedEnvelopeCommand()
27642 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
27643 {
27644 UINT8 mCapabilitesConfigurationLength;
27645
27646 // This array must be the size specified by mCapabilitesConfigurationLength
27647 // UINT8 mCapabilitiesConfiguration[1];
27648 };
27649
27650 // Structure to describe response TLV 0x15 for CATSendDecodedEnvelopeCommand()
27651 struct sCATSendDecodedEnvelopeCommandResponse_USSDString
27652 {
27653 eQMICATDataCodingScheme mDataCodingScheme;
27654 UINT8 mTextDataLength;
27655
27656 // This array must be the size specified by mTextDataLength
27657 // UINT8 mTextData[1];
27658 };
27659
27660 // Structure to describe response TLV 0x16 for CATSendDecodedEnvelopeCommand()
27661 struct sCATSendDecodedEnvelopeCommandResponse_PDPContextActivation
27662 {
27663 UINT8 mPDPContextActivationDataLength;
27664
27665 // This array must be the size specified by mPDPContextActivationDataLength
27666 // UINT8 mPDPContextActivationData[1];
27667 };
27668
27669 // Structure to describe response TLV 0x17 for CATSendDecodedEnvelopeCommand()
27670 struct sCATSendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
27671 {
27672 UINT8 mEPSPDNConnectActivationDataLength;
27673
27674 // This array must be the size specified by mEPSPDNConnectActivationDataLength
27675 // UINT8 mEPSPDNConnectActivationData[1];
27676 };
27677
27678 // Structure to describe response TLV 0x18 for CATSendDecodedEnvelopeCommand()
27679 struct sCATSendDecodedEnvelopeCommandResponse_Alpha
27680 {
27681 eQMICATDataCodingScheme mDataCodingScheme;
27682 UINT8 mTextDataLength;
27683
27684 // This array must be the size specified by mTextDataLength
27685 // UINT8 mTextData[1];
27686 };
27687
27688 // Structure to describe response TLV 0x19 for CATSendDecodedEnvelopeCommand()
27689 struct sCATSendDecodedEnvelopeCommandResponse_BCRepeatIndicator
27690 {
27691 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
27692 };
27693
27694 // Structure to describe request TLV 0x10 for CATEventConfirmation()
27695 struct sCATEventConfirmationRequest_UserConfirmed
27696 {
27697 eQMICATUserConfirmed mUserConfirmed;
27698 };
27699
27700 // Structure to describe request TLV 0x11 for CATEventConfirmation()
27701 struct sCATEventConfirmationRequest_IconIsDisplayed
27702 {
27703 eQMICATIconIsDisplayed mIconIsDisplayed;
27704 };
27705
27706 // Structure to describe request TLV 0x12 for CATEventConfirmation()
27707 struct sCATEventConfirmationRequest_Slot
27708 {
27709 eQMICATSlot mSlot;
27710 };
27711
27712 // Structure to describe request TLV 0x01 for CATSCWSOpenChannel()
27713 struct sCATSCWSOpenChannelRequest_ChannelStatus
27714 {
27715 UINT32 mChannelID;
27716 eQMICATChannelState mChannelState;
27717 };
27718
27719 // Structure to describe request TLV 0x10 for CATSCWSOpenChannel()
27720 struct sCATSCWSOpenChannelRequest_Slot
27721 {
27722 eQMICATSlot mSlot;
27723 };
27724
27725 // Structure to describe indication TLV 0x10 for CAT SCWSOpenChannelIndication
27726 struct sCATSCWSOpenChannelIndication_OpenChannelInformation
27727 {
27728 UINT32 mChannelID;
27729 UINT16 mPortNumber;
27730 UINT16 mBufferSize;
27731 };
27732
27733 // Structure to describe indication TLV 0x11 for CAT SCWSOpenChannelIndication
27734 struct sCATSCWSOpenChannelIndication_Slot
27735 {
27736 eQMICATSlot mSlot;
27737 };
27738
27739 // Structure to describe request TLV 0x01 for CATSCWSCloseChannel()
27740 struct sCATSCWSCloseChannelRequest_ChannelStatus
27741 {
27742 UINT32 mChannelID;
27743 eQMICATChannelState mChannelState;
27744 };
27745
27746 // Structure to describe request TLV 0x10 for CATSCWSCloseChannel()
27747 struct sCATSCWSCloseChannelRequest_Slot
27748 {
27749 eQMICATSlot mSlot;
27750 };
27751
27752 // Structure to describe indication TLV 0x10 for CAT SCWSCloseChannelIndication
27753 struct sCATSCWSCloseChannelIndication_CloseChannelInfo
27754 {
27755 UINT32 mChannelID;
27756 eQMICATChannelState mChannelState;
27757 };
27758
27759 // Structure to describe response TLV 0x11 for CATSCWSCloseChannel()
27760 struct sCATSCWSCloseChannelResponse_Slot
27761 {
27762 eQMICATSlot mSlot;
27763 };
27764
27765 // Structure to describe request TLV 0x01 for CATSCWSSendData()
27766 struct sCATSCWSSendDataRequest_ChannelStatus
27767 {
27768 UINT32 mChannelID;
27769 eQMICATSendDataResult mDataSendResult;
27770 };
27771
27772 // Structure to describe request TLV 0x10 for CATSCWSSendData()
27773 struct sCATSCWSSendDataRequest_Slot
27774 {
27775 eQMICATSlot mSlot;
27776 };
27777
27778 // Structure to describe indication TLV 0x10 for CAT SCWSSendDataIndication
27779 struct sCATSCWSSendDataIndication_SendDataInfo
27780 {
27781 UINT32 mChannelID;
27782 UINT8 mTotalPackets;
27783 UINT8 mCurrentPacket;
27784 UINT16 mDataLength;
27785
27786 // This array must be the size specified by mDataLength
27787 // UINT8 mData[1];
27788 };
27789
27790 // Structure to describe indication TLV 0x11 for CAT SCWSSendDataIndication
27791 struct sCATSCWSSendDataIndication_Slot
27792 {
27793 eQMICATSlot mSlot;
27794 };
27795
27796 // Structure to describe request TLV 0x01 for CATSCWSDataAvailable()
27797 struct sCATSCWSDataAvailableRequest_RemainingData
27798 {
27799 UINT32 mChannelID;
27800 UINT16 mDataLength;
27801
27802 // This array must be the size specified by mDataLength
27803 // UINT8 mData[1];
27804 };
27805
27806 // Structure to describe request TLV 0x10 for CATSCWSDataAvailable()
27807 struct sCATSCWSDataAvailableRequest_Slot
27808 {
27809 eQMICATSlot mSlot;
27810 };
27811
27812 // Structure to describe request TLV 0x01 for CATSCWSChannelStatus()
27813 struct sCATSCWSChannelStatusRequest_ChannelStatus
27814 {
27815 UINT32 mChannelID;
27816 eQMICATChannelState mChannelState;
27817 };
27818
27819 // Structure to describe request TLV 0x10 for CATSCWSChannelStatus()
27820 struct sCATSCWSChannelStatusRequest_Slot
27821 {
27822 eQMICATSlot mSlot;
27823 };
27824
27825 // Structure to describe request TLV 0x10 for CATGetTerminalProfile()
27826 struct sCATGetTerminalProfileRequest_Slot
27827 {
27828 eQMICATSlot mSlot;
27829 };
27830
27831 // Structure to describe response TLV 0x10 for CATGetTerminalProfile()
27832 struct sCATGetTerminalProfileResponse_RawData
27833 {
27834 UINT8 mTerminalProfileLength;
27835
27836 // This array must be the size specified by mTerminalProfileLength
27837 // UINT8 mTerminalProfileData[1];
27838 };
27839
27840 // Structure to describe request TLV 0x01 for CATSetConfiguration()
27841 struct sCATSetConfigurationRequest_Mode
27842 {
27843 eQMICATConfigModes mConfigMode;
27844 };
27845
27846 // Structure to describe request TLV 0x10 for CATSetConfiguration()
27847 struct sCATSetConfigurationRequest_CustomData
27848 {
27849 UINT8 mTerminalProfileLength;
27850
27851 // This array must be the size specified by mTerminalProfileLength
27852 // UINT8 mTerminalProfileData[1];
27853 };
27854
27855 // Structure to describe response TLV 0x10 for CATGetConfiguration()
27856 struct sCATGetConfigurationResponse_Mode
27857 {
27858 eQMICATConfigModes mConfigMode;
27859 };
27860
27861 // Structure to describe response TLV 0x11 for CATGetConfiguration()
27862 struct sCATGetConfigurationResponse_CustomData
27863 {
27864 UINT8 mTerminalProfileLength;
27865
27866 // This array must be the size specified by mTerminalProfileLength
27867 // UINT8 mTerminalProfileData[1];
27868 };
27869
27870 // Structure to describe response TLV 0x10 for RMSGetSMSWake()
27871 struct sRMSGetSMSWakeResponse_State
27872 {
27873 INT8 mSMSWakeEnabled;
27874 };
27875
27876 // Structure to describe request TLV 0x11 for RMSGetSMSWake()
27877 struct sRMSGetSMSWakeRequest_Mask
27878 {
27879 UINT32 mMask;
27880 };
27881
27882 // Structure to describe request TLV 0x10 for RMSSetSMSWake()
27883 struct sRMSSetSMSWakeRequest_State
27884 {
27885 INT8 mSMSWakeEnabled;
27886 };
27887
27888 // Structure to describe request TLV 0x11 for RMSSetSMSWake()
27889 struct sRMSSetSMSWakeRequest_Mask
27890 {
27891 UINT32 mMask;
27892 };
27893
27894 // Structure to describe request TLV 0x10 for OMASetEventReport()
27895 struct sOMASetEventReportRequest_NIA
27896 {
27897 INT8 mReportNetworkInitiatedAlerts;
27898 };
27899
27900 // Structure to describe request TLV 0x11 for OMASetEventReport()
27901 struct sOMASetEventReportRequest_Status
27902 {
27903 INT8 mReportSessionStatus;
27904 };
27905
27906 // Structure to describe indication TLV 0x10 for OMA EventReport
27907 struct sOMAEventReportIndication_NIA
27908 {
27909 eQMIOMASessionTypes mSessionType;
27910 UINT16 mSessionID;
27911 };
27912
27913 // Structure to describe indication TLV 0x11 for OMA EventReport
27914 struct sOMAEventReportIndication_Status
27915 {
27916 eQMIOMASessionStates mSessionState;
27917 };
27918
27919 // Structure to describe indication TLV 0x12 for OMA EventReport
27920 struct sOMAEventReportIndication_Failure
27921 {
27922 eQMIOMASessionFailureReasons mSessionFailure;
27923 };
27924
27925 // Structure to describe request TLV 0x10 for OMAStartSession()
27926 struct sOMAStartSessionRequest_Type
27927 {
27928 eQMIOMASessionTypes mSessionType;
27929 };
27930
27931 // Structure to describe response TLV 0x10 for OMAGetSessionInfo()
27932 struct sOMAGetSessionInfoResponse_Info
27933 {
27934 eQMIOMASessionStates mSessionState;
27935 eQMIOMASessionTypes mSessionType;
27936 };
27937
27938 // Structure to describe response TLV 0x11 for OMAGetSessionInfo()
27939 struct sOMAGetSessionInfoResponse_Failure
27940 {
27941 eQMIOMASessionFailureReasons mSessionFailure;
27942 };
27943
27944 // Structure to describe response TLV 0x12 for OMAGetSessionInfo()
27945 struct sOMAGetSessionInfoResponse_Retry
27946 {
27947 UINT8 mRetryCount;
27948 UINT16 mRetryPauseTimer;
27949 UINT16 mRemainingTime;
27950 };
27951
27952 // Structure to describe response TLV 0x13 for OMAGetSessionInfo()
27953 struct sOMAGetSessionInfoResponse_NIA
27954 {
27955 eQMIOMASessionTypes mSessionType;
27956 UINT16 mSessionID;
27957 };
27958
27959 // Structure to describe request TLV 0x10 for OMASendSelection()
27960 struct sOMASendSelectionRequest_Type
27961 {
27962 eQMIOMASelections mSelection;
27963 UINT16 mSessionID;
27964 };
27965
27966 // Structure to describe response TLV 0x10 for OMAGetFeatures()
27967 struct sOMAGetFeaturesResponse_Provisioning
27968 {
27969 INT8 mDeviceProvisioningServiceUpdateEnabled;
27970 };
27971
27972 // Structure to describe response TLV 0x11 for OMAGetFeatures()
27973 struct sOMAGetFeaturesResponse_PRLUpdate
27974 {
27975 INT8 mPRLServiceUpdateEnabled;
27976 };
27977
27978 // Structure to describe response TLV 0x12 for OMAGetFeatures()
27979 struct sOMAGetFeaturesResponse_HFAFeature
27980 {
27981 INT8 mHFAFeatureEnabled;
27982 };
27983
27984 // Structure to describe response TLV 0x13 for OMAGetFeatures()
27985 struct sOMAGetFeaturesResponse_HFADoneState
27986 {
27987 eQMIOMAHFADoneStates mHFAFeatureDoneState;
27988 };
27989
27990 // Structure to describe request TLV 0x10 for OMASetFeatures()
27991 struct sOMASetFeaturesRequest_Provisioning
27992 {
27993 INT8 mDeviceProvisioningServiceUpdateEnabled;
27994 };
27995
27996 // Structure to describe request TLV 0x11 for OMASetFeatures()
27997 struct sOMASetFeaturesRequest_PRLUpdate
27998 {
27999 INT8 mPRLServiceUpdateEnabled;
28000 };
28001
28002 // Structure to describe request TLV 0x12 for OMASetFeatures()
28003 struct sOMASetFeaturesRequest_HFAFeature
28004 {
28005 INT8 mHFAFeatureEnabled;
28006 };
28007
28008
28009 #pragma pack( pop )