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