First of all you should read a kernel compile howto to see how it's done. There is one good thread here
to help you.
Now about your question, you should run
Networking --->Wireless --->Improved wireless configuration API (press "m" for module, or "y" for built-in)
save and recompile your kernel.