Adding ath10K driver to Apalis iMX6 via .config or nconfig

I have a new Apalis iMX6 D 512 V1.1A on a Ixora V1.0A
I’m trying to install a Silex SX-PCEAC using the ath10k driver. I was told by your Sanchayan Maity to :

http://developer.toradex.com/knowledge-base/build-u-boot-and-linux-kernel-from-source-code

The above article documents building kernel from source. Before building the kernel, you would have to enable the following options using make menuconfig.

CONFIG_ATH10K=y
CONFIG_ATH10K_PCI=y

See Kconfig « ath10k « ath « wireless « net « drivers - linux-toradex.git - Linux kernel for Apalis and Colibri modules

Being new to this I’m hoping for a little more explicit detail. Things don’t seem to be adding up. I’m at “Kernel Configuration” in the “build-u-boot-and-linux-kernel-from-source-code” instructions. If I use menuconfig or nconfig I do not see any ath10k options. If I look in the .config file I do not see the above commands. Do I add them? nconfig shows I’m modifying “.config - Linux/arm 3.14.52 Kernel Configuration” so I think I’m in the right place.

Appreciate any help

Did you check in → Device Drivers → Network device support → Wireless LAN → Atheros Wireless Cards with menuconfig? It should be available there.

Or

One can also append them directly to defconfig. By default we build the WiFi stack as loadable modules so one need to add the dependent WiFi drivers as loadable modules only.

e.g.:

...
CONFIG_ATH10K=m
CONFIG_ATH10K_PCI=m
...

Thanks, I think I’ve got it. The CONFIG_ATH10K does not explicitly appear in menuconfig, I think it’s covered by selecting Atheros Wireless Card. CONFIG_ATH10K_PCI is explicitly called out in menuconfig.