My wifi can connect the AP with static IP last night ,because the singal strengh and ssid's len. but my dhcp start timeout every time ,any ideas? Thanks !
On 6月17日, 下午3时14分, zhangkun <[email protected]> wrote: > Hi all: > I am porting my wifi now ,and GUI can scan ap .but can't connect > to the ap . WHY? > Thanks for any suggestion. > > My porting step: > 1、init.rc: > mkdir /data/misc/wifi 0770 system system > mkdir /data/misc/wifi/sockets 0770 system system > mkdir /data/system/wpa_supplicant 0770 system system > mkdir /data/misc/dhcp 0770 dhcp dhcp > chown dhcp dhcp /data/misc/dhcp > > service wpa_supplicant /system/bin/wpa_supplicant -Dwext -ieth0 - > d -c/data/misc/wifi/wpa_supplicant.conf -t -f/sdcard/wifi/ > wpa_log.txt > disabled > > service dhcpcd /system/bin/dhcpcd -X eth0 disabled > > 2、BoradConfig.mk: modify to build wpa_supplicant > BOARD_WPA_SUPPLICANT_DRIVER := WEXT > > 3、system.prop > wifi.interface = eth0 > > 4、compile wpa_supplicant > external\wpa_supplicant\.config: > CONFIG_WIRELESS_EXTENSION=y > CONFIG_CTRL_IFACE=y > CONFIG_DRIVER_WEXT=y > > change "ctrl_interface=DIR=/data/system/wpa_supplicant > GROUP=system" in file wpa_supplicant.conf > > 5、then: > when I start wifi from GUI: > the function wifi_load_driver() return success; > and the function wifi_start_supplicant() return success also > (can refer to wpa_supplicant_log :can get "Own MAC address: > 00:21:19:6a:a6:ef" ,and "Added interface eth0"); > and the function wifi_connect_to_supplicant() seems return > success also (first connect shows "Unable to open connection to > supplicant on "/data/system/wpa_supplicant/eth0": No > such file or directory",and the second connect shows "Connection to > supplicant > then GUI start scanning ;and the scan results is a new ap named > "myap" (ssid) > when I click this "myap",then click connect button,BUT it can't > works. > > the following is my wpa_log.txt : > " > 946691799.804626: Initializing interface 'eth0' conf '/data/misc/wifi/ > wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A' > 946691799.805908: Configuration file '/data/misc/wifi/ > wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf' > 946691799.806030: Reading configuration file '/data/misc/wifi/ > wpa_supplicant.conf' > 946691799.806457: update_config=1 > 946691799.806701: ctrl_interface='DIR=/data/system/wpa_supplicant > GROUP=system' > 946691799.806793: eapol_version=1 > 946691799.806884: ap_scan=1 > 946691799.806976: fast_reauth=1 > 946691799.807800: Initializing interface (2) 'eth0' > 946691799.828796: EAPOL: SUPP_PAE entering state DISCONNECTED > 946691799.829101: EAPOL: KEY_RX entering state NO_KEY_RECEIVE > 946691799.829162: EAPOL: SUPP_BE entering state INITIALIZE > 946691799.829254: EAP: EAP entering state DISABLED > 946691799.829345: EAPOL: External notification - portEnabled=0 > 946691799.829437: EAPOL: External notification - portValid=0 > 946691799.832977: SIOCGIWRANGE: WE(compiled)=22 WE(source)=13 > enc_capa=0x0 > 946691799.833221: capabilities: key_mgmt 0x0 enc 0x3 > 946691799.833374: WEXT: Operstate: linkmode=1, operstate=5 > 946691799.845550: Own MAC address: 00:21:19:6a:a6:ef > 946691799.845703: wpa_driver_wext_set_wpa > 946691799.845794: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 > seq_len=0 key_len=0 > 946691799.845916: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 > seq_len=0 key_len=0 > 946691799.846008: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 > seq_len=0 key_len=0 > 946691799.846130: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 > seq_len=0 key_len=0 > 946691799.846252: wpa_driver_wext_set_countermeasures > 946691799.846496: wpa_driver_wext_set_drop_unencrypted > 946691799.846771: Setting scan request: 0 sec 100000 usec > 946691799.846893: wpa_supplicant_ctrl_iface_init buf is DIR=/data/ > system/wpa_supplicant GROUP=system. > 946691799.847015: Using existing control interface directory. > 946691799.847106: ctrl_interface_group=1000 (from group name 'system') > 946691799.849365: Added interface eth0 > 946691799.849700: RTM_NEWLINK: operstate=0 ifi_flags=0x1002 () > 946691799.849884: Wireless event: cmd=0x8b06 len=8 > 946691799.849975: RTM_NEWLINK: operstate=0 ifi_flags=0x11043 ([UP] > [RUNNING][LOWER_UP]) > 946691799.850067: RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added > 946691799.850128: wpa_supplicant_event event is 5 > 946691799.850280: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691799.850372: RTM_NEWLINK, IFLA_IFNAME: Interface 'eth0' added > 946691799.850433: wpa_supplicant_event event is 5 > 946691799.954101: State: DISCONNECTED -> SCANNING > 946691799.954315: CTRL-EVENT-STATE-CHANGE id=-1 state=2 > 946691799.954376: wpa_supplicant_ctrl_iface_send buf is > 946691799.954467: Starting AP scan (broadcast SSID) > 946691799.954528: Trying to get current scan results first without > requesting a new scan to speed up initial association > 946691799.954589: wpa_supplicant_event event is 3 > 946691799.954650: wpa_supplicant_get_scan_results > 946691799.954956: ioctl[SIOCGIWSCAN] > 946691799.955047: Scan results: -1 > 946691799.955108: Failed to get scan results > 946691799.955230: Failed to get scan results - try scanning again > 946691799.955322: Setting scan request: 0 sec 0 usec > 946691799.955383: wpa_supplicant_ctrl_iface_send buf is > 946691799.955474: No enabled networks - do not scan > 946691799.955566: State: SCANNING -> INACTIVE > 946691799.955627: CTRL-EVENT-STATE-CHANGE id=-1 state=1 > 946691799.955688: wpa_supplicant_ctrl_iface_send buf is > 946691804.712463: CTRL_IFACE monitor attached - hexdump(len=39): 2f 64 > 61 74 61 2f 6d 69 73 63 2f 77 69 66 69 2f 73 6f 63 6b 65 74 73 2f 77 > 70 61 5f 63 74 72 6c 5f 36 36 31 2d 32 00 > 946691804.712738: wpa_supplicant_ctrl_iface_receive unix buf is > ATTACH reply is OK > 946691804.741394: wpa_supplicant_ctrl_iface_process buf is STATUS > 946691804.741546: RX ctrl_iface - hexdump_ascii(len=6): > 53 54 41 54 55 53 > STATUS > 946691804.741912: wpa_supplicant_ctrl_iface_receive unix buf is > STATUS reply is wpa_state=INACTIVE > > 946691804.745849: wpa_supplicant_ctrl_iface_process buf is DRIVER > RSSI > 946691804.746124: RX ctrl_iface - hexdump_ascii(len=11): > 44 52 49 56 45 52 20 52 53 53 49 DRIVER RSSI > 946691804.746276: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER RSSI reply is FAIL > tate=INACTIVE > > 946691804.747131: wpa_supplicant_ctrl_iface_process buf is DRIVER > LINKSPEED > 946691804.747283: RX ctrl_iface - hexdump_ascii(len=16): > 44 52 49 56 45 52 20 4c 49 4e 4b 53 50 45 45 44 DRIVER > LINKSPEED > 946691804.747436: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER LINKSPEED reply is FAIL > tate=INACTIVE > > 946691804.748321: wpa_supplicant_ctrl_iface_process buf is DRIVER > MACADDR > 946691804.748474: RX ctrl_iface - hexdump_ascii(len=14): > 44 52 49 56 45 52 20 4d 41 43 41 44 44 52 DRIVER > MACADDR > 946691804.748626: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER MACADDR reply is FAIL > tate=INACTIVE > > 946691804.780822: wpa_supplicant_ctrl_iface_process buf is > LIST_NETWORKS > 946691804.781036: RX ctrl_iface - hexdump_ascii(len=13): > 4c 49 53 54 5f 4e 45 54 57 4f 52 4b 53 LIST_NETWORKS > 946691804.781188: wpa_supplicant_ctrl_iface_receive unix buf is > LIST_NETWORKS reply is network id / ssid / bssid / flags > > 946691804.784454: wpa_supplicant_ctrl_iface_process buf is STATUS > 946691804.784606: RX ctrl_iface - hexdump_ascii(len=6): > 53 54 41 54 55 53 > STATUS > 946691804.784881: wpa_supplicant_ctrl_iface_receive unix buf is > STATUS reply is wpa_state=INACTIVE > > 946691804.787139: wpa_supplicant_ctrl_iface_process buf is DRIVER > RSSI > 946691804.787322: RX ctrl_iface - hexdump_ascii(len=11): > 44 52 49 56 45 52 20 52 53 53 49 DRIVER RSSI > 946691804.787445: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER RSSI reply is FAIL > tate=INACTIVE > > 946691804.788299: wpa_supplicant_ctrl_iface_process buf is DRIVER > LINKSPEED > 946691804.788452: RX ctrl_iface - hexdump_ascii(len=16): > 44 52 49 56 45 52 20 4c 49 4e 4b 53 50 45 45 44 DRIVER > LINKSPEED > 946691804.788665: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER LINKSPEED reply is FAIL > tate=INACTIVE > > 946691804.798980: wpa_supplicant_ctrl_iface_process buf is DRIVER > RXFILTER-ADD 0 > 946691804.799133: RX ctrl_iface - hexdump_ascii(len=21): > 44 52 49 56 45 52 20 52 58 46 49 4c 54 45 52 2d DRIVER > RXFILTER- > 41 44 44 20 30 ADD 0 > 946691804.799316: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER RXFILTER-ADD 0 reply is FAIL > tate=INACTIVE > > 946691804.800659: wpa_supplicant_ctrl_iface_process buf is DRIVER > BTCOEXSCAN-STOP > 946691804.800842: RX ctrl_iface - hexdump_ascii(len=22): > 44 52 49 56 45 52 20 42 54 43 4f 45 58 53 43 41 DRIVER > BTCOEXSCA > 4e 2d 53 54 4f 50 N- > STOP > 946691804.800994: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER BTCOEXSCAN-STOP reply is FAIL > tate=INACTIVE > > 946691804.809387: wpa_supplicant_ctrl_iface_process buf is DRIVER > SCAN-ACTIVE > 946691804.809600: RX ctrl_iface - hexdump_ascii(len=18): > 44 52 49 56 45 52 20 53 43 41 4e 2d 41 43 54 49 DRIVER SCAN- > ACTI > 56 45 > VE > 946691804.809783: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER SCAN-ACTIVE reply is FAIL > tate=INACTIVE > > 946691804.810607: wpa_supplicant_ctrl_iface_process buf is SCAN > 946691804.810760: RX ctrl_iface - hexdump_ascii(len=4): > 53 43 41 4e > SCAN > 946691804.810913: Setting scan request: 0 sec 0 usec > 946691804.810974: wpa_supplicant_ctrl_iface_send buf is > 946691804.811065: wpa_supplicant_ctrl_iface_receive unix buf is > SCAN reply is OK > L > tate=INACTIVE > > 946691804.811279: State: INACTIVE -> SCANNING > 946691804.811401: CTRL-EVENT-STATE-CHANGE id=-1 state=2 > 946691804.811462: wpa_supplicant_ctrl_iface_send buf is > 946691804.811523: CTRL_IFACE monitor send - hexdump(len=39): 2f 64 61 > 74 61 2f 6d 69 73 63 2f 77 69 66 69 2f 73 6f 63 6b 65 74 73 2f 77 70 > 61 5f 63 74 72 6c 5f 36 36 31 2d 32 00 > 946691804.811889: Starting AP scan (broadcast SSID) > 946691804.812225: Scan requested (ret=0) - scan timeout 5 seconds > 946691804.826812: wpa_supplicant_ctrl_iface_process buf is DRIVER > SCAN-PASSIVE > 946691804.826965: RX ctrl_iface - hexdump_ascii(len=19): > 44 52 49 56 45 52 20 53 43 41 4e 2d 50 41 53 53 DRIVER SCAN- > PASS > 49 56 45 IVE > 946691804.827178: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER SCAN-PASSIVE reply is FAIL > EVENT-STATE-CHANGE id=-1 state=2 > 946691804.898498: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.898681: Wireless event: cmd=0x8c02 len=254 > 946691804.898773: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.898864: Wireless event: cmd=0x8c02 len=258 > 946691804.898956: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.899047: Wireless event: cmd=0x8c02 len=254 > 946691804.899291: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.899414: Wireless event: cmd=0x8c02 len=258 > 946691804.899505: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.899597: Wireless event: cmd=0x8c02 len=258 > 946691804.899688: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.899749: Wireless event: cmd=0x8c02 len=254 > 946691804.899841: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.899932: Wireless event: cmd=0x8c02 len=22 > 946691804.944122: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.944274: Wireless event: cmd=0x8c02 len=96 > 946691804.984100: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.984283: Wireless event: cmd=0x8c02 len=254 > 946691804.984375: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.984466: Wireless event: cmd=0x8c02 len=250 > 946691804.984558: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.984619: Wireless event: cmd=0x8c02 len=250 > 946691804.984802: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.984924: Wireless event: cmd=0x8c02 len=258 > 946691804.985015: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.985076: Wireless event: cmd=0x8c02 len=254 > 946691804.985321: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.985412: Wireless event: cmd=0x8c02 len=254 > 946691804.985504: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691804.985595: Wireless event: cmd=0x8c02 len=46 > 946691805.070373: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.070556: Wireless event: cmd=0x8c02 len=250 > 946691805.070648: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.070739: Wireless event: cmd=0x8c02 len=250 > 946691805.070831: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.070922: Wireless event: cmd=0x8c02 len=254 > 946691805.071014: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.071289: Wireless event: cmd=0x8c02 len=258 > 946691805.071380: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.071472: Wireless event: cmd=0x8c02 len=258 > 946691805.071563: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.071655: Wireless event: cmd=0x8c02 len=254 > 946691805.071746: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.071807: Wireless event: cmd=0x8c02 len=34 > 946691805.227905: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691805.228088: Wireless event: cmd=0x8c02 len=14 > 946691809.814208: Scan timeout - try to get results > 946691809.814361: wpa_supplicant_event event is 3 > 946691809.814422: wpa_supplicant_get_scan_results > 946691809.814666: SIOCGIWESSID SET as fixed 'myap' > 946691809.814880: Received 150 bytes of scan results (1 BSSes) > 946691809.814971: Scan results: 1 > 946691809.815063: CTRL-EVENT-SCAN-RESULTS Ready > 946691809.815124: wpa_supplicant_ctrl_iface_send buf is > 946691809.815185: CTRL_IFACE monitor send - hexdump(len=39): 2f 64 61 > 74 61 2f 6d 69 73 63 2f 77 69 66 69 2f 73 6f 63 6b 65 74 73 2f 77 70 > 61 5f 63 74 72 6c 5f 36 36 31 2d 32 00 > 946691809.815551: wpa_supplicant_event_scan_results wpa_s->num_scan_results > is 1 > > 946691809.815643: wpa_supplicant_event_scan_results wpa_s->driver->name is > wext > > 946691809.815704: wpa_supplicant_event_scan_results wpa_s->conf->num_prio is > 0 > > 946691809.815765: wpa_supplicant_event_scan_results selected is > null ? 1 > 946691809.815826: No suitable AP found. > 946691809.815917: Setting scan request: 5 sec 0 usec > 946691809.815979: wpa_supplicant_ctrl_iface_send buf is > 946691809.825897: wpa_supplicant_ctrl_iface_process buf is AP_SCAN > 1 > 946691809.826049: RX ctrl_iface - hexdump_ascii(len=9): > 41 50 5f 53 43 41 4e 20 31 AP_SCAN 1 > 946691809.826202: wpa_supplicant_ctrl_iface_ap_scan wpa_s->conf->ap_scan is > 1 ap_scan is 1 > > 946691809.826263: wpa_supplicant_ctrl_iface_receive unix buf is > AP_SCAN 1 reply is OK > ting scan request: 5 sec 0 usec > 946691809.828338: wpa_supplicant_ctrl_iface_process buf is DRIVER > SCAN-PASSIVE > 946691809.828521: RX ctrl_iface - hexdump_ascii(len=19): > 44 52 49 56 45 52 20 53 43 41 4e 2d 50 41 53 53 DRIVER SCAN- > PASS > 49 56 45 IVE > 946691809.828674: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER SCAN-PASSIVE reply is FAIL > ng scan request: 5 sec 0 usec > 946691809.841003: wpa_supplicant_ctrl_iface_process buf is > SCAN_RESULTS > 946691809.841186: RX ctrl_iface - hexdump_ascii(len=12): > 53 43 41 4e 5f 52 45 53 55 4c 54 53 > SCAN_RESULTS > 946691809.841339: wpa_supplicant_ctrl_iface_scan_results > 946691809.841430: wpa_supplicant_ctrl_iface_receive unix buf is > SCAN_RESULTS reply is bssid / frequency / signal level / flags / > ssid > 00:22:b0:f8:1e:26 2437 187 myap > > 946691809.863952: wpa_supplicant_ctrl_iface_process buf is > SCAN_RESULTS > 946691809.864135: RX ctrl_iface - hexdump_ascii(len=12): > 53 43 41 4e 5f 52 45 53 55 4c 54 53 > SCAN_RESULTS > 946691809.864349: wpa_supplicant_ctrl_iface_scan_results > 946691809.864471: wpa_supplicant_ctrl_iface_receive unix buf is > SCAN_RESULTS reply is bssid / frequency / signal level / flags / > ssid > 00:22:b0:f8:1e:26 2437 187 myap > > 946691814.821258: No enabled networks - do not scan > 946691814.821441: State: SCANNING -> INACTIVE > 946691814.821502: CTRL-EVENT-STATE-CHANGE id=-1 state=1 > 946691814.821563: wpa_supplicant_ctrl_iface_send buf is > 946691814.821655: CTRL_IFACE monitor send - hexdump(len=39): 2f 64 61 > 74 61 2f 6d 69 73 63 2f 77 69 66 69 2f 73 6f 63 6b 65 74 73 2f 77 70 > 61 5f 63 74 72 6c 5f 36 36 31 2d 32 00 > 946691815.879577: wpa_supplicant_ctrl_iface_process buf is DRIVER > SCAN-ACTIVE > 946691815.879730: RX ctrl_iface - hexdump_ascii(len=18): > 44 52 49 56 45 52 20 53 43 41 4e 2d 41 43 54 49 DRIVER SCAN- > ACTI > 56 45 > VE > 946691815.879913: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER SCAN-ACTIVE reply is FAIL > EVENT-STATE-CHANGE id=-1 state=1 > 946691815.880645: wpa_supplicant_ctrl_iface_process buf is SCAN > 946691815.880828: RX ctrl_iface - hexdump_ascii(len=4): > 53 43 41 4e > SCAN > 946691815.880950: Setting scan request: 0 sec 0 usec > 946691815.880981: wpa_supplicant_ctrl_iface_send buf is > 946691815.881072: wpa_supplicant_ctrl_iface_receive unix buf is > SCAN reply is OK > L > EVENT-STATE-CHANGE id=-1 state=1 > 946691815.881317: State: INACTIVE -> SCANNING > 946691815.881439: CTRL-EVENT-STATE-CHANGE id=-1 state=2 > 946691815.881500: wpa_supplicant_ctrl_iface_send buf is > 946691815.881561: CTRL_IFACE monitor send - hexdump(len=39): 2f 64 61 > 74 61 2f 6d 69 73 63 2f 77 69 66 69 2f 73 6f 63 6b 65 74 73 2f 77 70 > 61 5f 63 74 72 6c 5f 36 36 31 2d 32 00 > 946691815.881774: Starting AP scan (broadcast SSID) > 946691815.882080: Scan requested (ret=0) - scan timeout 5 seconds > 946691815.893280: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.893554: Wireless event: cmd=0x8c02 len=254 > 946691815.893676: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.893768: Wireless event: cmd=0x8c02 len=250 > 946691815.893859: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.893920: Wireless event: cmd=0x8c02 len=258 > 946691815.894042: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.894134: Wireless event: cmd=0x8c02 len=254 > 946691815.894226: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.894317: Wireless event: cmd=0x8c02 len=250 > 946691815.894409: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.894500: Wireless event: cmd=0x8c02 len=254 > 946691815.894561: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.894653: Wireless event: cmd=0x8c02 len=46 > 946691815.894805: wpa_supplicant_ctrl_iface_process buf is DRIVER > SCAN-PASSIVE > 946691815.894897: RX ctrl_iface - hexdump_ascii(len=19): > 44 52 49 56 45 52 20 53 43 41 4e 2d 50 41 53 53 DRIVER SCAN- > PASS > 49 56 45 IVE > 946691815.895111: wpa_supplicant_ctrl_iface_receive unix buf is > DRIVER SCAN-PASSIVE reply is FAIL > OE > 946691815.975402: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.975585: Wireless event: cmd=0x8c02 len=258 > 946691815.975677: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.975769: Wireless event: cmd=0x8c02 len=254 > 946691815.975860: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.975952: Wireless event: cmd=0x8c02 len=254 > 946691815.976043: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.976135: Wireless event: cmd=0x8c02 len=250 > 946691815.976226: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.976318: Wireless event: cmd=0x8c02 len=254 > 946691815.976409: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.976470: Wireless event: cmd=0x8c02 len=258 > 946691815.976623: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.976715: Wireless event: cmd=0x8c02 len=30 > 946691815.998443: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691815.998626: Wireless event: cmd=0x8c02 len=96 > 946691816.061126: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.061279: Wireless event: cmd=0x8c02 len=258 > 946691816.061370: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.061462: Wireless event: cmd=0x8c02 len=254 > 946691816.061584: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.061676: Wireless event: cmd=0x8c02 len=250 > 946691816.061767: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.061859: Wireless event: cmd=0x8c02 len=254 > 946691816.061950: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.062042: Wireless event: cmd=0x8c02 len=258 > 946691816.062133: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.062225: Wireless event: cmd=0x8c02 len=258 > 946691816.062347: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.062469: Wireless event: cmd=0x8c02 len=34 > 946691816.176971: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.177124: Wireless event: cmd=0x8c02 len=250 > 946691816.177246: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.177337: Wireless event: cmd=0x8c02 len=258 > 946691816.177398: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.177490: Wireless event: cmd=0x8c02 len=258 > 946691816.177612: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.177703: Wireless event: cmd=0x8c02 len=254 > 946691816.177764: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.177856: Wireless event: cmd=0x8c02 len=250 > 946691816.177947: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.178039: Wireless event: cmd=0x8c02 len=258 > 946691816.178100: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.178192: Wireless event: cmd=0x8c02 len=34 > 946691816.281799: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP] > [LOWER_UP]) > 946691816.281982: Wireless event: cmd=0x8c02 len=14 > 946691820.884643: Scan timeout - try to get results > 946691820.884826: wpa_supplicant_event event is 3 > 946691820.884887: wpa_supplicant_get_scan_results > 946691820.885131: SIOCGIWESSID SET as fixed 'myap' > 946691820.885253: Received 150 bytes of scan results (1 BSSes) > 946691820.885314: Scan results: 1 > 946691820.885406: CTRL-EVENT-SCAN-RESULTS Ready > 946691820.885498: wpa_supplicant_ctrl_iface_send buf is > 946691820.885559: CTRL_IFACE monitor send - hexdump(len=39): 2f 64 61 > 74 61 2f 6d 69 73 63 2f 77 69 66 69 2f 73 6f 63 6b 65 74 73 2f 77 70 > 61 5f 63 74 72 6c 5f 36 36 31 2d 32 00 > 946691820.885833: wpa_supplicant_event_scan_results wpa_s->num_scan_results > is 1 > > 946691820.885925: wpa_supplicant_event_scan_results wpa_s->driver->name is > wext > > 946691820.885986: wpa_supplicant_event_scan_results wpa_s->conf->num_prio is > 0 > > 946691820.886047: wpa_supplicant_event_scan_results selected is > null ? 1 > 946691820.886169: No suitable AP found. > 946691820.886230: Setting scan request: 5 sec 0 usec > 946691820.886291: wpa_supplicant_ctrl_iface_send buf is > 946691820.896148: wpa_supplicant_ctrl_iface_process buf is AP_SCAN > 1 > 946691820.896301: RX ctrl_iface - hexdump_ascii(len=9): > 41 50 5f 53 43 41 4e 20 31 AP_SCAN 1 > 946691820.896453: wpa_supplicant_ctrl_iface_ap_scan wpa_s->conf->ap_scan is > 1 ap_scan is 1 > > 946691820.896514: wpa_supplicant_ctrl_iface_receive unix buf is > AP_SCAN 1 reply is OK > ting scan request: 5 sec 0 usec > 946691820.910247: wpa_supplicant_ctrl_iface_process buf is > SCAN_RESULTS > 946691820.910400: RX ctrl_iface - hexdump_ascii(len=12): > 53 43 41 4e 5f 52 45 53 55 4c 54 53 > SCAN_RESULTS > 946691820.910522: wpa_supplicant_ctrl_iface_scan_results > 946691820.910644: wpa_supplicant_ctrl_iface_receive unix buf is > SCAN_RESULTS reply is bssid / frequency / signal level / flags / > ssid > 00:22:b0:f8:1e:26 2437 188 myap > > 946691820.946350: wpa_supplicant_ctrl_iface_process buf is > SCAN_RESULTS > 946691820.946533: RX ctrl_iface - hexdump_ascii(len=12): > 53 43 41 4e 5f 52 45 53 55 4c 54 53 > SCAN_RESULTS > 946691820.946655: wpa_supplicant_ctrl_iface_scan_results > 946691820.946746: wpa_supplicant_ctrl_iface_receive unix buf is > SCAN_RESULTS reply is bssid / frequency / signal level / flags / > ssid > 00:22:b0:f8:1e:26 2437 188 myap > > 946691821.490295: wpa_supplicant_ctrl_iface_process buf is > LIST_NETWORKS > 946691821.490509: RX ctrl_iface - hexdump_ascii(len=13): > 4c 49 53 54 5f 4e 45 54 57 4f 52 4b 53 LIST_NETWORKS > 946691821.490661: wpa_supplicant_ctrl_iface_receive unix buf is > LIST_NETWORKS reply is network id / ssid / bssid / flags > > 946691821.514190: wpa_supplicant_ctrl_iface_process buf is > ADD_NETWORK > 946691821.514373: RX ctrl_iface - hexdump_ascii(len=11): > 41 44 44 5f 4e 45 54 57 4f 52 4b ADD_NETWORK > 946691821.514587: CTRL_IFACE: ADD_NETWORK > 946691821.514678: wpa_supplicant_ctrl_iface_receive unix buf is > ADD_NETWORK reply is 0 > > 946691821.515747: wpa_supplicant_ctrl_iface_process buf is > SET_NETWORK 0 ssid "myap" > 946691821.515930: RX ctrl_iface - hexdump_ascii(len=25): [REMOVED] > 946691821.516052: CTRL_IFACE: SET_NETWORK id=0 name='ssid' > 946691821.516113: CTRL_IFACE: value - hexdump_ascii(len=6): [REMOVED] > 946691821.516204: wpa_supplicant_ctrl_iface_receive unix buf is > SET_NETWORK 0 reply is OK > > 946691821.517974: wpa_supplicant_ctrl_iface_process buf is > SET_NETWORK 0 key_mgmt NONE > 946691821.518157: RX ctrl_iface - hexdump_ascii(len=27): [REMOVED] > 946691821.518280: CTRL_IFACE: SET_NETWORK id=0 name='key_mgmt' > 946691821.518341: CTRL_IFACE: value - hexdump_ascii(len=4): [REMOVED] > 946691821.518432: wpa_supplicant_ctrl_iface_receive unix buf is > SET_NETWORK 0 reply is OK > > 946691821.521057: wpa_supplicant_ctrl_iface_process buf is > SET_NETWORK 0 priority 0 > 946691821.521240: RX ctrl_iface - hexdump_ascii(len=24): [REMOVED] > 946691821.521423: CTRL_IFACE: SET_NETWORK id=0 name='priority' > 946691821.521514: CTRL_IFACE: value - hexdump_ascii(len=1): [REMOVED] > 946691821.521697: wpa_supplicant_ctrl_iface_receive unix buf is > SET_NETWORK 0 reply is OK > > 946691821.547210: wpa_supplicant_ctrl_iface_process buf is > ENABLE_NETWORK 0 > 946691821.547393: RX ctrl_iface - hexdump_ascii(len=16): > 45 4e 41 42 4c 45 5f 4e 45 54 57 4f 52 4b 20 30 ENABLE_NETWORK > 0 > 946691821.547546: CTRL_IFACE: ENABLE_NETWORK id=0 > 946691821.547760: Setting scan request: 0 sec 0 usec > 946691821.547851: wpa_supplicant_ctrl_iface_send buf is > 946691821.547912: wpa_supplicant_ctrl_iface_receive unix buf is > ENABLE_NETWORK 0 reply is OK > > 946691821.550994: Starting AP scan (broadcast SSID) > > " > > and why the "DRIVER EVENT " reply FAIL ? --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
