From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Michal Kazior <michal.kazior@tieto.com>
Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org
Subject: Re: [PATCH] ath10k: add support for 10.2 firmware
Date: Mon, 28 Jul 2014 23:59:15 +0300 [thread overview]
Message-ID: <87oaw9jj30.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1406287937-26507-1-git-send-email-michal.kazior@tieto.com> (Michal Kazior's message of "Fri, 25 Jul 2014 13:32:17 +0200")
Michal Kazior <michal.kazior@tieto.com> writes:
> The 10.2 firmware is a successor of 10.1 firmware
> (formerly identified as 10.x). Both share a lot
> but have some slight ABI differences that need to
> be taken care of.
>
> The 10.2 firmware introduces some new features but
> those can be added in subsequent patches. This
> patch makes ath10k boot and work with 10.2 with
> comparable functionality to 10.1.
>
> Signed-off-by: Michal Kazior <michal.kazior@tieto.com>
Thanks, applied with minor changes:
> +static void ath10k_wmi_10_2_process_rx(struct ath10k *ar, struct sk_buff *skb)
> +{
> + struct wmi_cmd_hdr *cmd_hdr;
> + enum wmi_10_2_event_id id;
> +
> + cmd_hdr = (struct wmi_cmd_hdr *)skb->data;
> + id = MS(__le32_to_cpu(cmd_hdr->cmd_id), WMI_CMD_HDR_CMD_ID);
> +
> + if (skb_pull(skb, sizeof(struct wmi_cmd_hdr)) == NULL)
> + return;
> +
> + trace_ath10k_wmi_event(id, skb->data, skb->len);
> +
> + switch (id) {
> +
> +
> + case WMI_10_2_MGMT_RX_EVENTID:
checkpatch warned about extra newlines here.
> +static void
> +ath10k_wmi_peer_assoc_fill_main_636(struct ath10k *ar, void *buf,
> + const struct wmi_peer_assoc_complete_arg *arg)
> +{
And this was too long. I "fixed" it by s/main_636/main/. I think the 636
part was a bit redundant anyway.
--
Kalle Valo
_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k
prev parent reply other threads:[~2014-07-28 20:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-25 11:32 [PATCH] ath10k: add support for 10.2 firmware Michal Kazior
2014-07-25 14:18 ` Kalle Valo
2014-07-31 3:46 ` Yeoh Chun-Yeow
2014-07-31 8:07 ` Michal Kazior
2014-07-28 20:59 ` Kalle Valo [this message]
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=87oaw9jj30.fsf@kamboji.qca.qualcomm.com \
--to=kvalo@qca.qualcomm.com \
--cc=ath10k@lists.infradead.org \
--cc=linux-wireless@vger.kernel.org \
--cc=michal.kazior@tieto.com \
/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