<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
    <!ENTITY rfc2119 PUBLIC '' 
      'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
    <!ENTITY rfc4564 PUBLIC '' 
      'http://xml.resource.org/public/rfc/bibxml/reference.RFC.4564.xml'>
    <!ENTITY rfc5415 PUBLIC '' 
      'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5415.xml'>
    <!ENTITY rfc5416 PUBLIC '' 
      'http://xml.resource.org/public/rfc/bibxml/reference.RFC.5416.xml'>

]>

<?xml-stylesheet type='text/xsl' href='rfc2629.xslt' ?>

<?rfc toc="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc iprnotified="no"?>
<?rfc strict="yes"?>
<?rfc compact="yes" ?> 
<?rfc subcompact="yes" ?>

<rfc category="std" ipr="trust200902" updates="5416" docName="draft-ietf-opsawg-capwap-extension-06">


<front>
<title abbrev="capwap">CAPWAP Extension for 802.11n and Power/channel Autoconfiguration </title>

<author initials="Y.F." surname="Chen" fullname="Yifan Chen">
 <organization>China Mobile</organization>
 <address>
  <postal>
   <street>No.32 Xuanwumen West Street</street>
   <city>Beijing  100053</city>
   <country>China</country>
  </postal>
  <email>chenyifan@chinamobile.com</email>
 </address>
</author>

<author initials="D.L." surname="Liu" fullname="Dapeng Liu">
 <organization></organization>
 <address>
  <postal>
   <street></street>
   <city>Beijing</city>
   <country>China</country>
  </postal>
  <email>maxpassion@gmail.com</email>
 </address>
</author>

<author initials="H." surname="Deng" fullname="Hui Deng">
 <organization>China Mobile</organization> 
 <address>
  <postal>
   <street>No.32 Xuanwumen West Street</street>
   <city>Beijing  100053</city>
   <country>China</country>
  </postal>
  <email>denghui@chinamobile.com</email>
 </address>
</author>

<author initials="Lei" surname="Zhu" fullname="Lei Zhu">
 <organization>Huawei</organization> 
 <address>
  <postal>
   <street>No. 156, Shi-Chuang-Ke-Ji-Shi-Fan-Yuan Beiqing Road, Haidian District</street>
   <city>Beijing 100095</city>
   <country>China</country>
  </postal>
  <email>lei.zhu@huawei.com</email>
 </address>
</author>


<date month="July" year="2015"/>


<area>OPS</area><workgroup>OPSAWG</workgroup>
 <abstract>
  <t> 
    The CAPWAP binding for 802.11 is specified by RFC5416 and it was based on IEEE 802-11.2007 standard. 
    Several new amendments of 802.11 have been published since
    RFC5416 was published in 2009. 
    802.11n is one of those amendments and it has been widely used in real deployment. 
    This document extends the CAPWAP binding for 802.11 to support 802.11n and also defines a power and channel 
    auto configuration extension.  
 </t>
 </abstract>
</front>

<middle>


<section anchor="intro" title="Introduction">
 <t> 
   IEEE Std 802.11n™-2009 [IEEE 802.11n.2009] was published in 2009 as an amendment to the IEEE 802.11-2007 standard to improve network throughput. The maximum data rate increases to 600Mbps. In the physical layer, 802.11n uses Orthogonal Frequency Division Multiplexing (OFDM)
    and Multiple Input/Multiple Output (MIMO) to 
   achieve the high throughput. 802.11n uses multiple antennas to form an antenna array which can be dynamically adjusted to 
   improve the signal strength and extend the coverage.
 </t>

 <t>
   Capabilities of 802.11n such as radio capability, radio configuration
   and station information need to be supported by
   CAPWAP control messages. The necessary extensions for this purpose are
   introduced in Section 3 and specified in Section 4. 
 </t>
 <t>
   For IEEE 802.11 in general, it is desirable to be able to support
   power and channel auto reconfiguration. Extensions for this purpose are
   specified in Section 5.
  </t>

</section>


<section title="Terminology">
	<t>
	The key words "MUST", "MUST NOT", "REQUIRED", "SHALL","SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document 
	are to be interpreted as described in <xref target="RFC2119" />.
	</t>
	<t>
		This document uses the following abbreviations:
	</t>
		<t><list style="empty">
			<t>AC 		Access Controller</t>
	        <t>A-MSDU	Aggregate MAC Service Data Unit  </t>
	        <t>A-MPDU	Aggregate MAC Protocol Data Unit </t>
			<t>AC		Access Controller</t>
			<t>GI		Guard Interval</t>
			<t>MCS		Maximum Modulation and Coding Scheme</t>
			<t>MIMO		Multiple Input/Multiple Output</t>
			<t>MPDU		MAC Protocol Data Unit</t>
			<t>MSDU		MAC Service Data Unit</t>
			<t>OFDM		Orthogonal Frequency Division Multiplexing</t>
			<t>TSF		timing synchronization function</t>
			<t>WTP		Wireless Termination Point</t>
		</list></t>
	
</section>

<section title="CAPWAP 802.11n Support">
 
  <t>
    802.11n supports three modes of channel usage: 20MHz mode, 40MHz mode and mixed mode. 802.11n has a new feature called channel 
    binding. It can bind two adjacent 20MHz channel to one 40MHz channel to improve the throughput.If using 40MHz channel 
    configuration there will be only one non-overlapping channel in the 2.4GHz band. In the large scale deployment scenario, 
    the operator needs to use 20MHz channel configuration in the 2.4GHz band to allow more non-overlapping channels. 
  </t>
  <t>
    In the MAC layer, a new feature of 802.11n is Short Guard Interval(GI). 802.11a/g uses an 800ns guard interval between the 
    adjacent information symbols. In 802.11n, the GI can be configured to 400nm under good wireless conditions.
  </t>
  <t>
    Another feature in the 802.11 MAC layer is Block ACK. 802.11n can use one ACK frame to acknowledge receipt of several MAC Protocol Data Units (MPDUs).
  </t>
  <t>
    CAPWAP needs to be extended to support the above new 802.11n features. CAPWAP should allow the access controller to know the
   supported 802.11n features and the access controller should be able
   to configure the different channel binding modes.  This document
   defines extensions of the CAPWAP 802.11 binding to support 802.11n
   features. 
  </t>
 
<section title="CAPWAP Extension for 802.11n Support">
  <t>
  Three 802.11n features need to be supported by CAPWAP 802.11 binding: 802.11n radio capability, 
  802.11n radio configuration and station information. This section defines the extension of the current CAPWAP 802.11 
  binding to support the 802.11n features.
  </t>
  
  <section title="802.11n Radio Capability Information">
			  <t>
			    <xref target="RFC5416" /> defines the IEEE 802.11 binding for the CAPWAP protocol. It defines the IEEE 802.11 Information
			    Element, which is used to communicate any information element (IE) defined in the IEEE 802.11 protocol.  This document specifies that the IEEE 802.11 Information Element defined in section 6.6 of  <xref target="RFC5416" /> SHALL be used to transport the IEEE 802.11 HT information element defined in section 8.4.2.58 of <xref target="IEEE-802.11.2012" />. The HT IE 
				MAY in this way be included in CAPWAP Configuration Status Request/Response messages.
			  </t>		
  </section>
  
  <section title="802.11n Radio Configuration Message Element">
  	<t>
	   The 802.11n Radio Configuration message element
	   is used by the AC to provide IEEE 802.11n-specific configuration for a Radio on the WTP, and by the WTP to
	   deliver its radio configuration to the AC.  This supplements the IEEE 802.11 WTP WLAN Radio Configuration message element
	   defined in <xref target="RFC5416" />. The format of the 802.11n Radio
	   Configuration message element is shown in Figure 1. The 802.11n
	   Radio Configuration message element MAY be included in the CAPWAP
	   Configuration Update Request/Response message.
  	</t>
  	    
	  		<figure>
						   <artwork><![CDATA[
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    Radio ID   |S|P|N|G|B|     |    MaxSup MCS | Max MandMCS   |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|    TxAntenna  |    RxAntenna  |         Reserved              |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

						 ]]></artwork>
				</figure>
				<t> Figure 1: 802.11n Radio Configuration Message Element</t>
				
				    <t>
				    	Type: TBD1 for 802.11n Radio Configuration Message Element.
					  </t>
					  <t>
					  	Length: 16.
					  </t>
					  <t>
					  	Radio ID:   An 8-bit value representing the radio, whose value is between one (1) and 31.
					  </t>
						<t>
						  S bit: A-MSDU configuration: Enable/disable Aggregate MAC Service Data Unit (A-MSDU).
						  Set to 0 if disabled.
						  Set to 1 if enabled. 
						</t>
						<t>
						  P bit: A-MPDU configuration: Enable/disable Aggregate MAC Protocol Data Unit (A-MPDU).
						  Set to 0 if disabled.
						  Set to 1 if enabled.
						</t>
						<t>
						  N bit: 11n Only configuration: Whether to allow only 11n user access.
						  Set to 0 if non-802.11n user access is allowed.
						  Set to 1 if non-802.11n user access is not allowed.
						</t>
						<t>
						  G bit: Short GI configuration:
						  Set to 0 if Short Guard Interval is disabled.
						  Set to 1 if enabled.
						</t>
						<t>
						  B bit: Bandwidth binding mode configuration: 
						  Set to 0 if 40MHz binding mode.
						  Set to 1 if 20MHz binding mode.
						</t>
						<t>
						  Maximum supported MCS: Maximum Modulation and Coding Scheme (MCS) index. It indicates the maximum MCS index that the WTP or the STA can support.
						</t>
						<t>
						  Max Mandatory MCS: Maximum Mandatory Modulation and Coding Scheme (MCS) index. 
						  Mandatory rates must be supported by the WTP and the STA that want to associate with the WTP.
						</t>
																						
						<t>
						  TxAntenna: Transmitting antenna configuration.						  
						  Each TxAntenna bit represents a certain number of antennas. Set to 1 if enabled, set to 0 if disabled.
						</t>
						<t>
						  RxAntenna: Receiving antenna configuration.
						  Each RxAntenna bit represents a certain number of antennas. Set to 1 if enabled, set to 0 if disabled.
						</t>	
						
						<t>
							The detail definition of TxAntenna/RxAntenna is as follows: 
						</t>
						
						<figure>
																		 <artwork><![CDATA[
												              
					 0 1 2 3 4 5 6 7 
				    +-+-+-+-+-+-+-+-+
					|8|7|6|5|4|3|2|1|   
					+-+-+-+-+-+-+-+-+
												
																		 ]]></artwork>
						</figure>
													<t> Figure 2: Definition of TxAntenna/RxAntenna </t>
					 
					 <t>
							Each bit when enabled will represent the number of antennas correspondent to that bit. 
							Only one bit is allowed to be set to 1.
							For example, when the first bit is enabled,it represents 8 antennas. 
					 </t>
																												
  </section>
  
  <section title="802.11n Station Information">
  	<t>
  		The 802.11n Station Information message element is used to deliver IEEE 802.11n
  		station policy from the AC to the WTP. The definition of the 802.11n Station
  		Information message element is in figure 3. The format of 802.11n Station Information MAY be
  		included in the CAPWAP Station Configuration Request message.
  	</t>
  	  
				<figure>
						   <artwork><![CDATA[
						   	
 0                   1                   2                   3
 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                          MAC Address                          |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|            MAC Address        |S| P |T|F|H|M| |  Max RxFactor |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Min StaSpacing|       HiSuppDataRate          | AMPDUBufSize  |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| AMPDUBufSize  |    HtcSupp    |           MCS Set             |      
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   MCS Set                                                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|   MCS Set                                                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

						]]></artwork>
				</figure>
				<t>Figure 3: 802.11n Station Information</t>
			
				<t>
					MAC Address:   The station's MAC Address.
				</t>
				<t>
					Type: TBD2 for 802.11 Station Information.
				</t>
				<t>
					Length: 24.
				</t>
				<t>
					S bit: Supporting bandwidth mode.
					0x00: 20MHz bandwidth mode.
					0x01: 40MHz bandwidth binding mode.
				</t>
				<t>
				  P flag: Power Saving mode: 
				  0x00: Static.
				  0x01: Dynamic.
				  0x03: Do not support power saving mode.
				</t>
				<t>
				  T bit: Whether to support short GI in 20MHz bandwidth mode.
				  0x00: Do not support short GI.
				  0x01: Support short GI.
				</t>
				<t>
				  F bit: ShortGi40: Whether to support short GI in 40MHz bandwidth mode.
				  0x00: Do not support short GI.
				  0x01: Support short GI.
				</t>
				<t>
				  H bit: Whether Block Ack supports delay mode.
				  0x00: Do not support delay mode.
				  0x01: Support delay mode.
				</t>
				<t>
				  M bit: The maximal A-MSDU length.
				  0x00: 3839 bytes.
				  0x01: 7935 bytes.
				</t>
				<t>
				  Max RxFactor: The maximal receiving A-MPDU factor.
				</t>
				<t>
				  Min StaSpacing: Minimum MPDU Start Spacing.
				</t>
				<t>
				  HiSuppDataRate: Maximal transmission speed (Mbps).
				</t>
				<t>
				  AMPDUBufSize: A-MPDU buffer size (Byte). 
				</t>
				<t>
				  HtcSupp: Whether to place HT headers on the packets forwarded from this station.
				</t>
				<t>
				  MCS Set: The MCS bitmap that the station supports.
				</t>
				
  </section>
 </section>
</section>

<section title="Power and Channel Autoconfiguration">
		
  <t>Power and channel autoconfiguration could avoid potential radio interference
  and improve the WLAN performance. In general, the auto-configuration
  of radio power and channel could occur at two stages: when the WTP power on
  or during the WTP running time.</t>

	<section title="Channel Autoconfiguration When WTP Power On">
	 <t>
	    Power and channel auto reconfiguration avoids potential radio
   		interference and improves the WLAN performance.  In general, the auto-
   		configuration of radio power and channel can occur at two stages:
   		when the WTP powers on or while the WTP is in running state.



	 	When the WTP is powered-on, it needs to configure a proper
	    channel.

	    IEEE 802.11 Direct Sequence Control elements or IEEE 802.11 OFDM Control
	    element defined in RFC5416 SHOULD be carried in the Configure Status
	    Response message to offer WTP a channel at this stage. 	   

	    If the channel field of those information element is set to 0, 
	    the WTP will need to
	    determine its channel by itself, otherwise the WTP SHOULD be configured
	    according to the provided information element.
	  </t>
	
	  <t>When the WTP determines its own channel configuration, it should first
	    scan the channel information, then determine which channel it will
	    work on and form a channel quality scan report. 

	    As shown in Figure 3, the AC can control the scanning process by sending the IEEE 802.11 Scan Parameters message element defined in Section 5.1 to the WTP in a Configure Status Response message or in a WTP Configure Update Request message.


	    The  WTP will send the channel quality report to the AC 
	    using the WTP Event Request message.</t> 
	  <t>  
	    AC will determine whether to change the channel configuration based on
	    the received channel quality report.
	    
	    The AC MAY use a IEEE 802.11 Direct Sequence Control or IEEE 802.11 OFDM Control
	    message element carried by the configure Update Request message to configure
	    a new channel for the WTP.</t>
	</section>

  <section title="Power Configuration When WTP Power On">
	  <t>The IEEE 802.11 Tx Power message element defined in
	  section 6.18 of <xref target="RFC5416" /> is used by the AC to control the transmission
	    power of the WTP. 
	    
	    The 802.11 Tx Power information element is carried in the Configure Status 
	    Response message or in the Configure Update Request message.
	  </t>
	</section>

  <section title="Channel/Power Auto Adjustment">
			  
			  <t>
			    The Channel Scan Procedure is illustrated by the figure 4.
			  </t>
			
			    <figure>
			     <artwork><![CDATA[
			
			      WTP              Configure Status Reqest              AC
			      ------------------------------------------------------->
	Configure Status Res(Scan Parameter Message Element, Channel Bind Message Element)
			      <------------------------------------------------------
			    or
			
			    WTP                                                     AC
	Configure Update Req(Scan Parameter Message Element, Channel Bind Message Element )                    
			      <----------------------------------------------------- 
			                      Configure Update Response
			      ----------------------------------------------------->
			
			    ]]>
			    </artwork>
			    </figure>
			
			     <t>Figure 4: Channel Scan Procedure</t>
			     
			     
				<t>The WTP has two work modes: normal mode and scan only mode.  In normal
			   mode, the WTP can provide service for station access and scan 
			   channels at the same time.  Whether the WTP will scan a given set of channels is
			   determined by the Max Cycles field in the IEEE 802.11 Channel Bind message element defined in Section 4.3.2.  When
			   this field is set to 0, the WTP will not scan the channel.  If this
			   field is set to 255, the WTP will scan the channel continuously.  The
			   type of the scan is determined by the Scan Type field.  With the
			   passive scan type, the WTP monitors the air interface, using the
			   received beacon frames to determine the nearby WTPs.  With the active
			   scan type, the WTP will send a probe message and receive probe
			   response messages. In this case, the WTP may need to operate in station mode which means it is not a WTP function only device, it 
			   also has part of station function.</t> 

			<t>In normal mode, the WTP behaviour is controlled by three
			   parameters: PrimeChlSrvTime, OnChannelScanTIme, and OffChannelScnTIme. These are provided by the IEEE 802.11 Scan Parameters message element defined in Section 4.3.1.
			   The WTP will provide access service for stations for the duration given by PrimeChlSrvTime. It then scans the working channel for the duration given by OnChannelScnTime.  It returns to servicing station access requests on the working channel for another period of length PrimeChlSrvTime, then moves to a different channel and scans it for duration OffChannelScnTime. It repeats this cycle, scanning a new non-working channel each time, until all the channels have been scanned. This channel scan procedure can
			   be used to determine the interference of both the current working channel and non-working channel to avoid potential interference.</t>

			   <t>When the WTP works in scan only mode, it does not distinguish
			   between the working channel and scan channel.  Every channel's scan
			   duration will be OffChannelScnTime and PrimeChlSrvTime and
			   OnChannelScanTime MUST be set to 0.</t>

			<t>As shown in Figure 4, the AC can control the scan behaviour at the WTP by including the IEEE 802.11 Scan Parameters and IEEE 802.11 Channel Bind message elements in a Configure Status Response or WTP Configure Update Request message.</t>

			<t>Scan Report.  After completing its scan, the WTP MAY send the scan report to the AC using a WTP
			   Event Request message.  The scan report information is carried in the IEEE 802.11 Channel Scan Report message element (Section 4.3.3) and an instance of the IEEE 802.11 Information Element message element carrying a copy of theIEEE 802.11  Neighbor WTP Report information element (Section 4.3.4).</t>

			
			<section title="IEEE 802.11 Scan Parameters Message Element">
			  <t>The format of the IEEE 802.11 Scan Parameters Message Element is as shown in Figure 5: </t>
			
			    <figure>
			      <artwork>
			        <![CDATA[
			
				0                   1                   2                   3
			 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
			+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
			|    Radio ID   |M|S|L|D|       |         Report Time           |
			+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
			|      PrimeChlSrvTime          |     On Channel ScanTime       |
			+-------------------------------+-------------------------------+
			|   Off Channel ScanTime        |
			+-------------------------------+
			
			        ]]>
			      </artwork>
			    </figure>
			    <t> Figure 5: IEEE 802.11 Scan Parameters Message Element </t>
					
					<t>
					  Type: TBD3 for IEEE 802.11 Scan Parameters Message Element.
					</t>
					<t>
						Length: 10.
					</t>
					<t>
						Radio ID: An 8-bit value representing the radio, whose value is between one (1) and 31.
					</t>
					<t>
					  M bit: Work mode of the WTP. 0:normal mode. 1: scan only mode, no service is provided in this mode.
					</t>
					<t>
					  S bit: Scan Type: 0: active scan; 1: passive scan.
					</t>
					<t>
					  L bit: L=1: Open Load Balance Scan. L=0: Disable Load Balance Scan.
					</t>
					<t>
					  D bit: D=1: Open Rogue WTP detection scan. D=0: Disable Rouge WTP detection scan.
					</t>
					<t>
					  Report Time: Channel quality report time (unit: second). 
					</t>
					<t>
					  PrimeChlSrvTime: Service time (unit: millisecond) on the working scan channel. This segment is invalid(set to 0) when WTP oper mode is set to 1. The maximum value of this segment is 10000, the minimum value of this segment is 5000, the default value is 5000.
					</t>
					<t>
					  On Channel ScanTime: The scan time (unit: millisecond) of the working channel. When the M bit is set to 1 (active scan), this segment is invalid(set to 0). The maximum value of this segment is 120, the minimum value of this segment is 60, the default value is 60.
					</t>

					<t>
					Off Channel ScanTime: The scan time (unit: millisecond) of the working channel.  When the
   					WTP operating mode is set to 2, this segment MUST be set to 0.  The
   					maximum value of this segment is 120, the minimum value of this
   					segment is 60, the default value is 60.
					</t>
					
				</section>
			
			<section title="IEEE 802.11 Scan Channel Bind Message Element">  
				<t>
				  The format of the IEEE 802.11 Scan Channel Bind Message Element is as follows:  
				</t>
			
			    <figure>
			      <artwork>
			        <![CDATA[
				      0                   1                   2                   3
			         0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
	 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
	 |   Radio ID    |   Flag        |   Max Cycles  |Channel Count  |ScanChannelSet.|
	 +---------------+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
			        ]]>
			      </artwork>
			    </figure>
			
			    <t> Figure 6: IEEE 802.11 Scan Channel Bind Message Element </t>
			
					
					<t>
					  Type: TBD4 for IEEE 802.11 Scan Channel Bind Message Element. 
					</t>
					<t>
						Length: variable.
					</t>
					<t>
						Radio ID: An 8-bit value representing the radio, whose value is between one (1) and 31.
					</t>					
					<t>
					  Flag: reserved.
					</t>
					<t>
					  Max Cycles: Number of times the scanning cycle is repeated for the set of channels identified by this message element. 255 means continuous scan.  
					</t>
					<t>
					  Channel Count: The number of channels will be scanned.
					</t>
					<t>
					  Scan Channel Set: identifies the members of the set of channels to which this message element instance applies.  The format for each channel is as follows:
					</t>
					 
							 <figure>
							      <artwork>
							        <![CDATA[
				0                   1                   2                   3
			 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
			+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
			|            Channel ID          |              Flag            |
			+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
												        ]]>
							      </artwork>
							    </figure>
					
								<t> Figure 7: Channel Information Format </t>
			     		
							
								<t>
								  Channel ID: the channel ID of the channel which will be scanned.
								</t>
								<t>
								  Flag: Bitmap, reserved for future use.
								</t>																							
			
			</section>
			
			<section title="IEEE 802.11 Channel Scan Report">
				
					<t>
					  There are two types of scan report: Channel Scan Report and
					  WTP Neighbor Report. Channel Scan Report is used to channel
					  autoconfiguration while WTP Neighbor Report is used to power
					  autoconfiguration.
					  
					  The WTP send the scan report to the AC through WTP Event Request message. 
					  The information element that used to carry the scan report is Channel Scan Report Message Element and 
					  WTP Neighbor Report Message Element.
					</t> 
				
				  <t>		  
					  The format of the IEEE 802.11 Channel Scan Report message element is in Figure 8. 
					</t>
			
			 		<figure>
			      <artwork>
			        <![CDATA[
			        
				0                   1          
			 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6  
			+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
			| Radio ID     | Report Count    |    Channel Scan Report ...   |
			+---------------------------------------------------------------+
			        ]]>
			      </artwork>
			    </figure>
			    <t>Figure 8: IEEE 802.11 Channel Scan Report Message Element </t>
			
					
						<t>
						  Type: TBD5 for IEEE 802.11 Channel Scan Report message element.
						</t>
						<t>
							Length: >=29.
						</t>
						<t>
						Radio ID: An 8-bit value representing the radio, whose value is between one (1) and 31.
					  </t>
						<t>
						  Report Count: The number of channels for which a report is provided. 
						</t>
						<t>
							Channel Scan Report: The format of each Channel Scan Report is shown in Figure 9.
							
						</t>
							
								<figure>
								      <artwork>
								        <![CDATA[
								            
			  0                   1                   2                   3
		   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
		   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
		   |     Channel Number   |      Radar Statistics       | Mean     |
		   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
		   |      Time    | Mean RSSI    | Screen Packet Count             |
		   +---------------------------------------------------------------+
		   | NeighborCount| Mean Noise   | Interference  |  WTP Tx Occp    |
		   +---------------------------------------------------------------+
		   | WTP Rx Occp  | Unknown Occp |  CRC Err Cnt  | Decrypt Err Cnt |
		   +---------------------------------------------------------------+
		   |Phy Err Cnt   | Retrans Cnt  |
		   +-----------------------------+
										
								        ]]>
								      </artwork>
								    </figure>
						      <t> Figure 9: Channel Scan Report </t>
									
									
						 <t>Channel Number: The channel number.</t>

					   <t>Radar Statistics: Whether detect radar signal in this channel.  0x00:
					   detect radar signal.  0x01: no radar signal is detected.</t>

					   <t>Mean Time: Channel measurement duration (ms).</t>

					   <t>Mean RSSI: The average signal strength of the scanned channel (dBm(2's complement)).</t>

					   <t>Screen Packet Count: Received packet number.</t>

					   <t>Neighbor Count: The neighbor number of this channel.</t>

					   <t>Mean Noise: the average noise on this channel (dBm(2's complement)).</t>

					   <t>Interference: The interference of the channel.</t>

					   <t>WTP Tx Occp: (The WTP transmission time/Monitor time)*255. The WTP transmission time is the total sending time of the WTP during the period of channel scan.</t>

					   <t>WTP Rx Occp: (The WTP receiving duration time/Monitor time)*255. THe WTP receiving duration time is the total receiving time of the WTP during the period of channel scan.</t>

					   <t>Unknown Occp: (All other packet transmission time duration/Monitor time)*255.</t> 

					   <t>CRC Err Cnt: CRC err packet number.</t>

					   <t>Decrypt Err Cnt: Decryption err packet number.</t>

					   <t>Phy Err Cnt: Physical err packet number.</t>

					   <t>Retrans Cnt: Retransmission packet number.</t>

					   <t>Note:The values of the above four count fields for a non-operational channel can be ignored</t>

				</section>
				
				<section title="IEEE 802.11 WTP Neighbor Report">								
					 

					 						<figure>
								      <artwork>
								        <![CDATA[
								            
				    0                   1                   2                   3
				   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
				   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
				   | Radio ID     | Reserved        | Number of Neighbor Report    |
				   +---------------------------------------------------------------+
				   | Neighbor Infor...                                             |
				   +---------------------------------------------------------------+

										
								        ]]>
								      </artwork>
								    </figure>
						      <t> Figure 10: WTP Neighbor Report TLV </t>


   						<t>The definition of Neighbor info is as follows:</t>


								<figure>
								      <artwork>
								        <![CDATA[
				    0                   1                   2                   3
				   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
				   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
				   |                            BSSID                              |
				   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
				   |            BSSID               |        Channel Number        |
				   +---------------------------------------------------------------+
				   | 2nd Offset    |  Mean RSSI     | Sta Occp     |    WTP Occp   |
				   +---------------------------------------------------------------+
				   							]]>
				   						  </artwork>
								    </figure>
							<t> Figure 11: Neighbor info </t>

							<t>BSSID: The BSSID of this neighbor WTP.</t>

   							<t>Channel Number: The channel number of this WTP neighbor.</t>

   							<t>2nd channel offset: The auxiliary channel offset of this WTP.</t>

   							<t>Mean RSSI: The average signal strength of this WTP (dbm).</t>

   							<t>Sta Occp: (The station air interface occupation time/Monitor time)*255.The station air interface occupation time is the air interface occupation time caused by the stations which are connected to this WTP.</t>

   							<t>WTP Occp: (The WTP air interface occupation time/Monitor time)*255. The WTP air interface occupation time is the air interface occupation time caused by the WTP.</t>
							
				 </section>
		  </section>	
</section>

<section anchor="security" title="Security Considerations">
<t>
    This document is based on RFC5415/RFC5416 and adds no new security considerations.
</t>
</section>


<section title="IANA Considerations">
	<t>The extension defined in this document need to extend CAPWAP IEEE 802.11 binding message element which 
		is defined in section 6 of <xref target="RFC5416" />.
		The following IEEE 802.11 specific message element type need to be defined by IANA. 
	</t>
		<t>
			TBD1: 802.11n Radio Configuration Message Element type value described in section 4.1.2.
		</t>
		<t>
			TBD2: 802.11n Station Message Element type value described in section 4.1.3.
		</t>
		<t>
			TBD3: 802.11 Scan Parameter Message Element type value described in section 4.3.1.
		</t>
		<t>
			TBD4: 802.11 Channel Bind Message Element type value described in section 4.3.2.
		</t>
		<t>
			TBD5: Channel Scan Report Message Element type value described in section 4.3.3.
		</t>

		<t>
			TBD6 entry for WTP Neighbor Report as descrbed in section 4.3.4 .
		</t>
	
</section>


<section title="Contributors">
 <t>This draft is a joint effort from the following contributors:</t>
 <t> Gang Chen:       China Mobile        chengang@chinamobile.com</t>
 <t> Naibao Zhou:     China Mobile        zhounaibao@chinamobile.com</t>
 <t> Chunju Shao:     China Mobile        shaochunju@chinamobile.com</t>
 <t> Hao Wang:        Huawei3Come         hwang@h3c.com</t>
 <t> Yakun Liu:       AUTELAN             liuyk@autelan.com</t>
 <t> Xiaobo Zhang:    GBCOM </t>
 <t> Xiaolong Yu:     Ruijie Networks </t>
 <t> Song zhao:       ZhiDaKang Communications</t>
 <t> Yiwen Mo:        ZhongTai Networks</t>
 <t> Dorothy Stanley: dstanley1389@gmail.com</t>
 <t> Tom Taylor:	  tom.taylor.stds@gmail.com</t>
</section>

<section title="Acknowledgements">
  <t>
    The authors would like to thanks Ronald Bonica,Romascanu Dan, Benoit Claise, Melinda Shore and Margaret Wasserman for their useful suggestions.
    The authors also thanks Dorothy Stanley and Tom Taylor for their review and useful comments.
  </t>
</section>

</middle>

<back>

<references title="Normative References">
  &rfc2119;
  &rfc4564;
  &rfc5415;
  &rfc5416;
  
	<reference anchor="IEEE-802.11.2012"> 
			<front> 
				<title>IEEE Standard for Information technology - Telecommunications and information exchange between
					      systems Local and metropolitan area networks - Specific requirements
					      Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications
				</title> 
				<author fullname="" surname="" initials="">
					 	<organization/> 
				</author> 
				<date year="2012" day="29" month="March"/> 
			</front>  
		<format target="http://standards.ieee.org/getieee802/download/802.11-2012.pdf" type="PDF"/> 
	</reference>
	
		<reference anchor="IEEE-802.11.2009"> 
			<front> 
				<title>IEEE Standard for Information technology - Telecommunications and information exchange between
					      systems Local and metropolitan area networks - Specific requirements
					      Part 11: Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) Specifications, Enhancements for Higher Throughput (Amendment 5)
				</title> 
				<author fullname="" surname="" initials="">
					 	<organization/> 
				</author> 
				<date year="2009" day="" month=""/> 
			</front>  
		<format target="" type="PDF"/> 
	</reference>

		
	
</references>

</back>
</rfc>
