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: "IWifiChip" |
| 4 | |
| 5 | package: "android.hardware.wifi" |
| 6 | |
| 7 | import: "android.hardware.wifi@1.0::IWifiApIface" |
| 8 | import: "android.hardware.wifi@1.0::IWifiChipEventCallback" |
| 9 | import: "android.hardware.wifi@1.0::IWifiIface" |
| 10 | import: "android.hardware.wifi@1.0::IWifiNanIface" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 11 | import: "android.hardware.wifi@1.0::IWifiNanIfaceEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 12 | import: "android.hardware.wifi@1.0::IWifiP2pIface" |
| 13 | import: "android.hardware.wifi@1.0::IWifiRttController" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 14 | import: "android.hardware.wifi@1.0::IWifiRttControllerEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 15 | import: "android.hardware.wifi@1.0::IWifiStaIface" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 16 | import: "android.hardware.wifi@1.0::IWifiStaIfaceEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 17 | import: "android.hardware.wifi@1.0::types" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 18 | import: "android.hidl.base@1.0::types" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 19 | |
| 20 | interface: { |
| 21 | attribute: { |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 22 | name: "::android::hardware::wifi::V1_0::WifiStatusCode" |
| 23 | type: TYPE_ENUM |
| 24 | enum_value: { |
| 25 | scalar_type: "uint32_t" |
| 26 | |
| 27 | enumerator: "SUCCESS" |
| 28 | scalar_value: { |
| 29 | uint32_t: 0 |
| 30 | } |
| 31 | enumerator: "ERROR_WIFI_CHIP_INVALID" |
| 32 | scalar_value: { |
| 33 | uint32_t: 1 |
| 34 | } |
| 35 | enumerator: "ERROR_WIFI_IFACE_INVALID" |
| 36 | scalar_value: { |
| 37 | uint32_t: 2 |
| 38 | } |
| 39 | enumerator: "ERROR_WIFI_RTT_CONTROLLER_INVALID" |
| 40 | scalar_value: { |
| 41 | uint32_t: 3 |
| 42 | } |
| 43 | enumerator: "ERROR_NOT_SUPPORTED" |
| 44 | scalar_value: { |
| 45 | uint32_t: 4 |
| 46 | } |
| 47 | enumerator: "ERROR_NOT_AVAILABLE" |
| 48 | scalar_value: { |
| 49 | uint32_t: 5 |
| 50 | } |
| 51 | enumerator: "ERROR_NOT_STARTED" |
| 52 | scalar_value: { |
| 53 | uint32_t: 6 |
| 54 | } |
| 55 | enumerator: "ERROR_INVALID_ARGS" |
| 56 | scalar_value: { |
| 57 | uint32_t: 7 |
| 58 | } |
| 59 | enumerator: "ERROR_BUSY" |
| 60 | scalar_value: { |
| 61 | uint32_t: 8 |
| 62 | } |
| 63 | enumerator: "ERROR_UNKNOWN" |
| 64 | scalar_value: { |
| 65 | uint32_t: 9 |
| 66 | } |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | attribute: { |
| 71 | name: "::android::hardware::wifi::V1_0::WifiStatus" |
| 72 | type: TYPE_STRUCT |
| 73 | struct_value: { |
| 74 | name: "code" |
| 75 | type: TYPE_ENUM |
| 76 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatusCode" |
| 77 | } |
| 78 | struct_value: { |
| 79 | name: "description" |
| 80 | type: TYPE_STRING |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | attribute: { |
| 85 | name: "::android::hardware::wifi::V1_0::IfaceType" |
| 86 | type: TYPE_ENUM |
| 87 | enum_value: { |
| 88 | scalar_type: "uint32_t" |
| 89 | |
| 90 | enumerator: "STA" |
| 91 | scalar_value: { |
| 92 | uint32_t: 0 |
| 93 | } |
| 94 | enumerator: "AP" |
| 95 | scalar_value: { |
| 96 | uint32_t: 1 |
| 97 | } |
| 98 | enumerator: "P2P" |
| 99 | scalar_value: { |
| 100 | uint32_t: 2 |
| 101 | } |
| 102 | enumerator: "NAN" |
| 103 | scalar_value: { |
| 104 | uint32_t: 3 |
| 105 | } |
| 106 | } |
| 107 | } |
| 108 | |
| 109 | attribute: { |
| 110 | name: "::android::hardware::wifi::V1_0::WifiChannelWidthInMhz" |
| 111 | type: TYPE_ENUM |
| 112 | enum_value: { |
| 113 | scalar_type: "uint32_t" |
| 114 | |
| 115 | enumerator: "WIDTH_20" |
| 116 | scalar_value: { |
| 117 | uint32_t: 0 |
| 118 | } |
| 119 | enumerator: "WIDTH_40" |
| 120 | scalar_value: { |
| 121 | uint32_t: 1 |
| 122 | } |
| 123 | enumerator: "WIDTH_80" |
| 124 | scalar_value: { |
| 125 | uint32_t: 2 |
| 126 | } |
| 127 | enumerator: "WIDTH_160" |
| 128 | scalar_value: { |
| 129 | uint32_t: 3 |
| 130 | } |
| 131 | enumerator: "WIDTH_80P80" |
| 132 | scalar_value: { |
| 133 | uint32_t: 4 |
| 134 | } |
| 135 | enumerator: "WIDTH_5" |
| 136 | scalar_value: { |
| 137 | uint32_t: 5 |
| 138 | } |
| 139 | enumerator: "WIDTH_10" |
| 140 | scalar_value: { |
| 141 | uint32_t: 6 |
| 142 | } |
| 143 | enumerator: "WIDTH_INVALID" |
| 144 | scalar_value: { |
| 145 | uint32_t: 4294967295 |
| 146 | } |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | attribute: { |
| 151 | name: "::android::hardware::wifi::V1_0::WifiChannelInfo" |
| 152 | type: TYPE_STRUCT |
| 153 | struct_value: { |
| 154 | name: "width" |
| 155 | type: TYPE_ENUM |
| 156 | predefined_type: "::android::hardware::wifi::V1_0::WifiChannelWidthInMhz" |
| 157 | } |
| 158 | struct_value: { |
| 159 | name: "centerFreq" |
| 160 | type: TYPE_SCALAR |
| 161 | scalar_type: "uint32_t" |
| 162 | } |
| 163 | struct_value: { |
| 164 | name: "centerFreq0" |
| 165 | type: TYPE_SCALAR |
| 166 | scalar_type: "uint32_t" |
| 167 | } |
| 168 | struct_value: { |
| 169 | name: "centerFreq1" |
| 170 | type: TYPE_SCALAR |
| 171 | scalar_type: "uint32_t" |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | attribute: { |
| 176 | name: "::android::hardware::wifi::V1_0::WifiInformationElement" |
| 177 | type: TYPE_STRUCT |
| 178 | struct_value: { |
| 179 | name: "id" |
| 180 | type: TYPE_SCALAR |
| 181 | scalar_type: "uint8_t" |
| 182 | } |
| 183 | struct_value: { |
| 184 | name: "data" |
| 185 | type: TYPE_VECTOR |
| 186 | vector_value: { |
| 187 | type: TYPE_SCALAR |
| 188 | scalar_type: "uint8_t" |
| 189 | } |
| 190 | } |
| 191 | } |
| 192 | |
| 193 | attribute: { |
| 194 | name: "::android::hardware::wifi::V1_0::WifiRatePreamble" |
| 195 | type: TYPE_ENUM |
| 196 | enum_value: { |
| 197 | scalar_type: "uint32_t" |
| 198 | |
| 199 | enumerator: "OFDM" |
| 200 | scalar_value: { |
| 201 | uint32_t: 0 |
| 202 | } |
| 203 | enumerator: "CCK" |
| 204 | scalar_value: { |
| 205 | uint32_t: 1 |
| 206 | } |
| 207 | enumerator: "HT" |
| 208 | scalar_value: { |
| 209 | uint32_t: 2 |
| 210 | } |
| 211 | enumerator: "VHT" |
| 212 | scalar_value: { |
| 213 | uint32_t: 3 |
| 214 | } |
| 215 | enumerator: "RESERVED" |
| 216 | scalar_value: { |
| 217 | uint32_t: 4 |
| 218 | } |
| 219 | } |
| 220 | } |
| 221 | |
| 222 | attribute: { |
| 223 | name: "::android::hardware::wifi::V1_0::WifiRateNss" |
| 224 | type: TYPE_ENUM |
| 225 | enum_value: { |
| 226 | scalar_type: "uint32_t" |
| 227 | |
| 228 | enumerator: "NSS_1x1" |
| 229 | scalar_value: { |
| 230 | uint32_t: 0 |
| 231 | } |
| 232 | enumerator: "NSS_2x2" |
| 233 | scalar_value: { |
| 234 | uint32_t: 1 |
| 235 | } |
| 236 | enumerator: "NSS_3x3" |
| 237 | scalar_value: { |
| 238 | uint32_t: 2 |
| 239 | } |
| 240 | enumerator: "NSS_4x4" |
| 241 | scalar_value: { |
| 242 | uint32_t: 3 |
| 243 | } |
| 244 | } |
| 245 | } |
| 246 | |
| 247 | attribute: { |
| 248 | name: "::android::hardware::wifi::V1_0::WifiRateInfo" |
| 249 | type: TYPE_STRUCT |
| 250 | struct_value: { |
| 251 | name: "preamble" |
| 252 | type: TYPE_ENUM |
| 253 | predefined_type: "::android::hardware::wifi::V1_0::WifiRatePreamble" |
| 254 | } |
| 255 | struct_value: { |
| 256 | name: "nss" |
| 257 | type: TYPE_ENUM |
| 258 | predefined_type: "::android::hardware::wifi::V1_0::WifiRateNss" |
| 259 | } |
| 260 | struct_value: { |
| 261 | name: "bw" |
| 262 | type: TYPE_ENUM |
| 263 | predefined_type: "::android::hardware::wifi::V1_0::WifiChannelWidthInMhz" |
| 264 | } |
| 265 | struct_value: { |
| 266 | name: "rateMcsIdx" |
| 267 | type: TYPE_SCALAR |
| 268 | scalar_type: "uint8_t" |
| 269 | } |
| 270 | struct_value: { |
| 271 | name: "bitRateInKbps" |
| 272 | type: TYPE_SCALAR |
| 273 | scalar_type: "uint32_t" |
| 274 | } |
| 275 | } |
| 276 | |
| 277 | attribute: { |
| 278 | name: "::android::hardware::wifi::V1_0::StaApfPacketFilterCapabilities" |
| 279 | type: TYPE_STRUCT |
| 280 | struct_value: { |
| 281 | name: "version" |
| 282 | type: TYPE_SCALAR |
| 283 | scalar_type: "uint32_t" |
| 284 | } |
| 285 | struct_value: { |
| 286 | name: "maxLength" |
| 287 | type: TYPE_SCALAR |
| 288 | scalar_type: "uint32_t" |
| 289 | } |
| 290 | } |
| 291 | |
| 292 | attribute: { |
| 293 | name: "::android::hardware::wifi::V1_0::StaBackgroundScanCapabilities" |
| 294 | type: TYPE_STRUCT |
| 295 | struct_value: { |
| 296 | name: "maxCacheSize" |
| 297 | type: TYPE_SCALAR |
| 298 | scalar_type: "uint32_t" |
| 299 | } |
| 300 | struct_value: { |
| 301 | name: "maxBuckets" |
| 302 | type: TYPE_SCALAR |
| 303 | scalar_type: "uint32_t" |
| 304 | } |
| 305 | struct_value: { |
| 306 | name: "maxApCachePerScan" |
| 307 | type: TYPE_SCALAR |
| 308 | scalar_type: "uint32_t" |
| 309 | } |
| 310 | struct_value: { |
| 311 | name: "maxReportingThreshold" |
| 312 | type: TYPE_SCALAR |
| 313 | scalar_type: "int32_t" |
| 314 | } |
| 315 | } |
| 316 | |
| 317 | attribute: { |
| 318 | name: "::android::hardware::wifi::V1_0::StaBackgroundScanBand" |
| 319 | type: TYPE_ENUM |
| 320 | enum_value: { |
| 321 | scalar_type: "uint32_t" |
| 322 | |
| 323 | enumerator: "BAND_UNSPECIFIED" |
| 324 | scalar_value: { |
| 325 | uint32_t: 0 |
| 326 | } |
| 327 | enumerator: "BAND_24GHZ" |
| 328 | scalar_value: { |
| 329 | uint32_t: 1 |
| 330 | } |
| 331 | enumerator: "BAND_5GHZ" |
| 332 | scalar_value: { |
| 333 | uint32_t: 2 |
| 334 | } |
| 335 | enumerator: "BAND_5GHZ_DFS" |
| 336 | scalar_value: { |
| 337 | uint32_t: 4 |
| 338 | } |
| 339 | enumerator: "BAND_5GHZ_WITH_DFS" |
| 340 | scalar_value: { |
| 341 | uint32_t: 6 |
| 342 | } |
| 343 | enumerator: "BAND_24GHZ_5GHZ" |
| 344 | scalar_value: { |
| 345 | uint32_t: 3 |
| 346 | } |
| 347 | enumerator: "BAND_24GHZ_5GHZ_WITH_DFS" |
| 348 | scalar_value: { |
| 349 | uint32_t: 7 |
| 350 | } |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | attribute: { |
| 355 | name: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketEventReportSchemeMask" |
| 356 | type: TYPE_ENUM |
| 357 | enum_value: { |
| 358 | scalar_type: "uint32_t" |
| 359 | |
| 360 | enumerator: "EACH_SCAN" |
| 361 | scalar_value: { |
| 362 | uint32_t: 1 |
| 363 | } |
| 364 | enumerator: "FULL_RESULTS" |
| 365 | scalar_value: { |
| 366 | uint32_t: 2 |
| 367 | } |
| 368 | enumerator: "NO_BATCH" |
| 369 | scalar_value: { |
| 370 | uint32_t: 4 |
| 371 | } |
| 372 | } |
| 373 | } |
| 374 | |
| 375 | attribute: { |
| 376 | name: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketParameters" |
| 377 | type: TYPE_STRUCT |
| 378 | struct_value: { |
| 379 | name: "band" |
| 380 | type: TYPE_ENUM |
| 381 | predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBand" |
| 382 | } |
| 383 | struct_value: { |
| 384 | name: "frequencies" |
| 385 | type: TYPE_VECTOR |
| 386 | vector_value: { |
| 387 | type: TYPE_SCALAR |
| 388 | scalar_type: "uint32_t" |
| 389 | } |
| 390 | } |
| 391 | struct_value: { |
| 392 | name: "periodInMs" |
| 393 | type: TYPE_SCALAR |
| 394 | scalar_type: "uint32_t" |
| 395 | } |
| 396 | struct_value: { |
| 397 | name: "eventReportScheme" |
| 398 | type: TYPE_MASK |
| 399 | scalar_type: "uint32_t" |
| 400 | predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketEventReportSchemeMask" |
| 401 | } |
| 402 | struct_value: { |
| 403 | name: "exponentialMaxPeriodInMs" |
| 404 | type: TYPE_SCALAR |
| 405 | scalar_type: "uint32_t" |
| 406 | } |
| 407 | struct_value: { |
| 408 | name: "exponentialBase" |
| 409 | type: TYPE_SCALAR |
| 410 | scalar_type: "uint32_t" |
| 411 | } |
| 412 | struct_value: { |
| 413 | name: "exponentialStepCount" |
| 414 | type: TYPE_SCALAR |
| 415 | scalar_type: "uint32_t" |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | attribute: { |
| 420 | name: "::android::hardware::wifi::V1_0::StaBackgroundScanParameters" |
| 421 | type: TYPE_STRUCT |
| 422 | struct_value: { |
| 423 | name: "basePeriodInMs" |
| 424 | type: TYPE_SCALAR |
| 425 | scalar_type: "uint32_t" |
| 426 | } |
| 427 | struct_value: { |
| 428 | name: "maxApPerScan" |
| 429 | type: TYPE_SCALAR |
| 430 | scalar_type: "uint32_t" |
| 431 | } |
| 432 | struct_value: { |
| 433 | name: "reportThresholdPercent" |
| 434 | type: TYPE_SCALAR |
| 435 | scalar_type: "uint32_t" |
| 436 | } |
| 437 | struct_value: { |
| 438 | name: "reportThresholdNumScans" |
| 439 | type: TYPE_SCALAR |
| 440 | scalar_type: "uint32_t" |
| 441 | } |
| 442 | struct_value: { |
| 443 | name: "buckets" |
| 444 | type: TYPE_VECTOR |
| 445 | vector_value: { |
| 446 | type: TYPE_STRUCT |
| 447 | predefined_type: "::android::hardware::wifi::V1_0::StaBackgroundScanBucketParameters" |
| 448 | } |
| 449 | } |
| 450 | } |
| 451 | |
| 452 | attribute: { |
| 453 | name: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats" |
| 454 | type: TYPE_STRUCT |
| 455 | struct_value: { |
| 456 | name: "rxMpdu" |
| 457 | type: TYPE_SCALAR |
| 458 | scalar_type: "uint64_t" |
| 459 | } |
| 460 | struct_value: { |
| 461 | name: "txMpdu" |
| 462 | type: TYPE_SCALAR |
| 463 | scalar_type: "uint64_t" |
| 464 | } |
| 465 | struct_value: { |
| 466 | name: "lostMpdu" |
| 467 | type: TYPE_SCALAR |
| 468 | scalar_type: "uint64_t" |
| 469 | } |
| 470 | struct_value: { |
| 471 | name: "retries" |
| 472 | type: TYPE_SCALAR |
| 473 | scalar_type: "uint64_t" |
| 474 | } |
| 475 | } |
| 476 | |
| 477 | attribute: { |
| 478 | name: "::android::hardware::wifi::V1_0::StaLinkLayerIfaceStats" |
| 479 | type: TYPE_STRUCT |
| 480 | struct_value: { |
| 481 | name: "beaconRx" |
| 482 | type: TYPE_SCALAR |
| 483 | scalar_type: "uint32_t" |
| 484 | } |
| 485 | struct_value: { |
| 486 | name: "avgRssiMgmt" |
| 487 | type: TYPE_SCALAR |
| 488 | scalar_type: "int32_t" |
| 489 | } |
| 490 | struct_value: { |
| 491 | name: "wmeBePktStats" |
| 492 | type: TYPE_STRUCT |
| 493 | predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats" |
| 494 | } |
| 495 | struct_value: { |
| 496 | name: "wmeBkPktStats" |
| 497 | type: TYPE_STRUCT |
| 498 | predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats" |
| 499 | } |
| 500 | struct_value: { |
| 501 | name: "wmeViPktStats" |
| 502 | type: TYPE_STRUCT |
| 503 | predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats" |
| 504 | } |
| 505 | struct_value: { |
| 506 | name: "wmeVoPktStats" |
| 507 | type: TYPE_STRUCT |
| 508 | predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfacePacketStats" |
| 509 | } |
| 510 | } |
| 511 | |
| 512 | attribute: { |
| 513 | name: "::android::hardware::wifi::V1_0::StaLinkLayerRadioStats" |
| 514 | type: TYPE_STRUCT |
| 515 | struct_value: { |
| 516 | name: "onTimeInMs" |
| 517 | type: TYPE_SCALAR |
| 518 | scalar_type: "uint32_t" |
| 519 | } |
| 520 | struct_value: { |
| 521 | name: "txTimeInMs" |
| 522 | type: TYPE_SCALAR |
| 523 | scalar_type: "uint32_t" |
| 524 | } |
| 525 | struct_value: { |
| 526 | name: "txTimeInMsPerLevel" |
| 527 | type: TYPE_VECTOR |
| 528 | vector_value: { |
| 529 | type: TYPE_SCALAR |
| 530 | scalar_type: "uint32_t" |
| 531 | } |
| 532 | } |
| 533 | struct_value: { |
| 534 | name: "rxTimeInMs" |
| 535 | type: TYPE_SCALAR |
| 536 | scalar_type: "uint32_t" |
| 537 | } |
| 538 | struct_value: { |
| 539 | name: "onTimeInMsForScan" |
| 540 | type: TYPE_SCALAR |
| 541 | scalar_type: "uint32_t" |
| 542 | } |
| 543 | } |
| 544 | |
| 545 | attribute: { |
| 546 | name: "::android::hardware::wifi::V1_0::StaLinkLayerStats" |
| 547 | type: TYPE_STRUCT |
| 548 | struct_value: { |
| 549 | name: "iface" |
| 550 | type: TYPE_STRUCT |
| 551 | predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerIfaceStats" |
| 552 | } |
| 553 | struct_value: { |
| 554 | name: "radio" |
| 555 | type: TYPE_STRUCT |
| 556 | predefined_type: "::android::hardware::wifi::V1_0::StaLinkLayerRadioStats" |
| 557 | } |
| 558 | struct_value: { |
| 559 | name: "timeStampInMs" |
| 560 | type: TYPE_SCALAR |
| 561 | scalar_type: "uint32_t" |
| 562 | } |
| 563 | } |
| 564 | |
| 565 | attribute: { |
| 566 | name: "::android::hardware::wifi::V1_0::StaScanResult" |
| 567 | type: TYPE_STRUCT |
| 568 | struct_value: { |
| 569 | name: "timeStampInUs" |
| 570 | type: TYPE_SCALAR |
| 571 | scalar_type: "uint64_t" |
| 572 | } |
| 573 | struct_value: { |
| 574 | name: "ssid" |
| 575 | type: TYPE_VECTOR |
| 576 | vector_value: { |
| 577 | type: TYPE_SCALAR |
| 578 | scalar_type: "uint8_t" |
| 579 | } |
| 580 | } |
| 581 | struct_value: { |
| 582 | name: "bssid" |
| 583 | type: TYPE_ARRAY |
| 584 | vector_size: 6 |
| 585 | vector_value: { |
| 586 | type: TYPE_SCALAR |
| 587 | scalar_type: "uint8_t" |
| 588 | } |
| 589 | } |
| 590 | struct_value: { |
| 591 | name: "rssi" |
| 592 | type: TYPE_SCALAR |
| 593 | scalar_type: "int32_t" |
| 594 | } |
| 595 | struct_value: { |
| 596 | name: "frequency" |
| 597 | type: TYPE_SCALAR |
| 598 | scalar_type: "uint32_t" |
| 599 | } |
| 600 | struct_value: { |
| 601 | name: "beaconPeriodInMs" |
| 602 | type: TYPE_SCALAR |
| 603 | scalar_type: "uint16_t" |
| 604 | } |
| 605 | struct_value: { |
| 606 | name: "capability" |
| 607 | type: TYPE_SCALAR |
| 608 | scalar_type: "uint16_t" |
| 609 | } |
| 610 | struct_value: { |
| 611 | name: "informationElements" |
| 612 | type: TYPE_VECTOR |
| 613 | vector_value: { |
| 614 | type: TYPE_STRUCT |
| 615 | predefined_type: "::android::hardware::wifi::V1_0::WifiInformationElement" |
| 616 | } |
| 617 | } |
| 618 | } |
| 619 | |
| 620 | attribute: { |
| 621 | name: "::android::hardware::wifi::V1_0::StaScanDataFlagMask" |
| 622 | type: TYPE_ENUM |
| 623 | enum_value: { |
| 624 | scalar_type: "int32_t" |
| 625 | |
| 626 | enumerator: "INTERRUPTED" |
| 627 | scalar_value: { |
| 628 | int32_t: 1 |
| 629 | } |
| 630 | } |
| 631 | } |
| 632 | |
| 633 | attribute: { |
| 634 | name: "::android::hardware::wifi::V1_0::StaScanData" |
| 635 | type: TYPE_STRUCT |
| 636 | struct_value: { |
| 637 | name: "flags" |
| 638 | type: TYPE_MASK |
| 639 | scalar_type: "int32_t" |
| 640 | predefined_type: "::android::hardware::wifi::V1_0::StaScanDataFlagMask" |
| 641 | } |
| 642 | struct_value: { |
| 643 | name: "bucketsScanned" |
| 644 | type: TYPE_SCALAR |
| 645 | scalar_type: "uint32_t" |
| 646 | } |
| 647 | struct_value: { |
| 648 | name: "results" |
| 649 | type: TYPE_VECTOR |
| 650 | vector_value: { |
| 651 | type: TYPE_STRUCT |
| 652 | predefined_type: "::android::hardware::wifi::V1_0::StaScanResult" |
| 653 | } |
| 654 | } |
| 655 | } |
| 656 | |
| 657 | attribute: { |
| 658 | name: "::android::hardware::wifi::V1_0::StaRoamingCapabilities" |
| 659 | type: TYPE_STRUCT |
| 660 | struct_value: { |
| 661 | name: "maxBlacklistSize" |
| 662 | type: TYPE_SCALAR |
| 663 | scalar_type: "uint32_t" |
| 664 | } |
| 665 | struct_value: { |
| 666 | name: "maxWhitelistSize" |
| 667 | type: TYPE_SCALAR |
| 668 | scalar_type: "uint32_t" |
| 669 | } |
| 670 | } |
| 671 | |
| 672 | attribute: { |
| 673 | name: "::android::hardware::wifi::V1_0::StaRoamingConfig" |
| 674 | type: TYPE_STRUCT |
| 675 | struct_value: { |
| 676 | name: "bssidBlacklist" |
| 677 | type: TYPE_VECTOR |
| 678 | vector_value: { |
| 679 | type: TYPE_ARRAY |
| 680 | vector_size: 6 |
| 681 | vector_value: { |
| 682 | type: TYPE_SCALAR |
| 683 | scalar_type: "uint8_t" |
| 684 | } |
| 685 | } |
| 686 | } |
| 687 | struct_value: { |
| 688 | name: "ssidWhitelist" |
| 689 | type: TYPE_VECTOR |
| 690 | vector_value: { |
| 691 | type: TYPE_ARRAY |
| 692 | vector_size: 32 |
| 693 | vector_value: { |
| 694 | type: TYPE_SCALAR |
| 695 | scalar_type: "uint8_t" |
| 696 | } |
| 697 | } |
| 698 | } |
| 699 | } |
| 700 | |
| 701 | attribute: { |
| 702 | name: "::android::hardware::wifi::V1_0::StaRoamingState" |
| 703 | type: TYPE_ENUM |
| 704 | enum_value: { |
| 705 | scalar_type: "uint8_t" |
| 706 | |
| 707 | enumerator: "DISABLED" |
| 708 | scalar_value: { |
| 709 | uint8_t: 0 |
| 710 | } |
| 711 | enumerator: "ENABLED" |
| 712 | scalar_value: { |
| 713 | uint8_t: 1 |
| 714 | } |
| 715 | } |
| 716 | } |
| 717 | |
| 718 | attribute: { |
| 719 | name: "::android::hardware::wifi::V1_0::NanStatusType" |
| 720 | type: TYPE_ENUM |
| 721 | enum_value: { |
| 722 | scalar_type: "uint32_t" |
| 723 | |
| 724 | enumerator: "SUCCESS" |
| 725 | scalar_value: { |
| 726 | uint32_t: 0 |
| 727 | } |
| 728 | enumerator: "INTERNAL_FAILURE" |
| 729 | scalar_value: { |
| 730 | uint32_t: 1 |
| 731 | } |
| 732 | enumerator: "PROTOCOL_FAILURE" |
| 733 | scalar_value: { |
| 734 | uint32_t: 2 |
| 735 | } |
| 736 | enumerator: "INVALID_SESSION_ID" |
| 737 | scalar_value: { |
| 738 | uint32_t: 3 |
| 739 | } |
| 740 | enumerator: "NO_RESOURCES_AVAILABLE" |
| 741 | scalar_value: { |
| 742 | uint32_t: 4 |
| 743 | } |
| 744 | enumerator: "INVALID_ARGS" |
| 745 | scalar_value: { |
| 746 | uint32_t: 5 |
| 747 | } |
| 748 | enumerator: "INVALID_PEER_ID" |
| 749 | scalar_value: { |
| 750 | uint32_t: 6 |
| 751 | } |
| 752 | enumerator: "INVALID_NDP_ID" |
| 753 | scalar_value: { |
| 754 | uint32_t: 7 |
| 755 | } |
| 756 | enumerator: "NAN_NOT_ALLOWED" |
| 757 | scalar_value: { |
| 758 | uint32_t: 8 |
| 759 | } |
| 760 | enumerator: "NO_OTA_ACK" |
| 761 | scalar_value: { |
| 762 | uint32_t: 9 |
| 763 | } |
| 764 | enumerator: "ALREADY_ENABLED" |
| 765 | scalar_value: { |
| 766 | uint32_t: 10 |
| 767 | } |
| 768 | enumerator: "FOLLOWUP_TX_QUEUE_FULL" |
| 769 | scalar_value: { |
| 770 | uint32_t: 11 |
| 771 | } |
| 772 | enumerator: "UNSUPPORTED_CONCURRENCY_NAN_DISABLED" |
| 773 | scalar_value: { |
| 774 | uint32_t: 12 |
| 775 | } |
| 776 | } |
| 777 | } |
| 778 | |
| 779 | attribute: { |
| 780 | name: "::android::hardware::wifi::V1_0::NanBandIndex" |
| 781 | type: TYPE_ENUM |
| 782 | enum_value: { |
| 783 | scalar_type: "uint32_t" |
| 784 | |
| 785 | enumerator: "NAN_BAND_24GHZ" |
| 786 | scalar_value: { |
| 787 | uint32_t: 0 |
| 788 | } |
| 789 | enumerator: "NAN_BAND_5GHZ" |
| 790 | scalar_value: { |
| 791 | uint32_t: 1 |
| 792 | } |
| 793 | } |
| 794 | } |
| 795 | |
| 796 | attribute: { |
| 797 | name: "::android::hardware::wifi::V1_0::WifiNanStatus" |
| 798 | type: TYPE_STRUCT |
| 799 | struct_value: { |
| 800 | name: "status" |
| 801 | type: TYPE_ENUM |
| 802 | predefined_type: "::android::hardware::wifi::V1_0::NanStatusType" |
| 803 | } |
| 804 | struct_value: { |
| 805 | name: "description" |
| 806 | type: TYPE_STRING |
| 807 | } |
| 808 | } |
| 809 | |
| 810 | attribute: { |
| 811 | name: "::android::hardware::wifi::V1_0::NanMatchAlg" |
| 812 | type: TYPE_ENUM |
| 813 | enum_value: { |
| 814 | scalar_type: "uint32_t" |
| 815 | |
| 816 | enumerator: "MATCH_ONCE" |
| 817 | scalar_value: { |
| 818 | uint32_t: 0 |
| 819 | } |
| 820 | enumerator: "MATCH_CONTINUOUS" |
| 821 | scalar_value: { |
| 822 | uint32_t: 1 |
| 823 | } |
| 824 | enumerator: "MATCH_NEVER" |
| 825 | scalar_value: { |
| 826 | uint32_t: 2 |
| 827 | } |
| 828 | } |
| 829 | } |
| 830 | |
| 831 | attribute: { |
| 832 | name: "::android::hardware::wifi::V1_0::NanPublishType" |
| 833 | type: TYPE_ENUM |
| 834 | enum_value: { |
| 835 | scalar_type: "uint32_t" |
| 836 | |
| 837 | enumerator: "UNSOLICITED" |
| 838 | scalar_value: { |
| 839 | uint32_t: 0 |
| 840 | } |
| 841 | enumerator: "SOLICITED" |
| 842 | scalar_value: { |
| 843 | uint32_t: 1 |
| 844 | } |
| 845 | enumerator: "UNSOLICITED_SOLICITED" |
| 846 | scalar_value: { |
| 847 | uint32_t: 2 |
| 848 | } |
| 849 | } |
| 850 | } |
| 851 | |
| 852 | attribute: { |
| 853 | name: "::android::hardware::wifi::V1_0::NanTxType" |
| 854 | type: TYPE_ENUM |
| 855 | enum_value: { |
| 856 | scalar_type: "uint32_t" |
| 857 | |
| 858 | enumerator: "BROADCAST" |
| 859 | scalar_value: { |
| 860 | uint32_t: 0 |
| 861 | } |
| 862 | enumerator: "UNICAST" |
| 863 | scalar_value: { |
| 864 | uint32_t: 1 |
| 865 | } |
| 866 | } |
| 867 | } |
| 868 | |
| 869 | attribute: { |
| 870 | name: "::android::hardware::wifi::V1_0::NanSubscribeType" |
| 871 | type: TYPE_ENUM |
| 872 | enum_value: { |
| 873 | scalar_type: "uint32_t" |
| 874 | |
| 875 | enumerator: "PASSIVE" |
| 876 | scalar_value: { |
| 877 | uint32_t: 0 |
| 878 | } |
| 879 | enumerator: "ACTIVE" |
| 880 | scalar_value: { |
| 881 | uint32_t: 1 |
| 882 | } |
| 883 | } |
| 884 | } |
| 885 | |
| 886 | attribute: { |
| 887 | name: "::android::hardware::wifi::V1_0::NanSrfType" |
| 888 | type: TYPE_ENUM |
| 889 | enum_value: { |
| 890 | scalar_type: "uint32_t" |
| 891 | |
| 892 | enumerator: "BLOOM_FILTER" |
| 893 | scalar_value: { |
| 894 | uint32_t: 0 |
| 895 | } |
| 896 | enumerator: "PARTIAL_MAC_ADDR" |
| 897 | scalar_value: { |
| 898 | uint32_t: 1 |
| 899 | } |
| 900 | } |
| 901 | } |
| 902 | |
| 903 | attribute: { |
| 904 | name: "::android::hardware::wifi::V1_0::NanDataPathChannelCfg" |
| 905 | type: TYPE_ENUM |
| 906 | enum_value: { |
| 907 | scalar_type: "uint32_t" |
| 908 | |
| 909 | enumerator: "CHANNEL_NOT_REQUESTED" |
| 910 | scalar_value: { |
| 911 | uint32_t: 0 |
| 912 | } |
| 913 | enumerator: "REQUEST_CHANNEL_SETUP" |
| 914 | scalar_value: { |
| 915 | uint32_t: 1 |
| 916 | } |
| 917 | enumerator: "FORCE_CHANNEL_SETUP" |
| 918 | scalar_value: { |
| 919 | uint32_t: 2 |
| 920 | } |
| 921 | } |
| 922 | } |
| 923 | |
| 924 | attribute: { |
| 925 | name: "::android::hardware::wifi::V1_0::NanBandSpecificConfig" |
| 926 | type: TYPE_STRUCT |
| 927 | struct_value: { |
| 928 | name: "rssiClose" |
| 929 | type: TYPE_SCALAR |
| 930 | scalar_type: "uint8_t" |
| 931 | } |
| 932 | struct_value: { |
| 933 | name: "rssiMiddle" |
| 934 | type: TYPE_SCALAR |
| 935 | scalar_type: "uint8_t" |
| 936 | } |
| 937 | struct_value: { |
| 938 | name: "rssiCloseProximity" |
| 939 | type: TYPE_SCALAR |
| 940 | scalar_type: "uint8_t" |
| 941 | } |
| 942 | struct_value: { |
| 943 | name: "dwellTimeMs" |
| 944 | type: TYPE_SCALAR |
| 945 | scalar_type: "uint8_t" |
| 946 | } |
| 947 | struct_value: { |
| 948 | name: "scanPeriodSec" |
| 949 | type: TYPE_SCALAR |
| 950 | scalar_type: "uint16_t" |
| 951 | } |
| 952 | struct_value: { |
| 953 | name: "validDiscoveryWindowIntervalVal" |
| 954 | type: TYPE_SCALAR |
| 955 | scalar_type: "bool_t" |
| 956 | } |
| 957 | struct_value: { |
| 958 | name: "discoveryWindowIntervalVal" |
| 959 | type: TYPE_SCALAR |
| 960 | scalar_type: "uint8_t" |
| 961 | } |
| 962 | } |
| 963 | |
| 964 | attribute: { |
| 965 | name: "::android::hardware::wifi::V1_0::NanDebugConfig" |
| 966 | type: TYPE_STRUCT |
| 967 | struct_value: { |
| 968 | name: "validClusterIdVals" |
| 969 | type: TYPE_SCALAR |
| 970 | scalar_type: "bool_t" |
| 971 | } |
| 972 | struct_value: { |
| 973 | name: "clusterIdBottomRangeVal" |
| 974 | type: TYPE_SCALAR |
| 975 | scalar_type: "uint16_t" |
| 976 | } |
| 977 | struct_value: { |
| 978 | name: "clusterIdTopRangeVal" |
| 979 | type: TYPE_SCALAR |
| 980 | scalar_type: "uint16_t" |
| 981 | } |
| 982 | struct_value: { |
| 983 | name: "validIntfAddrVal" |
| 984 | type: TYPE_SCALAR |
| 985 | scalar_type: "bool_t" |
| 986 | } |
| 987 | struct_value: { |
| 988 | name: "intfAddrVal" |
| 989 | type: TYPE_ARRAY |
| 990 | vector_size: 6 |
| 991 | vector_value: { |
| 992 | type: TYPE_SCALAR |
| 993 | scalar_type: "uint8_t" |
| 994 | } |
| 995 | } |
| 996 | struct_value: { |
| 997 | name: "validOuiVal" |
| 998 | type: TYPE_SCALAR |
| 999 | scalar_type: "bool_t" |
| 1000 | } |
| 1001 | struct_value: { |
| 1002 | name: "ouiVal" |
| 1003 | type: TYPE_SCALAR |
| 1004 | scalar_type: "uint32_t" |
| 1005 | } |
| 1006 | struct_value: { |
| 1007 | name: "validRandomFactorForceVal" |
| 1008 | type: TYPE_SCALAR |
| 1009 | scalar_type: "bool_t" |
| 1010 | } |
| 1011 | struct_value: { |
| 1012 | name: "randomFactorForceVal" |
| 1013 | type: TYPE_SCALAR |
| 1014 | scalar_type: "uint8_t" |
| 1015 | } |
| 1016 | struct_value: { |
| 1017 | name: "validHopCountForceVal" |
| 1018 | type: TYPE_SCALAR |
| 1019 | scalar_type: "bool_t" |
| 1020 | } |
| 1021 | struct_value: { |
| 1022 | name: "hopCountForceVal" |
| 1023 | type: TYPE_SCALAR |
| 1024 | scalar_type: "uint8_t" |
| 1025 | } |
| 1026 | struct_value: { |
| 1027 | name: "validDiscoveryChannelVal" |
| 1028 | type: TYPE_SCALAR |
| 1029 | scalar_type: "bool_t" |
| 1030 | } |
| 1031 | struct_value: { |
| 1032 | name: "discoveryChannelMhzVal" |
| 1033 | type: TYPE_ARRAY |
| 1034 | vector_size: 2 |
| 1035 | vector_value: { |
| 1036 | type: TYPE_SCALAR |
| 1037 | scalar_type: "uint32_t" |
| 1038 | } |
| 1039 | } |
| 1040 | struct_value: { |
| 1041 | name: "validUseBeaconsInBandVal" |
| 1042 | type: TYPE_SCALAR |
| 1043 | scalar_type: "bool_t" |
| 1044 | } |
| 1045 | struct_value: { |
| 1046 | name: "useBeaconsInBandVal" |
| 1047 | type: TYPE_ARRAY |
| 1048 | vector_size: 2 |
| 1049 | vector_value: { |
| 1050 | type: TYPE_SCALAR |
| 1051 | scalar_type: "bool_t" |
| 1052 | } |
| 1053 | } |
| 1054 | struct_value: { |
| 1055 | name: "validUseSdfInBandVal" |
| 1056 | type: TYPE_SCALAR |
| 1057 | scalar_type: "bool_t" |
| 1058 | } |
| 1059 | struct_value: { |
| 1060 | name: "useSdfInBandVal" |
| 1061 | type: TYPE_ARRAY |
| 1062 | vector_size: 2 |
| 1063 | vector_value: { |
| 1064 | type: TYPE_SCALAR |
| 1065 | scalar_type: "bool_t" |
| 1066 | } |
| 1067 | } |
| 1068 | } |
| 1069 | |
| 1070 | attribute: { |
| 1071 | name: "::android::hardware::wifi::V1_0::NanConfigRequest" |
| 1072 | type: TYPE_STRUCT |
| 1073 | struct_value: { |
| 1074 | name: "masterPref" |
| 1075 | type: TYPE_SCALAR |
| 1076 | scalar_type: "uint8_t" |
| 1077 | } |
| 1078 | struct_value: { |
| 1079 | name: "disableDiscoveryAddressChangeIndication" |
| 1080 | type: TYPE_SCALAR |
| 1081 | scalar_type: "bool_t" |
| 1082 | } |
| 1083 | struct_value: { |
| 1084 | name: "disableStartedClusterIndication" |
| 1085 | type: TYPE_SCALAR |
| 1086 | scalar_type: "bool_t" |
| 1087 | } |
| 1088 | struct_value: { |
| 1089 | name: "disableJoinedClusterIndication" |
| 1090 | type: TYPE_SCALAR |
| 1091 | scalar_type: "bool_t" |
| 1092 | } |
| 1093 | struct_value: { |
| 1094 | name: "includePublishServiceIdsInBeacon" |
| 1095 | type: TYPE_SCALAR |
| 1096 | scalar_type: "bool_t" |
| 1097 | } |
| 1098 | struct_value: { |
| 1099 | name: "numberOfPublishServiceIdsInBeacon" |
| 1100 | type: TYPE_SCALAR |
| 1101 | scalar_type: "uint8_t" |
| 1102 | } |
| 1103 | struct_value: { |
| 1104 | name: "includeSubscribeServiceIdsInBeacon" |
| 1105 | type: TYPE_SCALAR |
| 1106 | scalar_type: "bool_t" |
| 1107 | } |
| 1108 | struct_value: { |
| 1109 | name: "numberOfSubscribeServiceIdsInBeacon" |
| 1110 | type: TYPE_SCALAR |
| 1111 | scalar_type: "uint8_t" |
| 1112 | } |
| 1113 | struct_value: { |
| 1114 | name: "rssiWindowSize" |
| 1115 | type: TYPE_SCALAR |
| 1116 | scalar_type: "uint16_t" |
| 1117 | } |
| 1118 | struct_value: { |
| 1119 | name: "macAddressRandomizationIntervalSec" |
| 1120 | type: TYPE_SCALAR |
| 1121 | scalar_type: "uint32_t" |
| 1122 | } |
| 1123 | struct_value: { |
| 1124 | name: "acceptRangingRequests" |
| 1125 | type: TYPE_SCALAR |
| 1126 | scalar_type: "bool_t" |
| 1127 | } |
| 1128 | struct_value: { |
| 1129 | name: "bandSpecificConfig" |
| 1130 | type: TYPE_ARRAY |
| 1131 | vector_size: 2 |
| 1132 | vector_value: { |
| 1133 | name: "::android::hardware::wifi::V1_0::NanBandSpecificConfig" |
| 1134 | type: TYPE_STRUCT |
| 1135 | struct_value: { |
| 1136 | name: "rssiClose" |
| 1137 | type: TYPE_SCALAR |
| 1138 | scalar_type: "uint8_t" |
| 1139 | } |
| 1140 | struct_value: { |
| 1141 | name: "rssiMiddle" |
| 1142 | type: TYPE_SCALAR |
| 1143 | scalar_type: "uint8_t" |
| 1144 | } |
| 1145 | struct_value: { |
| 1146 | name: "rssiCloseProximity" |
| 1147 | type: TYPE_SCALAR |
| 1148 | scalar_type: "uint8_t" |
| 1149 | } |
| 1150 | struct_value: { |
| 1151 | name: "dwellTimeMs" |
| 1152 | type: TYPE_SCALAR |
| 1153 | scalar_type: "uint8_t" |
| 1154 | } |
| 1155 | struct_value: { |
| 1156 | name: "scanPeriodSec" |
| 1157 | type: TYPE_SCALAR |
| 1158 | scalar_type: "uint16_t" |
| 1159 | } |
| 1160 | struct_value: { |
| 1161 | name: "validDiscoveryWindowIntervalVal" |
| 1162 | type: TYPE_SCALAR |
| 1163 | scalar_type: "bool_t" |
| 1164 | } |
| 1165 | struct_value: { |
| 1166 | name: "discoveryWindowIntervalVal" |
| 1167 | type: TYPE_SCALAR |
| 1168 | scalar_type: "uint8_t" |
| 1169 | } |
| 1170 | } |
| 1171 | } |
| 1172 | } |
| 1173 | |
| 1174 | attribute: { |
| 1175 | name: "::android::hardware::wifi::V1_0::NanEnableRequest" |
| 1176 | type: TYPE_STRUCT |
| 1177 | struct_value: { |
| 1178 | name: "operateInBand" |
| 1179 | type: TYPE_ARRAY |
| 1180 | vector_size: 2 |
| 1181 | vector_value: { |
| 1182 | type: TYPE_SCALAR |
| 1183 | scalar_type: "bool_t" |
| 1184 | } |
| 1185 | } |
| 1186 | struct_value: { |
| 1187 | name: "hopCountMax" |
| 1188 | type: TYPE_SCALAR |
| 1189 | scalar_type: "uint8_t" |
| 1190 | } |
| 1191 | struct_value: { |
| 1192 | name: "configParams" |
| 1193 | type: TYPE_STRUCT |
| 1194 | predefined_type: "::android::hardware::wifi::V1_0::NanConfigRequest" |
| 1195 | } |
| 1196 | struct_value: { |
| 1197 | name: "debugConfigs" |
| 1198 | type: TYPE_STRUCT |
| 1199 | predefined_type: "::android::hardware::wifi::V1_0::NanDebugConfig" |
| 1200 | } |
| 1201 | } |
| 1202 | |
| 1203 | attribute: { |
| 1204 | name: "::android::hardware::wifi::V1_0::NanCipherSuiteType" |
| 1205 | type: TYPE_ENUM |
| 1206 | enum_value: { |
| 1207 | scalar_type: "uint32_t" |
| 1208 | |
| 1209 | enumerator: "SHARED_KEY_128_MASK" |
| 1210 | scalar_value: { |
| 1211 | uint32_t: 1 |
| 1212 | } |
| 1213 | enumerator: "SHARED_KEY_256_MASK" |
| 1214 | scalar_value: { |
| 1215 | uint32_t: 2 |
| 1216 | } |
| 1217 | } |
| 1218 | } |
| 1219 | |
| 1220 | attribute: { |
| 1221 | name: "::android::hardware::wifi::V1_0::NanRangingIndication" |
| 1222 | type: TYPE_ENUM |
| 1223 | enum_value: { |
| 1224 | scalar_type: "uint32_t" |
| 1225 | |
| 1226 | enumerator: "CONTINUOUS_INDICATION_MASK" |
| 1227 | scalar_value: { |
| 1228 | uint32_t: 1 |
| 1229 | } |
| 1230 | enumerator: "INGRESS_MET_MASK" |
| 1231 | scalar_value: { |
| 1232 | uint32_t: 2 |
| 1233 | } |
| 1234 | enumerator: "EGRESS_MET_MASK" |
| 1235 | scalar_value: { |
| 1236 | uint32_t: 4 |
| 1237 | } |
| 1238 | } |
| 1239 | } |
| 1240 | |
| 1241 | attribute: { |
| 1242 | name: "::android::hardware::wifi::V1_0::NanDiscoveryCommonConfig" |
| 1243 | type: TYPE_STRUCT |
| 1244 | struct_value: { |
| 1245 | name: "sessionId" |
| 1246 | type: TYPE_SCALAR |
| 1247 | scalar_type: "uint8_t" |
| 1248 | } |
| 1249 | struct_value: { |
| 1250 | name: "ttlSec" |
| 1251 | type: TYPE_SCALAR |
| 1252 | scalar_type: "uint16_t" |
| 1253 | } |
| 1254 | struct_value: { |
| 1255 | name: "discoveryWindowPeriod" |
| 1256 | type: TYPE_SCALAR |
| 1257 | scalar_type: "uint16_t" |
| 1258 | } |
| 1259 | struct_value: { |
| 1260 | name: "discoveryCount" |
| 1261 | type: TYPE_SCALAR |
| 1262 | scalar_type: "uint8_t" |
| 1263 | } |
| 1264 | struct_value: { |
| 1265 | name: "serviceName" |
| 1266 | type: TYPE_VECTOR |
| 1267 | vector_value: { |
| 1268 | type: TYPE_SCALAR |
| 1269 | scalar_type: "uint8_t" |
| 1270 | } |
| 1271 | } |
| 1272 | struct_value: { |
| 1273 | name: "discoveryMatchIndicator" |
| 1274 | type: TYPE_ENUM |
| 1275 | predefined_type: "::android::hardware::wifi::V1_0::NanMatchAlg" |
| 1276 | } |
| 1277 | struct_value: { |
| 1278 | name: "serviceSpecificInfo" |
| 1279 | type: TYPE_VECTOR |
| 1280 | vector_value: { |
| 1281 | type: TYPE_SCALAR |
| 1282 | scalar_type: "uint8_t" |
| 1283 | } |
| 1284 | } |
| 1285 | struct_value: { |
| 1286 | name: "extendedServiceSpecificInfo" |
| 1287 | type: TYPE_VECTOR |
| 1288 | vector_value: { |
| 1289 | type: TYPE_SCALAR |
| 1290 | scalar_type: "uint8_t" |
| 1291 | } |
| 1292 | } |
| 1293 | struct_value: { |
| 1294 | name: "rxMatchFilter" |
| 1295 | type: TYPE_VECTOR |
| 1296 | vector_value: { |
| 1297 | type: TYPE_SCALAR |
| 1298 | scalar_type: "uint8_t" |
| 1299 | } |
| 1300 | } |
| 1301 | struct_value: { |
| 1302 | name: "txMatchFilter" |
| 1303 | type: TYPE_VECTOR |
| 1304 | vector_value: { |
| 1305 | type: TYPE_SCALAR |
| 1306 | scalar_type: "uint8_t" |
| 1307 | } |
| 1308 | } |
| 1309 | struct_value: { |
| 1310 | name: "useRssiThreshold" |
| 1311 | type: TYPE_SCALAR |
| 1312 | scalar_type: "bool_t" |
| 1313 | } |
| 1314 | struct_value: { |
| 1315 | name: "disableDiscoveryTerminationIndication" |
| 1316 | type: TYPE_SCALAR |
| 1317 | scalar_type: "bool_t" |
| 1318 | } |
| 1319 | struct_value: { |
| 1320 | name: "disableMatchExpirationIndication" |
| 1321 | type: TYPE_SCALAR |
| 1322 | scalar_type: "bool_t" |
| 1323 | } |
| 1324 | struct_value: { |
| 1325 | name: "disableFollowupReceivedIndication" |
| 1326 | type: TYPE_SCALAR |
| 1327 | scalar_type: "bool_t" |
| 1328 | } |
| 1329 | struct_value: { |
| 1330 | name: "supportedCipherTypes" |
| 1331 | type: TYPE_MASK |
| 1332 | scalar_type: "uint32_t" |
| 1333 | predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType" |
| 1334 | } |
| 1335 | struct_value: { |
| 1336 | name: "pmk" |
| 1337 | type: TYPE_VECTOR |
| 1338 | vector_value: { |
| 1339 | type: TYPE_SCALAR |
| 1340 | scalar_type: "uint8_t" |
| 1341 | } |
| 1342 | } |
| 1343 | struct_value: { |
| 1344 | name: "securityEnabledInNdp" |
| 1345 | type: TYPE_SCALAR |
| 1346 | scalar_type: "bool_t" |
| 1347 | } |
| 1348 | struct_value: { |
| 1349 | name: "rangingRequired" |
| 1350 | type: TYPE_SCALAR |
| 1351 | scalar_type: "bool_t" |
| 1352 | } |
| 1353 | struct_value: { |
| 1354 | name: "rangingIntervalMsec" |
| 1355 | type: TYPE_SCALAR |
| 1356 | scalar_type: "uint32_t" |
| 1357 | } |
| 1358 | struct_value: { |
| 1359 | name: "configRangingIndications" |
| 1360 | type: TYPE_MASK |
| 1361 | scalar_type: "uint32_t" |
| 1362 | predefined_type: "::android::hardware::wifi::V1_0::NanRangingIndication" |
| 1363 | } |
| 1364 | struct_value: { |
| 1365 | name: "distanceIngressCm" |
| 1366 | type: TYPE_SCALAR |
| 1367 | scalar_type: "uint16_t" |
| 1368 | } |
| 1369 | struct_value: { |
| 1370 | name: "distanceEgressCm" |
| 1371 | type: TYPE_SCALAR |
| 1372 | scalar_type: "uint16_t" |
| 1373 | } |
| 1374 | } |
| 1375 | |
| 1376 | attribute: { |
| 1377 | name: "::android::hardware::wifi::V1_0::NanPublishRequest" |
| 1378 | type: TYPE_STRUCT |
| 1379 | struct_value: { |
| 1380 | name: "baseConfigs" |
| 1381 | type: TYPE_STRUCT |
| 1382 | predefined_type: "::android::hardware::wifi::V1_0::NanDiscoveryCommonConfig" |
| 1383 | } |
| 1384 | struct_value: { |
| 1385 | name: "publishType" |
| 1386 | type: TYPE_ENUM |
| 1387 | predefined_type: "::android::hardware::wifi::V1_0::NanPublishType" |
| 1388 | } |
| 1389 | struct_value: { |
| 1390 | name: "txType" |
| 1391 | type: TYPE_ENUM |
| 1392 | predefined_type: "::android::hardware::wifi::V1_0::NanTxType" |
| 1393 | } |
| 1394 | } |
| 1395 | |
| 1396 | attribute: { |
| 1397 | name: "::android::hardware::wifi::V1_0::NanSubscribeRequest" |
| 1398 | type: TYPE_STRUCT |
| 1399 | struct_value: { |
| 1400 | name: "baseConfigs" |
| 1401 | type: TYPE_STRUCT |
| 1402 | predefined_type: "::android::hardware::wifi::V1_0::NanDiscoveryCommonConfig" |
| 1403 | } |
| 1404 | struct_value: { |
| 1405 | name: "subscribeType" |
| 1406 | type: TYPE_ENUM |
| 1407 | predefined_type: "::android::hardware::wifi::V1_0::NanSubscribeType" |
| 1408 | } |
| 1409 | struct_value: { |
| 1410 | name: "srfType" |
| 1411 | type: TYPE_ENUM |
| 1412 | predefined_type: "::android::hardware::wifi::V1_0::NanSrfType" |
| 1413 | } |
| 1414 | struct_value: { |
| 1415 | name: "srfRespondIfInAddressSet" |
| 1416 | type: TYPE_SCALAR |
| 1417 | scalar_type: "bool_t" |
| 1418 | } |
| 1419 | struct_value: { |
| 1420 | name: "shouldUseSrf" |
| 1421 | type: TYPE_SCALAR |
| 1422 | scalar_type: "bool_t" |
| 1423 | } |
| 1424 | struct_value: { |
| 1425 | name: "isSsiRequiredForMatch" |
| 1426 | type: TYPE_SCALAR |
| 1427 | scalar_type: "bool_t" |
| 1428 | } |
| 1429 | struct_value: { |
| 1430 | name: "intfAddr" |
| 1431 | type: TYPE_VECTOR |
| 1432 | vector_value: { |
| 1433 | type: TYPE_ARRAY |
| 1434 | vector_size: 6 |
| 1435 | vector_value: { |
| 1436 | type: TYPE_SCALAR |
| 1437 | scalar_type: "uint8_t" |
| 1438 | } |
| 1439 | } |
| 1440 | } |
| 1441 | } |
| 1442 | |
| 1443 | attribute: { |
| 1444 | name: "::android::hardware::wifi::V1_0::NanTransmitFollowupRequest" |
| 1445 | type: TYPE_STRUCT |
| 1446 | struct_value: { |
| 1447 | name: "discoverySessionId" |
| 1448 | type: TYPE_SCALAR |
| 1449 | scalar_type: "uint8_t" |
| 1450 | } |
| 1451 | struct_value: { |
| 1452 | name: "peerId" |
| 1453 | type: TYPE_SCALAR |
| 1454 | scalar_type: "uint32_t" |
| 1455 | } |
| 1456 | struct_value: { |
| 1457 | name: "addr" |
| 1458 | type: TYPE_ARRAY |
| 1459 | vector_size: 6 |
| 1460 | vector_value: { |
| 1461 | type: TYPE_SCALAR |
| 1462 | scalar_type: "uint8_t" |
| 1463 | } |
| 1464 | } |
| 1465 | struct_value: { |
| 1466 | name: "isHighPriority" |
| 1467 | type: TYPE_SCALAR |
| 1468 | scalar_type: "bool_t" |
| 1469 | } |
| 1470 | struct_value: { |
| 1471 | name: "shouldUseDiscoveryWindow" |
| 1472 | type: TYPE_SCALAR |
| 1473 | scalar_type: "bool_t" |
| 1474 | } |
| 1475 | struct_value: { |
| 1476 | name: "serviceSpecificInfo" |
| 1477 | type: TYPE_VECTOR |
| 1478 | vector_value: { |
| 1479 | type: TYPE_SCALAR |
| 1480 | scalar_type: "uint8_t" |
| 1481 | } |
| 1482 | } |
| 1483 | struct_value: { |
| 1484 | name: "extendedServiceSpecificInfo" |
| 1485 | type: TYPE_VECTOR |
| 1486 | vector_value: { |
| 1487 | type: TYPE_SCALAR |
| 1488 | scalar_type: "uint8_t" |
| 1489 | } |
| 1490 | } |
| 1491 | struct_value: { |
| 1492 | name: "disableFollowupResultIndication" |
| 1493 | type: TYPE_SCALAR |
| 1494 | scalar_type: "bool_t" |
| 1495 | } |
| 1496 | } |
| 1497 | |
| 1498 | attribute: { |
| 1499 | name: "::android::hardware::wifi::V1_0::NanInitiateDataPathRequest" |
| 1500 | type: TYPE_STRUCT |
| 1501 | struct_value: { |
| 1502 | name: "peerId" |
| 1503 | type: TYPE_SCALAR |
| 1504 | scalar_type: "uint32_t" |
| 1505 | } |
| 1506 | struct_value: { |
| 1507 | name: "peerDiscMacAddr" |
| 1508 | type: TYPE_ARRAY |
| 1509 | vector_size: 6 |
| 1510 | vector_value: { |
| 1511 | type: TYPE_SCALAR |
| 1512 | scalar_type: "uint8_t" |
| 1513 | } |
| 1514 | } |
| 1515 | struct_value: { |
| 1516 | name: "channelRequestType" |
| 1517 | type: TYPE_ENUM |
| 1518 | predefined_type: "::android::hardware::wifi::V1_0::NanDataPathChannelCfg" |
| 1519 | } |
| 1520 | struct_value: { |
| 1521 | name: "channel" |
| 1522 | type: TYPE_SCALAR |
| 1523 | scalar_type: "uint32_t" |
| 1524 | } |
| 1525 | struct_value: { |
| 1526 | name: "ifaceName" |
| 1527 | type: TYPE_STRING |
| 1528 | } |
| 1529 | struct_value: { |
| 1530 | name: "securityRequired" |
| 1531 | type: TYPE_SCALAR |
| 1532 | scalar_type: "bool_t" |
| 1533 | } |
| 1534 | struct_value: { |
| 1535 | name: "appInfo" |
| 1536 | type: TYPE_VECTOR |
| 1537 | vector_value: { |
| 1538 | type: TYPE_SCALAR |
| 1539 | scalar_type: "uint8_t" |
| 1540 | } |
| 1541 | } |
| 1542 | struct_value: { |
| 1543 | name: "supportedCipherTypes" |
| 1544 | type: TYPE_MASK |
| 1545 | scalar_type: "uint32_t" |
| 1546 | predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType" |
| 1547 | } |
| 1548 | struct_value: { |
| 1549 | name: "pmk" |
| 1550 | type: TYPE_VECTOR |
| 1551 | vector_value: { |
| 1552 | type: TYPE_SCALAR |
| 1553 | scalar_type: "uint8_t" |
| 1554 | } |
| 1555 | } |
| 1556 | } |
| 1557 | |
| 1558 | attribute: { |
| 1559 | name: "::android::hardware::wifi::V1_0::NanRespondToDataPathIndicationRequest" |
| 1560 | type: TYPE_STRUCT |
| 1561 | struct_value: { |
| 1562 | name: "acceptRequest" |
| 1563 | type: TYPE_SCALAR |
| 1564 | scalar_type: "bool_t" |
| 1565 | } |
| 1566 | struct_value: { |
| 1567 | name: "ndpInstanceId" |
| 1568 | type: TYPE_SCALAR |
| 1569 | scalar_type: "uint32_t" |
| 1570 | } |
| 1571 | struct_value: { |
| 1572 | name: "ifaceName" |
| 1573 | type: TYPE_STRING |
| 1574 | } |
| 1575 | struct_value: { |
| 1576 | name: "securityRequired" |
| 1577 | type: TYPE_SCALAR |
| 1578 | scalar_type: "bool_t" |
| 1579 | } |
| 1580 | struct_value: { |
| 1581 | name: "appInfo" |
| 1582 | type: TYPE_VECTOR |
| 1583 | vector_value: { |
| 1584 | type: TYPE_SCALAR |
| 1585 | scalar_type: "uint8_t" |
| 1586 | } |
| 1587 | } |
| 1588 | struct_value: { |
| 1589 | name: "supportedCipherTypes" |
| 1590 | type: TYPE_MASK |
| 1591 | scalar_type: "uint32_t" |
| 1592 | predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType" |
| 1593 | } |
| 1594 | struct_value: { |
| 1595 | name: "pmk" |
| 1596 | type: TYPE_VECTOR |
| 1597 | vector_value: { |
| 1598 | type: TYPE_SCALAR |
| 1599 | scalar_type: "uint8_t" |
| 1600 | } |
| 1601 | } |
| 1602 | } |
| 1603 | |
| 1604 | attribute: { |
| 1605 | name: "::android::hardware::wifi::V1_0::NanCapabilities" |
| 1606 | type: TYPE_STRUCT |
| 1607 | struct_value: { |
| 1608 | name: "maxConcurrentClusters" |
| 1609 | type: TYPE_SCALAR |
| 1610 | scalar_type: "uint32_t" |
| 1611 | } |
| 1612 | struct_value: { |
| 1613 | name: "maxPublishes" |
| 1614 | type: TYPE_SCALAR |
| 1615 | scalar_type: "uint32_t" |
| 1616 | } |
| 1617 | struct_value: { |
| 1618 | name: "maxSubscribes" |
| 1619 | type: TYPE_SCALAR |
| 1620 | scalar_type: "uint32_t" |
| 1621 | } |
| 1622 | struct_value: { |
| 1623 | name: "maxServiceNameLen" |
| 1624 | type: TYPE_SCALAR |
| 1625 | scalar_type: "uint32_t" |
| 1626 | } |
| 1627 | struct_value: { |
| 1628 | name: "maxMatchFilterLen" |
| 1629 | type: TYPE_SCALAR |
| 1630 | scalar_type: "uint32_t" |
| 1631 | } |
| 1632 | struct_value: { |
| 1633 | name: "maxTotalMatchFilterLen" |
| 1634 | type: TYPE_SCALAR |
| 1635 | scalar_type: "uint32_t" |
| 1636 | } |
| 1637 | struct_value: { |
| 1638 | name: "maxServiceSpecificInfoLen" |
| 1639 | type: TYPE_SCALAR |
| 1640 | scalar_type: "uint32_t" |
| 1641 | } |
| 1642 | struct_value: { |
| 1643 | name: "maxExtendedServiceSpecificInfoLen" |
| 1644 | type: TYPE_SCALAR |
| 1645 | scalar_type: "uint32_t" |
| 1646 | } |
| 1647 | struct_value: { |
| 1648 | name: "maxVsaDataLen" |
| 1649 | type: TYPE_SCALAR |
| 1650 | scalar_type: "uint32_t" |
| 1651 | } |
| 1652 | struct_value: { |
| 1653 | name: "maxNdiInterfaces" |
| 1654 | type: TYPE_SCALAR |
| 1655 | scalar_type: "uint32_t" |
| 1656 | } |
| 1657 | struct_value: { |
| 1658 | name: "maxNdpSessions" |
| 1659 | type: TYPE_SCALAR |
| 1660 | scalar_type: "uint32_t" |
| 1661 | } |
| 1662 | struct_value: { |
| 1663 | name: "maxAppInfoLen" |
| 1664 | type: TYPE_SCALAR |
| 1665 | scalar_type: "uint32_t" |
| 1666 | } |
| 1667 | struct_value: { |
| 1668 | name: "maxQueuedTransmitFollowupMsgs" |
| 1669 | type: TYPE_SCALAR |
| 1670 | scalar_type: "uint32_t" |
| 1671 | } |
| 1672 | struct_value: { |
| 1673 | name: "maxSubscribeInterfaceAddresses" |
| 1674 | type: TYPE_SCALAR |
| 1675 | scalar_type: "uint32_t" |
| 1676 | } |
| 1677 | struct_value: { |
| 1678 | name: "supportedCipherSuites" |
| 1679 | type: TYPE_MASK |
| 1680 | scalar_type: "uint32_t" |
| 1681 | predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType" |
| 1682 | } |
| 1683 | } |
| 1684 | |
| 1685 | attribute: { |
| 1686 | name: "::android::hardware::wifi::V1_0::NanMatchInd" |
| 1687 | type: TYPE_STRUCT |
| 1688 | struct_value: { |
| 1689 | name: "discoverySessionId" |
| 1690 | type: TYPE_SCALAR |
| 1691 | scalar_type: "uint8_t" |
| 1692 | } |
| 1693 | struct_value: { |
| 1694 | name: "peerId" |
| 1695 | type: TYPE_SCALAR |
| 1696 | scalar_type: "uint32_t" |
| 1697 | } |
| 1698 | struct_value: { |
| 1699 | name: "addr" |
| 1700 | type: TYPE_ARRAY |
| 1701 | vector_size: 6 |
| 1702 | vector_value: { |
| 1703 | type: TYPE_SCALAR |
| 1704 | scalar_type: "uint8_t" |
| 1705 | } |
| 1706 | } |
| 1707 | struct_value: { |
| 1708 | name: "serviceSpecificInfo" |
| 1709 | type: TYPE_VECTOR |
| 1710 | vector_value: { |
| 1711 | type: TYPE_SCALAR |
| 1712 | scalar_type: "uint8_t" |
| 1713 | } |
| 1714 | } |
| 1715 | struct_value: { |
| 1716 | name: "extendedServiceSpecificInfo" |
| 1717 | type: TYPE_VECTOR |
| 1718 | vector_value: { |
| 1719 | type: TYPE_SCALAR |
| 1720 | scalar_type: "uint8_t" |
| 1721 | } |
| 1722 | } |
| 1723 | struct_value: { |
| 1724 | name: "matchFilter" |
| 1725 | type: TYPE_VECTOR |
| 1726 | vector_value: { |
| 1727 | type: TYPE_SCALAR |
| 1728 | scalar_type: "uint8_t" |
| 1729 | } |
| 1730 | } |
| 1731 | struct_value: { |
| 1732 | name: "matchOccuredInBeaconFlag" |
| 1733 | type: TYPE_SCALAR |
| 1734 | scalar_type: "bool_t" |
| 1735 | } |
| 1736 | struct_value: { |
| 1737 | name: "outOfResourceFlag" |
| 1738 | type: TYPE_SCALAR |
| 1739 | scalar_type: "bool_t" |
| 1740 | } |
| 1741 | struct_value: { |
| 1742 | name: "rssiValue" |
| 1743 | type: TYPE_SCALAR |
| 1744 | scalar_type: "uint8_t" |
| 1745 | } |
| 1746 | struct_value: { |
| 1747 | name: "peerSupportedCipherTypes" |
| 1748 | type: TYPE_MASK |
| 1749 | scalar_type: "uint32_t" |
| 1750 | predefined_type: "::android::hardware::wifi::V1_0::NanCipherSuiteType" |
| 1751 | } |
| 1752 | struct_value: { |
| 1753 | name: "peerRequiresSecurityEnabledInNdp" |
| 1754 | type: TYPE_SCALAR |
| 1755 | scalar_type: "bool_t" |
| 1756 | } |
| 1757 | struct_value: { |
| 1758 | name: "peerRequiresRanging" |
| 1759 | type: TYPE_SCALAR |
| 1760 | scalar_type: "bool_t" |
| 1761 | } |
| 1762 | struct_value: { |
| 1763 | name: "rangingMeasurementInCm" |
| 1764 | type: TYPE_SCALAR |
| 1765 | scalar_type: "uint32_t" |
| 1766 | } |
| 1767 | struct_value: { |
| 1768 | name: "rangingIndicationType" |
| 1769 | type: TYPE_MASK |
| 1770 | scalar_type: "uint32_t" |
| 1771 | predefined_type: "::android::hardware::wifi::V1_0::NanRangingIndication" |
| 1772 | } |
| 1773 | } |
| 1774 | |
| 1775 | attribute: { |
| 1776 | name: "::android::hardware::wifi::V1_0::NanFollowupReceivedInd" |
| 1777 | type: TYPE_STRUCT |
| 1778 | struct_value: { |
| 1779 | name: "discoverySessionId" |
| 1780 | type: TYPE_SCALAR |
| 1781 | scalar_type: "uint8_t" |
| 1782 | } |
| 1783 | struct_value: { |
| 1784 | name: "peerId" |
| 1785 | type: TYPE_SCALAR |
| 1786 | scalar_type: "uint32_t" |
| 1787 | } |
| 1788 | struct_value: { |
| 1789 | name: "addr" |
| 1790 | type: TYPE_ARRAY |
| 1791 | vector_size: 6 |
| 1792 | vector_value: { |
| 1793 | type: TYPE_SCALAR |
| 1794 | scalar_type: "uint8_t" |
| 1795 | } |
| 1796 | } |
| 1797 | struct_value: { |
| 1798 | name: "receivedInFaw" |
| 1799 | type: TYPE_SCALAR |
| 1800 | scalar_type: "bool_t" |
| 1801 | } |
| 1802 | struct_value: { |
| 1803 | name: "serviceSpecificInfo" |
| 1804 | type: TYPE_VECTOR |
| 1805 | vector_value: { |
| 1806 | type: TYPE_SCALAR |
| 1807 | scalar_type: "uint8_t" |
| 1808 | } |
| 1809 | } |
| 1810 | struct_value: { |
| 1811 | name: "extendedServiceSpecificInfo" |
| 1812 | type: TYPE_VECTOR |
| 1813 | vector_value: { |
| 1814 | type: TYPE_SCALAR |
| 1815 | scalar_type: "uint8_t" |
| 1816 | } |
| 1817 | } |
| 1818 | } |
| 1819 | |
| 1820 | attribute: { |
| 1821 | name: "::android::hardware::wifi::V1_0::NanClusterEventType" |
| 1822 | type: TYPE_ENUM |
| 1823 | enum_value: { |
| 1824 | scalar_type: "uint32_t" |
| 1825 | |
| 1826 | enumerator: "DISCOVERY_MAC_ADDRESS_CHANGED" |
| 1827 | scalar_value: { |
| 1828 | uint32_t: 0 |
| 1829 | } |
| 1830 | enumerator: "STARTED_CLUSTER" |
| 1831 | scalar_value: { |
| 1832 | uint32_t: 1 |
| 1833 | } |
| 1834 | enumerator: "JOINED_CLUSTER" |
| 1835 | scalar_value: { |
| 1836 | uint32_t: 2 |
| 1837 | } |
| 1838 | } |
| 1839 | } |
| 1840 | |
| 1841 | attribute: { |
| 1842 | name: "::android::hardware::wifi::V1_0::NanClusterEventInd" |
| 1843 | type: TYPE_STRUCT |
| 1844 | struct_value: { |
| 1845 | name: "eventType" |
| 1846 | type: TYPE_ENUM |
| 1847 | predefined_type: "::android::hardware::wifi::V1_0::NanClusterEventType" |
| 1848 | } |
| 1849 | struct_value: { |
| 1850 | name: "addr" |
| 1851 | type: TYPE_ARRAY |
| 1852 | vector_size: 6 |
| 1853 | vector_value: { |
| 1854 | type: TYPE_SCALAR |
| 1855 | scalar_type: "uint8_t" |
| 1856 | } |
| 1857 | } |
| 1858 | } |
| 1859 | |
| 1860 | attribute: { |
| 1861 | name: "::android::hardware::wifi::V1_0::NanDataPathRequestInd" |
| 1862 | type: TYPE_STRUCT |
| 1863 | struct_value: { |
| 1864 | name: "discoverySessionId" |
| 1865 | type: TYPE_SCALAR |
| 1866 | scalar_type: "uint8_t" |
| 1867 | } |
| 1868 | struct_value: { |
| 1869 | name: "peerDiscMacAddr" |
| 1870 | type: TYPE_ARRAY |
| 1871 | vector_size: 6 |
| 1872 | vector_value: { |
| 1873 | type: TYPE_SCALAR |
| 1874 | scalar_type: "uint8_t" |
| 1875 | } |
| 1876 | } |
| 1877 | struct_value: { |
| 1878 | name: "ndpInstanceId" |
| 1879 | type: TYPE_SCALAR |
| 1880 | scalar_type: "uint32_t" |
| 1881 | } |
| 1882 | struct_value: { |
| 1883 | name: "securityRequired" |
| 1884 | type: TYPE_SCALAR |
| 1885 | scalar_type: "bool_t" |
| 1886 | } |
| 1887 | struct_value: { |
| 1888 | name: "appInfo" |
| 1889 | type: TYPE_VECTOR |
| 1890 | vector_value: { |
| 1891 | type: TYPE_SCALAR |
| 1892 | scalar_type: "uint8_t" |
| 1893 | } |
| 1894 | } |
| 1895 | } |
| 1896 | |
| 1897 | attribute: { |
| 1898 | name: "::android::hardware::wifi::V1_0::NanDataPathConfirmInd" |
| 1899 | type: TYPE_STRUCT |
| 1900 | struct_value: { |
| 1901 | name: "ndpInstanceId" |
| 1902 | type: TYPE_SCALAR |
| 1903 | scalar_type: "uint32_t" |
| 1904 | } |
| 1905 | struct_value: { |
| 1906 | name: "dataPathSetupSuccess" |
| 1907 | type: TYPE_SCALAR |
| 1908 | scalar_type: "bool_t" |
| 1909 | } |
| 1910 | struct_value: { |
| 1911 | name: "peerNdiMacAddr" |
| 1912 | type: TYPE_ARRAY |
| 1913 | vector_size: 6 |
| 1914 | vector_value: { |
| 1915 | type: TYPE_SCALAR |
| 1916 | scalar_type: "uint8_t" |
| 1917 | } |
| 1918 | } |
| 1919 | struct_value: { |
| 1920 | name: "appInfo" |
| 1921 | type: TYPE_VECTOR |
| 1922 | vector_value: { |
| 1923 | type: TYPE_SCALAR |
| 1924 | scalar_type: "uint8_t" |
| 1925 | } |
| 1926 | } |
| 1927 | struct_value: { |
| 1928 | name: "status" |
| 1929 | type: TYPE_STRUCT |
| 1930 | predefined_type: "::android::hardware::wifi::V1_0::WifiNanStatus" |
| 1931 | } |
| 1932 | } |
| 1933 | |
| 1934 | attribute: { |
| 1935 | name: "::android::hardware::wifi::V1_0::RttStatus" |
| 1936 | type: TYPE_ENUM |
| 1937 | enum_value: { |
| 1938 | scalar_type: "uint32_t" |
| 1939 | |
| 1940 | enumerator: "SUCCESS" |
| 1941 | scalar_value: { |
| 1942 | uint32_t: 0 |
| 1943 | } |
| 1944 | enumerator: "FAILURE" |
| 1945 | scalar_value: { |
| 1946 | uint32_t: 1 |
| 1947 | } |
| 1948 | enumerator: "FAIL_NO_RSP" |
| 1949 | scalar_value: { |
| 1950 | uint32_t: 2 |
| 1951 | } |
| 1952 | enumerator: "FAIL_REJECTED" |
| 1953 | scalar_value: { |
| 1954 | uint32_t: 3 |
| 1955 | } |
| 1956 | enumerator: "FAIL_NOT_SCHEDULED_YET" |
| 1957 | scalar_value: { |
| 1958 | uint32_t: 4 |
| 1959 | } |
| 1960 | enumerator: "FAIL_TM_TIMEOUT" |
| 1961 | scalar_value: { |
| 1962 | uint32_t: 5 |
| 1963 | } |
| 1964 | enumerator: "FAIL_AP_ON_DIFF_CHANNEL" |
| 1965 | scalar_value: { |
| 1966 | uint32_t: 6 |
| 1967 | } |
| 1968 | enumerator: "FAIL_NO_CAPABILITY" |
| 1969 | scalar_value: { |
| 1970 | uint32_t: 7 |
| 1971 | } |
| 1972 | enumerator: "ABORTED" |
| 1973 | scalar_value: { |
| 1974 | uint32_t: 8 |
| 1975 | } |
| 1976 | enumerator: "FAIL_INVALID_TS" |
| 1977 | scalar_value: { |
| 1978 | uint32_t: 9 |
| 1979 | } |
| 1980 | enumerator: "FAIL_PROTOCOL" |
| 1981 | scalar_value: { |
| 1982 | uint32_t: 10 |
| 1983 | } |
| 1984 | enumerator: "FAIL_SCHEDULE" |
| 1985 | scalar_value: { |
| 1986 | uint32_t: 11 |
| 1987 | } |
| 1988 | enumerator: "FAIL_BUSY_TRY_LATER" |
| 1989 | scalar_value: { |
| 1990 | uint32_t: 12 |
| 1991 | } |
| 1992 | enumerator: "INVALID_REQ" |
| 1993 | scalar_value: { |
| 1994 | uint32_t: 13 |
| 1995 | } |
| 1996 | enumerator: "NO_WIFI" |
| 1997 | scalar_value: { |
| 1998 | uint32_t: 14 |
| 1999 | } |
| 2000 | enumerator: "FAIL_FTM_PARAM_OVERRIDE" |
| 2001 | scalar_value: { |
| 2002 | uint32_t: 15 |
| 2003 | } |
| 2004 | } |
| 2005 | } |
| 2006 | |
| 2007 | attribute: { |
| 2008 | name: "::android::hardware::wifi::V1_0::RttPeerType" |
| 2009 | type: TYPE_ENUM |
| 2010 | enum_value: { |
| 2011 | scalar_type: "uint32_t" |
| 2012 | |
| 2013 | enumerator: "AP" |
| 2014 | scalar_value: { |
| 2015 | uint32_t: 1 |
| 2016 | } |
| 2017 | enumerator: "STA" |
| 2018 | scalar_value: { |
| 2019 | uint32_t: 2 |
| 2020 | } |
| 2021 | enumerator: "P2P_GO" |
| 2022 | scalar_value: { |
| 2023 | uint32_t: 3 |
| 2024 | } |
| 2025 | enumerator: "P2P_CLIENT" |
| 2026 | scalar_value: { |
| 2027 | uint32_t: 4 |
| 2028 | } |
| 2029 | enumerator: "NAN" |
| 2030 | scalar_value: { |
| 2031 | uint32_t: 5 |
| 2032 | } |
| 2033 | } |
| 2034 | } |
| 2035 | |
| 2036 | attribute: { |
| 2037 | name: "::android::hardware::wifi::V1_0::RttBw" |
| 2038 | type: TYPE_ENUM |
| 2039 | enum_value: { |
| 2040 | scalar_type: "uint32_t" |
| 2041 | |
| 2042 | enumerator: "BW_5MHZ" |
| 2043 | scalar_value: { |
| 2044 | uint32_t: 1 |
| 2045 | } |
| 2046 | enumerator: "BW_10MHZ" |
| 2047 | scalar_value: { |
| 2048 | uint32_t: 2 |
| 2049 | } |
| 2050 | enumerator: "BW_20MHZ" |
| 2051 | scalar_value: { |
| 2052 | uint32_t: 4 |
| 2053 | } |
| 2054 | enumerator: "BW_40MHZ" |
| 2055 | scalar_value: { |
| 2056 | uint32_t: 8 |
| 2057 | } |
| 2058 | enumerator: "BW_80MHZ" |
| 2059 | scalar_value: { |
| 2060 | uint32_t: 16 |
| 2061 | } |
| 2062 | enumerator: "BW_160MHZ" |
| 2063 | scalar_value: { |
| 2064 | uint32_t: 32 |
| 2065 | } |
| 2066 | } |
| 2067 | } |
| 2068 | |
| 2069 | attribute: { |
| 2070 | name: "::android::hardware::wifi::V1_0::RttPreamble" |
| 2071 | type: TYPE_ENUM |
| 2072 | enum_value: { |
| 2073 | scalar_type: "uint32_t" |
| 2074 | |
| 2075 | enumerator: "LEGACY" |
| 2076 | scalar_value: { |
| 2077 | uint32_t: 1 |
| 2078 | } |
| 2079 | enumerator: "HT" |
| 2080 | scalar_value: { |
| 2081 | uint32_t: 2 |
| 2082 | } |
| 2083 | enumerator: "VHT" |
| 2084 | scalar_value: { |
| 2085 | uint32_t: 4 |
| 2086 | } |
| 2087 | } |
| 2088 | } |
| 2089 | |
| 2090 | attribute: { |
| 2091 | name: "::android::hardware::wifi::V1_0::RttType" |
| 2092 | type: TYPE_ENUM |
| 2093 | enum_value: { |
| 2094 | scalar_type: "uint32_t" |
| 2095 | |
| 2096 | enumerator: "ONE_SIDED" |
| 2097 | scalar_value: { |
| 2098 | uint32_t: 1 |
| 2099 | } |
| 2100 | enumerator: "TWO_SIDED" |
| 2101 | scalar_value: { |
| 2102 | uint32_t: 2 |
| 2103 | } |
| 2104 | } |
| 2105 | } |
| 2106 | |
| 2107 | attribute: { |
| 2108 | name: "::android::hardware::wifi::V1_0::RttConfig" |
| 2109 | type: TYPE_STRUCT |
| 2110 | struct_value: { |
| 2111 | name: "addr" |
| 2112 | type: TYPE_ARRAY |
| 2113 | vector_size: 6 |
| 2114 | vector_value: { |
| 2115 | type: TYPE_SCALAR |
| 2116 | scalar_type: "uint8_t" |
| 2117 | } |
| 2118 | } |
| 2119 | struct_value: { |
| 2120 | name: "type" |
| 2121 | type: TYPE_ENUM |
| 2122 | predefined_type: "::android::hardware::wifi::V1_0::RttType" |
| 2123 | } |
| 2124 | struct_value: { |
| 2125 | name: "peer" |
| 2126 | type: TYPE_ENUM |
| 2127 | predefined_type: "::android::hardware::wifi::V1_0::RttPeerType" |
| 2128 | } |
| 2129 | struct_value: { |
| 2130 | name: "channel" |
| 2131 | type: TYPE_STRUCT |
| 2132 | predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo" |
| 2133 | } |
| 2134 | struct_value: { |
| 2135 | name: "burstPeriod" |
| 2136 | type: TYPE_SCALAR |
| 2137 | scalar_type: "uint32_t" |
| 2138 | } |
| 2139 | struct_value: { |
| 2140 | name: "numBurst" |
| 2141 | type: TYPE_SCALAR |
| 2142 | scalar_type: "uint32_t" |
| 2143 | } |
| 2144 | struct_value: { |
| 2145 | name: "numFramesPerBurst" |
| 2146 | type: TYPE_SCALAR |
| 2147 | scalar_type: "uint32_t" |
| 2148 | } |
| 2149 | struct_value: { |
| 2150 | name: "numRetriesPerRttFrame" |
| 2151 | type: TYPE_SCALAR |
| 2152 | scalar_type: "uint32_t" |
| 2153 | } |
| 2154 | struct_value: { |
| 2155 | name: "numRetriesPerFtmr" |
| 2156 | type: TYPE_SCALAR |
| 2157 | scalar_type: "uint32_t" |
| 2158 | } |
| 2159 | struct_value: { |
| 2160 | name: "mustRequestLci" |
| 2161 | type: TYPE_SCALAR |
| 2162 | scalar_type: "bool_t" |
| 2163 | } |
| 2164 | struct_value: { |
| 2165 | name: "mustRequestLcr" |
| 2166 | type: TYPE_SCALAR |
| 2167 | scalar_type: "bool_t" |
| 2168 | } |
| 2169 | struct_value: { |
| 2170 | name: "burstDuration" |
| 2171 | type: TYPE_SCALAR |
| 2172 | scalar_type: "uint32_t" |
| 2173 | } |
| 2174 | struct_value: { |
| 2175 | name: "preamble" |
| 2176 | type: TYPE_ENUM |
| 2177 | predefined_type: "::android::hardware::wifi::V1_0::RttPreamble" |
| 2178 | } |
| 2179 | struct_value: { |
| 2180 | name: "bw" |
| 2181 | type: TYPE_ENUM |
| 2182 | predefined_type: "::android::hardware::wifi::V1_0::RttBw" |
| 2183 | } |
| 2184 | } |
| 2185 | |
| 2186 | attribute: { |
| 2187 | name: "::android::hardware::wifi::V1_0::RttResult" |
| 2188 | type: TYPE_STRUCT |
| 2189 | struct_value: { |
| 2190 | name: "addr" |
| 2191 | type: TYPE_ARRAY |
| 2192 | vector_size: 6 |
| 2193 | vector_value: { |
| 2194 | type: TYPE_SCALAR |
| 2195 | scalar_type: "uint8_t" |
| 2196 | } |
| 2197 | } |
| 2198 | struct_value: { |
| 2199 | name: "burstNum" |
| 2200 | type: TYPE_SCALAR |
| 2201 | scalar_type: "uint32_t" |
| 2202 | } |
| 2203 | struct_value: { |
| 2204 | name: "measurementNumber" |
| 2205 | type: TYPE_SCALAR |
| 2206 | scalar_type: "uint32_t" |
| 2207 | } |
| 2208 | struct_value: { |
| 2209 | name: "successNumber" |
| 2210 | type: TYPE_SCALAR |
| 2211 | scalar_type: "uint32_t" |
| 2212 | } |
| 2213 | struct_value: { |
| 2214 | name: "numberPerBurstPeer" |
| 2215 | type: TYPE_SCALAR |
| 2216 | scalar_type: "uint8_t" |
| 2217 | } |
| 2218 | struct_value: { |
| 2219 | name: "status" |
| 2220 | type: TYPE_ENUM |
| 2221 | predefined_type: "::android::hardware::wifi::V1_0::RttStatus" |
| 2222 | } |
| 2223 | struct_value: { |
| 2224 | name: "retryAfterDuration" |
| 2225 | type: TYPE_SCALAR |
| 2226 | scalar_type: "uint8_t" |
| 2227 | } |
| 2228 | struct_value: { |
| 2229 | name: "type" |
| 2230 | type: TYPE_ENUM |
| 2231 | predefined_type: "::android::hardware::wifi::V1_0::RttType" |
| 2232 | } |
| 2233 | struct_value: { |
| 2234 | name: "rssi" |
| 2235 | type: TYPE_SCALAR |
| 2236 | scalar_type: "int32_t" |
| 2237 | } |
| 2238 | struct_value: { |
| 2239 | name: "rssiSpread" |
| 2240 | type: TYPE_SCALAR |
| 2241 | scalar_type: "int32_t" |
| 2242 | } |
| 2243 | struct_value: { |
| 2244 | name: "txRate" |
| 2245 | type: TYPE_STRUCT |
| 2246 | predefined_type: "::android::hardware::wifi::V1_0::WifiRateInfo" |
| 2247 | } |
| 2248 | struct_value: { |
| 2249 | name: "rxRate" |
| 2250 | type: TYPE_STRUCT |
| 2251 | predefined_type: "::android::hardware::wifi::V1_0::WifiRateInfo" |
| 2252 | } |
| 2253 | struct_value: { |
| 2254 | name: "rtt" |
| 2255 | type: TYPE_SCALAR |
| 2256 | scalar_type: "uint64_t" |
| 2257 | } |
| 2258 | struct_value: { |
| 2259 | name: "rttSd" |
| 2260 | type: TYPE_SCALAR |
| 2261 | scalar_type: "uint64_t" |
| 2262 | } |
| 2263 | struct_value: { |
| 2264 | name: "rttSpread" |
| 2265 | type: TYPE_SCALAR |
| 2266 | scalar_type: "uint64_t" |
| 2267 | } |
| 2268 | struct_value: { |
| 2269 | name: "distanceInMm" |
| 2270 | type: TYPE_SCALAR |
| 2271 | scalar_type: "int32_t" |
| 2272 | } |
| 2273 | struct_value: { |
| 2274 | name: "distanceSdInMm" |
| 2275 | type: TYPE_SCALAR |
| 2276 | scalar_type: "int32_t" |
| 2277 | } |
| 2278 | struct_value: { |
| 2279 | name: "distanceSpreadInMm" |
| 2280 | type: TYPE_SCALAR |
| 2281 | scalar_type: "int32_t" |
| 2282 | } |
| 2283 | struct_value: { |
| 2284 | name: "timeStampInUs" |
| 2285 | type: TYPE_SCALAR |
| 2286 | scalar_type: "uint64_t" |
| 2287 | } |
| 2288 | struct_value: { |
| 2289 | name: "burstDurationInMs" |
| 2290 | type: TYPE_SCALAR |
| 2291 | scalar_type: "uint32_t" |
| 2292 | } |
| 2293 | struct_value: { |
| 2294 | name: "negotiatedBurstNum" |
| 2295 | type: TYPE_SCALAR |
| 2296 | scalar_type: "uint32_t" |
| 2297 | } |
| 2298 | struct_value: { |
| 2299 | name: "lci" |
| 2300 | type: TYPE_STRUCT |
| 2301 | predefined_type: "::android::hardware::wifi::V1_0::WifiInformationElement" |
| 2302 | } |
| 2303 | struct_value: { |
| 2304 | name: "lcr" |
| 2305 | type: TYPE_STRUCT |
| 2306 | predefined_type: "::android::hardware::wifi::V1_0::WifiInformationElement" |
| 2307 | } |
| 2308 | } |
| 2309 | |
| 2310 | attribute: { |
| 2311 | name: "::android::hardware::wifi::V1_0::RttCapabilities" |
| 2312 | type: TYPE_STRUCT |
| 2313 | struct_value: { |
| 2314 | name: "rttOneSidedSupported" |
| 2315 | type: TYPE_SCALAR |
| 2316 | scalar_type: "bool_t" |
| 2317 | } |
| 2318 | struct_value: { |
| 2319 | name: "rttFtmSupported" |
| 2320 | type: TYPE_SCALAR |
| 2321 | scalar_type: "bool_t" |
| 2322 | } |
| 2323 | struct_value: { |
| 2324 | name: "lciSupported" |
| 2325 | type: TYPE_SCALAR |
| 2326 | scalar_type: "bool_t" |
| 2327 | } |
| 2328 | struct_value: { |
| 2329 | name: "lcrSupported" |
| 2330 | type: TYPE_SCALAR |
| 2331 | scalar_type: "bool_t" |
| 2332 | } |
| 2333 | struct_value: { |
| 2334 | name: "responderSupported" |
| 2335 | type: TYPE_SCALAR |
| 2336 | scalar_type: "bool_t" |
| 2337 | } |
| 2338 | struct_value: { |
| 2339 | name: "preambleSupport" |
| 2340 | type: TYPE_MASK |
| 2341 | scalar_type: "uint32_t" |
| 2342 | predefined_type: "::android::hardware::wifi::V1_0::RttPreamble" |
| 2343 | } |
| 2344 | struct_value: { |
| 2345 | name: "bwSupport" |
| 2346 | type: TYPE_MASK |
| 2347 | scalar_type: "uint32_t" |
| 2348 | predefined_type: "::android::hardware::wifi::V1_0::RttBw" |
| 2349 | } |
| 2350 | struct_value: { |
| 2351 | name: "mcVersion" |
| 2352 | type: TYPE_SCALAR |
| 2353 | scalar_type: "uint8_t" |
| 2354 | } |
| 2355 | } |
| 2356 | |
| 2357 | attribute: { |
| 2358 | name: "::android::hardware::wifi::V1_0::RttMotionPattern" |
| 2359 | type: TYPE_ENUM |
| 2360 | enum_value: { |
| 2361 | scalar_type: "uint32_t" |
| 2362 | |
| 2363 | enumerator: "NOT_EXPECTED" |
| 2364 | scalar_value: { |
| 2365 | uint32_t: 0 |
| 2366 | } |
| 2367 | enumerator: "EXPECTED" |
| 2368 | scalar_value: { |
| 2369 | uint32_t: 1 |
| 2370 | } |
| 2371 | enumerator: "UNKNOWN" |
| 2372 | scalar_value: { |
| 2373 | uint32_t: 2 |
| 2374 | } |
| 2375 | } |
| 2376 | } |
| 2377 | |
| 2378 | attribute: { |
| 2379 | name: "::android::hardware::wifi::V1_0::RttLciInformation" |
| 2380 | type: TYPE_STRUCT |
| 2381 | struct_value: { |
| 2382 | name: "latitude" |
| 2383 | type: TYPE_SCALAR |
| 2384 | scalar_type: "int64_t" |
| 2385 | } |
| 2386 | struct_value: { |
| 2387 | name: "longitude" |
| 2388 | type: TYPE_SCALAR |
| 2389 | scalar_type: "int64_t" |
| 2390 | } |
| 2391 | struct_value: { |
| 2392 | name: "altitude" |
| 2393 | type: TYPE_SCALAR |
| 2394 | scalar_type: "int32_t" |
| 2395 | } |
| 2396 | struct_value: { |
| 2397 | name: "latitudeUnc" |
| 2398 | type: TYPE_SCALAR |
| 2399 | scalar_type: "uint8_t" |
| 2400 | } |
| 2401 | struct_value: { |
| 2402 | name: "longitudeUnc" |
| 2403 | type: TYPE_SCALAR |
| 2404 | scalar_type: "uint8_t" |
| 2405 | } |
| 2406 | struct_value: { |
| 2407 | name: "altitudeUnc" |
| 2408 | type: TYPE_SCALAR |
| 2409 | scalar_type: "uint8_t" |
| 2410 | } |
| 2411 | struct_value: { |
| 2412 | name: "motionPattern" |
| 2413 | type: TYPE_ENUM |
| 2414 | predefined_type: "::android::hardware::wifi::V1_0::RttMotionPattern" |
| 2415 | } |
| 2416 | struct_value: { |
| 2417 | name: "floor" |
| 2418 | type: TYPE_SCALAR |
| 2419 | scalar_type: "int32_t" |
| 2420 | } |
| 2421 | struct_value: { |
| 2422 | name: "heightAboveFloor" |
| 2423 | type: TYPE_SCALAR |
| 2424 | scalar_type: "int32_t" |
| 2425 | } |
| 2426 | struct_value: { |
| 2427 | name: "heightUnc" |
| 2428 | type: TYPE_SCALAR |
| 2429 | scalar_type: "int32_t" |
| 2430 | } |
| 2431 | } |
| 2432 | |
| 2433 | attribute: { |
| 2434 | name: "::android::hardware::wifi::V1_0::RttLcrInformation" |
| 2435 | type: TYPE_STRUCT |
| 2436 | struct_value: { |
| 2437 | name: "countryCode" |
| 2438 | type: TYPE_ARRAY |
| 2439 | vector_size: 2 |
| 2440 | vector_value: { |
| 2441 | type: TYPE_SCALAR |
| 2442 | scalar_type: "int8_t" |
| 2443 | } |
| 2444 | } |
| 2445 | struct_value: { |
| 2446 | name: "civicInfo" |
| 2447 | type: TYPE_STRING |
| 2448 | } |
| 2449 | } |
| 2450 | |
| 2451 | attribute: { |
| 2452 | name: "::android::hardware::wifi::V1_0::RttResponder" |
| 2453 | type: TYPE_STRUCT |
| 2454 | struct_value: { |
| 2455 | name: "channel" |
| 2456 | type: TYPE_STRUCT |
| 2457 | predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo" |
| 2458 | } |
| 2459 | struct_value: { |
| 2460 | name: "preamble" |
| 2461 | type: TYPE_ENUM |
| 2462 | predefined_type: "::android::hardware::wifi::V1_0::RttPreamble" |
| 2463 | } |
| 2464 | } |
| 2465 | |
| 2466 | attribute: { |
| 2467 | name: "::android::hardware::wifi::V1_0::WifiDebugRingBufferFlags" |
| 2468 | type: TYPE_ENUM |
| 2469 | enum_value: { |
| 2470 | scalar_type: "uint32_t" |
| 2471 | |
| 2472 | enumerator: "HAS_BINARY_ENTRIES" |
| 2473 | scalar_value: { |
| 2474 | uint32_t: 1 |
| 2475 | } |
| 2476 | enumerator: "HAS_ASCII_ENTRIES" |
| 2477 | scalar_value: { |
| 2478 | uint32_t: 2 |
| 2479 | } |
| 2480 | enumerator: "HAS_PER_PACKET_ENTRIES" |
| 2481 | scalar_value: { |
| 2482 | uint32_t: 4 |
| 2483 | } |
| 2484 | } |
| 2485 | } |
| 2486 | |
| 2487 | attribute: { |
| 2488 | name: "::android::hardware::wifi::V1_0::WifiDebugRingBufferStatus" |
| 2489 | type: TYPE_STRUCT |
| 2490 | struct_value: { |
| 2491 | name: "ringName" |
| 2492 | type: TYPE_STRING |
| 2493 | } |
| 2494 | struct_value: { |
| 2495 | name: "flags" |
| 2496 | type: TYPE_SCALAR |
| 2497 | scalar_type: "uint32_t" |
| 2498 | } |
| 2499 | struct_value: { |
| 2500 | name: "ringId" |
| 2501 | type: TYPE_SCALAR |
| 2502 | scalar_type: "uint32_t" |
| 2503 | } |
| 2504 | struct_value: { |
| 2505 | name: "sizeInBytes" |
| 2506 | type: TYPE_SCALAR |
| 2507 | scalar_type: "uint32_t" |
| 2508 | } |
| 2509 | struct_value: { |
| 2510 | name: "freeSizeInBytes" |
| 2511 | type: TYPE_SCALAR |
| 2512 | scalar_type: "uint32_t" |
| 2513 | } |
| 2514 | struct_value: { |
| 2515 | name: "verboseLevel" |
| 2516 | type: TYPE_SCALAR |
| 2517 | scalar_type: "uint32_t" |
| 2518 | } |
| 2519 | } |
| 2520 | |
| 2521 | attribute: { |
| 2522 | name: "::android::hardware::wifi::V1_0::WifiDebugRingBufferVerboseLevel" |
| 2523 | type: TYPE_ENUM |
| 2524 | enum_value: { |
| 2525 | scalar_type: "uint32_t" |
| 2526 | |
| 2527 | enumerator: "NONE" |
| 2528 | scalar_value: { |
| 2529 | uint32_t: 0 |
| 2530 | } |
| 2531 | enumerator: "DEFAULT" |
| 2532 | scalar_value: { |
| 2533 | uint32_t: 1 |
| 2534 | } |
| 2535 | enumerator: "VERBOSE" |
| 2536 | scalar_value: { |
| 2537 | uint32_t: 2 |
| 2538 | } |
| 2539 | enumerator: "EXCESSIVE" |
| 2540 | scalar_value: { |
| 2541 | uint32_t: 3 |
| 2542 | } |
| 2543 | } |
| 2544 | } |
| 2545 | |
| 2546 | attribute: { |
| 2547 | name: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFate" |
| 2548 | type: TYPE_ENUM |
| 2549 | enum_value: { |
| 2550 | scalar_type: "uint32_t" |
| 2551 | |
| 2552 | enumerator: "ACKED" |
| 2553 | scalar_value: { |
| 2554 | uint32_t: 0 |
| 2555 | } |
| 2556 | enumerator: "SENT" |
| 2557 | scalar_value: { |
| 2558 | uint32_t: 1 |
| 2559 | } |
| 2560 | enumerator: "FW_QUEUED" |
| 2561 | scalar_value: { |
| 2562 | uint32_t: 2 |
| 2563 | } |
| 2564 | enumerator: "FW_DROP_INVALID" |
| 2565 | scalar_value: { |
| 2566 | uint32_t: 3 |
| 2567 | } |
| 2568 | enumerator: "FW_DROP_NOBUFS" |
| 2569 | scalar_value: { |
| 2570 | uint32_t: 4 |
| 2571 | } |
| 2572 | enumerator: "FW_DROP_OTHER" |
| 2573 | scalar_value: { |
| 2574 | uint32_t: 5 |
| 2575 | } |
| 2576 | enumerator: "DRV_QUEUED" |
| 2577 | scalar_value: { |
| 2578 | uint32_t: 6 |
| 2579 | } |
| 2580 | enumerator: "DRV_DROP_INVALID" |
| 2581 | scalar_value: { |
| 2582 | uint32_t: 7 |
| 2583 | } |
| 2584 | enumerator: "DRV_DROP_NOBUFS" |
| 2585 | scalar_value: { |
| 2586 | uint32_t: 8 |
| 2587 | } |
| 2588 | enumerator: "DRV_DROP_OTHER" |
| 2589 | scalar_value: { |
| 2590 | uint32_t: 9 |
| 2591 | } |
| 2592 | } |
| 2593 | } |
| 2594 | |
| 2595 | attribute: { |
| 2596 | name: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFate" |
| 2597 | type: TYPE_ENUM |
| 2598 | enum_value: { |
| 2599 | scalar_type: "uint32_t" |
| 2600 | |
| 2601 | enumerator: "SUCCESS" |
| 2602 | scalar_value: { |
| 2603 | uint32_t: 0 |
| 2604 | } |
| 2605 | enumerator: "FW_QUEUED" |
| 2606 | scalar_value: { |
| 2607 | uint32_t: 1 |
| 2608 | } |
| 2609 | enumerator: "FW_DROP_FILTER" |
| 2610 | scalar_value: { |
| 2611 | uint32_t: 2 |
| 2612 | } |
| 2613 | enumerator: "FW_DROP_INVALID" |
| 2614 | scalar_value: { |
| 2615 | uint32_t: 3 |
| 2616 | } |
| 2617 | enumerator: "FW_DROP_NOBUFS" |
| 2618 | scalar_value: { |
| 2619 | uint32_t: 4 |
| 2620 | } |
| 2621 | enumerator: "FW_DROP_OTHER" |
| 2622 | scalar_value: { |
| 2623 | uint32_t: 5 |
| 2624 | } |
| 2625 | enumerator: "DRV_QUEUED" |
| 2626 | scalar_value: { |
| 2627 | uint32_t: 6 |
| 2628 | } |
| 2629 | enumerator: "DRV_DROP_FILTER" |
| 2630 | scalar_value: { |
| 2631 | uint32_t: 7 |
| 2632 | } |
| 2633 | enumerator: "DRV_DROP_INVALID" |
| 2634 | scalar_value: { |
| 2635 | uint32_t: 8 |
| 2636 | } |
| 2637 | enumerator: "DRV_DROP_NOBUFS" |
| 2638 | scalar_value: { |
| 2639 | uint32_t: 9 |
| 2640 | } |
| 2641 | enumerator: "DRV_DROP_OTHER" |
| 2642 | scalar_value: { |
| 2643 | uint32_t: 10 |
| 2644 | } |
| 2645 | } |
| 2646 | } |
| 2647 | |
| 2648 | attribute: { |
| 2649 | name: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameType" |
| 2650 | type: TYPE_ENUM |
| 2651 | enum_value: { |
| 2652 | scalar_type: "uint32_t" |
| 2653 | |
| 2654 | enumerator: "UNKNOWN" |
| 2655 | scalar_value: { |
| 2656 | uint32_t: 0 |
| 2657 | } |
| 2658 | enumerator: "ETHERNET_II" |
| 2659 | scalar_value: { |
| 2660 | uint32_t: 1 |
| 2661 | } |
| 2662 | enumerator: "MGMT_80211" |
| 2663 | scalar_value: { |
| 2664 | uint32_t: 2 |
| 2665 | } |
| 2666 | } |
| 2667 | } |
| 2668 | |
| 2669 | attribute: { |
| 2670 | name: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameInfo" |
| 2671 | type: TYPE_STRUCT |
| 2672 | struct_value: { |
| 2673 | name: "frameType" |
| 2674 | type: TYPE_ENUM |
| 2675 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameType" |
| 2676 | } |
| 2677 | struct_value: { |
| 2678 | name: "frameLen" |
| 2679 | type: TYPE_SCALAR |
| 2680 | scalar_type: "uint64_t" |
| 2681 | } |
| 2682 | struct_value: { |
| 2683 | name: "driverTimestampUsec" |
| 2684 | type: TYPE_SCALAR |
| 2685 | scalar_type: "uint64_t" |
| 2686 | } |
| 2687 | struct_value: { |
| 2688 | name: "firmwareTimestampUsec" |
| 2689 | type: TYPE_SCALAR |
| 2690 | scalar_type: "uint64_t" |
| 2691 | } |
| 2692 | struct_value: { |
| 2693 | name: "frameContent" |
| 2694 | type: TYPE_VECTOR |
| 2695 | vector_value: { |
| 2696 | type: TYPE_SCALAR |
| 2697 | scalar_type: "uint8_t" |
| 2698 | } |
| 2699 | } |
| 2700 | } |
| 2701 | |
| 2702 | attribute: { |
| 2703 | name: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFateReport" |
| 2704 | type: TYPE_STRUCT |
| 2705 | struct_value: { |
| 2706 | name: "fate" |
| 2707 | type: TYPE_ENUM |
| 2708 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugTxPacketFate" |
| 2709 | } |
| 2710 | struct_value: { |
| 2711 | name: "frameInfo" |
| 2712 | type: TYPE_STRUCT |
| 2713 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameInfo" |
| 2714 | } |
| 2715 | } |
| 2716 | |
| 2717 | attribute: { |
| 2718 | name: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFateReport" |
| 2719 | type: TYPE_STRUCT |
| 2720 | struct_value: { |
| 2721 | name: "fate" |
| 2722 | type: TYPE_ENUM |
| 2723 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRxPacketFate" |
| 2724 | } |
| 2725 | struct_value: { |
| 2726 | name: "frameInfo" |
| 2727 | type: TYPE_STRUCT |
| 2728 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugPacketFateFrameInfo" |
| 2729 | } |
| 2730 | } |
| 2731 | |
| 2732 | attribute: { |
| 2733 | name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxPacketDetails" |
| 2734 | type: TYPE_STRUCT |
| 2735 | struct_value: { |
| 2736 | name: "rxUnicastCnt" |
| 2737 | type: TYPE_SCALAR |
| 2738 | scalar_type: "uint32_t" |
| 2739 | } |
| 2740 | struct_value: { |
| 2741 | name: "rxMulticastCnt" |
| 2742 | type: TYPE_SCALAR |
| 2743 | scalar_type: "uint32_t" |
| 2744 | } |
| 2745 | struct_value: { |
| 2746 | name: "rxBroadcastCnt" |
| 2747 | type: TYPE_SCALAR |
| 2748 | scalar_type: "uint32_t" |
| 2749 | } |
| 2750 | } |
| 2751 | |
| 2752 | attribute: { |
| 2753 | name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxMulticastPacketDetails" |
| 2754 | type: TYPE_STRUCT |
| 2755 | struct_value: { |
| 2756 | name: "ipv4RxMulticastAddrCnt" |
| 2757 | type: TYPE_SCALAR |
| 2758 | scalar_type: "uint32_t" |
| 2759 | } |
| 2760 | struct_value: { |
| 2761 | name: "ipv6RxMulticastAddrCnt" |
| 2762 | type: TYPE_SCALAR |
| 2763 | scalar_type: "uint32_t" |
| 2764 | } |
| 2765 | struct_value: { |
| 2766 | name: "otherRxMulticastAddrCnt" |
| 2767 | type: TYPE_SCALAR |
| 2768 | scalar_type: "uint32_t" |
| 2769 | } |
| 2770 | } |
| 2771 | |
| 2772 | attribute: { |
| 2773 | name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxIcmpPacketDetails" |
| 2774 | type: TYPE_STRUCT |
| 2775 | struct_value: { |
| 2776 | name: "icmpPkt" |
| 2777 | type: TYPE_SCALAR |
| 2778 | scalar_type: "uint32_t" |
| 2779 | } |
| 2780 | struct_value: { |
| 2781 | name: "icmp6Pkt" |
| 2782 | type: TYPE_SCALAR |
| 2783 | scalar_type: "uint32_t" |
| 2784 | } |
| 2785 | struct_value: { |
| 2786 | name: "icmp6Ra" |
| 2787 | type: TYPE_SCALAR |
| 2788 | scalar_type: "uint32_t" |
| 2789 | } |
| 2790 | struct_value: { |
| 2791 | name: "icmp6Na" |
| 2792 | type: TYPE_SCALAR |
| 2793 | scalar_type: "uint32_t" |
| 2794 | } |
| 2795 | struct_value: { |
| 2796 | name: "icmp6Ns" |
| 2797 | type: TYPE_SCALAR |
| 2798 | scalar_type: "uint32_t" |
| 2799 | } |
| 2800 | } |
| 2801 | |
| 2802 | attribute: { |
| 2803 | name: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonStats" |
| 2804 | type: TYPE_STRUCT |
| 2805 | struct_value: { |
| 2806 | name: "totalCmdEventWakeCnt" |
| 2807 | type: TYPE_SCALAR |
| 2808 | scalar_type: "uint32_t" |
| 2809 | } |
| 2810 | struct_value: { |
| 2811 | name: "cmdEventWakeCntPerType" |
| 2812 | type: TYPE_VECTOR |
| 2813 | vector_value: { |
| 2814 | type: TYPE_SCALAR |
| 2815 | scalar_type: "uint32_t" |
| 2816 | } |
| 2817 | } |
| 2818 | struct_value: { |
| 2819 | name: "totalDriverFwLocalWakeCnt" |
| 2820 | type: TYPE_SCALAR |
| 2821 | scalar_type: "uint32_t" |
| 2822 | } |
| 2823 | struct_value: { |
| 2824 | name: "driverFwLocalWakeCntPerType" |
| 2825 | type: TYPE_VECTOR |
| 2826 | vector_value: { |
| 2827 | type: TYPE_SCALAR |
| 2828 | scalar_type: "uint32_t" |
| 2829 | } |
| 2830 | } |
| 2831 | struct_value: { |
| 2832 | name: "totalRxPacketWakeCnt" |
| 2833 | type: TYPE_SCALAR |
| 2834 | scalar_type: "uint32_t" |
| 2835 | } |
| 2836 | struct_value: { |
| 2837 | name: "rxPktWakeDetails" |
| 2838 | type: TYPE_STRUCT |
| 2839 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxPacketDetails" |
| 2840 | } |
| 2841 | struct_value: { |
| 2842 | name: "rxMulticastPkWakeDetails" |
| 2843 | type: TYPE_STRUCT |
| 2844 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxMulticastPacketDetails" |
| 2845 | } |
| 2846 | struct_value: { |
| 2847 | name: "rxIcmpPkWakeDetails" |
| 2848 | type: TYPE_STRUCT |
| 2849 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonRxIcmpPacketDetails" |
| 2850 | } |
| 2851 | } |
| 2852 | |
| 2853 | attribute: { |
| 2854 | name: "::android::hidl::base::V1_0::DebugInfo" |
| 2855 | type: TYPE_STRUCT |
| 2856 | struct_value: { |
| 2857 | name: "pid" |
| 2858 | type: TYPE_SCALAR |
| 2859 | scalar_type: "int32_t" |
| 2860 | } |
| 2861 | struct_value: { |
| 2862 | name: "ptr" |
| 2863 | type: TYPE_SCALAR |
| 2864 | scalar_type: "uint64_t" |
| 2865 | } |
| 2866 | } |
| 2867 | |
| 2868 | attribute: { |
| 2869 | name: "::android::hardware::wifi::V1_0::IWifiStaIface::StaIfaceCapabilityMask" |
| 2870 | type: TYPE_ENUM |
| 2871 | enum_value: { |
| 2872 | scalar_type: "uint32_t" |
| 2873 | |
| 2874 | enumerator: "APF" |
| 2875 | scalar_value: { |
| 2876 | uint32_t: 1 |
| 2877 | } |
| 2878 | enumerator: "BACKGROUND_SCAN" |
| 2879 | scalar_value: { |
| 2880 | uint32_t: 2 |
| 2881 | } |
| 2882 | enumerator: "LINK_LAYER_STATS" |
| 2883 | scalar_value: { |
| 2884 | uint32_t: 4 |
| 2885 | } |
| 2886 | enumerator: "RSSI_MONITOR" |
| 2887 | scalar_value: { |
| 2888 | uint32_t: 8 |
| 2889 | } |
| 2890 | enumerator: "CONTROL_ROAMING" |
| 2891 | scalar_value: { |
| 2892 | uint32_t: 16 |
| 2893 | } |
| 2894 | enumerator: "PROBE_IE_WHITELIST" |
| 2895 | scalar_value: { |
| 2896 | uint32_t: 32 |
| 2897 | } |
| 2898 | enumerator: "SCAN_RAND" |
| 2899 | scalar_value: { |
| 2900 | uint32_t: 64 |
| 2901 | } |
| 2902 | enumerator: "STA_5G" |
| 2903 | scalar_value: { |
| 2904 | uint32_t: 128 |
| 2905 | } |
| 2906 | enumerator: "HOTSPOT" |
| 2907 | scalar_value: { |
| 2908 | uint32_t: 256 |
| 2909 | } |
| 2910 | enumerator: "PNO" |
| 2911 | scalar_value: { |
| 2912 | uint32_t: 512 |
| 2913 | } |
| 2914 | enumerator: "TDLS" |
| 2915 | scalar_value: { |
| 2916 | uint32_t: 1024 |
| 2917 | } |
| 2918 | enumerator: "TDLS_OFFCHANNEL" |
| 2919 | scalar_value: { |
| 2920 | uint32_t: 2048 |
| 2921 | } |
| 2922 | enumerator: "ND_OFFLOAD" |
| 2923 | scalar_value: { |
| 2924 | uint32_t: 4096 |
| 2925 | } |
| 2926 | enumerator: "KEEP_ALIVE" |
| 2927 | scalar_value: { |
| 2928 | uint32_t: 8192 |
| 2929 | } |
| 2930 | enumerator: "DEBUG_PACKET_FATE" |
| 2931 | scalar_value: { |
| 2932 | uint32_t: 16384 |
| 2933 | } |
| 2934 | } |
| 2935 | } |
| 2936 | |
| 2937 | attribute: { |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 2938 | name: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombinationLimit" |
| 2939 | type: TYPE_STRUCT |
| 2940 | struct_value: { |
| 2941 | name: "types" |
| 2942 | type: TYPE_VECTOR |
| 2943 | vector_value: { |
| 2944 | type: TYPE_ENUM |
| 2945 | predefined_type: "::android::hardware::wifi::V1_0::IfaceType" |
| 2946 | } |
| 2947 | } |
| 2948 | struct_value: { |
| 2949 | name: "maxIfaces" |
| 2950 | type: TYPE_SCALAR |
| 2951 | scalar_type: "uint32_t" |
| 2952 | } |
| 2953 | } |
| 2954 | |
| 2955 | attribute: { |
| 2956 | name: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombination" |
| 2957 | type: TYPE_STRUCT |
| 2958 | struct_value: { |
| 2959 | name: "limits" |
| 2960 | type: TYPE_VECTOR |
| 2961 | vector_value: { |
| 2962 | type: TYPE_STRUCT |
| 2963 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombinationLimit" |
| 2964 | } |
| 2965 | } |
| 2966 | } |
| 2967 | |
| 2968 | attribute: { |
| 2969 | name: "::android::hardware::wifi::V1_0::IWifiChip::ChipMode" |
| 2970 | type: TYPE_STRUCT |
| 2971 | struct_value: { |
| 2972 | name: "id" |
| 2973 | type: TYPE_SCALAR |
| 2974 | scalar_type: "uint32_t" |
| 2975 | } |
| 2976 | struct_value: { |
| 2977 | name: "availableCombinations" |
| 2978 | type: TYPE_VECTOR |
| 2979 | vector_value: { |
| 2980 | type: TYPE_STRUCT |
| 2981 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipIfaceCombination" |
| 2982 | } |
| 2983 | } |
| 2984 | } |
| 2985 | |
| 2986 | attribute: { |
| 2987 | name: "::android::hardware::wifi::V1_0::IWifiChip::ChipDebugInfo" |
| 2988 | type: TYPE_STRUCT |
| 2989 | struct_value: { |
| 2990 | name: "driverDescription" |
| 2991 | type: TYPE_STRING |
| 2992 | } |
| 2993 | struct_value: { |
| 2994 | name: "firmwareDescription" |
| 2995 | type: TYPE_STRING |
| 2996 | } |
| 2997 | } |
| 2998 | |
| 2999 | attribute: { |
| 3000 | name: "::android::hardware::wifi::V1_0::IWifiChip::ChipCapabilityMask" |
| 3001 | type: TYPE_ENUM |
| 3002 | enum_value: { |
| 3003 | scalar_type: "uint32_t" |
| 3004 | |
| 3005 | enumerator: "DEBUG_MEMORY_FIRMWARE_DUMP" |
| 3006 | scalar_value: { |
| 3007 | uint32_t: 1 |
| 3008 | } |
| 3009 | enumerator: "DEBUG_MEMORY_DRIVER_DUMP" |
| 3010 | scalar_value: { |
| 3011 | uint32_t: 2 |
| 3012 | } |
| 3013 | enumerator: "DEBUG_RING_BUFFER_CONNECT_EVENT" |
| 3014 | scalar_value: { |
| 3015 | uint32_t: 4 |
| 3016 | } |
| 3017 | enumerator: "DEBUG_RING_BUFFER_POWER_EVENT" |
| 3018 | scalar_value: { |
| 3019 | uint32_t: 8 |
| 3020 | } |
| 3021 | enumerator: "DEBUG_RING_BUFFER_WAKELOCK_EVENT" |
| 3022 | scalar_value: { |
| 3023 | uint32_t: 16 |
| 3024 | } |
| 3025 | enumerator: "DEBUG_RING_BUFFER_VENDOR_DATA" |
| 3026 | scalar_value: { |
| 3027 | uint32_t: 32 |
| 3028 | } |
| 3029 | enumerator: "DEBUG_HOST_WAKE_REASON_STATS" |
| 3030 | scalar_value: { |
| 3031 | uint32_t: 64 |
| 3032 | } |
| 3033 | enumerator: "DEBUG_ERROR_ALERTS" |
| 3034 | scalar_value: { |
| 3035 | uint32_t: 128 |
| 3036 | } |
| 3037 | } |
| 3038 | } |
| 3039 | |
| 3040 | api: { |
| 3041 | name: "getId" |
| 3042 | return_type_hidl: { |
| 3043 | type: TYPE_STRUCT |
| 3044 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3045 | } |
| 3046 | return_type_hidl: { |
| 3047 | type: TYPE_SCALAR |
| 3048 | scalar_type: "uint32_t" |
| 3049 | } |
| 3050 | } |
| 3051 | |
| 3052 | api: { |
| 3053 | name: "registerEventCallback" |
| 3054 | return_type_hidl: { |
| 3055 | type: TYPE_STRUCT |
| 3056 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3057 | } |
| 3058 | arg: { |
| 3059 | type: TYPE_HIDL_CALLBACK |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3060 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChipEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3061 | } |
| 3062 | } |
| 3063 | |
| 3064 | api: { |
| 3065 | name: "getCapabilities" |
| 3066 | return_type_hidl: { |
| 3067 | type: TYPE_STRUCT |
| 3068 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3069 | } |
| 3070 | return_type_hidl: { |
| 3071 | type: TYPE_MASK |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3072 | scalar_type: "uint32_t" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3073 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipCapabilityMask" |
| 3074 | } |
| 3075 | } |
| 3076 | |
| 3077 | api: { |
| 3078 | name: "getAvailableModes" |
| 3079 | return_type_hidl: { |
| 3080 | type: TYPE_STRUCT |
| 3081 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3082 | } |
| 3083 | return_type_hidl: { |
| 3084 | type: TYPE_VECTOR |
| 3085 | vector_value: { |
| 3086 | type: TYPE_STRUCT |
| 3087 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipMode" |
| 3088 | } |
| 3089 | } |
| 3090 | } |
| 3091 | |
| 3092 | api: { |
| 3093 | name: "configureChip" |
| 3094 | return_type_hidl: { |
| 3095 | type: TYPE_STRUCT |
| 3096 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3097 | } |
| 3098 | arg: { |
| 3099 | type: TYPE_SCALAR |
| 3100 | scalar_type: "uint32_t" |
| 3101 | } |
| 3102 | } |
| 3103 | |
| 3104 | api: { |
| 3105 | name: "getMode" |
| 3106 | return_type_hidl: { |
| 3107 | type: TYPE_STRUCT |
| 3108 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3109 | } |
| 3110 | return_type_hidl: { |
| 3111 | type: TYPE_SCALAR |
| 3112 | scalar_type: "uint32_t" |
| 3113 | } |
| 3114 | } |
| 3115 | |
| 3116 | api: { |
| 3117 | name: "requestChipDebugInfo" |
| 3118 | return_type_hidl: { |
| 3119 | type: TYPE_STRUCT |
| 3120 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3121 | } |
| 3122 | return_type_hidl: { |
| 3123 | type: TYPE_STRUCT |
| 3124 | predefined_type: "::android::hardware::wifi::V1_0::IWifiChip::ChipDebugInfo" |
| 3125 | } |
| 3126 | } |
| 3127 | |
| 3128 | api: { |
| 3129 | name: "requestDriverDebugDump" |
| 3130 | return_type_hidl: { |
| 3131 | type: TYPE_STRUCT |
| 3132 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3133 | } |
| 3134 | return_type_hidl: { |
| 3135 | type: TYPE_VECTOR |
| 3136 | vector_value: { |
| 3137 | type: TYPE_SCALAR |
| 3138 | scalar_type: "uint8_t" |
| 3139 | } |
| 3140 | } |
| 3141 | } |
| 3142 | |
| 3143 | api: { |
| 3144 | name: "requestFirmwareDebugDump" |
| 3145 | return_type_hidl: { |
| 3146 | type: TYPE_STRUCT |
| 3147 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3148 | } |
| 3149 | return_type_hidl: { |
| 3150 | type: TYPE_VECTOR |
| 3151 | vector_value: { |
| 3152 | type: TYPE_SCALAR |
| 3153 | scalar_type: "uint8_t" |
| 3154 | } |
| 3155 | } |
| 3156 | } |
| 3157 | |
| 3158 | api: { |
| 3159 | name: "createApIface" |
| 3160 | return_type_hidl: { |
| 3161 | type: TYPE_STRUCT |
| 3162 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3163 | } |
| 3164 | return_type_hidl: { |
| 3165 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3166 | predefined_type: "::android::hardware::wifi::V1_0::IWifiApIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3167 | } |
| 3168 | } |
| 3169 | |
| 3170 | api: { |
| 3171 | name: "getApIfaceNames" |
| 3172 | return_type_hidl: { |
| 3173 | type: TYPE_STRUCT |
| 3174 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3175 | } |
| 3176 | return_type_hidl: { |
| 3177 | type: TYPE_VECTOR |
| 3178 | vector_value: { |
| 3179 | type: TYPE_STRING |
| 3180 | } |
| 3181 | } |
| 3182 | } |
| 3183 | |
| 3184 | api: { |
| 3185 | name: "getApIface" |
| 3186 | return_type_hidl: { |
| 3187 | type: TYPE_STRUCT |
| 3188 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3189 | } |
| 3190 | return_type_hidl: { |
| 3191 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3192 | predefined_type: "::android::hardware::wifi::V1_0::IWifiApIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3193 | } |
| 3194 | arg: { |
| 3195 | type: TYPE_STRING |
| 3196 | } |
| 3197 | } |
| 3198 | |
| 3199 | api: { |
| 3200 | name: "removeApIface" |
| 3201 | return_type_hidl: { |
| 3202 | type: TYPE_STRUCT |
| 3203 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3204 | } |
| 3205 | arg: { |
| 3206 | type: TYPE_STRING |
| 3207 | } |
| 3208 | } |
| 3209 | |
| 3210 | api: { |
| 3211 | name: "createNanIface" |
| 3212 | return_type_hidl: { |
| 3213 | type: TYPE_STRUCT |
| 3214 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3215 | } |
| 3216 | return_type_hidl: { |
| 3217 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3218 | predefined_type: "::android::hardware::wifi::V1_0::IWifiNanIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3219 | } |
| 3220 | } |
| 3221 | |
| 3222 | api: { |
| 3223 | name: "getNanIfaceNames" |
| 3224 | return_type_hidl: { |
| 3225 | type: TYPE_STRUCT |
| 3226 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3227 | } |
| 3228 | return_type_hidl: { |
| 3229 | type: TYPE_VECTOR |
| 3230 | vector_value: { |
| 3231 | type: TYPE_STRING |
| 3232 | } |
| 3233 | } |
| 3234 | } |
| 3235 | |
| 3236 | api: { |
| 3237 | name: "getNanIface" |
| 3238 | return_type_hidl: { |
| 3239 | type: TYPE_STRUCT |
| 3240 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3241 | } |
| 3242 | return_type_hidl: { |
| 3243 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3244 | predefined_type: "::android::hardware::wifi::V1_0::IWifiNanIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3245 | } |
| 3246 | arg: { |
| 3247 | type: TYPE_STRING |
| 3248 | } |
| 3249 | } |
| 3250 | |
| 3251 | api: { |
| 3252 | name: "removeNanIface" |
| 3253 | return_type_hidl: { |
| 3254 | type: TYPE_STRUCT |
| 3255 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3256 | } |
| 3257 | arg: { |
| 3258 | type: TYPE_STRING |
| 3259 | } |
| 3260 | } |
| 3261 | |
| 3262 | api: { |
| 3263 | name: "createP2pIface" |
| 3264 | return_type_hidl: { |
| 3265 | type: TYPE_STRUCT |
| 3266 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3267 | } |
| 3268 | return_type_hidl: { |
| 3269 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3270 | predefined_type: "::android::hardware::wifi::V1_0::IWifiP2pIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3271 | } |
| 3272 | } |
| 3273 | |
| 3274 | api: { |
| 3275 | name: "getP2pIfaceNames" |
| 3276 | return_type_hidl: { |
| 3277 | type: TYPE_STRUCT |
| 3278 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3279 | } |
| 3280 | return_type_hidl: { |
| 3281 | type: TYPE_VECTOR |
| 3282 | vector_value: { |
| 3283 | type: TYPE_STRING |
| 3284 | } |
| 3285 | } |
| 3286 | } |
| 3287 | |
| 3288 | api: { |
| 3289 | name: "getP2pIface" |
| 3290 | return_type_hidl: { |
| 3291 | type: TYPE_STRUCT |
| 3292 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3293 | } |
| 3294 | return_type_hidl: { |
| 3295 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3296 | predefined_type: "::android::hardware::wifi::V1_0::IWifiP2pIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3297 | } |
| 3298 | arg: { |
| 3299 | type: TYPE_STRING |
| 3300 | } |
| 3301 | } |
| 3302 | |
| 3303 | api: { |
| 3304 | name: "removeP2pIface" |
| 3305 | return_type_hidl: { |
| 3306 | type: TYPE_STRUCT |
| 3307 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3308 | } |
| 3309 | arg: { |
| 3310 | type: TYPE_STRING |
| 3311 | } |
| 3312 | } |
| 3313 | |
| 3314 | api: { |
| 3315 | name: "createStaIface" |
| 3316 | return_type_hidl: { |
| 3317 | type: TYPE_STRUCT |
| 3318 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3319 | } |
| 3320 | return_type_hidl: { |
| 3321 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3322 | predefined_type: "::android::hardware::wifi::V1_0::IWifiStaIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3323 | } |
| 3324 | } |
| 3325 | |
| 3326 | api: { |
| 3327 | name: "getStaIfaceNames" |
| 3328 | return_type_hidl: { |
| 3329 | type: TYPE_STRUCT |
| 3330 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3331 | } |
| 3332 | return_type_hidl: { |
| 3333 | type: TYPE_VECTOR |
| 3334 | vector_value: { |
| 3335 | type: TYPE_STRING |
| 3336 | } |
| 3337 | } |
| 3338 | } |
| 3339 | |
| 3340 | api: { |
| 3341 | name: "getStaIface" |
| 3342 | return_type_hidl: { |
| 3343 | type: TYPE_STRUCT |
| 3344 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3345 | } |
| 3346 | return_type_hidl: { |
| 3347 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3348 | predefined_type: "::android::hardware::wifi::V1_0::IWifiStaIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3349 | } |
| 3350 | arg: { |
| 3351 | type: TYPE_STRING |
| 3352 | } |
| 3353 | } |
| 3354 | |
| 3355 | api: { |
| 3356 | name: "removeStaIface" |
| 3357 | return_type_hidl: { |
| 3358 | type: TYPE_STRUCT |
| 3359 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3360 | } |
| 3361 | arg: { |
| 3362 | type: TYPE_STRING |
| 3363 | } |
| 3364 | } |
| 3365 | |
| 3366 | api: { |
| 3367 | name: "createRttController" |
| 3368 | return_type_hidl: { |
| 3369 | type: TYPE_STRUCT |
| 3370 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3371 | } |
| 3372 | return_type_hidl: { |
| 3373 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3374 | predefined_type: "::android::hardware::wifi::V1_0::IWifiRttController" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3375 | } |
| 3376 | arg: { |
| 3377 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame^] | 3378 | predefined_type: "::android::hardware::wifi::V1_0::IWifiIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 3379 | } |
| 3380 | } |
| 3381 | |
| 3382 | api: { |
| 3383 | name: "getDebugRingBuffersStatus" |
| 3384 | return_type_hidl: { |
| 3385 | type: TYPE_STRUCT |
| 3386 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3387 | } |
| 3388 | return_type_hidl: { |
| 3389 | type: TYPE_VECTOR |
| 3390 | vector_value: { |
| 3391 | type: TYPE_STRUCT |
| 3392 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRingBufferStatus" |
| 3393 | } |
| 3394 | } |
| 3395 | } |
| 3396 | |
| 3397 | api: { |
| 3398 | name: "startLoggingToDebugRingBuffer" |
| 3399 | return_type_hidl: { |
| 3400 | type: TYPE_STRUCT |
| 3401 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3402 | } |
| 3403 | arg: { |
| 3404 | type: TYPE_STRING |
| 3405 | } |
| 3406 | arg: { |
| 3407 | type: TYPE_ENUM |
| 3408 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugRingBufferVerboseLevel" |
| 3409 | } |
| 3410 | arg: { |
| 3411 | type: TYPE_SCALAR |
| 3412 | scalar_type: "uint32_t" |
| 3413 | } |
| 3414 | arg: { |
| 3415 | type: TYPE_SCALAR |
| 3416 | scalar_type: "uint32_t" |
| 3417 | } |
| 3418 | } |
| 3419 | |
| 3420 | api: { |
| 3421 | name: "forceDumpToDebugRingBuffer" |
| 3422 | return_type_hidl: { |
| 3423 | type: TYPE_STRUCT |
| 3424 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3425 | } |
| 3426 | arg: { |
| 3427 | type: TYPE_STRING |
| 3428 | } |
| 3429 | } |
| 3430 | |
| 3431 | api: { |
| 3432 | name: "getDebugHostWakeReasonStats" |
| 3433 | return_type_hidl: { |
| 3434 | type: TYPE_STRUCT |
| 3435 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3436 | } |
| 3437 | return_type_hidl: { |
| 3438 | type: TYPE_STRUCT |
| 3439 | predefined_type: "::android::hardware::wifi::V1_0::WifiDebugHostWakeReasonStats" |
| 3440 | } |
| 3441 | } |
| 3442 | |
| 3443 | api: { |
| 3444 | name: "enableDebugErrorAlerts" |
| 3445 | return_type_hidl: { |
| 3446 | type: TYPE_STRUCT |
| 3447 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 3448 | } |
| 3449 | arg: { |
| 3450 | type: TYPE_SCALAR |
| 3451 | scalar_type: "bool_t" |
| 3452 | } |
| 3453 | } |
| 3454 | |
| 3455 | } |