[Hero CDMA Android Development] Decad3nce:
Here's a quick documentation on compiling compat-wireless against the .29 kernel for the G1: http://bobcopeland.com/android_wifi.html

Which brings up a few questions.

When I build with the OP directions, I get the cf80211.ko and mac80211.ko modules but it doesn't build any of the wl12xx drivers.

adnan@Decad3nce:~/compat-wireless-2010-10-20$ make CROSS_COMPILE=~/android-cm/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi- ARCH=arm KLIB=~/Kernels/htc-kernel-heroc/ KLIB_BUILD=~/Kernels/htc-kernel-heroc/
make: arm-eabi-gcc: Command not found
make: Entering directory `/home/adnan/Kernels/htc-kernel-heroc'
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /home/adnan/Kernels/htc-kernel-heroc/ M=/home/adnan/compat-wireless-2010-10-20 modules
make[1]: Entering directory `/home/adnan/Kernels/htc-kernel-heroc'
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/main.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat-2.6.30.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat-2.6.32.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat-2.6.33.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat-2.6.35.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat-2.6.36.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat-2.6.37.o
LD [M] /home/adnan/compat-wireless-2010-10-20/compat/compat.o
CC [M] /home/adnan/compat-wireless-2010-10-20/compat/compat_firmware_class.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/main.o
/home/adnan/compat-wireless-2010-10-20/net/mac80211/main.c: In function '__check_ieee80211_disable_40mhz_24ghz':
/home/adnan/compat-wireless-2010-10-20/net/mac80211/main.c:38: warning: return from incompatible pointer type
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/status.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/sta_info.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/wep.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/wpa.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/scan.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/offchannel.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/ht.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/agg-tx.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/agg-rx.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/ibss.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mlme.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/work.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/iface.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/rate.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/michael.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/tkip.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/aes_ccm.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/aes_cmac.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/cfg.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/rx.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/spectmgmt.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/tx.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/key.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/util.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/wme.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/event.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/chan.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/led.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mesh.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mesh_pathtbl.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mesh_plink.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mesh_hwmp.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/pm.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/rc80211_pid_algo.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/rc80211_minstrel.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/rc80211_minstrel_ht.o
LD [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mac80211.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/rfkill/core.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/rfkill/input.o
LD [M] /home/adnan/compat-wireless-2010-10-20/net/rfkill/rfkill_backport.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/core.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/sysfs.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/radiotap.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/util.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/reg.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/scan.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/nl80211.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/mlme.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/ibss.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/sme.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/chan.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/ethtool.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/wext-compat.o
CC [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/wext-sme.o
LD [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/cfg80211.o
Building modules, stage 2.
MODPOST 5 modules
CC /home/adnan/compat-wireless-2010-10-20/compat/compat.mod.o
LD [M] /home/adnan/compat-wireless-2010-10-20/compat/compat.ko
CC /home/adnan/compat-wireless-2010-10-20/compat/compat_firmware_class.mod.o
LD [M] /home/adnan/compat-wireless-2010-10-20/compat/compat_firmware_class.ko
CC /home/adnan/compat-wireless-2010-10-20/net/mac80211/mac80211.mod.o
LD [M] /home/adnan/compat-wireless-2010-10-20/net/mac80211/mac80211.ko
CC /home/adnan/compat-wireless-2010-10-20/net/rfkill/rfkill_backport.mod.o
LD [M] /home/adnan/compat-wireless-2010-10-20/net/rfkill/rfkill_backport.ko
CC /home/adnan/compat-wireless-2010-10-20/net/wireless/cfg80211.mod.o
LD [M] /home/adnan/compat-wireless-2010-10-20/net/wireless/cfg80211.ko
make[1]: Leaving directory `/home/adnan/Kernels/htc-kernel-heroc'
adnan@Decad3nce:~/compat-wireless-2010-10-20$

What about this patch from msm_wifi: http://bobcopeland.com/srcs/android/msm_wifi.patch

According to Bob Copeland, he had to: "Apply this patch to create a new module called msm_wifi. This module sets GPIOs appropriately to power up the wifi module and implement virtual card-select; it needs to be loaded for wl1251_sdio to successfully probe the device."

Just a few questions..

I've also added a (non-flashable)zip with all that I've built so far: http://dl.dropbox.com/u/9992367/Compat-Wireless-htc-kernel-heroc-test1.zip