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