Hi all:
I am porting a USB WIFI on am3354. The linux kernel version is 3.2.0. The os version is android 4.1.2. After I have connected a WIFI AP, I want to connect to another one. I can not connect and I get some message like below
D/wpa_supplicant( 923): Custom wireless event: receive DISASSOCIATED_EVENT !!!
D/wpa_supplicant( 923): wlan0: Event DISASSOC (1) received
D/wpa_supplicant( 923): wlan0: Disassociation notification
F/libc ( 923): Fatal signal 11 (SIGSEGV) at 0x00000004 (code=1), thread 923 (wpa_supplicant)
D/ConnectivityService( 260): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/StatusBar.NetworkController( 406): refreshViews connected={ } level=?? combinedSignalIconId=0x7f0200b1/com.android.systemui:drawable/stat_sys_wifi_signal_null combinedActivityIconId=0x0 mobileLabel= wifiLabel=No Internet connection emergencyOnly=false combinedLabel=No Internet connection mAirplaneMode=false mDataActivity=0 mPhoneSignalIconId=0x0 mDataDirectionIconId=0x0 mDataSignalIconId=0x0 mDataTypeIconId=0x0 mWifiIconId=0x7f0200b1 mEthernetIconId=0x7f020089 mBluetoothTetherIconId=0x108054c
I/EthernetStateTracker( 260): RuntimeExec -----ip route del default
D/StatusBar.NetworkController( 406): changing data overlay icon id to 0
I/DEBUG ( 78): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG ( 78): Build fingerprint: 'Android/ta34/ta34:4.1.2/WM_20131114/eng.rudolph.20131212.173752:eng/test-keys'
I/DEBUG ( 78): pid: 923, tid: 923, name: wpa_supplicant >>> /system/bin/wpa_supplicant <<<
I/DEBUG ( 78): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000004
I/DEBUG ( 78): r0 00000000 r1 cd18f680 r2 00000000 r3 00000000
I/DEBUG ( 78): r4 41d9f630 r5 00000000 r6 00000000 r7 00000000
I/DEBUG ( 78): r8 00000000 r9 41dae5e0 sl beda9a64 fp 00000103
I/DEBUG ( 78): ip 00000000 sp beda9718 lr 40087bc1 pc 40087d98 cpsr 80000030
I/DEBUG ( 78): d0 6f69746169636f63 d1 696669746f6e2061
I/DEBUG ( 78): d2 6965636572203a74 d3 5341534944206569
I/DEBUG ( 78): d4 3030203030203030 d5 3020303020313020
I/DEBUG ( 78): d6 2030302030302034 d7 3031203334203030
I/DEBUG ( 78): d8 0000000000000000 d9 0000000000000000
I/DEBUG ( 78): d10 0000000000000000 d11 0000000000000000
I/DEBUG ( 78): d12 0000000000000000 d13 0000000000000000
I/DEBUG ( 78): d14 0000000000000000 d15 0000000000000000
I/DEBUG ( 78): d16 4040000000000000 d17 4040000000000000
I/DEBUG ( 78): d18 41bb08c509000000 d19 0000000000000000
I/DEBUG ( 78): d20 0000000000000000 d21 0000000000000000
I/DEBUG ( 78): d22 0000000000000000 d23 0000000000000000
I/DEBUG ( 78): d24 0000000000000000 d25 0000000000000000
I/DEBUG ( 78): d26 0000000000000000 d27 0000000000000000
I/DEBUG ( 78): d28 0000000000000000 d29 0000000000000000
I/DEBUG ( 78): d30 0000000000000000 d31 0000000000000000
I/DEBUG ( 78): scr 60000010
I/DEBUG ( 78):
I/DEBUG ( 78): backtrace:
I/DEBUG ( 78): #00 pc 0005bd98 /system/bin/wpa_supplicant
I/DEBUG ( 78): #01 pc 0005bbbd /system/bin/wpa_supplicant
I/DEBUG ( 78):
I/DEBUG ( 78): stack:
I/DEBUG ( 78): beda96d8 0000000a
I/DEBUG ( 78): beda96dc cd18f680
I/DEBUG ( 78): beda96e0 41d9f630 [heap]
I/DEBUG ( 78): beda96e4 cd18f680
I/DEBUG ( 78): beda96e8 41d9f630 [heap]
I/DEBUG ( 78): beda96ec cd18f680
I/DEBUG ( 78): beda96f0 41d9f630 [heap]
I/DEBUG ( 78): beda96f4 00000000
I/DEBUG ( 78): beda96f8 00000001
I/DEBUG ( 78): beda96fc 00000002
I/DEBUG ( 78): beda9700 00008c02
I/DEBUG ( 78): beda9704 41dae5e0 [heap]
I/DEBUG ( 78): beda9708 beda9a64 [stack]
I/DEBUG ( 78): beda970c 40087bc1 /system/bin/wpa_supplicant
I/DEBUG ( 78): beda9710 df0027ad
I/DEBUG ( 78): beda9714 00000000
I/DEBUG ( 78): #00 beda9718 00000001
I/DEBUG ( 78): ........ ........
I/DEBUG ( 78): #01 beda9718 00000001
I/DEBUG ( 78): beda971c 0000009a
I/DEBUG ( 78): beda9720 00000057
I/DEBUG ( 78): beda9724 000000c2
I/DEBUG ( 78): beda9728 00000055
I/DEBUG ( 78): beda972c 00000000
I/DEBUG ( 78): beda9730 00000000
I/DEBUG ( 78): beda9734 00000000
I/DEBUG ( 78): beda9738 00000000
I/DEBUG ( 78): beda973c 4013ba4c
I/DEBUG ( 78): beda9740 00000000
I/DEBUG ( 78): beda9744 579a1700
I/DEBUG ( 78): beda9748 000055c2
I/DEBUG ( 78): beda974c 00000000
I/DEBUG ( 78): beda9750 00000000
I/DEBUG ( 78): beda9754 00000000
I/DEBUG ( 78):
I/DEBUG ( 78): memory near r4:
I/DEBUG ( 78): 41d9f610 41d9f568 ffffffff 00000000 00000013 h..A............
I/DEBUG ( 78): 41d9f620 00000000 00000000 00000000 00000553 ............S...
I/DEBUG ( 78): 41d9f630 41d9f568 41d9f630 00000000 41da0058 h..A0..A....X..A
I/DEBUG ( 78): 41d9f640 00000000 3790dd7c 6c778624 00306e61 ....|..7$.wlan0.
I/DEBUG ( 78): 41d9f650 00000000 00000000 00000000 00000000 ................
I/DEBUG ( 78):
I/DEBUG ( 78): memory near r9:
I/DEBUG ( 78): 41dae5c0 00000000 579a1700 000055c2 00000001 .......W.U......
I/DEBUG ( 78): 41dae5d0 52b115c4 000783ff 34372031 00000013 ...R....1 74....
I/DEBUG ( 78): 41dae5e0 40134500 40134514 00000010 00000023 .E.@.E.@....#...
I/DEBUG ( 78): 41dae5f0 500016dd 000101f2 02f25000 50000001 ...P.....P.....P
I/DEBUG ( 78): 41dae600 000102f2 02f25000 20303020 00000023 .....P.. 00 #...
I/DEBUG ( 78):
I/DEBUG ( 78): memory near sl:
I/DEBUG ( 78): beda9a44 00010000 00000004 00011043 00000000 ........C.......
I/DEBUG ( 78): beda9a54 0003000a 6e616c77 00000030 000b000c ....wlan0.......
I/DEBUG ( 78): beda9a64 8c020008 01020000 4f535341 464e4943 ........ASSOCINF
I/DEBUG ( 78): beda9a74 65525f4f 73454971 7609003d 65636e69 O_ReqIEs=..vince
I/DEBUG ( 78): beda9a84 7061746e bedaa223 40106863 bedaa1bc ntap#...ch.@....
I/DEBUG ( 78):
I/DEBUG ( 78): memory near sp:
I/DEBUG ( 78): beda96f8 00000001 00000002 00008c02 41dae5e0 ...............A
I/DEBUG ( 78): beda9708 beda9a64 40087bc1 df0027ad 00000000 d....{.@.'......
I/DEBUG ( 78): beda9718 00000001 0000009a 00000057 000000c2 ........W.......
I/DEBUG ( 78): beda9728 00000055 00000000 00000000 00000000 U...............
I/DEBUG ( 78): beda9738 00000000 4013ba4c 00000000 579a1700 ....L..@.......W
I/DEBUG ( 78):
I/DEBUG ( 78): code around pc:
I/DEBUG ( 78): 40087d78 2e0cbdf4 2600bf14 0601f003 68ebb146 .......&....F..h
I/DEBUG ( 78): 40087d88 463a4620 0108e88d 68ab6829 feacf7b9 F:F....)h.h....
I/DEBUG ( 78): 40087d98 290288a9 f8d4d10b b14330b0 46204af6 ...).....0C..J F
I/DEBUG ( 78): 40087da8 f7ac447a 2100ffcf 10b0f8c4 2206e10f zD.....!......."
I/DEBUG ( 78): 40087db8 01a6f104 682ea80f a158f8d4 ee82f7a8 .......h..X.....
I/DEBUG ( 78):
I/DEBUG ( 78): code around lr:
I/DEBUG ( 78): 40087ba0 f140061a 462086de 10d0f8d4 feb4f7fb ..@... F........
I/DEBUG ( 78): 40087bb0 bed7f000 46204a2e 447a2102 f8c6f7ad .....J F.!zD....
I/DEBUG ( 78): 40087bc0 6928b30d b11088ab 4479492a 492ae001 ..(i....*IyD..*I
I/DEBUG ( 78): 40087bd0 4a2a4479 91004620 447a2102 f8b6f7ad yD*J F...!zD....
I/DEBUG ( 78): 40087be0 b1816829 780b7848 90004a25 447a7888 )h..Hx.x%J...xzD
D/NetUtils( 260): android_net_utils_resetConnections in env=0x5bb41ea8 clazz=0x40f00001 iface=eth0 mask=0x3
I/EthernetStateTracker( 260): reset device eth0
I/EthernetStateTracker( 260): trigger dhcp for device eth0
D/CommandListener( 77): Setting iface cfg
Maybe someone can help me to solve this question.
Thanks all !
Rudolph