2012-03-08 02:44:58

by Harvey Yang

[permalink] [raw]
Subject: [PROBLEM] linux-3.2.7:mwifiex:when associating with ap ,there are some strange warning output and after associated, executing "iwconfig" hangs up.

Hi, all
I compiled linux-3.2.7 with mwifiex as a module. When associating with
ap, the process is slow with some strange output . Afte that
"iwconfig" hangs up with no return .The fowllowing is my operation and
console ouput.

[root@FriendlyARM /home]# wpa_supplicant -B -Dwext -imlan0 -c ./wpa_supplicant_W
PAPSKCCMP.conf
mwifiex_sdio mmc1:0001:1: assoc: requested bss not found in scan results
ioctl[SIOCSIWESSID]: Bad address
[root@FriendlyARM /home]# mwifiex_sdio mmc1:0001:1: assoc: requested bss not fos
cfg80211: Calling CRDA to update world regulatory domain

[root@FriendlyARM /home]# iwconfig
mwifiex_sdio mmc1:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id (995.180008)0
mwifiex_sdio mmc1:0001:1: num_data_h2c_failure = 0
mwifiex_sdio mmc1:0001:1: num_cmd_h2c_failure = 0
mwifiex_sdio mmc1:0001:1: num_cmd_timeout = 1
mwifiex_sdio mmc1:0001:1: num_tx_timeout = 0
mwifiex_sdio mmc1:0001:1: last_cmd_index = 1
mwifiex_sdio mmc1:0001:1: last_cmd_resp_index = 0
mwifiex_sdio mmc1:0001:1: last_event_index = 4
mwifiex_sdio mmc1:0001:1: data_sent=0 cmd_sent=0
mwifiex_sdio mmc1:0001:1: ps_mode=1 ps_state=0

This is my wpa_supplicant_WPAPSKCCMP.conf.
ctrl_interface=/var/run/wpa_supplicant

network={
??? ssid="sherry"
??? key_mgmt=WPA-PSK
??? proto=WPA2
??? pairwise=CCMP
??? group=CCMP
??? psk="010203040506"
}

What is the problem? any help will be appreciated.

Best Regards

harvey