Esquema WLAN
O esquema WLAN define elementos que são usados para descrever a conexão de um assinante com uma WLAN (Rede de Área Local Sem Fio).
Todos os elementos no esquema WLAN estão no *
http://www.microsoft.com/networking/CarrierControl/WLAN/v1*
namespace .
O WLAN_v2 de dados define http://www.microsoft.com/networking/CarrierControl/WLAN/v2
elementos adicionais no namespace e tem suporte no Windows 8.1, Windows Server 2012 R2 e posterior.
O elemento SSIDConfig no esquema WLAN dá suporte a até 25 SSIDs no namespace v1 e até 10.000 SSIDs adicionais no namespace v2. O namespace v2 também dá suporte a elementos SSIDPrefix .
Nem todos os elementos estão em cada perfil, pois alguns elementos são opcionais.
A tabela a seguir lista todos os elementos neste esquema, ordenados em ordem alfabética por nome.
Elemento | Descrição |
---|---|
AssociatedPlan | Contém o nome do plano de dados do assinante. Ele deve corresponder ao atributo Name de um Plano no mesmo documento XML. |
MSM | Define várias configurações de MSM (módulo específico de mídia) para esse perfil em um WLAN. |
PMKCacheMode | Define se o cache pmk (chave mestra emparelhada) deve ser usado por esse perfil para se conectar a um WLAN. |
PMKCacheSize | Define o número de entradas no cache pmk (chave mestra emparelhada) no cliente. Deve ser um valor entre 1 e 255, inclusive. |
PMKCacheTTL | Define o período de tempo, em minutos, em que um cache PMK (Chave Mestra Emparelhada) será mantido. Deve ser um valor entre 5 e 1440, inclusive. |
SSID | Contém o SSID para um WLAN. |
SSIDConfig | Define um ou mais SSID (identificadores de conjunto de serviços) para uma LAN sem fio. |
WLANProfile | Define as propriedades e as configurações de segurança do perfil de conexão WLAN de um assinante. WLANProfile é o elemento raiz exclusivo de um perfil sem fio. |
authEncryption | Define o par de autenticação e criptografia a ser usado para esse perfil em um WLAN. |
autenticação | Define o método de autenticação a ser usado por esse perfil para se conectar a um WLAN. |
Criptografia | Define o tipo de criptografia de dados a ser usado por esse perfil para se conectar a um WLAN. |
hex | Define o SSID de uma LAN sem fio em formato hexadecimal. |
keyIndex | Define qual índice de chave deve ser usado para criptografar o tráfego sem fio. keyIndex só é usado quando keyType é networkKey. O valor padrão é 0 quando sharedKey está presente. Deve ser um valor entre 0 e 3, inclusive. |
keyMaterial | Define uma chave de rede ou frase de passagem. Se protegido fortrue, o material da chave será criptografado; caso contrário, o material da chave será descriptografado. O material da chave criptografada é expresso em formato hexadecimal. |
Keytype | Define se a chave compartilhada será uma chave de rede ou uma frase de passagem. |
name (em SSID) | Define o SSID de uma LAN sem fio em formato alfanumérico. |
name (tipo: NameType) | Define o nome sensível a minúsculas de um perfil de LAN sem fio. |
preAuthMode | Define se a pré-autenticação será usada pelo cliente. |
preAuthThrottle | Define o número de tentativas de pré-autenticação para experimentar pontos de acesso (AP) vizinhos. Deve ser um valor entre 1 e 16, inclusive. |
protected | Se true, a chave compartilhada será criptografada. Caso contrário, false. |
Segurança | Define várias configurações de segurança para esse perfil em um WLAN. |
sharedKey | Define informações de chave compartilhada opcionais a serem usadas por esse perfil para se conectar a um WLAN. |
useOneX | Se true, a autenticação 802.1X deve ser usada por esse perfil para se conectar ao WLAN. Caso contrário, false. |
O esquema WLAN completo está abaixo:
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://www.microsoft.com/networking/CarrierControl/WLAN/v1"
elementFormDefault="qualified"
xmlns="http://www.microsoft.com/networking/CarrierControl/WLAN/v1"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:base="http://www.microsoft.com/networking/CarrierControl/Base/v1">
<xs:import namespace="http://www.microsoft.com/networking/CarrierControl/Base/v1" />
<!-- WISPR Credentials in separate schema; uses xs:any tag below -->
<xs:element name="WLANProfile" type="CarrierWLANProfile"/>
<xs:complexType name="CarrierWLANProfile">
<xs:sequence>
<!-- Profile name is required. -->
<xs:element name="name" type="base:NameType" />
<xs:element name="Associated Plan" type="xs:string" minOccurs="0"/>
<!-- SSIDs are required. -->
<xs:element name="SSIDConfig" maxOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:annotation>
<xs:documentation>
This element supports up to 25 SSIDs in the v1 namespace and up to additional 10000 SSIDs in the v2 namespace.
The v2 namespace also supports SSID prefixes.
</xs:documentation>
</xs:annotation>
<xs:element name="SSID" maxOccurs="25">
<xs:complexType>
<!-- Either Hex or named SSID must be present. -->
<xs:choice>
<xs:element name="hex">
<xs:simpleType>
<xs:restriction base="xs:hexBinary">
<xs:minLength value="1" />
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<!-- SSID and SSIDPrefix elements from v2 namespace can be set here.
<xs:element name="SSID" minOccurrence="0" maxOccurrence="10000"
namespace="http://www.microsoft.com/networking/WLAN/profile/v2"/>
<xs:element name="SSIDPrefix" minOccurrence="0" maxOccurrence="32"
namespace="http://www.microsoft.com/networking/WLAN/profile/v2"/>
-->
<!-- extension point for other namespaces -->
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- wireless LAN MSM settings -->
<xs:element name="MSM" minOccurs="0">
<xs:complexType>
<xs:sequence>
<!-- security settings -->
<xs:element name="security" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="authEncryption">
<xs:complexType>
<xs:sequence>
<!-- valid authentication methods -->
<xs:element name="authentication">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="open" />
<xs:enumeration value="shared" />
<xs:enumeration value="WPA" />
<xs:enumeration value="WPAPSK" />
<xs:enumeration value="WPA2" />
<xs:enumeration value="WPA2PSK" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- valid encryption methods -->
<xs:element name="encryption">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="none" />
<xs:enumeration value="WEP" />
<xs:enumeration value="TKIP" />
<xs:enumeration value="AES" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- flag indicating use of 802.1X -->
<xs:element name="useOneX" type="xs:boolean" minOccurs="0" />
<!-- extension point for other namespaces; allowed for OneX, etc. -->
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- Optional MSM security settings. -->
<!-- there is no default value for sharedKey if absent -->
<xs:element name="sharedKey" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="keyType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="networkKey" />
<xs:enumeration value="passPhrase" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="protected" type="xs:boolean" />
<xs:element name="keyMaterial" type="xs:string" />
<!-- extension point for other namespaces -->
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- the default value is 0 when the shared key is present -->
<xs:element name="keyIndex" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="0" />
<xs:maxInclusive value="3" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- For WPA2, the default value is "enabled"
for all others, the default value is "disabled"
-->
<xs:element name="PMKCacheMode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="disabled" />
<xs:enumeration value="enabled" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- the default value is 720 minutes -->
<xs:element name="PMKCacheTTL" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="5" />
<xs:maxInclusive value="1440" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- the default value is 128 entries -->
<xs:element name="PMKCacheSize" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="255" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- the default value is "disabled" -->
<xs:element name="preAuthMode" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="disabled" />
<xs:enumeration value="enabled" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- the default value is 3 times -->
<xs:element name="preAuthThrottle" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="1" />
<xs:maxInclusive value="16" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- extension point for other namespaces -->
<!-- this is the insertion point for OneX and HotspotAuth namespaces -->
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
<!-- extension point for other namespaces -->
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Priority" type="base:Priority" default="5"/>
</xs:complexType>
<xs:element name="WLANProfile" type="CarrierWLANProfile"/>
</xs:schema>
<!-- provisioning_wlan_v2 -->
<!-- The following shows the new elements in version 2 that can be included -->
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://www.microsoft.com/networking/CarrierControl/WLAN/v2"
elementFormDefault="qualified"
xmlns="http://www.microsoft.com/networking/CarrierControl/WLAN/v2"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<xs:element name="SSID">
<xs:complexType>
<!-- Either Hex or named SSID must be present. -->
<xs:choice>
<xs:element name="hex">
<xs:simpleType>
<xs:restriction base="xs:hexBinary">
<xs:minLength value="1" />
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="SSIDPrefix">
<xs:complexType>
<!-- Either Hex or named SSID must be present. -->
<xs:choice>
<xs:element name="hex">
<xs:simpleType>
<xs:restriction base="xs:hexBinary">
<xs:minLength value="4" />
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="name">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="4" />
<xs:maxLength value="32" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
Tópicos relacionados