RT2860 Software Release Note For Windows CE
RT2860 Software Release Note For Windows CE
Product Name Interface Supported Package Version Driver Version User Interface Version Date
1/17
2/17
1. 2. 3. 4. 5. 6. 7. 8. 9.
Introduction................................................................................................................. 4 Hardware Requirements.............................................................................................. 4 Software Requirements............................................................................................... 4 Wireless Features ........................................................................................................ 5 Build Image (NK.BIN) Instructions ........................................................................... 6 Registry Setting Descriptions ..................................................................................... 7 Ratool Descriptions..................................................................................................... 9 Wi-Fi Protected Setup Overview .............................................................................. 12 Direct-Link Setup (DLS) .......................................................................................... 13
10. Appendix................................................................................................................... 17
3/17
1. Introduction
This document guides you how to setup the Ralink RT2860 series driver in Windows CE operating system. Please refer to the blog for more information: http://ralinkce.blogspot.com/.
2. Hardware Requirements
The adapters (made with the Ralink RT2860 series chipset) are supported:
1. Ralink RT2860 (Vender ID = 0x1814 & Device ID = 0x0601)
3. Software Requirements
1. Platform Builder 5.0 or VS2005+Windows CE 6.0 2. Windows CE 5.0 QFE20061231 is a plus. The WPA2 is supported after this QEF.
4/17
4. Wireless Features
Infrasturcture(Station mode) i. ii. iii. iv. v. vi. i. ii. iii. i. ii. iii. iv. i. ii. Open/None Open,Shared/WEP WPA-PSK/TKIP,AES WPA2-PSK/TKIP,AES(i) WPA/TKIP,AES WPA2/TKIP,AES(i) Open/None Open/WEP WPA-None/TKIP,AES Open/None Open,Shared/WEP WPA-PSK/TKIP,AES WPA2-PSK/TKIP,AES PIN PBC
Adhoc(Station mode)
AP Mode
Ratool Ralink Wireless Configure Tool for CMD Note: (i). Windows CE 5.0 QFE20061231 is necessary to support WPA2 security features.
5/17
5.
6/17
2. AP Mode Registry Setting Example: [HKEY_LOCAL_MACHINE\Comm\PCI\RT28601\Parms] "OpMode"=dword:1 "Channel"=dword:1 ; 1~14 ; Max 32-char ascii
"SSID"=" RalinkAP-WinCE" "AuthenType"=dword:0 ; ; ; ; 0: OPEN 1: SHARED 4: WPAP-PSK 7: WPA2-PSK "Encryption"=dword:1 ; ; ; ; 1: NONE 0: WEP 4: TKIP 6: AES "WEPKeyUse"=dword:2 ; ; 1~4
; ; ; ;
WEP KEY, 5-char ascii or 10-char hexadecimal for WEP40 13-char ascii or 26-char hexadecimal for WEP128
7/17
Note: (i). Rebuild the image and load on the platform. (ii).After system boot, the driver will be loaded. (iii). The auto-config utility for wireless must be disabled when wireless driver is working in AP mode. (iv). Authentication and Encryption Combinations as bellow: OPEN/NONE OPEN/WEP SHARED/WEP WPA-PSK/TKIP WPA-PSK/AES WPA2-PSK/TKIP WPA2-PSK/AES (v). Internet Connection Sharing in CE can be enabled for AP mode. Details can be found in help file or on the MSDN.
8/17
7. Ratool Descriptions
Ratool is a wireless utility for Windows CE command shell. Ratool is from wzctool and adds more proprietary Ralink OID functions. The user can make use of this tool to modify the Ralink wireless driver details and settings.
AP Command Example
1. OPEN/NONE > ratool -ap [-save or -s] PCI\RT28601 -auth open > ratool -ap [-save] PCI\RT28601 -encr none > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP
2. OPEN(SHARED)/WEP40 - 5-CHAR ASCII WEP KEY > ratool -ap [-save] PCI\RT28601 -auth open(shared) > ratool -ap [-save] PCI\RT28601 -encr wep > ratool -ap [-save] PCI\RT28601 -key 1/remove(optional) > ratool -ap [-save] PCI\RT28601 -key 1/12345 > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP
3. OPEN(SHARED)/WEP40 - 10-CHAR HEXA WEP KEY > ratool -ap [-save] PCI\RT28601 -auth open(shared) > ratool -ap [-save] PCI\RT28601 -encr wep > ratool -ap [-save] PCI\RT28601 -key 1/remove(optional) > ratool -ap [-save] PCI\RT28601 -key 1/12345abcde > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP
4. OPEN(SHARED)/WEP128 - 13-CHAR ASCII WEP KEY > ratool -ap [-save] PCI\RT28601 -auth open(shared) > ratool -ap [-save] PCI\RT28601 -encr wep > ratool -ap [-save] PCI\RT28601 -key 2/remove(optional) > ratool -ap [-save] PCI\RT28601 -key 2/abcdefghijklm > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP
5. OPEN(SHARED)/WEP40 - 26-CHAR HEXA WEP KEY > ratool -ap [-save] PCI\RT28601 -auth open(shared) > ratool -ap [-save] PCI\RT28601 -encr wep Ralink Technology Confidential 9/17
> ratool -ap [-save] PCI\RT28601 -key 3/remove(optional) > ratool -ap [-save] PCI\RT28601 -key 3/12345678901234567890abcdef > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP
6. WPA-PSK(WPA2-PSK)/TKIP(AES) - 8~63-CHAR ASCII PASSPHRASE > ratool -ap [-save] PCI\RT28601 -auth wpa-psk(wpa2-psk) > ratool -ap [-save] PCI\RT28601 -encr tkip(aes) > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP > ratool -ap [-save] PCI\RT28601 -wpapsk 1234567890abcxyzABCXYZ > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP
7. WPA-PSK(WPA2-PSK)/TKIP(AES) - 64-CHAR HEXA KEY > ratool -ap [-save] PCI\RT28601 -auth wpa-psk(wpa2-psk) > ratool -ap [-save] PCI\RT28601 -encr tkip(aes) > ratool -ap [-save] PCI\RT28601 -wpapsk 12345abcdef67890abcdef > ratool -ap [-save] PCI\RT28601 -ssid RalinkAP Note: (i). You can use save or s option to save the setting into registry. The setting will be reloaded when driver reloaded.
1. Configure with PIN mode: > ratool -disablewzcsvc PCI\RT28601 > ratool -wps PCI\RT28601 -info ; PIN will be listed
> ratool -wps PCI\RT28601 -bssidlist Key PIN on Registrar(i) > ratool -wps PCI\RT28601 -pin YourSsid > ratool -wps PCI\RT28601 -status auto > ratool -wps PCI\RT28601 -profile 1(ii) > ratool -enablewzcsvc PCI\RT28601 (i). Enter the Enrollees PIN code on the Registrar and start WPS on the Registrar. Note: How to get the Enrollee PIN code? Use 'ratool -wps PCI\RT28601 -info' on the Enrollee. (ii). If the registration is successful, the Enrollee will be given the configuration profiles. The Enrollee can connect to the AP with these new parameters. Ralink Technology Confidential 10/17
2. Configure with PBC mode: > ratool -disablewzcsvc PCI\RT28601 > ratool -wps PCI\RT28601 -info > ratool -wps PCI\RT28601 -bssidlist Push button on Registrar(i) > ratool -wps PCI\RT28601 -pbc [Or push hardware button on wireless card] > ratool -wps PCI\RT28601 -status auto > ratool -wps PCI\RT28601 -profile 1(ii) > ratool -enablewzcsvc PCI\RT28601
(i). Start PBC on the Registrar. {ii). If the registration is successful, the Enrollee will be given the configuration profiles. The Enrollee can connect to the AP with these new parameters.
11/17
Figure 1. Components and Interfaces Registration initiation is ordinarily accomplished by a user action such as powering up the Enrollee and, optionally, running a setup wizard on the Registrar (PC).
12/17
1a) A STA, QSTA-1, that intends to exchange frames directly with another non-AP STA, QSTA-2, invokes DLS and sends a DLS Request frame to the QAP. 1b) If QSTA-2 is associated in the BSS, direct streams are allowed in the policy of the BSS, and QSTA-2 is indeed a QSTA, then the QAP forwards the DLS Request frame to the recipient, QSTA-2. 2a) If QSTA-2 accepts the direct stream, it sends a DLS Response frame to the QAP. 2b) The QAP forwards the DLS Response frame to QSTA-1, after which the direct link becomes active and frames can be sent from QSTA-1 to QSTA-2 and from QSTA-2 to QSTA-1.
13/17
9.1.2 DLS teardown The DLS Teardown frame is sent to terminate a direct link with a peer MAC. If QSTA-1 intends to teardown DLS connection with QSTA-2, QSTA-1 sends a Teardown frame to the QAP, then the QAP forwards the DLS Teardown frame to the recipient, QSTA-2. Upon receipt of the DLS Teardown frame (from the QAP), the QSTA-2 shall delete the QSTA from the list of the QSTAs with which direct link has been established. 9.1.3 Error Recovery upon a Peer Failure Every STA shall maintain an inactivity timer for every negotiated direct link (i.e., STAs on both sides of the link maintain these timers). The DLS inactivity timer shall be reset for every successful frame transmission or reception for that direct link. The direct link becomes inactive when no frames have been exchanged as part of the direct link for the duration of DLS timeout value. When the direct link becomes inactive due to the timeout, the MAC sends a DLS Teardown frame to the QAP, with the peer MAC address as the destination MAC address. All frames shall henceforth be sent via the QAP. The DLS Timeout Value contains the duration, in seconds, after which the direct link is terminated, if there are no frame exchanges within this duration with the peer. A value of 0 implies that the direct link is never to be terminated based on a timeout. 9.2 How to use DLS in WCE Ratool is a wireless utility for Windows CE command shell. It added DLS feature with Ralink OID functions in version 2.2.0.7. This is detailed explanation of each parameter for DLS command. Note: []: mandatory USAGE: >ratool -[act] <wireless card name> -[parameter] [val] where [act] 9.2.1 act::cmn 9.2.1.1 parameter::swmm [val] constraints:: 0~1
Ralink Technology Confidential 14/17
<>: optional
[parameter]
[val] constraints
explanation
Explanation: set WMM capability to wireless card. 1 - enable 9.2.2 act::dls 9.2.2.1 parameter::enable Explanation: enable DLS capability to wireless card. 9.2.2.2 parameter::disable Explanation: disable DLS capability to wireless card. 9.2.2.3 parameter::peer [val] constraints:: xxxxxxxxxxxx Explanation: set DLS connection to peer MAC address (xx-xx-xx-xx-xx-xx) with default timeout value 60 second. If you want to set the timeout value, you shall add command <-t time> after [val]. Time 0 implies dls never be teardown by timeout. Ex. > ratool -dls <card name> -peer 001150bbc0f2 -t 120 9.2.2.4 parameter::list Explanation: query the DLS entry list. 9.2.2.5 parameter::teardown [val] constraints:: xxxxxxxxxxxx Explanation: teardown the DLS connection of MAC address. (xx-xx-xx-xx-xx-xx) 9.3 DLS Command example > ratool -cmn <card name> -swmm 1 > ratool -dls <card name> -enable 0 - disable
//Enable WMM capable //Enable DLS capable //DLS connect to peer MAC address //00-11-50-bb-c0-f2 with timeout value 0
> ratool -dls <card name> -teardown 001150bbc0f2 //Teardown the DLS connect of MAC //address 00-11-50-bb-c0-f2 > ratool -dls <card name> -disable > ratool -cmn <card name> -swmm 0 //Disable DLS capable //Disable WMM capability
9.4 Reference [1] IEEE Std 802.11e-2005, Wireless LAN Medium Access Control (MAC) and Physical Layer (PHY) specifications [2] Ralink RaUI Version 2.2.4.4 Source Code [3] RT2501USB WinCE5.0 Version 1.3.2.8 Source Code
16/17
10. Appendix
1. WZC Autoconfig source code is in \WINCE500\PUBLIC\COMMON\OAK\DRIVERS\NETUI\ 2. WZCTOOL source code is in \WINCE500\\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\WZCTOOL\ 3. The user can add the Internet Connection Sharing or Bridge features to Windows CE kernel in AP mode.
17/17