Quick_Start_Guide_for_WOW.pdf
(
362 KB
)
Pobierz
Quick Guide for Wake on WLAN
Date: 2015/05/13
Version: 0.4
1
Quick Start Guide for Wake on Lan
(1)
Support list:
.) USB interface: 8188EU, 8188CU, 8192DU, 8192EU, 8723BU, 8812AU.
.) SDIO interface: 8189ES, 8723BS, 8192ES
(2) Requirements of wakeup via in-band and out-band methods:
.) In-band requirements:
SDIO Interface:
SDIO host MUST support remote wakeup feature.
SDIO data1 MUST be wakeup source in the host platform.
The platform MUST keep power to WiFi chip in suspend state.
The platform MSUT work fine
between
suspend and resume.
USB Interface:
USB host MUST support remote wakeup feature.
The platform MUST keep power to WiFi chip in suspend state.
The platform MSUT work fine between suspend and resume.
.) Out-band requirements:
The GPIOof the
PLATFORM
MUST be wakeup source.
The platform MUST keep power to WiFi chip in suspend state.
The platform MSUT work fine between suspend and resume.
The WIFI module MUST have the GPIO
wakeup
pin.
(3) Driver Configuration for Wake on Lan:
.) In-band configuration:
If using
SDIO DATA1 pin
or
USB protocol D+/D- toggle
in-band method
to wakeup the host, driver need to do is only switch
CONFIG_WOWLAN
from “n” to “y” in Makefile as Figure 1.
(Figure 1)
2
.) Out-band configuration:
If using out-band method, driver need to do is modify Makefile and config
GPIO. The detail is as following:
Makefile Configuration:
Switch
CONFIG_WOWLAN
and
CONFIG_GPIO_WAKEUP
from “n”
to “y” as Figure 2.
(Figure 2)
GPIO Configuration:
If use the module package, please use the driver default value. The
default value depends on HDK document.
If there is any customized requirement about modify WIFI GPIO
number, please modiy the value of CONFIG_WAKEUP_GPIO_IDX in
Makefile and
please contact with RTK technical support team first.
User could use “proc” subsystem to modify the behavior of WIFI GPIO
when receive wakeup up packet in non-suspend state.
wowlan_gpio_info to show WIFI wakeup host GPIO number and
high_active value:
cat /proc/net/rtlxxxx/wlanX/wowlan_gpio_info
modify high_active form 0 to 1 in wowlan_gpio_info:
echo 1 > /proc/net/rtlxxxx/wlanX/wowlan_gpio_info
high_active = 0 means pull low wake. (default)
high_active = 1 means pull high wake.
(Figure 3)
3
.) Set up the specific wake up pattern:
iw:
iw phyX wowlan enable patterns <pattern>
iwpriv:
iwpriv wlanX wow_set_pattern pattern=<pattern>
Patter Format:
IP filter This pattern if for a frame containing a ip packet:
AA:AA:AA:AA:AA:AA:BB:BB:BB:BB:BB:BB:CC:CC:DD:-:-:-:-:-:-:-:-:EE:-:-:
FF:FF:FF:FF:GG:GG:GG:GG:HH:HH:II:II
A: Ethernet destination address
B: Ethernet source address
C: Ethernet protocol type
D: IP header VER+Hlen, use: 0x45 ( 4 ??is for ver 4, 5 is for len 20)
E: IP protocol
F: IP source address ( 192.168.0.4: C0:A8:00:2C )
G: IP destination address ( 192.168.0.4: C0:A8:00:2C )
H: Source port (1024: 04:00)
I: Destination port (1024: 04:00)
Examples
Wake up on any packet sent to MAC 00:E0:4C:01:F0:EE
1.
2.
iw phyX wowlan enable patterns 00:E0:4C:01:F0:EE
iwpriv wlanX wow_set_pattern pattern=00:E0:4C:01:F0:EE
Wake up on any ICMP packet sent to MAC 00:E0:4C:01:F0:EE IP
192.168.11.4
1.
iw phyX wowlan enable patterns
00:E0:4C:01:F0:EE:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:01:-:-:-:-:-:-:c0:
a8:0b:04:-:-:-:-
2.
iwpriv wlanX wow_set_pattern
pattern=00:E0:4C:01:F0:EE:-:-:-:-:-:-:08:00:45:-:-:-:-:-:-:-:-:01:-:-:
-:-:-:-:c0:a8:0b:04:-:-:-:-
4
(4) The wake yo reasib table:
The DUT could be waked up by the WIFI chip with the following reasons:
Reason Value
0x01
0x02
0x04
0x08
0x10
0x21
0x22
0x23
Description
Receive pairwise key change packet.
Receive group key change packet.
Receive disassociate packet.
Receive de-auth. Packet.
AP power off, or could not receive
AP’s beacon in a period time
Receive magic packet.
Receive unicast packet.
Pattern Match
The unicast packet included IP level.
The device could be waked up by
specific pattern.
GTK offload support list: 8723BS/BU,
8192ES/EU, 8812AU
Note
5
Plik z chomika:
hacyy
Inne pliki z tego folderu:
Office Professional Plus 2019.zip
(3355391 KB)
Worms Armageddon [WINDOWS 10] SPOLSZCZENIE [PL].7z
(533047 KB)
Wireshark-win32-3.6.5.exe
(59869 KB)
OCCT.exe
(84407 KB)
LibreOffice_7.3.3_Win_x64.msi
(339680 KB)
Inne foldery tego chomika:
AsProgrammer
BOOTICE_2016.06.17_v1.3.4.0
CH341A - USB Programmer v1.30_PL
CH341A Programmer v1.4
Diagnostyka BMW
Zgłoś jeśli
naruszono regulamin