blob: 66c875571a848612409b96f154b2c6a2778036a3 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IWifiNanIface"
4
5package: "android.hardware.wifi"
6
7import: "android.hardware.wifi@1.0::IWifiIface"
8import: "android.hardware.wifi@1.0::IWifiNanIfaceEventCallback"
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 api: {
14 name: "getType"
15 return_type_hidl: {
16 type: TYPE_STRUCT
17 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
18 }
19 return_type_hidl: {
20 type: TYPE_ENUM
21 predefined_type: "::android::hardware::wifi::V1_0::IfaceType"
22 }
23 }
24
25 api: {
26 name: "getName"
27 return_type_hidl: {
28 type: TYPE_STRUCT
29 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
30 }
31 return_type_hidl: {
32 type: TYPE_STRING
33 }
34 }
35
36 api: {
37 name: "registerEventCallback"
38 return_type_hidl: {
39 type: TYPE_STRUCT
40 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
41 }
42 arg: {
43 type: TYPE_HIDL_CALLBACK
Etan Cohenff7aac52017-02-10 18:11:19 -080044 predefined_type: "::android::hardware::wifi::V1_0::IWifiNanIfaceEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080045 }
46 }
47
48 api: {
49 name: "getCapabilitiesRequest"
50 return_type_hidl: {
51 type: TYPE_STRUCT
52 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
53 }
54 arg: {
55 type: TYPE_SCALAR
56 scalar_type: "uint16_t"
57 }
58 }
59
60 api: {
61 name: "enableRequest"
62 return_type_hidl: {
63 type: TYPE_STRUCT
64 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
65 }
66 arg: {
67 type: TYPE_SCALAR
68 scalar_type: "uint16_t"
69 }
70 arg: {
71 type: TYPE_STRUCT
72 predefined_type: "::android::hardware::wifi::V1_0::NanEnableRequest"
73 }
74 }
75
76 api: {
77 name: "configRequest"
78 return_type_hidl: {
79 type: TYPE_STRUCT
80 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
81 }
82 arg: {
83 type: TYPE_SCALAR
84 scalar_type: "uint16_t"
85 }
86 arg: {
87 type: TYPE_STRUCT
88 predefined_type: "::android::hardware::wifi::V1_0::NanConfigRequest"
89 }
90 }
91
92 api: {
93 name: "disableRequest"
94 return_type_hidl: {
95 type: TYPE_STRUCT
96 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
97 }
98 arg: {
99 type: TYPE_SCALAR
100 scalar_type: "uint16_t"
101 }
102 }
103
104 api: {
105 name: "startPublishRequest"
106 return_type_hidl: {
107 type: TYPE_STRUCT
108 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
109 }
110 arg: {
111 type: TYPE_SCALAR
112 scalar_type: "uint16_t"
113 }
114 arg: {
115 type: TYPE_STRUCT
116 predefined_type: "::android::hardware::wifi::V1_0::NanPublishRequest"
117 }
118 }
119
120 api: {
121 name: "stopPublishRequest"
122 return_type_hidl: {
123 type: TYPE_STRUCT
124 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
125 }
126 arg: {
127 type: TYPE_SCALAR
128 scalar_type: "uint16_t"
129 }
130 arg: {
131 type: TYPE_SCALAR
Etan Cohenff7aac52017-02-10 18:11:19 -0800132 scalar_type: "uint8_t"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800133 }
134 }
135
136 api: {
137 name: "startSubscribeRequest"
138 return_type_hidl: {
139 type: TYPE_STRUCT
140 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
141 }
142 arg: {
143 type: TYPE_SCALAR
144 scalar_type: "uint16_t"
145 }
146 arg: {
147 type: TYPE_STRUCT
148 predefined_type: "::android::hardware::wifi::V1_0::NanSubscribeRequest"
149 }
150 }
151
152 api: {
153 name: "stopSubscribeRequest"
154 return_type_hidl: {
155 type: TYPE_STRUCT
156 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
157 }
158 arg: {
159 type: TYPE_SCALAR
160 scalar_type: "uint16_t"
161 }
162 arg: {
163 type: TYPE_SCALAR
Etan Cohenff7aac52017-02-10 18:11:19 -0800164 scalar_type: "uint8_t"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800165 }
166 }
167
168 api: {
169 name: "transmitFollowupRequest"
170 return_type_hidl: {
171 type: TYPE_STRUCT
172 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
173 }
174 arg: {
175 type: TYPE_SCALAR
176 scalar_type: "uint16_t"
177 }
178 arg: {
179 type: TYPE_STRUCT
180 predefined_type: "::android::hardware::wifi::V1_0::NanTransmitFollowupRequest"
181 }
182 }
183
184 api: {
185 name: "createDataInterfaceRequest"
186 return_type_hidl: {
187 type: TYPE_STRUCT
188 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
189 }
190 arg: {
191 type: TYPE_SCALAR
192 scalar_type: "uint16_t"
193 }
194 arg: {
195 type: TYPE_STRING
196 }
197 }
198
199 api: {
200 name: "deleteDataInterfaceRequest"
201 return_type_hidl: {
202 type: TYPE_STRUCT
203 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
204 }
205 arg: {
206 type: TYPE_SCALAR
207 scalar_type: "uint16_t"
208 }
209 arg: {
210 type: TYPE_STRING
211 }
212 }
213
214 api: {
215 name: "initiateDataPathRequest"
216 return_type_hidl: {
217 type: TYPE_STRUCT
218 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
219 }
220 arg: {
221 type: TYPE_SCALAR
222 scalar_type: "uint16_t"
223 }
224 arg: {
225 type: TYPE_STRUCT
226 predefined_type: "::android::hardware::wifi::V1_0::NanInitiateDataPathRequest"
227 }
228 }
229
230 api: {
231 name: "respondToDataPathIndicationRequest"
232 return_type_hidl: {
233 type: TYPE_STRUCT
234 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
235 }
236 arg: {
237 type: TYPE_SCALAR
238 scalar_type: "uint16_t"
239 }
240 arg: {
241 type: TYPE_STRUCT
242 predefined_type: "::android::hardware::wifi::V1_0::NanRespondToDataPathIndicationRequest"
243 }
244 }
245
246 api: {
247 name: "terminateDataPathRequest"
248 return_type_hidl: {
249 type: TYPE_STRUCT
250 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
251 }
252 arg: {
253 type: TYPE_SCALAR
254 scalar_type: "uint16_t"
255 }
256 arg: {
257 type: TYPE_SCALAR
258 scalar_type: "uint32_t"
259 }
260 }
261
Roshan Pius720f4bd2017-01-18 09:45:46 -0800262}