ATH10K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@qca.qualcomm.com>
To: Bartosz Markowski <bartosz.markowski@tieto.com>
Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org
Subject: Re: [PATCH] ath10k: implement per-VDEV FW statistics
Date: Wed, 28 Aug 2013 13:13:08 +0300	[thread overview]
Message-ID: <87ob8igm2z.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1377592996-21934-1-git-send-email-bartosz.markowski@tieto.com> (Bartosz Markowski's message of "Tue, 27 Aug 2013 10:43:16 +0200")

Bartosz Markowski <bartosz.markowski@tieto.com> writes:

> The WMI_REQUEST_PEER_STAT command with latst (1.0.0.716) FW
> can return per-VDEV statistics. Using debugfs we can fetch this info now.
>
> This is a backward compatible change. In case of older FW the VDEV
> statistics are simply not returned.
>
> Signed-off-by: Bartosz Markowski <bartosz.markowski@tieto.com>

[...]

> diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h
> index 08860c4..626bf02 100644
> --- a/drivers/net/wireless/ath/ath10k/wmi.h
> +++ b/drivers/net/wireless/ath/ath10k/wmi.h
> @@ -1767,6 +1772,9 @@ struct wal_dbg_tx_stats {
>  	/* wal pdev resets  */
>  	__le32 pdev_resets;
>  
> +	/* frames dropped due to non-availability of stateless TIDs */
> +	__le32 stateless_tid_alloc_failure;
> +
>  	__le32 phy_underrun;
>  
>  	/* MPDU is more than txop limit */
> @@ -1825,11 +1833,10 @@ enum wmi_stats_id {
>  
>  struct wmi_request_stats_cmd {
>  	__le32 stats_id;
> -
> -	/*
> -	 * Space to add parameters like
> -	 * peer mac addr
> -	 */
> +	/* unique id identifying the VDEV, generated by the caller */
> +	__le32 vdev_id;
> +	/* peer MAC address */
> +	struct wmi_mac_addr peer_macaddr;
>  } __packed;
>  
>  /* Suspend option */

Don't these changes break the compability with the older firmware?

Also, for consistency, please _v1 and _v2 suffix when having different
versions of wmi structs.

-- 
Kalle Valo

_______________________________________________
ath10k mailing list
ath10k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath10k

  reply	other threads:[~2013-08-28 10:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-27  8:43 [PATCH] ath10k: implement per-VDEV FW statistics Bartosz Markowski
2013-08-28 10:13 ` Kalle Valo [this message]
2013-08-28 10:21   ` Bartosz Markowski
2013-08-28 10:30     ` Kalle Valo
2013-08-28 10:15 ` Kalle Valo

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=87ob8igm2z.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@qca.qualcomm.com \
    --cc=ath10k@lists.infradead.org \
    --cc=bartosz.markowski@tieto.com \
    --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