phyType (connectivity) Element
Applies to: desktop apps only
The phyType (connectivity) element specifies the 802.11 wireless LAN standard used on a wireless LAN.
You can specify multiple phyTypes. If no phyType is specified, the profile can be used to connect to any phyType. The value "n" is only supported on Windows Vista with Service Pack 1 (SP1) and later versions of the operating system.
Windows XP with SP3 and Wireless LAN API for Windows XP with SP2: This element is not supported.
<xs:element name="phyType"
minOccurs="0"
maxOccurs="4"
>
<xs:simpleType>
<xs:restriction
base="string"
>
<xs:enumeration
value="a"
/>
<xs:enumeration
value="b"
/>
<xs:enumeration
value="g"
/>
<xs:enumeration
value="n"
/>
</xs:restriction>
</xs:simpleType>
</xs:element>
The element is defined by the connectivity element.
Requirements
|
Minimum supported client | Windows Vista |
|---|---|
|
Minimum supported server | Windows Server 2008 |
See also
- Definition context of element in schema
- connectivity
- Possible immediate parent element in schema instance
- connectivity (MSM)
Send comments about this topic to Microsoft
Build date: 2/3/2012
When adding a profile with netsh wlan add profile and setting phyType to n in the XML file, I get an error:
Profile format error 0x0: The operation was successful.
The network connection profile is corrupted.
In a batch file, the %errorlevel% is 1 indicating an error happened.
This was tested on Windows 7 SP1 x86 and x64 and does not work. The phyType values of a, b, and g work but when n is used it will not work.
- 4/12/2012
- Clint Stotesbery