Share via


NetworkOperatorTetheringSessionAccessPointConfiguration.PerformancePriority Property

Definition

Gets or sets the performance priority value to be used for the Wi-Fi tethering connection when the main internet connection is also over Wi-Fi. If the station connection is on a frequency band that interferes with the requested tethering frequency band, then the Wi-Fi chipset will attempt to change the connection's frequency band to another one that won't interfere.

Many Wi-Fi chipsets have a limitation where if the main connection is over a 5 GHz band, then the tethering hotspot can't be configured to use a 6 GHz band. Prioritizing the tethering connection (TetheringOverStation) will tell the Wi-Fi chipset to attempt to change the main connection over to a 2.4 GHz band, so that there'll no longer be interference with the requested 6 GHz band for the tethering hotspot.

If the frequency band shift isn't possible or allowed by specifying a different performance priority value, then calling StartTetheringAsync will fail with an appropriate result status (BandInterference).

public:
 property TetheringWiFiPerformancePriority PerformancePriority { TetheringWiFiPerformancePriority get(); void set(TetheringWiFiPerformancePriority value); };
TetheringWiFiPerformancePriority PerformancePriority();

void PerformancePriority(TetheringWiFiPerformancePriority value);
public TetheringWiFiPerformancePriority PerformancePriority { get; set; }
var tetheringWiFiPerformancePriority = networkOperatorTetheringSessionAccessPointConfiguration.performancePriority;
networkOperatorTetheringSessionAccessPointConfiguration.performancePriority = tetheringWiFiPerformancePriority;
Public Property PerformancePriority As TetheringWiFiPerformancePriority

Property Value

The enumeration value that specifies how the Wi-Fi chipset should prioritize performance between the tethering hotspot and the station connection.

Windows requirements

App capabilities
wiFiControl

Applies to