[Defy Android Development] pomah:
For the wifi I can say these two things:

With the latest nightlies (from the change to android 2.3.5 i think) the wifi is randomly disconnecting and reconnecting. If I go back to the nightly from 19/7 the wifi is stable as few. I do not feel that there is anything wrong with the wifi speeds, I get really good speeds with the new nighties (2.3.5) and the old (19/7).

When looking from the logout below it seems like there is something wrong with the DHCP renewal.

Here is a small logcat output:

08-15 07:55:05.897 D/WifiService( 2129): acquireWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@409c5008}

08-15 07:55:05.913 E/wpa_supplicant( 2196): Ongoing Scan action...

08-15 07:55:07.010 E/WifiStateTracker( 2129): DHCP request failed: Timed out waiting for DHCP Renew to finish

08-15 07:55:07.010 D/WifiStateTracker( 2129): DHCP renewal failed: Timed out waiting for DHCP Renew to finish

08-15 07:55:07.014 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=8 BSSID=00:00:00:00:00:00

08-15 07:55:07.014 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=8 BSSID=00:00:00:00:00:00]

08-15 07:55:07.014 V/WifiStateTracker( 2129): Changing supplicant state: COMPLETED ==> DORMANT

08-15 07:55:07.014 D/WifiStateTracker( 2129): Reset connections and stopping DHCP

08-15 07:55:07.022 I/wpa_supplicant( 2196): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

08-15 07:55:07.022 V/WifiMonitor( 2129): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]

08-15 07:55:07.022 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00

08-15 07:55:07.022 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=8 BSSID=00:00:00:00:00:00]

08-15 07:55:07.319 W/Smack/Packet( 2262): notify conn break (IOEx), close connection

08-15 07:55:07.319 D/Smack ( 2262): [XMPPConn] close connection, notifyClosed=false

08-15 07:55:08.022 D/WifiStateTracker( 2129): Disabling interface

08-15 07:55:08.030 V/WifiStateTracker( 2129): New network state is DISCONNECTED

08-15 07:55:08.030 V/WifiStateTracker( 2129): Changing supplicant state: DORMANT ==> DORMANT

08-15 07:55:08.030 E/ConnectivityService( 2129): Attempt to connect to WIFI failed.

08-15 07:55:08.038 I/TelephonyRegistry( 2129): notifyDataConnection: state=0 isDataConnectivityPossible=false reason=apnSwitched interfaceName=null networkType=3

08-15 07:55:08.061 I/TelephonyRegistry( 2129): notifyDataConnection: state=1 isDataConnectivityPossible=true reason=apnSwitched interfaceName=null networkType=3

08-15 07:55:08.085 D/GTalkService( 2262): lost connectivity, notify

08-15 07:55:08.108 D/Tethering( 2129): MasterInitialState.processMessage what=3

08-15 07:55:08.132 I/MediaUploader( 6691): No need to wake up

08-15 07:55:08.241 D/CMStats ( 6700): CONNECTIVITY_ACTION: noConnectivity = true

08-15 07:55:08.256 D/ClockSync( 6715): Network disabled, cancel timer

08-15 07:55:08.256 D/ClockSync( 6715): Timer cancelled

08-15 07:55:10.038 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00

08-15 07:55:10.038 I/wpa_supplicant( 2196): Trying to associate with SSID 'madrom'

08-15 07:55:10.038 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00]

08-15 07:55:10.038 V/WifiMonitor( 2129): Event [Trying to associate with SSID 'madrom']

08-15 07:55:10.038 V/WifiStateTracker( 2129): Changing supplicant state: DORMANT ==> SCANNING

08-15 07:55:10.038 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00

08-15 07:55:10.038 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:00:00:00:00:00]

08-15 07:55:10.038 V/WifiStateTracker( 2129): Changing supplicant state: SCANNING ==> ASSOCIATING

08-15 07:55:10.874 I/TelephonyRegistry( 2129): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=apnSwitched interfaceName=rmnet0 networkType=3

08-15 07:55:10.936 D/Tethering( 2129): MasterInitialState.processMessage what=3

08-15 07:55:11.053 I/MediaUploader( 6691): No need to wake up

08-15 07:55:11.171 D/CMStats ( 6700): CONNECTIVITY_ACTION: noConnectivity = false

08-15 07:55:11.171 D/CMStats ( 6700): CONNECTIVITY_ACTION: starting service

08-15 07:55:11.178 D/CMStats ( 6700): User has not opted in -- skipping reporting.

08-15 07:55:11.186 D/ru.gelin.android.weather.notification( 6707): network is up

08-15 07:55:11.217 D/ClockSync( 6715): Network enabled, timer will fire in: 255954

08-15 07:55:11.217 D/ru.gelin.android.weather.notification( 6707): scheduling update to Mon Aug 15 08:20:00 CEST 2011

08-15 07:55:11.225 D/ClockSync( 6715): Timer set, interval: 259200

08-15 07:55:11.225 D/ru.gelin.android.weather.notification( 6707): skipping update, not expired

08-15 07:55:11.311 V/NotificationService( 2129): Active profile: Default

08-15 07:55:11.311 I/PROFILE ( 2129): Group: Gmail containing : ru.gelin.android.weather.notification.classic : false

08-15 07:55:11.311 I/PROFILE ( 2129): Group: Phone containing : ru.gelin.android.weather.notification.classic : false

08-15 07:55:11.311 I/PROFILE ( 2129): Group: Calendar containing : ru.gelin.android.weather.notification.classic : false

08-15 07:55:11.311 I/PROFILE ( 2129): Group: Email containing : ru.gelin.android.weather.notification.classic : false

08-15 07:55:11.311 I/PROFILE ( 2129): Group: SMS containing : ru.gelin.android.weather.notification.classic : false

08-15 07:55:11.311 V/ProfileManager( 2129): No active group, returning default: Övrig

08-15 07:55:11.311 V/NotificationService( 2129): Pkg: ru.gelin.android.weather.notification.classic group: Övrig

08-15 07:55:11.772 W/IInputConnectionWrapper( 6636): showStatusIcon on inactive InputConnection

08-15 07:55:11.827 D/webviewglue( 6636): nativeDestroy view: 0x380360

08-15 07:55:11.889 D/WifiService( 2129): releaseWifiLockLocked: WifiLock{NetworkLocationLocator type=2 binder=android.os.BinderProxy@409c5008}

08-15 07:55:11.905 I/System.out( 7679): [INFO:6485]: g: Running flush

08-15 07:55:11.936 I/System.out( 7679): [INFO:6528]: g: Sending payload [bytes=354]

08-15 07:55:12.210 I/ActivityManager( 2129): No longer want com.google.android.partnersetup (pid 6561): hidden #16

08-15 07:55:12.381 I/ActivityManager( 2129): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=org.adwfreak.launcher/.Launcher } from pid 2129

08-15 07:55:13.311 I/System.out( 2237): UPDATECOUNTERS REQUEST: com.xtralogic.android.logcollector = 0

08-15 07:55:13.311 I/System.out( 2237): UPDATINGCOUNTERS: com.xtralogic.android.logcollector = 0

08-15 07:55:13.311 I/ActivityManager( 2129): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.xtralogic.android.logcollector/.SendLogActivity } from pid 2237

08-15 07:55:13.592 I/ActivityManager( 2129): Displayed com.xtralogic.android.logcollector/.SendLogActivity: +260ms

08-15 07:55:15.038 I/ActivityManager( 2129): Start proc gr.androiddev.ScreenOn for service gr.androiddev.ScreenOn/.ScreenOnService: pid=7712 uid=10089 gids={3003}

08-15 07:55:15.155 I/ScreenOnService( 7712): Service is already started!!!

08-15 07:55:15.171 I/ActivityManager( 2129): Starting: Intent { act=android.intent.action.CHOOSER cmp=android/com.android.internal.app.ChooserActivity (has extras) } from pid 6626

08-15 07:55:15.202 D/szipinf ( 6626): Initializing inflate state

08-15 07:55:15.225 D/szipinf ( 6626): Initializing inflate state

08-15 07:55:15.264 D/szipinf ( 6626): Initializing inflate state

08-15 07:55:15.538 I/System.out( 7679): [INFO:10132]: g: Response [http=200,length=119]

08-15 07:55:15.546 I/System.out( 7679): [INFO:10138]: g: Read id 1, status code 200

08-15 07:55:15.600 I/ActivityManager( 2129): Displayed android/com.android.internal.app.ChooserActivity: +424ms

08-15 07:55:17.506 I/ActivityManager( 2129): Starting: Intent { act=android.intent.action.SEND typ=text/plain flg=0x3000000 cmp=com.android.email/.activity.MessageCompose (has extras) } from pid 6626

08-15 07:55:17.655 I/dalvikvm-heap( 6636): Grow heap (frag case) to 8.778MB for 262148-byte allocation

08-15 07:55:18.038 I/ActivityManager( 2129): Displayed com.android.email/.activity.MessageCompose: +523ms

08-15 07:55:18.420 I/VoipConnectorService$VoipServiceImpl$SyncManager.Syncer( 2489): VoipConnectorService$VoipServiceImpl.syncAllowed: SState: truePhState: true

08-15 07:55:19.335 I/dalvikvm-heap( 6636): Grow heap (frag case) to 9.116MB for 262148-byte allocation

08-15 07:55:23.983 I/ScreenOn( 7712): Call state value: 0

08-15 07:55:23.983 I/ScreenOnService( 7712): Service Running! application found: false

08-15 07:55:24.866 W/IInputConnectionWrapper( 6636): showStatusIcon on inactive InputConnection

08-15 07:55:24.881 D/webviewglue( 6636): nativeDestroy view: 0x380360

08-15 07:55:27.006 W/InputManagerService( 2129): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4085eff0

08-15 07:55:28.506 I/System.out( 2237): UPDATECOUNTERS REQUEST: com.android.email = 0

08-15 07:55:28.506 I/System.out( 2237): UPDATINGCOUNTERS: com.android.email = 0

08-15 07:55:28.514 I/ActivityManager( 2129): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.email/.activity.Welcome bnds=[288,762][384,854] } from pid 2237

08-15 07:55:28.655 I/ActivityManager( 2129): Starting: Intent { flg=0x4000000 cmp=com.android.email/.activity.MessageList (has extras) } from pid 6636

08-15 07:55:28.678 D/EAS SyncManager( 6636): !!! EAS SyncManager, onCreate

08-15 07:55:28.686 D/EAS SyncManager( 6636): !!! EAS SyncManager, onStartCommand

08-15 07:55:28.796 D/EAS SyncManager( 6636): !!! EAS SyncManager, stopping self

08-15 07:55:28.827 D/EAS SyncManager( 6636): !!! EAS SyncManager, onStartCommand

08-15 07:55:28.850 D/EAS SyncManager( 6636): !!! EAS SyncManager, stopping self

08-15 07:55:28.850 D/EAS SyncManager( 6636): !!! EAS SyncManager, onDestroy

08-15 07:55:28.936 I/ActivityManager( 2129): Displayed com.android.email/.activity.MessageList: +139ms (total +351ms)

08-15 07:55:29.319 D/Email ( 6636): *** synchronizeMailboxGeneric ***

08-15 07:55:30.210 I/TelephonyRegistry( 2129): notifyServiceState: 0 home Sweden 3G Sweden 3G 24005 HSPA CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false

08-15 07:55:30.233 I/TelephonyRegistry( 2129): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=rmnet0 networkType=10

08-15 07:55:33.358 I/ActivityManager( 2129): Starting: Intent { flg=0x4000000 cmp=com.android.email/.activity.MailboxList (has extras) } from pid 6636

08-15 07:55:33.499 I/ActivityManager( 2129): Displayed com.android.email/.activity.MailboxList: +123ms

08-15 07:55:34.124 D/WifiService( 2129): ACTION_BATTERY_CHANGED pluggedType: 0

08-15 07:55:37.342 I/ActivityManager( 2129): Starting: Intent { flg=0x4000000 cmp=com.android.email/.activity.MessageList (has extras) } from pid 6636

08-15 07:55:37.577 I/ActivityManager( 2129): Displayed com.android.email/.activity.MessageList: +214ms

08-15 07:55:37.577 I/TelephonyRegistry( 2129): notifyServiceState: 0 home Sweden 3G Sweden 3G 24005 UMTS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false

08-15 07:55:37.600 I/TelephonyRegistry( 2129): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=rmnet0 networkType=3

08-15 07:55:37.897 D/Email ( 6636): *** synchronizeMailboxGeneric ***

08-15 07:55:40.366 I/ActivityManager( 2129): Starting: Intent { act=com.android.email.intent.action.EDIT_DRAFT cmp=com.android.email/.activity.MessageCompose (has extras) } from pid 6636

08-15 07:55:40.538 I/ActivityManager( 2129): Displayed com.android.email/.activity.MessageCompose: +171ms

08-15 07:55:50.171 I/ScreenOn( 7712): Call state value: 0

08-15 07:55:50.171 I/ScreenOnService( 7712): Service Running! application found: false

08-15 07:56:08.030 D/webviewglue( 6636): nativeDestroy view: 0x380360

08-15 07:56:09.053 I/ActivityManager( 2129): Starting: Intent { act=com.android.email.intent.action.EDIT_DRAFT cmp=com.android.email/.activity.MessageCompose (has extras) } from pid 6636

08-15 07:56:09.366 I/ActivityManager( 2129): Displayed com.android.email/.activity.MessageCompose: +309ms

08-15 07:56:10.077 I/wpa_supplicant( 2196): Authentication with 00:00:00:00:00:00 timed out.

08-15 07:56:10.077 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=0 BSSID=00:00:00:00:00:00

08-15 07:56:10.077 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00

08-15 07:56:10.077 V/WifiMonitor( 2129): Event [Authentication with 00:00:00:00:00:00 timed out.]

08-15 07:56:10.077 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=0 BSSID=00:00:00:00:00:00]

08-15 07:56:10.077 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00]

08-15 07:56:10.077 V/WifiStateTracker( 2129): Changing supplicant state: ASSOCIATING ==> DISCONNECTED

08-15 07:56:10.077 V/WifiStateTracker( 2129): Changing supplicant state: DISCONNECTED ==> SCANNING

08-15 07:56:11.296 I/wpa_supplicant( 2196): Trying to associate with 00:27:19:fc:8e:10 (SSID='madrom' freq=2457 MHz)

08-15 07:56:11.303 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:27:19:fc:8e:10

08-15 07:56:11.303 V/WifiMonitor( 2129): Event [Trying to associate with 00:27:19:fc:8e:10 (SSID='madrom' freq=2457 MHz)]

08-15 07:56:11.303 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:27:19:fc:8e:10]

08-15 07:56:11.303 V/WifiStateTracker( 2129): Changing supplicant state: SCANNING ==> ASSOCIATING

08-15 07:56:11.350 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=4 BSSID=00:27:19:fc:8e:10

08-15 07:56:11.350 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=4 BSSID=00:27:19:fc:8e:10]

08-15 07:56:11.350 V/WifiStateTracker( 2129): Changing supplicant state: ASSOCIATING ==> ASSOCIATED

08-15 07:56:11.350 I/wpa_supplicant( 2196): Associated with 00:27:19:fc:8e:10

08-15 07:56:11.350 V/WifiMonitor( 2129): Event [Associated with 00:27:19:fc:8e:10]

08-15 07:56:11.350 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=5 BSSID=00:00:00:00:00:00

08-15 07:56:11.350 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=5 BSSID=00:00:00:00:00:00]

08-15 07:56:11.350 V/WifiStateTracker( 2129): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE

08-15 07:56:11.358 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=5 BSSID=00:00:00:00:00:00

08-15 07:56:11.358 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=5 BSSID=00:00:00:00:00:00]

08-15 07:56:11.366 V/WifiStateTracker( 2129): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE

08-15 07:56:11.366 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=6 BSSID=00:00:00:00:00:00

08-15 07:56:11.366 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=6 BSSID=00:00:00:00:00:00]

08-15 07:56:11.366 V/WifiStateTracker( 2129): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE

08-15 07:56:11.366 I/wpa_supplicant( 2196): WPA: Key negotiation completed with 00:27:19:fc:8e:10 [PTK=CCMP GTK=CCMP]

08-15 07:56:11.366 V/WifiMonitor( 2129): Event [WPA: Key negotiation completed with 00:27:19:fc:8e:10 [PTK=CCMP GTK=CCMP]]

08-15 07:56:11.366 I/wpa_supplicant( 2196): CTRL-EVENT-STATE-CHANGE id=1 state=7 BSSID=00:00:00:00:00:00

08-15 07:56:11.366 V/WifiMonitor( 2129): Event [CTRL-EVENT-STATE-CHANGE id=1 state=7 BSSID=00:00:00:00:00:00]

08-15 07:56:11.366 V/WifiStateTracker( 2129): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED

08-15 07:56:11.366 I/wpa_supplicant( 2196): CTRL-EVENT-CONNECTED - Connection to 00:27:19:fc:8e:10 completed (reauth) [id=1 id_str=]

08-15 07:56:11.366 V/WifiMonitor( 2129): Event [CTRL-EVENT-CONNECTED - Connection to 00:27:19:fc:8e:10 completed (reauth) [id=1 id_str=]]

08-15 07:56:11.366 V/WifiStateTracker( 2129): New network state is CONNECTED

08-15 07:56:11.374 D/WifiStateTracker( 2129): Reset connections and stopping DHCP

08-15 07:56:11.444 W/IInputConnectionWrapper( 6636): finishComposingText on inactive InputConnection

08-15 07:56:12.381 D/WifiStateTracker( 2129): DHCP renewal started

08-15 07:56:14.381 D/WifiStateTracker( 2129): DHCP renewal succeeded with lease: -1

08-15 07:56:14.381 D/WifiStateTracker( 2129): DHCP succeeded with lease: -1

08-15 07:56:14.389 V/WifiStateTracker( 2129): IP configuration: ipaddr 192.168.1.106 gateway 192.168.1.1 netmask 255.255.255.0 dns1 192.168.1.1 dns2 0.0.0.0 DHCP server 192.168.1.1 lease -1 seconds

08-15 07:56:14.405 D/WifiWatchdogService( 2129): (android.server.ServerThread) madrom (00:27:19:fc:8e:10) does not require the watchdog

08-15 07:56:14.421 D/Tethering( 2129): MasterInitialState.processMessage what=3