[Miscellaneous Android Development] :
I just thought I'd mention that I think that I may have made some progress with the wifi. I was able to load the dhd.ko without error.

Here is the output of dmesg with the broken wifi

<7>[ 2908.592102] wifi_set_power = 1

<7>[ 2908.592224] brcm_wlan_power: 1

<7>[ 2908.676727] wifi_set_carddetect = 1

<7>[ 2908.676940] msm_device_sdc4.name= 4

<6>[ 2908.800445] mmc3: new high speed SDIO card at address 0001

<7>[ 2908.808685] alloc static buf at de9c0000!

<7>[ 2908.810638] dhdsdio_probe : no mutex held. set lock

<7>[ 2908.811492] F1 signature read @0x18000000=0x16044330

<7>[ 2908.831268] DHD: dongle ram size is set to 294912(orig 294912)

<6>[ 2908.837951] CFG80211-INFO2) wl_event_handler : tsk Enter, tsk = 0xdb5ca640

<7>[ 2908.838195] wl_create_event_handler thr:10e0 created

<7>[ 2908.848114] p2p0: P2P Interface Registered

<7>[ 2908.848480] dhd_attach thr:10e1 created

<7>[ 2908.848663] dhd_attach thr:10e2 created

<7>[ 2908.848846] dhd_attach thr:10e3 created

<7>[ 2908.906219] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

<7>[ 2909.906585] dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50

<7>[ 2909.907165] dhd_bus_init: clock state is wrong. state = 1

<7>[ 2909.907501] dhd_bus_start, dhd_bus_init failed -1

<7>[ 2909.908081] dhdsdio_probe: dhd_bus_start failed

<7>[ 2909.908508] bcmsdh_sdmmc: F0 Wr:0x04: write disallowed

<7>[ 2910.906616] dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50

<7>[ 2910.908477] dhd_detach thr:10e3 terminated OK

<7>[ 2910.908966] dhd_detach thr:10e1 terminated OK

<7>[ 2910.909637] dhd_detach thr:10e2 terminated OK

<6>[ 2910.965850] CFG80211-INFO2) wl_event_handler : wl_event_handler was terminated

<7>[ 2910.966827] wl_destroy_event_handler thr:10e0 terminated OK

<7>[ 2911.995819] dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50

<7>[ 2911.996398] dhd_osl_detach: MEMORY LEAK 140 bytes

<7>[ 2911.996734] dhdsdio_probe : the lock is released.

<7>[ 2911.998626]

<7>[ 2911.998657] Dongle Host Driver, version 1.28.19.9 (RC1_0107)

<7>[ 2911.998748] Compiled in drivers/net/wireless/bcmdhd on Aug 26 2013 at 21:54:11

<7>[ 2911.999786] dhd_module_init: sdio_register_driver timeout or error

<7>[ 2912.001190] ## wifi_remove

<7>[ 2912.001708] wifi_set_power = 0

<7>[ 2912.001983] brcm_wlan_power: 0

<7>[ 2912.106903] wifi_set_carddetect = 0

<7>[ 2912.107452] msm_device_sdc4.name= 4

<6>[ 2912.186492] mmc3: card 0001 removed

Here is what I got by loading different firmware...

<7>[ 2705.497772] wifi_set_power = 1

<7>[ 2705.498260] brcm_wlan_power: 1

<7>[ 2705.586700] wifi_set_carddetect = 1

<7>[ 2705.587005] msm_device_sdc4.name= 4

<6>[ 2705.710510] mmc3: new high speed SDIO card at address 0001

<7>[ 2705.717864]

<7>[ 2705.717895] Dongle Host Driver, version 1.28.19.9 (RC1_0107)

<7>[ 2705.717956] Compiled in drivers/net/wireless/bcmdhd on Aug 26 2013 at 21:54:11

<7>[ 2705.720703] alloc static buf at de9c0000!

<7>[ 2705.722656] dhdsdio_probe : no mutex held. set lock

<7>[ 2705.723480] F1 signature read @0x18000000=0x16044330

<7>[ 2705.737854] DHD: dongle ram size is set to 294912(orig 294912)

<6>[ 2705.743438] CFG80211-INFO2) wl_event_handler : tsk Enter, tsk = 0xdb5ca640

<7>[ 2705.744232] wl_create_event_handler thr:103e created

<7>[ 2705.755279] p2p0: P2P Interface Registered

<7>[ 2705.756958] dhd_attach thr:103f created

<7>[ 2705.757659] dhd_attach thr:1040 created

<7>[ 2705.758117] dhd_attach thr:1041 created

<7>[ 2705.758422] dhd_early_suspend: enter

<7>[ 2705.877044] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

<7>[ 2706.144348] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

<7>[ 2706.165802] Firmware up: op_mode=0x0005, Broadcom Dongle Host Driver mac=28:38:f9

<7>[ 2706.173431] POWER_VAL = 1

<7>[ 2706.189697] dhd_wl_ioctl: WLC_GET_VAR: arp_version, ret = -23

<7>[ 2706.196960] Firmware version = wl0: Sep 14 2012 13:34:30 version 5.90.195.107 FWID 01-986c802e

<7>[ 2706.208374] Broadcom Dongle Host Driver: register interface [wlan0] MAC: 28:38:f9

<7>[ 2706.212158] dhdsdio_probe : the lock is released.

Just tested by replacing firmware. WIFI FIXED!

CM DEVS: replace /system/etc/wifi/bcmdhd_sta.bin with hardware/broadcom/wlan/bcmdhd/firmware/bcm4330/fw_bcm4330_bg.bin