Debian Codegraph @

gobi-api/Gobi_2012-06-18-1054/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 QMI (control/service) content
44 struct sQMIRawContentHeader
45 {
46 BYTE mTypeID;
47 WORD mLength;
48
49 // This array must be the size specified by mLength
50 // BYTE mValue[1];
51 };
52
53 // Structure to describe TLV 0x02, the Result Code
54 // It is common for all Responses
55 struct sResultCode
56 {
57 eQMIResults mQMIResult;
58 eQMIErrors mQMIError;
59 };
60
61 // Structure to describe TLV 0x01 for QMI LOC, the status
62 // It is common for QMI LOC indications above 0x0032
63 struct sLOCIndication_Status
64 {
65 eQMILOCStatus mStatus;
66 };
67
68 // Structure to describe request TLV 0x10 for WDSSetEventReport()
69 struct sWDSSetEventReportRequest_ChannelRateIndicator
70 {
71 INT8 mReportChannelRate;
72 };
73
74 // Structure to describe request TLV 0x11 for WDSSetEventReport()
75 struct sWDSSetEventReportRequest_TransferStatisticsIndicator
76 {
77 UINT8 mTransferStatisticsIntervalSeconds;
78 bool mReportTXPacketSuccesses:1;
79 bool mReportRXPacketSuccesses:1;
80 bool mReportTXPacketErrors:1;
81 bool mReportRXPacketErrors:1;
82 bool mReportTXOverflows:1;
83 bool mReportRXOverflows:1;
84 bool mTXByteTotal:1;
85 bool mRXByteTotal:1;
86 bool mTXPacketsDropped:1;
87 bool mRXPacketsDropped:1;
88
89 // Padding out 22 bits
90 UINT8 mReserved1:6;
91 UINT8 mReserved2[2];
92 };
93
94 // Structure to describe request TLV 0x12 for WDSSetEventReport()
95 struct sWDSSetEventReportRequest_DataBearerTechnologyIndicator
96 {
97 INT8 mReportDataBearerTechnology;
98 };
99
100 // Structure to describe request TLV 0x13 for WDSSetEventReport()
101 struct sWDSSetEventReportRequest_DormancyStatusIndicator
102 {
103 INT8 mReportDormancyStatus;
104 };
105
106 // Structure to describe request TLV 0x14 for WDSSetEventReport()
107 struct sWDSSetEventReportRequest_MIPStatusIndicator
108 {
109 INT8 mReportMIPStatus;
110 };
111
112 // Structure to describe request TLV 0x15 for WDSSetEventReport()
113 struct sWDSSetEventReportRequest_CurrentDataBearerTechnologyIndicator
114 {
115 INT8 mReportDataBearerTechnology;
116 };
117
118 // Structure to describe request TLV 0x17 for WDSSetEventReport()
119 struct sWDSSetEventReportRequest_DataCallStatusIndicator
120 {
121 INT8 mReportDataCallStatus;
122 };
123
124 // Structure to describe request TLV 0x18 for WDSSetEventReport()
125 struct sWDSSetEventReportRequest_PreferredDataSystemIndicator
126 {
127 INT8 mReportPreferredDataSystem;
128 };
129
130 // Structure to describe request TLV 0x19 for WDSSetEventReport()
131 struct sWDSSetEventReportRequest_EVDOPMChangeIndicator
132 {
133 INT8 mReportEVDOPageMonitorPeriodChange;
134 };
135
136 // Structure to describe request TLV 0x1A for WDSSetEventReport()
137 struct sWDSSetEventReportRequest_DataSystemsIndicator
138 {
139 INT8 mReportDataSystems;
140 };
141
142 // Structure to describe request TLV 0x1B for WDSSetEventReport()
143 struct sWDSSetEventReportRequest_UplinkFlowControlIndicator
144 {
145 INT8 mReportUplinkFlowControl;
146 };
147
148 // Structure to describe indication TLV 0x10 for WDS EventReport
149 struct sWDSEventReportIndication_TXPacketSuccesses
150 {
151 UINT32 mTXPacketSuccesses;
152 };
153
154 // Structure to describe indication TLV 0x11 for WDS EventReport
155 struct sWDSEventReportIndication_RXPacketSuccesses
156 {
157 UINT32 mRXPacketSuccesses;
158 };
159
160 // Structure to describe indication TLV 0x12 for WDS EventReport
161 struct sWDSEventReportIndication_TXPacketErrors
162 {
163 UINT32 mTXPacketErrors;
164 };
165
166 // Structure to describe indication TLV 0x13 for WDS EventReport
167 struct sWDSEventReportIndication_RXPacketErrors
168 {
169 UINT32 mRXPacketErrors;
170 };
171
172 // Structure to describe indication TLV 0x14 for WDS EventReport
173 struct sWDSEventReportIndication_TXOverflows
174 {
175 UINT32 mTXOverflows;
176 };
177
178 // Structure to describe indication TLV 0x15 for WDS EventReport
179 struct sWDSEventReportIndication_RXOverflows
180 {
181 UINT32 mRXOverflows;
182 };
183
184 // Structure to describe indication TLV 0x16 for WDS EventReport
185 struct sWDSEventReportIndication_ChannelRates
186 {
187 UINT32 mChannelTXRatebps;
188 UINT32 mChannelRXRatebps;
189 };
190
191 // Structure to describe indication TLV 0x17 for WDS EventReport
192 struct sWDSEventReportIndication_DataBearerTechnology
193 {
194 eQMIDataBearerTechnologies mDataBearerTechnology;
195 };
196
197 // Structure to describe indication TLV 0x18 for WDS EventReport
198 struct sWDSEventReportIndication_DormancyStatus
199 {
200 eQMIDormancyStatus mDormancyStatus;
201 };
202
203 // Structure to describe indication TLV 0x19 for WDS EventReport
204 struct sWDSEventReportIndication_TXBytes
205 {
206 UINT64 mTXByteTotal;
207 };
208
209 // Structure to describe indication TLV 0x1A for WDS EventReport
210 struct sWDSEventReportIndication_RXBytes
211 {
212 UINT64 mRXByteTotal;
213 };
214
215 // Structure to describe indication TLV 0x1B for WDS EventReport
216 struct sWDSEventReportIndication_MIPStatus
217 {
218 UINT8 mMIPStatus;
219 };
220
221 // Structure to describe indication TLV 0x1D for WDS EventReport
222 struct sWDSEventReportIndication_CurrentDataBearerTechnology
223 {
224 eQMIWDSNetworkTypes mNetworkType;
225
226 // The following union is based on the value of mNetworkType
227 union uValOfNetworkType
228 {
229 // If the value of mNetworkType == 1
230 struct sNetworkTypeIs1
231 {
232 bool mCDMA1x:1;
233 bool mCDMA1xEvDORev0:1;
234 bool mCDMA1xEvDORevA:1;
235 bool mCDMA1xEvDORevB:1;
236 bool mCDMAEHRPD:1;
237 bool mCDMAFMC:1;
238
239 // Padding out 25 bits
240 UINT8 mReserved1:2;
241 UINT8 mReserved2[2];
242 UINT8 mReserved3:7;
243
244 bool mNullBearer:1;
245
246 // The following union is for handing both mCDMA1x and mCDMA1xEvDORev(0, A, B)
247 union uValOfCDMA1x_or_CDMA1xEvDORevX
248 {
249 // If the value of mCDMA1x == 1
250 struct sCDMA1xIs1
251 {
252 bool mCDMA1xIS95:1;
253 bool mCDMA1xIS2000:1;
254 bool mCDMA1xIS2000RelA:1;
255
256 // Padding out 29 bits
257 UINT8 mReserved4:5;
258 UINT8 mReserved5[3];
259 };
260
261 sCDMA1xIs1 mCDMA1xIs1;
262
263 // If the value of mCDMA1xEvDORev0 == 1
264 struct sCDMA1xEvDORev0Is1
265 {
266 bool mCDMA1xEvDORev0DPA:1;
267
268 // Padding out 31 bits
269 UINT8 mReserved6:7;
270 UINT8 mReserved7[3];
271 };
272
273 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
274
275 // If the value of mCDMA1xEvDORevA == 1
276 struct sCDMA1xEvDORevAIs1
277 {
278 bool mCDMA1xEvDORevADPA:1;
279 bool mCDMA1xEvDORevAMFPA:1;
280 bool mCDMA1xEvDORevAEMPA:1;
281 bool mCDMA1xEvDORevAEMPAEHRPD:1;
282
283 // Padding out 28 bits
284 UINT8 mReserved8:4;
285 UINT8 mReserved9[3];
286 };
287
288 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
289
290 // If the value of mCDMA1xEvDORevB == 1
291 struct sCDMA1xEvDORevBIs1
292 {
293 bool mCDMA1xEvDORevBDPA:1;
294 bool mCDMA1xEvDORevBMFPA:1;
295 bool mCDMA1xEvDORevBEMPA:1;
296 bool mCDMA1xEvDORevBEMPAEHRPD:1;
297 bool mCDMA1xEvDORevBMMPA:1;
298 bool mCDMA1xEvDORevBMMPAEHRPD:1;
299
300 // Padding out 26 bits
301 UINT8 mReserved10:2;
302 UINT8 mReserved11[3];
303 };
304
305 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
306
307 // Padding out 32 bits
308 UINT8 mReserved12[4];
309 };
310
311 uValOfCDMA1x_or_CDMA1xEvDORevX mValOfCDMA1x_or_CDMA1xEvDORevX;
312 };
313
314 sNetworkTypeIs1 mNetworkTypeIs1;
315
316 // If the value of mNetworkType == 2
317 struct sNetworkTypeIs2
318 {
319 bool mWCDMA:1;
320 bool mGPRS:1;
321 bool mHSDPA:1;
322 bool mHSUPA:1;
323 bool mEDGE:1;
324 bool mLTE:1;
325 bool mHSDPAPlus:1;
326 bool mDualCellHSDPAPlus:1;
327 bool m64QAM:1;
328 bool mTDSCDMA:1;
329
330 // Padding out 21 bits
331 UINT8 mReserved13:6;
332 UINT8 mReserved14;
333 UINT8 mReserved15:7;
334
335 bool mNullBearer:1;
336 };
337
338 sNetworkTypeIs2 mNetworkTypeIs2;
339
340 // Padding out 64 bits
341 UINT8 mReserved16[8];
342 };
343
344 uValOfNetworkType mValOfNetworkType;
345 };
346
347 // Structure to describe indication TLV 0x1F for WDS EventReport
348 struct sWDSEventReportIndication_DataCallStatus
349 {
350 eQMIWDSDataCallStatus mDataCallStatus;
351 };
352
353 // Structure to describe indication TLV 0x20 for WDS EventReport
354 struct sWDSEventReportIndication_PreferredDataSystem
355 {
356 eQMIWDSDataSystems mPreferredDataSystem;
357 };
358
359 // Structure to describe indication TLV 0x22 for WDS EventReport
360 struct sWDSEventReportIndication_DataCallType
361 {
362 eQMIWDSDataCallTypes mDataCallType;
363 eQMIWDSTetheredCallTypes mTetheredCallType;
364 };
365
366 // Structure to describe indication TLV 0x23 for WDS EventReport
367 struct sWDSEventReportIndication_EVDOPageMonitorPeriodChange
368 {
369 UINT8 mEVDOPageMonitorPeriodChange;
370 INT8 mEVDOForceLongSleep;
371 };
372
373 // Structure to describe indication TLV 0x24 for WDS EventReport
374 struct sWDSEventReportIndication_DataSystems
375 {
376 eQMIWDSDataSystemNetworkTypes mPreferredNetworkType;
377 UINT8 mNetworkCount;
378
379 struct sNetwork
380 {
381 eQMIWDSDataSystemNetworkTypes mNetworkType;
382
383 // The following union is based on the value of mNetworkType
384 union uValOfNetworkType
385 {
386 // If the value of mNetworkType == 0
387 struct sNetworkTypeIs0
388 {
389 bool mWCDMA:1;
390 bool mGPRS:1;
391 bool mHSDPA:1;
392 bool mHSUPA:1;
393 bool mEDGE:1;
394 bool mLTE:1;
395 bool mHSDPAPlus:1;
396 bool mDualCellHSDPAPlus:1;
397 bool m64QAM:1;
398 bool mTDSCDMA:1;
399
400 // Padding out 21 bits
401 UINT8 mReserved1:6;
402 UINT8 mReserved2;
403 UINT8 mReserved3:7;
404
405 bool mNULLBearer:1;
406 };
407
408 sNetworkTypeIs0 mNetworkTypeIs0;
409
410 // If the value of mNetworkType == 1
411 struct sNetworkTypeIs1
412 {
413 bool mCDMA1x:1;
414 bool mCDMA1xEvDORev0:1;
415 bool mCDMA1xEvDORevA:1;
416 bool mCDMA1xEvDORevB:1;
417 bool mCDMAEHRPD:1;
418 bool mCDMAFMC:1;
419
420 // Padding out 25 bits
421 UINT8 mReserved4:2;
422 UINT8 mReserved5[2];
423 UINT8 mReserved6:7;
424
425 bool mNULLBearer:1;
426
427 // The following union is for handing all mCDMA1x types
428 union uValOfCDMA1xTypes
429 {
430 // If the value of mCDMA1x == 1
431 struct sCDMA1xIs1
432 {
433 bool mCDMA1xIS95:1;
434 bool mCDMA1xIS2000:1;
435 bool mCDMA1xIS2000RelA:1;
436
437 // Padding out 29 bits
438 UINT8 mReserved7:5;
439 UINT8 mReserved8[3];
440 };
441
442 sCDMA1xIs1 mCDMA1xIs1;
443
444 // If the value of mCDMA1xEvDORev0 == 1
445 struct sCDMA1xEvDORev0Is1
446 {
447 bool mCDMA1xEvDORev0DPA:1;
448
449 // Padding out 31 bits
450 UINT8 mReserved9:7;
451 UINT8 mReserved10[3];
452 };
453
454 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
455
456 // If the value of mCDMA1xEvDORevA == 1
457 struct sCDMA1xEvDORevAIs1
458 {
459 bool mCDMA1xEvDORevADPA:1;
460 bool mCDMA1xEvDORevAMFPA:1;
461 bool mCDMA1xEvDORevAEMPA:1;
462 bool mCDMA1xEvDORevAEMPAEHRPD:1;
463
464 // Padding out 28 bits
465 UINT8 mReserved11:4;
466 UINT8 mReserved12[3];
467 };
468
469 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
470
471 // If the value of mCDMA1xEvDORevB == 1
472 struct sCDMA1xEvDORevBIs1
473 {
474 bool mCDMA1xEvDORevBDPA:1;
475 bool mCDMA1xEvDORevBMFPA:1;
476 bool mCDMA1xEvDORevBEMPA:1;
477 bool mCDMA1xEvDORevBEMPAEHRPD:1;
478 bool mCDMA1xEvDORevBMMPA:1;
479 bool mCDMA1xEvDORevBMMPAEHRPD:1;
480
481 // Padding out 26 bits
482 UINT8 mReserved13:2;
483 UINT8 mReserved14[3];
484 };
485
486 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
487
488 // Padding out 32 bits
489 UINT8 mReserved15[4];
490 };
491
492 uValOfCDMA1xTypes mValOfCDMA1xTypes;
493 };
494
495 sNetworkTypeIs1 mNetworkTypeIs1;
496
497 // Padding out 64 bits
498 UINT8 mReserved16[8];
499 };
500
501 uValOfNetworkType mValOfNetworkType;
502 };
503
504 // This array must be the size specified by mNetworkCount
505 // sNetwork mNetworks[1];
506 };
507
508 // Structure to describe indication TLV 0x25 for WDS EventReport
509 struct sWDSEventReportIndication_TXPacketsDropped
510 {
511 UINT32 mTXPacketsDropped;
512 };
513
514 // Structure to describe indication TLV 0x26 for WDS EventReport
515 struct sWDSEventReportIndication_RXPacketsDropped
516 {
517 UINT32 mRXPacketsDropped;
518 };
519
520 // Structure to describe indication TLV 0x27 for WDS EventReport
521 struct sWDSEventReportIndication_UplinkFlowControl
522 {
523 INT8 mUplinkFlowControlEnabled;
524 };
525
526 // Structure to describe request TLV 0x01 for WDSAbort()
527 struct sWDSAbortRequest_TransactionID
528 {
529 UINT16 mTransactionID;
530 };
531
532 // Structure to describe request TLV 0x10 for WDSSetIndication()
533 struct sWDSSetIndicationRequest_TMGIList
534 {
535 INT8 mReportEMBMSTMGIList;
536 };
537
538 // Structure to describe request TLV 0x10 for WDSStartNetworkInterface()
539 struct sWDSStartNetworkInterfaceRequest_PrimaryDNS
540 {
541 UINT8 mIPV4Address[4];
542 };
543
544 // Structure to describe request TLV 0x11 for WDSStartNetworkInterface()
545 struct sWDSStartNetworkInterfaceRequest_SecondaryDNS
546 {
547 UINT8 mIPV4Address[4];
548 };
549
550 // Structure to describe request TLV 0x12 for WDSStartNetworkInterface()
551 struct sWDSStartNetworkInterfaceRequest_PrimaryNBNS
552 {
553 UINT8 mIPV4Address[4];
554 };
555
556 // Structure to describe request TLV 0x13 for WDSStartNetworkInterface()
557 struct sWDSStartNetworkInterfaceRequest_SecondaryNBNS
558 {
559 UINT8 mIPV4Address[4];
560 };
561
562 // Structure to describe request TLV 0x14 for WDSStartNetworkInterface()
563 struct sWDSStartNetworkInterfaceRequest_ContextAPNName
564 {
565 // String is variable length, but must be size of the container
566 // char mAPNName[1];
567 };
568
569 // Structure to describe request TLV 0x15 for WDSStartNetworkInterface()
570 struct sWDSStartNetworkInterfaceRequest_IPAddress
571 {
572 UINT8 mIPV4Address[4];
573 };
574
575 // Structure to describe request TLV 0x16 for WDSStartNetworkInterface()
576 struct sWDSStartNetworkInterfaceRequest_Authentication
577 {
578 bool mEnablePAP:1;
579 bool mEnableCHAP:1;
580
581 // Padding out 6 bits
582 UINT8 mReserved1:6;
583 };
584
585 // Structure to describe request TLV 0x17 for WDSStartNetworkInterface()
586 struct sWDSStartNetworkInterfaceRequest_Username
587 {
588 // String is variable length, but must be size of the container
589 // char mUsername[1];
590 };
591
592 // Structure to describe request TLV 0x18 for WDSStartNetworkInterface()
593 struct sWDSStartNetworkInterfaceRequest_Password
594 {
595 // String is variable length, but must be size of the container
596 // char mPassword[1];
597 };
598
599 // Structure to describe request TLV 0x19 for WDSStartNetworkInterface()
600 struct sWDSStartNetworkInterfaceRequest_IPFamily
601 {
602 eQMIWDSIPFamilies mIPFamily;
603 };
604
605 // Structure to describe request TLV 0x30 for WDSStartNetworkInterface()
606 struct sWDSStartNetworkInterfaceRequest_TechnologyPreference
607 {
608 bool mEnable3GPP:1;
609 bool mEnable3GPP2:1;
610
611 // Padding out 6 bits
612 UINT8 mReserved1:6;
613 };
614
615 // Structure to describe request TLV 0x31 for WDSStartNetworkInterface()
616 struct sWDSStartNetworkInterfaceRequest_3GPPProfileIdentifier
617 {
618 UINT8 mProfileIndex;
619 };
620
621 // Structure to describe request TLV 0x32 for WDSStartNetworkInterface()
622 struct sWDSStartNetworkInterfaceRequest_3GPP2ProfileIdentifier
623 {
624 UINT8 mProfileIndex;
625 };
626
627 // Structure to describe request TLV 0x33 for WDSStartNetworkInterface()
628 struct sWDSStartNetworkInterfaceRequest_Autoconnect
629 {
630 eQMIWDSAutoconnectSettings mAutoconnectSetting;
631 };
632
633 // Structure to describe request TLV 0x34 for WDSStartNetworkInterface()
634 struct sWDSStartNetworkInterfaceRequest_ExtendedTechnologyPreference
635 {
636 eQMIWDSExtendedTechPrefs mExtendedTechnologyPreference;
637 };
638
639 // Structure to describe request TLV 0x35 for WDSStartNetworkInterface()
640 struct sWDSStartNetworkInterfaceRequest_CallType
641 {
642 eQMIWDSCallTypes mCallType;
643 };
644
645 // Structure to describe response TLV 0x01 for WDSStartNetworkInterface()
646 struct sWDSStartNetworkInterfaceResponse_PacketDataHandle
647 {
648 UINT32 mPacketDataHandle;
649 };
650
651 // Structure to describe response TLV 0x10 for WDSStartNetworkInterface()
652 struct sWDSStartNetworkInterfaceResponse_CallEndReason
653 {
654 eQMICallEndReasons mCallEnd;
655 };
656
657 // Structure to describe response TLV 0x11 for WDSStartNetworkInterface()
658 struct sWDSStartNetworkInterfaceResponse_VerboseCallEndReason
659 {
660 eQMIWDSCallEndReasonTypes mCallEndReasonType;
661
662 // The following union is based on the value of mCallEndReasonType
663 union uValOfCallEndReasonType
664 {
665 // Always present
666 UINT16 mCallEndReasonValue;
667
668 // If the value of mCallEndReasonType == 1
669 struct sCallEndReasonTypeIs1
670 {
671 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
672 };
673
674 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
675
676 // If the value of mCallEndReasonType == 2
677 struct sCallEndReasonTypeIs2
678 {
679 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
680 };
681
682 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
683
684 // If the value of mCallEndReasonType == 3
685 struct sCallEndReasonTypeIs3
686 {
687 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
688 };
689
690 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
691
692 // If the value of mCallEndReasonType == 6
693 struct sCallEndReasonTypeIs6
694 {
695 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
696 };
697
698 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
699
700 // If the value of mCallEndReasonType == 7
701 struct sCallEndReasonTypeIs7
702 {
703 eQMIWDSPPPCallEndReason mPPPCallEndReason;
704 };
705
706 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
707
708 // If the value of mCallEndReasonType == 8
709 struct sCallEndReasonTypeIs8
710 {
711 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
712 };
713
714 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
715
716 // If the value of mCallEndReasonType == 9
717 struct sCallEndReasonTypeIs9
718 {
719 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
720 };
721
722 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
723
724 // Padding out 16 bits
725 UINT8 mReserved1[2];
726 };
727
728 uValOfCallEndReasonType mValOfCallEndReasonType;
729 };
730
731 // Structure to describe request TLV 0x01 for WDSStopNetworkInterface()
732 struct sWDSStopNetworkInterfaceRequest_PacketDataHandle
733 {
734 UINT32 mPacketDataHandle;
735 };
736
737 // Structure to describe request TLV 0x10 for WDSStopNetworkInterface()
738 struct sWDSStopNetworkInterfaceRequest_Autoconnect
739 {
740 INT8 mAutoconnectOff;
741 };
742
743 // Structure to describe response TLV 0x01 for WDSGetPacketServiceStatus()
744 struct sWDSGetPacketServiceStatusResponse_Status
745 {
746 eQMIConnectionStatus mConnectionStatus;
747 };
748
749 // Structure to describe indication TLV 0x01 for WDS PacketServiceStatusReport
750 struct sWDSPacketServiceStatusReportIndication_Status
751 {
752 eQMIConnectionStatus mConnectionStatus;
753 INT8 mReconfigureRequired;
754 };
755
756 // Structure to describe indication TLV 0x10 for WDS PacketServiceStatusReport
757 struct sWDSPacketServiceStatusReportIndication_CallEndReason
758 {
759 eQMICallEndReasons mCallEnd;
760 };
761
762 // Structure to describe indication TLV 0x11 for WDS PacketServiceStatusReport
763 struct sWDSPacketServiceStatusReportIndication_VerboseCallEndReason
764 {
765 eQMIWDSCallEndReasonTypes mCallEndReasonType;
766
767 // The following union is based on the value of mCallEndReasonType
768 union uValOfCallEndReasonType
769 {
770 // Always present
771 UINT16 mCallEndReasonValue;
772
773 // If the value of mCallEndReasonType == 1
774 struct sCallEndReasonTypeIs1
775 {
776 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
777 };
778
779 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
780
781 // If the value of mCallEndReasonType == 2
782 struct sCallEndReasonTypeIs2
783 {
784 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
785 };
786
787 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
788
789 // If the value of mCallEndReasonType == 3
790 struct sCallEndReasonTypeIs3
791 {
792 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
793 };
794
795 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
796
797 // If the value of mCallEndReasonType == 6
798 struct sCallEndReasonTypeIs6
799 {
800 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
801 };
802
803 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
804
805 // If the value of mCallEndReasonType == 7
806 struct sCallEndReasonTypeIs7
807 {
808 eQMIWDSPPPCallEndReason mPPPCallEndReason;
809 };
810
811 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
812
813 // If the value of mCallEndReasonType == 8
814 struct sCallEndReasonTypeIs8
815 {
816 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
817 };
818
819 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
820
821 // If the value of mCallEndReasonType == 9
822 struct sCallEndReasonTypeIs9
823 {
824 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
825 };
826
827 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
828
829 // Padding out 16 bits
830 UINT8 mReserved1[2];
831 };
832
833 uValOfCallEndReasonType mValOfCallEndReasonType;
834 };
835
836 // Structure to describe indication TLV 0x12 for WDS PacketServiceStatusReport
837 struct sWDSPacketServiceStatusReportIndication_IPFamily
838 {
839 eQMIWDSIPFamilies mIPFamily;
840 };
841
842 // Structure to describe indication TLV 0x13 for WDS PacketServiceStatusReport
843 struct sWDSPacketServiceStatusReportIndication_ExtendedTechnology
844 {
845 eQMIWDSExtendedTechPrefs mExtendedTechnology;
846 };
847
848 // Structure to describe response TLV 0x01 for WDSGetChannelRates()
849 struct sWDSGetChannelRatesResponse_ChannelRates
850 {
851 UINT32 mChannelTXRatebps;
852 UINT32 mChannelRXRatebps;
853 UINT32 mMaxChannelTXRatebps;
854 UINT32 mMaxChannelRXRatebps;
855 };
856
857 // Structure to describe request TLV 0x01 for WDSGetPacketStatistics()
858 struct sWDSGetPacketStatisticsRequest_PacketStatsMask
859 {
860 bool mReportTXPacketSuccesses:1;
861 bool mReportRXPacketSuccesses:1;
862 bool mReportTXPacketErrors:1;
863 bool mReportRXPacketErrors:1;
864 bool mReportTXOverflows:1;
865 bool mReportRXOverflows:1;
866 bool mTXByteTotal:1;
867 bool mRXByteTotal:1;
868 bool mTXPacketsDropped:1;
869 bool mRXPacketsDropped:1;
870
871 // Padding out 22 bits
872 UINT8 mReserved1:6;
873 UINT8 mReserved2[2];
874 };
875
876 // Structure to describe response TLV 0x10 for WDSGetPacketStatistics()
877 struct sWDSGetPacketStatisticsResponse_TXPacketSuccesses
878 {
879 UINT32 mTXPacketSuccesses;
880 };
881
882 // Structure to describe response TLV 0x11 for WDSGetPacketStatistics()
883 struct sWDSGetPacketStatisticsResponse_RXPacketSuccesses
884 {
885 UINT32 mRXPacketSuccesses;
886 };
887
888 // Structure to describe response TLV 0x12 for WDSGetPacketStatistics()
889 struct sWDSGetPacketStatisticsResponse_TXPacketErrors
890 {
891 UINT32 mTXPacketErrors;
892 };
893
894 // Structure to describe response TLV 0x13 for WDSGetPacketStatistics()
895 struct sWDSGetPacketStatisticsResponse_RXPacketErrors
896 {
897 UINT32 mRXPacketErrors;
898 };
899
900 // Structure to describe response TLV 0x14 for WDSGetPacketStatistics()
901 struct sWDSGetPacketStatisticsResponse_TXOverflows
902 {
903 UINT32 mTXOverflows;
904 };
905
906 // Structure to describe response TLV 0x15 for WDSGetPacketStatistics()
907 struct sWDSGetPacketStatisticsResponse_RXOverflows
908 {
909 UINT32 mRXOverflows;
910 };
911
912 // Structure to describe response TLV 0x19 for WDSGetPacketStatistics()
913 struct sWDSGetPacketStatisticsResponse_TXBytes
914 {
915 UINT64 mTXByteTotal;
916 };
917
918 // Structure to describe response TLV 0x1A for WDSGetPacketStatistics()
919 struct sWDSGetPacketStatisticsResponse_RXBytes
920 {
921 UINT64 mRXByteTotal;
922 };
923
924 // Structure to describe response TLV 0x1B for WDSGetPacketStatistics()
925 struct sWDSGetPacketStatisticsResponse_PreviousTXBytes
926 {
927 UINT64 mPreviousCallTXByteTotal;
928 };
929
930 // Structure to describe response TLV 0x1C for WDSGetPacketStatistics()
931 struct sWDSGetPacketStatisticsResponse_PreviousRXBytes
932 {
933 UINT64 mPreviousCallRXByteTotal;
934 };
935
936 // Structure to describe response TLV 0x1D for WDSGetPacketStatistics()
937 struct sWDSGetPacketStatisticsResponse_TXPacketsDropped
938 {
939 UINT32 mTXPacketsDropped;
940 };
941
942 // Structure to describe response TLV 0x1E for WDSGetPacketStatistics()
943 struct sWDSGetPacketStatisticsResponse_RXPacketsDropped
944 {
945 UINT32 mRXPacketsDropped;
946 };
947
948 // Structure to describe request TLV 0x01 for WDSCreateProfile()
949 struct sWDSCreateProfileRequest_ProfileType
950 {
951 eQMIProfileTypes mProfileType;
952 };
953
954 // Structure to describe request TLV 0x10 for WDSCreateProfile()
955 struct sWDSCreateProfileRequest_ProfileName
956 {
957 // String is variable length, but must be size of the container
958 // char mProfileName[1];
959 };
960
961 // Structure to describe request TLV 0x11 for WDSCreateProfile()
962 struct sWDSCreateProfileRequest_PDPType
963 {
964 eQMIPDPTypes mPDPType;
965 };
966
967 // Structure to describe request TLV 0x12 for WDSCreateProfile()
968 struct sWDSCreateProfileRequest_PDPHeaderCompressionType
969 {
970 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
971 };
972
973 // Structure to describe request TLV 0x13 for WDSCreateProfile()
974 struct sWDSCreateProfileRequest_PDPDataCompressionType
975 {
976 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
977 };
978
979 // Structure to describe request TLV 0x14 for WDSCreateProfile()
980 struct sWDSCreateProfileRequest_APNName
981 {
982 // String is variable length, but must be size of the container
983 // char mAPNName[1];
984 };
985
986 // Structure to describe request TLV 0x15 for WDSCreateProfile()
987 struct sWDSCreateProfileRequest_PrimaryDNS
988 {
989 UINT8 mIPV4Address[4];
990 };
991
992 // Structure to describe request TLV 0x16 for WDSCreateProfile()
993 struct sWDSCreateProfileRequest_SecondaryDNS
994 {
995 UINT8 mIPV4Address[4];
996 };
997
998 // Structure to describe request TLV 0x17 for WDSCreateProfile()
999 struct sWDSCreateProfileRequest_UMTSRequestedQoS
1000 {
1001 eQMITrafficClasses mTrafficClass;
1002 UINT32 mMaxUplinkBitrate;
1003 UINT32 mMaxDownlinkBitrate;
1004 UINT32 mGuaranteedUplinkBitrate;
1005 UINT32 mGuaranteedDownlinkBitrate;
1006 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1007 UINT32 mMaxSDUSize;
1008 eQMISDUErrorRatios mSDUErrorRatio;
1009 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1010 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1011 UINT32 mTransferDelay;
1012 UINT32 mTrafficHandlingPriority;
1013 };
1014
1015 // Structure to describe request TLV 0x18 for WDSCreateProfile()
1016 struct sWDSCreateProfileRequest_UMTSMinimumQoS
1017 {
1018 eQMITrafficClasses mTrafficClass;
1019 UINT32 mMaxUplinkBitrate;
1020 UINT32 mMaxDownlinkBitrate;
1021 UINT32 mGuaranteedUplinkBitrate;
1022 UINT32 mGuaranteedDownlinkBitrate;
1023 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1024 UINT32 mMaxSDUSize;
1025 eQMISDUErrorRatios mSDUErrorRatio;
1026 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1027 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1028 UINT32 mTransferDelay;
1029 UINT32 mTrafficHandlingPriority;
1030 };
1031
1032 // Structure to describe request TLV 0x19 for WDSCreateProfile()
1033 struct sWDSCreateProfileRequest_GPRSRequestedQoS
1034 {
1035 UINT32 mPrecedenceClass;
1036 UINT32 mDelayClass;
1037 UINT32 mReliabilityClass;
1038 UINT32 mPeakThroughputClass;
1039 UINT32 mMeanThroughputClass;
1040 };
1041
1042 // Structure to describe request TLV 0x1A for WDSCreateProfile()
1043 struct sWDSCreateProfileRequest_GPRSMinimumQoS
1044 {
1045 UINT32 mPrecedenceClass;
1046 UINT32 mDelayClass;
1047 UINT32 mReliabilityClass;
1048 UINT32 mPeakThroughputClass;
1049 UINT32 mMeanThroughputClass;
1050 };
1051
1052 // Structure to describe request TLV 0x1B for WDSCreateProfile()
1053 struct sWDSCreateProfileRequest_Username
1054 {
1055 // String is variable length, but must be size of the container
1056 // char mUsername[1];
1057 };
1058
1059 // Structure to describe request TLV 0x1C for WDSCreateProfile()
1060 struct sWDSCreateProfileRequest_Password
1061 {
1062 // String is variable length, but must be size of the container
1063 // char mPassword[1];
1064 };
1065
1066 // Structure to describe request TLV 0x1D for WDSCreateProfile()
1067 struct sWDSCreateProfileRequest_Authentication
1068 {
1069 bool mEnablePAP:1;
1070 bool mEnableCHAP:1;
1071
1072 // Padding out 6 bits
1073 UINT8 mReserved1:6;
1074 };
1075
1076 // Structure to describe request TLV 0x1E for WDSCreateProfile()
1077 struct sWDSCreateProfileRequest_IPAddress
1078 {
1079 UINT8 mIPV4Address[4];
1080 };
1081
1082 // Structure to describe request TLV 0x1F for WDSCreateProfile()
1083 struct sWDSCreateProfileRequest_PCSCF
1084 {
1085 INT8 mPCSCFAddressUsingPCO;
1086 };
1087
1088 // Structure to describe request TLV 0x20 for WDSCreateProfile()
1089 struct sWDSCreateProfileRequest_PDPAccessControlFlag
1090 {
1091 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
1092 };
1093
1094 // Structure to describe request TLV 0x21 for WDSCreateProfile()
1095 struct sWDSCreateProfileRequest_PCSCFAddressUsingDHCP
1096 {
1097 INT8 mPCSCFAddressUsingDHCP;
1098 };
1099
1100 // Structure to describe request TLV 0x22 for WDSCreateProfile()
1101 struct sWDSCreateProfileRequest_IMCNFlag
1102 {
1103 INT8 mIMCN;
1104 };
1105
1106 // Structure to describe request TLV 0x23 for WDSCreateProfile()
1107 struct sWDSCreateProfileRequest_TrafficFlowTemplateID1Parameters
1108 {
1109 UINT8 mFilterID;
1110 UINT8 mEvaluationID;
1111 eQMIWDSIPVersion mIPVersion;
1112
1113 // The following union is based on the value of mIPVersion
1114 union uValOfIPVersion
1115 {
1116 // If the value of mIPVersion == 4
1117 struct sIPVersionIs4
1118 {
1119 UINT8 mIPV4Address[4];
1120 };
1121
1122 sIPVersionIs4 mIPVersionIs4;
1123
1124 // If the value of mIPVersion == 6
1125 struct sIPVersionIs6
1126 {
1127 UINT16 mIPv6Address[8];
1128 };
1129
1130 sIPVersionIs6 mIPVersionIs6;
1131
1132 // Padding out 128 bits
1133 UINT8 mReserved1[16];
1134 };
1135
1136 uValOfIPVersion mValOfIPVersion;
1137
1138 UINT8 mSourceIPMask;
1139 UINT8 mNextHeader;
1140 UINT16 mDestinationPortRangeStart;
1141 UINT16 mDestinationPortRangeEnd;
1142 UINT16 mSourcePortRangeStart;
1143 UINT16 mSourcePortRangeEnd;
1144 UINT32 mIPSECSecurityParameterIndex;
1145 UINT16 mTOSMask;
1146 UINT32 mFlowLabel;
1147 };
1148
1149 // Structure to describe request TLV 0x24 for WDSCreateProfile()
1150 struct sWDSCreateProfileRequest_TrafficFlowTemplateID2Parameters
1151 {
1152 UINT8 mFilterID;
1153 UINT8 mEvaluationID;
1154 eQMIWDSIPVersion mIPVersion;
1155
1156 // The following union is based on the value of mIPVersion
1157 union uValOfIPVersion
1158 {
1159 // If the value of mIPVersion == 4
1160 struct sIPVersionIs4
1161 {
1162 UINT8 mIPV4Address[4];
1163 };
1164
1165 sIPVersionIs4 mIPVersionIs4;
1166
1167 // If the value of mIPVersion == 6
1168 struct sIPVersionIs6
1169 {
1170 UINT16 mIPv6Address[8];
1171 };
1172
1173 sIPVersionIs6 mIPVersionIs6;
1174
1175 // Padding out 128 bits
1176 UINT8 mReserved1[16];
1177 };
1178
1179 uValOfIPVersion mValOfIPVersion;
1180
1181 UINT8 mSourceIPMask;
1182 UINT8 mNextHeader;
1183 UINT16 mDestinationPortRangeStart;
1184 UINT16 mDestinationPortRangeEnd;
1185 UINT16 mSourcePortRangeStart;
1186 UINT16 mSourcePortRangeEnd;
1187 UINT32 mIPSECSecurityParameterIndex;
1188 UINT16 mTOSMask;
1189 UINT32 mFlowLabel;
1190 };
1191
1192 // Structure to describe request TLV 0x25 for WDSCreateProfile()
1193 struct sWDSCreateProfileRequest_PDPContextNumber
1194 {
1195 UINT8 mPDPContextNumber;
1196 };
1197
1198 // Structure to describe request TLV 0x26 for WDSCreateProfile()
1199 struct sWDSCreateProfileRequest_PDPContextSecondaryFlag
1200 {
1201 INT8 mPDPContextSecondaryFlag;
1202 };
1203
1204 // Structure to describe request TLV 0x27 for WDSCreateProfile()
1205 struct sWDSCreateProfileRequest_PDPContextPrimaryID
1206 {
1207 UINT8 mPDPPrimaryID;
1208 };
1209
1210 // Structure to describe request TLV 0x28 for WDSCreateProfile()
1211 struct sWDSCreateProfileRequest_IPv6Address
1212 {
1213 UINT16 mIPv6Address[8];
1214 };
1215
1216 // Structure to describe request TLV 0x29 for WDSCreateProfile()
1217 struct sWDSCreateProfileRequest_RequestedQoS
1218 {
1219 eQMITrafficClasses mTrafficClass;
1220 UINT32 mMaxUplinkBitrate;
1221 UINT32 mMaxDownlinkBitrate;
1222 UINT32 mGuaranteedUplinkBitrate;
1223 UINT32 mGuaranteedDownlinkBitrate;
1224 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1225 UINT32 mMaxSDUSize;
1226 eQMISDUErrorRatios mSDUErrorRatio;
1227 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1228 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1229 UINT32 mTransferDelay;
1230 UINT32 mTrafficHandlingPriority;
1231 INT8 mSignalingIndication;
1232 };
1233
1234 // Structure to describe request TLV 0x2A for WDSCreateProfile()
1235 struct sWDSCreateProfileRequest_MinimumQoS
1236 {
1237 eQMITrafficClasses mTrafficClass;
1238 UINT32 mMaxUplinkBitrate;
1239 UINT32 mMaxDownlinkBitrate;
1240 UINT32 mGuaranteedUplinkBitrate;
1241 UINT32 mGuaranteedDownlinkBitrate;
1242 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1243 UINT32 mMaxSDUSize;
1244 eQMISDUErrorRatios mSDUErrorRatio;
1245 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1246 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1247 UINT32 mTransferDelay;
1248 UINT32 mTrafficHandlingPriority;
1249 INT8 mSignalingIndication;
1250 };
1251
1252 // Structure to describe request TLV 0x2B for WDSCreateProfile()
1253 struct sWDSCreateProfileRequest_PrimaryIPv6
1254 {
1255 UINT16 mIPv6Address[8];
1256 };
1257
1258 // Structure to describe request TLV 0x2C for WDSCreateProfile()
1259 struct sWDSCreateProfileRequest_SecondaryIPv6
1260 {
1261 UINT16 mIPv6Address[8];
1262 };
1263
1264 // Structure to describe request TLV 0x2D for WDSCreateProfile()
1265 struct sWDSCreateProfileRequest_AddressPreference
1266 {
1267 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
1268 };
1269
1270 // Structure to describe request TLV 0x2E for WDSCreateProfile()
1271 struct sWDSCreateProfileRequest_LTEQoSParameters
1272 {
1273 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
1274 UINT32 mGuaranteedDownlinkBitrate;
1275 UINT32 mMaxDownlinkBitrate;
1276 UINT32 mGuaranteedUplinkBitrate;
1277 UINT32 mMaxUplinkBitrate;
1278 };
1279
1280 // Structure to describe request TLV 0x2F for WDSCreateProfile()
1281 struct sWDSCreateProfileRequest_APNDisabled
1282 {
1283 INT8 mAPNDisabled;
1284 };
1285
1286 // Structure to describe request TLV 0x30 for WDSCreateProfile()
1287 struct sWDSCreateProfileRequest_PDNInactivityTimer
1288 {
1289 UINT32 mPDNInactivityTimerSeconds;
1290 };
1291
1292 // Structure to describe request TLV 0x31 for WDSCreateProfile()
1293 struct sWDSCreateProfileRequest_APNClass
1294 {
1295 UINT8 mAPNClass;
1296 };
1297
1298 // Structure to describe request TLV 0x35 for WDSCreateProfile()
1299 struct sWDSCreateProfileRequest_APNBearer
1300 {
1301 bool mGSM:1;
1302 bool mWCDMA:1;
1303 bool mLTE:1;
1304
1305 // Padding out 60 bits
1306 UINT8 mReserved1:5;
1307 UINT8 mReserved2[6];
1308 UINT8 mReserved3:7;
1309
1310 bool mAny:1;
1311 };
1312
1313 // Structure to describe request TLV 0x8F for WDSCreateProfile()
1314 struct sWDSCreateProfileRequest_ProfilePersistent
1315 {
1316 INT8 mProfilePersistent;
1317 };
1318
1319 // Structure to describe request TLV 0x90 for WDSCreateProfile()
1320 struct sWDSCreateProfileRequest_NegotiateDNSServerPreference
1321 {
1322 INT8 mNegotiateDNSServerPreference;
1323 };
1324
1325 // Structure to describe request TLV 0x91 for WDSCreateProfile()
1326 struct sWDSCreateProfileRequest_PPPSessionCloseTimerDO
1327 {
1328 UINT32 mPPPSessionCloseTimerDOSeconds;
1329 };
1330
1331 // Structure to describe request TLV 0x92 for WDSCreateProfile()
1332 struct sWDSCreateProfileRequest_PPPSessionCloseTimer1X
1333 {
1334 UINT32 mPPPSessionCloseTimer1XSeconds;
1335 };
1336
1337 // Structure to describe request TLV 0x93 for WDSCreateProfile()
1338 struct sWDSCreateProfileRequest_AllowLinger
1339 {
1340 INT8 mAllowLinger;
1341 };
1342
1343 // Structure to describe request TLV 0x94 for WDSCreateProfile()
1344 struct sWDSCreateProfileRequest_LCPACKTimeout
1345 {
1346 UINT16 mTimeoutMilliseconds;
1347 };
1348
1349 // Structure to describe request TLV 0x95 for WDSCreateProfile()
1350 struct sWDSCreateProfileRequest_IPCPACKTimeout
1351 {
1352 UINT16 mTimeoutMilliseconds;
1353 };
1354
1355 // Structure to describe request TLV 0x96 for WDSCreateProfile()
1356 struct sWDSCreateProfileRequest_AuthenticationTimeout
1357 {
1358 UINT16 mTimeoutMilliseconds;
1359 };
1360
1361 // Structure to describe request TLV 0x97 for WDSCreateProfile()
1362 struct sWDSCreateProfileRequest_LCPConfigRetryCount
1363 {
1364 UINT8 mRetryCount;
1365 };
1366
1367 // Structure to describe request TLV 0x98 for WDSCreateProfile()
1368 struct sWDSCreateProfileRequest_IPCPConfigRetryCount
1369 {
1370 UINT8 mRetryCount;
1371 };
1372
1373 // Structure to describe request TLV 0x99 for WDSCreateProfile()
1374 struct sWDSCreateProfileRequest_AuthenticationRetry
1375 {
1376 UINT8 mRetryCount;
1377 };
1378
1379 // Structure to describe request TLV 0x9A for WDSCreateProfile()
1380 struct sWDSCreateProfileRequest_AuthenticationProtocol
1381 {
1382 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1383 };
1384
1385 // Structure to describe request TLV 0x9B for WDSCreateProfile()
1386 struct sWDSCreateProfileRequest_UserID
1387 {
1388 // String is variable length, but must be size of the container
1389 // char mUsername[1];
1390 };
1391
1392 // Structure to describe request TLV 0x9C for WDSCreateProfile()
1393 struct sWDSCreateProfileRequest_AuthenticationPassword
1394 {
1395 // String is variable length, but must be size of the container
1396 // char mPassword[1];
1397 };
1398
1399 // Structure to describe request TLV 0x9D for WDSCreateProfile()
1400 struct sWDSCreateProfileRequest_DataRate
1401 {
1402 eQMIWDSDataRate mDataRate;
1403 };
1404
1405 // Structure to describe request TLV 0x9E for WDSCreateProfile()
1406 struct sWDSCreateProfileRequest_ApplicationType
1407 {
1408 eQMIWDSApplicationType mApplicationType;
1409 };
1410
1411 // Structure to describe request TLV 0x9F for WDSCreateProfile()
1412 struct sWDSCreateProfileRequest_DataMode
1413 {
1414 eQMIWDSDataMode mDataMode;
1415 };
1416
1417 // Structure to describe request TLV 0xA0 for WDSCreateProfile()
1418 struct sWDSCreateProfileRequest_ApplicationPriority
1419 {
1420 UINT8 mApplicationPriority;
1421 };
1422
1423 // Structure to describe request TLV 0xA1 for WDSCreateProfile()
1424 struct sWDSCreateProfileRequest_APNString
1425 {
1426 // String is variable length, but must be size of the container
1427 // char mAPNName[1];
1428 };
1429
1430 // Structure to describe request TLV 0xA2 for WDSCreateProfile()
1431 struct sWDSCreateProfileRequest_PDNType
1432 {
1433 eQMIWDSPDNType mPDNType;
1434 };
1435
1436 // Structure to describe request TLV 0xA3 for WDSCreateProfile()
1437 struct sWDSCreateProfileRequest_PCSCFAddressNeeded
1438 {
1439 INT8 mPCSCFAddressNeeded;
1440 };
1441
1442 // Structure to describe request TLV 0xA4 for WDSCreateProfile()
1443 struct sWDSCreateProfileRequest_PrimaryIPv4Address
1444 {
1445 UINT8 mIPV4Address[4];
1446 };
1447
1448 // Structure to describe request TLV 0xA5 for WDSCreateProfile()
1449 struct sWDSCreateProfileRequest_SecondaryIPv4Address
1450 {
1451 UINT8 mIPV4Address[4];
1452 };
1453
1454 // Structure to describe request TLV 0xA6 for WDSCreateProfile()
1455 struct sWDSCreateProfileRequest_PrimaryIPv6Address
1456 {
1457 UINT16 mIPv6Address[8];
1458 };
1459
1460 // Structure to describe request TLV 0xA7 for WDSCreateProfile()
1461 struct sWDSCreateProfileRequest_SecondaryIPv6Address
1462 {
1463 UINT16 mIPv6Address[8];
1464 };
1465
1466 // Structure to describe request TLV 0xA8 for WDSCreateProfile()
1467 struct sWDSCreateProfileRequest_RATType
1468 {
1469 eQMIWDS3GPP2RATTypes mRATType;
1470 };
1471
1472 // Structure to describe request TLV 0xA9 for WDSCreateProfile()
1473 struct sWDSCreateProfileRequest_3GPP2APNEnabled
1474 {
1475 INT8 mAPNEnabled;
1476 };
1477
1478 // Structure to describe request TLV 0xAA for WDSCreateProfile()
1479 struct sWDSCreateProfileRequest_3GPP2PDNInactivityTimer
1480 {
1481 UINT32 mPDNInactivityTimerMinutes;
1482 };
1483
1484 // Structure to describe request TLV 0xAB for WDSCreateProfile()
1485 struct sWDSCreateProfileRequest_3GPP2APNClass
1486 {
1487 UINT8 mAPNClass;
1488 };
1489
1490 // Structure to describe request TLV 0xAD for WDSCreateProfile()
1491 struct sWDSCreateProfileRequest_PDNAuthenticationProtocol
1492 {
1493 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1494 };
1495
1496 // Structure to describe request TLV 0xAE for WDSCreateProfile()
1497 struct sWDSCreateProfileRequest_PDNUserID
1498 {
1499 // String is variable length, but must be size of the container
1500 // char mUserID[1];
1501 };
1502
1503 // Structure to describe request TLV 0xAF for WDSCreateProfile()
1504 struct sWDSCreateProfileRequest_PDNPassword
1505 {
1506 // String is variable length, but must be size of the container
1507 // char mPassword[1];
1508 };
1509
1510 // Structure to describe request TLV 0xB0 for WDSCreateProfile()
1511 struct sWDSCreateProfileRequest_PDNLabel
1512 {
1513 // String is variable length, but must be size of the container
1514 // char mLabel[1];
1515 };
1516
1517 // Structure to describe response TLV 0x01 for WDSCreateProfile()
1518 struct sWDSCreateProfileResponse_ProfileIdentifier
1519 {
1520 eQMIProfileTypes mProfileType;
1521 UINT8 mProfileIndex;
1522 };
1523
1524 // Structure to describe response TLV 0xE0 for WDSCreateProfile()
1525 struct sWDSCreateProfileResponse_ExtendedErrorCode
1526 {
1527 eQMIWDSExtendedErrorCode mExtendedErrorCode;
1528 };
1529
1530 // Structure to describe request TLV 0x01 for WDSModifyProfile()
1531 struct sWDSModifyProfileRequest_ProfileIdentifier
1532 {
1533 eQMIProfileTypes mProfileType;
1534 UINT8 mProfileIndex;
1535 };
1536
1537 // Structure to describe request TLV 0x10 for WDSModifyProfile()
1538 struct sWDSModifyProfileRequest_ProfileName
1539 {
1540 // String is variable length, but must be size of the container
1541 // char mProfileName[1];
1542 };
1543
1544 // Structure to describe request TLV 0x11 for WDSModifyProfile()
1545 struct sWDSModifyProfileRequest_PDPType
1546 {
1547 eQMIPDPTypes mPDPType;
1548 };
1549
1550 // Structure to describe request TLV 0x12 for WDSModifyProfile()
1551 struct sWDSModifyProfileRequest_PDPHeaderCompressionType
1552 {
1553 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
1554 };
1555
1556 // Structure to describe request TLV 0x13 for WDSModifyProfile()
1557 struct sWDSModifyProfileRequest_PDPDataCompressionType
1558 {
1559 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
1560 };
1561
1562 // Structure to describe request TLV 0x14 for WDSModifyProfile()
1563 struct sWDSModifyProfileRequest_APNName
1564 {
1565 // String is variable length, but must be size of the container
1566 // char mAPNName[1];
1567 };
1568
1569 // Structure to describe request TLV 0x15 for WDSModifyProfile()
1570 struct sWDSModifyProfileRequest_PrimaryDNS
1571 {
1572 UINT8 mIPV4Address[4];
1573 };
1574
1575 // Structure to describe request TLV 0x16 for WDSModifyProfile()
1576 struct sWDSModifyProfileRequest_SecondaryDNS
1577 {
1578 UINT8 mIPV4Address[4];
1579 };
1580
1581 // Structure to describe request TLV 0x17 for WDSModifyProfile()
1582 struct sWDSModifyProfileRequest_UMTSRequestedQoS
1583 {
1584 eQMITrafficClasses mTrafficClass;
1585 UINT32 mMaxUplinkBitrate;
1586 UINT32 mMaxDownlinkBitrate;
1587 UINT32 mGuaranteedUplinkBitrate;
1588 UINT32 mGuaranteedDownlinkBitrate;
1589 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1590 UINT32 mMaxSDUSize;
1591 eQMISDUErrorRatios mSDUErrorRatio;
1592 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1593 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1594 UINT32 mTransferDelay;
1595 UINT32 mTrafficHandlingPriority;
1596 };
1597
1598 // Structure to describe request TLV 0x18 for WDSModifyProfile()
1599 struct sWDSModifyProfileRequest_UMTSMinimumQoS
1600 {
1601 eQMITrafficClasses mTrafficClass;
1602 UINT32 mMaxUplinkBitrate;
1603 UINT32 mMaxDownlinkBitrate;
1604 UINT32 mGuaranteedUplinkBitrate;
1605 UINT32 mGuaranteedDownlinkBitrate;
1606 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1607 UINT32 mMaxSDUSize;
1608 eQMISDUErrorRatios mSDUErrorRatio;
1609 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1610 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1611 UINT32 mTransferDelay;
1612 UINT32 mTrafficHandlingPriority;
1613 };
1614
1615 // Structure to describe request TLV 0x19 for WDSModifyProfile()
1616 struct sWDSModifyProfileRequest_GPRSRequestedQoS
1617 {
1618 UINT32 mPrecedenceClass;
1619 UINT32 mDelayClass;
1620 UINT32 mReliabilityClass;
1621 UINT32 mPeakThroughputClass;
1622 UINT32 mMeanThroughputClass;
1623 };
1624
1625 // Structure to describe request TLV 0x1A for WDSModifyProfile()
1626 struct sWDSModifyProfileRequest_GPRSMinimumQoS
1627 {
1628 UINT32 mPrecedenceClass;
1629 UINT32 mDelayClass;
1630 UINT32 mReliabilityClass;
1631 UINT32 mPeakThroughputClass;
1632 UINT32 mMeanThroughputClass;
1633 };
1634
1635 // Structure to describe request TLV 0x1B for WDSModifyProfile()
1636 struct sWDSModifyProfileRequest_Username
1637 {
1638 // String is variable length, but must be size of the container
1639 // char mUsername[1];
1640 };
1641
1642 // Structure to describe request TLV 0x1C for WDSModifyProfile()
1643 struct sWDSModifyProfileRequest_Password
1644 {
1645 // String is variable length, but must be size of the container
1646 // char mPassword[1];
1647 };
1648
1649 // Structure to describe request TLV 0x1D for WDSModifyProfile()
1650 struct sWDSModifyProfileRequest_Authentication
1651 {
1652 bool mEnablePAP:1;
1653 bool mEnableCHAP:1;
1654
1655 // Padding out 6 bits
1656 UINT8 mReserved1:6;
1657 };
1658
1659 // Structure to describe request TLV 0x1E for WDSModifyProfile()
1660 struct sWDSModifyProfileRequest_IPAddress
1661 {
1662 UINT8 mIPV4Address[4];
1663 };
1664
1665 // Structure to describe request TLV 0x1F for WDSModifyProfile()
1666 struct sWDSModifyProfileRequest_PCSCF
1667 {
1668 INT8 mPCSCFAddressUsingPCO;
1669 };
1670
1671 // Structure to describe request TLV 0x20 for WDSModifyProfile()
1672 struct sWDSModifyProfileRequest_PDPAccessControlFlag
1673 {
1674 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
1675 };
1676
1677 // Structure to describe request TLV 0x21 for WDSModifyProfile()
1678 struct sWDSModifyProfileRequest_PCSCFAddressUsingDHCP
1679 {
1680 INT8 mPCSCFAddressUsingDHCP;
1681 };
1682
1683 // Structure to describe request TLV 0x22 for WDSModifyProfile()
1684 struct sWDSModifyProfileRequest_IMCNFlag
1685 {
1686 INT8 mIMCN;
1687 };
1688
1689 // Structure to describe request TLV 0x23 for WDSModifyProfile()
1690 struct sWDSModifyProfileRequest_TrafficFlowTemplateID1Parameters
1691 {
1692 UINT8 mFilterID;
1693 UINT8 mEvaluationID;
1694 eQMIWDSIPVersion mIPVersion;
1695
1696 // The following union is based on the value of mIPVersion
1697 union uValOfIPVersion
1698 {
1699 // If the value of mIPVersion == 4
1700 struct sIPVersionIs4
1701 {
1702 UINT8 mIPV4Address[4];
1703 };
1704
1705 sIPVersionIs4 mIPVersionIs4;
1706
1707 // If the value of mIPVersion == 6
1708 struct sIPVersionIs6
1709 {
1710 UINT16 mIPv6Address[8];
1711 };
1712
1713 sIPVersionIs6 mIPVersionIs6;
1714
1715 // Padding out 128 bits
1716 UINT8 mReserved1[16];
1717 };
1718
1719 uValOfIPVersion mValOfIPVersion;
1720
1721 UINT8 mSourceIPMask;
1722 UINT8 mNextHeader;
1723 UINT16 mDestinationPortRangeStart;
1724 UINT16 mDestinationPortRangeEnd;
1725 UINT16 mSourcePortRangeStart;
1726 UINT16 mSourcePortRangeEnd;
1727 UINT32 mIPSECSecurityParameterIndex;
1728 UINT16 mTOSMask;
1729 UINT32 mFlowLabel;
1730 };
1731
1732 // Structure to describe request TLV 0x24 for WDSModifyProfile()
1733 struct sWDSModifyProfileRequest_TrafficFlowTemplateID2Parameters
1734 {
1735 UINT8 mFilterID;
1736 UINT8 mEvaluationID;
1737 eQMIWDSIPVersion mIPVersion;
1738
1739 // The following union is based on the value of mIPVersion
1740 union uValOfIPVersion
1741 {
1742 // If the value of mIPVersion == 4
1743 struct sIPVersionIs4
1744 {
1745 UINT8 mIPV4Address[4];
1746 };
1747
1748 sIPVersionIs4 mIPVersionIs4;
1749
1750 // If the value of mIPVersion == 6
1751 struct sIPVersionIs6
1752 {
1753 UINT16 mIPv6Address[8];
1754 };
1755
1756 sIPVersionIs6 mIPVersionIs6;
1757
1758 // Padding out 128 bits
1759 UINT8 mReserved1[16];
1760 };
1761
1762 uValOfIPVersion mValOfIPVersion;
1763
1764 UINT8 mSourceIPMask;
1765 UINT8 mNextHeader;
1766 UINT16 mDestinationPortRangeStart;
1767 UINT16 mDestinationPortRangeEnd;
1768 UINT16 mSourcePortRangeStart;
1769 UINT16 mSourcePortRangeEnd;
1770 UINT32 mIPSECSecurityParameterIndex;
1771 UINT16 mTOSMask;
1772 UINT32 mFlowLabel;
1773 };
1774
1775 // Structure to describe request TLV 0x25 for WDSModifyProfile()
1776 struct sWDSModifyProfileRequest_PDPContextNumber
1777 {
1778 UINT8 mPDPContextNumber;
1779 };
1780
1781 // Structure to describe request TLV 0x26 for WDSModifyProfile()
1782 struct sWDSModifyProfileRequest_PDPContextSecondaryFlag
1783 {
1784 INT8 mPDPContextSecondaryFlag;
1785 };
1786
1787 // Structure to describe request TLV 0x27 for WDSModifyProfile()
1788 struct sWDSModifyProfileRequest_PDPContextPrimaryID
1789 {
1790 UINT8 mPDPPrimaryID;
1791 };
1792
1793 // Structure to describe request TLV 0x28 for WDSModifyProfile()
1794 struct sWDSModifyProfileRequest_IPv6Address
1795 {
1796 UINT16 mIPv6Address[8];
1797 };
1798
1799 // Structure to describe request TLV 0x29 for WDSModifyProfile()
1800 struct sWDSModifyProfileRequest_RequestedQoS
1801 {
1802 eQMITrafficClasses mTrafficClass;
1803 UINT32 mMaxUplinkBitrate;
1804 UINT32 mMaxDownlinkBitrate;
1805 UINT32 mGuaranteedUplinkBitrate;
1806 UINT32 mGuaranteedDownlinkBitrate;
1807 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1808 UINT32 mMaxSDUSize;
1809 eQMISDUErrorRatios mSDUErrorRatio;
1810 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1811 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1812 UINT32 mTransferDelay;
1813 UINT32 mTrafficHandlingPriority;
1814 INT8 mSignalingIndication;
1815 };
1816
1817 // Structure to describe request TLV 0x2A for WDSModifyProfile()
1818 struct sWDSModifyProfileRequest_MinimumQoS
1819 {
1820 eQMITrafficClasses mTrafficClass;
1821 UINT32 mMaxUplinkBitrate;
1822 UINT32 mMaxDownlinkBitrate;
1823 UINT32 mGuaranteedUplinkBitrate;
1824 UINT32 mGuaranteedDownlinkBitrate;
1825 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
1826 UINT32 mMaxSDUSize;
1827 eQMISDUErrorRatios mSDUErrorRatio;
1828 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
1829 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
1830 UINT32 mTransferDelay;
1831 UINT32 mTrafficHandlingPriority;
1832 INT8 mSignalingIndication;
1833 };
1834
1835 // Structure to describe request TLV 0x2B for WDSModifyProfile()
1836 struct sWDSModifyProfileRequest_PrimaryIPv6
1837 {
1838 UINT16 mIPv6Address[8];
1839 };
1840
1841 // Structure to describe request TLV 0x2C for WDSModifyProfile()
1842 struct sWDSModifyProfileRequest_SecondaryIPv6
1843 {
1844 UINT16 mIPv6Address[8];
1845 };
1846
1847 // Structure to describe request TLV 0x2D for WDSModifyProfile()
1848 struct sWDSModifyProfileRequest_AddressPreference
1849 {
1850 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
1851 };
1852
1853 // Structure to describe request TLV 0x2E for WDSModifyProfile()
1854 struct sWDSModifyProfileRequest_LTEQoSParameters
1855 {
1856 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
1857 UINT32 mGuaranteedDownlinkBitrate;
1858 UINT32 mMaxDownlinkBitrate;
1859 UINT32 mGuaranteedUplinkBitrate;
1860 UINT32 mMaxUplinkBitrate;
1861 };
1862
1863 // Structure to describe request TLV 0x2F for WDSModifyProfile()
1864 struct sWDSModifyProfileRequest_APNDisabled
1865 {
1866 INT8 mAPNDisabled;
1867 };
1868
1869 // Structure to describe request TLV 0x30 for WDSModifyProfile()
1870 struct sWDSModifyProfileRequest_PDNInactivityTimer
1871 {
1872 UINT32 mPDNInactivityTimerSeconds;
1873 };
1874
1875 // Structure to describe request TLV 0x31 for WDSModifyProfile()
1876 struct sWDSModifyProfileRequest_APNClass
1877 {
1878 UINT8 mAPNClass;
1879 };
1880
1881 // Structure to describe request TLV 0x35 for WDSModifyProfile()
1882 struct sWDSModifyProfileRequest_APNBearer
1883 {
1884 bool mGSM:1;
1885 bool mWCDMA:1;
1886 bool mLTE:1;
1887
1888 // Padding out 60 bits
1889 UINT8 mReserved1:5;
1890 UINT8 mReserved2[6];
1891 UINT8 mReserved3:7;
1892
1893 bool mAny:1;
1894 };
1895
1896 // Structure to describe request TLV 0x90 for WDSModifyProfile()
1897 struct sWDSModifyProfileRequest_NegotiateDNSServerPrefrence
1898 {
1899 INT8 mNegotiateDNSServerPreference;
1900 };
1901
1902 // Structure to describe request TLV 0x91 for WDSModifyProfile()
1903 struct sWDSModifyProfileRequest_PPPSessionCloseTimerDO
1904 {
1905 UINT32 mPPPSessionCloseTimerDOSeconds;
1906 };
1907
1908 // Structure to describe request TLV 0x92 for WDSModifyProfile()
1909 struct sWDSModifyProfileRequest_PPPSessionCloseTimer1X
1910 {
1911 UINT32 mPPPSessionCloseTimer1XSeconds;
1912 };
1913
1914 // Structure to describe request TLV 0x93 for WDSModifyProfile()
1915 struct sWDSModifyProfileRequest_AllowLinger
1916 {
1917 INT8 mAllowLinger;
1918 };
1919
1920 // Structure to describe request TLV 0x94 for WDSModifyProfile()
1921 struct sWDSModifyProfileRequest_LCPACKTimeout
1922 {
1923 UINT16 mTimeoutMilliseconds;
1924 };
1925
1926 // Structure to describe request TLV 0x95 for WDSModifyProfile()
1927 struct sWDSModifyProfileRequest_IPCPACKTimeout
1928 {
1929 UINT16 mTimeoutMilliseconds;
1930 };
1931
1932 // Structure to describe request TLV 0x96 for WDSModifyProfile()
1933 struct sWDSModifyProfileRequest_AuthenticationTimeout
1934 {
1935 UINT16 mTimeoutMilliseconds;
1936 };
1937
1938 // Structure to describe request TLV 0x97 for WDSModifyProfile()
1939 struct sWDSModifyProfileRequest_LCPConfigRetryCount
1940 {
1941 UINT8 mRetryCount;
1942 };
1943
1944 // Structure to describe request TLV 0x98 for WDSModifyProfile()
1945 struct sWDSModifyProfileRequest_IPCPConfigRetryCount
1946 {
1947 UINT8 mRetryCount;
1948 };
1949
1950 // Structure to describe request TLV 0x99 for WDSModifyProfile()
1951 struct sWDSModifyProfileRequest_AuthenticationRetry
1952 {
1953 UINT8 mRetryCount;
1954 };
1955
1956 // Structure to describe request TLV 0x9A for WDSModifyProfile()
1957 struct sWDSModifyProfileRequest_AuthenticationProtocol
1958 {
1959 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
1960 };
1961
1962 // Structure to describe request TLV 0x9B for WDSModifyProfile()
1963 struct sWDSModifyProfileRequest_UserID
1964 {
1965 // String is variable length, but must be size of the container
1966 // char mUsername[1];
1967 };
1968
1969 // Structure to describe request TLV 0x9C for WDSModifyProfile()
1970 struct sWDSModifyProfileRequest_AuthenticationPassword
1971 {
1972 // String is variable length, but must be size of the container
1973 // char mPassword[1];
1974 };
1975
1976 // Structure to describe request TLV 0x9D for WDSModifyProfile()
1977 struct sWDSModifyProfileRequest_DataRate
1978 {
1979 eQMIWDSDataRate mDataRate;
1980 };
1981
1982 // Structure to describe request TLV 0x9E for WDSModifyProfile()
1983 struct sWDSModifyProfileRequest_ApplicationType
1984 {
1985 eQMIWDSApplicationType mApplicationType;
1986 };
1987
1988 // Structure to describe request TLV 0x9F for WDSModifyProfile()
1989 struct sWDSModifyProfileRequest_DataMode
1990 {
1991 eQMIWDSDataMode mDataMode;
1992 };
1993
1994 // Structure to describe request TLV 0xA0 for WDSModifyProfile()
1995 struct sWDSModifyProfileRequest_ApplicationPriority
1996 {
1997 UINT8 mApplicationPriority;
1998 };
1999
2000 // Structure to describe request TLV 0xA1 for WDSModifyProfile()
2001 struct sWDSModifyProfileRequest_APNString
2002 {
2003 // String is variable length, but must be size of the container
2004 // char mAPNName[1];
2005 };
2006
2007 // Structure to describe request TLV 0xA2 for WDSModifyProfile()
2008 struct sWDSModifyProfileRequest_PDNType
2009 {
2010 eQMIWDSPDNType mPDNType;
2011 };
2012
2013 // Structure to describe request TLV 0xA3 for WDSModifyProfile()
2014 struct sWDSModifyProfileRequest_PCSCFAddressNeeded
2015 {
2016 INT8 mPCSCFAddressNeeded;
2017 };
2018
2019 // Structure to describe request TLV 0xA4 for WDSModifyProfile()
2020 struct sWDSModifyProfileRequest_PrimaryIPv4Address
2021 {
2022 UINT8 mIPV4Address[4];
2023 };
2024
2025 // Structure to describe request TLV 0xA5 for WDSModifyProfile()
2026 struct sWDSModifyProfileRequest_SecondaryIPv4Address
2027 {
2028 UINT8 mIPV4Address[4];
2029 };
2030
2031 // Structure to describe request TLV 0xA6 for WDSModifyProfile()
2032 struct sWDSModifyProfileRequest_PrimaryIPv6Address
2033 {
2034 UINT16 mIPv6Address[8];
2035 };
2036
2037 // Structure to describe request TLV 0xA7 for WDSModifyProfile()
2038 struct sWDSModifyProfileRequest_SecondaryIPv6Address
2039 {
2040 UINT16 mIPv6Address[8];
2041 };
2042
2043 // Structure to describe request TLV 0xA8 for WDSModifyProfile()
2044 struct sWDSModifyProfileRequest_RATType
2045 {
2046 eQMIWDS3GPP2RATTypes mRATType;
2047 };
2048
2049 // Structure to describe request TLV 0xA9 for WDSModifyProfile()
2050 struct sWDSModifyProfileRequest_3GPP2APNEnabled
2051 {
2052 INT8 mAPNEnabled;
2053 };
2054
2055 // Structure to describe request TLV 0xAA for WDSModifyProfile()
2056 struct sWDSModifyProfileRequest_3GPP2PDNInactivityTimer
2057 {
2058 UINT32 mPDNInactivityTimerMinutes;
2059 };
2060
2061 // Structure to describe request TLV 0xAB for WDSModifyProfile()
2062 struct sWDSModifyProfileRequest_3GPP2APNClass
2063 {
2064 UINT8 mAPNClass;
2065 };
2066
2067 // Structure to describe request TLV 0xAD for WDSModifyProfile()
2068 struct sWDSModifyProfileRequest_PDNAuthenticationProtocol
2069 {
2070 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2071 };
2072
2073 // Structure to describe request TLV 0xAE for WDSModifyProfile()
2074 struct sWDSModifyProfileRequest_PDNUserID
2075 {
2076 // String is variable length, but must be size of the container
2077 // char mUserID[1];
2078 };
2079
2080 // Structure to describe request TLV 0xAF for WDSModifyProfile()
2081 struct sWDSModifyProfileRequest_PDNPassword
2082 {
2083 // String is variable length, but must be size of the container
2084 // char mPassword[1];
2085 };
2086
2087 // Structure to describe request TLV 0xB0 for WDSModifyProfile()
2088 struct sWDSModifyProfileRequest_PDNLabel
2089 {
2090 // String is variable length, but must be size of the container
2091 // char mLabel[1];
2092 };
2093
2094 // Structure to describe response TLV 0xE0 for WDSModifyProfile()
2095 struct sWDSModifyProfileResponse_ExtendedErrorCode
2096 {
2097 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2098 };
2099
2100 // Structure to describe request TLV 0x01 for WDSDeleteProfile()
2101 struct sWDSDeleteProfileRequest_ProfileIdentifier
2102 {
2103 eQMIProfileTypes mProfileType;
2104 UINT8 mProfileIndex;
2105 };
2106
2107 // Structure to describe response TLV 0xE0 for WDSDeleteProfile()
2108 struct sWDSDeleteProfileResponse_ExtendedErrorCode
2109 {
2110 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2111 };
2112
2113 // Structure to describe request TLV 0x10 for WDSGetProfileList()
2114 struct sWDSGetProfileListRequest_ProfileName
2115 {
2116 // String is variable length, but must be size of the container
2117 // char mProfileName[1];
2118 };
2119
2120 // Structure to describe request TLV 0x11 for WDSGetProfileList()
2121 struct sWDSGetProfileListRequest_PDPType
2122 {
2123 eQMIPDPTypes mPDPType;
2124 };
2125
2126 // Structure to describe request TLV 0x12 for WDSGetProfileList()
2127 struct sWDSGetProfileListRequest_PDPHeaderCompressionType
2128 {
2129 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
2130 };
2131
2132 // Structure to describe request TLV 0x13 for WDSGetProfileList()
2133 struct sWDSGetProfileListRequest_PDPDataCompressionType
2134 {
2135 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
2136 };
2137
2138 // Structure to describe request TLV 0x14 for WDSGetProfileList()
2139 struct sWDSGetProfileListRequest_APNName
2140 {
2141 // String is variable length, but must be size of the container
2142 // char mAPNName[1];
2143 };
2144
2145 // Structure to describe request TLV 0x15 for WDSGetProfileList()
2146 struct sWDSGetProfileListRequest_PrimaryDNS
2147 {
2148 UINT8 mIPV4Address[4];
2149 };
2150
2151 // Structure to describe request TLV 0x16 for WDSGetProfileList()
2152 struct sWDSGetProfileListRequest_SecondaryDNS
2153 {
2154 UINT8 mIPV4Address[4];
2155 };
2156
2157 // Structure to describe request TLV 0x17 for WDSGetProfileList()
2158 struct sWDSGetProfileListRequest_UMTSRequestedQoS
2159 {
2160 eQMITrafficClasses mTrafficClass;
2161 UINT32 mMaxUplinkBitrate;
2162 UINT32 mMaxDownlinkBitrate;
2163 UINT32 mGuaranteedUplinkBitrate;
2164 UINT32 mGuaranteedDownlinkBitrate;
2165 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2166 UINT32 mMaxSDUSize;
2167 eQMISDUErrorRatios mSDUErrorRatio;
2168 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2169 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2170 UINT32 mTransferDelay;
2171 UINT32 mTrafficHandlingPriority;
2172 };
2173
2174 // Structure to describe request TLV 0x18 for WDSGetProfileList()
2175 struct sWDSGetProfileListRequest_UMTSMinimumQoS
2176 {
2177 eQMITrafficClasses mTrafficClass;
2178 UINT32 mMaxUplinkBitrate;
2179 UINT32 mMaxDownlinkBitrate;
2180 UINT32 mGuaranteedUplinkBitrate;
2181 UINT32 mGuaranteedDownlinkBitrate;
2182 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2183 UINT32 mMaxSDUSize;
2184 eQMISDUErrorRatios mSDUErrorRatio;
2185 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2186 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2187 UINT32 mTransferDelay;
2188 UINT32 mTrafficHandlingPriority;
2189 };
2190
2191 // Structure to describe request TLV 0x19 for WDSGetProfileList()
2192 struct sWDSGetProfileListRequest_GPRSRequestedQoS
2193 {
2194 UINT32 mPrecedenceClass;
2195 UINT32 mDelayClass;
2196 UINT32 mReliabilityClass;
2197 UINT32 mPeakThroughputClass;
2198 UINT32 mMeanThroughputClass;
2199 };
2200
2201 // Structure to describe request TLV 0x1A for WDSGetProfileList()
2202 struct sWDSGetProfileListRequest_GPRSMinimumQoS
2203 {
2204 UINT32 mPrecedenceClass;
2205 UINT32 mDelayClass;
2206 UINT32 mReliabilityClass;
2207 UINT32 mPeakThroughputClass;
2208 UINT32 mMeanThroughputClass;
2209 };
2210
2211 // Structure to describe request TLV 0x1B for WDSGetProfileList()
2212 struct sWDSGetProfileListRequest_Username
2213 {
2214 // String is variable length, but must be size of the container
2215 // char mUsername[1];
2216 };
2217
2218 // Structure to describe request TLV 0x1C for WDSGetProfileList()
2219 struct sWDSGetProfileListRequest_Password
2220 {
2221 // String is variable length, but must be size of the container
2222 // char mPassword[1];
2223 };
2224
2225 // Structure to describe request TLV 0x1D for WDSGetProfileList()
2226 struct sWDSGetProfileListRequest_Authentication
2227 {
2228 bool mEnablePAP:1;
2229 bool mEnableCHAP:1;
2230
2231 // Padding out 6 bits
2232 UINT8 mReserved1:6;
2233 };
2234
2235 // Structure to describe request TLV 0x1E for WDSGetProfileList()
2236 struct sWDSGetProfileListRequest_IPAddress
2237 {
2238 UINT8 mIPV4Address[4];
2239 };
2240
2241 // Structure to describe request TLV 0x1F for WDSGetProfileList()
2242 struct sWDSGetProfileListRequest_PCSCF
2243 {
2244 INT8 mPCSCFAddressUsingPCO;
2245 };
2246
2247 // Structure to describe request TLV 0x20 for WDSGetProfileList()
2248 struct sWDSGetProfileListRequest_PDPAccessControlFlag
2249 {
2250 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
2251 };
2252
2253 // Structure to describe request TLV 0x21 for WDSGetProfileList()
2254 struct sWDSGetProfileListRequest_PCSCFAddressUsingDHCP
2255 {
2256 INT8 mPCSCFAddressUsingDHCP;
2257 };
2258
2259 // Structure to describe request TLV 0x22 for WDSGetProfileList()
2260 struct sWDSGetProfileListRequest_IMCNFlag
2261 {
2262 INT8 mIMCN;
2263 };
2264
2265 // Structure to describe request TLV 0x23 for WDSGetProfileList()
2266 struct sWDSGetProfileListRequest_TrafficFlowTemplateID1Parameters
2267 {
2268 UINT8 mFilterID;
2269 UINT8 mEvaluationID;
2270 eQMIWDSIPVersion mIPVersion;
2271
2272 // The following union is based on the value of mIPVersion
2273 union uValOfIPVersion
2274 {
2275 // If the value of mIPVersion == 4
2276 struct sIPVersionIs4
2277 {
2278 UINT8 mIPV4Address[4];
2279 };
2280
2281 sIPVersionIs4 mIPVersionIs4;
2282
2283 // If the value of mIPVersion == 6
2284 struct sIPVersionIs6
2285 {
2286 UINT16 mIPv6Address[8];
2287 };
2288
2289 sIPVersionIs6 mIPVersionIs6;
2290
2291 // Padding out 128 bits
2292 UINT8 mReserved1[16];
2293 };
2294
2295 uValOfIPVersion mValOfIPVersion;
2296
2297 UINT8 mSourceIPMask;
2298 UINT8 mNextHeader;
2299 UINT16 mDestinationPortRangeStart;
2300 UINT16 mDestinationPortRangeEnd;
2301 UINT16 mSourcePortRangeStart;
2302 UINT16 mSourcePortRangeEnd;
2303 UINT32 mIPSECSecurityParameterIndex;
2304 UINT16 mTOSMask;
2305 UINT32 mFlowLabel;
2306 };
2307
2308 // Structure to describe request TLV 0x24 for WDSGetProfileList()
2309 struct sWDSGetProfileListRequest_TrafficFlowTemplateID2Parameters
2310 {
2311 UINT8 mFilterID;
2312 UINT8 mEvaluationID;
2313 eQMIWDSIPVersion mIPVersion;
2314
2315 // The following union is based on the value of mIPVersion
2316 union uValOfIPVersion
2317 {
2318 // If the value of mIPVersion == 4
2319 struct sIPVersionIs4
2320 {
2321 UINT8 mIPV4Address[4];
2322 };
2323
2324 sIPVersionIs4 mIPVersionIs4;
2325
2326 // If the value of mIPVersion == 6
2327 struct sIPVersionIs6
2328 {
2329 UINT16 mIPv6Address[8];
2330 };
2331
2332 sIPVersionIs6 mIPVersionIs6;
2333
2334 // Padding out 128 bits
2335 UINT8 mReserved1[16];
2336 };
2337
2338 uValOfIPVersion mValOfIPVersion;
2339
2340 UINT8 mSourceIPMask;
2341 UINT8 mNextHeader;
2342 UINT16 mDestinationPortRangeStart;
2343 UINT16 mDestinationPortRangeEnd;
2344 UINT16 mSourcePortRangeStart;
2345 UINT16 mSourcePortRangeEnd;
2346 UINT32 mIPSECSecurityParameterIndex;
2347 UINT16 mTOSMask;
2348 UINT32 mFlowLabel;
2349 };
2350
2351 // Structure to describe request TLV 0x25 for WDSGetProfileList()
2352 struct sWDSGetProfileListRequest_PDPContextNumber
2353 {
2354 UINT8 mPDPContextNumber;
2355 };
2356
2357 // Structure to describe request TLV 0x26 for WDSGetProfileList()
2358 struct sWDSGetProfileListRequest_PDPContextSecondaryFlag
2359 {
2360 INT8 mPDPContextSecondaryFlag;
2361 };
2362
2363 // Structure to describe request TLV 0x27 for WDSGetProfileList()
2364 struct sWDSGetProfileListRequest_PDPContextPrimaryID
2365 {
2366 UINT8 mPDPPrimaryID;
2367 };
2368
2369 // Structure to describe request TLV 0x28 for WDSGetProfileList()
2370 struct sWDSGetProfileListRequest_IPv6Address
2371 {
2372 UINT16 mIPv6Address[8];
2373 };
2374
2375 // Structure to describe request TLV 0x29 for WDSGetProfileList()
2376 struct sWDSGetProfileListRequest_RequestedQoS
2377 {
2378 eQMITrafficClasses mTrafficClass;
2379 UINT32 mMaxUplinkBitrate;
2380 UINT32 mMaxDownlinkBitrate;
2381 UINT32 mGuaranteedUplinkBitrate;
2382 UINT32 mGuaranteedDownlinkBitrate;
2383 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2384 UINT32 mMaxSDUSize;
2385 eQMISDUErrorRatios mSDUErrorRatio;
2386 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2387 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2388 UINT32 mTransferDelay;
2389 UINT32 mTrafficHandlingPriority;
2390 INT8 mSignalingIndication;
2391 };
2392
2393 // Structure to describe request TLV 0x2A for WDSGetProfileList()
2394 struct sWDSGetProfileListRequest_MinimumQoS
2395 {
2396 eQMITrafficClasses mTrafficClass;
2397 UINT32 mMaxUplinkBitrate;
2398 UINT32 mMaxDownlinkBitrate;
2399 UINT32 mGuaranteedUplinkBitrate;
2400 UINT32 mGuaranteedDownlinkBitrate;
2401 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2402 UINT32 mMaxSDUSize;
2403 eQMISDUErrorRatios mSDUErrorRatio;
2404 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2405 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2406 UINT32 mTransferDelay;
2407 UINT32 mTrafficHandlingPriority;
2408 INT8 mSignalingIndication;
2409 };
2410
2411 // Structure to describe request TLV 0x2B for WDSGetProfileList()
2412 struct sWDSGetProfileListRequest_PrimaryIPv6
2413 {
2414 UINT16 mIPv6Address[8];
2415 };
2416
2417 // Structure to describe request TLV 0x2C for WDSGetProfileList()
2418 struct sWDSGetProfileListRequest_SecondaryIPv6
2419 {
2420 UINT16 mIPv6Address[8];
2421 };
2422
2423 // Structure to describe request TLV 0x2D for WDSGetProfileList()
2424 struct sWDSGetProfileListRequest_AddressPreference
2425 {
2426 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
2427 };
2428
2429 // Structure to describe request TLV 0x2E for WDSGetProfileList()
2430 struct sWDSGetProfileListRequest_LTEQoSParameters
2431 {
2432 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
2433 UINT32 mGuaranteedDownlinkBitrate;
2434 UINT32 mMaxDownlinkBitrate;
2435 UINT32 mGuaranteedUplinkBitrate;
2436 UINT32 mMaxUplinkBitrate;
2437 };
2438
2439 // Structure to describe request TLV 0x90 for WDSGetProfileList()
2440 struct sWDSGetProfileListRequest_NegotiateDNSServerPreferences
2441 {
2442 INT8 mNegotiateDNSServerPreference;
2443 };
2444
2445 // Structure to describe request TLV 0x91 for WDSGetProfileList()
2446 struct sWDSGetProfileListRequest_PPPSessionCloseTimerDO
2447 {
2448 UINT32 mPPPSessionCloseTimerDOSeconds;
2449 };
2450
2451 // Structure to describe request TLV 0x92 for WDSGetProfileList()
2452 struct sWDSGetProfileListRequest_PPPSessionCloseTimer1X
2453 {
2454 UINT32 mPPPSessionCloseTimer1XSeconds;
2455 };
2456
2457 // Structure to describe request TLV 0x93 for WDSGetProfileList()
2458 struct sWDSGetProfileListRequest_AllowLinger
2459 {
2460 INT8 mAllowLinger;
2461 };
2462
2463 // Structure to describe request TLV 0x94 for WDSGetProfileList()
2464 struct sWDSGetProfileListRequest_LCPACKTimeout
2465 {
2466 UINT16 mTimeoutMilliseconds;
2467 };
2468
2469 // Structure to describe request TLV 0x95 for WDSGetProfileList()
2470 struct sWDSGetProfileListRequest_IPCPACKTimeout
2471 {
2472 UINT16 mTimeoutMilliseconds;
2473 };
2474
2475 // Structure to describe request TLV 0x96 for WDSGetProfileList()
2476 struct sWDSGetProfileListRequest_AuthenticationTimeout
2477 {
2478 UINT16 mTimeoutMilliseconds;
2479 };
2480
2481 // Structure to describe request TLV 0x97 for WDSGetProfileList()
2482 struct sWDSGetProfileListRequest_LCPConfigRetryCount
2483 {
2484 UINT8 mRetryCount;
2485 };
2486
2487 // Structure to describe request TLV 0x98 for WDSGetProfileList()
2488 struct sWDSGetProfileListRequest_IPCPConfigRetryCount
2489 {
2490 UINT8 mRetryCount;
2491 };
2492
2493 // Structure to describe request TLV 0x99 for WDSGetProfileList()
2494 struct sWDSGetProfileListRequest_AuthenticationRetry
2495 {
2496 UINT8 mRetryCount;
2497 };
2498
2499 // Structure to describe request TLV 0x9A for WDSGetProfileList()
2500 struct sWDSGetProfileListRequest_AuthenticationProtocol
2501 {
2502 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
2503 };
2504
2505 // Structure to describe request TLV 0x9B for WDSGetProfileList()
2506 struct sWDSGetProfileListRequest_UserID
2507 {
2508 // String is variable length, but must be size of the container
2509 // char mUsername[1];
2510 };
2511
2512 // Structure to describe request TLV 0x9C for WDSGetProfileList()
2513 struct sWDSGetProfileListRequest_AuthenticationPassword
2514 {
2515 // String is variable length, but must be size of the container
2516 // char mPassword[1];
2517 };
2518
2519 // Structure to describe request TLV 0x9D for WDSGetProfileList()
2520 struct sWDSGetProfileListRequest_DataRate
2521 {
2522 eQMIWDSDataRate mDataRate;
2523 };
2524
2525 // Structure to describe request TLV 0x9E for WDSGetProfileList()
2526 struct sWDSGetProfileListRequest_ApplicationType
2527 {
2528 eQMIWDSApplicationType mApplicationType;
2529 };
2530
2531 // Structure to describe request TLV 0x9F for WDSGetProfileList()
2532 struct sWDSGetProfileListRequest_DataMode
2533 {
2534 eQMIWDSDataMode mDataMode;
2535 };
2536
2537 // Structure to describe request TLV 0xA0 for WDSGetProfileList()
2538 struct sWDSGetProfileListRequest_ApplicationPriority
2539 {
2540 UINT8 mApplicationPriority;
2541 };
2542
2543 // Structure to describe request TLV 0xA1 for WDSGetProfileList()
2544 struct sWDSGetProfileListRequest_APNString
2545 {
2546 // String is variable length, but must be size of the container
2547 // char mAPNName[1];
2548 };
2549
2550 // Structure to describe request TLV 0xA2 for WDSGetProfileList()
2551 struct sWDSGetProfileListRequest_PDNType
2552 {
2553 eQMIWDSPDNType mPDNType;
2554 };
2555
2556 // Structure to describe request TLV 0xA3 for WDSGetProfileList()
2557 struct sWDSGetProfileListRequest_PCSCFAddressNeeded
2558 {
2559 INT8 mPCSCFAddressNeeded;
2560 };
2561
2562 // Structure to describe request TLV 0xA4 for WDSGetProfileList()
2563 struct sWDSGetProfileListRequest_PrimaryIPv4Address
2564 {
2565 UINT8 mIPV4Address[4];
2566 };
2567
2568 // Structure to describe request TLV 0xA5 for WDSGetProfileList()
2569 struct sWDSGetProfileListRequest_SecondaryIPv4Address
2570 {
2571 UINT8 mIPV4Address[4];
2572 };
2573
2574 // Structure to describe request TLV 0xA6 for WDSGetProfileList()
2575 struct sWDSGetProfileListRequest_PrimaryIPv6Address
2576 {
2577 UINT16 mIPv6Address[8];
2578 };
2579
2580 // Structure to describe request TLV 0xA7 for WDSGetProfileList()
2581 struct sWDSGetProfileListRequest_SecondaryIPv6Address
2582 {
2583 UINT16 mIPv6Address[8];
2584 };
2585
2586 // Structure to describe response TLV 0x01 for WDSGetProfileList()
2587 struct sWDSGetProfileListResponse_ProfileList
2588 {
2589 UINT8 mNumberOfProfiles;
2590
2591 struct sProfile
2592 {
2593 eQMIProfileTypes mProfileType;
2594 UINT8 mProfileIndex;
2595 UINT8 mProfileNameLength;
2596
2597 // This array must be the size specified by mProfileNameLength
2598 // char mProfileName[1];
2599 };
2600
2601 // This array must be the size specified by mNumberOfProfiles
2602 // sProfile mProfiles[1];
2603 };
2604
2605 // Structure to describe response TLV 0xE0 for WDSGetProfileList()
2606 struct sWDSGetProfileListResponse_ExtendedErrorCode
2607 {
2608 eQMIWDSExtendedErrorCode mExtendedErrorCode;
2609 };
2610
2611 // Structure to describe request TLV 0x01 for WDSGetProfileSettings()
2612 struct sWDSGetProfileSettingsRequest_ProfileIdentifier
2613 {
2614 eQMIProfileTypes mProfileType;
2615 UINT8 mProfileIndex;
2616 };
2617
2618 // Structure to describe response TLV 0x10 for WDSGetProfileSettings()
2619 struct sWDSGetProfileSettingsResponse_ProfileName
2620 {
2621 // String is variable length, but must be size of the container
2622 // char mProfileName[1];
2623 };
2624
2625 // Structure to describe response TLV 0x11 for WDSGetProfileSettings()
2626 struct sWDSGetProfileSettingsResponse_PDPType
2627 {
2628 eQMIPDPTypes mPDPType;
2629 };
2630
2631 // Structure to describe response TLV 0x12 for WDSGetProfileSettings()
2632 struct sWDSGetProfileSettingsResponse_PDPHeaderCompressionType
2633 {
2634 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
2635 };
2636
2637 // Structure to describe response TLV 0x13 for WDSGetProfileSettings()
2638 struct sWDSGetProfileSettingsResponse_PDPDataCompressionType
2639 {
2640 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
2641 };
2642
2643 // Structure to describe response TLV 0x14 for WDSGetProfileSettings()
2644 struct sWDSGetProfileSettingsResponse_APNName
2645 {
2646 // String is variable length, but must be size of the container
2647 // char mAPNName[1];
2648 };
2649
2650 // Structure to describe response TLV 0x15 for WDSGetProfileSettings()
2651 struct sWDSGetProfileSettingsResponse_PrimaryDNS
2652 {
2653 UINT8 mIPV4Address[4];
2654 };
2655
2656 // Structure to describe response TLV 0x16 for WDSGetProfileSettings()
2657 struct sWDSGetProfileSettingsResponse_SecondaryDNS
2658 {
2659 UINT8 mIPV4Address[4];
2660 };
2661
2662 // Structure to describe response TLV 0x17 for WDSGetProfileSettings()
2663 struct sWDSGetProfileSettingsResponse_UMTSRequestedQoS
2664 {
2665 eQMITrafficClasses mTrafficClass;
2666 UINT32 mMaxUplinkBitrate;
2667 UINT32 mMaxDownlinkBitrate;
2668 UINT32 mGuaranteedUplinkBitrate;
2669 UINT32 mGuaranteedDownlinkBitrate;
2670 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2671 UINT32 mMaxSDUSize;
2672 eQMISDUErrorRatios mSDUErrorRatio;
2673 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2674 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2675 UINT32 mTransferDelay;
2676 UINT32 mTrafficHandlingPriority;
2677 };
2678
2679 // Structure to describe response TLV 0x18 for WDSGetProfileSettings()
2680 struct sWDSGetProfileSettingsResponse_UMTSMinimumQoS
2681 {
2682 eQMITrafficClasses mTrafficClass;
2683 UINT32 mMaxUplinkBitrate;
2684 UINT32 mMaxDownlinkBitrate;
2685 UINT32 mGuaranteedUplinkBitrate;
2686 UINT32 mGuaranteedDownlinkBitrate;
2687 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2688 UINT32 mMaxSDUSize;
2689 eQMISDUErrorRatios mSDUErrorRatio;
2690 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2691 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2692 UINT32 mTransferDelay;
2693 UINT32 mTrafficHandlingPriority;
2694 };
2695
2696 // Structure to describe response TLV 0x19 for WDSGetProfileSettings()
2697 struct sWDSGetProfileSettingsResponse_GPRSRequestedQoS
2698 {
2699 UINT32 mPrecedenceClass;
2700 UINT32 mDelayClass;
2701 UINT32 mReliabilityClass;
2702 UINT32 mPeakThroughputClass;
2703 UINT32 mMeanThroughputClass;
2704 };
2705
2706 // Structure to describe response TLV 0x1A for WDSGetProfileSettings()
2707 struct sWDSGetProfileSettingsResponse_GPRSMinimumQoS
2708 {
2709 UINT32 mPrecedenceClass;
2710 UINT32 mDelayClass;
2711 UINT32 mReliabilityClass;
2712 UINT32 mPeakThroughputClass;
2713 UINT32 mMeanThroughputClass;
2714 };
2715
2716 // Structure to describe response TLV 0x1B for WDSGetProfileSettings()
2717 struct sWDSGetProfileSettingsResponse_Username
2718 {
2719 // String is variable length, but must be size of the container
2720 // char mUsername[1];
2721 };
2722
2723 // Structure to describe response TLV 0x1D for WDSGetProfileSettings()
2724 struct sWDSGetProfileSettingsResponse_Authentication
2725 {
2726 bool mEnablePAP:1;
2727 bool mEnableCHAP:1;
2728
2729 // Padding out 6 bits
2730 UINT8 mReserved1:6;
2731 };
2732
2733 // Structure to describe response TLV 0x1E for WDSGetProfileSettings()
2734 struct sWDSGetProfileSettingsResponse_IPAddress
2735 {
2736 UINT8 mIPV4Address[4];
2737 };
2738
2739 // Structure to describe response TLV 0x1F for WDSGetProfileSettings()
2740 struct sWDSGetProfileSettingsResponse_PCSCF
2741 {
2742 INT8 mPCSCFAddressUsingPCO;
2743 };
2744
2745 // Structure to describe response TLV 0x20 for WDSGetProfileSettings()
2746 struct sWDSGetProfileSettingsResponse_PDPAccessControlFlag
2747 {
2748 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
2749 };
2750
2751 // Structure to describe response TLV 0x21 for WDSGetProfileSettings()
2752 struct sWDSGetProfileSettingsResponse_PCSCFAddressUsingDHCP
2753 {
2754 INT8 mPCSCFAddressUsingDHCP;
2755 };
2756
2757 // Structure to describe response TLV 0x22 for WDSGetProfileSettings()
2758 struct sWDSGetProfileSettingsResponse_IMCMFlag
2759 {
2760 INT8 mIMCN;
2761 };
2762
2763 // Structure to describe response TLV 0x23 for WDSGetProfileSettings()
2764 struct sWDSGetProfileSettingsResponse_TrafficFlowTemplateID1Parameters
2765 {
2766 UINT8 mFilterID;
2767 UINT8 mEvaluationID;
2768 eQMIWDSIPVersion mIPVersion;
2769
2770 // The following union is based on the value of mIPVersion
2771 union uValOfIPVersion
2772 {
2773 // If the value of mIPVersion == 4
2774 struct sIPVersionIs4
2775 {
2776 UINT8 mIPV4Address[4];
2777 };
2778
2779 sIPVersionIs4 mIPVersionIs4;
2780
2781 // If the value of mIPVersion == 6
2782 struct sIPVersionIs6
2783 {
2784 UINT16 mIPv6Address[8];
2785 };
2786
2787 sIPVersionIs6 mIPVersionIs6;
2788
2789 // Padding out 128 bits
2790 UINT8 mReserved1[16];
2791 };
2792
2793 uValOfIPVersion mValOfIPVersion;
2794
2795 UINT8 mSourceIPMask;
2796 UINT8 mNextHeader;
2797 UINT16 mDestinationPortRangeStart;
2798 UINT16 mDestinationPortRangeEnd;
2799 UINT16 mSourcePortRangeStart;
2800 UINT16 mSourcePortRangeEnd;
2801 UINT32 mIPSECSecurityParameterIndex;
2802 UINT16 mTOSMask;
2803 UINT32 mFlowLabel;
2804 };
2805
2806 // Structure to describe response TLV 0x24 for WDSGetProfileSettings()
2807 struct sWDSGetProfileSettingsResponse_TrafficFlowTemplateID2Parameters
2808 {
2809 UINT8 mFilterID;
2810 UINT8 mEvaluationID;
2811 eQMIWDSIPVersion mIPVersion;
2812
2813 // The following union is based on the value of mIPVersion
2814 union uValOfIPVersion
2815 {
2816 // If the value of mIPVersion == 4
2817 struct sIPVersionIs4
2818 {
2819 UINT8 mIPV4Address[4];
2820 };
2821
2822 sIPVersionIs4 mIPVersionIs4;
2823
2824 // If the value of mIPVersion == 6
2825 struct sIPVersionIs6
2826 {
2827 UINT16 mIPv6Address[8];
2828 };
2829
2830 sIPVersionIs6 mIPVersionIs6;
2831
2832 // Padding out 128 bits
2833 UINT8 mReserved1[16];
2834 };
2835
2836 uValOfIPVersion mValOfIPVersion;
2837
2838 UINT8 mSourceIPMask;
2839 UINT8 mNextHeader;
2840 UINT16 mDestinationPortRangeStart;
2841 UINT16 mDestinationPortRangeEnd;
2842 UINT16 mSourcePortRangeStart;
2843 UINT16 mSourcePortRangeEnd;
2844 UINT32 mIPSECSecurityParameterIndex;
2845 UINT16 mTOSMask;
2846 UINT32 mFlowLabel;
2847 };
2848
2849 // Structure to describe response TLV 0x25 for WDSGetProfileSettings()
2850 struct sWDSGetProfileSettingsResponse_PDPContextNumber
2851 {
2852 UINT8 mPDPContextNumber;
2853 };
2854
2855 // Structure to describe response TLV 0x26 for WDSGetProfileSettings()
2856 struct sWDSGetProfileSettingsResponse_PDPContextSecondaryFlag
2857 {
2858 INT8 mPDPContextSecondaryFlag;
2859 };
2860
2861 // Structure to describe response TLV 0x27 for WDSGetProfileSettings()
2862 struct sWDSGetProfileSettingsResponse_PDPContextPrimaryID
2863 {
2864 UINT8 mPDPPrimaryID;
2865 };
2866
2867 // Structure to describe response TLV 0x28 for WDSGetProfileSettings()
2868 struct sWDSGetProfileSettingsResponse_IPv6Address
2869 {
2870 UINT16 mIPv6Address[8];
2871 };
2872
2873 // Structure to describe response TLV 0x29 for WDSGetProfileSettings()
2874 struct sWDSGetProfileSettingsResponse_RequestedQoS
2875 {
2876 eQMITrafficClasses mTrafficClass;
2877 UINT32 mMaxUplinkBitrate;
2878 UINT32 mMaxDownlinkBitrate;
2879 UINT32 mGuaranteedUplinkBitrate;
2880 UINT32 mGuaranteedDownlinkBitrate;
2881 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2882 UINT32 mMaxSDUSize;
2883 eQMISDUErrorRatios mSDUErrorRatio;
2884 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2885 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2886 UINT32 mTransferDelay;
2887 UINT32 mTrafficHandlingPriority;
2888 INT8 mSignalingIndication;
2889 };
2890
2891 // Structure to describe response TLV 0x2A for WDSGetProfileSettings()
2892 struct sWDSGetProfileSettingsResponse_MinimumQoS
2893 {
2894 eQMITrafficClasses mTrafficClass;
2895 UINT32 mMaxUplinkBitrate;
2896 UINT32 mMaxDownlinkBitrate;
2897 UINT32 mGuaranteedUplinkBitrate;
2898 UINT32 mGuaranteedDownlinkBitrate;
2899 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
2900 UINT32 mMaxSDUSize;
2901 eQMISDUErrorRatios mSDUErrorRatio;
2902 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
2903 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
2904 UINT32 mTransferDelay;
2905 UINT32 mTrafficHandlingPriority;
2906 INT8 mSignalingIndication;
2907 };
2908
2909 // Structure to describe response TLV 0x2B for WDSGetProfileSettings()
2910 struct sWDSGetProfileSettingsResponse_PrimaryIPv6
2911 {
2912 UINT16 mIPv6Address[8];
2913 };
2914
2915 // Structure to describe response TLV 0x2C for WDSGetProfileSettings()
2916 struct sWDSGetProfileSettingsResponse_SecondaryIPv6
2917 {
2918 UINT16 mIPv6Address[8];
2919 };
2920
2921 // Structure to describe response TLV 0x2D for WDSGetProfileSettings()
2922 struct sWDSGetProfileSettingsResponse_AddressPreference
2923 {
2924 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
2925 };
2926
2927 // Structure to describe response TLV 0x2E for WDSGetProfileSettings()
2928 struct sWDSGetProfileSettingsResponse_LTEQoSParameters
2929 {
2930 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
2931 UINT32 mGuaranteedDownlinkBitrate;
2932 UINT32 mMaxDownlinkBitrate;
2933 UINT32 mGuaranteedUplinkBitrate;
2934 UINT32 mMaxUplinkBitrate;
2935 };
2936
2937 // Structure to describe response TLV 0x2F for WDSGetProfileSettings()
2938 struct sWDSGetProfileSettingsResponse_APNDisabled
2939 {
2940 INT8 mAPNDisabled;
2941 };
2942
2943 // Structure to describe response TLV 0x30 for WDSGetProfileSettings()
2944 struct sWDSGetProfileSettingsResponse_PDNInactivityTimer
2945 {
2946 UINT32 mPDNInactivityTimerSeconds;
2947 };
2948
2949 // Structure to describe response TLV 0x31 for WDSGetProfileSettings()
2950 struct sWDSGetProfileSettingsResponse_APNClass
2951 {
2952 UINT8 mAPNClass;
2953 };
2954
2955 // Structure to describe response TLV 0x35 for WDSGetProfileSettings()
2956 struct sWDSGetProfileSettingsResponse_APNBearer
2957 {
2958 bool mGSM:1;
2959 bool mWCDMA:1;
2960 bool mLTE:1;
2961
2962 // Padding out 60 bits
2963 UINT8 mReserved1:5;
2964 UINT8 mReserved2[6];
2965 UINT8 mReserved3:7;
2966
2967 bool mAny:1;
2968 };
2969
2970 // Structure to describe response TLV 0x90 for WDSGetProfileSettings()
2971 struct sWDSGetProfileSettingsResponse_NegotiateDNSServerPreference
2972 {
2973 INT8 mNegotiateDNSServerPreference;
2974 };
2975
2976 // Structure to describe response TLV 0x91 for WDSGetProfileSettings()
2977 struct sWDSGetProfileSettingsResponse_PPPSessionCloseTimerDO
2978 {
2979 UINT32 mPPPSessionCloseTimerDOSeconds;
2980 };
2981
2982 // Structure to describe response TLV 0x92 for WDSGetProfileSettings()
2983 struct sWDSGetProfileSettingsResponse_PPPSessionCloseTimer1X
2984 {
2985 UINT32 mPPPSessionCloseTimer1XSeconds;
2986 };
2987
2988 // Structure to describe response TLV 0x93 for WDSGetProfileSettings()
2989 struct sWDSGetProfileSettingsResponse_AllowLinger
2990 {
2991 INT8 mAllowLinger;
2992 };
2993
2994 // Structure to describe response TLV 0x94 for WDSGetProfileSettings()
2995 struct sWDSGetProfileSettingsResponse_LCPACKTimeout
2996 {
2997 UINT16 mTimeoutMilliseconds;
2998 };
2999
3000 // Structure to describe response TLV 0x95 for WDSGetProfileSettings()
3001 struct sWDSGetProfileSettingsResponse_IPCPACKTimeout
3002 {
3003 UINT16 mTimeoutMilliseconds;
3004 };
3005
3006 // Structure to describe response TLV 0x96 for WDSGetProfileSettings()
3007 struct sWDSGetProfileSettingsResponse_AuthenticationTimeout
3008 {
3009 UINT16 mTimeoutMilliseconds;
3010 };
3011
3012 // Structure to describe response TLV 0x97 for WDSGetProfileSettings()
3013 struct sWDSGetProfileSettingsResponse_LCPConfigRetryCount
3014 {
3015 UINT8 mRetryCount;
3016 };
3017
3018 // Structure to describe response TLV 0x98 for WDSGetProfileSettings()
3019 struct sWDSGetProfileSettingsResponse_IPCPConfigRetryCount
3020 {
3021 UINT8 mRetryCount;
3022 };
3023
3024 // Structure to describe response TLV 0x99 for WDSGetProfileSettings()
3025 struct sWDSGetProfileSettingsResponse_AuthenticationRetry
3026 {
3027 UINT8 mRetryCount;
3028 };
3029
3030 // Structure to describe response TLV 0x9A for WDSGetProfileSettings()
3031 struct sWDSGetProfileSettingsResponse_AuthenticationProtocol
3032 {
3033 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3034 };
3035
3036 // Structure to describe response TLV 0x9B for WDSGetProfileSettings()
3037 struct sWDSGetProfileSettingsResponse_UserID
3038 {
3039 // String is variable length, but must be size of the container
3040 // char mUsername[1];
3041 };
3042
3043 // Structure to describe response TLV 0x9C for WDSGetProfileSettings()
3044 struct sWDSGetProfileSettingsResponse_AuthenticationPassword
3045 {
3046 // String is variable length, but must be size of the container
3047 // char mPassword[1];
3048 };
3049
3050 // Structure to describe response TLV 0x9D for WDSGetProfileSettings()
3051 struct sWDSGetProfileSettingsResponse_DataRate
3052 {
3053 eQMIWDSDataRate mDataRate;
3054 };
3055
3056 // Structure to describe response TLV 0x9E for WDSGetProfileSettings()
3057 struct sWDSGetProfileSettingsResponse_ApplicationType
3058 {
3059 eQMIWDSApplicationType mApplicationType;
3060 };
3061
3062 // Structure to describe response TLV 0x9F for WDSGetProfileSettings()
3063 struct sWDSGetProfileSettingsResponse_DataMode
3064 {
3065 eQMIWDSDataMode mDataMode;
3066 };
3067
3068 // Structure to describe response TLV 0xA0 for WDSGetProfileSettings()
3069 struct sWDSGetProfileSettingsResponse_ApplicationPriority
3070 {
3071 UINT8 mApplicationPriority;
3072 };
3073
3074 // Structure to describe response TLV 0xA1 for WDSGetProfileSettings()
3075 struct sWDSGetProfileSettingsResponse_APNString
3076 {
3077 // String is variable length, but must be size of the container
3078 // char mAPNName[1];
3079 };
3080
3081 // Structure to describe response TLV 0xA2 for WDSGetProfileSettings()
3082 struct sWDSGetProfileSettingsResponse_PDNType
3083 {
3084 eQMIWDSPDNType mPDNType;
3085 };
3086
3087 // Structure to describe response TLV 0xA3 for WDSGetProfileSettings()
3088 struct sWDSGetProfileSettingsResponse_PCSCFAddressNeeded
3089 {
3090 INT8 mPCSCFAddressNeeded;
3091 };
3092
3093 // Structure to describe response TLV 0xA4 for WDSGetProfileSettings()
3094 struct sWDSGetProfileSettingsResponse_PrimaryIPv4Address
3095 {
3096 UINT8 mIPV4Address[4];
3097 };
3098
3099 // Structure to describe response TLV 0xA5 for WDSGetProfileSettings()
3100 struct sWDSGetProfileSettingsResponse_SecondaryIPv4Address
3101 {
3102 UINT8 mIPV4Address[4];
3103 };
3104
3105 // Structure to describe response TLV 0xA6 for WDSGetProfileSettings()
3106 struct sWDSGetProfileSettingsResponse_PrimaryIPv6Address
3107 {
3108 UINT16 mIPv6Address[8];
3109 };
3110
3111 // Structure to describe response TLV 0xA7 for WDSGetProfileSettings()
3112 struct sWDSGetProfileSettingsResponse_SecondaryIPv6Address
3113 {
3114 UINT16 mIPv6Address[8];
3115 };
3116
3117 // Structure to describe response TLV 0xA8 for WDSGetProfileSettings()
3118 struct sWDSGetProfileSettingsResponse_RATType
3119 {
3120 eQMIWDS3GPP2RATTypes mRATType;
3121 };
3122
3123 // Structure to describe response TLV 0xA9 for WDSGetProfileSettings()
3124 struct sWDSGetProfileSettingsResponse_3GPP2APNEnabled
3125 {
3126 INT8 mAPNEnabled;
3127 };
3128
3129 // Structure to describe response TLV 0xAA for WDSGetProfileSettings()
3130 struct sWDSGetProfileSettingsResponse_3GPP2PDNInactivityTimer
3131 {
3132 UINT32 mPDNInactivityTimerMinutes;
3133 };
3134
3135 // Structure to describe response TLV 0xAB for WDSGetProfileSettings()
3136 struct sWDSGetProfileSettingsResponse_3GPP2APNClass
3137 {
3138 UINT8 mAPNClass;
3139 };
3140
3141 // Structure to describe response TLV 0xAD for WDSGetProfileSettings()
3142 struct sWDSGetProfileSettingsResponse_PDNAuthenticationProtocol
3143 {
3144 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3145 };
3146
3147 // Structure to describe response TLV 0xAE for WDSGetProfileSettings()
3148 struct sWDSGetProfileSettingsResponse_PDNUserID
3149 {
3150 // String is variable length, but must be size of the container
3151 // char mUserID[1];
3152 };
3153
3154 // Structure to describe response TLV 0xAF for WDSGetProfileSettings()
3155 struct sWDSGetProfileSettingsResponse_PDNPassword
3156 {
3157 // String is variable length, but must be size of the container
3158 // char mPassword[1];
3159 };
3160
3161 // Structure to describe response TLV 0xB0 for WDSGetProfileSettings()
3162 struct sWDSGetProfileSettingsResponse_PDNLabel
3163 {
3164 // String is variable length, but must be size of the container
3165 // char mLabel[1];
3166 };
3167
3168 // Structure to describe response TLV 0xE0 for WDSGetProfileSettings()
3169 struct sWDSGetProfileSettingsResponse_ExtendedErrorCode
3170 {
3171 eQMIWDSExtendedErrorCode mExtendedErrorCode;
3172 };
3173
3174 // Structure to describe request TLV 0x01 for WDSGetDefaultSettings()
3175 struct sWDSGetDefaultSettingsRequest_ProfileType
3176 {
3177 eQMIProfileTypes mProfileType;
3178 };
3179
3180 // Structure to describe response TLV 0x10 for WDSGetDefaultSettings()
3181 struct sWDSGetDefaultSettingsResponse_ProfileName
3182 {
3183 // String is variable length, but must be size of the container
3184 // char mProfileName[1];
3185 };
3186
3187 // Structure to describe response TLV 0x11 for WDSGetDefaultSettings()
3188 struct sWDSGetDefaultSettingsResponse_PDPType
3189 {
3190 eQMIPDPTypes mPDPType;
3191 };
3192
3193 // Structure to describe response TLV 0x12 for WDSGetDefaultSettings()
3194 struct sWDSGetDefaultSettingsResponse_PDPHeaderCompressionType
3195 {
3196 eQMIWDSPDPHeaderCompressionType mPDPHeaderCompressionType;
3197 };
3198
3199 // Structure to describe response TLV 0x13 for WDSGetDefaultSettings()
3200 struct sWDSGetDefaultSettingsResponse_PDPDataCompressionType
3201 {
3202 eQMIWDSPDPDataCompressionType mPDPDataCompressionType;
3203 };
3204
3205 // Structure to describe response TLV 0x14 for WDSGetDefaultSettings()
3206 struct sWDSGetDefaultSettingsResponse_APNName
3207 {
3208 // String is variable length, but must be size of the container
3209 // char mAPNName[1];
3210 };
3211
3212 // Structure to describe response TLV 0x15 for WDSGetDefaultSettings()
3213 struct sWDSGetDefaultSettingsResponse_PrimaryDNS
3214 {
3215 UINT8 mIPV4Address[4];
3216 };
3217
3218 // Structure to describe response TLV 0x16 for WDSGetDefaultSettings()
3219 struct sWDSGetDefaultSettingsResponse_SecondaryDNS
3220 {
3221 UINT8 mIPV4Address[4];
3222 };
3223
3224 // Structure to describe response TLV 0x17 for WDSGetDefaultSettings()
3225 struct sWDSGetDefaultSettingsResponse_UMTSRequestedQoS
3226 {
3227 eQMITrafficClasses mTrafficClass;
3228 UINT32 mMaxUplinkBitrate;
3229 UINT32 mMaxDownlinkBitrate;
3230 UINT32 mGuaranteedUplinkBitrate;
3231 UINT32 mGuaranteedDownlinkBitrate;
3232 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3233 UINT32 mMaxSDUSize;
3234 eQMISDUErrorRatios mSDUErrorRatio;
3235 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3236 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3237 UINT32 mTransferDelay;
3238 UINT32 mTrafficHandlingPriority;
3239 };
3240
3241 // Structure to describe response TLV 0x18 for WDSGetDefaultSettings()
3242 struct sWDSGetDefaultSettingsResponse_UMTSMinimumQoS
3243 {
3244 eQMITrafficClasses mTrafficClass;
3245 UINT32 mMaxUplinkBitrate;
3246 UINT32 mMaxDownlinkBitrate;
3247 UINT32 mGuaranteedUplinkBitrate;
3248 UINT32 mGuaranteedDownlinkBitrate;
3249 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3250 UINT32 mMaxSDUSize;
3251 eQMISDUErrorRatios mSDUErrorRatio;
3252 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3253 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3254 UINT32 mTransferDelay;
3255 UINT32 mTrafficHandlingPriority;
3256 };
3257
3258 // Structure to describe response TLV 0x19 for WDSGetDefaultSettings()
3259 struct sWDSGetDefaultSettingsResponse_GPRSRequestedQoS
3260 {
3261 UINT32 mPrecedenceClass;
3262 UINT32 mDelayClass;
3263 UINT32 mReliabilityClass;
3264 UINT32 mPeakThroughputClass;
3265 UINT32 mMeanThroughputClass;
3266 };
3267
3268 // Structure to describe response TLV 0x1A for WDSGetDefaultSettings()
3269 struct sWDSGetDefaultSettingsResponse_GPRSMinimumQoS
3270 {
3271 UINT32 mPrecedenceClass;
3272 UINT32 mDelayClass;
3273 UINT32 mReliabilityClass;
3274 UINT32 mPeakThroughputClass;
3275 UINT32 mMeanThroughputClass;
3276 };
3277
3278 // Structure to describe response TLV 0x1B for WDSGetDefaultSettings()
3279 struct sWDSGetDefaultSettingsResponse_Username
3280 {
3281 // String is variable length, but must be size of the container
3282 // char mUsername[1];
3283 };
3284
3285 // Structure to describe response TLV 0x1C for WDSGetDefaultSettings()
3286 struct sWDSGetDefaultSettingsResponse_Password
3287 {
3288 // String is variable length, but must be size of the container
3289 // char mPassword[1];
3290 };
3291
3292 // Structure to describe response TLV 0x1D for WDSGetDefaultSettings()
3293 struct sWDSGetDefaultSettingsResponse_Authentication
3294 {
3295 bool mEnablePAP:1;
3296 bool mEnableCHAP:1;
3297
3298 // Padding out 6 bits
3299 UINT8 mReserved1:6;
3300 };
3301
3302 // Structure to describe response TLV 0x1E for WDSGetDefaultSettings()
3303 struct sWDSGetDefaultSettingsResponse_IPAddress
3304 {
3305 UINT8 mIPV4Address[4];
3306 };
3307
3308 // Structure to describe response TLV 0x1F for WDSGetDefaultSettings()
3309 struct sWDSGetDefaultSettingsResponse_PCSCF
3310 {
3311 INT8 mPCSCFAddressUsingPCO;
3312 };
3313
3314 // Structure to describe response TLV 0x20 for WDSGetDefaultSettings()
3315 struct sWDSGetDefaultSettingsResponse_PDPAccessControlFlag
3316 {
3317 eQMIWDSPDPAccessControlFlag mPDPAccessControlFlag;
3318 };
3319
3320 // Structure to describe response TLV 0x21 for WDSGetDefaultSettings()
3321 struct sWDSGetDefaultSettingsResponse_PCSCFAddressUsingDHCP
3322 {
3323 INT8 mPCSCFAddressUsingDHCP;
3324 };
3325
3326 // Structure to describe response TLV 0x22 for WDSGetDefaultSettings()
3327 struct sWDSGetDefaultSettingsResponse_IMCNFlag
3328 {
3329 INT8 mIMCN;
3330 };
3331
3332 // Structure to describe response TLV 0x23 for WDSGetDefaultSettings()
3333 struct sWDSGetDefaultSettingsResponse_TrafficFlowTemplateID1Parameters
3334 {
3335 UINT8 mFilterID;
3336 UINT8 mEvaluationID;
3337 eQMIWDSIPVersion mIPVersion;
3338
3339 // The following union is based on the value of mIPVersion
3340 union uValOfIPVersion
3341 {
3342 // If the value of mIPVersion == 4
3343 struct sIPVersionIs4
3344 {
3345 UINT8 mIPV4Address[4];
3346 };
3347
3348 sIPVersionIs4 mIPVersionIs4;
3349
3350 // If the value of mIPVersion == 6
3351 struct sIPVersionIs6
3352 {
3353 UINT16 mIPv6Address[8];
3354 };
3355
3356 sIPVersionIs6 mIPVersionIs6;
3357
3358 // Padding out 128 bits
3359 UINT8 mReserved1[16];
3360 };
3361
3362 uValOfIPVersion mValOfIPVersion;
3363
3364 UINT8 mSourceIPMask;
3365 UINT8 mNextHeader;
3366 UINT16 mDestinationPortRangeStart;
3367 UINT16 mDestinationPortRangeEnd;
3368 UINT16 mSourcePortRangeStart;
3369 UINT16 mSourcePortRangeEnd;
3370 UINT32 mIPSECSecurityParameterIndex;
3371 UINT16 mTOSMask;
3372 UINT32 mFlowLabel;
3373 };
3374
3375 // Structure to describe response TLV 0x24 for WDSGetDefaultSettings()
3376 struct sWDSGetDefaultSettingsResponse_TrafficFlowTemplateID2Parameters
3377 {
3378 UINT8 mFilterID;
3379 UINT8 mEvaluationID;
3380 eQMIWDSIPVersion mIPVersion;
3381
3382 // The following union is based on the value of mIPVersion
3383 union uValOfIPVersion
3384 {
3385 // If the value of mIPVersion == 4
3386 struct sIPVersionIs4
3387 {
3388 UINT8 mIPV4Address[4];
3389 };
3390
3391 sIPVersionIs4 mIPVersionIs4;
3392
3393 // If the value of mIPVersion == 6
3394 struct sIPVersionIs6
3395 {
3396 UINT16 mIPv6Address[8];
3397 };
3398
3399 sIPVersionIs6 mIPVersionIs6;
3400
3401 // Padding out 128 bits
3402 UINT8 mReserved1[16];
3403 };
3404
3405 uValOfIPVersion mValOfIPVersion;
3406
3407 UINT8 mSourceIPMask;
3408 UINT8 mNextHeader;
3409 UINT16 mDestinationPortRangeStart;
3410 UINT16 mDestinationPortRangeEnd;
3411 UINT16 mSourcePortRangeStart;
3412 UINT16 mSourcePortRangeEnd;
3413 UINT32 mIPSECSecurityParameterIndex;
3414 UINT16 mTOSMask;
3415 UINT32 mFlowLabel;
3416 };
3417
3418 // Structure to describe response TLV 0x25 for WDSGetDefaultSettings()
3419 struct sWDSGetDefaultSettingsResponse_PDPContextNumber
3420 {
3421 UINT8 mPDPContextNumber;
3422 };
3423
3424 // Structure to describe response TLV 0x26 for WDSGetDefaultSettings()
3425 struct sWDSGetDefaultSettingsResponse_PDPContextSecondaryFlag
3426 {
3427 INT8 mPDPContextSecondaryFlag;
3428 };
3429
3430 // Structure to describe response TLV 0x27 for WDSGetDefaultSettings()
3431 struct sWDSGetDefaultSettingsResponse_PDPContextPrimaryID
3432 {
3433 UINT8 mPDPPrimaryID;
3434 };
3435
3436 // Structure to describe response TLV 0x28 for WDSGetDefaultSettings()
3437 struct sWDSGetDefaultSettingsResponse_IPv6Address
3438 {
3439 UINT16 mIPv6Address[8];
3440 };
3441
3442 // Structure to describe response TLV 0x29 for WDSGetDefaultSettings()
3443 struct sWDSGetDefaultSettingsResponse_RequestedQoS
3444 {
3445 eQMITrafficClasses mTrafficClass;
3446 UINT32 mMaxUplinkBitrate;
3447 UINT32 mMaxDownlinkBitrate;
3448 UINT32 mGuaranteedUplinkBitrate;
3449 UINT32 mGuaranteedDownlinkBitrate;
3450 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3451 UINT32 mMaxSDUSize;
3452 eQMISDUErrorRatios mSDUErrorRatio;
3453 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3454 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3455 UINT32 mTransferDelay;
3456 UINT32 mTrafficHandlingPriority;
3457 INT8 mSignalingIndication;
3458 };
3459
3460 // Structure to describe response TLV 0x2A for WDSGetDefaultSettings()
3461 struct sWDSGetDefaultSettingsResponse_MinimumQoS
3462 {
3463 eQMITrafficClasses mTrafficClass;
3464 UINT32 mMaxUplinkBitrate;
3465 UINT32 mMaxDownlinkBitrate;
3466 UINT32 mGuaranteedUplinkBitrate;
3467 UINT32 mGuaranteedDownlinkBitrate;
3468 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3469 UINT32 mMaxSDUSize;
3470 eQMISDUErrorRatios mSDUErrorRatio;
3471 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3472 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3473 UINT32 mTransferDelay;
3474 UINT32 mTrafficHandlingPriority;
3475 INT8 mSignalingIndication;
3476 };
3477
3478 // Structure to describe response TLV 0x2B for WDSGetDefaultSettings()
3479 struct sWDSGetDefaultSettingsResponse_PrimaryIPv6
3480 {
3481 UINT16 mIPv6Address[8];
3482 };
3483
3484 // Structure to describe response TLV 0x2C for WDSGetDefaultSettings()
3485 struct sWDSGetDefaultSettingsResponse_SecondaryIPv6
3486 {
3487 UINT16 mIPv6Address[8];
3488 };
3489
3490 // Structure to describe response TLV 0x2D for WDSGetDefaultSettings()
3491 struct sWDSGetDefaultSettingsResponse_AddressPreference
3492 {
3493 eQMIWDSAddressAllocationPreference mAddressAllocationPreference;
3494 };
3495
3496 // Structure to describe response TLV 0x2E for WDSGetDefaultSettings()
3497 struct sWDSGetDefaultSettingsResponse_LTEQoSParameters
3498 {
3499 eQMIWDSQoSClassIdentifier mQoSClassIdentifier;
3500 UINT32 mGuaranteedDownlinkBitrate;
3501 UINT32 mMaxDownlinkBitrate;
3502 UINT32 mGuaranteedUplinkBitrate;
3503 UINT32 mMaxUplinkBitrate;
3504 };
3505
3506 // Structure to describe response TLV 0x2F for WDSGetDefaultSettings()
3507 struct sWDSGetDefaultSettingsResponse_APNDisabled
3508 {
3509 INT8 mAPNDisabled;
3510 };
3511
3512 // Structure to describe response TLV 0x30 for WDSGetDefaultSettings()
3513 struct sWDSGetDefaultSettingsResponse_PDNInactivityTimer
3514 {
3515 UINT32 mPDNInactivityTimerSeconds;
3516 };
3517
3518 // Structure to describe response TLV 0x31 for WDSGetDefaultSettings()
3519 struct sWDSGetDefaultSettingsResponse_APNClass
3520 {
3521 UINT8 mAPNClass;
3522 };
3523
3524 // Structure to describe response TLV 0x35 for WDSGetDefaultSettings()
3525 struct sWDSGetDefaultSettingsResponse_APNBearer
3526 {
3527 bool mGSM:1;
3528 bool mWCDMA:1;
3529 bool mLTE:1;
3530
3531 // Padding out 60 bits
3532 UINT8 mReserved1:5;
3533 UINT8 mReserved2[6];
3534 UINT8 mReserved3:7;
3535
3536 bool mAny:1;
3537 };
3538
3539 // Structure to describe response TLV 0x90 for WDSGetDefaultSettings()
3540 struct sWDSGetDefaultSettingsResponse_NegotiateDNSServerPreferences
3541 {
3542 INT8 mNegotiateDNSServerPreference;
3543 };
3544
3545 // Structure to describe response TLV 0x91 for WDSGetDefaultSettings()
3546 struct sWDSGetDefaultSettingsResponse_PPPSessionCloseTimerDO
3547 {
3548 UINT32 mPPPSessionCloseTimerDOSeconds;
3549 };
3550
3551 // Structure to describe response TLV 0x92 for WDSGetDefaultSettings()
3552 struct sWDSGetDefaultSettingsResponse_PPPSessionCloseTimer1X
3553 {
3554 UINT32 mPPPSessionCloseTimer1XSeconds;
3555 };
3556
3557 // Structure to describe response TLV 0x93 for WDSGetDefaultSettings()
3558 struct sWDSGetDefaultSettingsResponse_AllowLinger
3559 {
3560 INT8 mAllowLinger;
3561 };
3562
3563 // Structure to describe response TLV 0x94 for WDSGetDefaultSettings()
3564 struct sWDSGetDefaultSettingsResponse_LCPACKTimeout
3565 {
3566 UINT16 mTimeoutMilliseconds;
3567 };
3568
3569 // Structure to describe response TLV 0x95 for WDSGetDefaultSettings()
3570 struct sWDSGetDefaultSettingsResponse_IPCPACKTimeout
3571 {
3572 UINT16 mTimeoutMilliseconds;
3573 };
3574
3575 // Structure to describe response TLV 0x96 for WDSGetDefaultSettings()
3576 struct sWDSGetDefaultSettingsResponse_AuthenticationTimeout
3577 {
3578 UINT16 mTimeoutMilliseconds;
3579 };
3580
3581 // Structure to describe response TLV 0x97 for WDSGetDefaultSettings()
3582 struct sWDSGetDefaultSettingsResponse_LCPConfigRetryCount
3583 {
3584 UINT8 mRetryCount;
3585 };
3586
3587 // Structure to describe response TLV 0x98 for WDSGetDefaultSettings()
3588 struct sWDSGetDefaultSettingsResponse_IPCPConfigRetryCount
3589 {
3590 UINT8 mRetryCount;
3591 };
3592
3593 // Structure to describe response TLV 0x99 for WDSGetDefaultSettings()
3594 struct sWDSGetDefaultSettingsResponse_AuthenticationRetry
3595 {
3596 UINT8 mRetryCount;
3597 };
3598
3599 // Structure to describe response TLV 0x9A for WDSGetDefaultSettings()
3600 struct sWDSGetDefaultSettingsResponse_AuthenticationProtocol
3601 {
3602 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3603 };
3604
3605 // Structure to describe response TLV 0x9B for WDSGetDefaultSettings()
3606 struct sWDSGetDefaultSettingsResponse_UserID
3607 {
3608 // String is variable length, but must be size of the container
3609 // char mUsername[1];
3610 };
3611
3612 // Structure to describe response TLV 0x9C for WDSGetDefaultSettings()
3613 struct sWDSGetDefaultSettingsResponse_AuthenticationPassword
3614 {
3615 // String is variable length, but must be size of the container
3616 // char mPassword[1];
3617 };
3618
3619 // Structure to describe response TLV 0x9D for WDSGetDefaultSettings()
3620 struct sWDSGetDefaultSettingsResponse_DataRate
3621 {
3622 eQMIWDSDataRate mDataRate;
3623 };
3624
3625 // Structure to describe response TLV 0x9E for WDSGetDefaultSettings()
3626 struct sWDSGetDefaultSettingsResponse_ApplicationType
3627 {
3628 eQMIWDSApplicationType mApplicationType;
3629 };
3630
3631 // Structure to describe response TLV 0x9F for WDSGetDefaultSettings()
3632 struct sWDSGetDefaultSettingsResponse_DataMode
3633 {
3634 eQMIWDSDataMode mDataMode;
3635 };
3636
3637 // Structure to describe response TLV 0xA0 for WDSGetDefaultSettings()
3638 struct sWDSGetDefaultSettingsResponse_ApplicationPriority
3639 {
3640 UINT8 mApplicationPriority;
3641 };
3642
3643 // Structure to describe response TLV 0xA1 for WDSGetDefaultSettings()
3644 struct sWDSGetDefaultSettingsResponse_APNString
3645 {
3646 // String is variable length, but must be size of the container
3647 // char mAPNName[1];
3648 };
3649
3650 // Structure to describe response TLV 0xA2 for WDSGetDefaultSettings()
3651 struct sWDSGetDefaultSettingsResponse_PDNType
3652 {
3653 eQMIWDSPDNType mPDNType;
3654 };
3655
3656 // Structure to describe response TLV 0xA3 for WDSGetDefaultSettings()
3657 struct sWDSGetDefaultSettingsResponse_PCSCFAddressNeeded
3658 {
3659 INT8 mPCSCFAddressNeeded;
3660 };
3661
3662 // Structure to describe response TLV 0xA4 for WDSGetDefaultSettings()
3663 struct sWDSGetDefaultSettingsResponse_PrimaryIPv4Address
3664 {
3665 UINT8 mIPV4Address[4];
3666 };
3667
3668 // Structure to describe response TLV 0xA5 for WDSGetDefaultSettings()
3669 struct sWDSGetDefaultSettingsResponse_SecondaryIPv4Address
3670 {
3671 UINT8 mIPV4Address[4];
3672 };
3673
3674 // Structure to describe response TLV 0xA6 for WDSGetDefaultSettings()
3675 struct sWDSGetDefaultSettingsResponse_PrimaryIPv6Address
3676 {
3677 UINT16 mIPv6Address[8];
3678 };
3679
3680 // Structure to describe response TLV 0xA7 for WDSGetDefaultSettings()
3681 struct sWDSGetDefaultSettingsResponse_SecondaryIPv6Address
3682 {
3683 UINT16 mIPv6Address[8];
3684 };
3685
3686 // Structure to describe response TLV 0xA8 for WDSGetDefaultSettings()
3687 struct sWDSGetDefaultSettingsResponse_RATType
3688 {
3689 eQMIWDS3GPP2RATTypes mRATType;
3690 };
3691
3692 // Structure to describe response TLV 0xA9 for WDSGetDefaultSettings()
3693 struct sWDSGetDefaultSettingsResponse_3GPP2APNEnabled
3694 {
3695 INT8 mAPNEnabled;
3696 };
3697
3698 // Structure to describe response TLV 0xAA for WDSGetDefaultSettings()
3699 struct sWDSGetDefaultSettingsResponse_3GPP2PDNInactivityTimer
3700 {
3701 UINT32 mPDNInactivityTimerMinutes;
3702 };
3703
3704 // Structure to describe response TLV 0xAB for WDSGetDefaultSettings()
3705 struct sWDSGetDefaultSettingsResponse_3GPP2APNClass
3706 {
3707 UINT8 mAPNClass;
3708 };
3709
3710 // Structure to describe response TLV 0xAD for WDSGetDefaultSettings()
3711 struct sWDSGetDefaultSettingsResponse_PDNAuthenticationProtocol
3712 {
3713 eQMIWDSAuthenticationProtocol mAuthenticationProtocol;
3714 };
3715
3716 // Structure to describe response TLV 0xAE for WDSGetDefaultSettings()
3717 struct sWDSGetDefaultSettingsResponse_PDNUserID
3718 {
3719 // String is variable length, but must be size of the container
3720 // char mUserID[1];
3721 };
3722
3723 // Structure to describe response TLV 0xAF for WDSGetDefaultSettings()
3724 struct sWDSGetDefaultSettingsResponse_PDNPassword
3725 {
3726 // String is variable length, but must be size of the container
3727 // char mPassword[1];
3728 };
3729
3730 // Structure to describe response TLV 0xB0 for WDSGetDefaultSettings()
3731 struct sWDSGetDefaultSettingsResponse_PDNLabel
3732 {
3733 // String is variable length, but must be size of the container
3734 // char mLabel[1];
3735 };
3736
3737 // Structure to describe response TLV 0xE0 for WDSGetDefaultSettings()
3738 struct sWDSGetDefaultSettingsResponse_ExtendedErrorCode
3739 {
3740 eQMIWDSExtendedErrorCode mExtendedErrorCode;
3741 };
3742
3743 // Structure to describe request TLV 0x10 for WDSGetCurrentSettings()
3744 struct sWDSGetCurrentSettingsRequest_RequestedSettings
3745 {
3746 bool mProfileID:1;
3747 bool mProfileName:1;
3748 bool mPDPType:1;
3749 bool mAPNName:1;
3750 bool mDNSAddress:1;
3751 bool mGrantedQoS:1;
3752 bool mUsername:1;
3753 bool mAuthenticationProtocol:1;
3754 bool mIPAddress:1;
3755 bool mGatewayInfo:1;
3756 bool mPCSCFAddress:1;
3757 bool mPCSCFServerAddressList:1;
3758 bool mPCSCFDomainNameList:1;
3759 bool mMTU:1;
3760 bool mDomainNameList:1;
3761 bool mIPFamily:1;
3762 bool mIMCNFlag:1;
3763 bool mExtendedTechnology:1;
3764
3765 // Padding out 14 bits
3766 UINT8 mReserved1:6;
3767 UINT8 mReserved2;
3768 };
3769
3770 // Structure to describe response TLV 0x10 for WDSGetCurrentSettings()
3771 struct sWDSGetCurrentSettingsResponse_ProfileName
3772 {
3773 // String is variable length, but must be size of the container
3774 // char mProfileName[1];
3775 };
3776
3777 // Structure to describe response TLV 0x11 for WDSGetCurrentSettings()
3778 struct sWDSGetCurrentSettingsResponse_PDPType
3779 {
3780 eQMIPDPTypes mPDPType;
3781 };
3782
3783 // Structure to describe response TLV 0x14 for WDSGetCurrentSettings()
3784 struct sWDSGetCurrentSettingsResponse_APNName
3785 {
3786 // String is variable length, but must be size of the container
3787 // char mAPNName[1];
3788 };
3789
3790 // Structure to describe response TLV 0x15 for WDSGetCurrentSettings()
3791 struct sWDSGetCurrentSettingsResponse_PrimaryDNS
3792 {
3793 UINT8 mIPV4Address[4];
3794 };
3795
3796 // Structure to describe response TLV 0x16 for WDSGetCurrentSettings()
3797 struct sWDSGetCurrentSettingsResponse_SecondaryDNS
3798 {
3799 UINT8 mIPV4Address[4];
3800 };
3801
3802 // Structure to describe response TLV 0x17 for WDSGetCurrentSettings()
3803 struct sWDSGetCurrentSettingsResponse_UMTSGrantedQoS
3804 {
3805 eQMITrafficClasses mTrafficClass;
3806 UINT32 mMaxUplinkBitrate;
3807 UINT32 mMaxDownlinkBitrate;
3808 UINT32 mGuaranteedUplinkBitrate;
3809 UINT32 mGuaranteedDownlinkBitrate;
3810 eQMIQoSDeliveryOrders mQoSDeliveryOrder;
3811 UINT32 mMaxSDUSize;
3812 eQMISDUErrorRatios mSDUErrorRatio;
3813 eQMISDUResidualBitErrorRatios mSDUResidualBitErrorRatio;
3814 eQMIErroneousSDUDeliveries mErroneousSDUDelivery;
3815 UINT32 mTransferDelay;
3816 UINT32 mTrafficHandlingPriority;
3817 };
3818
3819 // Structure to describe response TLV 0x19 for WDSGetCurrentSettings()
3820 struct sWDSGetCurrentSettingsResponse_GPRSGrantedQoS
3821 {
3822 UINT32 mPrecedenceClass;
3823 UINT32 mDelayClass;
3824 UINT32 mReliabilityClass;
3825 UINT32 mPeakThroughputClass;
3826 UINT32 mMeanThroughputClass;
3827 };
3828
3829 // Structure to describe response TLV 0x1B for WDSGetCurrentSettings()
3830 struct sWDSGetCurrentSettingsResponse_Username
3831 {
3832 // String is variable length, but must be size of the container
3833 // char mUsername[1];
3834 };
3835
3836 // Structure to describe response TLV 0x1D for WDSGetCurrentSettings()
3837 struct sWDSGetCurrentSettingsResponse_Authentication
3838 {
3839 bool mEnablePAP:1;
3840 bool mEnableCHAP:1;
3841
3842 // Padding out 6 bits
3843 UINT8 mReserved1:6;
3844 };
3845
3846 // Structure to describe response TLV 0x1E for WDSGetCurrentSettings()
3847 struct sWDSGetCurrentSettingsResponse_IPAddress
3848 {
3849 UINT8 mIPV4Address[4];
3850 };
3851
3852 // Structure to describe response TLV 0x1F for WDSGetCurrentSettings()
3853 struct sWDSGetCurrentSettingsResponse_ProfileID
3854 {
3855 eQMIProfileTypes mProfileType;
3856 UINT8 mProfileIndex;
3857 };
3858
3859 // Structure to describe response TLV 0x20 for WDSGetCurrentSettings()
3860 struct sWDSGetCurrentSettingsResponse_GatewayAddress
3861 {
3862 UINT8 mIPV4Address[4];
3863 };
3864
3865 // Structure to describe response TLV 0x21 for WDSGetCurrentSettings()
3866 struct sWDSGetCurrentSettingsResponse_GatewaySubnetMask
3867 {
3868 UINT8 mIPV4Address[4];
3869 };
3870
3871 // Structure to describe response TLV 0x22 for WDSGetCurrentSettings()
3872 struct sWDSGetCurrentSettingsResponse_PCSCF
3873 {
3874 INT8 mPCSCFAddressUsingPCO;
3875 };
3876
3877 // Structure to describe response TLV 0x23 for WDSGetCurrentSettings()
3878 struct sWDSGetCurrentSettingsResponse_PCSCFServerAddressList
3879 {
3880 UINT8 mNumberOfInstances;
3881
3882 struct sInstance
3883 {
3884 UINT8 mIPV4Address[4];
3885 };
3886
3887 // This array must be the size specified by mNumberOfInstances
3888 // sInstance mInstances[1];
3889 };
3890
3891 // Structure to describe response TLV 0x24 for WDSGetCurrentSettings()
3892 struct sWDSGetCurrentSettingsResponse_PCSCFDomainNameList
3893 {
3894 UINT8 mNumberOfInstances;
3895
3896 struct sInstance
3897 {
3898 UINT16 mFQDNLength;
3899
3900 // This array must be the size specified by mFQDNLength
3901 // char mFQDN[1];
3902 };
3903
3904 // This array must be the size specified by mNumberOfInstances
3905 // sInstance mInstances[1];
3906 };
3907
3908 // Structure to describe response TLV 0x25 for WDSGetCurrentSettings()
3909 struct sWDSGetCurrentSettingsResponse_IPv6Address
3910 {
3911 UINT16 mIPv6Address[8];
3912 UINT8 mIPPrefixLength;
3913 };
3914
3915 // Structure to describe response TLV 0x26 for WDSGetCurrentSettings()
3916 struct sWDSGetCurrentSettingsResponse_IPv6GatewayAddress
3917 {
3918 UINT16 mIPv6Address[8];
3919 UINT8 mIPPrefixLength;
3920 };
3921
3922 // Structure to describe response TLV 0x27 for WDSGetCurrentSettings()
3923 struct sWDSGetCurrentSettingsResponse_PrimaryIPv6DNS
3924 {
3925 UINT16 mIPv6Address[8];
3926 };
3927
3928 // Structure to describe response TLV 0x28 for WDSGetCurrentSettings()
3929 struct sWDSGetCurrentSettingsResponse_SecondaryIPv6DNS
3930 {
3931 UINT16 mIPv6Address[8];
3932 };
3933
3934 // Structure to describe response TLV 0x29 for WDSGetCurrentSettings()
3935 struct sWDSGetCurrentSettingsResponse_MTU
3936 {
3937 UINT32 mMTU;
3938 };
3939
3940 // Structure to describe response TLV 0x2A for WDSGetCurrentSettings()
3941 struct sWDSGetCurrentSettingsResponse_DomainNameList
3942 {
3943 UINT8 mNumberOfInstances;
3944
3945 struct sInstance
3946 {
3947 UINT16 mDomainNameLength;
3948
3949 // This array must be the size specified by mDomainNameLength
3950 // char mDomainName[1];
3951 };
3952
3953 // This array must be the size specified by mNumberOfInstances
3954 // sInstance mInstances[1];
3955 };
3956
3957 // Structure to describe response TLV 0x2B for WDSGetCurrentSettings()
3958 struct sWDSGetCurrentSettingsResponse_IPFamily
3959 {
3960 eQMIWDSIPFamilies mIPFamily;
3961 };
3962
3963 // Structure to describe response TLV 0x2C for WDSGetCurrentSettings()
3964 struct sWDSGetCurrentSettingsResponse_IMCNFlag
3965 {
3966 INT8 mIMCN;
3967 };
3968
3969 // Structure to describe response TLV 0x2D for WDSGetCurrentSettings()
3970 struct sWDSGetCurrentSettingsResponse_ExtendedTechnology
3971 {
3972 eQMIWDSExtendedTechPrefs mExtendedTechnologyPreference;
3973 };
3974
3975 // Structure to describe response TLV 0x2E for WDSGetCurrentSettings()
3976 struct sWDSGetCurrentSettingsResponse_PCSCFIPv6AddressList
3977 {
3978 UINT8 mNumberOfAddresses;
3979
3980 struct sAddress
3981 {
3982 UINT16 mIPv6Address[8];
3983 };
3984
3985 // This array must be the size specified by mNumberOfAddresses
3986 // sAddress mAddresses[1];
3987 };
3988
3989 // Structure to describe request TLV 0x01 for WDSSetMIPMode()
3990 struct sWDSSetMIPModeRequest_MobileIPMode
3991 {
3992 eQMIMobileIPModes mMIPMode;
3993 };
3994
3995 // Structure to describe response TLV 0x01 for WDSGetMIPMode()
3996 struct sWDSGetMIPModeResponse_MobileIPMode
3997 {
3998 eQMIMobileIPModes mMIPMode;
3999 };
4000
4001 // Structure to describe response TLV 0x01 for WDSGetDormancy()
4002 struct sWDSGetDormancyResponse_DormancyStatus
4003 {
4004 eQMIDormancyStatus mDormancyStatus;
4005 };
4006
4007 // Structure to describe response TLV 0x01 for WDSGetAutoconnectSetting()
4008 struct sWDSGetAutoconnectSettingResponse_Autoconnect
4009 {
4010 eQMIWDSAutoconnectSettings mAutoconnectSetting;
4011 };
4012
4013 // Structure to describe response TLV 0x10 for WDSGetAutoconnectSetting()
4014 struct sWDSGetAutoconnectSettingResponse_Roam
4015 {
4016 eQMIWDSAutoconnectRoamSettings mAutoconnectRoamSetting;
4017 };
4018
4019 // Structure to describe response TLV 0x01 for WDSGetDataSessionDuration()
4020 struct sWDSGetDataSessionDurationResponse_Duration
4021 {
4022 UINT64 mDataSessionDuration;
4023 };
4024
4025 // Structure to describe response TLV 0x10 for WDSGetDataSessionDuration()
4026 struct sWDSGetDataSessionDurationResponse_PreviousDuration
4027 {
4028 UINT64 mPreviousDataSessionDuration;
4029 };
4030
4031 // Structure to describe response TLV 0x11 for WDSGetDataSessionDuration()
4032 struct sWDSGetDataSessionDurationResponse_ActiveDuration
4033 {
4034 UINT64 mDataSessionActiveDuration;
4035 };
4036
4037 // Structure to describe response TLV 0x12 for WDSGetDataSessionDuration()
4038 struct sWDSGetDataSessionDurationResponse_PreviousActiveDuration
4039 {
4040 UINT64 mPreviousDataSessionActiveDuration;
4041 };
4042
4043 // Structure to describe response TLV 0x01 for WDSGetModemStatus()
4044 struct sWDSGetModemStatusResponse_Status
4045 {
4046 eQMIConnectionStatus mConnectionStatus;
4047 UINT64 mDataSessionDuration;
4048 };
4049
4050 // Structure to describe response TLV 0x10 for WDSGetModemStatus()
4051 struct sWDSGetModemStatusResponse_CallEndReason
4052 {
4053 eQMICallEndReasons mCallEnd;
4054 };
4055
4056 // Structure to describe indication TLV 0x01 for WDS ModemStatusReport
4057 struct sWDSModemStatusReportIndication_Status
4058 {
4059 eQMIConnectionStatus mConnectionStatus;
4060 };
4061
4062 // Structure to describe indication TLV 0x10 for WDS ModemStatusReport
4063 struct sWDSModemStatusReportIndication_CallEndReason
4064 {
4065 eQMICallEndReasons mCallEnd;
4066 };
4067
4068 // Structure to describe response TLV 0x01 for WDSGetDataBearerTechnology()
4069 struct sWDSGetDataBearerTechnologyResponse_Technology
4070 {
4071 eQMIDataBearerTechnologies mDataBearerTechnology;
4072 };
4073
4074 // Structure to describe response TLV 0x10 for WDSGetDataBearerTechnology()
4075 struct sWDSGetDataBearerTechnologyResponse_LastCallTechnology
4076 {
4077 eQMIDataBearerTechnologies mDataBearerTechnology;
4078 };
4079
4080 // Structure to describe request TLV 0x01 for WDSGetModemInfo()
4081 struct sWDSGetModemInfoRequest_RequestedStatus
4082 {
4083 bool mConnectionStatus:1;
4084 bool mLastCallEndReason:1;
4085 bool mRXTXByteTotals:1;
4086 bool mDormancyStatus:1;
4087 bool mDataBearerTechnology:1;
4088 bool mChannelRates:1;
4089 bool mDuration:1;
4090
4091 // Padding out 25 bits
4092 UINT8 mReserved1:1;
4093 UINT8 mReserved2[3];
4094 };
4095
4096 // Structure to describe request TLV 0x10 for WDSGetModemInfo()
4097 struct sWDSGetModemInfoRequest_ConnectionStatusIndicator
4098 {
4099 INT8 mReportConnectionStatus;
4100 };
4101
4102 // Structure to describe request TLV 0x11 for WDSGetModemInfo()
4103 struct sWDSGetModemInfoRequest_TransferStatisticsIndicator
4104 {
4105 UINT8 mTransferStatisticsIntervalSeconds;
4106
4107 // Padding out 6 bits
4108 UINT8 mReserved1:6;
4109
4110 bool mTXByteTotal:1;
4111 bool mRXByteTotal:1;
4112
4113 // Padding out 24 bits
4114 UINT8 mReserved2[3];
4115 };
4116
4117 // Structure to describe request TLV 0x12 for WDSGetModemInfo()
4118 struct sWDSGetModemInfoRequest_DormancyStatusIndicator
4119 {
4120 INT8 mReportDormancyStatus;
4121 };
4122
4123 // Structure to describe request TLV 0x13 for WDSGetModemInfo()
4124 struct sWDSGetModemInfoRequest_DataBearerTechnologyIndicator
4125 {
4126 INT8 mReportDataBearerTechnology;
4127 };
4128
4129 // Structure to describe request TLV 0x14 for WDSGetModemInfo()
4130 struct sWDSGetModemInfoRequest_ChannelRateIndicator
4131 {
4132 INT8 mReportChannelRate;
4133 };
4134
4135 // Structure to describe response TLV 0x10 for WDSGetModemInfo()
4136 struct sWDSGetModemInfoResponse_Status
4137 {
4138 eQMIConnectionStatus mConnectionStatus;
4139 UINT64 mDataSessionDuration;
4140 };
4141
4142 // Structure to describe response TLV 0x11 for WDSGetModemInfo()
4143 struct sWDSGetModemInfoResponse_CallEndReason
4144 {
4145 eQMICallEndReasons mCallEnd;
4146 };
4147
4148 // Structure to describe response TLV 0x12 for WDSGetModemInfo()
4149 struct sWDSGetModemInfoResponse_TXBytes
4150 {
4151 UINT64 mTXByteTotal;
4152 };
4153
4154 // Structure to describe response TLV 0x13 for WDSGetModemInfo()
4155 struct sWDSGetModemInfoResponse_RXBytes
4156 {
4157 UINT64 mRXByteTotal;
4158 };
4159
4160 // Structure to describe response TLV 0x14 for WDSGetModemInfo()
4161 struct sWDSGetModemInfoResponse_DormancyStatus
4162 {
4163 eQMIDormancyStatus mDormancyStatus;
4164 };
4165
4166 // Structure to describe response TLV 0x15 for WDSGetModemInfo()
4167 struct sWDSGetModemInfoResponse_Technology
4168 {
4169 eQMIDataBearerTechnologies mDataBearerTechnology;
4170 };
4171
4172 // Structure to describe response TLV 0x16 for WDSGetModemInfo()
4173 struct sWDSGetModemInfoResponse_Rates
4174 {
4175 UINT32 mChannelTXRatebps;
4176 UINT32 mChannelRXRatebps;
4177 UINT32 mMaxChannelTXRatebps;
4178 UINT32 mMaxChannelRXRatebps;
4179 };
4180
4181 // Structure to describe response TLV 0x17 for WDSGetModemInfo()
4182 struct sWDSGetModemInfoResponse_PreviousTXBytes
4183 {
4184 UINT64 mPreviousCallTXByteTotal;
4185 };
4186
4187 // Structure to describe response TLV 0x18 for WDSGetModemInfo()
4188 struct sWDSGetModemInfoResponse_PreviousRXBytes
4189 {
4190 UINT64 mPreviousCallRXByteTotal;
4191 };
4192
4193 // Structure to describe response TLV 0x19 for WDSGetModemInfo()
4194 struct sWDSGetModemInfoResponse_ActiveDuration
4195 {
4196 UINT64 mDataSessionActiveDuration;
4197 };
4198
4199 // Structure to describe response TLV 0x20 for WDSGetModemInfo()
4200 struct sWDSGetModemInfoResponse_LastCallTechnology
4201 {
4202 eQMIDataBearerTechnologies mDataBearerTechnology;
4203 };
4204
4205 // Structure to describe indication TLV 0x10 for WDS ModemInfoReport
4206 struct sWDSModemInfoReportIndication_Status
4207 {
4208 eQMIConnectionStatus mConnectionStatus;
4209 };
4210
4211 // Structure to describe indication TLV 0x11 for WDS ModemInfoReport
4212 struct sWDSModemInfoReportIndication_CallEndReason
4213 {
4214 eQMICallEndReasons mCallEnd;
4215 };
4216
4217 // Structure to describe indication TLV 0x12 for WDS ModemInfoReport
4218 struct sWDSModemInfoReportIndication_TXBytes
4219 {
4220 UINT64 mTXByteTotal;
4221 };
4222
4223 // Structure to describe indication TLV 0x13 for WDS ModemInfoReport
4224 struct sWDSModemInfoReportIndication_RXBytes
4225 {
4226 UINT64 mRXByteTotal;
4227 };
4228
4229 // Structure to describe indication TLV 0x14 for WDS ModemInfoReport
4230 struct sWDSModemInfoReportIndication_DormancyStatus
4231 {
4232 eQMIDormancyStatus mDormancyStatus;
4233 };
4234
4235 // Structure to describe indication TLV 0x15 for WDS ModemInfoReport
4236 struct sWDSModemInfoReportIndication_Technology
4237 {
4238 eQMIDataBearerTechnologies mDataBearerTechnology;
4239 };
4240
4241 // Structure to describe indication TLV 0x16 for WDS ModemInfoReport
4242 struct sWDSModemInfoReportIndication_Rates
4243 {
4244 UINT32 mChannelTXRatebps;
4245 UINT32 mChannelRXRatebps;
4246 };
4247
4248 // Structure to describe response TLV 0x01 for WDSGetActiveMIPProfile()
4249 struct sWDSGetActiveMIPProfileResponse_Index
4250 {
4251 UINT8 mProfileIndex;
4252 };
4253
4254 // Structure to describe request TLV 0x01 for WDSSetActiveMIPProfile()
4255 struct sWDSSetActiveMIPProfileRequest_Index
4256 {
4257 char mSPC[6];
4258 UINT8 mProfileIndex;
4259 };
4260
4261 // Structure to describe request TLV 0x01 for WDSGetMIPProfile()
4262 struct sWDSGetMIPProfileRequest_Index
4263 {
4264 UINT8 mProfileIndex;
4265 };
4266
4267 // Structure to describe response TLV 0x10 for WDSGetMIPProfile()
4268 struct sWDSGetMIPProfileResponse_State
4269 {
4270 INT8 mEnabled;
4271 };
4272
4273 // Structure to describe response TLV 0x11 for WDSGetMIPProfile()
4274 struct sWDSGetMIPProfileResponse_HomeAddress
4275 {
4276 UINT8 mIPV4Address[4];
4277 };
4278
4279 // Structure to describe response TLV 0x12 for WDSGetMIPProfile()
4280 struct sWDSGetMIPProfileResponse_PrimaryHomeAgentAddress
4281 {
4282 UINT8 mIPV4Address[4];
4283 };
4284
4285 // Structure to describe response TLV 0x13 for WDSGetMIPProfile()
4286 struct sWDSGetMIPProfileResponse_SecondaryHomeAgentAddress
4287 {
4288 UINT8 mIPV4Address[4];
4289 };
4290
4291 // Structure to describe response TLV 0x14 for WDSGetMIPProfile()
4292 struct sWDSGetMIPProfileResponse_ReverseTunneling
4293 {
4294 INT8 mReverseTunneling;
4295 };
4296
4297 // Structure to describe response TLV 0x15 for WDSGetMIPProfile()
4298 struct sWDSGetMIPProfileResponse_NAI
4299 {
4300 // String is variable length, but must be size of the container
4301 // char mNAI[1];
4302 };
4303
4304 // Structure to describe response TLV 0x16 for WDSGetMIPProfile()
4305 struct sWDSGetMIPProfileResponse_HASPI
4306 {
4307 UINT32 mHASPI;
4308 };
4309
4310 // Structure to describe response TLV 0x17 for WDSGetMIPProfile()
4311 struct sWDSGetMIPProfileResponse_AAASPI
4312 {
4313 UINT32 mAAASPI;
4314 };
4315
4316 // Structure to describe response TLV 0x1A for WDSGetMIPProfile()
4317 struct sWDSGetMIPProfileResponse_HAState
4318 {
4319 eQMIHAAAAKeyStates mKeyState;
4320 };
4321
4322 // Structure to describe response TLV 0x1B for WDSGetMIPProfile()
4323 struct sWDSGetMIPProfileResponse_AAAState
4324 {
4325 eQMIHAAAAKeyStates mKeyState;
4326 };
4327
4328 // Structure to describe request TLV 0x01 for WDSSetMIPProfile()
4329 struct sWDSSetMIPProfileRequest_Index
4330 {
4331 char mSPC[6];
4332 UINT8 mProfileIndex;
4333 };
4334
4335 // Structure to describe request TLV 0x10 for WDSSetMIPProfile()
4336 struct sWDSSetMIPProfileRequest_State
4337 {
4338 INT8 mEnabled;
4339 };
4340
4341 // Structure to describe request TLV 0x11 for WDSSetMIPProfile()
4342 struct sWDSSetMIPProfileRequest_HomeAddress
4343 {
4344 UINT8 mIPV4Address[4];
4345 };
4346
4347 // Structure to describe request TLV 0x12 for WDSSetMIPProfile()
4348 struct sWDSSetMIPProfileRequest_PrimaryHomeAgentAddress
4349 {
4350 UINT8 mIPV4Address[4];
4351 };
4352
4353 // Structure to describe request TLV 0x13 for WDSSetMIPProfile()
4354 struct sWDSSetMIPProfileRequest_SecondaryHomeAgentAddress
4355 {
4356 UINT8 mIPV4Address[4];
4357 };
4358
4359 // Structure to describe request TLV 0x14 for WDSSetMIPProfile()
4360 struct sWDSSetMIPProfileRequest_ReverseTunneling
4361 {
4362 INT8 mReverseTunneling;
4363 };
4364
4365 // Structure to describe request TLV 0x15 for WDSSetMIPProfile()
4366 struct sWDSSetMIPProfileRequest_NAI
4367 {
4368 // String is variable length, but must be size of the container
4369 // char mNAI[1];
4370 };
4371
4372 // Structure to describe request TLV 0x16 for WDSSetMIPProfile()
4373 struct sWDSSetMIPProfileRequest_HASPI
4374 {
4375 UINT32 mHASPI;
4376 };
4377
4378 // Structure to describe request TLV 0x17 for WDSSetMIPProfile()
4379 struct sWDSSetMIPProfileRequeste_AAASPI
4380 {
4381 UINT32 mAAASPI;
4382 };
4383
4384 // Structure to describe request TLV 0x18 for WDSSetMIPProfile()
4385 struct sWDSSetMIPProfileRequest_MNHA
4386 {
4387 // String is variable length, but must be size of the container
4388 // char mMNHAKey[1];
4389 };
4390
4391 // Structure to describe request TLV 0x19 for WDSSetMIPProfile()
4392 struct sWDSSetMIPProfileRequest_MNAAA
4393 {
4394 // String is variable length, but must be size of the container
4395 // char mMNAAAKey[1];
4396 };
4397
4398 // Structure to describe response TLV 0x10 for WDSGetMIPParameters()
4399 struct sWDSGetMIPParametersResponse_MobileIPMode
4400 {
4401 eQMIMobileIPModes mMIPMode;
4402 };
4403
4404 // Structure to describe response TLV 0x11 for WDSGetMIPParameters()
4405 struct sWDSGetMIPParametersResponse_RetryAttemptLimit
4406 {
4407 UINT8 mRetryAttemptLimit;
4408 };
4409
4410 // Structure to describe response TLV 0x12 for WDSGetMIPParameters()
4411 struct sWDSGetMIPParametersResponse_RetryAttemptInterval
4412 {
4413 UINT8 mRetryAttemptInterval;
4414 };
4415
4416 // Structure to describe response TLV 0x13 for WDSGetMIPParameters()
4417 struct sWDSGetMIPParametersResponse_ReRegistrationPeriod
4418 {
4419 UINT8 mReRegistrationPeriod;
4420 };
4421
4422 // Structure to describe response TLV 0x14 for WDSGetMIPParameters()
4423 struct sWDSGetMIPParametersResponse_ReRegistrationOnlyWithTraffic
4424 {
4425 INT8 mReRegistrationOnlyWithTraffic;
4426 };
4427
4428 // Structure to describe response TLV 0x15 for WDSGetMIPParameters()
4429 struct sWDSGetMIPParametersResponse_MNHAAuthenticatorCalculator
4430 {
4431 INT8 mMNHAAuthenticatorCalculator;
4432 };
4433
4434 // Structure to describe response TLV 0x16 for WDSGetMIPParameters()
4435 struct sWDSGetMIPParametersResponse_MNHARFC2002BISAuthentication
4436 {
4437 INT8 mMNHARFC2002BISAuthentication;
4438 };
4439
4440 // Structure to describe request TLV 0x01 for WDSSetMIPParameters()
4441 struct sWDSSetMIPParametersRequest_SPC
4442 {
4443 char mSPC[6];
4444 };
4445
4446 // Structure to describe request TLV 0x10 for WDSSetMIPParameters()
4447 struct sWDSSetMIPParametersRequest_MobileIPMode
4448 {
4449 eQMIMobileIPModes mMIPMode;
4450 };
4451
4452 // Structure to describe request TLV 0x11 for WDSSetMIPParameters()
4453 struct sWDSSetMIPParametersRequest_RetryAttemptLimit
4454 {
4455 UINT8 mRetryAttemptLimit;
4456 };
4457
4458 // Structure to describe request TLV 0x12 for WDSSetMIPParameters()
4459 struct sWDSSetMIPParametersRequest_RetryAttemptInterval
4460 {
4461 UINT8 mRetryAttemptInterval;
4462 };
4463
4464 // Structure to describe request TLV 0x13 for WDSSetMIPParameters()
4465 struct sWDSSetMIPParametersRequest_ReRegistrationPeriod
4466 {
4467 UINT8 mReRegistrationPeriod;
4468 };
4469
4470 // Structure to describe request TLV 0x14 for WDSSetMIPParameters()
4471 struct sWDSSetMIPParametersRequest_ReRegistrationOnlyWithTraffic
4472 {
4473 INT8 mReRegistrationOnlyWithTraffic;
4474 };
4475
4476 // Structure to describe request TLV 0x15 for WDSSetMIPParameters()
4477 struct sWDSSetMIPParametersRequest_MNHAAuthenticatorCalculator
4478 {
4479 INT8 mMNHAAuthenticatorCalculator;
4480 };
4481
4482 // Structure to describe request TLV 0x16 for WDSSetMIPParameters()
4483 struct sWDSSetMIPParametersRequest_MNHARFC2002BISAuthentication
4484 {
4485 INT8 mMNHARFC2002BISAuthentication;
4486 };
4487
4488 // Structure to describe response TLV 0x01 for WDSGetLastMIPStatus()
4489 struct sWDSGetLastMIPStatusResponse_Status
4490 {
4491 UINT8 mLastMIPStatus;
4492 };
4493
4494 // Structure to describe response TLV 0x01 for WDSGetANAAAAuthenticationStatus()
4495 struct sWDSGetANAAAAuthenticationStatusResponse_Status
4496 {
4497 INT8 mANAAAAuthenticated;
4498 };
4499
4500 // Structure to describe response TLV 0x01 for WDSGetCurrentDataBearerTechnology()
4501 struct sWDSGetCurrentDataBearerTechnologyResponse_Technology
4502 {
4503 eQMIWDSNetworkTypes mNetworkType;
4504
4505 // The following union is based on the value of mNetworkType
4506 union uValOfNetworkType
4507 {
4508 // If the value of mNetworkType == 1
4509 struct sNetworkTypeIs1
4510 {
4511 bool mCDMA1x:1;
4512 bool mCDMA1xEvDORev0:1;
4513 bool mCDMA1xEvDORevA:1;
4514 bool mCDMA1xEvDORevB:1;
4515 bool mCDMAEHRPD:1;
4516 bool mCDMAFMC:1;
4517
4518 // Padding out 25 bits
4519 UINT8 mReserved1:2;
4520 UINT8 mReserved2[2];
4521 UINT8 mReserved3:7;
4522
4523 bool mNullBearer:1;
4524
4525 // The following union is for handing both mCDMA1x and mCDMA1xEvDORev(0, A, B)
4526 union uValOfCDMA1x_or_CDMA1xEvDORevX
4527 {
4528 // If the value of mCDMA1x == 1
4529 struct sCDMA1xIs1
4530 {
4531 bool mCDMA1xIS95:1;
4532 bool mCDMA1xIS2000:1;
4533 bool mCDMA1xIS2000RelA:1;
4534
4535 // Padding out 29 bits
4536 UINT8 mReserved4:5;
4537 UINT8 mReserved5[3];
4538 };
4539
4540 sCDMA1xIs1 mCDMA1xIs1;
4541
4542 // If the value of mCDMA1xEvDORev0 == 1
4543 struct sCDMA1xEvDORev0Is1
4544 {
4545 bool mCDMA1xEvDORev0DPA:1;
4546
4547 // Padding out 31 bits
4548 UINT8 mReserved6:7;
4549 UINT8 mReserved7[3];
4550 };
4551
4552 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
4553
4554 // If the value of mCDMA1xEvDORevA == 1
4555 struct sCDMA1xEvDORevAIs1
4556 {
4557 bool mCDMA1xEvDORevADPA:1;
4558 bool mCDMA1xEvDORevAMFPA:1;
4559 bool mCDMA1xEvDORevAEMPA:1;
4560 bool mCDMA1xEvDORevAEMPAEHRPD:1;
4561
4562 // Padding out 28 bits
4563 UINT8 mReserved8:4;
4564 UINT8 mReserved9[3];
4565 };
4566
4567 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
4568
4569 // If the value of mCDMA1xEvDORevB == 1
4570 struct sCDMA1xEvDORevBIs1
4571 {
4572 bool mCDMA1xEvDORevBDPA:1;
4573 bool mCDMA1xEvDORevBMFPA:1;
4574 bool mCDMA1xEvDORevBEMPA:1;
4575 bool mCDMA1xEvDORevBEMPAEHRPD:1;
4576 bool mCDMA1xEvDORevBMMPA:1;
4577 bool mCDMA1xEvDORevBMMPAEHRPD:1;
4578
4579 // Padding out 26 bits
4580 UINT8 mReserved10:2;
4581 UINT8 mReserved11[3];
4582 };
4583
4584 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
4585
4586 // Padding out 32 bits
4587 UINT8 mReserved12[4];
4588 };
4589
4590 uValOfCDMA1x_or_CDMA1xEvDORevX mValOfCDMA1x_or_CDMA1xEvDORevX;
4591 };
4592
4593 sNetworkTypeIs1 mNetworkTypeIs1;
4594
4595 // If the value of mNetworkType == 2
4596 struct sNetworkTypeIs2
4597 {
4598 bool mWCDMA:1;
4599 bool mGPRS:1;
4600 bool mHSDPA:1;
4601 bool mHSUPA:1;
4602 bool mEDGE:1;
4603 bool mLTE:1;
4604 bool mHSDPAPlus:1;
4605 bool mDualCellHSDPAPlus:1;
4606 bool m64QAM:1;
4607 bool mTDSCDMA:1;
4608
4609 // Padding out 21 bits
4610 UINT8 mReserved13:6;
4611 UINT8 mReserved14;
4612 UINT8 mReserved15:7;
4613
4614 bool mNullBearer:1;
4615 };
4616
4617 sNetworkTypeIs2 mNetworkTypeIs2;
4618
4619 // Padding out 64 bits
4620 UINT8 mReserved16[8];
4621 };
4622
4623 uValOfNetworkType mValOfNetworkType;
4624 };
4625
4626 // Structure to describe response TLV 0x10 for WDSGetCurrentDataBearerTechnology()
4627 struct sWDSGetCurrentDataBearerTechnologyResponse_LastCallTechnology
4628 {
4629 eQMIWDSNetworkTypes mNetworkType;
4630
4631 // The following union is based on the value of mNetworkType
4632 union uValOfNetworkType
4633 {
4634 // If the value of mNetworkType == 1
4635 struct sNetworkTypeIs1
4636 {
4637 bool mCDMA1x:1;
4638 bool mCDMA1xEvDORev0:1;
4639 bool mCDMA1xEvDORevA:1;
4640 bool mCDMA1xEvDORevB:1;
4641 bool mCDMAEHRPD:1;
4642 bool mCDMAFMC:1;
4643
4644 // Padding out 25 bits
4645 UINT8 mReserved1:2;
4646 UINT8 mReserved2[2];
4647 UINT8 mReserved3:7;
4648
4649 bool mNullBearer:1;
4650
4651 // The following union is for handing both mCDMA1x and mCDMA1xEvDORev(0, A, B)
4652 union uValOfCDMA1x_or_CDMA1xEvDORevX
4653 {
4654 // If the value of mCDMA1x == 1
4655 struct sCDMA1xIs1
4656 {
4657 bool mCDMA1xIS95:1;
4658 bool mCDMA1xIS2000:1;
4659 bool mCDMA1xIS2000RelA:1;
4660
4661 // Padding out 29 bits
4662 UINT8 mReserved4:5;
4663 UINT8 mReserved5[3];
4664 };
4665
4666 sCDMA1xIs1 mCDMA1xIs1;
4667
4668 // If the value of mCDMA1xEvDORev0 == 1
4669 struct sCDMA1xEvDORev0Is1
4670 {
4671 bool mCDMA1xEvDORev0DPA:1;
4672
4673 // Padding out 31 bits
4674 UINT8 mReserved6:7;
4675 UINT8 mReserved7[3];
4676 };
4677
4678 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
4679
4680 // If the value of mCDMA1xEvDORevA == 1
4681 struct sCDMA1xEvDORevAIs1
4682 {
4683 bool mCDMA1xEvDORevADPA:1;
4684 bool mCDMA1xEvDORevAMFPA:1;
4685 bool mCDMA1xEvDORevAEMPA:1;
4686 bool mCDMA1xEvDORevAEMPAEHRPD:1;
4687
4688 // Padding out 28 bits
4689 UINT8 mReserved8:4;
4690 UINT8 mReserved9[3];
4691 };
4692
4693 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
4694
4695 // If the value of mCDMA1xEvDORevB == 1
4696 struct sCDMA1xEvDORevBIs1
4697 {
4698 bool mCDMA1xEvDORevBDPA:1;
4699 bool mCDMA1xEvDORevBMFPA:1;
4700 bool mCDMA1xEvDORevBEMPA:1;
4701 bool mCDMA1xEvDORevBEMPAEHRPD:1;
4702 bool mCDMA1xEvDORevBMMPA:1;
4703 bool mCDMA1xEvDORevBMMPAEHRPD:1;
4704
4705 // Padding out 26 bits
4706 UINT8 mReserved10:2;
4707 UINT8 mReserved11[3];
4708 };
4709
4710 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
4711
4712 // Padding out 32 bits
4713 UINT8 mReserved12[4];
4714 };
4715
4716 uValOfCDMA1x_or_CDMA1xEvDORevX mValOfCDMA1x_or_CDMA1xEvDORevX;
4717 };
4718
4719 sNetworkTypeIs1 mNetworkTypeIs1;
4720
4721 // If the value of mNetworkType == 2
4722 struct sNetworkTypeIs2
4723 {
4724 bool mWCDMA:1;
4725 bool mGPRS:1;
4726 bool mHSDPA:1;
4727 bool mHSUPA:1;
4728 bool mEDGE:1;
4729 bool mLTE:1;
4730 bool mHSDPAPlus:1;
4731 bool mDualCellHSDPAPlus:1;
4732 bool m64QAM:1;
4733 bool mTDSCDMA:1;
4734
4735 // Padding out 21 bits
4736 UINT8 mReserved13:6;
4737 UINT8 mReserved14;
4738 UINT8 mReserved15:7;
4739
4740 bool mNullBearer:1;
4741 };
4742
4743 sNetworkTypeIs2 mNetworkTypeIs2;
4744
4745 // Padding out 64 bits
4746 UINT8 mReserved16[8];
4747 };
4748
4749 uValOfNetworkType mValOfNetworkType;
4750 };
4751
4752 // Structure to describe request TLV 0x10 for WDSGetCallList()
4753 struct sWDSGetCallListRequest_ListType
4754 {
4755 eQMICallHistoryTypes mCallListType;
4756 };
4757
4758 // Structure to describe response TLV 0x10 for WDSGetCallList()
4759 struct sWDSGetCallListResponse_FullList
4760 {
4761 UINT16 mCallRecords;
4762
4763 struct sRecord
4764 {
4765 UINT16 mID;
4766 eQMICallTypes mType;
4767 eQMIDataBearerTechnologies mDataBearer;
4768 UINT64 mTimestamp;
4769 UINT8 mIPV4Address[4];
4770 UINT64 mTotalDuration;
4771 UINT64 mActiveDuration;
4772 UINT64 mRXByteTotal;
4773 UINT64 mTXByteTotal;
4774 eQMICallEndReasons mCallEnd;
4775 UINT8 mPhoneNumberLength;
4776
4777 // This array must be the size specified by mPhoneNumberLength
4778 // char mPhoneNumber[1];
4779 };
4780
4781 // This array must be the size specified by mCallRecords
4782 // sRecord mRecords[1];
4783 };
4784
4785 // Structure to describe response TLV 0x11 for WDSGetCallList()
4786 struct sWDSGetCallListResponse_IDList
4787 {
4788 UINT16 mCallRecords;
4789
4790 struct sRecord
4791 {
4792 UINT16 mID;
4793 };
4794
4795 // This array must be the size specified by mCallRecords
4796 // sRecord mRecords[1];
4797 };
4798
4799 // Structure to describe request TLV 0x01 for WDSGetCallRecord()
4800 struct sWDSGetCallRecordRequest_RecordID
4801 {
4802 UINT16 mID;
4803 };
4804
4805 // Structure to describe response TLV 0x01 for WDSGetCallRecord()
4806 struct sWDSGetCallRecordResponse_Record
4807 {
4808 UINT16 mID;
4809 eQMICallTypes mType;
4810 eQMIDataBearerTechnologies mDataBearer;
4811 UINT64 mTimestamp;
4812 UINT8 mIPV4Address[4];
4813 UINT64 mTotalDuration;
4814 UINT64 mActiveDuration;
4815 UINT64 mRXByteTotal;
4816 UINT64 mTXByteTotal;
4817 eQMICallEndReasons mCallEnd;
4818 UINT8 mPhoneNumberLength;
4819
4820 // This array must be the size specified by mPhoneNumberLength
4821 // char mPhoneNumber[1];
4822 };
4823
4824 // Structure to describe response TLV 0x01 for WDSGetCallListMaxSize()
4825 struct sWDSGetCallListMaxSizeResponse_Maximum
4826 {
4827 UINT16 mCallListMaxSize;
4828 };
4829
4830 // Structure to describe request TLV 0x01 for WDSGetDefaultProfileNumber()
4831 struct sWDSGetDefaultProfileNumberRequest_ProfileType
4832 {
4833 eQMIProfileTypes mProfileType;
4834 eQMIWDSProfileFamily mProfileFamily;
4835 };
4836
4837 // Structure to describe response TLV 0x01 for WDSGetDefaultProfileNumber()
4838 struct sWDSGetDefaultProfileNumberResponse_ProfileNumber
4839 {
4840 UINT8 mProfileIndex;
4841 };
4842
4843 // Structure to describe response TLV 0xE0 for WDSGetDefaultProfileNumber()
4844 struct sWDSGetDefaultProfileNumberResponse_ExtendedErrorCode
4845 {
4846 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4847 };
4848
4849 // Structure to describe request TLV 0x01 for WDSSetDefaultProfileNumber()
4850 struct sWDSSetDefaultProfileNumberRequest_ProfileIdentifier
4851 {
4852 eQMIProfileTypes mProfileType;
4853 eQMIWDSProfileFamily mProfileFamily;
4854 UINT8 mProfileIndex;
4855 };
4856
4857 // Structure to describe response TLV 0xE0 for WDSSetDefaultProfileNumber()
4858 struct sWDSSetDefaultProfileNumberResponse_ExtendedErrorCode
4859 {
4860 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4861 };
4862
4863 // Structure to describe request TLV 0x01 for WDSResetProfile()
4864 struct sWDSResetProfileRequest_ProfileIdentifier
4865 {
4866 eQMIProfileTypes mProfileType;
4867 UINT8 mProfileIndex;
4868 };
4869
4870 // Structure to describe response TLV 0xE0 for WDSResetProfile()
4871 struct sWDSResetProfileResponse_ExtendedErrorCode
4872 {
4873 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4874 };
4875
4876 // Structure to describe request TLV 0x01 for WDSResetProfileParamToInvalid()
4877 struct sWDSResetProfileParamToInvalidRequest_ProfileParam
4878 {
4879 eQMIProfileTypes mProfileType;
4880 UINT8 mProfileIndex;
4881 eQMIWDSProfileParamID mProfileParamID;
4882 };
4883
4884 // Structure to describe response TLV 0xE0 for WDSResetProfileParamToInvalid()
4885 struct sWDSResetProfileParamToInvalidResponse_ExtendedErrorCode
4886 {
4887 eQMIWDSExtendedErrorCode mExtendedErrorCode;
4888 };
4889
4890 // Structure to describe request TLV 0x01 for WDSSetIPFamilyPreference()
4891 struct sWDSSetIPFamilyPreferenceRequest_IPFamilyPreference
4892 {
4893 eQMIWDSIPFamilies mIPFamily;
4894 };
4895
4896 // Structure to describe request TLV 0x01 for WDSSetFMCTunnelParameters()
4897 struct sWDSSetFMCTunnelParametersRequest_Parameters
4898 {
4899 UINT32 mStreamID;
4900 INT8 mNATIsPresent;
4901 UINT16 mPortID;
4902 };
4903
4904 // Structure to describe request TLV 0x10 for WDSSetFMCTunnelParameters()
4905 struct sWDSSetFMCTunnelParametersRequest_IPv4Address
4906 {
4907 UINT8 mIPV4Address[4];
4908 };
4909
4910 // Structure to describe request TLV 0x11 for WDSSetFMCTunnelParameters()
4911 struct sWDSSetFMCTunnelParametersRequest_IPv6Address
4912 {
4913 UINT16 mIPv6Address[8];
4914 };
4915
4916 // Structure to describe response TLV 0x10 for WDSGetFMCTunnelParameters()
4917 struct sWDSGetFMCTunnelParametersResponse_Parameters
4918 {
4919 UINT32 mStreamID;
4920 INT8 mNATIsPresent;
4921 UINT16 mPortID;
4922 };
4923
4924 // Structure to describe response TLV 0x11 for WDSGetFMCTunnelParameters()
4925 struct sWDSGetFMCTunnelParametersResponse_IPv4Address
4926 {
4927 UINT8 mIPV4Address[4];
4928 };
4929
4930 // Structure to describe response TLV 0x12 for WDSGetFMCTunnelParameters()
4931 struct sWDSGetFMCTunnelParametersResponse_IPv6Address
4932 {
4933 UINT16 mIPv6Address[8];
4934 };
4935
4936 // Structure to describe request TLV 0x01 for WDSSetAutoconnectSetting()
4937 struct sWDSSetAutoconnectSettingRequest_Autoconnect
4938 {
4939 eQMIWDSAutoconnectSettings mAutoconnectSetting;
4940 };
4941
4942 // Structure to describe request TLV 0x10 for WDSSetAutoconnectSetting()
4943 struct sWDSSetAutoconnectSettingRequest_Roam
4944 {
4945 eQMIWDSAutoconnectRoamSettings mAutoconnectRoamSetting;
4946 };
4947
4948 // Structure to describe response TLV 0x10 for WDSGetDNSSetting()
4949 struct sWDSGetDNSSettingResponse_PrimaryDNS
4950 {
4951 UINT8 mIPV4Address[4];
4952 };
4953
4954 // Structure to describe response TLV 0x11 for WDSGetDNSSetting()
4955 struct sWDSGetDNSSettingResponse_SecondaryDNS
4956 {
4957 UINT8 mIPV4Address[4];
4958 };
4959
4960 // Structure to describe response TLV 0x12 for WDSGetDNSSetting()
4961 struct sWDSGetDNSSettingResponse_PrimaryIPv6DNS
4962 {
4963 UINT16 mIPv6Address[8];
4964 };
4965
4966 // Structure to describe response TLV 0x13 for WDSGetDNSSetting()
4967 struct sWDSGetDNSSettingResponse_SecondaryIPv6DNS
4968 {
4969 UINT16 mIPv6Address[8];
4970 };
4971
4972 // Structure to describe request TLV 0x10 for WDSSetDNSSetting()
4973 struct sWDSSetDNSSettingRequest_PrimaryDNS
4974 {
4975 UINT8 mIPV4Address[4];
4976 };
4977
4978 // Structure to describe request TLV 0x11 for WDSSetDNSSetting()
4979 struct sWDSSetDNSSettingRequest_SecondaryDNS
4980 {
4981 UINT8 mIPV4Address[4];
4982 };
4983
4984 // Structure to describe request TLV 0x12 for WDSSetDNSSetting()
4985 struct sWDSSetDNSSettingRequest_PrimaryIPv6DNS
4986 {
4987 UINT16 mIPv6Address[8];
4988 };
4989
4990 // Structure to describe request TLV 0x13 for WDSSetDNSSetting()
4991 struct sWDSSetDNSSettingRequest_SecondaryIPv6DNS
4992 {
4993 UINT16 mIPv6Address[8];
4994 };
4995
4996 // Structure to describe response TLV 0x01 for WDSGetCDMAPreDormancySettings()
4997 struct sWDSGetCDMAPreDormancySettingsResponse_Settings
4998 {
4999 eQMIWDSCDMAServiceOptions mServiceOption;
5000 eQMIWDSCDMANetworks mDataSessionNetwork;
5001 };
5002
5003 // Structure to describe request TLV 0x01 for WDSSetCAMTimer()
5004 struct sWDSSetCAMTimerRequest_Timer
5005 {
5006 UINT32 mCAMTimerSeconds;
5007 };
5008
5009 // Structure to describe response TLV 0x01 for WDSGetCAMTimer()
5010 struct sWDSGetCAMTimerResponse_Timer
5011 {
5012 UINT32 mCAMTimerSeconds;
5013 };
5014
5015 // Structure to describe request TLV 0x01 for WDSSetSCRM()
5016 struct sWDSSetSCRMRequest_SCRM
5017 {
5018 INT8 mSCRMEnabled;
5019 };
5020
5021 // Structure to describe response TLV 0x01 for WDSGetSCRM()
5022 struct sWDSGetSCRMResponse_SCRM
5023 {
5024 INT8 mSCRMEnabled;
5025 };
5026
5027 // Structure to describe request TLV 0x01 for WDSSetRDUD()
5028 struct sWDSSetRDUDRequest_RDUD
5029 {
5030 INT8 mRDUDEnabled;
5031 };
5032
5033 // Structure to describe response TLV 0x01 for WDSGetRDUD()
5034 struct sWDSGetRDUDResponse_RDUD
5035 {
5036 INT8 mRDUDEnabled;
5037 };
5038
5039 // Structure to describe response TLV 0x01 for WDSGetSIPMIPCallType()
5040 struct sWDSGetSIPMIPCallTypeResponse_CallType
5041 {
5042 eQMIWDSSIPMIPCallTypes mCallType;
5043 };
5044
5045 // Structure to describe request TLV 0x01 for WDSSetEVDOPageMonitorPeriod()
5046 struct sWDSSetEVDOPageMonitorPeriodRequest_Period
5047 {
5048 UINT8 mPageMonitorPeriod;
5049 };
5050
5051 // Structure to describe indication TLV 0x01 for WDS EVDOPageMonitorPeriodIndication
5052 struct sWDSEVDOPageMonitorPeriodIndication_Result
5053 {
5054 eQMIWDSSlotCycleSetResults mSlotCycleSetResult;
5055 };
5056
5057 // Structure to describe request TLV 0x01 for WDSSetEVDOLongSleep()
5058 struct sWDSSetEVDOLongSleepRequest_Setting
5059 {
5060 INT8 mForceLongSleep;
5061 };
5062
5063 // Structure to describe response TLV 0x01 for WDSGetEVDOPageMonitorPeriod()
5064 struct sWDSGetEVDOPageMonitorPeriodResponse_Details
5065 {
5066 UINT8 mPageMonitorPeriod;
5067 INT8 mForceLongSleep;
5068 };
5069
5070 // Structure to describe response TLV 0x01 for WDSGetCallThrottleInfo()
5071 struct sWDSGetCallThrottleInfoResponse_Details
5072 {
5073 UINT32 mEVDOThrottledDelaySeconds;
5074 UINT32 mCDMAThrottledDelaySeconds;
5075 };
5076
5077 // Structure to describe request TLV 0x01 for WDSGetNSAPI()
5078 struct sWDSGetNSAPIRequest_APN
5079 {
5080 // String is variable length, but must be size of the container
5081 // char mAPNName[1];
5082 };
5083
5084 // Structure to describe response TLV 0x01 for WDSGetNSAPI()
5085 struct sWDSGetNSAPIResponse_NSAPI
5086 {
5087 UINT8 mNSAPICount;
5088
5089 // This array must be the size specified by mNSAPICount
5090 // UINT8 mNSAPI[1];
5091 };
5092
5093 // Structure to describe request TLV 0x01 for WDSSetDUNCallControlPreference()
5094 struct sWDSSetDUNCallControlPreferenceRequest_Preference
5095 {
5096 eQMIWDSDUNControlPreferences mDUNControl;
5097 };
5098
5099 // Structure to describe request TLV 0x10 for WDSSetDUNCallControlPreference()
5100 struct sWDSSetDUNCallControlPreferenceRequest_AllowDUN
5101 {
5102 INT8 mAllowDUNCalls;
5103 };
5104
5105 // Structure to describe response TLV 0x01 for WDSGetDUNCallControlInfo()
5106 struct sWDSGetDUNCallControlInfoResponse_Status
5107 {
5108 INT8 mDUNControlEnabled;
5109 };
5110
5111 // Structure to describe response TLV 0x10 for WDSGetDUNCallControlInfo()
5112 struct sWDSGetDUNCallControlInfoResponse_AllowDUN
5113 {
5114 INT8 mAllowDUNCalls;
5115 };
5116
5117 // Structure to describe response TLV 0x11 for WDSGetDUNCallControlInfo()
5118 struct sWDSGetDUNCallControlInfoResponse_CurrentClient
5119 {
5120 INT8 mSetByCurrentClient;
5121 };
5122
5123 // Structure to describe response TLV 0x12 for WDSGetDUNCallControlInfo()
5124 struct sWDSGetDUNCallControlInfoResponse_ReportMask
5125 {
5126 bool mSendDUNCallNotifications:1;
5127 bool mSendEntitlementNotifications:1;
5128 bool mSendSilentRedailNotifications:1;
5129
5130 // Padding out 5 bits
5131 UINT8 mReserved1:5;
5132 };
5133
5134 // Structure to describe request TLV 0x01 for WDSSetDUNCallControlEventReport()
5135 struct sWDSSetDUNCallControlEventReportRequest_CallNotifications
5136 {
5137 INT8 mEnableDUNCallNotifications;
5138 };
5139
5140 // Structure to describe request TLV 0x10 for WDSSetDUNCallControlEventReport()
5141 struct sWDSSetDUNCallControlEventReportRequest_EntitlementNotifications
5142 {
5143 INT8 mEnableEntitlementNotifications;
5144 };
5145
5146 // Structure to describe request TLV 0x11 for WDSSetDUNCallControlEventReport()
5147 struct sWDSSetDUNCallControlEventReportRequest_RedialNotifications
5148 {
5149 INT8 mEnableSilentRedailNotifications;
5150 };
5151
5152 // Structure to describe response TLV 0x01 for WDSSetDUNCallControlEventReport()
5153 struct sWDSSetDUNCallControlEventReportResponse_ReportMask
5154 {
5155 bool mSendDUNCallNotifications:1;
5156 bool mSendEntitlementNotifications:1;
5157 bool mSendSilentRedailNotifications:1;
5158
5159 // Padding out 5 bits
5160 UINT8 mReserved1:5;
5161 };
5162
5163 // Structure to describe indication TLV 0x01 for WDS DUNCallControlEventReport
5164 struct sWDSDUNCallControlEventReportIndication_Event
5165 {
5166 eQMIWDSDUNControlEvents mDUNControlEvent;
5167 };
5168
5169 // Structure to describe indication TLV 0x10 for WDS DUNCallControlEventReport
5170 struct sWDSDUNCallControlEventReportIndication_CallNotification
5171 {
5172 INT8 mDUNCallAllowed;
5173 };
5174
5175 // Structure to describe indication TLV 0x11 for WDS DUNCallControlEventReport
5176 struct sWDSDUNCallControlEventReportIndication_CallID
5177 {
5178 UINT8 mDUNCallID;
5179 };
5180
5181 // Structure to describe indication TLV 0x12 for WDS DUNCallControlEventReport
5182 struct sWDSDUNCallControlEventReportIndication_PreviousFailureReason
5183 {
5184 eQMIWDSCallEndReasonTypes mCallEndReasonType;
5185
5186 // The following union is based on the value of mCallEndReasonType
5187 union uValOfCallEndReasonType
5188 {
5189 // Always present
5190 UINT16 mCallEndReasonValue;
5191
5192 // If the value of mCallEndReasonType == 1
5193 struct sCallEndReasonTypeIs1
5194 {
5195 eQMIWDSMobileIPCallEndReasons mMobileIPCallEndReason;
5196 };
5197
5198 sCallEndReasonTypeIs1 mCallEndReasonTypeIs1;
5199
5200 // If the value of mCallEndReasonType == 2
5201 struct sCallEndReasonTypeIs2
5202 {
5203 eQMIWDSInternalCallEndReasons mInternalCallEndReason;
5204 };
5205
5206 sCallEndReasonTypeIs2 mCallEndReasonTypeIs2;
5207
5208 // If the value of mCallEndReasonType == 3
5209 struct sCallEndReasonTypeIs3
5210 {
5211 eQMIWDSCallManagerCallEndReasons mCallManagerCallEndReason;
5212 };
5213
5214 sCallEndReasonTypeIs3 mCallEndReasonTypeIs3;
5215
5216 // If the value of mCallEndReasonType == 6
5217 struct sCallEndReasonTypeIs6
5218 {
5219 eQMIWDS3GPPCallEndReasons m3GPPCallEndReason;
5220 };
5221
5222 sCallEndReasonTypeIs6 mCallEndReasonTypeIs6;
5223
5224 // If the value of mCallEndReasonType == 7
5225 struct sCallEndReasonTypeIs7
5226 {
5227 eQMIWDSPPPCallEndReason mPPPCallEndReason;
5228 };
5229
5230 sCallEndReasonTypeIs7 mCallEndReasonTypeIs7;
5231
5232 // If the value of mCallEndReasonType == 8
5233 struct sCallEndReasonTypeIs8
5234 {
5235 eQMIWDSEHRPDCallEndReason mEHRPDCallEndReason;
5236 };
5237
5238 sCallEndReasonTypeIs8 mCallEndReasonTypeIs8;
5239
5240 // If the value of mCallEndReasonType == 9
5241 struct sCallEndReasonTypeIs9
5242 {
5243 eQMIWDSIPv6CallEndReason mIPv6CallEndReason;
5244 };
5245
5246 sCallEndReasonTypeIs9 mCallEndReasonTypeIs9;
5247
5248 // Padding out 16 bits
5249 UINT8 mReserved1[2];
5250 };
5251
5252 uValOfCallEndReasonType mValOfCallEndReasonType;
5253 };
5254
5255 // Structure to describe request TLV 0x01 for WDSPendingDUNCallControl()
5256 struct sWDSPendingDUNCallControlRequest_Action
5257 {
5258 INT8 mDUNCallAllowed;
5259 };
5260
5261 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIActivate()
5262 struct sWDSEMBMSTMGIActivateRequest_TMGI
5263 {
5264 UINT8 mTMGI[6];
5265 INT8 mSessionIDValid;
5266 UINT8 mSessionID;
5267 };
5268
5269 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIActivate()
5270 struct sWDSEMBMSTMGIActivateResponse_ExtendedError
5271 {
5272 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5273 };
5274
5275 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGIActivateIndication
5276 struct sWDSEMBMSTMGIActivateIndication_Status
5277 {
5278 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5279 };
5280
5281 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIDeactivate()
5282 struct sWDSEMBMSTMGIDeactivateRequest_TMGI
5283 {
5284 UINT8 mTMGI[6];
5285 INT8 mSessionIDValid;
5286 UINT8 mSessionID;
5287 };
5288
5289 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIDeactivate()
5290 struct sWDSEMBMSTMGIDeactivateResponse_ExtendedError
5291 {
5292 eQMIWDSEMBMSErrorCodes mExtendedEMBMSErrorCode;
5293 };
5294
5295 // Structure to describe indication TLV 0x01 for WDS EMBMSTMGIDectivateIndication
5296 struct sWDSEMBMSTMGIDectivateIndication_Status
5297 {
5298 eQMIWDSEMBMSOperationStatus mTMGIOperationStatus;
5299 };
5300
5301 // Structure to describe request TLV 0x01 for WDSEMBMSTMGIListQuery()
5302 struct sWDSEMBMSTMGIListQueryRequest_Type
5303 {
5304 eQMIWDSEMBMSListTypes mTMGIListType;
5305 };
5306
5307 // Structure to describe response TLV 0x10 for WDSEMBMSTMGIListQuery()
5308 struct sWDSEMBMSTMGIListQueryResponse_List
5309 {
5310 eQMIWDSEMBMSListTypes mTMGIListType;
5311 UINT8 mTMGIListCount;
5312
5313 struct sEntry
5314 {
5315 UINT8 mTMGI[6];
5316 INT8 mSessionIDValid;
5317 UINT8 mSessionID;
5318 };
5319
5320 // This array must be the size specified by mTMGIListCount
5321 // sEntry mEntrys[1];
5322 };
5323
5324 // Structure to describe response TLV 0x11 for WDSEMBMSTMGIListQuery()
5325 struct sWDSEMBMSTMGIListQueryResponse_OOS
5326 {
5327 eQMIWDSOOSWarningReasons mOOSWarningReason;
5328 };
5329
5330 // Structure to describe indication TLV 0x10 for WDS EMBMSTMGIListIndication
5331 struct sWDSEMBMSTMGIListIndication_List
5332 {
5333 eQMIWDSEMBMSListTypes mTMGIListType;
5334 UINT8 mTMGIListCount;
5335
5336 struct sEntry
5337 {
5338 UINT8 mTMGI[6];
5339 INT8 mSessionIDValid;
5340 UINT8 mSessionID;
5341 };
5342
5343 // This array must be the size specified by mTMGIListCount
5344 // sEntry mEntrys[1];
5345 };
5346
5347 // Structure to describe indication TLV 0x11 for WDS EMBMSTMGIListIndication
5348 struct sWDSEMBMSTMGIListIndication_OOS
5349 {
5350 eQMIWDSOOSWarningReasons mOOSWarningReason;
5351 };
5352
5353 // Structure to describe response TLV 0x10 for WDSGetPreferredDataSystem()
5354 struct sWDSGetPreferredDataSystemResponse_PreferredDataSystem
5355 {
5356 eQMIWDSDataSystems mPreferredDataSystem;
5357 };
5358
5359 // Structure to describe response TLV 0x10 for WDSGetLastDataCallStatus()
5360 struct sWDSGetLastDataCallStatusResponse_DataCallStatus
5361 {
5362 eQMIWDSDataCallStatus mDataCallStatus;
5363 };
5364
5365 // Structure to describe response TLV 0x11 for WDSGetLastDataCallStatus()
5366 struct sWDSGetLastDataCallStatusResponse_DataCallType
5367 {
5368 eQMIWDSDataCallTypes mDataCallType;
5369 eQMIWDSTetheredCallTypes mTetheredCallType;
5370 };
5371
5372 // Structure to describe response TLV 0x10 for WDSGetCurrentDataSystems()
5373 struct sWDSGetCurrentDataSystemsResponse_Systems
5374 {
5375 eQMIWDSDataSystemNetworkTypes mPreferredNetworkType;
5376 UINT8 mNetworkCount;
5377
5378 struct sNetwork
5379 {
5380 eQMIWDSDataSystemNetworkTypes mNetworkType;
5381
5382 // The following union is based on the value of mNetworkType
5383 union uValOfNetworkType
5384 {
5385 // If the value of mNetworkType == 0
5386 struct sNetworkTypeIs0
5387 {
5388 bool mWCDMA:1;
5389 bool mGPRS:1;
5390 bool mHSDPA:1;
5391 bool mHSUPA:1;
5392 bool mEDGE:1;
5393 bool mLTE:1;
5394 bool mHSDPAPlus:1;
5395 bool mDualCellHSDPAPlus:1;
5396 bool m64QAM:1;
5397 bool mTDSCDMA:1;
5398
5399 // Padding out 21 bits
5400 UINT8 mReserved1:6;
5401 UINT8 mReserved2;
5402 UINT8 mReserved3:7;
5403
5404 bool mNULLBearer:1;
5405 };
5406
5407 sNetworkTypeIs0 mNetworkTypeIs0;
5408
5409 // If the value of mNetworkType == 1
5410 struct sNetworkTypeIs1
5411 {
5412 bool mCDMA1x:1;
5413 bool mCDMA1xEvDORev0:1;
5414 bool mCDMA1xEvDORevA:1;
5415 bool mCDMA1xEvDORevB:1;
5416 bool mCDMAEHRPD:1;
5417 bool mCDMAFMC:1;
5418
5419 // Padding out 25 bits
5420 UINT8 mReserved4:2;
5421 UINT8 mReserved5[2];
5422 UINT8 mReserved6:7;
5423
5424 bool mNULLBearer:1;
5425
5426 // The following union is for handing all mCDMA1x types
5427 union uValOfCDMA1xTypes
5428 {
5429 // If the value of mCDMA1x == 1
5430 struct sCDMA1xIs1
5431 {
5432 bool mCDMA1xIS95:1;
5433 bool mCDMA1xIS2000:1;
5434 bool mCDMA1xIS2000RelA:1;
5435
5436 // Padding out 29 bits
5437 UINT8 mReserved7:5;
5438 UINT8 mReserved8[3];
5439 };
5440
5441 sCDMA1xIs1 mCDMA1xIs1;
5442
5443 // If the value of mCDMA1xEvDORev0 == 1
5444 struct sCDMA1xEvDORev0Is1
5445 {
5446 bool mCDMA1xEvDORev0DPA:1;
5447
5448 // Padding out 31 bits
5449 UINT8 mReserved9:7;
5450 UINT8 mReserved10[3];
5451 };
5452
5453 sCDMA1xEvDORev0Is1 mCDMA1xEvDORev0Is1;
5454
5455 // If the value of mCDMA1xEvDORevA == 1
5456 struct sCDMA1xEvDORevAIs1
5457 {
5458 bool mCDMA1xEvDORevADPA:1;
5459 bool mCDMA1xEvDORevAMFPA:1;
5460 bool mCDMA1xEvDORevAEMPA:1;
5461 bool mCDMA1xEvDORevAEMPAEHRPD:1;
5462
5463 // Padding out 28 bits
5464 UINT8 mReserved11:4;
5465 UINT8 mReserved12[3];
5466 };
5467
5468 sCDMA1xEvDORevAIs1 mCDMA1xEvDORevAIs1;
5469
5470 // If the value of mCDMA1xEvDORevB == 1
5471 struct sCDMA1xEvDORevBIs1
5472 {
5473 bool mCDMA1xEvDORevBDPA:1;
5474 bool mCDMA1xEvDORevBMFPA:1;
5475 bool mCDMA1xEvDORevBEMPA:1;
5476 bool mCDMA1xEvDORevBEMPAEHRPD:1;
5477 bool mCDMA1xEvDORevBMMPA:1;
5478 bool mCDMA1xEvDORevBMMPAEHRPD:1;
5479
5480 // Padding out 26 bits
5481 UINT8 mReserved13:2;
5482 UINT8 mReserved14[3];
5483 };
5484
5485 sCDMA1xEvDORevBIs1 mCDMA1xEvDORevBIs1;
5486
5487 // Padding out 32 bits
5488 UINT8 mReserved15[4];
5489 };
5490
5491 uValOfCDMA1xTypes mValOfCDMA1xTypes;
5492 };
5493
5494 sNetworkTypeIs1 mNetworkTypeIs1;
5495
5496 // Padding out 64 bits
5497 UINT8 mReserved16[8];
5498 };
5499
5500 uValOfNetworkType mValOfNetworkType;
5501 };
5502
5503 // This array must be the size specified by mNetworkCount
5504 // sNetwork mNetworks[1];
5505 };
5506
5507 // Structure to describe request TLV 0x01 for WDSGetPDNThrottleInfo()
5508 struct sWDSGetPDNThrottleInfoRequest_Type
5509 {
5510 eQMIWDSDataSystemNetworkTypes mTechnologyType;
5511 };
5512
5513 // Structure to describe response TLV 0x10 for WDSGetPDNThrottleInfo()
5514 struct sWDSGetPDNThrottleInfoResponse_Info
5515 {
5516 UINT8 mThrottleInfoCount;
5517
5518 struct sInfo
5519 {
5520 INT8 mIPv4Throttled;
5521 INT8 mIPv6Throttled;
5522 UINT32 mIPv4ThrottleTimeLeftInMilliseconds;
5523 UINT32 mIPv6ThrottleTimeLeftInMilliseconds;
5524 UINT8 mAPNNameLength;
5525
5526 // This array must be the size specified by mAPNNameLength
5527 // char mAPNName[1];
5528 };
5529
5530 // This array must be the size specified by mThrottleInfoCount
5531 // sInfo mInfos[1];
5532 };
5533
5534 // Structure to describe response TLV 0x10 for WDSGetLTEAttachParameters()
5535 struct sWDSGetLTEAttachParametersResponse_APNString
5536 {
5537 // String is variable length, but must be size of the container
5538 // char mAPNName[1];
5539 };
5540
5541 // Structure to describe response TLV 0x11 for WDSGetLTEAttachParameters()
5542 struct sWDSGetLTEAttachParametersResponse_IPSupport
5543 {
5544 eQMIWDSLTEIPTypes mIPType;
5545 };
5546
5547 // Structure to describe response TLV 0x10 for WDSGetFlowControlStatus()
5548 struct sWDSGetFlowControlStatusResponse_UplinkFlowControl
5549 {
5550 INT8 mUplinkFlowControlEnabled;
5551 };
5552
5553 // Structure to describe request TLV 0x10 for DMSSetEventReport()
5554 struct sDMSSetEventReportRequest_PowerState
5555 {
5556 INT8 mReportPowerState;
5557 };
5558
5559 // Structure to describe request TLV 0x11 for DMSSetEventReport()
5560 struct sDMSSetEventReportRequest_BatteryLevel
5561 {
5562 UINT8 mBatteryLevelLowerLimit;
5563 UINT8 mBatteryLevelUpperLimit;
5564 };
5565
5566 // Structure to describe request TLV 0x12 for DMSSetEventReport()
5567 struct sDMSSetEventReportRequest_PINStatus
5568 {
5569 INT8 mReportPINStatus;
5570 };
5571
5572 // Structure to describe request TLV 0x13 for DMSSetEventReport()
5573 struct sDMSSetEventReportRequest_ActivationState
5574 {
5575 INT8 mReportActivationState;
5576 };
5577
5578 // Structure to describe request TLV 0x14 for DMSSetEventReport()
5579 struct sDMSSetEventReportRequest_OperatingMode
5580 {
5581 INT8 mReportOperatingMode;
5582 };
5583
5584 // Structure to describe request TLV 0x15 for DMSSetEventReport()
5585 struct sDMSSetEventReportRequest_UIMState
5586 {
5587 INT8 mReportUIMState;
5588 };
5589
5590 // Structure to describe request TLV 0x16 for DMSSetEventReport()
5591 struct sDMSSetEventReportRequest_WirelessDisableState
5592 {
5593 INT8 mReportWirelessDisableState;
5594 };
5595
5596 // Structure to describe request TLV 0x17 for DMSSetEventReport()
5597 struct sDMSSetEventReportRequest_PRLInit
5598 {
5599 INT8 mReportPRLInitialization;
5600 };
5601
5602 // Structure to describe indication TLV 0x10 for DMS EventReport
5603 struct sDMSEventReportIndication_PowerState
5604 {
5605 eQMIDMSPowerSources mPowerSource:1;
5606 bool mBatteryConnected:1;
5607 bool mBatteryCharging:1;
5608 bool mPowerFault:1;
5609
5610 // Padding out 4 bits
5611 UINT8 mReserved1:4;
5612
5613 UINT8 mBatteryLevel;
5614 };
5615
5616 // Structure to describe indication TLV 0x11 for DMS EventReport
5617 struct sDMSEventReportIndication_PIN1State
5618 {
5619 eQMIDMSPINStatus mPINStatus;
5620 UINT8 mRemainingVerifyRetries;
5621 UINT8 mRemainingUnblockRetries;
5622 };
5623
5624 // Structure to describe indication TLV 0x12 for DMS EventReport
5625 struct sDMSEventReportIndication_PIN2State
5626 {
5627 eQMIDMSPINStatus mPINStatus;
5628 UINT8 mRemainingVerifyRetries;
5629 UINT8 mRemainingUnblockRetries;
5630 };
5631
5632 // Structure to describe indication TLV 0x13 for DMS EventReport
5633 struct sDMSEventReportIndication_ActivationState
5634 {
5635 eQMIDMSActivationStates mActivationState;
5636 };
5637
5638 // Structure to describe indication TLV 0x14 for DMS EventReport
5639 struct sDMSEventReportIndication_OperatingMode
5640 {
5641 eQMIDMSOperatingModes mOperatingMode;
5642 };
5643
5644 // Structure to describe indication TLV 0x15 for DMS EventReport
5645 struct sDMSEventReportIndication_UIMState
5646 {
5647 eQMIDMSUIMStates mUIMState;
5648 };
5649
5650 // Structure to describe indication TLV 0x16 for DMS EventReport
5651 struct sDMSEventReportIndication_WirelessDisableState
5652 {
5653 INT8 mWirelessDisableOn;
5654 };
5655
5656 // Structure to describe indication TLV 0x17 for DMS EventReport
5657 struct sDMSEventReportIndication_PRLInit
5658 {
5659 INT8 mPRLLoaded;
5660 };
5661
5662 // Structure to describe response TLV 0x01 for DMSGetDeviceCapabilities()
5663 struct sDMSGetDeviceCapabilitiesResponse_Capabilities
5664 {
5665 UINT32 mMaxTXRatebps;
5666 UINT32 mMaxRXRatebps;
5667 eQMIDMSDataServiceCapabilities1 mDataServiceCapability;
5668 INT8 mSIMSupported;
5669 UINT8 mRadioInterfaceCount;
5670
5671 // This array must be the size specified by mRadioInterfaceCount
5672 // eQMIDMSRadioInterfaces mRadioInterface[1];
5673 };
5674
5675 // Structure to describe response TLV 0x10 for DMSGetDeviceCapabilities()
5676 struct sDMSGetDeviceCapabilitiesResponse_ServiceCapability
5677 {
5678 eQMIDMSServiceCapabilities mServiceCapability;
5679 };
5680
5681 // Structure to describe response TLV 0x11 for DMSGetDeviceCapabilities()
5682 struct sDMSGetDeviceCapabilitiesResponse_VoiceCapability
5683 {
5684 bool mGWCSFBCapable:1;
5685 bool m1xCSFBCapable:1;
5686 bool mVoLTECapable:1;
5687
5688 // Padding out 61 bits
5689 UINT8 mReserved1:5;
5690 UINT8 mReserved2[7];
5691 };
5692
5693 // Structure to describe response TLV 0x01 for DMSGetDeviceManfacturer()
5694 struct sDMSGetDeviceManfacturerResponse_Manfacturer
5695 {
5696 // String is variable length, but must be size of the container
5697 // char mDeviceManfacturer[1];
5698 };
5699
5700 // Structure to describe response TLV 0x01 for DMSGetDeviceModel()
5701 struct sDMSGetDeviceModelResponse_Model
5702 {
5703 // String is variable length, but must be size of the container
5704 // char mDeviceModelID[1];
5705 };
5706
5707 // Structure to describe response TLV 0x01 for DMSGetDeviceRevision()
5708 struct sDMSGetDeviceRevisionResponse_Revision
5709 {
5710 // String is variable length, but must be size of the container
5711 // char mDeviceRevisionID[1];
5712 };
5713
5714 // Structure to describe response TLV 0x10 for DMSGetDeviceRevision()
5715 struct sDMSGetDeviceRevisionResponse_BootCodeRevision
5716 {
5717 // String is variable length, but must be size of the container
5718 // char mBootCodeRevisionID[1];
5719 };
5720
5721 // Structure to describe response TLV 0x11 for DMSGetDeviceRevision()
5722 struct sDMSGetDeviceRevisionResponse_UQCNRevision
5723 {
5724 // String is variable length, but must be size of the container
5725 // char mBootCodeRevisionID[1];
5726 };
5727
5728 // Structure to describe response TLV 0x01 for DMSGetDeviceVoiceNumber()
5729 struct sDMSGetDeviceVoiceNumberResponse_VoiceNumber
5730 {
5731 // String is variable length, but must be size of the container
5732 // char mDeviceVoiceNumber[1];
5733 };
5734
5735 // Structure to describe response TLV 0x10 for DMSGetDeviceVoiceNumber()
5736 struct sDMSGetDeviceVoiceNumberResponse_MobileIDNumber
5737 {
5738 // String is variable length, but must be size of the container
5739 // char mDeviceMobileIDNumber[1];
5740 };
5741
5742 // Structure to describe response TLV 0x11 for DMSGetDeviceVoiceNumber()
5743 struct sDMSGetDeviceVoiceNumberResponse_IMSI
5744 {
5745 // String is variable length, but must be size of the container
5746 // char mIMSI[1];
5747 };
5748
5749 // Structure to describe response TLV 0x10 for DMSGetDeviceSerialNumbers()
5750 struct sDMSGetDeviceSerialNumbersResponse_ESN
5751 {
5752 // String is variable length, but must be size of the container
5753 // char mESN[1];
5754 };
5755
5756 // Structure to describe response TLV 0x11 for DMSGetDeviceSerialNumbers()
5757 struct sDMSGetDeviceSerialNumbersResponse_IMEI
5758 {
5759 // String is variable length, but must be size of the container
5760 // char mIMEI[1];
5761 };
5762
5763 // Structure to describe response TLV 0x12 for DMSGetDeviceSerialNumbers()
5764 struct sDMSGetDeviceSerialNumbersResponse_MEID
5765 {
5766 // String is variable length, but must be size of the container
5767 // char mMEID[1];
5768 };
5769
5770 // Structure to describe response TLV 0x01 for DMSGetPowerState()
5771 struct sDMSGetPowerStateResponse_PowerState
5772 {
5773 eQMIDMSPowerSources mPowerSource:1;
5774 bool mBatteryConnected:1;
5775 bool mBatteryCharging:1;
5776 bool mPowerFault:1;
5777
5778 // Padding out 4 bits
5779 UINT8 mReserved1:4;
5780
5781 UINT8 mBatteryLevel;
5782 };
5783
5784 // Structure to describe request TLV 0x01 for DMSUIMSetPINProtection()
5785 struct sDMSUIMSetPINProtectionRequest_Info
5786 {
5787 UINT8 mPINID;
5788 UINT8 mPINEnabled;
5789 UINT8 mPINLength;
5790
5791 // This array must be the size specified by mPINLength
5792 // char mPINValue[1];
5793 };
5794
5795 // Structure to describe response TLV 0x10 for DMSUIMSetPINProtection()
5796 struct sDMSUIMSetPINProtectionResponse_RetryInfo
5797 {
5798 UINT8 mRemainingVerifyRetries;
5799 UINT8 mRemainingUnblockRetries;
5800 };
5801
5802 // Structure to describe request TLV 0x01 for DMSUIMVerifyPIN()
5803 struct sDMSUIMVerifyPINRequest_Info
5804 {
5805 UINT8 mPINID;
5806 UINT8 mPINLength;
5807
5808 // This array must be the size specified by mPINLength
5809 // char mPINValue[1];
5810 };
5811
5812 // Structure to describe response TLV 0x10 for DMSUIMVerifyPIN()
5813 struct sDMSUIMVerifyPINResponse_RetryInfo
5814 {
5815 UINT8 mRemainingVerifyRetries;
5816 UINT8 mRemainingUnblockRetries;
5817 };
5818
5819 // Structure to describe request TLV 0x01 for DMSUIMUnblockPIN()
5820 struct sDMSUIMUnblockPINRequest_Info1
5821 {
5822 UINT8 mPINID;
5823 UINT8 mPUKLength;
5824
5825 // This array must be the size specified by mPUKLength
5826 // char mPUKValue[1];
5827 };
5828
5829 struct sDMSUIMUnblockPINRequest_Info2
5830 {
5831 UINT8 mNewPINLength;
5832
5833 // This array must be the size specified by mNewPINLength
5834 // char mNewPINValue[1];
5835 };
5836
5837 struct sDMSUIMUnblockPINRequest_Info
5838 {
5839 sDMSUIMUnblockPINRequest_Info1 mDMSUIMUnblockPINRequest_Info1;
5840 sDMSUIMUnblockPINRequest_Info2 mDMSUIMUnblockPINRequest_Info2;
5841 };
5842
5843 // Structure to describe response TLV 0x10 for DMSUIMUnblockPIN()
5844 struct sDMSUIMUnblockPINResponse_RetryInfo
5845 {
5846 UINT8 mRemainingVerifyRetries;
5847 UINT8 mRemainingUnblockRetries;
5848 };
5849
5850 // Structure to describe request TLV 0x01 for DMSUIMChangePIN()
5851 struct sDMSUIMChangePINRequest_Info1
5852 {
5853 UINT8 mPINID;
5854 UINT8 mOldPINLength;
5855
5856 // This array must be the size specified by mOldPINLength
5857 // char mOldPINValue[1];
5858 };
5859
5860 struct sDMSUIMChangePINRequest_Info2
5861 {
5862 UINT8 mNewPINLength;
5863
5864 // This array must be the size specified by mNewPINLength
5865 // char mNewPINValue[1];
5866 };
5867
5868 struct sDMSUIMChangePINRequest_Info
5869 {
5870 sDMSUIMChangePINRequest_Info1 mDMSUIMChangePINRequest_Info1;
5871 sDMSUIMChangePINRequest_Info2 mDMSUIMChangePINRequest_Info2;
5872 };
5873
5874 // Structure to describe response TLV 0x10 for DMSUIMChangePIN()
5875 struct sDMSUIMChangePINResponse_RetryInfo
5876 {
5877 UINT8 mRemainingVerifyRetries;
5878 UINT8 mRemainingUnblockRetries;
5879 };
5880
5881 // Structure to describe response TLV 0x11 for DMSUIMGetPINStatus()
5882 struct sDMSUIMGetPINStatusResponse_PIN1Status
5883 {
5884 eQMIDMSPINStatus mPINStatus;
5885 UINT8 mRemainingVerifyRetries;
5886 UINT8 mRemainingUnblockRetries;
5887 };
5888
5889 // Structure to describe response TLV 0x12 for DMSUIMGetPINStatus()
5890 struct sDMSUIMGetPINStatusResponse_PIN2Status
5891 {
5892 eQMIDMSPINStatus mPINStatus;
5893 UINT8 mRemainingVerifyRetries;
5894 UINT8 mRemainingUnblockRetries;
5895 };
5896
5897 // Structure to describe response TLV 0x01 for DMSGetHardwareRevision()
5898 struct sDMSGetHardwareRevisionResponse_HardwareRevision
5899 {
5900 // String is variable length, but must be size of the container
5901 // char mDeviceHardwareRevision[1];
5902 };
5903
5904 // Structure to describe response TLV 0x01 for DMSGetOperatingMode()
5905 struct sDMSGetOperatingModeResponse_OperatingMode
5906 {
5907 eQMIDMSOperatingModes mOperatingMode;
5908 };
5909
5910 // Structure to describe response TLV 0x10 for DMSGetOperatingMode()
5911 struct sDMSGetOperatingModeResponse_OfflineReason
5912 {
5913 UINT8 mHostImageMismatch:1;
5914 UINT8 mUQCNImageMismatch:1;
5915 UINT8 mIncompatibleUQCN:1;
5916 UINT8 mUQCNCopyIssue:1;
5917
5918 // Padding out 12 bits
5919 UINT8 mReserved1:4;
5920 UINT8 mReserved2;
5921 };
5922
5923 // Structure to describe response TLV 0x11 for DMSGetOperatingMode()
5924 struct sDMSGetOperatingModeResponse_PlatformRestricted
5925 {
5926 INT8 mPlatformRestricted;
5927 };
5928
5929 // Structure to describe request TLV 0x01 for DMSSetOperatingMode()
5930 struct sDMSSetOperatingModeRequest_OperatingMode
5931 {
5932 eQMIDMSOperatingModes mOperatingMode;
5933 };
5934
5935 // Structure to describe response TLV 0x01 for DMSGetTimestamp()
5936 struct sDMSGetTimestampResponse_Timestamp
5937 {
5938 UINT64 mTimestamp:48;
5939
5940 // mSource is of type eQMIDMSTimestampSources
5941 UINT64 mSource:16;
5942 };
5943
5944 // Structure to describe response TLV 0x01 for DMSGetPRLVersion()
5945 struct sDMSGetPRLVersionResponse_PRLVersion
5946 {
5947 UINT16 mPRLVersion;
5948 };
5949
5950 // Structure to describe response TLV 0x01 for DMSGetActivationState()
5951 struct sDMSGetActivationStateResponse_ActivationState
5952 {
5953 eQMIDMSActivationStates mActivationState;
5954 };
5955
5956 // Structure to describe request TLV 0x01 for DMSActivateAutomatic()
5957 struct sDMSActivateAutomaticRequest_ActivationCode
5958 {
5959 UINT8 mCodeLength;
5960
5961 // This array must be the size specified by mCodeLength
5962 // char mCode[1];
5963 };
5964
5965 // Structure to describe request TLV 0x01 for DMSActivateManual()
5966 struct sDMSActivateManualRequest_ActivationData1
5967 {
5968 char mSPC[6];
5969 UINT16 mSID;
5970 UINT8 mMDNLength;
5971
5972 // This array must be the size specified by mMDNLength
5973 // char mMDN[1];
5974 };
5975
5976 struct sDMSActivateManualRequest_ActivationData2
5977 {
5978 UINT8 mMINLength;
5979
5980 // This array must be the size specified by mMINLength
5981 // char mMIN[1];
5982 };
5983
5984 struct sDMSActivateManualRequest_ActivationData
5985 {
5986 sDMSActivateManualRequest_ActivationData1 mDMSActivateManualRequest_ActivationData1;
5987 sDMSActivateManualRequest_ActivationData2 mDMSActivateManualRequest_ActivationData2;
5988 };
5989
5990 // Structure to describe request TLV 0x10 for DMSActivateManual()
5991 struct sDMSActivateManualRequest_PRLObsolete
5992 {
5993 UINT16 mPRLLength;
5994
5995 // This array must be the size specified by mPRLLength
5996 // UINT8 mPRL[1];
5997 };
5998
5999 // Structure to describe request TLV 0x11 for DMSActivateManual()
6000 struct sDMSActivateManualRequest_MNHAKey
6001 {
6002 UINT8 mMNHALength;
6003
6004 // This array must be the size specified by mMNHALength
6005 // char mMNHA[1];
6006 };
6007
6008 // Structure to describe request TLV 0x12 for DMSActivateManual()
6009 struct sDMSActivateManualRequest_MNAAAKey
6010 {
6011 UINT8 mMNAAALength;
6012
6013 // This array must be the size specified by mMNAAALength
6014 // char mMNAAA[1];
6015 };
6016
6017 // Structure to describe request TLV 0x13 for DMSActivateManual()
6018 struct sDMSActivateManualRequest_PRL
6019 {
6020 UINT16 mPRLTotalLength;
6021 UINT16 mPRLSegmentLength;
6022 UINT8 mPRLSegmentID;
6023
6024 // This array must be the size specified by mPRLSegmentLength
6025 // UINT8 mPRL[1];
6026 };
6027
6028 // Structure to describe response TLV 0x01 for DMSGetLockState()
6029 struct sDMSGetLockStateResponse_LockState
6030 {
6031 eQMIDMSLockStates mLockState;
6032 };
6033
6034 // Structure to describe request TLV 0x01 for DMSSetLockState()
6035 struct sDMSSetLockStateRequest_LockState
6036 {
6037 eQMIDMSLockStates mLockState;
6038 char mLockCode[4];
6039 };
6040
6041 // Structure to describe request TLV 0x01 for DMSSetLockCode()
6042 struct sDMSSetLockCodeRequest_LockCode
6043 {
6044 char mCurrentLockCode[4];
6045 char mNewLockCode[4];
6046 };
6047
6048 // Structure to describe response TLV 0x01 for DMSReadUserData()
6049 struct sDMSReadUserDataResponse_UserData
6050 {
6051 UINT16 mDataLength;
6052
6053 // This array must be the size specified by mDataLength
6054 // UINT8 mData[1];
6055 };
6056
6057 // Structure to describe request TLV 0x01 for DMSWriteUserData()
6058 struct sDMSWriteUserDataRequest_UserData
6059 {
6060 UINT16 mDataLength;
6061
6062 // This array must be the size specified by mDataLength
6063 // UINT8 mData[1];
6064 };
6065
6066 // Structure to describe response TLV 0x01 for DMSReadERIData()
6067 struct sDMSReadERIDataResponse_UserData
6068 {
6069 UINT16 mDataLength;
6070
6071 // This array must be the size specified by mDataLength
6072 // UINT8 mData[1];
6073 };
6074
6075 // Structure to describe request TLV 0x01 for DMSResetFactoryDefaults()
6076 struct sDMSResetFactoryDefaultsRequest_SPC
6077 {
6078 char mSPC[6];
6079 };
6080
6081 // Structure to describe request TLV 0x01 for DMSValidateSPC()
6082 struct sDMSValidateSPCRequest_SPC
6083 {
6084 char mSPC[6];
6085 };
6086
6087 // Structure to describe response TLV 0x01 for DMSUIMGetICCID()
6088 struct sDMSUIMGetICCIDResponse_ICCID
6089 {
6090 // String is variable length, but must be size of the container
6091 // char mICCID[1];
6092 };
6093
6094 // Structure to describe response TLV 0x01 for DMSUIMGetHostLockID()
6095 struct sDMSUIMGetHostLockIDResponse_ID
6096 {
6097 UINT32 mHostLockCode;
6098 };
6099
6100 // Structure to describe request TLV 0x01 for DMSUIMGetControlKeyStatus()
6101 struct sDMSUIMGetControlKeyStatusRequest_Facility
6102 {
6103 eQMIDMSUIMFacility mFacility;
6104 };
6105
6106 // Structure to describe response TLV 0x01 for DMSUIMGetControlKeyStatus()
6107 struct sDMSUIMGetControlKeyStatusResponse_Status
6108 {
6109 eQMIDMSUIMFacilityStates mFacilityState;
6110 UINT8 mRemainingVerifyRetries;
6111 UINT8 mRemainingUnblockRetries;
6112 };
6113
6114 // Structure to describe response TLV 0x10 for DMSUIMGetControlKeyStatus()
6115 struct sDMSUIMGetControlKeyStatusResponse_Blocking
6116 {
6117 INT8 mOperationBlocking;
6118 };
6119
6120 // Structure to describe request TLV 0x01 for DMSUIMSetControlKeyProtection()
6121 struct sDMSUIMSetControlKeyProtectionRequest_Facility
6122 {
6123 eQMIDMSUIMFacility mFacility;
6124 eQMIDMSUIMFacilityStates mFacilityState;
6125 UINT8 mControlKeyLength;
6126
6127 // This array must be the size specified by mControlKeyLength
6128 // char mControlKey[1];
6129 };
6130
6131 // Structure to describe response TLV 0x10 for DMSUIMSetControlKeyProtection()
6132 struct sDMSUIMSetControlKeyProtectionResponse_Status
6133 {
6134 UINT8 mRemainingVerifyRetries;
6135 };
6136
6137 // Structure to describe request TLV 0x01 for DMSUIMUnblockControlKey()
6138 struct sDMSUIMUnblockControlKeyRequest_Facility
6139 {
6140 eQMIDMSUIMFacility mFacility;
6141 UINT8 mControlKeyLength;
6142
6143 // This array must be the size specified by mControlKeyLength
6144 // char mControlKey[1];
6145 };
6146
6147 // Structure to describe response TLV 0x10 for DMSUIMUnblockControlKey()
6148 struct sDMSUIMUnblockControlKeyResponse_Status
6149 {
6150 UINT8 mRemainingUnblockRetries;
6151 };
6152
6153 // Structure to describe response TLV 0x01 for DMSGetIMSI()
6154 struct sDMSGetIMSIResponse_IMSI
6155 {
6156 // String is variable length, but must be size of the container
6157 // char mIMSI[1];
6158 };
6159
6160 // Structure to describe response TLV 0x01 for DMSGetUIMState()
6161 struct sDMSGetUIMStateResponse_State
6162 {
6163 eQMIDMSUIMStates mUIMState;
6164 };
6165
6166 // Structure to describe response TLV 0x01 for DMSGetBandCapabilities()
6167 struct sDMSGetBandCapabilitiesResponse_Bands
6168 {
6169 bool mBandClass0ASystem:1;
6170 bool mBandClass0BSystem:1;
6171 bool mBandClass1:1;
6172 bool mBandClass2:1;
6173 bool mBandClass3ASystem:1;
6174 bool mBandClass4:1;
6175 bool mBandClass5:1;
6176 bool mGSMDCS:1;
6177 bool mGSMPrimary:1;
6178 bool mGSMExtended:1;
6179 bool mBandClass6:1;
6180 bool mBandClass7:1;
6181 bool mBandClass8:1;
6182 bool mBandClass9:1;
6183 bool mBandClass10:1;
6184 bool mBandClass11:1;
6185 bool mGSM450:1;
6186 bool mGSM480:1;
6187 bool mGSM750:1;
6188 bool mGSM850:1;
6189 bool mGSMRailways:1;
6190 bool mGSMPCS:1;
6191 bool mWCDMA2100I:1;
6192 bool mWCDMAPCS1900:1;
6193 bool mWCDMADCS1800:1;
6194 bool mWCDMA1700US:1;
6195 bool mWCDMA850:1;
6196 bool mWCDMA800:1;
6197 bool mBandClass12:1;
6198 bool mBandClass14:1;
6199
6200 // Padding out 1 bits
6201 UINT8 mReserved1:1;
6202
6203 bool mBandClass15:1;
6204
6205 // Padding out 16 bits
6206 UINT8 mReserved2[2];
6207
6208 bool mWCDMA2600:1;
6209 bool mWCDMA900:1;
6210 bool mWCDMA1700Japan:1;
6211
6212 // Padding out 5 bits
6213 UINT8 mReserved3:5;
6214
6215 bool mBandClass16:1;
6216 bool mBandClass17:1;
6217 bool mBandClass18:1;
6218 bool mBandClass19:1;
6219
6220 // Padding out 4 bits
6221 UINT8 mReserved4:4;
6222 };
6223
6224 // Structure to describe response TLV 0x10 for DMSGetBandCapabilities()
6225 struct sDMSGetBandCapabilitiesResponse_LTEBands
6226 {
6227 bool mEUTRANBand1:1;
6228 bool mEUTRANBand2:1;
6229 bool mEUTRANBand3:1;
6230 bool mEUTRANBand4:1;
6231 bool mEUTRANBand5:1;
6232 bool mEUTRANBand6:1;
6233 bool mEUTRANBand7:1;
6234 bool mEUTRANBand8:1;
6235 bool mEUTRANBand9:1;
6236 bool mEUTRANBand10:1;
6237 bool mEUTRANBand11:1;
6238 bool mEUTRANBand12:1;
6239 bool mEUTRANBand13:1;
6240 bool mEUTRANBand14:1;
6241
6242 // Padding out 2 bits
6243 UINT8 mReserved1:2;
6244
6245 bool mEUTRANBand17:1;
6246 bool mEUTRANBand18:1;
6247 bool mEUTRANBand19:1;
6248 bool mEUTRANBand20:1;
6249 bool mEUTRANBand21:1;
6250
6251 // Padding out 2 bits
6252 UINT8 mReserved2:2;
6253
6254 bool mEUTRANBand24:1;
6255 bool mEUTRANBand25:1;
6256
6257 // Padding out 7 bits
6258 UINT8 mReserved3:7;
6259
6260 bool mEUTRANBand33:1;
6261 bool mEUTRANBand34:1;
6262 bool mEUTRANBand35:1;
6263 bool mEUTRANBand36:1;
6264 bool mEUTRANBand37:1;
6265 bool mEUTRANBand38:1;
6266 bool mEUTRANBand39:1;
6267 bool mEUTRANBand40:1;
6268 bool mEUTRANBand41:1;
6269
6270 // Padding out 23 bits
6271 UINT8 mReserved4:7;
6272 UINT8 mReserved5[2];
6273 };
6274
6275 // Structure to describe response TLV 0x11 for DMSGetBandCapabilities()
6276 struct sDMSGetBandCapabilitiesResponse_TDSBands
6277 {
6278 bool mTDSBandA:1;
6279 bool mTDSBandB:1;
6280 bool mTDSBandC:1;
6281 bool mTDSBandD:1;
6282 bool mTDSBandE:1;
6283 bool mTDSBandF:1;
6284
6285 // Padding out 58 bits
6286 UINT8 mReserved1:2;
6287 UINT8 mReserved2[7];
6288 };
6289
6290 // Structure to describe response TLV 0x01 for DMSGetFactorySerialNumber()
6291 struct sDMSGetFactorySerialNumberResponse_ID
6292 {
6293 // String is variable length, but must be size of the container
6294 // char mFactorySerialNumber[1];
6295 };
6296
6297 // Structure to describe request TLV 0x01 for DMSSetDeviceTime()
6298 struct sDMSSetDeviceTimeRequest_Time
6299 {
6300 UINT64 mTimeInMilliseconds;
6301 };
6302
6303 // Structure to describe request TLV 0x10 for DMSSetDeviceTime()
6304 struct sDMSSetDeviceTimeRequest_Type
6305 {
6306 eQMIDMSTimeReferences mTimeReference;
6307 };
6308
6309 // Structure to describe response TLV 0x01 for DMSGetSoftwareVersion()
6310 struct sDMSGetSoftwareVersionResponse_Version
6311 {
6312 // String is variable length, but must be size of the container
6313 // char mSoftwareVersion[1];
6314 };
6315
6316 // Structure to describe request TLV 0x01 for DMSSetSPC()
6317 struct sDMSSetSPCRequest_CurrentSPC
6318 {
6319 char mCurrentSPC[6];
6320 };
6321
6322 // Structure to describe response TLV 0x10 for DMSGetCurrentPRLInfo()
6323 struct sDMSGetCurrentPRLInfoResponse_Version
6324 {
6325 UINT16 mPRLVersion;
6326 };
6327
6328 // Structure to describe response TLV 0x11 for DMSGetCurrentPRLInfo()
6329 struct sDMSGetCurrentPRLInfoResponse_Preference
6330 {
6331 INT8 mPRLOnlyPreferenceSet;
6332 };
6333
6334 // Structure to describe request TLV 0x01 for NASAbort()
6335 struct sNASAbortRequest_TransactionID
6336 {
6337 UINT16 mTransactionID;
6338 };
6339
6340 // Structure to describe request TLV 0x10 for NASSetEventReport()
6341 struct sNASSetEventReportRequest_SignalIndicator
6342 {
6343 INT8 mReportSignalStrength;
6344 UINT8 mNumberOfThresholds;
6345
6346 // This array must be the size specified by mNumberOfThresholds
6347 // INT8 mSignalStrengthThresholddBm[1];
6348 };
6349
6350 // Structure to describe request TLV 0x11 for NASSetEventReport()
6351 struct sNASSetEventReportRequest_RFIndicator
6352 {
6353 INT8 mReportRFInfo;
6354 };
6355
6356 // Structure to describe request TLV 0x12 for NASSetEventReport()
6357 struct sNASSetEventReportRequest_RegistrationRejectIndicator
6358 {
6359 INT8 mReportLUReject;
6360 };
6361
6362 // Structure to describe request TLV 0x13 for NASSetEventReport()
6363 struct sNASSetEventReportRequest_RSSIIndicator
6364 {
6365 INT8 mReportRSSI;
6366 UINT8 mRSSIDelta;
6367 };
6368
6369 // Structure to describe request TLV 0x14 for NASSetEventReport()
6370 struct sNASSetEventReportRequest_ECIOIndicator
6371 {
6372 INT8 mReportECIO;
6373 UINT8 mECIODelta;
6374 };
6375
6376 // Structure to describe request TLV 0x15 for NASSetEventReport()
6377 struct sNASSetEventReportRequest_IOIndicator
6378 {
6379 INT8 mReportIO;
6380 UINT8 mIODelta;
6381 };
6382
6383 // Structure to describe request TLV 0x16 for NASSetEventReport()
6384 struct sNASSetEventReportRequest_SINRIndicator
6385 {
6386 INT8 mReportSINR;
6387 UINT8 mSINRDelta;
6388 };
6389
6390 // Structure to describe request TLV 0x17 for NASSetEventReport()
6391 struct sNASSetEventReportRequest_ErrorRateIndicator
6392 {
6393 INT8 mReportErrorRate;
6394 };
6395
6396 // Structure to describe request TLV 0x18 for NASSetEventReport()
6397 struct sNASSetEventReportRequest_RSRQIndicator
6398 {
6399 INT8 mReportRSRQ;
6400 UINT8 mRSRQDelta;
6401 };
6402
6403 // Structure to describe request TLV 0x19 for NASSetEventReport()
6404 struct sNASSetEventReportRequest_ECIOThreshold
6405 {
6406 INT8 mReportECIO;
6407 UINT8 mThresholdCount;
6408
6409 // This array must be the size specified by mThresholdCount
6410 // INT16 mThreshold[1];
6411 };
6412
6413 // Structure to describe request TLV 0x1A for NASSetEventReport()
6414 struct sNASSetEventReportRequest_SINRThreshold
6415 {
6416 INT8 mReportSINR;
6417 UINT8 mThresholdCount;
6418
6419 // This array must be the size specified by mThresholdCount
6420 // UINT8 mThreshold[1];
6421 };
6422
6423 // Structure to describe request TLV 0x1B for NASSetEventReport()
6424 struct sNASSetEventReportRequest_LTESNRDelta
6425 {
6426 INT8 mReportLTESNR;
6427 UINT16 mLTESNRDelta;
6428 };
6429
6430 // Structure to describe request TLV 0x1C for NASSetEventReport()
6431 struct sNASSetEventReportRequest_LTERSPSDelta
6432 {
6433 INT8 mReportLTERSRP;
6434 UINT8 mLTERSRPDelta;
6435 };
6436
6437 // Structure to describe indication TLV 0x10 for NAS EventReport
6438 struct sNASEventReportIndication_SignalStrength
6439 {
6440 INT8 mSignalStrengthdBm;
6441 eQMINASRadioInterfaces mRadioInterface;
6442 };
6443
6444 // Structure to describe indication TLV 0x11 for NAS EventReport
6445 struct sNASEventReportIndication_RFInfo
6446 {
6447 UINT8 mNumberOfInstances;
6448
6449 struct sInstance
6450 {
6451 eQMINASRadioInterfaces mRadioInterface;
6452 eQMINASBandClasses mActiveBandClass;
6453 UINT16 mActiveChannel;
6454 };
6455
6456 // This array must be the size specified by mNumberOfInstances
6457 // sInstance mInstances[1];
6458 };
6459
6460 // Structure to describe indication TLV 0x12 for NAS EventReport
6461 struct sNASEventReportIndication_RegistrationReject
6462 {
6463 eQMINASServiceDomains mServiceDomain;
6464 UINT16 mRejectCause;
6465 };
6466
6467 // Structure to describe indication TLV 0x13 for NAS EventReport
6468 struct sNASEventReportIndication_RSSI
6469 {
6470 UINT8 mRSSIDelta;
6471 eQMINASRadioInterfaces mRadioInterface;
6472 };
6473
6474 // Structure to describe indication TLV 0x14 for NAS EventReport
6475 struct sNASEventReportIndication_ECIO
6476 {
6477 UINT8 mECIO;
6478 eQMINASRadioInterfaces mRadioInterface;
6479 };
6480
6481 // Structure to describe indication TLV 0x15 for NAS EventReport
6482 struct sNASEventReportIndication_IO
6483 {
6484 UINT32 mIO;
6485 };
6486
6487 // Structure to describe indication TLV 0x16 for NAS EventReport
6488 struct sNASEventReportIndication_SINR
6489 {
6490 eQMINASSINRLevels mSINR;
6491 };
6492
6493 // Structure to describe indication TLV 0x17 for NAS EventReport
6494 struct sNASEventReportIndication_ErrorRate
6495 {
6496 UINT16 mErrorRate;
6497 eQMINASRadioInterfaces mRadioInterface;
6498 };
6499
6500 // Structure to describe indication TLV 0x18 for NAS EventReport
6501 struct sNASEventReportIndication_RSRQ
6502 {
6503 INT8 mRSRQ;
6504 eQMINASRadioInterfaces mRadioInterface;
6505 };
6506
6507 // Structure to describe indication TLV 0x19 for NAS EventReport
6508 struct sNASEventReportIndication_LTESNR
6509 {
6510 INT16 mLTESNR;
6511 };
6512
6513 // Structure to describe indication TLV 0x1A for NAS EventReport
6514 struct sNASEventReportIndication_LTERSRP
6515 {
6516 INT16 mLTERSRP;
6517 };
6518
6519 // Structure to describe request TLV 0x10 for NASSetRegistrationEventReport()
6520 struct sNASSetRegistrationEventReportRequest_SystemSelectIndicator
6521 {
6522 INT8 mReportSystemSelect;
6523 };
6524
6525 // Structure to describe request TLV 0x12 for NASSetRegistrationEventReport()
6526 struct sNASSetRegistrationEventReportRequest_DDTMIndicator
6527 {
6528 INT8 mReportDDTM;
6529 };
6530
6531 // Structure to describe request TLV 0x13 for NASSetRegistrationEventReport()
6532 struct sNASSetRegistrationEventReportRequest_ServingSystemIndicator
6533 {
6534 INT8 mReportServingSystem;
6535 };
6536
6537 // Structure to describe request TLV 0x14 for NASSetRegistrationEventReport()
6538 struct sNASSetRegistrationEventReportRequest_DualStandbyIndicator
6539 {
6540 INT8 mReportDualStandby;
6541 };
6542
6543 // Structure to describe request TLV 0x15 for NASSetRegistrationEventReport()
6544 struct sNASSetRegistrationEventReportRequest_SubscriptionInformationIndicator
6545 {
6546 INT8 mReportSubscriptionInformation;
6547 };
6548
6549 // Structure to describe request TLV 0x17 for NASSetRegistrationEventReport()
6550 struct sNASSetRegistrationEventReportRequest_NetworkTimeIndicator
6551 {
6552 INT8 mReportNetworkTime;
6553 };
6554
6555 // Structure to describe request TLV 0x18 for NASSetRegistrationEventReport()
6556 struct sNASSetRegistrationEventReportRequest_SystemInformationIndicator
6557 {
6558 INT8 mReportSystemInformation;
6559 };
6560
6561 // Structure to describe request TLV 0x19 for NASSetRegistrationEventReport()
6562 struct sNASSetRegistrationEventReportRequest_SignalStrengthIndicator
6563 {
6564 INT8 mReportSignalStrength;
6565 };
6566
6567 // Structure to describe request TLV 0x1A for NASSetRegistrationEventReport()
6568 struct sNASSetRegistrationEventReportRequest_ErrorRateIndicator
6569 {
6570 INT8 mReportErrorRate;
6571 };
6572
6573 // Structure to describe request TLV 0x1B for NASSetRegistrationEventReport()
6574 struct sNASSetRegistrationEventReportRequest_NewEVDOUATIIndicator
6575 {
6576 INT8 mReportNewEVDOUATI;
6577 };
6578
6579 // Structure to describe request TLV 0x1C for NASSetRegistrationEventReport()
6580 struct sNASSetRegistrationEventReportRequest_EVDOSessionIndicator
6581 {
6582 INT8 mReportEVDOSessionClose;
6583 };
6584
6585 // Structure to describe request TLV 0x1D for NASSetRegistrationEventReport()
6586 struct sNASSetRegistrationEventReportRequest_ManagedRoamingIndicator
6587 {
6588 INT8 mReportManagedRoaming;
6589 };
6590
6591 // Structure to describe request TLV 0x1E for NASSetRegistrationEventReport()
6592 struct sNASSetRegistrationEventReportRequest_CurrentPLMNName
6593 {
6594 INT8 mReportCurrentPLMNName;
6595 };
6596
6597 // Structure to describe request TLV 0x1F for NASSetRegistrationEventReport()
6598 struct sNASSetRegistrationEventReportRequest_EMBMSStatus
6599 {
6600 INT8 mReportEMBMSStatus;
6601 };
6602
6603 // Structure to describe request TLV 0x20 for NASSetRegistrationEventReport()
6604 struct sNASSetRegistrationEventReportRequest_RFBandInfo
6605 {
6606 INT8 mReportRFBandInfo;
6607 };
6608
6609 // Structure to describe request TLV 0x21 for NASSetRegistrationEventReport()
6610 struct sNASSetRegistrationEventReportRequest_NetworkReject
6611 {
6612 INT8 mNetworkRejectEnabled;
6613 INT8 mSupressSytemInfoEnabled;
6614 };
6615
6616 // Structure to describe request TLV 0x22 for NASSetRegistrationEventReport()
6617 struct sNASSetRegistrationEventReportRequest_OperatorNameData
6618 {
6619 INT8 mOperatorNameDataEnabled;
6620 };
6621
6622 // Structure to describe request TLV 0x23 for NASSetRegistrationEventReport()
6623 struct sNASSetRegistrationEventReportRequest_CSPPLMNModeBit
6624 {
6625 INT8 mCSPPLMNModeBitEnabled;
6626 };
6627
6628 // Structure to describe request TLV 0x24 for NASSetRegistrationEventReport()
6629 struct sNASSetRegistrationEventReportRequest_RTREConfiguration
6630 {
6631 INT8 mRTREConfigurationEnabled;
6632 };
6633
6634 // Structure to describe request TLV 0x10 for NASGetSignalStrength()
6635 struct sNASGetSignalStrengthRequest_RequestMask
6636 {
6637 bool mQueryRSSI:1;
6638 bool mQueryECIO:1;
6639 bool mQueryIO:1;
6640 bool mQuerySINR:1;
6641 bool mQueryErrorRate:1;
6642 bool mQueryRSRQ:1;
6643 bool mQueryLTESNR:1;
6644 bool mQueryLTERSRQ:1;
6645
6646 // Padding out 8 bits
6647 UINT8 mReserved1;
6648 };
6649
6650 // Structure to describe response TLV 0x01 for NASGetSignalStrength()
6651 struct sNASGetSignalStrengthResponse_SignalStrength
6652 {
6653 INT8 mSignalStrengthdBm;
6654 eQMINASRadioInterfaces mRadioInterface;
6655 };
6656
6657 // Structure to describe response TLV 0x10 for NASGetSignalStrength()
6658 struct sNASGetSignalStrengthResponse_SignalStrengthList
6659 {
6660 UINT16 mNumberOfInfoInstances;
6661
6662 struct sInfo
6663 {
6664 INT8 mSignalStrengthdBm;
6665 eQMINASRadioInterfaces mRadioInterface;
6666 };
6667
6668 // This array must be the size specified by mNumberOfInfoInstances
6669 // sInfo mInfos[1];
6670 };
6671
6672 // Structure to describe response TLV 0x11 for NASGetSignalStrength()
6673 struct sNASGetSignalStrengthResponse_RSSIList
6674 {
6675 UINT16 mNumberOfMeasurements;
6676
6677 struct sMeasurement
6678 {
6679 UINT8 mRSSIDelta;
6680 eQMINASRadioInterfaces mRadioInterface;
6681 };
6682
6683 // This array must be the size specified by mNumberOfMeasurements
6684 // sMeasurement mMeasurements[1];
6685 };
6686
6687 // Structure to describe response TLV 0x12 for NASGetSignalStrength()
6688 struct sNASGetSignalStrengthResponse_ECIOList
6689 {
6690 UINT16 mNumberOfMeasurements;
6691
6692 struct sMeasurement
6693 {
6694 UINT8 mECIO;
6695 eQMINASRadioInterfaces mRadioInterface;
6696 };
6697
6698 // This array must be the size specified by mNumberOfMeasurements
6699 // sMeasurement mMeasurements[1];
6700 };
6701
6702 // Structure to describe response TLV 0x13 for NASGetSignalStrength()
6703 struct sNASGetSignalStrengthResponse_IO
6704 {
6705 UINT32 mIO;
6706 };
6707
6708 // Structure to describe response TLV 0x14 for NASGetSignalStrength()
6709 struct sNASGetSignalStrengthResponse_SINR
6710 {
6711 eQMINASSINRLevels mSINR;
6712 };
6713
6714 // Structure to describe response TLV 0x15 for NASGetSignalStrength()
6715 struct sNASGetSignalStrengthResponse_ErrorRateList
6716 {
6717 UINT16 mNumberOfMeasurements;
6718
6719 struct sMeasurement
6720 {
6721 UINT16 mErrorRate;
6722 eQMINASRadioInterfaces mRadioInterface;
6723 };
6724
6725 // This array must be the size specified by mNumberOfMeasurements
6726 // sMeasurement mMeasurements[1];
6727 };
6728
6729 // Structure to describe response TLV 0x16 for NASGetSignalStrength()
6730 struct sNASGetSignalStrengthResponse_RSRQ
6731 {
6732 INT8 mRSRQ;
6733 eQMINASRadioInterfaces mRadioInterface;
6734 };
6735
6736 // Structure to describe response TLV 0x17 for NASGetSignalStrength()
6737 struct sNASGetSignalStrengthResponse_LTESNR
6738 {
6739 INT16 mLTESNR;
6740 };
6741
6742 // Structure to describe response TLV 0x18 for NASGetSignalStrength()
6743 struct sNASGetSignalStrengthResponse_LTERSRQ
6744 {
6745 INT16 mLTERSRP;
6746 };
6747
6748 // Structure to describe request TLV 0x10 for NASPerformNetworkScan()
6749 struct sNASPerformNetworkScanRequest_NetworkMask
6750 {
6751 bool mGSM:1;
6752 bool mUMTS:1;
6753 bool mLTE:1;
6754 bool mTDSCDMA:1;
6755
6756 // Padding out 4 bits
6757 UINT8 mReserved1:4;
6758 };
6759
6760 // Structure to describe response TLV 0x10 for NASPerformNetworkScan()
6761 struct sNASPerformNetworkScanResponse_NetworkInfo
6762 {
6763 UINT16 mNumberOfInfoInstances;
6764
6765 struct sNetworkInfo
6766 {
6767 UINT16 mMobileCountryCode;
6768 UINT16 mMobileNetworkCode;
6769 eQMINASInUseStates mInUseStatus:2;
6770 eQMINASRoamingStates mRoamingStatus:2;
6771 eQMINASForbiddenStates mForbiddenStatus:2;
6772 eQMINASPreferredStates mPreferredStatus:2;
6773 UINT8 mDescriptionLength;
6774
6775 // This array must be the size specified by mDescriptionLength
6776 // char mDescription[1];
6777 };
6778
6779 // This array must be the size specified by mNumberOfInfoInstances
6780 // sNetworkInfo mNetworkInfos[1];
6781 };
6782
6783 // Structure to describe response TLV 0x11 for NASPerformNetworkScan()
6784 struct sNASPerformNetworkScanResponse_NetworkRAT
6785 {
6786 UINT16 mNumberOfInfoInstances;
6787
6788 struct sInfo
6789 {
6790 UINT16 mMobileCountryCode;
6791 UINT16 mMobileNetworkCode;
6792 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
6793 };
6794
6795 // This array must be the size specified by mNumberOfInfoInstances
6796 // sInfo mInfos[1];
6797 };
6798
6799 // Structure to describe response TLV 0x12 for NASPerformNetworkScan()
6800 struct sNASPerformNetworkScanResponse_PCSInfo
6801 {
6802 UINT16 mPCSInfoCount;
6803
6804 struct sPCSInfo
6805 {
6806 UINT16 mMobileCountryCode;
6807 UINT16 mMobileNetworkCode;
6808 INT8 mMNCIncludesPCSDigit;
6809 };
6810
6811 // This array must be the size specified by mPCSInfoCount
6812 // sPCSInfo mPCSInfos[1];
6813 };
6814
6815 // Structure to describe request TLV 0x01 for NASInitiateNetworkRegister()
6816 struct sNASInitiateNetworkRegisterRequest_Action
6817 {
6818 eQMINASRegisterActions mRegisterAction;
6819 };
6820
6821 // Structure to describe request TLV 0x10 for NASInitiateNetworkRegister()
6822 struct sNASInitiateNetworkRegisterRequest_ManualInfo
6823 {
6824 UINT16 mMobileCountryCode;
6825 UINT16 mMobileNetworkCode;
6826 eQMINASRadioAccessTechnologies mRadioAccessTechnology;
6827 };
6828
6829 // Structure to describe request TLV 0x11 for NASInitiateNetworkRegister()
6830 struct sNASInitiateNetworkRegisterRequest_ChangeDuration
6831 {
6832 eQMINASChangeDuration mChangeDuration;
6833 };
6834
6835 // Structure to describe request TLV 0x12 for NASInitiateNetworkRegister()
6836 struct sNASInitiateNetworkRegisterRequest_PCSInfo
6837 {
6838 INT8 mMNCIncludesPCSDigit;
6839 };
6840
6841 // Structure to describe request TLV 0x10 for NASInitiateAttach()
6842 struct sNASInitiateAttachRequest_Action
6843 {
6844 eQMINASPSAttachActions mPSAttachAction;
6845 };
6846
6847 // Structure to describe response TLV 0x01 for NASGetServingSystem()
6848 struct sNASGetServingSystemResponse_ServingSystem
6849 {
6850 eQMINASRegistrationStates mRegistrationState;
6851 eQMINASCSPSAttachStates mCSAttachState;
6852 eQMINASCSPSAttachStates mPSAttachState;
6853 eQMINASRegisteredNetworks mRegisteredNetwork;
6854 UINT8 mNumberOfRadioInterfacesInUse;
6855
6856 // This array must be the size specified by mNumberOfRadioInterfacesInUse
6857 // eQMINASRadioInterfaces mRadioInterface[1];
6858 };
6859
6860 // Structure to describe response TLV 0x10 for NASGetServingSystem()
6861 struct sNASGetServingSystemResponse_RoamingIndicator
6862 {
6863 eQMINASRoamingIndicators mRoamingIndicator;
6864 };
6865
6866 // Structure to describe response TLV 0x11 for NASGetServingSystem()
6867 struct sNASGetServingSystemResponse_DataServices
6868 {
6869 UINT8 mNumberOfDataCapabilities;
6870
6871 // This array must be the size specified by mNumberOfDataCapabilities
6872 // eQMINASDataServiceCapabilities2 mDataCapability[1];
6873 };
6874
6875 // Structure to describe response TLV 0x12 for NASGetServingSystem()
6876 struct sNASGetServingSystemResponse_CurrentPLMN
6877 {
6878 UINT16 mMobileCountryCode;
6879 UINT16 mMobileNetworkCode;
6880 UINT8 mDescriptionLength;
6881
6882 // This array must be the size specified by mDescriptionLength
6883 // char mDescription[1];
6884 };
6885
6886 // Structure to describe response TLV 0x13 for NASGetServingSystem()
6887 struct sNASGetServingSystemResponse_SystemID
6888 {
6889 UINT16 mSystemID;
6890 UINT16 mNetworkID;
6891 };
6892
6893 // Structure to describe response TLV 0x14 for NASGetServingSystem()
6894 struct sNASGetServingSystemResponse_BaseStation
6895 {
6896 UINT16 mBaseStationID;
6897 INT32 mLatitude;
6898 INT32 mLongitude;
6899 };
6900
6901 // Structure to describe response TLV 0x15 for NASGetServingSystem()
6902 struct sNASGetServingSystemResponse_RoamingList
6903 {
6904 UINT8 mNumberOfInstances;
6905
6906 struct sInstance
6907 {
6908 eQMINASRadioInterfaces mRadioInterface;
6909 eQMINASRoamingIndicators mRoamingIndicator;
6910 };
6911
6912 // This array must be the size specified by mNumberOfInstances
6913 // sInstance mInstances[1];
6914 };
6915
6916 // Structure to describe response TLV 0x16 for NASGetServingSystem()
6917 struct sNASGetServingSystemResponse_DefaultRoaming
6918 {
6919 eQMINASRoamingIndicators mRoamingIndicator;
6920 };
6921
6922 // Structure to describe response TLV 0x17 for NASGetServingSystem()
6923 struct sNASGetServingSystemResponse_3GPP2TimeZone
6924 {
6925 UINT8 mLeapSeconds;
6926 INT8 mLocalTimeOffset;
6927 INT8 mDaylightSavingsInEffect;
6928 };
6929
6930 // Structure to describe response TLV 0x18 for NASGetServingSystem()
6931 struct sNASGetServingSystemResponse_ProtocolRevision
6932 {
6933 eQMINASRevision mProtocolRevision;
6934 };
6935
6936 // Structure to describe response TLV 0x1A for NASGetServingSystem()
6937 struct sNASGetServingSystemResponse_3GPPTimeZone
6938 {
6939 INT8 m3GPPTimeZone;
6940 };
6941
6942 // Structure to describe response TLV 0x1B for NASGetServingSystem()
6943 struct sNASGetServingSystemResponse_3GPPDaylightSavingsAdjustment
6944 {
6945 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
6946 };
6947
6948 // Structure to describe response TLV 0x1C for NASGetServingSystem()
6949 struct sNASGetServingSystemResponse_3GPPLocationAreaCode
6950 {
6951 UINT16 mLocationAreaCode;
6952 };
6953
6954 // Structure to describe response TLV 0x1D for NASGetServingSystem()
6955 struct sNASGetServingSystemResponse_3GPPCellID
6956 {
6957 UINT32 mCellID;
6958 };
6959
6960 // Structure to describe response TLV 0x1E for NASGetServingSystem()
6961 struct sNASGetServingSystemResponse_3GPP2ConcurrentService
6962 {
6963 eQMINASConcurrentService mConcurrentService;
6964 };
6965
6966 // Structure to describe response TLV 0x1F for NASGetServingSystem()
6967 struct sNASGetServingSystemResponse_3GPP2PRLIndicator
6968 {
6969 eQMINASPRLIndicator mPRLIndicator;
6970 };
6971
6972 // Structure to describe response TLV 0x20 for NASGetServingSystem()
6973 struct sNASGetServingSystemResponse_DualTransferModeIndication
6974 {
6975 eQMINASDualTransferMode mDualTransferMode;
6976 };
6977
6978 // Structure to describe response TLV 0x21 for NASGetServingSystem()
6979 struct sNASGetServingSystemResponse_DetailedServiceInformation
6980 {
6981 eQMINASServiceStatus mServiceStatus;
6982 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
6983 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
6984 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
6985 eQMINASSystemForbidden mSystemForbidden;
6986 };
6987
6988 // Structure to describe response TLV 0x22 for NASGetServingSystem()
6989 struct sNASGetServingSystemResponse_CDMASystemInformation
6990 {
6991 UINT16 mMobileCountryCode;
6992 UINT8 mIMSI_11_12;
6993 };
6994
6995 // Structure to describe response TLV 0x23 for NASGetServingSystem()
6996 struct sNASGetServingSystemResponse_CDMA1xEVDOPersonality
6997 {
6998 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
6999 };
7000
7001 // Structure to describe response TLV 0x24 for NASGetServingSystem()
7002 struct sNASGetServingSystemResponse_TrackingAreaCode
7003 {
7004 UINT16 mTrackingAreaCode;
7005 };
7006
7007 // Structure to describe response TLV 0x25 for NASGetServingSystem()
7008 struct sNASGetServingSystemResponse_CallBarring
7009 {
7010 eQMINASCallBarringStatus mCSCallBarringStatus;
7011 eQMINASCallBarringStatus mPSCallBarringStatus;
7012 };
7013
7014 // Structure to describe response TLV 0x26 for NASGetServingSystem()
7015 struct sNASGetServingSystemResponse_UMTSPSC
7016 {
7017 UINT16 mPrimaryScramblingCode;
7018 };
7019
7020 // Structure to describe response TLV 0x27 for NASGetServingSystem()
7021 struct sNASGetServingSystemResponse_PCSInfo
7022 {
7023 UINT16 mMobileCountryCode;
7024 UINT16 mMobileNetworkCode;
7025 INT8 mMNCIncludesPCSDigit;
7026 };
7027
7028 // Structure to describe response TLV 0x28 for NASGetServingSystem()
7029 struct sNASGetServingSystemResponse_HSCallStatus
7030 {
7031 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
7032 };
7033
7034 // Structure to describe indication TLV 0x01 for NAS ServingSystemIndication
7035 struct sNASServingSystemIndication_ServingSystem
7036 {
7037 eQMINASRegistrationStates mRegistrationState;
7038 eQMINASCSPSAttachStates mCSAttachState;
7039 eQMINASCSPSAttachStates mPSAttachState;
7040 eQMINASRegisteredNetworks mRegisteredNetwork;
7041 UINT8 mNumberOfRadioInterfacesInUse;
7042
7043 // This array must be the size specified by mNumberOfRadioInterfacesInUse
7044 // eQMINASRadioInterfaces mRadioInterface[1];
7045 };
7046
7047 // Structure to describe indication TLV 0x10 for NAS ServingSystemIndication
7048 struct sNASServingSystemIndication_RoamingIndicator
7049 {
7050 eQMINASRoamingIndicators mRoamingIndicator;
7051 };
7052
7053 // Structure to describe indication TLV 0x11 for NAS ServingSystemIndication
7054 struct sNASServingSystemIndication_DataServices
7055 {
7056 UINT8 mNumberOfDataCapabilities;
7057
7058 // This array must be the size specified by mNumberOfDataCapabilities
7059 // eQMINASDataServiceCapabilities2 mDataCapability[1];
7060 };
7061
7062 // Structure to describe indication TLV 0x12 for NAS ServingSystemIndication
7063 struct sNASServingSystemIndication_CurrentPLMN
7064 {
7065 UINT16 mMobileCountryCode;
7066 UINT16 mMobileNetworkCode;
7067 UINT8 mDescriptionLength;
7068
7069 // This array must be the size specified by mDescriptionLength
7070 // char mDescription[1];
7071 };
7072
7073 // Structure to describe indication TLV 0x13 for NAS ServingSystemIndication
7074 struct sNASServingSystemIndication_SystemID
7075 {
7076 UINT16 mSystemID;
7077 UINT16 mNetworkID;
7078 };
7079
7080 // Structure to describe indication TLV 0x14 for NAS ServingSystemIndication
7081 struct sNASServingSystemIndication_BaseStation
7082 {
7083 UINT16 mBaseStationID;
7084 INT32 mLatitude;
7085 INT32 mLongitude;
7086 };
7087
7088 // Structure to describe indication TLV 0x15 for NAS ServingSystemIndication
7089 struct sNASServingSystemIndication_RoamingList
7090 {
7091 UINT8 mNumberOfInstances;
7092
7093 struct sInstance
7094 {
7095 eQMINASRadioInterfaces mRadioInterface;
7096 eQMINASRoamingIndicators mRoamingIndicator;
7097 };
7098
7099 // This array must be the size specified by mNumberOfInstances
7100 // sInstance mInstances[1];
7101 };
7102
7103 // Structure to describe indication TLV 0x16 for NAS ServingSystemIndication
7104 struct sNASServingSystemIndication_DefaultRoaming
7105 {
7106 eQMINASRoamingIndicators mRoamingIndicator;
7107 };
7108
7109 // Structure to describe indication TLV 0x17 for NAS ServingSystemIndication
7110 struct sNASServingSystemIndication_TimeZone
7111 {
7112 UINT8 mLeapSeconds;
7113 INT8 mLocalTimeOffset;
7114 INT8 mDaylightSavingsInEffect;
7115 };
7116
7117 // Structure to describe indication TLV 0x18 for NAS ServingSystemIndication
7118 struct sNASServingSystemIndication_ProtocolRevision
7119 {
7120 eQMINASRevision mProtocolRevision;
7121 };
7122
7123 // Structure to describe indication TLV 0x19 for NAS ServingSystemIndication
7124 struct sNASServingSystemIndication_PLMNChange
7125 {
7126 INT8 mPLMNChanged;
7127 };
7128
7129 // Structure to describe indication TLV 0x1A for NAS ServingSystemIndication
7130 struct sNASServingSystemIndication_3GPPTimeZone
7131 {
7132 INT8 m3GPPTimeZone;
7133 };
7134
7135 // Structure to describe indication TLV 0x1B for NAS ServingSystemIndication
7136 struct sNASServingSystemIndication_3GPPDaylightSavingAdjustment
7137 {
7138 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
7139 };
7140
7141 // Structure to describe indication TLV 0x1C for NAS ServingSystemIndication
7142 struct sNASServingSystemIndication_3GPPUniversalTimeAndZone
7143 {
7144 UINT16 mYear;
7145 UINT8 mMonth;
7146 UINT8 mDay;
7147 UINT8 mHour;
7148 UINT8 mMinute;
7149 UINT8 mSecond;
7150 INT8 mTimeZoneOffset;
7151 };
7152
7153 // Structure to describe indication TLV 0x1D for NAS ServingSystemIndication
7154 struct sNASServingSystemIndication_3GPPLocationAreaCode
7155 {
7156 UINT16 mLocationAreaCode;
7157 };
7158
7159 // Structure to describe indication TLV 0x1E for NAS ServingSystemIndication
7160 struct sNASServingSystemIndication_3GPPCellID
7161 {
7162 UINT32 mCellID;
7163 };
7164
7165 // Structure to describe indication TLV 0x1F for NAS ServingSystemIndication
7166 struct sNASServingSystemIndication_3GPP2ConcurrentService
7167 {
7168 eQMINASConcurrentService mConcurrentService;
7169 };
7170
7171 // Structure to describe indication TLV 0x20 for NAS ServingSystemIndication
7172 struct sNASServingSystemIndication_3GPP2PRLIndicator
7173 {
7174 eQMINASPRLIndicator mPRLIndicator;
7175 };
7176
7177 // Structure to describe indication TLV 0x21 for NAS ServingSystemIndication
7178 struct sNASServingSystemIndication_DualTransferModeIndication
7179 {
7180 eQMINASDualTransferMode mDualTransferMode;
7181 };
7182
7183 // Structure to describe indication TLV 0x22 for NAS ServingSystemIndication
7184 struct sNASServingSystemIndication_DetailedServiceInformation
7185 {
7186 eQMINASServiceStatus mServiceStatus;
7187 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
7188 eQMINASServiceStatus mCDMA1xEVDOServiceStatus;
7189 eQMINASCDMA1xEVDOHybridInformation mCDMA1xEVDOHybridInformation;
7190 eQMINASSystemForbidden mSystemForbidden;
7191 };
7192
7193 // Structure to describe indication TLV 0x23 for NAS ServingSystemIndication
7194 struct sNASServingSystemIndication_CDMASystemInformation
7195 {
7196 UINT16 mMobileCountryCode;
7197 UINT8 mIMSI_11_12;
7198 };
7199
7200 // Structure to describe indication TLV 0x24 for NAS ServingSystemIndication
7201 struct sNASServingSystemIndication_CDMA1xEVDOPersonality
7202 {
7203 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
7204 };
7205
7206 // Structure to describe indication TLV 0x25 for NAS ServingSystemIndication
7207 struct sNASServingSystemIndication_TrackingAreaCode
7208 {
7209 UINT16 mTrackingAreaCode;
7210 };
7211
7212 // Structure to describe indication TLV 0x26 for NAS ServingSystemIndication
7213 struct sNASServingSystemIndication_CallBarring
7214 {
7215 eQMINASCallBarringStatus mCSCallBarringStatus;
7216 eQMINASCallBarringStatus mPSCallBarringStatus;
7217 };
7218
7219 // Structure to describe indication TLV 0x27 for NAS ServingSystemIndication
7220 struct sNASServingSystemIndication_PLMNChangeStatus
7221 {
7222 INT8 mNoPLMNChange;
7223 };
7224
7225 // Structure to describe indication TLV 0x28 for NAS ServingSystemIndication
7226 struct sNASServingSystemIndication_UMTSPSC
7227 {
7228 UINT16 mPrimaryScramblingCode;
7229 };
7230
7231 // Structure to describe indication TLV 0x29 for NAS ServingSystemIndication
7232 struct sNASServingSystemIndication_PCSInfo
7233 {
7234 UINT16 mMobileCountryCode;
7235 UINT16 mMobileNetworkCode;
7236 INT8 mMNCIncludesPCSDigit;
7237 };
7238
7239 // Structure to describe indication TLV 0x2A for NAS ServingSystemIndication
7240 struct sNASServingSystemIndication_HSCallStatus
7241 {
7242 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
7243 };
7244
7245 // Structure to describe response TLV 0x01 for NASGetHomeNetwork()
7246 struct sNASGetHomeNetworkResponse_HomeNetwork
7247 {
7248 UINT16 mMobileCountryCode;
7249 UINT16 mMobileNetworkCode;
7250 UINT8 mDescriptionLength;
7251
7252 // This array must be the size specified by mDescriptionLength
7253 // char mDescription[1];
7254 };
7255
7256 // Structure to describe response TLV 0x10 for NASGetHomeNetwork()
7257 struct sNASGetHomeNetworkResponse_HomeIDs
7258 {
7259 UINT16 mSystemID;
7260 UINT16 mNetworkID;
7261 };
7262
7263 // Structure to describe response TLV 0x11 for NASGetHomeNetwork()
7264 struct sNASGetHomeNetworkResponse_ExtendedHomeNetwork
7265 {
7266 UINT16 mMobileCountryCode;
7267 UINT16 mMobileNetworkCode;
7268 eQMINASNetworkDescriptionDisplays mDisplayNetworkDescription;
7269 eQMINASNetworkDescriptionEncodings mNetworkDescriptionEncoding;
7270 UINT8 mNetworkDescriptionLength;
7271
7272 // This array must be the size specified by mNetworkDescriptionLength
7273 // UINT8 mNetworkDescription[1];
7274 };
7275
7276 // Structure to describe response TLV 0x10 for NASGetPreferredNetworks()
7277 struct sNASGetPreferredNetworksResponse_Networks
7278 {
7279 UINT16 mNumberOfPreferredNetworks;
7280
7281 struct sNetwork
7282 {
7283 UINT16 mMobileCountryCode;
7284 UINT16 mMobileNetworkCode;
7285
7286 // Padding out 6 bits
7287 UINT8 mReserved1:6;
7288
7289 bool mGSMCompact:1;
7290 bool mGSM:1;
7291
7292 // Padding out 6 bits
7293 UINT8 mReserved2:6;
7294
7295 bool mLTE:1;
7296 bool mUMTS:1;
7297 };
7298
7299 // This array must be the size specified by mNumberOfPreferredNetworks
7300 // sNetwork mNetworks[1];
7301 };
7302
7303 // Structure to describe response TLV 0x11 for NASGetPreferredNetworks()
7304 struct sNASGetPreferredNetworksResponse_StaticNetworks
7305 {
7306 UINT16 mNumberOfPreferredNetworks;
7307
7308 struct sNetwork
7309 {
7310 UINT16 mMobileCountryCode;
7311 UINT16 mMobileNetworkCode;
7312
7313 // Padding out 6 bits
7314 UINT8 mReserved1:6;
7315
7316 bool mGSMCompact:1;
7317 bool mGSM:1;
7318
7319 // Padding out 6 bits
7320 UINT8 mReserved2:6;
7321
7322 bool mLTE:1;
7323 bool mUMTS:1;
7324 };
7325
7326 // This array must be the size specified by mNumberOfPreferredNetworks
7327 // sNetwork mNetworks[1];
7328 };
7329
7330 // Structure to describe request TLV 0x10 for NASSetPreferredNetworks()
7331 struct sNASSetPreferredNetworksRequest_Networks
7332 {
7333 UINT16 mNumberOfPreferredNetworks;
7334
7335 struct sNetwork
7336 {
7337 UINT16 mMobileCountryCode;
7338 UINT16 mMobileNetworkCode;
7339
7340 // Padding out 6 bits
7341 UINT8 mReserved1:6;
7342
7343 bool mGSMCompact:1;
7344 bool mGSM:1;
7345
7346 // Padding out 6 bits
7347 UINT8 mReserved2:6;
7348
7349 bool mLTE:1;
7350 bool mUMTS:1;
7351 };
7352
7353 // This array must be the size specified by mNumberOfPreferredNetworks
7354 // sNetwork mNetworks[1];
7355 };
7356
7357 // Structure to describe response TLV 0x10 for NASGetForbiddenNetworks()
7358 struct sNASGetForbiddenNetworksResponse_Networks
7359 {
7360 UINT16 mNumberOfForbiddenNetworks;
7361
7362 struct sNetwork
7363 {
7364 UINT16 mMobileCountryCode;
7365 UINT16 mMobileNetworkCode;
7366 };
7367
7368 // This array must be the size specified by mNumberOfForbiddenNetworks
7369 // sNetwork mNetworks[1];
7370 };
7371
7372 // Structure to describe request TLV 0x10 for NASSetForbiddenNetworks()
7373 struct sNASSetForbiddenNetworksRequest_Networks
7374 {
7375 UINT16 mNumberOfForbiddenNetworks;
7376
7377 struct sNetwork
7378 {
7379 UINT16 mMobileCountryCode;
7380 UINT16 mMobileNetworkCode;
7381 };
7382
7383 // This array must be the size specified by mNumberOfForbiddenNetworks
7384 // sNetwork mNetworks[1];
7385 };
7386
7387 // Structure to describe request TLV 0x01 for NASSetTechnologyPreference()
7388 struct sNASSetTechnologyPreferenceRequest_Preference
7389 {
7390 // mTechnology must be the first two bits of a UINT8
7391 // whose remaining bits are described in the optional
7392 // structs following.
7393
7394 // The following union is based on the value of mTechnology
7395 union uValOfTechnology
7396 {
7397 // Always present
7398 eQMINASTechPrefs mTechnology:2;
7399
7400 // If the value of mTechnology == 1
7401 struct sTechnologyIs1
7402 {
7403 // Padding out 2 bits
7404 UINT8 mReserved1:2;
7405
7406 UINT8 mAnalog:1;
7407 UINT8 mDigital:1;
7408 UINT8 mEVDO:1;
7409 UINT8 mLTE:1;
7410
7411 // Padding out 2 bits
7412 UINT8 mReserved2:2;
7413 };
7414
7415 sTechnologyIs1 mTechnologyIs1;
7416
7417 // If the value of mTechnology == 2
7418 struct sTechnologyIs2
7419 {
7420 // Padding out 2 bits
7421 UINT8 mReserved3:2;
7422
7423 UINT8 mGSM:1;
7424 UINT8 mWCDMA:1;
7425 UINT8 mEVDO:1;
7426 UINT8 mLTE:1;
7427
7428 // Padding out 2 bits
7429 UINT8 mReserved4:2;
7430 };
7431
7432 sTechnologyIs2 mTechnologyIs2;
7433
7434 // Padding out 8 bits
7435 UINT8 mReserved5;
7436 };
7437
7438 uValOfTechnology mValOfTechnology;
7439
7440 // Padding out 8 bits
7441 UINT8 mReserved6;
7442
7443 eQMINASTechPrefDurations mDuration;
7444 };
7445
7446 // Structure to describe response TLV 0x01 for NASGetTechnologyPreference()
7447 struct sNASGetTechnologyPreferenceResponse_ActivePreference
7448 {
7449 // mTechnology must be the first two bits of a UINT8
7450 // whose remaining bits are described in the optional
7451 // structs following.
7452
7453 // The following union is based on the value of mTechnology
7454 union uValOfTechnology
7455 {
7456 // Always present
7457 eQMINASTechPrefs mTechnology:2;
7458
7459 // If the value of mTechnology == 1
7460 struct sTechnologyIs1
7461 {
7462 // Padding out 2 bits
7463 UINT8 mReserved1:2;
7464
7465 UINT8 mAnalog:1;
7466 UINT8 mDigital:1;
7467 UINT8 mEVDO:1;
7468 UINT8 mLTE:1;
7469
7470 // Padding out 2 bits
7471 UINT8 mReserved2:2;
7472 };
7473
7474 sTechnologyIs1 mTechnologyIs1;
7475
7476 // If the value of mTechnology == 2
7477 struct sTechnologyIs2
7478 {
7479 // Padding out 2 bits
7480 UINT8 mReserved3:2;
7481
7482 UINT8 mGSM:1;
7483 UINT8 mWCDMA:1;
7484 UINT8 mEVDO:1;
7485 UINT8 mLTE:1;
7486
7487 // Padding out 2 bits
7488 UINT8 mReserved4:2;
7489 };
7490
7491 sTechnologyIs2 mTechnologyIs2;
7492
7493 // Padding out 8 bits
7494 UINT8 mReserved5;
7495 };
7496
7497 uValOfTechnology mValOfTechnology;
7498
7499 // Padding out 8 bits
7500 UINT8 mReserved6;
7501
7502 eQMINASTechPrefDurations mDuration;
7503 };
7504
7505 // Structure to describe response TLV 0x10 for NASGetTechnologyPreference()
7506 struct sNASGetTechnologyPreferenceResponse_PersistentPreference
7507 {
7508 // mTechnology must be the first two bits of a UINT8
7509 // whose remaining bits are described in the optional
7510 // structs following.
7511
7512 // The following union is based on the value of mTechnology
7513 union uValOfTechnology
7514 {
7515 // Always present
7516 eQMINASTechPrefs mTechnology:2;
7517
7518 // If the value of mTechnology == 1
7519 struct sTechnologyIs1
7520 {
7521 // Padding out 2 bits
7522 UINT8 mReserved1:2;
7523
7524 UINT8 mAnalog:1;
7525 UINT8 mDigital:1;
7526 UINT8 mEVDO:1;
7527 UINT8 mLTE:1;
7528
7529 // Padding out 2 bits
7530 UINT8 mReserved2:2;
7531 };
7532
7533 sTechnologyIs1 mTechnologyIs1;
7534
7535 // If the value of mTechnology == 2
7536 struct sTechnologyIs2
7537 {
7538 // Padding out 2 bits
7539 UINT8 mReserved3:2;
7540
7541 UINT8 mGSM:1;
7542 UINT8 mWCDMA:1;
7543 UINT8 mEVDO:1;
7544 UINT8 mLTE:1;
7545
7546 // Padding out 2 bits
7547 UINT8 mReserved4:2;
7548 };
7549
7550 sTechnologyIs2 mTechnologyIs2;
7551
7552 // Padding out 8 bits
7553 UINT8 mReserved5;
7554 };
7555
7556 uValOfTechnology mValOfTechnology;
7557
7558 // Padding out 8 bits
7559 UINT8 mReserved6;
7560 };
7561
7562 // Structure to describe response TLV 0x01 for NASGetACCOLC()
7563 struct sNASGetACCOLCResponse_ACCOLC
7564 {
7565 UINT8 mACCOLC;
7566 };
7567
7568 // Structure to describe request TLV 0x01 for NASSetACCOLC()
7569 struct sNASSetACCOLCRequest_ACCOLC
7570 {
7571 char mSPC[6];
7572 UINT8 mACCOLC;
7573 };
7574
7575 // Structure to describe indication TLV 0x01 for NAS GetSystemPreference
7576 struct sNASGetSystemPreferenceIndication_Pref
7577 {
7578 eQMINASSystemPreferences mSystemPreference;
7579 };
7580
7581 // Structure to describe response TLV 0x11 for NASGetNetworkParameters()
7582 struct sNASGetNetworkParametersResponse_SCI
7583 {
7584 UINT8 mSlotCycleIndex;
7585 };
7586
7587 // Structure to describe response TLV 0x12 for NASGetNetworkParameters()
7588 struct sNASGetNetworkParametersResponse_SCM
7589 {
7590 UINT8 mStationClassMark;
7591 };
7592
7593 // Structure to describe response TLV 0x13 for NASGetNetworkParameters()
7594 struct sNASGetNetworkParametersResponse_Registration
7595 {
7596 INT8 mRegisterOnHomeSystem;
7597 INT8 mRegisterOnForeignSystem;
7598 INT8 mRegisterOnForeignNetwork;
7599 };
7600
7601 // Structure to describe response TLV 0x14 for NASGetNetworkParameters()
7602 struct sNASGetNetworkParametersResponse_CDMA1xEVDORevision
7603 {
7604 INT8 mForceCDMA1xEVDORev0;
7605 };
7606
7607 // Structure to describe response TLV 0x15 for NASGetNetworkParameters()
7608 struct sNASGetNetworkParametersResponse_CDMA1xEVDOSCPCustom
7609 {
7610 INT8 mCDMA1xEVDOSCPCustomConfig;
7611 bool mSubtype2PhysicalLayer:1;
7612 bool mEnhancedCCMAC:1;
7613 bool mEnhancedACMAC:1;
7614 bool mEnhancedFTCMAC:1;
7615 bool mSubtype3RTCMAC:1;
7616 bool mSubtype1RTCMAC:1;
7617 bool mEnhancedIdle:1;
7618 bool mGenericMultimodeCapableDiscPort:1;
7619
7620 // Padding out 24 bits
7621 UINT8 mReserved1[3];
7622
7623 bool mGenericBroadcast:1;
7624
7625 // Padding out 31 bits
7626 UINT8 mReserved2:7;
7627 UINT8 mReserved3[3];
7628
7629 bool mSNMultiflowPacketApplication:1;
7630 bool mSNEnhancedMultiflowPacketApplication:1;
7631
7632 // Padding out 30 bits
7633 UINT8 mReserved4:6;
7634 UINT8 mReserved5[3];
7635 };
7636
7637 // Structure to describe response TLV 0x16 for NASGetNetworkParameters()
7638 struct sNASGetNetworkParametersResponse_Roaming
7639 {
7640 eQMINASRoamingPreferences mRoamPreference;
7641 };
7642
7643 // Structure to describe response TLV 0x17 for NASGetNetworkParameters()
7644 struct sNASGetNetworkParametersResponse_ForceCDMA1xEVDOSCP
7645 {
7646 eQMINASForceCDMA1xEVDOSCP mForceCDMA1xEVDOSCP;
7647 };
7648
7649 // Structure to describe request TLV 0x10 for NASSetNetworkParameters()
7650 struct sNASSetNetworkParametersRequest_SPC
7651 {
7652 char mSPC[6];
7653 };
7654
7655 // Structure to describe request TLV 0x14 for NASSetNetworkParameters()
7656 struct sNASSetNetworkParametersRequest_CDMA1xEVDORevision
7657 {
7658 INT8 mForceCDMA1xEVDORev0;
7659 };
7660
7661 // Structure to describe request TLV 0x15 for NASSetNetworkParameters()
7662 struct sNASSetNetworkParametersRequest_CDMA1xEVDOSCPCustom
7663 {
7664 INT8 mCDMA1xEVDOSCPCustomConfig;
7665 bool mSubtype2PhysicalLayer:1;
7666 bool mEnhancedCCMAC:1;
7667 bool mEnhancedACMAC:1;
7668 bool mEnhancedFTCMAC:1;
7669 bool mSubtype3RTCMAC:1;
7670 bool mSubtype1RTCMAC:1;
7671 bool mEnhancedIdle:1;
7672 bool mGenericMultimodeCapableDiscPort:1;
7673
7674 // Padding out 24 bits
7675 UINT8 mReserved1[3];
7676
7677 bool mGenericBroadcast:1;
7678
7679 // Padding out 31 bits
7680 UINT8 mReserved2:7;
7681 UINT8 mReserved3[3];
7682
7683 bool mSNMultiflowPacketApplication:1;
7684 bool mSNEnhancedMultiflowPacketApplication:1;
7685
7686 // Padding out 30 bits
7687 UINT8 mReserved4:6;
7688 UINT8 mReserved5[3];
7689 };
7690
7691 // Structure to describe request TLV 0x16 for NASSetNetworkParameters()
7692 struct sNASSetNetworkParametersRequest_Roaming
7693 {
7694 eQMINASRoamingPreferences mRoamPreference;
7695 };
7696
7697 // Structure to describe response TLV 0x01 for NASGetRFInfo()
7698 struct sNASGetRFInfoResponse_RFInfo
7699 {
7700 UINT8 mNumberOfInstances;
7701
7702 struct sInstance
7703 {
7704 eQMINASRadioInterfaces mRadioInterface;
7705 eQMINASBandClasses mActiveBandClass;
7706 UINT16 mActiveChannel;
7707 };
7708
7709 // This array must be the size specified by mNumberOfInstances
7710 // sInstance mInstances[1];
7711 };
7712
7713 // Structure to describe response TLV 0x01 for NASGetANAAAAuthenticationStatus()
7714 struct sNASGetANAAAAuthenticationStatusResponse_Status
7715 {
7716 eQMINASANAAAAuthenticationStatus mANAAAAuthenticationStatus;
7717 };
7718
7719 // Structure to describe request TLV 0x10 for NASSetSystemSelectionPref()
7720 struct sNASSetSystemSelectionPrefRequest_EmergencyMode
7721 {
7722 INT8 mEmergencyModeOn;
7723 };
7724
7725 // Structure to describe request TLV 0x11 for NASSetSystemSelectionPref()
7726 struct sNASSetSystemSelectionPrefRequest_Mode
7727 {
7728 bool mCDMA1x:1;
7729 bool mCDMA1xEVDO:1;
7730 bool mGSM:1;
7731 bool mUMTS:1;
7732 bool mLTE:1;
7733 bool mTDSCDMA:1;
7734
7735 // Padding out 10 bits
7736 UINT8 mReserved1:2;
7737 UINT8 mReserved2;
7738 };
7739
7740 // Structure to describe request TLV 0x12 for NASSetSystemSelectionPref()
7741 struct sNASSetSystemSelectionPrefRequest_Band
7742 {
7743 bool mBandClass0ASystem:1;
7744 bool mBandClass0BSystem:1;
7745 bool mBandClass1:1;
7746 bool mBandClass2:1;
7747 bool mBandClass3ASystem:1;
7748 bool mBandClass4:1;
7749 bool mBandClass5:1;
7750 bool mGSMDCS:1;
7751 bool mGSMPrimary:1;
7752 bool mGSMExtended:1;
7753 bool mBandClass6:1;
7754 bool mBandClass7:1;
7755 bool mBandClass8:1;
7756 bool mBandClass9:1;
7757 bool mBandClass10:1;
7758 bool mBandClass11:1;
7759 bool mGSM450:1;
7760 bool mGSM480:1;
7761 bool mGSM750:1;
7762 bool mGSM850:1;
7763 bool mGSMRailways:1;
7764 bool mGSMPCS:1;
7765 bool mWCDMA2100I:1;
7766 bool mWCDMAPCS1900:1;
7767 bool mWCDMADCS1800:1;
7768 bool mWCDMA1700US:1;
7769 bool mWCDMA850:1;
7770 bool mWCDMA800:1;
7771 bool mBandClass12:1;
7772 bool mBandClass14:1;
7773
7774 // Padding out 1 bits
7775 UINT8 mReserved1:1;
7776
7777 bool mBandClass15:1;
7778
7779 // Padding out 16 bits
7780 UINT8 mReserved2[2];
7781
7782 bool mWCDMA2600:1;
7783 bool mWCDMA900:1;
7784 bool mWCDMA1700Japan:1;
7785
7786 // Padding out 5 bits
7787 UINT8 mReserved3:5;
7788
7789 bool mBandClass16:1;
7790 bool mBandClass17:1;
7791 bool mBandClass18:1;
7792 bool mBandClass19:1;
7793
7794 // Padding out 4 bits
7795 UINT8 mReserved4:4;
7796 };
7797
7798 // Structure to describe request TLV 0x13 for NASSetSystemSelectionPref()
7799 struct sNASSetSystemSelectionPrefRequest_PRL
7800 {
7801 eQMINASPRLPreferences mPRLPreference;
7802 };
7803
7804 // Structure to describe request TLV 0x14 for NASSetSystemSelectionPref()
7805 struct sNASSetSystemSelectionPrefRequest_Roaming
7806 {
7807 eQMINASRoamingPreferences2 mRoamingPreference;
7808 };
7809
7810 // Structure to describe request TLV 0x15 for NASSetSystemSelectionPref()
7811 struct sNASSetSystemSelectionPrefRequest_LTEBand
7812 {
7813 bool mEUTRABand1:1;
7814 bool mEUTRABand2:1;
7815 bool mEUTRABand3:1;
7816 bool mEUTRABand4:1;
7817 bool mEUTRABand5:1;
7818 bool mEUTRABand6:1;
7819 bool mEUTRABand7:1;
7820 bool mEUTRABand8:1;
7821 bool mEUTRABand9:1;
7822 bool mEUTRABand10:1;
7823 bool mEUTRABand11:1;
7824 bool mEUTRABand12:1;
7825 bool mEUTRABand13:1;
7826 bool mEUTRABand14:1;
7827
7828 // Padding out 2 bits
7829 UINT8 mReserved1:2;
7830
7831 bool mEUTRABand17:1;
7832 bool mEUTRABand18:1;
7833 bool mEUTRABand19:1;
7834 bool mEUTRABand20:1;
7835 bool mEUTRABand21:1;
7836
7837 // Padding out 2 bits
7838 UINT8 mReserved2:2;
7839
7840 bool mEUTRABand24:1;
7841 bool mEUTRABand25:1;
7842
7843 // Padding out 7 bits
7844 UINT8 mReserved3:7;
7845
7846 bool mEUTRABand33:1;
7847 bool mEUTRABand34:1;
7848 bool mEUTRABand35:1;
7849 bool mEUTRABand36:1;
7850 bool mEUTRABand37:1;
7851 bool mEUTRABand38:1;
7852 bool mEUTRABand39:1;
7853 bool mEUTRABand40:1;
7854 bool mEUTRABand41:1;
7855 bool mEUTRABand42:1;
7856 bool mEUTRABand43:1;
7857
7858 // Padding out 21 bits
7859 UINT8 mReserved4:5;
7860 UINT8 mReserved5[2];
7861 };
7862
7863 // Structure to describe request TLV 0x16 for NASSetSystemSelectionPref()
7864 struct sNASSetSystemSelectionPrefRequest_NetworkSelection
7865 {
7866 eQMINASNetworkSelection mNetworkSelection;
7867 UINT16 mMobileCountryCode;
7868 UINT16 mMobileNetworkCode;
7869 };
7870
7871 // Structure to describe request TLV 0x17 for NASSetSystemSelectionPref()
7872 struct sNASSetSystemSelectionPrefRequest_ChangeDuration
7873 {
7874 eQMINASChangeDuration mChangeDuration;
7875 };
7876
7877 // Structure to describe request TLV 0x1A for NASSetSystemSelectionPref()
7878 struct sNASSetSystemSelectionPrefRequest_PCSInfo
7879 {
7880 INT8 mMNCIncludesPCSDigit;
7881 };
7882
7883 // Structure to describe request TLV 0x1B for NASSetSystemSelectionPref()
7884 struct sNASSetSystemSelectionPrefRequest_Domain
7885 {
7886 eQMINASServiceDomainPrefs mServiceDomainPreference;
7887 };
7888
7889 // Structure to describe request TLV 0x1C for NASSetSystemSelectionPref()
7890 struct sNASSetSystemSelectionPrefRequest_Acquisition
7891 {
7892 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
7893 };
7894
7895 // Structure to describe request TLV 0x1D for NASSetSystemSelectionPref()
7896 struct sNASSetSystemSelectionPrefRequest_TDSCDMABand
7897 {
7898 bool mTDSCDMABandA:1;
7899 bool mTDSCDMABandB:1;
7900 bool mTDSCDMABandC:1;
7901 bool mTDSCDMABandD:1;
7902 bool mTDSCDMABandE:1;
7903 bool mTDSCDMABandF:1;
7904
7905 // Padding out 58 bits
7906 UINT8 mReserved1:2;
7907 UINT8 mReserved2[7];
7908 };
7909
7910 // Structure to describe request TLV 0x1E for NASSetSystemSelectionPref()
7911 struct sNASSetSystemSelectionPrefRequest_AcquisitionOrder
7912 {
7913 UINT8 mNumberOfRadioInterfaces;
7914
7915 // This array must be the size specified by mNumberOfRadioInterfaces
7916 // eQMINASRadioInterfaces mRadioInterface[1];
7917 };
7918
7919 // Structure to describe response TLV 0x10 for NASGetSystemSelectionPref()
7920 struct sNASGetSystemSelectionPrefResponse_EmergencyMode
7921 {
7922 INT8 mEmergencyModeOn;
7923 };
7924
7925 // Structure to describe response TLV 0x11 for NASGetSystemSelectionPref()
7926 struct sNASGetSystemSelectionPrefResponse_Mode
7927 {
7928 bool mCDMA1x:1;
7929 bool mCDMA1xEVDO:1;
7930 bool mGSM:1;
7931 bool mUMTS:1;
7932 bool mLTE:1;
7933 bool mTDSCDMA:1;
7934
7935 // Padding out 10 bits
7936 UINT8 mReserved1:2;
7937 UINT8 mReserved2;
7938 };
7939
7940 // Structure to describe response TLV 0x12 for NASGetSystemSelectionPref()
7941 struct sNASGetSystemSelectionPrefResponse_Band
7942 {
7943 bool mBandClass0ASystem:1;
7944 bool mBandClass0BSystem:1;
7945 bool mBandClass1:1;
7946 bool mBandClass2:1;
7947 bool mBandClass3ASystem:1;
7948 bool mBandClass4:1;
7949 bool mBandClass5:1;
7950 bool mGSMDCS:1;
7951 bool mGSMPrimary:1;
7952 bool mGSMExtended:1;
7953 bool mBandClass6:1;
7954 bool mBandClass7:1;
7955 bool mBandClass8:1;
7956 bool mBandClass9:1;
7957 bool mBandClass10:1;
7958 bool mBandClass11:1;
7959 bool mGSM450:1;
7960 bool mGSM480:1;
7961 bool mGSM750:1;
7962 bool mGSM850:1;
7963 bool mGSMRailways:1;
7964 bool mGSMPCS:1;
7965 bool mWCDMA2100I:1;
7966 bool mWCDMAPCS1900:1;
7967 bool mWCDMADCS1800:1;
7968 bool mWCDMA1700US:1;
7969 bool mWCDMA850:1;
7970 bool mWCDMA800:1;
7971 bool mBandClass12:1;
7972 bool mBandClass14:1;
7973
7974 // Padding out 1 bits
7975 UINT8 mReserved1:1;
7976
7977 bool mBandClass15:1;
7978
7979 // Padding out 16 bits
7980 UINT8 mReserved2[2];
7981
7982 bool mWCDMA2600:1;
7983 bool mWCDMA900:1;
7984 bool mWCDMA1700Japan:1;
7985
7986 // Padding out 5 bits
7987 UINT8 mReserved3:5;
7988
7989 bool mBandClass16:1;
7990 bool mBandClass17:1;
7991 bool mBandClass18:1;
7992 bool mBandClass19:1;
7993
7994 // Padding out 4 bits
7995 UINT8 mReserved4:4;
7996 };
7997
7998 // Structure to describe response TLV 0x13 for NASGetSystemSelectionPref()
7999 struct sNASGetSystemSelectionPrefResponse_PRL
8000 {
8001 eQMINASPRLPreferences mPRLPreference;
8002 };
8003
8004 // Structure to describe response TLV 0x14 for NASGetSystemSelectionPref()
8005 struct sNASGetSystemSelectionPrefResponse_Roaming
8006 {
8007 eQMINASRoamingPreferences2 mRoamingPreference;
8008 };
8009
8010 // Structure to describe response TLV 0x15 for NASGetSystemSelectionPref()
8011 struct sNASGetSystemSelectionPrefResponse_LTEBand
8012 {
8013 bool mEUTRABand1:1;
8014 bool mEUTRABand2:1;
8015 bool mEUTRABand3:1;
8016 bool mEUTRABand4:1;
8017 bool mEUTRABand5:1;
8018 bool mEUTRABand6:1;
8019 bool mEUTRABand7:1;
8020 bool mEUTRABand8:1;
8021 bool mEUTRABand9:1;
8022 bool mEUTRABand10:1;
8023 bool mEUTRABand11:1;
8024 bool mEUTRABand12:1;
8025 bool mEUTRABand13:1;
8026 bool mEUTRABand14:1;
8027
8028 // Padding out 2 bits
8029 UINT8 mReserved1:2;
8030
8031 bool mEUTRABand17:1;
8032 bool mEUTRABand18:1;
8033 bool mEUTRABand19:1;
8034 bool mEUTRABand20:1;
8035 bool mEUTRABand21:1;
8036
8037 // Padding out 2 bits
8038 UINT8 mReserved2:2;
8039
8040 bool mEUTRABand24:1;
8041 bool mEUTRABand25:1;
8042
8043 // Padding out 7 bits
8044 UINT8 mReserved3:7;
8045
8046 bool mEUTRABand33:1;
8047 bool mEUTRABand34:1;
8048 bool mEUTRABand35:1;
8049 bool mEUTRABand36:1;
8050 bool mEUTRABand37:1;
8051 bool mEUTRABand38:1;
8052 bool mEUTRABand39:1;
8053 bool mEUTRABand40:1;
8054 bool mEUTRABand41:1;
8055 bool mEUTRABand42:1;
8056 bool mEUTRABand43:1;
8057
8058 // Padding out 21 bits
8059 UINT8 mReserved4:5;
8060 UINT8 mReserved5[2];
8061 };
8062
8063 // Structure to describe response TLV 0x16 for NASGetSystemSelectionPref()
8064 struct sNASGetSystemSelectionPrefResponse_NetworkSelection
8065 {
8066 eQMINASNetworkSelection mNetworkSelection;
8067 };
8068
8069 // Structure to describe response TLV 0x18 for NASGetSystemSelectionPref()
8070 struct sNASGetSystemSelectionPrefResponse_Domain
8071 {
8072 eQMINASServiceDomainPrefs mServiceDomainPreference;
8073 };
8074
8075 // Structure to describe response TLV 0x19 for NASGetSystemSelectionPref()
8076 struct sNASGetSystemSelectionPrefResponse_Acquisition
8077 {
8078 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8079 };
8080
8081 // Structure to describe response TLV 0x1A for NASGetSystemSelectionPref()
8082 struct sNASGetSystemSelectionPrefResponse_TDSCDMABand
8083 {
8084 bool mTDSCDMABandA:1;
8085 bool mTDSCDMABandB:1;
8086 bool mTDSCDMABandC:1;
8087 bool mTDSCDMABandD:1;
8088 bool mTDSCDMABandE:1;
8089 bool mTDSCDMABandF:1;
8090
8091 // Padding out 58 bits
8092 UINT8 mReserved1:2;
8093 UINT8 mReserved2[7];
8094 };
8095
8096 // Structure to describe response TLV 0x1B for NASGetSystemSelectionPref()
8097 struct sNASGetSystemSelectionPrefResponse_ManualPLMN
8098 {
8099 UINT16 mMobileCountryCode;
8100 UINT16 mMobileNetworkCode;
8101 INT8 mMNCIncludesPCSDigit;
8102 };
8103
8104 // Structure to describe response TLV 0x1C for NASGetSystemSelectionPref()
8105 struct sNASGetSystemSelectionPrefResponse_AcquisitionOrder
8106 {
8107 UINT8 mNumberOfRadioInterfaces;
8108
8109 // This array must be the size specified by mNumberOfRadioInterfaces
8110 // eQMINASRadioInterfaces mRadioInterface[1];
8111 };
8112
8113 // Structure to describe indication TLV 0x10 for NAS SystemSelectionPrefIndication
8114 struct sNASSystemSelectionPrefIndication_EmergencyMode
8115 {
8116 INT8 mEmergencyModeOn;
8117 };
8118
8119 // Structure to describe indication TLV 0x11 for NAS SystemSelectionPrefIndication
8120 struct sNASSystemSelectionPrefIndication_Mode
8121 {
8122 bool mCDMA1x:1;
8123 bool mCDMA1xEVDO:1;
8124 bool mGSM:1;
8125 bool mUMTS:1;
8126 bool mLTE:1;
8127 bool mTDSCDMA:1;
8128
8129 // Padding out 10 bits
8130 UINT8 mReserved1:2;
8131 UINT8 mReserved2;
8132 };
8133
8134 // Structure to describe indication TLV 0x12 for NAS SystemSelectionPrefIndication
8135 struct sNASSystemSelectionPrefIndication_Band
8136 {
8137 bool mBandClass0ASystem:1;
8138 bool mBandClass0BSystem:1;
8139 bool mBandClass1:1;
8140 bool mBandClass2:1;
8141 bool mBandClass3ASystem:1;
8142 bool mBandClass4:1;
8143 bool mBandClass5:1;
8144 bool mGSMDCS:1;
8145 bool mGSMPrimary:1;
8146 bool mGSMExtended:1;
8147 bool mBandClass6:1;
8148 bool mBandClass7:1;
8149 bool mBandClass8:1;
8150 bool mBandClass9:1;
8151 bool mBandClass10:1;
8152 bool mBandClass11:1;
8153 bool mGSM450:1;
8154 bool mGSM480:1;
8155 bool mGSM750:1;
8156 bool mGSM850:1;
8157 bool mGSMRailways:1;
8158 bool mGSMPCS:1;
8159 bool mWCDMA2100I:1;
8160 bool mWCDMAPCS1900:1;
8161 bool mWCDMADCS1800:1;
8162 bool mWCDMA1700US:1;
8163 bool mWCDMA850:1;
8164 bool mWCDMA800:1;
8165 bool mBandClass12:1;
8166 bool mBandClass14:1;
8167
8168 // Padding out 1 bits
8169 UINT8 mReserved1:1;
8170
8171 bool mBandClass15:1;
8172
8173 // Padding out 16 bits
8174 UINT8 mReserved2[2];
8175
8176 bool mWCDMA2600:1;
8177 bool mWCDMA900:1;
8178 bool mWCDMA1700Japan:1;
8179
8180 // Padding out 5 bits
8181 UINT8 mReserved3:5;
8182
8183 bool mBandClass16:1;
8184 bool mBandClass17:1;
8185 bool mBandClass18:1;
8186 bool mBandClass19:1;
8187
8188 // Padding out 4 bits
8189 UINT8 mReserved4:4;
8190 };
8191
8192 // Structure to describe indication TLV 0x13 for NAS SystemSelectionPrefIndication
8193 struct sNASSystemSelectionPrefIndication_PRL
8194 {
8195 eQMINASPRLPreferences mPRLPreference;
8196 };
8197
8198 // Structure to describe indication TLV 0x14 for NAS SystemSelectionPrefIndication
8199 struct sNASSystemSelectionPrefIndication_Roaming
8200 {
8201 eQMINASRoamingPreferences2 mRoamingPreference;
8202 };
8203
8204 // Structure to describe indication TLV 0x15 for NAS SystemSelectionPrefIndication
8205 struct sNASSystemSelectionPrefIndication_LTEBand
8206 {
8207 bool mEUTRABand1:1;
8208 bool mEUTRABand2:1;
8209 bool mEUTRABand3:1;
8210 bool mEUTRABand4:1;
8211 bool mEUTRABand5:1;
8212 bool mEUTRABand6:1;
8213 bool mEUTRABand7:1;
8214 bool mEUTRABand8:1;
8215 bool mEUTRABand9:1;
8216 bool mEUTRABand10:1;
8217 bool mEUTRABand11:1;
8218 bool mEUTRABand12:1;
8219 bool mEUTRABand13:1;
8220 bool mEUTRABand14:1;
8221
8222 // Padding out 2 bits
8223 UINT8 mReserved1:2;
8224
8225 bool mEUTRABand17:1;
8226 bool mEUTRABand18:1;
8227 bool mEUTRABand19:1;
8228 bool mEUTRABand20:1;
8229 bool mEUTRABand21:1;
8230
8231 // Padding out 2 bits
8232 UINT8 mReserved2:2;
8233
8234 bool mEUTRABand24:1;
8235 bool mEUTRABand25:1;
8236
8237 // Padding out 7 bits
8238 UINT8 mReserved3:7;
8239
8240 bool mEUTRABand33:1;
8241 bool mEUTRABand34:1;
8242 bool mEUTRABand35:1;
8243 bool mEUTRABand36:1;
8244 bool mEUTRABand37:1;
8245 bool mEUTRABand38:1;
8246 bool mEUTRABand39:1;
8247 bool mEUTRABand40:1;
8248 bool mEUTRABand41:1;
8249 bool mEUTRABand42:1;
8250 bool mEUTRABand43:1;
8251
8252 // Padding out 21 bits
8253 UINT8 mReserved4:5;
8254 UINT8 mReserved5[2];
8255 };
8256
8257 // Structure to describe indication TLV 0x16 for NAS SystemSelectionPrefIndication
8258 struct sNASSystemSelectionPrefIndication_NetworkSelection
8259 {
8260 eQMINASNetworkSelection mNetworkSelection;
8261 };
8262
8263 // Structure to describe indication TLV 0x18 for NAS SystemSelectionPrefIndication
8264 struct sNASSystemSelectionPrefIndication_Domain
8265 {
8266 eQMINASServiceDomainPrefs mServiceDomainPreference;
8267 };
8268
8269 // Structure to describe indication TLV 0x19 for NAS SystemSelectionPrefIndication
8270 struct sNASSystemSelectionPrefIndication_Acquisition
8271 {
8272 eQMINASAcquisitionOrder mAcquisitionOrderPreference;
8273 };
8274
8275 // Structure to describe indication TLV 0x1A for NAS SystemSelectionPrefIndication
8276 struct sNASSystemSelectionPrefIndication_TDSCDMABand
8277 {
8278 bool mTDSCDMABandA:1;
8279 bool mTDSCDMABandB:1;
8280 bool mTDSCDMABandC:1;
8281 bool mTDSCDMABandD:1;
8282 bool mTDSCDMABandE:1;
8283 bool mTDSCDMABandF:1;
8284
8285 // Padding out 58 bits
8286 UINT8 mReserved1:2;
8287 UINT8 mReserved2[7];
8288 };
8289
8290 // Structure to describe indication TLV 0x1B for NAS SystemSelectionPrefIndication
8291 struct sNASSystemSelectionPrefIndication_ManualPLMN
8292 {
8293 UINT16 mMobileCountryCode;
8294 UINT16 mMobileNetworkCode;
8295 INT8 mMNCIncludesPCSDigit;
8296 };
8297
8298 // Structure to describe indication TLV 0x1C for NAS SystemSelectionPrefIndication
8299 struct sNASSystemSelectionPrefIndication_AcquisitionOrder
8300 {
8301 UINT8 mNumberOfRadioInterfaces;
8302
8303 // This array must be the size specified by mNumberOfRadioInterfaces
8304 // eQMINASRadioInterfaces mRadioInterface[1];
8305 };
8306
8307 // Structure to describe request TLV 0x01 for NASSetDDTMPreference()
8308 struct sNASSetDDTMPreferenceRequest_DDTM
8309 {
8310 eQMINASDDTMPreferences mDDTMPreference;
8311 bool mSuppressL2ACK:1;
8312 bool mSuppress1xRegistrations:1;
8313 bool mIgnoreServiceOptionPages:1;
8314 bool mBlockMobileOriginatedSMSAndDBM:1;
8315
8316 // Padding out 12 bits
8317 UINT8 mReserved1:4;
8318 UINT8 mReserved2;
8319
8320 eQMINASServiceOptionActions mServiceOptionAction;
8321 UINT8 mNumberOfInstances;
8322
8323 // This array must be the size specified by mNumberOfInstances
8324 // UINT16 mServiceOption[1];
8325 };
8326
8327 // Structure to describe response TLV 0x01 for NASGetDDTMPreference()
8328 struct sNASGetDDTMPreferenceResponse_DDTM
8329 {
8330 eQMINASDDTMPreferences mDDTMPreference;
8331 bool mSuppressL2ACK:1;
8332 bool mSuppress1xRegistrations:1;
8333 bool mIgnoreServiceOptionPages:1;
8334 bool mBlockMobileOriginatedSMSAndDBM:1;
8335
8336 // Padding out 12 bits
8337 UINT8 mReserved1:4;
8338 UINT8 mReserved2;
8339
8340 eQMINASServiceOptionActions mServiceOptionAction;
8341 UINT8 mNumberOfInstances;
8342
8343 // This array must be the size specified by mNumberOfInstances
8344 // UINT16 mServiceOption[1];
8345 };
8346
8347 // Structure to describe indication TLV 0x01 for NAS DDTMPreferenceIndication
8348 struct sNASDDTMPreferenceIndication_DDTM
8349 {
8350 eQMINASDDTMPreferences mDDTMPreference;
8351 bool mSuppressL2ACK:1;
8352 bool mSuppress1xRegistrations:1;
8353 bool mIgnoreServiceOptionPages:1;
8354 bool mBlockMobileOriginatedSMSAndDBM:1;
8355
8356 // Padding out 12 bits
8357 UINT8 mReserved1:4;
8358 UINT8 mReserved2;
8359
8360 eQMINASServiceOptionActions mServiceOptionAction;
8361 UINT8 mNumberOfInstances;
8362
8363 // This array must be the size specified by mNumberOfInstances
8364 // UINT16 mServiceOption[1];
8365 };
8366
8367 // Structure to describe response TLV 0x10 for NASGetOperatorNameData()
8368 struct sNASGetOperatorNameDataResponse_ServiceProviderName
8369 {
8370 UINT8 mDisplayCondition;
8371 UINT8 mSPNLength;
8372
8373 // This array must be the size specified by mSPNLength
8374 // UINT8 mSPN[1];
8375 };
8376
8377 // Structure to describe response TLV 0x11 for NASGetOperatorNameData()
8378 struct sNASGetOperatorNameDataResponse_OperatorPLMNList
8379 {
8380 UINT16 mPLMNListLength;
8381
8382 struct sPLNM
8383 {
8384 char mMobileCountryCode[3];
8385 char mMobileNetworkCode[3];
8386 UINT16 mLocationAreaCode1;
8387 UINT16 mLocationAreaCode2;
8388 UINT8 mPLMNNameRecordIdentifier;
8389 };
8390
8391 // This array must be the size specified by mPLMNListLength
8392 // sPLNM mPLNMs[1];
8393 };
8394
8395 // Structure to describe response TLV 0x12 for NASGetOperatorNameData()
8396 struct sNASGetOperatorNameDataResponse_PLMNName
8397 {
8398 UINT8 mPLMNCount;
8399
8400 struct sPLMNName1
8401 {
8402 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8403 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8404 eQMINASPLMNNameSpareBits mPLMNLongBits;
8405 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8406 UINT8 mPLMNLongLength;
8407
8408 // This array must be the size specified by mPLMNLongLength
8409 // UINT8 mPLMNLong[1];
8410 };
8411
8412 struct sPLMNName2
8413 {
8414 UINT8 mPLMNShortLength;
8415
8416 // This array must be the size specified by mPLMNShortLength
8417 // UINT8 mPLMNShort[1];
8418 };
8419
8420 struct sPLMNName
8421 {
8422 sPLMNName1 mPLMNName1;
8423 sPLMNName2 mPLMNName2;
8424 };
8425
8426 // This array must be the size specified by mPLMNCount
8427 // sPLMNName mPLMNNames[1];
8428 };
8429
8430 // Structure to describe response TLV 0x13 for NASGetOperatorNameData()
8431 struct sNASGetOperatorNameDataResponse_OperatorStringName
8432 {
8433 // String is variable length, but must be size of the container
8434 // char mPLMNOperatorName[1];
8435 };
8436
8437 // Structure to describe response TLV 0x14 for NASGetOperatorNameData()
8438 struct sNASGetOperatorNameDataResponse_NITZInformation1
8439 {
8440 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8441 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8442 eQMINASPLMNNameSpareBits mPLMNLongBits;
8443 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8444 UINT8 mPLMNLongLength;
8445
8446 // This array must be the size specified by mPLMNLongLength
8447 // UINT8 mPLMNLong[1];
8448 };
8449
8450 struct sNASGetOperatorNameDataResponse_NITZInformation2
8451 {
8452 UINT8 mPLMNShortLength;
8453
8454 // This array must be the size specified by mPLMNShortLength
8455 // UINT8 mPLMNShort[1];
8456 };
8457
8458 struct sNASGetOperatorNameDataResponse_NITZInformation
8459 {
8460 sNASGetOperatorNameDataResponse_NITZInformation1 mNASGetOperatorNameDataResponse_NITZInformation1;
8461 sNASGetOperatorNameDataResponse_NITZInformation2 mNASGetOperatorNameDataResponse_NITZInformation2;
8462 };
8463
8464 // Structure to describe indication TLV 0x10 for NAS OperatorNameDataIndication
8465 struct sNASOperatorNameDataIndication_ServiceProviderName
8466 {
8467 UINT8 mDisplayCondition;
8468 UINT8 mSPNLength;
8469
8470 // This array must be the size specified by mSPNLength
8471 // UINT8 mSPN[1];
8472 };
8473
8474 // Structure to describe indication TLV 0x11 for NAS OperatorNameDataIndication
8475 struct sNASOperatorNameDataIndication_OperatorPLMNList
8476 {
8477 UINT16 mPLMNListLength;
8478
8479 struct sPLNM
8480 {
8481 char mMobileCountryCode[3];
8482 char mMobileNetworkCode[3];
8483 UINT16 mLocationAreaCode1;
8484 UINT16 mLocationAreaCode2;
8485 UINT8 mPLMNNameRecordIdentifier;
8486 };
8487
8488 // This array must be the size specified by mPLMNListLength
8489 // sPLNM mPLNMs[1];
8490 };
8491
8492 // Structure to describe indication TLV 0x12 for NAS OperatorNameDataIndication
8493 struct sNASOperatorNameDataIndication_PLMNName
8494 {
8495 UINT8 mPLMNCount;
8496
8497 struct sPLMNName1
8498 {
8499 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8500 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8501 eQMINASPLMNNameSpareBits mPLMNLongBits;
8502 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8503 UINT8 mPLMNLongLength;
8504
8505 // This array must be the size specified by mPLMNLongLength
8506 // UINT8 mPLMNLong[1];
8507 };
8508
8509 struct sPLMNName2
8510 {
8511 UINT8 mPLMNShortLength;
8512
8513 // This array must be the size specified by mPLMNShortLength
8514 // UINT8 mPLMNShort[1];
8515 };
8516
8517 struct sPLMNName
8518 {
8519 sPLMNName1 mPLMNName1;
8520 sPLMNName2 mPLMNName2;
8521 };
8522
8523 // This array must be the size specified by mPLMNCount
8524 // sPLMNName mPLMNNames[1];
8525 };
8526
8527 // Structure to describe indication TLV 0x13 for NAS OperatorNameDataIndication
8528 struct sNASOperatorNameDataIndication_OperatorStringName
8529 {
8530 // String is variable length, but must be size of the container
8531 // char mPLMNOperatorName[1];
8532 };
8533
8534 // Structure to describe indication TLV 0x14 for NAS OperatorNameDataIndication
8535 struct sNASOperatorNameDataIndication_NITZInformation1
8536 {
8537 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
8538 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
8539 eQMINASPLMNNameSpareBits mPLMNLongBits;
8540 eQMINASPLMNNameSpareBits mPLMNSpareBits;
8541 UINT8 mPLMNLongLength;
8542
8543 // This array must be the size specified by mPLMNLongLength
8544 // UINT8 mPLMNLong[1];
8545 };
8546
8547 struct sNASOperatorNameDataIndication_NITZInformation2
8548 {
8549 UINT8 mPLMNShortLength;
8550
8551 // This array must be the size specified by mPLMNShortLength
8552 // UINT8 mPLMNShort[1];
8553 };
8554
8555 struct sNASOperatorNameDataIndication_NITZInformation
8556 {
8557 sNASOperatorNameDataIndication_NITZInformation1 mNASOperatorNameDataIndication_NITZInformation1;
8558 sNASOperatorNameDataIndication_NITZInformation2 mNASOperatorNameDataIndication_NITZInformation2;
8559 };
8560
8561 // Structure to describe response TLV 0x10 for NASGetCSPPLMNMode()
8562 struct sNASGetCSPPLMNModeResponse_Mode
8563 {
8564 INT8 mRestrictManualPLMNSelection;
8565 };
8566
8567 // Structure to describe indication TLV 0x10 for NAS CSPPLMNModeIndication
8568 struct sNASCSPPLMNModeIndication_Mode
8569 {
8570 INT8 mRestrictManualPLMNSelection;
8571 };
8572
8573 // Structure to describe request TLV 0x01 for NASUpdateAKEY()
8574 struct sNASUpdateAKEYRequest_AKEY
8575 {
8576 char mAKEY[26];
8577 };
8578
8579 // Structure to describe request TLV 0x01 for NASGet3GPP2SubscriptionInfo()
8580 struct sNASGet3GPP2SubscriptionInfoRequest_NAMID
8581 {
8582 UINT8 mNAMID;
8583 };
8584
8585 // Structure to describe request TLV 0x10 for NASGet3GPP2SubscriptionInfo()
8586 struct sNASGet3GPP2SubscriptionInfoRequest_InfoMask
8587 {
8588 bool mNAMName:1;
8589 bool mDirectoryNumber:1;
8590 bool mHomeID:1;
8591 bool mMINBasedIMSI:1;
8592 bool mTrueIMSI:1;
8593 bool mCDMAChannel:1;
8594 bool mMobileDirectoryNumber:1;
8595
8596 // Padding out 25 bits
8597 UINT8 mReserved1:1;
8598 UINT8 mReserved2[3];
8599 };
8600
8601 // Structure to describe response TLV 0x10 for NASGet3GPP2SubscriptionInfo()
8602 struct sNASGet3GPP2SubscriptionInfoResponse_NAMName
8603 {
8604 UINT8 mNAMNameLength;
8605
8606 // This array must be the size specified by mNAMNameLength
8607 // char mNAMName[1];
8608 };
8609
8610 // Structure to describe response TLV 0x11 for NASGet3GPP2SubscriptionInfo()
8611 struct sNASGet3GPP2SubscriptionInfoResponse_DirectoryNumber
8612 {
8613 UINT8 mDirectoryNumberLength;
8614
8615 // This array must be the size specified by mDirectoryNumberLength
8616 // char mDirectoryNumber[1];
8617 };
8618
8619 // Structure to describe response TLV 0x12 for NASGet3GPP2SubscriptionInfo()
8620 struct sNASGet3GPP2SubscriptionInfoResponse_HomeID
8621 {
8622 UINT8 mHomeIDCount;
8623
8624 struct sHomeID
8625 {
8626 UINT16 mSystemID;
8627 UINT16 mNetworkID;
8628 };
8629
8630 // This array must be the size specified by mHomeIDCount
8631 // sHomeID mHomeIDs[1];
8632 };
8633
8634 // Structure to describe response TLV 0x13 for NASGet3GPP2SubscriptionInfo()
8635 struct sNASGet3GPP2SubscriptionInfoResponse_MINBasedIMSI
8636 {
8637 char mMobileCountryCode[3];
8638 char mIMSI11_12[2];
8639 char mIMSIS1[7];
8640 char mIMSIS2[3];
8641 UINT8 mIMSIAddressNumber;
8642 };
8643
8644 // Structure to describe response TLV 0x14 for NASGet3GPP2SubscriptionInfo()
8645 struct sNASGet3GPP2SubscriptionInfoResponse_TrueIMSI
8646 {
8647 char mMobileCountryCode[3];
8648 char mIMSI11_12[2];
8649 char mIMSIS1[7];
8650 char mIMSIS2[3];
8651 UINT8 mIMSIAddressNumber;
8652 };
8653
8654 // Structure to describe response TLV 0x15 for NASGet3GPP2SubscriptionInfo()
8655 struct sNASGet3GPP2SubscriptionInfoResponse_CDMAChannel
8656 {
8657 UINT16 mAChannelForPrimaryCarrier;
8658 UINT16 mBChannelForPrimaryCarrier;
8659 UINT16 mAChannelForSecondaryCarrier;
8660 UINT16 mBChannelForSecondaryCarrier;
8661 };
8662
8663 // Structure to describe response TLV 0x16 for NASGet3GPP2SubscriptionInfo()
8664 struct sNASGet3GPP2SubscriptionInfoResponse_MDN
8665 {
8666 UINT8 mMobileDirectoryNumberLength;
8667
8668 // This array must be the size specified by mMobileDirectoryNumberLength
8669 // char mMobileDirectoryNumber[1];
8670 };
8671
8672 // Structure to describe request TLV 0x01 for NASSet3GPP2SubscriptionInfo()
8673 struct sNASSet3GPP2SubscriptionInfoRequest_NAMID
8674 {
8675 UINT8 mNAMID;
8676 };
8677
8678 // Structure to describe request TLV 0x10 for NASSet3GPP2SubscriptionInfo()
8679 struct sNASSet3GPP2SubscriptionInfoRequest_DirectoryNumber
8680 {
8681 UINT8 mDirectoryNumberLength;
8682
8683 // This array must be the size specified by mDirectoryNumberLength
8684 // char mDirectoryNumber[1];
8685 };
8686
8687 // Structure to describe request TLV 0x11 for NASSet3GPP2SubscriptionInfo()
8688 struct sNASSet3GPP2SubscriptionInfoRequest_HomeID
8689 {
8690 UINT8 mHomeIDCount;
8691
8692 struct sHomeID
8693 {
8694 UINT16 mSystemID;
8695 UINT16 mNetworkID;
8696 };
8697
8698 // This array must be the size specified by mHomeIDCount
8699 // sHomeID mHomeIDs[1];
8700 };
8701
8702 // Structure to describe request TLV 0x12 for NASSet3GPP2SubscriptionInfo()
8703 struct sNASSet3GPP2SubscriptionInfoRequest_MINBasedIMSI
8704 {
8705 char mMobileCountryCode[3];
8706 char mIMSI11_12[2];
8707 char mIMSIS1[7];
8708 char mIMSIS2[3];
8709 UINT8 mIMSIAddressNumber;
8710 };
8711
8712 // Structure to describe request TLV 0x13 for NASSet3GPP2SubscriptionInfo()
8713 struct sNASSet3GPP2SubscriptionInfoRequest_TrueIMSI
8714 {
8715 char mMobileCountryCode[3];
8716 char mIMSI11_12[2];
8717 char mIMSIS1[7];
8718 char mIMSIS2[3];
8719 UINT8 mIMSIAddressNumber;
8720 };
8721
8722 // Structure to describe request TLV 0x14 for NASSet3GPP2SubscriptionInfo()
8723 struct sNASSet3GPP2SubscriptionInfoRequest_CDMAChannel
8724 {
8725 UINT16 mAChannelForPrimaryCarrier;
8726 UINT16 mBChannelForPrimaryCarrier;
8727 UINT16 mAChannelForSecondaryCarrier;
8728 UINT16 mBChannelForSecondaryCarrier;
8729 };
8730
8731 // Structure to describe request TLV 0x15 for NASSet3GPP2SubscriptionInfo()
8732 struct sNASSet3GPP2SubscriptionInfoRequest_NAMName
8733 {
8734 UINT8 mNAMNameLength;
8735
8736 // This array must be the size specified by mNAMNameLength
8737 // char mNAMName[1];
8738 };
8739
8740 // Structure to describe request TLV 0x16 for NASSet3GPP2SubscriptionInfo()
8741 struct sNASSet3GPP2SubscriptionInfoRequest_MDN
8742 {
8743 UINT8 mMobileDirectoryNumberLength;
8744
8745 // This array must be the size specified by mMobileDirectoryNumberLength
8746 // char mMobileDirectoryNumber[1];
8747 };
8748
8749 // Structure to describe response TLV 0x10 for NASGetMobileCAIRevision()
8750 struct sNASGetMobileCAIRevisionResponse_CAIRevision
8751 {
8752 eQMINASRevision mCAIRevision;
8753 };
8754
8755 // Structure to describe response TLV 0x10 for NASGetRTREConfig()
8756 struct sNASGetRTREConfigResponse_CurrentRTREConfig
8757 {
8758 eQMINASRTREConfiguration mRTREConfiguration;
8759 };
8760
8761 // Structure to describe response TLV 0x11 for NASGetRTREConfig()
8762 struct sNASGetRTREConfigResponse_RTREConfigPreference
8763 {
8764 eQMINASRTREConfiguration mRTREConfiguration;
8765 };
8766
8767 // Structure to describe request TLV 0x01 for NASSetRTREConfig()
8768 struct sNASSetRTREConfigRequest_RTREConfig
8769 {
8770 eQMINASRTREConfiguration mRTREConfiguration;
8771 };
8772
8773 // Structure to describe response TLV 0x10 for NASGetCellLocationInfo()
8774 struct sNASGetCellLocationInfoResponse_GERANInfo
8775 {
8776 UINT32 mCellID;
8777
8778 // Bitfield arrays are not possible in c, unrolling the array
8779 UINT8 mMobileCountryCode0:4;
8780 UINT8 mMobileCountryCode1:4;
8781 UINT8 mMobileCountryCode2:4;
8782
8783 // Bitfield arrays are not possible in c, unrolling the array
8784 UINT8 mMobileNetworkCode0:4;
8785 UINT8 mMobileNetworkCode1:4;
8786 UINT8 mMobileNetworkCode2:4;
8787
8788 UINT16 mLocationAreaCode;
8789 UINT16 mUTRAAbsoluteRFChannelNumber;
8790 UINT8 mBCC:3;
8791 UINT8 mNCC:3;
8792
8793 // Padding out 2 bits
8794 UINT8 mReserved1:2;
8795
8796 UINT32 mTimingAdvance;
8797 eQMINASRXLevel mRXLevel;
8798 UINT8 mNMRCellCount;
8799
8800 struct sNMRCell
8801 {
8802 UINT32 mCellID;
8803
8804 // Bitfield arrays are not possible in c, unrolling the array
8805 UINT8 mPLMNMobileCountryCode0:4;
8806 UINT8 mPLMNMobileCountryCode1:4;
8807 UINT8 mPLMNMobileCountryCode2:4;
8808
8809 // Bitfield arrays are not possible in c, unrolling the array
8810 UINT8 mPLMNMobileNetworkCode0:4;
8811 UINT8 mPLMNMobileNetworkCode1:4;
8812 UINT8 mPLMNMobileNetworkCode2:4;
8813
8814 UINT16 mLocationAreaCode;
8815 UINT16 mUTRAAbsoluteRFChannelNumber;
8816 UINT8 mBaseStationIdentityCodeBCC:3;
8817 UINT8 mBaseStationIdentityCodeNCC:3;
8818
8819 // Padding out 2 bits
8820 UINT8 mReserved2:2;
8821
8822 eQMINASRXLevel mRXLevel;
8823 };
8824
8825 // This array must be the size specified by mNMRCellCount
8826 // sNMRCell mNMRCells[1];
8827 };
8828
8829 // Structure to describe response TLV 0x11 for NASGetCellLocationInfo()
8830 struct sNASGetCellLocationInfoResponse_UMTSInfo1
8831 {
8832 UINT32 mCellID;
8833
8834 // Bitfield arrays are not possible in c, unrolling the array
8835 UINT8 mMobileCountryCode0:4;
8836 UINT8 mMobileCountryCode1:4;
8837 UINT8 mMobileCountryCode2:4;
8838
8839 // Bitfield arrays are not possible in c, unrolling the array
8840 UINT8 mMobileNetworkCode0:4;
8841 UINT8 mMobileNetworkCode1:4;
8842 UINT8 mMobileNetworkCode2:4;
8843
8844 UINT16 mLocationAreaCode;
8845 UINT16 mUTRAAbsoluteRFChannelNumber;
8846 UINT16 mPrimaryScramblingCode;
8847 INT16 mReceivedSignalCodePower;
8848 UINT16 mECIO;
8849 UINT8 mUTRAUMTSMonitoredCellCount;
8850
8851 struct sUMTSMonitoredCell
8852 {
8853 UINT16 mUTRAAbsoluteRFChannelNumber;
8854 UINT16 mPrimaryScramblingCode;
8855 INT16 mReceivedSignalCodePower;
8856 UINT16 mECIO;
8857 };
8858
8859 // This array must be the size specified by mUTRAUMTSMonitoredCellCount
8860 // sUMTSMonitoredCell mUMTSMonitoredCells[1];
8861 };
8862
8863 struct sNASGetCellLocationInfoResponse_UMTSInfo2
8864 {
8865 UINT8 mGERANNBRCellCount;
8866
8867 struct sGERANNBRCell
8868 {
8869 UINT16 mAbsoluteRFChannelNumber;
8870 UINT8 mNetworkColorCode;
8871 UINT8 mBaseStationColorCode;
8872 INT16 mRSSI;
8873 };
8874
8875 // This array must be the size specified by mGERANNBRCellCount
8876 // sGERANNBRCell mGERANNBRCells[1];
8877 };
8878
8879 struct sNASGetCellLocationInfoResponse_UMTSInfo
8880 {
8881 sNASGetCellLocationInfoResponse_UMTSInfo1 mNASGetCellLocationInfoResponse_UMTSInfo1;
8882 sNASGetCellLocationInfoResponse_UMTSInfo2 mNASGetCellLocationInfoResponse_UMTSInfo2;
8883 };
8884
8885 // Structure to describe response TLV 0x12 for NASGetCellLocationInfo()
8886 struct sNASGetCellLocationInfoResponse_CDMAInfo
8887 {
8888 UINT16 mSystemID;
8889 UINT16 mNetworkID;
8890 UINT16 mBaseStationID;
8891 UINT16 mReferencePN;
8892 INT32 mLatitude;
8893 INT32 mLongitude;
8894 };
8895
8896 // Structure to describe response TLV 0x13 for NASGetCellLocationInfo()
8897 struct sNASGetCellLocationInfoResponse_IntrafrequencyLTEInfo
8898 {
8899 INT8 mUEInIdleMode;
8900
8901 // Bitfield arrays are not possible in c, unrolling the array
8902 UINT8 mMobileCountryCode0:4;
8903 UINT8 mMobileCountryCode1:4;
8904 UINT8 mMobileCountryCode2:4;
8905
8906 // Bitfield arrays are not possible in c, unrolling the array
8907 UINT8 mMobileNetworkCode0:4;
8908 UINT8 mMobileNetworkCode1:4;
8909 UINT8 mMobileNetworkCode2:4;
8910
8911 UINT16 mTrackingAreaCode;
8912 UINT32 mGlobalCellID;
8913 UINT16 mEUTRAAbsoluteRFChannelNumber;
8914 UINT16 mServingCellID;
8915 UINT8 mCellReselectionPriority;
8916 UINT8 mSNonIntraSearchThreshold;
8917 UINT8 mServingCellLowThreshold;
8918 UINT8 mSIntraSearchThreshold;
8919 UINT8 mCellCount;
8920
8921 struct sCell
8922 {
8923 UINT16 mPhysicalCellID;
8924 INT16 mRSRQ;
8925 INT16 mRSRP;
8926 INT16 mRSSI;
8927 INT16 mCellSelectionRXLevel;
8928 };
8929
8930 // This array must be the size specified by mCellCount
8931 // sCell mCells[1];
8932 };
8933
8934 // Structure to describe response TLV 0x14 for NASGetCellLocationInfo()
8935 struct sNASGetCellLocationInfoResponse_InterfrequencyLTEInfo
8936 {
8937 INT8 mUEInIdleMode;
8938 UINT8 mFrequencyCount;
8939
8940 struct sFrequency
8941 {
8942 UINT16 mEUTRAAbsoluteRFChannelNumber;
8943 UINT8 mCellSelectionRXLevelLowThreshold;
8944 UINT8 mCellSelectionRXLevelHighThreshold;
8945 UINT8 mCellReselectionPriority;
8946 UINT8 mCellCount;
8947
8948 struct sCell
8949 {
8950 UINT16 mPhysicalCellID;
8951 INT16 mRSRQ;
8952 INT16 mRSRP;
8953 INT16 mRSSI;
8954 INT16 mCellSelectionRXLevel;
8955 };
8956
8957 // This array must be the size specified by mCellCount
8958 // sCell mCells[1];
8959 };
8960
8961 // This array must be the size specified by mFrequencyCount
8962 // sFrequency mFrequencys[1];
8963 };
8964
8965 // Structure to describe response TLV 0x15 for NASGetCellLocationInfo()
8966 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringGSM
8967 {
8968 INT8 mUEInIdleMode;
8969 UINT8 mFrequencyCount;
8970
8971 struct sFrequency
8972 {
8973 UINT8 mCellReselectionPriority;
8974 UINT8 mCellReselectionHighThreshold;
8975 UINT8 mCellReselectionLowThreshold;
8976
8977 // Bitfield arrays are not possible in c, unrolling the array
8978 bool mNCCPermitted0:1;
8979 bool mNCCPermitted1:1;
8980 bool mNCCPermitted2:1;
8981 bool mNCCPermitted3:1;
8982 bool mNCCPermitted4:1;
8983 bool mNCCPermitted5:1;
8984 bool mNCCPermitted6:1;
8985 bool mNCCPermitted7:1;
8986
8987 UINT8 mCellCount;
8988
8989 struct sCell
8990 {
8991 UINT16 mAbsoluteRFChannelNumber;
8992 INT8 mBandIs1900;
8993 INT8 mCellIDValid;
8994 UINT8 mBCC:3;
8995 UINT8 mNCC:3;
8996
8997 // Padding out 2 bits
8998 UINT8 mReserved1:2;
8999
9000 INT16 mRSSI;
9001 INT16 mCellSelectionRXLevel;
9002 };
9003
9004 // This array must be the size specified by mCellCount
9005 // sCell mCells[1];
9006 };
9007
9008 // This array must be the size specified by mFrequencyCount
9009 // sFrequency mFrequencys[1];
9010 };
9011
9012 // Structure to describe response TLV 0x16 for NASGetCellLocationInfo()
9013 struct sNASGetCellLocationInfoResponse_LTEInfoNeighboringWCDMA
9014 {
9015 INT8 mUEInIdleMode;
9016 UINT8 mFrequencyCount;
9017
9018 struct sFrequency
9019 {
9020 UINT16 mUTRAAbsoluteRFChannelNumber;
9021 UINT8 mCellReselectionPriority;
9022 UINT8 mCellReselectionHighThreshold;
9023 UINT8 mCellReselectionLowThreshold;
9024 UINT8 mCellCount;
9025
9026 struct sCell
9027 {
9028 UINT16 mPrimaryScramblingCode;
9029 INT16 mCPICHRSCP;
9030 INT16 mCPICHEcNo;
9031 INT16 mCellSelectionRXLevel;
9032 };
9033
9034 // This array must be the size specified by mCellCount
9035 // sCell mCells[1];
9036 };
9037
9038 // This array must be the size specified by mFrequencyCount
9039 // sFrequency mFrequencys[1];
9040 };
9041
9042 // Structure to describe response TLV 0x17 for NASGetCellLocationInfo()
9043 struct sNASGetCellLocationInfoResponse_UMTSCellID
9044 {
9045 UINT32 mCellID;
9046 };
9047
9048 // Structure to describe request TLV 0x01 for NASGetPLMNName()
9049 struct sNASGetPLMNNameRequest_PLMN
9050 {
9051 UINT16 mMobileCountryCode;
9052 UINT16 mMobileNetworkCode;
9053 };
9054
9055 // Structure to describe request TLV 0x10 for NASGetPLMNName()
9056 struct sNASGetPLMNNameRequest_SupressSIMError
9057 {
9058 INT8 mSIMInitNotChecked;
9059 };
9060
9061 // Structure to describe response TLV 0x10 for NASGetPLMNName()
9062 struct sNASGetPLMNNameResponse_Name1
9063 {
9064 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
9065 UINT8 mSPNLength;
9066
9067 // This array must be the size specified by mSPNLength
9068 // UINT8 mSPN[1];
9069 };
9070
9071 struct sNASGetPLMNNameResponse_Name2
9072 {
9073 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
9074 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
9075 eQMINASPLMNNameSpareBits mPLMNSpareBits;
9076 UINT8 mPLMNShortLength;
9077
9078 // This array must be the size specified by mPLMNShortLength
9079 // UINT8 mPLMNShort[1];
9080 };
9081
9082 struct sNASGetPLMNNameResponse_Name3
9083 {
9084 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
9085 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
9086 eQMINASPLMNNameSpareBits mPLMNLongBits;
9087 UINT8 mPLMNLongLength;
9088
9089 // This array must be the size specified by mPLMNLongLength
9090 // UINT8 mPLMNLong[1];
9091 };
9092
9093 struct sNASGetPLMNNameResponse_Name
9094 {
9095 sNASGetPLMNNameResponse_Name1 mNASGetPLMNNameResponse_Name1;
9096 sNASGetPLMNNameResponse_Name2 mNASGetPLMNNameResponse_Name2;
9097 sNASGetPLMNNameResponse_Name3 mNASGetPLMNNameResponse_Name3;
9098 };
9099
9100 // Structure to describe request TLV 0x01 for NASBindSubscription()
9101 struct sNASBindSubscriptionRequest_SubscriptionType
9102 {
9103 eQMINASSubscriptionType mSubscriptionType;
9104 };
9105
9106 // Structure to describe indication TLV 0x10 for NAS ManagedRoamingIndication
9107 struct sNASManagedRoamingIndication_RadioInterface
9108 {
9109 eQMINASRadioInterfaces mRadioInterface;
9110 };
9111
9112 // Structure to describe indication TLV 0x10 for NAS DualStandbyPrefIndication
9113 struct sNASDualStandbyPrefIndication_StandbyPreference
9114 {
9115 eQMINASStandbyPreference mStandbyPreference;
9116 eQMINASSubscriptionType mPrioritySubscription;
9117 eQMINASSubscriptionType mActiveSubscription;
9118 eQMINASSubscriptionType mDefaultDataSubscription;
9119 };
9120
9121 // Structure to describe indication TLV 0x10 for NAS SubscriptionInfoIndication
9122 struct sNASSubscriptionInfoIndication_PrioritySubscriptionInfo
9123 {
9124 eQMINASSubscriptionType mSubscriptionType;
9125 };
9126
9127 // Structure to describe indication TLV 0x11 for NAS SubscriptionInfoIndication
9128 struct sNASSubscriptionInfoIndication_ActiveSubscriptionInfo
9129 {
9130 eQMINASActiveSubscription mActiveSubscription;
9131 };
9132
9133 // Structure to describe indication TLV 0x12 for NAS SubscriptionInfoIndication
9134 struct sNASSubscriptionInfoIndication_DefaultDataSubscriptionInfo
9135 {
9136 INT8 mDefaultDataSubscription;
9137 };
9138
9139 // Structure to describe response TLV 0x10 for NASGetModePref()
9140 struct sNASGetModePrefResponse_ModePreferenceForIDX0
9141 {
9142 bool mCDMA1x:1;
9143 bool mCDMA1xEVDO:1;
9144 bool mGSM:1;
9145 bool mUMTS:1;
9146 bool mLTE:1;
9147 bool mTDSCDMA:1;
9148
9149 // Padding out 10 bits
9150 UINT8 mReserved1:2;
9151 UINT8 mReserved2;
9152 };
9153
9154 // Structure to describe response TLV 0x11 for NASGetModePref()
9155 struct sNASGetModePrefResponse_ModePreferenceForIDX1
9156 {
9157 bool mCDMA1x:1;
9158 bool mCDMA1xEVDO:1;
9159 bool mGSM:1;
9160 bool mUMTS:1;
9161 bool mLTE:1;
9162 bool mTDSCDMA:1;
9163
9164 // Padding out 10 bits
9165 UINT8 mReserved1:2;
9166 UINT8 mReserved2;
9167 };
9168
9169 // Structure to describe request TLV 0x10 for NASSetDualStandbyPreference()
9170 struct sNASSetDualStandbyPreferenceRequest_StandbyPreference
9171 {
9172 eQMINASStandbyPreference mStandbyPreference;
9173 };
9174
9175 // Structure to describe request TLV 0x11 for NASSetDualStandbyPreference()
9176 struct sNASSetDualStandbyPreferenceRequest_PrioritySubs
9177 {
9178 eQMINASSubscriptionType mSubscriptionType;
9179 };
9180
9181 // Structure to describe request TLV 0x12 for NASSetDualStandbyPreference()
9182 struct sNASSetDualStandbyPreferenceRequest_DefaultDataSubs
9183 {
9184 eQMINASSubscriptionType mSubscriptionType;
9185 };
9186
9187 // Structure to describe indication TLV 0x01 for NAS NetworkTimeIndication
9188 struct sNASNetworkTimeIndication_UniversalTime
9189 {
9190 UINT16 mYear;
9191 UINT8 mMonth;
9192 UINT8 mDay;
9193 UINT8 mHour;
9194 UINT8 mMinute;
9195 UINT8 mSecond;
9196 eQMINASDayOfWeek mDayOfWeek;
9197 };
9198
9199 // Structure to describe indication TLV 0x10 for NAS NetworkTimeIndication
9200 struct sNASNetworkTimeIndication_TimeZone
9201 {
9202 INT8 mTimeZoneOffset;
9203 };
9204
9205 // Structure to describe indication TLV 0x11 for NAS NetworkTimeIndication
9206 struct sNASNetworkTimeIndication_DaylightSavingAdjustment
9207 {
9208 eQMINASDaylightSavingsAdjustment mDaylightSavingsAdjustment;
9209 };
9210
9211 // Structure to describe indication TLV 0x12 for NAS NetworkTimeIndication
9212 struct sNASNetworkTimeIndication_RadioInterface
9213 {
9214 eQMINASRadioInterfaces mRadioInterface;
9215 };
9216
9217 // Structure to describe response TLV 0x10 for NASGetSystemInfo()
9218 struct sNASGetSystemInfoResponse_CDMAServiceStatusInfo
9219 {
9220 eQMINASServiceStatus mServiceStatus;
9221 eQMINASPreferredDataBath mPreferredDataPath;
9222 };
9223
9224 // Structure to describe response TLV 0x11 for NASGetSystemInfo()
9225 struct sNASGetSystemInfoResponse_CDMA1xEVDOServiceStatusInfo
9226 {
9227 eQMINASServiceStatus mServiceStatus;
9228 eQMINASPreferredDataBath mPreferredDataPath;
9229 };
9230
9231 // Structure to describe response TLV 0x12 for NASGetSystemInfo()
9232 struct sNASGetSystemInfoResponse_GSMServiceStatusInfo
9233 {
9234 eQMINASServiceStatus mServiceStatus;
9235 eQMINASServiceStatus mTrueServiceStatus;
9236 eQMINASPreferredDataBath mPreferredDataPath;
9237 };
9238
9239 // Structure to describe response TLV 0x13 for NASGetSystemInfo()
9240 struct sNASGetSystemInfoResponse_WCDMAServiceStatusInfo
9241 {
9242 eQMINASServiceStatus mServiceStatus;
9243 eQMINASServiceStatus mTrueServiceStatus;
9244 eQMINASPreferredDataBath mPreferredDataPath;
9245 };
9246
9247 // Structure to describe response TLV 0x14 for NASGetSystemInfo()
9248 struct sNASGetSystemInfoResponse_LTEServiceStatusInfo
9249 {
9250 eQMINASServiceStatus mServiceStatus;
9251 eQMINASServiceStatus mTrueServiceStatus;
9252 eQMINASPreferredDataBath mPreferredDataPath;
9253 };
9254
9255 // Structure to describe response TLV 0x15 for NASGetSystemInfo()
9256 struct sNASGetSystemInfoResponse_CDMASystemInfo
9257 {
9258 INT8 mServiceDomainValid;
9259 eQMINASSystemServiceCapabilities mServiceDomain;
9260 INT8 mServiceCapabilityValid;
9261 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9262 INT8 mRoamStatusValid;
9263 eQMINASRoamStatus mRoamStatus;
9264 INT8 mSystemForbiddenValid;
9265 eQMINASSystemForbidden mSystemForbidden;
9266 INT8 mSystemPRLMatchValid;
9267 eQMINASPRLIndicator mSystemPRLMatch;
9268 INT8 mPRevInUseValid;
9269 eQMINASRevision mProtocolRevisionInUse;
9270 INT8 mBaseStationPRevValid;
9271 eQMINASRevision mBaseStationProtocolRevision;
9272 INT8 mConcurrentServiceSupportedValid;
9273 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
9274 INT8 mCDMASystemIDValid;
9275 UINT16 mSystemID;
9276 UINT16 mNetworkID;
9277 INT8 mBaseStationInfoValid;
9278 UINT16 mBaseStationID;
9279 INT32 mLatitude;
9280 INT32 mLongitude;
9281 INT8 mPacketZoneValid;
9282 UINT16 mPacketZone;
9283 INT8 mNetworkIDValid;
9284 char mMobileCountryCode[3];
9285 char mMobileNetworkCode[3];
9286 };
9287
9288 // Structure to describe response TLV 0x16 for NASGetSystemInfo()
9289 struct sNASGetSystemInfoResponse_CDMA1xEVDOSystemInfo
9290 {
9291 INT8 mServiceDomainValid;
9292 eQMINASSystemServiceCapabilities mServiceDomain;
9293 INT8 mServiceCapabilityValid;
9294 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9295 INT8 mRoamStatusValid;
9296 eQMINASRoamStatus mRoamStatus;
9297 INT8 mSystemForbiddenValid;
9298 eQMINASSystemForbidden mSystemForbidden;
9299 INT8 mSystemPRLMatchValid;
9300 eQMINASPRLIndicator mSystemPRLMatch;
9301 INT8 mCDMA1xEVDOPersonalityValid;
9302 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
9303 INT8 mCDMA1xEVDOActiveProtocolValid;
9304 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
9305 INT8 mSectorIDValid;
9306 UINT8 mSectorID[16];
9307 };
9308
9309 // Structure to describe response TLV 0x17 for NASGetSystemInfo()
9310 struct sNASGetSystemInfoResponse_GSMSystemInfo
9311 {
9312 INT8 mServiceDomainValid;
9313 eQMINASSystemServiceCapabilities mServiceDomain;
9314 INT8 mServiceCapabilityValid;
9315 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9316 INT8 mRoamStatusValid;
9317 eQMINASRoamStatus mRoamStatus;
9318 INT8 mSystemForbiddenValid;
9319 eQMINASSystemForbidden mSystemForbidden;
9320 INT8 mLocationAreaCodeValid;
9321 UINT16 mLocationAreaCode;
9322 INT8 mCellIDValid;
9323 UINT32 mCellID;
9324 INT8 mRegistrationRejectInformationValid;
9325 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9326 UINT8 mRejectCause;
9327 INT8 mNetworkIDValid;
9328 char mMobileCountryCode[3];
9329 char mMobileNetworkCode[3];
9330 INT8 mEGPRSSupportValid;
9331 eQMINASEGPRSSupport mEGPRSSupport;
9332 INT8 mDTMSupportValid;
9333 eQMINASDTMSupport mDTMSupport;
9334 };
9335
9336 // Structure to describe response TLV 0x18 for NASGetSystemInfo()
9337 struct sNASGetSystemInfoResponse_WCDMASystemInfo
9338 {
9339 INT8 mServiceDomainValid;
9340 eQMINASSystemServiceCapabilities mServiceDomain;
9341 INT8 mServiceCapabilityValid;
9342 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9343 INT8 mRoamStatusValid;
9344 eQMINASRoamStatus mRoamStatus;
9345 INT8 mSystemForbiddenValid;
9346 eQMINASSystemForbidden mSystemForbidden;
9347 INT8 mLocationAreaCodeValid;
9348 UINT16 mLocationAreaCode;
9349 INT8 mCellIDValid;
9350 UINT32 mCellID;
9351 INT8 mRegistrationRejectInformationValid;
9352 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9353 UINT8 mRejectCause;
9354 INT8 mNetworkIDValid;
9355 char mMobileCountryCode[3];
9356 char mMobileNetworkCode[3];
9357 INT8 mHighSpeedCallStatusValid;
9358 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9359 INT8 mHighSpeedServiceIndicationValid;
9360 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9361 INT8 mPrimaryScramblingCodeValue;
9362 UINT16 mPrimaryScramblingCode;
9363 };
9364
9365 // Structure to describe response TLV 0x19 for NASGetSystemInfo()
9366 struct sNASGetSystemInfoResponse_LTESystemInfo
9367 {
9368 INT8 mServiceDomainValid;
9369 eQMINASSystemServiceCapabilities mServiceDomain;
9370 INT8 mServiceCapabilityValid;
9371 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9372 INT8 mRoamStatusValid;
9373 eQMINASRoamStatus mRoamStatus;
9374 INT8 mSystemForbiddenValid;
9375 eQMINASSystemForbidden mSystemForbidden;
9376 INT8 mLocationAreaCodeValid;
9377 UINT16 mLocationAreaCode;
9378 INT8 mCellIDValid;
9379 UINT32 mCellID;
9380 INT8 mRegistrationRejectInformationValid;
9381 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9382 UINT8 mRejectCause;
9383 INT8 mNetworkIDValid;
9384 char mMobileCountryCode[3];
9385 char mMobileNetworkCode[3];
9386 INT8 mTrackingAreaCodeValid;
9387 UINT16 mTrackingAreaCode;
9388 };
9389
9390 // Structure to describe response TLV 0x1A for NASGetSystemInfo()
9391 struct sNASGetSystemInfoResponse_MoreCDMASystemInfo
9392 {
9393 UINT16 mGeoSystemIndex;
9394 UINT16 mRegistrationPeriod;
9395 };
9396
9397 // Structure to describe response TLV 0x1B for NASGetSystemInfo()
9398 struct sNASGetSystemInfoResponse_MoreCDMA1xEVDOSystemInfo
9399 {
9400 UINT16 mGeoSystemIndex;
9401 };
9402
9403 // Structure to describe response TLV 0x1C for NASGetSystemInfo()
9404 struct sNASGetSystemInfoResponse_MoreGSMSystemInfo
9405 {
9406 UINT16 mGeoSystemIndex;
9407 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9408 };
9409
9410 // Structure to describe response TLV 0x1D for NASGetSystemInfo()
9411 struct sNASGetSystemInfoResponse_MoreWCDMASystemInfo
9412 {
9413 UINT16 mGeoSystemIndex;
9414 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9415 };
9416
9417 // Structure to describe response TLV 0x1E for NASGetSystemInfo()
9418 struct sNASGetSystemInfoResponse_MoreLTESystemInfo
9419 {
9420 UINT16 mGeoSystemIndex;
9421 };
9422
9423 // Structure to describe response TLV 0x1F for NASGetSystemInfo()
9424 struct sNASGetSystemInfoResponse_GSMCallBarring
9425 {
9426 eQMINASCallBarringStatus mCSCallBarringStatus;
9427 eQMINASCallBarringStatus mPSCallBarringStatus;
9428 };
9429
9430 // Structure to describe response TLV 0x20 for NASGetSystemInfo()
9431 struct sNASGetSystemInfoResponse_WCDMACallBarring
9432 {
9433 eQMINASCallBarringStatus mCSCallBarringStatus;
9434 eQMINASCallBarringStatus mPSCallBarringStatus;
9435 };
9436
9437 // Structure to describe response TLV 0x21 for NASGetSystemInfo()
9438 struct sNASGetSystemInfoResponse_LTEVoice
9439 {
9440 INT8 mLTEVoiceSupported;
9441 };
9442
9443 // Structure to describe response TLV 0x22 for NASGetSystemInfo()
9444 struct sNASGetSystemInfoResponse_GSMCipher
9445 {
9446 eQMINASServiceDomains mCipheringOnServiceDomain;
9447 };
9448
9449 // Structure to describe response TLV 0x23 for NASGetSystemInfo()
9450 struct sNASGetSystemInfoResponse_WCDMACipher
9451 {
9452 eQMINASServiceDomains mCipheringOnServiceDomain;
9453 };
9454
9455 // Structure to describe response TLV 0x24 for NASGetSystemInfo()
9456 struct sNASGetSystemInfoResponse_TDSCDMAServiceStatusInfo
9457 {
9458 eQMINASServiceStatus mServiceStatus;
9459 eQMINASServiceStatus mTrueServiceStatus;
9460 eQMINASPreferredDataBath mPreferredDataPath;
9461 };
9462
9463 // Structure to describe response TLV 0x25 for NASGetSystemInfo()
9464 struct sNASGetSystemInfoResponse_TDSCDMASystemInfo
9465 {
9466 INT8 mServiceDomainValid;
9467 eQMINASSystemServiceCapabilities mServiceDomain;
9468 INT8 mServiceCapabilityValid;
9469 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9470 INT8 mRoamStatusValid;
9471 eQMINASRoamStatus mRoamStatus;
9472 INT8 mSystemForbiddenValid;
9473 eQMINASSystemForbidden mSystemForbidden;
9474 INT8 mLocationAreaCodeValid;
9475 UINT16 mLocationAreaCode;
9476 INT8 mCellIDValid;
9477 UINT32 mCellID;
9478 INT8 mRegistrationRejectInformationValid;
9479 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9480 UINT8 mRejectCause;
9481 INT8 mNetworkIDValid;
9482 char mMobileCountryCode[3];
9483 char mMobileNetworkCode[3];
9484 INT8 mHighSpeedCallStatusValid;
9485 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9486 INT8 mHighSpeedServiceIndicationValid;
9487 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9488 INT8 mCellParameterIDValid;
9489 UINT16 mCellParameterID;
9490 INT8 mCellBroadcastCapabilityValid;
9491 eQMINASCellBroadcastCaps2 mCellBroadcastCapability;
9492 INT8 mCSBarringStatusValid;
9493 eQMINASCallBarringStatus mCSCallBarringStatus;
9494 INT8 mPSBarringStatusValid;
9495 eQMINASCallBarringStatus mPSCallBarringStatus;
9496 INT8 mCipheringValid;
9497 eQMINASServiceDomains mCipheringOnServiceDomain;
9498 };
9499
9500 // Structure to describe response TLV 0x26 for NASGetSystemInfo()
9501 struct sNASGetSystemInfoResponse_EMBMSCoverage
9502 {
9503 INT8 mEMBMSSupported;
9504 };
9505
9506 // Structure to describe response TLV 0x27 for NASGetSystemInfo()
9507 struct sNASGetSystemInfoResponse_SIMRejectInfo
9508 {
9509 eQMINASSIMRejectStates mSIMRejectInfo;
9510 };
9511
9512 // Structure to describe response TLV 0x28 for NASGetSystemInfo()
9513 struct sNASGetSystemInfoResponse_WCDMAEUTRADetection
9514 {
9515 eQMINASEUTRAStatus mEUTRADetectionStatus;
9516 };
9517
9518 // Structure to describe response TLV 0x29 for NASGetSystemInfo()
9519 struct sNASGetSystemInfoResponse_LTEIMSVoice
9520 {
9521 INT8 mIMSVoiceSupportAvailable;
9522 };
9523
9524 // Structure to describe response TLV 0x2A for NASGetSystemInfo()
9525 struct sNASGetSystemInfoResponse_LTEVoiceDomain
9526 {
9527 eQMINASLTEVoiceDomains mLTEVoiceDomain;
9528 };
9529
9530 // Structure to describe indication TLV 0x10 for NAS SystemInfoIndication
9531 struct sNASSystemInfoIndication_CDMAServiceStatusInfo
9532 {
9533 eQMINASServiceStatus mServiceStatus;
9534 eQMINASPreferredDataBath mPreferredDataPath;
9535 };
9536
9537 // Structure to describe indication TLV 0x11 for NAS SystemInfoIndication
9538 struct sNASSystemInfoIndication_CDMA1xEVDOServiceStatusInfo
9539 {
9540 eQMINASServiceStatus mServiceStatus;
9541 eQMINASPreferredDataBath mPreferredDataPath;
9542 };
9543
9544 // Structure to describe indication TLV 0x12 for NAS SystemInfoIndication
9545 struct sNASSystemInfoIndication_GSMServiceStatusInfo
9546 {
9547 eQMINASServiceStatus mServiceStatus;
9548 eQMINASServiceStatus mTrueServiceStatus;
9549 eQMINASPreferredDataBath mPreferredDataPath;
9550 };
9551
9552 // Structure to describe indication TLV 0x13 for NAS SystemInfoIndication
9553 struct sNASSystemInfoIndication_WCDMAServiceStatusInfo
9554 {
9555 eQMINASServiceStatus mServiceStatus;
9556 eQMINASServiceStatus mTrueServiceStatus;
9557 eQMINASPreferredDataBath mPreferredDataPath;
9558 };
9559
9560 // Structure to describe indication TLV 0x14 for NAS SystemInfoIndication
9561 struct sNASSystemInfoIndication_LTEServiceStatusInfo
9562 {
9563 eQMINASServiceStatus mServiceStatus;
9564 eQMINASServiceStatus mTrueServiceStatus;
9565 eQMINASPreferredDataBath mPreferredDataPath;
9566 };
9567
9568 // Structure to describe indication TLV 0x15 for NAS SystemInfoIndication
9569 struct sNASSystemInfoIndication_CDMASystemInfo
9570 {
9571 INT8 mServiceDomainValid;
9572 eQMINASSystemServiceCapabilities mServiceDomain;
9573 INT8 mServiceCapabilityValid;
9574 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9575 INT8 mRoamStatusValid;
9576 eQMINASRoamStatus mRoamStatus;
9577 INT8 mSystemForbiddenValid;
9578 eQMINASSystemForbidden mSystemForbidden;
9579 INT8 mSystemPRLMatchValid;
9580 eQMINASPRLIndicator mSystemPRLMatch;
9581 INT8 mPRevInUseValid;
9582 eQMINASRevision mProtocolRevisionInUse;
9583 INT8 mBaseStationPRevValid;
9584 eQMINASRevision mBaseStationProtocolRevision;
9585 INT8 mConcurrentServiceSupportedValid;
9586 eQMINASConcurrentServiceSupported mConcurrentServiceSupported;
9587 INT8 mCDMASystemIDValid;
9588 UINT16 mSystemID;
9589 UINT16 mNetworkID;
9590 INT8 mBaseStationInfoValid;
9591 UINT16 mBaseStationID;
9592 INT32 mLatitude;
9593 INT32 mLongitude;
9594 INT8 mPacketZoneValid;
9595 UINT16 mPacketZone;
9596 INT8 mNetworkIDValid;
9597 char mMobileCountryCode[3];
9598 char mMobileNetworkCode[3];
9599 };
9600
9601 // Structure to describe indication TLV 0x16 for NAS SystemInfoIndication
9602 struct sNASSystemInfoIndication_CDMA1xEVDOSystemInfo
9603 {
9604 INT8 mServiceDomainValid;
9605 eQMINASSystemServiceCapabilities mServiceDomain;
9606 INT8 mServiceCapabilityValid;
9607 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9608 INT8 mRoamStatusValid;
9609 eQMINASRoamStatus mRoamStatus;
9610 INT8 mSystemForbiddenValid;
9611 eQMINASSystemForbidden mSystemForbidden;
9612 INT8 mSystemPRLMatchValid;
9613 eQMINASPRLIndicator mSystemPRLMatch;
9614 INT8 mCDMA1xEVDOPersonalityValid;
9615 eQMINASCDMA1xEVDOPersonality mCDMA1xEVDOPersonality;
9616 INT8 mCDMA1xEVDOActiveProtocolValid;
9617 eQMINASCDMA1xEVDOActiveProtocol mCDMA1xEVDOActiveProtocol;
9618 INT8 mSectorIDValid;
9619 UINT8 mSectorID[16];
9620 };
9621
9622 // Structure to describe indication TLV 0x17 for NAS SystemInfoIndication
9623 struct sNASSystemInfoIndication_GSMSystemInfo
9624 {
9625 INT8 mServiceDomainValid;
9626 eQMINASSystemServiceCapabilities mServiceDomain;
9627 INT8 mServiceCapabilityValid;
9628 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9629 INT8 mRoamStatusValid;
9630 eQMINASRoamStatus mRoamStatus;
9631 INT8 mSystemForbiddenValid;
9632 eQMINASSystemForbidden mSystemForbidden;
9633 INT8 mLocationAreaCodeValid;
9634 UINT16 mLocationAreaCode;
9635 INT8 mCellIDValid;
9636 UINT32 mCellID;
9637 INT8 mRegistrationRejectInformationValid;
9638 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9639 UINT8 mRejectCause;
9640 INT8 mNetworkIDValid;
9641 char mMobileCountryCode[3];
9642 char mMobileNetworkCode[3];
9643 INT8 mEGPRSSupportValid;
9644 eQMINASEGPRSSupport mEGPRSSupport;
9645 INT8 mDTMSupportValid;
9646 eQMINASDTMSupport mDTMSupport;
9647 };
9648
9649 // Structure to describe indication TLV 0x18 for NAS SystemInfoIndication
9650 struct sNASSystemInfoIndication_WCDMASystemInfo
9651 {
9652 INT8 mServiceDomainValid;
9653 eQMINASSystemServiceCapabilities mServiceDomain;
9654 INT8 mServiceCapabilityValid;
9655 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9656 INT8 mRoamStatusValid;
9657 eQMINASRoamStatus mRoamStatus;
9658 INT8 mSystemForbiddenValid;
9659 eQMINASSystemForbidden mSystemForbidden;
9660 INT8 mLocationAreaCodeValid;
9661 UINT16 mLocationAreaCode;
9662 INT8 mCellIDValid;
9663 UINT32 mCellID;
9664 INT8 mRegistrationRejectInformationValid;
9665 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9666 UINT8 mRejectCause;
9667 INT8 mNetworkIDValid;
9668 char mMobileCountryCode[3];
9669 char mMobileNetworkCode[3];
9670 INT8 mHighSpeedCallStatusValid;
9671 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9672 INT8 mHighSpeedServiceIndicationValid;
9673 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9674 INT8 mPrimaryScramblingCodeValue;
9675 UINT16 mPrimaryScramblingCode;
9676 };
9677
9678 // Structure to describe indication TLV 0x19 for NAS SystemInfoIndication
9679 struct sNASSystemInfoIndication_LTESystemInfo
9680 {
9681 INT8 mServiceDomainValid;
9682 eQMINASSystemServiceCapabilities mServiceDomain;
9683 INT8 mServiceCapabilityValid;
9684 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9685 INT8 mRoamStatusValid;
9686 eQMINASRoamStatus mRoamStatus;
9687 INT8 mSystemForbiddenValid;
9688 eQMINASSystemForbidden mSystemForbidden;
9689 INT8 mLocationAreaCodeValid;
9690 UINT16 mLocationAreaCode;
9691 INT8 mCellIDValid;
9692 UINT32 mCellID;
9693 INT8 mRegistrationRejectInformationValid;
9694 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9695 UINT8 mRejectCause;
9696 INT8 mNetworkIDValid;
9697 char mMobileCountryCode[3];
9698 char mMobileNetworkCode[3];
9699 INT8 mTrackingAreaCodeValid;
9700 UINT16 mTrackingAreaCode;
9701 };
9702
9703 // Structure to describe indication TLV 0x1A for NAS SystemInfoIndication
9704 struct sNASSystemInfoIndication_MoreCDMASystemInfo
9705 {
9706 UINT16 mGeoSystemIndex;
9707 UINT16 mRegistrationPeriod;
9708 };
9709
9710 // Structure to describe indication TLV 0x1B for NAS SystemInfoIndication
9711 struct sNASSystemInfoIndication_MoreCDMA1xEVDOSystemInfo
9712 {
9713 UINT16 mGeoSystemIndex;
9714 };
9715
9716 // Structure to describe indication TLV 0x1C for NAS SystemInfoIndication
9717 struct sNASSystemInfoIndication_MoreGSMSystemInfo
9718 {
9719 UINT16 mGeoSystemIndex;
9720 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9721 };
9722
9723 // Structure to describe indication TLV 0x1D for NAS SystemInfoIndication
9724 struct sNASSystemInfoIndication_MoreWCDMASystemInfo
9725 {
9726 UINT16 mGeoSystemIndex;
9727 eQMINASCellBroadcastCaps mCellBroadcastCapability;
9728 };
9729
9730 // Structure to describe indication TLV 0x1E for NAS SystemInfoIndication
9731 struct sNASSystemInfoIndication_MoreLTESystemInfo
9732 {
9733 UINT16 mGeoSystemIndex;
9734 };
9735
9736 // Structure to describe indication TLV 0x1F for NAS SystemInfoIndication
9737 struct sNASSystemInfoIndication_GSMCallBarring
9738 {
9739 eQMINASCallBarringStatus mCSCallBarringStatus;
9740 eQMINASCallBarringStatus mPSCallBarringStatus;
9741 };
9742
9743 // Structure to describe indication TLV 0x20 for NAS SystemInfoIndication
9744 struct sNASSystemInfoIndication_WCDMACallBarring
9745 {
9746 eQMINASCallBarringStatus mCSCallBarringStatus;
9747 eQMINASCallBarringStatus mPSCallBarringStatus;
9748 };
9749
9750 // Structure to describe indication TLV 0x21 for NAS SystemInfoIndication
9751 struct sNASSystemInfoIndication_LTEVoice
9752 {
9753 INT8 mLTEVoiceSupported;
9754 };
9755
9756 // Structure to describe indication TLV 0x22 for NAS SystemInfoIndication
9757 struct sNASSystemInfoIndication_GSMCipher
9758 {
9759 eQMINASServiceDomains mCipheringOnServiceDomain;
9760 };
9761
9762 // Structure to describe indication TLV 0x23 for NAS SystemInfoIndication
9763 struct sNASSystemInfoIndication_WCDMACipher
9764 {
9765 eQMINASServiceDomains mCipheringOnServiceDomain;
9766 };
9767
9768 // Structure to describe indication TLV 0x24 for NAS SystemInfoIndication
9769 struct sNASSystemInfoIndication_NoPLMNChange
9770 {
9771 INT8 mNoPLMNChange;
9772 };
9773
9774 // Structure to describe indication TLV 0x25 for NAS SystemInfoIndication
9775 struct sNASSystemInfoIndication_TDSCDMAServiceStatusInfo
9776 {
9777 eQMINASServiceStatus mServiceStatus;
9778 eQMINASServiceStatus mTrueServiceStatus;
9779 eQMINASPreferredDataBath mPreferredDataPath;
9780 };
9781
9782 // Structure to describe indication TLV 0x26 for NAS SystemInfoIndication
9783 struct sNASSystemInfoIndication_TDSCDMASystemInfo
9784 {
9785 INT8 mServiceDomainValid;
9786 eQMINASSystemServiceCapabilities mServiceDomain;
9787 INT8 mServiceCapabilityValid;
9788 eQMINASSystemServiceCapabilities mSystemServiceCapabilities;
9789 INT8 mRoamStatusValid;
9790 eQMINASRoamStatus mRoamStatus;
9791 INT8 mSystemForbiddenValid;
9792 eQMINASSystemForbidden mSystemForbidden;
9793 INT8 mLocationAreaCodeValid;
9794 UINT16 mLocationAreaCode;
9795 INT8 mCellIDValid;
9796 UINT32 mCellID;
9797 INT8 mRegistrationRejectInformationValid;
9798 eQMINASSystemServiceCapabilities mRegistrationRejectServiceDomain;
9799 UINT8 mRejectCause;
9800 INT8 mNetworkIDValid;
9801 char mMobileCountryCode[3];
9802 char mMobileNetworkCode[3];
9803 INT8 mHighSpeedCallStatusValid;
9804 eQMINASHighSpeedCallStatus mHighSpeedCallStatus;
9805 INT8 mHighSpeedServiceIndicationValid;
9806 eQMINASHighSpeedCallStatus mHighSpeedServiceIndication;
9807 INT8 mCellParameterIDValid;
9808 UINT16 mCellParameterID;
9809 INT8 mCellBroadcastCapabilityValid;
9810 eQMINASCellBroadcastCaps2 mCellBroadcastCapability;
9811 INT8 mCSBarringStatusValid;
9812 eQMINASCallBarringStatus mCSCallBarringStatus;
9813 INT8 mPSBarringStatusValid;
9814 eQMINASCallBarringStatus mPSCallBarringStatus;
9815 INT8 mCipheringValid;
9816 eQMINASServiceDomains mCipheringOnServiceDomain;
9817 };
9818
9819 // Structure to describe indication TLV 0x27 for NAS SystemInfoIndication
9820 struct sNASSystemInfoIndication_EMBMSCoverage
9821 {
9822 INT8 mEMBMSSupported;
9823 };
9824
9825 // Structure to describe indication TLV 0x28 for NAS SystemInfoIndication
9826 struct sNASSystemInfoIndication_SIMRejectInfo
9827 {
9828 eQMINASSIMRejectStates mSIMRejectInfo;
9829 };
9830
9831 // Structure to describe indication TLV 0x29 for NAS SystemInfoIndication
9832 struct sNASSystemInfoIndication_WCDMAEUTRADetection
9833 {
9834 eQMINASEUTRAStatus mEUTRADetectionStatus;
9835 };
9836
9837 // Structure to describe indication TLV 0x2A for NAS SystemInfoIndication
9838 struct sNASSystemInfoIndication_LTEIMSVoice
9839 {
9840 INT8 mIMSVoiceSupportAvailable;
9841 };
9842
9843 // Structure to describe indication TLV 0x2B for NAS SystemInfoIndication
9844 struct sNASSystemInfoIndication_LTEVoiceDomain
9845 {
9846 eQMINASLTEVoiceDomains mLTEVoiceDomain;
9847 };
9848
9849 // Structure to describe response TLV 0x10 for NASGetSignalInfo()
9850 struct sNASGetSignalInfoResponse_CDMASignalInfo
9851 {
9852 INT8 mRSSI;
9853 UINT16 mECIO;
9854 };
9855
9856 // Structure to describe response TLV 0x11 for NASGetSignalInfo()
9857 struct sNASGetSignalInfoResponse_CDMA1xEVDOSignalInfo
9858 {
9859 INT8 mRSSI;
9860 UINT16 mECIO;
9861 eQMINASSINRLevels mSINR;
9862 UINT32 mIO;
9863 };
9864
9865 // Structure to describe response TLV 0x12 for NASGetSignalInfo()
9866 struct sNASGetSignalInfoResponse_GSMSignalInfo
9867 {
9868 INT8 mRSSI;
9869 };
9870
9871 // Structure to describe response TLV 0x13 for NASGetSignalInfo()
9872 struct sNASGetSignalInfoResponse_WCDMASignalInfo
9873 {
9874 INT8 mRSSI;
9875 UINT16 mECIO;
9876 };
9877
9878 // Structure to describe response TLV 0x14 for NASGetSignalInfo()
9879 struct sNASGetSignalInfoResponse_LTESignalInfo
9880 {
9881 INT8 mRSSI;
9882 INT8 mRSRQ;
9883 INT16 mRSRP;
9884 INT16 mSNR;
9885 };
9886
9887 // Structure to describe response TLV 0x15 for NASGetSignalInfo()
9888 struct sNASGetSignalInfoResponse_TDSCDMASignalInfo
9889 {
9890 INT8 mPCCPCHRSCP;
9891 };
9892
9893 // Structure to describe request TLV 0x10 for NASConfigureSignalInfo()
9894 struct sNASConfigureSignalInfoRequest_RSSIThresholdList
9895 {
9896 UINT8 mThresholdCount;
9897
9898 // This array must be the size specified by mThresholdCount
9899 // INT8 mThreshold[1];
9900 };
9901
9902 // Structure to describe request TLV 0x11 for NASConfigureSignalInfo()
9903 struct sNASConfigureSignalInfoRequest_ECIOThresholdList
9904 {
9905 UINT8 mThresholdCount;
9906
9907 // This array must be the size specified by mThresholdCount
9908 // INT16 mThreshold[1];
9909 };
9910
9911 // Structure to describe request TLV 0x12 for NASConfigureSignalInfo()
9912 struct sNASConfigureSignalInfoRequest_CDMA1xEVDOSINRThresholdList
9913 {
9914 UINT8 mThresholdCount;
9915
9916 // This array must be the size specified by mThresholdCount
9917 // UINT8 mThreshold[1];
9918 };
9919
9920 // Structure to describe request TLV 0x13 for NASConfigureSignalInfo()
9921 struct sNASConfigureSignalInfoRequest_LTESINRThresholdList
9922 {
9923 UINT8 mThresholdCount;
9924
9925 // This array must be the size specified by mThresholdCount
9926 // INT8 mThreshold[1];
9927 };
9928
9929 // Structure to describe request TLV 0x14 for NASConfigureSignalInfo()
9930 struct sNASConfigureSignalInfoRequest_IOThresholdList
9931 {
9932 UINT8 mThresholdCount;
9933
9934 // This array must be the size specified by mThresholdCount
9935 // INT32 mThreshold[1];
9936 };
9937
9938 // Structure to describe request TLV 0x15 for NASConfigureSignalInfo()
9939 struct sNASConfigureSignalInfoRequest_RSRQThresholdList
9940 {
9941 UINT8 mThresholdCount;
9942
9943 // This array must be the size specified by mThresholdCount
9944 // INT8 mThreshold[1];
9945 };
9946
9947 // Structure to describe request TLV 0x16 for NASConfigureSignalInfo()
9948 struct sNASConfigureSignalInfoRequest_RSRPThresholdList
9949 {
9950 UINT8 mThresholdCount;
9951
9952 // This array must be the size specified by mThresholdCount
9953 // INT16 mThreshold[1];
9954 };
9955
9956 // Structure to describe request TLV 0x17 for NASConfigureSignalInfo()
9957 struct sNASConfigureSignalInfoRequest_LTEConfig
9958 {
9959 eQMINASLTESignalRates mLTESignalCheckRate;
9960 eQMINASLTESignalRates mLTESignalAveragingRate;
9961 };
9962
9963 // Structure to describe request TLV 0x18 for NASConfigureSignalInfo()
9964 struct sNASConfigureSignalInfoRequest_RSCPThresholdList
9965 {
9966 UINT8 mThresholdCount;
9967
9968 // This array must be the size specified by mThresholdCount
9969 // INT8 mRSCPThreshold[1];
9970 };
9971
9972 // Structure to describe indication TLV 0x10 for NAS SignalInfoIndication
9973 struct sNASSignalInfoIndication_CDMASignalInfo
9974 {
9975 INT8 mRSSI;
9976 UINT16 mECIO;
9977 };
9978
9979 // Structure to describe indication TLV 0x11 for NAS SignalInfoIndication
9980 struct sNASSignalInfoIndication_CDMA1xEVDOSignalInfo
9981 {
9982 INT8 mRSSI;
9983 UINT16 mECIO;
9984 eQMINASSINRLevels mSINR;
9985 UINT32 mIO;
9986 };
9987
9988 // Structure to describe indication TLV 0x12 for NAS SignalInfoIndication
9989 struct sNASSignalInfoIndication_GSMSignalInfo
9990 {
9991 INT8 mRSSI;
9992 };
9993
9994 // Structure to describe indication TLV 0x13 for NAS SignalInfoIndication
9995 struct sNASSignalInfoIndication_WCDMASignalInfo
9996 {
9997 INT8 mRSSI;
9998 UINT16 mECIO;
9999 };
10000
10001 // Structure to describe indication TLV 0x14 for NAS SignalInfoIndication
10002 struct sNASSignalInfoIndication_LTESignalInfo
10003 {
10004 INT8 mRSSI;
10005 INT8 mRSRQ;
10006 INT16 mRSRP;
10007 INT16 mSNR;
10008 };
10009
10010 // Structure to describe indication TLV 0x15 for NAS SignalInfoIndication
10011 struct sNASSignalInfoIndication_TDSCDMASignalInfo
10012 {
10013 INT8 mPCCPCHRSCP;
10014 };
10015
10016 // Structure to describe response TLV 0x10 for NASGetErrorRate()
10017 struct sNASGetErrorRateResponse_CDMAFrameErrorRate
10018 {
10019 UINT16 mErrorRate;
10020 };
10021
10022 // Structure to describe response TLV 0x11 for NASGetErrorRate()
10023 struct sNASGetErrorRateResponse_CDMA1xEVDOPacketErrorRate
10024 {
10025 UINT16 mErrorRate;
10026 };
10027
10028 // Structure to describe response TLV 0x12 for NASGetErrorRate()
10029 struct sNASGetErrorRateResponse_GSMBitErrorRate
10030 {
10031 UINT8 mErrorRate;
10032 };
10033
10034 // Structure to describe response TLV 0x13 for NASGetErrorRate()
10035 struct sNASGetErrorRateResponse_WCDMABlockErrorRate
10036 {
10037 UINT8 mErrorRate;
10038 };
10039
10040 // Structure to describe response TLV 0x14 for NASGetErrorRate()
10041 struct sNASGetErrorRateResponse_TDSCDMABlockErrorRate
10042 {
10043 UINT8 mErrorRate;
10044 };
10045
10046 // Structure to describe indication TLV 0x10 for NAS ErrorRateIndication
10047 struct sNASErrorRateIndication_CDMAFrameErrorRate
10048 {
10049 UINT16 mErrorRate;
10050 };
10051
10052 // Structure to describe indication TLV 0x11 for NAS ErrorRateIndication
10053 struct sNASErrorRateIndication_CDMA1xEVDOPacketErrorRate
10054 {
10055 UINT16 mErrorRate;
10056 };
10057
10058 // Structure to describe indication TLV 0x12 for NAS ErrorRateIndication
10059 struct sNASErrorRateIndication_GSMBitErrorRate
10060 {
10061 UINT8 mErrorRate;
10062 };
10063
10064 // Structure to describe indication TLV 0x13 for NAS ErrorRateIndication
10065 struct sNASErrorRateIndication_WCDMAFrameErrorRate
10066 {
10067 UINT8 mErrorRate;
10068 };
10069
10070 // Structure to describe indication TLV 0x14 for NAS ErrorRateIndication
10071 struct sNASErrorRateIndication_TDSCDMABlockErrorRate
10072 {
10073 UINT8 mErrorRate;
10074 };
10075
10076 // Structure to describe indication TLV 0x01 for NAS EVDOSessionCloseIndication
10077 struct sNASEVDOSessionCloseIndication_Reason
10078 {
10079 eQMINASEVDOSessionCloseReasons mSessionCloseReason;
10080 };
10081
10082 // Structure to describe indication TLV 0x01 for NAS EVDOUATIUpdateIndication
10083 struct sNASEVDOUATIUpdateIndication_UATI
10084 {
10085 UINT8 mUATI[16];
10086 };
10087
10088 // Structure to describe request TLV 0x01 for NASGetEVDOProtocolSubtype()
10089 struct sNASGetEVDOProtocolSubtypeRequest_Protocol
10090 {
10091 UINT32 mEVDOProtocol;
10092 };
10093
10094 // Structure to describe response TLV 0x10 for NASGetEVDOProtocolSubtype()
10095 struct sNASGetEVDOProtocolSubtypeResponse_Subtype
10096 {
10097 UINT16 mEVDOProtocolSubtype;
10098 };
10099
10100 // Structure to describe response TLV 0x10 for NASGetEVDOColorCode()
10101 struct sNASGetEVDOColorCodeResponse_Value
10102 {
10103 UINT8 mEVDOColorCode;
10104 };
10105
10106 // Structure to describe response TLV 0x10 for NASGetAcquisitionSystemMode()
10107 struct sNASGetAcquisitionSystemModeResponse_CDMA
10108 {
10109 eQMINASRadioSystemModes mRadioSystemMode;
10110 };
10111
10112 // Structure to describe response TLV 0x11 for NASGetAcquisitionSystemMode()
10113 struct sNASGetAcquisitionSystemModeResponse_CDMA1xEVDO
10114 {
10115 eQMINASRadioSystemModes mRadioSystemMode;
10116 };
10117
10118 // Structure to describe response TLV 0x12 for NASGetAcquisitionSystemMode()
10119 struct sNASGetAcquisitionSystemModeResponse_GSM
10120 {
10121 eQMINASRadioSystemModes mRadioSystemMode;
10122 };
10123
10124 // Structure to describe response TLV 0x13 for NASGetAcquisitionSystemMode()
10125 struct sNASGetAcquisitionSystemModeResponse_UMTS
10126 {
10127 eQMINASRadioSystemModes mRadioSystemMode;
10128 };
10129
10130 // Structure to describe response TLV 0x14 for NASGetAcquisitionSystemMode()
10131 struct sNASGetAcquisitionSystemModeResponse_LTE
10132 {
10133 eQMINASRadioSystemModes mRadioSystemMode;
10134 };
10135
10136 // Structure to describe response TLV 0x15 for NASGetAcquisitionSystemMode()
10137 struct sNASGetAcquisitionSystemModeResponse_TDSCDMA
10138 {
10139 eQMINASRadioSystemModes mRadioSystemMode;
10140 };
10141
10142 // Structure to describe request TLV 0x01 for NASSetRXDiversity()
10143 struct sNASSetRXDiversityRequest_Diversity
10144 {
10145 eQMINASRadioInterfaces mRadioInterface;
10146 bool mEnableRXChain0:1;
10147 bool mEnableRXChain1:1;
10148
10149 // Padding out 6 bits
10150 UINT8 mReserved1:6;
10151 };
10152
10153 // Structure to describe response TLV 0x10 for NASGetRXTXInfo()
10154 struct sNASGetRXTXInfoResponse_RX0Info
10155 {
10156 INT8 mRadioTuned;
10157 INT32 mRXPower;
10158 INT32 mEcIo;
10159 INT32 mRSCP;
10160 INT32 mRSRP;
10161 INT32 mPhase;
10162 };
10163
10164 // Structure to describe response TLV 0x11 for NASGetRXTXInfo()
10165 struct sNASGetRXTXInfoResponse_RX1Info
10166 {
10167 INT8 mRadioTuned;
10168 INT32 mRXPower;
10169 INT32 mEcIo;
10170 INT32 mRSCP;
10171 INT32 mRSRP;
10172 INT32 mPhase;
10173 };
10174
10175 // Structure to describe response TLV 0x12 for NASGetRXTXInfo()
10176 struct sNASGetRXTXInfoResponse_TXInfo
10177 {
10178 INT8 mInTraffic;
10179 INT32 mTXPower;
10180 };
10181
10182 // Structure to describe request TLV 0x01 for NASUpdateAKEYExtended()
10183 struct sNASUpdateAKEYExtendedRequest_AKEY
10184 {
10185 char mSPC[6];
10186 char mAKEY[26];
10187 };
10188
10189 // Structure to describe response TLV 0x10 for NASGetDualStandbyPreference()
10190 struct sNASGetDualStandbyPreferenceResponse_StandbyPreference
10191 {
10192 eQMINASStandbyPreference mStandbyPreference;
10193 };
10194
10195 // Structure to describe response TLV 0x11 for NASGetDualStandbyPreference()
10196 struct sNASGetDualStandbyPreferenceResponse_PrioritySubs
10197 {
10198 eQMINASSubscriptionType mSubscriptionType;
10199 };
10200
10201 // Structure to describe response TLV 0x12 for NASGetDualStandbyPreference()
10202 struct sNASGetDualStandbyPreferenceResponse_ActiveSubs
10203 {
10204 eQMINASSubscriptionType mSubscriptionType;
10205 };
10206
10207 // Structure to describe response TLV 0x13 for NASGetDualStandbyPreference()
10208 struct sNASGetDualStandbyPreferenceResponse_DefaultDataSubs
10209 {
10210 eQMINASSubscriptionType mSubscriptionType;
10211 };
10212
10213 // Structure to describe request TLV 0x01 for NASBlockLTEPLMN()
10214 struct sNASBlockLTEPLMNRequest_PLMN
10215 {
10216 UINT16 mMobileCountryCode;
10217 UINT16 mMobileNetworkCode;
10218 INT8 mMNCIncludesPCSDigit;
10219 };
10220
10221 // Structure to describe request TLV 0x10 for NASBlockLTEPLMN()
10222 struct sNASBlockLTEPLMNRequest_AbsoluteTime
10223 {
10224 UINT32 mBlockingIntervalInMilliseconds;
10225 };
10226
10227 // Structure to describe request TLV 0x11 for NASBlockLTEPLMN()
10228 struct sNASBlockLTEPLMNRequest_T3204Multiplier
10229 {
10230 UINT32 mBlockingIntervalAsT3204Multiplier;
10231 };
10232
10233 // Structure to describe request TLV 0x01 for NASUnblockLTEPLMN()
10234 struct sNASUnblockLTEPLMNRequest_PLMN
10235 {
10236 UINT16 mMobileCountryCode;
10237 UINT16 mMobileNetworkCode;
10238 INT8 mMNCIncludesPCSDigit;
10239 };
10240
10241 // Structure to describe indication TLV 0x10 for NAS CurrentPLMNNameIndication
10242 struct sNASCurrentPLMNNameIndication_PLMN
10243 {
10244 UINT16 mMobileCountryCode;
10245 UINT16 mMobileNetworkCode;
10246 INT8 mMNCIncludesPCSDigit;
10247 };
10248
10249 // Structure to describe indication TLV 0x11 for NAS CurrentPLMNNameIndication
10250 struct sNASCurrentPLMNNameIndication_SPN
10251 {
10252 eQMINASPLMNNameEncodingSchemes mSPNEncoding;
10253 UINT8 mSPNLength;
10254
10255 // This array must be the size specified by mSPNLength
10256 // UINT8 mSPN[1];
10257 };
10258
10259 // Structure to describe indication TLV 0x12 for NAS CurrentPLMNNameIndication
10260 struct sNASCurrentPLMNNameIndication_ShortName
10261 {
10262 eQMINASPLMNNameEncodingSchemes mPLMNShortEncoding;
10263 eQMINASPLMNNameCountryInitials mPLMNShortCountryInitials;
10264 eQMINASPLMNNameSpareBits mPLMNSpareBits;
10265 UINT8 mPLMNShortLength;
10266
10267 // This array must be the size specified by mPLMNShortLength
10268 // UINT8 mPLMNShort[1];
10269 };
10270
10271 // Structure to describe indication TLV 0x13 for NAS CurrentPLMNNameIndication
10272 struct sNASCurrentPLMNNameIndication_LongName
10273 {
10274 eQMINASPLMNNameEncodingSchemes mPLMNLongEncoding;
10275 eQMINASPLMNNameCountryInitials mPLMNLongCountryInitials;
10276 eQMINASPLMNNameSpareBits mPLMNLongBits;
10277 UINT8 mPLMNLongLength;
10278
10279 // This array must be the size specified by mPLMNLongLength
10280 // UINT8 mPLMNLong[1];
10281 };
10282
10283 // Structure to describe request TLV 0x01 for NASConfigureEMBMS()
10284 struct sNASConfigureEMBMSRequest_Config
10285 {
10286 INT8 mEMBMSEnabled;
10287 };
10288
10289 // Structure to describe response TLV 0x10 for NASGetEMBMSStatus()
10290 struct sNASGetEMBMSStatusResponse_Status
10291 {
10292 INT8 mEMBMSEnabled;
10293 };
10294
10295 // Structure to describe indication TLV 0x01 for NAS EMBMSStatusIndication
10296 struct sNASEMBMSStatusIndication_Status
10297 {
10298 INT8 mEMBMSEnabled;
10299 };
10300
10301 // Structure to describe response TLV 0x10 for NASGetCDMAPositionInfo()
10302 struct sNASGetCDMAPositionInfoResponse_Info
10303 {
10304 INT8 mUEInIdleMode;
10305 UINT8 mBaseStationCount;
10306
10307 struct sBaseStation
10308 {
10309 eQMINASCDMAPilotTypes mPilotType;
10310 UINT16 mSystemID;
10311 UINT16 mNetworkID;
10312 UINT16 mBaseStationID;
10313 UINT16 mPilotPN;
10314 UINT16 mPilotStrength;
10315 INT32 mLatitude;
10316 INT32 mLongitude;
10317 UINT64 mGPSTimeInMilliseconds;
10318 };
10319
10320 // This array must be the size specified by mBaseStationCount
10321 // sBaseStation mBaseStations[1];
10322 };
10323
10324 // Structure to describe indication TLV 0x01 for NAS RFBandInfoIndication
10325 struct sNASRFBandInfoIndication_BandInfo
10326 {
10327 eQMINASRadioInterfaces mRadioInterface;
10328 eQMINASBandClasses mActiveBandClass;
10329 UINT16 mActiveChannel;
10330 };
10331
10332 // Structure to describe indication TLV 0x01 for NAS NetworkRejectIndication
10333 struct sNASNetworkRejectIndication_RadioInterface
10334 {
10335 eQMINASRadioInterfaces mRadioInterface;
10336 };
10337
10338 // Structure to describe indication TLV 0x03 for NAS NetworkRejectIndication
10339 struct sNASNetworkRejectIndication_RejectCause
10340 {
10341 UINT8 mRejectCause;
10342 };
10343
10344 // Structure to describe response TLV 0x10 for NASGetManagedRoamingConfig()
10345 struct sNASGetManagedRoamingConfigResponse_Config
10346 {
10347 INT8 mManagedRoamingSupported;
10348 };
10349
10350 // Structure to describe indication TLV 0x10 for NAS RTREConfigurationIndication
10351 struct sNASRTREConfigurationIndication_CurrentConfig
10352 {
10353 eQMINASRTREConfiguration mRTREConfiguration;
10354 };
10355
10356 // Structure to describe indication TLV 0x11 for NAS RTREConfigurationIndication
10357 struct sNASRTREConfigurationIndication_ConfigPreference
10358 {
10359 eQMINASRTREConfiguration mRTREPreference;
10360 };
10361
10362 // Structure to describe response TLV 0x10 for NASGetCentralizedEONSSupport()
10363 struct sNASGetCentralizedEONSSupportResponse_Status
10364 {
10365 INT8 mCentralizedEONSSupported;
10366 };
10367
10368 // Structure to describe request TLV 0x10 for WMSSetEventReport()
10369 struct sWMSSetEventReportRequest_NewMTMessageIndicator
10370 {
10371 INT8 mReportNewMTMessages;
10372 };
10373
10374 // Structure to describe indication TLV 0x10 for WMS EventReport
10375 struct sWMSEventReportIndication_ReceivedMTMessage
10376 {
10377 eQMIWMSStorageTypes mStorageType;
10378 UINT32 mStorageIndex;
10379 };
10380
10381 // Structure to describe indication TLV 0x11 for WMS EventReport
10382 struct sWMSEventReportIndication_TransferRouteMTMessage
10383 {
10384 INT8 mACKRequired;
10385 UINT32 mTransactionID;
10386 eQMIWMSMessageFormats mMessageFormat;
10387 UINT16 mRawMessageLength;
10388
10389 // This array must be the size specified by mRawMessageLength
10390 // UINT8 mRawMessage[1];
10391 };
10392
10393 // Structure to describe indication TLV 0x12 for WMS EventReport
10394 struct sWMSEventReportIndication_MessageMode
10395 {
10396 eQMIWMSMessageProtocols mMode;
10397 };
10398
10399 // Structure to describe indication TLV 0x13 for WMS EventReport
10400 struct sWMSEventReportIndication_ReceivedETWSMessage
10401 {
10402 eQMIWMSNotificationType mNotificationType;
10403 UINT16 mRawMessageLength;
10404
10405 // This array must be the size specified by mRawMessageLength
10406 // UINT8 mRawMessage[1];
10407 };
10408
10409 // Structure to describe indication TLV 0x14 for WMS EventReport
10410 struct sWMSEventReportIndication_ReceivedETWSPLMNInfo
10411 {
10412 UINT16 mMobileCountryCode;
10413 UINT16 mMobileNetworkCode;
10414 };
10415
10416 // Structure to describe indication TLV 0x15 for WMS EventReport
10417 struct sWMSEventReportIndication_ReceivedSMSCAddress
10418 {
10419 UINT8 mSMSCAddressLength;
10420
10421 // This array must be the size specified by mSMSCAddressLength
10422 // char mSMSCAddress[1];
10423 };
10424
10425 // Structure to describe indication TLV 0x16 for WMS EventReport
10426 struct sWMSEventReportIndication_SMSOnIMS
10427 {
10428 INT8 mMessageReceivedFromIMS;
10429 };
10430
10431 // Structure to describe request TLV 0x01 for WMSRawSend()
10432 struct sWMSRawSendRequest_MessageData
10433 {
10434 eQMIWMSMessageFormats mMessageFormat;
10435 UINT16 mRawMessageLength;
10436
10437 // This array must be the size specified by mRawMessageLength
10438 // UINT8 mRawMessage[1];
10439 };
10440
10441 // Structure to describe request TLV 0x10 for WMSRawSend()
10442 struct sWMSRawSendRequest_ForceOnDC
10443 {
10444 INT8 mForceSendOnDC;
10445 eQMIWMSCDMAServiceOptions mServiceOption;
10446 };
10447
10448 // Structure to describe request TLV 0x11 for WMSRawSend()
10449 struct sWMSRawSendRequest_FollowOnDC
10450 {
10451 INT8 mDoNotDisconnectDC;
10452 };
10453
10454 // Structure to describe request TLV 0x12 for WMSRawSend()
10455 struct sWMSRawSendRequest_LinkControl
10456 {
10457 UINT8 mLinkTimerInSeconds;
10458 };
10459
10460 // Structure to describe request TLV 0x13 for WMSRawSend()
10461 struct sWMSRawSendRequest_SMSOnIMS
10462 {
10463 INT8 mMessageToBeSentOnIMS;
10464 };
10465
10466 // Structure to describe request TLV 0x14 for WMSRawSend()
10467 struct sWMSRawSendRequest_RetryMessage
10468 {
10469 INT8 mMessageIsARetry;
10470 };
10471
10472 // Structure to describe request TLV 0x15 for WMSRawSend()
10473 struct sWMSRawSendRequest_RetryMessageID
10474 {
10475 UINT32 mMessageRetryID;
10476 };
10477
10478 // Structure to describe response TLV 0x01 for WMSRawSend()
10479 struct sWMSRawSendResponse_MessageID
10480 {
10481 UINT16 mMessageID;
10482 };
10483
10484 // Structure to describe response TLV 0x10 for WMSRawSend()
10485 struct sWMSRawSendResponse_CauseCode
10486 {
10487 UINT16 mCauseCode;
10488 };
10489
10490 // Structure to describe response TLV 0x11 for WMSRawSend()
10491 struct sWMSRawSendResponse_ErrorClass
10492 {
10493 eQMIWMSErrorClasses mErrorClass;
10494 };
10495
10496 // Structure to describe response TLV 0x12 for WMSRawSend()
10497 struct sWMSRawSendResponse_CauseInfo
10498 {
10499 UINT16 mGSMWCDMARPCause;
10500 UINT8 mGSMWCDMATPCause;
10501 };
10502
10503 // Structure to describe response TLV 0x13 for WMSRawSend()
10504 struct sWMSRawSendResponse_MessageDeliveryFailureType
10505 {
10506 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
10507 };
10508
10509 // Structure to describe response TLV 0x14 for WMSRawSend()
10510 struct sWMSRawSendResponse_MessageDeliveryFailureCause
10511 {
10512 eQMIWMSDeliveryFailures mDeliveryFailureCause;
10513 };
10514
10515 // Structure to describe response TLV 0x15 for WMSRawSend()
10516 struct sWMSRawSendResponse_CallControlModifiedInfo
10517 {
10518 UINT8 mAlphaIDLength;
10519
10520 // This array must be the size specified by mAlphaIDLength
10521 // UINT8 mAlphaID[1];
10522 };
10523
10524 // Structure to describe request TLV 0x01 for WMSRawWrite()
10525 struct sWMSRawWriteRequest_MessageData
10526 {
10527 eQMIWMSStorageTypes mStorageType;
10528 eQMIWMSMessageFormats mMessageFormat;
10529 UINT16 mRawMessageLength;
10530
10531 // This array must be the size specified by mRawMessageLength
10532 // UINT8 mRawMessage[1];
10533 };
10534
10535 // Structure to describe response TLV 0x01 for WMSRawWrite()
10536 struct sWMSRawWriteResponse_MessageIndex
10537 {
10538 UINT32 mStorageIndex;
10539 };
10540
10541 // Structure to describe request TLV 0x01 for WMSRawRead()
10542 struct sWMSRawReadRequest_MessageIndex
10543 {
10544 eQMIWMSStorageTypes mStorageType;
10545 UINT32 mStorageIndex;
10546 };
10547
10548 // Structure to describe request TLV 0x10 for WMSRawRead()
10549 struct sWMSRawReadRequest_MessageMode
10550 {
10551 eQMIWMSMessageProtocols mMode;
10552 };
10553
10554 // Structure to describe request TLV 0x11 for WMSRawRead()
10555 struct sWMSRawReadRequest_SMSOnIMS
10556 {
10557 INT8 mMessageToBeReadFromIMS;
10558 };
10559
10560 // Structure to describe response TLV 0x01 for WMSRawRead()
10561 struct sWMSRawReadResponse_MessageData
10562 {
10563 eQMIWMSMessageTags mMessageTag;
10564 eQMIWMSMessageFormats mMessageFormat;
10565 UINT16 mRawMessageLength;
10566
10567 // This array must be the size specified by mRawMessageLength
10568 // UINT8 mRawMessage[1];
10569 };
10570
10571 // Structure to describe request TLV 0x01 for WMSModifyTag()
10572 struct sWMSModifyTagRequest_MessageTag
10573 {
10574 eQMIWMSStorageTypes mStorageType;
10575 UINT32 mStorageIndex;
10576 eQMIWMSMessageTags mMessageTag;
10577 };
10578
10579 // Structure to describe request TLV 0x10 for WMSModifyTag()
10580 struct sWMSModifyTagRequest_MessageMode
10581 {
10582 eQMIWMSMessageProtocols mMode;
10583 };
10584
10585 // Structure to describe request TLV 0x01 for WMSDelete()
10586 struct sWMSDeleteRequest_MemoryStorage
10587 {
10588 eQMIWMSStorageTypes mStorageType;
10589 };
10590
10591 // Structure to describe request TLV 0x10 for WMSDelete()
10592 struct sWMSDeleteRequest_MessageIndex
10593 {
10594 UINT32 mStorageIndex;
10595 };
10596
10597 // Structure to describe request TLV 0x11 for WMSDelete()
10598 struct sWMSDeleteRequest_MessageTag
10599 {
10600 eQMIWMSMessageTags mMessageTag;
10601 };
10602
10603 // Structure to describe request TLV 0x12 for WMSDelete()
10604 struct sWMSDeleteRequest_MessageMode
10605 {
10606 eQMIWMSMessageProtocols mMode;
10607 };
10608
10609 // Structure to describe response TLV 0x01 for WMSGetMessageProtocol()
10610 struct sWMSGetMessageProtocolResponse_MessageProtocol
10611 {
10612 eQMIWMSMessageProtocols mMode;
10613 };
10614
10615 // Structure to describe request TLV 0x01 for WMSListMessages()
10616 struct sWMSListMessagesRequest_MemoryStorage
10617 {
10618 eQMIWMSStorageTypes mStorageType;
10619 };
10620
10621 // Structure to describe request TLV 0x10 for WMSListMessages()
10622 struct sWMSListMessagesRequest_MessageTag
10623 {
10624 eQMIWMSMessageTags mMessageTag;
10625 };
10626
10627 // Structure to describe request TLV 0x11 for WMSListMessages()
10628 struct sWMSListMessagesRequest_MessageMode
10629 {
10630 eQMIWMSMessageProtocols mMode;
10631 };
10632
10633 // Structure to describe response TLV 0x01 for WMSListMessages()
10634 struct sWMSListMessagesResponse_MessageList
10635 {
10636 UINT32 mNumberOfMessages;
10637
10638 struct sMessage
10639 {
10640 UINT32 mStorageIndex;
10641 eQMIWMSMessageTags mMessageTag;
10642 };
10643
10644 // This array must be the size specified by mNumberOfMessages
10645 // sMessage mMessages[1];
10646 };
10647
10648 // Structure to describe request TLV 0x01 for WMSSetRoutes()
10649 struct sWMSSetRoutesRequest_RouteList
10650 {
10651 UINT16 mNumberOfRoutes;
10652
10653 struct sRoute
10654 {
10655 eQMIWMSMessageTypes mMessageType;
10656 eQMIWMSMessageClasses mMessageClass;
10657 eQMIWMSStorageTypes mStorageType;
10658 eQMIWMSReceiptActions mReceiptAction;
10659 };
10660
10661 // This array must be the size specified by mNumberOfRoutes
10662 // sRoute mRoutes[1];
10663 };
10664
10665 // Structure to describe request TLV 0x10 for WMSSetRoutes()
10666 struct sWMSSetRoutesRequest_TransferStatusReport
10667 {
10668 INT8 mTransferStatusReports;
10669 };
10670
10671 // Structure to describe response TLV 0x01 for WMSGetRoutes()
10672 struct sWMSGetRoutesResponse_RouteList
10673 {
10674 UINT16 mNumberOfRoutes;
10675
10676 struct sRoute
10677 {
10678 eQMIWMSMessageTypes mMessageType;
10679 eQMIWMSMessageClasses mMessageClass;
10680 eQMIWMSStorageTypes mStorageType;
10681 eQMIWMSRouteValues mRouteValue;
10682 };
10683
10684 // This array must be the size specified by mNumberOfRoutes
10685 // sRoute mRoutes[1];
10686 };
10687
10688 // Structure to describe response TLV 0x10 for WMSGetRoutes()
10689 struct sWMSGetRoutesResponse_TransferStatusReport
10690 {
10691 INT8 mTransferStatusReports;
10692 };
10693
10694 // Structure to describe response TLV 0x01 for WMSGetSMSCAddress()
10695 struct sWMSGetSMSCAddressResponse_Address
10696 {
10697 char mSMSCAddressType[3];
10698 UINT8 mSMSCAddressLength;
10699
10700 // This array must be the size specified by mSMSCAddressLength
10701 // char mSMSCAddress[1];
10702 };
10703
10704 // Structure to describe request TLV 0x01 for WMSSetSMSCAddress()
10705 struct sWMSSetSMSCAddressRequest_Address
10706 {
10707 // String is variable length, but must be size of the container
10708 // char mSMSCAddress[1];
10709 };
10710
10711 // Structure to describe request TLV 0x10 for WMSSetSMSCAddress()
10712 struct sWMSSetSMSCAddressRequest_AddressType
10713 {
10714 // String is variable length, but must be size of the container
10715 // char mSMSCAddressType[1];
10716 };
10717
10718 // Structure to describe request TLV 0x01 for WMSGetStorageMaxSize()
10719 struct sWMSGetStorageMaxSizeRequest_MemoryStorage
10720 {
10721 eQMIWMSStorageTypes mStorageType;
10722 };
10723
10724 // Structure to describe request TLV 0x10 for WMSGetStorageMaxSize()
10725 struct sWMSGetStorageMaxSizeRequest_MessageMode
10726 {
10727 eQMIWMSMessageProtocols mMode;
10728 };
10729
10730 // Structure to describe response TLV 0x01 for WMSGetStorageMaxSize()
10731 struct sWMSGetStorageMaxSizeResponse_MaxSize
10732 {
10733 UINT32 mMaxStorageSizeInMessages;
10734 };
10735
10736 // Structure to describe response TLV 0x10 for WMSGetStorageMaxSize()
10737 struct sWMSGetStorageMaxSizeResponse_AvailableSize
10738 {
10739 UINT32 mFreeStorageSizeInMessages;
10740 };
10741
10742 // Structure to describe request TLV 0x01 for WMSSendACK()
10743 struct sWMSSendACKRequest_ACK
10744 {
10745 UINT32 mTransactionID;
10746 eQMIWMSMessageProtocols mMode;
10747 INT8 mProcessedSuccessfully;
10748 };
10749
10750 // Structure to describe request TLV 0x10 for WMSSendACK()
10751 struct sWMSSendACKRequest_3GPP2FailureInfo
10752 {
10753 eQMIWMSErrorClasses2 mErrorClass;
10754 UINT8 mTransportLayerStatus;
10755 };
10756
10757 // Structure to describe request TLV 0x11 for WMSSendACK()
10758 struct sWMSSendACKRequest_3GPPFailureInfo
10759 {
10760 UINT8 mGSMWCDMARPCause;
10761 UINT8 mGSMWCDMATPCause;
10762 };
10763
10764 // Structure to describe request TLV 0x12 for WMSSendACK()
10765 struct sWMSSendACKRequest_SMSOnIMS
10766 {
10767 INT8 mACKToBeSentOnIMS;
10768 };
10769
10770 // Structure to describe response TLV 0x10 for WMSSendACK()
10771 struct sWMSSendACKResponse_ACKFailureCause
10772 {
10773 eQMIWMSACKFailureCause mACKFailureCause;
10774 };
10775
10776 // Structure to describe request TLV 0x01 for WMSSetRetryPeriod()
10777 struct sWMSSetRetryPeriodRequest_Period
10778 {
10779 UINT32 mRetryPeriodInSeconds;
10780 };
10781
10782 // Structure to describe request TLV 0x01 for WMSSetRetryInterval()
10783 struct sWMSSetRetryIntervalRequest_Interval
10784 {
10785 UINT32 mRetryIntervalInSeconds;
10786 };
10787
10788 // Structure to describe request TLV 0x01 for WMSSetDCDisconnectTimer()
10789 struct sWMSSetDCDisconnectTimerRequest_Timer
10790 {
10791 UINT32 mDCDisconnectTimerInSeconds;
10792 };
10793
10794 // Structure to describe request TLV 0x01 for WMSSetMemoryStatus()
10795 struct sWMSSetMemoryStatusRequest_Status
10796 {
10797 INT8 mMemoryIsAvailable;
10798 };
10799
10800 // Structure to describe request TLV 0x01 for WMSSetBroadcastActivation()
10801 struct sWMSSetBroadcastActivationRequest_BCInfo
10802 {
10803 eQMIWMSMessageProtocols mMode;
10804 INT8 mActivateBroadcast;
10805 };
10806
10807 // Structure to describe request TLV 0x01 for WMSSetBroadcastConfig()
10808 struct sWMSSetBroadcastConfigRequest_Mode
10809 {
10810 eQMIWMSMessageProtocols mMode;
10811 };
10812
10813 // Structure to describe request TLV 0x10 for WMSSetBroadcastConfig()
10814 struct sWMSSetBroadcastConfigRequest_3GPPInfo
10815 {
10816 UINT16 mNumberOfInstances;
10817
10818 struct sInstance
10819 {
10820 UINT16 mMessageIDStart;
10821 UINT16 mMessageIDEnd;
10822 INT8 mSelected;
10823 };
10824
10825 // This array must be the size specified by mNumberOfInstances
10826 // sInstance mInstances[1];
10827 };
10828
10829 // Structure to describe request TLV 0x11 for WMSSetBroadcastConfig()
10830 struct sWMSSetBroadcastConfigRequest_3GPP2Info
10831 {
10832 UINT16 mNumberOfInstances;
10833
10834 struct sInstance
10835 {
10836 UINT16 mServiceCategory;
10837 eQMIWMSLanguage mLanguage;
10838 INT8 mSelected;
10839 };
10840
10841 // This array must be the size specified by mNumberOfInstances
10842 // sInstance mInstances[1];
10843 };
10844
10845 // Structure to describe request TLV 0x01 for WMSGetBroadcastConfig()
10846 struct sWMSGetBroadcastConfigRequest_Mode
10847 {
10848 eQMIWMSMessageProtocols mMode;
10849 };
10850
10851 // Structure to describe response TLV 0x10 for WMSGetBroadcastConfig()
10852 struct sWMSGetBroadcastConfigResponse_3GPPInfo
10853 {
10854 INT8 mActivated;
10855 UINT16 mNumberOfInstances;
10856
10857 struct sInstance
10858 {
10859 UINT16 mMessageIDStart;
10860 UINT16 mMessageIDEnd;
10861 INT8 mSelected;
10862 };
10863
10864 // This array must be the size specified by mNumberOfInstances
10865 // sInstance mInstances[1];
10866 };
10867
10868 // Structure to describe response TLV 0x11 for WMSGetBroadcastConfig()
10869 struct sWMSGetBroadcastConfigResponse_3GPP2Info
10870 {
10871 INT8 mActivated;
10872 UINT16 mNumberOfInstances;
10873
10874 struct sInstance
10875 {
10876 UINT16 mServiceCategory;
10877 eQMIWMSLanguage mLanguage;
10878 INT8 mSelected;
10879 };
10880
10881 // This array must be the size specified by mNumberOfInstances
10882 // sInstance mInstances[1];
10883 };
10884
10885 // Structure to describe indication TLV 0x01 for WMS MemoryFullIndication
10886 struct sWMSMemoryFullIndication_Info
10887 {
10888 eQMIWMSStorageTypes mStorageType;
10889 eQMIWMSMessageProtocols mMode;
10890 };
10891
10892 // Structure to describe response TLV 0x01 for WMSGetDomainPreference()
10893 struct sWMSGetDomainPreferenceResponse_Pref
10894 {
10895 eQMIWMSGSMWCDMADomains mDomainPreference;
10896 };
10897
10898 // Structure to describe request TLV 0x01 for WMSSetDomainPreference()
10899 struct sWMSSetDomainPreferenceRequest_Pref
10900 {
10901 eQMIWMSGSMWCDMADomains mDomainPreference;
10902 };
10903
10904 // Structure to describe request TLV 0x01 for WMSSendFromMemoryStore()
10905 struct sWMSSendFromMemoryStoreRequest_Info
10906 {
10907 eQMIWMSStorageTypes mStorageType;
10908 UINT32 mStorageIndex;
10909 eQMIWMSMessageProtocols mMode;
10910 };
10911
10912 // Structure to describe request TLV 0x10 for WMSSendFromMemoryStore()
10913 struct sWMSSendFromMemoryStoreRequest_SMSOnIMS
10914 {
10915 INT8 mMessageToBeSentOnIMS;
10916 };
10917
10918 // Structure to describe response TLV 0x10 for WMSSendFromMemoryStore()
10919 struct sWMSSendFromMemoryStoreResponse_MessageID
10920 {
10921 UINT16 mMessageID;
10922 };
10923
10924 // Structure to describe response TLV 0x11 for WMSSendFromMemoryStore()
10925 struct sWMSSendFromMemoryStoreResponse_CauseCode
10926 {
10927 UINT16 mCauseCode;
10928 };
10929
10930 // Structure to describe response TLV 0x12 for WMSSendFromMemoryStore()
10931 struct sWMSSendFromMemoryStoreResponse_ErrorClass
10932 {
10933 eQMIWMSErrorClasses mErrorClass;
10934 };
10935
10936 // Structure to describe response TLV 0x13 for WMSSendFromMemoryStore()
10937 struct sWMSSendFromMemoryStoreResponse_CauseInfo
10938 {
10939 UINT16 mGSMWCDMARPCause;
10940 UINT8 mGSMWCDMATPCause;
10941 };
10942
10943 // Structure to describe response TLV 0x14 for WMSSendFromMemoryStore()
10944 struct sWMSSendFromMemoryStoreResponse_MessageDeliveryFailureType
10945 {
10946 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
10947 };
10948
10949 // Structure to describe response TLV 0x01 for WMSGetWaitingMessage()
10950 struct sWMSGetWaitingMessageResponse_WaitingMessageInfo
10951 {
10952 UINT8 mNumberOfWaitingMessages;
10953 eQMIWMSWaitingMessageType mWaitingMessageType;
10954 INT8 mActiveIndication;
10955 UINT8 mMessageCount;
10956 };
10957
10958 // Structure to describe indication TLV 0x01 for WMS WaitingMessageIndication
10959 struct sWMSWaitingMessageIndication_WaitingMessageInfo
10960 {
10961 UINT8 mNumberOfWaitingMessages;
10962 eQMIWMSWaitingMessageType mWaitingMessageType;
10963 INT8 mActiveIndication;
10964 UINT8 mMessageCount;
10965 };
10966
10967 // Structure to describe request TLV 0x01 for WMSSetPrimaryClient()
10968 struct sWMSSetPrimaryClientRequest_PrimaryClientInfo
10969 {
10970 INT8 mPrimaryClient;
10971 };
10972
10973 // Structure to describe indication TLV 0x01 for WMS SMSCAddressIndication
10974 struct sWMSSMSCAddressIndication_Address
10975 {
10976 char mSMSCAddressType[3];
10977 UINT8 mSMSCAddressLength;
10978
10979 // This array must be the size specified by mSMSCAddressLength
10980 // char mSMSCAddress[1];
10981 };
10982
10983 // Structure to describe request TLV 0x10 for WMSIndicatorRegistration()
10984 struct sWMSIndicatorRegistrationRequest_TransportLayerInfoEvents
10985 {
10986 INT8 mTransportLayerInfoEvents;
10987 };
10988
10989 // Structure to describe request TLV 0x11 for WMSIndicatorRegistration()
10990 struct sWMSIndicatorRegistrationRequest_NetworkRegistrationInfoEvents
10991 {
10992 INT8 mNetworkRegistrationInfoEvents;
10993 };
10994
10995 // Structure to describe request TLV 0x12 for WMSIndicatorRegistration()
10996 struct sWMSIndicatorRegistrationRequest_CallStatusInfoEvents
10997 {
10998 INT8 mCallStatusInfoEvents;
10999 };
11000
11001 // Structure to describe request TLV 0x13 for WMSIndicatorRegistration()
11002 struct sWMSIndicatorRegistrationRequest_ServiceReadyEvents
11003 {
11004 INT8 mServiceReadyEvents;
11005 };
11006
11007 // Structure to describe request TLV 0x14 for WMSIndicatorRegistration()
11008 struct sWMSIndicatorRegistrationRequest_BroadcastConfigEvents
11009 {
11010 INT8 mBroadcastConfigEvents;
11011 };
11012
11013 // Structure to describe response TLV 0x10 for WMSGetTransportInfoLayer()
11014 struct sWMSGetTransportInfoLayerResponse_TransportLayerRegistrationInfo
11015 {
11016 INT8 mRegistered;
11017 };
11018
11019 // Structure to describe response TLV 0x11 for WMSGetTransportLayerInfo()
11020 struct sWMSGetTransportLayerInfoResponse_TransportLayerInfo
11021 {
11022 eQMIWMSTransportType mTransportType;
11023 eQMIWMSTransportCapability mTransportCapability;
11024 };
11025
11026 // Structure to describe indication TLV 0x01 for WMS TransportLayerInfoIndication
11027 struct sWMSTransportLayerInfoIndication_TransportLayerRegInfo
11028 {
11029 INT8 mRegistered;
11030 };
11031
11032 // Structure to describe indication TLV 0x10 for WMS TransportLayerInfoIndication
11033 struct sWMSTransportLayerInfoIndication_TransportLayerInfo
11034 {
11035 eQMIWMSTransportType mTransportType;
11036 eQMIWMSTransportCapability mTransportCapability;
11037 };
11038
11039 // Structure to describe response TLV 0x10 for WMSGetNetworkRegistrationInfo()
11040 struct sWMSGetNetworkRegistrationInfoResponse_NetworkRegistrationInfo
11041 {
11042 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
11043 };
11044
11045 // Structure to describe indication TLV 0x01 for WMS NetworkRegistrationInfoIndication
11046 struct sWMSNetworkRegistrationInfoIndication_NetworkRegistrationInfo
11047 {
11048 eQMIWMSNetworkRegistrationStatus mNetworkRegistrationStatus;
11049 };
11050
11051 // Structure to describe request TLV 0x01 for WMSBindSubscription()
11052 struct sWMSBindSubscriptionRequest_SubscriptionType
11053 {
11054 eQMIWMSSubscriptionType mSubscriptionType;
11055 };
11056
11057 // Structure to describe response TLV 0x10 for WMSGetIndicatorRegistration()
11058 struct sWMSGetIndicatorRegistrationResponse_TransportLayerInfoEvents
11059 {
11060 INT8 mTransportLayerInfoEvents;
11061 };
11062
11063 // Structure to describe response TLV 0x11 for WMSGetIndicatorRegistration()
11064 struct sWMSGetIndicatorRegistrationResponse_NetworkRegistrationInfoEvents
11065 {
11066 INT8 mNetworkRegistrationInfoEvents;
11067 };
11068
11069 // Structure to describe response TLV 0x12 for WMSGetIndicatorRegistration()
11070 struct sWMSGetIndicatorRegistrationResponse_CallStatusInfoEvents
11071 {
11072 INT8 mCallStatusInfoEvents;
11073 };
11074
11075 // Structure to describe response TLV 0x13 for WMSGetIndicatorRegistration()
11076 struct sWMSGetIndicatorRegistrationResponse_ServiceReadyEvents
11077 {
11078 INT8 mServiceReadyEvents;
11079 };
11080
11081 // Structure to describe response TLV 0x14 for WMSGetIndicatorRegistration()
11082 struct sWMSGetIndicatorRegistrationResponse_BroadcastConfigEvents
11083 {
11084 INT8 mBroadcastConfigEvents;
11085 };
11086
11087 // Structure to describe request TLV 0x01 for WMSGetSMSParameters()
11088 struct sWMSGetSMSParametersRequest_MessageMode
11089 {
11090 eQMIWMSSMSMessageMode mSMSMessageMode;
11091 };
11092
11093 // Structure to describe response TLV 0x10 for WMSGetSMSParameters()
11094 struct sWMSGetSMSParametersResponse_DestinationAddress
11095 {
11096 UINT8 mDestinationAddressLength;
11097
11098 // This array must be the size specified by mDestinationAddressLength
11099 // UINT8 mDestinationAddress[1];
11100 };
11101
11102 // Structure to describe response TLV 0x11 for WMSGetSMSParameters()
11103 struct sWMSGetSMSParametersResponse_ProtocolIdentifierData
11104 {
11105 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
11106 };
11107
11108 // Structure to describe response TLV 0x12 for WMSGetSMSParameters()
11109 struct sWMSGetSMSParametersResponse_DataCodingScheme
11110 {
11111 UINT8 mDataCodingScheme;
11112 };
11113
11114 // Structure to describe response TLV 0x13 for WMSGetSMSParameters()
11115 struct sWMSGetSMSParametersResponse_ValidityPeriod
11116 {
11117 UINT8 mValidityPeriod;
11118 };
11119
11120 // Structure to describe request TLV 0x01 for WMSSetSMSParameters()
11121 struct sWMSSetSMSParametersRequest_MessageMode
11122 {
11123 eQMIWMSSMSMessageMode mSMSMessageMode;
11124 };
11125
11126 // Structure to describe request TLV 0x10 for WMSSetSMSParameters()
11127 struct sWMSSetSMSParametersRequest_DestinationAddress
11128 {
11129 UINT8 mDestinationAddressLength;
11130
11131 // This array must be the size specified by mDestinationAddressLength
11132 // UINT8 mDestinationAddress[1];
11133 };
11134
11135 // Structure to describe request TLV 0x11 for WMSSetSMSParameters()
11136 struct sWMSSetSMSParametersRequest_ProtocolIdentifierData
11137 {
11138 eQMIWMSProtocolIdentifierData mProtocolIdentifierData;
11139 };
11140
11141 // Structure to describe request TLV 0x12 for WMSSetSMSParameters()
11142 struct sWMSSetSMSParametersRequest_DataCodingScheme
11143 {
11144 UINT8 mDataCodingScheme;
11145 };
11146
11147 // Structure to describe request TLV 0x13 for WMSSetSMSParameters()
11148 struct sWMSSetSMSParametersRequest_ValidityPeriod
11149 {
11150 UINT8 mValidityPeriod;
11151 };
11152
11153 // Structure to describe indication TLV 0x01 for WMS CallStatusIndication
11154 struct sWMSCallStatusIndication_SMSCallStatusInfo
11155 {
11156 eQMIWMSSMSCallStatus mSMSCallStatus;
11157 };
11158
11159 // Structure to describe response TLV 0x10 for WMSGetDomainPreferenceConfig()
11160 struct sWMSGetDomainPreferenceConfigResponse_LTEDomain
11161 {
11162 eQMIWMSLTEDomains mLTEDomainPreference;
11163 };
11164
11165 // Structure to describe response TLV 0x11 for WMSGetDomainPreferenceConfig()
11166 struct sWMSGetDomainPreferenceConfigResponse_GWDomain
11167 {
11168 eQMIWMSGSMWCDMADomains mDomainPreference;
11169 };
11170
11171 // Structure to describe response TLV 0x10 for WMSSetDomainPreferenceConfig()
11172 struct sWMSSetDomainPreferenceConfigResponse_LTEDomain
11173 {
11174 eQMIWMSLTEDomains mLTEDomainPreference;
11175 };
11176
11177 // Structure to describe response TLV 0x11 for WMSSetDomainPreferenceConfig()
11178 struct sWMSSetDomainPreferenceConfigResponse_GWDomain
11179 {
11180 eQMIWMSGSMWCDMADomains mDomainPreference;
11181 };
11182
11183 // Structure to describe response TLV 0x10 for WMSSetDomainPreferenceConfig()
11184 struct sWMSSetDomainPreferenceConfigResponse_LTEOutcome
11185 {
11186 UINT16 mLTEDomainPreferenceOutcome;
11187 };
11188
11189 // Structure to describe response TLV 0x11 for WMSSetDomainPreferenceConfig()
11190 struct sWMSSetDomainPreferenceConfigResponse_GWOutcome
11191 {
11192 UINT16 mGWDomainPreferenceOutcome;
11193 };
11194
11195 // Structure to describe response TLV 0x10 for WMSGetRetryPeriod()
11196 struct sWMSGetRetryPeriodResponse_RetryPeriod
11197 {
11198 UINT32 mRetryPeriodInSeconds;
11199 };
11200
11201 // Structure to describe response TLV 0x10 for WMSGetRetryInterval()
11202 struct sWMSGetRetryIntervalResponse_RetryInterval
11203 {
11204 UINT32 mRetryIntervalInSeconds;
11205 };
11206
11207 // Structure to describe response TLV 0x10 for WMSGetDCDisconnectTimer()
11208 struct sWMSGetDCDisconnectTimerResponse_DCDisconnectTimer
11209 {
11210 UINT32 mDCDisconnectTimerInSeconds;
11211 };
11212
11213 // Structure to describe response TLV 0x10 for WMSGetMemoryStatus()
11214 struct sWMSGetMemoryStatusResponse_MemoryStatus
11215 {
11216 INT8 mMemoryIsAvailable;
11217 };
11218
11219 // Structure to describe response TLV 0x10 for WMSGetPrimaryClient()
11220 struct sWMSGetPrimaryClientResponse_PrimaryClientInfo
11221 {
11222 INT8 mPrimaryClient;
11223 };
11224
11225 // Structure to describe response TLV 0x10 for WMSGetSubscriptionBinding()
11226 struct sWMSGetSubscriptionBindingResponse_SubscriptionType
11227 {
11228 eQMIWMSSubscriptionType mSubscriptionType;
11229 };
11230
11231 // Structure to describe request TLV 0x01 for WMSAsyncRawSend()
11232 struct sWMSAsyncRawSendRequest_MessageData
11233 {
11234 eQMIWMSMessageFormats mMessageFormat;
11235 UINT16 mRawMessageLength;
11236
11237 // This array must be the size specified by mRawMessageLength
11238 // UINT8 mRawMessage[1];
11239 };
11240
11241 // Structure to describe request TLV 0x10 for WMSAsyncRawSend()
11242 struct sWMSAsyncRawSendRequest_ForceOnDC
11243 {
11244 INT8 mForceSendOnDC;
11245 eQMIWMSCDMAServiceOptions mServiceOption;
11246 };
11247
11248 // Structure to describe request TLV 0x11 for WMSAsyncRawSend()
11249 struct sWMSAsyncRawSendRequest_FollowOnDC
11250 {
11251 INT8 mDoNotDisconnectDC;
11252 };
11253
11254 // Structure to describe request TLV 0x12 for WMSAsyncRawSend()
11255 struct sWMSAsyncRawSendRequest_LinkControl
11256 {
11257 UINT8 mLinkTimerInSeconds;
11258 };
11259
11260 // Structure to describe request TLV 0x13 for WMSAsyncRawSend()
11261 struct sWMSAsyncRawSendRequest_SMSOnIMS
11262 {
11263 INT8 mMessageToBeSentOnIMS;
11264 };
11265
11266 // Structure to describe request TLV 0x14 for WMSAsyncRawSend()
11267 struct sWMSAsyncRawSendRequest_RetryMessage
11268 {
11269 INT8 mMessageIsARetry;
11270 };
11271
11272 // Structure to describe request TLV 0x15 for WMSAsyncRawSend()
11273 struct sWMSAsyncRawSendRequest_RetryMessageID
11274 {
11275 UINT32 mMessageRetryID;
11276 };
11277
11278 // Structure to describe request TLV 0x16 for WMSAsyncRawSend()
11279 struct sWMSAsyncRawSendRequest_UserData
11280 {
11281 UINT32 mUserData;
11282 };
11283
11284 // Structure to describe indication TLV 0x01 for WMS AsyncRawSendIndication
11285 struct sWMSAsyncRawSendIndication_Status
11286 {
11287 eQMIErrors mQMIError;
11288 };
11289
11290 // Structure to describe indication TLV 0x10 for WMS AsyncRawSendIndication
11291 struct sWMSAsyncRawSendIndication_MessageID
11292 {
11293 UINT16 mMessageID;
11294 };
11295
11296 // Structure to describe indication TLV 0x11 for WMS AsyncRawSendIndication
11297 struct sWMSAsyncRawSendIndication_CauseCode
11298 {
11299 UINT16 mCauseCode;
11300 };
11301
11302 // Structure to describe indication TLV 0x12 for WMS AsyncRawSendIndication
11303 struct sWMSAsyncRawSendIndication_ErrorClass
11304 {
11305 eQMIWMSErrorClasses mErrorClass;
11306 };
11307
11308 // Structure to describe indication TLV 0x13 for WMS AsyncRawSendIndication
11309 struct sWMSAsyncRawSendIndication_CauseInfo
11310 {
11311 UINT16 mGSMWCDMARPCause;
11312 UINT8 mGSMWCDMATPCause;
11313 };
11314
11315 // Structure to describe indication TLV 0x14 for WMS AsyncRawSendIndication
11316 struct sWMSAsyncRawSendIndication_MessageDeliveryFailureType
11317 {
11318 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11319 };
11320
11321 // Structure to describe indication TLV 0x15 for WMS AsyncRawSendIndication
11322 struct sWMSAsyncRawSendIndication_MessageDeliveryFailureCause
11323 {
11324 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11325 };
11326
11327 // Structure to describe indication TLV 0x16 for WMS AsyncRawSendIndication
11328 struct sWMSAsyncRawSendIndication_CallControlModifiedInfo
11329 {
11330 UINT8 mAlphaIDLength;
11331
11332 // This array must be the size specified by mAlphaIDLength
11333 // UINT8 mAlphaID[1];
11334 };
11335
11336 // Structure to describe indication TLV 0x17 for WMS AsyncRawSendIndication
11337 struct sWMSAsyncRawSendIndication_UserData
11338 {
11339 UINT32 mUserData;
11340 };
11341
11342 // Structure to describe request TLV 0x01 for WMSAsyncSendACK()
11343 struct sWMSAsyncSendACKRequest_ACK
11344 {
11345 UINT32 mTransactionID;
11346 eQMIWMSMessageProtocols mMode;
11347 INT8 mProcessedSuccessfully;
11348 };
11349
11350 // Structure to describe request TLV 0x10 for WMSAysncSendACK()
11351 struct sWMSAysncSendACKRequest_3GPP2FailureInfo
11352 {
11353 eQMIWMSErrorClasses2 mErrorClass;
11354 UINT8 mTransportLayerStatus;
11355 };
11356
11357 // Structure to describe request TLV 0x11 for WMSAsyncSendACK()
11358 struct sWMSAsyncSendACKRequest_3GPPFailureInfo
11359 {
11360 UINT8 mGSMWCDMARPCause;
11361 UINT8 mGSMWCDMATPCause;
11362 };
11363
11364 // Structure to describe request TLV 0x12 for WMSAsyncSendACK()
11365 struct sWMSAsyncSendACKRequest_SMSOnIMS
11366 {
11367 INT8 mACKToBeSentOnIMS;
11368 };
11369
11370 // Structure to describe request TLV 0x13 for WMSAsyncSendACK()
11371 struct sWMSAsyncSendACKRequest_UserData
11372 {
11373 UINT32 mUserData;
11374 };
11375
11376 // Structure to describe indication TLV 0x01 for WMS AsyncSendACKIndication
11377 struct sWMSAsyncSendACKIndication_Status
11378 {
11379 eQMIErrors mQMIError;
11380 };
11381
11382 // Structure to describe indication TLV 0x10 for WMS AsyncSendACKIndication
11383 struct sWMSAsyncSendACKIndication_ACKFailureCause
11384 {
11385 eQMIWMSACKFailureCause mACKFailureCause;
11386 };
11387
11388 // Structure to describe indication TLV 0x11 for WMS AsyncSendACKIndication
11389 struct sWMSAsyncSendACKIndication_UserData
11390 {
11391 UINT32 mUserData;
11392 };
11393
11394 // Structure to describe request TLV 0x01 for WMSAsyncSendFromMemoryStore()
11395 struct sWMSAsyncSendFromMemoryStoreRequest_Info
11396 {
11397 eQMIWMSStorageTypes mStorageType;
11398 UINT32 mStorageIndex;
11399 eQMIWMSMessageProtocols mMode;
11400 };
11401
11402 // Structure to describe request TLV 0x10 for WMSAsyncSendFromMemoryStore()
11403 struct sWMSAsyncSendFromMemoryStoreRequest_SMSOnIMS
11404 {
11405 INT8 mMessageToBeSentOnIMS;
11406 };
11407
11408 // Structure to describe request TLV 0x11 for WMSAsyncSendFromMemoryStore()
11409 struct sWMSAsyncSendFromMemoryStoreRequest_UserData
11410 {
11411 UINT32 mUserData;
11412 };
11413
11414 // Structure to describe indication TLV 0x01 for WMS AsyncSendFromMemoryStoreIndication
11415 struct sWMSAsyncSendFromMemoryStoreIndication_Status
11416 {
11417 eQMIErrors mQMIError;
11418 };
11419
11420 // Structure to describe indication TLV 0x10 for WMS AsyncSendFromMemoryStoreIndication
11421 struct sWMSAsyncSendFromMemoryStoreIndication_MessageID
11422 {
11423 UINT16 mMessageID;
11424 };
11425
11426 // Structure to describe indication TLV 0x11 for WMS AsyncSendFromMemoryStoreIndication
11427 struct sWMSAsyncSendFromMemoryStoreIndication_CauseCode
11428 {
11429 UINT16 mCauseCode;
11430 };
11431
11432 // Structure to describe indication TLV 0x12 for WMS AsyncSendFromMemoryStoreIndication
11433 struct sWMSAsyncSendFromMemoryStoreIndication_ErrorClass
11434 {
11435 eQMIWMSErrorClasses mErrorClass;
11436 };
11437
11438 // Structure to describe indication TLV 0x13 for WMS AsyncSendFromMemoryStoreIndication
11439 struct sWMSAsyncSendFromMemoryStoreIndication_CauseInfo
11440 {
11441 UINT16 mGSMWCDMARPCause;
11442 UINT8 mGSMWCDMATPCause;
11443 };
11444
11445 // Structure to describe indication TLV 0x14 for WMS AsyncSendFromMemoryStoreIndication
11446 struct sWMSAsyncSendFromMemoryStoreIndication_MessageDeliveryFailureType
11447 {
11448 eQMIWMSMessageDeliveryFailureType mMessageDeliveryFailureType;
11449 };
11450
11451 // Structure to describe indication TLV 0x15 for WMS AsyncSendFromMemoryStoreIndication
11452 struct sWMSAsyncSendFromMemoryStoreIndication_MessageDeliveryFailureCause
11453 {
11454 eQMIWMSDeliveryFailures mDeliveryFailureCause;
11455 };
11456
11457 // Structure to describe indication TLV 0x16 for WMS AsyncSendFromMemoryStoreIndication
11458 struct sWMSAsyncSendFromMemoryStoreIndication_CallControlModifiedInfo
11459 {
11460 UINT8 mAlphaIDLength;
11461
11462 // This array must be the size specified by mAlphaIDLength
11463 // UINT8 mAlphaID[1];
11464 };
11465
11466 // Structure to describe indication TLV 0x17 for WMS AsyncSendFromMemoryStoreIndication
11467 struct sWMSAsyncSendFromMemoryStoreIndication_UserData
11468 {
11469 UINT32 mUserData;
11470 };
11471
11472 // Structure to describe response TLV 0x10 for WMSGetServiceReadyStatus()
11473 struct sWMSGetServiceReadyStatusResponse_ServiceReadyEvents
11474 {
11475 INT8 mServiceReadyEvents;
11476 };
11477
11478 // Structure to describe response TLV 0x11 for WMSGetServiceReadyStatus()
11479 struct sWMSGetServiceReadyStatusResponse_ServiceReadyStatus
11480 {
11481 eQMIWMSServiceReadyStatus mReadyStatus;
11482 };
11483
11484 // Structure to describe indication TLV 0x01 for WMS ServiceReadyStatusIndication
11485 struct sWMSServiceReadyStatusIndication_ServiceReadyStatus
11486 {
11487 eQMIWMSServiceReadyStatus mReadyStatus;
11488 };
11489
11490 // Structure to describe indication TLV 0x01 for WMS BroadcastConfigIndication
11491 struct sWMSBroadcastConfigIndication_Mode
11492 {
11493 eQMIWMSMessageProtocols mMode;
11494 };
11495
11496 // Structure to describe indication TLV 0x10 for WMS BroadcastConfigIndication
11497 struct sWMSBroadcastConfigIndication_3GPPInfo
11498 {
11499 INT8 mActivated;
11500 UINT16 mNumberOfInstances;
11501
11502 struct sInstance
11503 {
11504 UINT16 mMessageIDStart;
11505 UINT16 mMessageIDEnd;
11506 INT8 mSelected;
11507 };
11508
11509 // This array must be the size specified by mNumberOfInstances
11510 // sInstance mInstances[1];
11511 };
11512
11513 // Structure to describe indication TLV 0x11 for WMS BroadcastConfigIndication
11514 struct sWMSBroadcastConfigIndication_3GPP2Info
11515 {
11516 INT8 mActivated;
11517 UINT16 mNumberOfInstances;
11518
11519 struct sInstance
11520 {
11521 UINT16 mServiceCategory;
11522 eQMIWMSLanguage mLanguage;
11523 INT8 mSelected;
11524 };
11525
11526 // This array must be the size specified by mNumberOfInstances
11527 // sInstance mInstances[1];
11528 };
11529
11530 // Structure to describe request TLV 0x10 for PDSSetEventReport()
11531 struct sPDSSetEventReportRequest_NMEAIndicator
11532 {
11533 INT8 mReportNMEASentences;
11534 };
11535
11536 // Structure to describe request TLV 0x11 for PDSSetEventReport()
11537 struct sPDSSetEventReportRequest_ModeIndicator
11538 {
11539 INT8 mReportNMEASentencesPlusMode;
11540 };
11541
11542 // Structure to describe request TLV 0x12 for PDSSetEventReport()
11543 struct sPDSSetEventReportRequest_RawIndicator
11544 {
11545 INT8 mReportRawPositionData;
11546 };
11547
11548 // Structure to describe request TLV 0x13 for PDSSetEventReport()
11549 struct sPDSSetEventReportRequest_XTRARequestIndicator
11550 {
11551 INT8 mReportExternalXTRADataRequests;
11552 };
11553
11554 // Structure to describe request TLV 0x14 for PDSSetEventReport()
11555 struct sPDSSetEventReportRequest_TimeInjectionIndicator
11556 {
11557 INT8 mReportExternalTimeInjections;
11558 };
11559
11560 // Structure to describe request TLV 0x15 for PDSSetEventReport()
11561 struct sPDSSetEventReportRequest_WiFiIndicator
11562 {
11563 INT8 mReportExternalWiFiRequests;
11564 };
11565
11566 // Structure to describe request TLV 0x16 for PDSSetEventReport()
11567 struct sPDSSetEventReportRequest_SatelliteIndicator
11568 {
11569 INT8 mReportSatelliteInfo;
11570 };
11571
11572 // Structure to describe request TLV 0x17 for PDSSetEventReport()
11573 struct sPDSSetEventReportRequest_VXNetworkIndicator
11574 {
11575 INT8 mReportVXNetworkInitiatedPrompts;
11576 };
11577
11578 // Structure to describe request TLV 0x18 for PDSSetEventReport()
11579 struct sPDSSetEventReportRequest_SUPLNetworkIndicator
11580 {
11581 INT8 mReportSUPLNetworkInitiatedPrompts;
11582 };
11583
11584 // Structure to describe request TLV 0x19 for PDSSetEventReport()
11585 struct sPDSSetEventReportRequest_UMTSCPNetworkIndicator
11586 {
11587 INT8 mReportUMTSCPNetworkInitiatedPrompts;
11588 };
11589
11590 // Structure to describe request TLV 0x1A for PDSSetEventReport()
11591 struct sPDSSetEventReportRequest_PDSCommIndicator
11592 {
11593 INT8 mReportPDSCommEvents;
11594 };
11595
11596 // Structure to describe request TLV 0x1B for PDSSetEventReport()
11597 struct sPDSSetEventReportRequest_AccelerometerDataIndicator
11598 {
11599 INT8 mReportAccelerometerDataStatus;
11600 };
11601
11602 // Structure to describe request TLV 0x1C for PDSSetEventReport()
11603 struct sPDSSetEventReportRequest_GyroDataIndicator
11604 {
11605 INT8 mReportGyroDataStatus;
11606 };
11607
11608 // Structure to describe request TLV 0x1D for PDSSetEventReport()
11609 struct sPDSSetEventReportRequest_TimeSyncIndication
11610 {
11611 INT8 mReportTimeSyncRequest;
11612 };
11613
11614 // Structure to describe request TLV 0x1E for PDSSetEventReport()
11615 struct sPDSSetEventReportRequest_PositionReliablilityIndicator
11616 {
11617 INT8 mReportPositionReliability;
11618 };
11619
11620 // Structure to describe request TLV 0x1F for PDSSetEventReport()
11621 struct sPDSSetEventReportRequest_SensorDataUsageIndicator
11622 {
11623 INT8 mReportSensorDataUsage;
11624 };
11625
11626 // Structure to describe request TLV 0x20 for PDSSetEventReport()
11627 struct sPDSSetEventReportRequest_TimeSourceInformationIndicator
11628 {
11629 INT8 mReportTimeSourceInformation;
11630 };
11631
11632 // Structure to describe request TLV 0x21 for PDSSetEventReport()
11633 struct sPDSSetEventReportRequest_HeadingUncertaintyIndicator
11634 {
11635 INT8 mReportHeadingUncertaintyInformation;
11636 };
11637
11638 // Structure to describe request TLV 0x22 for PDSSetEventReport()
11639 struct sPDSSetEventReportRequest_NMEADebugStringIndicator
11640 {
11641 INT8 mReportNMEADebugStrings;
11642 };
11643
11644 // Structure to describe request TLV 0x23 for PDSSetEventReport()
11645 struct sPDSSetEventReportRequest_ExternalXTRADataIndicator
11646 {
11647 INT8 mReportExtendedXTRAData;
11648 };
11649
11650 // Structure to describe request TLV 0x24 for PDSSetEventReport()
11651 struct sPDSSetEventReportRequest_ServiceResetStatus
11652 {
11653 INT8 mReportServiceResetStatus;
11654 };
11655
11656 // Structure to describe indication TLV 0x10 for PDS EventReport
11657 struct sPDSEventReportIndication_NMEASentence
11658 {
11659 // String is variable length, but must be size of the container
11660 // char mNMEASentence[1];
11661 };
11662
11663 // Structure to describe indication TLV 0x11 for PDS EventReport
11664 struct sPDSEventReportIndication_NMEASentencePlusMode
11665 {
11666 eQMIPDSNMEASentenceOperatingModes mNMEASentenceOperatingMode;
11667 UINT16 mNMEASentenceLength;
11668
11669 // This array must be the size specified by mNMEASentenceLength
11670 // char mNMEASentence[1];
11671 };
11672
11673 // Structure to describe indication TLV 0x12 for PDS EventReport
11674 struct sPDSEventReportIndication_PositionSessionStatus
11675 {
11676 eQMIPDSSessionStatus mSessionStatus;
11677 };
11678
11679 // Structure to describe indication TLV 0x13 for PDS EventReport
11680 struct sPDSEventReportIndication_ParsedPositionData
11681 {
11682 bool mTimestampCalendarValid:1;
11683 bool mTimestampUTCValid:1;
11684 bool mLeapSecondsValid:1;
11685 bool mTimeUncertaintyValid:1;
11686 bool mLatitudeValid:1;
11687 bool mLongitudeValid:1;
11688 bool mEllipsoidAltitudeValid:1;
11689 bool mMeanSeaLevelAltitudeValid:1;
11690 bool mHorizontalSpeedValid:1;
11691 bool mVerticalSpeedValid:1;
11692 bool mHeadingValid:1;
11693 bool mHorizontalUncertaintyCircularValid:1;
11694 bool mHorizontalUncertaintyEllipseSemiMajorValid:1;
11695 bool mHorizontalUncertaintyEllipseSemiMinorValid:1;
11696 bool mHorizontalUncertaintyEllipseOrientAzimuthValid:1;
11697 bool mVerticalUncertaintyValid:1;
11698 bool mHorizontalVelocityUncertaintyValid:1;
11699 bool mVerticalVelocityUncertaintyValid:1;
11700 bool mHorizontalConfidenceValid:1;
11701 bool mPositionDOPValid:1;
11702 bool mHorizontalDOPValid:1;
11703 bool mVerticalDOPValid:1;
11704 bool mOperatingModeUsedValid:1;
11705
11706 // Padding out 9 bits
11707 UINT8 mReserved1:1;
11708 UINT8 mReserved2;
11709
11710 UINT16 mCalendarYear;
11711 eQMIPDSCalendarMonths mCalendarMonth;
11712 eQMIPDSCalendarDays mCalendarDay;
11713 UINT8 mCalendarDayOfMonth;
11714 UINT8 mCalendarHour;
11715 UINT8 mCalendarMinute;
11716 UINT8 mCalendarSecond;
11717 UINT16 mCalendarMillisecond;
11718 UINT8 mCalendarLeapSeconds;
11719 UINT64 mUTCTimestamp;
11720 UINT32 mUTCTimestampUncertainty;
11721 double mLatitude;
11722 double mLongitude;
11723 float mEllipsoidAltitude;
11724 float mMeanSeaLevelAltitude;
11725 float mHorizontalSpeed;
11726 float mVerticalSpeed;
11727 float mHeading;
11728 float mHorizontalUncertaintyCircular;
11729 float mHorizontalUncertaintyEllipseSemiMajor;
11730 float mHorizontalUncertaintyEllipseSemiMinor;
11731 float mHorizontalUncertaintyEllipseOrientAzimuth;
11732 float mVerticalUncertainty;
11733 float mHorizontalVelocityUncertainty;
11734 float mVerticalVelocityUncertainty;
11735 UINT8 mHorizontalConfidence;
11736 float mPositionDOP;
11737 float mHorizontalDOP;
11738 float mVerticalDOP;
11739 eQMIPDSNMEASentenceOperatingModes mOperatingMode;
11740 };
11741
11742 // Structure to describe indication TLV 0x14 for PDS EventReport
11743 struct sPDSEventReportIndication_ExternalXTRARequest
11744 {
11745 UINT16 mMaximumFileSize;
11746 UINT8 mURLRecordCount;
11747
11748 struct sURL
11749 {
11750 UINT8 mURLLength;
11751
11752 // This array must be the size specified by mURLLength
11753 // char mURL[1];
11754 };
11755
11756 // This array must be the size specified by mURLRecordCount
11757 // sURL mURLs[1];
11758 };
11759
11760 // Structure to describe indication TLV 0x15 for PDS EventReport
11761 struct sPDSEventReportIndication_ExternalTimeInjectionRequest
11762 {
11763 UINT32 mDelayThresholdMilliseconds;
11764 UINT8 mURLRecordCount;
11765
11766 struct sURL
11767 {
11768 UINT8 mURLLength;
11769
11770 // This array must be the size specified by mURLLength
11771 // char mURL[1];
11772 };
11773
11774 // This array must be the size specified by mURLRecordCount
11775 // sURL mURLs[1];
11776 };
11777
11778 // Structure to describe indication TLV 0x16 for PDS EventReport
11779 struct sPDSEventReportIndication_ExternalWiFiPositionRequest
11780 {
11781 eQMIPDSWiFiRequestTypes mWiFiRequestType;
11782 UINT16 mWiFiRequestTimeBetweenFixesMilliseconds;
11783 };
11784
11785 // Structure to describe indication TLV 0x17 for PDS EventReport
11786 struct sPDSEventReportIndication_SatelliteInfo
11787 {
11788 bool mIonoValid:1;
11789 bool mSatelliteCountValid:1;
11790 bool mSatelliteListValid:1;
11791
11792 // Padding out 29 bits
11793 UINT8 mReserved1:5;
11794 UINT8 mReserved2[3];
11795
11796 INT8 mIonosphericCorrections;
11797 UINT8 mSVRecordCount;
11798
11799 struct sSV
11800 {
11801 bool mSystemValid:1;
11802 bool mPRNValid:1;
11803 bool mHealthStatusValid:1;
11804 bool mProcessStatusValid:1;
11805 bool mEphemerisStateValid:1;
11806 bool mAlmanacStateValid:1;
11807 bool mElevationValid:1;
11808 bool mAzimuthValid:1;
11809 bool mCN0Valid:1;
11810
11811 // Padding out 23 bits
11812 UINT8 mReserved3:7;
11813 UINT8 mReserved4[2];
11814
11815 eQMIPDSSVSystems mSystem;
11816 UINT8 mPRN;
11817 eQMIPDSSVHealthStatus mHealthLevel;
11818 eQMIPDSSVProcessingStatus mProcessingStatus;
11819 eQMIPDSSVEphemerisStatus mEphemerisState;
11820 eQMIPDSSVAlmanacStatus mAlmanacState;
11821 INT32 mElevation;
11822 UINT16 mAzimuth;
11823 UINT16 mCN0;
11824 };
11825
11826 // This array must be the size specified by mSVRecordCount
11827 // sSV mSVs[1];
11828 };
11829
11830 // Structure to describe indication TLV 0x18 for PDS EventReport
11831 struct sPDSEventReportIndication_VXNetworkInitiatedPrompt
11832 {
11833 bool mPrivacyValid:1;
11834 bool mQoSValid:1;
11835 bool mCountValid:1;
11836 bool mIntervalValid:1;
11837 bool mModeValid:1;
11838 bool mRequestorIDValid:1;
11839
11840 // Padding out 26 bits
11841 UINT8 mReserved1:2;
11842 UINT8 mReserved2[3];
11843
11844 eQMIPDSPrivacyModes mPrivacy;
11845 UINT8 mQoS;
11846 UINT32 mPositionCount;
11847 UINT32 mIntervalBetweenFixesSeconds;
11848 eQMIPDSVXModes mMode;
11849 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
11850 UINT8 mRequestorIDLength;
11851
11852 // This array must be the size specified by mRequestorIDLength
11853 // UINT8 mRequestorID[1];
11854 };
11855
11856 // Structure to describe indication TLV 0x19 for PDS EventReport
11857 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1
11858 {
11859 bool mPrivacyValid:1;
11860 bool mINITHashValid:1;
11861 bool mModeValid:1;
11862 bool mSLPSessionIDValid:1;
11863 bool mSLPServerIPv4AddressValid:1;
11864 bool mSLPServerIPv6AddressValid:1;
11865 bool mSLPServerURLAddressValid:1;
11866 bool mDCSValid:1;
11867 bool mRequestorIDValid:1;
11868 bool mClientNameValid:1;
11869 bool mQoPHorizontalAccuracyValid:1;
11870 bool mQoPVerticalAccuracyValid:1;
11871 bool mQoPMaxLocationAgeValid:1;
11872 bool mQoPDelayValid:1;
11873
11874 // Padding out 18 bits
11875 UINT8 mReserved1:2;
11876 UINT8 mReserved2[2];
11877
11878 eQMIPDSPrivacyModes mPrivacy;
11879 UINT64 mINITHash;
11880 eQMIPDSSUPLModes mMode;
11881 UINT32 mSLPSessionID;
11882 UINT32 mSLPServerIPv4Port;
11883 UINT8 mSLPServerIPv4Address[4];
11884 UINT32 mSLPServerIPv6Port;
11885 UINT8 mSLPServerIPv6Address[16];
11886 UINT8 mSLPServerURLLength;
11887
11888 // This array must be the size specified by mSLPServerURLLength
11889 // char mSLPServerURLAddress[1];
11890 };
11891
11892 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2
11893 {
11894 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
11895 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
11896 UINT8 mRequestorIDLength;
11897
11898 // This array must be the size specified by mRequestorIDLength
11899 // UINT8 mRequestorID[1];
11900 };
11901
11902 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3
11903 {
11904 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
11905 UINT8 mClientNameLength;
11906
11907 // This array must be the size specified by mClientNameLength
11908 // UINT8 mClientName[1];
11909 };
11910
11911 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4
11912 {
11913 UINT8 mQoPHorizontalAccuracy;
11914 UINT8 mQoPVerticalAccuracy;
11915 UINT8 mQoPMaxLocationAge;
11916 UINT8 mQoPDelay;
11917 };
11918
11919 struct sPDSEventReportIndication_SUPLNetworkInitiatedPrompt
11920 {
11921 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt1 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt1;
11922 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt2 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt2;
11923 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt3 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt3;
11924 sPDSEventReportIndication_SUPLNetworkInitiatedPrompt4 mPDSEventReportIndication_SUPLNetworkInitiatedPrompt4;
11925 };
11926
11927 // Structure to describe indication TLV 0x1A for PDS EventReport
11928 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1
11929 {
11930 bool mPrivacyValid:1;
11931 bool mInvokeIDValid:1;
11932 bool mNotificationTextValid:1;
11933 bool mClientAddressValid:1;
11934 bool mLocationTypeValid:1;
11935 bool mRequestorIDValid:1;
11936 bool mCodewordStringValid:1;
11937 bool mServiceTypeIDValid:1;
11938
11939 // Padding out 24 bits
11940 UINT8 mReserved1[3];
11941
11942 eQMIPDSPrivacyModes mPrivacy;
11943 UINT8 mInvokeID;
11944 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
11945 UINT8 mNotificationTextLength;
11946
11947 // This array must be the size specified by mNotificationTextLength
11948 // UINT8 mNotificationText[1];
11949 };
11950
11951 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2
11952 {
11953 UINT8 mClientAddressLength;
11954
11955 // This array must be the size specified by mClientAddressLength
11956 // char mClientAddress[1];
11957 };
11958
11959 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3
11960 {
11961 eQMIPDSUMTSCPLocationTypes mLocationType;
11962 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
11963 UINT8 mRequestorIDLength;
11964
11965 // This array must be the size specified by mRequestorIDLength
11966 // UINT8 mRequestorID[1];
11967 };
11968
11969 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4
11970 {
11971 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
11972 UINT8 mCodewordLength;
11973
11974 // This array must be the size specified by mCodewordLength
11975 // UINT8 mCodeword[1];
11976 };
11977
11978 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5
11979 {
11980 UINT8 mServiceTypeID;
11981 };
11982
11983 struct sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt
11984 {
11985 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt1;
11986 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt2;
11987 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt3;
11988 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt4;
11989 sPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5 mPDSEventReportIndication_UMTSCPNetworkInitiatedPrompt5;
11990 };
11991
11992 // Structure to describe indication TLV 0x1B for PDS EventReport
11993 struct sPDSEventReportIndication_CommEvents
11994 {
11995 eQMIPDSCommEventTypes mType;
11996 eQMIPDSCommEventProtocols mProtocolDataType;
11997 };
11998
11999 // Structure to describe indication TLV 0x1C for PDS EventReport
12000 struct sPDSEventReportIndication_PositionSource
12001 {
12002 bool mGPS:1;
12003 bool mCellID:1;
12004 bool mGlonass:1;
12005 bool mNetwork:1;
12006 bool mEPI:1;
12007
12008 // Padding out 27 bits
12009 UINT8 mReserved1:3;
12010 UINT8 mReserved2[3];
12011 };
12012
12013 // Structure to describe indication TLV 0x1D for PDS EventReport
12014 struct sPDSEventReportIndication_AccelerometerStreamingStatus
12015 {
12016 eQMIPDSStreamingStatus mAccelerometerStreamingStatus;
12017 };
12018
12019 // Structure to describe indication TLV 0x1E for PDS EventReport
12020 struct sPDSEventReportIndication_GyroStreamingStatus
12021 {
12022 eQMIPDSStreamingStatus mGyroStreamingStatus;
12023 };
12024
12025 // Structure to describe indication TLV 0x1F for PDS EventReport
12026 struct sPDSEventReportIndication_TimeSyncRequest
12027 {
12028 UINT32 mReferenceCounter;
12029 };
12030
12031 // Structure to describe indication TLV 0x20 for PDS EventReport
12032 struct sPDSEventReportIndication_PositionReliabilityCounter
12033 {
12034 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
12035 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
12036 };
12037
12038 // Structure to describe indication TLV 0x21 for PDS EventReport
12039 struct sPDSEventReportIndication_SensorDataUsage
12040 {
12041 bool mAccelerometer:1;
12042 bool mGyro:1;
12043
12044 // Padding out 14 bits
12045 UINT8 mReserved1:6;
12046 UINT8 mReserved2;
12047
12048 bool mHeadingAidedWithSensorData:1;
12049 bool mSpeedAidedWithSensorData:1;
12050 bool mPositionAidedWithSensorData:1;
12051 bool mVelocityAidedWithSensorData:1;
12052
12053 // Padding out 12 bits
12054 UINT8 mReserved3:4;
12055 UINT8 mReserved4;
12056 };
12057
12058 // Structure to describe indication TLV 0x22 for PDS EventReport
12059 struct sPDSEventReportIndication_TimeSourceInformation
12060 {
12061 INT8 mTimeValid;
12062 eQMIPDSTimeSource mTimeSource;
12063 UINT32 mTimeUncertaintyMilliseconds;
12064 UINT16 mGPSWeekNumber;
12065 UINT32 mGPSTimeOfWeekMilliseconds;
12066 UINT32 mReserved1;
12067 UINT32 mReserved2;
12068 UINT32 mReserved3;
12069 UINT32 mReserved4;
12070 UINT32 mReserved5;
12071 };
12072
12073 // Structure to describe indication TLV 0x23 for PDS EventReport
12074 struct sPDSEventReportIndication_EncryptedPositionInformation
12075 {
12076 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
12077 UINT8 mEncryptionDataLength;
12078
12079 // This array must be the size specified by mEncryptionDataLength
12080 // UINT8 mEncryptionData[1];
12081 };
12082
12083 // Structure to describe indication TLV 0x24 for PDS EventReport
12084 struct sPDSEventReportIndication_HeadingUncertaintyInformation
12085 {
12086 float mHeadingUncertainty;
12087 float mGNSSHeadingUncertainty;
12088 UINT32 mReserved1;
12089 UINT32 mReserved2;
12090 };
12091
12092 // Structure to describe indication TLV 0x25 for PDS EventReport
12093 struct sPDSEventReportIndication_ProprietaryNMEADebugSentences
12094 {
12095 // String is variable length, but must be size of the container
12096 // char mNMEADebug[1];
12097 };
12098
12099 // Structure to describe indication TLV 0x26 for PDS EventReport
12100 struct sPDSEventReportIndication_ExtendedExternalXTRADatabaseRequest
12101 {
12102 UINT32 mMaximumFileSize;
12103 UINT8 mURLCount;
12104 UINT8 mURLLength;
12105
12106 // This array must be the size specified by mURLLength
12107 // char mURL[1];
12108 };
12109
12110 // Structure to describe indication TLV 0x27 for PDS EventReport
12111 struct sPDSEventReportIndication_ServiceResetStatus
12112 {
12113 eQMIPDSResetStates mServiceResetStatus;
12114 };
12115
12116 // Structure to describe response TLV 0x01 for PDSGetServiceState()
12117 struct sPDSGetServiceStateResponse_State
12118 {
12119 INT8 mServiceEnabled;
12120 eQMIPDSTrackingSessionStates mTrackingSessionState;
12121 };
12122
12123 // Structure to describe indication TLV 0x01 for PDS ServiceStateIndication
12124 struct sPDSServiceStateIndication_State
12125 {
12126 INT8 mServiceEnabled;
12127 eQMIPDSTrackingSessionStates mTrackingSessionState;
12128 };
12129
12130 // Structure to describe request TLV 0x01 for PDSSetServiceState()
12131 struct sPDSSetServiceStateRequest_State
12132 {
12133 INT8 mServiceEnabled;
12134 };
12135
12136 // Structure to describe request TLV 0x01 for PDSStartTrackingSession()
12137 struct sPDSStartTrackingSessionRequest_Session
12138 {
12139 eQMIPDSSessionControlTypes mSessionControl;
12140 eQMIPDSSessionTypes mSessionType;
12141 eQMIPDSOperationTypes mSessionOperation;
12142 eQMIPDSServerOptions mServerOption;
12143 UINT8 mTimeoutSeconds;
12144 UINT32 mSessionFixRequests;
12145 UINT32 mFixRequestIntervalSeconds;
12146 UINT32 mDesiredAccuracyMeters;
12147 };
12148
12149 // Structure to describe response TLV 0x01 for PDSGetTrackingSessionInfo()
12150 struct sPDSGetTrackingSessionInfoResponse_Info
12151 {
12152 eQMIPDSSessionControlTypes mSessionControl;
12153 eQMIPDSSessionTypes mSessionType;
12154 eQMIPDSOperationTypes mSessionOperation;
12155 eQMIPDSServerOptions mServerOption;
12156 UINT8 mTimeoutSeconds;
12157 UINT32 mSessionFixRequests;
12158 UINT32 mFixRequestIntervalSeconds;
12159 UINT32 mDesiredAccuracyMeters;
12160 };
12161
12162 // Structure to describe response TLV 0x01 for PDSGetNMEAConfig()
12163 struct sPDSGetNMEAConfigResponse_Config
12164 {
12165 bool mGPGGANMEASentences:1;
12166 bool mGPRMCNMEASentences:1;
12167 bool mGPGSVNMEASentences:1;
12168 bool mGPGSANMEASentences:1;
12169 bool mGPVTGNMEASentences:1;
12170 bool mGLGSVNMEASentences:1;
12171 bool mGNGSANMEASentences:1;
12172 bool mGNGNSNMEASentences:1;
12173 eQMIPDSOutputDevices mOutputDevice;
12174 eQMIPDSNMEAReportingOptions mNMEAReporting;
12175 };
12176
12177 // Structure to describe response TLV 0x10 for PDSGetNMEAConfig()
12178 struct sPDSGetNMEAConfigResponse_AdditionalConfig
12179 {
12180 bool mPQXFI:1;
12181 bool mPSTIS:1;
12182
12183 // Padding out 14 bits
12184 UINT8 mReserved1:6;
12185 UINT8 mReserved2;
12186 };
12187
12188 // Structure to describe request TLV 0x01 for PDSSetNMEAConfig()
12189 struct sPDSSetNMEAConfigRequest_Config
12190 {
12191 bool mGPGGANMEASentences:1;
12192 bool mGPRMCNMEASentences:1;
12193 bool mGPGSVNMEASentences:1;
12194 bool mGPGSANMEASentences:1;
12195 bool mGPVTGNMEASentences:1;
12196 bool mGLGSVNMEASentences:1;
12197 bool mGNGSANMEASentences:1;
12198 bool mGNGNSNMEASentences:1;
12199 eQMIPDSOutputDevices mOutputDevice;
12200 eQMIPDSNMEAReportingOptions mNMEAReporting;
12201 };
12202
12203 // Structure to describe request TLV 0x10 for PDSSetNMEAConfig()
12204 struct sPDSSetNMEAConfigRequest_AdditionalConfig
12205 {
12206 bool mPQXFI:1;
12207 bool mPSTIS:1;
12208
12209 // Padding out 14 bits
12210 UINT8 mReserved1:6;
12211 UINT8 mReserved2;
12212 };
12213
12214 // Structure to describe request TLV 0x01 for PDSInjectTimeReference()
12215 struct sPDSInjectTimeReferenceRequest_Time
12216 {
12217 UINT64 mSystemTimeMilliseconds;
12218 UINT16 mSystemDiscontinuties;
12219 };
12220
12221 // Structure to describe response TLV 0x01 for PDSGetDefaults()
12222 struct sPDSGetDefaultsResponse_Defaults
12223 {
12224 eQMIPDSOperationTypes mSessionOperation;
12225 UINT8 mTimeoutSeconds;
12226 UINT32 mFixRequestIntervalSeconds;
12227 UINT32 mDesiredAccuracyMeters;
12228 };
12229
12230 // Structure to describe request TLV 0x01 for PDSSetDefaults()
12231 struct sPDSSetDefaultsRequest_Defaults
12232 {
12233 eQMIPDSOperationTypes mSessionOperation;
12234 UINT8 mTimeoutSeconds;
12235 UINT32 mFixRequestIntervalSeconds;
12236 UINT32 mDesiredAccuracyMeters;
12237 };
12238
12239 // Structure to describe response TLV 0x10 for PDSGetXTRAParameters()
12240 struct sPDSGetXTRAParametersResponse_Automatic
12241 {
12242 INT8 mAutomaticDownloadEnabled;
12243 UINT16 mDownloadIntervalInHours;
12244 };
12245
12246 // Structure to describe response TLV 0x11 for PDSGetXTRAParameters()
12247 struct sPDSGetXTRAParametersResponse_Medium
12248 {
12249 UINT8 mMediumPreferences;
12250
12251 // This array must be the size specified by mMediumPreferences
12252 // eQMIPDSMediums mMediumPreference[1];
12253 };
12254
12255 // Structure to describe response TLV 0x12 for PDSGetXTRAParameters()
12256 struct sPDSGetXTRAParametersResponse_Network
12257 {
12258 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
12259 };
12260
12261 // Structure to describe response TLV 0x13 for PDSGetXTRAParameters()
12262 struct sPDSGetXTRAParametersResponse_Validity
12263 {
12264 UINT16 mValidPeriodGPSStartWeek;
12265 UINT16 mValidPeriodGPSStartWeekOffsetInMinutes;
12266 UINT16 mValidPeriodDurationInHours;
12267 };
12268
12269 // Structure to describe response TLV 0x14 for PDSGetXTRAParameters()
12270 struct sPDSGetXTRAParametersResponse_Embedded
12271 {
12272 INT8 mEmbeddedXTRADataClientEnabled;
12273 INT8 mEmbeddedXTRATimeClientEnabled;
12274 };
12275
12276 // Structure to describe request TLV 0x10 for PDSSetXTRAParameters()
12277 struct sPDSSetXTRAParametersRequest_Automatic
12278 {
12279 INT8 mAutomaticDownloadEnabled;
12280 UINT16 mDownloadIntervalInHours;
12281 };
12282
12283 // Structure to describe request TLV 0x11 for PDSSetXTRAParameters()
12284 struct sPDSSetXTRAParametersRequest_Medium
12285 {
12286 UINT8 mMediumPreferences;
12287
12288 // This array must be the size specified by mMediumPreferences
12289 // eQMIPDSMediums mMediumPreference[1];
12290 };
12291
12292 // Structure to describe request TLV 0x12 for PDSSetXTRAParameters()
12293 struct sPDSSetXTRAParametersRequest_Network
12294 {
12295 eQMIPDSWWANNetworkPreferences mWWANNetworkPreference;
12296 };
12297
12298 // Structure to describe request TLV 0x14 for PDSSetXTRAParameters()
12299 struct sPDSSetXTRAParametersRequest_Embedded
12300 {
12301 INT8 mEmbeddedXTRADataClientEnabled;
12302 INT8 mEmbeddedXTRATimeClientEnabled;
12303 };
12304
12305 // Structure to describe request TLV 0x12 for PDSGetAGPSConfig()
12306 struct sPDSGetAGPSConfigRequest_NetworkMode
12307 {
12308 eQMIPDSNetworkMode mNetworkMode;
12309 };
12310
12311 // Structure to describe response TLV 0x10 for PDSGetAGPSConfig()
12312 struct sPDSGetAGPSConfigResponse_ServerAddress
12313 {
12314 UINT8 mServerAddress[4];
12315 UINT32 mServerPort;
12316 };
12317
12318 // Structure to describe response TLV 0x11 for PDSGetAGPSConfig()
12319 struct sPDSGetAGPSConfigResponse_ServerURL
12320 {
12321 UINT8 mURLLength;
12322
12323 // This array must be the size specified by mURLLength
12324 // char mURL[1];
12325 };
12326
12327 // Structure to describe request TLV 0x10 for PDSSetAGPSConfig()
12328 struct sPDSSetAGPSConfigRequest_Server
12329 {
12330 UINT8 mServerAddress[4];
12331 UINT32 mServerPort;
12332 };
12333
12334 // Structure to describe request TLV 0x11 for PDSSetAGPSConfig()
12335 struct sPDSSetAGPSConfigRequest_ServerURL
12336 {
12337 UINT8 mURLLength;
12338
12339 // This array must be the size specified by mURLLength
12340 // char mURL[1];
12341 };
12342
12343 // Structure to describe request TLV 0x12 for PDSSetAGPSConfig()
12344 struct sPDSSetAGPSConfigRequest_NetworkMode
12345 {
12346 eQMIPDSNetworkMode mNetworkMode;
12347 };
12348
12349 // Structure to describe response TLV 0x01 for PDSGetServiceAutoTrackingState()
12350 struct sPDSGetServiceAutoTrackingStateResponse_State
12351 {
12352 INT8 mAutoTrackingEnabled;
12353 };
12354
12355 // Structure to describe request TLV 0x01 for PDSSetServiceAutoTrackingState()
12356 struct sPDSSetServiceAutoTrackingStateRequest_State
12357 {
12358 INT8 mAutoTrackingEnabled;
12359 };
12360
12361 // Structure to describe response TLV 0x01 for PDSGetCOMPortAutoTrackingConfig()
12362 struct sPDSGetCOMPortAutoTrackingConfigResponse_Config
12363 {
12364 INT8 mAutoTrackingEnabled;
12365 };
12366
12367 // Structure to describe request TLV 0x01 for PDSSetCOMPortAutoTrackingConfig()
12368 struct sPDSSetCOMPortAutoTrackingConfigRequest_Config
12369 {
12370 INT8 mAutoTrackingEnabled;
12371 };
12372
12373 // Structure to describe request TLV 0x10 for PDSResetPDSData()
12374 struct sPDSResetPDSDataRequest_GPSData
12375 {
12376 bool mResetEPH:1;
12377 bool mResetALM:1;
12378 bool mResetPOS:1;
12379 bool mResetTIME:1;
12380 bool mResetIONO:1;
12381 bool mResetUTC:1;
12382 bool mResetHEALTH:1;
12383 bool mResetSVDIR:1;
12384 bool mResetSVSTEER:1;
12385 bool mResetSADATA:1;
12386 bool mResetRTI:1;
12387 bool mResetALMCORR:1;
12388 bool mResetFREQBIASEST:1;
12389
12390 // Padding out 19 bits
12391 UINT8 mReserved1:3;
12392 UINT8 mReserved2[2];
12393 };
12394
12395 // Structure to describe request TLV 0x11 for PDSResetPDSData()
12396 struct sPDSResetPDSDataRequest_CellData
12397 {
12398 bool mResetPOS:1;
12399 bool mResetLATESTGPSPOS:1;
12400 bool mResetOTAPOS:1;
12401 bool mResetEXTREFPOS:1;
12402 bool mResetTIMETAG:1;
12403 bool mResetCELLID:1;
12404 bool mResetCACHEDCELLID:1;
12405 bool mResetLASTSRVCELL:1;
12406 bool mResetCURSRVCELL:1;
12407 bool mResetNEIGHBORINFO:1;
12408
12409 // Padding out 22 bits
12410 UINT8 mReserved1:6;
12411 UINT8 mReserved2[2];
12412 };
12413
12414 // Structure to describe request TLV 0x10 for PDSSinglePositionFix()
12415 struct sPDSSinglePositionFixRequest_Mode
12416 {
12417 eQMIPDSOperationTypes mSessionOperation;
12418 };
12419
12420 // Structure to describe request TLV 0x11 for PDSSinglePositionFix()
12421 struct sPDSSinglePositionFixRequest_Timeout
12422 {
12423 UINT8 mTimeoutSeconds;
12424 };
12425
12426 // Structure to describe request TLV 0x12 for PDSSinglePositionFix()
12427 struct sPDSSinglePositionFixRequest_Accuracy
12428 {
12429 UINT32 mDesiredAccuracyMeters;
12430 };
12431
12432 // Structure to describe response TLV 0x01 for PDSGetServiceVersion()
12433 struct sPDSGetServiceVersionResponse_Version
12434 {
12435 UINT8 mServiceMajorVersion;
12436 UINT8 mServiceMinorVersion;
12437 };
12438
12439 // Structure to describe request TLV 0x01 for PDSInjectXTRAData()
12440 struct sPDSInjectXTRADataRequest_Data
12441 {
12442 UINT8 mSequenceNumber;
12443 UINT16 mTotalLength;
12444 UINT16 mSequenceLength;
12445
12446 // This array must be the size specified by mSequenceLength
12447 // UINT8 mData[1];
12448 };
12449
12450 // Structure to describe request TLV 0x10 for PDSInjectPositionData()
12451 struct sPDSInjectPositionDataRequest_Timestamp
12452 {
12453 UINT64 mUTCTimestamp;
12454 };
12455
12456 // Structure to describe request TLV 0x11 for PDSInjectPositionData()
12457 struct sPDSInjectPositionDataRequest_Latitude
12458 {
12459 double mLatitude;
12460 };
12461
12462 // Structure to describe request TLV 0x12 for PDSInjectPositionData()
12463 struct sPDSInjectPositionDataRequest_Longitude
12464 {
12465 double mLongitude;
12466 };
12467
12468 // Structure to describe request TLV 0x13 for PDSInjectPositionData()
12469 struct sPDSInjectPositionDataRequest_AltitudeEllipsoid
12470 {
12471 float mEllipsoidAltitude;
12472 };
12473
12474 // Structure to describe request TLV 0x14 for PDSInjectPositionData()
12475 struct sPDSInjectPositionDataRequest_AltitudeSeaLevel
12476 {
12477 float mMeanSeaLevelAltitude;
12478 };
12479
12480 // Structure to describe request TLV 0x15 for PDSInjectPositionData()
12481 struct sPDSInjectPositionDataRequest_HorizontalUncertainty
12482 {
12483 float mHorizontalUncertaintyCircular;
12484 };
12485
12486 // Structure to describe request TLV 0x16 for PDSInjectPositionData()
12487 struct sPDSInjectPositionDataRequest_VerticalUncertainty
12488 {
12489 float mVerticalUncertainty;
12490 };
12491
12492 // Structure to describe request TLV 0x17 for PDSInjectPositionData()
12493 struct sPDSInjectPositionDataRequest_HorizontalConfidence
12494 {
12495 UINT8 mHorizontalConfidence;
12496 };
12497
12498 // Structure to describe request TLV 0x18 for PDSInjectPositionData()
12499 struct sPDSInjectPositionDataRequest_VerticalConfidence
12500 {
12501 UINT8 mVerticalConfidence;
12502 };
12503
12504 // Structure to describe request TLV 0x19 for PDSInjectPositionData()
12505 struct sPDSInjectPositionDataRequest_Source
12506 {
12507 eQMIPDSInjectedPositionSources mSource;
12508 };
12509
12510 // Structure to describe request TLV 0x1A for PDSInjectPositionData()
12511 struct sPDSInjectPositionDataRequest_TimeType
12512 {
12513 eQMIPDSTimeType mTimeType;
12514 };
12515
12516 // Structure to describe request TLV 0x1B for PDSInjectPositionData()
12517 struct sPDSInjectPositionDataRequest_PositionReliability
12518 {
12519 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
12520 eQMIPDSReliabilityIndicator mReliabilityIndicatorVertical;
12521 };
12522
12523 // Structure to describe request TLV 0x1C for PDSInjectPositionData()
12524 struct sPDSInjectPositionDataRequest_AltitudeInformation
12525 {
12526 eQMIPDSAltitudeSource mAltitudeSource;
12527 eQMIPDSSourceLinkage mSourceLinkage;
12528 eQMIPDSUncertaintyCoverage mUncertaintyCoverage;
12529 };
12530
12531 // Structure to describe request TLV 0x10 for PDSInjectWiFiPositionData()
12532 struct sPDSInjectWiFiPositionDataRequest_Time
12533 {
12534 UINT32 mWiFiTimeCounterMilliseconds;
12535 };
12536
12537 // Structure to describe request TLV 0x11 for PDSInjectWiFiPositionData()
12538 struct sPDSInjectWiFiPositionDataRequest_Position
12539 {
12540 INT32 mWiFiLatitude;
12541 INT32 mWiFiLongitude;
12542 UINT16 mHEPEInMeters;
12543 UINT8 mAPCount;
12544 UINT8 mErrorCode;
12545 };
12546
12547 // Structure to describe request TLV 0x12 for PDSInjectWiFiPositionData()
12548 struct sPDSInjectWiFiPositionDataRequest_APInfo
12549 {
12550 UINT8 mAPCount;
12551
12552 struct sAP
12553 {
12554 UINT8 mMACAddress[6];
12555 UINT32 mRSSI;
12556 UINT16 mBeaconChannel;
12557 bool mUsedForPosition:1;
12558 bool mHiddenSSID:1;
12559 bool mEncryptionOn:1;
12560 bool mInfrastructureMode:1;
12561
12562 // Padding out 4 bits
12563 UINT8 mReserved1:4;
12564 };
12565
12566 // This array must be the size specified by mAPCount
12567 // sAP mAPs[1];
12568 };
12569
12570 // Structure to describe request TLV 0x13 for PDSInjectWiFiPositionData()
12571 struct sPDSInjectWiFiPositionDataRequest_PositionReliability
12572 {
12573 eQMIPDSReliabilityIndicator mReliabilityIndicatorHorizontal;
12574 };
12575
12576 // Structure to describe response TLV 0x10 for PDSGetSBASConfig()
12577 struct sPDSGetSBASConfigResponse_Config
12578 {
12579 eQMIPDSSBASStates mState;
12580 };
12581
12582 // Structure to describe request TLV 0x10 for PDSSetSBASConfig()
12583 struct sPDSSetSBASConfigRequest_Config
12584 {
12585 INT8 mEnableSBAS;
12586 };
12587
12588 // Structure to describe request TLV 0x01 for PDSSendNetworkInitiatedResponse()
12589 struct sPDSSendNetworkInitiatedResponseRequest_Action
12590 {
12591 INT8 mAllowRequest;
12592 };
12593
12594 // Structure to describe request TLV 0x10 for PDSSendNetworkInitiatedResponse()
12595 struct sPDSSendNetworkInitiatedResponseRequest_VX
12596 {
12597 bool mPrivacyValid:1;
12598 bool mQoSValid:1;
12599 bool mCountValid:1;
12600 bool mIntervalValid:1;
12601 bool mModeValid:1;
12602 bool mRequestorIDValid:1;
12603
12604 // Padding out 26 bits
12605 UINT8 mReserved1:2;
12606 UINT8 mReserved2[3];
12607
12608 eQMIPDSPrivacyModes mPrivacy;
12609 UINT8 mQoS;
12610 UINT32 mPositionCount;
12611 UINT32 mIntervalBetweenFixesSeconds;
12612 eQMIPDSVXModes mMode;
12613 eQMIPDSVXDataCodingSchemes mRequestorIDDCS;
12614 UINT8 mRequestorIDLength;
12615
12616 // This array must be the size specified by mRequestorIDLength
12617 // UINT8 mRequestorID[1];
12618 };
12619
12620 // Structure to describe request TLV 0x11 for PDSSendNetworkInitiatedResponse()
12621 struct sPDSSendNetworkInitiatedResponseRequest_SUPL1
12622 {
12623 bool mPrivacyValid:1;
12624 bool mINITHashValid:1;
12625 bool mModeValid:1;
12626 bool mSLPSessionIDValid:1;
12627 bool mSLPServerIPv4AddressValid:1;
12628 bool mSLPServerIPv6AddressValid:1;
12629 bool mSLPServerURLAddressValid:1;
12630 bool mDCSValid:1;
12631 bool mRequestorIDValid:1;
12632 bool mClientNameValid:1;
12633 bool mQoPHorizontalAccuracyValid:1;
12634 bool mQoPVerticalAccuracyValid:1;
12635 bool mQoPMaxLocationAgeValid:1;
12636 bool mQoPDelayValid:1;
12637
12638 // Padding out 18 bits
12639 UINT8 mReserved1:2;
12640 UINT8 mReserved2[2];
12641
12642 eQMIPDSPrivacyModes mPrivacy;
12643 UINT64 mINITHash;
12644 eQMIPDSSUPLModes mMode;
12645 UINT32 mSLPSessionID;
12646 UINT32 mSLPServerIPv4Port;
12647 UINT8 mSLPServerIPv4Address[4];
12648 UINT32 mSLPServerIPv6Port;
12649 UINT8 mSLPServerIPv6Address[16];
12650 UINT8 mSLPServerURLLength;
12651
12652 // This array must be the size specified by mSLPServerURLLength
12653 // char mSLPServerURLAddress[1];
12654 };
12655
12656 struct sPDSSendNetworkInitiatedResponseRequest_SUPL2
12657 {
12658 eQMIPDSSUPLDataCodingSchemes mRequestDCS;
12659 eQMIPDSSUPLIDNameDataCodingSchemes mRequestorIDDCS;
12660 UINT8 mRequestorIDLength;
12661
12662 // This array must be the size specified by mRequestorIDLength
12663 // UINT8 mRequestorID[1];
12664 };
12665
12666 struct sPDSSendNetworkInitiatedResponseRequest_SUPL3
12667 {
12668 eQMIPDSSUPLIDNameDataCodingSchemes mClientNameDCS;
12669 UINT8 mClientNameLength;
12670
12671 // This array must be the size specified by mClientNameLength
12672 // UINT8 mClientName[1];
12673 };
12674
12675 struct sPDSSendNetworkInitiatedResponseRequest_SUPL4
12676 {
12677 UINT8 mQoPHorizontalAccuracy;
12678 UINT8 mQoPVerticalAccuracy;
12679 UINT8 mQoPMaxLocationAge;
12680 UINT8 mQoPDelay;
12681 };
12682
12683 struct sPDSSendNetworkInitiatedResponseRequest_SUPL
12684 {
12685 sPDSSendNetworkInitiatedResponseRequest_SUPL1 mPDSSendNetworkInitiatedResponseRequest_SUPL1;
12686 sPDSSendNetworkInitiatedResponseRequest_SUPL2 mPDSSendNetworkInitiatedResponseRequest_SUPL2;
12687 sPDSSendNetworkInitiatedResponseRequest_SUPL3 mPDSSendNetworkInitiatedResponseRequest_SUPL3;
12688 sPDSSendNetworkInitiatedResponseRequest_SUPL4 mPDSSendNetworkInitiatedResponseRequest_SUPL4;
12689 };
12690
12691 // Structure to describe request TLV 0x12 for PDSSendNetworkInitiatedResponse()
12692 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP1
12693 {
12694 bool mPrivacyValid:1;
12695 bool mInvokeIDValid:1;
12696 bool mNotificationTextValid:1;
12697 bool mClientAddressValid:1;
12698 bool mLocationTypeValid:1;
12699 bool mRequestorIDValid:1;
12700 bool mCodewordStringValid:1;
12701 bool mServiceTypeIDValid:1;
12702
12703 // Padding out 24 bits
12704 UINT8 mReserved1[3];
12705
12706 eQMIPDSPrivacyModes mPrivacy;
12707 UINT8 mInvokeID;
12708 eQMIPDSUMTSCPDataCodingSchemes mNotificationTextDCS;
12709 UINT8 mNotificationTextLength;
12710
12711 // This array must be the size specified by mNotificationTextLength
12712 // UINT8 mNotificationText[1];
12713 };
12714
12715 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP2
12716 {
12717 UINT8 mClientAddressLength;
12718
12719 // This array must be the size specified by mClientAddressLength
12720 // char mClientAddress[1];
12721 };
12722
12723 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP3
12724 {
12725 eQMIPDSUMTSCPLocationTypes mLocationType;
12726 eQMIPDSUMTSCPDataCodingSchemes mRequestorIDDCS;
12727 UINT8 mRequestorIDLength;
12728
12729 // This array must be the size specified by mRequestorIDLength
12730 // UINT8 mRequestorID[1];
12731 };
12732
12733 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP4
12734 {
12735 eQMIPDSUMTSCPDataCodingSchemes mCodewordDCS;
12736 UINT8 mCodewordLength;
12737
12738 // This array must be the size specified by mCodewordLength
12739 // UINT8 mCodeword[1];
12740 };
12741
12742 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP5
12743 {
12744 UINT8 mServiceTypeID;
12745 };
12746
12747 struct sPDSSendNetworkInitiatedResponseRequest_UMTSCP
12748 {
12749 sPDSSendNetworkInitiatedResponseRequest_UMTSCP1 mPDSSendNetworkInitiatedResponseRequest_UMTSCP1;
12750 sPDSSendNetworkInitiatedResponseRequest_UMTSCP2 mPDSSendNetworkInitiatedResponseRequest_UMTSCP2;
12751 sPDSSendNetworkInitiatedResponseRequest_UMTSCP3 mPDSSendNetworkInitiatedResponseRequest_UMTSCP3;
12752 sPDSSendNetworkInitiatedResponseRequest_UMTSCP4 mPDSSendNetworkInitiatedResponseRequest_UMTSCP4;
12753 sPDSSendNetworkInitiatedResponseRequest_UMTSCP5 mPDSSendNetworkInitiatedResponseRequest_UMTSCP5;
12754 };
12755
12756 // Structure to describe request TLV 0x01 for PDSInjectAbsoluteTime()
12757 struct sPDSInjectAbsoluteTimeRequest_Time
12758 {
12759 UINT64 mTimestampMilliseconds;
12760 UINT32 mTimeUncertaintyMilliseconds;
12761 eQMIPDSTimeBases mTimeBase;
12762 INT8 mForceAcceptance;
12763 };
12764
12765 // Structure to describe request TLV 0x01 for PDSInjectEFSData()
12766 struct sPDSInjectEFSDataRequest_DateFile1
12767 {
12768 UINT8 mFilenameLength;
12769
12770 // This array must be the size specified by mFilenameLength
12771 // char mFilename[1];
12772 };
12773
12774 struct sPDSInjectEFSDataRequest_DateFile2
12775 {
12776 eQMIPDSEFSFileOperations mFileOperation;
12777 UINT32 mDataLength;
12778 UINT8 mPartNumber;
12779 UINT8 mTotalParts;
12780
12781 // This array must be the size specified by mDataLength
12782 // UINT8 mData[1];
12783 };
12784
12785 struct sPDSInjectEFSDataRequest_DateFile
12786 {
12787 sPDSInjectEFSDataRequest_DateFile1 mPDSInjectEFSDataRequest_DateFile1;
12788 sPDSInjectEFSDataRequest_DateFile2 mPDSInjectEFSDataRequest_DateFile2;
12789 };
12790
12791 // Structure to describe response TLV 0x10 for PDSGetDPOConfig()
12792 struct sPDSGetDPOConfigResponse_Config
12793 {
12794 INT8 mDataPowerOptimizationEnabled;
12795 };
12796
12797 // Structure to describe request TLV 0x10 for PDSSetDPOConfig()
12798 struct sPDSSetDPOConfigRequest_Config
12799 {
12800 eQMIPDSConfig mConfiguration;
12801 };
12802
12803 // Structure to describe response TLV 0x10 for PDSGetODPConfig()
12804 struct sPDSGetODPConfigResponse_Config
12805 {
12806 eQMIPDSODPStates mOnDemandPositioning;
12807 };
12808
12809 // Structure to describe request TLV 0x10 for PDSSetODPConfig()
12810 struct sPDSSetODPConfigRequest_Config
12811 {
12812 eQMIPDSODPStates mOnDemandPositioning;
12813 };
12814
12815 // Structure to describe response TLV 0x10 for PDSGetGPSState()
12816 struct sPDSGetGPSStateResponse_State
12817 {
12818 INT8 mEngineEnabled;
12819 bool mPositionValid:1;
12820 bool mAltitudeVerticalUncertaintyValid:1;
12821 bool mTimeMillisecondsValid:1;
12822 bool mTimeWeekNumberValid:1;
12823 bool mTimeUncertaintyValid:1;
12824 bool mIonoValid:1;
12825 bool mGPSEphemerisValid:1;
12826 bool mGPSAlmanacValid:1;
12827 bool mGPSHealthValid:1;
12828 bool mGPSVisibleSVsValid:1;
12829 bool mGlonassEphemerisValid:1;
12830 bool mGlonassAlmanacValid:1;
12831 bool mGlonassHealthValid:1;
12832 bool mGlonassVisibleSVsValid:1;
12833 bool mSBASEphemerisValid:1;
12834 bool mSBASAlmanacValid:1;
12835 bool mSBASHealthValid:1;
12836 bool mSBASVisibleSVsValid:1;
12837 bool mXTRAInformationValid:1;
12838
12839 // Padding out 5 bits
12840 UINT8 mReserved1:5;
12841
12842 double mLatitude;
12843 double mLongitude;
12844 float mHorizontalUncertaintyCircular;
12845 float mEllipsoidAltitude;
12846 float mVerticalUncertainty;
12847 UINT32 mTimestampInTOWMilliseconds;
12848 UINT16 mGPSWeekNumber;
12849 UINT32 mTimeUncertaintyMilliseconds;
12850 INT8 mIonoIsValid;
12851 UINT32 mGPSEphemerisSVMask;
12852 UINT32 mGPSAlmanacSVMask;
12853 UINT32 mGPSHealthSVMask;
12854 UINT32 mGPSVisibleSVMask;
12855 UINT32 mGlonassEphemerisSVMask;
12856 UINT32 mGlonassAlmanacSVMask;
12857 UINT32 mGlonassHealthSVMask;
12858 UINT32 mGlonassVisibleSVMask;
12859 UINT32 mSBASEphemerisSVMask;
12860 UINT32 mSBASAlmanacSVMask;
12861 UINT32 mSBASHealthSVMask;
12862 UINT32 mSBASVisibleSVMask;
12863 UINT16 mXTRAGPSStartWeek;
12864 UINT16 mXTRAGPSStartMinutes;
12865 INT32 mElevation;
12866 };
12867
12868 // Structure to describe request TLV 0x01 for PDSSetPPMEventReport()
12869 struct sPDSSetPPMEventReportRequest_ReportPPMEvents
12870 {
12871 INT8 mReportPPMEvents;
12872 };
12873
12874 // Structure to describe request TLV 0x01 for PDSSetSPIStreamingReport()
12875 struct sPDSSetSPIStreamingReportRequest_ReportEvents
12876 {
12877 INT8 mReportSPIEvents;
12878 };
12879
12880 // Structure to describe indication TLV 0x10 for PDS SetSPIStreamingReportIndication
12881 struct sPDSSetSPIStreamingReportIndication_SPIStreamingRequest
12882 {
12883 INT8 mStreamSPIStatus;
12884 };
12885
12886 // Structure to describe request TLV 0x01 for PDSSetSPIStatus()
12887 struct sPDSSetSPIStatusRequest_Status
12888 {
12889 eQMIPDSSPIState mSPIState;
12890 UINT8 mSPIConfidence;
12891 };
12892
12893 // Structure to describe request TLV 0x01 for PDSSetPPMReportingState()
12894 struct sPDSSetPPMReportingStateRequest_PPMReportingState
12895 {
12896 eQMIPDSReportingState mReportingState;
12897 UINT16 mReportingPeriodSeconds;
12898 };
12899
12900 // Structure to describe indication TLV 0x10 for PDS SetPPMReportingStateIndication
12901 struct sPDSSetPPMReportingStateIndication_PPMPageReport
12902 {
12903 UINT32 mPageTimeMilliseconds;
12904 UINT16 mPagePNOffset;
12905 UINT8 mPageBandClass;
12906 UINT16 mPageCDMAFrequency;
12907 UINT16 mPageBaseID;
12908 UINT16 mPageSystemID;
12909 UINT16 mPageNetworkID;
12910 };
12911
12912 // Structure to describe indication TLV 0x11 for PDS SetPPMReportingStateIndication
12913 struct sPDSSetPPMReportingStateIndication_PPMMeasurementReport
12914 {
12915 UINT32 mReferenceTimeMilliseconds;
12916 UINT8 mReferenceBandClass;
12917 UINT16 mReferenceCDMAFrequency;
12918 UINT8 mReferenceTotalRXPower;
12919 UINT16 mReferencePNOffset;
12920 UINT8 mReferenceStrength;
12921 UINT8 mReferenceRMSErrorPhase;
12922 UINT8 mNumberOfPilots;
12923
12924 struct sPilot
12925 {
12926 UINT16 mPilotPNOffset;
12927 UINT8 mPilotStrength;
12928 UINT8 mPilotRMSErrorPhase;
12929 INT16 mPilotPhase;
12930 };
12931
12932 // This array must be the size specified by mNumberOfPilots
12933 // sPilot mPilots[1];
12934 };
12935
12936 // Structure to describe indication TLV 0x12 for PDS SetPPMReportingStateIndication
12937 struct sPDSSetPPMReportingStateIndication_PPMSuspendReason
12938 {
12939 eQMIPDSSuspendReason mSuspendReason;
12940 };
12941
12942 // Structure to describe indication TLV 0x13 for PDS SetPPMReportingStateIndication
12943 struct sPDSSetPPMReportingStateIndication_PPMStopReason
12944 {
12945 eQMIPDSStopReason mStopReason;
12946 };
12947
12948 // Structure to describe request TLV 0x01 for PDSForceReceiverOff()
12949 struct sPDSForceReceiverOffRequest_ForceReceiverOff
12950 {
12951 eQMIPDSForceReceiverOff mForceReceiverOff;
12952 };
12953
12954 // Structure to describe response TLV 0x10 for PDSGetPositionMethodsState()
12955 struct sPDSGetPositionMethodsStateResponse_XTRATime
12956 {
12957 eQMIPDSMethodStates mMethodState;
12958 };
12959
12960 // Structure to describe response TLV 0x11 for PDSGetPositionMethodsState()
12961 struct sPDSGetPositionMethodsStateResponse_XTRAData
12962 {
12963 eQMIPDSMethodStates mMethodState;
12964 };
12965
12966 // Structure to describe response TLV 0x12 for PDSGetPositionMethodsState()
12967 struct sPDSGetPositionMethodsStateResponse_WiFi
12968 {
12969 eQMIPDSMethodStates mMethodState;
12970 };
12971
12972 // Structure to describe request TLV 0x10 for PDSSetPositionMethodsState()
12973 struct sPDSSetPositionMethodsStateRequest_XTRATime
12974 {
12975 eQMIPDSMethodStates mMethodState;
12976 };
12977
12978 // Structure to describe request TLV 0x11 for PDSSetPositionMethodsState()
12979 struct sPDSSetPositionMethodsStateRequest_XTRAData
12980 {
12981 eQMIPDSMethodStates mMethodState;
12982 };
12983
12984 // Structure to describe request TLV 0x12 for PDSSetPositionMethodsState()
12985 struct sPDSSetPositionMethodsStateRequest_WiFi
12986 {
12987 eQMIPDSMethodStates mMethodState;
12988 };
12989
12990 // Structure to describe request TLV 0x10 for PDSInjectSensorData()
12991 struct sPDSInjectSensorDataRequest_3AxisAccelerometerData
12992 {
12993 UINT32 mSensorTimeOfFirstSampleMilliseconds;
12994 bool mSignReversalRequired:1;
12995
12996 // Padding out 7 bits
12997 UINT8 mReserved1:7;
12998
12999 UINT8 mNumberOfSamples;
13000
13001 struct sSample
13002 {
13003 UINT16 mSampleTimeOffsetMilliseconds;
13004 float mXAxisSample;
13005 float mYAxisSample;
13006 float mZAxisSample;
13007 };
13008
13009 // This array must be the size specified by mNumberOfSamples
13010 // sSample mSamples[1];
13011 };
13012
13013 // Structure to describe request TLV 0x11 for PDSInjectSensorData()
13014 struct sPDSInjectSensorDataRequest_3AxisGyroData
13015 {
13016 UINT32 mSensorTimeOfFirstSampleMilliseconds;
13017 bool mSignReversalRequired:1;
13018
13019 // Padding out 7 bits
13020 UINT8 mReserved1:7;
13021
13022 UINT8 mNumberOfSamples;
13023
13024 struct sSample
13025 {
13026 UINT16 mSampleTimeOffsetMilliseconds;
13027 float mXAxisSample;
13028 float mYAxisSample;
13029 float mZAxisSample;
13030 };
13031
13032 // This array must be the size specified by mNumberOfSamples
13033 // sSample mSamples[1];
13034 };
13035
13036 // Structure to describe response TLV 0x10 for PDSInjectSensorData()
13037 struct sPDSInjectSensorDataResponse_AccelerometerSampleSetCount
13038 {
13039 UINT8 mAccelerometerSampleSetCount;
13040 };
13041
13042 // Structure to describe response TLV 0x11 for PDSInjectSensorData()
13043 struct sPDSInjectSensorDataResponse_GyroSampleSetCount
13044 {
13045 UINT8 mGyroSampleSetCount;
13046 };
13047
13048 // Structure to describe request TLV 0x01 for PDSInjectTimeSyncData()
13049 struct sPDSInjectTimeSyncDataRequest_TimeTag
13050 {
13051 UINT32 mReferenceCounter;
13052 UINT32 mSensorProcessorRXTimeMilliseconds;
13053 UINT32 mSensorProcessorTXTimeMilliseconds;
13054 };
13055
13056 // Structure to describe response TLV 0x10 for PDSGetSensorConfig()
13057 struct sPDSGetSensorConfigResponse_CradleMountState
13058 {
13059 eQMIPDSCradleMountState mCradleMountState;
13060 UINT8 mCradleMountStateConfidence;
13061 };
13062
13063 // Structure to describe response TLV 0x11 for PDSGetSensorConfig()
13064 struct sPDSGetSensorConfigResponse_ExternalPowerSupplyState
13065 {
13066 eQMIPDSExternalPowerState mExternalPowerSupplyState;
13067 };
13068
13069 // Structure to describe request TLV 0x10 for PDSSetSensorConfig()
13070 struct sPDSSetSensorConfigRequest_CradleMountState
13071 {
13072 eQMIPDSCradleMountState mCradleMountState;
13073 UINT8 mCradleMountStateConfidence;
13074 };
13075
13076 // Structure to describe request TLV 0x11 for PDSSetSensorConfig()
13077 struct sPDSSetSensorConfigRequest_ExternalPowerState
13078 {
13079 eQMIPDSExternalPowerState mExternalPowerSupplyState;
13080 };
13081
13082 // Structure to describe response TLV 0x10 for PDSGetSensorNavigation()
13083 struct sPDSGetSensorNavigationResponse_GyroDataVariance
13084 {
13085 float mGyroDataVariance;
13086 };
13087
13088 // Structure to describe response TLV 0x11 for PDSGetSensorNavigation()
13089 struct sPDSGetSensorNavigationResponse_GyroBiasRandomWalk
13090 {
13091 float mGyroBiasRandomWalk;
13092 };
13093
13094 // Structure to describe response TLV 0x12 for PDSGetSensorNavigation()
13095 struct sPDSGetSensorNavigationResponse_VirtualGyroGravityAveragingLength
13096 {
13097 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
13098 };
13099
13100 // Structure to describe response TLV 0x13 for PDSGetSensorNavigation()
13101 struct sPDSGetSensorNavigationResponse_HeadingFilterMode
13102 {
13103 INT8 mHeadingFilterMode;
13104 };
13105
13106 // Structure to describe response TLV 0x14 for PDSGetSensorNavigation()
13107 struct sPDSGetSensorNavigationResponse_VelocityConstraintVariance
13108 {
13109 float mVelocityConstraintVariance;
13110 };
13111
13112 // Structure to describe response TLV 0x15 for PDSGetSensorNavigation()
13113 struct sPDSGetSensorNavigationResponse_PositioningMethod
13114 {
13115 bool mSuppressInjectedPosition:1;
13116 bool mReportUsingInstantaneousInformation:1;
13117 bool mDisablePersistentMemoryStorage:1;
13118
13119 // Padding out 29 bits
13120 UINT8 mReserved1:5;
13121 UINT8 mReserved2[3];
13122 };
13123
13124 // Structure to describe response TLV 0x16 for PDSGetSensorNavigation()
13125 struct sPDSGetSensorNavigationResponse_VelocityRWSD
13126 {
13127 float mVelocityRandomWalkSpectralDensity;
13128 };
13129
13130 // Structure to describe response TLV 0x17 for PDSGetSensorNavigation()
13131 struct sPDSGetSensorNavigationResponse_AccelerationRWSD
13132 {
13133 float mAccelerationRandomWalkSpectralDensity;
13134 };
13135
13136 // Structure to describe response TLV 0x18 for PDSGetSensorNavigation()
13137 struct sPDSGetSensorNavigationResponse_AngleRWSD
13138 {
13139 float mAngleRandomWalkSpectralDensity;
13140 };
13141
13142 // Structure to describe response TLV 0x19 for PDSGetSensorNavigation()
13143 struct sPDSGetSensorNavigationResponse_RateRWSD
13144 {
13145 float mRateRandomWalkSpectralDensity;
13146 };
13147
13148 // Structure to describe response TLV 0x1A for PDSGetSensorNavigation()
13149 struct sPDSGetSensorNavigationResponse_SensorAlgorithmConfig
13150 {
13151 bool mDisableINSPositioningFilter:1;
13152
13153 // Padding out 31 bits
13154 UINT8 mReserved1:7;
13155 UINT8 mReserved2[3];
13156 };
13157
13158 // Structure to describe response TLV 0x1B for PDSGetSensorNavigation()
13159 struct sPDSGetSensorNavigationResponse_MaximumDeadReckoningTime
13160 {
13161 UINT32 mMaximumDeadReckoningTimeSeconds;
13162 };
13163
13164 // Structure to describe response TLV 0x1C for PDSGetSensorNavigation()
13165 struct sPDSGetSensorNavigationResponse_INSFilterLowThreshold
13166 {
13167 UINT8 mINSFilterCrossCheckSigmaLowThreshold;
13168 };
13169
13170 // Structure to describe response TLV 0x1D for PDSGetSensorNavigation()
13171 struct sPDSGetSensorNavigationResponse_INSFilterHighThreshold
13172 {
13173 UINT8 mINSFilterCrossCheckSigmaHighThreshold;
13174 };
13175
13176 // Structure to describe request TLV 0x10 for PDSSetNavigationConfig()
13177 struct sPDSSetNavigationConfigRequest_GyroDataVariance
13178 {
13179 float mGyroDataVariance;
13180 };
13181
13182 // Structure to describe request TLV 0x11 for PDSSetNavigationConfig()
13183 struct sPDSSetNavigationConfigRequest_GyroBiasRandomWalk
13184 {
13185 float mGyroBiasRandomWalk;
13186 };
13187
13188 // Structure to describe request TLV 0x12 for PDSSetNavigationConfig()
13189 struct sPDSSetNavigationConfigRequest_VirtualGyroCravityAveragingLength
13190 {
13191 UINT32 mVirtualGyroGravityAveragingLengthMilliseconds;
13192 };
13193
13194 // Structure to describe request TLV 0x13 for PDSSetNavigationConfig()
13195 struct sPDSSetNavigationConfigRequest_HeadingFilterMode
13196 {
13197 INT8 mHeadingFilterMode;
13198 };
13199
13200 // Structure to describe request TLV 0x14 for PDSSetNavigationConfig()
13201 struct sPDSSetNavigationConfigRequest_VelocityConstraintVariance
13202 {
13203 float mVelocityConstraintVariance;
13204 };
13205
13206 // Structure to describe request TLV 0x15 for PDSSetNavigationConfig()
13207 struct sPDSSetNavigationConfigRequest_PositioningMethod
13208 {
13209 bool mSuppressInjectedPosition:1;
13210 bool mReportUsingInstantaneousInformation:1;
13211 bool mDisablePersistentMemoryStorage:1;
13212
13213 // Padding out 29 bits
13214 UINT8 mReserved1:5;
13215 UINT8 mReserved2[3];
13216 };
13217
13218 // Structure to describe request TLV 0x16 for PDSSetSensorNavigation()
13219 struct sPDSSetSensorNavigationRequest_VelocityRWSD
13220 {
13221 float mVelocityRandomWalkSpectralDensity;
13222 };
13223
13224 // Structure to describe request TLV 0x17 for PDSSetSensorNavigation()
13225 struct sPDSSetSensorNavigationRequest_AccelerationRWSD
13226 {
13227 float mAccelerationRandomWalkSpectralDensity;
13228 };
13229
13230 // Structure to describe request TLV 0x18 for PDSSetSensorNavigation()
13231 struct sPDSSetSensorNavigationRequest_AngleRWSD
13232 {
13233 float mAngleRandomWalkSpectralDensity;
13234 };
13235
13236 // Structure to describe request TLV 0x19 for PDSSetSensorNavigation()
13237 struct sPDSSetSensorNavigationRequest_RateRWSD
13238 {
13239 float mRateRandomWalkSpectralDensity;
13240 };
13241
13242 // Structure to describe request TLV 0x1A for PDSSetSensorNavigation()
13243 struct sPDSSetSensorNavigationRequest_SensorAlgorithmConfig
13244 {
13245 bool mDisableINSPositioningFilter:1;
13246
13247 // Padding out 31 bits
13248 UINT8 mReserved1:7;
13249 UINT8 mReserved2[3];
13250 };
13251
13252 // Structure to describe request TLV 0x1B for PDSSetSensorNavigation()
13253 struct sPDSSetSensorNavigationRequest_MaximumDeadReckoningTime
13254 {
13255 UINT32 mMaximumDeadReckoningTimeSeconds;
13256 };
13257
13258 // Structure to describe request TLV 0x1C for PDSSetSensorNavigation()
13259 struct sPDSSetSensorNavigationRequest_INSFilterLowThreshold
13260 {
13261 UINT8 mINSFilterCrossCheckSigmaLowThreshold;
13262 };
13263
13264 // Structure to describe request TLV 0x1D for PDSSetSensorNavigation()
13265 struct sPDSSetSensorNavigationRequest_INSFilterHighThreshold
13266 {
13267 UINT8 mINSFilterCrossCheckSigmaHighThreshold;
13268 };
13269
13270 // Structure to describe request TLV 0x10 for PDSSetWLANBlanking()
13271 struct sPDSSetWLANBlankingRequest_BlankingEnable
13272 {
13273 eQMIPDSBlankingEnable mBlankingEnable;
13274 };
13275
13276 // Structure to describe request TLV 0x11 for PDSSetWLANBlanking()
13277 struct sPDSSetWLANBlankingRequest_ActiveChannels
13278 {
13279 bool mChannel1:1;
13280 bool mChannel2:1;
13281 bool mChannel3:1;
13282 bool mChannel4:1;
13283 bool mChannel5:1;
13284 bool mChannel6:1;
13285 bool mChannel7:1;
13286 bool mChannel8:1;
13287 bool mChannel9:1;
13288 bool mChannel10:1;
13289 bool mChannel11:1;
13290 bool mChannel12:1;
13291 bool mChannel13:1;
13292 bool mChannel14:1;
13293
13294 // Padding out 18 bits
13295 UINT8 mReserved1:2;
13296 UINT8 mReserved2[2];
13297 };
13298
13299 // Structure to describe request TLV 0x12 for PDSSetWLANBlanking()
13300 struct sPDSSetWLANBlankingRequest_BluetoothJamming
13301 {
13302 INT8 mBluetoothJammingActive;
13303 };
13304
13305 // Structure to describe request TLV 0x13 for PDSSetWLANBlanking()
13306 struct sPDSSetWLANBlankingRequest_IMDJamming
13307 {
13308 eQMIPDSIMDJammingStates mSimulateIMDJamming;
13309 };
13310
13311 // Structure to describe request TLV 0x14 for PDSSetWLANBlanking()
13312 struct sPDSSetWLANBlankingRequest_JammingBands
13313 {
13314 eQMIPDSIMDJammingBands mBandstoJam;
13315 };
13316
13317 // Structure to describe request TLV 0x10 for PDSSetSecurityChallengeReport()
13318 struct sPDSSetSecurityChallengeReportRequest_EnableSecurity
13319 {
13320 eQMIPDSReportSecurityChallenge mReportSecurityChallenge;
13321 };
13322
13323 // Structure to describe indication TLV 0x10 for PDS SetSecurityChallengeReportIndication
13324 struct sPDSSetSecurityChallengeReportIndication_EnableSecurity
13325 {
13326 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
13327 UINT8 mEncryptionDataID;
13328 UINT8 mEncryptionDataLength;
13329
13330 // This array must be the size specified by mEncryptionDataLength
13331 // UINT8 mEncryptionData[1];
13332 };
13333
13334 // Structure to describe request TLV 0x10 for PDSSetSecurityChallenge()
13335 struct sPDSSetSecurityChallengeRequest_SecureHashAlgorithm
13336 {
13337 UINT8 mEncryptionDataID;
13338 UINT8 mEncryptionDataLength;
13339
13340 // This array must be the size specified by mEncryptionDataLength
13341 // UINT8 mEncryptionData[1];
13342 };
13343
13344 // Structure to describe response TLV 0x10 for PDSGetSecurityEncryptionConfig()
13345 struct sPDSGetSecurityEncryptionConfigResponse_SecureClientTimestamp
13346 {
13347 eQMIPDSEncryptionAlgorithm mEncryptionAlgorithm;
13348 UINT64 mEncryptionTimestampMilliseconds;
13349 UINT8 mEncryptionDataLength;
13350
13351 // This array must be the size specified by mEncryptionDataLength
13352 // UINT8 mEncryptionData[1];
13353 };
13354
13355 // Structure to describe request TLV 0x10 for PDSSetSecurityUpdateRate()
13356 struct sPDSSetSecurityUpdateRateRequest_EnableSecurity
13357 {
13358 UINT8 mUpdateRate;
13359 };
13360
13361 // Structure to describe request TLV 0x10 for PDSSetCellDatabaseControl()
13362 struct sPDSSetCellDatabaseControlRequest_Control
13363 {
13364 bool mPositionInfoStorage:1;
13365 bool mTimeInfoStorage:1;
13366
13367 // Padding out 30 bits
13368 UINT8 mReserved1:6;
13369 UINT8 mReserved2[3];
13370 };
13371
13372 // Structure to describe request TLV 0x01 for PDSInjectMotionData()
13373 struct sPDSInjectMotionDataRequest_MotionData
13374 {
13375 eQMIPDSMotionStates mMotionState;
13376 eQMIPDSMotionModes mMotionMode;
13377 eQMIPDSMotionSubmodes mMotionSubmode;
13378 float mStateProbability;
13379 UINT16 mMotionDataAgeMilliseconds;
13380 UINT16 mMotionDataTimoutMilliseconds;
13381 };
13382
13383 // Structure to describe request TLV 0x01 for PDSSetGNSSEngineErrorRecoveryReport()
13384 struct sPDSSetGNSSEngineErrorRecoveryReportRequest_Indicator
13385 {
13386 INT8 mReportGNSSEngineErrorRecovery;
13387 };
13388
13389 // Structure to describe indication TLV 0x01 for PDS GNSSEngineErrorRecoveryReport
13390 struct sPDSGNSSEngineErrorRecoveryReportIndication_Reason
13391 {
13392 eQMIPDSResetReasons mResetReason;
13393 };
13394
13395 // Structure to describe indication TLV 0x10 for PDS GNSSEngineErrorRecoveryReport
13396 struct sPDSGNSSEngineErrorRecoveryReportIndication_CurrentSystemTime
13397 {
13398 UINT16 mGPSWeekNumber;
13399 UINT32 mGPSTimeOfWeekMilliseconds;
13400 };
13401
13402 // Structure to describe indication TLV 0x11 for PDS GNSSEngineErrorRecoveryReport
13403 struct sPDSGNSSEngineErrorRecoveryReportIndication_ScanParameters
13404 {
13405 eQMIPDSSVSystems mSystem;
13406 UINT8 mPRN;
13407 UINT16 mCN0;
13408 UINT16 mSubMillisecondDifferenceMicroseconds;
13409 INT16 mDopplerDifferenceHz;
13410 };
13411
13412 // Structure to describe indication TLV 0x12 for PDS GNSSEngineErrorRecoveryReport
13413 struct sPDSGNSSEngineErrorRecoveryReportIndication_ClockParameters
13414 {
13415 eQMIPDSSVSystems mSystem;
13416 eQMIPDSTimeSource mCurrentTimeSource;
13417 eQMIPDSTimeSource mInjectedTimeSource;
13418 UINT32 mTimeDifferenceMilliseconds;
13419 UINT32 mTimeUncertaintyMicroseconds;
13420 };
13421
13422 // Structure to describe indication TLV 0x13 for PDS GNSSEngineErrorRecoveryReport
13423 struct sPDSGNSSEngineErrorRecoveryReportIndication_SubframeParameters
13424 {
13425 UINT8 mPRN;
13426 INT32 mGPSDataDemodulationINProgress;
13427 UINT16 mObservedCycleSlips;
13428 UINT16 mParityErrors;
13429 UINT32 mGPSSubframeWordWithTimingError;
13430 };
13431
13432 // Structure to describe indication TLV 0x14 for PDS GNSSEngineErrorRecoveryReport
13433 struct sPDSGNSSEngineErrorRecoveryReportIndication_TimeParameters
13434 {
13435 eQMIPDSSVSystems mSystem;
13436 UINT8 mPRN;
13437 UINT16 mGPSWeekNumber;
13438 UINT32 mGPSTimeOfWeekMilliseconds;
13439 UINT16 mGNSSNumberOfDays;
13440 UINT32 mGNSSMilliseconds;
13441 UINT32 mClockDifferenceMilliseconds;
13442 };
13443
13444 // Structure to describe indication TLV 0x15 for PDS GNSSEngineErrorRecoveryReport
13445 struct sPDSGNSSEngineErrorRecoveryReportIndication_MeasurementParameters
13446 {
13447 eQMIPDSSVSystems mSystem;
13448 UINT16 mGPSWeekNumber;
13449 UINT32 mGPSTimeOfWeekMilliseconds;
13450 UINT8 mObservedMeasurementInconsistencies;
13451 UINT16 mObservationDuration;
13452 };
13453
13454 // Structure to describe indication TLV 0x16 for PDS GNSSEngineErrorRecoveryReport
13455 struct sPDSGNSSEngineErrorRecoveryReportIndication_RFParameters
13456 {
13457 UINT32 mQualitySignalStrength;
13458 UINT32 mResetSignalStrength;
13459 };
13460
13461 // Structure to describe request TLV 0x10 for PDSInjectTestData()
13462 struct sPDSInjectTestDataRequest_TimeUncertainty
13463 {
13464 UINT32 mTimeUncertaintyMicroseconds;
13465 };
13466
13467 // Structure to describe request TLV 0x11 for PDSInjectTestData()
13468 struct sPDSInjectTestDataRequest_PositionUncertainty
13469 {
13470 UINT32 mPositionUncertaintyCentimeters;
13471 };
13472
13473 // Structure to describe request TLV 0x12 for PDSInjectTestData()
13474 struct sPDSInjectTestDataRequest_TimeOffset
13475 {
13476 UINT64 mTimeOffsetMicroseconds;
13477 };
13478
13479 // Structure to describe request TLV 0x13 for PDSInjectTestData()
13480 struct sPDSInjectTestDataRequest_PositionOffset
13481 {
13482 UINT32 mPositionOffsetMeters;
13483 };
13484
13485 // Structure to describe request TLV 0x01 for PDSSetGNSSRFConfig()
13486 struct sPDSSetGNSSRFConfigRequest_PeakAntennaGain
13487 {
13488 INT16 mPeakAntennaGain;
13489 };
13490
13491 // Structure to describe request TLV 0x10 for PDSSetGNSSRFConfig()
13492 struct sPDSSetGNSSRFConfigRequest_GPSRFLoss
13493 {
13494 UINT16 mRFLoss;
13495 };
13496
13497 // Structure to describe request TLV 0x11 for PDSSetGNSSRFConfig()
13498 struct sPDSSetGNSSRFConfigRequest_GlonassRFLoss
13499 {
13500 UINT16 mRFLossFrequency0;
13501 UINT16 mRFLossFrequencyMinus7;
13502 UINT16 mRFLossFrequencyPlus6;
13503 };
13504
13505 // Structure to describe request TLV 0x10 for AUTHStartEAPSession()
13506 struct sAUTHStartEAPSessionRequest_MethodMask
13507 {
13508 bool mEAPSIM:1;
13509 bool mEAPAKA:1;
13510
13511 // Padding out 30 bits
13512 UINT8 mReserved1:6;
13513 UINT8 mReserved2[3];
13514 };
13515
13516 // Structure to describe request TLV 0x01 for AUTHSendEAPPacket()
13517 struct sAUTHSendEAPPacketRequest_RequestPacket
13518 {
13519 UINT8 mEAPRequestPacket[9999];
13520 };
13521
13522 // Structure to describe response TLV 0x01 for AUTHSendEAPPacket()
13523 struct sAUTHSendEAPPacketResponse_ResponsePacket
13524 {
13525 UINT8 mResponsePacket[9999];
13526 };
13527
13528 // Structure to describe indication TLV 0x01 for AUTH EAPSessionResultIndication
13529 struct sAUTHEAPSessionResultIndication_Result
13530 {
13531 eQMIAUTHEAPResult mResult;
13532 };
13533
13534 // Structure to describe response TLV 0x01 for AUTHGetEAPSessionKeys()
13535 struct sAUTHGetEAPSessionKeysResponse_SessionKeys
13536 {
13537 UINT8 mSessionKeys[9999];
13538 };
13539
13540 // Structure to describe request TLV 0x01 for AUTHRunAKA()
13541 struct sAUTHRunAKARequest_Version
13542 {
13543 eQMIAUTHAKAVersion mAKAVersion;
13544 };
13545
13546 // Structure to describe request TLV 0x10 for AUTHRunAKA()
13547 struct sAUTHRunAKARequest_Parameters1
13548 {
13549 UINT8 mRandomChallengeLength;
13550
13551 // This array must be the size specified by mRandomChallengeLength
13552 // UINT8 mRandomChallenge[1];
13553 };
13554
13555 struct sAUTHRunAKARequest_Parameters2
13556 {
13557 UINT8 mAuthenticationTokenLength;
13558
13559 // This array must be the size specified by mAuthenticationTokenLength
13560 // UINT8 mAuthenticationToken[1];
13561 };
13562
13563 struct sAUTHRunAKARequest_Parameters
13564 {
13565 sAUTHRunAKARequest_Parameters1 mAUTHRunAKARequest_Parameters1;
13566 sAUTHRunAKARequest_Parameters2 mAUTHRunAKARequest_Parameters2;
13567 };
13568
13569 // Structure to describe response TLV 0x01 for AUTHRunAKA()
13570 struct sAUTHRunAKAResponse_Handle
13571 {
13572 UINT32 mHandle;
13573 };
13574
13575 // Structure to describe indication TLV 0x01 for AUTH AKAResultIndication
13576 struct sAUTHAKAResultIndication_Result
13577 {
13578 UINT32 mHandle;
13579 eQMIAUTHAKAResult mResult;
13580 };
13581
13582 // Structure to describe request TLV 0x10 for VoiceIndicationRegistration()
13583 struct sVoiceIndicationRegistrationRequest_DTMF
13584 {
13585 INT8 mEnableEvents;
13586 };
13587
13588 // Structure to describe request TLV 0x11 for VoiceIndicationRegistration()
13589 struct sVoiceIndicationRegistrationRequest_VoicePrivacy
13590 {
13591 INT8 mEnableEvents;
13592 };
13593
13594 // Structure to describe request TLV 0x12 for VoiceIndicationRegistration()
13595 struct sVoiceIndicationRegistrationRequest_SupplementaryService
13596 {
13597 INT8 mEnableEvents;
13598 };
13599
13600 // Structure to describe request TLV 0x01 for VoiceCallOriginate()
13601 struct sVoiceCallOriginateRequest_CallingNumber
13602 {
13603 // String is variable length, but must be size of the container
13604 // char mCallingNumber[1];
13605 };
13606
13607 // Structure to describe request TLV 0x10 for VoiceCallOriginate()
13608 struct sVoiceCallOriginateRequest_CallType
13609 {
13610 eQMIVoiceCallTypes mCallType;
13611 };
13612
13613 // Structure to describe request TLV 0x11 for VoiceCallOriginate()
13614 struct sVoiceCallOriginateRequest_CLIR
13615 {
13616 eQMIVoiceCLIRTypes mCLIRType;
13617 };
13618
13619 // Structure to describe request TLV 0x12 for VoiceCallOriginate()
13620 struct sVoiceCallOriginateRequest_UUS
13621 {
13622 eQMIVoiceUUSTypes mUUSType;
13623 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
13624 UINT8 mUUSLength;
13625
13626 // This array must be the size specified by mUUSLength
13627 // UINT8 mUUSData[1];
13628 };
13629
13630 // Structure to describe request TLV 0x13 for VoiceCallOriginate()
13631 struct sVoiceCallOriginateRequest_CUG
13632 {
13633 UINT16 mCUGIndex;
13634 INT8 mSuppressPreferentialCUG;
13635 INT8 mSuppressOASubscription;
13636 };
13637
13638 // Structure to describe request TLV 0x14 for VoiceCallOriginate()
13639 struct sVoiceCallOriginateRequest_EmergencyCategory
13640 {
13641 bool mPolice:1;
13642 bool mAmbulance:1;
13643 bool mFireBrigade:1;
13644 bool mMarineGuard:1;
13645 bool mMountainRescue:1;
13646 bool mManualCall:1;
13647 bool mAutomaticCall:1;
13648 bool mReserved:1;
13649 };
13650
13651 // Structure to describe request TLV 0x15 for VoiceCallOriginate()
13652 struct sVoiceCallOriginateRequest_CalledPartySubaddress
13653 {
13654 eQMIVoiceSubaddressTypes mSubaddressType;
13655 eQMIVoiceEvenOddIndicators mAddressSignals;
13656 UINT8 mSubaddressLength;
13657
13658 // This array must be the size specified by mSubaddressLength
13659 // UINT8 mSubaddress[1];
13660 };
13661
13662 // Structure to describe request TLV 0x16 for VoiceCallOriginate()
13663 struct sVoiceCallOriginateRequest_ServiceType
13664 {
13665 eQMIVoiceServiceTypes mServiceType;
13666 };
13667
13668 // Structure to describe response TLV 0x10 for VoiceCallOriginate()
13669 struct sVoiceCallOriginateResponse_CallID
13670 {
13671 UINT8 mCallID;
13672 };
13673
13674 // Structure to describe response TLV 0x11 for VoiceCallOriginate()
13675 struct sVoiceCallOriginateResponse_AlphaID
13676 {
13677 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13678 UINT8 mAlphaLength;
13679
13680 // This array must be the size specified by mAlphaLength
13681 // UINT8 mAlphaData[1];
13682 };
13683
13684 // Structure to describe response TLV 0x12 for VoiceCallOriginate()
13685 struct sVoiceCallOriginateResponse_CallControl
13686 {
13687 eQMIVoiceCallControlResultTypes mCallControlResult;
13688 };
13689
13690 // Structure to describe response TLV 0x13 for VoiceCallOriginate()
13691 struct sVoiceCallOriginateResponse_SupplementaryService
13692 {
13693 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
13694 eQMIVoiceSupplementaryServiceReasons mReason;
13695 };
13696
13697 // Structure to describe request TLV 0x01 for VoiceCallEnd()
13698 struct sVoiceCallEndRequest_CallID
13699 {
13700 UINT8 mCallID;
13701 };
13702
13703 // Structure to describe response TLV 0x10 for VoiceCallEnd()
13704 struct sVoiceCallEndResponse_CallID
13705 {
13706 UINT8 mCallID;
13707 };
13708
13709 // Structure to describe request TLV 0x01 for VoiceCallAnswer()
13710 struct sVoiceCallAnswerRequest_CallID
13711 {
13712 UINT8 mCallID;
13713 };
13714
13715 // Structure to describe response TLV 0x10 for VoiceCallAnswer()
13716 struct sVoiceCallAnswerResponse_CallID
13717 {
13718 UINT8 mCallID;
13719 };
13720
13721 // Structure to describe request TLV 0x01 for VoiceGetCallInfo()
13722 struct sVoiceGetCallInfoRequest_CallID
13723 {
13724 UINT8 mCallID;
13725 };
13726
13727 // Structure to describe response TLV 0x10 for VoiceGetCallInfo()
13728 struct sVoiceGetCallInfoResponse_CallInfo
13729 {
13730 UINT8 mCallID;
13731 eQMIVoiceCallStates mCallState;
13732 eQMIVoiceCallTypes mCallType;
13733 eQMIVoiceCallDirections mDirection;
13734 eQMIVoiceCallModes mMode;
13735 };
13736
13737 // Structure to describe response TLV 0x11 for VoiceGetCallInfo()
13738 struct sVoiceGetCallInfoResponse_RemotePartyNumber
13739 {
13740 eQMIVoicePresentationIndicators mPresentationIndicator;
13741 UINT8 mNumberLength;
13742
13743 // This array must be the size specified by mNumberLength
13744 // char mNumber[1];
13745 };
13746
13747 // Structure to describe response TLV 0x12 for VoiceGetCallInfo()
13748 struct sVoiceGetCallInfoResponse_ServiceOption
13749 {
13750 UINT16 mServiceOption;
13751 };
13752
13753 // Structure to describe response TLV 0x13 for VoiceGetCallInfo()
13754 struct sVoiceGetCallInfoResponse_VoicePrivacy
13755 {
13756 eQMIVoicePrivacyLevels mVoicePrivacy;
13757 };
13758
13759 // Structure to describe response TLV 0x14 for VoiceGetCallInfo()
13760 struct sVoiceGetCallInfoResponse_OTASPStatus
13761 {
13762 eQMIVoiceOTASPStati mOTASPStatus;
13763 };
13764
13765 // Structure to describe response TLV 0x15 for VoiceGetCallInfo()
13766 struct sVoiceGetCallInfoResponse_RemotePartyName
13767 {
13768 eQMIVoicePresentationIndicators mPresentationIndicator;
13769 UINT8 mCodingScheme;
13770 UINT8 mCallerNameLength;
13771
13772 // This array must be the size specified by mCallerNameLength
13773 // UINT8 mCallerName[1];
13774 };
13775
13776 // Structure to describe response TLV 0x16 for VoiceGetCallInfo()
13777 struct sVoiceGetCallInfoResponse_UUS
13778 {
13779 eQMIVoiceUUSTypes mUUSType;
13780 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
13781 UINT8 mUUSLength;
13782
13783 // This array must be the size specified by mUUSLength
13784 // UINT8 mUUSData[1];
13785 };
13786
13787 // Structure to describe response TLV 0x17 for VoiceGetCallInfo()
13788 struct sVoiceGetCallInfoResponse_AlertingType
13789 {
13790 eQMIVoiceAlertingTypes mAlertingType;
13791 };
13792
13793 // Structure to describe response TLV 0x18 for VoiceGetCallInfo()
13794 struct sVoiceGetCallInfoResponse_AlphaID
13795 {
13796 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
13797 UINT8 mAlphaLength;
13798
13799 // This array must be the size specified by mAlphaLength
13800 // UINT8 mAlphaData[1];
13801 };
13802
13803 // Structure to describe response TLV 0x19 for VoiceGetCallInfo()
13804 struct sVoiceGetCallInfoResponse_ConnectedNumberInfo
13805 {
13806 UINT8 mPresentationIndicator;
13807 eQMIVoiceScreeningIndicators mScreeningIndicator;
13808 eQMIVoiceNumberTypes mNumberType;
13809 eQMIVoiceNumberPlans mNumberPlan;
13810 UINT8 mNumberLength;
13811
13812 // This array must be the size specified by mNumberLength
13813 // char mNumber[1];
13814 };
13815
13816 // Structure to describe response TLV 0x1A for VoiceGetCallInfo()
13817 struct sVoiceGetCallInfoResponse_DiagnosticInfo
13818 {
13819 UINT8 mDiagnosticInfoLength;
13820
13821 // This array must be the size specified by mDiagnosticInfoLength
13822 // UINT8 mDiagnosticInfo[1];
13823 };
13824
13825 // Structure to describe response TLV 0x1B for VoiceGetCallInfo()
13826 struct sVoiceGetCallInfoResponse_AlertingPattern
13827 {
13828 eQMIVoiceAlertingPatterns mAlertingPattern;
13829 };
13830
13831 // Structure to describe indication TLV 0x10 for Voice OTASPIndication
13832 struct sVoiceOTASPIndication_OTASPStatus
13833 {
13834 UINT8 mCallID;
13835 eQMIVoiceOTASPStati mOTASPStatus;
13836 };
13837
13838 // Structure to describe indication TLV 0x01 for Voice InfoRecordIndication
13839 struct sVoiceInfoRecordIndication_CallID
13840 {
13841 UINT8 mCallID;
13842 };
13843
13844 // Structure to describe indication TLV 0x10 for Voice InfoRecordIndication
13845 struct sVoiceInfoRecordIndication_Signal
13846 {
13847 UINT8 mSignalType;
13848 UINT8 mAlertPitch;
13849 UINT8 mSignal;
13850 };
13851
13852 // Structure to describe indication TLV 0x11 for Voice InfoRecordIndication
13853 struct sVoiceInfoRecordIndication_CallerID
13854 {
13855 UINT8 mPresentationIndicator;
13856 UINT8 mCallerIDLength;
13857
13858 // This array must be the size specified by mCallerIDLength
13859 // char mCallerID[1];
13860 };
13861
13862 // Structure to describe indication TLV 0x12 for Voice InfoRecordIndication
13863 struct sVoiceInfoRecordIndication_Display
13864 {
13865 // String is variable length, but must be size of the container
13866 // char mDisplayBuffer[1];
13867 };
13868
13869 // Structure to describe indication TLV 0x13 for Voice InfoRecordIndication
13870 struct sVoiceInfoRecordIndication_ExtendedDisplay
13871 {
13872 UINT8 mExtendedDisplayBuffer[182];
13873 };
13874
13875 // Structure to describe indication TLV 0x14 for Voice InfoRecordIndication
13876 struct sVoiceInfoRecordIndication_CallerName
13877 {
13878 // String is variable length, but must be size of the container
13879 // char mCallerName[1];
13880 };
13881
13882 // Structure to describe indication TLV 0x15 for Voice InfoRecordIndication
13883 struct sVoiceInfoRecordIndication_CallWaiting
13884 {
13885 INT8 mNewCallWaiting;
13886 };
13887
13888 // Structure to describe indication TLV 0x16 for Voice InfoRecordIndication
13889 struct sVoiceInfoRecordIndication_ConnectedNumberInfo
13890 {
13891 UINT8 mPresentationIndicator;
13892 eQMIVoiceScreeningIndicators mScreeningIndicator;
13893 eQMIVoiceNumberTypes mNumberType;
13894 eQMIVoiceNumberPlans mNumberPlan;
13895 UINT8 mNumberLength;
13896
13897 // This array must be the size specified by mNumberLength
13898 // char mNumber[1];
13899 };
13900
13901 // Structure to describe indication TLV 0x17 for Voice InfoRecordIndication
13902 struct sVoiceInfoRecordIndication_CallingPartyNumberInfo
13903 {
13904 UINT8 mPresentationIndicator;
13905 eQMIVoiceScreeningIndicators mScreeningIndicator;
13906 eQMIVoiceNumberTypes mNumberType;
13907 eQMIVoiceNumberPlans mNumberPlan;
13908 UINT8 mNumberLength;
13909
13910 // This array must be the size specified by mNumberLength
13911 // char mNumber[1];
13912 };
13913
13914 // Structure to describe indication TLV 0x18 for Voice InfoRecordIndication
13915 struct sVoiceInfoRecordIndication_CalledPartyNumberInfo
13916 {
13917 UINT8 mPresentationIndicator;
13918 eQMIVoiceScreeningIndicators mScreeningIndicator;
13919 eQMIVoiceNumberTypes mNumberType;
13920 eQMIVoiceNumberPlans mNumberPlan;
13921 UINT8 mNumberLength;
13922
13923 // This array must be the size specified by mNumberLength
13924 // char mNumber[1];
13925 };
13926
13927 // Structure to describe indication TLV 0x19 for Voice InfoRecordIndication
13928 struct sVoiceInfoRecordIndication_RedirectingNumberInfo
13929 {
13930 UINT8 mPresentationIndicator;
13931 eQMIVoiceScreeningIndicators mScreeningIndicator;
13932 eQMIVoiceNumberTypes mNumberType;
13933 eQMIVoiceNumberPlans mNumberPlan;
13934 UINT8 mRedirectReason;
13935 UINT8 mNumberLength;
13936
13937 // This array must be the size specified by mNumberLength
13938 // char mNumber[1];
13939 };
13940
13941 // Structure to describe indication TLV 0x1A for Voice InfoRecordIndication
13942 struct sVoiceInfoRecordIndication_CLIRCause
13943 {
13944 eQMIVoiceCLIRCauses mCLIRCause;
13945 };
13946
13947 // Structure to describe indication TLV 0x1B for Voice InfoRecordIndication
13948 struct sVoiceInfoRecordIndication_NSSAudio
13949 {
13950 UINT8 mUpLink;
13951 UINT8 mDownLink;
13952 };
13953
13954 // Structure to describe indication TLV 0x1C for Voice InfoRecordIndication
13955 struct sVoiceInfoRecordIndication_NSSRelease
13956 {
13957 eQMIVoiceNSSReleases mNSSRelease;
13958 };
13959
13960 // Structure to describe indication TLV 0x1D for Voice InfoRecordIndication
13961 struct sVoiceInfoRecordIndication_LineControlInfo
13962 {
13963 INT8 mPolarityIncluded;
13964 INT8 mToggleMode;
13965 INT8 mReversePolarity;
13966 UINT8 mPowerDenialTime;
13967 };
13968
13969 // Structure to describe indication TLV 0x1E for Voice InfoRecordIndication
13970 struct sVoiceInfoRecordIndication_ExtendedDisplayInfo
13971 {
13972 UINT8 mDisplayType;
13973 UINT8 mExtendedDisplayInfoLength;
13974
13975 // This array must be the size specified by mExtendedDisplayInfoLength
13976 // UINT8 mExtendedDisplayInfo[1];
13977 };
13978
13979 // Structure to describe request TLV 0x01 for VoiceSendFlash()
13980 struct sVoiceSendFlashRequest_CallID
13981 {
13982 UINT8 mCallID;
13983 };
13984
13985 // Structure to describe request TLV 0x10 for VoiceSendFlash()
13986 struct sVoiceSendFlashRequest_Payload
13987 {
13988 // String is variable length, but must be size of the container
13989 // char mFlashPayload[1];
13990 };
13991
13992 // Structure to describe request TLV 0x11 for VoiceSendFlash()
13993 struct sVoiceSendFlashRequest_Type
13994 {
13995 eQMIVoiceFlashTypes mFlashType;
13996 };
13997
13998 // Structure to describe response TLV 0x10 for VoiceSendFlash()
13999 struct sVoiceSendFlashResponse_CallID
14000 {
14001 UINT8 mCallID;
14002 };
14003
14004 // Structure to describe request TLV 0x01 for VoiceBurstDTMF()
14005 struct sVoiceBurstDTMFRequest_Info
14006 {
14007 UINT8 mCallID;
14008 UINT8 mDTMFBufferLength;
14009
14010 // This array must be the size specified by mDTMFBufferLength
14011 // char mDTMFBuffer[1];
14012 };
14013
14014 // Structure to describe request TLV 0x10 for VoiceBurstDTMF()
14015 struct sVoiceBurstDTMFRequest_Lengths
14016 {
14017 eQMIVoicePulseWidths mDTMFPulseWidth;
14018 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
14019 };
14020
14021 // Structure to describe request TLV 0x01 for VoiceStartContinuousDTMF()
14022 struct sVoiceStartContinuousDTMFRequest_Info
14023 {
14024 UINT8 mCallID;
14025 char mDTMFDigit;
14026 };
14027
14028 // Structure to describe response TLV 0x10 for VoiceStartContinuous()
14029 struct sVoiceStartContinuousResponse_CallID
14030 {
14031 UINT8 mCallID;
14032 };
14033
14034 // Structure to describe request TLV 0x01 for VoiceStopContinuousDTMF()
14035 struct sVoiceStopContinuousDTMFRequest_CallID
14036 {
14037 UINT8 mCallID;
14038 };
14039
14040 // Structure to describe response TLV 0x10 for VoiceStopContinuous()
14041 struct sVoiceStopContinuousResponse_CallID
14042 {
14043 UINT8 mCallID;
14044 };
14045
14046 // Structure to describe indication TLV 0x01 for Voice DTMFIndication
14047 struct sVoiceDTMFIndication_DTMFInfo
14048 {
14049 UINT8 mCallID;
14050 eQMIVoiceDTMFEvents mDTMFEvent;
14051 UINT8 mDTMFBufferLength;
14052
14053 // This array must be the size specified by mDTMFBufferLength
14054 // char mDTMFBuffer[1];
14055 };
14056
14057 // Structure to describe indication TLV 0x10 for Voice DTMFIndication
14058 struct sVoiceDTMFIndication_Lengths
14059 {
14060 eQMIVoicePulseWidths mDTMFPulseWidth;
14061 eQMIVoiceInterdigitIntervals mDTMFInterdigitInterval;
14062 };
14063
14064 // Structure to describe request TLV 0x01 for VoiceSetPreferredPrivacy()
14065 struct sVoiceSetPreferredPrivacyRequest_Preference
14066 {
14067 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
14068 };
14069
14070 // Structure to describe indication TLV 0x01 for Voice PrivacyIndication
14071 struct sVoicePrivacyIndication_DTMFInfo
14072 {
14073 UINT8 mCallID;
14074 eQMIVoiceDTMFPrivacyLevels mPrivacyLevel;
14075 };
14076
14077 // Structure to describe indication TLV 0x01 for Voice AllCallStatusIndication
14078 struct sVoiceAllCallStatusIndication_CallInfo
14079 {
14080 UINT8 mCallInstanceCount;
14081
14082 struct sInstance
14083 {
14084 UINT8 mCallID;
14085 eQMIVoiceCallStates mCallState;
14086 eQMIVoiceCallTypes mCallType;
14087 eQMIVoiceCallDirections mDirection;
14088 eQMIVoiceCallModes mMode;
14089 INT8 mMultiparty;
14090 eQMIVoiceALSLineIndicators mALSLineIndicator;
14091 };
14092
14093 // This array must be the size specified by mCallInstanceCount
14094 // sInstance mInstances[1];
14095 };
14096
14097 // Structure to describe indication TLV 0x10 for Voice AllCallStatusIndication
14098 struct sVoiceAllCallStatusIndication_RemotePartyNumber
14099 {
14100 UINT8 mCallInstanceCount;
14101
14102 struct sInstance
14103 {
14104 UINT8 mCallID;
14105 eQMIVoicePresentationIndicators mPresentationIndicator;
14106 UINT8 mNumberLength;
14107
14108 // This array must be the size specified by mNumberLength
14109 // char mNumber[1];
14110 };
14111
14112 // This array must be the size specified by mCallInstanceCount
14113 // sInstance mInstances[1];
14114 };
14115
14116 // Structure to describe indication TLV 0x11 for Voice AllCallStatusIndication
14117 struct sVoiceAllCallStatusIndication_RemotePartyName
14118 {
14119 UINT8 mCallInstanceCount;
14120
14121 struct sInstance
14122 {
14123 UINT8 mCallID;
14124 eQMIVoicePresentationIndicators mPresentationIndicator;
14125 UINT8 mCodingScheme;
14126 UINT8 mCallerNameLength;
14127
14128 // This array must be the size specified by mCallerNameLength
14129 // UINT8 mCallerName[1];
14130 };
14131
14132 // This array must be the size specified by mCallInstanceCount
14133 // sInstance mInstances[1];
14134 };
14135
14136 // Structure to describe indication TLV 0x12 for Voice AllCallStatusIndication
14137 struct sVoiceAllCallStatusIndication_AlertingType
14138 {
14139 UINT8 mCallInstanceCount;
14140
14141 struct sInstance
14142 {
14143 UINT8 mCallID;
14144 eQMIVoiceAlertingTypes mAlertingType;
14145 };
14146
14147 // This array must be the size specified by mCallInstanceCount
14148 // sInstance mInstances[1];
14149 };
14150
14151 // Structure to describe indication TLV 0x13 for Voice AllCallStatusIndication
14152 struct sVoiceAllCallStatusIndication_ServiceOption
14153 {
14154 UINT8 mCallInstanceCount;
14155
14156 struct sInstance
14157 {
14158 UINT8 mCallID;
14159 UINT16 mServiceOption;
14160 };
14161
14162 // This array must be the size specified by mCallInstanceCount
14163 // sInstance mInstances[1];
14164 };
14165
14166 // Structure to describe indication TLV 0x14 for Voice AllCallStatusIndication
14167 struct sVoiceAllCallStatusIndication_CallEndReason
14168 {
14169 UINT8 mCallInstanceCount;
14170
14171 struct sInstance
14172 {
14173 UINT8 mCallID;
14174 UINT8 mCallEndReason;
14175 };
14176
14177 // This array must be the size specified by mCallInstanceCount
14178 // sInstance mInstances[1];
14179 };
14180
14181 // Structure to describe indication TLV 0x15 for Voice AllCallStatusIndication
14182 struct sVoiceAllCallStatusIndication_AlphaID
14183 {
14184 UINT8 mCallInstanceCount;
14185
14186 struct sInstance
14187 {
14188 UINT8 mCallID;
14189 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14190 UINT8 mAlphaLength;
14191
14192 // This array must be the size specified by mAlphaLength
14193 // UINT8 mAlphaData[1];
14194 };
14195
14196 // This array must be the size specified by mCallInstanceCount
14197 // sInstance mInstances[1];
14198 };
14199
14200 // Structure to describe indication TLV 0x16 for Voice AllCallStatusIndication
14201 struct sVoiceAllCallStatusIndication_ConnectedNumberInfo
14202 {
14203 UINT8 mCallInstanceCount;
14204
14205 struct sInstance
14206 {
14207 UINT8 mCallID;
14208 UINT8 mPresentationIndicator;
14209 eQMIVoiceScreeningIndicators mScreeningIndicator;
14210 eQMIVoiceNumberTypes mNumberType;
14211 eQMIVoiceNumberPlans mNumberPlan;
14212 UINT8 mNumberLength;
14213
14214 // This array must be the size specified by mNumberLength
14215 // char mNumber[1];
14216 };
14217
14218 // This array must be the size specified by mCallInstanceCount
14219 // sInstance mInstances[1];
14220 };
14221
14222 // Structure to describe indication TLV 0x17 for Voice AllCallStatusIndication
14223 struct sVoiceAllCallStatusIndication_DiagnosticInfo
14224 {
14225 UINT8 mCallInstanceCount;
14226
14227 struct sInstance
14228 {
14229 UINT8 mCallID;
14230 UINT8 mDiagnosticInfoLength;
14231
14232 // This array must be the size specified by mDiagnosticInfoLength
14233 // UINT8 mDiagnosticInfo[1];
14234 };
14235
14236 // This array must be the size specified by mCallInstanceCount
14237 // sInstance mInstances[1];
14238 };
14239
14240 // Structure to describe indication TLV 0x18 for Voice AllCallStatusIndication
14241 struct sVoiceAllCallStatusIndication_CalledPartyNumberInfo
14242 {
14243 UINT8 mCallInstanceCount;
14244
14245 struct sInstance
14246 {
14247 UINT8 mCallID;
14248 UINT8 mPresentationIndicator;
14249 eQMIVoiceScreeningIndicators mScreeningIndicator;
14250 eQMIVoiceNumberTypes mNumberType;
14251 eQMIVoiceNumberPlans mNumberPlan;
14252 UINT8 mNumberLength;
14253
14254 // This array must be the size specified by mNumberLength
14255 // char mNumber[1];
14256 };
14257
14258 // This array must be the size specified by mCallInstanceCount
14259 // sInstance mInstances[1];
14260 };
14261
14262 // Structure to describe indication TLV 0x19 for Voice AllCallStatusIndication
14263 struct sVoiceAllCallStatusIndication_RedirectingNumberInfo
14264 {
14265 UINT8 mCallInstanceCount;
14266
14267 struct sInstance
14268 {
14269 UINT8 mCallID;
14270 UINT8 mPresentationIndicator;
14271 eQMIVoiceScreeningIndicators mScreeningIndicator;
14272 eQMIVoiceNumberTypes mNumberType;
14273 eQMIVoiceNumberPlans mNumberPlan;
14274 UINT8 mNumberLength;
14275
14276 // This array must be the size specified by mNumberLength
14277 // char mNumber[1];
14278 };
14279
14280 // This array must be the size specified by mCallInstanceCount
14281 // sInstance mInstances[1];
14282 };
14283
14284 // Structure to describe indication TLV 0x1A for Voice AllCallStatusIndication
14285 struct sVoiceAllCallStatusIndication_AlertingPattern
14286 {
14287 UINT8 mCallInstanceCount;
14288
14289 struct sInstance
14290 {
14291 UINT8 mCallID;
14292 eQMIVoiceAlertingPatterns mAlertingPattern;
14293 };
14294
14295 // This array must be the size specified by mCallInstanceCount
14296 // sInstance mInstances[1];
14297 };
14298
14299 // Structure to describe response TLV 0x10 for VoiceGetAllCallInfo()
14300 struct sVoiceGetAllCallInfoResponse_CallInfo
14301 {
14302 UINT8 mCallInstanceCount;
14303
14304 struct sInstance
14305 {
14306 UINT8 mCallID;
14307 eQMIVoiceCallStates mCallState;
14308 eQMIVoiceCallTypes mCallType;
14309 eQMIVoiceCallDirections mDirection;
14310 eQMIVoiceCallModes mMode;
14311 INT8 mMultiparty;
14312 eQMIVoiceALSLineIndicators mALSLineIndicator;
14313 };
14314
14315 // This array must be the size specified by mCallInstanceCount
14316 // sInstance mInstances[1];
14317 };
14318
14319 // Structure to describe response TLV 0x11 for VoiceGetAllCallInfo()
14320 struct sVoiceGetAllCallInfoResponse_RemotePartyNumber
14321 {
14322 UINT8 mCallInstanceCount;
14323
14324 struct sInstance
14325 {
14326 UINT8 mCallID;
14327 eQMIVoicePresentationIndicators mPresentationIndicator;
14328 UINT8 mNumberLength;
14329
14330 // This array must be the size specified by mNumberLength
14331 // char mNumber[1];
14332 };
14333
14334 // This array must be the size specified by mCallInstanceCount
14335 // sInstance mInstances[1];
14336 };
14337
14338 // Structure to describe response TLV 0x12 for VoiceGetAllCallInfo()
14339 struct sVoiceGetAllCallInfoResponse_RemotePartyName
14340 {
14341 UINT8 mCallInstanceCount;
14342
14343 struct sInstance
14344 {
14345 UINT8 mCallID;
14346 eQMIVoicePresentationIndicators mPresentationIndicator;
14347 UINT8 mCodingScheme;
14348 UINT8 mCallerNameLength;
14349
14350 // This array must be the size specified by mCallerNameLength
14351 // UINT8 mCallerName[1];
14352 };
14353
14354 // This array must be the size specified by mCallInstanceCount
14355 // sInstance mInstances[1];
14356 };
14357
14358 // Structure to describe response TLV 0x13 for VoiceGetAllCallInfo()
14359 struct sVoiceGetAllCallInfoResponse_AlertingType
14360 {
14361 UINT8 mCallInstanceCount;
14362
14363 struct sInstance
14364 {
14365 UINT8 mCallID;
14366 eQMIVoiceAlertingTypes mAlertingType;
14367 };
14368
14369 // This array must be the size specified by mCallInstanceCount
14370 // sInstance mInstances[1];
14371 };
14372
14373 // Structure to describe response TLV 0x14 for VoiceGetAllCallInfo()
14374 struct sVoiceGetAllCallInfoResponse_UUS
14375 {
14376 UINT8 mCallInstanceCount;
14377
14378 struct sInstance
14379 {
14380 UINT8 mCallID;
14381 eQMIVoiceUUSTypes mUUSType;
14382 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
14383 UINT8 mUUSLength;
14384
14385 // This array must be the size specified by mUUSLength
14386 // UINT8 mUUSData[1];
14387 };
14388
14389 // This array must be the size specified by mCallInstanceCount
14390 // sInstance mInstances[1];
14391 };
14392
14393 // Structure to describe response TLV 0x15 for VoiceGetAllCallInfo()
14394 struct sVoiceGetAllCallInfoResponse_ServiceOption
14395 {
14396 UINT8 mCallInstanceCount;
14397
14398 struct sInstance
14399 {
14400 UINT8 mCallID;
14401 UINT16 mServiceOption;
14402 };
14403
14404 // This array must be the size specified by mCallInstanceCount
14405 // sInstance mInstances[1];
14406 };
14407
14408 // Structure to describe response TLV 0x16 for VoiceGetAllCallInfo()
14409 struct sVoiceGetAllCallInfoResponse_OTASPStatus
14410 {
14411 eQMIVoiceOTASPStati mOTASPStatus;
14412 };
14413
14414 // Structure to describe response TLV 0x17 for VoiceGetAllCallInfo()
14415 struct sVoiceGetAllCallInfoResponse_VoicePrivacy
14416 {
14417 eQMIVoicePrivacyLevels mVoicePrivacy;
14418 };
14419
14420 // Structure to describe response TLV 0x18 for VoiceGetAllCallInfo()
14421 struct sVoiceGetAllCallInfoResponse_CallEndReason
14422 {
14423 UINT8 mCallInstanceCount;
14424
14425 struct sInstance
14426 {
14427 UINT8 mCallID;
14428 UINT8 mCallEndReason;
14429 };
14430
14431 // This array must be the size specified by mCallInstanceCount
14432 // sInstance mInstances[1];
14433 };
14434
14435 // Structure to describe response TLV 0x19 for VoiceGetAllCallInfo()
14436 struct sVoiceGetAllCallInfoResponse_AlphaID
14437 {
14438 UINT8 mCallInstanceCount;
14439
14440 struct sInstance
14441 {
14442 UINT8 mCallID;
14443 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14444 UINT8 mAlphaLength;
14445
14446 // This array must be the size specified by mAlphaLength
14447 // UINT8 mAlphaData[1];
14448 };
14449
14450 // This array must be the size specified by mCallInstanceCount
14451 // sInstance mInstances[1];
14452 };
14453
14454 // Structure to describe response TLV 0x1A for VoiceGetAllCallInfo()
14455 struct sVoiceGetAllCallInfoResponse_ConnectedNumberInfo
14456 {
14457 UINT8 mCallInstanceCount;
14458
14459 struct sInstance
14460 {
14461 UINT8 mCallID;
14462 UINT8 mPresentationIndicator;
14463 eQMIVoiceScreeningIndicators mScreeningIndicator;
14464 eQMIVoiceNumberTypes mNumberType;
14465 eQMIVoiceNumberPlans mNumberPlan;
14466 UINT8 mNumberLength;
14467
14468 // This array must be the size specified by mNumberLength
14469 // char mNumber[1];
14470 };
14471
14472 // This array must be the size specified by mCallInstanceCount
14473 // sInstance mInstances[1];
14474 };
14475
14476 // Structure to describe response TLV 0x1B for VoiceGetAllCallInfo()
14477 struct sVoiceGetAllCallInfoResponse_DiagnosticInfo
14478 {
14479 UINT8 mCallInstanceCount;
14480
14481 struct sInstance
14482 {
14483 UINT8 mCallID;
14484 UINT8 mDiagnosticInfoLength;
14485
14486 // This array must be the size specified by mDiagnosticInfoLength
14487 // UINT8 mDiagnosticInfo[1];
14488 };
14489
14490 // This array must be the size specified by mCallInstanceCount
14491 // sInstance mInstances[1];
14492 };
14493
14494 // Structure to describe response TLV 0x1C for VoiceGetAllCallInfo()
14495 struct sVoiceGetAllCallInfoResponse_CalledPartyNumberInfo
14496 {
14497 UINT8 mCallInstanceCount;
14498
14499 struct sInstance
14500 {
14501 UINT8 mCallID;
14502 UINT8 mPresentationIndicator;
14503 eQMIVoiceScreeningIndicators mScreeningIndicator;
14504 eQMIVoiceNumberTypes mNumberType;
14505 eQMIVoiceNumberPlans mNumberPlan;
14506 UINT8 mNumberLength;
14507
14508 // This array must be the size specified by mNumberLength
14509 // char mNumber[1];
14510 };
14511
14512 // This array must be the size specified by mCallInstanceCount
14513 // sInstance mInstances[1];
14514 };
14515
14516 // Structure to describe response TLV 0x1D for VoiceGetAllCallInfo()
14517 struct sVoiceGetAllCallInfoResponse_RedirectingNumberInfo
14518 {
14519 UINT8 mCallInstanceCount;
14520
14521 struct sInstance
14522 {
14523 UINT8 mCallID;
14524 UINT8 mPresentationIndicator;
14525 eQMIVoiceScreeningIndicators mScreeningIndicator;
14526 eQMIVoiceNumberTypes mNumberType;
14527 eQMIVoiceNumberPlans mNumberPlan;
14528 UINT8 mNumberLength;
14529
14530 // This array must be the size specified by mNumberLength
14531 // char mNumber[1];
14532 };
14533
14534 // This array must be the size specified by mCallInstanceCount
14535 // sInstance mInstances[1];
14536 };
14537
14538 // Structure to describe response TLV 0x1E for VoiceGetAllCallInfo()
14539 struct sVoiceGetAllCallInfoResponse_AlertingPattern
14540 {
14541 UINT8 mCallInstanceCount;
14542
14543 struct sInstance
14544 {
14545 UINT8 mCallID;
14546 eQMIVoiceAlertingPatterns mAlertingPattern;
14547 };
14548
14549 // This array must be the size specified by mCallInstanceCount
14550 // sInstance mInstances[1];
14551 };
14552
14553 // Structure to describe request TLV 0x01 for VoiceManageCalls()
14554 struct sVoiceManageCallsRequest_Info
14555 {
14556 eQMIVoiceSupplementaryServiceCallTypes mSupplementaryServiceType;
14557 };
14558
14559 // Structure to describe request TLV 0x10 for VoiceManageCalls()
14560 struct sVoiceManageCallsRequest_CallID
14561 {
14562 UINT8 mCallID;
14563 };
14564
14565 // Structure to describe response TLV 0x10 for VoiceManageCalls()
14566 struct sVoiceManageCallsResponse_FailureCause
14567 {
14568 UINT16 mFailureCause;
14569 };
14570
14571 // Structure to describe indication TLV 0x01 for Voice SupplementaryServiceIndication
14572 struct sVoiceSupplementaryServiceIndication_Info
14573 {
14574 UINT8 mCallID;
14575 eQMIVoiceSupplementaryNotificationTypes mNotificationType;
14576 };
14577
14578 // Structure to describe indication TLV 0x10 for Voice SupplementaryServiceIndication
14579 struct sVoiceSupplementaryServiceIndication_CUG
14580 {
14581 UINT16 mCUGIndex;
14582 };
14583
14584 // Structure to describe indication TLV 0x11 for Voice SupplementaryServiceIndication
14585 struct sVoiceSupplementaryServiceIndication_ECT
14586 {
14587 eQMIVoiceECTCallStates mECTCallState;
14588 eQMIVoicePresentationIndicators mPresentationIndicator;
14589 UINT8 mNumberLength;
14590
14591 // This array must be the size specified by mNumberLength
14592 // char mNumber[1];
14593 };
14594
14595 // Structure to describe request TLV 0x01 for VoiceSetSupplementaryService()
14596 struct sVoiceSetSupplementaryServiceRequest_Info
14597 {
14598 eQMIVoiceSupplementaryServiceTypes mService;
14599 eQMIVoiceSupplementaryServiceReasons mReason;
14600 };
14601
14602 // Structure to describe request TLV 0x10 for VoiceSetSupplementaryService()
14603 struct sVoiceSetSupplementaryServiceRequest_ServiceClass
14604 {
14605 bool mSupplementaryServiceClassVoice:1;
14606 bool mSupplementaryServiceClassData:1;
14607 bool mSupplementaryServiceClassFax:1;
14608 bool mSupplementaryServiceClassSMS:1;
14609 bool mSupplementaryServiceClassDataCircuitSync:1;
14610 bool mSupplementaryServiceClassDataCircuitAsync:1;
14611 bool mSupplementaryServiceClassPacketAccess:1;
14612 bool mSupplementaryServiceClassPadAccess:1;
14613 };
14614
14615 // Structure to describe request TLV 0x11 for VoiceSetSupplementaryService()
14616 struct sVoiceSetSupplementaryServiceRequest_Password
14617 {
14618 char mCallBarringPassword[4];
14619 };
14620
14621 // Structure to describe request TLV 0x12 for VoiceSetSupplementaryService()
14622 struct sVoiceSetSupplementaryServiceRequest_Number
14623 {
14624 // String is variable length, but must be size of the container
14625 // char mCallForwardingNumber[1];
14626 };
14627
14628 // Structure to describe request TLV 0x13 for VoiceSetSupplementaryService()
14629 struct sVoiceSetSupplementaryServiceRequest_Timer
14630 {
14631 UINT8 mNoReplyTimerSeconds;
14632 };
14633
14634 // Structure to describe request TLV 0x14 for VoiceSetSupplementaryService()
14635 struct sVoiceSetSupplementaryServiceRequest_CallForwarding
14636 {
14637 eQMIVoiceNumberTypes mNumberType;
14638 eQMIVoiceNumberPlans mNumberPlan;
14639 };
14640
14641 // Structure to describe response TLV 0x10 for VoiceSetSupplementaryService()
14642 struct sVoiceSetSupplementaryServiceResponse_FailureCause
14643 {
14644 UINT16 mFailureCause;
14645 };
14646
14647 // Structure to describe response TLV 0x11 for VoiceSetSupplementaryService()
14648 struct sVoiceSetSupplementaryServiceResponse_AlphaID
14649 {
14650 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14651 UINT8 mAlphaLength;
14652
14653 // This array must be the size specified by mAlphaLength
14654 // UINT8 mAlphaData[1];
14655 };
14656
14657 // Structure to describe response TLV 0x12 for VoiceSetSupplementaryService()
14658 struct sVoiceSetSupplementaryServiceResponse_CallControl
14659 {
14660 eQMIVoiceCallControlResultTypes mCallControlResult;
14661 };
14662
14663 // Structure to describe response TLV 0x13 for VoiceSetSupplementaryService()
14664 struct sVoiceSetSupplementaryServiceResponse_CallID
14665 {
14666 UINT8 mCallID;
14667 };
14668
14669 // Structure to describe response TLV 0x14 for VoiceSetSupplementaryService()
14670 struct sVoiceSetSupplementaryServiceResponse_SupplementaryService
14671 {
14672 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14673 eQMIVoiceSupplementaryServiceReasons mReason;
14674 };
14675
14676 // Structure to describe request TLV 0x10 for VoiceGetCallWaiting()
14677 struct sVoiceGetCallWaitingRequest_ServiceClass
14678 {
14679 bool mSupplementaryServiceClassVoice:1;
14680 bool mSupplementaryServiceClassData:1;
14681 bool mSupplementaryServiceClassFax:1;
14682 bool mSupplementaryServiceClassSMS:1;
14683 bool mSupplementaryServiceClassDataCircuitSync:1;
14684 bool mSupplementaryServiceClassDataCircuitAsync:1;
14685 bool mSupplementaryServiceClassPacketAccess:1;
14686 bool mSupplementaryServiceClassPadAccess:1;
14687 };
14688
14689 // Structure to describe response TLV 0x10 for VoiceGetCallWaiting()
14690 struct sVoiceGetCallWaitingResponse_ServiceClass
14691 {
14692 bool mSupplementaryServiceClassVoice:1;
14693 bool mSupplementaryServiceClassData:1;
14694 bool mSupplementaryServiceClassFax:1;
14695 bool mSupplementaryServiceClassSMS:1;
14696 bool mSupplementaryServiceClassDataCircuitSync:1;
14697 bool mSupplementaryServiceClassDataCircuitAsync:1;
14698 bool mSupplementaryServiceClassPacketAccess:1;
14699 bool mSupplementaryServiceClassPadAccess:1;
14700 };
14701
14702 // Structure to describe response TLV 0x11 for VoiceGetCallWaiting()
14703 struct sVoiceGetCallWaitingResponse_FailureCause
14704 {
14705 UINT16 mFailureCause;
14706 };
14707
14708 // Structure to describe response TLV 0x12 for VoiceGetCallWaiting()
14709 struct sVoiceGetCallWaitingResponse_AlphaID
14710 {
14711 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14712 UINT8 mAlphaLength;
14713
14714 // This array must be the size specified by mAlphaLength
14715 // UINT8 mAlphaData[1];
14716 };
14717
14718 // Structure to describe response TLV 0x13 for VoiceGetCallWaitinge()
14719 struct sVoiceGetCallWaitingeResponse_CallControl
14720 {
14721 eQMIVoiceCallControlResultTypes mCallControlResult;
14722 };
14723
14724 // Structure to describe response TLV 0x14 for VoiceGetCallWaiting()
14725 struct sVoiceGetCallWaitingResponse_CallID
14726 {
14727 UINT8 mCallID;
14728 };
14729
14730 // Structure to describe response TLV 0x15 for VoiceGetCallWaiting()
14731 struct sVoiceGetCallWaitingResponse_SupplementaryService
14732 {
14733 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14734 eQMIVoiceSupplementaryServiceReasons mReason;
14735 };
14736
14737 // Structure to describe request TLV 0x01 for VoiceGetCallBarring()
14738 struct sVoiceGetCallBarringRequest_Reason
14739 {
14740 eQMIVoiceSupplementaryServiceReasons mReason;
14741 };
14742
14743 // Structure to describe request TLV 0x10 for VoiceGetCallBarring()
14744 struct sVoiceGetCallBarringRequest_ServiceClass
14745 {
14746 bool mSupplementaryServiceClassVoice:1;
14747 bool mSupplementaryServiceClassData:1;
14748 bool mSupplementaryServiceClassFax:1;
14749 bool mSupplementaryServiceClassSMS:1;
14750 bool mSupplementaryServiceClassDataCircuitSync:1;
14751 bool mSupplementaryServiceClassDataCircuitAsync:1;
14752 bool mSupplementaryServiceClassPacketAccess:1;
14753 bool mSupplementaryServiceClassPadAccess:1;
14754 };
14755
14756 // Structure to describe response TLV 0x10 for VoiceGetCallBarring()
14757 struct sVoiceGetCallBarringResponse_ServiceClass
14758 {
14759 bool mSupplementaryServiceClassVoice:1;
14760 bool mSupplementaryServiceClassData:1;
14761 bool mSupplementaryServiceClassFax:1;
14762 bool mSupplementaryServiceClassSMS:1;
14763 bool mSupplementaryServiceClassDataCircuitSync:1;
14764 bool mSupplementaryServiceClassDataCircuitAsync:1;
14765 bool mSupplementaryServiceClassPacketAccess:1;
14766 bool mSupplementaryServiceClassPadAccess:1;
14767 };
14768
14769 // Structure to describe response TLV 0x11 for VoiceGetCallBarring()
14770 struct sVoiceGetCallBarringResponse_FailureCause
14771 {
14772 UINT16 mFailureCause;
14773 };
14774
14775 // Structure to describe response TLV 0x12 for VoiceGetCallBarring()
14776 struct sVoiceGetCallBarringResponse_AlphaID
14777 {
14778 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14779 UINT8 mAlphaLength;
14780
14781 // This array must be the size specified by mAlphaLength
14782 // UINT8 mAlphaData[1];
14783 };
14784
14785 // Structure to describe response TLV 0x13 for VoiceGetCallBarring()
14786 struct sVoiceGetCallBarringResponse_CallControl
14787 {
14788 eQMIVoiceCallControlResultTypes mCallControlResult;
14789 };
14790
14791 // Structure to describe response TLV 0x14 for VoiceGetCallBarring()
14792 struct sVoiceGetCallBarringResponse_CallID
14793 {
14794 UINT8 mCallID;
14795 };
14796
14797 // Structure to describe response TLV 0x15 for VoiceGetCallBarring()
14798 struct sVoiceGetCallBarringResponse_SupplementaryService
14799 {
14800 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14801 eQMIVoiceSupplementaryServiceReasons mReason;
14802 };
14803
14804 // Structure to describe response TLV 0x10 for VoiceGetCLIP()
14805 struct sVoiceGetCLIPResponse_Status
14806 {
14807 INT8 mCLIPActive;
14808 INT8 mCLIPProvisioned;
14809 };
14810
14811 // Structure to describe response TLV 0x11 for VoiceGetCLIP()
14812 struct sVoiceGetCLIPResponse_FailureCause
14813 {
14814 UINT16 mFailureCause;
14815 };
14816
14817 // Structure to describe response TLV 0x12 for VoiceGetCLIP()
14818 struct sVoiceGetCLIPResponse_AlphaID
14819 {
14820 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14821 UINT8 mAlphaLength;
14822
14823 // This array must be the size specified by mAlphaLength
14824 // UINT8 mAlphaData[1];
14825 };
14826
14827 // Structure to describe response TLV 0x13 for VoiceGetCLIP()
14828 struct sVoiceGetCLIPResponse_CallControl
14829 {
14830 eQMIVoiceCallControlResultTypes mCallControlResult;
14831 };
14832
14833 // Structure to describe response TLV 0x14 for VoiceGetCLIP()
14834 struct sVoiceGetCLIPResponse_CallID
14835 {
14836 UINT8 mCallID;
14837 };
14838
14839 // Structure to describe response TLV 0x15 for VoiceGetCLIP()
14840 struct sVoiceGetCLIPResponse_SupplementaryService
14841 {
14842 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14843 eQMIVoiceSupplementaryServiceReasons mReason;
14844 };
14845
14846 // Structure to describe response TLV 0x10 for VoiceGetCLIR()
14847 struct sVoiceGetCLIRResponse_Status
14848 {
14849 INT8 mCLIRActive;
14850 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
14851 };
14852
14853 // Structure to describe response TLV 0x11 for VoiceGetCLIR()
14854 struct sVoiceGetCLIRResponse_FailureCause
14855 {
14856 UINT16 mFailureCause;
14857 };
14858
14859 // Structure to describe response TLV 0x12 for VoiceGetCLIR()
14860 struct sVoiceGetCLIRResponse_AlphaID
14861 {
14862 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14863 UINT8 mAlphaLength;
14864
14865 // This array must be the size specified by mAlphaLength
14866 // UINT8 mAlphaData[1];
14867 };
14868
14869 // Structure to describe response TLV 0x13 for VoiceGetCLIR()
14870 struct sVoiceGetCLIRResponse_CallControl
14871 {
14872 eQMIVoiceCallControlResultTypes mCallControlResult;
14873 };
14874
14875 // Structure to describe response TLV 0x14 for VoiceGetCLIR()
14876 struct sVoiceGetCLIRResponse_CallID
14877 {
14878 UINT8 mCallID;
14879 };
14880
14881 // Structure to describe response TLV 0x15 for VoiceGetCLIR()
14882 struct sVoiceGetCLIRResponse_SupplementaryService
14883 {
14884 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14885 eQMIVoiceSupplementaryServiceReasons mReason;
14886 };
14887
14888 // Structure to describe request TLV 0x01 for VoiceGetCallForwarding()
14889 struct sVoiceGetCallForwardingRequest_Reason
14890 {
14891 eQMIVoiceSupplementaryServiceReasons mReason;
14892 };
14893
14894 // Structure to describe request TLV 0x10 for VoiceGetCallForwarding()
14895 struct sVoiceGetCallForwardingRequest_ServiceClass
14896 {
14897 bool mSupplementaryServiceClassVoice:1;
14898 bool mSupplementaryServiceClassData:1;
14899 bool mSupplementaryServiceClassFax:1;
14900 bool mSupplementaryServiceClassSMS:1;
14901 bool mSupplementaryServiceClassDataCircuitSync:1;
14902 bool mSupplementaryServiceClassDataCircuitAsync:1;
14903 bool mSupplementaryServiceClassPacketAccess:1;
14904 bool mSupplementaryServiceClassPadAccess:1;
14905 };
14906
14907 // Structure to describe response TLV 0x10 for VoiceGetCallForwarding()
14908 struct sVoiceGetCallForwardingResponse_Info
14909 {
14910 UINT8 mInstanceCount;
14911
14912 struct sInstance1
14913 {
14914 INT8 mServiceActive;
14915 bool mSupplementaryServiceClassVoice:1;
14916 bool mSupplementaryServiceClassData:1;
14917 bool mSupplementaryServiceClassFax:1;
14918 bool mSupplementaryServiceClassSMS:1;
14919 bool mSupplementaryServiceClassDataCircuitSync:1;
14920 bool mSupplementaryServiceClassDataCircuitAsync:1;
14921 bool mSupplementaryServiceClassPacketAccess:1;
14922 bool mSupplementaryServiceClassPadAccess:1;
14923 UINT8 mNumberLength;
14924
14925 // This array must be the size specified by mNumberLength
14926 // char mNumber[1];
14927 };
14928
14929 struct sInstance2
14930 {
14931 UINT8 mNoReplyTimerSeconds;
14932 };
14933
14934 struct sInstance
14935 {
14936 sInstance1 mInstance1;
14937 sInstance2 mInstance2;
14938 };
14939
14940 // This array must be the size specified by mInstanceCount
14941 // sInstance mInstances[1];
14942 };
14943
14944 // Structure to describe response TLV 0x11 for VoiceGetCallForwarding()
14945 struct sVoiceGetCallForwardingResponse_FailureCause
14946 {
14947 UINT16 mFailureCause;
14948 };
14949
14950 // Structure to describe response TLV 0x12 for VoiceGetCallForwarding()
14951 struct sVoiceGetCallForwardingResponse_AlphaID
14952 {
14953 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
14954 UINT8 mAlphaLength;
14955
14956 // This array must be the size specified by mAlphaLength
14957 // UINT8 mAlphaData[1];
14958 };
14959
14960 // Structure to describe response TLV 0x13 for VoiceGetCallForwarding()
14961 struct sVoiceGetCallForwardingResponse_CallControl
14962 {
14963 eQMIVoiceCallControlResultTypes mCallControlResult;
14964 };
14965
14966 // Structure to describe response TLV 0x14 for VoiceGetCallForwarding()
14967 struct sVoiceGetCallForwardingResponse_CallID
14968 {
14969 UINT8 mCallID;
14970 };
14971
14972 // Structure to describe response TLV 0x15 for VoiceGetCallForwarding()
14973 struct sVoiceGetCallForwardingResponse_SupplementaryService
14974 {
14975 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
14976 eQMIVoiceSupplementaryServiceReasons mReason;
14977 };
14978
14979 // Structure to describe response TLV 0x16 for VoiceGetCallForwarding()
14980 struct sVoiceGetCallForwardingResponse_ExtendedInfo
14981 {
14982 UINT8 mCallInstanceCount;
14983
14984 struct sInstance
14985 {
14986 INT8 mServiceActive;
14987 bool mSupplementaryServiceClassVoice:1;
14988 bool mSupplementaryServiceClassData:1;
14989 bool mSupplementaryServiceClassFax:1;
14990 bool mSupplementaryServiceClassSMS:1;
14991 bool mSupplementaryServiceClassDataCircuitSync:1;
14992 bool mSupplementaryServiceClassDataCircuitAsync:1;
14993 bool mSupplementaryServiceClassPacketAccess:1;
14994 bool mSupplementaryServiceClassPadAccess:1;
14995 UINT8 mNoReplyTimerSeconds;
14996 UINT8 mPresentationIndicator;
14997 eQMIVoiceScreeningIndicators mScreeningIndicator;
14998 eQMIVoiceNumberTypes mNumberType;
14999 eQMIVoiceNumberPlans mNumberPlan;
15000 UINT8 mNumberLength;
15001
15002 // This array must be the size specified by mNumberLength
15003 // char mNumber[1];
15004 };
15005
15006 // This array must be the size specified by mCallInstanceCount
15007 // sInstance mInstances[1];
15008 };
15009
15010 // Structure to describe request TLV 0x01 for VoiceSetCallBarringPassword()
15011 struct sVoiceSetCallBarringPasswordRequest_Info
15012 {
15013 eQMIVoiceSupplementaryServiceReasons mReason;
15014 char mOldCallBarringPassword[4];
15015 char mNewCallBarringPassword[4];
15016 char mNewCallBarringPasswordRepeat[4];
15017 };
15018
15019 // Structure to describe response TLV 0x10 for VoiceSetCallBarring()
15020 struct sVoiceSetCallBarringResponse_FailureCause
15021 {
15022 UINT16 mFailureCause;
15023 };
15024
15025 // Structure to describe response TLV 0x11 for VoiceSetCallBarring()
15026 struct sVoiceSetCallBarringResponse_AlphaID
15027 {
15028 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15029 UINT8 mAlphaLength;
15030
15031 // This array must be the size specified by mAlphaLength
15032 // UINT8 mAlphaData[1];
15033 };
15034
15035 // Structure to describe response TLV 0x12 for VoiceSetCallBarring()
15036 struct sVoiceSetCallBarringResponse_CallControl
15037 {
15038 eQMIVoiceCallControlResultTypes mCallControlResult;
15039 };
15040
15041 // Structure to describe response TLV 0x13 for VoiceSetCallBarring()
15042 struct sVoiceSetCallBarringResponse_CallID
15043 {
15044 UINT8 mCallID;
15045 };
15046
15047 // Structure to describe response TLV 0x14 for VoiceSetCallBarring()
15048 struct sVoiceSetCallBarringResponse_SupplementaryService
15049 {
15050 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15051 eQMIVoiceSupplementaryServiceReasons mReason;
15052 };
15053
15054 // Structure to describe request TLV 0x01 for VoiceInitiateUSSD()
15055 struct sVoiceInitiateUSSDRequest_Info
15056 {
15057 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15058 UINT8 mUSSLength;
15059
15060 // This array must be the size specified by mUSSLength
15061 // UINT8 mUSSData[1];
15062 };
15063
15064 // Structure to describe response TLV 0x10 for VoiceInitiateUSSD()
15065 struct sVoiceInitiateUSSDResponse_FailCause
15066 {
15067 UINT16 mFailureCause;
15068 };
15069
15070 // Structure to describe response TLV 0x11 for VoiceInitiateUSSD()
15071 struct sVoiceInitiateUSSDResponse_AlphaID
15072 {
15073 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15074 UINT8 mAlphaLength;
15075
15076 // This array must be the size specified by mAlphaLength
15077 // UINT8 mAlphaData[1];
15078 };
15079
15080 // Structure to describe response TLV 0x12 for VoiceInitiateUSSD()
15081 struct sVoiceInitiateUSSDResponse_Data
15082 {
15083 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15084 UINT8 mUSSLength;
15085
15086 // This array must be the size specified by mUSSLength
15087 // UINT8 mUSSData[1];
15088 };
15089
15090 // Structure to describe response TLV 0x13 for VoiceInitiateUSSD()
15091 struct sVoiceInitiateUSSDResponse_CallControl
15092 {
15093 eQMIVoiceCallControlResultTypes mCallControlResult;
15094 };
15095
15096 // Structure to describe response TLV 0x14 for VoiceInitiateUSSD()
15097 struct sVoiceInitiateUSSDResponse_CallID
15098 {
15099 UINT8 mCallID;
15100 };
15101
15102 // Structure to describe response TLV 0x15 for VoiceInitiateUSSD()
15103 struct sVoiceInitiateUSSDResponse_SupplementaryService
15104 {
15105 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15106 eQMIVoiceSupplementaryServiceReasons mReason;
15107 };
15108
15109 // Structure to describe request TLV 0x01 for VoiceAnswerUSSD()
15110 struct sVoiceAnswerUSSDRequest_Info
15111 {
15112 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15113 UINT8 mUSSLength;
15114
15115 // This array must be the size specified by mUSSLength
15116 // UINT8 mUSSData[1];
15117 };
15118
15119 // Structure to describe indication TLV 0x01 for Voice USSDIndication
15120 struct sVoiceUSSDIndication_Type
15121 {
15122 eQMIVoiceUSSDNotifcationTypes mNotificationType;
15123 };
15124
15125 // Structure to describe indication TLV 0x10 for Voice USSDIndication
15126 struct sVoiceUSSDIndication_Data
15127 {
15128 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15129 UINT8 mUSSLength;
15130
15131 // This array must be the size specified by mUSSLength
15132 // UINT8 mUSSData[1];
15133 };
15134
15135 // Structure to describe indication TLV 0x01 for Voice USSIndication
15136 struct sVoiceUSSIndication_Info
15137 {
15138 UINT8 mCallID;
15139 eQMIVoiceUUSTypes mUUSType;
15140 eQMIVoiceUUSDataCodingSchemes mUUSDCS;
15141 UINT8 mUUSLength;
15142
15143 // This array must be the size specified by mUUSLength
15144 // UINT8 mUUSData[1];
15145 };
15146
15147 // Structure to describe request TLV 0x10 for VoiceSetConfig()
15148 struct sVoiceSetConfigRequest_AutoAnswer
15149 {
15150 INT8 mAutoAnswer;
15151 };
15152
15153 // Structure to describe request TLV 0x11 for VoiceSetConfig()
15154 struct sVoiceSetConfigRequest_AirTimer
15155 {
15156 UINT8 mNAMID;
15157 UINT32 mAirTimerMinutes;
15158 };
15159
15160 // Structure to describe request TLV 0x12 for VoiceSetConfig()
15161 struct sVoiceSetConfigRequest_RoamTimer
15162 {
15163 UINT8 mNAMID;
15164 UINT32 mRoamTimerMinutes;
15165 };
15166
15167 // Structure to describe request TLV 0x13 for VoiceSetConfig()
15168 struct sVoiceSetConfigRequest_TTYMode
15169 {
15170 eQMIVoiceTTYModes mTTYMode;
15171 };
15172
15173 // Structure to describe request TLV 0x14 for VoiceSetConfig()
15174 struct sVoiceSetConfigRequest_PreferredVoiceSO
15175 {
15176 UINT8 mNAMID;
15177 INT8 mEVRCCapability;
15178 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
15179 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
15180 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
15181 };
15182
15183 // Structure to describe request TLV 0x15 for VoiceSetConfig()
15184 struct sVoiceSetConfigRequest_PreferredVoiceDomain
15185 {
15186 eQMIVoiceDomains mPreferredDomain;
15187 };
15188
15189 // Structure to describe response TLV 0x10 for VoiceSetConfig()
15190 struct sVoiceSetConfigResponse_AutoAnswer
15191 {
15192 INT8 mWriteFailed;
15193 };
15194
15195 // Structure to describe response TLV 0x11 for VoiceSetConfig()
15196 struct sVoiceSetConfigResponse_AirTimer
15197 {
15198 INT8 mWriteFailed;
15199 };
15200
15201 // Structure to describe response TLV 0x12 for VoiceSetConfig()
15202 struct sVoiceSetConfigResponse_RoamTimer
15203 {
15204 INT8 mWriteFailed;
15205 };
15206
15207 // Structure to describe response TLV 0x13 for VoiceSetConfig()
15208 struct sVoiceSetConfigResponse_TTYMode
15209 {
15210 INT8 mWriteFailed;
15211 };
15212
15213 // Structure to describe response TLV 0x14 for VoiceSetConfig()
15214 struct sVoiceSetConfigResponse_PreferredVoiceSO
15215 {
15216 INT8 mWriteFailed;
15217 };
15218
15219 // Structure to describe response TLV 0x15 for VoiceSetConfig()
15220 struct sVoiceSetConfigResponse_PreferredVoiceDomain
15221 {
15222 INT8 mWriteFailed;
15223 };
15224
15225 // Structure to describe request TLV 0x10 for VoiceGetConfig()
15226 struct sVoiceGetConfigRequest_AutoAnswer
15227 {
15228 INT8 mInclude;
15229 };
15230
15231 // Structure to describe request TLV 0x11 for VoiceGetConfig()
15232 struct sVoiceGetConfigRequest_AirTimer
15233 {
15234 INT8 mInclude;
15235 };
15236
15237 // Structure to describe request TLV 0x12 for VoiceGetConfig()
15238 struct sVoiceGetConfigRequest_RoamTimer
15239 {
15240 INT8 mInclude;
15241 };
15242
15243 // Structure to describe request TLV 0x13 for VoiceGetConfig()
15244 struct sVoiceGetConfigRequest_TTYMode
15245 {
15246 INT8 mInclude;
15247 };
15248
15249 // Structure to describe request TLV 0x14 for VoiceGetConfig()
15250 struct sVoiceGetConfigRequest_PreferredVoiceSO
15251 {
15252 INT8 mInclude;
15253 };
15254
15255 // Structure to describe request TLV 0x15 for VoiceGetConfig()
15256 struct sVoiceGetConfigRequest_AMRStatus
15257 {
15258 INT8 mInclude;
15259 };
15260
15261 // Structure to describe request TLV 0x16 for VoiceGetConfig()
15262 struct sVoiceGetConfigRequest_PreferredVoicePrivacy
15263 {
15264 INT8 mInclude;
15265 };
15266
15267 // Structure to describe request TLV 0x17 for VoiceGetConfig()
15268 struct sVoiceGetConfigRequest_NAM
15269 {
15270 UINT8 mNAMID;
15271 };
15272
15273 // Structure to describe request TLV 0x18 for VoiceGetConfig()
15274 struct sVoiceGetConfigRequest_VoiceDomain
15275 {
15276 INT8 mInclude;
15277 };
15278
15279 // Structure to describe response TLV 0x10 for VoiceGetConfig()
15280 struct sVoiceGetConfigResponse_AutoAnswer
15281 {
15282 INT8 mAutoAnswer;
15283 };
15284
15285 // Structure to describe response TLV 0x11 for VoiceGetConfig()
15286 struct sVoiceGetConfigResponse_AirTimer
15287 {
15288 UINT8 mNAMID;
15289 UINT32 mAirTimerMinutes;
15290 };
15291
15292 // Structure to describe response TLV 0x12 for VoiceGetConfig()
15293 struct sVoiceGetConfigResponse_RoamTimer
15294 {
15295 UINT8 mNAMID;
15296 UINT32 mRoamTimerMinutes;
15297 };
15298
15299 // Structure to describe response TLV 0x13 for VoiceGetConfig()
15300 struct sVoiceGetConfigResponse_TTYMode
15301 {
15302 eQMIVoiceTTYModes mTTYMode;
15303 };
15304
15305 // Structure to describe response TLV 0x14 for VoiceGetConfig()
15306 struct sVoiceGetConfigResponse_PreferredVoiceSO
15307 {
15308 UINT8 mNAMID;
15309 INT8 mEVRCCapability;
15310 eQMIVoiceServiceOptions mHomePageVoiceServiceOption;
15311 eQMIVoiceServiceOptions mHomeOriginationVoiceServiceOption;
15312 eQMIVoiceServiceOptions mRoamOriginationVoiceServiceOption;
15313 };
15314
15315 // Structure to describe response TLV 0x15 for VoiceGetConfig()
15316 struct sVoiceGetConfigResponse_AMRConfig
15317 {
15318 INT8 mGSMAMR;
15319 bool mWCDMAAMRWB:1;
15320 bool mGSMHRAMR:1;
15321 bool mGSMAMRWB:1;
15322 bool mGSMAMRNB:1;
15323
15324 // Padding out 4 bits
15325 UINT8 mReserved1:4;
15326 };
15327
15328 // Structure to describe response TLV 0x16 for VoiceGetConfig()
15329 struct sVoiceGetConfigResponse_Privacy
15330 {
15331 eQMIVoicePrivacyLevels mVoicePrivacy;
15332 };
15333
15334 // Structure to describe response TLV 0x17 for VoiceGetConfig()
15335 struct sVoiceGetConfigResponse_PreferredVoiceDomain
15336 {
15337 eQMIVoiceDomains mPreferredDomain;
15338 };
15339
15340 // Structure to describe request TLV 0x01 for VoiceSupplementaryService()
15341 struct sVoiceSupplementaryServiceRequestIndication_Info
15342 {
15343 eQMIVoiceSupplementaryServiceRequests mSupplementaryServiceRequest;
15344 INT8 mModifiedByCallControl;
15345 };
15346
15347 // Structure to describe request TLV 0x10 for VoiceSupplementaryService()
15348 struct sVoiceSupplementaryServiceRequestIndication_Class
15349 {
15350 bool mSupplementaryServiceClassVoice:1;
15351 bool mSupplementaryServiceClassData:1;
15352 bool mSupplementaryServiceClassFax:1;
15353 bool mSupplementaryServiceClassSMS:1;
15354 bool mSupplementaryServiceClassDataCircuitSync:1;
15355 bool mSupplementaryServiceClassDataCircuitAsync:1;
15356 bool mSupplementaryServiceClassPacketAccess:1;
15357 bool mSupplementaryServiceClassPadAccess:1;
15358 };
15359
15360 // Structure to describe request TLV 0x11 for VoiceSupplementaryService()
15361 struct sVoiceSupplementaryServiceRequestIndication_Reason
15362 {
15363 eQMIVoiceSupplementaryServiceReasons mReason;
15364 };
15365
15366 // Structure to describe request TLV 0x12 for VoiceSupplementaryService()
15367 struct sVoiceSupplementaryServiceRequestIndication_Number
15368 {
15369 // String is variable length, but must be size of the container
15370 // char mCallForwardingNumber[1];
15371 };
15372
15373 // Structure to describe request TLV 0x13 for VoiceSupplementaryService()
15374 struct sVoiceSupplementaryServiceRequestIndication_Timer
15375 {
15376 UINT8 mNoReplyTimerSeconds;
15377 };
15378
15379 // Structure to describe request TLV 0x14 for VoiceSupplementaryService()
15380 struct sVoiceSupplementaryServiceRequestIndication_USSData
15381 {
15382 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15383 UINT8 mUSSLength;
15384
15385 // This array must be the size specified by mUSSLength
15386 // UINT8 mUSSData[1];
15387 };
15388
15389 // Structure to describe request TLV 0x15 for VoiceSupplementaryService()
15390 struct sVoiceSupplementaryServiceRequestIndication_CallID
15391 {
15392 UINT8 mCallID;
15393 };
15394
15395 // Structure to describe request TLV 0x16 for VoiceSupplementaryService()
15396 struct sVoiceSupplementaryServiceRequestIndication_AlphaID
15397 {
15398 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15399 UINT8 mAlphaLength;
15400
15401 // This array must be the size specified by mAlphaLength
15402 // UINT8 mAlphaData[1];
15403 };
15404
15405 // Structure to describe request TLV 0x17 for VoiceSupplementaryService()
15406 struct sVoiceSupplementaryServiceRequestIndication_Password
15407 {
15408 char mCallBarringPassword[4];
15409 };
15410
15411 // Structure to describe request TLV 0x18 for VoiceSupplementaryService()
15412 struct sVoiceSupplementaryServiceRequestIndication_NewPassword
15413 {
15414 char mNewCallBarringPassword[4];
15415 char mNewCallBarringPasswordRepeat[4];
15416 };
15417
15418 // Structure to describe request TLV 0x19 for VoiceSupplementaryService()
15419 struct sVoiceSupplementaryServiceRequestIndication_DataSource
15420 {
15421 INT8 mResponseData;
15422 };
15423
15424 // Structure to describe request TLV 0x1A for VoiceSupplementaryService()
15425 struct sVoiceSupplementaryServiceRequestIndication_FailCause
15426 {
15427 UINT16 mFailureCause;
15428 };
15429
15430 // Structure to describe request TLV 0x1B for VoiceSupplementaryService()
15431 struct sVoiceSupplementaryServiceRequestIndication_CallForwarding
15432 {
15433 UINT8 mInstanceCount;
15434
15435 struct sInstance1
15436 {
15437 INT8 mServiceActive;
15438 bool mSupplementaryServiceClassVoice:1;
15439 bool mSupplementaryServiceClassData:1;
15440 bool mSupplementaryServiceClassFax:1;
15441 bool mSupplementaryServiceClassSMS:1;
15442 bool mSupplementaryServiceClassDataCircuitSync:1;
15443 bool mSupplementaryServiceClassDataCircuitAsync:1;
15444 bool mSupplementaryServiceClassPacketAccess:1;
15445 bool mSupplementaryServiceClassPadAccess:1;
15446 UINT8 mNumberLength;
15447
15448 // This array must be the size specified by mNumberLength
15449 // char mNumber[1];
15450 };
15451
15452 struct sInstance2
15453 {
15454 UINT8 mNoReplyTimerSeconds;
15455 };
15456
15457 struct sInstance
15458 {
15459 sInstance1 mInstance1;
15460 sInstance2 mInstance2;
15461 };
15462
15463 // This array must be the size specified by mInstanceCount
15464 // sInstance mInstances[1];
15465 };
15466
15467 // Structure to describe request TLV 0x1C for VoiceSupplementaryService()
15468 struct sVoiceSupplementaryServiceRequestIndication_CLIR
15469 {
15470 INT8 mCLIRActive;
15471 eQMIVoiceProvisioningStates mCLIRProvisionStatus;
15472 };
15473
15474 // Structure to describe request TLV 0x1D for VoiceSupplementaryService()
15475 struct sVoiceSupplementaryServiceRequestIndication_CLIP
15476 {
15477 INT8 mCLIPActive;
15478 INT8 mCLIPProvisioned;
15479 };
15480
15481 // Structure to describe request TLV 0x1E for VoiceSupplementaryService()
15482 struct sVoiceSupplementaryServiceRequestIndication_COLP
15483 {
15484 INT8 mActive;
15485 INT8 mProvisioned;
15486 };
15487
15488 // Structure to describe request TLV 0x1F for VoiceSupplementaryService()
15489 struct sVoiceSupplementaryServiceRequestIndication_COLR
15490 {
15491 INT8 mActive;
15492 INT8 mProvisioned;
15493 };
15494
15495 // Structure to describe request TLV 0x20 for VoiceSupplementaryService()
15496 struct sVoiceSupplementaryServiceRequestIndication_CNAP
15497 {
15498 INT8 mActive;
15499 INT8 mProvisioned;
15500 };
15501
15502 // Structure to describe request TLV 0x01 for VoiceAsyncInitiateUSSD()
15503 struct sVoiceAsyncInitiateUSSDRequest_Info
15504 {
15505 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15506 UINT8 mUSSLength;
15507
15508 // This array must be the size specified by mUSSLength
15509 // UINT8 mUSSData[1];
15510 };
15511
15512 // Structure to describe indication TLV 0x10 for Voice USSDAsyncIndication
15513 struct sVoiceUSSDAsyncIndication_Error
15514 {
15515 eQMIErrors mQMIError;
15516 };
15517
15518 // Structure to describe indication TLV 0x11 for Voice USSDAsyncIndication
15519 struct sVoiceUSSDAsyncIndication_FailCause
15520 {
15521 UINT16 mFailureCause;
15522 };
15523
15524 // Structure to describe indication TLV 0x12 for Voice USSDAsyncIndication
15525 struct sVoiceUSSDAsyncIndication_Info
15526 {
15527 eQMIVoiceUSSDDataCodingSchemes mUSSDCS;
15528 UINT8 mUSSLength;
15529
15530 // This array must be the size specified by mUSSLength
15531 // UINT8 mUSSData[1];
15532 };
15533
15534 // Structure to describe indication TLV 0x13 for Voice USSDAsyncIndication
15535 struct sVoiceUSSDAsyncIndication_AlphaID
15536 {
15537 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15538 UINT8 mAlphaLength;
15539
15540 // This array must be the size specified by mAlphaLength
15541 // UINT8 mAlphaData[1];
15542 };
15543
15544 // Structure to describe request TLV 0x01 for VoiceBindSubscription()
15545 struct sVoiceBindSubscriptionRequest_Type
15546 {
15547 eQMIVoiceSubscriptionTypes mSubscriptionType;
15548 };
15549
15550 // Structure to describe request TLV 0x01 for VoiceALSSetLineSwitching()
15551 struct sVoiceALSSetLineSwitchingRequest_Switching
15552 {
15553 INT8 mLineSwitchingAllowed;
15554 };
15555
15556 // Structure to describe request TLV 0x01 for VoiceALSSelectLine()
15557 struct sVoiceALSSelectLineRequest_Line
15558 {
15559 eQMIVoiceALSLines mLineValue;
15560 };
15561
15562 // Structure to describe request TLV 0x01 for VoiceAOCSetACMMaximum()
15563 struct sVoiceAOCSetACMMaximumRequest_ACMMax
15564 {
15565 UINT32 mACMMaximum;
15566 };
15567
15568 // Structure to describe request TLV 0x01 for VoiceAOCGetCallMeterInfo()
15569 struct sVoiceAOCGetCallMeterInfoRequest_Mask
15570 {
15571 bool mACM:1;
15572 bool mACMMaximum:1;
15573 bool mCCM:1;
15574
15575 // Padding out 13 bits
15576 UINT8 mReserved1:5;
15577 UINT8 mReserved2;
15578 };
15579
15580 // Structure to describe response TLV 0x10 for VoiceAOCGetCallMeterInfo()
15581 struct sVoiceAOCGetCallMeterInfoResponse_ACM
15582 {
15583 UINT32 mACM;
15584 };
15585
15586 // Structure to describe response TLV 0x11 for VoiceAOCGetCallMeterInfo()
15587 struct sVoiceAOCGetCallMeterInfoResponse_ACMMax
15588 {
15589 UINT32 mACMMaximum;
15590 };
15591
15592 // Structure to describe response TLV 0x12 for VoiceAOCGetCallMeterInfo()
15593 struct sVoiceAOCGetCallMeterInfoResponse_CCM
15594 {
15595 UINT32 mCCM;
15596 };
15597
15598 // Structure to describe response TLV 0x10 for VoiceGetCOLP()
15599 struct sVoiceGetCOLPResponse_COLP
15600 {
15601 INT8 mActive;
15602 INT8 mProvisioned;
15603 };
15604
15605 // Structure to describe response TLV 0x11 for VoiceGetCOLP()
15606 struct sVoiceGetCOLPResponse_FailCause
15607 {
15608 UINT16 mFailureCause;
15609 };
15610
15611 // Structure to describe response TLV 0x12 for VoiceGetCOLP()
15612 struct sVoiceGetCOLPResponse_AlphaID
15613 {
15614 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15615 UINT8 mAlphaLength;
15616
15617 // This array must be the size specified by mAlphaLength
15618 // UINT8 mAlphaData[1];
15619 };
15620
15621 // Structure to describe response TLV 0x13 for VoiceGetCOLP()
15622 struct sVoiceGetCOLPResponse_CallControl
15623 {
15624 eQMIVoiceCallControlResultTypes mCallControlResult;
15625 };
15626
15627 // Structure to describe response TLV 0x14 for VoiceGetCOLP()
15628 struct sVoiceGetCOLPResponse_CallID
15629 {
15630 UINT8 mCallID;
15631 };
15632
15633 // Structure to describe response TLV 0x15 for VoiceGetCOLP()
15634 struct sVoiceGetCOLPResponse_SupplementaryService
15635 {
15636 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15637 eQMIVoiceSupplementaryServiceReasons mReason;
15638 };
15639
15640 // Structure to describe response TLV 0x10 for VoiceGetCOLR()
15641 struct sVoiceGetCOLRResponse_COLR
15642 {
15643 INT8 mActive;
15644 INT8 mProvisioned;
15645 };
15646
15647 // Structure to describe response TLV 0x11 for VoiceGetCOLR()
15648 struct sVoiceGetCOLRResponse_FailCause
15649 {
15650 UINT16 mFailureCause;
15651 };
15652
15653 // Structure to describe response TLV 0x12 for VoiceGetCOLR()
15654 struct sVoiceGetCOLRResponse_AlphaID
15655 {
15656 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15657 UINT8 mAlphaLength;
15658
15659 // This array must be the size specified by mAlphaLength
15660 // UINT8 mAlphaData[1];
15661 };
15662
15663 // Structure to describe response TLV 0x13 for VoiceGetCOLR()
15664 struct sVoiceGetCOLRResponse_CallControl
15665 {
15666 eQMIVoiceCallControlResultTypes mCallControlResult;
15667 };
15668
15669 // Structure to describe response TLV 0x14 for VoiceGetCOLR()
15670 struct sVoiceGetCOLRResponse_CallID
15671 {
15672 UINT8 mCallID;
15673 };
15674
15675 // Structure to describe response TLV 0x15 for VoiceGetCOLR()
15676 struct sVoiceGetCOLRResponse_SupplementaryService
15677 {
15678 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15679 eQMIVoiceSupplementaryServiceReasons mReason;
15680 };
15681
15682 // Structure to describe response TLV 0x10 for VoiceGetCNAP()
15683 struct sVoiceGetCNAPResponse_CNAP
15684 {
15685 INT8 mActive;
15686 INT8 mProvisioned;
15687 };
15688
15689 // Structure to describe response TLV 0x11 for VoiceGetCNAP()
15690 struct sVoiceGetCNAPResponse_FailCause
15691 {
15692 UINT16 mFailureCause;
15693 };
15694
15695 // Structure to describe response TLV 0x12 for VoiceGetCNAP()
15696 struct sVoiceGetCNAPResponse_AlphaID
15697 {
15698 eQMIVoiceUSSDAlphaCodingSchemes mAlphaDCS;
15699 UINT8 mAlphaLength;
15700
15701 // This array must be the size specified by mAlphaLength
15702 // UINT8 mAlphaData[1];
15703 };
15704
15705 // Structure to describe response TLV 0x13 for VoiceGetCNAP()
15706 struct sVoiceGetCNAPResponse_CallControl
15707 {
15708 eQMIVoiceCallControlResultTypes mCallControlResult;
15709 };
15710
15711 // Structure to describe response TLV 0x14 for VoiceGetCNAP()
15712 struct sVoiceGetCNAPResponse_CallID
15713 {
15714 UINT8 mCallID;
15715 };
15716
15717 // Structure to describe response TLV 0x15 for VoiceGetCNAP()
15718 struct sVoiceGetCNAPResponse_SupplementaryService
15719 {
15720 eQMIVoiceSupplementaryServiceRequests mSupplementaryService;
15721 eQMIVoiceSupplementaryServiceReasons mReason;
15722 };
15723
15724 // Structure to describe request TLV 0x01 for VoiceManageIPCalls()
15725 struct sVoiceManageIPCallsRequest_Info
15726 {
15727 eQMIVoiceVoIPSUPSCallTypes mSupplementaryServiceType;
15728 };
15729
15730 // Structure to describe response TLV 0x10 for VoiceManageIPCalls()
15731 struct sVoiceManageIPCallsResponse_CallID
15732 {
15733 UINT8 mCallID;
15734 };
15735
15736 // Structure to describe request TLV 0x10 for CAT2SetEventReport()
15737 struct sCAT2SetEventReportRequest_ReportMask
15738 {
15739 bool mDisplayText:1;
15740 bool mGetInkey:1;
15741 bool mGetInput:1;
15742 bool mSetupMenu:1;
15743 bool mSelectItem:1;
15744 bool mSendSMSAlphaIdentifier:1;
15745 bool mSetupEventUserActivity:1;
15746 bool mSetupEventIdleScreenNotify:1;
15747 bool mSetupEventLanguageSelNotify:1;
15748 bool mSetupIdleModeText:1;
15749 bool mLanguageNotification:1;
15750 bool mRefresh:1;
15751 bool mEndProactiveSession:1;
15752 bool mPlayTone:1;
15753 bool mSetupCall:1;
15754 bool mSendDTMF:1;
15755 bool mLaunchBrowser:1;
15756 bool mSendSS:1;
15757 bool mSendUSSD:1;
15758 bool mProvideLocalInformationLanguage:1;
15759 bool mBearerIndependentProtocol:1;
15760 bool mSetupEventBrowserTermination:1;
15761 bool mProvideLocalInformationTime:1;
15762 bool mActivate:1;
15763
15764 // Padding out 1 bits
15765 UINT8 mReserved1:1;
15766
15767 bool mSetupEventHCIConnectivity:1;
15768
15769 // Padding out 6 bits
15770 UINT8 mReserved2:6;
15771 };
15772
15773 // Structure to describe request TLV 0x11 for CAT2SetEventReport()
15774 struct sCAT2SetEventReportRequest_DecodeReportMask
15775 {
15776 bool mDisplayText:1;
15777 bool mGetInkey:1;
15778 bool mGetInput:1;
15779 bool mSetupMenu:1;
15780 bool mSelectItem:1;
15781 bool mSendSMSAlphaIdentifier:1;
15782 bool mSetupEventUserActivity:1;
15783 bool mSetupEventIdleScreenNotify:1;
15784 bool mSetupEventLanguageSelNotify:1;
15785 bool mSetupIdleModeText:1;
15786 bool mLanguageNotification:1;
15787
15788 // Padding out 1 bits
15789 UINT8 mReserved1:1;
15790
15791 bool mEndProactiveSession:1;
15792 bool mPlayTone:1;
15793 bool mSetupCall:1;
15794 bool mSendDTMF:1;
15795 bool mLaunchBrowser:1;
15796 bool mSendSS:1;
15797 bool mSendUSSD:1;
15798 bool mProvideLocalInformationLanguage:1;
15799 bool mBearerIndependentProtocol:1;
15800
15801 // Padding out 2 bits
15802 UINT8 mReserved2:2;
15803
15804 bool mSCWSEvent:1;
15805 bool mActivate:1;
15806 bool mSetupEventHCIConnectivity:1;
15807
15808 // Padding out 6 bits
15809 UINT8 mReserved3:6;
15810 };
15811
15812 // Structure to describe request TLV 0x12 for CAT2SetEventReport()
15813 struct sCAT2SetEventReportRequest_Slot
15814 {
15815 bool mSlot1:1;
15816 bool mSlot2:1;
15817
15818 // Padding out 6 bits
15819 UINT8 mReserved1:6;
15820 };
15821
15822 // Structure to describe response TLV 0x10 for CAT2SetEventReport()
15823 struct sCAT2SetEventReportResponse_RegStatusMask
15824 {
15825 bool mDisplayText:1;
15826 bool mGetInkey:1;
15827 bool mGetInput:1;
15828 bool mSetupMenu:1;
15829 bool mSelectItem:1;
15830 bool mSendSMSAlphaIdentifier:1;
15831 bool mSetupEventUserActivity:1;
15832 bool mSetupEventIdleScreenNotify:1;
15833 bool mSetupEventLanguageSelNotify:1;
15834 bool mSetupIdleModeText:1;
15835 bool mLanguageNotification:1;
15836 bool mRefresh:1;
15837 bool mEndProactiveSession:1;
15838 bool mPlayTone:1;
15839 bool mSetupCall:1;
15840 bool mSendDTMF:1;
15841 bool mLaunchBrowser:1;
15842 bool mSendSS:1;
15843 bool mSendUSSD:1;
15844 bool mProvideLocalInformationLanguage:1;
15845 bool mBearerIndependentProtocol:1;
15846 bool mSetupEventBrowserTermination:1;
15847 bool mProvideLocalInformationTime:1;
15848 bool mActivate:1;
15849
15850 // Padding out 1 bits
15851 UINT8 mReserved1:1;
15852
15853 bool mSetupEventHCIConnectivity:1;
15854
15855 // Padding out 6 bits
15856 UINT8 mReserved2:6;
15857 };
15858
15859 // Structure to describe response TLV 0x11 for CAT2SetEventReport()
15860 struct sCAT2SetEventReportResponse_DecodedRegStatusMask
15861 {
15862 bool mDisplayText:1;
15863 bool mGetInkey:1;
15864 bool mGetInput:1;
15865 bool mSetupMenu:1;
15866 bool mSelectItem:1;
15867 bool mSendSMSAlphaIdentifier:1;
15868 bool mSetupEventUserActivity:1;
15869 bool mSetupEventIdleScreenNotify:1;
15870 bool mSetupEventLanguageSelNotify:1;
15871 bool mSetupIdleModeText:1;
15872 bool mLanguageNotification:1;
15873
15874 // Padding out 1 bits
15875 UINT8 mReserved1:1;
15876
15877 bool mEndProactiveSession:1;
15878 bool mPlayTone:1;
15879 bool mSetupCall:1;
15880 bool mSendDTMF:1;
15881 bool mLaunchBrowser:1;
15882 bool mSendSS:1;
15883 bool mSendUSSD:1;
15884 bool mProvideLocalInformationLanguage:1;
15885 bool mBearerIndependentProtocol:1;
15886
15887 // Padding out 2 bits
15888 UINT8 mReserved2:2;
15889
15890 bool mSCWSEvent:1;
15891 bool mActivate:1;
15892 bool mSetupEventHCIConnectivity:1;
15893
15894 // Padding out 6 bits
15895 UINT8 mReserved3:6;
15896 };
15897
15898 // Structure to describe indication TLV 0x10 for CAT2 EventReport
15899 struct sCAT2EventReportIndication_DisplayTextEvent
15900 {
15901 UINT32 mReferenceID;
15902 UINT16 mCommandLength;
15903
15904 // This array must be the size specified by mCommandLength
15905 // UINT8 mDisplayTextCommand[1];
15906 };
15907
15908 // Structure to describe indication TLV 0x11 for CAT2 EventReport
15909 struct sCAT2EventReportIndication_GetInkeyEvent
15910 {
15911 UINT32 mReferenceID;
15912 UINT16 mCommandLength;
15913
15914 // This array must be the size specified by mCommandLength
15915 // UINT8 mGetInkeyCommand[1];
15916 };
15917
15918 // Structure to describe indication TLV 0x12 for CAT2 EventReport
15919 struct sCAT2EventReportIndication_GetInputEvent
15920 {
15921 UINT32 mReferenceID;
15922 UINT16 mCommandLength;
15923
15924 // This array must be the size specified by mCommandLength
15925 // UINT8 mGetInputCommand[1];
15926 };
15927
15928 // Structure to describe indication TLV 0x13 for CAT2 EventReport
15929 struct sCAT2EventReportIndication_SetupMenuEvent
15930 {
15931 UINT32 mReferenceID;
15932 UINT16 mCommandLength;
15933
15934 // This array must be the size specified by mCommandLength
15935 // UINT8 mSetupMenuCommand[1];
15936 };
15937
15938 // Structure to describe indication TLV 0x14 for CAT2 EventReport
15939 struct sCAT2EventReportIndication_SelectItemEvent
15940 {
15941 UINT32 mReferenceID;
15942 UINT16 mCommandLength;
15943
15944 // This array must be the size specified by mCommandLength
15945 // UINT8 mSelectItemCommand[1];
15946 };
15947
15948 // Structure to describe indication TLV 0x15 for CAT2 EventReport
15949 struct sCAT2EventReportIndication_AlphaIDAvailable
15950 {
15951 eQMICATAlphaIDCommandType mAlphaIDCommandType;
15952 UINT16 mAlphaIDLength;
15953
15954 // This array must be the size specified by mAlphaIDLength
15955 // UINT8 mAlphaID[1];
15956 };
15957
15958 // Structure to describe indication TLV 0x16 for CAT2 EventReport
15959 struct sCAT2EventReportIndication_SetupEventList
15960 {
15961 bool mUserActivityNotify:1;
15962 bool mIdleScreenAvailable:1;
15963 bool mLanguageSelectionNotify:1;
15964
15965 // Padding out 29 bits
15966 UINT8 mReserved1:5;
15967 UINT8 mReserved2[3];
15968 };
15969
15970 // Structure to describe indication TLV 0x17 for CAT2 EventReport
15971 struct sCAT2EventReportIndication_SetupIdleModeTextEvent
15972 {
15973 UINT32 mReferenceID;
15974 UINT16 mCommandLength;
15975
15976 // This array must be the size specified by mCommandLength
15977 // UINT8 mSetupIdleModeTextCommand[1];
15978 };
15979
15980 // Structure to describe indication TLV 0x18 for CAT2 EventReport
15981 struct sCAT2EventReportIndication_LanguageNotificationEvent
15982 {
15983 UINT32 mReferenceID;
15984 UINT16 mCommandLength;
15985
15986 // This array must be the size specified by mCommandLength
15987 // UINT8 mLanguageNotificationCommand[1];
15988 };
15989
15990 // Structure to describe indication TLV 0x19 for CAT2 EventReport
15991 struct sCAT2EventReportIndication_RefreshEvent
15992 {
15993 UINT16 mRefreshMode;
15994 eQMICATRefreshStage mRefreshStage;
15995 };
15996
15997 // Structure to describe indication TLV 0x1A for CAT2 EventReport
15998 struct sCAT2EventReportIndication_EndProactiveSession
15999 {
16000 eQMICATProactiveSessionEndType mProactiveSessionEndType;
16001 };
16002
16003 // Structure to describe indication TLV 0x1B for CAT2 EventReport
16004 struct sCAT2EventReportIndication_DecodedHeaderID
16005 {
16006 eQMICATCommandID mCommandID;
16007 UINT32 mReferenceID;
16008 UINT8 mCommandNumber;
16009 };
16010
16011 // Structure to describe indication TLV 0x1C for CAT2 EventReport
16012 struct sCAT2EventReportIndication_TextString
16013 {
16014 eQMICATDataCodingScheme mDataCodingScheme;
16015 UINT8 mTextDataLength;
16016
16017 // This array must be the size specified by mTextDataLength
16018 // UINT8 mTextData[1];
16019 };
16020
16021 // Structure to describe indication TLV 0x1D for CAT2 EventReport
16022 struct sCAT2EventReportIndication_HighPriority
16023 {
16024 eQMICATHighPriority mHighPriority;
16025 };
16026
16027 // Structure to describe indication TLV 0x1E for CAT2 EventReport
16028 struct sCAT2EventReportIndication_UserControl
16029 {
16030 eQMICATUserControl mUserControl;
16031 };
16032
16033 // Structure to describe indication TLV 0x1F for CAT2 EventReport
16034 struct sCAT2EventReportIndication_Icon
16035 {
16036 eQMICATIconQualifier mIconQualifier;
16037 UINT8 mHeight;
16038 UINT8 mWidth;
16039 eQMICATImageCodingScheme mImageCodingScheme;
16040 UINT8 mRecordNumber;
16041 UINT16 mIconDataLength;
16042
16043 // This array must be the size specified by mIconDataLength
16044 // UINT8 mIconData[1];
16045 };
16046
16047 // Structure to describe indication TLV 0x20 for CAT2 EventReport
16048 struct sCAT2EventReportIndication_Duration
16049 {
16050 eQMICATTimeUnits mUnits;
16051 UINT8 mInterval;
16052 };
16053
16054 // Structure to describe indication TLV 0x21 for CAT2 EventReport
16055 struct sCAT2EventReportIndication_ResponseFormat
16056 {
16057 eQMICATResponseFormat mResponseFormat;
16058 };
16059
16060 // Structure to describe indication TLV 0x22 for CAT2 EventReport
16061 struct sCAT2EventReportIndication_HelpAvailable
16062 {
16063 eQMICATHelpAvailable mHelpAvailable;
16064 };
16065
16066 // Structure to describe indication TLV 0x23 for CAT2 EventReport
16067 struct sCAT2EventReportIndication_ResponsePackingFormat
16068 {
16069 eQMICATResponsePackingFormat mResponsePackingFormat;
16070 };
16071
16072 // Structure to describe indication TLV 0x24 for CAT2 EventReport
16073 struct sCAT2EventReportIndication_ResponseLength
16074 {
16075 UINT8 mMaximumUserInput;
16076 UINT8 mMinimumUserInput;
16077 };
16078
16079 // Structure to describe indication TLV 0x25 for CAT2 EventReport
16080 struct sCAT2EventReportIndication_ShowUserInput
16081 {
16082 eQMICATShowUserInput mShowUserInput;
16083 };
16084
16085 // Structure to describe indication TLV 0x26 for CAT2 EventReport
16086 struct sCAT2EventReportIndication_Tone
16087 {
16088 eQMICATTone mTone;
16089 };
16090
16091 // Structure to describe indication TLV 0x27 for CAT2 EventReport
16092 struct sCAT2EventReportIndication_SoftkeySelection
16093 {
16094 eQMICATSoftkeySelection mSoftkeySelection;
16095 };
16096
16097 // Structure to describe indication TLV 0x28 for CAT2 EventReport
16098 struct sCAT2EventReportIndication_Items
16099 {
16100 UINT8 mItemsLength;
16101
16102 struct sItem
16103 {
16104 UINT8 mItemID;
16105 UINT8 mItemTextLength;
16106
16107 // This array must be the size specified by mItemTextLength
16108 // UINT8 mItemText[1];
16109 };
16110
16111 // This array must be the size specified by mItemsLength
16112 // sItem mItems[1];
16113 };
16114
16115 // Structure to describe indication TLV 0x29 for CAT2 EventReport
16116 struct sCAT2EventReportIndication_DefaultItem
16117 {
16118 UINT8 mDefaultItem;
16119 };
16120
16121 // Structure to describe indication TLV 0x2A for CAT2 EventReport
16122 struct sCAT2EventReportIndication_NextActionIdentifier
16123 {
16124 UINT8 mActionsLength;
16125
16126 // This array must be the size specified by mActionsLength
16127 // eQMICATNextAction mNextAction[1];
16128 };
16129
16130 // Structure to describe indication TLV 0x2B for CAT2 EventReport
16131 struct sCAT2EventReportIndication_IconIDList
16132 {
16133 eQMICATDisplayIconOnly mDisplayIconOnly;
16134 UINT8 mItemsLength;
16135
16136 struct sItem
16137 {
16138 eQMICATIconQualifier mIconQualifier;
16139 UINT8 mHeight;
16140 UINT8 mWidth;
16141 eQMICATImageCodingScheme mImageCodingScheme;
16142 UINT8 mRecordNumber;
16143 UINT16 mIconDataLength;
16144
16145 // This array must be the size specified by mIconDataLength
16146 // UINT8 mIconData[1];
16147 };
16148
16149 // This array must be the size specified by mItemsLength
16150 // sItem mItems[1];
16151 };
16152
16153 // Structure to describe indication TLV 0x2C for CAT2 EventReport
16154 struct sCAT2EventReportIndication_Presentation
16155 {
16156 eQMICATPresentation mPresentation;
16157 };
16158
16159 // Structure to describe indication TLV 0x2D for CAT2 EventReport
16160 struct sCAT2EventReportIndication_PackingRequired
16161 {
16162 eQMICATPackingRequired mPackingRequired;
16163 };
16164
16165 // Structure to describe indication TLV 0x2E for CAT2 EventReport
16166 struct sCAT2EventReportIndication_SMSTPDU
16167 {
16168 UINT8 mSMSTPDUDataLength;
16169
16170 // This array must be the size specified by mSMSTPDUDataLength
16171 // UINT8 mSMSTPDUData[1];
16172 };
16173
16174 // Structure to describe indication TLV 0x2F for CAT2 EventReport
16175 struct sCAT2EventReportIndication_IsCDMASMS
16176 {
16177 eQMICATIsCDMASMS mIsCDMASMS;
16178 };
16179
16180 // Structure to describe indication TLV 0x30 for CAT2 EventReport
16181 struct sCAT2EventReportIndication_Address
16182 {
16183 eQMICATAddressTON mAddressTON;
16184 eQMICATAddressNPI mAddressNPI;
16185 UINT8 mAddressDataLength;
16186
16187 // This array must be the size specified by mAddressDataLength
16188 // char mAddressData[1];
16189 };
16190
16191 // Structure to describe indication TLV 0x31 for CAT2 EventReport
16192 struct sCAT2EventReportIndication_CallSetupRequirement
16193 {
16194 eQMICATCallSetupRequirement mCallSetupRequirement;
16195 };
16196
16197 // Structure to describe indication TLV 0x32 for CAT2 EventReport
16198 struct sCAT2EventReportIndication_Redial
16199 {
16200 eQMICATRedialNecessary mRedialNecessary;
16201 eQMICATTimeUnits mUnits;
16202 UINT8 mInterval;
16203 };
16204
16205 // Structure to describe indication TLV 0x33 for CAT2 EventReport
16206 struct sCAT2EventReportIndication_Subaddress
16207 {
16208 UINT8 mSubaddressDataLength;
16209
16210 struct sSubaddressData
16211 {
16212 UINT8 mSubaddressData1:4;
16213 UINT8 mSubaddressData2:4;
16214 };
16215
16216 // This array must be the size specified by mSubaddressDataLength
16217 // sSubaddressData mSubaddressDatas[1];
16218 };
16219
16220 // Structure to describe indication TLV 0x34 for CAT2 EventReport
16221 struct sCAT2EventReportIndication_CapabilitiesConfiguration
16222 {
16223 UINT8 mCapabilitesConfigurationLength;
16224
16225 // This array must be the size specified by mCapabilitesConfigurationLength
16226 // UINT8 mCapabilitiesConfiguration[1];
16227 };
16228
16229 // Structure to describe indication TLV 0x35 for CAT2 EventReport
16230 struct sCAT2EventReportIndication_DTMF
16231 {
16232 UINT8 mDTMFDataLength;
16233
16234 struct sDTMFData
16235 {
16236 UINT8 mDTMFData1:4;
16237 UINT8 mDTMFData2:4;
16238 };
16239
16240 // This array must be the size specified by mDTMFDataLength
16241 // sDTMFData mDTMFDatas[1];
16242 };
16243
16244 // Structure to describe indication TLV 0x36 for CAT2 EventReport
16245 struct sCAT2EventReportIndication_SpecificLanguageNotification
16246 {
16247 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
16248 };
16249
16250 // Structure to describe indication TLV 0x37 for CAT2 EventReport
16251 struct sCAT2EventReportIndication_Language
16252 {
16253 char mLanguage[2];
16254 };
16255
16256 // Structure to describe indication TLV 0x38 for CAT2 EventReport
16257 struct sCAT2EventReportIndication_LaunchMode
16258 {
16259 eQMICATLaunchMode mLaunchMode;
16260 };
16261
16262 // Structure to describe indication TLV 0x39 for CAT2 EventReport
16263 struct sCAT2EventReportIndication_URL
16264 {
16265 UINT8 mURLDataLength;
16266
16267 // This array must be the size specified by mURLDataLength
16268 // char mURLData[1];
16269 };
16270
16271 // Structure to describe indication TLV 0x3A for CAT2 EventReport
16272 struct sCAT2EventReportIndication_BrowserID
16273 {
16274 UINT8 mBrowserID;
16275 };
16276
16277 // Structure to describe indication TLV 0x3B for CAT2 EventReport
16278 struct sCAT2EventReportIndication_BearerList
16279 {
16280 UINT8 mBearerListLength;
16281
16282 // This array must be the size specified by mBearerListLength
16283 // eQMICATBearer mBearerList[1];
16284 };
16285
16286 // Structure to describe indication TLV 0x3C for CAT2 EventReport
16287 struct sCAT2EventReportIndication_ProvisioningFile
16288 {
16289 UINT32 mNumberOfProvisioningFiles;
16290
16291 struct sFile
16292 {
16293 UINT8 mPathLength;
16294
16295 // This array must be the size specified by mPathLength
16296 // char mPath[1];
16297 };
16298
16299 // This array must be the size specified by mNumberOfProvisioningFiles
16300 // sFile mFiles[1];
16301 };
16302
16303 // Structure to describe indication TLV 0x3D for CAT2 EventReport
16304 struct sCAT2EventReportIndication_USSDString
16305 {
16306 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
16307 eQMICATUSSDDataCodingScheme mDataCodingScheme;
16308 UINT8 mUSSDTextLength;
16309
16310 // This array must be the size specified by mUSSDTextLength
16311 // UINT8 mUSSDText[1];
16312 };
16313
16314 // Structure to describe indication TLV 0x3E for CAT2 EventReport
16315 struct sCAT2EventReportIndication_DefaultText
16316 {
16317 eQMICATDataCodingScheme mDataCodingScheme;
16318 UINT8 mTextDataLength;
16319
16320 // This array must be the size specified by mTextDataLength
16321 // UINT8 mTextData[1];
16322 };
16323
16324 // Structure to describe indication TLV 0x3F for CAT2 EventReport
16325 struct sCAT2EventReportIndication_ImmediateResponseRequired
16326 {
16327 eQMICATImmediateResponse mImmediateResponse;
16328 };
16329
16330 // Structure to describe indication TLV 0x40 for CAT2 EventReport
16331 struct sCAT2EventReportIndication_UserConfirmationAlpha
16332 {
16333 eQMICATDataCodingScheme mDataCodingScheme;
16334 UINT8 mTextDataLength;
16335
16336 // This array must be the size specified by mTextDataLength
16337 // UINT8 mTextData[1];
16338 };
16339
16340 // Structure to describe indication TLV 0x41 for CAT2 EventReport
16341 struct sCAT2EventReportIndication_SetupCallDisplayAlpha
16342 {
16343 eQMICATDataCodingScheme mDataCodingScheme;
16344 UINT8 mTextDataLength;
16345
16346 // This array must be the size specified by mTextDataLength
16347 // UINT8 mTextData[1];
16348 };
16349
16350 // Structure to describe indication TLV 0x42 for CAT2 EventReport
16351 struct sCAT2EventReportIndication_UserConfirmationIcon
16352 {
16353 eQMICATIconQualifier mIconQualifier;
16354 UINT8 mHeight;
16355 UINT8 mWidth;
16356 eQMICATImageCodingScheme mImageCodingScheme;
16357 UINT8 mRecordNumber;
16358 UINT16 mIconDataLength;
16359
16360 // This array must be the size specified by mIconDataLength
16361 // UINT8 mIconData[1];
16362 };
16363
16364 // Structure to describe indication TLV 0x43 for CAT2 EventReport
16365 struct sCAT2EventReportIndication_SetupCallDisplayIcon
16366 {
16367 eQMICATIconQualifier mIconQualifier;
16368 UINT8 mHeight;
16369 UINT8 mWidth;
16370 eQMICATImageCodingScheme mImageCodingScheme;
16371 UINT8 mRecordNumber;
16372 UINT16 mIconDataLength;
16373
16374 // This array must be the size specified by mIconDataLength
16375 // UINT8 mIconData[1];
16376 };
16377
16378 // Structure to describe indication TLV 0x44 for CAT2 EventReport
16379 struct sCAT2EventReportIndication_GatewayProxy
16380 {
16381 eQMICATDataCodingScheme mDataCodingScheme;
16382 UINT8 mTextDataLength;
16383
16384 // This array must be the size specified by mTextDataLength
16385 // UINT8 mTextData[1];
16386 };
16387
16388 // Structure to describe indication TLV 0x45 for CAT2 EventReport
16389 struct sCAT2EventReportIndication_Alpha
16390 {
16391 eQMICATDataCodingScheme mDataCodingScheme;
16392 UINT8 mTextDataLength;
16393
16394 // This array must be the size specified by mTextDataLength
16395 // UINT8 mTextData[1];
16396 };
16397
16398 // Structure to describe indication TLV 0x46 for CAT2 EventReport
16399 struct sCAT2EventReportIndication_NotificationRequired
16400 {
16401 eQMICATNotificationRequired mNotificationRequired;
16402 };
16403
16404 // Structure to describe indication TLV 0x47 for CAT2 EventReport
16405 struct sCAT2EventReportIndication_PlayToneEvent
16406 {
16407 UINT32 mReferenceID;
16408 UINT16 mCommandLength;
16409
16410 // This array must be the size specified by mCommandLength
16411 // UINT8 mPlayToneCommand[1];
16412 };
16413
16414 // Structure to describe indication TLV 0x48 for CAT2 EventReport
16415 struct sCAT2EventReportIndication_SetupCallEvent
16416 {
16417 UINT32 mReferenceID;
16418 UINT16 mCommandLength;
16419
16420 // This array must be the size specified by mCommandLength
16421 // UINT8 mSetupCallCommand[1];
16422 };
16423
16424 // Structure to describe indication TLV 0x49 for CAT2 EventReport
16425 struct sCAT2EventReportIndication_SendDTMFEvent
16426 {
16427 UINT32 mReferenceID;
16428 UINT16 mCommandLength;
16429
16430 // This array must be the size specified by mCommandLength
16431 // UINT8 mSendDTMFCommand[1];
16432 };
16433
16434 // Structure to describe indication TLV 0x4A for CAT2 EventReport
16435 struct sCAT2EventReportIndication_LaunchBrowserEvent
16436 {
16437 UINT32 mReferenceID;
16438 UINT16 mCommandLength;
16439
16440 // This array must be the size specified by mCommandLength
16441 // UINT8 mLaunchBrowserCommand[1];
16442 };
16443
16444 // Structure to describe indication TLV 0x4B for CAT2 EventReport
16445 struct sCAT2EventReportIndication_SendSMSEvent
16446 {
16447 UINT32 mReferenceID;
16448 UINT16 mCommandLength;
16449
16450 // This array must be the size specified by mCommandLength
16451 // UINT8 mSendSMSCommand[1];
16452 };
16453
16454 // Structure to describe indication TLV 0x4C for CAT2 EventReport
16455 struct sCAT2EventReportIndication_SendSSEvent
16456 {
16457 UINT32 mReferenceID;
16458 UINT16 mCommandLength;
16459
16460 // This array must be the size specified by mCommandLength
16461 // UINT8 mSendSSCommand[1];
16462 };
16463
16464 // Structure to describe indication TLV 0x4D for CAT2 EventReport
16465 struct sCAT2EventReportIndication_SendUSSDEvent
16466 {
16467 UINT32 mReferenceID;
16468 UINT16 mCommandLength;
16469
16470 // This array must be the size specified by mCommandLength
16471 // UINT8 mSendUSSDCommand[1];
16472 };
16473
16474 // Structure to describe indication TLV 0x4E for CAT2 EventReport
16475 struct sCAT2EventReportIndication_ProvideLocalInformationEvent
16476 {
16477 UINT32 mReferenceID;
16478 UINT16 mCommandLength;
16479
16480 // This array must be the size specified by mCommandLength
16481 // UINT8 mProvideLocalInformationCommand[1];
16482 };
16483
16484 // Structure to describe indication TLV 0x4F for CAT2 EventReport
16485 struct sCAT2EventReportIndication_SetupRawEventList
16486 {
16487 UINT32 mReferenceID;
16488 UINT16 mCommandLength;
16489
16490 // This array must be the size specified by mCommandLength
16491 // UINT8 mSetupEventListCommand[1];
16492 };
16493
16494 // Structure to describe indication TLV 0x50 for CAT2 EventReport
16495 struct sCAT2EventReportIndication_Slot
16496 {
16497 eQMICATSlot mSlot;
16498 };
16499
16500 // Structure to describe indication TLV 0x51 for CAT2 EventReport
16501 struct sCAT2EventReportIndication_OpenChannelEvent
16502 {
16503 UINT32 mReferenceID;
16504 UINT16 mCommandLength;
16505
16506 // This array must be the size specified by mCommandLength
16507 // UINT8 mOpenChannelCommand[1];
16508 };
16509
16510 // Structure to describe indication TLV 0x52 for CAT2 EventReport
16511 struct sCAT2EventReportIndication_CloseChannelEvent
16512 {
16513 UINT32 mReferenceID;
16514 UINT16 mCommandLength;
16515
16516 // This array must be the size specified by mCommandLength
16517 // UINT8 mCloseChannelCommand[1];
16518 };
16519
16520 // Structure to describe indication TLV 0x53 for CAT2 EventReport
16521 struct sCAT2EventReportIndication_SendDataEvent
16522 {
16523 UINT32 mReferenceID;
16524 UINT16 mCommandLength;
16525
16526 // This array must be the size specified by mCommandLength
16527 // UINT8 mSendDataCommand[1];
16528 };
16529
16530 // Structure to describe indication TLV 0x54 for CAT2 EventReport
16531 struct sCAT2EventReportIndication_ReceiveDataEvent
16532 {
16533 UINT32 mReferenceID;
16534 UINT16 mCommandLength;
16535
16536 // This array must be the size specified by mCommandLength
16537 // UINT8 mReceiveDataCommand[1];
16538 };
16539
16540 // Structure to describe indication TLV 0x55 for CAT2 EventReport
16541 struct sCAT2EventReportIndication_OnDemmandLinkEstablish
16542 {
16543 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
16544 };
16545
16546 // Structure to describe indication TLV 0x56 for CAT2 EventReport
16547 struct sCAT2EventReportIndication_CSDBearerDescription
16548 {
16549 UINT8 mSpeed;
16550 eQMICATCSDBearerName mCSDBearerName;
16551 eQMICATConnectionElement mConnectionElement;
16552 };
16553
16554 // Structure to describe indication TLV 0x57 for CAT2 EventReport
16555 struct sCAT2EventReportIndication_GPRSBearerDescription
16556 {
16557 UINT8 mPrecedenceClass;
16558 UINT8 mDelayClass;
16559 UINT8 mReliabilityClass;
16560 UINT8 mPeakThroughput;
16561 UINT8 mMeanThroughput;
16562 eQMICATPacketDataProtocol mPacketDataProtocol;
16563 };
16564
16565 // Structure to describe indication TLV 0x58 for CAT2 EventReport
16566 struct sCAT2EventReportIndication_EUTRANExternalParameterBearerDescription
16567 {
16568 eQMICATTrafficClass mTrafficClass;
16569 UINT16 mMaxUploadBitrate;
16570 UINT16 mMaxDownloadBitrate;
16571 UINT16 mGuaranteedUploadBitrate;
16572 UINT16 mGuaranteedDownloadBitrate;
16573 eQMICATDeliveryOrder mDeliveryOrder;
16574 UINT8 mMaxSDUSize;
16575 UINT8 mMaxSDUErrorRatio;
16576 UINT8 mResidualBitErrorRatio;
16577 eQMICATDeliverErrorSDU mDeliverErrorSDU;
16578 UINT8 mTransferDelay;
16579 UINT8 mTrafficHandlingPRI;
16580 eQMICATPDPType mPDPType;
16581 };
16582
16583 // Structure to describe indication TLV 0x59 for CAT2 EventReport
16584 struct sCAT2EventReportIndication_EUTRANExternalMappedUTRANBearerDescription
16585 {
16586 UINT8 mQCI;
16587 UINT8 mMaxUploadBitrate;
16588 UINT8 mMaxDownloadBitrate;
16589 UINT8 mGuaranteedUploadBitrate;
16590 UINT8 mGuaranteedDownloadBitrate;
16591 UINT8 mMaximumUploadBitrateExt;
16592 UINT8 mMaximumDownloadBitrateExt;
16593 UINT8 mGuaranteedUploadBitrateExt;
16594 UINT8 mGuaranteedDownloadBitrateExt;
16595 eQMICATPDPType mPDPType;
16596 };
16597
16598 // Structure to describe indication TLV 0x5A for CAT2 EventReport
16599 struct sCAT2EventReportIndication_BufferSize
16600 {
16601 UINT16 mBufferSize;
16602 };
16603
16604 // Structure to describe indication TLV 0x5B for CAT2 EventReport
16605 struct sCAT2EventReportIndication_NetworkAccessName
16606 {
16607 UINT8 mNetworkAccessNameLength;
16608
16609 // This array must be the size specified by mNetworkAccessNameLength
16610 // UINT8 mNetworkAccessName[1];
16611 };
16612
16613 // Structure to describe indication TLV 0x5C for CAT2 EventReport
16614 struct sCAT2EventReportIndication_OtherAddress
16615 {
16616 eQMICATAddressType mAddressType;
16617 UINT8 mAddressDataLength;
16618
16619 // This array must be the size specified by mAddressDataLength
16620 // char mAddressData[1];
16621 };
16622
16623 // Structure to describe indication TLV 0x5D for CAT2 EventReport
16624 struct sCAT2EventReportIndication_UserLogin
16625 {
16626 eQMICATDataCodingScheme mDataCodingScheme;
16627 UINT8 mTextDataLength;
16628
16629 // This array must be the size specified by mTextDataLength
16630 // UINT8 mTextData[1];
16631 };
16632
16633 // Structure to describe indication TLV 0x5E for CAT2 EventReport
16634 struct sCAT2EventReportIndication_UserPassword
16635 {
16636 eQMICATDataCodingScheme mDataCodingScheme;
16637 UINT8 mTextDataLength;
16638
16639 // This array must be the size specified by mTextDataLength
16640 // UINT8 mTextData[1];
16641 };
16642
16643 // Structure to describe indication TLV 0x5F for CAT2 EventReport
16644 struct sCAT2EventReportIndication_TransportLevel
16645 {
16646 eQMICATTransportProtocol mTransportProtocol;
16647 UINT16 mPortNumber;
16648 };
16649
16650 // Structure to describe indication TLV 0x60 for CAT2 EventReport
16651 struct sCAT2EventReportIndication_DataDestinationAddress
16652 {
16653 eQMICATAddressType mAddressType;
16654 UINT8 mAddressDataLength;
16655
16656 // This array must be the size specified by mAddressDataLength
16657 // char mAddressData[1];
16658 };
16659
16660 // Structure to describe indication TLV 0x61 for CAT2 EventReport
16661 struct sCAT2EventReportIndication_ChannelDataLength
16662 {
16663 UINT8 mChannelDataLength;
16664 };
16665
16666 // Structure to describe indication TLV 0x62 for CAT2 EventReport
16667 struct sCAT2EventReportIndication_SendDataImmediately
16668 {
16669 eQMICATSendDataImmediately mSendDataImmediately;
16670 };
16671
16672 // Structure to describe indication TLV 0x63 for CAT2 EventReport
16673 struct sCAT2EventReportIndication_ChannelData
16674 {
16675 UINT16 mChannelDataLength;
16676
16677 // This array must be the size specified by mChannelDataLength
16678 // UINT8 mChannelData[1];
16679 };
16680
16681 // Structure to describe indication TLV 0x64 for CAT2 EventReport
16682 struct sCAT2EventReportIndication_ChannelID
16683 {
16684 UINT8 mChannelID;
16685 };
16686
16687 // Structure to describe indication TLV 0x65 for CAT2 EventReport
16688 struct sCAT2EventReportIndication_ItemsWithDCS
16689 {
16690 UINT8 mItemsLength;
16691
16692 struct sItem
16693 {
16694 UINT8 mItemID;
16695 eQMICATDataCodingScheme mDataCodingScheme;
16696 UINT8 mItemTextLength;
16697
16698 // This array must be the size specified by mItemTextLength
16699 // UINT8 mItemText[1];
16700 };
16701
16702 // This array must be the size specified by mItemsLength
16703 // sItem mItems[1];
16704 };
16705
16706 // Structure to describe indication TLV 0x66 for CAT2 EventReport
16707 struct sCAT2EventReportIndication_Activate
16708 {
16709 UINT32 mReferenceID;
16710 UINT16 mActivateLength;
16711
16712 // This array must be the size specified by mActivateLength
16713 // UINT8 mActivate[1];
16714 };
16715
16716 // Structure to describe indication TLV 0x67 for CAT2 EventReport
16717 struct sCAT2EventReportIndication_ActivateTarget
16718 {
16719 eQMICATActivateTargets mActivateTarget;
16720 };
16721
16722 // Structure to describe response TLV 0x01 for CAT2GetServiceState()
16723 struct sCAT2GetServiceStateResponse_CATServiceState
16724 {
16725 bool mCommonDisplayText:1;
16726 bool mCommonGetInkey:1;
16727 bool mCommonGetInput:1;
16728 bool mCommonSetupMenu:1;
16729 bool mCommonSelectItem:1;
16730 bool mCommonSendSMSAlphaIdentifier:1;
16731 bool mCommonSetupEventUserActivity:1;
16732 bool mCommonSetupEventIdleScreenNotify:1;
16733 bool mCommonSetupEventLanguageSelNotify:1;
16734 bool mCommonSetupIdleModeText:1;
16735 bool mCommonLanguageNotification:1;
16736 bool mCommonRefresh:1;
16737 bool mCommonEndProactiveSession:1;
16738 bool mCommonPlayTone:1;
16739 bool mCommonSetupCall:1;
16740 bool mCommonSendDTMF:1;
16741 bool mCommonLaunchBrowser:1;
16742 bool mCommonSendSS:1;
16743 bool mCommonSendUSSD:1;
16744 bool mCommonProvideLocalInformationLanguage:1;
16745 bool mCommonBearerIndependentProtocol:1;
16746 bool mCommonSetupEventBrowserTermination:1;
16747 bool mCommonProvideLocalInformationTime:1;
16748 bool mCommonActivate:1;
16749
16750 // Padding out 1 bits
16751 UINT8 mReserved1:1;
16752
16753 bool mCommonSetupEventHCIConnectivity:1;
16754
16755 // Padding out 6 bits
16756 UINT8 mReserved2:6;
16757
16758 bool mControlDisplayText:1;
16759 bool mControlGetInkey:1;
16760 bool mControlGetInput:1;
16761 bool mControlSetupMenu:1;
16762 bool mControlSelectItem:1;
16763 bool mControlSendSMSAlphaIdentifier:1;
16764 bool mControlSetupEventUserActivity:1;
16765 bool mControlSetupEventIdleScreenNotify:1;
16766 bool mControlSetupEventLanguageSelNotify:1;
16767 bool mControlSetupIdleModeText:1;
16768 bool mControlLanguageNotification:1;
16769 bool mControlRefresh:1;
16770 bool mControlEndProactiveSession:1;
16771 bool mControlPlayTone:1;
16772 bool mControlSetupCall:1;
16773 bool mControlSendDTMF:1;
16774 bool mControlLaunchBrowser:1;
16775 bool mControlSendSS:1;
16776 bool mControlSendUSSD:1;
16777 bool mControlProvideLocalInformationLanguage:1;
16778 bool mControlBearerIndependentProtocol:1;
16779 bool mControlSetupEventBrowserTermination:1;
16780 bool mControlProvideLocalInformationTime:1;
16781 bool mControlActivate:1;
16782
16783 // Padding out 1 bits
16784 UINT8 mReserved3:1;
16785
16786 bool mControlSetupEventHCIConnectivity:1;
16787
16788 // Padding out 6 bits
16789 UINT8 mReserved4:6;
16790 };
16791
16792 // Structure to describe response TLV 0x10 for CAT2GetServiceState()
16793 struct sCAT2GetServiceStateResponse_DecodedCATServiceState
16794 {
16795 bool mCommonDisplayText:1;
16796 bool mCommonGetInkey:1;
16797 bool mCommonGetInput:1;
16798 bool mCommonSetupMenu:1;
16799 bool mCommonSelectItem:1;
16800 bool mCommonSendSMSAlphaIdentifier:1;
16801 bool mCommonSetupEventUserActivity:1;
16802 bool mCommonSetupEventIdleScreenNotify:1;
16803 bool mCommonSetupEventLanguageSelNotify:1;
16804 bool mCommonSetupIdleModeText:1;
16805 bool mCommonLanguageNotification:1;
16806
16807 // Padding out 1 bits
16808 UINT8 mReserved1:1;
16809
16810 bool mCommonEndProactiveSession:1;
16811 bool mCommonPlayTone:1;
16812 bool mCommonSetupCall:1;
16813 bool mCommonSendDTMF:1;
16814 bool mCommonLaunchBrowser:1;
16815 bool mCommonSendSS:1;
16816 bool mCommonSendUSSD:1;
16817 bool mCommonProvideLocalInformationLanguage:1;
16818 bool mCommonBearerIndependentProtocol:1;
16819
16820 // Padding out 2 bits
16821 UINT8 mReserved2:2;
16822
16823 bool mCommonSCWSEvent:1;
16824 bool mCommonActivate:1;
16825 bool mCommonSetupEventHCIConnectivity:1;
16826
16827 // Padding out 6 bits
16828 UINT8 mReserved3:6;
16829
16830 bool mControlDisplayText:1;
16831 bool mControlGetInkey:1;
16832 bool mControlGetInput:1;
16833 bool mControlSetupMenu:1;
16834 bool mControlSelectItem:1;
16835 bool mControlSendSMSAlphaIdentifier:1;
16836 bool mControlSetupEventUserActivity:1;
16837 bool mControlSetupEventIdleScreenNotify:1;
16838 bool mControlSetupEventLanguageSelNotify:1;
16839 bool mControlSetupIdleModeText:1;
16840 bool mControlLanguageNotification:1;
16841
16842 // Padding out 1 bits
16843 UINT8 mReserved4:1;
16844
16845 bool mControlEndProactiveSession:1;
16846 bool mControlPlayTone:1;
16847 bool mControlSetupCall:1;
16848 bool mControlSendDTMF:1;
16849 bool mControlLaunchBrowser:1;
16850 bool mControlSendSS:1;
16851 bool mControlSendUSSD:1;
16852 bool mControlProvideLocalInformationLanguage:1;
16853 bool mControlBearerIndependentProtocol:1;
16854
16855 // Padding out 2 bits
16856 UINT8 mReserved5:2;
16857
16858 bool mControlSCWSEvent:1;
16859 bool mControlActivate:1;
16860 bool mControlSetupEventHCIConnectivity:1;
16861
16862 // Padding out 6 bits
16863 UINT8 mReserved6:6;
16864 };
16865
16866 // Structure to describe request TLV 0x01 for CAT2SendTerminalResponse()
16867 struct sCAT2SendTerminalResponseRequest_TerminalResponseType
16868 {
16869 UINT32 mReferenceID;
16870 UINT16 mTerminalResponseLength;
16871
16872 // This array must be the size specified by mTerminalResponseLength
16873 // UINT8 mTerminalResponse[1];
16874 };
16875
16876 // Structure to describe request TLV 0x10 for CAT2SendTerminalResponse()
16877 struct sCAT2SendTerminalResponseRequest_Slot
16878 {
16879 eQMICATSlot mSlot;
16880 };
16881
16882 // Structure to describe response TLV 0x10 for CAT2SendTerminal()
16883 struct sCAT2SendTerminalResponseResponse_TRResponse
16884 {
16885 UINT8 mSW1;
16886 UINT8 mSW2;
16887 UINT8 mTerminalResponseLength;
16888
16889 // This array must be the size specified by mTerminalResponseLength
16890 // UINT8 mTerminalResponseData[1];
16891 };
16892
16893 // Structure to describe request TLV 0x01 for CAT2EnvelopeCommand()
16894 struct sCAT2EnvelopeCommandRequest_EnvelopeCommand
16895 {
16896 eQMICATEnvelopeCommandType mEnvelopeCommandType;
16897 UINT16 mEnvelopeLength;
16898
16899 // This array must be the size specified by mEnvelopeLength
16900 // UINT8 mEnvelopeData[1];
16901 };
16902
16903 // Structure to describe request TLV 0x10 for CAT2EnvelopeCommand()
16904 struct sCAT2EnvelopeCommandRequest_Slot
16905 {
16906 eQMICATSlot mSlot;
16907 };
16908
16909 // Structure to describe response TLV 0x10 for CAT2EnvelopeCommand()
16910 struct sCAT2EnvelopeCommandResponse_RawResponse
16911 {
16912 UINT8 mSW1;
16913 UINT8 mSW2;
16914 UINT8 mEnvelopeResponseLength;
16915
16916 // This array must be the size specified by mEnvelopeResponseLength
16917 // UINT8 mEnvelopeResponseData[1];
16918 };
16919
16920 // Structure to describe request TLV 0x01 for CAT2GetEventReport()
16921 struct sCAT2GetEventReportRequest_CommandInput
16922 {
16923 UINT32 mCommandID;
16924 eQMICATCommandFormat mCommandFormat;
16925 };
16926
16927 // Structure to describe response TLV 0x10 for CAT2GetEventReport()
16928 struct sCAT2GetEventReportResponse_DisplayTextEvent
16929 {
16930 UINT32 mReferenceID;
16931 UINT16 mCommandLength;
16932
16933 // This array must be the size specified by mCommandLength
16934 // UINT8 mDisplayTextCommand[1];
16935 };
16936
16937 // Structure to describe response TLV 0x11 for CAT2GetEventReport()
16938 struct sCAT2GetEventReportResponse_GetInkeyEvent
16939 {
16940 UINT32 mReferenceID;
16941 UINT16 mCommandLength;
16942
16943 // This array must be the size specified by mCommandLength
16944 // UINT8 mGetInkeyCommand[1];
16945 };
16946
16947 // Structure to describe response TLV 0x12 for CAT2GetEventReport()
16948 struct sCAT2GetEventReportResponse_GetInputEvent
16949 {
16950 UINT32 mReferenceID;
16951 UINT16 mCommandLength;
16952
16953 // This array must be the size specified by mCommandLength
16954 // UINT8 mGetInputCommand[1];
16955 };
16956
16957 // Structure to describe response TLV 0x13 for CAT2GetEventReport()
16958 struct sCAT2GetEventReportResponse_SetupMenuEvent
16959 {
16960 UINT32 mReferenceID;
16961 UINT16 mCommandLength;
16962
16963 // This array must be the size specified by mCommandLength
16964 // UINT8 mSetupMenuCommand[1];
16965 };
16966
16967 // Structure to describe response TLV 0x14 for CAT2GetEventReport()
16968 struct sCAT2GetEventReportResponse_SelectItemEvent
16969 {
16970 UINT32 mReferenceID;
16971 UINT16 mCommandLength;
16972
16973 // This array must be the size specified by mCommandLength
16974 // UINT8 mSelectItemCommand[1];
16975 };
16976
16977 // Structure to describe response TLV 0x15 for CAT2GetEventReport()
16978 struct sCAT2GetEventReportResponse_AlphaIDAvailable
16979 {
16980 eQMICATAlphaIDCommandType mAlphaIDCommandType;
16981 UINT16 mAlphaIDLength;
16982
16983 // This array must be the size specified by mAlphaIDLength
16984 // UINT8 mAlphaID[1];
16985 };
16986
16987 // Structure to describe response TLV 0x16 for CAT2GetEventReport()
16988 struct sCAT2GetEventReportResponse_SetupEventList
16989 {
16990 bool mUserActivityNotify:1;
16991 bool mIdleScreenAvailable:1;
16992 bool mLanguageSelectionNotify:1;
16993
16994 // Padding out 29 bits
16995 UINT8 mReserved1:5;
16996 UINT8 mReserved2[3];
16997 };
16998
16999 // Structure to describe response TLV 0x17 for CAT2GetEventReport()
17000 struct sCAT2GetEventReportResponse_SetupIdleModeTextEvent
17001 {
17002 UINT32 mReferenceID;
17003 UINT16 mCommandLength;
17004
17005 // This array must be the size specified by mCommandLength
17006 // UINT8 mSetupIdleModeTextCommand[1];
17007 };
17008
17009 // Structure to describe response TLV 0x18 for CAT2GetEventReport()
17010 struct sCAT2GetEventReportResponse_LanguageNotificationEvent
17011 {
17012 UINT32 mReferenceID;
17013 UINT16 mCommandLength;
17014
17015 // This array must be the size specified by mCommandLength
17016 // UINT8 mLanguageNotificationCommand[1];
17017 };
17018
17019 // Structure to describe response TLV 0x19 for CAT2GetEventReport()
17020 struct sCAT2GetEventReportResponse_RefreshEvent
17021 {
17022 UINT16 mRefreshMode;
17023 eQMICATRefreshStage mRefreshStage;
17024 };
17025
17026 // Structure to describe response TLV 0x1A for CAT2GetEventReport()
17027 struct sCAT2GetEventReportResponse_EndProactiveSession
17028 {
17029 eQMICATProactiveSessionEndType mProactiveSessionEndType;
17030 };
17031
17032 // Structure to describe response TLV 0x1B for CAT2GetEventReport()
17033 struct sCAT2GetEventReportResponse_DecodedHeaderID
17034 {
17035 eQMICATCommandID mCommandID;
17036 UINT32 mReferenceID;
17037 UINT8 mCommandNumber;
17038 };
17039
17040 // Structure to describe response TLV 0x1C for CAT2GetEventReport()
17041 struct sCAT2GetEventReportResponse_TextString
17042 {
17043 eQMICATDataCodingScheme mDataCodingScheme;
17044 UINT8 mTextDataLength;
17045
17046 // This array must be the size specified by mTextDataLength
17047 // UINT8 mTextData[1];
17048 };
17049
17050 // Structure to describe response TLV 0x1D for CAT2GetEventReport()
17051 struct sCAT2GetEventReportResponse_HighPriority
17052 {
17053 eQMICATHighPriority mHighPriority;
17054 };
17055
17056 // Structure to describe response TLV 0x1E for CAT2GetEventReport()
17057 struct sCAT2GetEventReportResponse_UserControl
17058 {
17059 eQMICATUserControl mUserControl;
17060 };
17061
17062 // Structure to describe response TLV 0x1F for CAT2GetEventReport()
17063 struct sCAT2GetEventReportResponse_Icon
17064 {
17065 eQMICATIconQualifier mIconQualifier;
17066 UINT8 mHeight;
17067 UINT8 mWidth;
17068 eQMICATImageCodingScheme mImageCodingScheme;
17069 UINT8 mRecordNumber;
17070 UINT16 mIconDataLength;
17071
17072 // This array must be the size specified by mIconDataLength
17073 // UINT8 mIconData[1];
17074 };
17075
17076 // Structure to describe response TLV 0x20 for CAT2GetEventReport()
17077 struct sCAT2GetEventReportResponse_Duration
17078 {
17079 eQMICATTimeUnits mUnits;
17080 UINT8 mInterval;
17081 };
17082
17083 // Structure to describe response TLV 0x21 for CAT2GetEventReport()
17084 struct sCAT2GetEventReportResponse_ResponseFormat
17085 {
17086 eQMICATResponseFormat mResponseFormat;
17087 };
17088
17089 // Structure to describe response TLV 0x22 for CAT2GetEventReport()
17090 struct sCAT2GetEventReportResponse_HelpAvailable
17091 {
17092 eQMICATHelpAvailable mHelpAvailable;
17093 };
17094
17095 // Structure to describe response TLV 0x23 for CAT2GetEventReport()
17096 struct sCAT2GetEventReportResponse_ResponsePackingFormat
17097 {
17098 eQMICATResponsePackingFormat mResponsePackingFormat;
17099 };
17100
17101 // Structure to describe response TLV 0x24 for CAT2GetEventReport()
17102 struct sCAT2GetEventReportResponse_ResponseLength
17103 {
17104 UINT8 mMaximumUserInput;
17105 UINT8 mMinimumUserInput;
17106 };
17107
17108 // Structure to describe response TLV 0x25 for CAT2GetEventReport()
17109 struct sCAT2GetEventReportResponse_ShowUserInput
17110 {
17111 eQMICATShowUserInput mShowUserInput;
17112 };
17113
17114 // Structure to describe response TLV 0x26 for CAT2GetEventReport()
17115 struct sCAT2GetEventReportResponse_Tone
17116 {
17117 eQMICATTone mTone;
17118 };
17119
17120 // Structure to describe response TLV 0x27 for CAT2GetEventReport()
17121 struct sCAT2GetEventReportResponse_SoftkeySelection
17122 {
17123 eQMICATSoftkeySelection mSoftkeySelection;
17124 };
17125
17126 // Structure to describe response TLV 0x28 for CAT2GetEventReport()
17127 struct sCAT2GetEventReportResponse_Items
17128 {
17129 UINT8 mItemsLength;
17130
17131 struct sItem
17132 {
17133 UINT8 mItemID;
17134 UINT8 mItemTextLength;
17135
17136 // This array must be the size specified by mItemTextLength
17137 // UINT8 mItemText[1];
17138 };
17139
17140 // This array must be the size specified by mItemsLength
17141 // sItem mItems[1];
17142 };
17143
17144 // Structure to describe response TLV 0x29 for CAT2GetEventReport()
17145 struct sCAT2GetEventReportResponse_DefaultItems
17146 {
17147 UINT8 mDefaultItem;
17148 };
17149
17150 // Structure to describe response TLV 0x2A for CAT2GetEventReport()
17151 struct sCAT2GetEventReportResponse_NextActionIdentifier
17152 {
17153 UINT8 mActionsLength;
17154
17155 // This array must be the size specified by mActionsLength
17156 // eQMICATNextAction mNextAction[1];
17157 };
17158
17159 // Structure to describe response TLV 0x2B for CAT2GetEventReport()
17160 struct sCAT2GetEventReportResponse_IconIDList
17161 {
17162 eQMICATDisplayIconOnly mDisplayIconOnly;
17163 UINT8 mItemsLength;
17164
17165 struct sItem
17166 {
17167 eQMICATIconQualifier mIconQualifier;
17168 UINT8 mHeight;
17169 UINT8 mWidth;
17170 eQMICATImageCodingScheme mImageCodingScheme;
17171 UINT8 mRecordNumber;
17172 UINT16 mIconDataLength;
17173
17174 // This array must be the size specified by mIconDataLength
17175 // UINT8 mIconData[1];
17176 };
17177
17178 // This array must be the size specified by mItemsLength
17179 // sItem mItems[1];
17180 };
17181
17182 // Structure to describe response TLV 0x2C for CAT2GetEventReport()
17183 struct sCAT2GetEventReportResponse_Presentation
17184 {
17185 eQMICATPresentation mPresentation;
17186 };
17187
17188 // Structure to describe response TLV 0x2D for CAT2GetEventReport()
17189 struct sCAT2GetEventReportResponse_PackingRequired
17190 {
17191 eQMICATPackingRequired mPackingRequired;
17192 };
17193
17194 // Structure to describe response TLV 0x2E for CAT2GetEventReport()
17195 struct sCAT2GetEventReportResponse_SMSTPDU
17196 {
17197 UINT8 mSMSTPDUDataLength;
17198
17199 // This array must be the size specified by mSMSTPDUDataLength
17200 // UINT8 mSMSTPDUData[1];
17201 };
17202
17203 // Structure to describe response TLV 0x2F for CAT2GetEventReport()
17204 struct sCAT2GetEventReportResponse_IsCDMASMS
17205 {
17206 eQMICATIsCDMASMS mIsCDMASMS;
17207 };
17208
17209 // Structure to describe response TLV 0x30 for CAT2GetEventReport()
17210 struct sCAT2GetEventReportResponse_Address
17211 {
17212 eQMICATAddressTON mAddressTON;
17213 eQMICATAddressNPI mAddressNPI;
17214 UINT8 mAddressDataLength;
17215
17216 // This array must be the size specified by mAddressDataLength
17217 // char mAddressData[1];
17218 };
17219
17220 // Structure to describe response TLV 0x31 for CAT2GetEventReport()
17221 struct sCAT2GetEventReportResponse_CallSetupRequirement
17222 {
17223 eQMICATCallSetupRequirement mCallSetupRequirement;
17224 };
17225
17226 // Structure to describe response TLV 0x32 for CAT2GetEventReport()
17227 struct sCAT2GetEventReportResponse_Redial
17228 {
17229 eQMICATRedialNecessary mRedialNecessary;
17230 eQMICATTimeUnits mUnits;
17231 UINT8 mInterval;
17232 };
17233
17234 // Structure to describe response TLV 0x33 for CAT2GetEventReport()
17235 struct sCAT2GetEventReportResponse_Subaddress
17236 {
17237 UINT8 mSubaddressDataLength;
17238
17239 struct sSubaddressData
17240 {
17241 UINT8 mSubaddressData1:4;
17242 UINT8 mSubaddressData2:4;
17243 };
17244
17245 // This array must be the size specified by mSubaddressDataLength
17246 // sSubaddressData mSubaddressDatas[1];
17247 };
17248
17249 // Structure to describe response TLV 0x34 for CAT2GetEventReport()
17250 struct sCAT2GetEventReportResponse_CapabilityConfiguration
17251 {
17252 UINT8 mCapabilitesConfigurationLength;
17253
17254 // This array must be the size specified by mCapabilitesConfigurationLength
17255 // UINT8 mCapabilitiesConfiguration[1];
17256 };
17257
17258 // Structure to describe response TLV 0x35 for CAT2GetEventReport()
17259 struct sCAT2GetEventReportResponse_DTMF
17260 {
17261 UINT8 mDTMFDataLength;
17262
17263 struct sDTMFData
17264 {
17265 UINT8 mDTMFData1:4;
17266 UINT8 mDTMFData2:4;
17267 };
17268
17269 // This array must be the size specified by mDTMFDataLength
17270 // sDTMFData mDTMFDatas[1];
17271 };
17272
17273 // Structure to describe response TLV 0x36 for CAT2GetEventReport()
17274 struct sCAT2GetEventReportResponse_SpecificLanguageNotification
17275 {
17276 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
17277 };
17278
17279 // Structure to describe response TLV 0x37 for CAT2GetEventReport()
17280 struct sCAT2GetEventReportResponse_Language
17281 {
17282 char mLanguage[2];
17283 };
17284
17285 // Structure to describe response TLV 0x38 for CAT2GetEventReport()
17286 struct sCAT2GetEventReportResponse_LaunchMode
17287 {
17288 eQMICATLaunchMode mLaunchMode;
17289 };
17290
17291 // Structure to describe response TLV 0x39 for CAT2GetEventReport()
17292 struct sCAT2GetEventReportResponse_URL
17293 {
17294 UINT8 mURLDataLength;
17295
17296 // This array must be the size specified by mURLDataLength
17297 // char mURLData[1];
17298 };
17299
17300 // Structure to describe response TLV 0x3A for CAT2GetEventReport()
17301 struct sCAT2GetEventReportResponse_BrowserID
17302 {
17303 UINT8 mBrowserID;
17304 };
17305
17306 // Structure to describe response TLV 0x3B for CAT2GetEventReport()
17307 struct sCAT2GetEventReportResponse_BearerList
17308 {
17309 UINT8 mBearerListLength;
17310
17311 // This array must be the size specified by mBearerListLength
17312 // eQMICATBearer mBearerList[1];
17313 };
17314
17315 // Structure to describe response TLV 0x3C for CAT2GetEventReport()
17316 struct sCAT2GetEventReportResponse_ProvisioningFiles
17317 {
17318 UINT32 mNumberOfProvisioningFiles;
17319
17320 struct sFile
17321 {
17322 UINT8 mPathLength;
17323
17324 // This array must be the size specified by mPathLength
17325 // char mPath[1];
17326 };
17327
17328 // This array must be the size specified by mNumberOfProvisioningFiles
17329 // sFile mFiles[1];
17330 };
17331
17332 // Structure to describe response TLV 0x3D for CAT2GetEventReport()
17333 struct sCAT2GetEventReportResponse_USSDString
17334 {
17335 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
17336 eQMICATUSSDDataCodingScheme mDataCodingScheme;
17337 UINT8 mUSSDTextLength;
17338
17339 // This array must be the size specified by mUSSDTextLength
17340 // UINT8 mUSSDText[1];
17341 };
17342
17343 // Structure to describe response TLV 0x3E for CAT2GetEventReport()
17344 struct sCAT2GetEventReportResponse_DefaultText
17345 {
17346 eQMICATDataCodingScheme mDataCodingScheme;
17347 UINT8 mTextDataLength;
17348
17349 // This array must be the size specified by mTextDataLength
17350 // UINT8 mTextData[1];
17351 };
17352
17353 // Structure to describe response TLV 0x3F for CAT2GetEventReport()
17354 struct sCAT2GetEventReportResponse_ImmediateResponseRequest
17355 {
17356 eQMICATImmediateResponse mImmediateResponse;
17357 };
17358
17359 // Structure to describe response TLV 0x40 for CAT2GetEventReport()
17360 struct sCAT2GetEventReportResponse_UserConfirmationAlpha
17361 {
17362 eQMICATDataCodingScheme mDataCodingScheme;
17363 UINT8 mTextDataLength;
17364
17365 // This array must be the size specified by mTextDataLength
17366 // UINT8 mTextData[1];
17367 };
17368
17369 // Structure to describe response TLV 0x41 for CAT2GetEventReport()
17370 struct sCAT2GetEventReportResponse_SetupCallDisplayAlpha
17371 {
17372 eQMICATDataCodingScheme mDataCodingScheme;
17373 UINT8 mTextDataLength;
17374
17375 // This array must be the size specified by mTextDataLength
17376 // UINT8 mTextData[1];
17377 };
17378
17379 // Structure to describe response TLV 0x42 for CAT2GetEventReport()
17380 struct sCAT2GetEventReportResponse_UserConfirmationIcon
17381 {
17382 eQMICATIconQualifier mIconQualifier;
17383 UINT8 mHeight;
17384 UINT8 mWidth;
17385 eQMICATImageCodingScheme mImageCodingScheme;
17386 UINT8 mRecordNumber;
17387 UINT16 mIconDataLength;
17388
17389 // This array must be the size specified by mIconDataLength
17390 // UINT8 mIconData[1];
17391 };
17392
17393 // Structure to describe response TLV 0x43 for CAT2GetEventReport()
17394 struct sCAT2GetEventReportResponse_SetupCallDisplayIcon
17395 {
17396 eQMICATIconQualifier mIconQualifier;
17397 UINT8 mHeight;
17398 UINT8 mWidth;
17399 eQMICATImageCodingScheme mImageCodingScheme;
17400 UINT8 mRecordNumber;
17401 UINT16 mIconDataLength;
17402
17403 // This array must be the size specified by mIconDataLength
17404 // UINT8 mIconData[1];
17405 };
17406
17407 // Structure to describe response TLV 0x44 for CAT2GetEventReport()
17408 struct sCAT2GetEventReportResponse_GatewayProxy
17409 {
17410 eQMICATDataCodingScheme mDataCodingScheme;
17411 UINT8 mTextDataLength;
17412
17413 // This array must be the size specified by mTextDataLength
17414 // UINT8 mTextData[1];
17415 };
17416
17417 // Structure to describe response TLV 0x45 for CAT2GetEventReport()
17418 struct sCAT2GetEventReportResponse_Alpha
17419 {
17420 eQMICATDataCodingScheme mDataCodingScheme;
17421 UINT8 mTextDataLength;
17422
17423 // This array must be the size specified by mTextDataLength
17424 // UINT8 mTextData[1];
17425 };
17426
17427 // Structure to describe response TLV 0x46 for CAT2GetEventReport()
17428 struct sCAT2GetEventReportResponse_NotificationRequired
17429 {
17430 eQMICATNotificationRequired mNotificationRequired;
17431 };
17432
17433 // Structure to describe response TLV 0x47 for CAT2GetEventReport()
17434 struct sCAT2GetEventReportResponse_PlayToneEvent
17435 {
17436 UINT32 mReferenceID;
17437 UINT16 mCommandLength;
17438
17439 // This array must be the size specified by mCommandLength
17440 // UINT8 mPlayToneCommand[1];
17441 };
17442
17443 // Structure to describe response TLV 0x48 for CAT2GetEventReport()
17444 struct sCAT2GetEventReportResponse_SetupCallEvent
17445 {
17446 UINT32 mReferenceID;
17447 UINT16 mCommandLength;
17448
17449 // This array must be the size specified by mCommandLength
17450 // UINT8 mSetupCallCommand[1];
17451 };
17452
17453 // Structure to describe response TLV 0x49 for CAT2GetEventReport()
17454 struct sCAT2GetEventReportResponse_SendDTMFEvent
17455 {
17456 UINT32 mReferenceID;
17457 UINT16 mCommandLength;
17458
17459 // This array must be the size specified by mCommandLength
17460 // UINT8 mSendDTMFCommand[1];
17461 };
17462
17463 // Structure to describe response TLV 0x4A for CAT2GetEventReport()
17464 struct sCAT2GetEventReportResponse_LaunchBrowserEvent
17465 {
17466 UINT32 mReferenceID;
17467 UINT16 mCommandLength;
17468
17469 // This array must be the size specified by mCommandLength
17470 // UINT8 mLaunchBrowserCommand[1];
17471 };
17472
17473 // Structure to describe response TLV 0x4B for CAT2GetEventReport()
17474 struct sCAT2GetEventReportResponse_SendSMSEvent
17475 {
17476 UINT32 mReferenceID;
17477 UINT16 mCommandLength;
17478
17479 // This array must be the size specified by mCommandLength
17480 // UINT8 mSendSMSCommand[1];
17481 };
17482
17483 // Structure to describe response TLV 0x4C for CAT2GetEventReport()
17484 struct sCAT2GetEventReportResponse_SendSSEvent
17485 {
17486 UINT32 mReferenceID;
17487 UINT16 mCommandLength;
17488
17489 // This array must be the size specified by mCommandLength
17490 // UINT8 mSendSSCommand[1];
17491 };
17492
17493 // Structure to describe response TLV 0x4D for CAT2GetEventReport()
17494 struct sCAT2GetEventReportResponse_SendUSSDEvent
17495 {
17496 UINT32 mReferenceID;
17497 UINT16 mCommandLength;
17498
17499 // This array must be the size specified by mCommandLength
17500 // UINT8 mSendUSSDCommand[1];
17501 };
17502
17503 // Structure to describe response TLV 0x4E for CAT2GetEventReport()
17504 struct sCAT2GetEventReportResponse_ProvideLocalInformationEvent
17505 {
17506 UINT32 mReferenceID;
17507 UINT16 mCommandLength;
17508
17509 // This array must be the size specified by mCommandLength
17510 // UINT8 mProvideLocalInformationCommand[1];
17511 };
17512
17513 // Structure to describe response TLV 0x4F for CAT2GetEventReport()
17514 struct sCAT2GetEventReportResponse_SetupEventListRawEvent
17515 {
17516 UINT32 mReferenceID;
17517 UINT16 mCommandLength;
17518
17519 // This array must be the size specified by mCommandLength
17520 // UINT8 mSetupEventListCommand[1];
17521 };
17522
17523 // Structure to describe response TLV 0x50 for CAT2GetEventReport()
17524 struct sCAT2GetEventReportResponse_Slot
17525 {
17526 eQMICATSlot mSlot;
17527 };
17528
17529 // Structure to describe response TLV 0x51 for CAT2GetEventReport()
17530 struct sCAT2GetEventReportResponse_OpenChannelEvent
17531 {
17532 UINT32 mReferenceID;
17533 UINT16 mCommandLength;
17534
17535 // This array must be the size specified by mCommandLength
17536 // UINT8 mOpenChannelCommand[1];
17537 };
17538
17539 // Structure to describe response TLV 0x52 for CAT2GetEventReport()
17540 struct sCAT2GetEventReportResponse_CloseChannelEvent
17541 {
17542 UINT32 mReferenceID;
17543 UINT16 mCommandLength;
17544
17545 // This array must be the size specified by mCommandLength
17546 // UINT8 mCloseChannelCommand[1];
17547 };
17548
17549 // Structure to describe response TLV 0x53 for CAT2GetEventReport()
17550 struct sCAT2GetEventReportResponse_SendDataEvent
17551 {
17552 UINT32 mReferenceID;
17553 UINT16 mCommandLength;
17554
17555 // This array must be the size specified by mCommandLength
17556 // UINT8 mSendDataCommand[1];
17557 };
17558
17559 // Structure to describe response TLV 0x54 for CAT2GetEventReport()
17560 struct sCAT2GetEventReportResponse_ReceiveDataEvent
17561 {
17562 UINT32 mReferenceID;
17563 UINT16 mCommandLength;
17564
17565 // This array must be the size specified by mCommandLength
17566 // UINT8 mReceiveDataCommand[1];
17567 };
17568
17569 // Structure to describe response TLV 0x55 for CAT2GetEventReport()
17570 struct sCAT2GetEventReportResponse_OnDemandLinkEstablish
17571 {
17572 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
17573 };
17574
17575 // Structure to describe response TLV 0x56 for CAT2GetEventReport()
17576 struct sCAT2GetEventReportResponse_CSDBearerDescription
17577 {
17578 UINT8 mSpeed;
17579 eQMICATCSDBearerName mCSDBearerName;
17580 eQMICATConnectionElement mConnectionElement;
17581 };
17582
17583 // Structure to describe response TLV 0x57 for CAT2GetEventReport()
17584 struct sCAT2GetEventReportResponse_GPRSBearerDescription
17585 {
17586 UINT8 mPrecedenceClass;
17587 UINT8 mDelayClass;
17588 UINT8 mReliabilityClass;
17589 UINT8 mPeakThroughput;
17590 UINT8 mMeanThroughput;
17591 eQMICATPacketDataProtocol mPacketDataProtocol;
17592 };
17593
17594 // Structure to describe response TLV 0x58 for CAT2GetEventReport()
17595 struct sCAT2GetEventReportResponse_EUTRANExternalParameterBearerDescription
17596 {
17597 eQMICATTrafficClass mTrafficClass;
17598 UINT16 mMaxUploadBitrate;
17599 UINT16 mMaxDownloadBitrate;
17600 UINT16 mGuaranteedUploadBitrate;
17601 UINT16 mGuaranteedDownloadBitrate;
17602 eQMICATDeliveryOrder mDeliveryOrder;
17603 UINT8 mMaxSDUSize;
17604 UINT8 mMaxSDUErrorRatio;
17605 UINT8 mResidualBitErrorRatio;
17606 eQMICATDeliverErrorSDU mDeliverErrorSDU;
17607 UINT8 mTransferDelay;
17608 UINT8 mTrafficHandlingPRI;
17609 eQMICATPDPType mPDPType;
17610 };
17611
17612 // Structure to describe response TLV 0x59 for CAT2GetEventReport()
17613 struct sCAT2GetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
17614 {
17615 UINT8 mQCI;
17616 UINT8 mMaxUploadBitrate;
17617 UINT8 mMaxDownloadBitrate;
17618 UINT8 mGuaranteedUploadBitrate;
17619 UINT8 mGuaranteedDownloadBitrate;
17620 UINT8 mMaximumUploadBitrateExt;
17621 UINT8 mMaximumDownloadBitrateExt;
17622 UINT8 mGuaranteedUploadBitrateExt;
17623 UINT8 mGuaranteedDownloadBitrateExt;
17624 eQMICATPDPType mPDPType;
17625 };
17626
17627 // Structure to describe response TLV 0x5A for CAT2GetEventReport()
17628 struct sCAT2GetEventReportResponse_BufferSize
17629 {
17630 UINT16 mBufferSize;
17631 };
17632
17633 // Structure to describe response TLV 0x5B for CAT2GetEventReport()
17634 struct sCAT2GetEventReportResponse_NetworkAccessName
17635 {
17636 UINT8 mNetworkAccessNameLength;
17637
17638 // This array must be the size specified by mNetworkAccessNameLength
17639 // UINT8 mNetworkAccessName[1];
17640 };
17641
17642 // Structure to describe response TLV 0x5C for CAT2GetEventReport()
17643 struct sCAT2GetEventReportResponse_OtherAddress
17644 {
17645 eQMICATAddressType mAddressType;
17646 UINT8 mAddressDataLength;
17647
17648 // This array must be the size specified by mAddressDataLength
17649 // char mAddressData[1];
17650 };
17651
17652 // Structure to describe response TLV 0x5D for CAT2GetEventReport()
17653 struct sCAT2GetEventReportResponse_UserLogin
17654 {
17655 eQMICATDataCodingScheme mDataCodingScheme;
17656 UINT8 mTextDataLength;
17657
17658 // This array must be the size specified by mTextDataLength
17659 // UINT8 mTextData[1];
17660 };
17661
17662 // Structure to describe response TLV 0x5E for CAT2GetEventReport()
17663 struct sCAT2GetEventReportResponse_UserPassword
17664 {
17665 eQMICATDataCodingScheme mDataCodingScheme;
17666 UINT8 mTextDataLength;
17667
17668 // This array must be the size specified by mTextDataLength
17669 // UINT8 mTextData[1];
17670 };
17671
17672 // Structure to describe response TLV 0x5F for CAT2GetEventReport()
17673 struct sCAT2GetEventReportResponse_TransportLevel
17674 {
17675 eQMICATTransportProtocol mTransportProtocol;
17676 UINT16 mPortNumber;
17677 };
17678
17679 // Structure to describe response TLV 0x60 for CAT2GetEventReport()
17680 struct sCAT2GetEventReportResponse_DataDestinationAddress
17681 {
17682 eQMICATAddressType mAddressType;
17683 UINT8 mAddressDataLength;
17684
17685 // This array must be the size specified by mAddressDataLength
17686 // char mAddressData[1];
17687 };
17688
17689 // Structure to describe response TLV 0x61 for CAT2GetEventReport()
17690 struct sCAT2GetEventReportResponse_ChannelDataLength
17691 {
17692 UINT8 mChannelDataLength;
17693 };
17694
17695 // Structure to describe response TLV 0x62 for CAT2GetEventReport()
17696 struct sCAT2GetEventReportResponse_SendDataImmediately
17697 {
17698 eQMICATSendDataImmediately mSendDataImmediately;
17699 };
17700
17701 // Structure to describe response TLV 0x63 for CAT2GetEventReport()
17702 struct sCAT2GetEventReportResponse_ChannelData
17703 {
17704 UINT16 mChannelDataLength;
17705
17706 // This array must be the size specified by mChannelDataLength
17707 // UINT8 mChannelData[1];
17708 };
17709
17710 // Structure to describe response TLV 0x64 for CAT2GetEventReport()
17711 struct sCAT2GetEventReportResponse_ChannelID
17712 {
17713 UINT8 mChannelID;
17714 };
17715
17716 // Structure to describe response TLV 0x65 for CAT2GetEventReport()
17717 struct sCAT2GetEventReportResponse_ItemsWithDCS
17718 {
17719 UINT8 mItemsLength;
17720
17721 struct sItem
17722 {
17723 UINT8 mItemID;
17724 eQMICATDataCodingScheme mDataCodingScheme;
17725 UINT8 mItemTextLength;
17726
17727 // This array must be the size specified by mItemTextLength
17728 // UINT8 mItemText[1];
17729 };
17730
17731 // This array must be the size specified by mItemsLength
17732 // sItem mItems[1];
17733 };
17734
17735 // Structure to describe response TLV 0x66 for CAT2GetEventReport()
17736 struct sCAT2GetEventReportResponse_Activate
17737 {
17738 UINT32 mReferenceID;
17739 UINT16 mActivateLength;
17740
17741 // This array must be the size specified by mActivateLength
17742 // UINT8 mActivate[1];
17743 };
17744
17745 // Structure to describe response TLV 0x67 for CAT2GetEventReport()
17746 struct sCAT2GetEventReportResponse_ActivateTarget
17747 {
17748 eQMICATActivateTargets mActivateTarget;
17749 };
17750
17751 // Structure to describe request TLV 0x01 for CAT2SendDecodedTerminalResponse()
17752 struct sCAT2SendDecodedTerminalResponseRequest_TerminalResponse
17753 {
17754 UINT32 mReferenceID;
17755 UINT8 mCommandNumber;
17756 eQMICATResponseCommand mResponseCommand;
17757 UINT8 mGeneralResult;
17758 UINT8 mAdditionalInformationLength;
17759
17760 // This array must be the size specified by mAdditionalInformationLength
17761 // UINT8 mTerminalResponseAdditionalInformation[1];
17762 };
17763
17764 // Structure to describe request TLV 0x10 for CAT2SendDecodedTerminalResponse()
17765 struct sCAT2SendDecodedTerminalResponseRequest_TextString
17766 {
17767 eQMICATDataCodingScheme mDataCodingScheme;
17768 UINT8 mTextDataLength;
17769
17770 // This array must be the size specified by mTextDataLength
17771 // UINT8 mTextData[1];
17772 };
17773
17774 // Structure to describe request TLV 0x11 for CAT2SendDecodedTerminalResponse()
17775 struct sCAT2SendDecodedTerminalResponseRequest_ItemIdentifier
17776 {
17777 UINT8 mItemIdentifier;
17778 };
17779
17780 // Structure to describe request TLV 0x12 for CAT2SendDecodedTerminalResponse()
17781 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyExtraInfo
17782 {
17783 eQMICATTimeUnits mUnits;
17784 UINT8 mInterval;
17785 eQMICATDataCodingScheme mDataCodingScheme;
17786 UINT8 mTextDataLength;
17787
17788 // This array must be the size specified by mTextDataLength
17789 // UINT8 mTextData[1];
17790 };
17791
17792 // Structure to describe request TLV 0x13 for CAT2SendDecodedTerminalResponse()
17793 struct sCAT2SendDecodedTerminalResponseRequest_LanguageInfo
17794 {
17795 char mLanguage[2];
17796 };
17797
17798 // Structure to describe request TLV 0x14 for CAT2SendDecodedTerminalResponse()
17799 struct sCAT2SendDecodedTerminalResponseRequest_Slot
17800 {
17801 eQMICATSlot mSlot;
17802 };
17803
17804 // Structure to describe request TLV 0x15 for CAT2SendDecodedTerminalResponse()
17805 struct sCAT2SendDecodedTerminalResponseRequest_GetInkeyYesInput
17806 {
17807 eQMICATTimeUnits mUnits;
17808 UINT8 mInterval;
17809 INT8 mGetInkeyYesInput;
17810 };
17811
17812 // Structure to describe response TLV 0x10 for CAT2SendDecodedTerminal()
17813 struct sCAT2SendDecodedTerminalResponseResponse_TRResponse
17814 {
17815 UINT8 mSW1;
17816 UINT8 mSW2;
17817 UINT8 mTerminalResponseLength;
17818
17819 // This array must be the size specified by mTerminalResponseLength
17820 // UINT8 mTerminalResponseData[1];
17821 };
17822
17823 // Structure to describe request TLV 0x01 for CAT2SendDecodedEnvelopeCommand()
17824 struct sCAT2SendDecodedEnvelopeCommandRequest_EnvelopeCommand
17825 {
17826 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
17827 };
17828
17829 // Structure to describe request TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
17830 struct sCAT2SendDecodedEnvelopeCommandRequest_ItemIdentifier
17831 {
17832 UINT8 mItemIdentifier;
17833 };
17834
17835 // Structure to describe request TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
17836 struct sCAT2SendDecodedEnvelopeCommandRequest_HelpRequest
17837 {
17838 eQMICATHelpRequest mHelpRequest;
17839 };
17840
17841 // Structure to describe request TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
17842 struct sCAT2SendDecodedEnvelopeCommandRequest_Language
17843 {
17844 char mLanguage[2];
17845 };
17846
17847 // Structure to describe request TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
17848 struct sCAT2SendDecodedEnvelopeCommandRequest_Slot
17849 {
17850 eQMICATSlot mSlot;
17851 };
17852
17853 // Structure to describe request TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
17854 struct sCAT2SendDecodedEnvelopeCommandRequest_Address
17855 {
17856 eQMICATAddressTON mAddressTON;
17857 eQMICATAddressNPI mAddressNPI;
17858 UINT8 mAddressDataLength;
17859
17860 // This array must be the size specified by mAddressDataLength
17861 // char mAddressData[1];
17862 };
17863
17864 // Structure to describe request TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
17865 struct sCAT2SendDecodedEnvelopeCommandRequest_Subaddress
17866 {
17867 UINT8 mSubaddressDataLength;
17868
17869 struct sSubaddressData
17870 {
17871 UINT8 mSubaddressData1:4;
17872 UINT8 mSubaddressData2:4;
17873 };
17874
17875 // This array must be the size specified by mSubaddressDataLength
17876 // sSubaddressData mSubaddressDatas[1];
17877 };
17878
17879 // Structure to describe request TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
17880 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
17881 {
17882 UINT8 mCapabilitesConfigurationLength;
17883
17884 // This array must be the size specified by mCapabilitesConfigurationLength
17885 // UINT8 mCapabilitiesConfiguration[1];
17886 };
17887
17888 // Structure to describe request TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
17889 struct sCAT2SendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
17890 {
17891 UINT8 mCapabilitesConfigurationLength;
17892
17893 // This array must be the size specified by mCapabilitesConfigurationLength
17894 // UINT8 mCapabilitiesConfiguration[1];
17895 };
17896
17897 // Structure to describe request TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
17898 struct sCAT2SendDecodedEnvelopeCommandRequest_USSDString
17899 {
17900 eQMICATDataCodingScheme mDataCodingScheme;
17901 UINT8 mTextDataLength;
17902
17903 // This array must be the size specified by mTextDataLength
17904 // UINT8 mTextData[1];
17905 };
17906
17907 // Structure to describe request TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
17908 struct sCAT2SendDecodedEnvelopeCommandRequest_PDPContextActivation
17909 {
17910 UINT8 mPDPContextActivationDataLength;
17911
17912 // This array must be the size specified by mPDPContextActivationDataLength
17913 // UINT8 mPDPContextActivationData[1];
17914 };
17915
17916 // Structure to describe request TLV 0x1A for CAT2SendDecodedEnvelopeCommand()
17917 struct sCAT2SendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
17918 {
17919 UINT8 mEPSPDNConnectActivationDataLength;
17920
17921 // This array must be the size specified by mEPSPDNConnectActivationDataLength
17922 // UINT8 mEPSPDNConnectActivationData[1];
17923 };
17924
17925 // Structure to describe request TLV 0x1B for CAT2SendDecodedEnvelopeCommand()
17926 struct sCAT2SendDecodedEnvelopeCommandRequest_BrowserTerminationCause
17927 {
17928 eQMICATBrowserTerminationCauses mBrowserTerminationCause;
17929 };
17930
17931 // Structure to describe response TLV 0x10 for CAT2SendDecodedEnvelopeCommand()
17932 struct sCAT2SendDecodedEnvelopeCommandResponse_CallControlResult
17933 {
17934 eQMICATCallControlResult mCallControlResult;
17935 };
17936
17937 // Structure to describe response TLV 0x11 for CAT2SendDecodedEnvelopeCommand()
17938 struct sCAT2SendDecodedEnvelopeCommandResponse_Address
17939 {
17940 eQMICATAddressTON mAddressTON;
17941 eQMICATAddressNPI mAddressNPI;
17942 UINT8 mAddressDataLength;
17943
17944 // This array must be the size specified by mAddressDataLength
17945 // char mAddressData[1];
17946 };
17947
17948 // Structure to describe response TLV 0x12 for CAT2SendDecodedEnvelopeCommand()
17949 struct sCAT2SendDecodedEnvelopeCommandResponse_Subaddress
17950 {
17951 UINT8 mSubaddressDataLength;
17952
17953 struct sSubaddressData
17954 {
17955 UINT8 mSubaddressData1:4;
17956 UINT8 mSubaddressData2:4;
17957 };
17958
17959 // This array must be the size specified by mSubaddressDataLength
17960 // sSubaddressData mSubaddressDatas[1];
17961 };
17962
17963 // Structure to describe response TLV 0x13 for CAT2SendDecodedEnvelopeCommand()
17964 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
17965 {
17966 UINT8 mCapabilitesConfigurationLength;
17967
17968 // This array must be the size specified by mCapabilitesConfigurationLength
17969 // UINT8 mCapabilitiesConfiguration[1];
17970 };
17971
17972 // Structure to describe response TLV 0x14 for CAT2SendDecodedEnvelopeCommand()
17973 struct sCAT2SendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
17974 {
17975 UINT8 mCapabilitesConfigurationLength;
17976
17977 // This array must be the size specified by mCapabilitesConfigurationLength
17978 // UINT8 mCapabilitiesConfiguration[1];
17979 };
17980
17981 // Structure to describe response TLV 0x15 for CAT2SendDecodedEnvelopeCommand()
17982 struct sCAT2SendDecodedEnvelopeCommandResponse_USSDString
17983 {
17984 eQMICATDataCodingScheme mDataCodingScheme;
17985 UINT8 mTextDataLength;
17986
17987 // This array must be the size specified by mTextDataLength
17988 // UINT8 mTextData[1];
17989 };
17990
17991 // Structure to describe response TLV 0x16 for CAT2SendDecodedEnvelopeCommand()
17992 struct sCAT2SendDecodedEnvelopeCommandResponse_PDPContextActivation
17993 {
17994 UINT8 mPDPContextActivationDataLength;
17995
17996 // This array must be the size specified by mPDPContextActivationDataLength
17997 // UINT8 mPDPContextActivationData[1];
17998 };
17999
18000 // Structure to describe response TLV 0x17 for CAT2SendDecodedEnvelopeCommand()
18001 struct sCAT2SendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
18002 {
18003 UINT8 mEPSPDNConnectActivationDataLength;
18004
18005 // This array must be the size specified by mEPSPDNConnectActivationDataLength
18006 // UINT8 mEPSPDNConnectActivationData[1];
18007 };
18008
18009 // Structure to describe response TLV 0x18 for CAT2SendDecodedEnvelopeCommand()
18010 struct sCAT2SendDecodedEnvelopeCommandResponse_Alpha
18011 {
18012 eQMICATDataCodingScheme mDataCodingScheme;
18013 UINT8 mTextDataLength;
18014
18015 // This array must be the size specified by mTextDataLength
18016 // UINT8 mTextData[1];
18017 };
18018
18019 // Structure to describe response TLV 0x19 for CAT2SendDecodedEnvelopeCommand()
18020 struct sCAT2SendDecodedEnvelopeCommandResponse_BCRepeatIndicator
18021 {
18022 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
18023 };
18024
18025 // Structure to describe request TLV 0x10 for CAT2EventConfirmation()
18026 struct sCAT2EventConfirmationRequest_UserConfirmed
18027 {
18028 eQMICATUserConfirmed mUserConfirmed;
18029 };
18030
18031 // Structure to describe request TLV 0x11 for CAT2EventConfirmation()
18032 struct sCAT2EventConfirmationRequest_IconIsDisplayed
18033 {
18034 eQMICATIconIsDisplayed mIconIsDisplayed;
18035 };
18036
18037 // Structure to describe request TLV 0x12 for CAT2EventConfirmation()
18038 struct sCAT2EventConfirmationRequest_Slot
18039 {
18040 eQMICATSlot mSlot;
18041 };
18042
18043 // Structure to describe request TLV 0x01 for CAT2SCWSOpenChannel()
18044 struct sCAT2SCWSOpenChannelRequest_ChannelStatus
18045 {
18046 UINT32 mChannelID;
18047 eQMICATChannelState mChannelState;
18048 };
18049
18050 // Structure to describe request TLV 0x10 for CAT2SCWSOpenChannel()
18051 struct sCAT2SCWSOpenChannelRequest_Slot
18052 {
18053 eQMICATSlot mSlot;
18054 };
18055
18056 // Structure to describe indication TLV 0x10 for CAT2 SCWSOpenChannelIndication
18057 struct sCAT2SCWSOpenChannelIndication_OpenChannelInformation
18058 {
18059 UINT32 mChannelID;
18060 UINT16 mPortNumber;
18061 UINT16 mBufferSize;
18062 };
18063
18064 // Structure to describe indication TLV 0x11 for CAT2 SCWSOpenChannelIndication
18065 struct sCAT2SCWSOpenChannelIndication_Slot
18066 {
18067 eQMICATSlot mSlot;
18068 };
18069
18070 // Structure to describe request TLV 0x01 for CAT2SCWSCloseChannel()
18071 struct sCAT2SCWSCloseChannelRequest_ChannelStatus
18072 {
18073 UINT32 mChannelID;
18074 eQMICATChannelState mChannelState;
18075 };
18076
18077 // Structure to describe request TLV 0x10 for CAT2SCWSCloseChannel()
18078 struct sCAT2SCWSCloseChannelRequest_Slot
18079 {
18080 eQMICATSlot mSlot;
18081 };
18082
18083 // Structure to describe indication TLV 0x10 for CAT2 SCWSCloseChannelIndication
18084 struct sCAT2SCWSCloseChannelIndication_CloseChannelInfo
18085 {
18086 UINT32 mChannelID;
18087 eQMICATChannelState mChannelState;
18088 };
18089
18090 // Structure to describe response TLV 0x11 for CAT2SCWSCloseChannel()
18091 struct sCAT2SCWSCloseChannelResponse_Slot
18092 {
18093 eQMICATSlot mSlot;
18094 };
18095
18096 // Structure to describe request TLV 0x01 for CAT2SCWSSendData()
18097 struct sCAT2SCWSSendDataRequest_ChannelStatus
18098 {
18099 UINT32 mChannelID;
18100 eQMICATSendDataResult mDataSendResult;
18101 };
18102
18103 // Structure to describe request TLV 0x10 for CAT2SCWSSendData()
18104 struct sCAT2SCWSSendDataRequest_Slot
18105 {
18106 eQMICATSlot mSlot;
18107 };
18108
18109 // Structure to describe indication TLV 0x10 for CAT2 SCWSSendDataIndication
18110 struct sCAT2SCWSSendDataIndication_SendDataInfo
18111 {
18112 UINT32 mChannelID;
18113 UINT8 mTotalPackets;
18114 UINT8 mCurrentPacket;
18115 UINT16 mDataLength;
18116
18117 // This array must be the size specified by mDataLength
18118 // UINT8 mData[1];
18119 };
18120
18121 // Structure to describe indication TLV 0x11 for CAT2 SCWSSendDataIndication
18122 struct sCAT2SCWSSendDataIndication_Slot
18123 {
18124 eQMICATSlot mSlot;
18125 };
18126
18127 // Structure to describe request TLV 0x01 for CAT2SCWSDataAvailable()
18128 struct sCAT2SCWSDataAvailableRequest_RemainingData
18129 {
18130 UINT32 mChannelID;
18131 UINT16 mDataLength;
18132
18133 // This array must be the size specified by mDataLength
18134 // UINT8 mData[1];
18135 };
18136
18137 // Structure to describe request TLV 0x10 for CAT2SCWSDataAvailable()
18138 struct sCAT2SCWSDataAvailableRequest_Slot
18139 {
18140 eQMICATSlot mSlot;
18141 };
18142
18143 // Structure to describe request TLV 0x01 for CAT2SCWSChannelStatus()
18144 struct sCAT2SCWSChannelStatusRequest_ChannelStatus
18145 {
18146 UINT32 mChannelID;
18147 eQMICATChannelState mChannelState;
18148 };
18149
18150 // Structure to describe request TLV 0x10 for CAT2SCWSChannelStatus()
18151 struct sCAT2SCWSChannelStatusRequest_Slot
18152 {
18153 eQMICATSlot mSlot;
18154 };
18155
18156 // Structure to describe request TLV 0x10 for CAT2GetTerminalProfile()
18157 struct sCAT2GetTerminalProfileRequest_Slot
18158 {
18159 eQMICATSlot mSlot;
18160 };
18161
18162 // Structure to describe response TLV 0x10 for CAT2GetTerminalProfile()
18163 struct sCAT2GetTerminalProfileResponse_RawData
18164 {
18165 UINT8 mTerminalProfileLength;
18166
18167 // This array must be the size specified by mTerminalProfileLength
18168 // UINT8 mTerminalProfileData[1];
18169 };
18170
18171 // Structure to describe request TLV 0x01 for CAT2SetConfiguration()
18172 struct sCAT2SetConfigurationRequest_Mode
18173 {
18174 eQMICATConfigModes mConfigMode;
18175 };
18176
18177 // Structure to describe request TLV 0x10 for CAT2SetConfiguration()
18178 struct sCAT2SetConfigurationRequest_CustomData
18179 {
18180 UINT8 mTerminalProfileLength;
18181
18182 // This array must be the size specified by mTerminalProfileLength
18183 // UINT8 mTerminalProfileData[1];
18184 };
18185
18186 // Structure to describe response TLV 0x10 for CAT2GetConfiguration()
18187 struct sCAT2GetConfigurationResponse_Mode
18188 {
18189 eQMICATConfigModes mConfigMode;
18190 };
18191
18192 // Structure to describe response TLV 0x11 for CAT2GetConfiguration()
18193 struct sCAT2GetConfigurationResponse_CustomData
18194 {
18195 UINT8 mTerminalProfileLength;
18196
18197 // This array must be the size specified by mTerminalProfileLength
18198 // UINT8 mTerminalProfileData[1];
18199 };
18200
18201 // Structure to describe request TLV 0x01 for UIMReadTransparent()
18202 struct sUIMReadTransparentRequest_SessionInfo
18203 {
18204 eQMIUIMSessionTypes mSessionType;
18205 UINT8 mAIDLength;
18206
18207 // This array must be the size specified by mAIDLength
18208 // UINT8 mAID[1];
18209 };
18210
18211 // Structure to describe request TLV 0x03 for UIMReadTransparent()
18212 struct sUIMReadTransparentRequest_Buffer
18213 {
18214 UINT16 mOffset;
18215 UINT16 mLength;
18216 };
18217
18218 // Structure to describe request TLV 0x10 for UIMReadTransparent()
18219 struct sUIMReadTransparentRequest_ResponseInIndication
18220 {
18221 UINT32 mIndicationToken;
18222 };
18223
18224 // Structure to describe request TLV 0x11 for UIMReadTransparent()
18225 struct sUIMReadTransparentRequest_Encryption
18226 {
18227 INT8 mDataEncrypted;
18228 };
18229
18230 // Structure to describe response TLV 0x10 for UIMReadTransparent()
18231 struct sUIMReadTransparentResponse_CardResult
18232 {
18233 UINT8 mSW1;
18234 UINT8 mSW2;
18235 };
18236
18237 // Structure to describe response TLV 0x11 for UIMReadTransparent()
18238 struct sUIMReadTransparentResponse_ReadResult
18239 {
18240 UINT16 mContentLength;
18241
18242 // This array must be the size specified by mContentLength
18243 // UINT8 mContent[1];
18244 };
18245
18246 // Structure to describe response TLV 0x12 for UIMReadTransparent()
18247 struct sUIMReadTransparentResponse_ResponseInIndication
18248 {
18249 UINT32 mIndicationToken;
18250 };
18251
18252 // Structure to describe response TLV 0x13 for UIMReadTransparent()
18253 struct sUIMReadTransparentResponse_Encryption
18254 {
18255 INT8 mDataEncrypted;
18256 };
18257
18258 // Structure to describe response TLV 0x14 for UIMReadTransparent()
18259 struct sUIMReadTransparentResponse_RequestedLength
18260 {
18261 UINT16 mFileLength;
18262 };
18263
18264 // Structure to describe indication TLV 0x01 for UIM ReadTransparentIndication
18265 struct sUIMReadTransparentIndication_OriginalToken
18266 {
18267 UINT32 mIndicationToken;
18268 };
18269
18270 // Structure to describe indication TLV 0x10 for UIM ReadTransparentIndication
18271 struct sUIMReadTransparentIndication_CardResult
18272 {
18273 UINT8 mSW1;
18274 UINT8 mSW2;
18275 };
18276
18277 // Structure to describe indication TLV 0x11 for UIM ReadTransparentIndication
18278 struct sUIMReadTransparentIndication_ReadResult
18279 {
18280 UINT16 mContentLength;
18281
18282 // This array must be the size specified by mContentLength
18283 // UINT8 mContent[1];
18284 };
18285
18286 // Structure to describe indication TLV 0x12 for UIM ReadTransparentIndication
18287 struct sUIMReadTransparentIndication_Encryption
18288 {
18289 INT8 mDataEncrypted;
18290 };
18291
18292 // Structure to describe indication TLV 0x13 for UIM ReadTransparentIndication
18293 struct sUIMReadTransparentIndication_RequestedLength
18294 {
18295 UINT16 mFileLength;
18296 };
18297
18298 // Structure to describe request TLV 0x01 for UIMReadRecord()
18299 struct sUIMReadRecordRequest_SessionInfo
18300 {
18301 eQMIUIMSessionTypes mSessionType;
18302 UINT8 mAIDLength;
18303
18304 // This array must be the size specified by mAIDLength
18305 // UINT8 mAID[1];
18306 };
18307
18308 // Structure to describe request TLV 0x03 for UIMReadRecord()
18309 struct sUIMReadRecordRequest_Record
18310 {
18311 UINT16 mRecordNumber;
18312 UINT16 mContentLength;
18313 };
18314
18315 // Structure to describe request TLV 0x10 for UIMReadRecord()
18316 struct sUIMReadRecordRequest_LastRecord
18317 {
18318 UINT16 mRecordNumber;
18319 };
18320
18321 // Structure to describe request TLV 0x11 for UIMReadRecord()
18322 struct sUIMReadRecordRequest_ResponseInIndication
18323 {
18324 UINT32 mIndicationToken;
18325 };
18326
18327 // Structure to describe response TLV 0x10 for UIMReadRecord()
18328 struct sUIMReadRecordResponse_CardResult
18329 {
18330 UINT8 mSW1;
18331 UINT8 mSW2;
18332 };
18333
18334 // Structure to describe response TLV 0x11 for UIMReadRecord()
18335 struct sUIMReadRecordResponse_ReadResult
18336 {
18337 UINT16 mContentLength;
18338
18339 // This array must be the size specified by mContentLength
18340 // UINT8 mContent[1];
18341 };
18342
18343 // Structure to describe response TLV 0x12 for UIMReadRecord()
18344 struct sUIMReadRecordResponse_AdditionalReadResult
18345 {
18346 UINT16 mContentLength;
18347
18348 struct sRecord
18349 {
18350 // This array must be the size specified by mContentLength
18351 // UINT8 mContent[1];
18352 };
18353
18354 // This array is variable length based on the size of the container
18355 // sRecord mRecords[1];
18356 };
18357
18358 // Structure to describe response TLV 0x13 for UIMReadRecord()
18359 struct sUIMReadRecordResponse_ResponseInIndication
18360 {
18361 UINT32 mIndicationToken;
18362 };
18363
18364 // Structure to describe indication TLV 0x01 for UIM ReadRecordIndication
18365 struct sUIMReadRecordIndication_OriginalToken
18366 {
18367 UINT32 mIndicationToken;
18368 };
18369
18370 // Structure to describe indication TLV 0x10 for UIM ReadRecordIndication
18371 struct sUIMReadRecordIndication_CardResult
18372 {
18373 UINT8 mSW1;
18374 UINT8 mSW2;
18375 };
18376
18377 // Structure to describe indication TLV 0x11 for UIM ReadRecordIndication
18378 struct sUIMReadRecordIndication_ReadResult
18379 {
18380 UINT16 mContentLength;
18381
18382 // This array must be the size specified by mContentLength
18383 // UINT8 mContent[1];
18384 };
18385
18386 // Structure to describe indication TLV 0x12 for UIM ReadRecordIndication
18387 struct sUIMReadRecordIndication_AdditionalReadResult
18388 {
18389 UINT16 mContentLength;
18390
18391 struct sRecord
18392 {
18393 // This array must be the size specified by mContentLength
18394 // UINT8 mContent[1];
18395 };
18396
18397 // This array is variable length based on the size of the container
18398 // sRecord mRecords[1];
18399 };
18400
18401 // Structure to describe request TLV 0x01 for UIMWriteTransparent()
18402 struct sUIMWriteTransparentRequest_SessionInfo
18403 {
18404 eQMIUIMSessionTypes mSessionType;
18405 UINT8 mAIDLength;
18406
18407 // This array must be the size specified by mAIDLength
18408 // UINT8 mAID[1];
18409 };
18410
18411 // Structure to describe request TLV 0x03 for UIMWriteTransparent()
18412 struct sUIMWriteTransparentRequest_Buffer
18413 {
18414 UINT16 mOffset;
18415 UINT16 mContentLength;
18416
18417 // This array must be the size specified by mContentLength
18418 // UINT8 mContent[1];
18419 };
18420
18421 // Structure to describe request TLV 0x10 for UIMWriteTransparent()
18422 struct sUIMWriteTransparentRequest_ResponseInIndicaiton
18423 {
18424 UINT32 mIndicationToken;
18425 };
18426
18427 // Structure to describe response TLV 0x10 for UIMWriteTransparent()
18428 struct sUIMWriteTransparentResponse_CardResult
18429 {
18430 UINT8 mSW1;
18431 UINT8 mSW2;
18432 };
18433
18434 // Structure to describe response TLV 0x11 for UIMWriteTransparent()
18435 struct sUIMWriteTransparentResponse_ResponseInIndication
18436 {
18437 UINT32 mIndicationToken;
18438 };
18439
18440 // Structure to describe indication TLV 0x01 for UIM WriteTransparentIndication
18441 struct sUIMWriteTransparentIndication_OriginalToken
18442 {
18443 UINT32 mIndicationToken;
18444 };
18445
18446 // Structure to describe indication TLV 0x10 for UIM WriteTransparentIndication
18447 struct sUIMWriteTransparentIndication_CardResult
18448 {
18449 UINT8 mSW1;
18450 UINT8 mSW2;
18451 };
18452
18453 // Structure to describe request TLV 0x01 for UIMWriteRecord()
18454 struct sUIMWriteRecordRequest_SessionInfo
18455 {
18456 eQMIUIMSessionTypes mSessionType;
18457 UINT8 mAIDLength;
18458
18459 // This array must be the size specified by mAIDLength
18460 // UINT8 mAID[1];
18461 };
18462
18463 // Structure to describe request TLV 0x03 for UIMWriteRecord()
18464 struct sUIMWriteRecordRequest_Record
18465 {
18466 UINT16 mRecordNumber;
18467 UINT16 mContentLength;
18468
18469 // This array must be the size specified by mContentLength
18470 // UINT8 mContent[1];
18471 };
18472
18473 // Structure to describe request TLV 0x10 for UIMWriteRecord()
18474 struct sUIMWriteRecordRequest_ResponseInIndication
18475 {
18476 UINT32 mIndicationToken;
18477 };
18478
18479 // Structure to describe response TLV 0x10 for UIMWriteRecord()
18480 struct sUIMWriteRecordResponse_CardResult
18481 {
18482 UINT8 mSW1;
18483 UINT8 mSW2;
18484 };
18485
18486 // Structure to describe response TLV 0x11 for UIMWriteRecord()
18487 struct sUIMWriteRecordResponse_ResponseInIndication
18488 {
18489 UINT32 mIndicationToken;
18490 };
18491
18492 // Structure to describe indication TLV 0x01 for UIM WriteRecordIndication
18493 struct sUIMWriteRecordIndication_OriginalToken
18494 {
18495 UINT32 mIndicationToken;
18496 };
18497
18498 // Structure to describe indication TLV 0x10 for UIM WriteRecordIndication
18499 struct sUIMWriteRecordIndication_CardResult
18500 {
18501 UINT8 mSW1;
18502 UINT8 mSW2;
18503 };
18504
18505 // Structure to describe request TLV 0x01 for UIMGetFileAttributes()
18506 struct sUIMGetFileAttributesRequest_SessionInfo
18507 {
18508 eQMIUIMSessionTypes mSessionType;
18509 UINT8 mAIDLength;
18510
18511 // This array must be the size specified by mAIDLength
18512 // UINT8 mAID[1];
18513 };
18514
18515 // Structure to describe request TLV 0x10 for UIMGetFileAttributes()
18516 struct sUIMGetFileAttributesRequest_ResponseInIndication
18517 {
18518 UINT32 mIndicationToken;
18519 };
18520
18521 // Structure to describe response TLV 0x10 for UIMGetFileAttributes()
18522 struct sUIMGetFileAttributesResponse_CardResult
18523 {
18524 UINT8 mSW1;
18525 UINT8 mSW2;
18526 };
18527
18528 // Structure to describe response TLV 0x11 for UIMGetFileAttributes()
18529 struct sUIMGetFileAttributesResponse_Attributes
18530 {
18531 UINT16 mFileSize;
18532 UINT16 mFileID;
18533 eQMIUIMFileTypes mFileType;
18534 UINT16 mRecordSize;
18535 UINT16 mRecordCount;
18536 eQMIUIMSecurityAttributes mReadSecurityAttributes;
18537 bool mReadPIN1:1;
18538 bool mReadPIN2:1;
18539 bool mReadUPIN:1;
18540 bool mReadADM:1;
18541
18542 // Padding out 4 bits
18543 UINT8 mReserved1:4;
18544
18545 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
18546 bool mWritePIN1:1;
18547 bool mWritePIN2:1;
18548 bool mWriteUPIN:1;
18549 bool mWriteADM:1;
18550
18551 // Padding out 4 bits
18552 UINT8 mReserved2:4;
18553
18554 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
18555 bool mIncreasePIN1:1;
18556 bool mIncreasePIN2:1;
18557 bool mIncreaseUPIN:1;
18558 bool mIncreaseADM:1;
18559
18560 // Padding out 4 bits
18561 UINT8 mReserved3:4;
18562
18563 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
18564 bool mDeactivatePIN1:1;
18565 bool mDeactivatePIN2:1;
18566 bool mDeactivateUPIN:1;
18567 bool mDeactivateADM:1;
18568
18569 // Padding out 4 bits
18570 UINT8 mReserved4:4;
18571
18572 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
18573 bool mActivatePIN1:1;
18574 bool mActivatePIN2:1;
18575 bool mActivateUPIN:1;
18576 bool mActivateADM:1;
18577
18578 // Padding out 4 bits
18579 UINT8 mReserved5:4;
18580
18581 UINT16 mValueLength;
18582
18583 // This array must be the size specified by mValueLength
18584 // UINT8 mValue[1];
18585 };
18586
18587 // Structure to describe response TLV 0x12 for UIMGetFileAttributes()
18588 struct sUIMGetFileAttributesResponse_ResponseInIndication
18589 {
18590 UINT32 mIndicationToken;
18591 };
18592
18593 // Structure to describe indication TLV 0x01 for UIM GetFileAttributesIndication
18594 struct sUIMGetFileAttributesIndication_OriginalToken
18595 {
18596 UINT32 mIndicationToken;
18597 };
18598
18599 // Structure to describe indication TLV 0x10 for UIM GetFileAttributesIndication
18600 struct sUIMGetFileAttributesIndication_CardResult
18601 {
18602 UINT8 mSW1;
18603 UINT8 mSW2;
18604 };
18605
18606 // Structure to describe indication TLV 0x11 for UIM GetFileAttributesIndication
18607 struct sUIMGetFileAttributesIndication_FileAttributes
18608 {
18609 UINT16 mFileSize;
18610 UINT16 mFileID;
18611 eQMIUIMFileTypes mFileType;
18612 UINT16 mRecordSize;
18613 UINT16 mRecordCount;
18614 eQMIUIMSecurityAttributes mReadSecurityAttributes;
18615 bool mReadPIN1:1;
18616 bool mReadPIN2:1;
18617 bool mReadUPIN:1;
18618 bool mReadADM:1;
18619
18620 // Padding out 4 bits
18621 UINT8 mReserved1:4;
18622
18623 eQMIUIMSecurityAttributes mWriteSecurityAttributes;
18624 bool mWritePIN1:1;
18625 bool mWritePIN2:1;
18626 bool mWriteUPIN:1;
18627 bool mWriteADM:1;
18628
18629 // Padding out 4 bits
18630 UINT8 mReserved2:4;
18631
18632 eQMIUIMSecurityAttributes mIncreaseSecurityAttributes;
18633 bool mIncreasePIN1:1;
18634 bool mIncreasePIN2:1;
18635 bool mIncreaseUPIN:1;
18636 bool mIncreaseADM:1;
18637
18638 // Padding out 4 bits
18639 UINT8 mReserved3:4;
18640
18641 eQMIUIMSecurityAttributes mDeactivateSecurityAttributes;
18642 bool mDeactivatePIN1:1;
18643 bool mDeactivatePIN2:1;
18644 bool mDeactivateUPIN:1;
18645 bool mDeactivateADM:1;
18646
18647 // Padding out 4 bits
18648 UINT8 mReserved4:4;
18649
18650 eQMIUIMSecurityAttributes mActivateSecurityAttributes;
18651 bool mActivatePIN1:1;
18652 bool mActivatePIN2:1;
18653 bool mActivateUPIN:1;
18654 bool mActivateADM:1;
18655
18656 // Padding out 4 bits
18657 UINT8 mReserved5:4;
18658
18659 UINT16 mValueLength;
18660
18661 // This array must be the size specified by mValueLength
18662 // UINT8 mValue[1];
18663 };
18664
18665 // Structure to describe request TLV 0x01 for UIMSetPINProtection()
18666 struct sUIMSetPINProtectionRequest_SessionInfo
18667 {
18668 eQMIUIMSessionTypes mSessionType;
18669 UINT8 mAIDLength;
18670
18671 // This array must be the size specified by mAIDLength
18672 // UINT8 mAID[1];
18673 };
18674
18675 // Structure to describe request TLV 0x10 for UIMSetPINProtection()
18676 struct sUIMSetPINProtectionRequest_KeyReferenceID
18677 {
18678 eQMIUIMKeyReferenceID mKeyReferenceID;
18679 };
18680
18681 // Structure to describe request TLV 0x11 for UIMSetPINProtection()
18682 struct sUIMSetPINProtectionRequest_ResponseInIndication
18683 {
18684 UINT32 mIndicationToken;
18685 };
18686
18687 // Structure to describe response TLV 0x10 for UIMSetPINProtection()
18688 struct sUIMSetPINProtectionResponse_Retries
18689 {
18690 UINT8 mRemainingVerifyRetries;
18691 UINT8 mRemainingUnblockRetries;
18692 };
18693
18694 // Structure to describe response TLV 0x11 for UIMSetPINProtection()
18695 struct sUIMSetPINProtectionResponse_EncryptedPIN1
18696 {
18697 UINT8 mPINLength;
18698
18699 // This array must be the size specified by mPINLength
18700 // UINT8 mValue[1];
18701 };
18702
18703 // Structure to describe response TLV 0x12 for UIMSetPINProtection()
18704 struct sUIMSetPINProtectionResponse_ResponseInIndication
18705 {
18706 UINT32 mIndicationToken;
18707 };
18708
18709 // Structure to describe indication TLV 0x01 for UIM SetPINProtectionIndication
18710 struct sUIMSetPINProtectionIndication_OriginalToken
18711 {
18712 UINT32 mIndicationToken;
18713 };
18714
18715 // Structure to describe indication TLV 0x10 for UIM SetPINProtectionIndication
18716 struct sUIMSetPINProtectionIndication_Retries
18717 {
18718 UINT8 mRemainingVerifyRetries;
18719 UINT8 mRemainingUnblockRetries;
18720 };
18721
18722 // Structure to describe indication TLV 0x11 for UIM SetPINProtectionIndication
18723 struct sUIMSetPINProtectionIndication_EncryptedPIN1
18724 {
18725 UINT8 mPINLength;
18726
18727 // This array must be the size specified by mPINLength
18728 // UINT8 mValue[1];
18729 };
18730
18731 // Structure to describe request TLV 0x01 for UIMVerifyPIN()
18732 struct sUIMVerifyPINRequest_SessionInfo
18733 {
18734 eQMIUIMSessionTypes mSessionType;
18735 UINT8 mAIDLength;
18736
18737 // This array must be the size specified by mAIDLength
18738 // UINT8 mAID[1];
18739 };
18740
18741 // Structure to describe request TLV 0x10 for UIMVerifyPIN()
18742 struct sUIMVerifyPINRequest_EncryptedPIN1
18743 {
18744 UINT8 mPINLength;
18745
18746 // This array must be the size specified by mPINLength
18747 // UINT8 mValue[1];
18748 };
18749
18750 // Structure to describe request TLV 0x11 for UIMVerifyPIN()
18751 struct sUIMVerifyPINRequest_KeyReferenceID
18752 {
18753 eQMIUIMKeyReferenceID mKeyReferenceID;
18754 };
18755
18756 // Structure to describe request TLV 0x12 for UIMVerifyPIN()
18757 struct sUIMVerifyPINRequest_ResponseInIndication
18758 {
18759 UINT32 mIndicationToken;
18760 };
18761
18762 // Structure to describe response TLV 0x10 for UIMVerifyPIN()
18763 struct sUIMVerifyPINResponse_Retries
18764 {
18765 UINT8 mRemainingVerifyRetries;
18766 UINT8 mRemainingUnblockRetries;
18767 };
18768
18769 // Structure to describe response TLV 0x11 for UIMVerifyPIN()
18770 struct sUIMVerifyPINResponse_EncryptedPIN1
18771 {
18772 UINT8 mPINLength;
18773
18774 // This array must be the size specified by mPINLength
18775 // UINT8 mValue[1];
18776 };
18777
18778 // Structure to describe response TLV 0x12 for UIMVerifyPIN()
18779 struct sUIMVerifyPINResponse_ResponseInIndication
18780 {
18781 UINT32 mIndicationToken;
18782 };
18783
18784 // Structure to describe indication TLV 0x01 for UIM VerifyPINIndication
18785 struct sUIMVerifyPINIndication_OriginalToken
18786 {
18787 UINT32 mIndicationToken;
18788 };
18789
18790 // Structure to describe indication TLV 0x10 for UIM VerifyPINIndication
18791 struct sUIMVerifyPINIndication_Retries
18792 {
18793 UINT8 mRemainingVerifyRetries;
18794 UINT8 mRemainingUnblockRetries;
18795 };
18796
18797 // Structure to describe indication TLV 0x11 for UIM VerifyPINIndication
18798 struct sUIMVerifyPINIndication_EncryptedPIN1
18799 {
18800 UINT8 mPINLength;
18801
18802 // This array must be the size specified by mPINLength
18803 // UINT8 mValue[1];
18804 };
18805
18806 // Structure to describe request TLV 0x01 for UIMUnblockPIN()
18807 struct sUIMUnblockPINRequest_SessionInfo
18808 {
18809 eQMIUIMSessionTypes mSessionType;
18810 UINT8 mAIDLength;
18811
18812 // This array must be the size specified by mAIDLength
18813 // UINT8 mAID[1];
18814 };
18815
18816 // Structure to describe request TLV 0x10 for UIMUnblockPIN()
18817 struct sUIMUnblockPINRequest_KeyReferenceID
18818 {
18819 eQMIUIMKeyReferenceID mKeyReferenceID;
18820 };
18821
18822 // Structure to describe request TLV 0x11 for UIMUnblockPIN()
18823 struct sUIMUnblockPINRequest_ResponseInIndication
18824 {
18825 UINT32 mIndicationToken;
18826 };
18827
18828 // Structure to describe response TLV 0x10 for UIMUnblockPIN()
18829 struct sUIMUnblockPINResponse_Retries
18830 {
18831 UINT8 mRemainingVerifyRetries;
18832 UINT8 mRemainingUnblockRetries;
18833 };
18834
18835 // Structure to describe response TLV 0x11 for UIMUnblockPIN()
18836 struct sUIMUnblockPINResponse_EncryptedPIN1
18837 {
18838 UINT8 mPINLength;
18839
18840 // This array must be the size specified by mPINLength
18841 // UINT8 mValue[1];
18842 };
18843
18844 // Structure to describe response TLV 0x12 for UIMUnblockPIN()
18845 struct sUIMUnblockPINResponse_ResponseInIndication
18846 {
18847 UINT32 mIndicationToken;
18848 };
18849
18850 // Structure to describe indication TLV 0x01 for UIM UnblockPINIndication
18851 struct sUIMUnblockPINIndication_OriginalToken
18852 {
18853 UINT32 mIndicationToken;
18854 };
18855
18856 // Structure to describe indication TLV 0x10 for UIM UnblockPINIndication
18857 struct sUIMUnblockPINIndication_Retries
18858 {
18859 UINT8 mRemainingVerifyRetries;
18860 UINT8 mRemainingUnblockRetries;
18861 };
18862
18863 // Structure to describe indication TLV 0x11 for UIM UnblockPINIndication
18864 struct sUIMUnblockPINIndication_EncryptedPIN1
18865 {
18866 UINT8 mPINLength;
18867
18868 // This array must be the size specified by mPINLength
18869 // UINT8 mValue[1];
18870 };
18871
18872 // Structure to describe request TLV 0x01 for UIMChangePIN()
18873 struct sUIMChangePINRequest_SessionInfo
18874 {
18875 eQMIUIMSessionTypes mSessionType;
18876 UINT8 mAIDLength;
18877
18878 // This array must be the size specified by mAIDLength
18879 // UINT8 mAID[1];
18880 };
18881
18882 // Structure to describe request TLV 0x10 for UIMChangePIN()
18883 struct sUIMChangePINRequest_KeyReferenceID
18884 {
18885 eQMIUIMKeyReferenceID mKeyReferenceID;
18886 };
18887
18888 // Structure to describe request TLV 0x11 for UIMChangePIN()
18889 struct sUIMChangePINRequest_ResponseInIndication
18890 {
18891 UINT32 mIndicationToken;
18892 };
18893
18894 // Structure to describe response TLV 0x10 for UIMChangePIN()
18895 struct sUIMChangePINResponse_Retries
18896 {
18897 UINT8 mRemainingVerifyRetries;
18898 UINT8 mRemainingUnblockRetries;
18899 };
18900
18901 // Structure to describe response TLV 0x11 for UIMChangePIN()
18902 struct sUIMChangePINResponse_EncryptedPIN1
18903 {
18904 UINT8 mPINLength;
18905
18906 // This array must be the size specified by mPINLength
18907 // UINT8 mValue[1];
18908 };
18909
18910 // Structure to describe response TLV 0x12 for UIMChangePIN()
18911 struct sUIMChangePINResponse_ResponseInIndication
18912 {
18913 UINT32 mIndicationToken;
18914 };
18915
18916 // Structure to describe indication TLV 0x01 for UIM ChangePINIndication
18917 struct sUIMChangePINIndication_OriginalToken
18918 {
18919 UINT32 mIndicationToken;
18920 };
18921
18922 // Structure to describe indication TLV 0x10 for UIM ChangePINIndication
18923 struct sUIMChangePINIndication_Retries
18924 {
18925 UINT8 mRemainingVerifyRetries;
18926 UINT8 mRemainingUnblockRetries;
18927 };
18928
18929 // Structure to describe indication TLV 0x11 for UIM ChangePINIndication
18930 struct sUIMChangePINIndication_EncryptedPIN1
18931 {
18932 UINT8 mPINLength;
18933
18934 // This array must be the size specified by mPINLength
18935 // UINT8 mValue[1];
18936 };
18937
18938 // Structure to describe request TLV 0x01 for UIMDepersonalization()
18939 struct sUIMDepersonalizationRequest_Info
18940 {
18941 eQMIUIMPersonalizationFeatures mFeature;
18942 eQMIUIMCKSessionOperations mOperation;
18943 UINT8 mCKLength;
18944
18945 // This array must be the size specified by mCKLength
18946 // char mCKValue[1];
18947 };
18948
18949 // Structure to describe response TLV 0x10 for UIMDepersonalization()
18950 struct sUIMDepersonalizationResponse_Retries
18951 {
18952 UINT8 mRemainingVerifyRetries;
18953 UINT8 mRemainingUnblockRetries;
18954 };
18955
18956 // Structure to describe request TLV 0x01 for UIMRefreshRegister()
18957 struct sUIMRefreshRegisterRequest_SessionInfo
18958 {
18959 eQMIUIMSessionTypes mSessionType;
18960 UINT8 mAIDLength;
18961
18962 // This array must be the size specified by mAIDLength
18963 // UINT8 mAID[1];
18964 };
18965
18966 // Structure to describe request TLV 0x01 for UIMRefreshOK()
18967 struct sUIMRefreshOKRequest_SessionInfo
18968 {
18969 eQMIUIMSessionTypes mSessionType;
18970 UINT8 mAIDLength;
18971
18972 // This array must be the size specified by mAIDLength
18973 // UINT8 mAID[1];
18974 };
18975
18976 // Structure to describe request TLV 0x01 for UIMRefreshComplete()
18977 struct sUIMRefreshCompleteRequest_SessionInfo
18978 {
18979 eQMIUIMSessionTypes mSessionType;
18980 UINT8 mAIDLength;
18981
18982 // This array must be the size specified by mAIDLength
18983 // UINT8 mAID[1];
18984 };
18985
18986 // Structure to describe request TLV 0x01 for UIMGetLastRefreshEvent()
18987 struct sUIMGetLastRefreshEventRequest_SessionInfo
18988 {
18989 eQMIUIMSessionTypes mSessionType;
18990 UINT8 mAIDLength;
18991
18992 // This array must be the size specified by mAIDLength
18993 // UINT8 mAID[1];
18994 };
18995
18996 // Structure to describe response TLV 0x10 for UIMGetLastRefreshEvent()
18997 struct sUIMGetLastRefreshEventResponse_RefreshEvent1
18998 {
18999 eQMIUIMRefreshStages mStage;
19000 eQMIUIMRefreshModes mMode;
19001 eQMIUIMSessionTypes mSessionType;
19002 UINT8 mAIDLength;
19003
19004 // This array must be the size specified by mAIDLength
19005 // UINT8 mAID[1];
19006 };
19007
19008 struct sUIMGetLastRefreshEventResponse_RefreshEvent2
19009 {
19010 UINT16 mFileCount;
19011
19012 struct sFile
19013 {
19014 UINT16 mFileID;
19015 UINT8 mPathLength;
19016
19017 // This array must be the size specified by mPathLength
19018 // UINT16 mPath[1];
19019 };
19020
19021 // This array must be the size specified by mFileCount
19022 // sFile mFiles[1];
19023 };
19024
19025 struct sUIMGetLastRefreshEventResponse_RefreshEvent
19026 {
19027 sUIMGetLastRefreshEventResponse_RefreshEvent1 mUIMGetLastRefreshEventResponse_RefreshEvent1;
19028 sUIMGetLastRefreshEventResponse_RefreshEvent2 mUIMGetLastRefreshEventResponse_RefreshEvent2;
19029 };
19030
19031 // Structure to describe request TLV 0x01 for UIMEventRegistration()
19032 struct sUIMEventRegistrationRequest_Mask
19033 {
19034 bool mCardStatus:1;
19035 bool mSAPConnection:1;
19036
19037 // Padding out 30 bits
19038 UINT8 mReserved1:6;
19039 UINT8 mReserved2[3];
19040 };
19041
19042 // Structure to describe response TLV 0x10 for UIMEventRegistration()
19043 struct sUIMEventRegistrationResponse_Mask
19044 {
19045 bool mCardStatus:1;
19046 bool mSAPConnection:1;
19047
19048 // Padding out 30 bits
19049 UINT8 mReserved1:6;
19050 UINT8 mReserved2[3];
19051 };
19052
19053 // Structure to describe response TLV 0x10 for UIMGetCardStatus()
19054 struct sUIMGetCardStatusResponse_Status1
19055 {
19056 UINT8 mPrimaryGWSlot;
19057 UINT8 mPrimaryGWApplication;
19058 UINT8 mPrimary1XSlot;
19059 UINT8 mPrimary1XApplication;
19060 UINT8 mSecondaryGWSlot;
19061 UINT8 mSecondaryGWApplication;
19062 UINT8 mSecondary1XSlot;
19063 UINT8 mSecondary1XApplication;
19064 UINT8 mSlotsAvailable;
19065 eQMIUIMCardStates mCardState;
19066 eQMIUIMPINStates mUPINState;
19067 UINT8 mRemainingUPINVerifyRetries;
19068 UINT8 mRemainingUPINUnblockRetries;
19069 eQMIUIMCardErrorCodes mCardErrorCode;
19070 UINT8 mApplicationsAvailable;
19071 eQMIUIMApplicationTypes mApplicationType;
19072 eQMIUIMApplicationStates mApplicationState;
19073 eQMIUIMPersonalizationStates mPersonalizationState;
19074 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
19075 UINT8 mRemainingPersonalizationVerifyRetries;
19076 UINT8 mRemainingPersonalizationUnblockRetries;
19077 UINT8 mAIDLength;
19078
19079 // This array must be the size specified by mAIDLength
19080 // UINT8 mAID[1];
19081 };
19082
19083 struct sUIMGetCardStatusResponse_Status2
19084 {
19085 INT8 mUPINReplacesPIN1;
19086 eQMIUIMPINStates mPIN1State;
19087 UINT8 mRemainingPIN1VerifyRetries;
19088 UINT8 mRemainingPIN1UnblockRetries;
19089 eQMIUIMPINStates mPIN2State;
19090 UINT8 mRemainingPIN2VerifyRetries;
19091 UINT8 mRemainingPIN2UnblockRetries;
19092 };
19093
19094 struct sUIMGetCardStatusResponse_Status
19095 {
19096 sUIMGetCardStatusResponse_Status1 mUIMGetCardStatusResponse_Status1;
19097 sUIMGetCardStatusResponse_Status2 mUIMGetCardStatusResponse_Status2;
19098 };
19099
19100 // Structure to describe response TLV 0x11 for UIMGetCardStatus()
19101 struct sUIMGetCardStatusResponse_HotSwapStatus
19102 {
19103 UINT8 mHotSwapLength;
19104
19105 // This array must be the size specified by mHotSwapLength
19106 // eQMIUIMHotSwap mHotSwap[1];
19107 };
19108
19109 // Structure to describe request TLV 0x01 for UIMPowerDown()
19110 struct sUIMPowerDownRequest_Slot
19111 {
19112 eQMIUIMSlots mSlot;
19113 };
19114
19115 // Structure to describe request TLV 0x01 for UIMPowerUp()
19116 struct sUIMPowerUpRequest_Slot
19117 {
19118 eQMIUIMSlots mSlot;
19119 };
19120
19121 // Structure to describe request TLV 0x10 for UIMPowerUp()
19122 struct sUIMPowerUpRequest_IgnoreHotSwapSwitch
19123 {
19124 INT8 mIgnoreHotSwapSwitch;
19125 };
19126
19127 // Structure to describe indication TLV 0x10 for UIM CardStatusIndication
19128 struct sUIMCardStatusIndication_Status1
19129 {
19130 UINT8 mPrimaryGWSlot;
19131 UINT8 mPrimaryGWApplication;
19132 UINT8 mPrimary1XSlot;
19133 UINT8 mPrimary1XApplication;
19134 UINT8 mSecondaryGWSlot;
19135 UINT8 mSecondaryGWApplication;
19136 UINT8 mSecondary1XSlot;
19137 UINT8 mSecondary1XApplication;
19138 UINT8 mSlotsAvailable;
19139 eQMIUIMCardStates mCardState;
19140 eQMIUIMPINStates mUPINState;
19141 UINT8 mRemainingUPINVerifyRetries;
19142 UINT8 mRemainingUPINUnblockRetries;
19143 eQMIUIMCardErrorCodes mCardErrorCode;
19144 UINT8 mApplicationsAvailable;
19145 eQMIUIMApplicationTypes mApplicationType;
19146 eQMIUIMApplicationStates mApplicationState;
19147 eQMIUIMPersonalizationStates mPersonalizationState;
19148 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
19149 UINT8 mRemainingPersonalizationVerifyRetries;
19150 UINT8 mRemainingPersonalizationUnblockRetries;
19151 UINT8 mAIDLength;
19152
19153 // This array must be the size specified by mAIDLength
19154 // UINT8 mAID[1];
19155 };
19156
19157 struct sUIMCardStatusIndication_Status2
19158 {
19159 INT8 mUPINReplacesPIN1;
19160 eQMIUIMPINStates mPIN1State;
19161 UINT8 mRemainingPIN1VerifyRetries;
19162 UINT8 mRemainingPIN1UnblockRetries;
19163 eQMIUIMPINStates mPIN2State;
19164 UINT8 mRemainingPIN2VerifyRetries;
19165 UINT8 mRemainingPIN2UnblockRetries;
19166 };
19167
19168 struct sUIMCardStatusIndication_Status
19169 {
19170 sUIMCardStatusIndication_Status1 mUIMCardStatusIndication_Status1;
19171 sUIMCardStatusIndication_Status2 mUIMCardStatusIndication_Status2;
19172 };
19173
19174 // Structure to describe indication TLV 0x10 for UIM RefreshIndication
19175 struct sUIMRefreshIndication_RefreshEvent1
19176 {
19177 eQMIUIMRefreshStages mStage;
19178 eQMIUIMRefreshModes mMode;
19179 eQMIUIMSessionTypes mSessionType;
19180 UINT8 mAIDLength;
19181
19182 // This array must be the size specified by mAIDLength
19183 // UINT8 mAID[1];
19184 };
19185
19186 struct sUIMRefreshIndication_RefreshEvent2
19187 {
19188 UINT16 mFileCount;
19189
19190 struct sFile
19191 {
19192 UINT16 mFileID;
19193 UINT8 mPathLength;
19194
19195 // This array must be the size specified by mPathLength
19196 // UINT16 mPath[1];
19197 };
19198
19199 // This array must be the size specified by mFileCount
19200 // sFile mFiles[1];
19201 };
19202
19203 struct sUIMRefreshIndication_RefreshEvent
19204 {
19205 sUIMRefreshIndication_RefreshEvent1 mUIMRefreshIndication_RefreshEvent1;
19206 sUIMRefreshIndication_RefreshEvent2 mUIMRefreshIndication_RefreshEvent2;
19207 };
19208
19209 // Structure to describe request TLV 0x01 for UIMAuthenticate()
19210 struct sUIMAuthenticateRequest_SessionInfo
19211 {
19212 eQMIUIMSessionTypes mSessionType;
19213 UINT8 mAIDLength;
19214
19215 // This array must be the size specified by mAIDLength
19216 // UINT8 mAID[1];
19217 };
19218
19219 // Structure to describe request TLV 0x10 for UIMAuthenticate()
19220 struct sUIMAuthenticateRequest_ResponseInIndication
19221 {
19222 UINT32 mIndicationToken;
19223 };
19224
19225 // Structure to describe response TLV 0x10 for UIMAuthenticate()
19226 struct sUIMAuthenticateResponse_CardResult
19227 {
19228 UINT8 mSW1;
19229 UINT8 mSW2;
19230 };
19231
19232 // Structure to describe response TLV 0x11 for UIMAuthenticate()
19233 struct sUIMAuthenticateResponse_Data
19234 {
19235 UINT16 mContentLength;
19236
19237 // This array must be the size specified by mContentLength
19238 // UINT8 mContent[1];
19239 };
19240
19241 // Structure to describe response TLV 0x12 for UIMAuthenticate()
19242 struct sUIMAuthenticateResponse_ResponseInIndication
19243 {
19244 UINT32 mIndicationToken;
19245 };
19246
19247 // Structure to describe indication TLV 0x01 for UIM AuthenticateIndication
19248 struct sUIMAuthenticateIndication_OriginalToken
19249 {
19250 UINT32 mIndicationToken;
19251 };
19252
19253 // Structure to describe indication TLV 0x10 for UIM AuthenticateIndication
19254 struct sUIMAuthenticateIndication_CardResult
19255 {
19256 UINT8 mSW1;
19257 UINT8 mSW2;
19258 };
19259
19260 // Structure to describe indication TLV 0x11 for UIM AuthenticateIndication
19261 struct sUIMAuthenticateIndication_Data
19262 {
19263 UINT16 mContentLength;
19264
19265 // This array must be the size specified by mContentLength
19266 // UINT8 mContent[1];
19267 };
19268
19269 // Structure to describe request TLV 0x01 for UIMCloseSession()
19270 struct sUIMCloseSessionRequest_SessionInfo
19271 {
19272 eQMIUIMSessionTypes mSessionType;
19273 UINT8 mAIDLength;
19274
19275 // This array must be the size specified by mAIDLength
19276 // UINT8 mAID[1];
19277 };
19278
19279 // Structure to describe request TLV 0x01 for UIMGetServiceStatus()
19280 struct sUIMGetServiceStatusRequest_SessionInfo
19281 {
19282 eQMIUIMSessionTypes mSessionType;
19283 UINT8 mAIDLength;
19284
19285 // This array must be the size specified by mAIDLength
19286 // UINT8 mAID[1];
19287 };
19288
19289 // Structure to describe response TLV 0x10 for UIMGetServiceStatus()
19290 struct sUIMGetServiceStatusResponse_FDNStatus
19291 {
19292 eQMIUIMFDNStatusValues mFDNStatus;
19293 };
19294
19295 // Structure to describe response TLV 0x11 for UIMGetServiceStatus()
19296 struct sUIMGetServiceStatusResponse_HiddenKeyStatus
19297 {
19298 eQMIUIMHiddenKeyStatusValues mHiddenKeyStatus;
19299 };
19300
19301 // Structure to describe response TLV 0x12 for UIMGetServiceStatus()
19302 struct sUIMGetServiceStatusResponse_Index
19303 {
19304 UINT8 mEFDIRIndex;
19305 };
19306
19307 // Structure to describe response TLV 0x13 for UIMGetServiceStatus()
19308 struct sUIMGetServiceStatusResponse_ESNStatus
19309 {
19310 INT8 mESNChanged;
19311 };
19312
19313 // Structure to describe request TLV 0x01 for UIMSetServiceStatus()
19314 struct sUIMSetServiceStatusRequest_SessionInfo
19315 {
19316 eQMIUIMSessionTypes mSessionType;
19317 UINT8 mAIDLength;
19318
19319 // This array must be the size specified by mAIDLength
19320 // UINT8 mAID[1];
19321 };
19322
19323 // Structure to describe request TLV 0x10 for UIMSetServiceStatus()
19324 struct sUIMSetServiceStatusRequest_FDNStatus
19325 {
19326 INT8 mEnableFDN;
19327 };
19328
19329 // Structure to describe request TLV 0x01 for UIMChangeProvisioningSession()
19330 struct sUIMChangeProvisioningSessionRequest_SessionChange
19331 {
19332 eQMIUIMSessionTypes mSessionType;
19333 eQMIUIMCKSessionOperations mOperation;
19334 };
19335
19336 // Structure to describe request TLV 0x10 for UIMChangeProvisioningSession()
19337 struct sUIMChangeProvisioningSessionRequest_AppInfo
19338 {
19339 eQMIUIMSlots mSlot;
19340 UINT8 mAIDLength;
19341
19342 // This array must be the size specified by mAIDLength
19343 // UINT8 mAID[1];
19344 };
19345
19346 // Structure to describe request TLV 0x01 for UIMGetLabel()
19347 struct sUIMGetLabelRequest_AppInfo
19348 {
19349 eQMIUIMSlots mSlot;
19350 UINT8 mAIDLength;
19351
19352 // This array must be the size specified by mAIDLength
19353 // UINT8 mAID[1];
19354 };
19355
19356 // Structure to describe response TLV 0x10 for UIMGetLabel()
19357 struct sUIMGetLabelResponse_AppLabel
19358 {
19359 UINT8 mLabelLength;
19360
19361 // This array must be the size specified by mLabelLength
19362 // char mLabelValue[1];
19363 };
19364
19365 // Structure to describe request TLV 0x10 for UIMGetConfiguration()
19366 struct sUIMGetConfigurationRequest_Mask
19367 {
19368 bool mAutomaticSelection:1;
19369 bool mPersonalizationStatus:1;
19370 bool mHaltSubscription:1;
19371
19372 // Padding out 29 bits
19373 UINT8 mReserved1:5;
19374 UINT8 mReserved2[3];
19375 };
19376
19377 // Structure to describe response TLV 0x10 for UIMGetConfiguration()
19378 struct sUIMGetConfigurationResponse_AutoSelection
19379 {
19380 INT8 mAutomaticProvisioningOn;
19381 };
19382
19383 // Structure to describe response TLV 0x11 for UIMGetConfiguration()
19384 struct sUIMGetConfigurationResponse_Personalization
19385 {
19386 UINT8 mFeatureCount;
19387
19388 struct sFeature
19389 {
19390 eQMIUIMPersonalizationFeatures mPersonalizationFeature;
19391 UINT8 mRemainingVerifyRetries;
19392 UINT8 mRemainingUnblockRetries;
19393 };
19394
19395 // This array must be the size specified by mFeatureCount
19396 // sFeature mFeatures[1];
19397 };
19398
19399 // Structure to describe response TLV 0x12 for UIMGetConfiguration()
19400 struct sUIMGetConfigurationResponse_Subscription
19401 {
19402 INT8 mPublishSubscription;
19403 };
19404
19405 // Structure to describe request TLV 0x01 for UIMSendADPU()
19406 struct sUIMSendADPURequest_Slot
19407 {
19408 eQMIUIMSlots mSlot;
19409 };
19410
19411 // Structure to describe request TLV 0x10 for UIMSendADPU()
19412 struct sUIMSendADPURequest_LogicalChannel
19413 {
19414 UINT8 mChannelID;
19415 };
19416
19417 // Structure to describe request TLV 0x11 for UIMSendADPU()
19418 struct sUIMSendADPURequest_IntermediateProcedureBytes
19419 {
19420 eQMIUIMAPDUResponseStatus mIntermediateProcedureBytes;
19421 };
19422
19423 // Structure to describe response TLV 0x10 for UIMSendADPU()
19424 struct sUIMSendADPUResponse_APDUResponse
19425 {
19426 UINT16 mDataLength;
19427
19428 // This array must be the size specified by mDataLength
19429 // UINT8 mData[1];
19430 };
19431
19432 // Structure to describe response TLV 0x11 for UIMSendADPU()
19433 struct sUIMSendADPUResponse_LongAPDUResponse
19434 {
19435 UINT16 mTotalLength;
19436 UINT32 mIndicationToken;
19437 };
19438
19439 // Structure to describe indication TLV 0x01 for UIM SendADPUIndication
19440 struct sUIMSendADPUIndication_APDUResponseChunk
19441 {
19442 UINT32 mIndicationToken;
19443 UINT16 mTotalLength;
19444 UINT16 mOffset;
19445 UINT16 mDataLength;
19446
19447 // This array must be the size specified by mDataLength
19448 // UINT8 mData[1];
19449 };
19450
19451 // Structure to describe request TLV 0x01 for UIMSAPConnection()
19452 struct sUIMSAPConnectionRequest_Slot
19453 {
19454 eQMIUIMConnectOperations mOperation;
19455 eQMIUIMSlots mSlot;
19456 };
19457
19458 // Structure to describe request TLV 0x10 for UIMSAPConnection()
19459 struct sUIMSAPConnectionRequest_DisconnectMode
19460 {
19461 eQMIUIMDisonnectModes mDisconnectMode;
19462 };
19463
19464 // Structure to describe request TLV 0x11 for UIMSAPConnection()
19465 struct sUIMSAPConnectionRequest_IntermediateGetResponse
19466 {
19467 INT8 mReturnIntermediateGetResponse;
19468 };
19469
19470 // Structure to describe response TLV 0x10 for UIMSAPConnection()
19471 struct sUIMSAPConnectionResponse_State
19472 {
19473 eQMIUIMSAPStates mSAPState;
19474 };
19475
19476 // Structure to describe request TLV 0x01 for UIMSAP()
19477 struct sUIMSAPRequestRequest_Request
19478 {
19479 eQMIUIMSAPRequests mSAPRequest;
19480 eQMIUIMSlots mSlot;
19481 };
19482
19483 // Structure to describe request TLV 0x10 for UIMSAP()
19484 struct sUIMSAPRequestRequest_APDU
19485 {
19486 UINT16 mDataLength;
19487
19488 // This array must be the size specified by mDataLength
19489 // UINT8 mData[1];
19490 };
19491
19492 // Structure to describe response TLV 0x10 for UIMSAPRequest()
19493 struct sUIMSAPRequestResponse_ATR
19494 {
19495 UINT8 mDataLength;
19496
19497 // This array must be the size specified by mDataLength
19498 // UINT8 mData[1];
19499 };
19500
19501 // Structure to describe response TLV 0x11 for UIMSAPRequest()
19502 struct sUIMSAPRequestResponse_APDU
19503 {
19504 UINT16 mDataLength;
19505
19506 // This array must be the size specified by mDataLength
19507 // UINT8 mData[1];
19508 };
19509
19510 // Structure to describe response TLV 0x12 for UIMSAPRequest()
19511 struct sUIMSAPRequestResponse_CardReaderStatus
19512 {
19513 UINT8 mDataLength;
19514
19515 // This array must be the size specified by mDataLength
19516 // UINT8 mData[1];
19517 };
19518
19519 // Structure to describe indication TLV 0x10 for UIM SAPConnectionIndication
19520 struct sUIMSAPConnectionIndication_CardStatus
19521 {
19522 eQMIUIMSAPStates mSAPState;
19523 eQMIUIMSlots mSlot;
19524 };
19525
19526 // Structure to describe request TLV 0x01 for UIMLogicalChannel()
19527 struct sUIMLogicalChannelRequest_Slot
19528 {
19529 eQMIUIMSlots mSlot;
19530 };
19531
19532 // Structure to describe request TLV 0x10 for UIMLogicalChannel()
19533 struct sUIMLogicalChannelRequest_AID
19534 {
19535 UINT8 mAIDLength;
19536
19537 // This array must be the size specified by mAIDLength
19538 // UINT8 mAID[1];
19539 };
19540
19541 // Structure to describe request TLV 0x11 for UIMLogicalChannel()
19542 struct sUIMLogicalChannelRequest_LogicalChannel
19543 {
19544 UINT8 mChannelID;
19545 };
19546
19547 // Structure to describe request TLV 0x12 for UIMLogicalChannel()
19548 struct sUIMLogicalChannelRequest_FileControlInformation
19549 {
19550 eQMIUIMFileControlInformation mFileControlInformation;
19551 };
19552
19553 // Structure to describe response TLV 0x10 for UIMLogicalChannel()
19554 struct sUIMLogicalChannelResponse_LogicalChannel
19555 {
19556 UINT8 mChannelID;
19557 };
19558
19559 // Structure to describe response TLV 0x11 for UIMLogicalChannel()
19560 struct sUIMLogicalChannelResponse_CardResult
19561 {
19562 UINT8 mSW1;
19563 UINT8 mSW2;
19564 };
19565
19566 // Structure to describe response TLV 0x12 for UIMLogicalChannel()
19567 struct sUIMLogicalChannelResponse_ResponseToSelectCommand
19568 {
19569 UINT8 mResponseLength;
19570
19571 // This array must be the size specified by mResponseLength
19572 // UINT8 mResponse[1];
19573 };
19574
19575 // Structure to describe request TLV 0x01 for UIMSubscriptionOK()
19576 struct sUIMSubscriptionOKRequest_SessionInfo
19577 {
19578 eQMIUIMSessionTypes mSessionType;
19579 UINT8 mAIDLength;
19580
19581 // This array must be the size specified by mAIDLength
19582 // UINT8 mAID[1];
19583 };
19584
19585 // Structure to describe request TLV 0x10 for UIMSubscriptionOK()
19586 struct sUIMSubscriptionOKRequest_EncryptedIMSI
19587 {
19588 UINT8 mEncryptedIMSILength;
19589
19590 // This array must be the size specified by mEncryptedIMSILength
19591 // UINT8 mEncryptedIMSI[1];
19592 };
19593
19594 // Structure to describe request TLV 0x01 for UIMGetATR()
19595 struct sUIMGetATRRequest_Slot
19596 {
19597 eQMIUIMSlots mSlot;
19598 };
19599
19600 // Structure to describe response TLV 0x10 for UIMGetATR()
19601 struct sUIMGetATRResponse_ATRValue
19602 {
19603 UINT8 mATRValueLength;
19604
19605 // This array must be the size specified by mATRValueLength
19606 // UINT8 mATRValue[1];
19607 };
19608
19609 // Structure to describe request TLV 0x01 for UIMOpenLogicalChannel()
19610 struct sUIMOpenLogicalChannelRequest_Slot
19611 {
19612 eQMIUIMSlots mSlot;
19613 };
19614
19615 // Structure to describe request TLV 0x10 for UIMOpenLogicalChannel()
19616 struct sUIMOpenLogicalChannelRequest_AID
19617 {
19618 UINT8 mAIDLength;
19619
19620 // This array must be the size specified by mAIDLength
19621 // UINT8 mAID[1];
19622 };
19623
19624 // Structure to describe request TLV 0x11 for UIMOpenLogicalChannel()
19625 struct sUIMOpenLogicalChannelRequest_FileControlInformation
19626 {
19627 eQMIUIMFileControlInformation mFileControlInformation;
19628 };
19629
19630 // Structure to describe response TLV 0x10 for UIMOpenLogicalChannel()
19631 struct sUIMOpenLogicalChannelResponse_LogicalChannel
19632 {
19633 UINT8 mChannelID;
19634 };
19635
19636 // Structure to describe response TLV 0x11 for UIMOpenLogicalChannel()
19637 struct sUIMOpenLogicalChannelResponse_CardResult
19638 {
19639 UINT8 mSW1;
19640 UINT8 mSW2;
19641 };
19642
19643 // Structure to describe response TLV 0x12 for UIMOpenLogicalChannel()
19644 struct sUIMOpenLogicalChannelResponse_ResponseToSelectCommand
19645 {
19646 UINT8 mResponseLength;
19647
19648 // This array must be the size specified by mResponseLength
19649 // UINT8 mResponse[1];
19650 };
19651
19652 // Structure to describe request TLV 0x01 for PBMSetIndicationRegistrationState()
19653 struct sPBMSetIndicationRegistrationStateRequest_Mask
19654 {
19655 bool mRecordUpdate:1;
19656 bool mPhonebookReady:1;
19657 bool mEmergencyNumberList:1;
19658 bool mHiddenRecordStatus:1;
19659 bool mAASUpdate:1;
19660 bool mGASUpdate:1;
19661
19662 // Padding out 26 bits
19663 UINT8 mReserved1:2;
19664 UINT8 mReserved2[3];
19665 };
19666
19667 // Structure to describe response TLV 0x10 for PBMSetIndicationRegistrationState()
19668 struct sPBMSetIndicationRegistrationStateResponse_Mask
19669 {
19670 bool mRecordUpdate:1;
19671 bool mPhonebookReady:1;
19672 bool mEmergencyNumberList:1;
19673 bool mHiddenRecordStatus:1;
19674 bool mAASUpdate:1;
19675 bool mGASUpdate:1;
19676
19677 // Padding out 26 bits
19678 UINT8 mReserved1:2;
19679 UINT8 mReserved2[3];
19680 };
19681
19682 // Structure to describe request TLV 0x01 for PBMGetCapabilities()
19683 struct sPBMGetCapabilitiesRequest_Info
19684 {
19685 eQMIPBMSessionTypes mSessionType;
19686 eQMIPBMPhonebookTypes mPhonebookType;
19687 };
19688
19689 // Structure to describe response TLV 0x10 for PBMGetCapabilities()
19690 struct sPBMGetCapabilitiesResponse_Basic
19691 {
19692 eQMIPBMSessionTypes mSessionType;
19693 eQMIPBMPhonebookTypes mPhonebookType;
19694 UINT16 mRecordsUsed;
19695 UINT16 mMaximumRecords;
19696 UINT8 mMaximumNumberLength;
19697 UINT8 mMaximumNameLength;
19698 };
19699
19700 // Structure to describe response TLV 0x11 for PBMGetCapabilities()
19701 struct sPBMGetCapabilitiesResponse_Group
19702 {
19703 UINT8 mMaximumGroupsPossible;
19704 UINT8 mMaximumGroupTagLength;
19705 };
19706
19707 // Structure to describe response TLV 0x12 for PBMGetCapabilities()
19708 struct sPBMGetCapabilitiesResponse_AdditionalNumber
19709 {
19710 UINT8 mMaximumAdditionalNumbersPossible;
19711 UINT8 mMaximumAdditionalNumberLength;
19712 UINT8 mMaximumAdditionalNumberTagLength;
19713 };
19714
19715 // Structure to describe response TLV 0x13 for PBMGetCapabilities()
19716 struct sPBMGetCapabilitiesResponse_Email
19717 {
19718 UINT8 mMaximumEmailsPossible;
19719 UINT8 mMaximumEmailAddressLength;
19720 };
19721
19722 // Structure to describe response TLV 0x14 for PBMGetCapabilities()
19723 struct sPBMGetCapabilitiesResponse_SecondName
19724 {
19725 UINT8 mMaximumSecondNameLength;
19726 };
19727
19728 // Structure to describe response TLV 0x15 for PBMGetCapabilities()
19729 struct sPBMGetCapabilitiesResponse_HiddenRecords
19730 {
19731 INT8 mHiddenEntrySupported;
19732 };
19733
19734 // Structure to describe response TLV 0x16 for PBMGetCapabilities()
19735 struct sPBMGetCapabilitiesResponse_GAS
19736 {
19737 UINT8 mMaximumGASStringLength;
19738 };
19739
19740 // Structure to describe response TLV 0x17 for PBMGetCapabilities()
19741 struct sPBMGetCapabilitiesResponse_AAS
19742 {
19743 UINT8 mMaximumAASStringLength;
19744 };
19745
19746 // Structure to describe response TLV 0x18 for PBMGetCapabilities()
19747 struct sPBMGetCapabilitiesResponse_Protection
19748 {
19749 eQMIPBMProtectionMethods mProtectionMethod;
19750 };
19751
19752 // Structure to describe response TLV 0x10 for PBMGetAllCapabilities()
19753 struct sPBMGetAllCapabilitiesResponse_Basic
19754 {
19755 UINT8 mNumberOfSessions;
19756
19757 struct sSession
19758 {
19759 eQMIPBMSessionTypes mSessionType;
19760 UINT8 mNumberOfPhonebooks;
19761
19762 struct sPhonebook
19763 {
19764 eQMIPBMPhonebookTypes mPhonebookType;
19765 UINT16 mRecordsUsed;
19766 UINT16 mMaximumRecords;
19767 UINT8 mMaximumNumberLength;
19768 UINT8 mMaximumNameLength;
19769 };
19770
19771 // This array must be the size specified by mNumberOfPhonebooks
19772 // sPhonebook mPhonebooks[1];
19773 };
19774
19775 // This array must be the size specified by mNumberOfSessions
19776 // sSession mSessions[1];
19777 };
19778
19779 // Structure to describe response TLV 0x11 for PBMGetAllCapabilities()
19780 struct sPBMGetAllCapabilitiesResponse_Group
19781 {
19782 UINT8 mNumberOfSessions;
19783
19784 struct sSession
19785 {
19786 eQMIPBMSessionTypes mSessionType;
19787 UINT8 mMaximumGroupsPossible;
19788 UINT8 mMaximumGroupTagLength;
19789 };
19790
19791 // This array must be the size specified by mNumberOfSessions
19792 // sSession mSessions[1];
19793 };
19794
19795 // Structure to describe response TLV 0x12 for PBMGetAllCapabilities()
19796 struct sPBMGetAllCapabilitiesResponse_AdditionalNumber
19797 {
19798 UINT8 mNumberOfSessions;
19799
19800 struct sSession
19801 {
19802 eQMIPBMSessionTypes mSessionType;
19803 UINT8 mMaximumAdditionalNumbersPossible;
19804 UINT8 mMaximumAdditionalNumberLength;
19805 UINT8 mMaximumAdditionalNumberTagLength;
19806 };
19807
19808 // This array must be the size specified by mNumberOfSessions
19809 // sSession mSessions[1];
19810 };
19811
19812 // Structure to describe response TLV 0x13 for PBMGetAllCapabilities()
19813 struct sPBMGetAllCapabilitiesResponse_Email
19814 {
19815 UINT8 mNumberOfSessions;
19816
19817 struct sSession
19818 {
19819 eQMIPBMSessionTypes mSessionType;
19820 UINT8 mMaximumEmailsPossible;
19821 UINT8 mMaximumEmailAddressLength;
19822 };
19823
19824 // This array must be the size specified by mNumberOfSessions
19825 // sSession mSessions[1];
19826 };
19827
19828 // Structure to describe response TLV 0x14 for PBMGetAllCapabilities()
19829 struct sPBMGetAllCapabilitiesResponse_SecondName
19830 {
19831 UINT8 mNumberOfSessions;
19832
19833 struct sSession
19834 {
19835 eQMIPBMSessionTypes mSessionType;
19836 UINT8 mMaximumSecondNameLength;
19837 };
19838
19839 // This array must be the size specified by mNumberOfSessions
19840 // sSession mSessions[1];
19841 };
19842
19843 // Structure to describe response TLV 0x15 for PBMGetAllCapabilities()
19844 struct sPBMGetAllCapabilitiesResponse_HiddenRecords
19845 {
19846 UINT8 mNumberOfSessions;
19847
19848 struct sSession
19849 {
19850 eQMIPBMSessionTypes mSessionType;
19851 INT8 mHiddenEntrySupported;
19852 };
19853
19854 // This array must be the size specified by mNumberOfSessions
19855 // sSession mSessions[1];
19856 };
19857
19858 // Structure to describe response TLV 0x16 for PBMGetAllCapabilities()
19859 struct sPBMGetAllCapabilitiesResponse_GAS
19860 {
19861 UINT8 mNumberOfSessions;
19862
19863 struct sSession
19864 {
19865 eQMIPBMSessionTypes mSessionType;
19866 UINT8 mMaximumRecords;
19867 UINT8 mRecordsUsed;
19868 UINT8 mMaximumGASStringLength;
19869 };
19870
19871 // This array must be the size specified by mNumberOfSessions
19872 // sSession mSessions[1];
19873 };
19874
19875 // Structure to describe response TLV 0x17 for PBMGetAllCapabilities()
19876 struct sPBMGetAllCapabilitiesResponse_AAS
19877 {
19878 UINT8 mNumberOfSessions;
19879
19880 struct sSession
19881 {
19882 eQMIPBMSessionTypes mSessionType;
19883 UINT8 mMaximumRecords;
19884 UINT8 mRecordsUsed;
19885 UINT8 mMaximumAASStringLength;
19886 };
19887
19888 // This array must be the size specified by mNumberOfSessions
19889 // sSession mSessions[1];
19890 };
19891
19892 // Structure to describe request TLV 0x01 for PBMReadRecords()
19893 struct sPBMReadRecordsRequest_Info
19894 {
19895 eQMIPBMSessionTypes mSessionType;
19896 eQMIPBMPhonebookTypes mPhonebookType;
19897 UINT16 mStartingRecordID;
19898 UINT16 mEndingRecordID;
19899 };
19900
19901 // Structure to describe response TLV 0x10 for PBMReadRecords()
19902 struct sPBMReadRecordsResponse_RecordsRead
19903 {
19904 UINT16 mNumberOfRecords;
19905 };
19906
19907 // Structure to describe indication TLV 0x01 for PBM ReadRecordsIndication
19908 struct sPBMReadRecordsIndication_Basic
19909 {
19910 UINT16 mSequenceNumber;
19911 eQMIPBMSessionTypes mSessionType;
19912 eQMIPBMPhonebookTypes mPhonebookType;
19913 UINT8 mNumberOfRecords;
19914
19915 struct sRecord1
19916 {
19917 UINT16 mRecordID;
19918 eQMIPBMNumberTypes mNumberType;
19919 eQMIPBMNumberPlans mNumberPlan;
19920 UINT8 mNumberLength;
19921
19922 // This array must be the size specified by mNumberLength
19923 // char mNumber[1];
19924 };
19925
19926 struct sRecord2
19927 {
19928 UINT8 mNameLength;
19929
19930 // This array must be the size (in BYTEs) specified by mNameLength
19931 // wchar_t mName[1];
19932 };
19933
19934 struct sRecord
19935 {
19936 sRecord1 mRecord1;
19937 sRecord2 mRecord2;
19938 };
19939
19940 // This array must be the size specified by mNumberOfRecords
19941 // sRecord mRecords[1];
19942 };
19943
19944 // Structure to describe indication TLV 0x10 for PBM ReadRecordsIndication
19945 struct sPBMReadRecordsIndication_SecondName
19946 {
19947 UINT8 mNumberOfRecords;
19948
19949 struct sRecord
19950 {
19951 UINT16 mRecordID;
19952 UINT8 mSecondNameLength;
19953
19954 // This array must be the size (in BYTEs) specified by mSecondNameLength
19955 // wchar_t mSecondName[1];
19956 };
19957
19958 // This array must be the size specified by mNumberOfRecords
19959 // sRecord mRecords[1];
19960 };
19961
19962 // Structure to describe indication TLV 0x11 for PBM ReadRecordsIndication
19963 struct sPBMReadRecordsIndication_AdditionalNumber
19964 {
19965 UINT8 mNumberOfRecords;
19966
19967 struct sRecord
19968 {
19969 UINT16 mRecordID;
19970 UINT8 mAdditionalNumberCount;
19971
19972 struct sAdditionalNumber1
19973 {
19974 eQMIPBMNumberTypes mNumberType;
19975 eQMIPBMNumberPlans mNumberPlan;
19976 UINT8 mNumberLength;
19977
19978 // This array must be the size specified by mNumberLength
19979 // char mNumber[1];
19980 };
19981
19982 struct sAdditionalNumber2
19983 {
19984 UINT8 mTagID;
19985 };
19986
19987 struct sAdditionalNumber
19988 {
19989 sAdditionalNumber1 mAdditionalNumber1;
19990 sAdditionalNumber2 mAdditionalNumber2;
19991 };
19992
19993 // This array must be the size specified by mAdditionalNumberCount
19994 // sAdditionalNumber mAdditionalNumbers[1];
19995 };
19996
19997 // This array must be the size specified by mNumberOfRecords
19998 // sRecord mRecords[1];
19999 };
20000
20001 // Structure to describe indication TLV 0x12 for PBM ReadRecordsIndication
20002 struct sPBMReadRecordsIndication_Group
20003 {
20004 UINT8 mNumberOfRecords;
20005
20006 struct sRecord
20007 {
20008 UINT16 mRecordID;
20009 UINT8 mGroupCount;
20010
20011 // This array must be the size specified by mGroupCount
20012 // UINT8 mGroupID[1];
20013 };
20014
20015 // This array must be the size specified by mNumberOfRecords
20016 // sRecord mRecords[1];
20017 };
20018
20019 // Structure to describe indication TLV 0x13 for PBM ReadRecordsIndication
20020 struct sPBMReadRecordsIndication_Email
20021 {
20022 UINT8 mNumberOfRecords;
20023
20024 struct sRecord
20025 {
20026 UINT16 mRecordID;
20027 UINT8 mEmailCount;
20028
20029 struct sEmail
20030 {
20031 UINT8 mAddressLength;
20032
20033 // This array must be the size (in BYTEs) specified by mAddressLength
20034 // wchar_t mAddress[1];
20035 };
20036
20037 // This array must be the size specified by mEmailCount
20038 // sEmail mEmails[1];
20039 };
20040
20041 // This array must be the size specified by mNumberOfRecords
20042 // sRecord mRecords[1];
20043 };
20044
20045 // Structure to describe indication TLV 0x14 for PBM ReadRecordsIndication
20046 struct sPBMReadRecordsIndication_Hidden
20047 {
20048 UINT8 mNumberOfRecords;
20049
20050 struct sRecord
20051 {
20052 UINT16 mRecordID;
20053 INT8 mHidden;
20054 };
20055
20056 // This array must be the size specified by mNumberOfRecords
20057 // sRecord mRecords[1];
20058 };
20059
20060 // Structure to describe request TLV 0x01 for PBMWriteRecord()
20061 struct sPBMWriteRecordRequest_Info1
20062 {
20063 eQMIPBMSessionTypes mSessionType;
20064 eQMIPBMPhonebookTypes mPhonebookType;
20065 UINT16 mRecordID;
20066 eQMIPBMNumberTypes mNumberType;
20067 eQMIPBMNumberPlans mNumberPlan;
20068 UINT8 mNumberLength;
20069
20070 // This array must be the size specified by mNumberLength
20071 // char mNumber[1];
20072 };
20073
20074 struct sPBMWriteRecordRequest_Info2
20075 {
20076 UINT8 mNameLength;
20077
20078 // This array must be the size (in BYTEs) specified by mNameLength
20079 // wchar_t mName[1];
20080 };
20081
20082 struct sPBMWriteRecordRequest_Info
20083 {
20084 sPBMWriteRecordRequest_Info1 mPBMWriteRecordRequest_Info1;
20085 sPBMWriteRecordRequest_Info2 mPBMWriteRecordRequest_Info2;
20086 };
20087
20088 // Structure to describe request TLV 0x10 for PBMWriteRecord()
20089 struct sPBMWriteRecordRequest_SecondName
20090 {
20091 UINT8 mNameLength;
20092
20093 // This array must be the size (in BYTEs) specified by mNameLength
20094 // wchar_t mName[1];
20095 };
20096
20097 // Structure to describe request TLV 0x11 for PBMWriteRecord()
20098 struct sPBMWriteRecordRequest_AdditionalNumber
20099 {
20100 UINT8 mAdditionalNumberCount;
20101
20102 struct sAdditionalNumber1
20103 {
20104 eQMIPBMNumberTypes mNumberType;
20105 eQMIPBMNumberPlans mNumberPlan;
20106 UINT8 mNumberLength;
20107
20108 // This array must be the size specified by mNumberLength
20109 // char mNumber[1];
20110 };
20111
20112 struct sAdditionalNumber2
20113 {
20114 UINT8 mTagID;
20115 };
20116
20117 struct sAdditionalNumber
20118 {
20119 sAdditionalNumber1 mAdditionalNumber1;
20120 sAdditionalNumber2 mAdditionalNumber2;
20121 };
20122
20123 // This array must be the size specified by mAdditionalNumberCount
20124 // sAdditionalNumber mAdditionalNumbers[1];
20125 };
20126
20127 // Structure to describe request TLV 0x12 for PBMWriteRecord()
20128 struct sPBMWriteRecordRequest_Group
20129 {
20130 UINT8 mGroupCount;
20131
20132 // This array must be the size specified by mGroupCount
20133 // UINT8 mGroupID[1];
20134 };
20135
20136 // Structure to describe request TLV 0x13 for PBMWriteRecord()
20137 struct sPBMWriteRecordRequest_Email
20138 {
20139 UINT8 mEmailCount;
20140
20141 struct sEmail
20142 {
20143 UINT8 mAddressLength;
20144
20145 // This array must be the size (in BYTEs) specified by mAddressLength
20146 // wchar_t mAddress[1];
20147 };
20148
20149 // This array must be the size specified by mEmailCount
20150 // sEmail mEmails[1];
20151 };
20152
20153 // Structure to describe request TLV 0x14 for PBMWriteRecord()
20154 struct sPBMWriteRecordRequest_Hidden
20155 {
20156 INT8 mHidden;
20157 };
20158
20159 // Structure to describe response TLV 0x10 for PBMWriteRecord()
20160 struct sPBMWriteRecordResponse_Info
20161 {
20162 UINT16 mRecordID;
20163 };
20164
20165 // Structure to describe request TLV 0x01 for PBMDeleteRecord()
20166 struct sPBMDeleteRecordRequest_Info
20167 {
20168 eQMIPBMSessionTypes mSessionType;
20169 eQMIPBMPhonebookTypes mPhonebookType;
20170 UINT16 mRecordID;
20171 };
20172
20173 // Structure to describe response TLV 0x10 for PBMDeleteRecord()
20174 struct sPBMDeleteRecordResponse_Info
20175 {
20176 UINT16 mRecordID;
20177 };
20178
20179 // Structure to describe request TLV 0x01 for PBMDeleteAllRecords()
20180 struct sPBMDeleteAllRecordsRequest_Info
20181 {
20182 eQMIPBMSessionTypes mSessionType;
20183 eQMIPBMPhonebookTypes mPhonebookType;
20184 };
20185
20186 // Structure to describe request TLV 0x01 for PBMSearchRecords()
20187 struct sPBMSearchRecordsRequest_Info
20188 {
20189 eQMIPBMSessionTypes mSessionType;
20190 eQMIPBMPhonebookTypes mPhonebookType;
20191 };
20192
20193 // Structure to describe request TLV 0x10 for PBMSearchRecords()
20194 struct sPBMSearchRecordsRequest_Number
20195 {
20196 UINT8 mNumberLength;
20197
20198 // This array must be the size specified by mNumberLength
20199 // char mNumber[1];
20200 };
20201
20202 // Structure to describe request TLV 0x11 for PBMSearchRecords()
20203 struct sPBMSearchRecordsRequest_Name
20204 {
20205 UINT8 mNameLength;
20206
20207 // This array must be the size (in BYTEs) specified by mNameLength
20208 // wchar_t mName[1];
20209 };
20210
20211 // Structure to describe response TLV 0x10 for PBMSearchRecords()
20212 struct sPBMSearchRecordsResponse_List
20213 {
20214 UINT16 mNumberOfRecordIDs;
20215
20216 // This array must be the size specified by mNumberOfRecordIDs
20217 // UINT16 mRecordID[1];
20218 };
20219
20220 // Structure to describe indication TLV 0x01 for PBM RecordUpdateIndication
20221 struct sPBMRecordUpdateIndication_Info
20222 {
20223 eQMIPBMSessionTypes mSessionType;
20224 eQMIPBMPhonebookTypes mPhonebookType;
20225 eQMIPBMOperations mOperation;
20226 UINT16 mRecordID;
20227 };
20228
20229 // Structure to describe indication TLV 0x01 for PBM RefreshIndication
20230 struct sPBMRefreshIndication_Info
20231 {
20232 eQMIPBMSessionTypes mSessionType;
20233 eQMIPBMPhonebookTypes mPhonebookType;
20234 eQMIPBMRefreshStatus mStatus;
20235 };
20236
20237 // Structure to describe indication TLV 0x01 for PBM ReadyIndication
20238 struct sPBMReadyIndication_Info
20239 {
20240 eQMIPBMSessionTypes mSessionType;
20241 eQMIPBMPhonebookTypes mPhonebookType;
20242 };
20243
20244 // Structure to describe indication TLV 0x01 for PBM EmergencyListIndication
20245 struct sPBMEmergencyListIndication_HardCodedNumbers
20246 {
20247 UINT8 mNumberCount;
20248
20249 struct sNumber
20250 {
20251 UINT8 mEmergencyNumberLength;
20252
20253 // This array must be the size specified by mEmergencyNumberLength
20254 // char mEmergencyNumber[1];
20255 };
20256
20257 // This array must be the size specified by mNumberCount
20258 // sNumber mNumbers[1];
20259 };
20260
20261 // Structure to describe indication TLV 0x10 for PBM EmergencyListIndication
20262 struct sPBMEmergencyListIndication_NVNumbers
20263 {
20264 UINT8 mNumberCount;
20265
20266 struct sNumber
20267 {
20268 UINT8 mEmergencyNumberLength;
20269
20270 // This array must be the size specified by mEmergencyNumberLength
20271 // char mEmergencyNumber[1];
20272 };
20273
20274 // This array must be the size specified by mNumberCount
20275 // sNumber mNumbers[1];
20276 };
20277
20278 // Structure to describe indication TLV 0x11 for PBM EmergencyListIndication
20279 struct sPBMEmergencyListIndication_CardNumbers
20280 {
20281 UINT8 mNumberOfSessions;
20282
20283 struct sSession
20284 {
20285 eQMIPBMSessionTypes mSessionType;
20286 UINT8 mNumberCount;
20287
20288 struct sNumber
20289 {
20290 bool mPolice:1;
20291 bool mAmbulance:1;
20292 bool mFireBrigade:1;
20293 bool mMarineGuard:1;
20294 bool mMountainRescue:1;
20295 bool mManualECall:1;
20296 bool mAutomaticECall:1;
20297 bool mSpare:1;
20298 UINT8 mEmergencyNumberLength;
20299
20300 // This array must be the size specified by mEmergencyNumberLength
20301 // char mEmergencyNumber[1];
20302 };
20303
20304 // This array must be the size specified by mNumberCount
20305 // sNumber mNumbers[1];
20306 };
20307
20308 // This array must be the size specified by mNumberOfSessions
20309 // sSession mSessions[1];
20310 };
20311
20312 // Structure to describe indication TLV 0x12 for PBM EmergencyListIndication
20313 struct sPBMEmergencyListIndication_NetworkNumbers
20314 {
20315 UINT8 mNumberOfSessions;
20316
20317 struct sSession
20318 {
20319 eQMIPBMSessionTypes mSessionType;
20320 UINT8 mNumberCount;
20321
20322 struct sNumber
20323 {
20324 bool mPolice:1;
20325 bool mAmbulance:1;
20326 bool mFireBrigade:1;
20327 bool mMarineGuard:1;
20328 bool mMountainRescue:1;
20329 bool mManualECall:1;
20330 bool mAutomaticECall:1;
20331 bool mSpare:1;
20332 UINT8 mEmergencyNumberLength;
20333
20334 // This array must be the size specified by mEmergencyNumberLength
20335 // char mEmergencyNumber[1];
20336 };
20337
20338 // This array must be the size specified by mNumberCount
20339 // sNumber mNumbers[1];
20340 };
20341
20342 // This array must be the size specified by mNumberOfSessions
20343 // sSession mSessions[1];
20344 };
20345
20346 // Structure to describe indication TLV 0x01 for PBM AllReadyIndication
20347 struct sPBMAllReadyIndication_Info
20348 {
20349 UINT8 mNumberOfSessions;
20350
20351 struct sSession
20352 {
20353 eQMIPBMSessionTypes mSessionType;
20354 bool mAbbreviatedDialingNumber:1;
20355 bool mFixedDialingNumber:1;
20356 bool mMobileSubscriberIntegratedServicesDigitalNetwork:1;
20357 bool mMailBoxDialingNumber:1;
20358 bool mServiceDialingNumber:1;
20359 bool mBarredDialingNumber:1;
20360 bool mLastNumberDialed:1;
20361 bool mMailBoxNumber:1;
20362
20363 // Padding out 8 bits
20364 UINT8 mReserved1;
20365 };
20366
20367 // This array must be the size specified by mNumberOfSessions
20368 // sSession mSessions[1];
20369 };
20370
20371 // Structure to describe response TLV 0x10 for PBMGetEmergencyList()
20372 struct sPBMGetEmergencyListResponse_HardCodedNumbers
20373 {
20374 UINT8 mNumberCount;
20375
20376 struct sNumber
20377 {
20378 UINT8 mEmergencyNumberLength;
20379
20380 // This array must be the size specified by mEmergencyNumberLength
20381 // char mEmergencyNumber[1];
20382 };
20383
20384 // This array must be the size specified by mNumberCount
20385 // sNumber mNumbers[1];
20386 };
20387
20388 // Structure to describe response TLV 0x11 for PBMGetEmergencyList()
20389 struct sPBMGetEmergencyListResponse_NVNumbers
20390 {
20391 UINT8 mNumberCount;
20392
20393 struct sNumber
20394 {
20395 UINT8 mEmergencyNumberLength;
20396
20397 // This array must be the size specified by mEmergencyNumberLength
20398 // char mEmergencyNumber[1];
20399 };
20400
20401 // This array must be the size specified by mNumberCount
20402 // sNumber mNumbers[1];
20403 };
20404
20405 // Structure to describe response TLV 0x12 for PBMGetEmergencyList()
20406 struct sPBMGetEmergencyListResponse_CardNumbers
20407 {
20408 UINT8 mNumberOfSessions;
20409
20410 struct sSession
20411 {
20412 eQMIPBMSessionTypes mSessionType;
20413 UINT8 mNumberCount;
20414
20415 struct sNumber
20416 {
20417 bool mPolice:1;
20418 bool mAmbulance:1;
20419 bool mFireBrigade:1;
20420 bool mMarineGuard:1;
20421 bool mMountainRescue:1;
20422 bool mManualECall:1;
20423 bool mAutomaticECall:1;
20424 bool mSpare:1;
20425 UINT8 mEmergencyNumberLength;
20426
20427 // This array must be the size specified by mEmergencyNumberLength
20428 // char mEmergencyNumber[1];
20429 };
20430
20431 // This array must be the size specified by mNumberCount
20432 // sNumber mNumbers[1];
20433 };
20434
20435 // This array must be the size specified by mNumberOfSessions
20436 // sSession mSessions[1];
20437 };
20438
20439 // Structure to describe response TLV 0x13 for PBMGetEmergencyList()
20440 struct sPBMGetEmergencyListResponse_NetworkNumbers
20441 {
20442 UINT8 mNumberOfSessions;
20443
20444 struct sSession
20445 {
20446 eQMIPBMSessionTypes mSessionType;
20447 UINT8 mNumberCount;
20448
20449 struct sNumber
20450 {
20451 bool mPolice:1;
20452 bool mAmbulance:1;
20453 bool mFireBrigade:1;
20454 bool mMarineGuard:1;
20455 bool mMountainRescue:1;
20456 bool mManualECall:1;
20457 bool mAutomaticECall:1;
20458 bool mSpare:1;
20459 UINT8 mEmergencyNumberLength;
20460
20461 // This array must be the size specified by mEmergencyNumberLength
20462 // char mEmergencyNumber[1];
20463 };
20464
20465 // This array must be the size specified by mNumberCount
20466 // sNumber mNumbers[1];
20467 };
20468
20469 // This array must be the size specified by mNumberOfSessions
20470 // sSession mSessions[1];
20471 };
20472
20473 // Structure to describe response TLV 0x10 for PBMGetAllGroups()
20474 struct sPBMGetAllGroupsResponse_Groups
20475 {
20476 UINT8 mNumberOfSessions;
20477
20478 struct sSession
20479 {
20480 eQMIPBMSessionTypes mSessionType;
20481 UINT8 mGroupCount;
20482
20483 struct sGroup
20484 {
20485 UINT8 mGroupID;
20486 UINT8 mGroupNameLength;
20487
20488 // This array must be the size (in BYTEs) specified by mGroupNameLength
20489 // wchar_t mGroupName[1];
20490 };
20491
20492 // This array must be the size specified by mGroupCount
20493 // sGroup mGroups[1];
20494 };
20495
20496 // This array must be the size specified by mNumberOfSessions
20497 // sSession mSessions[1];
20498 };
20499
20500 // Structure to describe request TLV 0x01 for PBMSetGroupInfo()
20501 struct sPBMSetGroupInfoRequest_Info
20502 {
20503 eQMIPBMSessionTypes mSessionType;
20504 eQMIPBMOperations mOperation;
20505 UINT8 mGroupID;
20506 UINT8 mGroupNameLength;
20507
20508 // This array must be the size (in BYTEs) specified by mGroupNameLength
20509 // wchar_t mGroupName[1];
20510 };
20511
20512 // Structure to describe response TLV 0x10 for PBMSetGroupInfo()
20513 struct sPBMSetGroupInfoResponse_ID
20514 {
20515 eQMIPBMSessionTypes mSessionType;
20516 UINT8 mGroupID;
20517 };
20518
20519 // Structure to describe request TLV 0x01 for PBMGetState()
20520 struct sPBMGetStateRequest_Info
20521 {
20522 eQMIPBMSessionTypes mSessionType;
20523 eQMIPBMPhonebookTypes mPhonebookType;
20524 };
20525
20526 // Structure to describe response TLV 0x10 for PBMGetStateInfo()
20527 struct sPBMGetStateInfoResponse_State
20528 {
20529 eQMIPBMSessionTypes mSessionType;
20530 eQMIPBMPhonebookTypes mPhonebookType;
20531 eQMIPBMStates mState;
20532 };
20533
20534 // Structure to describe request TLV 0x01 for PBMReadAllHiddenRecords()
20535 struct sPBMReadAllHiddenRecordsRequest_Info
20536 {
20537 eQMIPBMSessionTypes mSessionType;
20538 };
20539
20540 // Structure to describe response TLV 0x10 for PBMReadAllHiddenRecords()
20541 struct sPBMReadAllHiddenRecordsResponse_Records
20542 {
20543 UINT16 mNumberOfRecords;
20544 };
20545
20546 // Structure to describe indication TLV 0x01 for PBM HiddenRecordStatusIndication
20547 struct sPBMHiddenRecordStatusIndication_Status
20548 {
20549 eQMIPBMSessionTypes mSessionType;
20550 INT8 mHiddenRecordsValid;
20551 };
20552
20553 // Structure to describe request TLV 0x01 for PBMGetNextEmptyRecordID()
20554 struct sPBMGetNextEmptyRecordIDRequest_Info
20555 {
20556 eQMIPBMSessionTypes mSessionType;
20557 eQMIPBMPhonebookTypes mPhonebookType;
20558 UINT16 mRecordID;
20559 };
20560
20561 // Structure to describe response TLV 0x10 for PBMGetNextEmptyRecordID()
20562 struct sPBMGetNextEmptyRecordIDResponse_Info
20563 {
20564 UINT16 mRecordID;
20565 };
20566
20567 // Structure to describe request TLV 0x01 for PBMGetNextRecordID()
20568 struct sPBMGetNextRecordIDRequest_Info
20569 {
20570 eQMIPBMSessionTypes mSessionType;
20571 eQMIPBMPhonebookTypes mPhonebookType;
20572 UINT16 mRecordID;
20573 };
20574
20575 // Structure to describe response TLV 0x10 for PBMGetNextRecordID()
20576 struct sPBMGetNextRecordIDResponse_Info
20577 {
20578 UINT16 mRecordID;
20579 };
20580
20581 // Structure to describe response TLV 0x10 for PBMGetAASList()
20582 struct sPBMGetAASListResponse_List
20583 {
20584 UINT8 mNumberOfSessions;
20585
20586 struct sSession
20587 {
20588 eQMIPBMSessionTypes mSessionType;
20589 UINT8 mAASCount;
20590
20591 struct sAAS
20592 {
20593 UINT8 mAASID;
20594 UINT8 mAlphaStringLength;
20595
20596 // This array must be the size (in BYTEs) specified by mAlphaStringLength
20597 // wchar_t mAlphaString[1];
20598 };
20599
20600 // This array must be the size specified by mAASCount
20601 // sAAS mAASs[1];
20602 };
20603
20604 // This array must be the size specified by mNumberOfSessions
20605 // sSession mSessions[1];
20606 };
20607
20608 // Structure to describe request TLV 0x10 for PBMSetAAS()
20609 struct sPBMSetAASRequest_Info
20610 {
20611 eQMIPBMSessionTypes mSessionType;
20612 eQMIPBMAASOperations mOperation;
20613 UINT8 mAASID;
20614 UINT8 mAlphaStringLength;
20615
20616 // This array must be the size (in BYTEs) specified by mAlphaStringLength
20617 // wchar_t mAlphaString[1];
20618 };
20619
20620 // Structure to describe response TLV 0x10 for PBMSetAAS()
20621 struct sPBMSetAASResponse_Info
20622 {
20623 eQMIPBMSessionTypes mSessionType;
20624 UINT8 mAASID;
20625 };
20626
20627 // Structure to describe indication TLV 0x01 for PBM AASChangeIndication
20628 struct sPBMAASChangeIndication_Info
20629 {
20630 eQMIPBMSessionTypes mSessionType;
20631 eQMIPBMOperations mOperation;
20632 UINT8 mAASID;
20633 UINT8 mAlphaStringLength;
20634
20635 // This array must be the size (in BYTEs) specified by mAlphaStringLength
20636 // wchar_t mAlphaString[1];
20637 };
20638
20639 // Structure to describe indication TLV 0x01 for PBM GASChangeIndication
20640 struct sPBMGASChangeIndication_Info
20641 {
20642 eQMIPBMSessionTypes mSessionType;
20643 eQMIPBMOperations mOperation;
20644 UINT8 mGASID;
20645 UINT8 mGroupNameLength;
20646
20647 // This array must be the size (in BYTEs) specified by mGroupNameLength
20648 // wchar_t mGroupName[1];
20649 };
20650
20651 // Structure to describe request TLV 0x10 for PBMBindSubscription()
20652 struct sPBMBindSubscriptionRequest_Type
20653 {
20654 eQMIPBMSubscriptionTypes mSubscriptionType;
20655 };
20656
20657 // Structure to describe request TLV 0x10 for PBMGetSubscription()
20658 struct sPBMGetSubscriptionRequest_Type
20659 {
20660 eQMIPBMSubscriptionTypes mSubscriptionType;
20661 };
20662
20663 // Structure to describe request TLV 0x01 for LOCClientRevision()
20664 struct sLOCClientRevisionRequest_Revision
20665 {
20666 UINT32 mRevision;
20667 };
20668
20669 // Structure to describe request TLV 0x01 for LOCRegisterEvents()
20670 struct sLOCRegisterEventsRequest_EventRegistrationMask
20671 {
20672 bool mPositionReport:1;
20673 bool mGNSSSatelliteInfo:1;
20674 bool mNMEA:1;
20675 bool mNINotifyVerifyRequest:1;
20676 bool mInjectTimeRequest:1;
20677 bool mInjectPredictedOrbitsRequest:1;
20678 bool mInjectPositionRequest:1;
20679 bool mEngineState:1;
20680 bool mFixSessionState:1;
20681 bool mWiFiRequest:1;
20682 bool mSensorStreamingReadyStatus:1;
20683 bool mTimeSyncRequest:1;
20684 bool mSetSPIStreamingReport:1;
20685 bool mLocationServerConnectionRequest:1;
20686 bool mNIGeofenceNotification:1;
20687 bool mGeofenceGeneralAlert:1;
20688 bool mGeofenceBreachNotification:1;
20689
20690 // Padding out 47 bits
20691 UINT8 mReserved1:7;
20692 UINT8 mReserved2[5];
20693 };
20694
20695 // Structure to describe request TLV 0x01 for LOCStart()
20696 struct sLOCStartRequest_SessionID
20697 {
20698 UINT8 mSessionID;
20699 };
20700
20701 // Structure to describe request TLV 0x10 for LOCStart()
20702 struct sLOCStartRequest_FixRecurrenceType
20703 {
20704 eQMILOCFixRecurrenceType mFixRecurrenceType;
20705 };
20706
20707 // Structure to describe request TLV 0x11 for LOCStart()
20708 struct sLOCStartRequest_HorizontalAccuracy
20709 {
20710 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
20711 };
20712
20713 // Structure to describe request TLV 0x12 for LOCStart()
20714 struct sLOCStartRequest_EnableIntermediateReports
20715 {
20716 eQMILOCIntermediateReportState mEnableIntermediateReports;
20717 };
20718
20719 // Structure to describe request TLV 0x13 for LOCStart()
20720 struct sLOCStartRequest_MinimumIntervalBetweenPositionReports
20721 {
20722 UINT32 mMinimumTimeIntervalMilliseconds;
20723 };
20724
20725 // Structure to describe request TLV 0x14 for LOCStart()
20726 struct sLOCStartRequest_ApplicationID1
20727 {
20728 UINT8 mApplicationProviderLength;
20729
20730 // This array must be the size specified by mApplicationProviderLength
20731 // char mApplicationProvider[1];
20732 };
20733
20734 struct sLOCStartRequest_ApplicationID2
20735 {
20736 UINT8 mApplicationNameLength;
20737
20738 // This array must be the size specified by mApplicationNameLength
20739 // char mApplicationName[1];
20740 };
20741
20742 struct sLOCStartRequest_ApplicationID3
20743 {
20744 INT8 mApplicationVersionValid;
20745 UINT8 mApplicationVersionLength;
20746
20747 // This array must be the size specified by mApplicationVersionLength
20748 // char mApplicationVersion[1];
20749 };
20750
20751 struct sLOCStartRequest_ApplicationID
20752 {
20753 sLOCStartRequest_ApplicationID1 mLOCStartRequest_ApplicationID1;
20754 sLOCStartRequest_ApplicationID2 mLOCStartRequest_ApplicationID2;
20755 sLOCStartRequest_ApplicationID3 mLOCStartRequest_ApplicationID3;
20756 };
20757
20758 // Structure to describe request TLV 0x01 for LOCStop()
20759 struct sLOCStopRequest_SessionID
20760 {
20761 UINT8 mSessionID;
20762 };
20763
20764 // Structure to describe indication TLV 0x01 for LOC PositionReportIndication
20765 struct sLOCPositionReportIndication_SessionStatus
20766 {
20767 eQMILOCSessionStatus mSessionStatus;
20768 };
20769
20770 // Structure to describe indication TLV 0x10 for LOC PositionReportIndication
20771 struct sLOCPositionReportIndication_Latitude
20772 {
20773 double mLatitudeDegrees;
20774 };
20775
20776 // Structure to describe indication TLV 0x11 for LOC PositionReportIndication
20777 struct sLOCPositionReportIndication_Longitude
20778 {
20779 double mLongitudeDegrees;
20780 };
20781
20782 // Structure to describe indication TLV 0x12 for LOC PositionReportIndication
20783 struct sLOCPositionReportIndication_HorizontalUncertaintyCircular
20784 {
20785 float mHorizontalUncertaintyCircularMeters;
20786 };
20787
20788 // Structure to describe indication TLV 0x13 for LOC PositionReportIndication
20789 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMinor
20790 {
20791 float mHorizontalUncertaintyEllipticalMinorMeters;
20792 };
20793
20794 // Structure to describe indication TLV 0x14 for LOC PositionReportIndication
20795 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalMajor
20796 {
20797 float mHorizontalUncertaintyEllipticalMajorMeters;
20798 };
20799
20800 // Structure to describe indication TLV 0x15 for LOC PositionReportIndication
20801 struct sLOCPositionReportIndication_HorizontalUncertaintyEllipticalAzimuth
20802 {
20803 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
20804 };
20805
20806 // Structure to describe indication TLV 0x16 for LOC PositionReportIndication
20807 struct sLOCPositionReportIndication_HorizontalConfidence
20808 {
20809 UINT8 mHorizontalConfidencePercent;
20810 };
20811
20812 // Structure to describe indication TLV 0x17 for LOC PositionReportIndication
20813 struct sLOCPositionReportIndication_HorizontalReliability
20814 {
20815 eQMILOCReliability mHorizontalReliability;
20816 };
20817
20818 // Structure to describe indication TLV 0x18 for LOC PositionReportIndication
20819 struct sLOCPositionReportIndication_HorizontalSpeed
20820 {
20821 float mHorizontalSpeedMetersSecond;
20822 };
20823
20824 // Structure to describe indication TLV 0x19 for LOC PositionReportIndication
20825 struct sLOCPositionReportIndication_SpeedUncertainty
20826 {
20827 float mSpeedUncertaintyMetersSecond;
20828 };
20829
20830 // Structure to describe indication TLV 0x1A for LOC PositionReportIndication
20831 struct sLOCPositionReportIndication_AltitudeFromEllipsoid
20832 {
20833 float mAltitudeFromEllipsoidMeters;
20834 };
20835
20836 // Structure to describe indication TLV 0x1B for LOC PositionReportIndication
20837 struct sLOCPositionReportIndication_AltitudeFromSeaLevel
20838 {
20839 float mAltitudeFromSeaLevelMeters;
20840 };
20841
20842 // Structure to describe indication TLV 0x1C for LOC PositionReportIndication
20843 struct sLOCPositionReportIndication_VerticalUncertainty
20844 {
20845 float mVerticalUncertaintyMeters;
20846 };
20847
20848 // Structure to describe indication TLV 0x1D for LOC PositionReportIndication
20849 struct sLOCPositionReportIndication_VerticalConfidence
20850 {
20851 UINT8 mVerticalConfidencePercent;
20852 };
20853
20854 // Structure to describe indication TLV 0x1E for LOC PositionReportIndication
20855 struct sLOCPositionReportIndication_VerticalReliability
20856 {
20857 eQMILOCReliability mVerticalReliability;
20858 };
20859
20860 // Structure to describe indication TLV 0x1F for LOC PositionReportIndication
20861 struct sLOCPositionReportIndication_VerticalSpeed
20862 {
20863 float mVerticalSpeedMetersSecond;
20864 };
20865
20866 // Structure to describe indication TLV 0x20 for LOC PositionReportIndication
20867 struct sLOCPositionReportIndication_Heading
20868 {
20869 float mHeadingDegrees;
20870 };
20871
20872 // Structure to describe indication TLV 0x21 for LOC PositionReportIndication
20873 struct sLOCPositionReportIndication_HeadingUncertainty
20874 {
20875 float mHeadingUncertaintyDegrees;
20876 };
20877
20878 // Structure to describe indication TLV 0x22 for LOC PositionReportIndication
20879 struct sLOCPositionReportIndication_MagneticDeviation
20880 {
20881 float mMagneticDeviation;
20882 };
20883
20884 // Structure to describe indication TLV 0x23 for LOC PositionReportIndication
20885 struct sLOCPositionReportIndication_TechnologyUsed
20886 {
20887 bool mSatellite:1;
20888 bool mCellular:1;
20889 bool mWiFi:1;
20890 bool mSensors:1;
20891 bool mReferenceLocation:1;
20892
20893 // Padding out 27 bits
20894 UINT8 mReserved1:3;
20895 UINT8 mReserved2[3];
20896 };
20897
20898 // Structure to describe indication TLV 0x24 for LOC PositionReportIndication
20899 struct sLOCPositionReportIndication_DilutionOfPrecision
20900 {
20901 float mPositionDilutionOfPrecision;
20902 float mHorizontalDilutionOfPrecision;
20903 float mVerticalDilutionOfPrecision;
20904 };
20905
20906 // Structure to describe indication TLV 0x25 for LOC PositionReportIndication
20907 struct sLOCPositionReportIndication_UTCTimestamp
20908 {
20909 UINT64 mUTCTimestampMilliseconds;
20910 };
20911
20912 // Structure to describe indication TLV 0x26 for LOC PositionReportIndication
20913 struct sLOCPositionReportIndication_LeapSeconds
20914 {
20915 UINT8 mLeapSeconds;
20916 };
20917
20918 // Structure to describe indication TLV 0x27 for LOC PositionReportIndication
20919 struct sLOCPositionReportIndication_GPSTime
20920 {
20921 UINT16 mGPSWeeks;
20922 UINT32 mGPSTimeOfWeekMilliseconds;
20923 };
20924
20925 // Structure to describe indication TLV 0x28 for LOC PositionReportIndication
20926 struct sLOCPositionReportIndication_TimeUncertainty
20927 {
20928 float mTimeUncertaintyMilliseconds;
20929 };
20930
20931 // Structure to describe indication TLV 0x29 for LOC PositionReportIndication
20932 struct sLOCPositionReportIndication_TimeSource
20933 {
20934 eQMILOCTimeSource mTimeSource;
20935 };
20936
20937 // Structure to describe indication TLV 0x2A for LOC PositionReportIndication
20938 struct sLOCPositionReportIndication_SensorDataUsage
20939 {
20940 bool mAccelerometerUsed:1;
20941 bool mGyroUsed:1;
20942
20943 // Padding out 30 bits
20944 UINT8 mReserved1:6;
20945 UINT8 mReserved2[3];
20946
20947 bool mAidedHeading:1;
20948 bool mAidedSpeed:1;
20949 bool mAidedPosition:1;
20950 bool mAidedVelocity:1;
20951
20952 // Padding out 28 bits
20953 UINT8 mReserved3:4;
20954 UINT8 mReserved4[3];
20955 };
20956
20957 // Structure to describe indication TLV 0x2B for LOC PositionReportIndication
20958 struct sLOCPositionReportIndication_SessionFixCount
20959 {
20960 UINT32 mSessionFixCount;
20961 };
20962
20963 // Structure to describe indication TLV 0x2C for LOC PositionReportIndication
20964 struct sLOCPositionReportIndication_SatellitesUsed
20965 {
20966 UINT8 mSatellitesUsedCount;
20967
20968 // This array must be the size specified by mSatellitesUsedCount
20969 // UINT16 mSatellitesUsed[1];
20970 };
20971
20972 // Structure to describe indication TLV 0x01 for LOC GNSSSatelliteInfoIndication
20973 struct sLOCGNSSSatelliteInfoIndication_AltitudeSource
20974 {
20975 eQMILOCAltitudeAssumed mAltitudeAssumed;
20976 };
20977
20978 // Structure to describe indication TLV 0x10 for LOC GNSSSatelliteInfoIndication
20979 struct sLOCGNSSSatelliteInfoIndication_SatelliteInfo
20980 {
20981 UINT8 mSatelliteInfoCount;
20982 bool mValidSystem:1;
20983 bool mValidGNSSSatelliteID:1;
20984 bool mValidHealthStatus:1;
20985 bool mValidProcessStatus:1;
20986 bool mValidSatelliteInfoMask:1;
20987 bool mValidElevation:1;
20988 bool mValidAzimuth:1;
20989 bool mValidSignalToNoiseRatio:1;
20990
20991 // Padding out 24 bits
20992 UINT8 mReserved1[3];
20993
20994 eQMILOCSystem mSystem;
20995 UINT16 mGNSSSatelliteID;
20996 eQMILOCHealthStatus mHealthStatus;
20997 eQMILOCSatelliteStatus mSatelliteStatus;
20998 bool mHasEphemeris:1;
20999 bool mHasAlmanac:1;
21000
21001 // Padding out 6 bits
21002 UINT8 mReserved2:6;
21003
21004 float mElevationDegrees;
21005 float mAzimuthDegrees;
21006 float mSignalToNoiseRatiodBHz;
21007 };
21008
21009 // Structure to describe indication TLV 0x01 for LOC NMEAIndication
21010 struct sLOCNMEAIndication_NMEAString
21011 {
21012 // String is variable length, but must be size of the container
21013 // char mNMEAString[1];
21014 };
21015
21016 // Structure to describe request TLV 0x01 for LOCNetworkInitiated()
21017 struct sLOCNetworkInitiatedRequestIndication_NotificationType
21018 {
21019 eQMILOCNotificationType mNotificationType;
21020 };
21021
21022 // Structure to describe request TLV 0x10 for LOCNetworkInitiated()
21023 struct sLOCNetworkInitiatedRequestIndication_VxRequest1
21024 {
21025 INT8 mPositionQoSIncluded;
21026 UINT8 mPositionQoSTimeoutSeconds;
21027 UINT32 mMaxNumberOfFixes;
21028 UINT32 mTimeBetweenFixesSeconds;
21029 eQMILOCPositionMode mPosistionMode;
21030 eQMILOCEncodingScheme mEncodingScheme;
21031 UINT8 mRequestorIDLength;
21032
21033 // This array must be the size specified by mRequestorIDLength
21034 // UINT8 mRequestorID[1];
21035 };
21036
21037 struct sLOCNetworkInitiatedRequestIndication_VxRequest2
21038 {
21039 UINT16 mUserResponseTimerSeconds;
21040 };
21041
21042 struct sLOCNetworkInitiatedRequestIndication_VxRequest
21043 {
21044 sLOCNetworkInitiatedRequestIndication_VxRequest1 mLOCNetworkInitiatedRequestIndication_VxRequest1;
21045 sLOCNetworkInitiatedRequestIndication_VxRequest2 mLOCNetworkInitiatedRequestIndication_VxRequest2;
21046 };
21047
21048 // Structure to describe request TLV 0x11 for LOCNetworkInitiated()
21049 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest1
21050 {
21051 bool mValidServerInfo:1;
21052 bool mValidSessionID:1;
21053 bool mValidHash:1;
21054 bool mValidPositionMethod:1;
21055 bool mValidDataCodingScheme:1;
21056 bool mValidRequestorID:1;
21057 bool mValidClientName:1;
21058 bool mValidQualityOfPosition:1;
21059 bool mValidUserResponseTimer:1;
21060
21061 // Padding out 23 bits
21062 UINT8 mReserved1:7;
21063 UINT8 mReserved2[2];
21064
21065 bool mIPv4:1;
21066 bool mIPv6:1;
21067 bool mURL:1;
21068
21069 // Padding out 5 bits
21070 UINT8 mReserved3:5;
21071
21072 UINT32 mIPv4Address;
21073 UINT16 mIPv4Port;
21074 UINT8 mIPv6Address[16];
21075 UINT32 mIPv6Port;
21076 UINT8 mURLAddressLength;
21077
21078 // This array must be the size specified by mURLAddressLength
21079 // char mURLAddress[1];
21080 };
21081
21082 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest2
21083 {
21084 UINT8 mSUPLSessionID[4];
21085 UINT8 mSUPLHash[8];
21086 eQMILOCPosition mPositionMethod;
21087 eQMILOCDataCodingScheme mDataCodingScheme;
21088 eQMILOCFormatType mRequestorIDFormatType;
21089 UINT8 mRequestorIDFormattedStringLength;
21090
21091 // This array must be the size specified by mRequestorIDFormattedStringLength
21092 // UINT8 mRequestorIDFormattedString[1];
21093 };
21094
21095 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest3
21096 {
21097 eQMILOCFormatType mClientNameFormatType;
21098 UINT8 mClientNameFormattedStringLength;
21099
21100 // This array must be the size specified by mClientNameFormattedStringLength
21101 // UINT8 mClientNameFormattedString[1];
21102 };
21103
21104 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest4
21105 {
21106 bool mQoPHorizontalAccelerationValid:1;
21107 bool mQoPVerticalAccelerationValid:1;
21108 bool mQoPMaximumAge:1;
21109 bool mQoPDelayValid:1;
21110
21111 // Padding out 4 bits
21112 UINT8 mReserved4:4;
21113
21114 UINT8 mHorizontalAccuracyMeters;
21115 UINT8 mVerticalAccuracyMeters;
21116 UINT16 mMaximumLocationAgeSeconds;
21117 UINT8 mDelaySeconds;
21118 UINT16 mUserResponseTimerSeconds;
21119 };
21120
21121 struct sLOCNetworkInitiatedRequestIndication_SUPLRequest
21122 {
21123 sLOCNetworkInitiatedRequestIndication_SUPLRequest1 mLOCNetworkInitiatedRequestIndication_SUPLRequest1;
21124 sLOCNetworkInitiatedRequestIndication_SUPLRequest2 mLOCNetworkInitiatedRequestIndication_SUPLRequest2;
21125 sLOCNetworkInitiatedRequestIndication_SUPLRequest3 mLOCNetworkInitiatedRequestIndication_SUPLRequest3;
21126 sLOCNetworkInitiatedRequestIndication_SUPLRequest4 mLOCNetworkInitiatedRequestIndication_SUPLRequest4;
21127 };
21128
21129 // Structure to describe request TLV 0x12 for LOCNetworkInitiated()
21130 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1
21131 {
21132 bool mValidInvokeID:1;
21133 bool mValidDataCodingScheme:1;
21134 bool mValidNotificationText:1;
21135 bool mValidClientAddress:1;
21136 bool mValidLocationType:1;
21137 bool mValidRequestorID:1;
21138 bool mValidCodewordString:1;
21139 bool mValidServiceTypeMask:1;
21140 bool mValidUserResponseTImer:1;
21141
21142 // Padding out 7 bits
21143 UINT8 mReserved1:7;
21144
21145 UINT8 mInvokeID;
21146 eQMILOCDataCodingScheme mDataCodingScheme;
21147 UINT8 mNotificationTextLength;
21148
21149 // This array must be the size specified by mNotificationTextLength
21150 // UINT8 mNotificationText[1];
21151 };
21152
21153 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2
21154 {
21155 UINT8 mClientAddressLength;
21156
21157 // This array must be the size specified by mClientAddressLength
21158 // UINT8 mClientAddress[1];
21159 };
21160
21161 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3
21162 {
21163 eQMILOCLocationType mLocationType;
21164 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
21165 UINT8 mRequestorIDCodedStingLength;
21166
21167 // This array must be the size specified by mRequestorIDCodedStingLength
21168 // UINT8 mRequestorIDCodedString[1];
21169 };
21170
21171 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4
21172 {
21173 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
21174 UINT8 mCodewordStringCodedStringLength;
21175
21176 // This array must be the size specified by mCodewordStringCodedStringLength
21177 // UINT8 mCodewordStringCodedString[1];
21178 };
21179
21180 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5
21181 {
21182 UINT8 mServiceTypeID;
21183 UINT16 mUserResponseTimerSeconds;
21184 };
21185
21186 struct sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest
21187 {
21188 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest1;
21189 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest2;
21190 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest3;
21191 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest4;
21192 sLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5 mLOCNetworkInitiatedRequestIndication_UMTSControlPlaneRequest5;
21193 };
21194
21195 // Structure to describe request TLV 0x13 for LOCNetworkInitiated()
21196 struct sLOCNetworkInitiatedRequestIndication_ServiceInteractionRequest
21197 {
21198 INT8 mPositionQoSIncluded;
21199 UINT8 mPositionQoSTimeoutSeconds;
21200 UINT32 mMaxNumberOfFixes;
21201 UINT32 mTimeBetweenFixesSeconds;
21202 eQMILOCPositionMode mPosistionMode;
21203 eQMILOCEncodingScheme mEncodingScheme;
21204 UINT8 mRequestorIDLength;
21205 UINT8 mRequestorID;
21206 UINT16 mUserResponseTimerSeconds;
21207 eQMILOCServiceInteractionType mServiceInteractionType;
21208 };
21209
21210 // Structure to describe request TLV 0x14 for LOCNetworkInitiated()
21211 struct sLOCNetworkInitiatedRequestIndication_SUPLVersion2Extension
21212 {
21213 bool mWLAN:1;
21214 bool mGSM:1;
21215 bool mWCDMA:1;
21216 bool mCDMA:1;
21217 bool mHRDP:1;
21218 bool mUMB:1;
21219 bool mLTE:1;
21220 bool mWIMAX:1;
21221 bool mHISTORIC:1;
21222 bool mNONSVRV:1;
21223
21224 // Padding out 6 bits
21225 UINT8 mReserved1:6;
21226
21227 eQMILOCTriggerType mTriggerType;
21228 bool mGPS:1;
21229 bool mGLONASS:1;
21230 bool mGALILEO:1;
21231 bool mSBAS:1;
21232 bool mQZSS:1;
21233 bool mMODERNGPS:1;
21234
21235 // Padding out 10 bits
21236 UINT8 mReserved2:2;
21237 UINT8 mReserved3;
21238 };
21239
21240 // Structure to describe indication TLV 0x10 for LOC InjectTimeIndication
21241 struct sLOCInjectTimeIndication_TimeServerInfo
21242 {
21243 UINT32 mDelayThresholdMilliseconds;
21244 UINT8 mServerListLength;
21245
21246 struct sServer
21247 {
21248 UINT8 mServerURLLength;
21249
21250 // This array must be the size specified by mServerURLLength
21251 // char mServerURL[1];
21252 };
21253
21254 // This array must be the size specified by mServerListLength
21255 // sServer mServers[1];
21256 };
21257
21258 // Structure to describe indication TLV 0x01 for LOC InjectPredictedOrbitsIndication
21259 struct sLOCInjectPredictedOrbitsIndication_AllowedSize
21260 {
21261 UINT32 mMaximumFileSizeBytes;
21262 UINT32 mMaximumPartSizeBytes;
21263 };
21264
21265 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsIndication
21266 struct sLOCInjectPredictedOrbitsIndication_ServerList
21267 {
21268 UINT8 mServerListLength;
21269
21270 struct sServer
21271 {
21272 UINT8 mServerURLLength;
21273
21274 // This array must be the size specified by mServerURLLength
21275 // char mServerURL[1];
21276 };
21277
21278 // This array must be the size specified by mServerListLength
21279 // sServer mServers[1];
21280 };
21281
21282 // Structure to describe indication TLV 0x01 for LOC InjectPositionIndication
21283 struct sLOCInjectPositionIndication_Latitude
21284 {
21285 double mLatitudeDegrees;
21286 };
21287
21288 // Structure to describe indication TLV 0x03 for LOC InjectPositionIndication
21289 struct sLOCInjectPositionIndication_HorizontalUncertaintyCircular
21290 {
21291 float mHorizontalUncertaintyCircularMeters;
21292 };
21293
21294 // Structure to describe indication TLV 0x04 for LOC InjectPositionIndication
21295 struct sLOCInjectPositionIndication_UTCTimestamp
21296 {
21297 UINT64 mUTCTimestampMilliseconds;
21298 };
21299
21300 // Structure to describe indication TLV 0x01 for LOC EngineStateIndication
21301 struct sLOCEngineStateIndication_EngineState
21302 {
21303 eQMILOCEngineState mEngineState;
21304 };
21305
21306 // Structure to describe indication TLV 0x01 for LOC FixSessionStateIndication
21307 struct sLOCFixSessionStateIndication_SessionState
21308 {
21309 eQMILOCSessionState mSessionState;
21310 };
21311
21312 // Structure to describe indication TLV 0x10 for LOC FixSessionStateIndication
21313 struct sLOCFixSessionStateIndication_SessionID
21314 {
21315 UINT8 mSessionID;
21316 };
21317
21318 // Structure to describe request TLV 0x01 for LOCWiFi()
21319 struct sLOCWiFiRequestIndication_RequestType
21320 {
21321 eQMILOCRequestType mRequestType;
21322 };
21323
21324 // Structure to describe request TLV 0x10 for LOCWiFi()
21325 struct sLOCWiFiRequestIndication_TimeBetweenFixes
21326 {
21327 UINT16 mTimeBetweenFixesMilliseconds;
21328 };
21329
21330 // Structure to describe indication TLV 0x10 for LOC SensorStreamingReadyStatusIndication
21331 struct sLOCSensorStreamingReadyStatusIndication_AccelerometerReady
21332 {
21333 INT8 mReadyForInjection;
21334 UINT16 mSamplesPerBatch;
21335 UINT16 mBatchesPerSecond;
21336 };
21337
21338 // Structure to describe indication TLV 0x11 for LOC SensorStreamingReadyStatusIndication
21339 struct sLOCSensorStreamingReadyStatusIndication_GyrometerReady
21340 {
21341 INT8 mReadyForInjection;
21342 UINT16 mSamplesPerBatch;
21343 UINT16 mBatchesPerSecond;
21344 };
21345
21346 // Structure to describe request TLV 0x01 for LOCTimeSync()
21347 struct sLOCTimeSyncRequestIndication_ReferenceCounter
21348 {
21349 UINT32 mReferenceCounter;
21350 };
21351
21352 // Structure to describe indication TLV 0x01 for LOC SetSPIStreamingReportIndication
21353 struct sLOCSetSPIStreamingReportIndication_SPIRequests
21354 {
21355 INT8 mEnableSPIRequests;
21356 };
21357
21358 // Structure to describe request TLV 0x01 for LOCLocationServerConnection()
21359 struct sLOCLocationServerConnectionRequestIndication_ConnectionHandle
21360 {
21361 UINT32 mConnectionHandle;
21362 };
21363
21364 // Structure to describe request TLV 0x03 for LOCLocationServerConnection()
21365 struct sLOCLocationServerConnectionRequestIndication_WWANType
21366 {
21367 eQMILOCWWANType mWWANType;
21368 };
21369
21370 // Structure to describe indication TLV 0x10 for LOC GetServiceRevisionIndication
21371 struct sLOCGetServiceRevisionIndication_GNSSMeasurementEngineFirmwareVersion
21372 {
21373 // String is variable length, but must be size of the container
21374 // char mFirmwareVersion[1];
21375 };
21376
21377 // Structure to describe indication TLV 0x11 for LOC GetServiceRevisionIndication
21378 struct sLOCGetServiceRevisionIndication_GNSSHostedSoftwareVersion
21379 {
21380 // String is variable length, but must be size of the container
21381 // char mSoftwareVersion[1];
21382 };
21383
21384 // Structure to describe indication TLV 0x12 for LOC GetServiceRevisionIndication
21385 struct sLOCGetServiceRevisionIndication_GNSSSoftwareVersion
21386 {
21387 // String is variable length, but must be size of the container
21388 // char mSoftwareVersion[1];
21389 };
21390
21391 // Structure to describe indication TLV 0x10 for LOC GetFixCriteriaIndication
21392 struct sLOCGetFixCriteriaIndication_HorizontalAccuracy
21393 {
21394 eQMILOCHorizontalAccuracy mHorizontalAccuracy;
21395 };
21396
21397 // Structure to describe indication TLV 0x11 for LOC GetFixCriteriaIndication
21398 struct sLOCGetFixCriteriaIndication_IntermediateFixes
21399 {
21400 eQMILOCIntermediateReportState mEnableIntermediateReports;
21401 };
21402
21403 // Structure to describe indication TLV 0x12 for LOC GetFixCriteriaIndication
21404 struct sLOCGetFixCriteriaIndication_MinimumIntervalBetweenFixes
21405 {
21406 UINT32 mMinimumTimeIntervalMilliseconds;
21407 };
21408
21409 // Structure to describe indication TLV 0x13 for LOC GetFixCriteriaIndication
21410 struct sLOCGetFixCriteriaIndication_ApplicationID1
21411 {
21412 UINT8 mApplicationProviderLength;
21413
21414 // This array must be the size specified by mApplicationProviderLength
21415 // char mApplicationProvider[1];
21416 };
21417
21418 struct sLOCGetFixCriteriaIndication_ApplicationID2
21419 {
21420 UINT8 mApplicationNameLength;
21421
21422 // This array must be the size specified by mApplicationNameLength
21423 // char mApplicationName[1];
21424 };
21425
21426 struct sLOCGetFixCriteriaIndication_ApplicationID3
21427 {
21428 INT8 mApplicationVersionValid;
21429 UINT8 mApplicationVersionLength;
21430
21431 // This array must be the size specified by mApplicationVersionLength
21432 // char mApplicationVersion[1];
21433 };
21434
21435 struct sLOCGetFixCriteriaIndication_ApplicationID
21436 {
21437 sLOCGetFixCriteriaIndication_ApplicationID1 mLOCGetFixCriteriaIndication_ApplicationID1;
21438 sLOCGetFixCriteriaIndication_ApplicationID2 mLOCGetFixCriteriaIndication_ApplicationID2;
21439 sLOCGetFixCriteriaIndication_ApplicationID3 mLOCGetFixCriteriaIndication_ApplicationID3;
21440 };
21441
21442 // Structure to describe request TLV 0x01 for LOCProvideNIUserResponse()
21443 struct sLOCProvideNIUserResponseRequest_UserResponse
21444 {
21445 eQMILOCUserResponse mUserResponse;
21446 };
21447
21448 // Structure to describe request TLV 0x10 for LOCProvideNIUserResponse()
21449 struct sLOCProvideNIUserResponseRequest_VxRequest1
21450 {
21451 INT8 mPositionQoSIncluded;
21452 UINT8 mPositionQoSTimeoutSeconds;
21453 UINT32 mMaxNumberOfFixes;
21454 UINT32 mTimeBetweenFixesSeconds;
21455 eQMILOCPositionMode mPosistionMode;
21456 eQMILOCEncodingScheme mEncodingScheme;
21457 UINT8 mRequestorIDLength;
21458
21459 // This array must be the size specified by mRequestorIDLength
21460 // UINT8 mRequestorID[1];
21461 };
21462
21463 struct sLOCProvideNIUserResponseRequest_VxRequest2
21464 {
21465 UINT16 mUserResponseTimerSeconds;
21466 };
21467
21468 struct sLOCProvideNIUserResponseRequest_VxRequest
21469 {
21470 sLOCProvideNIUserResponseRequest_VxRequest1 mLOCProvideNIUserResponseRequest_VxRequest1;
21471 sLOCProvideNIUserResponseRequest_VxRequest2 mLOCProvideNIUserResponseRequest_VxRequest2;
21472 };
21473
21474 // Structure to describe request TLV 0x11 for LOCProvideNIUserResponse()
21475 struct sLOCProvideNIUserResponseRequest_SUPLRequest1
21476 {
21477 bool mValidServerInfo:1;
21478 bool mValidSessionID:1;
21479 bool mValidHash:1;
21480 bool mValidPositionMethod:1;
21481 bool mValidDataCodingScheme:1;
21482 bool mValidRequestorID:1;
21483 bool mValidClientName:1;
21484 bool mValidQualityOfPosition:1;
21485 bool mValidUserResponseTimer:1;
21486
21487 // Padding out 23 bits
21488 UINT8 mReserved1:7;
21489 UINT8 mReserved2[2];
21490
21491 bool mIPv4:1;
21492 bool mIPv6:1;
21493 bool mURL:1;
21494
21495 // Padding out 5 bits
21496 UINT8 mReserved3:5;
21497
21498 UINT32 mIPv4Address;
21499 UINT16 mIPv4Port;
21500 UINT8 mIPv6Address[16];
21501 UINT32 mIPv6Port;
21502 UINT8 mURLAddressLength;
21503
21504 // This array must be the size specified by mURLAddressLength
21505 // char mURLAddress[1];
21506 };
21507
21508 struct sLOCProvideNIUserResponseRequest_SUPLRequest2
21509 {
21510 UINT8 mSUPLSessionID[4];
21511 UINT8 mSUPLHash[8];
21512 eQMILOCPosition mPositionMethod;
21513 eQMILOCDataCodingScheme mDataCodingScheme;
21514 eQMILOCFormatType mRequestorIDFormatType;
21515 UINT8 mRequestorIDFormattedStringLength;
21516
21517 // This array must be the size specified by mRequestorIDFormattedStringLength
21518 // UINT8 mRequestorIDFormattedString[1];
21519 };
21520
21521 struct sLOCProvideNIUserResponseRequest_SUPLRequest3
21522 {
21523 eQMILOCFormatType mClientNameFormatType;
21524 UINT8 mClientNameFormattedStringLength;
21525
21526 // This array must be the size specified by mClientNameFormattedStringLength
21527 // UINT8 mClientNameFormattedString[1];
21528 };
21529
21530 struct sLOCProvideNIUserResponseRequest_SUPLRequest4
21531 {
21532 bool mQoPHorizontalAccelerationValid:1;
21533 bool mQoPVerticalAccelerationValid:1;
21534 bool mQoPMaximumAge:1;
21535 bool mQoPDelayValid:1;
21536
21537 // Padding out 4 bits
21538 UINT8 mReserved4:4;
21539
21540 UINT8 mHorizontalAccuracyMeters;
21541 UINT8 mVerticalAccuracyMeters;
21542 UINT16 mMaximumLocationAgeSeconds;
21543 UINT8 mDelaySeconds;
21544 UINT16 mUserResponseTimerSeconds;
21545 };
21546
21547 struct sLOCProvideNIUserResponseRequest_SUPLRequest
21548 {
21549 sLOCProvideNIUserResponseRequest_SUPLRequest1 mLOCProvideNIUserResponseRequest_SUPLRequest1;
21550 sLOCProvideNIUserResponseRequest_SUPLRequest2 mLOCProvideNIUserResponseRequest_SUPLRequest2;
21551 sLOCProvideNIUserResponseRequest_SUPLRequest3 mLOCProvideNIUserResponseRequest_SUPLRequest3;
21552 sLOCProvideNIUserResponseRequest_SUPLRequest4 mLOCProvideNIUserResponseRequest_SUPLRequest4;
21553 };
21554
21555 // Structure to describe request TLV 0x12 for LOCProvideNIUserResponse()
21556 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1
21557 {
21558 bool mValidInvokeID:1;
21559 bool mValidDataCodingScheme:1;
21560 bool mValidNotificationText:1;
21561 bool mValidClientAddress:1;
21562 bool mValidLocationType:1;
21563 bool mValidRequestorID:1;
21564 bool mValidCodewordString:1;
21565 bool mValidServiceTypeMask:1;
21566 bool mValidUserResponseTImer:1;
21567
21568 // Padding out 7 bits
21569 UINT8 mReserved1:7;
21570
21571 UINT8 mInvokeID;
21572 eQMILOCDataCodingScheme mDataCodingScheme;
21573 UINT8 mNotificationTextLength;
21574
21575 // This array must be the size specified by mNotificationTextLength
21576 // UINT8 mNotificationText[1];
21577 };
21578
21579 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2
21580 {
21581 UINT8 mClientAddressLength;
21582
21583 // This array must be the size specified by mClientAddressLength
21584 // UINT8 mClientAddress[1];
21585 };
21586
21587 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3
21588 {
21589 eQMILOCLocationType mLocationType;
21590 eQMILOCDataCodingScheme mRequestorIDDataCodingScheme;
21591 UINT8 mRequestorIDCodedStingLength;
21592
21593 // This array must be the size specified by mRequestorIDCodedStingLength
21594 // UINT8 mRequestorIDCodedString[1];
21595 };
21596
21597 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4
21598 {
21599 eQMILOCDataCodingScheme mCodewordStringDataCodingScheme;
21600 UINT8 mCodewordStringCodedStringLength;
21601
21602 // This array must be the size specified by mCodewordStringCodedStringLength
21603 // UINT8 mCodewordStringCodedString[1];
21604 };
21605
21606 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5
21607 {
21608 UINT8 mServiceTypeID;
21609 UINT16 mUserResponseTimerSeconds;
21610 };
21611
21612 struct sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest
21613 {
21614 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest1;
21615 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest2;
21616 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest3;
21617 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest4;
21618 sLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5 mLOCProvideNIUserResponseRequest_UMTSControlPlaneRequest5;
21619 };
21620
21621 // Structure to describe request TLV 0x13 for LOCProvideNIUserResponse()
21622 struct sLOCProvideNIUserResponseRequest_ServiceInteractionRequest
21623 {
21624 INT8 mPositionQoSIncluded;
21625 UINT8 mPositionQoSTimeoutSeconds;
21626 UINT32 mMaxNumberOfFixes;
21627 UINT32 mTimeBetweenFixesSeconds;
21628 eQMILOCPositionMode mPosistionMode;
21629 eQMILOCEncodingScheme mEncodingScheme;
21630 UINT8 mRequestorIDLength;
21631 UINT8 mRequestorID;
21632 UINT16 mUserResponseTimerSeconds;
21633 eQMILOCServiceInteractionType mServiceInteractionType;
21634 };
21635
21636 // Structure to describe request TLV 0x14 for LOCProvideNIUserResponse()
21637 struct sLOCProvideNIUserResponseRequest_SUPLVersion2Extension
21638 {
21639 bool mWLAN:1;
21640 bool mGSM:1;
21641 bool mWCDMA:1;
21642 bool mCDMA:1;
21643 bool mHRDP:1;
21644 bool mUMB:1;
21645 bool mLTE:1;
21646 bool mWIMAX:1;
21647 bool mHISTORIC:1;
21648 bool mNONSVRV:1;
21649
21650 // Padding out 6 bits
21651 UINT8 mReserved1:6;
21652
21653 eQMILOCTriggerType mTriggerType;
21654 bool mGPS:1;
21655 bool mGLONASS:1;
21656 bool mGALILEO:1;
21657 bool mSBAS:1;
21658 bool mQZSS:1;
21659 bool mMODERNGPS:1;
21660
21661 // Padding out 10 bits
21662 UINT8 mReserved2:2;
21663 UINT8 mReserved3;
21664 };
21665
21666 // Structure to describe request TLV 0x01 for LOCInjectPredictedOrbitsData()
21667 struct sLOCInjectPredictedOrbitsDataRequest_TotalSize
21668 {
21669 UINT32 mTotalSize;
21670 };
21671
21672 // Structure to describe request TLV 0x03 for LOCInjectPredictedOrbitsData()
21673 struct sLOCInjectPredictedOrbitsDataRequest_PartNumber
21674 {
21675 UINT16 mPartNumber;
21676 };
21677
21678 // Structure to describe request TLV 0x04 for LOCInjectPredictedOrbitsData()
21679 struct sLOCInjectPredictedOrbitsDataRequest_PartData
21680 {
21681 UINT16 mPartDataLength;
21682
21683 // This array must be the size specified by mPartDataLength
21684 // UINT8 mPartData[1];
21685 };
21686
21687 // Structure to describe request TLV 0x10 for LOCInjectPredictedOrbitsData()
21688 struct sLOCInjectPredictedOrbitsDataRequest_FormatType
21689 {
21690 eQMILOCOrbitsFormatType mOrbitsFormatType;
21691 };
21692
21693 // Structure to describe indication TLV 0x10 for LOC InjectPredictedOrbitsDataIndication
21694 struct sLOCInjectPredictedOrbitsDataIndication_PartNumber
21695 {
21696 UINT16 mPartNumber;
21697 };
21698
21699 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataSourceIndication
21700 struct sLOCGetPredictedOrbitsDataSourceIndication_AllowedSizes
21701 {
21702 UINT32 mMaximumFileSizeBytes;
21703 UINT32 mMaximumPartSizeBytes;
21704 };
21705
21706 // Structure to describe indication TLV 0x11 for LOC GetPredictedOrbitsDataSourceIndication
21707 struct sLOCGetPredictedOrbitsDataSourceIndication_ServerList
21708 {
21709 UINT8 mServerListLength;
21710
21711 struct sServer
21712 {
21713 UINT8 mServerURLLength;
21714
21715 // This array must be the size specified by mServerURLLength
21716 // char mServerURL[1];
21717 };
21718
21719 // This array must be the size specified by mServerListLength
21720 // sServer mServers[1];
21721 };
21722
21723 // Structure to describe indication TLV 0x10 for LOC GetPredictedOrbitsDataValidityIndication
21724 struct sLOCGetPredictedOrbitsDataValidityIndication_ValidityInfo
21725 {
21726 UINT64 mStartTimeInUTC;
21727 UINT16 mDurationHours;
21728 };
21729
21730 // Structure to describe request TLV 0x01 for LOCInjectUTCTime()
21731 struct sLOCInjectUTCTimeRequest_UTCTime
21732 {
21733 UINT64 mUTCTimestampMilliseconds;
21734 };
21735
21736 // Structure to describe request TLV 0x10 for LOCInjectPosition()
21737 struct sLOCInjectPositionRequest_Latitude
21738 {
21739 double mLatitudeDegrees;
21740 };
21741
21742 // Structure to describe request TLV 0x11 for LOCInjectPosition()
21743 struct sLOCInjectPositionRequest_Longitude
21744 {
21745 double mLongitudeDegrees;
21746 };
21747
21748 // Structure to describe request TLV 0x12 for LOCInjectPosition()
21749 struct sLOCInjectPositionRequest_HorizontalUncertaintyCircular
21750 {
21751 float mHorizontalUncertaintyCircularMeters;
21752 };
21753
21754 // Structure to describe request TLV 0x13 for LOCInjectPosition()
21755 struct sLOCInjectPositionRequest_HorizontalConfidence
21756 {
21757 UINT8 mHorizontalConfidencePercent;
21758 };
21759
21760 // Structure to describe request TLV 0x14 for LOCInjectPosition()
21761 struct sLOCInjectPositionRequest_HorizontalReliability
21762 {
21763 eQMILOCReliability mHorizontalReliability;
21764 };
21765
21766 // Structure to describe request TLV 0x15 for LOCInjectPosition()
21767 struct sLOCInjectPositionRequest_AltitudeFromEllipsoid
21768 {
21769 float mAltitudeFromEllipsoidMeters;
21770 };
21771
21772 // Structure to describe request TLV 0x16 for LOCInjectPosition()
21773 struct sLOCInjectPositionRequest_AltitudeFromSeaLevel
21774 {
21775 float mAltitudeFromSeaLevelMeters;
21776 };
21777
21778 // Structure to describe request TLV 0x17 for LOCInjectPosition()
21779 struct sLOCInjectPositionRequest_VerticalUncertainty
21780 {
21781 float mVerticalUncertaintyMeters;
21782 };
21783
21784 // Structure to describe request TLV 0x18 for LOCInjectPosition()
21785 struct sLOCInjectPositionRequest_VerticalConfidence
21786 {
21787 UINT8 mVerticalConfidencePercent;
21788 };
21789
21790 // Structure to describe request TLV 0x19 for LOCInjectPosition()
21791 struct sLOCInjectPositionRequest_VerticalReliability
21792 {
21793 eQMILOCReliability mVerticalReliability;
21794 };
21795
21796 // Structure to describe request TLV 0x1A for LOCInjectPosition()
21797 struct sLOCInjectPositionRequest_AltitudeSource
21798 {
21799 eQMILOCAltitudeSource mAltitudeSource;
21800 eQMILOCLinkage mLinkage;
21801 eQMILOCCoverage mCoverage;
21802 };
21803
21804 // Structure to describe request TLV 0x1B for LOCInjectPosition()
21805 struct sLOCInjectPositionRequest_UTCTimestamp
21806 {
21807 UINT64 mUTCTimestampMilliseconds;
21808 };
21809
21810 // Structure to describe request TLV 0x1C for LOCInjectPosition()
21811 struct sLOCInjectPositionRequest_PositionAge
21812 {
21813 UINT32 mAgeTimestampMilliseconds;
21814 };
21815
21816 // Structure to describe request TLV 0x1D for LOCInjectPosition()
21817 struct sLOCInjectPositionRequest_PositionSource
21818 {
21819 eQMILOCPositionSource mPositionSource;
21820 };
21821
21822 // Structure to describe request TLV 0x01 for LOCSetEngineLock()
21823 struct sLOCSetEngineLockRequest_LockType
21824 {
21825 eQMILOCLockType mLockType;
21826 };
21827
21828 // Structure to describe indication TLV 0x10 for LOC GetEngineLockIndication
21829 struct sLOCGetEngineLockIndication_LockType
21830 {
21831 eQMILOCLockType mLockType;
21832 };
21833
21834 // Structure to describe request TLV 0x01 for LOCSetSBASConfig()
21835 struct sLOCSetSBASConfigRequest_SBASConfig
21836 {
21837 INT8 mSBASEnabled;
21838 };
21839
21840 // Structure to describe response TLV 0x10 for LOCGetSBASConfig()
21841 struct sLOCGetSBASConfigResponse_SBASConfig
21842 {
21843 INT8 mSBASEnabled;
21844 };
21845
21846 // Structure to describe request TLV 0x01 for LOCSetNMEATypes()
21847 struct sLOCSetNMEATypesRequest_SentenceTypes
21848 {
21849 bool mGGASentence:1;
21850 bool mRMCSentence:1;
21851 bool mGSVSentence:1;
21852 bool mGSASentence:1;
21853 bool mVTGSentence:1;
21854 bool mPQXFISentence:1;
21855 bool mPSTISSentence:1;
21856
21857 // Padding out 25 bits
21858 UINT8 mReserved1:1;
21859 UINT8 mReserved2[3];
21860 };
21861
21862 // Structure to describe indication TLV 0x10 for LOC GetNMEATypesIndication
21863 struct sLOCGetNMEATypesIndication_SentenceType
21864 {
21865 bool mGGASentence:1;
21866 bool mRMCSentence:1;
21867 bool mGSVSentence:1;
21868 bool mGSASentence:1;
21869 bool mVTGSentence:1;
21870 bool mPQXFISentence:1;
21871 bool mPSTISSentence:1;
21872
21873 // Padding out 25 bits
21874 UINT8 mReserved1:1;
21875 UINT8 mReserved2[3];
21876 };
21877
21878 // Structure to describe request TLV 0x01 for LOCSetLowPowerMode()
21879 struct sLOCSetLowPowerModeRequest_EnableLPM
21880 {
21881 INT8 mEnableLowPowerMode;
21882 };
21883
21884 // Structure to describe indication TLV 0x10 for LOC GetLowPowerModeIndication
21885 struct sLOCGetLowPowerModeIndication_EnableLPM
21886 {
21887 INT8 mEnableLowPowerMode;
21888 };
21889
21890 // Structure to describe request TLV 0x01 for LOCSetLocationServer()
21891 struct sLOCSetLocationServerRequest_ServerType
21892 {
21893 eQMILOCLocationServerType mServerType;
21894 };
21895
21896 // Structure to describe request TLV 0x10 for LOCSetLocationServer()
21897 struct sLOCSetLocationServerRequest_IPv4Address
21898 {
21899 UINT32 mIPv4Address;
21900 UINT16 mIPv4Port;
21901 };
21902
21903 // Structure to describe request TLV 0x11 for LOCSetLocationServer()
21904 struct sLOCSetLocationServerRequest_IPv6Address
21905 {
21906 UINT8 mIPv6Address[16];
21907 UINT32 mIPv6Port;
21908 };
21909
21910 // Structure to describe request TLV 0x12 for LOCSetLocationServer()
21911 struct sLOCSetLocationServerRequest_URLAddress
21912 {
21913 // String is variable length, but must be size of the container
21914 // char mURLAddress[1];
21915 };
21916
21917 // Structure to describe request TLV 0x01 for LOCGetLocationServer()
21918 struct sLOCGetLocationServerRequest_ServerType
21919 {
21920 eQMILOCLocationServerType mServerType;
21921 };
21922
21923 // Structure to describe request TLV 0x10 for LOCGetLocationServer()
21924 struct sLOCGetLocationServerRequest_AddressType
21925 {
21926 bool mIPv4:1;
21927 bool mIPv6:1;
21928 bool mURL:1;
21929
21930 // Padding out 5 bits
21931 UINT8 mReserved1:5;
21932 };
21933
21934 // Structure to describe indication TLV 0x10 for LOC GetLocationServerIndication
21935 struct sLOCGetLocationServerIndication_IPv4Address
21936 {
21937 UINT32 mIPv4Address;
21938 UINT16 mIPv4Port;
21939 };
21940
21941 // Structure to describe indication TLV 0x11 for LOC GetLocationServerIndication
21942 struct sLOCGetLocationServerIndication_IPv6Address
21943 {
21944 UINT8 mIPv6Address[16];
21945 UINT32 mIPv6Port;
21946 };
21947
21948 // Structure to describe indication TLV 0x12 for LOC GetLocationServerIndication
21949 struct sLOCGetLocationServerIndication_URLAddress
21950 {
21951 // String is variable length, but must be size of the container
21952 // char mURLAddress[1];
21953 };
21954
21955 // Structure to describe request TLV 0x01 for LOCDeleteAssistData()
21956 struct sLOCDeleteAssistDataRequest_DeleteAll
21957 {
21958 INT8 mDeleteAll;
21959 };
21960
21961 // Structure to describe request TLV 0x10 for LOCDeleteAssistData()
21962 struct sLOCDeleteAssistDataRequest_DeleteSatelliteInfo
21963 {
21964 UINT8 mSatelliteInfoCount;
21965
21966 struct sSatelliteInfo
21967 {
21968 UINT16 mGNSSSatelliteID;
21969 eQMILOCSystem mSystem;
21970 bool mDeleteEphemeris:1;
21971 bool mDeleteAlmanac:1;
21972
21973 // Padding out 6 bits
21974 UINT8 mReserved1:6;
21975 };
21976
21977 // This array must be the size specified by mSatelliteInfoCount
21978 // sSatelliteInfo mSatelliteInfos[1];
21979 };
21980
21981 // Structure to describe request TLV 0x11 for LOCDeleteAssistData()
21982 struct sLOCDeleteAssistDataRequest_DeleteGNSData
21983 {
21984 bool mDeleteGPSSatelliteDirectory:1;
21985 bool mDeleteGPSSatelliteSteering:1;
21986 bool mDeleteGPSTime:1;
21987 bool mDeleteGPSAlmanacCorrection:1;
21988 bool mDeleteGLOSatelliteDirectory:1;
21989 bool mDeleteGLOSatelliteSteering:1;
21990 bool mDeleteGLOTime:1;
21991 bool mDeleteGLOAlmanacCorrection:1;
21992 bool mDeleteSBASSatelliteDirectory:1;
21993 bool mDeleteSBASSatelliteSteering:1;
21994 bool mDeletePosition:1;
21995 bool mDeleteTime:1;
21996 bool mDeleteIONO:1;
21997 bool mDeleteUTCTimestamp:1;
21998 bool mDeleteHealth:1;
21999 bool mDeleteSAData:1;
22000 bool mDeleteRTI:1;
22001 bool mDeleteSatelliteNoExist:1;
22002 bool mDeleteFrequencyBiasEstimate:1;
22003
22004 // Padding out 45 bits
22005 UINT8 mReserved1:5;
22006 UINT8 mReserved2[5];
22007 };
22008
22009 // Structure to describe request TLV 0x12 for LOCDeleteAssistData()
22010 struct sLOCDeleteAssistDataRequest_DeleteCellDatabase
22011 {
22012 bool mDeletePosition:1;
22013 bool mDeleteLatestGPSPosition:1;
22014 bool mDeleteOTAPosition:1;
22015 bool mDeleteEXTReferencePosition:1;
22016 bool mDeleteTimeTag:1;
22017 bool mDeleteCellID:1;
22018 bool mDeleteCachedCellID:1;
22019 bool mDeleteLastServerCell:1;
22020 bool mDeleteCurrentServerCell:1;
22021 bool mDeleteNeighborInfo:1;
22022
22023 // Padding out 22 bits
22024 UINT8 mReserved1:6;
22025 UINT8 mReserved2[2];
22026 };
22027
22028 // Structure to describe request TLV 0x13 for LOCDeleteAssistData()
22029 struct sLOCDeleteAssistDataRequest_DeleteClockInfo
22030 {
22031 bool mDeleteTimeEstimate:1;
22032 bool mDeleteFrequencyEstimate:1;
22033 bool mDeleteWeekNumber:1;
22034 bool mDeleteRTCTime:1;
22035 bool mDeleteTimeTransfer:1;
22036 bool mDeleteGPSTimeEstimate:1;
22037 bool mDeleteGLOTimeEstimate:1;
22038 bool mDeleteGLODayNumber:1;
22039 bool mDeleteGLOYearNumber:1;
22040 bool mDeleteGLORFGroupDelay:1;
22041 bool mDeleteDisableTT:1;
22042
22043 // Padding out 21 bits
22044 UINT8 mReserved1:5;
22045 UINT8 mReserved2[2];
22046 };
22047
22048 // Structure to describe request TLV 0x01 for LOCSetXTRATSessionControl()
22049 struct sLOCSetXTRATSessionControlRequest_EnableXTRAT
22050 {
22051 INT8 mEnableXTRAT;
22052 };
22053
22054 // Structure to describe indication TLV 0x10 for LOC GetXTRATSessionControlIndication
22055 struct sLOCGetXTRATSessionControlIndication_EnableXTRAT
22056 {
22057 INT8 mEnableXTRAT;
22058 };
22059
22060 // Structure to describe request TLV 0x10 for LOCInjectWiFiPosition()
22061 struct sLOCInjectWiFiPositionRequest_Time
22062 {
22063 UINT32 mWiFiPositionTime;
22064 };
22065
22066 // Structure to describe request TLV 0x11 for LOCInjectWiFiPosition()
22067 struct sLOCInjectWiFiPositionRequest_WiFiPosition
22068 {
22069 double mLatitudeDegrees;
22070 double mLongitudeDegrees;
22071 UINT16 mHEPEMeters;
22072 UINT8 mNumberOfAccessPointsUsed;
22073 eQMILOCWiFiFixErrorCode mFixErrorCode;
22074 };
22075
22076 // Structure to describe request TLV 0x12 for LOCInjectWiFiPosition()
22077 struct sLOCInjectWiFiPositionRequest_AccessPointInformation
22078 {
22079 UINT8 mNumberOfAccessPoints;
22080
22081 struct sAccessPointInfo
22082 {
22083 UINT8 mMACAddress[6];
22084 INT32 mRSSIdBm;
22085 UINT16 mChannel;
22086 bool mBeingUsed:1;
22087 bool mHiddenSSID:1;
22088 bool mPrivate:1;
22089 bool mInfrastructureMode:1;
22090
22091 // Padding out 4 bits
22092 UINT8 mReserved1:4;
22093 };
22094
22095 // This array must be the size specified by mNumberOfAccessPoints
22096 // sAccessPointInfo mAccessPointInfos[1];
22097 };
22098
22099 // Structure to describe request TLV 0x13 for LOCInjectWiFiPosition()
22100 struct sLOCInjectWiFiPositionRequest_HorizontalReliability
22101 {
22102 eQMILOCReliability mHorizontalReliability;
22103 };
22104
22105 // Structure to describe request TLV 0x01 for LOCProvideWiFiStatus()
22106 struct sLOCProvideWiFiStatusRequest_WiFiStatus
22107 {
22108 eQMILOCWiFiStatus mWiFiStatus;
22109 };
22110
22111 // Structure to describe indication TLV 0x10 for LOC GetRegisteredEventsIndication
22112 struct sLOCGetRegisteredEventsIndication_RegistrationMask
22113 {
22114 bool mPositionReport:1;
22115 bool mGNSSSatelliteInfo:1;
22116 bool mNMEA:1;
22117 bool mNINotifyVerifyRequest:1;
22118 bool mInjectTimeRequest:1;
22119 bool mInjectPredictedOrbitsRequest:1;
22120 bool mInjectPositionRequest:1;
22121 bool mEngineState:1;
22122 bool mFixSessionState:1;
22123 bool mWiFiRequest:1;
22124 bool mSensorStreamingReadyStatus:1;
22125 bool mTimeSyncRequest:1;
22126 bool mSetSPIStreamingReport:1;
22127 bool mLocationServerConnectionRequest:1;
22128 bool mNIGeofenceNotification:1;
22129 bool mGeofenceGeneralAlert:1;
22130 bool mGeofenceBreachNotification:1;
22131
22132 // Padding out 47 bits
22133 UINT8 mReserved1:7;
22134 UINT8 mReserved2[5];
22135 };
22136
22137 // Structure to describe request TLV 0x01 for LOCSetOperationMode()
22138 struct sLOCSetOperationModeRequest_OperationMode
22139 {
22140 eQMILOCOperationMode mOperationMode;
22141 };
22142
22143 // Structure to describe indication TLV 0x10 for LOC GetOperationModeIndication
22144 struct sLOCGetOperationModeIndication_OperationMode
22145 {
22146 eQMILOCOperationMode mOperationMode;
22147 };
22148
22149 // Structure to describe request TLV 0x01 for LOCSetSPIStatus()
22150 struct sLOCSetSPIStatusRequest_StationaryStatus
22151 {
22152 INT8 mDeviceIsStationary;
22153 };
22154
22155 // Structure to describe request TLV 0x10 for LOCSetSPIStatus()
22156 struct sLOCSetSPIStatusRequest_Confidence
22157 {
22158 UINT8 mStationaryConfidence;
22159 };
22160
22161 // Structure to describe request TLV 0x10 for LOCInjectSensorData()
22162 struct sLOCInjectSensorDataRequest_OpaqueIdentifier
22163 {
22164 UINT32 mOpaqueIdentifier;
22165 };
22166
22167 // Structure to describe request TLV 0x11 for LOCInjectSensorData()
22168 struct sLOCInjectSensorDataRequest_AccelerometerData
22169 {
22170 UINT32 mTimeOfFirstSampleMilliseconds;
22171 bool mSignReversal:1;
22172 bool mSensorTimeIsModemTime:1;
22173
22174 // Padding out 6 bits
22175 UINT8 mReserved1:6;
22176
22177 UINT8 mSensorDataLength;
22178
22179 struct sSensorData
22180 {
22181 UINT16 mTimeOffsetMilliseconds;
22182 float mXAxis;
22183 float mYAxis;
22184 float mZAxis;
22185 };
22186
22187 // This array must be the size specified by mSensorDataLength
22188 // sSensorData mSensorDatas[1];
22189 };
22190
22191 // Structure to describe request TLV 0x12 for LOCInjectSensorData()
22192 struct sLOCInjectSensorDataRequest_GyrometerData
22193 {
22194 UINT32 mTimeOfFirstSampleMilliseconds;
22195 bool mSignReversal:1;
22196 bool mSensorTimeIsModemTime:1;
22197
22198 // Padding out 6 bits
22199 UINT8 mReserved1:6;
22200
22201 UINT8 mSensorDataLength;
22202
22203 struct sSensorData
22204 {
22205 UINT16 mTimeOffsetMilliseconds;
22206 float mXAxis;
22207 float mYAxis;
22208 float mZAxis;
22209 };
22210
22211 // This array must be the size specified by mSensorDataLength
22212 // sSensorData mSensorDatas[1];
22213 };
22214
22215 // Structure to describe indication TLV 0x10 for LOC InjectSensorDataIndication
22216 struct sLOCInjectSensorDataIndication_OpaqueIdentifier
22217 {
22218 UINT32 mOpaqueIdentifier;
22219 };
22220
22221 // Structure to describe indication TLV 0x11 for LOC InjectSensorDataIndication
22222 struct sLOCInjectSensorDataIndication_AccelerometerSampleAccepted
22223 {
22224 INT8 mAccelerometerSampleAccepted;
22225 };
22226
22227 // Structure to describe indication TLV 0x12 for LOC InjectSensorDataIndication
22228 struct sLOCInjectSensorDataIndication_GyrometerSamplesAccepted
22229 {
22230 INT8 mGyrometerSamplesAccepted;
22231 };
22232
22233 // Structure to describe request TLV 0x01 for LOCInjectTimeSyncData()
22234 struct sLOCInjectTimeSyncDataRequest_ReferenceCounter
22235 {
22236 UINT32 mReferenceCounter;
22237 };
22238
22239 // Structure to describe request TLV 0x03 for LOCInjectTimeSyncData()
22240 struct sLOCInjectTimeSyncDataRequest_SensorTransmitTime
22241 {
22242 UINT32 mProcessTXTimeMilliseconds;
22243 };
22244
22245 // Structure to describe request TLV 0x01 for LOCSetCradleMountConfig()
22246 struct sLOCSetCradleMountConfigRequest_State
22247 {
22248 eQMILOCCradleMountState mCradleMountState;
22249 };
22250
22251 // Structure to describe request TLV 0x10 for LOCSetCradleMountConfig()
22252 struct sLOCSetCradleMountConfigRequest_Confidence
22253 {
22254 UINT8 mCradleMountConfidence;
22255 };
22256
22257 // Structure to describe indication TLV 0x10 for LOC GetCradleMountConfigIndication
22258 struct sLOCGetCradleMountConfigIndication_State
22259 {
22260 eQMILOCCradleMountState mCradleMountState;
22261 };
22262
22263 // Structure to describe indication TLV 0x11 for LOC GetCradleMountConfigIndication
22264 struct sLOCGetCradleMountConfigIndication_Confidence
22265 {
22266 UINT8 mCradleMountConfidence;
22267 };
22268
22269 // Structure to describe request TLV 0x01 for LOCSetExternalPowerConfig()
22270 struct sLOCSetExternalPowerConfigRequest_PowerState
22271 {
22272 eQMILOCPowerState mPowerState;
22273 };
22274
22275 // Structure to describe indication TLV 0x10 for LOC GetExternalPowerConfigIndication
22276 struct sLOCGetExternalPowerConfigIndication_PowerState
22277 {
22278 eQMILOCPowerState mPowerState;
22279 };
22280
22281 // Structure to describe request TLV 0x01 for LOCProvideConnectionStatus()
22282 struct sLOCProvideConnectionStatusRequest_ConnectionHandle
22283 {
22284 UINT32 mConnectionHandle;
22285 };
22286
22287 // Structure to describe request TLV 0x03 for LOCProvideConnectionStatus()
22288 struct sLOCProvideConnectionStatusRequest_ConnectionStatus
22289 {
22290 eQMILOCConnectionStatus mConnectionStatus;
22291 };
22292
22293 // Structure to describe request TLV 0x10 for LOCProvideConnectionStatus()
22294 struct sLOCProvideConnectionStatusRequest_APNProfile
22295 {
22296 eQMILOCPDNType mPDNType;
22297 UINT8 mAPNNameLength;
22298
22299 // This array must be the size specified by mAPNNameLength
22300 // char mAPNName[1];
22301 };
22302
22303 // Structure to describe request TLV 0x10 for LOCSetProtocolConfigParameters()
22304 struct sLOCSetProtocolConfigParametersRequest_SUPLSecurity
22305 {
22306 INT8 mSUPLSecurityEnabled;
22307 };
22308
22309 // Structure to describe request TLV 0x11 for LOCSetProtocolConfigParameters()
22310 struct sLOCSetProtocolConfigParametersRequest_VXVersion
22311 {
22312 eQMILOCVXVersion mVXVersion;
22313 };
22314
22315 // Structure to describe request TLV 0x12 for LOCSetProtocolConfigParameters()
22316 struct sLOCSetProtocolConfigParametersRequest_SUPLVersion
22317 {
22318 eQMILOCSUPLVersion mSUPLVersion;
22319 };
22320
22321 // Structure to describe request TLV 0x13 for LOCSetProtocolConfigParameters()
22322 struct sLOCSetProtocolConfigParametersRequest_LPPConfiguration
22323 {
22324 bool mEnableUserPlane:1;
22325 bool mEnableControlPlane:1;
22326
22327 // Padding out 30 bits
22328 UINT8 mReserved1:6;
22329 UINT8 mReserved2[3];
22330 };
22331
22332 // Structure to describe indication TLV 0x10 for LOC SetProtocolConfigParametersIndication
22333 struct sLOCSetProtocolConfigParametersIndication_FailedParameters
22334 {
22335 bool mSUPLSecurity:1;
22336 bool mVXVersion:1;
22337 bool mSUPLVersion:1;
22338
22339 // Padding out 61 bits
22340 UINT8 mReserved1:5;
22341 UINT8 mReserved2[7];
22342 };
22343
22344 // Structure to describe request TLV 0x01 for LOCGetProtocolConfigParameters()
22345 struct sLOCGetProtocolConfigParametersRequest_ConfigParameters
22346 {
22347 bool mSUPLSecurity:1;
22348 bool mVXVersion:1;
22349 bool mSUPLVersion:1;
22350
22351 // Padding out 61 bits
22352 UINT8 mReserved1:5;
22353 UINT8 mReserved2[7];
22354 };
22355
22356 // Structure to describe indication TLV 0x10 for LOC GetProtocolConfigParametersIndication
22357 struct sLOCGetProtocolConfigParametersIndication_SUPLSecurity
22358 {
22359 INT8 mSUPLSecurityEnabled;
22360 };
22361
22362 // Structure to describe indication TLV 0x11 for LOC GetProtocolConfigParametersIndication
22363 struct sLOCGetProtocolConfigParametersIndication_VXVersion
22364 {
22365 eQMILOCVXVersion mVXVersion;
22366 };
22367
22368 // Structure to describe indication TLV 0x12 for LOC GetProtocolConfigParametersIndication
22369 struct sLOCGetProtocolConfigParametersIndication_SUPLVersion
22370 {
22371 eQMILOCSUPLVersion mSUPLVersion;
22372 };
22373
22374 // Structure to describe indication TLV 0x13 for LOC GetProtocolConfigParametersIndication
22375 struct sLOCGetProtocolConfigParametersIndication_LPPConfiguration
22376 {
22377 bool mEnableUserPlane:1;
22378 bool mEnableControlPlane:1;
22379
22380 // Padding out 30 bits
22381 UINT8 mReserved1:6;
22382 UINT8 mReserved2[3];
22383 };
22384
22385 // Structure to describe request TLV 0x10 for LOCSetSensorControlConfig()
22386 struct sLOCSetSensorControlConfigRequest_SensorUsage
22387 {
22388 eQMILOCSensorUsage mSensorUsage;
22389 };
22390
22391 // Structure to describe indication TLV 0x10 for LOC GetSensorControlConfigIndication
22392 struct sLOCGetSensorControlConfigIndication_SensorUsage
22393 {
22394 eQMILOCSensorUsage mSensorUsage;
22395 };
22396
22397 // Structure to describe request TLV 0x10 for LOCSetSensorProperties()
22398 struct sLOCSetSensorPropertiesRequest_GyroBiasVariance
22399 {
22400 float mGyroBiasVariance;
22401 };
22402
22403 // Structure to describe request TLV 0x11 for LOCSetSensorProperties()
22404 struct sLOCSetSensorPropertiesRequest_VelocityRWSD
22405 {
22406 float mVelocityRandomWalkSpectralDensity;
22407 };
22408
22409 // Structure to describe request TLV 0x12 for LOCSetSensorProperties()
22410 struct sLOCSetSensorPropertiesRequest_AccelerationRWSD
22411 {
22412 float mAccelerationRandomWalkSpectralDensity;
22413 };
22414
22415 // Structure to describe request TLV 0x13 for LOCSetSensorProperties()
22416 struct sLOCSetSensorPropertiesRequest_AngleRWSD
22417 {
22418 float mAngleRandomWalkSpectralDensity;
22419 };
22420
22421 // Structure to describe request TLV 0x14 for LOCSetSensorProperties()
22422 struct sLOCSetSensorPropertiesRequest_RateRWSD
22423 {
22424 float mRateRandomWalkSpectralDensity;
22425 };
22426
22427 // Structure to describe indication TLV 0x10 for LOC SetSensorPropertiesIndication
22428 struct sLOCSetSensorPropertiesIndication_Failures
22429 {
22430 bool mGyroBiasVariance:1;
22431 bool mVelocityRandomWalkSpectralDensity:1;
22432 bool mAccelerationRandomWalkSpectralDensity:1;
22433 bool mAngleRandomWalkSpectralDensity:1;
22434 bool mRateRandomWalkSpectralDensity:1;
22435
22436 // Padding out 27 bits
22437 UINT8 mReserved1:3;
22438 UINT8 mReserved2[3];
22439 };
22440
22441 // Structure to describe request TLV 0x01 for LOCGetSensorProperties()
22442 struct sLOCGetSensorPropertiesRequest_Properties
22443 {
22444 bool mGyroBiasVariance:1;
22445 bool mVelocityRandomWalkSpectralDensity:1;
22446 bool mAccelerationRandomWalkSpectralDensity:1;
22447 bool mAngleRandomWalkSpectralDensity:1;
22448 bool mRateRandomWalkSpectralDensity:1;
22449
22450 // Padding out 27 bits
22451 UINT8 mReserved1:3;
22452 UINT8 mReserved2[3];
22453 };
22454
22455 // Structure to describe indication TLV 0x10 for LOC GetSensorPropertiesIndication
22456 struct sLOCGetSensorPropertiesIndication_GyroBiasVariance
22457 {
22458 float mGyroBiasVariance;
22459 };
22460
22461 // Structure to describe indication TLV 0x11 for LOC GetSensorPropertiesIndication
22462 struct sLOCGetSensorPropertiesIndication_VelocityRWSD
22463 {
22464 float mVelocityRandomWalkSpectralDensity;
22465 };
22466
22467 // Structure to describe indication TLV 0x12 for LOC GetSensorPropertiesIndication
22468 struct sLOCGetSensorPropertiesIndication_AccelerationRWSD
22469 {
22470 float mAccelerationRandomWalkSpectralDensity;
22471 };
22472
22473 // Structure to describe indication TLV 0x13 for LOC GetSensorPropertiesIndication
22474 struct sLOCGetSensorPropertiesIndication_AngleRWSD
22475 {
22476 float mAngleRandomWalkSpectralDensity;
22477 };
22478
22479 // Structure to describe indication TLV 0x14 for LOC GetSensorPropertiesIndication
22480 struct sLOCGetSensorPropertiesIndication_RateRWSD
22481 {
22482 float mRateRandomWalkSpectralDensity;
22483 };
22484
22485 // Structure to describe request TLV 0x10 for LOCSetSensorPerformanceConfig()
22486 struct sLOCSetSensorPerformanceConfigRequest_ControlMode
22487 {
22488 eQMILOCControlMode mControlMode;
22489 };
22490
22491 // Structure to describe request TLV 0x11 for LOCSetSensorPerformanceConfig()
22492 struct sLOCSetSensorPerformanceConfigRequest_AccelerometerSampling
22493 {
22494 UINT16 mSamplesPerBatch;
22495 UINT16 mBatchesPerSecond;
22496 };
22497
22498 // Structure to describe request TLV 0x12 for LOCSetSensorPerformanceConfig()
22499 struct sLOCSetSensorPerformanceConfigRequest_GyrometerSampling
22500 {
22501 UINT16 mSamplesPerBatch;
22502 UINT16 mBatchesPerSecond;
22503 };
22504
22505 // Structure to describe request TLV 0x13 for LOCSetSensorPerformanceConfig()
22506 struct sLOCSetSensorPerformanceConfigRequest_AlgorithmConfig
22507 {
22508 bool mDisableINSPositioningFilter:1;
22509
22510 // Padding out 31 bits
22511 UINT8 mReserved1:7;
22512 UINT8 mReserved2[3];
22513 };
22514
22515 // Structure to describe indication TLV 0x10 for LOC SetSensorPerformanceConfigIndication
22516 struct sLOCSetSensorPerformanceConfigIndication_FailedConfiguration
22517 {
22518 bool mPerformanceMode:1;
22519 bool mAccelerometerSampling:1;
22520 bool mGyrometerSampling:1;
22521 bool mAlgorithmConfig:1;
22522
22523 // Padding out 28 bits
22524 UINT8 mReserved1:4;
22525 UINT8 mReserved2[3];
22526 };
22527
22528 // Structure to describe indication TLV 0x10 for LOC GetSensorPerformanceConfigIndication
22529 struct sLOCGetSensorPerformanceConfigIndication_ControlMode
22530 {
22531 eQMILOCControlMode mControlMode;
22532 };
22533
22534 // Structure to describe indication TLV 0x11 for LOC GetSensorPerformanceConfigIndication
22535 struct sLOCGetSensorPerformanceConfigIndication_AccelerometerSampling
22536 {
22537 UINT16 mSamplesPerBatch;
22538 UINT16 mBatchesPerSecond;
22539 };
22540
22541 // Structure to describe indication TLV 0x12 for LOC GetSensorPerformanceConfigIndication
22542 struct sLOCGetSensorPerformanceConfigIndication_GyrometerSampling
22543 {
22544 UINT16 mSamplesPerBatch;
22545 UINT16 mBatchesPerSecond;
22546 };
22547
22548 // Structure to describe indication TLV 0x13 for LOC GetSensorPerformanceConfigIndication
22549 struct sLOCGetSensorPerformanceConfigIndication_AlgorithmConfig
22550 {
22551 bool mDisableINSPositioningFilter:1;
22552
22553 // Padding out 31 bits
22554 UINT8 mReserved1:7;
22555 UINT8 mReserved2[3];
22556 };
22557
22558 // Structure to describe request TLV 0x01 for LOCInjectSUPLCertificate()
22559 struct sLOCInjectSUPLCertificateRequest_ID
22560 {
22561 UINT8 mSUPLCertificateID;
22562 };
22563
22564 // Structure to describe request TLV 0x10 for LOCDeleteSUPLCertificate()
22565 struct sLOCDeleteSUPLCertificateRequest_ID
22566 {
22567 UINT8 mSUPLCertificateID;
22568 };
22569
22570 // Structure to describe request TLV 0x10 for LOCSetPositionEngineConfig()
22571 struct sLOCSetPositionEngineConfigRequest_InjectedPosition
22572 {
22573 INT8 mUseInjectedPositionInCalculations;
22574 };
22575
22576 // Structure to describe request TLV 0x11 for LOCSetPositionEngineConfig()
22577 struct sLOCSetPositionEngineConfigRequest_FilterSVUsage
22578 {
22579 INT8 mFilterUsageOfSVs;
22580 };
22581
22582 // Structure to describe request TLV 0x12 for LOCSetPositionEngineConfig()
22583 struct sLOCSetPositionEngineConfigRequest_StoreAssistData
22584 {
22585 INT8 mStoreAssistanceData;
22586 };
22587
22588 // Structure to describe indication TLV 0x10 for LOC SetPositionEngineConfigIndication
22589 struct sLOCSetPositionEngineConfigIndication_FailedParameters
22590 {
22591 bool mInjectedPosition:1;
22592 bool mFilterSVUsage:1;
22593 bool mStoreAssistData:1;
22594
22595 // Padding out 29 bits
22596 UINT8 mReserved1:5;
22597 UINT8 mReserved2[3];
22598 };
22599
22600 // Structure to describe request TLV 0x01 for LOCGetPositionEngineConfig()
22601 struct sLOCGetPositionEngineConfigRequest_Parameters
22602 {
22603 bool mInjectedPosition:1;
22604 bool mFilterSVUsage:1;
22605 bool mStoreAssistData:1;
22606
22607 // Padding out 29 bits
22608 UINT8 mReserved1:5;
22609 UINT8 mReserved2[3];
22610 };
22611
22612 // Structure to describe indication TLV 0x10 for LOC GetPositionEngineConfigIndication
22613 struct sLOCGetPositionEngineConfigIndication_InjectedPosition
22614 {
22615 INT8 mUseInjectedPositionInCalculations;
22616 };
22617
22618 // Structure to describe indication TLV 0x11 for LOC GetPositionEngineConfigIndication
22619 struct sLOCGetPositionEngineConfigIndication_FilterSVUsage
22620 {
22621 INT8 mFilterUsageOfSVs;
22622 };
22623
22624 // Structure to describe indication TLV 0x12 for LOC GetPositionEngineConfigIndication
22625 struct sLOCGetPositionEngineConfigIndication_StoreAssistData
22626 {
22627 INT8 mStoreAssistanceData;
22628 };
22629
22630 // Structure to describe indication TLV 0x01 for LOC NetworkInitiatedGeofenceIndication
22631 struct sLOCNetworkInitiatedGeofenceIndication_GeofenceID
22632 {
22633 UINT32 mGeofenceID;
22634 };
22635
22636 // Structure to describe indication TLV 0x01 for LOC EventGeofenceGeneralAlertIndication
22637 struct sLOCEventGeofenceGeneralAlertIndication_GeofenceGeneralAlert
22638 {
22639 eQMILOCGeofenceGeneralAlert mGeofenceGeneralAlert;
22640 };
22641
22642 // Structure to describe indication TLV 0x01 for LOC EventGeofenceBreachIndication
22643 struct sLOCEventGeofenceBreachIndication_GeofenceID
22644 {
22645 UINT32 mGeofenceID;
22646 };
22647
22648 // Structure to describe indication TLV 0x10 for LOC EventGeofenceBreachIndication
22649 struct sLOCEventGeofenceBreachIndication_GeofencePosition
22650 {
22651 UINT64 mUTCTimestampMilliseconds;
22652 double mLatitudeDegrees;
22653 double mLongitudeDegrees;
22654 float mHorizontalUncertaintyEllipticalMinorMeters;
22655 float mHorizontalUncertaintyEllipticalMajorMeters;
22656 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
22657 INT8 mHorizontalSpeedValid;
22658 float mHorizontalSpeedMetersSecond;
22659 INT8 mAltitudeEllipsoidValid;
22660 float mAltitudeFromEllipsoidMeters;
22661 INT8 mVerticalUncertaintyValid;
22662 float mVerticalUncertaintyMeters;
22663 INT8 mVerticalSpeedValid;
22664 float mVerticalSpeedMetersSecond;
22665 INT8 mHeadingValid;
22666 float mHeadingDegrees;
22667 };
22668
22669 // Structure to describe request TLV 0x01 for LOCAddCircularGeofence()
22670 struct sLOCAddCircularGeofenceRequest_TransactionID
22671 {
22672 UINT32 mTransactionID;
22673 };
22674
22675 // Structure to describe request TLV 0x03 for LOCAddCircularGeofence()
22676 struct sLOCAddCircularGeofenceRequest_BreachEventMask
22677 {
22678 bool mEnteringGeofence:1;
22679 bool mLeavingGeofence:1;
22680
22681 // Padding out 6 bits
22682 UINT8 mReserved1:6;
22683 };
22684
22685 // Structure to describe request TLV 0x04 for LOCAddCircularGeofence()
22686 struct sLOCAddCircularGeofenceRequest_IncludePositionInBreachEvent
22687 {
22688 INT8 mIncludePositionInBreachEvent;
22689 };
22690
22691 // Structure to describe request TLV 0x10 for LOCAddCircularGeofence()
22692 struct sLOCAddCircularGeofenceRequest_Responsiveness
22693 {
22694 eQMILOCResponsiveness mResponsiveness;
22695 };
22696
22697 // Structure to describe request TLV 0x11 for LOCAddCircularGeofence()
22698 struct sLOCAddCircularGeofenceRequest_Confidence
22699 {
22700 eQMILOCConfidence mConfidence;
22701 };
22702
22703 // Structure to describe indication TLV 0x01 for LOC AddCircularGeofenceIndication
22704 struct sLOCAddCircularGeofenceIndication_GeofenceStatus
22705 {
22706 eQMILOCGeofenceStatus mGeofenceStatus;
22707 };
22708
22709 // Structure to describe indication TLV 0x10 for LOC AddCircularGeofenceIndication
22710 struct sLOCAddCircularGeofenceIndication_TransactionID
22711 {
22712 UINT32 mTransactionID;
22713 };
22714
22715 // Structure to describe indication TLV 0x11 for LOC AddCircularGeofenceIndication
22716 struct sLOCAddCircularGeofenceIndication_GeofenceID
22717 {
22718 UINT32 mGeofenceID;
22719 };
22720
22721 // Structure to describe request TLV 0x01 for LOCDeleteGeofence()
22722 struct sLOCDeleteGeofenceRequest_GeofenceID
22723 {
22724 UINT32 mGeofenceID;
22725 };
22726
22727 // Structure to describe indication TLV 0x01 for LOC DeleteGeofenceIndication
22728 struct sLOCDeleteGeofenceIndication_GeofenceStatus
22729 {
22730 eQMILOCGeofenceStatus mGeofenceStatus;
22731 };
22732
22733 // Structure to describe indication TLV 0x10 for LOC DeleteGeofenceIndication
22734 struct sLOCDeleteGeofenceIndication_GeofenceID
22735 {
22736 UINT32 mGeofenceID;
22737 };
22738
22739 // Structure to describe indication TLV 0x11 for LOC DeleteGeofenceIndication
22740 struct sLOCDeleteGeofenceIndication_TransactionID
22741 {
22742 UINT32 mTransactionID;
22743 };
22744
22745 // Structure to describe request TLV 0x01 for LOCQueryGeofence()
22746 struct sLOCQueryGeofenceRequest_GeofenceID
22747 {
22748 UINT32 mGeofenceID;
22749 };
22750
22751 // Structure to describe indication TLV 0x01 for LOC QueryGeofenceIndication
22752 struct sLOCQueryGeofenceIndication_Status
22753 {
22754 eQMILOCGeofenceStatus mGeofenceStatus;
22755 };
22756
22757 // Structure to describe indication TLV 0x10 for LOC QueryGeofenceIndication
22758 struct sLOCQueryGeofenceIndication_GeofenceID
22759 {
22760 UINT32 mGeofenceID;
22761 };
22762
22763 // Structure to describe indication TLV 0x11 for LOC QueryGeofenceIndication
22764 struct sLOCQueryGeofenceIndication_TransactionID
22765 {
22766 UINT32 mTransactionID;
22767 };
22768
22769 // Structure to describe indication TLV 0x12 for LOC QueryGeofenceIndication
22770 struct sLOCQueryGeofenceIndication_Origin
22771 {
22772 eQMILOCGeofenceOrigin mGeofenceOrigin;
22773 };
22774
22775 // Structure to describe indication TLV 0x13 for LOC QueryGeofenceIndication
22776 struct sLOCQueryGeofenceIndication_PositionFromGeofence
22777 {
22778 eQMILOCPositionFromGeofence mPositionFromGeofence;
22779 };
22780
22781 // Structure to describe indication TLV 0x14 for LOC QueryGeofenceIndication
22782 struct sLOCQueryGeofenceIndication_Parameters
22783 {
22784 double mLatitudeDegrees;
22785 double mLongitudeDegrees;
22786 UINT32 mRadiusMeters;
22787 };
22788
22789 // Structure to describe indication TLV 0x15 for LOC QueryGeofenceIndication
22790 struct sLOCQueryGeofenceIndication_State
22791 {
22792 eQMILOCGeofenceState mGeofenceState;
22793 };
22794
22795 // Structure to describe request TLV 0x01 for LOCEditGeofence()
22796 struct sLOCEditGeofenceRequest_GeofenceID
22797 {
22798 UINT32 mGeofenceID;
22799 };
22800
22801 // Structure to describe request TLV 0x10 for LOCEditGeofence()
22802 struct sLOCEditGeofenceRequest_State
22803 {
22804 eQMILOCGeofenceState mGeofenceState;
22805 };
22806
22807 // Structure to describe request TLV 0x11 for LOCEditGeofence()
22808 struct sLOCEditGeofenceRequest_BreachEventMask
22809 {
22810 bool mEnteringGeofence:1;
22811 bool mLeavingGeofence:1;
22812
22813 // Padding out 6 bits
22814 UINT8 mReserved1:6;
22815 };
22816
22817 // Structure to describe indication TLV 0x01 for LOC EditGeofenceIndication
22818 struct sLOCEditGeofenceIndication_Status
22819 {
22820 eQMILOCGeofenceStatus mGeofenceStatus;
22821 };
22822
22823 // Structure to describe indication TLV 0x10 for LOC EditGeofenceIndication
22824 struct sLOCEditGeofenceIndication_GeofenceID
22825 {
22826 UINT32 mGeofenceID;
22827 };
22828
22829 // Structure to describe indication TLV 0x11 for LOC EditGeofenceIndication
22830 struct sLOCEditGeofenceIndication_TransactionID
22831 {
22832 UINT32 mTransactionID;
22833 };
22834
22835 // Structure to describe indication TLV 0x12 for LOC EditGeofenceIndication
22836 struct sLOCEditGeofenceIndication_FailedParameters
22837 {
22838 bool mGeofenceState:1;
22839 bool mBreachMask:1;
22840
22841 // Padding out 30 bits
22842 UINT8 mReserved1:6;
22843 UINT8 mReserved2[3];
22844 };
22845
22846 // Structure to describe request TLV 0x01 for LOCGetBestAvailablePosition()
22847 struct sLOCGetBestAvailablePositionRequest_TransactionID
22848 {
22849 UINT32 mTransactionID;
22850 };
22851
22852 // Structure to describe indication TLV 0x01 for LOC GetBestAvailablePositionIndication
22853 struct sLOCGetBestAvailablePositionIndication_Status
22854 {
22855 eQMILOCGeofenceStatus mGeofenceStatus;
22856 };
22857
22858 // Structure to describe indication TLV 0x10 for LOC GetBestAvailablePositionIndication
22859 struct sLOCGetBestAvailablePositionIndication_TransactionID
22860 {
22861 UINT32 mTransactionID;
22862 };
22863
22864 // Structure to describe indication TLV 0x11 for LOC GetBestAvailablePositionIndication
22865 struct sLOCGetBestAvailablePositionIndication_Latitude
22866 {
22867 double mLatitudeDegrees;
22868 };
22869
22870 // Structure to describe indication TLV 0x12 for LOC GetBestAvailablePositionIndication
22871 struct sLOCGetBestAvailablePositionIndication_Longitude
22872 {
22873 double mLongitudeDegrees;
22874 };
22875
22876 // Structure to describe indication TLV 0x13 for LOC GetBestAvailablePositionIndication
22877 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyCircular
22878 {
22879 float mHorizontalUncertaintyCircularMeters;
22880 };
22881
22882 // Structure to describe indication TLV 0x14 for LOC GetBestAvailablePositionIndication
22883 struct sLOCGetBestAvailablePositionIndication_AltitudeFromEllipsoid
22884 {
22885 float mAltitudeFromEllipsoidMeters;
22886 };
22887
22888 // Structure to describe indication TLV 0x15 for LOC GetBestAvailablePositionIndication
22889 struct sLOCGetBestAvailablePositionIndication_VerticalUncertainty
22890 {
22891 float mVerticalUncertaintyMeters;
22892 };
22893
22894 // Structure to describe indication TLV 0x16 for LOC GetBestAvailablePositionIndication
22895 struct sLOCGetBestAvailablePositionIndication_UTCTimestamp
22896 {
22897 UINT64 mUTCTimestampMilliseconds;
22898 };
22899
22900 // Structure to describe indication TLV 0x17 for LOC GetBestAvailablePositionIndication
22901 struct sLOCGetBestAvailablePositionIndication_TimeUncertainty
22902 {
22903 float mTimeUncertaintyMilliseconds;
22904 };
22905
22906 // Structure to describe indication TLV 0x18 for LOC GetBestAvailablePositionIndication
22907 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalMinor
22908 {
22909 float mHorizontalUncertaintyEllipticalMinorMeters;
22910 };
22911
22912 // Structure to describe indication TLV 0x19 for LOC GetBestAvailablePositionIndication
22913 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalMajor
22914 {
22915 float mHorizontalUncertaintyEllipticalMajorMeters;
22916 };
22917
22918 // Structure to describe indication TLV 0x1A for LOC GetBestAvailablePositionIndication
22919 struct sLOCGetBestAvailablePositionIndication_HorizontalUncertaintyEllipticalAzimuth
22920 {
22921 float mHorizontalUncertaintyEllipticalAzimuthDecimalDegrees;
22922 };
22923
22924 // Structure to describe indication TLV 0x1B for LOC GetBestAvailablePositionIndication
22925 struct sLOCGetBestAvailablePositionIndication_HorizontalConfidenceCircular
22926 {
22927 UINT8 mHorizontalConfidencePercent;
22928 };
22929
22930 // Structure to describe indication TLV 0x1C for LOC GetBestAvailablePositionIndication
22931 struct sLOCGetBestAvailablePositionIndication_HorizontalConfidenceElliptical
22932 {
22933 UINT8 mHorizontalConfidencePercent;
22934 };
22935
22936 // Structure to describe indication TLV 0x1D for LOC GetBestAvailablePositionIndication
22937 struct sLOCGetBestAvailablePositionIndication_HorizontalReliablility
22938 {
22939 eQMILOCReliability mHorizontalReliability;
22940 };
22941
22942 // Structure to describe indication TLV 0x1E for LOC GetBestAvailablePositionIndication
22943 struct sLOCGetBestAvailablePositionIndication_HorizontalSpeed
22944 {
22945 float mHorizontalSpeedMetersSecond;
22946 };
22947
22948 // Structure to describe indication TLV 0x1F for LOC GetBestAvailablePositionIndication
22949 struct sLOCGetBestAvailablePositionIndication_HorizontalSpeedUncertainty
22950 {
22951 float mSpeedUncertaintyMetersSecond;
22952 };
22953
22954 // Structure to describe indication TLV 0x20 for LOC GetBestAvailablePositionIndication
22955 struct sLOCGetBestAvailablePositionIndication_AltitudeFromSeaLevel
22956 {
22957 float mAltitudeFromSeaLevelMeters;
22958 };
22959
22960 // Structure to describe indication TLV 0x21 for LOC GetBestAvailablePositionIndication
22961 struct sLOCGetBestAvailablePositionIndication_VerticalConfidence
22962 {
22963 UINT8 mVerticalConfidencePercent;
22964 };
22965
22966 // Structure to describe indication TLV 0x22 for LOC GetBestAvailablePositionIndication
22967 struct sLOCGetBestAvailablePositionIndication_VerticalReliability
22968 {
22969 eQMILOCReliability mVerticalReliability;
22970 };
22971
22972 // Structure to describe indication TLV 0x23 for LOC GetBestAvailablePositionIndication
22973 struct sLOCGetBestAvailablePositionIndication_VerticalSpeed
22974 {
22975 float mVerticalSpeedMetersSecond;
22976 };
22977
22978 // Structure to describe indication TLV 0x24 for LOC GetBestAvailablePositionIndication
22979 struct sLOCGetBestAvailablePositionIndication_VerticalSpeedUncertainty
22980 {
22981 float mSpeedUncertaintyMetersSecond;
22982 };
22983
22984 // Structure to describe indication TLV 0x25 for LOC GetBestAvailablePositionIndication
22985 struct sLOCGetBestAvailablePositionIndication_Heading
22986 {
22987 float mHeadingDegrees;
22988 };
22989
22990 // Structure to describe indication TLV 0x26 for LOC GetBestAvailablePositionIndication
22991 struct sLOCGetBestAvailablePositionIndication_HeadingUncertainty
22992 {
22993 float mHeadingUncertaintyDegrees;
22994 };
22995
22996 // Structure to describe indication TLV 0x27 for LOC GetBestAvailablePositionIndication
22997 struct sLOCGetBestAvailablePositionIndication_MagneticDeviation
22998 {
22999 float mMagneticDeviation;
23000 };
23001
23002 // Structure to describe indication TLV 0x28 for LOC GetBestAvailablePositionIndication
23003 struct sLOCGetBestAvailablePositionIndication_TechnologyUsed
23004 {
23005 bool mSatellite:1;
23006 bool mCellular:1;
23007 bool mWiFi:1;
23008 bool mSensors:1;
23009 bool mReferenceLocation:1;
23010
23011 // Padding out 27 bits
23012 UINT8 mReserved1:3;
23013 UINT8 mReserved2[3];
23014 };
23015
23016 // Structure to describe indication TLV 0x29 for LOC GetBestAvailablePositionIndication
23017 struct sLOCGetBestAvailablePositionIndication_DilutionOfPrecision
23018 {
23019 float mPositionDilutionOfPrecision;
23020 float mHorizontalDilutionOfPrecision;
23021 float mVerticalDilutionOfPrecision;
23022 };
23023
23024 // Structure to describe indication TLV 0x2A for LOC GetBestAvailablePositionIndication
23025 struct sLOCGetBestAvailablePositionIndication_GPSTime
23026 {
23027 UINT16 mGPSWeeks;
23028 UINT32 mGPSTimeOfWeekMilliseconds;
23029 };
23030
23031 // Structure to describe indication TLV 0x2B for LOC GetBestAvailablePositionIndication
23032 struct sLOCGetBestAvailablePositionIndication_TimeSource
23033 {
23034 eQMILOCTimeSource mTimeSource;
23035 };
23036
23037 // Structure to describe indication TLV 0x2C for LOC GetBestAvailablePositionIndication
23038 struct sLOCGetBestAvailablePositionIndication_SensorDataUsage
23039 {
23040 bool mAccelerometerUsed:1;
23041 bool mGyroUsed:1;
23042
23043 // Padding out 30 bits
23044 UINT8 mReserved1:6;
23045 UINT8 mReserved2[3];
23046
23047 bool mAidedHeading:1;
23048 bool mAidedSpeed:1;
23049 bool mAidedPosition:1;
23050 bool mAidedVelocity:1;
23051
23052 // Padding out 28 bits
23053 UINT8 mReserved3:4;
23054 UINT8 mReserved4[3];
23055 };
23056
23057 // Structure to describe indication TLV 0x2D for LOC GetBestAvailablePositionIndication
23058 struct sLOCGetBestAvailablePositionIndication_SatellitesUsed
23059 {
23060 UINT8 mSatellitesUsedCount;
23061
23062 // This array must be the size specified by mSatellitesUsedCount
23063 // UINT16 mSatellitesUsed[1];
23064 };
23065
23066 // Structure to describe request TLV 0x10 for CATSetEventReport()
23067 struct sCATSetEventReportRequest_ReportMask
23068 {
23069 bool mDisplayText:1;
23070 bool mGetInkey:1;
23071 bool mGetInput:1;
23072 bool mSetupMenu:1;
23073 bool mSelectItem:1;
23074 bool mSendSMSAlphaIdentifier:1;
23075 bool mSetupEventUserActivity:1;
23076 bool mSetupEventIdleScreenNotify:1;
23077 bool mSetupEventLanguageSelNotify:1;
23078 bool mSetupIdleModeText:1;
23079 bool mLanguageNotification:1;
23080 bool mRefresh:1;
23081 bool mEndProactiveSession:1;
23082 bool mPlayTone:1;
23083 bool mSetupCall:1;
23084 bool mSendDTMF:1;
23085 bool mLaunchBrowser:1;
23086 bool mSendSS:1;
23087 bool mSendUSSD:1;
23088 bool mProvideLocalInformationLanguage:1;
23089 bool mBearerIndependentProtocol:1;
23090 bool mSetupEventBrowserTermination:1;
23091 bool mProvideLocalInformationTime:1;
23092 bool mActivate:1;
23093
23094 // Padding out 1 bits
23095 UINT8 mReserved1:1;
23096
23097 bool mSetupEventHCIConnectivity:1;
23098
23099 // Padding out 6 bits
23100 UINT8 mReserved2:6;
23101 };
23102
23103 // Structure to describe request TLV 0x11 for CATSetEventReport()
23104 struct sCATSetEventReportRequest_DecodeReportMask
23105 {
23106 bool mDisplayText:1;
23107 bool mGetInkey:1;
23108 bool mGetInput:1;
23109 bool mSetupMenu:1;
23110 bool mSelectItem:1;
23111 bool mSendSMSAlphaIdentifier:1;
23112 bool mSetupEventUserActivity:1;
23113 bool mSetupEventIdleScreenNotify:1;
23114 bool mSetupEventLanguageSelNotify:1;
23115 bool mSetupIdleModeText:1;
23116 bool mLanguageNotification:1;
23117
23118 // Padding out 1 bits
23119 UINT8 mReserved1:1;
23120
23121 bool mEndProactiveSession:1;
23122 bool mPlayTone:1;
23123 bool mSetupCall:1;
23124 bool mSendDTMF:1;
23125 bool mLaunchBrowser:1;
23126 bool mSendSS:1;
23127 bool mSendUSSD:1;
23128 bool mProvideLocalInformationLanguage:1;
23129 bool mBearerIndependentProtocol:1;
23130
23131 // Padding out 2 bits
23132 UINT8 mReserved2:2;
23133
23134 bool mSCWSEvent:1;
23135 bool mActivate:1;
23136 bool mSetupEventHCIConnectivity:1;
23137
23138 // Padding out 6 bits
23139 UINT8 mReserved3:6;
23140 };
23141
23142 // Structure to describe request TLV 0x12 for CATSetEventReport()
23143 struct sCATSetEventReportRequest_Slot
23144 {
23145 bool mSlot1:1;
23146 bool mSlot2:1;
23147
23148 // Padding out 6 bits
23149 UINT8 mReserved1:6;
23150 };
23151
23152 // Structure to describe response TLV 0x10 for CATSetEventReport()
23153 struct sCATSetEventReportResponse_RegStatusMask
23154 {
23155 bool mDisplayText:1;
23156 bool mGetInkey:1;
23157 bool mGetInput:1;
23158 bool mSetupMenu:1;
23159 bool mSelectItem:1;
23160 bool mSendSMSAlphaIdentifier:1;
23161 bool mSetupEventUserActivity:1;
23162 bool mSetupEventIdleScreenNotify:1;
23163 bool mSetupEventLanguageSelNotify:1;
23164 bool mSetupIdleModeText:1;
23165 bool mLanguageNotification:1;
23166 bool mRefresh:1;
23167 bool mEndProactiveSession:1;
23168 bool mPlayTone:1;
23169 bool mSetupCall:1;
23170 bool mSendDTMF:1;
23171 bool mLaunchBrowser:1;
23172 bool mSendSS:1;
23173 bool mSendUSSD:1;
23174 bool mProvideLocalInformationLanguage:1;
23175 bool mBearerIndependentProtocol:1;
23176 bool mSetupEventBrowserTermination:1;
23177 bool mProvideLocalInformationTime:1;
23178 bool mActivate:1;
23179
23180 // Padding out 1 bits
23181 UINT8 mReserved1:1;
23182
23183 bool mSetupEventHCIConnectivity:1;
23184
23185 // Padding out 6 bits
23186 UINT8 mReserved2:6;
23187 };
23188
23189 // Structure to describe response TLV 0x11 for CATSetEventReport()
23190 struct sCATSetEventReportResponse_DecodedRegStatusMask
23191 {
23192 bool mDisplayText:1;
23193 bool mGetInkey:1;
23194 bool mGetInput:1;
23195 bool mSetupMenu:1;
23196 bool mSelectItem:1;
23197 bool mSendSMSAlphaIdentifier:1;
23198 bool mSetupEventUserActivity:1;
23199 bool mSetupEventIdleScreenNotify:1;
23200 bool mSetupEventLanguageSelNotify:1;
23201 bool mSetupIdleModeText:1;
23202 bool mLanguageNotification:1;
23203
23204 // Padding out 1 bits
23205 UINT8 mReserved1:1;
23206
23207 bool mEndProactiveSession:1;
23208 bool mPlayTone:1;
23209 bool mSetupCall:1;
23210 bool mSendDTMF:1;
23211 bool mLaunchBrowser:1;
23212 bool mSendSS:1;
23213 bool mSendUSSD:1;
23214 bool mProvideLocalInformationLanguage:1;
23215 bool mBearerIndependentProtocol:1;
23216
23217 // Padding out 2 bits
23218 UINT8 mReserved2:2;
23219
23220 bool mSCWSEvent:1;
23221 bool mActivate:1;
23222 bool mSetupEventHCIConnectivity:1;
23223
23224 // Padding out 6 bits
23225 UINT8 mReserved3:6;
23226 };
23227
23228 // Structure to describe indication TLV 0x10 for CAT EventReport
23229 struct sCATEventReportIndication_DisplayTextEvent
23230 {
23231 UINT32 mReferenceID;
23232 UINT16 mCommandLength;
23233
23234 // This array must be the size specified by mCommandLength
23235 // UINT8 mDisplayTextCommand[1];
23236 };
23237
23238 // Structure to describe indication TLV 0x11 for CAT EventReport
23239 struct sCATEventReportIndication_GetInkeyEvent
23240 {
23241 UINT32 mReferenceID;
23242 UINT16 mCommandLength;
23243
23244 // This array must be the size specified by mCommandLength
23245 // UINT8 mGetInkeyCommand[1];
23246 };
23247
23248 // Structure to describe indication TLV 0x12 for CAT EventReport
23249 struct sCATEventReportIndication_GetInputEvent
23250 {
23251 UINT32 mReferenceID;
23252 UINT16 mCommandLength;
23253
23254 // This array must be the size specified by mCommandLength
23255 // UINT8 mGetInputCommand[1];
23256 };
23257
23258 // Structure to describe indication TLV 0x13 for CAT EventReport
23259 struct sCATEventReportIndication_SetupMenuEvent
23260 {
23261 UINT32 mReferenceID;
23262 UINT16 mCommandLength;
23263
23264 // This array must be the size specified by mCommandLength
23265 // UINT8 mSetupMenuCommand[1];
23266 };
23267
23268 // Structure to describe indication TLV 0x14 for CAT EventReport
23269 struct sCATEventReportIndication_SelectItemEvent
23270 {
23271 UINT32 mReferenceID;
23272 UINT16 mCommandLength;
23273
23274 // This array must be the size specified by mCommandLength
23275 // UINT8 mSelectItemCommand[1];
23276 };
23277
23278 // Structure to describe indication TLV 0x15 for CAT EventReport
23279 struct sCATEventReportIndication_AlphaIDAvailable
23280 {
23281 eQMICATAlphaIDCommandType mAlphaIDCommandType;
23282 UINT16 mAlphaIDLength;
23283
23284 // This array must be the size specified by mAlphaIDLength
23285 // UINT8 mAlphaID[1];
23286 };
23287
23288 // Structure to describe indication TLV 0x16 for CAT EventReport
23289 struct sCATEventReportIndication_SetupEventList
23290 {
23291 bool mUserActivityNotify:1;
23292 bool mIdleScreenAvailable:1;
23293 bool mLanguageSelectionNotify:1;
23294
23295 // Padding out 29 bits
23296 UINT8 mReserved1:5;
23297 UINT8 mReserved2[3];
23298 };
23299
23300 // Structure to describe indication TLV 0x17 for CAT EventReport
23301 struct sCATEventReportIndication_SetupIdleModeTextEvent
23302 {
23303 UINT32 mReferenceID;
23304 UINT16 mCommandLength;
23305
23306 // This array must be the size specified by mCommandLength
23307 // UINT8 mSetupIdleModeTextCommand[1];
23308 };
23309
23310 // Structure to describe indication TLV 0x18 for CAT EventReport
23311 struct sCATEventReportIndication_LanguageNotificationEvent
23312 {
23313 UINT32 mReferenceID;
23314 UINT16 mCommandLength;
23315
23316 // This array must be the size specified by mCommandLength
23317 // UINT8 mLanguageNotificationCommand[1];
23318 };
23319
23320 // Structure to describe indication TLV 0x19 for CAT EventReport
23321 struct sCATEventReportIndication_RefreshEvent
23322 {
23323 UINT16 mRefreshMode;
23324 eQMICATRefreshStage mRefreshStage;
23325 };
23326
23327 // Structure to describe indication TLV 0x1A for CAT EventReport
23328 struct sCATEventReportIndication_EndProactiveSession
23329 {
23330 eQMICATProactiveSessionEndType mProactiveSessionEndType;
23331 };
23332
23333 // Structure to describe indication TLV 0x1B for CAT EventReport
23334 struct sCATEventReportIndication_DecodedHeaderID
23335 {
23336 eQMICATCommandID mCommandID;
23337 UINT32 mReferenceID;
23338 UINT8 mCommandNumber;
23339 };
23340
23341 // Structure to describe indication TLV 0x1C for CAT EventReport
23342 struct sCATEventReportIndication_TextString
23343 {
23344 eQMICATDataCodingScheme mDataCodingScheme;
23345 UINT8 mTextDataLength;
23346
23347 // This array must be the size specified by mTextDataLength
23348 // UINT8 mTextData[1];
23349 };
23350
23351 // Structure to describe indication TLV 0x1D for CAT EventReport
23352 struct sCATEventReportIndication_HighPriority
23353 {
23354 eQMICATHighPriority mHighPriority;
23355 };
23356
23357 // Structure to describe indication TLV 0x1E for CAT EventReport
23358 struct sCATEventReportIndication_UserControl
23359 {
23360 eQMICATUserControl mUserControl;
23361 };
23362
23363 // Structure to describe indication TLV 0x1F for CAT EventReport
23364 struct sCATEventReportIndication_Icon
23365 {
23366 eQMICATIconQualifier mIconQualifier;
23367 UINT8 mHeight;
23368 UINT8 mWidth;
23369 eQMICATImageCodingScheme mImageCodingScheme;
23370 UINT8 mRecordNumber;
23371 UINT16 mIconDataLength;
23372
23373 // This array must be the size specified by mIconDataLength
23374 // UINT8 mIconData[1];
23375 };
23376
23377 // Structure to describe indication TLV 0x20 for CAT EventReport
23378 struct sCATEventReportIndication_Duration
23379 {
23380 eQMICATTimeUnits mUnits;
23381 UINT8 mInterval;
23382 };
23383
23384 // Structure to describe indication TLV 0x21 for CAT EventReport
23385 struct sCATEventReportIndication_ResponseFormat
23386 {
23387 eQMICATResponseFormat mResponseFormat;
23388 };
23389
23390 // Structure to describe indication TLV 0x22 for CAT EventReport
23391 struct sCATEventReportIndication_HelpAvailable
23392 {
23393 eQMICATHelpAvailable mHelpAvailable;
23394 };
23395
23396 // Structure to describe indication TLV 0x23 for CAT EventReport
23397 struct sCATEventReportIndication_ResponsePackingFormat
23398 {
23399 eQMICATResponsePackingFormat mResponsePackingFormat;
23400 };
23401
23402 // Structure to describe indication TLV 0x24 for CAT EventReport
23403 struct sCATEventReportIndication_ResponseLength
23404 {
23405 UINT8 mMaximumUserInput;
23406 UINT8 mMinimumUserInput;
23407 };
23408
23409 // Structure to describe indication TLV 0x25 for CAT EventReport
23410 struct sCATEventReportIndication_ShowUserInput
23411 {
23412 eQMICATShowUserInput mShowUserInput;
23413 };
23414
23415 // Structure to describe indication TLV 0x26 for CAT EventReport
23416 struct sCATEventReportIndication_Tone
23417 {
23418 eQMICATTone mTone;
23419 };
23420
23421 // Structure to describe indication TLV 0x27 for CAT EventReport
23422 struct sCATEventReportIndication_SoftkeySelection
23423 {
23424 eQMICATSoftkeySelection mSoftkeySelection;
23425 };
23426
23427 // Structure to describe indication TLV 0x28 for CAT EventReport
23428 struct sCATEventReportIndication_Items
23429 {
23430 UINT8 mItemsLength;
23431
23432 struct sItem
23433 {
23434 UINT8 mItemID;
23435 UINT8 mItemTextLength;
23436
23437 // This array must be the size specified by mItemTextLength
23438 // UINT8 mItemText[1];
23439 };
23440
23441 // This array must be the size specified by mItemsLength
23442 // sItem mItems[1];
23443 };
23444
23445 // Structure to describe indication TLV 0x29 for CAT EventReport
23446 struct sCATEventReportIndication_DefaultItem
23447 {
23448 UINT8 mDefaultItem;
23449 };
23450
23451 // Structure to describe indication TLV 0x2A for CAT EventReport
23452 struct sCATEventReportIndication_NextActionIdentifier
23453 {
23454 UINT8 mActionsLength;
23455
23456 // This array must be the size specified by mActionsLength
23457 // eQMICATNextAction mNextAction[1];
23458 };
23459
23460 // Structure to describe indication TLV 0x2B for CAT EventReport
23461 struct sCATEventReportIndication_IconIDList
23462 {
23463 eQMICATDisplayIconOnly mDisplayIconOnly;
23464 UINT8 mItemsLength;
23465
23466 struct sItem
23467 {
23468 eQMICATIconQualifier mIconQualifier;
23469 UINT8 mHeight;
23470 UINT8 mWidth;
23471 eQMICATImageCodingScheme mImageCodingScheme;
23472 UINT8 mRecordNumber;
23473 UINT16 mIconDataLength;
23474
23475 // This array must be the size specified by mIconDataLength
23476 // UINT8 mIconData[1];
23477 };
23478
23479 // This array must be the size specified by mItemsLength
23480 // sItem mItems[1];
23481 };
23482
23483 // Structure to describe indication TLV 0x2C for CAT EventReport
23484 struct sCATEventReportIndication_Presentation
23485 {
23486 eQMICATPresentation mPresentation;
23487 };
23488
23489 // Structure to describe indication TLV 0x2D for CAT EventReport
23490 struct sCATEventReportIndication_PackingRequired
23491 {
23492 eQMICATPackingRequired mPackingRequired;
23493 };
23494
23495 // Structure to describe indication TLV 0x2E for CAT EventReport
23496 struct sCATEventReportIndication_SMSTPDU
23497 {
23498 UINT8 mSMSTPDUDataLength;
23499
23500 // This array must be the size specified by mSMSTPDUDataLength
23501 // UINT8 mSMSTPDUData[1];
23502 };
23503
23504 // Structure to describe indication TLV 0x2F for CAT EventReport
23505 struct sCATEventReportIndication_IsCDMASMS
23506 {
23507 eQMICATIsCDMASMS mIsCDMASMS;
23508 };
23509
23510 // Structure to describe indication TLV 0x30 for CAT EventReport
23511 struct sCATEventReportIndication_Address
23512 {
23513 eQMICATAddressTON mAddressTON;
23514 eQMICATAddressNPI mAddressNPI;
23515 UINT8 mAddressDataLength;
23516
23517 // This array must be the size specified by mAddressDataLength
23518 // char mAddressData[1];
23519 };
23520
23521 // Structure to describe indication TLV 0x31 for CAT EventReport
23522 struct sCATEventReportIndication_CallSetupRequirement
23523 {
23524 eQMICATCallSetupRequirement mCallSetupRequirement;
23525 };
23526
23527 // Structure to describe indication TLV 0x32 for CAT EventReport
23528 struct sCATEventReportIndication_Redial
23529 {
23530 eQMICATRedialNecessary mRedialNecessary;
23531 eQMICATTimeUnits mUnits;
23532 UINT8 mInterval;
23533 };
23534
23535 // Structure to describe indication TLV 0x33 for CAT EventReport
23536 struct sCATEventReportIndication_Subaddress
23537 {
23538 UINT8 mSubaddressDataLength;
23539
23540 struct sSubaddressData
23541 {
23542 UINT8 mSubaddressData1:4;
23543 UINT8 mSubaddressData2:4;
23544 };
23545
23546 // This array must be the size specified by mSubaddressDataLength
23547 // sSubaddressData mSubaddressDatas[1];
23548 };
23549
23550 // Structure to describe indication TLV 0x34 for CAT EventReport
23551 struct sCATEventReportIndication_CapabilitiesConfiguration
23552 {
23553 UINT8 mCapabilitesConfigurationLength;
23554
23555 // This array must be the size specified by mCapabilitesConfigurationLength
23556 // UINT8 mCapabilitiesConfiguration[1];
23557 };
23558
23559 // Structure to describe indication TLV 0x35 for CAT EventReport
23560 struct sCATEventReportIndication_DTMF
23561 {
23562 UINT8 mDTMFDataLength;
23563
23564 struct sDTMFData
23565 {
23566 UINT8 mDTMFData1:4;
23567 UINT8 mDTMFData2:4;
23568 };
23569
23570 // This array must be the size specified by mDTMFDataLength
23571 // sDTMFData mDTMFDatas[1];
23572 };
23573
23574 // Structure to describe indication TLV 0x36 for CAT EventReport
23575 struct sCATEventReportIndication_SpecificLanguageNotification
23576 {
23577 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
23578 };
23579
23580 // Structure to describe indication TLV 0x37 for CAT EventReport
23581 struct sCATEventReportIndication_Language
23582 {
23583 char mLanguage[2];
23584 };
23585
23586 // Structure to describe indication TLV 0x38 for CAT EventReport
23587 struct sCATEventReportIndication_LaunchMode
23588 {
23589 eQMICATLaunchMode mLaunchMode;
23590 };
23591
23592 // Structure to describe indication TLV 0x39 for CAT EventReport
23593 struct sCATEventReportIndication_URL
23594 {
23595 UINT8 mURLDataLength;
23596
23597 // This array must be the size specified by mURLDataLength
23598 // char mURLData[1];
23599 };
23600
23601 // Structure to describe indication TLV 0x3A for CAT EventReport
23602 struct sCATEventReportIndication_BrowserID
23603 {
23604 UINT8 mBrowserID;
23605 };
23606
23607 // Structure to describe indication TLV 0x3B for CAT EventReport
23608 struct sCATEventReportIndication_BearerList
23609 {
23610 UINT8 mBearerListLength;
23611
23612 // This array must be the size specified by mBearerListLength
23613 // eQMICATBearer mBearerList[1];
23614 };
23615
23616 // Structure to describe indication TLV 0x3C for CAT EventReport
23617 struct sCATEventReportIndication_ProvisioningFile
23618 {
23619 UINT32 mNumberOfProvisioningFiles;
23620
23621 struct sFile
23622 {
23623 UINT8 mPathLength;
23624
23625 // This array must be the size specified by mPathLength
23626 // char mPath[1];
23627 };
23628
23629 // This array must be the size specified by mNumberOfProvisioningFiles
23630 // sFile mFiles[1];
23631 };
23632
23633 // Structure to describe indication TLV 0x3D for CAT EventReport
23634 struct sCATEventReportIndication_USSDString
23635 {
23636 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
23637 eQMICATUSSDDataCodingScheme mDataCodingScheme;
23638 UINT8 mUSSDTextLength;
23639
23640 // This array must be the size specified by mUSSDTextLength
23641 // UINT8 mUSSDText[1];
23642 };
23643
23644 // Structure to describe indication TLV 0x3E for CAT EventReport
23645 struct sCATEventReportIndication_DefaultText
23646 {
23647 eQMICATDataCodingScheme mDataCodingScheme;
23648 UINT8 mTextDataLength;
23649
23650 // This array must be the size specified by mTextDataLength
23651 // UINT8 mTextData[1];
23652 };
23653
23654 // Structure to describe indication TLV 0x3F for CAT EventReport
23655 struct sCATEventReportIndication_ImmediateResponseRequired
23656 {
23657 eQMICATImmediateResponse mImmediateResponse;
23658 };
23659
23660 // Structure to describe indication TLV 0x40 for CAT EventReport
23661 struct sCATEventReportIndication_UserConfirmationAlpha
23662 {
23663 eQMICATDataCodingScheme mDataCodingScheme;
23664 UINT8 mTextDataLength;
23665
23666 // This array must be the size specified by mTextDataLength
23667 // UINT8 mTextData[1];
23668 };
23669
23670 // Structure to describe indication TLV 0x41 for CAT EventReport
23671 struct sCATEventReportIndication_SetupCallDisplayAlpha
23672 {
23673 eQMICATDataCodingScheme mDataCodingScheme;
23674 UINT8 mTextDataLength;
23675
23676 // This array must be the size specified by mTextDataLength
23677 // UINT8 mTextData[1];
23678 };
23679
23680 // Structure to describe indication TLV 0x42 for CAT EventReport
23681 struct sCATEventReportIndication_UserConfirmationIcon
23682 {
23683 eQMICATIconQualifier mIconQualifier;
23684 UINT8 mHeight;
23685 UINT8 mWidth;
23686 eQMICATImageCodingScheme mImageCodingScheme;
23687 UINT8 mRecordNumber;
23688 UINT16 mIconDataLength;
23689
23690 // This array must be the size specified by mIconDataLength
23691 // UINT8 mIconData[1];
23692 };
23693
23694 // Structure to describe indication TLV 0x43 for CAT EventReport
23695 struct sCATEventReportIndication_SetupCallDisplayIcon
23696 {
23697 eQMICATIconQualifier mIconQualifier;
23698 UINT8 mHeight;
23699 UINT8 mWidth;
23700 eQMICATImageCodingScheme mImageCodingScheme;
23701 UINT8 mRecordNumber;
23702 UINT16 mIconDataLength;
23703
23704 // This array must be the size specified by mIconDataLength
23705 // UINT8 mIconData[1];
23706 };
23707
23708 // Structure to describe indication TLV 0x44 for CAT EventReport
23709 struct sCATEventReportIndication_GatewayProxy
23710 {
23711 eQMICATDataCodingScheme mDataCodingScheme;
23712 UINT8 mTextDataLength;
23713
23714 // This array must be the size specified by mTextDataLength
23715 // UINT8 mTextData[1];
23716 };
23717
23718 // Structure to describe indication TLV 0x45 for CAT EventReport
23719 struct sCATEventReportIndication_Alpha
23720 {
23721 eQMICATDataCodingScheme mDataCodingScheme;
23722 UINT8 mTextDataLength;
23723
23724 // This array must be the size specified by mTextDataLength
23725 // UINT8 mTextData[1];
23726 };
23727
23728 // Structure to describe indication TLV 0x46 for CAT EventReport
23729 struct sCATEventReportIndication_NotificationRequired
23730 {
23731 eQMICATNotificationRequired mNotificationRequired;
23732 };
23733
23734 // Structure to describe indication TLV 0x47 for CAT EventReport
23735 struct sCATEventReportIndication_PlayToneEvent
23736 {
23737 UINT32 mReferenceID;
23738 UINT16 mCommandLength;
23739
23740 // This array must be the size specified by mCommandLength
23741 // UINT8 mPlayToneCommand[1];
23742 };
23743
23744 // Structure to describe indication TLV 0x48 for CAT EventReport
23745 struct sCATEventReportIndication_SetupCallEvent
23746 {
23747 UINT32 mReferenceID;
23748 UINT16 mCommandLength;
23749
23750 // This array must be the size specified by mCommandLength
23751 // UINT8 mSetupCallCommand[1];
23752 };
23753
23754 // Structure to describe indication TLV 0x49 for CAT EventReport
23755 struct sCATEventReportIndication_SendDTMFEvent
23756 {
23757 UINT32 mReferenceID;
23758 UINT16 mCommandLength;
23759
23760 // This array must be the size specified by mCommandLength
23761 // UINT8 mSendDTMFCommand[1];
23762 };
23763
23764 // Structure to describe indication TLV 0x4A for CAT EventReport
23765 struct sCATEventReportIndication_LaunchBrowserEvent
23766 {
23767 UINT32 mReferenceID;
23768 UINT16 mCommandLength;
23769
23770 // This array must be the size specified by mCommandLength
23771 // UINT8 mLaunchBrowserCommand[1];
23772 };
23773
23774 // Structure to describe indication TLV 0x4B for CAT EventReport
23775 struct sCATEventReportIndication_SendSMSEvent
23776 {
23777 UINT32 mReferenceID;
23778 UINT16 mCommandLength;
23779
23780 // This array must be the size specified by mCommandLength
23781 // UINT8 mSendSMSCommand[1];
23782 };
23783
23784 // Structure to describe indication TLV 0x4C for CAT EventReport
23785 struct sCATEventReportIndication_SendSSEvent
23786 {
23787 UINT32 mReferenceID;
23788 UINT16 mCommandLength;
23789
23790 // This array must be the size specified by mCommandLength
23791 // UINT8 mSendSSCommand[1];
23792 };
23793
23794 // Structure to describe indication TLV 0x4D for CAT EventReport
23795 struct sCATEventReportIndication_SendUSSDEvent
23796 {
23797 UINT32 mReferenceID;
23798 UINT16 mCommandLength;
23799
23800 // This array must be the size specified by mCommandLength
23801 // UINT8 mSendUSSDCommand[1];
23802 };
23803
23804 // Structure to describe indication TLV 0x4E for CAT EventReport
23805 struct sCATEventReportIndication_ProvideLocalInformationEvent
23806 {
23807 UINT32 mReferenceID;
23808 UINT16 mCommandLength;
23809
23810 // This array must be the size specified by mCommandLength
23811 // UINT8 mProvideLocalInformationCommand[1];
23812 };
23813
23814 // Structure to describe indication TLV 0x4F for CAT EventReport
23815 struct sCATEventReportIndication_SetupRawEventList
23816 {
23817 UINT32 mReferenceID;
23818 UINT16 mCommandLength;
23819
23820 // This array must be the size specified by mCommandLength
23821 // UINT8 mSetupEventListCommand[1];
23822 };
23823
23824 // Structure to describe indication TLV 0x50 for CAT EventReport
23825 struct sCATEventReportIndication_Slot
23826 {
23827 eQMICATSlot mSlot;
23828 };
23829
23830 // Structure to describe indication TLV 0x51 for CAT EventReport
23831 struct sCATEventReportIndication_OpenChannelEvent
23832 {
23833 UINT32 mReferenceID;
23834 UINT16 mCommandLength;
23835
23836 // This array must be the size specified by mCommandLength
23837 // UINT8 mOpenChannelCommand[1];
23838 };
23839
23840 // Structure to describe indication TLV 0x52 for CAT EventReport
23841 struct sCATEventReportIndication_CloseChannelEvent
23842 {
23843 UINT32 mReferenceID;
23844 UINT16 mCommandLength;
23845
23846 // This array must be the size specified by mCommandLength
23847 // UINT8 mCloseChannelCommand[1];
23848 };
23849
23850 // Structure to describe indication TLV 0x53 for CAT EventReport
23851 struct sCATEventReportIndication_SendDataEvent
23852 {
23853 UINT32 mReferenceID;
23854 UINT16 mCommandLength;
23855
23856 // This array must be the size specified by mCommandLength
23857 // UINT8 mSendDataCommand[1];
23858 };
23859
23860 // Structure to describe indication TLV 0x54 for CAT EventReport
23861 struct sCATEventReportIndication_ReceiveDataEvent
23862 {
23863 UINT32 mReferenceID;
23864 UINT16 mCommandLength;
23865
23866 // This array must be the size specified by mCommandLength
23867 // UINT8 mReceiveDataCommand[1];
23868 };
23869
23870 // Structure to describe indication TLV 0x55 for CAT EventReport
23871 struct sCATEventReportIndication_OnDemmandLinkEstablish
23872 {
23873 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
23874 };
23875
23876 // Structure to describe indication TLV 0x56 for CAT EventReport
23877 struct sCATEventReportIndication_CSDBearerDescription
23878 {
23879 UINT8 mSpeed;
23880 eQMICATCSDBearerName mCSDBearerName;
23881 eQMICATConnectionElement mConnectionElement;
23882 };
23883
23884 // Structure to describe indication TLV 0x57 for CAT EventReport
23885 struct sCATEventReportIndication_GPRSBearerDescription
23886 {
23887 UINT8 mPrecedenceClass;
23888 UINT8 mDelayClass;
23889 UINT8 mReliabilityClass;
23890 UINT8 mPeakThroughput;
23891 UINT8 mMeanThroughput;
23892 eQMICATPacketDataProtocol mPacketDataProtocol;
23893 };
23894
23895 // Structure to describe indication TLV 0x58 for CAT EventReport
23896 struct sCATEventReportIndication_EUTRANExternalParameterBearerDescription
23897 {
23898 eQMICATTrafficClass mTrafficClass;
23899 UINT16 mMaxUploadBitrate;
23900 UINT16 mMaxDownloadBitrate;
23901 UINT16 mGuaranteedUploadBitrate;
23902 UINT16 mGuaranteedDownloadBitrate;
23903 eQMICATDeliveryOrder mDeliveryOrder;
23904 UINT8 mMaxSDUSize;
23905 UINT8 mMaxSDUErrorRatio;
23906 UINT8 mResidualBitErrorRatio;
23907 eQMICATDeliverErrorSDU mDeliverErrorSDU;
23908 UINT8 mTransferDelay;
23909 UINT8 mTrafficHandlingPRI;
23910 eQMICATPDPType mPDPType;
23911 };
23912
23913 // Structure to describe indication TLV 0x59 for CAT EventReport
23914 struct sCATEventReportIndication_EUTRANExternalMappedUTRANBearerDescription
23915 {
23916 UINT8 mQCI;
23917 UINT8 mMaxUploadBitrate;
23918 UINT8 mMaxDownloadBitrate;
23919 UINT8 mGuaranteedUploadBitrate;
23920 UINT8 mGuaranteedDownloadBitrate;
23921 UINT8 mMaximumUploadBitrateExt;
23922 UINT8 mMaximumDownloadBitrateExt;
23923 UINT8 mGuaranteedUploadBitrateExt;
23924 UINT8 mGuaranteedDownloadBitrateExt;
23925 eQMICATPDPType mPDPType;
23926 };
23927
23928 // Structure to describe indication TLV 0x5A for CAT EventReport
23929 struct sCATEventReportIndication_BufferSize
23930 {
23931 UINT16 mBufferSize;
23932 };
23933
23934 // Structure to describe indication TLV 0x5B for CAT EventReport
23935 struct sCATEventReportIndication_NetworkAccessName
23936 {
23937 UINT8 mNetworkAccessNameLength;
23938
23939 // This array must be the size specified by mNetworkAccessNameLength
23940 // UINT8 mNetworkAccessName[1];
23941 };
23942
23943 // Structure to describe indication TLV 0x5C for CAT EventReport
23944 struct sCATEventReportIndication_OtherAddress
23945 {
23946 eQMICATAddressType mAddressType;
23947 UINT8 mAddressDataLength;
23948
23949 // This array must be the size specified by mAddressDataLength
23950 // char mAddressData[1];
23951 };
23952
23953 // Structure to describe indication TLV 0x5D for CAT EventReport
23954 struct sCATEventReportIndication_UserLogin
23955 {
23956 eQMICATDataCodingScheme mDataCodingScheme;
23957 UINT8 mTextDataLength;
23958
23959 // This array must be the size specified by mTextDataLength
23960 // UINT8 mTextData[1];
23961 };
23962
23963 // Structure to describe indication TLV 0x5E for CAT EventReport
23964 struct sCATEventReportIndication_UserPassword
23965 {
23966 eQMICATDataCodingScheme mDataCodingScheme;
23967 UINT8 mTextDataLength;
23968
23969 // This array must be the size specified by mTextDataLength
23970 // UINT8 mTextData[1];
23971 };
23972
23973 // Structure to describe indication TLV 0x5F for CAT EventReport
23974 struct sCATEventReportIndication_TransportLevel
23975 {
23976 eQMICATTransportProtocol mTransportProtocol;
23977 UINT16 mPortNumber;
23978 };
23979
23980 // Structure to describe indication TLV 0x60 for CAT EventReport
23981 struct sCATEventReportIndication_DataDestinationAddress
23982 {
23983 eQMICATAddressType mAddressType;
23984 UINT8 mAddressDataLength;
23985
23986 // This array must be the size specified by mAddressDataLength
23987 // char mAddressData[1];
23988 };
23989
23990 // Structure to describe indication TLV 0x61 for CAT EventReport
23991 struct sCATEventReportIndication_ChannelDataLength
23992 {
23993 UINT8 mChannelDataLength;
23994 };
23995
23996 // Structure to describe indication TLV 0x62 for CAT EventReport
23997 struct sCATEventReportIndication_SendDataImmediately
23998 {
23999 eQMICATSendDataImmediately mSendDataImmediately;
24000 };
24001
24002 // Structure to describe indication TLV 0x63 for CAT EventReport
24003 struct sCATEventReportIndication_ChannelData
24004 {
24005 UINT16 mChannelDataLength;
24006
24007 // This array must be the size specified by mChannelDataLength
24008 // UINT8 mChannelData[1];
24009 };
24010
24011 // Structure to describe indication TLV 0x64 for CAT EventReport
24012 struct sCATEventReportIndication_ChannelID
24013 {
24014 UINT8 mChannelID;
24015 };
24016
24017 // Structure to describe indication TLV 0x65 for CAT EventReport
24018 struct sCATEventReportIndication_ItemsWithDCS
24019 {
24020 UINT8 mItemsLength;
24021
24022 struct sItem
24023 {
24024 UINT8 mItemID;
24025 eQMICATDataCodingScheme mDataCodingScheme;
24026 UINT8 mItemTextLength;
24027
24028 // This array must be the size specified by mItemTextLength
24029 // UINT8 mItemText[1];
24030 };
24031
24032 // This array must be the size specified by mItemsLength
24033 // sItem mItems[1];
24034 };
24035
24036 // Structure to describe indication TLV 0x66 for CAT EventReport
24037 struct sCATEventReportIndication_Activate
24038 {
24039 UINT32 mReferenceID;
24040 UINT16 mActivateLength;
24041
24042 // This array must be the size specified by mActivateLength
24043 // UINT8 mActivate[1];
24044 };
24045
24046 // Structure to describe indication TLV 0x67 for CAT EventReport
24047 struct sCATEventReportIndication_ActivateTarget
24048 {
24049 eQMICATActivateTargets mActivateTarget;
24050 };
24051
24052 // Structure to describe response TLV 0x01 for CATGetServiceState()
24053 struct sCATGetServiceStateResponse_CATServiceState
24054 {
24055 bool mCommonDisplayText:1;
24056 bool mCommonGetInkey:1;
24057 bool mCommonGetInput:1;
24058 bool mCommonSetupMenu:1;
24059 bool mCommonSelectItem:1;
24060 bool mCommonSendSMSAlphaIdentifier:1;
24061 bool mCommonSetupEventUserActivity:1;
24062 bool mCommonSetupEventIdleScreenNotify:1;
24063 bool mCommonSetupEventLanguageSelNotify:1;
24064 bool mCommonSetupIdleModeText:1;
24065 bool mCommonLanguageNotification:1;
24066 bool mCommonRefresh:1;
24067 bool mCommonEndProactiveSession:1;
24068 bool mCommonPlayTone:1;
24069 bool mCommonSetupCall:1;
24070 bool mCommonSendDTMF:1;
24071 bool mCommonLaunchBrowser:1;
24072 bool mCommonSendSS:1;
24073 bool mCommonSendUSSD:1;
24074 bool mCommonProvideLocalInformationLanguage:1;
24075 bool mCommonBearerIndependentProtocol:1;
24076 bool mCommonSetupEventBrowserTermination:1;
24077 bool mCommonProvideLocalInformationTime:1;
24078 bool mCommonActivate:1;
24079
24080 // Padding out 1 bits
24081 UINT8 mReserved1:1;
24082
24083 bool mCommonSetupEventHCIConnectivity:1;
24084
24085 // Padding out 6 bits
24086 UINT8 mReserved2:6;
24087
24088 bool mControlDisplayText:1;
24089 bool mControlGetInkey:1;
24090 bool mControlGetInput:1;
24091 bool mControlSetupMenu:1;
24092 bool mControlSelectItem:1;
24093 bool mControlSendSMSAlphaIdentifier:1;
24094 bool mControlSetupEventUserActivity:1;
24095 bool mControlSetupEventIdleScreenNotify:1;
24096 bool mControlSetupEventLanguageSelNotify:1;
24097 bool mControlSetupIdleModeText:1;
24098 bool mControlLanguageNotification:1;
24099 bool mControlRefresh:1;
24100 bool mControlEndProactiveSession:1;
24101 bool mControlPlayTone:1;
24102 bool mControlSetupCall:1;
24103 bool mControlSendDTMF:1;
24104 bool mControlLaunchBrowser:1;
24105 bool mControlSendSS:1;
24106 bool mControlSendUSSD:1;
24107 bool mControlProvideLocalInformationLanguage:1;
24108 bool mControlBearerIndependentProtocol:1;
24109 bool mControlSetupEventBrowserTermination:1;
24110 bool mControlProvideLocalInformationTime:1;
24111 bool mControlActivate:1;
24112
24113 // Padding out 1 bits
24114 UINT8 mReserved3:1;
24115
24116 bool mControlSetupEventHCIConnectivity:1;
24117
24118 // Padding out 6 bits
24119 UINT8 mReserved4:6;
24120 };
24121
24122 // Structure to describe response TLV 0x10 for CATGetServiceState()
24123 struct sCATGetServiceStateResponse_DecodedCATServiceState
24124 {
24125 bool mCommonDisplayText:1;
24126 bool mCommonGetInkey:1;
24127 bool mCommonGetInput:1;
24128 bool mCommonSetupMenu:1;
24129 bool mCommonSelectItem:1;
24130 bool mCommonSendSMSAlphaIdentifier:1;
24131 bool mCommonSetupEventUserActivity:1;
24132 bool mCommonSetupEventIdleScreenNotify:1;
24133 bool mCommonSetupEventLanguageSelNotify:1;
24134 bool mCommonSetupIdleModeText:1;
24135 bool mCommonLanguageNotification:1;
24136
24137 // Padding out 1 bits
24138 UINT8 mReserved1:1;
24139
24140 bool mCommonEndProactiveSession:1;
24141 bool mCommonPlayTone:1;
24142 bool mCommonSetupCall:1;
24143 bool mCommonSendDTMF:1;
24144 bool mCommonLaunchBrowser:1;
24145 bool mCommonSendSS:1;
24146 bool mCommonSendUSSD:1;
24147 bool mCommonProvideLocalInformationLanguage:1;
24148 bool mCommonBearerIndependentProtocol:1;
24149
24150 // Padding out 2 bits
24151 UINT8 mReserved2:2;
24152
24153 bool mCommonSCWSEvent:1;
24154 bool mCommonActivate:1;
24155 bool mCommonSetupEventHCIConnectivity:1;
24156
24157 // Padding out 6 bits
24158 UINT8 mReserved3:6;
24159
24160 bool mControlDisplayText:1;
24161 bool mControlGetInkey:1;
24162 bool mControlGetInput:1;
24163 bool mControlSetupMenu:1;
24164 bool mControlSelectItem:1;
24165 bool mControlSendSMSAlphaIdentifier:1;
24166 bool mControlSetupEventUserActivity:1;
24167 bool mControlSetupEventIdleScreenNotify:1;
24168 bool mControlSetupEventLanguageSelNotify:1;
24169 bool mControlSetupIdleModeText:1;
24170 bool mControlLanguageNotification:1;
24171
24172 // Padding out 1 bits
24173 UINT8 mReserved4:1;
24174
24175 bool mControlEndProactiveSession:1;
24176 bool mControlPlayTone:1;
24177 bool mControlSetupCall:1;
24178 bool mControlSendDTMF:1;
24179 bool mControlLaunchBrowser:1;
24180 bool mControlSendSS:1;
24181 bool mControlSendUSSD:1;
24182 bool mControlProvideLocalInformationLanguage:1;
24183 bool mControlBearerIndependentProtocol:1;
24184
24185 // Padding out 2 bits
24186 UINT8 mReserved5:2;
24187
24188 bool mControlSCWSEvent:1;
24189 bool mControlActivate:1;
24190 bool mControlSetupEventHCIConnectivity:1;
24191
24192 // Padding out 6 bits
24193 UINT8 mReserved6:6;
24194 };
24195
24196 // Structure to describe request TLV 0x01 for CATSendTerminalResponse()
24197 struct sCATSendTerminalResponseRequest_TerminalResponseType
24198 {
24199 UINT32 mReferenceID;
24200 UINT16 mTerminalResponseLength;
24201
24202 // This array must be the size specified by mTerminalResponseLength
24203 // UINT8 mTerminalResponse[1];
24204 };
24205
24206 // Structure to describe request TLV 0x10 for CATSendTerminalResponse()
24207 struct sCATSendTerminalResponseRequest_Slot
24208 {
24209 eQMICATSlot mSlot;
24210 };
24211
24212 // Structure to describe response TLV 0x10 for CATSendTerminal()
24213 struct sCATSendTerminalResponseResponse_TRResponse
24214 {
24215 UINT8 mSW1;
24216 UINT8 mSW2;
24217 UINT8 mTerminalResponseLength;
24218
24219 // This array must be the size specified by mTerminalResponseLength
24220 // UINT8 mTerminalResponseData[1];
24221 };
24222
24223 // Structure to describe request TLV 0x01 for CATEnvelopeCommand()
24224 struct sCATEnvelopeCommandRequest_EnvelopeCommand
24225 {
24226 eQMICATEnvelopeCommandType mEnvelopeCommandType;
24227 UINT16 mEnvelopeLength;
24228
24229 // This array must be the size specified by mEnvelopeLength
24230 // UINT8 mEnvelopeData[1];
24231 };
24232
24233 // Structure to describe request TLV 0x10 for CATEnvelopeCommand()
24234 struct sCATEnvelopeCommandRequest_Slot
24235 {
24236 eQMICATSlot mSlot;
24237 };
24238
24239 // Structure to describe response TLV 0x10 for CATEnvelopeCommand()
24240 struct sCATEnvelopeCommandResponse_RawResponse
24241 {
24242 UINT8 mSW1;
24243 UINT8 mSW2;
24244 UINT8 mEnvelopeResponseLength;
24245
24246 // This array must be the size specified by mEnvelopeResponseLength
24247 // UINT8 mEnvelopeResponseData[1];
24248 };
24249
24250 // Structure to describe request TLV 0x01 for CATGetEventReport()
24251 struct sCATGetEventReportRequest_CommandInput
24252 {
24253 UINT32 mCommandID;
24254 eQMICATCommandFormat mCommandFormat;
24255 };
24256
24257 // Structure to describe response TLV 0x10 for CATGetEventReport()
24258 struct sCATGetEventReportResponse_DisplayTextEvent
24259 {
24260 UINT32 mReferenceID;
24261 UINT16 mCommandLength;
24262
24263 // This array must be the size specified by mCommandLength
24264 // UINT8 mDisplayTextCommand[1];
24265 };
24266
24267 // Structure to describe response TLV 0x11 for CATGetEventReport()
24268 struct sCATGetEventReportResponse_GetInkeyEvent
24269 {
24270 UINT32 mReferenceID;
24271 UINT16 mCommandLength;
24272
24273 // This array must be the size specified by mCommandLength
24274 // UINT8 mGetInkeyCommand[1];
24275 };
24276
24277 // Structure to describe response TLV 0x12 for CATGetEventReport()
24278 struct sCATGetEventReportResponse_GetInputEvent
24279 {
24280 UINT32 mReferenceID;
24281 UINT16 mCommandLength;
24282
24283 // This array must be the size specified by mCommandLength
24284 // UINT8 mGetInputCommand[1];
24285 };
24286
24287 // Structure to describe response TLV 0x13 for CATGetEventReport()
24288 struct sCATGetEventReportResponse_SetupMenuEvent
24289 {
24290 UINT32 mReferenceID;
24291 UINT16 mCommandLength;
24292
24293 // This array must be the size specified by mCommandLength
24294 // UINT8 mSetupMenuCommand[1];
24295 };
24296
24297 // Structure to describe response TLV 0x14 for CATGetEventReport()
24298 struct sCATGetEventReportResponse_SelectItemEvent
24299 {
24300 UINT32 mReferenceID;
24301 UINT16 mCommandLength;
24302
24303 // This array must be the size specified by mCommandLength
24304 // UINT8 mSelectItemCommand[1];
24305 };
24306
24307 // Structure to describe response TLV 0x15 for CATGetEventReport()
24308 struct sCATGetEventReportResponse_AlphaIDAvailable
24309 {
24310 eQMICATAlphaIDCommandType mAlphaIDCommandType;
24311 UINT16 mAlphaIDLength;
24312
24313 // This array must be the size specified by mAlphaIDLength
24314 // UINT8 mAlphaID[1];
24315 };
24316
24317 // Structure to describe response TLV 0x16 for CATGetEventReport()
24318 struct sCATGetEventReportResponse_SetupEventList
24319 {
24320 bool mUserActivityNotify:1;
24321 bool mIdleScreenAvailable:1;
24322 bool mLanguageSelectionNotify:1;
24323
24324 // Padding out 29 bits
24325 UINT8 mReserved1:5;
24326 UINT8 mReserved2[3];
24327 };
24328
24329 // Structure to describe response TLV 0x17 for CATGetEventReport()
24330 struct sCATGetEventReportResponse_SetupIdleModeTextEvent
24331 {
24332 UINT32 mReferenceID;
24333 UINT16 mCommandLength;
24334
24335 // This array must be the size specified by mCommandLength
24336 // UINT8 mSetupIdleModeTextCommand[1];
24337 };
24338
24339 // Structure to describe response TLV 0x18 for CATGetEventReport()
24340 struct sCATGetEventReportResponse_LanguageNotificationEvent
24341 {
24342 UINT32 mReferenceID;
24343 UINT16 mCommandLength;
24344
24345 // This array must be the size specified by mCommandLength
24346 // UINT8 mLanguageNotificationCommand[1];
24347 };
24348
24349 // Structure to describe response TLV 0x19 for CATGetEventReport()
24350 struct sCATGetEventReportResponse_RefreshEvent
24351 {
24352 UINT16 mRefreshMode;
24353 eQMICATRefreshStage mRefreshStage;
24354 };
24355
24356 // Structure to describe response TLV 0x1A for CATGetEventReport()
24357 struct sCATGetEventReportResponse_EndProactiveSession
24358 {
24359 eQMICATProactiveSessionEndType mProactiveSessionEndType;
24360 };
24361
24362 // Structure to describe response TLV 0x1B for CATGetEventReport()
24363 struct sCATGetEventReportResponse_DecodedHeaderID
24364 {
24365 eQMICATCommandID mCommandID;
24366 UINT32 mReferenceID;
24367 UINT8 mCommandNumber;
24368 };
24369
24370 // Structure to describe response TLV 0x1C for CATGetEventReport()
24371 struct sCATGetEventReportResponse_TextString
24372 {
24373 eQMICATDataCodingScheme mDataCodingScheme;
24374 UINT8 mTextDataLength;
24375
24376 // This array must be the size specified by mTextDataLength
24377 // UINT8 mTextData[1];
24378 };
24379
24380 // Structure to describe response TLV 0x1D for CATGetEventReport()
24381 struct sCATGetEventReportResponse_HighPriority
24382 {
24383 eQMICATHighPriority mHighPriority;
24384 };
24385
24386 // Structure to describe response TLV 0x1E for CATGetEventReport()
24387 struct sCATGetEventReportResponse_UserControl
24388 {
24389 eQMICATUserControl mUserControl;
24390 };
24391
24392 // Structure to describe response TLV 0x1F for CATGetEventReport()
24393 struct sCATGetEventReportResponse_Icon
24394 {
24395 eQMICATIconQualifier mIconQualifier;
24396 UINT8 mHeight;
24397 UINT8 mWidth;
24398 eQMICATImageCodingScheme mImageCodingScheme;
24399 UINT8 mRecordNumber;
24400 UINT16 mIconDataLength;
24401
24402 // This array must be the size specified by mIconDataLength
24403 // UINT8 mIconData[1];
24404 };
24405
24406 // Structure to describe response TLV 0x20 for CATGetEventReport()
24407 struct sCATGetEventReportResponse_Duration
24408 {
24409 eQMICATTimeUnits mUnits;
24410 UINT8 mInterval;
24411 };
24412
24413 // Structure to describe response TLV 0x21 for CATGetEventReport()
24414 struct sCATGetEventReportResponse_ResponseFormat
24415 {
24416 eQMICATResponseFormat mResponseFormat;
24417 };
24418
24419 // Structure to describe response TLV 0x22 for CATGetEventReport()
24420 struct sCATGetEventReportResponse_HelpAvailable
24421 {
24422 eQMICATHelpAvailable mHelpAvailable;
24423 };
24424
24425 // Structure to describe response TLV 0x23 for CATGetEventReport()
24426 struct sCATGetEventReportResponse_ResponsePackingFormat
24427 {
24428 eQMICATResponsePackingFormat mResponsePackingFormat;
24429 };
24430
24431 // Structure to describe response TLV 0x24 for CATGetEventReport()
24432 struct sCATGetEventReportResponse_ResponseLength
24433 {
24434 UINT8 mMaximumUserInput;
24435 UINT8 mMinimumUserInput;
24436 };
24437
24438 // Structure to describe response TLV 0x25 for CATGetEventReport()
24439 struct sCATGetEventReportResponse_ShowUserInput
24440 {
24441 eQMICATShowUserInput mShowUserInput;
24442 };
24443
24444 // Structure to describe response TLV 0x26 for CATGetEventReport()
24445 struct sCATGetEventReportResponse_Tone
24446 {
24447 eQMICATTone mTone;
24448 };
24449
24450 // Structure to describe response TLV 0x27 for CATGetEventReport()
24451 struct sCATGetEventReportResponse_SoftkeySelection
24452 {
24453 eQMICATSoftkeySelection mSoftkeySelection;
24454 };
24455
24456 // Structure to describe response TLV 0x28 for CATGetEventReport()
24457 struct sCATGetEventReportResponse_Items
24458 {
24459 UINT8 mItemsLength;
24460
24461 struct sItem
24462 {
24463 UINT8 mItemID;
24464 UINT8 mItemTextLength;
24465
24466 // This array must be the size specified by mItemTextLength
24467 // UINT8 mItemText[1];
24468 };
24469
24470 // This array must be the size specified by mItemsLength
24471 // sItem mItems[1];
24472 };
24473
24474 // Structure to describe response TLV 0x29 for CATGetEventReport()
24475 struct sCATGetEventReportResponse_DefaultItems
24476 {
24477 UINT8 mDefaultItem;
24478 };
24479
24480 // Structure to describe response TLV 0x2A for CATGetEventReport()
24481 struct sCATGetEventReportResponse_NextActionIdentifier
24482 {
24483 UINT8 mActionsLength;
24484
24485 // This array must be the size specified by mActionsLength
24486 // eQMICATNextAction mNextAction[1];
24487 };
24488
24489 // Structure to describe response TLV 0x2B for CATGetEventReport()
24490 struct sCATGetEventReportResponse_IconIDList
24491 {
24492 eQMICATDisplayIconOnly mDisplayIconOnly;
24493 UINT8 mItemsLength;
24494
24495 struct sItem
24496 {
24497 eQMICATIconQualifier mIconQualifier;
24498 UINT8 mHeight;
24499 UINT8 mWidth;
24500 eQMICATImageCodingScheme mImageCodingScheme;
24501 UINT8 mRecordNumber;
24502 UINT16 mIconDataLength;
24503
24504 // This array must be the size specified by mIconDataLength
24505 // UINT8 mIconData[1];
24506 };
24507
24508 // This array must be the size specified by mItemsLength
24509 // sItem mItems[1];
24510 };
24511
24512 // Structure to describe response TLV 0x2C for CATGetEventReport()
24513 struct sCATGetEventReportResponse_Presentation
24514 {
24515 eQMICATPresentation mPresentation;
24516 };
24517
24518 // Structure to describe response TLV 0x2D for CATGetEventReport()
24519 struct sCATGetEventReportResponse_PackingRequired
24520 {
24521 eQMICATPackingRequired mPackingRequired;
24522 };
24523
24524 // Structure to describe response TLV 0x2E for CATGetEventReport()
24525 struct sCATGetEventReportResponse_SMSTPDU
24526 {
24527 UINT8 mSMSTPDUDataLength;
24528
24529 // This array must be the size specified by mSMSTPDUDataLength
24530 // UINT8 mSMSTPDUData[1];
24531 };
24532
24533 // Structure to describe response TLV 0x2F for CATGetEventReport()
24534 struct sCATGetEventReportResponse_IsCDMASMS
24535 {
24536 eQMICATIsCDMASMS mIsCDMASMS;
24537 };
24538
24539 // Structure to describe response TLV 0x30 for CATGetEventReport()
24540 struct sCATGetEventReportResponse_Address
24541 {
24542 eQMICATAddressTON mAddressTON;
24543 eQMICATAddressNPI mAddressNPI;
24544 UINT8 mAddressDataLength;
24545
24546 // This array must be the size specified by mAddressDataLength
24547 // char mAddressData[1];
24548 };
24549
24550 // Structure to describe response TLV 0x31 for CATGetEventReport()
24551 struct sCATGetEventReportResponse_CallSetupRequirement
24552 {
24553 eQMICATCallSetupRequirement mCallSetupRequirement;
24554 };
24555
24556 // Structure to describe response TLV 0x32 for CATGetEventReport()
24557 struct sCATGetEventReportResponse_Redial
24558 {
24559 eQMICATRedialNecessary mRedialNecessary;
24560 eQMICATTimeUnits mUnits;
24561 UINT8 mInterval;
24562 };
24563
24564 // Structure to describe response TLV 0x33 for CATGetEventReport()
24565 struct sCATGetEventReportResponse_Subaddress
24566 {
24567 UINT8 mSubaddressDataLength;
24568
24569 struct sSubaddressData
24570 {
24571 UINT8 mSubaddressData1:4;
24572 UINT8 mSubaddressData2:4;
24573 };
24574
24575 // This array must be the size specified by mSubaddressDataLength
24576 // sSubaddressData mSubaddressDatas[1];
24577 };
24578
24579 // Structure to describe response TLV 0x34 for CATGetEventReport()
24580 struct sCATGetEventReportResponse_CapabilityConfiguration
24581 {
24582 UINT8 mCapabilitesConfigurationLength;
24583
24584 // This array must be the size specified by mCapabilitesConfigurationLength
24585 // UINT8 mCapabilitiesConfiguration[1];
24586 };
24587
24588 // Structure to describe response TLV 0x35 for CATGetEventReport()
24589 struct sCATGetEventReportResponse_DTMF
24590 {
24591 UINT8 mDTMFDataLength;
24592
24593 struct sDTMFData
24594 {
24595 UINT8 mDTMFData1:4;
24596 UINT8 mDTMFData2:4;
24597 };
24598
24599 // This array must be the size specified by mDTMFDataLength
24600 // sDTMFData mDTMFDatas[1];
24601 };
24602
24603 // Structure to describe response TLV 0x36 for CATGetEventReport()
24604 struct sCATGetEventReportResponse_SpecificLanguageNotification
24605 {
24606 eQMICATSpecificLanguageNotfication mSpecificLanguageNotification;
24607 };
24608
24609 // Structure to describe response TLV 0x37 for CATGetEventReport()
24610 struct sCATGetEventReportResponse_Language
24611 {
24612 char mLanguage[2];
24613 };
24614
24615 // Structure to describe response TLV 0x38 for CATGetEventReport()
24616 struct sCATGetEventReportResponse_LaunchMode
24617 {
24618 eQMICATLaunchMode mLaunchMode;
24619 };
24620
24621 // Structure to describe response TLV 0x39 for CATGetEventReport()
24622 struct sCATGetEventReportResponse_URL
24623 {
24624 UINT8 mURLDataLength;
24625
24626 // This array must be the size specified by mURLDataLength
24627 // char mURLData[1];
24628 };
24629
24630 // Structure to describe response TLV 0x3A for CATGetEventReport()
24631 struct sCATGetEventReportResponse_BrowserID
24632 {
24633 UINT8 mBrowserID;
24634 };
24635
24636 // Structure to describe response TLV 0x3B for CATGetEventReport()
24637 struct sCATGetEventReportResponse_BearerList
24638 {
24639 UINT8 mBearerListLength;
24640
24641 // This array must be the size specified by mBearerListLength
24642 // eQMICATBearer mBearerList[1];
24643 };
24644
24645 // Structure to describe response TLV 0x3C for CATGetEventReport()
24646 struct sCATGetEventReportResponse_ProvisioningFiles
24647 {
24648 UINT32 mNumberOfProvisioningFiles;
24649
24650 struct sFile
24651 {
24652 UINT8 mPathLength;
24653
24654 // This array must be the size specified by mPathLength
24655 // char mPath[1];
24656 };
24657
24658 // This array must be the size specified by mNumberOfProvisioningFiles
24659 // sFile mFiles[1];
24660 };
24661
24662 // Structure to describe response TLV 0x3D for CATGetEventReport()
24663 struct sCATGetEventReportResponse_USSDString
24664 {
24665 eQMICATUSSDDataCodingScheme mOriginalDataCodingScheme;
24666 eQMICATUSSDDataCodingScheme mDataCodingScheme;
24667 UINT8 mUSSDTextLength;
24668
24669 // This array must be the size specified by mUSSDTextLength
24670 // UINT8 mUSSDText[1];
24671 };
24672
24673 // Structure to describe response TLV 0x3E for CATGetEventReport()
24674 struct sCATGetEventReportResponse_DefaultText
24675 {
24676 eQMICATDataCodingScheme mDataCodingScheme;
24677 UINT8 mTextDataLength;
24678
24679 // This array must be the size specified by mTextDataLength
24680 // UINT8 mTextData[1];
24681 };
24682
24683 // Structure to describe response TLV 0x3F for CATGetEventReport()
24684 struct sCATGetEventReportResponse_ImmediateResponseRequest
24685 {
24686 eQMICATImmediateResponse mImmediateResponse;
24687 };
24688
24689 // Structure to describe response TLV 0x40 for CATGetEventReport()
24690 struct sCATGetEventReportResponse_UserConfirmationAlpha
24691 {
24692 eQMICATDataCodingScheme mDataCodingScheme;
24693 UINT8 mTextDataLength;
24694
24695 // This array must be the size specified by mTextDataLength
24696 // UINT8 mTextData[1];
24697 };
24698
24699 // Structure to describe response TLV 0x41 for CATGetEventReport()
24700 struct sCATGetEventReportResponse_SetupCallDisplayAlpha
24701 {
24702 eQMICATDataCodingScheme mDataCodingScheme;
24703 UINT8 mTextDataLength;
24704
24705 // This array must be the size specified by mTextDataLength
24706 // UINT8 mTextData[1];
24707 };
24708
24709 // Structure to describe response TLV 0x42 for CATGetEventReport()
24710 struct sCATGetEventReportResponse_UserConfirmationIcon
24711 {
24712 eQMICATIconQualifier mIconQualifier;
24713 UINT8 mHeight;
24714 UINT8 mWidth;
24715 eQMICATImageCodingScheme mImageCodingScheme;
24716 UINT8 mRecordNumber;
24717 UINT16 mIconDataLength;
24718
24719 // This array must be the size specified by mIconDataLength
24720 // UINT8 mIconData[1];
24721 };
24722
24723 // Structure to describe response TLV 0x43 for CATGetEventReport()
24724 struct sCATGetEventReportResponse_SetupCallDisplayIcon
24725 {
24726 eQMICATIconQualifier mIconQualifier;
24727 UINT8 mHeight;
24728 UINT8 mWidth;
24729 eQMICATImageCodingScheme mImageCodingScheme;
24730 UINT8 mRecordNumber;
24731 UINT16 mIconDataLength;
24732
24733 // This array must be the size specified by mIconDataLength
24734 // UINT8 mIconData[1];
24735 };
24736
24737 // Structure to describe response TLV 0x44 for CATGetEventReport()
24738 struct sCATGetEventReportResponse_GatewayProxy
24739 {
24740 eQMICATDataCodingScheme mDataCodingScheme;
24741 UINT8 mTextDataLength;
24742
24743 // This array must be the size specified by mTextDataLength
24744 // UINT8 mTextData[1];
24745 };
24746
24747 // Structure to describe response TLV 0x45 for CATGetEventReport()
24748 struct sCATGetEventReportResponse_Alpha
24749 {
24750 eQMICATDataCodingScheme mDataCodingScheme;
24751 UINT8 mTextDataLength;
24752
24753 // This array must be the size specified by mTextDataLength
24754 // UINT8 mTextData[1];
24755 };
24756
24757 // Structure to describe response TLV 0x46 for CATGetEventReport()
24758 struct sCATGetEventReportResponse_NotificationRequired
24759 {
24760 eQMICATNotificationRequired mNotificationRequired;
24761 };
24762
24763 // Structure to describe response TLV 0x47 for CATGetEventReport()
24764 struct sCATGetEventReportResponse_PlayToneEvent
24765 {
24766 UINT32 mReferenceID;
24767 UINT16 mCommandLength;
24768
24769 // This array must be the size specified by mCommandLength
24770 // UINT8 mPlayToneCommand[1];
24771 };
24772
24773 // Structure to describe response TLV 0x48 for CATGetEventReport()
24774 struct sCATGetEventReportResponse_SetupCallEvent
24775 {
24776 UINT32 mReferenceID;
24777 UINT16 mCommandLength;
24778
24779 // This array must be the size specified by mCommandLength
24780 // UINT8 mSetupCallCommand[1];
24781 };
24782
24783 // Structure to describe response TLV 0x49 for CATGetEventReport()
24784 struct sCATGetEventReportResponse_SendDTMFEvent
24785 {
24786 UINT32 mReferenceID;
24787 UINT16 mCommandLength;
24788
24789 // This array must be the size specified by mCommandLength
24790 // UINT8 mSendDTMFCommand[1];
24791 };
24792
24793 // Structure to describe response TLV 0x4A for CATGetEventReport()
24794 struct sCATGetEventReportResponse_LaunchBrowserEvent
24795 {
24796 UINT32 mReferenceID;
24797 UINT16 mCommandLength;
24798
24799 // This array must be the size specified by mCommandLength
24800 // UINT8 mLaunchBrowserCommand[1];
24801 };
24802
24803 // Structure to describe response TLV 0x4B for CATGetEventReport()
24804 struct sCATGetEventReportResponse_SendSMSEvent
24805 {
24806 UINT32 mReferenceID;
24807 UINT16 mCommandLength;
24808
24809 // This array must be the size specified by mCommandLength
24810 // UINT8 mSendSMSCommand[1];
24811 };
24812
24813 // Structure to describe response TLV 0x4C for CATGetEventReport()
24814 struct sCATGetEventReportResponse_SendSSEvent
24815 {
24816 UINT32 mReferenceID;
24817 UINT16 mCommandLength;
24818
24819 // This array must be the size specified by mCommandLength
24820 // UINT8 mSendSSCommand[1];
24821 };
24822
24823 // Structure to describe response TLV 0x4D for CATGetEventReport()
24824 struct sCATGetEventReportResponse_SendUSSDEvent
24825 {
24826 UINT32 mReferenceID;
24827 UINT16 mCommandLength;
24828
24829 // This array must be the size specified by mCommandLength
24830 // UINT8 mSendUSSDCommand[1];
24831 };
24832
24833 // Structure to describe response TLV 0x4E for CATGetEventReport()
24834 struct sCATGetEventReportResponse_ProvideLocalInformationEvent
24835 {
24836 UINT32 mReferenceID;
24837 UINT16 mCommandLength;
24838
24839 // This array must be the size specified by mCommandLength
24840 // UINT8 mProvideLocalInformationCommand[1];
24841 };
24842
24843 // Structure to describe response TLV 0x4F for CATGetEventReport()
24844 struct sCATGetEventReportResponse_SetupEventListRawEvent
24845 {
24846 UINT32 mReferenceID;
24847 UINT16 mCommandLength;
24848
24849 // This array must be the size specified by mCommandLength
24850 // UINT8 mSetupEventListCommand[1];
24851 };
24852
24853 // Structure to describe response TLV 0x50 for CATGetEventReport()
24854 struct sCATGetEventReportResponse_Slot
24855 {
24856 eQMICATSlot mSlot;
24857 };
24858
24859 // Structure to describe response TLV 0x51 for CATGetEventReport()
24860 struct sCATGetEventReportResponse_OpenChannelEvent
24861 {
24862 UINT32 mReferenceID;
24863 UINT16 mCommandLength;
24864
24865 // This array must be the size specified by mCommandLength
24866 // UINT8 mOpenChannelCommand[1];
24867 };
24868
24869 // Structure to describe response TLV 0x52 for CATGetEventReport()
24870 struct sCATGetEventReportResponse_CloseChannelEvent
24871 {
24872 UINT32 mReferenceID;
24873 UINT16 mCommandLength;
24874
24875 // This array must be the size specified by mCommandLength
24876 // UINT8 mCloseChannelCommand[1];
24877 };
24878
24879 // Structure to describe response TLV 0x53 for CATGetEventReport()
24880 struct sCATGetEventReportResponse_SendDataEvent
24881 {
24882 UINT32 mReferenceID;
24883 UINT16 mCommandLength;
24884
24885 // This array must be the size specified by mCommandLength
24886 // UINT8 mSendDataCommand[1];
24887 };
24888
24889 // Structure to describe response TLV 0x54 for CATGetEventReport()
24890 struct sCATGetEventReportResponse_ReceiveDataEvent
24891 {
24892 UINT32 mReferenceID;
24893 UINT16 mCommandLength;
24894
24895 // This array must be the size specified by mCommandLength
24896 // UINT8 mReceiveDataCommand[1];
24897 };
24898
24899 // Structure to describe response TLV 0x55 for CATGetEventReport()
24900 struct sCATGetEventReportResponse_OnDemandLinkEstablish
24901 {
24902 eQMICATOnDemandLinkEstablish mOnDemandLinkEstablish;
24903 };
24904
24905 // Structure to describe response TLV 0x56 for CATGetEventReport()
24906 struct sCATGetEventReportResponse_CSDBearerDescription
24907 {
24908 UINT8 mSpeed;
24909 eQMICATCSDBearerName mCSDBearerName;
24910 eQMICATConnectionElement mConnectionElement;
24911 };
24912
24913 // Structure to describe response TLV 0x57 for CATGetEventReport()
24914 struct sCATGetEventReportResponse_GPRSBearerDescription
24915 {
24916 UINT8 mPrecedenceClass;
24917 UINT8 mDelayClass;
24918 UINT8 mReliabilityClass;
24919 UINT8 mPeakThroughput;
24920 UINT8 mMeanThroughput;
24921 eQMICATPacketDataProtocol mPacketDataProtocol;
24922 };
24923
24924 // Structure to describe response TLV 0x58 for CATGetEventReport()
24925 struct sCATGetEventReportResponse_EUTRANExternalParameterBearerDescription
24926 {
24927 eQMICATTrafficClass mTrafficClass;
24928 UINT16 mMaxUploadBitrate;
24929 UINT16 mMaxDownloadBitrate;
24930 UINT16 mGuaranteedUploadBitrate;
24931 UINT16 mGuaranteedDownloadBitrate;
24932 eQMICATDeliveryOrder mDeliveryOrder;
24933 UINT8 mMaxSDUSize;
24934 UINT8 mMaxSDUErrorRatio;
24935 UINT8 mResidualBitErrorRatio;
24936 eQMICATDeliverErrorSDU mDeliverErrorSDU;
24937 UINT8 mTransferDelay;
24938 UINT8 mTrafficHandlingPRI;
24939 eQMICATPDPType mPDPType;
24940 };
24941
24942 // Structure to describe response TLV 0x59 for CATGetEventReport()
24943 struct sCATGetEventReportResponse_EUTRANExternalMappedUTRANBearerDescription
24944 {
24945 UINT8 mQCI;
24946 UINT8 mMaxUploadBitrate;
24947 UINT8 mMaxDownloadBitrate;
24948 UINT8 mGuaranteedUploadBitrate;
24949 UINT8 mGuaranteedDownloadBitrate;
24950 UINT8 mMaximumUploadBitrateExt;
24951 UINT8 mMaximumDownloadBitrateExt;
24952 UINT8 mGuaranteedUploadBitrateExt;
24953 UINT8 mGuaranteedDownloadBitrateExt;
24954 eQMICATPDPType mPDPType;
24955 };
24956
24957 // Structure to describe response TLV 0x5A for CATGetEventReport()
24958 struct sCATGetEventReportResponse_BufferSize
24959 {
24960 UINT16 mBufferSize;
24961 };
24962
24963 // Structure to describe response TLV 0x5B for CATGetEventReport()
24964 struct sCATGetEventReportResponse_NetworkAccessName
24965 {
24966 UINT8 mNetworkAccessNameLength;
24967
24968 // This array must be the size specified by mNetworkAccessNameLength
24969 // UINT8 mNetworkAccessName[1];
24970 };
24971
24972 // Structure to describe response TLV 0x5C for CATGetEventReport()
24973 struct sCATGetEventReportResponse_OtherAddress
24974 {
24975 eQMICATAddressType mAddressType;
24976 UINT8 mAddressDataLength;
24977
24978 // This array must be the size specified by mAddressDataLength
24979 // char mAddressData[1];
24980 };
24981
24982 // Structure to describe response TLV 0x5D for CATGetEventReport()
24983 struct sCATGetEventReportResponse_UserLogin
24984 {
24985 eQMICATDataCodingScheme mDataCodingScheme;
24986 UINT8 mTextDataLength;
24987
24988 // This array must be the size specified by mTextDataLength
24989 // UINT8 mTextData[1];
24990 };
24991
24992 // Structure to describe response TLV 0x5E for CATGetEventReport()
24993 struct sCATGetEventReportResponse_UserPassword
24994 {
24995 eQMICATDataCodingScheme mDataCodingScheme;
24996 UINT8 mTextDataLength;
24997
24998 // This array must be the size specified by mTextDataLength
24999 // UINT8 mTextData[1];
25000 };
25001
25002 // Structure to describe response TLV 0x5F for CATGetEventReport()
25003 struct sCATGetEventReportResponse_TransportLevel
25004 {
25005 eQMICATTransportProtocol mTransportProtocol;
25006 UINT16 mPortNumber;
25007 };
25008
25009 // Structure to describe response TLV 0x60 for CATGetEventReport()
25010 struct sCATGetEventReportResponse_DataDestinationAddress
25011 {
25012 eQMICATAddressType mAddressType;
25013 UINT8 mAddressDataLength;
25014
25015 // This array must be the size specified by mAddressDataLength
25016 // char mAddressData[1];
25017 };
25018
25019 // Structure to describe response TLV 0x61 for CATGetEventReport()
25020 struct sCATGetEventReportResponse_ChannelDataLength
25021 {
25022 UINT8 mChannelDataLength;
25023 };
25024
25025 // Structure to describe response TLV 0x62 for CATGetEventReport()
25026 struct sCATGetEventReportResponse_SendDataImmediately
25027 {
25028 eQMICATSendDataImmediately mSendDataImmediately;
25029 };
25030
25031 // Structure to describe response TLV 0x63 for CATGetEventReport()
25032 struct sCATGetEventReportResponse_ChannelData
25033 {
25034 UINT16 mChannelDataLength;
25035
25036 // This array must be the size specified by mChannelDataLength
25037 // UINT8 mChannelData[1];
25038 };
25039
25040 // Structure to describe response TLV 0x64 for CATGetEventReport()
25041 struct sCATGetEventReportResponse_ChannelID
25042 {
25043 UINT8 mChannelID;
25044 };
25045
25046 // Structure to describe response TLV 0x65 for CATGetEventReport()
25047 struct sCATGetEventReportResponse_ItemsWithDCS
25048 {
25049 UINT8 mItemsLength;
25050
25051 struct sItem
25052 {
25053 UINT8 mItemID;
25054 eQMICATDataCodingScheme mDataCodingScheme;
25055 UINT8 mItemTextLength;
25056
25057 // This array must be the size specified by mItemTextLength
25058 // UINT8 mItemText[1];
25059 };
25060
25061 // This array must be the size specified by mItemsLength
25062 // sItem mItems[1];
25063 };
25064
25065 // Structure to describe response TLV 0x66 for CATGetEventReport()
25066 struct sCATGetEventReportResponse_Activate
25067 {
25068 UINT32 mReferenceID;
25069 UINT16 mActivateLength;
25070
25071 // This array must be the size specified by mActivateLength
25072 // UINT8 mActivate[1];
25073 };
25074
25075 // Structure to describe response TLV 0x67 for CATGetEventReport()
25076 struct sCATGetEventReportResponse_ActivateTarget
25077 {
25078 eQMICATActivateTargets mActivateTarget;
25079 };
25080
25081 // Structure to describe request TLV 0x01 for CATSendDecodedTerminalResponse()
25082 struct sCATSendDecodedTerminalResponseRequest_TerminalResponse
25083 {
25084 UINT32 mReferenceID;
25085 UINT8 mCommandNumber;
25086 eQMICATResponseCommand mResponseCommand;
25087 UINT8 mGeneralResult;
25088 UINT8 mAdditionalInformationLength;
25089
25090 // This array must be the size specified by mAdditionalInformationLength
25091 // UINT8 mTerminalResponseAdditionalInformation[1];
25092 };
25093
25094 // Structure to describe request TLV 0x10 for CATSendDecodedTerminalResponse()
25095 struct sCATSendDecodedTerminalResponseRequest_TextString
25096 {
25097 eQMICATDataCodingScheme mDataCodingScheme;
25098 UINT8 mTextDataLength;
25099
25100 // This array must be the size specified by mTextDataLength
25101 // UINT8 mTextData[1];
25102 };
25103
25104 // Structure to describe request TLV 0x11 for CATSendDecodedTerminalResponse()
25105 struct sCATSendDecodedTerminalResponseRequest_ItemIdentifier
25106 {
25107 UINT8 mItemIdentifier;
25108 };
25109
25110 // Structure to describe request TLV 0x12 for CATSendDecodedTerminalResponse()
25111 struct sCATSendDecodedTerminalResponseRequest_GetInkeyExtraInfo
25112 {
25113 eQMICATTimeUnits mUnits;
25114 UINT8 mInterval;
25115 eQMICATDataCodingScheme mDataCodingScheme;
25116 UINT8 mTextDataLength;
25117
25118 // This array must be the size specified by mTextDataLength
25119 // UINT8 mTextData[1];
25120 };
25121
25122 // Structure to describe request TLV 0x13 for CATSendDecodedTerminalResponse()
25123 struct sCATSendDecodedTerminalResponseRequest_LanguageInfo
25124 {
25125 char mLanguage[2];
25126 };
25127
25128 // Structure to describe request TLV 0x14 for CATSendDecodedTerminalResponse()
25129 struct sCATSendDecodedTerminalResponseRequest_Slot
25130 {
25131 eQMICATSlot mSlot;
25132 };
25133
25134 // Structure to describe request TLV 0x15 for CATSendDecodedTerminalResponse()
25135 struct sCATSendDecodedTerminalResponseRequest_GetInkeyYesInput
25136 {
25137 eQMICATTimeUnits mUnits;
25138 UINT8 mInterval;
25139 INT8 mGetInkeyYesInput;
25140 };
25141
25142 // Structure to describe response TLV 0x10 for CATSendDecodedTerminal()
25143 struct sCATSendDecodedTerminalResponseResponse_TRResponse
25144 {
25145 UINT8 mSW1;
25146 UINT8 mSW2;
25147 UINT8 mTerminalResponseLength;
25148
25149 // This array must be the size specified by mTerminalResponseLength
25150 // UINT8 mTerminalResponseData[1];
25151 };
25152
25153 // Structure to describe request TLV 0x01 for CATSendDecodedEnvelopeCommand()
25154 struct sCATSendDecodedEnvelopeCommandRequest_EnvelopeCommand
25155 {
25156 eQMICATDecodedEnvelopeCommand mEnvelopeCommand;
25157 };
25158
25159 // Structure to describe request TLV 0x10 for CATSendDecodedEnvelopeCommand()
25160 struct sCATSendDecodedEnvelopeCommandRequest_ItemIdentifier
25161 {
25162 UINT8 mItemIdentifier;
25163 };
25164
25165 // Structure to describe request TLV 0x11 for CATSendDecodedEnvelopeCommand()
25166 struct sCATSendDecodedEnvelopeCommandRequest_HelpRequest
25167 {
25168 eQMICATHelpRequest mHelpRequest;
25169 };
25170
25171 // Structure to describe request TLV 0x12 for CATSendDecodedEnvelopeCommand()
25172 struct sCATSendDecodedEnvelopeCommandRequest_Language
25173 {
25174 char mLanguage[2];
25175 };
25176
25177 // Structure to describe request TLV 0x13 for CATSendDecodedEnvelopeCommand()
25178 struct sCATSendDecodedEnvelopeCommandRequest_Slot
25179 {
25180 eQMICATSlot mSlot;
25181 };
25182
25183 // Structure to describe request TLV 0x14 for CATSendDecodedEnvelopeCommand()
25184 struct sCATSendDecodedEnvelopeCommandRequest_Address
25185 {
25186 eQMICATAddressTON mAddressTON;
25187 eQMICATAddressNPI mAddressNPI;
25188 UINT8 mAddressDataLength;
25189
25190 // This array must be the size specified by mAddressDataLength
25191 // char mAddressData[1];
25192 };
25193
25194 // Structure to describe request TLV 0x15 for CATSendDecodedEnvelopeCommand()
25195 struct sCATSendDecodedEnvelopeCommandRequest_Subaddress
25196 {
25197 UINT8 mSubaddressDataLength;
25198
25199 struct sSubaddressData
25200 {
25201 UINT8 mSubaddressData1:4;
25202 UINT8 mSubaddressData2:4;
25203 };
25204
25205 // This array must be the size specified by mSubaddressDataLength
25206 // sSubaddressData mSubaddressDatas[1];
25207 };
25208
25209 // Structure to describe request TLV 0x16 for CATSendDecodedEnvelopeCommand()
25210 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam1
25211 {
25212 UINT8 mCapabilitesConfigurationLength;
25213
25214 // This array must be the size specified by mCapabilitesConfigurationLength
25215 // UINT8 mCapabilitiesConfiguration[1];
25216 };
25217
25218 // Structure to describe request TLV 0x17 for CATSendDecodedEnvelopeCommand()
25219 struct sCATSendDecodedEnvelopeCommandRequest_CapabilityConfigParam2
25220 {
25221 UINT8 mCapabilitesConfigurationLength;
25222
25223 // This array must be the size specified by mCapabilitesConfigurationLength
25224 // UINT8 mCapabilitiesConfiguration[1];
25225 };
25226
25227 // Structure to describe request TLV 0x18 for CATSendDecodedEnvelopeCommand()
25228 struct sCATSendDecodedEnvelopeCommandRequest_USSDString
25229 {
25230 eQMICATDataCodingScheme mDataCodingScheme;
25231 UINT8 mTextDataLength;
25232
25233 // This array must be the size specified by mTextDataLength
25234 // UINT8 mTextData[1];
25235 };
25236
25237 // Structure to describe request TLV 0x19 for CATSendDecodedEnvelopeCommand()
25238 struct sCATSendDecodedEnvelopeCommandRequest_PDPContextActivation
25239 {
25240 UINT8 mPDPContextActivationDataLength;
25241
25242 // This array must be the size specified by mPDPContextActivationDataLength
25243 // UINT8 mPDPContextActivationData[1];
25244 };
25245
25246 // Structure to describe request TLV 0x1A for CATSendDecodedEnvelopeCommand()
25247 struct sCATSendDecodedEnvelopeCommandRequest_EPSPDNConnectActivation
25248 {
25249 UINT8 mEPSPDNConnectActivationDataLength;
25250
25251 // This array must be the size specified by mEPSPDNConnectActivationDataLength
25252 // UINT8 mEPSPDNConnectActivationData[1];
25253 };
25254
25255 // Structure to describe request TLV 0x1B for CATSendDecodedEnvelopeCommand()
25256 struct sCATSendDecodedEnvelopeCommandRequest_BrowserTerminationCause
25257 {
25258 eQMICATBrowserTerminationCauses mBrowserTerminationCause;
25259 };
25260
25261 // Structure to describe response TLV 0x10 for CATSendDecodedEnvelopeCommand()
25262 struct sCATSendDecodedEnvelopeCommandResponse_CallControlResult
25263 {
25264 eQMICATCallControlResult mCallControlResult;
25265 };
25266
25267 // Structure to describe response TLV 0x11 for CATSendDecodedEnvelopeCommand()
25268 struct sCATSendDecodedEnvelopeCommandResponse_Address
25269 {
25270 eQMICATAddressTON mAddressTON;
25271 eQMICATAddressNPI mAddressNPI;
25272 UINT8 mAddressDataLength;
25273
25274 // This array must be the size specified by mAddressDataLength
25275 // char mAddressData[1];
25276 };
25277
25278 // Structure to describe response TLV 0x12 for CATSendDecodedEnvelopeCommand()
25279 struct sCATSendDecodedEnvelopeCommandResponse_Subaddress
25280 {
25281 UINT8 mSubaddressDataLength;
25282
25283 struct sSubaddressData
25284 {
25285 UINT8 mSubaddressData1:4;
25286 UINT8 mSubaddressData2:4;
25287 };
25288
25289 // This array must be the size specified by mSubaddressDataLength
25290 // sSubaddressData mSubaddressDatas[1];
25291 };
25292
25293 // Structure to describe response TLV 0x13 for CATSendDecodedEnvelopeCommand()
25294 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam1
25295 {
25296 UINT8 mCapabilitesConfigurationLength;
25297
25298 // This array must be the size specified by mCapabilitesConfigurationLength
25299 // UINT8 mCapabilitiesConfiguration[1];
25300 };
25301
25302 // Structure to describe response TLV 0x14 for CATSendDecodedEnvelopeCommand()
25303 struct sCATSendDecodedEnvelopeCommandResponse_CapabilityConfigParam2
25304 {
25305 UINT8 mCapabilitesConfigurationLength;
25306
25307 // This array must be the size specified by mCapabilitesConfigurationLength
25308 // UINT8 mCapabilitiesConfiguration[1];
25309 };
25310
25311 // Structure to describe response TLV 0x15 for CATSendDecodedEnvelopeCommand()
25312 struct sCATSendDecodedEnvelopeCommandResponse_USSDString
25313 {
25314 eQMICATDataCodingScheme mDataCodingScheme;
25315 UINT8 mTextDataLength;
25316
25317 // This array must be the size specified by mTextDataLength
25318 // UINT8 mTextData[1];
25319 };
25320
25321 // Structure to describe response TLV 0x16 for CATSendDecodedEnvelopeCommand()
25322 struct sCATSendDecodedEnvelopeCommandResponse_PDPContextActivation
25323 {
25324 UINT8 mPDPContextActivationDataLength;
25325
25326 // This array must be the size specified by mPDPContextActivationDataLength
25327 // UINT8 mPDPContextActivationData[1];
25328 };
25329
25330 // Structure to describe response TLV 0x17 for CATSendDecodedEnvelopeCommand()
25331 struct sCATSendDecodedEnvelopeCommandResponse_EPSPDNConnectActivation
25332 {
25333 UINT8 mEPSPDNConnectActivationDataLength;
25334
25335 // This array must be the size specified by mEPSPDNConnectActivationDataLength
25336 // UINT8 mEPSPDNConnectActivationData[1];
25337 };
25338
25339 // Structure to describe response TLV 0x18 for CATSendDecodedEnvelopeCommand()
25340 struct sCATSendDecodedEnvelopeCommandResponse_Alpha
25341 {
25342 eQMICATDataCodingScheme mDataCodingScheme;
25343 UINT8 mTextDataLength;
25344
25345 // This array must be the size specified by mTextDataLength
25346 // UINT8 mTextData[1];
25347 };
25348
25349 // Structure to describe response TLV 0x19 for CATSendDecodedEnvelopeCommand()
25350 struct sCATSendDecodedEnvelopeCommandResponse_BCRepeatIndicator
25351 {
25352 eQMICATBearerCapabilityRepeatIndicator mBearerCapabilityRepeatIndicator;
25353 };
25354
25355 // Structure to describe request TLV 0x10 for CATEventConfirmation()
25356 struct sCATEventConfirmationRequest_UserConfirmed
25357 {
25358 eQMICATUserConfirmed mUserConfirmed;
25359 };
25360
25361 // Structure to describe request TLV 0x11 for CATEventConfirmation()
25362 struct sCATEventConfirmationRequest_IconIsDisplayed
25363 {
25364 eQMICATIconIsDisplayed mIconIsDisplayed;
25365 };
25366
25367 // Structure to describe request TLV 0x12 for CATEventConfirmation()
25368 struct sCATEventConfirmationRequest_Slot
25369 {
25370 eQMICATSlot mSlot;
25371 };
25372
25373 // Structure to describe request TLV 0x01 for CATSCWSOpenChannel()
25374 struct sCATSCWSOpenChannelRequest_ChannelStatus
25375 {
25376 UINT32 mChannelID;
25377 eQMICATChannelState mChannelState;
25378 };
25379
25380 // Structure to describe request TLV 0x10 for CATSCWSOpenChannel()
25381 struct sCATSCWSOpenChannelRequest_Slot
25382 {
25383 eQMICATSlot mSlot;
25384 };
25385
25386 // Structure to describe indication TLV 0x10 for CAT SCWSOpenChannelIndication
25387 struct sCATSCWSOpenChannelIndication_OpenChannelInformation
25388 {
25389 UINT32 mChannelID;
25390 UINT16 mPortNumber;
25391 UINT16 mBufferSize;
25392 };
25393
25394 // Structure to describe indication TLV 0x11 for CAT SCWSOpenChannelIndication
25395 struct sCATSCWSOpenChannelIndication_Slot
25396 {
25397 eQMICATSlot mSlot;
25398 };
25399
25400 // Structure to describe request TLV 0x01 for CATSCWSCloseChannel()
25401 struct sCATSCWSCloseChannelRequest_ChannelStatus
25402 {
25403 UINT32 mChannelID;
25404 eQMICATChannelState mChannelState;
25405 };
25406
25407 // Structure to describe request TLV 0x10 for CATSCWSCloseChannel()
25408 struct sCATSCWSCloseChannelRequest_Slot
25409 {
25410 eQMICATSlot mSlot;
25411 };
25412
25413 // Structure to describe indication TLV 0x10 for CAT SCWSCloseChannelIndication
25414 struct sCATSCWSCloseChannelIndication_CloseChannelInfo
25415 {
25416 UINT32 mChannelID;
25417 eQMICATChannelState mChannelState;
25418 };
25419
25420 // Structure to describe response TLV 0x11 for CATSCWSCloseChannel()
25421 struct sCATSCWSCloseChannelResponse_Slot
25422 {
25423 eQMICATSlot mSlot;
25424 };
25425
25426 // Structure to describe request TLV 0x01 for CATSCWSSendData()
25427 struct sCATSCWSSendDataRequest_ChannelStatus
25428 {
25429 UINT32 mChannelID;
25430 eQMICATSendDataResult mDataSendResult;
25431 };
25432
25433 // Structure to describe request TLV 0x10 for CATSCWSSendData()
25434 struct sCATSCWSSendDataRequest_Slot
25435 {
25436 eQMICATSlot mSlot;
25437 };
25438
25439 // Structure to describe indication TLV 0x10 for CAT SCWSSendDataIndication
25440 struct sCATSCWSSendDataIndication_SendDataInfo
25441 {
25442 UINT32 mChannelID;
25443 UINT8 mTotalPackets;
25444 UINT8 mCurrentPacket;
25445 UINT16 mDataLength;
25446
25447 // This array must be the size specified by mDataLength
25448 // UINT8 mData[1];
25449 };
25450
25451 // Structure to describe indication TLV 0x11 for CAT SCWSSendDataIndication
25452 struct sCATSCWSSendDataIndication_Slot
25453 {
25454 eQMICATSlot mSlot;
25455 };
25456
25457 // Structure to describe request TLV 0x01 for CATSCWSDataAvailable()
25458 struct sCATSCWSDataAvailableRequest_RemainingData
25459 {
25460 UINT32 mChannelID;
25461 UINT16 mDataLength;
25462
25463 // This array must be the size specified by mDataLength
25464 // UINT8 mData[1];
25465 };
25466
25467 // Structure to describe request TLV 0x10 for CATSCWSDataAvailable()
25468 struct sCATSCWSDataAvailableRequest_Slot
25469 {
25470 eQMICATSlot mSlot;
25471 };
25472
25473 // Structure to describe request TLV 0x01 for CATSCWSChannelStatus()
25474 struct sCATSCWSChannelStatusRequest_ChannelStatus
25475 {
25476 UINT32 mChannelID;
25477 eQMICATChannelState mChannelState;
25478 };
25479
25480 // Structure to describe request TLV 0x10 for CATSCWSChannelStatus()
25481 struct sCATSCWSChannelStatusRequest_Slot
25482 {
25483 eQMICATSlot mSlot;
25484 };
25485
25486 // Structure to describe request TLV 0x10 for CATGetTerminalProfile()
25487 struct sCATGetTerminalProfileRequest_Slot
25488 {
25489 eQMICATSlot mSlot;
25490 };
25491
25492 // Structure to describe response TLV 0x10 for CATGetTerminalProfile()
25493 struct sCATGetTerminalProfileResponse_RawData
25494 {
25495 UINT8 mTerminalProfileLength;
25496
25497 // This array must be the size specified by mTerminalProfileLength
25498 // UINT8 mTerminalProfileData[1];
25499 };
25500
25501 // Structure to describe request TLV 0x01 for CATSetConfiguration()
25502 struct sCATSetConfigurationRequest_Mode
25503 {
25504 eQMICATConfigModes mConfigMode;
25505 };
25506
25507 // Structure to describe request TLV 0x10 for CATSetConfiguration()
25508 struct sCATSetConfigurationRequest_CustomData
25509 {
25510 UINT8 mTerminalProfileLength;
25511
25512 // This array must be the size specified by mTerminalProfileLength
25513 // UINT8 mTerminalProfileData[1];
25514 };
25515
25516 // Structure to describe response TLV 0x10 for CATGetConfiguration()
25517 struct sCATGetConfigurationResponse_Mode
25518 {
25519 eQMICATConfigModes mConfigMode;
25520 };
25521
25522 // Structure to describe response TLV 0x11 for CATGetConfiguration()
25523 struct sCATGetConfigurationResponse_CustomData
25524 {
25525 UINT8 mTerminalProfileLength;
25526
25527 // This array must be the size specified by mTerminalProfileLength
25528 // UINT8 mTerminalProfileData[1];
25529 };
25530
25531 // Structure to describe response TLV 0x10 for RMSGetSMSWake()
25532 struct sRMSGetSMSWakeResponse_State
25533 {
25534 INT8 mSMSWakeEnabled;
25535 };
25536
25537 // Structure to describe request TLV 0x11 for RMSGetSMSWake()
25538 struct sRMSGetSMSWakeRequest_Mask
25539 {
25540 UINT32 mMask;
25541 };
25542
25543 // Structure to describe request TLV 0x10 for RMSSetSMSWake()
25544 struct sRMSSetSMSWakeRequest_State
25545 {
25546 INT8 mSMSWakeEnabled;
25547 };
25548
25549 // Structure to describe request TLV 0x11 for RMSSetSMSWake()
25550 struct sRMSSetSMSWakeRequest_Mask
25551 {
25552 UINT32 mMask;
25553 };
25554
25555 // Structure to describe request TLV 0x10 for OMASetEventReport()
25556 struct sOMASetEventReportRequest_NIA
25557 {
25558 INT8 mReportNetworkInitiatedAlerts;
25559 };
25560
25561 // Structure to describe request TLV 0x11 for OMASetEventReport()
25562 struct sOMASetEventReportRequest_Status
25563 {
25564 INT8 mReportSessionStatus;
25565 };
25566
25567 // Structure to describe indication TLV 0x10 for OMA EventReport
25568 struct sOMAEventReportIndication_NIA
25569 {
25570 eQMIOMASessionTypes mSessionType;
25571 UINT16 mSessionID;
25572 };
25573
25574 // Structure to describe indication TLV 0x11 for OMA EventReport
25575 struct sOMAEventReportIndication_Status
25576 {
25577 eQMIOMASessionStates mSessionState;
25578 };
25579
25580 // Structure to describe indication TLV 0x12 for OMA EventReport
25581 struct sOMAEventReportIndication_Failure
25582 {
25583 eQMIOMASessionFailureReasons mSessionFailure;
25584 };
25585
25586 // Structure to describe request TLV 0x10 for OMAStartSession()
25587 struct sOMAStartSessionRequest_Type
25588 {
25589 eQMIOMASessionTypes mSessionType;
25590 };
25591
25592 // Structure to describe response TLV 0x10 for OMAGetSessionInfo()
25593 struct sOMAGetSessionInfoResponse_Info
25594 {
25595 eQMIOMASessionStates mSessionState;
25596 eQMIOMASessionTypes mSessionType;
25597 };
25598
25599 // Structure to describe response TLV 0x11 for OMAGetSessionInfo()
25600 struct sOMAGetSessionInfoResponse_Failure
25601 {
25602 eQMIOMASessionFailureReasons mSessionFailure;
25603 };
25604
25605 // Structure to describe response TLV 0x12 for OMAGetSessionInfo()
25606 struct sOMAGetSessionInfoResponse_Retry
25607 {
25608 UINT8 mRetryCount;
25609 UINT16 mRetryPauseTimer;
25610 UINT16 mRemainingTime;
25611 };
25612
25613 // Structure to describe response TLV 0x13 for OMAGetSessionInfo()
25614 struct sOMAGetSessionInfoResponse_NIA
25615 {
25616 eQMIOMASessionTypes mSessionType;
25617 UINT16 mSessionID;
25618 };
25619
25620 // Structure to describe request TLV 0x10 for OMASendSelection()
25621 struct sOMASendSelectionRequest_Type
25622 {
25623 eQMIOMASelections mSelection;
25624 UINT16 mSessionID;
25625 };
25626
25627 // Structure to describe response TLV 0x10 for OMAGetFeatures()
25628 struct sOMAGetFeaturesResponse_Provisioning
25629 {
25630 INT8 mDeviceProvisioningServiceUpdateEnabled;
25631 };
25632
25633 // Structure to describe response TLV 0x11 for OMAGetFeatures()
25634 struct sOMAGetFeaturesResponse_PRLUpdate
25635 {
25636 INT8 mPRLServiceUpdateEnabled;
25637 };
25638
25639 // Structure to describe response TLV 0x12 for OMAGetFeatures()
25640 struct sOMAGetFeaturesResponse_HFAFeature
25641 {
25642 INT8 mHFAFeatureEnabled;
25643 };
25644
25645 // Structure to describe response TLV 0x13 for OMAGetFeatures()
25646 struct sOMAGetFeaturesResponse_HFADoneState
25647 {
25648 eQMIOMAHFADoneStates mHFAFeatureDoneState;
25649 };
25650
25651 // Structure to describe request TLV 0x10 for OMASetFeatures()
25652 struct sOMASetFeaturesRequest_Provisioning
25653 {
25654 INT8 mDeviceProvisioningServiceUpdateEnabled;
25655 };
25656
25657 // Structure to describe request TLV 0x11 for OMASetFeatures()
25658 struct sOMASetFeaturesRequest_PRLUpdate
25659 {
25660 INT8 mPRLServiceUpdateEnabled;
25661 };
25662
25663 // Structure to describe request TLV 0x12 for OMASetFeatures()
25664 struct sOMASetFeaturesRequest_HFAFeature
25665 {
25666 INT8 mHFAFeatureEnabled;
25667 };
25668
25669
25670 #pragma pack( pop )