blob: c703ec0c0a4ee2e2ffd7f6b32ebdca416b155773 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "ISupplicantIface"
4
5package: "android.hardware.wifi.supplicant"
6
7import: "android.hardware.wifi.supplicant@1.0::ISupplicantNetwork"
8import: "android.hardware.wifi.supplicant@1.0::types"
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -08009import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080010
11interface: {
12 attribute: {
13 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantIface::ParamSizeLimits"
14 type: TYPE_ENUM
15 enum_value: {
16 scalar_type: "uint32_t"
17
18 enumerator: "WPS_DEVICE_NAME_MAX_LEN"
19 scalar_value: {
20 uint32_t: 32
21 }
22 enumerator: "WPS_MANUFACTURER_MAX_LEN"
23 scalar_value: {
24 uint32_t: 64
25 }
26 enumerator: "WPS_MODEL_NAME_MAX_LEN"
27 scalar_value: {
28 uint32_t: 32
29 }
30 enumerator: "WPS_MODEL_NUMBER_MAX_LEN"
31 scalar_value: {
32 uint32_t: 32
33 }
34 enumerator: "WPS_SERIAL_NUMBER_MAX_LEN"
35 scalar_value: {
36 uint32_t: 32
37 }
38 }
39 }
40
41 api: {
42 name: "getName"
43 return_type_hidl: {
44 type: TYPE_STRUCT
45 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
46 }
47 return_type_hidl: {
48 type: TYPE_STRING
49 }
50 }
51
52 api: {
53 name: "getType"
54 return_type_hidl: {
55 type: TYPE_STRUCT
56 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
57 }
58 return_type_hidl: {
59 type: TYPE_ENUM
60 predefined_type: "::android::hardware::wifi::supplicant::V1_0::IfaceType"
61 }
62 }
63
64 api: {
65 name: "addNetwork"
66 return_type_hidl: {
67 type: TYPE_STRUCT
68 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
69 }
70 return_type_hidl: {
71 type: TYPE_HIDL_INTERFACE
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080072 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantNetwork"
Roshan Pius720f4bd2017-01-18 09:45:46 -080073 }
74 }
75
76 api: {
77 name: "removeNetwork"
78 return_type_hidl: {
79 type: TYPE_STRUCT
80 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
81 }
82 arg: {
83 type: TYPE_SCALAR
84 scalar_type: "uint32_t"
85 }
86 }
87
88 api: {
89 name: "getNetwork"
90 return_type_hidl: {
91 type: TYPE_STRUCT
92 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
93 }
94 return_type_hidl: {
95 type: TYPE_HIDL_INTERFACE
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080096 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantNetwork"
Roshan Pius720f4bd2017-01-18 09:45:46 -080097 }
98 arg: {
99 type: TYPE_SCALAR
100 scalar_type: "uint32_t"
101 }
102 }
103
104 api: {
105 name: "listNetworks"
106 return_type_hidl: {
107 type: TYPE_STRUCT
108 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
109 }
110 return_type_hidl: {
111 type: TYPE_VECTOR
112 vector_value: {
113 type: TYPE_SCALAR
114 scalar_type: "uint32_t"
115 }
116 }
117 }
118
119 api: {
120 name: "setWpsDeviceName"
121 return_type_hidl: {
122 type: TYPE_STRUCT
123 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
124 }
125 arg: {
126 type: TYPE_STRING
127 }
128 }
129
130 api: {
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800131 name: "setWpsDeviceType"
132 return_type_hidl: {
133 type: TYPE_STRUCT
134 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
135 }
136 arg: {
137 type: TYPE_ARRAY
138 vector_size: 8
139 vector_value: {
140 type: TYPE_SCALAR
141 scalar_type: "uint8_t"
142 }
143 }
144 }
145
146 api: {
Roshan Pius720f4bd2017-01-18 09:45:46 -0800147 name: "setWpsManufacturer"
148 return_type_hidl: {
149 type: TYPE_STRUCT
150 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
151 }
152 arg: {
153 type: TYPE_STRING
154 }
155 }
156
157 api: {
158 name: "setWpsModelName"
159 return_type_hidl: {
160 type: TYPE_STRUCT
161 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
162 }
163 arg: {
164 type: TYPE_STRING
165 }
166 }
167
168 api: {
169 name: "setWpsModelNumber"
170 return_type_hidl: {
171 type: TYPE_STRUCT
172 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
173 }
174 arg: {
175 type: TYPE_STRING
176 }
177 }
178
179 api: {
180 name: "setWpsSerialNumber"
181 return_type_hidl: {
182 type: TYPE_STRUCT
183 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
184 }
185 arg: {
186 type: TYPE_STRING
187 }
188 }
189
190 api: {
191 name: "setWpsConfigMethods"
192 return_type_hidl: {
193 type: TYPE_STRUCT
194 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
195 }
196 arg: {
197 type: TYPE_MASK
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -0800198 scalar_type: "uint16_t"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800199 predefined_type: "::android::hardware::wifi::supplicant::V1_0::WpsConfigMethods"
200 }
201 }
202
203}