home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / L2Schemas / WLAN_profile_v1.xsd < prev   
Extensible Markup Language  |  2008-01-05  |  16KB  |  338 lines

  1. <?xml version="1.0" encoding="UTF-8" ?>
  2. <xs:schema targetNamespace="http://www.microsoft.com/networking/WLAN/profile/v1"
  3.     xmlns="http://www.microsoft.com/networking/WLAN/profile/v1" 
  4.     xmlns:xs="http://www.w3.org/2001/XMLSchema"
  5.     elementFormDefault="qualified">
  6.  
  7.   <!-- type definition section -->
  8.   <xs:simpleType name="nameType">
  9.     <xs:restriction base="xs:string">
  10.       <xs:minLength value="1" />
  11.       <xs:maxLength value="255" />
  12.     </xs:restriction>
  13.   </xs:simpleType>
  14.  
  15.   <xs:element name="WLANProfile">
  16.     <xs:complexType>
  17.       <xs:sequence>
  18.         <!-- Profile name is required. -->
  19.         <xs:element name="name" type="nameType" />
  20.  
  21.         <!-- WLAN network settings -->
  22.         <!-- SSID's and connectionType are required. -->
  23.         <xs:element name="SSIDConfig" maxOccurs="256">
  24.           <xs:complexType>
  25.             <xs:sequence>
  26.               <!-- In this version, only one <SSID> is supported from UI -->
  27.               <xs:element name="SSID" maxOccurs="256">
  28.                 <xs:complexType>
  29.                   <xs:sequence>                  
  30.                     <!-- Either Hex or named SSID must be present. -->
  31.                     <!-- Hex SSID takes precedence over named SSID. -->
  32.                     <xs:element name="hex" minOccurs="0">
  33.                       <xs:simpleType>
  34.                         <xs:restriction base="xs:hexBinary">
  35.                           <xs:minLength value="1" />
  36.                           <xs:maxLength value="32" />
  37.                         </xs:restriction>
  38.                       </xs:simpleType>
  39.                     </xs:element>
  40.  
  41.                     <xs:element name="name" minOccurs="0">
  42.                       <xs:simpleType>
  43.                         <xs:restriction base="xs:string">
  44.                           <xs:minLength value="1" />
  45.                           <xs:maxLength value="32" />
  46.                         </xs:restriction>
  47.                       </xs:simpleType>
  48.                     </xs:element>
  49.  
  50.                     <!-- extension point for other namespaces -->
  51.                     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  52.                   </xs:sequence>
  53.                 </xs:complexType>
  54.               </xs:element>
  55.  
  56.               <!-- 
  57.                   Flag to indicate whether SSIDs within the same SSIDConfig group will be 
  58.                   broadcasted or not. Default value is "false"
  59.               -->
  60.               <xs:element name="nonBroadcast" type="xs:boolean" minOccurs="0" />
  61.  
  62.               <!-- extension point for other namespaces -->
  63.               <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />                       
  64.             </xs:sequence>
  65.           </xs:complexType>
  66.         </xs:element>
  67.                 
  68.         <xs:element name="connectionType">
  69.           <xs:simpleType>
  70.             <xs:restriction base="xs:string">
  71.               <xs:enumeration value="IBSS" />
  72.               <xs:enumeration value="ESS" />
  73.             </xs:restriction>
  74.           </xs:simpleType>
  75.         </xs:element>
  76.  
  77.         <!--
  78.             Specify connection mode when a network is in range
  79.             Default value = "auto"
  80.         -->
  81.         <xs:element name="connectionMode" minOccurs="0">
  82.           <xs:simpleType>
  83.             <xs:restriction base="xs:string">
  84.               <xs:enumeration value="auto" />
  85.               <xs:enumeration value="manual" />
  86.             </xs:restriction>
  87.           </xs:simpleType>
  88.         </xs:element>
  89.                     
  90.         <!-- 
  91.             Flag to determine roaming behavior when a more preferred network is in range 
  92.             Default value = "true"
  93.         -->
  94.         <xs:element name="autoSwitch" type="xs:boolean" minOccurs="0" />
  95.     
  96.         <!-- wireless LAN MSM settings -->
  97.         <xs:element name="MSM" minOccurs="0">
  98.           <xs:complexType>
  99.             <xs:sequence>
  100.               <xs:element name="connectivity" minOccurs="0">
  101.                 <xs:complexType>
  102.                   <xs:sequence>
  103.                     <xs:element name="phyType" minOccurs="0" maxOccurs="4">
  104.                       <xs:simpleType>
  105.                         <xs:restriction base="xs:string">
  106.                           <xs:enumeration value="a" />
  107.                           <xs:enumeration value="b" />
  108.                           <xs:enumeration value="g" />
  109.                           <!-- this value is reserved for future use -->
  110.                           <xs:enumeration value="n" />
  111.                         </xs:restriction>
  112.                       </xs:simpleType>
  113.                     </xs:element>
  114.  
  115.                     <!-- extension point for other namespaces -->
  116.                     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  117.                   </xs:sequence>
  118.                 </xs:complexType>
  119.               </xs:element>
  120.  
  121.               <!-- security settings -->
  122.               <xs:element name="security" minOccurs="0">
  123.                 <xs:complexType>
  124.                   <xs:sequence>
  125.                     <!-- AuthEncryptions is required except for when IHV extensibility uses 1X. -->
  126.                     <xs:element name="authEncryption" minOccurs="0">
  127.                       <xs:complexType>
  128.                         <xs:sequence>
  129.                           <!-- valid authentication methods -->
  130.                           <xs:element name="authentication">
  131.                             <xs:simpleType>
  132.                               <xs:restriction base="xs:string">
  133.                                 <xs:enumeration value="open" />
  134.                                 <xs:enumeration value="shared" />
  135.                                 <xs:enumeration value="WPA" />
  136.                                 <xs:enumeration value="WPAPSK" />
  137.                                 <xs:enumeration value="WPA2" />
  138.                                 <xs:enumeration value="WPA2PSK" />
  139.                               </xs:restriction>
  140.                             </xs:simpleType>
  141.                           </xs:element>
  142.  
  143.                           <!-- valid encryption methods -->
  144.                           <xs:element name="encryption">
  145.                             <xs:simpleType>
  146.                               <xs:restriction base="xs:string">
  147.                                 <xs:enumeration value="none" />
  148.                                 <xs:enumeration value="WEP" />
  149.                                 <xs:enumeration value="TKIP" />
  150.                                 <xs:enumeration value="AES" />
  151.                               </xs:restriction>
  152.                             </xs:simpleType>
  153.                           </xs:element>
  154.  
  155.                           <!-- flag indicating use of 802.1X -->
  156.                           <xs:element name="useOneX" type="xs:boolean" minOccurs="0" />
  157.  
  158.                           <!-- flag indicating FIPS mode (v2 namespace) -->
  159.                           <!-- 
  160.                           <xs:element name="FIPSMode" type="xs:boolean" minOccurs="0" 
  161.                             namespace = "http://www.microsoft.com/networking/WLAN/profile/v2"/>
  162.                           -->
  163.  
  164.                           <!-- extension point for other namespaces -->
  165.                           <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  166.                         </xs:sequence>
  167.                       </xs:complexType>
  168.                     </xs:element>
  169.  
  170.                     <!-- Optional MSM security settings. -->
  171.                     <!-- there is no default value for shareKey if absent -->
  172.                     <xs:element name="sharedKey" minOccurs="0">
  173.                       <xs:complexType>
  174.                         <xs:sequence>
  175.                           <xs:element name="keyType">
  176.                             <xs:simpleType>
  177.                               <xs:restriction base="xs:string">
  178.                                 <xs:enumeration value="networkKey" />
  179.                                 <xs:enumeration value="passPhrase" />
  180.                               </xs:restriction>
  181.                             </xs:simpleType>
  182.                           </xs:element>
  183.                           <xs:element name="protected" type="xs:boolean" />
  184.                           <xs:element name="keyMaterial" type="xs:string" />
  185.  
  186.                           <!-- extension point for other namespaces -->
  187.                           <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  188.                         </xs:sequence>
  189.                       </xs:complexType>
  190.                     </xs:element>
  191.  
  192.                     <!-- the default value is 0 when the shared key is present -->        
  193.                     <xs:element name="keyIndex" minOccurs="0">
  194.                       <xs:simpleType>
  195.                         <xs:restriction base="xs:integer">
  196.                           <xs:minInclusive value="0" />
  197.                           <xs:maxInclusive value="3" />
  198.                         </xs:restriction>
  199.                       </xs:simpleType>
  200.                     </xs:element>
  201.  
  202.                     <!--
  203.                         For WPA2, the default value is "enabled"
  204.                         for all others, the default value is "disabled"
  205.                     -->
  206.                     <xs:element name="PMKCacheMode" minOccurs="0">
  207.                       <xs:simpleType>
  208.                         <xs:restriction base="xs:string">
  209.                           <xs:enumeration value="disabled" />
  210.                           <xs:enumeration value="enabled" />
  211.                         </xs:restriction>
  212.                       </xs:simpleType>
  213.                     </xs:element>
  214.                                 
  215.                     <!-- the default value is 720 minutes -->           
  216.                     <xs:element name="PMKCacheTTL" minOccurs="0">
  217.                       <xs:simpleType>
  218.                         <xs:restriction base="xs:integer">
  219.                           <xs:minInclusive value="5" />
  220.                           <xs:maxInclusive value="1440" />
  221.                         </xs:restriction>
  222.                       </xs:simpleType>
  223.                     </xs:element>
  224.                                       
  225.                     <!-- the default value is 128 entries -->    
  226.                     <xs:element name="PMKCacheSize" minOccurs="0">
  227.                       <xs:simpleType>
  228.                         <xs:restriction base="xs:integer">
  229.                           <xs:minInclusive value="1" />
  230.                           <xs:maxInclusive value="255" />
  231.                         </xs:restriction>
  232.                       </xs:simpleType>
  233.                     </xs:element>
  234.  
  235.                     <!-- the default value is "disabled" -->
  236.                     <xs:element name="preAuthMode" minOccurs="0">
  237.                       <xs:simpleType>
  238.                         <xs:restriction base="xs:string">
  239.                           <xs:enumeration value="disabled" />
  240.                           <xs:enumeration value="enabled" />
  241.                         </xs:restriction>
  242.                       </xs:simpleType>
  243.                     </xs:element>
  244.                        
  245.                     <!-- the default value is 3 times -->
  246.                     <xs:element name="preAuthThrottle" minOccurs="0">
  247.                       <xs:simpleType>
  248.                         <xs:restriction base="xs:integer">
  249.                           <xs:minInclusive value="1" />
  250.                           <xs:maxInclusive value="16" />
  251.                         </xs:restriction>
  252.                       </xs:simpleType>
  253.                     </xs:element>
  254.                                                                   
  255.                     <!-- extension point for other namespaces -->
  256.                     <!-- this is also the insertion point for OneX namespace -->
  257.                     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  258.                   </xs:sequence>
  259.                 </xs:complexType>
  260.               </xs:element>
  261.  
  262.               <!-- extension point for other namespaces -->
  263.               <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  264.             </xs:sequence>
  265.           </xs:complexType>
  266.         </xs:element>
  267.  
  268.         <!-- IHV specific settings -->
  269.         <xs:element name="IHV" minOccurs="0">
  270.           <xs:complexType>
  271.             <xs:sequence>
  272.               <!-- 
  273.                   OUI info of the IHV. Required. First three (3) bytes represented by eight (6) 
  274.                   hex chars (0-9, A-F)indicates the OUI, the 4th byte represented by two (2) hex
  275.                   chars (0-9, A-F) indicates the type of the OUI. 
  276.               -->
  277.               <xs:element name="OUIHeader">
  278.                 <xs:complexType>
  279.                   <xs:sequence>
  280.                     <xs:element name="OUI">
  281.                       <xs:simpleType>
  282.                         <xs:restriction base="xs:hexBinary">
  283.                           <xs:length value="3" />
  284.                         </xs:restriction>
  285.                       </xs:simpleType>
  286.                     </xs:element>
  287.                     <xs:element name="type">
  288.                       <xs:simpleType>
  289.                         <xs:restriction base="xs:hexBinary">
  290.                           <xs:length value="1" />
  291.                         </xs:restriction>
  292.                       </xs:simpleType>
  293.                     </xs:element>
  294.  
  295.                     <!-- extension point for other namespaces -->
  296.                     <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  297.                   </xs:sequence>
  298.                 </xs:complexType>
  299.               </xs:element>
  300.  
  301.               <!-- Either <connectivity> or <security> must be present -->
  302.               <!-- IHV specific connectivity settings -->
  303.               <xs:element name="connectivity" minOccurs="0">
  304.                 <xs:complexType>
  305.                   <xs:sequence>
  306.                     <!-- Must be a single top-level element -->
  307.                     <xs:any namespace="##other" processContents="lax" />
  308.                   </xs:sequence>
  309.                 </xs:complexType>
  310.               </xs:element>
  311.  
  312.               <!-- IHV specific security settings -->
  313.               <xs:element name="security" minOccurs="0">
  314.                 <xs:complexType>
  315.                   <xs:sequence>
  316.                     <!-- Must be a single top-level element -->
  317.                     <xs:any namespace="##other" processContents="lax" />
  318.                   </xs:sequence>
  319.                 </xs:complexType>
  320.               </xs:element>
  321.  
  322.               <!-- optional flag indicating whether IHV security uses MS 1X settings (default false) -->
  323.               <xs:element name="useMSOneX" type="xs:boolean" minOccurs="0" />
  324.  
  325.               <!-- extension point for other namespaces -->
  326.               <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  327.             </xs:sequence>
  328.           </xs:complexType>
  329.         </xs:element>
  330.  
  331.         <!-- extension point for other namespaces -->
  332.         <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
  333.       </xs:sequence>
  334.     </xs:complexType>
  335.   </xs:element>
  336. </xs:schema>
  337.  
  338.