[HTC Droid DNA] chadster1976:
Problems with Wi-Fi and questions

Hi crpalmer...

First off, thanks for all of your work you do!

I'm wondering if you may be able to assist me with troubleshooting a problem with my Wi-Fi connection using your kernel and the 10.2 stable release of CM.

Here's an outline of what I did. I am S-Off, BTW and am using CWM 6.0.4.5.

I downloaded your kernel v.4.9.0 to use with the 10.2CM. I flashed all from recovery in this order.

Cleared device/factory reset - cleared cache and davilk...

installed CM10.2

installed GApps package

installed your kernel

Upon reboot experienced Wi-Fi problems - cycling between obtaining IP address and turning off and back on wi-fi. Rebooted several times with no change.

I tried several re-flashes with clean installs (Clearing cache every time) with no change in status - still can't connect to Wi-Fi.

I tried changing to an older kernel of yours just to see if that may help - 4.7.4. No change.

Tried just a clean flash of CM with their stock kernel and still no luck.

Then I saw your post regarding the Wi-Fi problems. When I perform the adb shell cat /proc/version command you suggest, it does show your kernel as listed. Then I perform the stated commands for debugging, but I'm not certain what to look for. Below is a list of the wifi related lines:

<6>[ 404.432290] c0 709 wifi_set_power = 1

<6>[ 404.432290] c0 709 monarudo_wifi_power: 1

<6>[ 404.561544] c0 709 wifi_set_carddetect = 1

<6>[ 404.561544] c0 709 monarudo_wifi_set_carddetect: 1

<6>[ 404.561544] c0 709 mmc1: Slot status change detected (0 -> 1)

<6>[ 404.561605] c0 733 [MMC][WIFI] mmc1: msmsdcc_runtime_resume: start

<6>[ 404.575278] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.599328] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.605768] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.612543] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.614069] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.614130] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.614252] c0 733 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 404.617396] c0 733 mmc1: new high speed SDIO card at address 0001

<6>[ 404.623592] c0 733 mmc_rescan_try_freq: Find a SDIO card

<6>[ 404.637143] c0 709 F1 signature OK, socitype:0x1 chip:0x4334 rev:0x3 pk

g:0x2

<6>[ 404.642728] c0 709 DHD: dongle ram size is set to 524288(orig 524288) a

t 0x0

<6>[ 404.644925] c0 3947 CFG80211-ERROR) wl_event_handler : tsk Enter, tsk =

0xdddc13e4

<6>[ 404.644956] c0 709 wl_create_event_handler(): thread:wl_event_handler:f

6b started

<7>[ 404.648649] c0 709 [NET][CORE][RULE] attach_rules

<7>[ 404.648649] c0 709 [NET][CORE][RULE] attach_rules

<6>[ 404.650389] c0 709 p2p0: P2P Interface Registered

<6>[ 404.650480] c0 709 dhd_attach(): thread:dhd_watchdog_thread:f6c started

<6>[ 404.650602] c0 709 dhd_attach(): thread:dhd_dpc:f6d started

<6>[ 404.650694] c0 709 dhd_attach(): thread:dhd_rxf:f6e started

<6>[ 404.650755] c0 709 dhd_attach(): thread:dhd_sysioc:f6f started

<6>[ 404.650968] c0 709 wifi_get_mac_addr

<6>[ 404.650999] c0 709 monarudo_wifi_get_mac_addr = e8 99 c4 b7 bc b7

<7>[ 404.665160] c0 709 [NET][CORE][RULE] attach_rules

<7>[ 404.665191] c0 709 [NET][CORE][RULE] attach_rules

<6>[ 404.674011] c0 709 Broadcom Dongle Host Driver: register interface [wla

n0] MAC: e8:99:c4:b7:bc:b7

<6>[ 404.674713] c0 709

<6>[ 404.674713] c0 709 Dongle Host Driver, version 1.88.27 (r)

<6>[ 404.674744] c0 709 Compiled in drivers/net/wireless/bcmdhd on Nov 5 20

13 at 20:15:55

<6>[ 404.674744] c0 709 wifi_set_power = 0

<6>[ 404.674744] c0 709 monarudo_wifi_power: 0

<6>[ 404.804272] c0 709 =========== WLAN placed in RESET ========

<6>[ 404.927483] c0 3952

<6>[ 404.927483] c0 3952 Dongle Host Driver, version 1.88.27 (r)

<6>[ 404.927483] c0 3952 Compiled in drivers/net/wireless/bcmdhd on Nov 5 20

13 at 20:15:55

<6>[ 404.927483] c0 3952 wl_android_wifi_on in

<6>[ 404.927514] c0 3952 wifi_set_power = 1

<6>[ 404.927514] c0 3952 monarudo_wifi_power: 1

<6>[ 405.057805] c0 3952 =========== WLAN going back to live ========

<6>[ 405.057805] c0 3952 sdio_reset_comm(): High speed mode

<3>[ 405.060369] c0 3952 mmc1: clock 48000000Hz busmode 1 powermode 2 cs 1 Vd

d 16 width 2 timing 2

<6>[ 405.060399] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.062444] c0 3952 mmc1: clock 48000000Hz busmode 1 powermode 2 cs 0 Vd

d 16 width 2 timing 2

<6>[ 405.062475] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.063482] c0 3952 mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd

16 width 2 timing 2

<6>[ 405.063512] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.063909] c0 3952 mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd

16 width 2 timing 2

<6>[ 405.063909] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.064550] c0 3952 mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd

16 width 2 timing 2

<6>[ 405.064550] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.066076] c0 3952 mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd

16 width 2 timing 2

<6>[ 405.066076] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.066137] c0 3952 mmc1: clock 48000000Hz busmode 2 powermode 2 cs 0 Vd

d 16 width 2 timing 2

<6>[ 405.066137] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<3>[ 405.066229] c0 3952 mmc1: clock 48000000Hz busmode 2 powermode 2 cs 0 Vd

d 16 width 2 timing 2

<6>[ 405.066259] c0 3952 [WIFI] [MMC] msmsdcc_set_ios [WIFI] mmc1 clks is ON

<6>[ 405.189958] c0 3952 dhdsdio_write_vars: Download, Upload and compare of

NVRAM succeeded.

<6>[ 405.426094] c0 3952 dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

<6>[ 405.429696] c0 3952 monarudo_wifi_get_mac_addr = e8 99 c4 b7 bc b7

<6>[ 405.447733] c0 3952 CFG80211-ERROR) wl_cfg80211_attach_post : p2p0: p2p_

dev_addr=ea:99:c4:b7:bc:b7

<6>[ 405.683595] c0 709 alarm 0 set 1387226753.929000000

<6>[ 408.013642] c0 3947 wl_bss_connect_done succeeded with c0:c1:c0:3c:5a:ec

<6>[ 408.069922] c0 3947 wl_bss_connect_done succeeded with c0:c1:c0:3c:5a:ec

<6>[ 408.535876] c0 3968 cpuinfo: failed to get policy for cpu1

<6>[ 408.535907] c0 3968 cpuinfo: failed to get policy for cpu2

<6>[ 408.535907] c0 3968 cpuinfo: failed to get policy for cpu3

<6>[ 408.561513] c0 3968 cpuinfo: failed to get policy for cpu1

<6>[ 408.561544] c0 3968 cpuinfo: failed to get policy for cpu2

<6>[ 408.561605] c0 3968 cpuinfo: failed to get policy for cpu3

Any help you could offer, I would be much appreciated.