Mediatek Labs LinkIt Connect 7681 Developer's Manual page 59

Table of Contents

Advertisement

6.3.2.
Using log to debug in AP mode
If MT7681 is in AP mode with PRINT_FLAG=TRUE the following is a typical debug log:
==> Recovery Mode
<== Recovery Mode
(-)
load_ap_cfg
content,
===> APStartUp
PMK Updating ...
according to
/*print the final used AP configurations*/
AP SETTING: SSID[MT7681_AP1], AuthMode[9], WepStatus[8], Channel[8]
APStartUp ...
OK
[WTask]10140
/*A station which has MAC address "***.f4", send Auth Req packet to MT7681
AP*/
APPeerAuthReqAction: MAC-69:df:dd:29:62:f4
MacTableInsertEntry,280,
APHandleRxMgmtFrame,260, SUBTYPE_AUTH:/* MT7681 AP deal with the received
Auth
Response
APAssocReqActionAndSend : MAC-69:df:dd:29:62:f4
Request
APHandleRxMgmtFrame,273, SUBTYPE_ASSOC_REQ: /* MT7681 AP deal with the
received
WpaEAPOLStartAction [pEntry->Aid= 1] ===> : /* MT7681 AP send EAPOL start
4
===> WPAStart4WayHS, pEntry->Aid=1
<=== WPAStart4WayHS: send Msg1 of 4-way
===> PeerPairMsg2Action [pEntry->Aid=1]
<=== PeerPairMsg2Action: send Msg3 of 4-way
===> PeerPairMsg4Action [pEntry->Aid=1]
/*4 way handshake finished*/
AP SETKEYS DONE - WPA2, AuthMode(7), WepStatus(6), GroupWepStatus(4)
Client IP: 192.168.81.2
/*MT7681 AP dump all DHCP client list*/
DhcpNO[0] Flag[1] IP[192.168.81.2]
DhcpNO[1] Flag[0] IP[0.0.0.0]
DhcpNO[2] Flag[0] IP[0.0.0.0]
DhcpNO[3] Flag[0] IP[0.0.0.0]
DhcpNO[4] Flag[0] IP[0.0.0.0]
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
MediaTek LinkIt™ Connect 7681 Developer's Guide
/*start to running recovery/Calibration image*/
/* end to running recovery/Calibration image*/
/* start to running station image*/
/* Load AP configuration from flash, if no valid
use default value defined in source files*/
/* if AP is WPA or WPA2-PSK mode, calculate PMK
SSID and password */
pEntryWcid=0
/*MT7681 AP assign a IP address to station*/
MAC[69-df-dd-29-62-f4]
MAC[0-0-0-0-0-0]
MAC[0-0-0-0-0-0]
MAC[0-0-0-0-0-0]
MAC[0-0-0-0-0-0]
© 2015, 2016 MediaTek Inc.
Req packet , send back Auth
/* Station send Assoc
packet to MT7681 AP*/
Assoc Req packet, send back
Assoc Response */
packet to station, to start
way handshake*/
Page 54 of 65

Advertisement

Table of Contents
loading

Related Products for Mediatek Labs LinkIt Connect 7681

Table of Contents