blob: 3ed2885de1120773f0c1b02b719316c74a7f6ef3 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IWifiRttController"
4
5package: "android.hardware.wifi"
6
7import: "android.hardware.wifi@1.0::IWifiIface"
8import: "android.hardware.wifi@1.0::IWifiRttControllerEventCallback"
9import: "android.hardware.wifi@1.0::types"
Etan Cohenff7aac52017-02-10 18:11:19 -080010import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080011
12interface: {
Etan Cohenff7aac52017-02-10 18:11:19 -080013 attribute: {
14 name: "::android::hardware::wifi::V1_0::WifiStatusCode"
15 type: TYPE_ENUM
16 enum_value: {
17 scalar_type: "uint32_t"
18
19 enumerator: "SUCCESS"
20 scalar_value: {
21 uint32_t: 0
22 }
23 enumerator: "ERROR_WIFI_CHIP_INVALID"
24 scalar_value: {
25 uint32_t: 1
26 }
27 enumerator: "ERROR_WIFI_IFACE_INVALID"
28 scalar_value: {
29 uint32_t: 2
30 }
31 enumerator: "ERROR_WIFI_RTT_CONTROLLER_INVALID"
32 scalar_value: {
33 uint32_t: 3
34 }
35 enumerator: "ERROR_NOT_SUPPORTED"
36 scalar_value: {
37 uint32_t: 4
38 }
39 enumerator: "ERROR_NOT_AVAILABLE"
40 scalar_value: {
41 uint32_t: 5
42 }
43 enumerator: "ERROR_NOT_STARTED"
44 scalar_value: {
45 uint32_t: 6
46 }
47 enumerator: "ERROR_INVALID_ARGS"
48 scalar_value: {
49 uint32_t: 7
50 }
51 enumerator: "ERROR_BUSY"
52 scalar_value: {
53 uint32_t: 8
54 }
55 enumerator: "ERROR_UNKNOWN"
56 scalar_value: {
57 uint32_t: 9
58 }
59 }
60 }
61
62 attribute: {
63 name: "::android::hardware::wifi::V1_0::WifiStatus"
64 type: TYPE_STRUCT
65 struct_value: {
66 name: "code"
67 type: TYPE_ENUM
68 predefined_type: "::android::hardware::wifi::V1_0::WifiStatusCode"
69 }
70 struct_value: {
71 name: "description"
72 type: TYPE_STRING
73 }
74 }
75
76 attribute: {
77 name: "::android::hardware::wifi::V1_0::IfaceType"
78 type: TYPE_ENUM
79 enum_value: {
80 scalar_type: "uint32_t"
81
82 enumerator: "STA"
83 scalar_value: {
84 uint32_t: 0
85 }
86 enumerator: "AP"
87 scalar_value: {
88 uint32_t: 1
89 }
90 enumerator: "P2P"
91 scalar_value: {
92 uint32_t: 2
93 }
94 enumerator: "NAN"
95 scalar_value: {
96 uint32_t: 3
97 }
98 }
99 }
100
101 attribute: {
102 name: "::android::hardware::wifi::V1_0::WifiChannelWidthInMhz"
103 type: TYPE_ENUM
104 enum_value: {
105 scalar_type: "uint32_t"
106
107 enumerator: "WIDTH_20"
108 scalar_value: {
109 uint32_t: 0
110 }
111 enumerator: "WIDTH_40"
112 scalar_value: {
113 uint32_t: 1
114 }
115 enumerator: "WIDTH_80"
116 scalar_value: {
117 uint32_t: 2
118 }
119 enumerator: "WIDTH_160"
120 scalar_value: {
121 uint32_t: 3
122 }
123 enumerator: "WIDTH_80P80"
124 scalar_value: {
125 uint32_t: 4
126 }
127 enumerator: "WIDTH_5"
128 scalar_value: {
129 uint32_t: 5
130 }
131 enumerator: "WIDTH_10"
132 scalar_value: {
133 uint32_t: 6
134 }
135 enumerator: "WIDTH_INVALID"
136 scalar_value: {
137 uint32_t: 4294967295
138 }
139 }
140 }
141
142 attribute: {
143 name: "::android::hardware::wifi::V1_0::WifiChannelInfo"
144 type: TYPE_STRUCT
145 struct_value: {
146 name: "width"
147 type: TYPE_ENUM
148 predefined_type: "::android::hardware::wifi::V1_0::WifiChannelWidthInMhz"
149 }
150 struct_value: {
151 name: "centerFreq"
152 type: TYPE_SCALAR
153 scalar_type: "uint32_t"
154 }
155 struct_value: {
156 name: "centerFreq0"
157 type: TYPE_SCALAR
158 scalar_type: "uint32_t"
159 }
160 struct_value: {
161 name: "centerFreq1"
162 type: TYPE_SCALAR
163 scalar_type: "uint32_t"
164 }
165 }
166
167 attribute: {
168 name: "::android::hardware::wifi::V1_0::WifiInformationElement"
169 type: TYPE_STRUCT
170 struct_value: {
171 name: "id"
172 type: TYPE_SCALAR
173 scalar_type: "uint8_t"
174 }
175 struct_value: {
176 name: "data"
177 type: TYPE_VECTOR
178 vector_value: {
179 type: TYPE_SCALAR
180 scalar_type: "uint8_t"
181 }
182 }
183 }
184
185 attribute: {
186 name: "::android::hardware::wifi::V1_0::WifiRatePreamble"
187 type: TYPE_ENUM
188 enum_value: {
189 scalar_type: "uint32_t"
190
191 enumerator: "OFDM"
192 scalar_value: {
193 uint32_t: 0
194 }
195 enumerator: "CCK"
196 scalar_value: {
197 uint32_t: 1
198 }
199 enumerator: "HT"
200 scalar_value: {
201 uint32_t: 2
202 }
203 enumerator: "VHT"
204 scalar_value: {
205 uint32_t: 3
206 }
207 enumerator: "RESERVED"
208 scalar_value: {
209 uint32_t: 4
210 }
211 }
212 }
213
214 attribute: {
215 name: "::android::hardware::wifi::V1_0::WifiRateNss"
216 type: TYPE_ENUM
217 enum_value: {
218 scalar_type: "uint32_t"
219
220 enumerator: "NSS_1x1"
221 scalar_value: {
222 uint32_t: 0
223 }
224 enumerator: "NSS_2x2"
225 scalar_value: {
226 uint32_t: 1
227 }
228 enumerator: "NSS_3x3"
229 scalar_value: {
230 uint32_t: 2
231 }
232 enumerator: "NSS_4x4"
233 scalar_value: {
234 uint32_t: 3
235 }
236 }
237 }
238
239 attribute: {
240 name: "::android::hardware::wifi::V1_0::WifiRateInfo"
241 type: TYPE_STRUCT
242 struct_value: {
243 name: "preamble"
244 type: TYPE_ENUM
245 predefined_type: "::android::hardware::wifi::V1_0::WifiRatePreamble"
246 }
247 struct_value: {
248 name: "nss"
249 type: TYPE_ENUM
250 predefined_type: "::android::hardware::wifi::V1_0::WifiRateNss"
251 }
252 struct_value: {
253 name: "bw"
254 type: TYPE_ENUM
255 predefined_type: "::android::hardware::wifi::V1_0::WifiChannelWidthInMhz"
256 }
257 struct_value: {
258 name: "rateMcsIdx"
259 type: TYPE_SCALAR
260 scalar_type: "uint8_t"
261 }
262 struct_value: {
263 name: "bitRateInKbps"
264 type: TYPE_SCALAR
265 scalar_type: "uint32_t"
266 }
267 }
268
269 attribute: {
270 name: "::android::hardware::wifi::V1_0::StaApfPacketFilterCapabilities"
271 type: TYPE_STRUCT
272 struct_value: {
273 name: "version"
274 type: TYPE_SCALAR
275 scalar_type: "uint32_t"
276 }
277 struct_value: {
278 name: "maxLength"
279 type: TYPE_SCALAR
280 scalar_type: "uint32_t"
281 }
282 }
283
284 attribute: {
285 name: "::android::hardware::wifi::V1_0::StaBackgroundScanCapabilities"
286 type: TYPE_STRUCT
287 struct_value: {
288 name: "maxCacheSize"
289 type: TYPE_SCALAR
290 scalar_type: "uint32_t"
291 }
292 struct_value: {
293 name: "maxBuckets"
294 type: TYPE_SCALAR
295 scalar_type: "uint32_t"
296 }
297 struct_value: {
298 name: "maxApCachePerScan"
299 type: TYPE_SCALAR
300 scalar_type: "uint32_t"
301 }
302 struct_value: {
303 name: "maxReportingThreshold"
304 type: TYPE_SCALAR
305 scalar_type: "int32_t"
306 }
307 }
308
309 attribute: {
310 name: "::android::hardware::wifi::V1_0::StaBackgroundScanBand"
311 type: TYPE_ENUM
312 enum_value: {
313 scalar_type: "uint32_t"
314
315 enumerator: "BAND_UNSPECIFIED"
316 scalar_value: {
317 uint32_t: 0
318 }
319 enumerator: "BAND_24GHZ"
320 scalar_value: {
321 uint32_t: 1
322 }
323 enumerator: "BAND_5GHZ"
324 scalar_value: {
325 uint32_t: 2
326 }
327 enumerator: "BAND_5GHZ_DFS"
328 scalar_value: {
329 uint32_t: 4
330 }
331 enumerator: "BAND_5GHZ_WITH_DFS"
332 scalar_value: {
333 uint32_t: 6
334 }
335 enumerator: "BAND_24GHZ_5GHZ"
336 scalar_value: {
337 uint32_t: 3
338 }
339 enumerator: "BAND_24GHZ_5GHZ_WITH_DFS"
340 scalar_value: {
341 uint32_t: 7
342 }
343 }
344 }
345
346 attribute: {
347 name: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketEventReportSchemeMask"
348 type: TYPE_ENUM
349 enum_value: {
350 scalar_type: "uint32_t"
351
352 enumerator: "EACH_SCAN"
353 scalar_value: {
354 uint32_t: 1
355 }
356 enumerator: "FULL_RESULTS"
357 scalar_value: {
358 uint32_t: 2
359 }
360 enumerator: "NO_BATCH"
361 scalar_value: {
362 uint32_t: 4
363 }
364 }
365 }
366
367 attribute: {
368 name: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketParameters"
369 type: TYPE_STRUCT
370 struct_value: {
371 name: "band"
372 type: TYPE_ENUM
373 predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBand"
374 }
375 struct_value: {
376 name: "frequencies"
377 type: TYPE_VECTOR
378 vector_value: {
379 type: TYPE_SCALAR
380 scalar_type: "uint32_t"
381 }
382 }
383 struct_value: {
384 name: "periodInMs"
385 type: TYPE_SCALAR
386 scalar_type: "uint32_t"
387 }
388 struct_value: {
389 name: "eventReportScheme"
390 type: TYPE_MASK
391 scalar_type: "uint32_t"
392 predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketEventReportSchemeMask"
393 }
394 struct_value: {
395 name: "exponentialMaxPeriodInMs"
396 type: TYPE_SCALAR
397 scalar_type: "uint32_t"
398 }
399 struct_value: {
400 name: "exponentialBase"
401 type: TYPE_SCALAR
402 scalar_type: "uint32_t"
403 }
404 struct_value: {
405 name: "exponentialStepCount"
406 type: TYPE_SCALAR
407 scalar_type: "uint32_t"
408 }
409 }
410
411 attribute: {
412 name: "::android::hardware::wifi::V1_0::StaBackgroundScanParameters"
413 type: TYPE_STRUCT
414 struct_value: {
415 name: "basePeriodInMs"
416 type: TYPE_SCALAR
417 scalar_type: "uint32_t"
418 }
419 struct_value: {
420 name: "maxApPerScan"
421 type: TYPE_SCALAR
422 scalar_type: "uint32_t"
423 }
424 struct_value: {
425 name: "reportThresholdPercent"
426 type: TYPE_SCALAR
427 scalar_type: "uint32_t"
428 }
429 struct_value: {
430 name: "reportThresholdNumScans"
431 type: TYPE_SCALAR
432 scalar_type: "uint32_t"
433 }
434 struct_value: {
435 name: "buckets"
436 type: TYPE_VECTOR
437 vector_value: {
438 type: TYPE_STRUCT
439 predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketParameters"
440 }
441 }
442 }
443
444 attribute: {
445 name: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats"
446 type: TYPE_STRUCT
447 struct_value: {
448 name: "rxMpdu"
449 type: TYPE_SCALAR
450 scalar_type: "uint64_t"
451 }
452 struct_value: {
453 name: "txMpdu"
454 type: TYPE_SCALAR
455 scalar_type: "uint64_t"
456 }
457 struct_value: {
458 name: "lostMpdu"
459 type: TYPE_SCALAR
460 scalar_type: "uint64_t"
461 }
462 struct_value: {
463 name: "retries"
464 type: TYPE_SCALAR
465 scalar_type: "uint64_t"
466 }
467 }
468
469 attribute: {
470 name: "::android::hardware::wifi::V1_0::StaLinkLayerIfaceStats"
471 type: TYPE_STRUCT
472 struct_value: {
473 name: "beaconRx"
474 type: TYPE_SCALAR
475 scalar_type: "uint32_t"
476 }
477 struct_value: {
478 name: "avgRssiMgmt"
479 type: TYPE_SCALAR
480 scalar_type: "int32_t"
481 }
482 struct_value: {
483 name: "wmeBePktStats"
484 type: TYPE_STRUCT
485 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats"
486 }
487 struct_value: {
488 name: "wmeBkPktStats"
489 type: TYPE_STRUCT
490 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats"
491 }
492 struct_value: {
493 name: "wmeViPktStats"
494 type: TYPE_STRUCT
495 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats"
496 }
497 struct_value: {
498 name: "wmeVoPktStats"
499 type: TYPE_STRUCT
500 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats"
501 }
502 }
503
504 attribute: {
505 name: "::android::hardware::wifi::V1_0::StaLinkLayerRadioStats"
506 type: TYPE_STRUCT
507 struct_value: {
508 name: "onTimeInMs"
509 type: TYPE_SCALAR
510 scalar_type: "uint32_t"
511 }
512 struct_value: {
513 name: "txTimeInMs"
514 type: TYPE_SCALAR
515 scalar_type: "uint32_t"
516 }
517 struct_value: {
518 name: "txTimeInMsPerLevel"
519 type: TYPE_VECTOR
520 vector_value: {
521 type: TYPE_SCALAR
522 scalar_type: "uint32_t"
523 }
524 }
525 struct_value: {
526 name: "rxTimeInMs"
527 type: TYPE_SCALAR
528 scalar_type: "uint32_t"
529 }
530 struct_value: {
531 name: "onTimeInMsForScan"
532 type: TYPE_SCALAR
533 scalar_type: "uint32_t"
534 }
535 }
536
537 attribute: {
538 name: "::android::hardware::wifi::V1_0::StaLinkLayerStats"
539 type: TYPE_STRUCT
540 struct_value: {
541 name: "iface"
542 type: TYPE_STRUCT
543 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfaceStats"
544 }
545 struct_value: {
546 name: "radio"
547 type: TYPE_STRUCT
548 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerRadioStats"
549 }
550 struct_value: {
551 name: "timeStampInMs"
552 type: TYPE_SCALAR
553 scalar_type: "uint32_t"
554 }
555 }
556
557 attribute: {
558 name: "::android::hardware::wifi::V1_0::StaScanResult"
559 type: TYPE_STRUCT
560 struct_value: {
561 name: "timeStampInUs"
562 type: TYPE_SCALAR
563 scalar_type: "uint64_t"
564 }
565 struct_value: {
566 name: "ssid"
567 type: TYPE_VECTOR
568 vector_value: {
569 type: TYPE_SCALAR
570 scalar_type: "uint8_t"
571 }
572 }
573 struct_value: {
574 name: "bssid"
575 type: TYPE_ARRAY
576 vector_size: 6
577 vector_value: {
578 type: TYPE_SCALAR
579 scalar_type: "uint8_t"
580 }
581 }
582 struct_value: {
583 name: "rssi"
584 type: TYPE_SCALAR
585 scalar_type: "int32_t"
586 }
587 struct_value: {
588 name: "frequency"
589 type: TYPE_SCALAR
590 scalar_type: "uint32_t"
591 }
592 struct_value: {
593 name: "beaconPeriodInMs"
594 type: TYPE_SCALAR
595 scalar_type: "uint16_t"
596 }
597 struct_value: {
598 name: "capability"
599 type: TYPE_SCALAR
600 scalar_type: "uint16_t"
601 }
602 struct_value: {
603 name: "informationElements"
604 type: TYPE_VECTOR
605 vector_value: {
606 type: TYPE_STRUCT
607 predefined_type: "::android::hardware::wifi::V1_0::WifiInformationElement"
608 }
609 }
610 }
611
612 attribute: {
613 name: "::android::hardware::wifi::V1_0::StaScanDataFlagMask"
614 type: TYPE_ENUM
615 enum_value: {
616 scalar_type: "int32_t"
617
618 enumerator: "INTERRUPTED"
619 scalar_value: {
620 int32_t: 1
621 }
622 }
623 }
624
625 attribute: {
626 name: "::android::hardware::wifi::V1_0::StaScanData"
627 type: TYPE_STRUCT
628 struct_value: {
629 name: "flags"
630 type: TYPE_MASK
631 scalar_type: "int32_t"
632 predefined_type: "::android::hardware::wifi::V1_0::StaScanDataFlagMask"
633 }
634 struct_value: {
635 name: "bucketsScanned"
636 type: TYPE_SCALAR
637 scalar_type: "uint32_t"
638 }
639 struct_value: {
640 name: "results"
641 type: TYPE_VECTOR
642 vector_value: {
643 type: TYPE_STRUCT
644 predefined_type: "::android::hardware::wifi::V1_0::StaScanResult"
645 }
646 }
647 }
648
649 attribute: {
650 name: "::android::hardware::wifi::V1_0::StaRoamingCapabilities"
651 type: TYPE_STRUCT
652 struct_value: {
653 name: "maxBlacklistSize"
654 type: TYPE_SCALAR
655 scalar_type: "uint32_t"
656 }
657 struct_value: {
658 name: "maxWhitelistSize"
659 type: TYPE_SCALAR
660 scalar_type: "uint32_t"
661 }
662 }
663
664 attribute: {
665 name: "::android::hardware::wifi::V1_0::StaRoamingConfig"
666 type: TYPE_STRUCT
667 struct_value: {
668 name: "bssidBlacklist"
669 type: TYPE_VECTOR
670 vector_value: {
671 type: TYPE_ARRAY
672 vector_size: 6
673 vector_value: {
674 type: TYPE_SCALAR
675 scalar_type: "uint8_t"
676 }
677 }
678 }
679 struct_value: {
680 name: "ssidWhitelist"
681 type: TYPE_VECTOR
682 vector_value: {
683 type: TYPE_ARRAY
684 vector_size: 32
685 vector_value: {
686 type: TYPE_SCALAR
687 scalar_type: "uint8_t"
688 }
689 }
690 }
691 }
692
693 attribute: {
694 name: "::android::hardware::wifi::V1_0::StaRoamingState"
695 type: TYPE_ENUM
696 enum_value: {
697 scalar_type: "uint8_t"
698
699 enumerator: "DISABLED"
700 scalar_value: {
701 uint8_t: 0
702 }
703 enumerator: "ENABLED"
704 scalar_value: {
705 uint8_t: 1
706 }
707 }
708 }
709
710 attribute: {
711 name: "::android::hardware::wifi::V1_0::NanStatusType"
712 type: TYPE_ENUM
713 enum_value: {
714 scalar_type: "uint32_t"
715
716 enumerator: "SUCCESS"
717 scalar_value: {
718 uint32_t: 0
719 }
720 enumerator: "INTERNAL_FAILURE"
721 scalar_value: {
722 uint32_t: 1
723 }
724 enumerator: "PROTOCOL_FAILURE"
725 scalar_value: {
726 uint32_t: 2
727 }
728 enumerator: "INVALID_SESSION_ID"
729 scalar_value: {
730 uint32_t: 3
731 }
732 enumerator: "NO_RESOURCES_AVAILABLE"
733 scalar_value: {
734 uint32_t: 4
735 }
736 enumerator: "INVALID_ARGS"
737 scalar_value: {
738 uint32_t: 5
739 }
740 enumerator: "INVALID_PEER_ID"
741 scalar_value: {
742 uint32_t: 6
743 }
744 enumerator: "INVALID_NDP_ID"
745 scalar_value: {
746 uint32_t: 7
747 }
748 enumerator: "NAN_NOT_ALLOWED"
749 scalar_value: {
750 uint32_t: 8
751 }
752 enumerator: "NO_OTA_ACK"
753 scalar_value: {
754 uint32_t: 9
755 }
756 enumerator: "ALREADY_ENABLED"
757 scalar_value: {
758 uint32_t: 10
759 }
760 enumerator: "FOLLOWUP_TX_QUEUE_FULL"
761 scalar_value: {
762 uint32_t: 11
763 }
764 enumerator: "UNSUPPORTED_CONCURRENCY_NAN_DISABLED"
765 scalar_value: {
766 uint32_t: 12
767 }
768 }
769 }
770
771 attribute: {
772 name: "::android::hardware::wifi::V1_0::NanBandIndex"
773 type: TYPE_ENUM
774 enum_value: {
775 scalar_type: "uint32_t"
776
777 enumerator: "NAN_BAND_24GHZ"
778 scalar_value: {
779 uint32_t: 0
780 }
781 enumerator: "NAN_BAND_5GHZ"
782 scalar_value: {
783 uint32_t: 1
784 }
785 }
786 }
787
788 attribute: {
789 name: "::android::hardware::wifi::V1_0::WifiNanStatus"
790 type: TYPE_STRUCT
791 struct_value: {
792 name: "status"
793 type: TYPE_ENUM
794 predefined_type: "::android::hardware::wifi::V1_0::NanStatusType"
795 }
796 struct_value: {
797 name: "description"
798 type: TYPE_STRING
799 }
800 }
801
802 attribute: {
803 name: "::android::hardware::wifi::V1_0::NanMatchAlg"
804 type: TYPE_ENUM
805 enum_value: {
806 scalar_type: "uint32_t"
807
808 enumerator: "MATCH_ONCE"
809 scalar_value: {
810 uint32_t: 0
811 }
812 enumerator: "MATCH_CONTINUOUS"
813 scalar_value: {
814 uint32_t: 1
815 }
816 enumerator: "MATCH_NEVER"
817 scalar_value: {
818 uint32_t: 2
819 }
820 }
821 }
822
823 attribute: {
824 name: "::android::hardware::wifi::V1_0::NanPublishType"
825 type: TYPE_ENUM
826 enum_value: {
827 scalar_type: "uint32_t"
828
829 enumerator: "UNSOLICITED"
830 scalar_value: {
831 uint32_t: 0
832 }
833 enumerator: "SOLICITED"
834 scalar_value: {
835 uint32_t: 1
836 }
837 enumerator: "UNSOLICITED_SOLICITED"
838 scalar_value: {
839 uint32_t: 2
840 }
841 }
842 }
843
844 attribute: {
845 name: "::android::hardware::wifi::V1_0::NanTxType"
846 type: TYPE_ENUM
847 enum_value: {
848 scalar_type: "uint32_t"
849
850 enumerator: "BROADCAST"
851 scalar_value: {
852 uint32_t: 0
853 }
854 enumerator: "UNICAST"
855 scalar_value: {
856 uint32_t: 1
857 }
858 }
859 }
860
861 attribute: {
862 name: "::android::hardware::wifi::V1_0::NanSubscribeType"
863 type: TYPE_ENUM
864 enum_value: {
865 scalar_type: "uint32_t"
866
867 enumerator: "PASSIVE"
868 scalar_value: {
869 uint32_t: 0
870 }
871 enumerator: "ACTIVE"
872 scalar_value: {
873 uint32_t: 1
874 }
875 }
876 }
877
878 attribute: {
879 name: "::android::hardware::wifi::V1_0::NanSrfType"
880 type: TYPE_ENUM
881 enum_value: {
882 scalar_type: "uint32_t"
883
884 enumerator: "BLOOM_FILTER"
885 scalar_value: {
886 uint32_t: 0
887 }
888 enumerator: "PARTIAL_MAC_ADDR"
889 scalar_value: {
890 uint32_t: 1
891 }
892 }
893 }
894
895 attribute: {
896 name: "::android::hardware::wifi::V1_0::NanDataPathChannelCfg"
897 type: TYPE_ENUM
898 enum_value: {
899 scalar_type: "uint32_t"
900
901 enumerator: "CHANNEL_NOT_REQUESTED"
902 scalar_value: {
903 uint32_t: 0
904 }
905 enumerator: "REQUEST_CHANNEL_SETUP"
906 scalar_value: {
907 uint32_t: 1
908 }
909 enumerator: "FORCE_CHANNEL_SETUP"
910 scalar_value: {
911 uint32_t: 2
912 }
913 }
914 }
915
916 attribute: {
917 name: "::android::hardware::wifi::V1_0::NanBandSpecificConfig"
918 type: TYPE_STRUCT
919 struct_value: {
920 name: "rssiClose"
921 type: TYPE_SCALAR
922 scalar_type: "uint8_t"
923 }
924 struct_value: {
925 name: "rssiMiddle"
926 type: TYPE_SCALAR
927 scalar_type: "uint8_t"
928 }
929 struct_value: {
930 name: "rssiCloseProximity"
931 type: TYPE_SCALAR
932 scalar_type: "uint8_t"
933 }
934 struct_value: {
935 name: "dwellTimeMs"
936 type: TYPE_SCALAR
937 scalar_type: "uint8_t"
938 }
939 struct_value: {
940 name: "scanPeriodSec"
941 type: TYPE_SCALAR
942 scalar_type: "uint16_t"
943 }
944 struct_value: {
945 name: "validDiscoveryWindowIntervalVal"
946 type: TYPE_SCALAR
947 scalar_type: "bool_t"
948 }
949 struct_value: {
950 name: "discoveryWindowIntervalVal"
951 type: TYPE_SCALAR
952 scalar_type: "uint8_t"
953 }
954 }
955
956 attribute: {
957 name: "::android::hardware::wifi::V1_0::NanDebugConfig"
958 type: TYPE_STRUCT
959 struct_value: {
960 name: "validClusterIdVals"
961 type: TYPE_SCALAR
962 scalar_type: "bool_t"
963 }
964 struct_value: {
965 name: "clusterIdBottomRangeVal"
966 type: TYPE_SCALAR
967 scalar_type: "uint16_t"
968 }
969 struct_value: {
970 name: "clusterIdTopRangeVal"
971 type: TYPE_SCALAR
972 scalar_type: "uint16_t"
973 }
974 struct_value: {
975 name: "validIntfAddrVal"
976 type: TYPE_SCALAR
977 scalar_type: "bool_t"
978 }
979 struct_value: {
980 name: "intfAddrVal"
981 type: TYPE_ARRAY
982 vector_size: 6
983 vector_value: {
984 type: TYPE_SCALAR
985 scalar_type: "uint8_t"
986 }
987 }
988 struct_value: {
989 name: "validOuiVal"
990 type: TYPE_SCALAR
991 scalar_type: "bool_t"
992 }
993 struct_value: {
994 name: "ouiVal"
995 type: TYPE_SCALAR
996 scalar_type: "uint32_t"
997 }
998 struct_value: {
999 name: "validRandomFactorForceVal"
1000 type: TYPE_SCALAR
1001 scalar_type: "bool_t"
1002 }
1003 struct_value: {
1004 name: "randomFactorForceVal"
1005 type: TYPE_SCALAR
1006 scalar_type: "uint8_t"
1007 }
1008 struct_value: {
1009 name: "validHopCountForceVal"
1010 type: TYPE_SCALAR
1011 scalar_type: "bool_t"
1012 }
1013 struct_value: {
1014 name: "hopCountForceVal"
1015 type: TYPE_SCALAR
1016 scalar_type: "uint8_t"
1017 }
1018 struct_value: {
1019 name: "validDiscoveryChannelVal"
1020 type: TYPE_SCALAR
1021 scalar_type: "bool_t"
1022 }
1023 struct_value: {
1024 name: "discoveryChannelMhzVal"
1025 type: TYPE_ARRAY
1026 vector_size: 2
1027 vector_value: {
1028 type: TYPE_SCALAR
1029 scalar_type: "uint32_t"
1030 }
1031 }
1032 struct_value: {
1033 name: "validUseBeaconsInBandVal"
1034 type: TYPE_SCALAR
1035 scalar_type: "bool_t"
1036 }
1037 struct_value: {
1038 name: "useBeaconsInBandVal"
1039 type: TYPE_ARRAY
1040 vector_size: 2
1041 vector_value: {
1042 type: TYPE_SCALAR
1043 scalar_type: "bool_t"
1044 }
1045 }
1046 struct_value: {
1047 name: "validUseSdfInBandVal"
1048 type: TYPE_SCALAR
1049 scalar_type: "bool_t"
1050 }
1051 struct_value: {
1052 name: "useSdfInBandVal"
1053 type: TYPE_ARRAY
1054 vector_size: 2
1055 vector_value: {
1056 type: TYPE_SCALAR
1057 scalar_type: "bool_t"
1058 }
1059 }
1060 }
1061
1062 attribute: {
1063 name: "::android::hardware::wifi::V1_0::NanConfigRequest"
1064 type: TYPE_STRUCT
1065 struct_value: {
1066 name: "masterPref"
1067 type: TYPE_SCALAR
1068 scalar_type: "uint8_t"
1069 }
1070 struct_value: {
1071 name: "disableDiscoveryAddressChangeIndication"
1072 type: TYPE_SCALAR
1073 scalar_type: "bool_t"
1074 }
1075 struct_value: {
1076 name: "disableStartedClusterIndication"
1077 type: TYPE_SCALAR
1078 scalar_type: "bool_t"
1079 }
1080 struct_value: {
1081 name: "disableJoinedClusterIndication"
1082 type: TYPE_SCALAR
1083 scalar_type: "bool_t"
1084 }
1085 struct_value: {
1086 name: "includePublishServiceIdsInBeacon"
1087 type: TYPE_SCALAR
1088 scalar_type: "bool_t"
1089 }
1090 struct_value: {
1091 name: "numberOfPublishServiceIdsInBeacon"
1092 type: TYPE_SCALAR
1093 scalar_type: "uint8_t"
1094 }
1095 struct_value: {
1096 name: "includeSubscribeServiceIdsInBeacon"
1097 type: TYPE_SCALAR
1098 scalar_type: "bool_t"
1099 }
1100 struct_value: {
1101 name: "numberOfSubscribeServiceIdsInBeacon"
1102 type: TYPE_SCALAR
1103 scalar_type: "uint8_t"
1104 }
1105 struct_value: {
1106 name: "rssiWindowSize"
1107 type: TYPE_SCALAR
1108 scalar_type: "uint16_t"
1109 }
1110 struct_value: {
1111 name: "macAddressRandomizationIntervalSec"
1112 type: TYPE_SCALAR
1113 scalar_type: "uint32_t"
1114 }
1115 struct_value: {
1116 name: "acceptRangingRequests"
1117 type: TYPE_SCALAR
1118 scalar_type: "bool_t"
1119 }
1120 struct_value: {
1121 name: "bandSpecificConfig"
1122 type: TYPE_ARRAY
1123 vector_size: 2
1124 vector_value: {
1125 name: "::android::hardware::wifi::V1_0::NanBandSpecificConfig"
1126 type: TYPE_STRUCT
1127 struct_value: {
1128 name: "rssiClose"
1129 type: TYPE_SCALAR
1130 scalar_type: "uint8_t"
1131 }
1132 struct_value: {
1133 name: "rssiMiddle"
1134 type: TYPE_SCALAR
1135 scalar_type: "uint8_t"
1136 }
1137 struct_value: {
1138 name: "rssiCloseProximity"
1139 type: TYPE_SCALAR
1140 scalar_type: "uint8_t"
1141 }
1142 struct_value: {
1143 name: "dwellTimeMs"
1144 type: TYPE_SCALAR
1145 scalar_type: "uint8_t"
1146 }
1147 struct_value: {
1148 name: "scanPeriodSec"
1149 type: TYPE_SCALAR
1150 scalar_type: "uint16_t"
1151 }
1152 struct_value: {
1153 name: "validDiscoveryWindowIntervalVal"
1154 type: TYPE_SCALAR
1155 scalar_type: "bool_t"
1156 }
1157 struct_value: {
1158 name: "discoveryWindowIntervalVal"
1159 type: TYPE_SCALAR
1160 scalar_type: "uint8_t"
1161 }
1162 }
1163 }
1164 }
1165
1166 attribute: {
1167 name: "::android::hardware::wifi::V1_0::NanEnableRequest"
1168 type: TYPE_STRUCT
1169 struct_value: {
1170 name: "operateInBand"
1171 type: TYPE_ARRAY
1172 vector_size: 2
1173 vector_value: {
1174 type: TYPE_SCALAR
1175 scalar_type: "bool_t"
1176 }
1177 }
1178 struct_value: {
1179 name: "hopCountMax"
1180 type: TYPE_SCALAR
1181 scalar_type: "uint8_t"
1182 }
1183 struct_value: {
1184 name: "configParams"
1185 type: TYPE_STRUCT
1186 predefined_type: "::android::hardware::wifi::V1_0::NanConfigRequest"
1187 }
1188 struct_value: {
1189 name: "debugConfigs"
1190 type: TYPE_STRUCT
1191 predefined_type: "::android::hardware::wifi::V1_0::NanDebugConfig"
1192 }
1193 }
1194
1195 attribute: {
1196 name: "::android::hardware::wifi::V1_0::NanCipherSuiteType"
1197 type: TYPE_ENUM
1198 enum_value: {
1199 scalar_type: "uint32_t"
1200
1201 enumerator: "SHARED_KEY_128_MASK"
1202 scalar_value: {
1203 uint32_t: 1
1204 }
1205 enumerator: "SHARED_KEY_256_MASK"
1206 scalar_value: {
1207 uint32_t: 2
1208 }
1209 }
1210 }
1211
1212 attribute: {
1213 name: "::android::hardware::wifi::V1_0::NanRangingIndication"
1214 type: TYPE_ENUM
1215 enum_value: {
1216 scalar_type: "uint32_t"
1217
1218 enumerator: "CONTINUOUS_INDICATION_MASK"
1219 scalar_value: {
1220 uint32_t: 1
1221 }
1222 enumerator: "INGRESS_MET_MASK"
1223 scalar_value: {
1224 uint32_t: 2
1225 }
1226 enumerator: "EGRESS_MET_MASK"
1227 scalar_value: {
1228 uint32_t: 4
1229 }
1230 }
1231 }
1232
1233 attribute: {
1234 name: "::android::hardware::wifi::V1_0::NanDiscoveryCommonConfig"
1235 type: TYPE_STRUCT
1236 struct_value: {
1237 name: "sessionId"
1238 type: TYPE_SCALAR
1239 scalar_type: "uint8_t"
1240 }
1241 struct_value: {
1242 name: "ttlSec"
1243 type: TYPE_SCALAR
1244 scalar_type: "uint16_t"
1245 }
1246 struct_value: {
1247 name: "discoveryWindowPeriod"
1248 type: TYPE_SCALAR
1249 scalar_type: "uint16_t"
1250 }
1251 struct_value: {
1252 name: "discoveryCount"
1253 type: TYPE_SCALAR
1254 scalar_type: "uint8_t"
1255 }
1256 struct_value: {
1257 name: "serviceName"
1258 type: TYPE_VECTOR
1259 vector_value: {
1260 type: TYPE_SCALAR
1261 scalar_type: "uint8_t"
1262 }
1263 }
1264 struct_value: {
1265 name: "discoveryMatchIndicator"
1266 type: TYPE_ENUM
1267 predefined_type: "::android::hardware::wifi::V1_0::NanMatchAlg"
1268 }
1269 struct_value: {
1270 name: "serviceSpecificInfo"
1271 type: TYPE_VECTOR
1272 vector_value: {
1273 type: TYPE_SCALAR
1274 scalar_type: "uint8_t"
1275 }
1276 }
1277 struct_value: {
1278 name: "extendedServiceSpecificInfo"
1279 type: TYPE_VECTOR
1280 vector_value: {
1281 type: TYPE_SCALAR
1282 scalar_type: "uint8_t"
1283 }
1284 }
1285 struct_value: {
1286 name: "rxMatchFilter"
1287 type: TYPE_VECTOR
1288 vector_value: {
1289 type: TYPE_SCALAR
1290 scalar_type: "uint8_t"
1291 }
1292 }
1293 struct_value: {
1294 name: "txMatchFilter"
1295 type: TYPE_VECTOR
1296 vector_value: {
1297 type: TYPE_SCALAR
1298 scalar_type: "uint8_t"
1299 }
1300 }
1301 struct_value: {
1302 name: "useRssiThreshold"
1303 type: TYPE_SCALAR
1304 scalar_type: "bool_t"
1305 }
1306 struct_value: {
1307 name: "disableDiscoveryTerminationIndication"
1308 type: TYPE_SCALAR
1309 scalar_type: "bool_t"
1310 }
1311 struct_value: {
1312 name: "disableMatchExpirationIndication"
1313 type: TYPE_SCALAR
1314 scalar_type: "bool_t"
1315 }
1316 struct_value: {
1317 name: "disableFollowupReceivedIndication"
1318 type: TYPE_SCALAR
1319 scalar_type: "bool_t"
1320 }
1321 struct_value: {
1322 name: "supportedCipherTypes"
1323 type: TYPE_MASK
1324 scalar_type: "uint32_t"
1325 predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType"
1326 }
1327 struct_value: {
1328 name: "pmk"
1329 type: TYPE_VECTOR
1330 vector_value: {
1331 type: TYPE_SCALAR
1332 scalar_type: "uint8_t"
1333 }
1334 }
1335 struct_value: {
1336 name: "securityEnabledInNdp"
1337 type: TYPE_SCALAR
1338 scalar_type: "bool_t"
1339 }
1340 struct_value: {
1341 name: "rangingRequired"
1342 type: TYPE_SCALAR
1343 scalar_type: "bool_t"
1344 }
1345 struct_value: {
1346 name: "rangingIntervalMsec"
1347 type: TYPE_SCALAR
1348 scalar_type: "uint32_t"
1349 }
1350 struct_value: {
1351 name: "configRangingIndications"
1352 type: TYPE_MASK
1353 scalar_type: "uint32_t"
1354 predefined_type: "::android::hardware::wifi::V1_0::NanRangingIndication"
1355 }
1356 struct_value: {
1357 name: "distanceIngressCm"
1358 type: TYPE_SCALAR
1359 scalar_type: "uint16_t"
1360 }
1361 struct_value: {
1362 name: "distanceEgressCm"
1363 type: TYPE_SCALAR
1364 scalar_type: "uint16_t"
1365 }
1366 }
1367
1368 attribute: {
1369 name: "::android::hardware::wifi::V1_0::NanPublishRequest"
1370 type: TYPE_STRUCT
1371 struct_value: {
1372 name: "baseConfigs"
1373 type: TYPE_STRUCT
1374 predefined_type: "::android::hardware::wifi::V1_0::NanDiscoveryCommonConfig"
1375 }
1376 struct_value: {
1377 name: "publishType"
1378 type: TYPE_ENUM
1379 predefined_type: "::android::hardware::wifi::V1_0::NanPublishType"
1380 }
1381 struct_value: {
1382 name: "txType"
1383 type: TYPE_ENUM
1384 predefined_type: "::android::hardware::wifi::V1_0::NanTxType"
1385 }
1386 }
1387
1388 attribute: {
1389 name: "::android::hardware::wifi::V1_0::NanSubscribeRequest"
1390 type: TYPE_STRUCT
1391 struct_value: {
1392 name: "baseConfigs"
1393 type: TYPE_STRUCT
1394 predefined_type: "::android::hardware::wifi::V1_0::NanDiscoveryCommonConfig"
1395 }
1396 struct_value: {
1397 name: "subscribeType"
1398 type: TYPE_ENUM
1399 predefined_type: "::android::hardware::wifi::V1_0::NanSubscribeType"
1400 }
1401 struct_value: {
1402 name: "srfType"
1403 type: TYPE_ENUM
1404 predefined_type: "::android::hardware::wifi::V1_0::NanSrfType"
1405 }
1406 struct_value: {
1407 name: "srfRespondIfInAddressSet"
1408 type: TYPE_SCALAR
1409 scalar_type: "bool_t"
1410 }
1411 struct_value: {
1412 name: "shouldUseSrf"
1413 type: TYPE_SCALAR
1414 scalar_type: "bool_t"
1415 }
1416 struct_value: {
1417 name: "isSsiRequiredForMatch"
1418 type: TYPE_SCALAR
1419 scalar_type: "bool_t"
1420 }
1421 struct_value: {
1422 name: "intfAddr"
1423 type: TYPE_VECTOR
1424 vector_value: {
1425 type: TYPE_ARRAY
1426 vector_size: 6
1427 vector_value: {
1428 type: TYPE_SCALAR
1429 scalar_type: "uint8_t"
1430 }
1431 }
1432 }
1433 }
1434
1435 attribute: {
1436 name: "::android::hardware::wifi::V1_0::NanTransmitFollowupRequest"
1437 type: TYPE_STRUCT
1438 struct_value: {
1439 name: "discoverySessionId"
1440 type: TYPE_SCALAR
1441 scalar_type: "uint8_t"
1442 }
1443 struct_value: {
1444 name: "peerId"
1445 type: TYPE_SCALAR
1446 scalar_type: "uint32_t"
1447 }
1448 struct_value: {
1449 name: "addr"
1450 type: TYPE_ARRAY
1451 vector_size: 6
1452 vector_value: {
1453 type: TYPE_SCALAR
1454 scalar_type: "uint8_t"
1455 }
1456 }
1457 struct_value: {
1458 name: "isHighPriority"
1459 type: TYPE_SCALAR
1460 scalar_type: "bool_t"
1461 }
1462 struct_value: {
1463 name: "shouldUseDiscoveryWindow"
1464 type: TYPE_SCALAR
1465 scalar_type: "bool_t"
1466 }
1467 struct_value: {
1468 name: "serviceSpecificInfo"
1469 type: TYPE_VECTOR
1470 vector_value: {
1471 type: TYPE_SCALAR
1472 scalar_type: "uint8_t"
1473 }
1474 }
1475 struct_value: {
1476 name: "extendedServiceSpecificInfo"
1477 type: TYPE_VECTOR
1478 vector_value: {
1479 type: TYPE_SCALAR
1480 scalar_type: "uint8_t"
1481 }
1482 }
1483 struct_value: {
1484 name: "disableFollowupResultIndication"
1485 type: TYPE_SCALAR
1486 scalar_type: "bool_t"
1487 }
1488 }
1489
1490 attribute: {
1491 name: "::android::hardware::wifi::V1_0::NanInitiateDataPathRequest"
1492 type: TYPE_STRUCT
1493 struct_value: {
1494 name: "peerId"
1495 type: TYPE_SCALAR
1496 scalar_type: "uint32_t"
1497 }
1498 struct_value: {
1499 name: "peerDiscMacAddr"
1500 type: TYPE_ARRAY
1501 vector_size: 6
1502 vector_value: {
1503 type: TYPE_SCALAR
1504 scalar_type: "uint8_t"
1505 }
1506 }
1507 struct_value: {
1508 name: "channelRequestType"
1509 type: TYPE_ENUM
1510 predefined_type: "::android::hardware::wifi::V1_0::NanDataPathChannelCfg"
1511 }
1512 struct_value: {
1513 name: "channel"
1514 type: TYPE_SCALAR
1515 scalar_type: "uint32_t"
1516 }
1517 struct_value: {
1518 name: "ifaceName"
1519 type: TYPE_STRING
1520 }
1521 struct_value: {
1522 name: "securityRequired"
1523 type: TYPE_SCALAR
1524 scalar_type: "bool_t"
1525 }
1526 struct_value: {
1527 name: "appInfo"
1528 type: TYPE_VECTOR
1529 vector_value: {
1530 type: TYPE_SCALAR
1531 scalar_type: "uint8_t"
1532 }
1533 }
1534 struct_value: {
1535 name: "supportedCipherTypes"
1536 type: TYPE_MASK
1537 scalar_type: "uint32_t"
1538 predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType"
1539 }
1540 struct_value: {
1541 name: "pmk"
1542 type: TYPE_VECTOR
1543 vector_value: {
1544 type: TYPE_SCALAR
1545 scalar_type: "uint8_t"
1546 }
1547 }
1548 }
1549
1550 attribute: {
1551 name: "::android::hardware::wifi::V1_0::NanRespondToDataPathIndicationRequest"
1552 type: TYPE_STRUCT
1553 struct_value: {
1554 name: "acceptRequest"
1555 type: TYPE_SCALAR
1556 scalar_type: "bool_t"
1557 }
1558 struct_value: {
1559 name: "ndpInstanceId"
1560 type: TYPE_SCALAR
1561 scalar_type: "uint32_t"
1562 }
1563 struct_value: {
1564 name: "ifaceName"
1565 type: TYPE_STRING
1566 }
1567 struct_value: {
1568 name: "securityRequired"
1569 type: TYPE_SCALAR
1570 scalar_type: "bool_t"
1571 }
1572 struct_value: {
1573 name: "appInfo"
1574 type: TYPE_VECTOR
1575 vector_value: {
1576 type: TYPE_SCALAR
1577 scalar_type: "uint8_t"
1578 }
1579 }
1580 struct_value: {
1581 name: "supportedCipherTypes"
1582 type: TYPE_MASK
1583 scalar_type: "uint32_t"
1584 predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType"
1585 }
1586 struct_value: {
1587 name: "pmk"
1588 type: TYPE_VECTOR
1589 vector_value: {
1590 type: TYPE_SCALAR
1591 scalar_type: "uint8_t"
1592 }
1593 }
1594 }
1595
1596 attribute: {
1597 name: "::android::hardware::wifi::V1_0::NanCapabilities"
1598 type: TYPE_STRUCT
1599 struct_value: {
1600 name: "maxConcurrentClusters"
1601 type: TYPE_SCALAR
1602 scalar_type: "uint32_t"
1603 }
1604 struct_value: {
1605 name: "maxPublishes"
1606 type: TYPE_SCALAR
1607 scalar_type: "uint32_t"
1608 }
1609 struct_value: {
1610 name: "maxSubscribes"
1611 type: TYPE_SCALAR
1612 scalar_type: "uint32_t"
1613 }
1614 struct_value: {
1615 name: "maxServiceNameLen"
1616 type: TYPE_SCALAR
1617 scalar_type: "uint32_t"
1618 }
1619 struct_value: {
1620 name: "maxMatchFilterLen"
1621 type: TYPE_SCALAR
1622 scalar_type: "uint32_t"
1623 }
1624 struct_value: {
1625 name: "maxTotalMatchFilterLen"
1626 type: TYPE_SCALAR
1627 scalar_type: "uint32_t"
1628 }
1629 struct_value: {
1630 name: "maxServiceSpecificInfoLen"
1631 type: TYPE_SCALAR
1632 scalar_type: "uint32_t"
1633 }
1634 struct_value: {
1635 name: "maxExtendedServiceSpecificInfoLen"
1636 type: TYPE_SCALAR
1637 scalar_type: "uint32_t"
1638 }
1639 struct_value: {
1640 name: "maxVsaDataLen"
1641 type: TYPE_SCALAR
1642 scalar_type: "uint32_t"
1643 }
1644 struct_value: {
1645 name: "maxNdiInterfaces"
1646 type: TYPE_SCALAR
1647 scalar_type: "uint32_t"
1648 }
1649 struct_value: {
1650 name: "maxNdpSessions"
1651 type: TYPE_SCALAR
1652 scalar_type: "uint32_t"
1653 }
1654 struct_value: {
1655 name: "maxAppInfoLen"
1656 type: TYPE_SCALAR
1657 scalar_type: "uint32_t"
1658 }
1659 struct_value: {
1660 name: "maxQueuedTransmitFollowupMsgs"
1661 type: TYPE_SCALAR
1662 scalar_type: "uint32_t"
1663 }
1664 struct_value: {
1665 name: "maxSubscribeInterfaceAddresses"
1666 type: TYPE_SCALAR
1667 scalar_type: "uint32_t"
1668 }
1669 struct_value: {
1670 name: "supportedCipherSuites"
1671 type: TYPE_MASK
1672 scalar_type: "uint32_t"
1673 predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType"
1674 }
1675 }
1676
1677 attribute: {
1678 name: "::android::hardware::wifi::V1_0::NanMatchInd"
1679 type: TYPE_STRUCT
1680 struct_value: {
1681 name: "discoverySessionId"
1682 type: TYPE_SCALAR
1683 scalar_type: "uint8_t"
1684 }
1685 struct_value: {
1686 name: "peerId"
1687 type: TYPE_SCALAR
1688 scalar_type: "uint32_t"
1689 }
1690 struct_value: {
1691 name: "addr"
1692 type: TYPE_ARRAY
1693 vector_size: 6
1694 vector_value: {
1695 type: TYPE_SCALAR
1696 scalar_type: "uint8_t"
1697 }
1698 }
1699 struct_value: {
1700 name: "serviceSpecificInfo"
1701 type: TYPE_VECTOR
1702 vector_value: {
1703 type: TYPE_SCALAR
1704 scalar_type: "uint8_t"
1705 }
1706 }
1707 struct_value: {
1708 name: "extendedServiceSpecificInfo"
1709 type: TYPE_VECTOR
1710 vector_value: {
1711 type: TYPE_SCALAR
1712 scalar_type: "uint8_t"
1713 }
1714 }
1715 struct_value: {
1716 name: "matchFilter"
1717 type: TYPE_VECTOR
1718 vector_value: {
1719 type: TYPE_SCALAR
1720 scalar_type: "uint8_t"
1721 }
1722 }
1723 struct_value: {
1724 name: "matchOccuredInBeaconFlag"
1725 type: TYPE_SCALAR
1726 scalar_type: "bool_t"
1727 }
1728 struct_value: {
1729 name: "outOfResourceFlag"
1730 type: TYPE_SCALAR
1731 scalar_type: "bool_t"
1732 }
1733 struct_value: {
1734 name: "rssiValue"
1735 type: TYPE_SCALAR
1736 scalar_type: "uint8_t"
1737 }
1738 struct_value: {
1739 name: "peerSupportedCipherTypes"
1740 type: TYPE_MASK
1741 scalar_type: "uint32_t"
1742 predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType"
1743 }
1744 struct_value: {
1745 name: "peerRequiresSecurityEnabledInNdp"
1746 type: TYPE_SCALAR
1747 scalar_type: "bool_t"
1748 }
1749 struct_value: {
1750 name: "peerRequiresRanging"
1751 type: TYPE_SCALAR
1752 scalar_type: "bool_t"
1753 }
1754 struct_value: {
1755 name: "rangingMeasurementInCm"
1756 type: TYPE_SCALAR
1757 scalar_type: "uint32_t"
1758 }
1759 struct_value: {
1760 name: "rangingIndicationType"
1761 type: TYPE_MASK
1762 scalar_type: "uint32_t"
1763 predefined_type: "::android::hardware::wifi::V1_0::NanRangingIndication"
1764 }
1765 }
1766
1767 attribute: {
1768 name: "::android::hardware::wifi::V1_0::NanFollowupReceivedInd"
1769 type: TYPE_STRUCT
1770 struct_value: {
1771 name: "discoverySessionId"
1772 type: TYPE_SCALAR
1773 scalar_type: "uint8_t"
1774 }
1775 struct_value: {
1776 name: "peerId"
1777 type: TYPE_SCALAR
1778 scalar_type: "uint32_t"
1779 }
1780 struct_value: {
1781 name: "addr"
1782 type: TYPE_ARRAY
1783 vector_size: 6
1784 vector_value: {
1785 type: TYPE_SCALAR
1786 scalar_type: "uint8_t"
1787 }
1788 }
1789 struct_value: {
1790 name: "receivedInFaw"
1791 type: TYPE_SCALAR
1792 scalar_type: "bool_t"
1793 }
1794 struct_value: {
1795 name: "serviceSpecificInfo"
1796 type: TYPE_VECTOR
1797 vector_value: {
1798 type: TYPE_SCALAR
1799 scalar_type: "uint8_t"
1800 }
1801 }
1802 struct_value: {
1803 name: "extendedServiceSpecificInfo"
1804 type: TYPE_VECTOR
1805 vector_value: {
1806 type: TYPE_SCALAR
1807 scalar_type: "uint8_t"
1808 }
1809 }
1810 }
1811
1812 attribute: {
1813 name: "::android::hardware::wifi::V1_0::NanClusterEventType"
1814 type: TYPE_ENUM
1815 enum_value: {
1816 scalar_type: "uint32_t"
1817
1818 enumerator: "DISCOVERY_MAC_ADDRESS_CHANGED"
1819 scalar_value: {
1820 uint32_t: 0
1821 }
1822 enumerator: "STARTED_CLUSTER"
1823 scalar_value: {
1824 uint32_t: 1
1825 }
1826 enumerator: "JOINED_CLUSTER"
1827 scalar_value: {
1828 uint32_t: 2
1829 }
1830 }
1831 }
1832
1833 attribute: {
1834 name: "::android::hardware::wifi::V1_0::NanClusterEventInd"
1835 type: TYPE_STRUCT
1836 struct_value: {
1837 name: "eventType"
1838 type: TYPE_ENUM
1839 predefined_type: "::android::hardware::wifi::V1_0::NanClusterEventType"
1840 }
1841 struct_value: {
1842 name: "addr"
1843 type: TYPE_ARRAY
1844 vector_size: 6
1845 vector_value: {
1846 type: TYPE_SCALAR
1847 scalar_type: "uint8_t"
1848 }
1849 }
1850 }
1851
1852 attribute: {
1853 name: "::android::hardware::wifi::V1_0::NanDataPathRequestInd"
1854 type: TYPE_STRUCT
1855 struct_value: {
1856 name: "discoverySessionId"
1857 type: TYPE_SCALAR
1858 scalar_type: "uint8_t"
1859 }
1860 struct_value: {
1861 name: "peerDiscMacAddr"
1862 type: TYPE_ARRAY
1863 vector_size: 6
1864 vector_value: {
1865 type: TYPE_SCALAR
1866 scalar_type: "uint8_t"
1867 }
1868 }
1869 struct_value: {
1870 name: "ndpInstanceId"
1871 type: TYPE_SCALAR
1872 scalar_type: "uint32_t"
1873 }
1874 struct_value: {
1875 name: "securityRequired"
1876 type: TYPE_SCALAR
1877 scalar_type: "bool_t"
1878 }
1879 struct_value: {
1880 name: "appInfo"
1881 type: TYPE_VECTOR
1882 vector_value: {
1883 type: TYPE_SCALAR
1884 scalar_type: "uint8_t"
1885 }
1886 }
1887 }
1888
1889 attribute: {
1890 name: "::android::hardware::wifi::V1_0::NanDataPathConfirmInd"
1891 type: TYPE_STRUCT
1892 struct_value: {
1893 name: "ndpInstanceId"
1894 type: TYPE_SCALAR
1895 scalar_type: "uint32_t"
1896 }
1897 struct_value: {
1898 name: "dataPathSetupSuccess"
1899 type: TYPE_SCALAR
1900 scalar_type: "bool_t"
1901 }
1902 struct_value: {
1903 name: "peerNdiMacAddr"
1904 type: TYPE_ARRAY
1905 vector_size: 6
1906 vector_value: {
1907 type: TYPE_SCALAR
1908 scalar_type: "uint8_t"
1909 }
1910 }
1911 struct_value: {
1912 name: "appInfo"
1913 type: TYPE_VECTOR
1914 vector_value: {
1915 type: TYPE_SCALAR
1916 scalar_type: "uint8_t"
1917 }
1918 }
1919 struct_value: {
1920 name: "status"
1921 type: TYPE_STRUCT
1922 predefined_type: "::android::hardware::wifi::V1_0::WifiNanStatus"
1923 }
1924 }
1925
1926 attribute: {
1927 name: "::android::hardware::wifi::V1_0::RttStatus"
1928 type: TYPE_ENUM
1929 enum_value: {
1930 scalar_type: "uint32_t"
1931
1932 enumerator: "SUCCESS"
1933 scalar_value: {
1934 uint32_t: 0
1935 }
1936 enumerator: "FAILURE"
1937 scalar_value: {
1938 uint32_t: 1
1939 }
1940 enumerator: "FAIL_NO_RSP"
1941 scalar_value: {
1942 uint32_t: 2
1943 }
1944 enumerator: "FAIL_REJECTED"
1945 scalar_value: {
1946 uint32_t: 3
1947 }
1948 enumerator: "FAIL_NOT_SCHEDULED_YET"
1949 scalar_value: {
1950 uint32_t: 4
1951 }
1952 enumerator: "FAIL_TM_TIMEOUT"
1953 scalar_value: {
1954 uint32_t: 5
1955 }
1956 enumerator: "FAIL_AP_ON_DIFF_CHANNEL"
1957 scalar_value: {
1958 uint32_t: 6
1959 }
1960 enumerator: "FAIL_NO_CAPABILITY"
1961 scalar_value: {
1962 uint32_t: 7
1963 }
1964 enumerator: "ABORTED"
1965 scalar_value: {
1966 uint32_t: 8
1967 }
1968 enumerator: "FAIL_INVALID_TS"
1969 scalar_value: {
1970 uint32_t: 9
1971 }
1972 enumerator: "FAIL_PROTOCOL"
1973 scalar_value: {
1974 uint32_t: 10
1975 }
1976 enumerator: "FAIL_SCHEDULE"
1977 scalar_value: {
1978 uint32_t: 11
1979 }
1980 enumerator: "FAIL_BUSY_TRY_LATER"
1981 scalar_value: {
1982 uint32_t: 12
1983 }
1984 enumerator: "INVALID_REQ"
1985 scalar_value: {
1986 uint32_t: 13
1987 }
1988 enumerator: "NO_WIFI"
1989 scalar_value: {
1990 uint32_t: 14
1991 }
1992 enumerator: "FAIL_FTM_PARAM_OVERRIDE"
1993 scalar_value: {
1994 uint32_t: 15
1995 }
1996 }
1997 }
1998
1999 attribute: {
2000 name: "::android::hardware::wifi::V1_0::RttPeerType"
2001 type: TYPE_ENUM
2002 enum_value: {
2003 scalar_type: "uint32_t"
2004
2005 enumerator: "AP"
2006 scalar_value: {
2007 uint32_t: 1
2008 }
2009 enumerator: "STA"
2010 scalar_value: {
2011 uint32_t: 2
2012 }
2013 enumerator: "P2P_GO"
2014 scalar_value: {
2015 uint32_t: 3
2016 }
2017 enumerator: "P2P_CLIENT"
2018 scalar_value: {
2019 uint32_t: 4
2020 }
2021 enumerator: "NAN"
2022 scalar_value: {
2023 uint32_t: 5
2024 }
2025 }
2026 }
2027
2028 attribute: {
2029 name: "::android::hardware::wifi::V1_0::RttBw"
2030 type: TYPE_ENUM
2031 enum_value: {
2032 scalar_type: "uint32_t"
2033
2034 enumerator: "BW_5MHZ"
2035 scalar_value: {
2036 uint32_t: 1
2037 }
2038 enumerator: "BW_10MHZ"
2039 scalar_value: {
2040 uint32_t: 2
2041 }
2042 enumerator: "BW_20MHZ"
2043 scalar_value: {
2044 uint32_t: 4
2045 }
2046 enumerator: "BW_40MHZ"
2047 scalar_value: {
2048 uint32_t: 8
2049 }
2050 enumerator: "BW_80MHZ"
2051 scalar_value: {
2052 uint32_t: 16
2053 }
2054 enumerator: "BW_160MHZ"
2055 scalar_value: {
2056 uint32_t: 32
2057 }
2058 }
2059 }
2060
2061 attribute: {
2062 name: "::android::hardware::wifi::V1_0::RttPreamble"
2063 type: TYPE_ENUM
2064 enum_value: {
2065 scalar_type: "uint32_t"
2066
2067 enumerator: "LEGACY"
2068 scalar_value: {
2069 uint32_t: 1
2070 }
2071 enumerator: "HT"
2072 scalar_value: {
2073 uint32_t: 2
2074 }
2075 enumerator: "VHT"
2076 scalar_value: {
2077 uint32_t: 4
2078 }
2079 }
2080 }
2081
2082 attribute: {
2083 name: "::android::hardware::wifi::V1_0::RttType"
2084 type: TYPE_ENUM
2085 enum_value: {
2086 scalar_type: "uint32_t"
2087
2088 enumerator: "ONE_SIDED"
2089 scalar_value: {
2090 uint32_t: 1
2091 }
2092 enumerator: "TWO_SIDED"
2093 scalar_value: {
2094 uint32_t: 2
2095 }
2096 }
2097 }
2098
2099 attribute: {
2100 name: "::android::hardware::wifi::V1_0::RttConfig"
2101 type: TYPE_STRUCT
2102 struct_value: {
2103 name: "addr"
2104 type: TYPE_ARRAY
2105 vector_size: 6
2106 vector_value: {
2107 type: TYPE_SCALAR
2108 scalar_type: "uint8_t"
2109 }
2110 }
2111 struct_value: {
2112 name: "type"
2113 type: TYPE_ENUM
2114 predefined_type: "::android::hardware::wifi::V1_0::RttType"
2115 }
2116 struct_value: {
2117 name: "peer"
2118 type: TYPE_ENUM
2119 predefined_type: "::android::hardware::wifi::V1_0::RttPeerType"
2120 }
2121 struct_value: {
2122 name: "channel"
2123 type: TYPE_STRUCT
2124 predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo"
2125 }
2126 struct_value: {
2127 name: "burstPeriod"
2128 type: TYPE_SCALAR
2129 scalar_type: "uint32_t"
2130 }
2131 struct_value: {
2132 name: "numBurst"
2133 type: TYPE_SCALAR
2134 scalar_type: "uint32_t"
2135 }
2136 struct_value: {
2137 name: "numFramesPerBurst"
2138 type: TYPE_SCALAR
2139 scalar_type: "uint32_t"
2140 }
2141 struct_value: {
2142 name: "numRetriesPerRttFrame"
2143 type: TYPE_SCALAR
2144 scalar_type: "uint32_t"
2145 }
2146 struct_value: {
2147 name: "numRetriesPerFtmr"
2148 type: TYPE_SCALAR
2149 scalar_type: "uint32_t"
2150 }
2151 struct_value: {
2152 name: "mustRequestLci"
2153 type: TYPE_SCALAR
2154 scalar_type: "bool_t"
2155 }
2156 struct_value: {
2157 name: "mustRequestLcr"
2158 type: TYPE_SCALAR
2159 scalar_type: "bool_t"
2160 }
2161 struct_value: {
2162 name: "burstDuration"
2163 type: TYPE_SCALAR
2164 scalar_type: "uint32_t"
2165 }
2166 struct_value: {
2167 name: "preamble"
2168 type: TYPE_ENUM
2169 predefined_type: "::android::hardware::wifi::V1_0::RttPreamble"
2170 }
2171 struct_value: {
2172 name: "bw"
2173 type: TYPE_ENUM
2174 predefined_type: "::android::hardware::wifi::V1_0::RttBw"
2175 }
2176 }
2177
2178 attribute: {
2179 name: "::android::hardware::wifi::V1_0::RttResult"
2180 type: TYPE_STRUCT
2181 struct_value: {
2182 name: "addr"
2183 type: TYPE_ARRAY
2184 vector_size: 6
2185 vector_value: {
2186 type: TYPE_SCALAR
2187 scalar_type: "uint8_t"
2188 }
2189 }
2190 struct_value: {
2191 name: "burstNum"
2192 type: TYPE_SCALAR
2193 scalar_type: "uint32_t"
2194 }
2195 struct_value: {
2196 name: "measurementNumber"
2197 type: TYPE_SCALAR
2198 scalar_type: "uint32_t"
2199 }
2200 struct_value: {
2201 name: "successNumber"
2202 type: TYPE_SCALAR
2203 scalar_type: "uint32_t"
2204 }
2205 struct_value: {
2206 name: "numberPerBurstPeer"
2207 type: TYPE_SCALAR
2208 scalar_type: "uint8_t"
2209 }
2210 struct_value: {
2211 name: "status"
2212 type: TYPE_ENUM
2213 predefined_type: "::android::hardware::wifi::V1_0::RttStatus"
2214 }
2215 struct_value: {
2216 name: "retryAfterDuration"
2217 type: TYPE_SCALAR
2218 scalar_type: "uint8_t"
2219 }
2220 struct_value: {
2221 name: "type"
2222 type: TYPE_ENUM
2223 predefined_type: "::android::hardware::wifi::V1_0::RttType"
2224 }
2225 struct_value: {
2226 name: "rssi"
2227 type: TYPE_SCALAR
2228 scalar_type: "int32_t"
2229 }
2230 struct_value: {
2231 name: "rssiSpread"
2232 type: TYPE_SCALAR
2233 scalar_type: "int32_t"
2234 }
2235 struct_value: {
2236 name: "txRate"
2237 type: TYPE_STRUCT
2238 predefined_type: "::android::hardware::wifi::V1_0::WifiRateInfo"
2239 }
2240 struct_value: {
2241 name: "rxRate"
2242 type: TYPE_STRUCT
2243 predefined_type: "::android::hardware::wifi::V1_0::WifiRateInfo"
2244 }
2245 struct_value: {
2246 name: "rtt"
2247 type: TYPE_SCALAR
2248 scalar_type: "uint64_t"
2249 }
2250 struct_value: {
2251 name: "rttSd"
2252 type: TYPE_SCALAR
2253 scalar_type: "uint64_t"
2254 }
2255 struct_value: {
2256 name: "rttSpread"
2257 type: TYPE_SCALAR
2258 scalar_type: "uint64_t"
2259 }
2260 struct_value: {
2261 name: "distanceInMm"
2262 type: TYPE_SCALAR
2263 scalar_type: "int32_t"
2264 }
2265 struct_value: {
2266 name: "distanceSdInMm"
2267 type: TYPE_SCALAR
2268 scalar_type: "int32_t"
2269 }
2270 struct_value: {
2271 name: "distanceSpreadInMm"
2272 type: TYPE_SCALAR
2273 scalar_type: "int32_t"
2274 }
2275 struct_value: {
2276 name: "timeStampInUs"
2277 type: TYPE_SCALAR
2278 scalar_type: "uint64_t"
2279 }
2280 struct_value: {
2281 name: "burstDurationInMs"
2282 type: TYPE_SCALAR
2283 scalar_type: "uint32_t"
2284 }
2285 struct_value: {
2286 name: "negotiatedBurstNum"
2287 type: TYPE_SCALAR
2288 scalar_type: "uint32_t"
2289 }
2290 struct_value: {
2291 name: "lci"
2292 type: TYPE_STRUCT
2293 predefined_type: "::android::hardware::wifi::V1_0::WifiInformationElement"
2294 }
2295 struct_value: {
2296 name: "lcr"
2297 type: TYPE_STRUCT
2298 predefined_type: "::android::hardware::wifi::V1_0::WifiInformationElement"
2299 }
2300 }
2301
2302 attribute: {
2303 name: "::android::hardware::wifi::V1_0::RttCapabilities"
2304 type: TYPE_STRUCT
2305 struct_value: {
2306 name: "rttOneSidedSupported"
2307 type: TYPE_SCALAR
2308 scalar_type: "bool_t"
2309 }
2310 struct_value: {
2311 name: "rttFtmSupported"
2312 type: TYPE_SCALAR
2313 scalar_type: "bool_t"
2314 }
2315 struct_value: {
2316 name: "lciSupported"
2317 type: TYPE_SCALAR
2318 scalar_type: "bool_t"
2319 }
2320 struct_value: {
2321 name: "lcrSupported"
2322 type: TYPE_SCALAR
2323 scalar_type: "bool_t"
2324 }
2325 struct_value: {
2326 name: "responderSupported"
2327 type: TYPE_SCALAR
2328 scalar_type: "bool_t"
2329 }
2330 struct_value: {
2331 name: "preambleSupport"
2332 type: TYPE_MASK
2333 scalar_type: "uint32_t"
2334 predefined_type: "::android::hardware::wifi::V1_0::RttPreamble"
2335 }
2336 struct_value: {
2337 name: "bwSupport"
2338 type: TYPE_MASK
2339 scalar_type: "uint32_t"
2340 predefined_type: "::android::hardware::wifi::V1_0::RttBw"
2341 }
2342 struct_value: {
2343 name: "mcVersion"
2344 type: TYPE_SCALAR
2345 scalar_type: "uint8_t"
2346 }
2347 }
2348
2349 attribute: {
2350 name: "::android::hardware::wifi::V1_0::RttMotionPattern"
2351 type: TYPE_ENUM
2352 enum_value: {
2353 scalar_type: "uint32_t"
2354
2355 enumerator: "NOT_EXPECTED"
2356 scalar_value: {
2357 uint32_t: 0
2358 }
2359 enumerator: "EXPECTED"
2360 scalar_value: {
2361 uint32_t: 1
2362 }
2363 enumerator: "UNKNOWN"
2364 scalar_value: {
2365 uint32_t: 2
2366 }
2367 }
2368 }
2369
2370 attribute: {
2371 name: "::android::hardware::wifi::V1_0::RttLciInformation"
2372 type: TYPE_STRUCT
2373 struct_value: {
2374 name: "latitude"
2375 type: TYPE_SCALAR
2376 scalar_type: "int64_t"
2377 }
2378 struct_value: {
2379 name: "longitude"
2380 type: TYPE_SCALAR
2381 scalar_type: "int64_t"
2382 }
2383 struct_value: {
2384 name: "altitude"
2385 type: TYPE_SCALAR
2386 scalar_type: "int32_t"
2387 }
2388 struct_value: {
2389 name: "latitudeUnc"
2390 type: TYPE_SCALAR
2391 scalar_type: "uint8_t"
2392 }
2393 struct_value: {
2394 name: "longitudeUnc"
2395 type: TYPE_SCALAR
2396 scalar_type: "uint8_t"
2397 }
2398 struct_value: {
2399 name: "altitudeUnc"
2400 type: TYPE_SCALAR
2401 scalar_type: "uint8_t"
2402 }
2403 struct_value: {
2404 name: "motionPattern"
2405 type: TYPE_ENUM
2406 predefined_type: "::android::hardware::wifi::V1_0::RttMotionPattern"
2407 }
2408 struct_value: {
2409 name: "floor"
2410 type: TYPE_SCALAR
2411 scalar_type: "int32_t"
2412 }
2413 struct_value: {
2414 name: "heightAboveFloor"
2415 type: TYPE_SCALAR
2416 scalar_type: "int32_t"
2417 }
2418 struct_value: {
2419 name: "heightUnc"
2420 type: TYPE_SCALAR
2421 scalar_type: "int32_t"
2422 }
2423 }
2424
2425 attribute: {
2426 name: "::android::hardware::wifi::V1_0::RttLcrInformation"
2427 type: TYPE_STRUCT
2428 struct_value: {
2429 name: "countryCode"
2430 type: TYPE_ARRAY
2431 vector_size: 2
2432 vector_value: {
2433 type: TYPE_SCALAR
2434 scalar_type: "int8_t"
2435 }
2436 }
2437 struct_value: {
2438 name: "civicInfo"
2439 type: TYPE_STRING
2440 }
2441 }
2442
2443 attribute: {
2444 name: "::android::hardware::wifi::V1_0::RttResponder"
2445 type: TYPE_STRUCT
2446 struct_value: {
2447 name: "channel"
2448 type: TYPE_STRUCT
2449 predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo"
2450 }
2451 struct_value: {
2452 name: "preamble"
2453 type: TYPE_ENUM
2454 predefined_type: "::android::hardware::wifi::V1_0::RttPreamble"
2455 }
2456 }
2457
2458 attribute: {
2459 name: "::android::hardware::wifi::V1_0::WifiDebugRingBufferFlags"
2460 type: TYPE_ENUM
2461 enum_value: {
2462 scalar_type: "uint32_t"
2463
2464 enumerator: "HAS_BINARY_ENTRIES"
2465 scalar_value: {
2466 uint32_t: 1
2467 }
2468 enumerator: "HAS_ASCII_ENTRIES"
2469 scalar_value: {
2470 uint32_t: 2
2471 }
2472 enumerator: "HAS_PER_PACKET_ENTRIES"
2473 scalar_value: {
2474 uint32_t: 4
2475 }
2476 }
2477 }
2478
2479 attribute: {
2480 name: "::android::hardware::wifi::V1_0::WifiDebugRingBufferStatus"
2481 type: TYPE_STRUCT
2482 struct_value: {
2483 name: "ringName"
2484 type: TYPE_STRING
2485 }
2486 struct_value: {
2487 name: "flags"
2488 type: TYPE_SCALAR
2489 scalar_type: "uint32_t"
2490 }
2491 struct_value: {
2492 name: "ringId"
2493 type: TYPE_SCALAR
2494 scalar_type: "uint32_t"
2495 }
2496 struct_value: {
2497 name: "sizeInBytes"
2498 type: TYPE_SCALAR
2499 scalar_type: "uint32_t"
2500 }
2501 struct_value: {
2502 name: "freeSizeInBytes"
2503 type: TYPE_SCALAR
2504 scalar_type: "uint32_t"
2505 }
2506 struct_value: {
2507 name: "verboseLevel"
2508 type: TYPE_SCALAR
2509 scalar_type: "uint32_t"
2510 }
2511 }
2512
2513 attribute: {
2514 name: "::android::hardware::wifi::V1_0::WifiDebugRingBufferVerboseLevel"
2515 type: TYPE_ENUM
2516 enum_value: {
2517 scalar_type: "uint32_t"
2518
2519 enumerator: "NONE"
2520 scalar_value: {
2521 uint32_t: 0
2522 }
2523 enumerator: "DEFAULT"
2524 scalar_value: {
2525 uint32_t: 1
2526 }
2527 enumerator: "VERBOSE"
2528 scalar_value: {
2529 uint32_t: 2
2530 }
2531 enumerator: "EXCESSIVE"
2532 scalar_value: {
2533 uint32_t: 3
2534 }
2535 }
2536 }
2537
2538 attribute: {
2539 name: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFate"
2540 type: TYPE_ENUM
2541 enum_value: {
2542 scalar_type: "uint32_t"
2543
2544 enumerator: "ACKED"
2545 scalar_value: {
2546 uint32_t: 0
2547 }
2548 enumerator: "SENT"
2549 scalar_value: {
2550 uint32_t: 1
2551 }
2552 enumerator: "FW_QUEUED"
2553 scalar_value: {
2554 uint32_t: 2
2555 }
2556 enumerator: "FW_DROP_INVALID"
2557 scalar_value: {
2558 uint32_t: 3
2559 }
2560 enumerator: "FW_DROP_NOBUFS"
2561 scalar_value: {
2562 uint32_t: 4
2563 }
2564 enumerator: "FW_DROP_OTHER"
2565 scalar_value: {
2566 uint32_t: 5
2567 }
2568 enumerator: "DRV_QUEUED"
2569 scalar_value: {
2570 uint32_t: 6
2571 }
2572 enumerator: "DRV_DROP_INVALID"
2573 scalar_value: {
2574 uint32_t: 7
2575 }
2576 enumerator: "DRV_DROP_NOBUFS"
2577 scalar_value: {
2578 uint32_t: 8
2579 }
2580 enumerator: "DRV_DROP_OTHER"
2581 scalar_value: {
2582 uint32_t: 9
2583 }
2584 }
2585 }
2586
2587 attribute: {
2588 name: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFate"
2589 type: TYPE_ENUM
2590 enum_value: {
2591 scalar_type: "uint32_t"
2592
2593 enumerator: "SUCCESS"
2594 scalar_value: {
2595 uint32_t: 0
2596 }
2597 enumerator: "FW_QUEUED"
2598 scalar_value: {
2599 uint32_t: 1
2600 }
2601 enumerator: "FW_DROP_FILTER"
2602 scalar_value: {
2603 uint32_t: 2
2604 }
2605 enumerator: "FW_DROP_INVALID"
2606 scalar_value: {
2607 uint32_t: 3
2608 }
2609 enumerator: "FW_DROP_NOBUFS"
2610 scalar_value: {
2611 uint32_t: 4
2612 }
2613 enumerator: "FW_DROP_OTHER"
2614 scalar_value: {
2615 uint32_t: 5
2616 }
2617 enumerator: "DRV_QUEUED"
2618 scalar_value: {
2619 uint32_t: 6
2620 }
2621 enumerator: "DRV_DROP_FILTER"
2622 scalar_value: {
2623 uint32_t: 7
2624 }
2625 enumerator: "DRV_DROP_INVALID"
2626 scalar_value: {
2627 uint32_t: 8
2628 }
2629 enumerator: "DRV_DROP_NOBUFS"
2630 scalar_value: {
2631 uint32_t: 9
2632 }
2633 enumerator: "DRV_DROP_OTHER"
2634 scalar_value: {
2635 uint32_t: 10
2636 }
2637 }
2638 }
2639
2640 attribute: {
2641 name: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameType"
2642 type: TYPE_ENUM
2643 enum_value: {
2644 scalar_type: "uint32_t"
2645
2646 enumerator: "UNKNOWN"
2647 scalar_value: {
2648 uint32_t: 0
2649 }
2650 enumerator: "ETHERNET_II"
2651 scalar_value: {
2652 uint32_t: 1
2653 }
2654 enumerator: "MGMT_80211"
2655 scalar_value: {
2656 uint32_t: 2
2657 }
2658 }
2659 }
2660
2661 attribute: {
2662 name: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameInfo"
2663 type: TYPE_STRUCT
2664 struct_value: {
2665 name: "frameType"
2666 type: TYPE_ENUM
2667 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameType"
2668 }
2669 struct_value: {
2670 name: "frameLen"
2671 type: TYPE_SCALAR
2672 scalar_type: "uint64_t"
2673 }
2674 struct_value: {
2675 name: "driverTimestampUsec"
2676 type: TYPE_SCALAR
2677 scalar_type: "uint64_t"
2678 }
2679 struct_value: {
2680 name: "firmwareTimestampUsec"
2681 type: TYPE_SCALAR
2682 scalar_type: "uint64_t"
2683 }
2684 struct_value: {
2685 name: "frameContent"
2686 type: TYPE_VECTOR
2687 vector_value: {
2688 type: TYPE_SCALAR
2689 scalar_type: "uint8_t"
2690 }
2691 }
2692 }
2693
2694 attribute: {
2695 name: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFateReport"
2696 type: TYPE_STRUCT
2697 struct_value: {
2698 name: "fate"
2699 type: TYPE_ENUM
2700 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFate"
2701 }
2702 struct_value: {
2703 name: "frameInfo"
2704 type: TYPE_STRUCT
2705 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameInfo"
2706 }
2707 }
2708
2709 attribute: {
2710 name: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFateReport"
2711 type: TYPE_STRUCT
2712 struct_value: {
2713 name: "fate"
2714 type: TYPE_ENUM
2715 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFate"
2716 }
2717 struct_value: {
2718 name: "frameInfo"
2719 type: TYPE_STRUCT
2720 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameInfo"
2721 }
2722 }
2723
2724 attribute: {
2725 name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxPacketDetails"
2726 type: TYPE_STRUCT
2727 struct_value: {
2728 name: "rxUnicastCnt"
2729 type: TYPE_SCALAR
2730 scalar_type: "uint32_t"
2731 }
2732 struct_value: {
2733 name: "rxMulticastCnt"
2734 type: TYPE_SCALAR
2735 scalar_type: "uint32_t"
2736 }
2737 struct_value: {
2738 name: "rxBroadcastCnt"
2739 type: TYPE_SCALAR
2740 scalar_type: "uint32_t"
2741 }
2742 }
2743
2744 attribute: {
2745 name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxMulticastPacketDetails"
2746 type: TYPE_STRUCT
2747 struct_value: {
2748 name: "ipv4RxMulticastAddrCnt"
2749 type: TYPE_SCALAR
2750 scalar_type: "uint32_t"
2751 }
2752 struct_value: {
2753 name: "ipv6RxMulticastAddrCnt"
2754 type: TYPE_SCALAR
2755 scalar_type: "uint32_t"
2756 }
2757 struct_value: {
2758 name: "otherRxMulticastAddrCnt"
2759 type: TYPE_SCALAR
2760 scalar_type: "uint32_t"
2761 }
2762 }
2763
2764 attribute: {
2765 name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxIcmpPacketDetails"
2766 type: TYPE_STRUCT
2767 struct_value: {
2768 name: "icmpPkt"
2769 type: TYPE_SCALAR
2770 scalar_type: "uint32_t"
2771 }
2772 struct_value: {
2773 name: "icmp6Pkt"
2774 type: TYPE_SCALAR
2775 scalar_type: "uint32_t"
2776 }
2777 struct_value: {
2778 name: "icmp6Ra"
2779 type: TYPE_SCALAR
2780 scalar_type: "uint32_t"
2781 }
2782 struct_value: {
2783 name: "icmp6Na"
2784 type: TYPE_SCALAR
2785 scalar_type: "uint32_t"
2786 }
2787 struct_value: {
2788 name: "icmp6Ns"
2789 type: TYPE_SCALAR
2790 scalar_type: "uint32_t"
2791 }
2792 }
2793
2794 attribute: {
2795 name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonStats"
2796 type: TYPE_STRUCT
2797 struct_value: {
2798 name: "totalCmdEventWakeCnt"
2799 type: TYPE_SCALAR
2800 scalar_type: "uint32_t"
2801 }
2802 struct_value: {
2803 name: "cmdEventWakeCntPerType"
2804 type: TYPE_VECTOR
2805 vector_value: {
2806 type: TYPE_SCALAR
2807 scalar_type: "uint32_t"
2808 }
2809 }
2810 struct_value: {
2811 name: "totalDriverFwLocalWakeCnt"
2812 type: TYPE_SCALAR
2813 scalar_type: "uint32_t"
2814 }
2815 struct_value: {
2816 name: "driverFwLocalWakeCntPerType"
2817 type: TYPE_VECTOR
2818 vector_value: {
2819 type: TYPE_SCALAR
2820 scalar_type: "uint32_t"
2821 }
2822 }
2823 struct_value: {
2824 name: "totalRxPacketWakeCnt"
2825 type: TYPE_SCALAR
2826 scalar_type: "uint32_t"
2827 }
2828 struct_value: {
2829 name: "rxPktWakeDetails"
2830 type: TYPE_STRUCT
2831 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxPacketDetails"
2832 }
2833 struct_value: {
2834 name: "rxMulticastPkWakeDetails"
2835 type: TYPE_STRUCT
2836 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxMulticastPacketDetails"
2837 }
2838 struct_value: {
2839 name: "rxIcmpPkWakeDetails"
2840 type: TYPE_STRUCT
2841 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxIcmpPacketDetails"
2842 }
2843 }
2844
2845 attribute: {
2846 name: "::android::hidl::base::V1_0::DebugInfo"
2847 type: TYPE_STRUCT
2848 struct_value: {
2849 name: "pid"
2850 type: TYPE_SCALAR
2851 scalar_type: "int32_t"
2852 }
2853 struct_value: {
2854 name: "ptr"
2855 type: TYPE_SCALAR
2856 scalar_type: "uint64_t"
2857 }
2858 }
2859
Roshan Pius720f4bd2017-01-18 09:45:46 -08002860 api: {
2861 name: "getBoundIface"
2862 return_type_hidl: {
2863 type: TYPE_STRUCT
2864 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2865 }
2866 return_type_hidl: {
2867 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -08002868 predefined_type: "::android::hardware::wifi::V1_0::IWifiIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -08002869 }
2870 }
2871
2872 api: {
2873 name: "registerEventCallback"
2874 return_type_hidl: {
2875 type: TYPE_STRUCT
2876 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2877 }
2878 arg: {
2879 type: TYPE_HIDL_CALLBACK
Etan Cohenff7aac52017-02-10 18:11:19 -08002880 predefined_type: "::android::hardware::wifi::V1_0::IWifiRttControllerEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -08002881 }
2882 }
2883
2884 api: {
2885 name: "rangeRequest"
2886 return_type_hidl: {
2887 type: TYPE_STRUCT
2888 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2889 }
2890 arg: {
2891 type: TYPE_SCALAR
2892 scalar_type: "uint32_t"
2893 }
2894 arg: {
2895 type: TYPE_VECTOR
2896 vector_value: {
2897 type: TYPE_STRUCT
2898 predefined_type: "::android::hardware::wifi::V1_0::RttConfig"
2899 }
2900 }
2901 }
2902
2903 api: {
2904 name: "rangeCancel"
2905 return_type_hidl: {
2906 type: TYPE_STRUCT
2907 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2908 }
2909 arg: {
2910 type: TYPE_SCALAR
2911 scalar_type: "uint32_t"
2912 }
2913 arg: {
2914 type: TYPE_VECTOR
2915 vector_value: {
2916 type: TYPE_ARRAY
Etan Cohenff7aac52017-02-10 18:11:19 -08002917 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -08002918 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -08002919 type: TYPE_SCALAR
2920 scalar_type: "uint8_t"
2921 }
2922 }
2923 }
2924 }
2925
2926 api: {
2927 name: "getCapabilities"
2928 return_type_hidl: {
2929 type: TYPE_STRUCT
2930 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2931 }
2932 return_type_hidl: {
2933 type: TYPE_STRUCT
2934 predefined_type: "::android::hardware::wifi::V1_0::RttCapabilities"
2935 }
2936 }
2937
2938 api: {
2939 name: "setLci"
2940 return_type_hidl: {
2941 type: TYPE_STRUCT
2942 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2943 }
2944 arg: {
2945 type: TYPE_SCALAR
2946 scalar_type: "uint32_t"
2947 }
2948 arg: {
2949 type: TYPE_STRUCT
2950 predefined_type: "::android::hardware::wifi::V1_0::RttLciInformation"
2951 }
2952 }
2953
2954 api: {
2955 name: "setLcr"
2956 return_type_hidl: {
2957 type: TYPE_STRUCT
2958 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2959 }
2960 arg: {
2961 type: TYPE_SCALAR
2962 scalar_type: "uint32_t"
2963 }
2964 arg: {
2965 type: TYPE_STRUCT
2966 predefined_type: "::android::hardware::wifi::V1_0::RttLcrInformation"
2967 }
2968 }
2969
2970 api: {
2971 name: "getResponderInfo"
2972 return_type_hidl: {
2973 type: TYPE_STRUCT
2974 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2975 }
2976 return_type_hidl: {
2977 type: TYPE_STRUCT
2978 predefined_type: "::android::hardware::wifi::V1_0::RttResponder"
2979 }
2980 }
2981
2982 api: {
2983 name: "enableResponder"
2984 return_type_hidl: {
2985 type: TYPE_STRUCT
2986 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
2987 }
2988 arg: {
2989 type: TYPE_SCALAR
2990 scalar_type: "uint32_t"
2991 }
2992 arg: {
2993 type: TYPE_STRUCT
2994 predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo"
2995 }
2996 arg: {
2997 type: TYPE_SCALAR
2998 scalar_type: "uint32_t"
2999 }
3000 arg: {
3001 type: TYPE_STRUCT
3002 predefined_type: "::android::hardware::wifi::V1_0::RttResponder"
3003 }
3004 }
3005
3006 api: {
3007 name: "disableResponder"
3008 return_type_hidl: {
3009 type: TYPE_STRUCT
3010 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
3011 }
3012 arg: {
3013 type: TYPE_SCALAR
3014 scalar_type: "uint32_t"
3015 }
3016 }
3017
3018}