blob: 1208202e9f3b61926b9641aa5301d9cddb9b4627 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IWifiChip"
4
5package: "android.hardware.wifi"
6
7import: "android.hardware.wifi@1.0::IWifiApIface"
8import: "android.hardware.wifi@1.0::IWifiChipEventCallback"
9import: "android.hardware.wifi@1.0::IWifiIface"
10import: "android.hardware.wifi@1.0::IWifiNanIface"
Etan Cohenff7aac52017-02-10 18:11:19 -080011import: "android.hardware.wifi@1.0::IWifiNanIfaceEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080012import: "android.hardware.wifi@1.0::IWifiP2pIface"
13import: "android.hardware.wifi@1.0::IWifiRttController"
Etan Cohenff7aac52017-02-10 18:11:19 -080014import: "android.hardware.wifi@1.0::IWifiRttControllerEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080015import: "android.hardware.wifi@1.0::IWifiStaIface"
Etan Cohenff7aac52017-02-10 18:11:19 -080016import: "android.hardware.wifi@1.0::IWifiStaIfaceEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080017import: "android.hardware.wifi@1.0::types"
Etan Cohenff7aac52017-02-10 18:11:19 -080018import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080019
20interface: {
21 attribute: {
22 name: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombinationLimit"
23 type: TYPE_STRUCT
24 struct_value: {
25 name: "types"
26 type: TYPE_VECTOR
27 vector_value: {
28 type: TYPE_ENUM
29 predefined_type: "::android::hardware::wifi::V1_0::IfaceType"
30 }
31 }
32 struct_value: {
33 name: "maxIfaces"
34 type: TYPE_SCALAR
35 scalar_type: "uint32_t"
36 }
37 }
38
39 attribute: {
40 name: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombination"
41 type: TYPE_STRUCT
42 struct_value: {
43 name: "limits"
44 type: TYPE_VECTOR
45 vector_value: {
46 type: TYPE_STRUCT
47 predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombinationLimit"
48 }
49 }
50 }
51
52 attribute: {
53 name: "::android::hardware::wifi::V1_0::IWifiChip::ChipMode"
54 type: TYPE_STRUCT
55 struct_value: {
56 name: "id"
57 type: TYPE_SCALAR
58 scalar_type: "uint32_t"
59 }
60 struct_value: {
61 name: "availableCombinations"
62 type: TYPE_VECTOR
63 vector_value: {
64 type: TYPE_STRUCT
65 predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombination"
66 }
67 }
68 }
69
70 attribute: {
71 name: "::android::hardware::wifi::V1_0::IWifiChip::ChipDebugInfo"
72 type: TYPE_STRUCT
73 struct_value: {
74 name: "driverDescription"
75 type: TYPE_STRING
76 }
77 struct_value: {
78 name: "firmwareDescription"
79 type: TYPE_STRING
80 }
81 }
82
83 attribute: {
84 name: "::android::hardware::wifi::V1_0::IWifiChip::ChipCapabilityMask"
85 type: TYPE_ENUM
86 enum_value: {
87 scalar_type: "uint32_t"
88
89 enumerator: "DEBUG_MEMORY_FIRMWARE_DUMP"
90 scalar_value: {
91 uint32_t: 1
92 }
93 enumerator: "DEBUG_MEMORY_DRIVER_DUMP"
94 scalar_value: {
95 uint32_t: 2
96 }
97 enumerator: "DEBUG_RING_BUFFER_CONNECT_EVENT"
98 scalar_value: {
99 uint32_t: 4
100 }
101 enumerator: "DEBUG_RING_BUFFER_POWER_EVENT"
102 scalar_value: {
103 uint32_t: 8
104 }
105 enumerator: "DEBUG_RING_BUFFER_WAKELOCK_EVENT"
106 scalar_value: {
107 uint32_t: 16
108 }
109 enumerator: "DEBUG_RING_BUFFER_VENDOR_DATA"
110 scalar_value: {
111 uint32_t: 32
112 }
113 enumerator: "DEBUG_HOST_WAKE_REASON_STATS"
114 scalar_value: {
115 uint32_t: 64
116 }
117 enumerator: "DEBUG_ERROR_ALERTS"
118 scalar_value: {
119 uint32_t: 128
120 }
121 }
122 }
123
124 api: {
125 name: "getId"
126 return_type_hidl: {
127 type: TYPE_STRUCT
128 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
129 }
130 return_type_hidl: {
131 type: TYPE_SCALAR
132 scalar_type: "uint32_t"
133 }
134 }
135
136 api: {
137 name: "registerEventCallback"
138 return_type_hidl: {
139 type: TYPE_STRUCT
140 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
141 }
142 arg: {
143 type: TYPE_HIDL_CALLBACK
Etan Cohenff7aac52017-02-10 18:11:19 -0800144 predefined_type: "::android::hardware::wifi::V1_0::IWifiChipEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800145 }
146 }
147
148 api: {
149 name: "getCapabilities"
150 return_type_hidl: {
151 type: TYPE_STRUCT
152 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
153 }
154 return_type_hidl: {
155 type: TYPE_MASK
Etan Cohenff7aac52017-02-10 18:11:19 -0800156 scalar_type: "uint32_t"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800157 predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipCapabilityMask"
158 }
159 }
160
161 api: {
162 name: "getAvailableModes"
163 return_type_hidl: {
164 type: TYPE_STRUCT
165 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
166 }
167 return_type_hidl: {
168 type: TYPE_VECTOR
169 vector_value: {
170 type: TYPE_STRUCT
171 predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipMode"
172 }
173 }
174 }
175
176 api: {
177 name: "configureChip"
178 return_type_hidl: {
179 type: TYPE_STRUCT
180 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
181 }
182 arg: {
183 type: TYPE_SCALAR
184 scalar_type: "uint32_t"
185 }
186 }
187
188 api: {
189 name: "getMode"
190 return_type_hidl: {
191 type: TYPE_STRUCT
192 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
193 }
194 return_type_hidl: {
195 type: TYPE_SCALAR
196 scalar_type: "uint32_t"
197 }
198 }
199
200 api: {
201 name: "requestChipDebugInfo"
202 return_type_hidl: {
203 type: TYPE_STRUCT
204 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
205 }
206 return_type_hidl: {
207 type: TYPE_STRUCT
208 predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipDebugInfo"
209 }
210 }
211
212 api: {
213 name: "requestDriverDebugDump"
214 return_type_hidl: {
215 type: TYPE_STRUCT
216 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
217 }
218 return_type_hidl: {
219 type: TYPE_VECTOR
220 vector_value: {
221 type: TYPE_SCALAR
222 scalar_type: "uint8_t"
223 }
224 }
225 }
226
227 api: {
228 name: "requestFirmwareDebugDump"
229 return_type_hidl: {
230 type: TYPE_STRUCT
231 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
232 }
233 return_type_hidl: {
234 type: TYPE_VECTOR
235 vector_value: {
236 type: TYPE_SCALAR
237 scalar_type: "uint8_t"
238 }
239 }
240 }
241
242 api: {
243 name: "createApIface"
244 return_type_hidl: {
245 type: TYPE_STRUCT
246 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
247 }
248 return_type_hidl: {
249 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800250 predefined_type: "::android::hardware::wifi::V1_0::IWifiApIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800251 }
252 }
253
254 api: {
255 name: "getApIfaceNames"
256 return_type_hidl: {
257 type: TYPE_STRUCT
258 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
259 }
260 return_type_hidl: {
261 type: TYPE_VECTOR
262 vector_value: {
263 type: TYPE_STRING
264 }
265 }
266 }
267
268 api: {
269 name: "getApIface"
270 return_type_hidl: {
271 type: TYPE_STRUCT
272 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
273 }
274 return_type_hidl: {
275 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800276 predefined_type: "::android::hardware::wifi::V1_0::IWifiApIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800277 }
278 arg: {
279 type: TYPE_STRING
280 }
281 }
282
283 api: {
284 name: "removeApIface"
285 return_type_hidl: {
286 type: TYPE_STRUCT
287 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
288 }
289 arg: {
290 type: TYPE_STRING
291 }
292 }
293
294 api: {
295 name: "createNanIface"
296 return_type_hidl: {
297 type: TYPE_STRUCT
298 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
299 }
300 return_type_hidl: {
301 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800302 predefined_type: "::android::hardware::wifi::V1_0::IWifiNanIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800303 }
304 }
305
306 api: {
307 name: "getNanIfaceNames"
308 return_type_hidl: {
309 type: TYPE_STRUCT
310 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
311 }
312 return_type_hidl: {
313 type: TYPE_VECTOR
314 vector_value: {
315 type: TYPE_STRING
316 }
317 }
318 }
319
320 api: {
321 name: "getNanIface"
322 return_type_hidl: {
323 type: TYPE_STRUCT
324 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
325 }
326 return_type_hidl: {
327 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800328 predefined_type: "::android::hardware::wifi::V1_0::IWifiNanIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800329 }
330 arg: {
331 type: TYPE_STRING
332 }
333 }
334
335 api: {
336 name: "removeNanIface"
337 return_type_hidl: {
338 type: TYPE_STRUCT
339 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
340 }
341 arg: {
342 type: TYPE_STRING
343 }
344 }
345
346 api: {
347 name: "createP2pIface"
348 return_type_hidl: {
349 type: TYPE_STRUCT
350 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
351 }
352 return_type_hidl: {
353 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800354 predefined_type: "::android::hardware::wifi::V1_0::IWifiP2pIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800355 }
356 }
357
358 api: {
359 name: "getP2pIfaceNames"
360 return_type_hidl: {
361 type: TYPE_STRUCT
362 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
363 }
364 return_type_hidl: {
365 type: TYPE_VECTOR
366 vector_value: {
367 type: TYPE_STRING
368 }
369 }
370 }
371
372 api: {
373 name: "getP2pIface"
374 return_type_hidl: {
375 type: TYPE_STRUCT
376 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
377 }
378 return_type_hidl: {
379 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800380 predefined_type: "::android::hardware::wifi::V1_0::IWifiP2pIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800381 }
382 arg: {
383 type: TYPE_STRING
384 }
385 }
386
387 api: {
388 name: "removeP2pIface"
389 return_type_hidl: {
390 type: TYPE_STRUCT
391 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
392 }
393 arg: {
394 type: TYPE_STRING
395 }
396 }
397
398 api: {
399 name: "createStaIface"
400 return_type_hidl: {
401 type: TYPE_STRUCT
402 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
403 }
404 return_type_hidl: {
405 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800406 predefined_type: "::android::hardware::wifi::V1_0::IWifiStaIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800407 }
408 }
409
410 api: {
411 name: "getStaIfaceNames"
412 return_type_hidl: {
413 type: TYPE_STRUCT
414 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
415 }
416 return_type_hidl: {
417 type: TYPE_VECTOR
418 vector_value: {
419 type: TYPE_STRING
420 }
421 }
422 }
423
424 api: {
425 name: "getStaIface"
426 return_type_hidl: {
427 type: TYPE_STRUCT
428 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
429 }
430 return_type_hidl: {
431 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800432 predefined_type: "::android::hardware::wifi::V1_0::IWifiStaIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800433 }
434 arg: {
435 type: TYPE_STRING
436 }
437 }
438
439 api: {
440 name: "removeStaIface"
441 return_type_hidl: {
442 type: TYPE_STRUCT
443 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
444 }
445 arg: {
446 type: TYPE_STRING
447 }
448 }
449
450 api: {
451 name: "createRttController"
452 return_type_hidl: {
453 type: TYPE_STRUCT
454 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
455 }
456 return_type_hidl: {
457 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800458 predefined_type: "::android::hardware::wifi::V1_0::IWifiRttController"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800459 }
460 arg: {
461 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800462 predefined_type: "::android::hardware::wifi::V1_0::IWifiIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800463 }
464 }
465
466 api: {
467 name: "getDebugRingBuffersStatus"
468 return_type_hidl: {
469 type: TYPE_STRUCT
470 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
471 }
472 return_type_hidl: {
473 type: TYPE_VECTOR
474 vector_value: {
475 type: TYPE_STRUCT
476 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRingBufferStatus"
477 }
478 }
479 }
480
481 api: {
482 name: "startLoggingToDebugRingBuffer"
483 return_type_hidl: {
484 type: TYPE_STRUCT
485 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
486 }
487 arg: {
488 type: TYPE_STRING
489 }
490 arg: {
491 type: TYPE_ENUM
492 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRingBufferVerboseLevel"
493 }
494 arg: {
495 type: TYPE_SCALAR
496 scalar_type: "uint32_t"
497 }
498 arg: {
499 type: TYPE_SCALAR
500 scalar_type: "uint32_t"
501 }
502 }
503
504 api: {
505 name: "forceDumpToDebugRingBuffer"
506 return_type_hidl: {
507 type: TYPE_STRUCT
508 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
509 }
510 arg: {
511 type: TYPE_STRING
512 }
513 }
514
515 api: {
516 name: "getDebugHostWakeReasonStats"
517 return_type_hidl: {
518 type: TYPE_STRUCT
519 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
520 }
521 return_type_hidl: {
522 type: TYPE_STRUCT
523 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonStats"
524 }
525 }
526
527 api: {
528 name: "enableDebugErrorAlerts"
529 return_type_hidl: {
530 type: TYPE_STRUCT
531 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
532 }
533 arg: {
534 type: TYPE_SCALAR
535 scalar_type: "bool_t"
536 }
537 }
538
539}