maemo.org Bugzilla – Bug 821
Nokia 770 does not work on Wifi networks using WDS
Last modified: 2008-12-23 21:52:08 UTC
You need to log in before you can comment on or make changes to this bug.
We have had major issues getting the Nokia 770 to participate in meshed wireless networks using WDS. The 770 has been tried with 3 different Access points from Proxim (Atheros chipset), Checkpoint (Atheros Chipset) and Linksys (Broadcom chipset), and anytime WDS is used, the 770 suffers from random disconnects, usually within seconds of association, followed by varying conditions depending on AP. With the checkpoint, connection comes up, but seconds to minutes later, 'Connection Lost' appears on screen and the 770 drops its connection. Socket connections during the connected period are extremely unreliable, though it seems a constant ping helps to delay disconnect, and ICMP traffic seems relatively unaffected. With the proxim, connection comes up and appears marginally more stable than the Checkpoint APs but will often randomly disconnect after 1-5 minutes. Similar TCP socket instability is observed, along with ICMP keeping the connection up longer. With Linksys WRT54GLs running DD-WRT firmware, the connection comes up, and seconds later is dropped, though the onscreen indicator indicates that the connection is still present. No IP connectivity is available at all ,and a ping command does not mitigate this condition. We have tested the final 2005 software, and the latest 2006 software and observed similar, if not identical behaviour in all cases. We have tested with multiple devices (we have a total of 32 Nokia 770s , and all we have tried have shown this behaviour) Multiple instances of 'eapd' are seen to be running in the top output. Common to all these conditions is the following behaviour, monitored with iwevent: script used (testConnect signals libosso to connect a profile using the C API): #!/bin/sh /usr/local/sbin/iwevent & ./tuxapp/testConnect 'MeshTest' & sleep 10 /usr/local/bin/ping 192.68.1.1 (Association, followed by backgrounded ping to AP IP, with iwevent output interleaved) 4:27:13.030852 wlan0 Scan request completed 14:27:13.547545 wlan0 Scan request completed 14:27:14.004668 wlan0 Scan request completed 14:27:14.256225 wlan0 Set Mode:Managed 14:27:14.257202 wlan0 Set ESSID:"MeshTest" 14:27:15.550353 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:15.577483 wlan0 Custom driver event:WPA_IE (00:18:39:dc:ab:77 wpa_ie=dd180050f20101000050f20201000050f20201000050f2020000) 14:27:15.578795 wlan0 New Access Point/Cell address:00:18:39:DC:AB:77 14:27:19.043304 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:20.484557 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:21.816619 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:24.597289 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:25.990570 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:27.384521 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:28.768645 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:30.159484 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:33.218902 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:34.583770 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:35.728942 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:37.115875 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:38.647461 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:40.182312 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:42.678894 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:44.065368 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:45.525909 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:46.848113 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:51.142089 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:52.420928 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:53.808807 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:55.198577 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:56.589202 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:57.980438 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:27:59.370422 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:00.760864 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:02.151794 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:03.544342 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:05.091339 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:06.325561 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:07.714996 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:11.043518 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:12.130553 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:13.295318 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:14.669159 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:18.846160 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:20.230346 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:21.620422 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:23.012268 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:24.408355 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:25.792144 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:27.182891 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) 14:28:28.574768 wlan0 Custom driver event:WPA_IE (00:14:a7:fa:86:ac wpa_ie=dd160050f20101000050f20201000050f20201000050f202) Attempting to connect profile: MeshTest Got callback from CLI_CONNECT! Got signal 1 Got callback from (null)! Got disconnect signal - exiting PING 192.68.1.1 (192.68.1.1) 56(84) bytes of data. --- 192.68.1.1 ping statistics --- 76 packets transmitted, 0 received, 100% packet loss, time 75733ms dmesg logs follow (this covers multiple attempts to connect): 36.013488] sm_drv_transmit: sm_frame_tx returned error -9 [ 737.008422] sm_drv_transmit: sm_frame_tx returned error -9 [ 738.014923] sm_drv_transmit: sm_frame_tx returned error -9 [ 739.054504] sm_drv_transmit: sm_frame_tx returned error -9 [ 740.056274] sm_drv_transmit: sm_frame_tx returned error -9 [ 741.054473] sm_drv_transmit: sm_frame_tx returned error -9 [ 742.084075] Authentication, psm ACTIVE [ 742.132659] sm_drv_transmit: sm_frame_tx returned error -9 [ 743.132965] sm_drv_transmit: sm_frame_tx returned error -9 [ 744.133056] sm_drv_transmit: sm_frame_tx returned error -9 [ 744.993896] Authentication, psm ACTIVE [ 746.289825] Authentication, psm ACTIVE [ 747.651031] Authentication, psm ACTIVE [ 749.063110] Authentication, psm ACTIVE [ 750.427093] Authentication, psm ACTIVE [ 751.823333] Authentication, psm ACTIVE [ 753.228424] Authentication, psm ACTIVE [ 754.600097] Authentication, psm ACTIVE [ 755.992736] Authentication, psm ACTIVE [ 757.383392] Authentication, psm ACTIVE [ 758.797668] Authentication, psm ACTIVE [ 760.171264] Authentication, psm ACTIVE [ 761.562042] Authentication, psm ACTIVE [ 762.944885] Authentication, psm ACTIVE [ 764.347686] Authentication, psm ACTIVE [ 765.723876] Authentication, psm ACTIVE [ 767.126434] Authentication, psm ACTIVE [ 767.929504] sm_drv_transmit: sm_frame_tx returned error -9 [ 768.131134] Shut down SoftMAC [ 797.922119] tlv320aic23 powering down [ 800.501098] hwa742: setting update mode to disabled [ 800.501129] hwa742_notifier_cb(): event = DISABLED [ 840.473968] Loading 3825.arm firmware [ 840.759002] CX3110x: MAC address 00:14:a7:fa:86:ac [ 840.796173] No power saving [ 840.806396] Scan complete, scanned 1 channels [ 840.835540] No power saving [ 841.226287] Scan complete, scanned 13 channels [ 841.513702] No power saving [ 841.514160] No power saving [ 842.819274] Authentication, psm ACTIVE [ 842.847747] Got MAC: 00:18:39:dc:ab:77 [ 842.990539] We wake up for DTIMs [ 843.629974] Authentication, psm ACTIVE [ 844.755767] Authentication, psm ACTIVE [ 846.158691] Authentication, psm ACTIVE [ 847.302917] Authentication, psm ACTIVE [ 850.344360] Authentication, psm ACTIVE [ 851.732421] Authentication, psm ACTIVE [ 852.864746] Authentication, psm ACTIVE [ 854.259979] Authentication, psm ACTIVE [ 855.420257] Authentication, psm ACTIVE [ 856.783386] Authentication, psm ACTIVE [ 857.919403] Authentication, psm ACTIVE [ 859.046661] Authentication, psm ACTIVE [ 860.183044] Authentication, psm ACTIVE [ 861.319213] Authentication, psm ACTIVE [ 862.446319] Authentication, psm ACTIVE [ 863.580230] Authentication, psm ACTIVE [ 864.734741] Authentication, psm ACTIVE [ 865.858551] Authentication, psm ACTIVE [ 866.452941] sm_drv_transmit: sm_frame_tx returned error -9 [ 866.564758] Shut down SoftMAC [ 930.231323] Loading 3825.arm firmware [ 930.466979] CX3110x: MAC address 00:14:a7:fa:86:ac [ 930.499816] No power saving [ 930.509918] Scan complete, scanned 1 channels [ 930.535858] No power saving [ 930.923828] Scan complete, scanned 13 channels [ 931.229125] No power saving [ 931.229583] No power saving [ 932.538024] Authentication, psm ACTIVE [ 932.566619] Got MAC: 00:18:39:ce:83:35 [ 932.690826] We wake up for DTIMs [ 966.412506] tlv320aic23 powering up [ 966.417419] tlv320aic23_init_power() done [ 966.524230] hwa742: setting update mode to manual [ 966.524291] hwa742_notifier_cb(): event = READY [ 996.468536] tlv320aic23 powering down [ 998.562622] hwa742: setting update mode to disabled [ 998.562683] hwa742_notifier_cb(): event = DISABLED [ 1019.689727] tlv320aic23 powering up [ 1019.692962] tlv320aic23_init_power() done [ 1019.808898] hwa742: setting update mode to manual [ 1019.808959] hwa742_notifier_cb(): event = READY [ 1020.193969] DEAUTHENTICATE trap [ 1020.195465] TX dropped [ 1020.199920] Shut down SoftMAC [ 1051.530914] tlv320aic23 powering down [ 1052.797302] hwa742: setting update mode to disabled [ 1052.797332] hwa742_notifier_cb(): event = DISABLED [ 1086.172637] Loading 3825.arm firmware [ 1086.399291] CX3110x: MAC address 00:14:a7:fa:86:ac [ 1086.437561] No power saving [ 1086.451812] Scan complete, scanned 1 channels [ 1086.480010] No power saving [ 1086.932678] Scan complete, scanned 13 channels [ 1086.960357] No power saving [ 1087.397583] Scan complete, scanned 13 channels [ 1087.663116] No power saving [ 1087.663574] No power saving [ 1088.975402] Authentication, psm ACTIVE [ 1089.003936] Got MAC: 00:18:39:dc:ab:77 [ 1089.129364] We wake up for DTIMs [ 1090.475830] tlv320aic23 powering up [ 1090.479278] tlv320aic23_init_power() done [ 1090.585662] hwa742: setting update mode to manual [ 1090.585723] hwa742_notifier_cb(): event = READY [ 1092.467254] Authentication, psm ACTIVE [ 1093.945281] Authentication, psm ACTIVE [ 1095.247528] Authentication, psm ACTIVE [ 1098.022338] Authentication, psm ACTIVE [ 1099.426269] Authentication, psm ACTIVE [ 1100.817504] Authentication, psm ACTIVE [ 1102.201049] Authentication, psm ACTIVE [ 1103.591278] Authentication, psm ACTIVE [ 1106.644195] Authentication, psm ACTIVE [ 1108.523284] Authentication, psm ACTIVE [ 1109.193389] Authentication, psm ACTIVE [ 1110.547821] Authentication, psm ACTIVE [ 1112.585876] Authentication, psm ACTIVE [ 1113.617919] Authentication, psm ACTIVE [ 1116.104156] Authentication, psm ACTIVE [ 1117.498687] Authentication, psm ACTIVE [ 1119.293304] Authentication, psm ACTIVE [ 1120.286590] Authentication, psm ACTIVE [ 1120.531555] tlv320aic23 powering down [ 1122.641571] hwa742: setting update mode to disabled [ 1122.641632] hwa742_notifier_cb(): event = DISABLED [ 1123.453186] tlv320aic23 powering up [ 1123.479949] tlv320aic23_init_power() done [ 1123.570800] hwa742: setting update mode to manual [ 1123.570861] hwa742_notifier_cb(): event = READY [ 1124.566619] Authentication, psm ACTIVE [ 1126.359161] Authentication, psm ACTIVE [ 1127.239685] Authentication, psm ACTIVE [ 1128.630523] Authentication, psm ACTIVE [ 1130.021026] Authentication, psm ACTIVE [ 1131.412292] Authentication, psm ACTIVE [ 1132.802246] Authentication, psm ACTIVE [ 1134.193664] Authentication, psm ACTIVE [ 1135.583618] Authentication, psm ACTIVE [ 1136.976257] Authentication, psm ACTIVE [ 1138.525970] Authentication, psm ACTIVE [ 1140.265441] Authentication, psm ACTIVE [ 1141.149353] Authentication, psm ACTIVE [ 1143.922607] Authentication, psm ACTIVE [ 1145.675262] Authentication, psm ACTIVE [ 1146.802307] Authentication, psm ACTIVE [ 1148.107238] Authentication, psm ACTIVE [ 1152.269165] Authentication, psm ACTIVE [ 1153.517791] tlv320aic23 powering down [ 1153.664093] Authentication, psm ACTIVE [ 1155.052307] Authentication, psm ACTIVE [ 1155.603179] hwa742: setting update mode to disabled [ 1155.603240] hwa742_notifier_cb(): event = DISABLED [ 1156.442932] Authentication, psm ACTIVE [ 1157.774597] tlv320aic23 powering up [ 1157.796203] tlv320aic23_init_power() done [ 1157.843048] Authentication, psm ACTIVE [ 1157.879760] hwa742: setting update mode to manual [ 1157.879821] hwa742_notifier_cb(): event = READY [ 1159.223968] Authentication, psm ACTIVE [ 1160.615875] Authentication, psm ACTIVE [ 1162.005371] Authentication, psm ACTIVE [ 1162.515441] sm_drv_transmit: sm_frame_tx returned error -9 [ 1162.717498] Shut down SoftMAC [ 1192.490173] tlv320aic23 powering down [ 1195.984497] hwa742: setting update mode to disabled [ 1195.984558] hwa742_notifier_cb(): event = DISABLED [ 1313.956542] tlv320aic23 powering up [ 1313.959899] tlv320aic23_init_power() done [ 1314.071166] hwa742: setting update mode to manual [ 1314.071197] hwa742_notifier_cb(): event = READY Suffice to say that this is of major concern to us, as WDS meshing is becoming more common, and is somewhat central to our project involving the 770s. Other devices such as laptops (e.g. my Apple iBook w/Airport Express Card and MacOS X, a colleagues Dell w/Atheros chipset/madwifi drivers, another Dell with inbuilt wireless running XP - do not exhibit this issue at all.) It would seem a number of issues with APs, even in non-WDS mode are related, as it seems the 770 generates large amounts of DEAUTH packets on the network, followed by repeated attempts to reassociate, in some cases seemingly unsuccessfully and often causing complete connection losses or TCP socket terminations. I have also observed a number of spontaneous reboots occurring after repeated testing of these conditions. It would seem the drivers or firmware used to run the Nokias Prism54 SoftMAC chipset have some issues. What, if anything else, do you guys need from me to get a handle on this problem?
The latest 2006 release from maemo.org (e.g 2006 release update 1 as detailed in the november maemo-announce posting) seems to improve things a great deal. Haven't had time to do detailed analysis, but WDS connectivity now works, and if the 'constant re-auth' issue is also gone, then it looks like Nokia might have really come through for us on this one. Big thanks to anyone involved in addressing this issue
https://garage.maemo.org/tracker/index.php?func=detail&aid=1444&group_id=164&atid=681
Pete, did you have any chance to retest this again against current maemo software and hardware?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for/if you can still reproduce this. Thanks!