blob: cc524879b23c1ec3dd4e2b5b662d39cedb61aa89 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "ISupplicantStaIface"
4
5package: "android.hardware.wifi.supplicant"
6
7import: "android.hardware.wifi.supplicant@1.0::ISupplicantIface"
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -08008import: "android.hardware.wifi.supplicant@1.0::ISupplicantNetwork"
Roshan Pius720f4bd2017-01-18 09:45:46 -08009import: "android.hardware.wifi.supplicant@1.0::ISupplicantStaIfaceCallback"
10import: "android.hardware.wifi.supplicant@1.0::types"
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080011import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080012
13interface: {
14 attribute: {
Roshan Pius720f4bd2017-01-18 09:45:46 -080015 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::AnqpInfoId"
16 type: TYPE_ENUM
17 enum_value: {
18 scalar_type: "uint16_t"
19
20 enumerator: "VENUE_NAME"
21 scalar_value: {
22 uint16_t: 258
23 }
24 enumerator: "ROAMING_CONSORTIUM"
25 scalar_value: {
26 uint16_t: 261
27 }
28 enumerator: "IP_ADDR_TYPE_AVAILABILITY"
29 scalar_value: {
30 uint16_t: 262
31 }
32 enumerator: "NAI_REALM"
33 scalar_value: {
34 uint16_t: 263
35 }
36 enumerator: "ANQP_3GPP_CELLULAR_NETWORK"
37 scalar_value: {
38 uint16_t: 264
39 }
40 enumerator: "DOMAIN_NAME"
41 scalar_value: {
42 uint16_t: 268
43 }
44 }
45 }
46
47 attribute: {
48 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::Hs20AnqpSubtypes"
49 type: TYPE_ENUM
50 enum_value: {
51 scalar_type: "uint32_t"
52
53 enumerator: "OPERATOR_FRIENDLY_NAME"
54 scalar_value: {
55 uint32_t: 3
56 }
57 enumerator: "WAN_METRICS"
58 scalar_value: {
59 uint32_t: 4
60 }
61 enumerator: "CONNECTION_CAPABILITY"
62 scalar_value: {
63 uint32_t: 5
64 }
65 enumerator: "OSU_PROVIDERS_LIST"
66 scalar_value: {
67 uint32_t: 8
68 }
69 }
70 }
71
72 attribute: {
73 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::RxFilterType"
74 type: TYPE_ENUM
75 enum_value: {
76 scalar_type: "uint8_t"
77
78 enumerator: "V4_MULTICAST"
79 scalar_value: {
80 uint8_t: 0
81 }
82 enumerator: "V6_MULTICAST"
83 scalar_value: {
84 uint8_t: 1
85 }
86 }
87 }
88
89 attribute: {
90 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::BtCoexistenceMode"
91 type: TYPE_ENUM
92 enum_value: {
93 scalar_type: "uint8_t"
94
95 enumerator: "ENABLED"
96 scalar_value: {
97 uint8_t: 0
98 }
99 enumerator: "DISABLED"
100 scalar_value: {
101 uint8_t: 1
102 }
103 enumerator: "SENSE"
104 scalar_value: {
105 uint8_t: 2
106 }
107 }
108 }
109
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800110 attribute: {
111 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::ExtRadioWorkDefaults"
112 type: TYPE_ENUM
113 enum_value: {
114 scalar_type: "uint32_t"
115
116 enumerator: "TIMEOUT_IN_SECS"
117 scalar_value: {
118 uint32_t: 10
119 }
120 }
121 }
122
Roshan Pius720f4bd2017-01-18 09:45:46 -0800123 api: {
124 name: "getName"
125 return_type_hidl: {
126 type: TYPE_STRUCT
127 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
128 }
129 return_type_hidl: {
130 type: TYPE_STRING
131 }
132 }
133
134 api: {
135 name: "getType"
136 return_type_hidl: {
137 type: TYPE_STRUCT
138 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
139 }
140 return_type_hidl: {
141 type: TYPE_ENUM
142 predefined_type: "::android::hardware::wifi::supplicant::V1_0::IfaceType"
143 }
144 }
145
146 api: {
147 name: "addNetwork"
148 return_type_hidl: {
149 type: TYPE_STRUCT
150 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
151 }
152 return_type_hidl: {
153 type: TYPE_HIDL_INTERFACE
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800154 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantNetwork"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800155 }
156 }
157
158 api: {
159 name: "removeNetwork"
160 return_type_hidl: {
161 type: TYPE_STRUCT
162 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
163 }
164 arg: {
165 type: TYPE_SCALAR
166 scalar_type: "uint32_t"
167 }
168 }
169
170 api: {
171 name: "getNetwork"
172 return_type_hidl: {
173 type: TYPE_STRUCT
174 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
175 }
176 return_type_hidl: {
177 type: TYPE_HIDL_INTERFACE
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800178 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantNetwork"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800179 }
180 arg: {
181 type: TYPE_SCALAR
182 scalar_type: "uint32_t"
183 }
184 }
185
186 api: {
187 name: "listNetworks"
188 return_type_hidl: {
189 type: TYPE_STRUCT
190 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
191 }
192 return_type_hidl: {
193 type: TYPE_VECTOR
194 vector_value: {
195 type: TYPE_SCALAR
196 scalar_type: "uint32_t"
197 }
198 }
199 }
200
201 api: {
202 name: "setWpsDeviceName"
203 return_type_hidl: {
204 type: TYPE_STRUCT
205 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
206 }
207 arg: {
208 type: TYPE_STRING
209 }
210 }
211
212 api: {
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800213 name: "setWpsDeviceType"
214 return_type_hidl: {
215 type: TYPE_STRUCT
216 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
217 }
218 arg: {
219 type: TYPE_ARRAY
220 vector_size: 8
221 vector_value: {
222 type: TYPE_SCALAR
223 scalar_type: "uint8_t"
224 }
225 }
226 }
227
228 api: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800229 name: "setWpsManufacturer"
230 return_type_hidl: {
231 type: TYPE_STRUCT
232 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
233 }
234 arg: {
235 type: TYPE_STRING
236 }
237 }
238
239 api: {
240 name: "setWpsModelName"
241 return_type_hidl: {
242 type: TYPE_STRUCT
243 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
244 }
245 arg: {
246 type: TYPE_STRING
247 }
248 }
249
250 api: {
251 name: "setWpsModelNumber"
252 return_type_hidl: {
253 type: TYPE_STRUCT
254 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
255 }
256 arg: {
257 type: TYPE_STRING
258 }
259 }
260
261 api: {
262 name: "setWpsSerialNumber"
263 return_type_hidl: {
264 type: TYPE_STRUCT
265 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
266 }
267 arg: {
268 type: TYPE_STRING
269 }
270 }
271
272 api: {
273 name: "setWpsConfigMethods"
274 return_type_hidl: {
275 type: TYPE_STRUCT
276 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
277 }
278 arg: {
279 type: TYPE_MASK
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800280 scalar_type: "uint16_t"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800281 predefined_type: "::android::hardware::wifi::supplicant::V1_0::WpsConfigMethods"
282 }
283 }
284
285 api: {
286 name: "registerCallback"
287 return_type_hidl: {
288 type: TYPE_STRUCT
289 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
290 }
291 arg: {
292 type: TYPE_HIDL_CALLBACK
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800293 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIfaceCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800294 }
295 }
296
297 api: {
298 name: "reassociate"
299 return_type_hidl: {
300 type: TYPE_STRUCT
301 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
302 }
303 }
304
305 api: {
306 name: "reconnect"
307 return_type_hidl: {
308 type: TYPE_STRUCT
309 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
310 }
311 }
312
313 api: {
314 name: "disconnect"
315 return_type_hidl: {
316 type: TYPE_STRUCT
317 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
318 }
319 }
320
321 api: {
322 name: "setPowerSave"
323 return_type_hidl: {
324 type: TYPE_STRUCT
325 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
326 }
327 arg: {
328 type: TYPE_SCALAR
329 scalar_type: "bool_t"
330 }
331 }
332
333 api: {
334 name: "initiateTdlsDiscover"
335 return_type_hidl: {
336 type: TYPE_STRUCT
337 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
338 }
339 arg: {
340 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800341 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800342 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800343 type: TYPE_SCALAR
344 scalar_type: "uint8_t"
345 }
346 }
347 }
348
349 api: {
350 name: "initiateTdlsSetup"
351 return_type_hidl: {
352 type: TYPE_STRUCT
353 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
354 }
355 arg: {
356 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800357 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800358 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800359 type: TYPE_SCALAR
360 scalar_type: "uint8_t"
361 }
362 }
363 }
364
365 api: {
366 name: "initiateTdlsTeardown"
367 return_type_hidl: {
368 type: TYPE_STRUCT
369 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
370 }
371 arg: {
372 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800373 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800374 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800375 type: TYPE_SCALAR
376 scalar_type: "uint8_t"
377 }
378 }
379 }
380
381 api: {
382 name: "initiateAnqpQuery"
383 return_type_hidl: {
384 type: TYPE_STRUCT
385 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
386 }
387 arg: {
388 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800389 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800390 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800391 type: TYPE_SCALAR
392 scalar_type: "uint8_t"
393 }
394 }
395 arg: {
396 type: TYPE_VECTOR
397 vector_value: {
398 type: TYPE_ENUM
399 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::AnqpInfoId"
400 }
401 }
402 arg: {
403 type: TYPE_VECTOR
404 vector_value: {
405 type: TYPE_ENUM
406 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::Hs20AnqpSubtypes"
407 }
408 }
409 }
410
411 api: {
412 name: "initiateHs20IconQuery"
413 return_type_hidl: {
414 type: TYPE_STRUCT
415 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
416 }
417 arg: {
418 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800419 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800420 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800421 type: TYPE_SCALAR
422 scalar_type: "uint8_t"
423 }
424 }
425 arg: {
426 type: TYPE_STRING
427 }
428 }
429
430 api: {
431 name: "getMacAddress"
432 return_type_hidl: {
433 type: TYPE_STRUCT
434 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
435 }
436 return_type_hidl: {
437 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800438 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800439 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800440 type: TYPE_SCALAR
441 scalar_type: "uint8_t"
442 }
443 }
444 }
445
446 api: {
447 name: "startRxFilter"
448 return_type_hidl: {
449 type: TYPE_STRUCT
450 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
451 }
452 }
453
454 api: {
455 name: "stopRxFilter"
456 return_type_hidl: {
457 type: TYPE_STRUCT
458 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
459 }
460 }
461
462 api: {
463 name: "addRxFilter"
464 return_type_hidl: {
465 type: TYPE_STRUCT
466 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
467 }
468 arg: {
469 type: TYPE_ENUM
470 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::RxFilterType"
471 }
472 }
473
474 api: {
475 name: "removeRxFilter"
476 return_type_hidl: {
477 type: TYPE_STRUCT
478 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
479 }
480 arg: {
481 type: TYPE_ENUM
482 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::RxFilterType"
483 }
484 }
485
486 api: {
487 name: "setBtCoexistenceMode"
488 return_type_hidl: {
489 type: TYPE_STRUCT
490 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
491 }
492 arg: {
493 type: TYPE_ENUM
494 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::BtCoexistenceMode"
495 }
496 }
497
498 api: {
499 name: "setBtCoexistenceScanModeEnabled"
500 return_type_hidl: {
501 type: TYPE_STRUCT
502 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
503 }
504 arg: {
505 type: TYPE_SCALAR
506 scalar_type: "bool_t"
507 }
508 }
509
510 api: {
511 name: "setSuspendModeEnabled"
512 return_type_hidl: {
513 type: TYPE_STRUCT
514 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
515 }
516 arg: {
517 type: TYPE_SCALAR
518 scalar_type: "bool_t"
519 }
520 }
521
522 api: {
523 name: "setCountryCode"
524 return_type_hidl: {
525 type: TYPE_STRUCT
526 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
527 }
528 arg: {
529 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800530 vector_size: 2
Roshan Pius720f4bd2017-01-18 09:45:46 -0800531 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800532 type: TYPE_SCALAR
533 scalar_type: "int8_t"
534 }
535 }
536 }
537
538 api: {
539 name: "startWpsRegistrar"
540 return_type_hidl: {
541 type: TYPE_STRUCT
542 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
543 }
544 arg: {
545 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800546 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800547 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800548 type: TYPE_SCALAR
549 scalar_type: "uint8_t"
550 }
551 }
552 arg: {
553 type: TYPE_STRING
554 }
555 }
556
557 api: {
558 name: "startWpsPbc"
559 return_type_hidl: {
560 type: TYPE_STRUCT
561 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
562 }
563 arg: {
564 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800565 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800566 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800567 type: TYPE_SCALAR
568 scalar_type: "uint8_t"
569 }
570 }
571 }
572
573 api: {
574 name: "startWpsPinKeypad"
575 return_type_hidl: {
576 type: TYPE_STRUCT
577 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
578 }
579 arg: {
580 type: TYPE_STRING
581 }
582 }
583
584 api: {
585 name: "startWpsPinDisplay"
586 return_type_hidl: {
587 type: TYPE_STRUCT
588 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
589 }
590 return_type_hidl: {
591 type: TYPE_STRING
592 }
593 arg: {
594 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800595 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800596 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800597 type: TYPE_SCALAR
598 scalar_type: "uint8_t"
599 }
600 }
601 }
602
603 api: {
604 name: "cancelWps"
605 return_type_hidl: {
606 type: TYPE_STRUCT
607 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
608 }
609 }
610
611 api: {
612 name: "setExternalSim"
613 return_type_hidl: {
614 type: TYPE_STRUCT
615 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
616 }
617 arg: {
618 type: TYPE_SCALAR
619 scalar_type: "bool_t"
620 }
621 }
622
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800623 api: {
624 name: "addExtRadioWork"
625 return_type_hidl: {
626 type: TYPE_STRUCT
627 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
628 }
629 return_type_hidl: {
630 type: TYPE_SCALAR
631 scalar_type: "uint32_t"
632 }
633 arg: {
634 type: TYPE_STRING
635 }
636 arg: {
637 type: TYPE_SCALAR
638 scalar_type: "uint32_t"
639 }
640 arg: {
641 type: TYPE_SCALAR
642 scalar_type: "uint32_t"
643 }
644 }
645
646 api: {
647 name: "removeExtRadioWork"
648 return_type_hidl: {
649 type: TYPE_STRUCT
650 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
651 }
652 arg: {
653 type: TYPE_SCALAR
654 scalar_type: "uint32_t"
655 }
656 }
657
Roshan Pius720f4bd2017-01-18 09:45:46 -0800658}