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