[Galaxy S III Q&A, Help & Troubleshooting] fischlifox:
Hi folks

got some info on the *wifi problem* on some devices with I9300 pa 2.99 public beta (sorry can't post in the dev-forum yet). Thx for the support and your great work!

description: I'm not able to use wifi - no connection possible

conditions:

- tried 2 different routers, both G&N @ 2.4/5GHz

- both pw protected

- scanning results are just fine - sometimes a little low radio

- direct wifi / tethering too not working

device: GT-I9300 (3 different bases before updated to 2.99 -> pa 2.54 / full wipe / odin flashed stock )

baseband: I9300XXELLA (tried others)

kernel: 2.99 onboard / Siyah 1.8.6 / Yank.555 (now: building own Siyah with U7 wifi)

logcat wpa_supplicant:D :

...
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=2): 04 0a
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=2): 04 0b
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=2): 04 0c
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=2): 04 0d
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=6): 04 09 50 6f 9a 09
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=5): 7f 50 6f 9a 09
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=1): 06
D/wpa_supplicant( 3205): nl80211: Register frame type=0xd0 nl_handle=0x41eb6248
D/wpa_supplicant( 3205): nl80211: Register frame match - hexdump(len=2): 0a 07
D/wpa_supplicant( 3205): nl80211: Connect (ifindex=8)
D/wpa_supplicant( 3205): * bssid=f8:d1:11:xx:xx:xx
D/wpa_supplicant( 3205): * freq=2467
D/wpa_supplicant( 3205): * SSID - hexdump(len=7): 57 4c 61 6e 2d 49 54
D/wpa_supplicant( 3205): * IEs - hexdump(len=22): 30 14 01 00 00 0f ac 02 01 00 00 0f ac 04 01 00 00 0f ac 02 00 00
D/wpa_supplicant( 3205): * Auth Type 0
D/wpa_supplicant( 3205): * WPA Versions 0x2
D/wpa_supplicant( 3205): nl80211: Connect request send successfully
D/wpa_supplicant( 3205): wlan0: Setting authentication timeout: 10 sec 0 usec
D/wpa_supplicant( 3205): EAPOL: External notification - EAP success=0
D/wpa_supplicant( 3205): EAPOL: Supplicant port status: Unauthorized
D/wpa_supplicant( 3205): EAPOL: External notification - EAP fail=0
D/wpa_supplicant( 3205): EAPOL: Supplicant port status: Unauthorized
D/wpa_supplicant( 3205): EAPOL: External notification - portControl=Auto
D/wpa_supplicant( 3205): EAPOL: Supplicant port status: Unauthorized
D/wpa_supplicant( 3205): RSN: Ignored PMKID candidate without preauth flag
D/wpa_supplicant( 3205): RX ctrl_iface - hexdump(len=9): 41 50 5f 53 43 41 4e 20 31
D/wpa_supplicant( 3205): wlan0: Control interface command 'AP_SCAN 1'
D/wpa_supplicant( 3205): RX ctrl_iface - hexdump(len=25): 42 53 53 20 52 41 4e 47 45 3d 41 4c 4c 20 4d 41 53 4b 3d 30 78 31 39 38 36
D/wpa_supplicant( 3205): wlan0: Control interface command 'BSS RANGE=ALL MASK=0x1986'
D/wpa_supplicant( 3205): nl80211: Event message available
[B]D/wpa_supplicant( 3205): wlan0: Event ASSOC_REJECT (13) received
I/wpa_supplicant( 3205): wlan0: CTRL-EVENT-ASSOC-REJECT bssid=f8:d1:11:xx:xx:xx status_code=16[/B]
D/wpa_supplicant( 3205): CTRL_IFACE monitor send - hexdump(len=40): 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 ...
D/wpa_supplicant( 3205): RX ctrl_iface - hexdump(len=18): 44 52 49 56 45 52 20 53 43 41 4e 2d 41 43 54 49 56 45
D/wpa_supplicant( 3205): wlan0: Control interface command 'DRIVER SCAN-ACTIVE'
D/wpa_supplicant( 3205): wpa_driver_nl80211_driver_cmd len = 0, 0
D/wpa_supplicant( 3205): RX ctrl_iface - hexdump(len=4): 53 43 41 4e
D/wpa_supplicant( 3205): wlan0: Control interface command 'SCAN'
D/wpa_supplicant( 3205): Ongoing scan action - reject new request
D/wpa_supplicant( 3205): RX ctrl_iface - hexdump(len=19): 44 52 49 56 45 52 20 53 43 41 4e 2d 50 41 53 53 49 56 45
D/wpa_supplicant( 3205): wlan0: Control interface command 'DRIVER SCAN-PASSIVE'
D/wpa_supplicant( 3205): wpa_driver_nl80211_driver_cmd len = 0, 0
...

(bold lines mark the error - found some google bugreport but no solution yet

-> url on request - cannot post ;))

cat /etc/wifi/wpa_supplicant.conf

update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=115
p2p_oper_channel=48

cat /data/misc/wifi/wpa_supplicant.conf

ctrl_interface=wlan0
update_config=1
device_name=m0xx
manufacturer=samsung
model_name=GT-I9300
model_number=GT-I9300
serial_number=4df10f62101b4f1d
device_type=10-0050F204-5
config_methods=physical_display virtual_push_button keypad
p2p_listen_reg_class=81
p2p_listen_channel=1
p2p_oper_reg_class=115
p2p_oper_channel=48

... *snip*

cat /system/build.prop

# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=JOP40D
ro.build.display.id=pa_i9300-userdebug 4.2.1 JOP40D eng.bidyut.20130104.004512 test-keys
ro.build.version.incremental=eng.bidyut.20130104.004512
ro.build.version.sdk=17
ro.build.version.codename=REL
ro.build.version.release=4.2.1
ro.build.date=Fri Jan 4 00:46:01 IST 2013
ro.build.date.utc=1357240561
ro.build.type=userdebug
ro.build.user=bidyut
ro.build.host=ZNuked
ro.build.tags=test-keys
ro.product.model=GT-I9300
ro.product.brand=samsung
ro.product.name=m0xx
ro.product.device=m0
ro.product.board=smdk4x12
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=samsung
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=exynos4
# ro.build.product is obsolete; use ro.product.device
ro.build.product=m0
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=m0xx-user 4.1.1 JRO03C I9300XXDLIB release-keys
ro.build.fingerprint=samsung/m0xx/m0:4.1.1/JRO03C/I9300XXDLIB:user/release-keys
ro.build.characteristics=default
# end build properties
#
# system.prop for smdk4x12
#

dalvik.vm.dexopt-data-only=1
rild.libpath=/system/lib/libsec-ril.so
rild.libargs=-d /dev/ttyS0
ro.sf.lcd_density=320
ro.lcd_min_brightness=15

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.config.ringtone=Themos.ogg
ro.config.notification_sound=Proxima.ogg
ro.config.alarm_alert=Cesium.ogg
ro.modversion=pa_i9300-2.99-04JAN2013-004512
ro.pa.family=pa_xhdpi
ro.pa.version=2.99
ro.papref.revision=1
ro.goo.developerid=paranoidandroid
ro.goo.rom=paranoidandroid
ro.goo.version=1357240512
keyguard.no_require_sim=true
ro.com.android.dataroaming=true
ro.com.android.dateformat=dd-MM-yyyy
ro.carrier=unknown
wifi.interface=wlan0
wifi.supplicant_scan_interval=15
ro.opengles.version=131072
hwui.render_dirty_regions=false
dalvik.vm.heapstartsize=8m
dalvik.vm.heapgrowthlimit=96m
dalvik.vm.heapsize=256m
dalvik.vm.heaptargetutilization=0.75
dalvik.vm.heapminfree=512k
dalvik.vm.heapmaxfree=8m
ro.telephony.ril_class=SamsungExynos4RIL
mobiledata.interfaces=pdp0,wlan0,gprs,ppp0
ro.ril.hsxpa=1
ro.ril.gprsclass=10
dalvik.vm.lockprof.threshold=500
dalvik.vm.dexopt-flags=m=y
net.bt.name=jayroid
dalvik.vm.stack-trace-file=/data/anr/traces.txt

dmesg

<6>[ 8993.569877] c3 s5p-ehci s5p-ehci: host_phy_susp
<4>[ 8995.367163] c3 dhd_wl_ioctl: WLC_IOCTL: cmd: 23, ret = -17
<6>[ 8995.523530] c3 lcd panel: s6e8ax0_check_fb, fb2
<4>[ 8995.701387] c0 connect failed event=0 e->status 0x1
<6>[ 8995.701587] c0 CFG80211-INFO2) wl_bss_connect_done : Report connect result - connection failed
<4>[ 8999.165145] c0 dhd_wl_ioctl: WLC_IOCTL: cmd: 23, ret = -17
<6>[ 8999.324360] c3 lcd panel: s6e8ax0_check_fb, fb2
<4>[ 8999.404884] c0 connect failed event=0 e->status 0x1
<6>[ 8999.407807] c0 CFG80211-INFO2) wl_bss_connect_done : Report connect result - connection failed
<4>[ 9002.868230] c0 dhd_wl_ioctl: WLC_IOCTL: cmd: 23, ret = -17
<6>[ 9003.024965] c0 lcd panel: s6e8ax0_check_fb, fb2
<4>[ 9003.109162] c0 connect failed event=0 e->status 0x1
<6>[ 9003.109707] c0 CFG80211-INFO2) wl_bss_connect_done : Report connect result - connection failed
<4>[ 9006.573045] c0 dhd_wl_ioctl: WLC_IOCTL: cmd: 23, ret = -17
<6>[ 9006.736843] c0 lcd panel: s6e8ax0_check_fb, fb2
<4>[ 9006.855544] c0 connect failed event=0 e->status 0x1
<6>[ 9006.858634] c0 CFG80211-INFO2) wl_bss_connect_done : Report connect result - connection failed
<4>[ 9010.319114] c0 dhd_wl_ioctl: WLC_IOCTL: cmd: 23, ret = -17
<6>[ 9010.471367] c3 lcd panel: s6e8ax0_check_fb, fb2
<4>[ 9010.671405] c0 connect failed event=0 e->status 0x1
<6>[ 9010.671606] c0 CFG80211-INFO2) wl_bss_connect_done : Report connect result - connection failed

strace wpa_supplicant

gettimeofday({1357637921, 128343}, NULL) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 14
ioctl(14, SIOCGIFINDEX, {ifr_name="wlan0", ifr_index=8}) = 0
close(14) = 0
gettimeofday({1357637921, 131575}, NULL) = 0
sendmsg(11, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"4\0\0\0\21\0\5\0!¦¦P\0\0\0\0\22\0\0\0\10\0\3\0\10\0\0\0\n\0\6\0"..., 52}], msg_controllen=0, msg_flags=0}, 0) = 52
fcntl64(11, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(11, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
recvmsg(11, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, msg_iov(1)=[{"H\0\0\0\2\0\0\0!¦¦P\10\23\0\0¦¦¦¦4\0\0\0\21\0\5\0!¦¦P"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 72
fcntl64(11, F_SETFL, O_RDWR) = 0
fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(12, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
recvmsg(12, 0xbeebb8ec, 0) = -1 EAGAIN (Try again)
fcntl64(12, F_SETFL, O_RDWR) = 0
gettimeofday({1357637921, 141280}, NULL) = 0
select(21, [3 9 10 12 16 17 19 20], [], [], {0, 870435}) = 2 (in [9 10], left {0, 870390})
gettimeofday({1357637921, 143598}, NULL) = 0
recvfrom(10, "8\0\0\0\20\0\0\0\0\0\0\0\0\0\0\0\0\0\1\0\10\0\0\0\3\20\1\0\0\0\0\0"..., 8192, MSG_DONTWAIT, {sa_family=AF_NETLINK, pid=0, groups=00000001}, [12]) = 56
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 14
ioctl(14, SIOCGIFINDEX, {ifr_name="wlan0", ifr_index=8}) = 0
close(14) = 0
recvfrom(10, 0xbeeb9930, 8192, 64, 0xbeeb9924, 0xbeeb9920) = -1 EAGAIN (Try again)
recvfrom(9, "AP_SCAN 1", 4095, 0, {sa_family=AF_UNIX, path="/data/misc/wifi/sockets/wpa_ctrl_2646-17"}, [43]) = 9
sendto(9, "OK\n", 3, 0, {sa_family=AF_UNIX, path="/data/misc/wifi/sockets/wpa_ctrl_2646-17"}, 43) = 3
gettimeofday({1357637921, 155635}, NULL) = 0
select(21, [3 9 10 12 16 17 19 20], [], [], {0, 856080}) = 1 (in [9], left {0, 856036})
gettimeofday({1357637921, 157647}, NULL) = 0
recvfrom(9, "BSS RANGE=ALL MASK=0x1986", 4095, 0, {sa_family=AF_UNIX, path="/data/misc/wifi/sockets/wpa_ctrl_2646-17"}, [43]) = 25
sendto(9, "bssid=f8:d1:11:xx:xx:xx\nfreq=246"..., 260, 0, {sa_family=AF_UNIX, path="/data/misc/wifi/sockets/wpa_ctrl_2646-17"}, 43) = 260
gettimeofday({1357637921, 165259}, NULL) = 0
select(21, [3 9 10 12 16 17 19 20], [], [], {0, 846456}) = 1 (in [12], left {0, 678954})
gettimeofday({1357637921, 334888}, NULL) = 0
fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(12, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
recvmsg(12, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000008}, msg_iov(1)=[{"8\0\0\0\21\0\0\0\0\0\0\0\0\0\0\0.\1\0\0\10\0\1\0\0\0\0\0\10\0\3\0"..., 4096}], msg_controllen=0, msg_flags=0}, 0) = 56
fcntl64(12, F_SETFL, O_RDWR) = 0
writev(4, [{"\4", 1}, {"wpa_supplicant\0", 15}, {"wlan0: CTRL-EVENT-ASSOC-REJECT b"..., 70}], 3) = 86
sendmsg(9, {msg_name(43)={sa_family=AF_UNIX, path="/data/misc/wifi/sockets/wpa_ctrl_2646-18"}, msg_iov(2)=[{"<3>", 3}, {"CTRL-EVENT-ASSOC-REJECT bssid=f8"..., 62}], msg_controllen=0, msg_flags=0}, 0) = 65
fcntl64(12, F_GETFL) = 0x2 (flags O_RDWR)
fcntl64(12, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
recvmsg(12, 0xbeebb8ec, 0) = -1 EAGAIN (Try again)
fcntl64(12, F_SETFL, O_RDWR) = 0
gettimeofday({1357637921, 337057}, NULL) = 0
select(21, [3 9 10 12 16 17 19 20], [], [], {0, 674658}) = 0 (Timeout)
gettimeofday({1357637922, 13994}, NULL) = 0
gettimeofday({1357637922, 15860}, NULL) = 0
gettimeofday({1357637922, 17453}, NULL) = 0
gettimeofday({1357637922, 19050}, NULL) = 0
select(21, [3 9 10 12 16 17 19 20], [], [], {5, 272491}) = 0 (Timeout)
gettimeofday({1357637927, 296028}, NULL) = 0
gettimeofday({1357637927, 297690}, NULL) = 0
gettimeofday({1357637927, 299277}, NULL) = 0
gettimeofday({1357637927, 300962}, NULL) = 0
select(21, [3 9 10 12 16 17 19 20], [], [], {0, 34654}) = 0 (Timeout)
gettimeofday({1357637927, 339772}, NULL) = 0
gettimeofday({1357637927, 341429}, NULL) = 0
gettimeofday({1357637927, 343018}, NULL) = 0