NOTE: this page is for archival only, see the note at the end of the page.

Go back –> Atheros Linux wireless drivers

About ath10k

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.

Subpages

News

2013-07-14
ath10k merged into Linux 3.11-rc1
2013-06-01

review v2: http://marc.info/?l=linux-wireless&m=137008586705509&w=2

Mailing list

ath10k has it's own mailing list for discussions and patches:

http://lists.infradead.org/mailman/listinfo/ath10k

Archive for the mailing list:

http://lists.infradead.org/pipermail/ath10k/

Getting ath10k

Until ath10k is accepted upstream the driver is available from github.com:

Firmware

Firmware is temporalily available at https://github.com/kvalo/ath10k-firmware until it will be available from linux-firmware.git.

Known bugs/limitations

  • 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)

Configuration

Building

To build ath10k enable these kernel build configuration options, for example with make menuconfig:

  • CONFIG_ATH10K
  • CONFIG_ATH10K_PCI
  • 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.

hostapd

When building hostapd enable these configuration options:

  • CONFIG_IEEE80211AC
  • CONFIG_ACS

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:

channel=0

If you get "set channel failed to set in kernel" error message, most likely your regulatory database doesn't support 80 MHz channels.

Reporting bugs

Please send bug reports to the mailing list ath10k@lists.infradead.org

Supported Devices

ath10k supports Qualcomm Atheros 802.11ac QCA98xx based devices, here's a list of known products:

Submitting patches

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.

TODO

Things ath10k developers are currently working on, and other things to do:


This is a static dump of the old wiki, taken after locking it in January 2015. The new wiki is at https://wireless.wiki.kernel.org/.
versions of this page: last, v71, v70, v69, v68, v67, v66, v65, v64, v63, v62, v61, v60, v59, v58, v57, v56, v55, v54, v53, v52, v51, v50, v49, v48, v47, v46, v45, v44, v43, v42, v41, v40, v39, v38, v37, v36, v35, v34, v33, v32, v31, v30, v29, v28, v27, v26, v25, v24, v23, v22, v21, v20, v19, v18, v17, v16, v15, v14, v13, v12, v11, v10, v9, v8, v7, v6, v5, v4, v3, v2, v1