<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WiFiAware",
  "identifier" : "/documentation/WiFiAware/WAParameters",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Wi-Fi Aware"
    ],
    "preciseIdentifier" : "s:9WiFiAware12WAParametersV"
  },
  "title" : "WAParameters"
}
-->

# WAParameters

Parameters configuring a Wi-Fi Aware data path connection.

```
struct WAParameters
```

## Overview

You can customize Wi-Fi Aware configuration with the parameters passed in the
`.wifiAware()` instruction to the `NetworkBrowser` and
`NetworkListener`, or via the `.wifiAware:WAParameters?` property on
`NWParameters`.

For more information about creating a `NetworkListener`, refer to [`WAPublisherListener.DatapathParameters`](/documentation/WiFiAware/WAPublisherListener/DatapathParameters)

> Important: Each service must have the same ``doc://com.apple.wifiaware/documentation/WiFiAware/WAPerformanceMode`` on both the `NetworkBrowser` (subscriber) and `NetworkListener` (publisher) sides of the connection, or the resulting performance behavior is undefined. If not specified, the performance mode defaults to ``doc://com.apple.wifiaware/documentation/WiFiAware/WAPerformanceMode/bulk`` on both sides.

## Topics

### Setting common configurations

[`static let defaults: WAParameters`](/documentation/WiFiAware/WAParameters/defaults)

The property that configures default parameters that prioritize bulk throughput, power consumption, and other concurrent Wi-Fi use cases.

[`static let realtime: WAParameters`](/documentation/WiFiAware/WAParameters/realtime)

The property that configures parameters that prioritize latency at the expense of throughput, power consumption, and other concurrent Wi-Fi use cases.

### Checking the configured performance mode

[`var performanceMode: WAPerformanceMode`](/documentation/WiFiAware/WAParameters/performanceMode)

The initial performance configuration of the data path when connected.

[`init(performanceMode: WAPerformanceMode)`](/documentation/WiFiAware/WAParameters/init(performanceMode:))

Initializes the parameters with defaults.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)