Hi,
I want to support Qualcomm Atheros QCA9890 on our board, but some questions are confusing me.
My harware:
- imx8mq customize board (Software: LF_L5.4.3_1.0.0)
- QCA9890 card with MINI PCIe Interface
Modify steps:
1. Modify DTS to match PCIe layout.
2. Kernel config select driver "ath10k" to module not build in.
CONFIG_ATH_COMMON=m
CONFIG_ATH10K=m
CONFIG_ATH10K_CE=y
CONFIG_ATH10K_PCI=m
CONFIG_ATH10K_AHB=y
CONFIG_ATH10K_DEBUGFS=y
After plug Wi-Fi module by PCIe, boot will show "ath10k_pci" kernel log as below.
=====================================================================
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started Permit User Sessions.
[ 5.299272] ath10k_pci 0000:01:00.0: enabling device (0000 -> 0002)
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Login Service.
[ OK ] Started Getty on tty1.
[ 5.360379] ath10k_pci 0000:01:00.0: pci irq msi oper_irq_mode 2 irq_mode 0 reset_mode 0
[ OK ] Started Serial Getty on ttymxc0.
=====================================================================
After 250 seconds, wireless interface "wlan0" will be create.
=====================================================================
[ OK ] Started Load/Save Random Seed.
NXP i.MX Release Distro 5.4-zeus imx8mqevk ttymxc0
imx8mqevk login: [ 8.657331] fec 30be0000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 8.665136] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 189.501349] ath10k_pci 0000:01:00.0: qca988x hw2.0 target 0x4100016c chip_id 0x043202ff sub 0000:0000
[ 189.510771] ath10k_pci 0000:01:00.0: kconfig debug 0 debugfs 0 tracing 0 dfs 0 testmode 1
[ 189.519710] ath10k_pci 0000:01:00.0: firmware ver 10.2.4-1.0-00045 api 5 features no-p2p,raw-mode,mfp,allows-mesh-bcast crc32 ccbd5104
[ 250.938172] ath10k_pci 0000:01:00.0: board_file api 1 bmi_id N/A crc32 bebc7c08
[ 252.062223] ath10k_pci 0000:01:00.0: unsupported HTC service id: 1536
[ 252.091897] ath10k_pci 0000:01:00.0: htt-ver 2.1 wmi-op 5 htt-op 2 cal otp max-sta 128 raw 0 hwcrypto 1
=====================================================================
There are some questions confusing me.
1. Who does automatically insert module "ath10k"?
I do not add KERNEL_MODULE_AUTOLOAD += "ath10k" in local.conf. I have no idea who to do automatically load module "ath10k".
2. How to fast create wireless interface?
250 seconds is too slow to get Wi-Fi interface.
Could any one tell me how can I do?
Thank you for any help.
Minying