All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: mkenna@codeaurora.org
Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org,
	Maharaja Kennadyrajan <mkenna@codeaurora.org>
Subject: Re: [v2] ath10k: debugfs support to get final TPC stats for 10.4 variants
Date: Mon, 26 Mar 2018 15:09:27 +0000 (UTC)	[thread overview]
Message-ID: <20180326150927.4D92E60710@smtp.codeaurora.org> (raw)
In-Reply-To: <1519634437-6672-1-git-send-email-mkenna@codeaurora.org>

mkenna@codeaurora.org wrote:

> Export the final Transmit Power Control (TPC) value, which is the
> minimum of control power and existing TPC value to user space via
> a new debugfs file "tpc_stats_final" to help with debugging.
> It works with the new wmi cmd and event introduced in 10.4 firmware
> branch.
> 
> WMI command ID: WMI_PDEV_GET_TPC_TABLE_CMDID
> WMI event ID: WMI_PDEV_TPC_TABLE_EVENTID
> 
> cat /sys/kernel/debug/ieee80211/phyX/ath10k/tpc_stats_final
> 
> $ cat /sys/kernel/debug/ieee80211/phyX/ath10k/tpc_stats_final
> 
> TPC config for channel 5180 mode 10
> 
> CTL             =  0x 0 Reg. Domain             = 58
> Antenna Gain    =  0 Reg. Max Antenna Gain      =   0
> Power Limit     = 60 Reg. Max Power             = 60
> Num tx chains   =  2 Num supported rates        = 109
> 
> ******************* CDD POWER TABLE ****************
> 
> No.  Preamble Rate_code tpc_value1 tpc_value2 tpc_value3
> 0    CCK      0x40        0          0
> 1    CCK      0x41        0          0
> [...]
> 107  HTCUP    0x 0       46          46
> 108  HTCUP    0x 0       46          46
> 
> ******************* STBC POWER TABLE ****************
> 
> No.  Preamble Rate_code tpc_value1 tpc_value2 tpc_value3
> 0    CCK      0x40        0          0
> 1    CCK      0x41        0          0
> [...]
> 107  HTCUP    0x 0        46         46
> 108  HTCUP    0x 0        46         46
> 
> ***********************************
> TXBF not supported
> **********************************
> 
> The existing tpc_stats debugfs file provides the dump
> which is minimum of target power and regulatory domain.
> 
> cat /sys/kernel/debug/ieee80211/phyX/ath10k/tpc_stats
> 
> Hardware_used: QCA4019
> Firmware version: firmware-5.bin_10.4-3.0-00209
> 
> Signed-off-by: Maharaja Kennadyrajan <mkenna@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

Patch applied to ath-next branch of ath.git, thanks.

bc64d05220f3 ath10k: debugfs support to get final TPC stats for 10.4 variants

-- 
https://patchwork.kernel.org/patch/10241601/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

  parent reply	other threads:[~2018-03-26 15:09 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-26  8:40 [PATCH v2] ath10k: debugfs support to get final TPC stats for 10.4 variants mkenna
2018-02-26  8:40 ` mkenna
2018-02-26 19:49 ` Joshua Zhao
2018-02-26 19:49   ` Joshua Zhao
2018-02-27  5:33   ` Maharaja Kennadyrajan
2018-02-27  5:33     ` Maharaja Kennadyrajan
2018-03-27  6:24     ` Joshua Zhao
2018-03-27  6:24       ` Joshua Zhao
2018-03-26 15:09 ` Kalle Valo [this message]
2018-03-26 15:09 ` [v2] " 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=20180326150927.4D92E60710@smtp.codeaurora.org \
    --to=kvalo@codeaurora.org \
    --cc=ath10k@lists.infradead.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mkenna@codeaurora.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.