For WLAN, the drivers for several chipsets are included in Android, including chips from TI, Broadcom, and CSR. The TI driver is used on the ADP1, and the Broadcom driver is used in the Samsung i7500 (Galaxy.). For Android 1.0 and Cupcake, there were some hardcoded assumptions in the Framework and Platform code specific to the TI chipset. This was cleaned up and generalized in Donut to be vendor neutral.
One way to figure things out is to use the ADP1 and build Donut for it, and turn on more verbose logging. There are some Android-specific IOCTLs for Wireless Extensions, and you can find them in the Broadcom driver in src/wl/sys/wl_iw.c. You also have to make sure you enable wireless extensions in the kernel. The TI driver at least until Cupcake (not sure about Donut) does not use WEXT, so it is not enabled in the kernel config for ADP1 (msm_defconfig.) Both TI and Broadcom drivers are shipping on production phones, so I can assure you that they work. -Howard --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
