Skip to content

ath10k: Add support for QCA9887

Sven Eckelmann ath10k linux-wireless 1 version In review

Get series with b4
b4 am 1568876.Six5hABE57@bentobox

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ath10k: add QCA9887 chipset supportdrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/hw.h drivers/net/wireless/ath/ath10k/pci.c +1 more+51 -24 replies
2/2ath10k: Add board data download from targetdrivers/net/wireless/ath/ath10k/core.c drivers/net/wireless/ath/ath10k/core.h drivers/net/wireless/ath/ath10k/hif.h +2 more+218 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ath10k: Add support for QCA9887

Hi,

the QCA9887 chip is similar to the QCA988x chips. But it requires a special firmware and uses a different calibration data source. Unfortunately, no working firmware currently exists. But it is possible to create a semi working one by binary patching the current version.

    # download new fw + set ATH10K_FW_FEATURE_HAS_WMI_MGMT_TX+ATH10K_FW_FEATURE_NO_P2P
    curl -o firmware-5.bin https://raw.githubusercontent.com/kvalo/ath10k-firmware/master/QCA9887/firmware-5.bin_10.2.3.31.7-1
    echo -en '\x0c'|dd conv=notrunc bs=1 seek=231112 of=firmware-5.bin
    mkdir -p /lib/firmware/ath10k/QCA9887/hw1.0/
    mv firmware-5.bin /lib/firmware/ath10k/QCA9887/hw1.0/firmware-5.bin

I am also guessing that ATH10K_FW_FEATURE_SUPPORTS_SKIP_CLOCK_INIT should also be set but this would require a ie_len of 2.

The QCA9887 support should be considered really experimental because we don't have any information how the interface to firmware actually looks like. The workarounds mentioned above were just implemented because we saw the firmware crashing and then guessed the most plausible reason for it.

We are also guessing that there is no HTT_10X_T2H_MSG_TYPE_MGMT_TX_COMPL_IND in this firmware and WMI_10X_VDEV_PARAM_RTS_FIXED_RATE maybe is also not existing (which would reduce the value of every entry in wmi_10x_vdev_param after that by one). But this is just a wild guess and we don't have any real information about that.

Kind regards,
Sven