Go back –> Atheros Linux wireless drivers
ath10k is the mac80211 wireless driver for Qualcom Atheros QCA988x family of chips, which support IEEE 802.11ac.
A major difference from ath9k is that there's now a firmware and that's why we had to implement a new driver.
- ath10k merged into Linux 3.11-rc1
ath10k has it's own mailing list for discussions and patches:
Archive for the mailing list:
Until ath10k is accepted upstream the driver is available from github.com:
Firmware is temporalily available at https://github.com/kvalo/ath10k-firmware until it will be available from linux-firmware.git.
firmware does not support association to the same AP from different virtual STA interfaces (driver prints "ath10k: Failed to add peer XX:XX:XX:XX:XX:XX for VDEV: X" in that case)
- monitor/promiscuous mode causes firmware crashes very often
- packet injection isn't supported yet
- applying ath9k regulatory domain hack patch from OpenWRT causes firmware crash (reason: regulatory hint function is never called and ath10k never sends scan channel list to the firmware which in turn causes firmware to crash on scan)
To build ath10k enable these kernel build configuration options, for example with make menuconfig:
- CONFIG_ATH10K_DEBUG (optional)
- CONFIG_ATH10K_DEBUGFS (optional)
- CONFIG_ATH10K_TRACING (optional)
The debug and tracing options are optional, but it's strongly recommended to enable to make it easier to debug issues.
ath10k options can be found from location:
-> Device Drivers -> Network device support (NETDEVICES [=y]) -> Wireless LAN (WLAN [=y]) -> Atheros Wireless Cards (ATH_CARDS [=m])
Loading the modules
The ath10k modules should be loaded automatically in most systems. If that's not happening, first load ath10k_core.ko and then ath10k_pci.ko.
When building hostapd enable these configuration options:
Setup hostapd to use 11ac VHT80 mode:
hw_mode=a channel=36 ht_capab=[40HT+] ieee80211n=1 ieee80211ac=1 vht_oper_chwidth=1 vht_oper_centr_freq_seg0_idx=42
vht_oper_centr_freq_seg0_idx is calculated for VHT80 with channel + 6.
To enable ACS:
If you get "set channel failed to set in kernel" error message, most likely your regulatory database doesn't support 80 MHz channels.
Please send bug reports to the mailing list firstname.lastname@example.org
ath10k supports Qualcomm Atheros 802.11ac QCA98xx based devices, here's a list of known products:
Send patches to the mailing lists below. Kalle Valo reviews the patches within the next few days and, if they are ok, commits them to ath.git.
Preferably use ath.git master as the baseline for patches. Other trees can be used as well, but then the chances of conflicts are higher.
Guidelines for patches:
- MUST be compiler warning free.
- MUST be sparse warning free.
- Commit log MUST not be empty.
- The commit log MUST answer the question "Why?":
- Describe the motivation behind the bug.
- How does it change the functionality from user's point of view?
- Does it fix a bug? If it does, please describe the bug (doesn't need to be long). Also if there's a public bug report add a link to the bug report.
- If a problem has been found during code review and doesn't fix a known issues, mention that in the commit log.
- If others have reported the issue commit log SHOULD use Reported-by: and Tested-by: tags.
- SHOULD be checkpatch clean:
- FIXME: add checkpatch example with correct arguments
- Patches SHOULD be sent with git send-email tool.
- Patchsets SHOULD contain no more than 12 patches.
The terminology is from http://www.ietf.org/rfc/rfc2119.txt
Atheros common module
ath10k uses the common shared ath.ko module.
Statistics on contributions
Visit the ath10k contribution graphs. You can help keep this up to date if you like. If interested contact the ath10k driver maintainers.
Things ath10k developers are currently working on, and other things to do:
tx/rx reporting to mac80211 isn't serialized (http://article.gmane.org/gmane.linux.kernel.wireless.general/112513)