Howto:How to Read WLAN Traces on IP72: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
Line 66: Line 66:
== Analyse the cryptic output ==
== Analyse the cryptic output ==


check configuration:
Repeated configuration:


  0:0000:821:5 - HEXDUMP
  0:0000:821:5 - HEXDUMP
Line 72: Line 72:
  0:0000:821:5 - wlan_mgr config: (trpz,4)(AES-CCMP,43999994399999439999943666,1[1-4])(wpa2,none)->(2,WPA2,NONE,,)
  0:0000:821:5 - wlan_mgr config: (trpz,4)(AES-CCMP,43999994399999439999943666,1[1-4])(wpa2,none)->(2,WPA2,NONE,,)
                 (passwordd,,)(uapsd,long-doze->long-doze)(0->world) (-70dBm)
                 (passwordd,,)(uapsd,long-doze->long-doze)(0->world) (-70dBm)
Intial setup, powermode, regdoamin, channel-mask
0:0000:821:6 - wlan_mgr: powermode state -> s:0 (long-doze)
0:0000:821:7 - wlan_mgr config: regdomain: vars 1, config 1
0:0000:821:7 - wlan_mgr config: channel mask: vars 0x421, config 0x421
Initial setup, config WLAN Auth.
0:0000:926:7 - [WLAN] Updating WLAN driver security parameters;
0:0000:927:0 - [WLAN]    Setting Authentication mode to WPA2
0:0000:927:0 - [WLAN]    Setting Encryption to AES-CCMP
0:0000:927:1 - [WLAN]    Setting passphrase **************
0:0000:927:1 - [WLAN]    Setting EssId trpz
0:0000:927:1 - [WLAN]            EssId length = 4
Start joining the WLAN network:
0:0002:200:5 - [WLAN] here HAL_CTRL  , INIT:  whal_hwCtrl_StartJoin: Enable Tx, Rx and Start the Bss
0:0002:200:6 - [WLAN] here HAL_CTRL  , INIT:  ------------------------------------------------------------
0:0002:200:7 - [WLAN] here HAL_CTRL  , INIT:  START/JOIN, SSID=trpz, BSSID=00-0B-0E-55-67-80, Chan=11
0:0002:201:0 - [WLAN] here HAL_CTRL  , INIT:  ------------------------------------------------------------

Revision as of 18:09, 19 November 2009

Activate WLAN Tracing with V8

WLAN tracing is activated by navigating to Diagnostics submenu, Tracing, and activating the WLAN checkbox.

Wlan-trace-1.png

It can also be activated by invoking

config add WLANMGR0 /xtrace
config write
reset

Deactivate trace with

config rem WLANMGR0 /xtrace
config write
reset

Activate WLAN Tracing with V7

From the command line:

activate WLAN trace with
config add WLANMGR0 /xtrace
config change ASCDEBUG0 /enable supp /enable wlan
config write
reset

Deactivate trace with

config rem WLANMGR0 /xtrace
config change ASCDEBUG0
config write
config activate

Fetching trace by HTTP

Activate WLAN trace and click on "Trace (continuous)".

Wlan-trace-1.png

Fetching trace by USB

Download USB utilities from http://download.innovaphone.com/. IP72.zip contains the IP72 USB driver (usbio.sys) and the usbload utility (usbload.exe). Place the IP72 in the USB cradle and ,ake sure IP72 is correctly recognized and installed by Windows OS. Activate WLAN Trace as described above.

Alternatively, if there is still no WLAN connection to the IP72, one can activate it through usbload:

>usbload
usbload 1.5 [09-60034]
user: admin
password: ****
$

Activate WLAN trace:

config add WLANMGR0 /xtrace
config change ASCDEBUG0 /enable supp /enable wlan
config write
reset

After reboot start continuous trace by invoking:

usbload login 
usbload clog /file log.txt

When done, interrupt the command by hitting CTLR-C. The trace is stored to file log.txt.

Analyse the cryptic output

Repeated configuration:

0:0000:821:5 - HEXDUMP
               00000000 - 43 99 99 94  39 99 99 43  98 99 94 39  98            C...9..C...9.   
0:0000:821:5 - wlan_mgr config: (trpz,4)(AES-CCMP,43999994399999439999943666,1[1-4])(wpa2,none)->(2,WPA2,NONE,,)
               (passwordd,,)(uapsd,long-doze->long-doze)(0->world) (-70dBm)

Intial setup, powermode, regdoamin, channel-mask

0:0000:821:6 - wlan_mgr: powermode state -> s:0 (long-doze)
0:0000:821:7 - wlan_mgr config: regdomain: vars 1, config 1
0:0000:821:7 - wlan_mgr config: channel mask: vars 0x421, config 0x421

Initial setup, config WLAN Auth.

0:0000:926:7 - [WLAN] Updating WLAN driver security parameters;
0:0000:927:0 - [WLAN]    Setting Authentication mode to WPA2
0:0000:927:0 - [WLAN]    Setting Encryption to AES-CCMP
0:0000:927:1 - [WLAN]    Setting passphrase **************
0:0000:927:1 - [WLAN]    Setting EssId trpz
0:0000:927:1 - [WLAN]            EssId length = 4

Start joining the WLAN network:

0:0002:200:5 - [WLAN] here HAL_CTRL  , INIT:   whal_hwCtrl_StartJoin: Enable Tx, Rx and Start the Bss
0:0002:200:6 - [WLAN] here HAL_CTRL  , INIT:   ------------------------------------------------------------
0:0002:200:7 - [WLAN] here HAL_CTRL  , INIT:   START/JOIN, SSID=trpz, BSSID=00-0B-0E-55-67-80, Chan=11
0:0002:201:0 - [WLAN] here HAL_CTRL  , INIT:   ------------------------------------------------------------