imx6ul WIFI热点连接很慢,手机连上需要2分钟左右
按照手册上配置了wifi热点,手机去连接wifi热点时,大概花了2分钟才连接成功,即便连接成功后,在使用的过程中也出现断掉wifi连接的情况。
大家有没有遇到过这类情况,有什么办法可以优化wifi连接时间呢
谢谢!
本帖最后由 Augustus007 于 2019-3-28 14:14 编辑
RTL871X: send eapol packet
RTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:TKIP
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: set pairwise key camid:4, addr:xx:xx:xx:xx:xx:xx, kid:0, type:AES
RTL871X: OnDisassoc(wlan0) reason=8, ta=xx:xx:xx:xx:xx:xx
RTL871X: clear key for addr:xx:xx:xx:xx:xx:xx, camid:4
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: send eapol packet
RTL871X: recv eapol packet
RTL871X: set pairwise key camid:4, addr:xx:xx:xx:xx:xx:xx, kid:0, type:AES
注:这里我隐藏了mac地址
你好,请问您外接wifi天线了吗?推荐您连接两根2.4G的天线 WangSai 发表于 2019-3-28 16:52
你好,请问您外接wifi天线了吗?推荐您连接两根2.4G的天线
没有外接天线,使用WIFI模块的内接天线。WIFI信号都是满的 经过实际测试,在iPhone上连接imx6ul上的wifi热点,需要花1分钟左右时间;
但是在wifi刚刚开始连接时,我在串口中去ping手机端IP是能够ping通的,
但手机端wifi连接状态却要等一分钟才会在wifi热点名称前打上勾完成连接。
之前尝试去修改hostap.conf和udhcpd.conf配置文件里面的参数,没有作用。
您使用的是linux3.14.38还是linux4.1.15,wifi热点功能测试过,没有出现过需要两分钟才能连接上的情况,是不是有其他的设备影响呢 飞凌-chongzi 发表于 2019-3-29 18:13
您使用的是linux3.14.38还是linux4.1.15,wifi热点功能测试过,没有出现过需要两分钟才能连接上的情况,是 ...
使用的是linux3.14.38 我也遇到了同样的情况,I.MX6UL开发板,linux 3.14,
iPhone连接大约需要1分钟 追加
root@freescale ~$ wlan0: Station 7c:04:d0:22:3a:98 has been active 0s ago
[ 2242.759239] RTL871X: OnDisassoc(wlan0) reason=8, ta=7c:04:d0:22:3a:98
wlan0: STA 7c:04:d0:22:3a:98 IEEE[ 2242.768964] RTL871X: clear key for addr:7c:04:d0:22:3a:98, camid:4
802.11: disassociated
wlan0: AP-STA-DISCONNECTED 7c:04:d0:22:3a:98
wlan0: STA 7c:04:d0:22:3a:98 WPA: event 2 notification
rtl871x_set_key_ops
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state DISCONNECTED
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state INITIALIZE
rtl871x_set_key_ops
wlan0: STA 7c:04:d0:22:3a:98 IEEE 802.1X: unauthorizing port
+rtl871x_sta_remove_ops, 7c:04:d0:22:3a:98 is sta address removed
+rtl871x_get_sta_wpaie, 7c:04:d0:22:3a:98 is sta's address
wlan0[ 2275.415081] RTL871X: send eapol packet
: STA 7c:04:d0:22:3a:98 IEEE 802.11: associated
STA included RSN IE in (Re)AssocReq
New STA
wlan0: STA 7c:04:d0:22:3a:98 WPA: event 1 notification
rtl871x_set_key_ops
IEEE 802.1X: Ignore[ 2275.437040] RTL871X: send eapol packet
STA - 802.1X not enabled or forced for WPS
wlan0: STA 7c:04:d0:22:3a:98 WPA: start authentication
WPA: 7c:04:d0:22:3a:98 WPA_P[ 2275.450912] RTL871X: set pairwise key camid:4, addr:7c:04:d0:22:3a:98, kid:0, type:AES
TK entering state INITIALIZE
rtl871x_set_key_ops
wlan0: STA 7c:04:d0:22:3a:98 IEEE 802.1X: unauthorizing port
WPA: 7c:04:d0:22:3a:98 WPA_PTK_GROUP entering state IDLE
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state AUTHENTICATION
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state AUTHENTICATION2
WPA: Assign ANonce - hexdump(len=32): 4b 29 7f 2f e4 1b 29 10 fb ef 0f 8b 59 90 27 0c 3b 2d b5 27 37 71 88 9d 1a 0e 19 b7 20 81 6a d6
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state INITPSK
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state PTKSTART
wlan0: STA 7c:04:d0:22:3a:98 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=0 mic=0 ack=1 install=0 pairwise=8 kde_len=0 keyidx=0 encr=0)
+rtl871x_send_eapol
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1)
IEEE 802.1X: 121 bytes from 7c:04:d0:22:3a:98
IEEE 802.1X: version=2 type=3 length=117
WPA: Received Key Nonce - hexdump(len=32): 4e ca c4 d7 ec a1 b2 84 ca 12 d7 b7 a1 23 09 18 db 9d 91 8a 73 aa 31 55 c5 55 15 54 55 53 aa b0
WPA: Received Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 01
wlan0: STA 7c:04:d0:22:3a:98 WPA: received EAPOL-Key frame (2/4 Pairwise)
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state PTKCALCNEGOTIATING
WPA: PTK derivation - A1=18:bb:26:6d:dd:81 A2=7c:04:d0:22:3a:98
WPA: Nonce1 - hexdump(len=32): 4b 29 7f 2f e4 1b 29 10 fb ef 0f 8b 59 90 27 0c 3b 2d b5 27 37 71 88 9d 1a 0e 19 b7 20 81 6a d6
WPA: Nonce2 - hexdump(len=32): 4e ca c4 d7 ec a1 b2 84 ca 12 d7 b7 a1 23 09 18 db 9d 91 8a 73 aa 31 55 c5 55 15 54 55 53 aa b0
WPA: PMK - hexdump(len=32):
WPA: PTK - hexdump(len=48):
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state PTKCALCNEGOTIATING2
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state PTKINITNEGOTIATING
wlan0: STA 7c:04:d0:22:3a:98 WPA: sending 3/4 msg of 4-Way Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=1 pairwise=8 kde_len=86 keyidx=1 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=96):
+rtl871x_send_eapol
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1)
IEEE 802.1X: 99 bytes from 7c:04:d0:22:3a:98
IEEE 802.1X: version=2 type=3 length=95
WPA: Received Key Nonce - hexdump(len=32): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: Received Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 02
wlan0: STA 7c:04:d0:22:3a:98 WPA: received EAPOL-Key frame (4/4 Pairwise)
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state PTKINITDONE
rtl871x_set_key_ops
wlan0: AP-STA-CONNECTED 7c:04:d0:22:3a:98
wlan0: STA 7c:04:d0:22:3a:98 IEEE 802.1X: authorizing port
wlan0: STA 7c:04:d0:22:3a:98 RADIUS: starting accounting session 000006CC-00000001
wlan0: STA 7c:04:d0:22:3a:98 WPA: pairwise key handshake completed (RSN)
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS (VLAN-ID 0)
GTK - hexdump(len=32): [ 2342.344636] RTL871X: send eapol packet
WPA: 7c:04:d0:22:3a:98 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 7c:04:d0:22:3a:98 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=40 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=48):
+rtl871x_send_eapol
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 1)
wpa_group_setkeys: GKeyDoneStations=1
wlan0: STA 7c:04:d0:22:3a:98 WPA:[ 2343.352909] RTL871X: send eapol packet
EAPOL-Key timeout
WPA: 7c:04:d0:22:3a:98 WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 7c:04:d0:22:3a:98 WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=40 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=48):
+rtl871x_send_eapol
WPA: Use EAPOL-Key timeout of 1000 ms (retry counter 2)
IEEE 802.1X: 99 byt[ 2343.392031] RTL871X: set group key camid:2, addr:00:00:00:00:00:00, kid:2, type:TKIP
es from 7c:04:d0:22:3a:98
IEEE 802.1X: version=2 type=3 length=95
WPA: Received Key Nonce - hexdump(len=32): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
WPA: Received Replay Counter - hexdump(len=8): 00 00 00 00 00 00 00 04
wlan0: STA 7c:04:d0:22:3a:98 WPA: received EAPOL-Key frame (2/2 Group)
WPA: 7c:04:d0:22:3a:98 WPA_PTK_GROUP entering state REKEYESTABLISHED
wlan0: STA 7c:04:d0:22:3a:98 WPA: group key handshake completed (RSN)
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
rtl871x_set_key_ops
WPA: 7c:04:d0:22:3a:98 WPA_PTK_GROUP entering state IDLE
[ 2390.564105] RTL871X: OnDisassoc(wlan0) reason=8, ta=7c:04:d0:22:3a:98
wlan0: STA 7c:04:d0:22:3a:98 IEEE 802.11: disassociated
wlan0: A[ 2390.574682] RTL871X: clear key for addr:7c:04:d0:22:3a:98, camid:4
P-STA-DISCONNECTED 7c:04:d0:22:3a:98
wlan0: STA 7c:04:d0:22:3a:98 WPA: event 2 notification
rtl871x_set_key_ops
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state DISCONNECTED
WPA: 7c:04:d0:22:3a:98 WPA_PTK entering state INITIALIZE
rtl871x_set_key_ops
wlan0: STA 7c:04:d0:22:3a:98 IEEE 802.1X: unauthorizing port
+rtl871x_sta_remove_ops, 7c:04:d0:22:3a:98 is sta address removed
页:
[1]