linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
To: ath10k@lists.infradead.org
Cc: linux-wireless@vger.kernel.org
Subject: [PATCH 0/2] ath10k: Add support for QCA9887
Date: Fri, 20 May 2016 16:40:46 +0200	[thread overview]
Message-ID: <1568876.Six5hABE57@bentobox> (raw)

[-- Attachment #1: Type: text/plain, Size: 1451 bytes --]

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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

             reply	other threads:[~2016-05-20 14:40 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 14:40 Sven Eckelmann [this message]
2016-05-20 14:41 ` [PATCH 1/2] ath10k: add QCA9887 chipset support Sven Eckelmann
2016-05-23  6:22   ` Mohammed Shafi Shajakhan
2016-05-23  6:52     ` Mohammed Shafi Shajakhan
2016-06-04 13:21   ` Valo, Kalle
2016-06-07 11:29   ` [1/2] " Kalle Valo
2016-05-20 14:41 ` [PATCH 2/2] ath10k: Add board data download from target Sven Eckelmann
2016-06-04 13:26   ` Valo, Kalle
2016-06-06 10:10     ` Sven Eckelmann
2016-05-26 17:32 ` [PATCH 0/2] ath10k: Add support for QCA9887 Valo, Kalle
2016-05-27  8:46   ` Sven Eckelmann
2016-05-27 12:44     ` Valo, Kalle
2016-05-30 11:12       ` Sven Eckelmann
2016-06-07 14:50         ` Mohammed Shafi Shajakhan
2016-06-07 16:54           ` Sven Eckelmann
2016-06-07 17:11             ` Mohammed Shafi Shajakhan
2016-06-08 12:43               ` Mohammed Shafi Shajakhan
2016-06-09  5:06                 ` Mohammed Shafi Shajakhan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1568876.Six5hABE57@bentobox \
    --to=sven.eckelmann@open-mesh.com \
    --cc=ath10k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).