unaszplodrmann, on 02 November 2012 - 10:04 PM, said:
Ah OK, I thought they'd supplied it as part of full kernel source drop, sans the funked up netfilter module. Of course I culd've answered my own question anyway, by just checking your last github commit ^^ Derp.
They don't build it within the kernel build process as a typical module, the Makefile they use actually lives in hardware/broadcom/wlan/something/dhd/linux in their platform. It uses KERNEL_OBJ to link with the kernel, so it's not a case of them intentionally removing it from kernel drops - technically it's part of the platform, but is still GPL and they are still releasing a binary. The various versions of DHD available in the kernel are the upstream ones that aren't actually used and won't work.
Because it's built in the platform and provided by Broadcom originally it's wrapped in a ton of Makefiles that are all incredibly different, so the current problem is getting it to a. build, and b. work, before even integrating it in to the kernel preferably.
PaulMilbank, on 02 November 2012 - 08:13 PM, said:
Hey Daz, think this may take more than twitter to ask/answer. What does the source for the wifi module allow us to do?I thought the kernel source had a module for the wifi already? Does this compile the bcm wifi module for the /etc/modules directory? Sorry for the questions, kernel source development is one thing, still a long way off learning about rom development.
It compiles Dongle Host Driver, the low level Wi-Fi driver which is tied quite closely to the kernel. It's quite susceptible to breakage with a few kernel edits, and eventually hex editing the module isn't enough. The source release (providing we get it building all good) allows us to be more adventurous with the kernel (as we can just build it as part of the kernel so it never breaks) and potentially fix the Wi-Fi hang with custom kernels, as we'll have full control over all source.
^ above regarding kernel containing source