Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Important
This topic is part of the WDI driver model released in Windows 10. The WDI driver model is in maintenance mode and will only receive high priority fixes. WiFiCx is the Wi-Fi driver model released in Windows 11. We recommend that you use WiFiCx to take advantage of the latest features.
OID_WDI_SET_P2P_LISTEN_STATE sets the Wi-Fi Direct listen state on the port.
Scope | Set serialized with task | Normal execution time (seconds) |
---|---|---|
Port | Yes | 1 |
There are different levels of listen state, and the port is expected to adhere to concurrency requirements across ports.
This property is only applicable to virtualized Wi-Fi Direct Adapter Port interfaces.
When the listen state is active, the port is expected to park the radio on a social channel for a certain period of time.
If the adapter has a virtualized port operating on a non-social channel, the port may become discoverable on that channel. If this behavior is used, the port must be very highly available to allow other adapters to quickly discover it when in the scan phase of Wi-Fi Direct discovery. This is provided as a trade-off to avoid channel hopping in low latency scenarios.
Note This property specifies a radio time slice requirement to the port, which may cause conflicts with other properties or tasks issued to the port.
Set property parameters
TLV | Multiple TLV instances allowed | Optional | Description |
---|---|---|---|
WDI_TLV_P2P_LISTEN_STATE | Desired listen state. | ||
WDI_TLV_P2P_CHANNEL_NUMBER | X | The host’s desired listen channel when enabling the Wi-Fi Direct listen state. If this option is not specified, the port may select a listen channel on its own. | |
WDI_TLV_P2P_LISTEN_DURATION | Cycle duration and listen time. |
Set property results
No additional data. The data in the header is sufficient.
Requirements
Minimum supported client |
Windows 10 |
Minimum supported server |
Windows Server 2016 |
Header |
Dot11wdi.h |