Let me refer you to Sergey's blog:
It covers a wealth of information related to the Galileo. I used his section on WiFi support to copy in a driver for the Intel Centrino Advanced-N 6235. A dynamite board for about $25.
I also used his instructions to build a serial cable, and got his recommended antennas...
And bumped my rootfs to 3gb from the defauld 300mb. Most useful blog - ever.
I finally managed to solve my issue, being able to compile a module but not for my 3945 board, as it seems it's broken.
My experience reported here: Re: Wifi mPCIe compatibility
thanks to all guys