blob: 41c77f8c9a8686db4f43742b3bc036a70a350991 [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"
9
10interface: {
11 attribute: {
12 name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantIface::ParamSizeLimits"
13 type: TYPE_ENUM
14 enum_value: {
15 scalar_type: "uint32_t"
16
17 enumerator: "WPS_DEVICE_NAME_MAX_LEN"
18 scalar_value: {
19 uint32_t: 32
20 }
21 enumerator: "WPS_MANUFACTURER_MAX_LEN"
22 scalar_value: {
23 uint32_t: 64
24 }
25 enumerator: "WPS_MODEL_NAME_MAX_LEN"
26 scalar_value: {
27 uint32_t: 32
28 }
29 enumerator: "WPS_MODEL_NUMBER_MAX_LEN"
30 scalar_value: {
31 uint32_t: 32
32 }
33 enumerator: "WPS_SERIAL_NUMBER_MAX_LEN"
34 scalar_value: {
35 uint32_t: 32
36 }
37 }
38 }
39
40 api: {
41 name: "getName"
42 return_type_hidl: {
43 type: TYPE_STRUCT
44 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
45 }
46 return_type_hidl: {
47 type: TYPE_STRING
48 }
49 }
50
51 api: {
52 name: "getType"
53 return_type_hidl: {
54 type: TYPE_STRUCT
55 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
56 }
57 return_type_hidl: {
58 type: TYPE_ENUM
59 predefined_type: "::android::hardware::wifi::supplicant::V1_0::IfaceType"
60 }
61 }
62
63 api: {
64 name: "addNetwork"
65 return_type_hidl: {
66 type: TYPE_STRUCT
67 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
68 }
69 return_type_hidl: {
70 type: TYPE_HIDL_INTERFACE
71 predefined_type: "ISupplicantNetwork"
72 is_callback: false
73 }
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
96 predefined_type: "ISupplicantNetwork"
97 is_callback: false
98 }
99 arg: {
100 type: TYPE_SCALAR
101 scalar_type: "uint32_t"
102 }
103 }
104
105 api: {
106 name: "listNetworks"
107 return_type_hidl: {
108 type: TYPE_STRUCT
109 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
110 }
111 return_type_hidl: {
112 type: TYPE_VECTOR
113 vector_value: {
114 type: TYPE_SCALAR
115 scalar_type: "uint32_t"
116 }
117 }
118 }
119
120 api: {
121 name: "setWpsDeviceName"
122 return_type_hidl: {
123 type: TYPE_STRUCT
124 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
125 }
126 arg: {
127 type: TYPE_STRING
128 }
129 }
130
131 api: {
132 name: "setWpsManufacturer"
133 return_type_hidl: {
134 type: TYPE_STRUCT
135 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
136 }
137 arg: {
138 type: TYPE_STRING
139 }
140 }
141
142 api: {
143 name: "setWpsModelName"
144 return_type_hidl: {
145 type: TYPE_STRUCT
146 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
147 }
148 arg: {
149 type: TYPE_STRING
150 }
151 }
152
153 api: {
154 name: "setWpsModelNumber"
155 return_type_hidl: {
156 type: TYPE_STRUCT
157 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
158 }
159 arg: {
160 type: TYPE_STRING
161 }
162 }
163
164 api: {
165 name: "setWpsSerialNumber"
166 return_type_hidl: {
167 type: TYPE_STRUCT
168 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
169 }
170 arg: {
171 type: TYPE_STRING
172 }
173 }
174
175 api: {
176 name: "setWpsConfigMethods"
177 return_type_hidl: {
178 type: TYPE_STRUCT
179 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
180 }
181 arg: {
182 type: TYPE_MASK
183 predefined_type: "::android::hardware::wifi::supplicant::V1_0::WpsConfigMethods"
184 }
185 }
186
187}