ath10k architecture
ath10k is a mac80211 driver, the architecture is depicted in the diagram below.
The driver is located in directory drivers/net/wireless/ath/ath10k/. The source code is available for browsing from this location:
https://github.com/kvalo/ath/tree/master/drivers/net/wireless/ath/ath10k
ath10k components
MAC
Files: mac.h mac.c
Host-Target Transport (HTT)
Files: htt.c htt.h htt_rx.c htt_tx.c
Wireless Module Interface (WMI)
Files: wmi.h wmi.c
Host-Target Communication (HTC)
Files: htc.h htc.c
Host interconnect Framework (HIF)
Files: hif.h
Debug
Files: debug.h debug.c
PCI
Files: pci.h pci.c ce.h ce.c
Bootloader Messaging Interface (BMI)
Files: bmi.h bmi.c
Core
Files: core.h core.c