blob: 1edf4db3ed865a2e93919d34ea2374fa0600cfe8 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IWifiStaIface"
4
5package: "android.hardware.wifi"
6
7import: "android.hardware.wifi@1.0::IWifiIface"
8import: "android.hardware.wifi@1.0::IWifiStaIfaceEventCallback"
9import: "android.hardware.wifi@1.0::types"
Etan Cohenff7aac52017-02-10 18:11:19 -080010import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080011
12interface: {
13 attribute: {
14 name: "::android::hardware::wifi::V1_0::IWifiStaIface::StaIfaceCapabilityMask"
15 type: TYPE_ENUM
16 enum_value: {
17 scalar_type: "uint32_t"
18
19 enumerator: "APF"
20 scalar_value: {
21 uint32_t: 1
22 }
23 enumerator: "BACKGROUND_SCAN"
24 scalar_value: {
25 uint32_t: 2
26 }
27 enumerator: "LINK_LAYER_STATS"
28 scalar_value: {
29 uint32_t: 4
30 }
31 enumerator: "RSSI_MONITOR"
32 scalar_value: {
33 uint32_t: 8
34 }
35 enumerator: "CONTROL_ROAMING"
36 scalar_value: {
37 uint32_t: 16
38 }
39 enumerator: "PROBE_IE_WHITELIST"
40 scalar_value: {
41 uint32_t: 32
42 }
43 enumerator: "SCAN_RAND"
44 scalar_value: {
45 uint32_t: 64
46 }
47 enumerator: "STA_5G"
48 scalar_value: {
49 uint32_t: 128
50 }
51 enumerator: "HOTSPOT"
52 scalar_value: {
53 uint32_t: 256
54 }
55 enumerator: "PNO"
56 scalar_value: {
57 uint32_t: 512
58 }
59 enumerator: "TDLS"
60 scalar_value: {
61 uint32_t: 1024
62 }
63 enumerator: "TDLS_OFFCHANNEL"
64 scalar_value: {
65 uint32_t: 2048
66 }
67 enumerator: "ND_OFFLOAD"
68 scalar_value: {
69 uint32_t: 4096
70 }
71 enumerator: "KEEP_ALIVE"
72 scalar_value: {
73 uint32_t: 8192
74 }
75 enumerator: "DEBUG_PACKET_FATE"
76 scalar_value: {
77 uint32_t: 16384
78 }
79 }
80 }
81
82 api: {
83 name: "getType"
84 return_type_hidl: {
85 type: TYPE_STRUCT
86 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
87 }
88 return_type_hidl: {
89 type: TYPE_ENUM
90 predefined_type: "::android::hardware::wifi::V1_0::IfaceType"
91 }
92 }
93
94 api: {
95 name: "getName"
96 return_type_hidl: {
97 type: TYPE_STRUCT
98 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
99 }
100 return_type_hidl: {
101 type: TYPE_STRING
102 }
103 }
104
105 api: {
106 name: "registerEventCallback"
107 return_type_hidl: {
108 type: TYPE_STRUCT
109 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
110 }
111 arg: {
112 type: TYPE_HIDL_CALLBACK
Etan Cohenff7aac52017-02-10 18:11:19 -0800113 predefined_type: "::android::hardware::wifi::V1_0::IWifiStaIfaceEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800114 }
115 }
116
117 api: {
118 name: "getCapabilities"
119 return_type_hidl: {
120 type: TYPE_STRUCT
121 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
122 }
123 return_type_hidl: {
124 type: TYPE_MASK
Etan Cohenff7aac52017-02-10 18:11:19 -0800125 scalar_type: "uint32_t"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800126 predefined_type: "::android::hardware::wifi::V1_0::IWifiStaIface::StaIfaceCapabilityMask"
127 }
128 }
129
130 api: {
131 name: "getApfPacketFilterCapabilities"
132 return_type_hidl: {
133 type: TYPE_STRUCT
134 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
135 }
136 return_type_hidl: {
137 type: TYPE_STRUCT
138 predefined_type: "::android::hardware::wifi::V1_0::StaApfPacketFilterCapabilities"
139 }
140 }
141
142 api: {
143 name: "installApfPacketFilter"
144 return_type_hidl: {
145 type: TYPE_STRUCT
146 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
147 }
148 arg: {
149 type: TYPE_SCALAR
150 scalar_type: "uint32_t"
151 }
152 arg: {
153 type: TYPE_VECTOR
154 vector_value: {
155 type: TYPE_SCALAR
156 scalar_type: "uint8_t"
157 }
158 }
159 }
160
161 api: {
162 name: "getBackgroundScanCapabilities"
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_STRUCT
169 predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanCapabilities"
170 }
171 }
172
173 api: {
174 name: "getValidFrequenciesForBackgroundScan"
175 return_type_hidl: {
176 type: TYPE_STRUCT
177 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
178 }
179 return_type_hidl: {
180 type: TYPE_VECTOR
181 vector_value: {
182 type: TYPE_SCALAR
183 scalar_type: "uint32_t"
184 }
185 }
186 arg: {
187 type: TYPE_ENUM
188 predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBand"
189 }
190 }
191
192 api: {
193 name: "startBackgroundScan"
194 return_type_hidl: {
195 type: TYPE_STRUCT
196 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
197 }
198 arg: {
199 type: TYPE_SCALAR
200 scalar_type: "uint32_t"
201 }
202 arg: {
203 type: TYPE_STRUCT
204 predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanParameters"
205 }
206 }
207
208 api: {
209 name: "stopBackgroundScan"
210 return_type_hidl: {
211 type: TYPE_STRUCT
212 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
213 }
214 arg: {
215 type: TYPE_SCALAR
216 scalar_type: "uint32_t"
217 }
218 }
219
220 api: {
221 name: "enableLinkLayerStatsCollection"
222 return_type_hidl: {
223 type: TYPE_STRUCT
224 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
225 }
226 arg: {
227 type: TYPE_SCALAR
228 scalar_type: "bool_t"
229 }
230 }
231
232 api: {
233 name: "disableLinkLayerStatsCollection"
234 return_type_hidl: {
235 type: TYPE_STRUCT
236 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
237 }
238 }
239
240 api: {
241 name: "getLinkLayerStats"
242 return_type_hidl: {
243 type: TYPE_STRUCT
244 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
245 }
246 return_type_hidl: {
247 type: TYPE_STRUCT
248 predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerStats"
249 }
250 }
251
252 api: {
253 name: "startRssiMonitoring"
254 return_type_hidl: {
255 type: TYPE_STRUCT
256 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
257 }
258 arg: {
259 type: TYPE_SCALAR
260 scalar_type: "uint32_t"
261 }
262 arg: {
263 type: TYPE_SCALAR
264 scalar_type: "int32_t"
265 }
266 arg: {
267 type: TYPE_SCALAR
268 scalar_type: "int32_t"
269 }
270 }
271
272 api: {
273 name: "stopRssiMonitoring"
274 return_type_hidl: {
275 type: TYPE_STRUCT
276 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
277 }
278 arg: {
279 type: TYPE_SCALAR
280 scalar_type: "uint32_t"
281 }
282 }
283
284 api: {
285 name: "getRoamingCapabilities"
286 return_type_hidl: {
287 type: TYPE_STRUCT
288 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
289 }
290 return_type_hidl: {
291 type: TYPE_STRUCT
292 predefined_type: "::android::hardware::wifi::V1_0::StaRoamingCapabilities"
293 }
294 }
295
296 api: {
297 name: "configureRoaming"
298 return_type_hidl: {
299 type: TYPE_STRUCT
300 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
301 }
302 arg: {
303 type: TYPE_STRUCT
304 predefined_type: "::android::hardware::wifi::V1_0::StaRoamingConfig"
305 }
306 }
307
308 api: {
309 name: "setRoamingState"
310 return_type_hidl: {
311 type: TYPE_STRUCT
312 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
313 }
314 arg: {
315 type: TYPE_ENUM
316 predefined_type: "::android::hardware::wifi::V1_0::StaRoamingState"
317 }
318 }
319
320 api: {
321 name: "enableNdOffload"
322 return_type_hidl: {
323 type: TYPE_STRUCT
324 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
325 }
326 arg: {
327 type: TYPE_SCALAR
328 scalar_type: "bool_t"
329 }
330 }
331
332 api: {
333 name: "startSendingKeepAlivePackets"
334 return_type_hidl: {
335 type: TYPE_STRUCT
336 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
337 }
338 arg: {
339 type: TYPE_SCALAR
340 scalar_type: "uint32_t"
341 }
342 arg: {
343 type: TYPE_VECTOR
344 vector_value: {
345 type: TYPE_SCALAR
346 scalar_type: "uint8_t"
347 }
348 }
349 arg: {
350 type: TYPE_SCALAR
351 scalar_type: "uint16_t"
352 }
353 arg: {
354 type: TYPE_ARRAY
Etan Cohenff7aac52017-02-10 18:11:19 -0800355 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800356 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800357 type: TYPE_SCALAR
358 scalar_type: "uint8_t"
359 }
360 }
361 arg: {
362 type: TYPE_ARRAY
Etan Cohenff7aac52017-02-10 18:11:19 -0800363 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -0800364 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800365 type: TYPE_SCALAR
366 scalar_type: "uint8_t"
367 }
368 }
369 arg: {
370 type: TYPE_SCALAR
371 scalar_type: "uint32_t"
372 }
373 }
374
375 api: {
376 name: "stopSendingKeepAlivePackets"
377 return_type_hidl: {
378 type: TYPE_STRUCT
379 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
380 }
381 arg: {
382 type: TYPE_SCALAR
383 scalar_type: "uint32_t"
384 }
385 }
386
387 api: {
Etan Cohenff7aac52017-02-10 18:11:19 -0800388 name: "setScanningMacOui"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800389 return_type_hidl: {
390 type: TYPE_STRUCT
391 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
392 }
Etan Cohenff7aac52017-02-10 18:11:19 -0800393 arg: {
394 type: TYPE_ARRAY
395 vector_size: 3
396 vector_value: {
397 type: TYPE_SCALAR
398 scalar_type: "uint8_t"
399 }
400 }
Roshan Pius720f4bd2017-01-18 09:45:46 -0800401 }
402
403 api: {
Etan Cohenff7aac52017-02-10 18:11:19 -0800404 name: "startDebugPacketFateMonitoring"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800405 return_type_hidl: {
406 type: TYPE_STRUCT
407 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
408 }
409 }
410
411 api: {
412 name: "getDebugTxPacketFates"
413 return_type_hidl: {
414 type: TYPE_STRUCT
415 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
416 }
417 return_type_hidl: {
418 type: TYPE_VECTOR
419 vector_value: {
420 type: TYPE_STRUCT
421 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFateReport"
422 }
423 }
424 }
425
426 api: {
427 name: "getDebugRxPacketFates"
428 return_type_hidl: {
429 type: TYPE_STRUCT
430 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
431 }
432 return_type_hidl: {
433 type: TYPE_VECTOR
434 vector_value: {
435 type: TYPE_STRUCT
436 predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFateReport"
437 }
438 }
439 }
440
441}