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: "ISupplicantStaIface" |
| 4 | |
| 5 | package: "android.hardware.wifi.supplicant" |
| 6 | |
| 7 | import: "android.hardware.wifi.supplicant@1.0::ISupplicantIface" |
| 8 | import: "android.hardware.wifi.supplicant@1.0::ISupplicantStaIfaceCallback" |
| 9 | import: "android.hardware.wifi.supplicant@1.0::types" |
| 10 | |
| 11 | interface: { |
| 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 | attribute: { |
| 42 | name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::AnqpInfoId" |
| 43 | type: TYPE_ENUM |
| 44 | enum_value: { |
| 45 | scalar_type: "uint16_t" |
| 46 | |
| 47 | enumerator: "VENUE_NAME" |
| 48 | scalar_value: { |
| 49 | uint16_t: 258 |
| 50 | } |
| 51 | enumerator: "ROAMING_CONSORTIUM" |
| 52 | scalar_value: { |
| 53 | uint16_t: 261 |
| 54 | } |
| 55 | enumerator: "IP_ADDR_TYPE_AVAILABILITY" |
| 56 | scalar_value: { |
| 57 | uint16_t: 262 |
| 58 | } |
| 59 | enumerator: "NAI_REALM" |
| 60 | scalar_value: { |
| 61 | uint16_t: 263 |
| 62 | } |
| 63 | enumerator: "ANQP_3GPP_CELLULAR_NETWORK" |
| 64 | scalar_value: { |
| 65 | uint16_t: 264 |
| 66 | } |
| 67 | enumerator: "DOMAIN_NAME" |
| 68 | scalar_value: { |
| 69 | uint16_t: 268 |
| 70 | } |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | attribute: { |
| 75 | name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::Hs20AnqpSubtypes" |
| 76 | type: TYPE_ENUM |
| 77 | enum_value: { |
| 78 | scalar_type: "uint32_t" |
| 79 | |
| 80 | enumerator: "OPERATOR_FRIENDLY_NAME" |
| 81 | scalar_value: { |
| 82 | uint32_t: 3 |
| 83 | } |
| 84 | enumerator: "WAN_METRICS" |
| 85 | scalar_value: { |
| 86 | uint32_t: 4 |
| 87 | } |
| 88 | enumerator: "CONNECTION_CAPABILITY" |
| 89 | scalar_value: { |
| 90 | uint32_t: 5 |
| 91 | } |
| 92 | enumerator: "OSU_PROVIDERS_LIST" |
| 93 | scalar_value: { |
| 94 | uint32_t: 8 |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | attribute: { |
| 100 | name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::RxFilterType" |
| 101 | type: TYPE_ENUM |
| 102 | enum_value: { |
| 103 | scalar_type: "uint8_t" |
| 104 | |
| 105 | enumerator: "V4_MULTICAST" |
| 106 | scalar_value: { |
| 107 | uint8_t: 0 |
| 108 | } |
| 109 | enumerator: "V6_MULTICAST" |
| 110 | scalar_value: { |
| 111 | uint8_t: 1 |
| 112 | } |
| 113 | } |
| 114 | } |
| 115 | |
| 116 | attribute: { |
| 117 | name: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::BtCoexistenceMode" |
| 118 | type: TYPE_ENUM |
| 119 | enum_value: { |
| 120 | scalar_type: "uint8_t" |
| 121 | |
| 122 | enumerator: "ENABLED" |
| 123 | scalar_value: { |
| 124 | uint8_t: 0 |
| 125 | } |
| 126 | enumerator: "DISABLED" |
| 127 | scalar_value: { |
| 128 | uint8_t: 1 |
| 129 | } |
| 130 | enumerator: "SENSE" |
| 131 | scalar_value: { |
| 132 | uint8_t: 2 |
| 133 | } |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | api: { |
| 138 | name: "getName" |
| 139 | return_type_hidl: { |
| 140 | type: TYPE_STRUCT |
| 141 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 142 | } |
| 143 | return_type_hidl: { |
| 144 | type: TYPE_STRING |
| 145 | } |
| 146 | } |
| 147 | |
| 148 | api: { |
| 149 | name: "getType" |
| 150 | return_type_hidl: { |
| 151 | type: TYPE_STRUCT |
| 152 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 153 | } |
| 154 | return_type_hidl: { |
| 155 | type: TYPE_ENUM |
| 156 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::IfaceType" |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | api: { |
| 161 | name: "addNetwork" |
| 162 | return_type_hidl: { |
| 163 | type: TYPE_STRUCT |
| 164 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 165 | } |
| 166 | return_type_hidl: { |
| 167 | type: TYPE_HIDL_INTERFACE |
| 168 | predefined_type: "ISupplicantNetwork" |
| 169 | is_callback: false |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | api: { |
| 174 | name: "removeNetwork" |
| 175 | return_type_hidl: { |
| 176 | type: TYPE_STRUCT |
| 177 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 178 | } |
| 179 | arg: { |
| 180 | type: TYPE_SCALAR |
| 181 | scalar_type: "uint32_t" |
| 182 | } |
| 183 | } |
| 184 | |
| 185 | api: { |
| 186 | name: "getNetwork" |
| 187 | return_type_hidl: { |
| 188 | type: TYPE_STRUCT |
| 189 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 190 | } |
| 191 | return_type_hidl: { |
| 192 | type: TYPE_HIDL_INTERFACE |
| 193 | predefined_type: "ISupplicantNetwork" |
| 194 | is_callback: false |
| 195 | } |
| 196 | arg: { |
| 197 | type: TYPE_SCALAR |
| 198 | scalar_type: "uint32_t" |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | api: { |
| 203 | name: "listNetworks" |
| 204 | return_type_hidl: { |
| 205 | type: TYPE_STRUCT |
| 206 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 207 | } |
| 208 | return_type_hidl: { |
| 209 | type: TYPE_VECTOR |
| 210 | vector_value: { |
| 211 | type: TYPE_SCALAR |
| 212 | scalar_type: "uint32_t" |
| 213 | } |
| 214 | } |
| 215 | } |
| 216 | |
| 217 | api: { |
| 218 | name: "setWpsDeviceName" |
| 219 | return_type_hidl: { |
| 220 | type: TYPE_STRUCT |
| 221 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 222 | } |
| 223 | arg: { |
| 224 | type: TYPE_STRING |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | api: { |
| 229 | name: "setWpsManufacturer" |
| 230 | return_type_hidl: { |
| 231 | type: TYPE_STRUCT |
| 232 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 233 | } |
| 234 | arg: { |
| 235 | type: TYPE_STRING |
| 236 | } |
| 237 | } |
| 238 | |
| 239 | api: { |
| 240 | name: "setWpsModelName" |
| 241 | return_type_hidl: { |
| 242 | type: TYPE_STRUCT |
| 243 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 244 | } |
| 245 | arg: { |
| 246 | type: TYPE_STRING |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | api: { |
| 251 | name: "setWpsModelNumber" |
| 252 | return_type_hidl: { |
| 253 | type: TYPE_STRUCT |
| 254 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 255 | } |
| 256 | arg: { |
| 257 | type: TYPE_STRING |
| 258 | } |
| 259 | } |
| 260 | |
| 261 | api: { |
| 262 | name: "setWpsSerialNumber" |
| 263 | return_type_hidl: { |
| 264 | type: TYPE_STRUCT |
| 265 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 266 | } |
| 267 | arg: { |
| 268 | type: TYPE_STRING |
| 269 | } |
| 270 | } |
| 271 | |
| 272 | api: { |
| 273 | name: "setWpsConfigMethods" |
| 274 | return_type_hidl: { |
| 275 | type: TYPE_STRUCT |
| 276 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 277 | } |
| 278 | arg: { |
| 279 | type: TYPE_MASK |
| 280 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::WpsConfigMethods" |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | api: { |
| 285 | name: "registerCallback" |
| 286 | return_type_hidl: { |
| 287 | type: TYPE_STRUCT |
| 288 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 289 | } |
| 290 | arg: { |
| 291 | type: TYPE_HIDL_CALLBACK |
| 292 | predefined_type: "ISupplicantStaIfaceCallback" |
| 293 | is_callback: true |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | api: { |
| 298 | name: "reassociate" |
| 299 | return_type_hidl: { |
| 300 | type: TYPE_STRUCT |
| 301 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 302 | } |
| 303 | } |
| 304 | |
| 305 | api: { |
| 306 | name: "reconnect" |
| 307 | return_type_hidl: { |
| 308 | type: TYPE_STRUCT |
| 309 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 310 | } |
| 311 | } |
| 312 | |
| 313 | api: { |
| 314 | name: "disconnect" |
| 315 | return_type_hidl: { |
| 316 | type: TYPE_STRUCT |
| 317 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | api: { |
| 322 | name: "setPowerSave" |
| 323 | return_type_hidl: { |
| 324 | type: TYPE_STRUCT |
| 325 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 326 | } |
| 327 | arg: { |
| 328 | type: TYPE_SCALAR |
| 329 | scalar_type: "bool_t" |
| 330 | } |
| 331 | } |
| 332 | |
| 333 | api: { |
| 334 | name: "initiateTdlsDiscover" |
| 335 | return_type_hidl: { |
| 336 | type: TYPE_STRUCT |
| 337 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 338 | } |
| 339 | arg: { |
| 340 | type: TYPE_ARRAY |
| 341 | vector_value: { |
| 342 | vector_size: 6 |
| 343 | type: TYPE_SCALAR |
| 344 | scalar_type: "uint8_t" |
| 345 | } |
| 346 | } |
| 347 | } |
| 348 | |
| 349 | api: { |
| 350 | name: "initiateTdlsSetup" |
| 351 | return_type_hidl: { |
| 352 | type: TYPE_STRUCT |
| 353 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 354 | } |
| 355 | arg: { |
| 356 | type: TYPE_ARRAY |
| 357 | vector_value: { |
| 358 | vector_size: 6 |
| 359 | type: TYPE_SCALAR |
| 360 | scalar_type: "uint8_t" |
| 361 | } |
| 362 | } |
| 363 | } |
| 364 | |
| 365 | api: { |
| 366 | name: "initiateTdlsTeardown" |
| 367 | return_type_hidl: { |
| 368 | type: TYPE_STRUCT |
| 369 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 370 | } |
| 371 | arg: { |
| 372 | type: TYPE_ARRAY |
| 373 | vector_value: { |
| 374 | vector_size: 6 |
| 375 | type: TYPE_SCALAR |
| 376 | scalar_type: "uint8_t" |
| 377 | } |
| 378 | } |
| 379 | } |
| 380 | |
| 381 | api: { |
| 382 | name: "initiateAnqpQuery" |
| 383 | return_type_hidl: { |
| 384 | type: TYPE_STRUCT |
| 385 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 386 | } |
| 387 | arg: { |
| 388 | type: TYPE_ARRAY |
| 389 | vector_value: { |
| 390 | vector_size: 6 |
| 391 | type: TYPE_SCALAR |
| 392 | scalar_type: "uint8_t" |
| 393 | } |
| 394 | } |
| 395 | arg: { |
| 396 | type: TYPE_VECTOR |
| 397 | vector_value: { |
| 398 | type: TYPE_ENUM |
| 399 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::AnqpInfoId" |
| 400 | } |
| 401 | } |
| 402 | arg: { |
| 403 | type: TYPE_VECTOR |
| 404 | vector_value: { |
| 405 | type: TYPE_ENUM |
| 406 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::Hs20AnqpSubtypes" |
| 407 | } |
| 408 | } |
| 409 | } |
| 410 | |
| 411 | api: { |
| 412 | name: "initiateHs20IconQuery" |
| 413 | return_type_hidl: { |
| 414 | type: TYPE_STRUCT |
| 415 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 416 | } |
| 417 | arg: { |
| 418 | type: TYPE_ARRAY |
| 419 | vector_value: { |
| 420 | vector_size: 6 |
| 421 | type: TYPE_SCALAR |
| 422 | scalar_type: "uint8_t" |
| 423 | } |
| 424 | } |
| 425 | arg: { |
| 426 | type: TYPE_STRING |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | api: { |
| 431 | name: "getMacAddress" |
| 432 | return_type_hidl: { |
| 433 | type: TYPE_STRUCT |
| 434 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 435 | } |
| 436 | return_type_hidl: { |
| 437 | type: TYPE_ARRAY |
| 438 | vector_value: { |
| 439 | vector_size: 6 |
| 440 | type: TYPE_SCALAR |
| 441 | scalar_type: "uint8_t" |
| 442 | } |
| 443 | } |
| 444 | } |
| 445 | |
| 446 | api: { |
| 447 | name: "startRxFilter" |
| 448 | return_type_hidl: { |
| 449 | type: TYPE_STRUCT |
| 450 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 451 | } |
| 452 | } |
| 453 | |
| 454 | api: { |
| 455 | name: "stopRxFilter" |
| 456 | return_type_hidl: { |
| 457 | type: TYPE_STRUCT |
| 458 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 459 | } |
| 460 | } |
| 461 | |
| 462 | api: { |
| 463 | name: "addRxFilter" |
| 464 | return_type_hidl: { |
| 465 | type: TYPE_STRUCT |
| 466 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 467 | } |
| 468 | arg: { |
| 469 | type: TYPE_ENUM |
| 470 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::RxFilterType" |
| 471 | } |
| 472 | } |
| 473 | |
| 474 | api: { |
| 475 | name: "removeRxFilter" |
| 476 | return_type_hidl: { |
| 477 | type: TYPE_STRUCT |
| 478 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 479 | } |
| 480 | arg: { |
| 481 | type: TYPE_ENUM |
| 482 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::RxFilterType" |
| 483 | } |
| 484 | } |
| 485 | |
| 486 | api: { |
| 487 | name: "setBtCoexistenceMode" |
| 488 | return_type_hidl: { |
| 489 | type: TYPE_STRUCT |
| 490 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 491 | } |
| 492 | arg: { |
| 493 | type: TYPE_ENUM |
| 494 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantStaIface::BtCoexistenceMode" |
| 495 | } |
| 496 | } |
| 497 | |
| 498 | api: { |
| 499 | name: "setBtCoexistenceScanModeEnabled" |
| 500 | return_type_hidl: { |
| 501 | type: TYPE_STRUCT |
| 502 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 503 | } |
| 504 | arg: { |
| 505 | type: TYPE_SCALAR |
| 506 | scalar_type: "bool_t" |
| 507 | } |
| 508 | } |
| 509 | |
| 510 | api: { |
| 511 | name: "setSuspendModeEnabled" |
| 512 | return_type_hidl: { |
| 513 | type: TYPE_STRUCT |
| 514 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 515 | } |
| 516 | arg: { |
| 517 | type: TYPE_SCALAR |
| 518 | scalar_type: "bool_t" |
| 519 | } |
| 520 | } |
| 521 | |
| 522 | api: { |
| 523 | name: "setCountryCode" |
| 524 | return_type_hidl: { |
| 525 | type: TYPE_STRUCT |
| 526 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 527 | } |
| 528 | arg: { |
| 529 | type: TYPE_ARRAY |
| 530 | vector_value: { |
| 531 | vector_size: 2 |
| 532 | type: TYPE_SCALAR |
| 533 | scalar_type: "int8_t" |
| 534 | } |
| 535 | } |
| 536 | } |
| 537 | |
| 538 | api: { |
| 539 | name: "startWpsRegistrar" |
| 540 | return_type_hidl: { |
| 541 | type: TYPE_STRUCT |
| 542 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 543 | } |
| 544 | arg: { |
| 545 | type: TYPE_ARRAY |
| 546 | vector_value: { |
| 547 | vector_size: 6 |
| 548 | type: TYPE_SCALAR |
| 549 | scalar_type: "uint8_t" |
| 550 | } |
| 551 | } |
| 552 | arg: { |
| 553 | type: TYPE_STRING |
| 554 | } |
| 555 | } |
| 556 | |
| 557 | api: { |
| 558 | name: "startWpsPbc" |
| 559 | return_type_hidl: { |
| 560 | type: TYPE_STRUCT |
| 561 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 562 | } |
| 563 | arg: { |
| 564 | type: TYPE_ARRAY |
| 565 | vector_value: { |
| 566 | vector_size: 6 |
| 567 | type: TYPE_SCALAR |
| 568 | scalar_type: "uint8_t" |
| 569 | } |
| 570 | } |
| 571 | } |
| 572 | |
| 573 | api: { |
| 574 | name: "startWpsPinKeypad" |
| 575 | return_type_hidl: { |
| 576 | type: TYPE_STRUCT |
| 577 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 578 | } |
| 579 | arg: { |
| 580 | type: TYPE_STRING |
| 581 | } |
| 582 | } |
| 583 | |
| 584 | api: { |
| 585 | name: "startWpsPinDisplay" |
| 586 | return_type_hidl: { |
| 587 | type: TYPE_STRUCT |
| 588 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 589 | } |
| 590 | return_type_hidl: { |
| 591 | type: TYPE_STRING |
| 592 | } |
| 593 | arg: { |
| 594 | type: TYPE_ARRAY |
| 595 | vector_value: { |
| 596 | vector_size: 6 |
| 597 | type: TYPE_SCALAR |
| 598 | scalar_type: "uint8_t" |
| 599 | } |
| 600 | } |
| 601 | } |
| 602 | |
| 603 | api: { |
| 604 | name: "cancelWps" |
| 605 | return_type_hidl: { |
| 606 | type: TYPE_STRUCT |
| 607 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 608 | } |
| 609 | } |
| 610 | |
| 611 | api: { |
| 612 | name: "setExternalSim" |
| 613 | return_type_hidl: { |
| 614 | type: TYPE_STRUCT |
| 615 | predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus" |
| 616 | } |
| 617 | arg: { |
| 618 | type: TYPE_SCALAR |
| 619 | scalar_type: "bool_t" |
| 620 | } |
| 621 | } |
| 622 | |
| 623 | } |