<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/drivers/net/wireless/ath/ath11k/debugfs_htt_stats.c, branch linux-6.9.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-6.9.y'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2023-11-30T16:59:24Z</updated>
<entry>
<title>wifi: ath11k: Update Qualcomm Innovation Center, Inc. copyrights</title>
<updated>2023-11-30T16:59:24Z</updated>
<author>
<name>Jeff Johnson</name>
<email>quic_jjohnson@quicinc.com</email>
</author>
<published>2023-11-29T11:39:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ea77e9398b326d65b052096840b883271f8a7a48'/>
<id>urn:sha1:ea77e9398b326d65b052096840b883271f8a7a48</id>
<content type='text'>
Update the copyright for all ath11k files modified on behalf of
Qualcomm Innovation Center, Inc. in 2021 through 2023.

Signed-off-by: Jeff Johnson &lt;quic_jjohnson@quicinc.com&gt;
Signed-off-by: Kalle Valo &lt;quic_kvalo@quicinc.com&gt;
Link: https://lore.kernel.org/r/20231128-ath12kcopyrights-v1-2-be0b7408cbac@quicinc.com
</content>
</entry>
<entry>
<title>wifi: ath11k: Add HTT stats for PHY reset case</title>
<updated>2023-06-01T10:31:33Z</updated>
<author>
<name>Nidhi Jain</name>
<email>quic_nidhjain@quicinc.com</email>
</author>
<published>2023-05-26T09:41:07Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=2d4f9093e2d8531ad0a2bb98fe5b36dc8addf2a2'/>
<id>urn:sha1:2d4f9093e2d8531ad0a2bb98fe5b36dc8addf2a2</id>
<content type='text'>
New HTT stats are added with stats type 37 to
provide PHY reset stats and PHY reset counter stats.

PHY reset stats are used to display the current
PHY-related operation information such as band, CCA
threshold, current operating channel etc.,

PHY reset counter stats are used to display the
PHY reset counter values like calibration counts,
temperature based recalibration counts etc.,

Usage:
echo 37 &gt; /sys/kernel/debug/ieee80211/phyX/ath11k/htt_stats_type
cat /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats

Output:

HTT_PHY_RESET_STATS_TLV:
pdev_id = 0
chan_mhz = 5180
chan_band_center_freq1 = 5210
chan_band_center_freq2 = 0
chan_phy_mode = 18
chan_flags = 0x8
chan_num = 36
reset_cause = 0x50000
prev_reset_cause = 0x50000
phy_warm_reset_src = 0x0
rx_gain_tbl_mode = 0
xbar_val = 0xfac688
force_calibration = 0
phyrf_mode = 0
phy_homechan = 0
phy_tx_ch_mask = 0x3
phy_rx_ch_mask = 0x3
phybb_ini_mask = 0x5
phyrf_ini_mask = 0x0
phy_dfs_en_mask = 0x0
phy_sscan_en_mask = 0x0
phy_synth_sel_mask = 0x0
phy_adfs_freq = 0
cck_fir_settings = 0x0
phy_dyn_pri_chan = 6
cca_thresh = 0x26232020
dyn_cca_status = 0
rxdesense_thresh_hw = 0xcfe0afe
rxdesense_thresh_sw = 0xcfe0afe

HTT_PHY_RESET_COUNTERS_TLV:
pdev_id = 0
cf_active_low_fail_cnt = 0
cf_active_low_pass_cnt = 0
phy_off_through_vreg_cnt = 0
force_calibration_cnt = 0
rf_mode_switch_phy_off_cnt = 0

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.7.0.1-01744-QCAHKSWPL_SILICONZ-1

Signed-off-by: Nidhi Jain &lt;quic_nidhjain@quicinc.com&gt;
Signed-off-by: Maharaja Kennadyrajan &lt;quic_mkenna@quicinc.com&gt;
Signed-off-by: Kalle Valo &lt;quic_kvalo@quicinc.com&gt;
Link: https://lore.kernel.org/r/20230517141242.2754293-1-quic_mkenna@quicinc.com
</content>
</entry>
<entry>
<title>ath11k: update missing MU-MIMO and OFDMA stats</title>
<updated>2022-05-18T07:12:25Z</updated>
<author>
<name>Sriram R</name>
<email>quic_srirrama@quicinc.com</email>
</author>
<published>2022-05-16T10:25:59Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=fdb8fc34a6fbf8c7614f222cbe1176a0598f1941'/>
<id>urn:sha1:fdb8fc34a6fbf8c7614f222cbe1176a0598f1941</id>
<content type='text'>
Update the missing MU-MIMO/OFDMA info in PDEV RX,
trigger and schedule stats. i.e HTT stats type 10, 12 and 17
respectively.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.4-01209-QCAHKSWPL_SILICONZ-1

Signed-off-by: Sriram R &lt;quic_srirrama@quicinc.com&gt;
Signed-off-by: Kalle Valo &lt;quic_kvalo@quicinc.com&gt;
Link: https://lore.kernel.org/r/1652152236-12038-1-git-send-email-quic_srirrama@quicinc.com
</content>
</entry>
<entry>
<title>ath11k: add HTT stats support for new stats</title>
<updated>2021-09-28T13:53:15Z</updated>
<author>
<name>Venkateswara Naralasetty</name>
<email>vnaralas@codeaurora.org</email>
</author>
<published>2021-09-28T11:00:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=ac83b6034cfa3bec010c1e01d6e6b44673135afe'/>
<id>urn:sha1:ac83b6034cfa3bec010c1e01d6e6b44673135afe</id>
<content type='text'>
Add HTT stats support for,

29-ATH11K_DBG_HTT_EXT_STATS_PEER_CTRL_PATH_TXRX_STATS:
Used to dump the control path txrx stats for each connected peer.
Usage:
echo 29 &gt; /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats_type
cat /sys/kernel/debug/ieee80211/phyx/netdev\:wlan0/stations/
&lt;sta mac&gt;/htt_peer_stats.

31-ATH11K_DBG_HTT_EXT_STATS_PDEV_TX_RATE_TXBF_STATS:
Used to dump the per pdev tx rate txbf stats.
Usage:
echo 31 &gt; /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats_type
cat /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats

32-ATH11k_DBG_HTT_EXT_STATS_TXBF_OFDMA:
Used to dump the TXBF ofdma stats for all ofdma users.
Usage:
echo 32 &gt; /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats_type
cat /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats

37-ATH11K_DBG_HTT_EXT_PHY_COUNTERS_AND_PHY_STATS:
Used to dump the mac and phy txrx counts and phy stats like per chain rssi
and ANI level.
Usage:
echo 37 &gt; /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats_type
cat /sys/kernel/debug/ieee80211/phyx/ath11k/htt_stats

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-00486-QCAHKSWPL_SILICONZ-1

Signed-off-by: Venkateswara Naralasetty &lt;vnaralas@codeaurora.org&gt;
Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210913223148.208026-6-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath11k: Change masking and shifting in htt stats</title>
<updated>2021-09-28T13:53:14Z</updated>
<author>
<name>Seevalamuthu Mariappan</name>
<email>seevalam@codeaurora.org</email>
</author>
<published>2021-09-28T11:00:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6ed731829cf862dc1f73bbd063662d8a6c78a5b7'/>
<id>urn:sha1:6ed731829cf862dc1f73bbd063662d8a6c78a5b7</id>
<content type='text'>
In debugfs_htt_stats.c, masking and shifting is done to get
stats values. Instead use GENMASK and FIELD_GET to improve
code readability and maintenance.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01105-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan &lt;seevalam@codeaurora.org&gt;
Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210913223148.208026-5-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath11k: Remove htt stats fixed size array usage</title>
<updated>2021-09-28T13:53:14Z</updated>
<author>
<name>Seevalamuthu Mariappan</name>
<email>seevalam@codeaurora.org</email>
</author>
<published>2021-09-28T11:00:45Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=74327bab6781a34d96ff4c0a7c59bb032fab1650'/>
<id>urn:sha1:74327bab6781a34d96ff4c0a7c59bb032fab1650</id>
<content type='text'>
To support the HTT Stats DebugFS interface a single large buffer that
contains the stats must be provided to the DebugFS infrastructure.
In the current code, for each class of stats, the stats are first
formatted in a local on-stack buffer, and then the local buffer is
copied to the large DebugFS buffer.

This logic has a problem when, for a given class, the formatted
stats exceed the size of the on-stack buffer. When this occurs the
stats for this class is truncated. In addition, this logic is
inefficient since it introduces an unnecessary memory copy.

To address these issues, update the logic to no longer use a local
on-stack buffer, and instead write the formatted data directly into
the large DebugFS buffer.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01105-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan &lt;seevalam@codeaurora.org&gt;
Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210913223148.208026-4-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath11k: Replace HTT_DBG_OUT with scnprintf</title>
<updated>2021-09-28T13:53:13Z</updated>
<author>
<name>Seevalamuthu Mariappan</name>
<email>seevalam@codeaurora.org</email>
</author>
<published>2021-09-28T11:00:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6f442799bcfd62931ca100c7c5916bb5fc034302'/>
<id>urn:sha1:6f442799bcfd62931ca100c7c5916bb5fc034302</id>
<content type='text'>
Get rid of macro HTT_DBG_OUT and replace it with scnprintf().
The macro does not do anything else. Added required new line
characters to scnprintf() for proper display.

Tested-on: IPQ8074 hw2.0 AHB WLAN.HK.2.5.0.1-01105-QCAHKSWPL_SILICONZ-1

Signed-off-by: Seevalamuthu Mariappan &lt;seevalam@codeaurora.org&gt;
Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210913223148.208026-3-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath11k: Rename macro ARRAY_TO_STRING to PRINT_ARRAY_TO_BUF</title>
<updated>2021-09-28T13:53:12Z</updated>
<author>
<name>Seevalamuthu Mariappan</name>
<email>seevalam@codeaurora.org</email>
</author>
<published>2021-09-28T11:00:44Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9e2e2d7a4dd490ff6e95e37611070d3b3a9cf58b'/>
<id>urn:sha1:9e2e2d7a4dd490ff6e95e37611070d3b3a9cf58b</id>
<content type='text'>
Renaming of macro is done to describe the macro functionality
better as the macro functionality is modified in next patch-sets.
No functional changes are done.

Signed-off-by: Seevalamuthu Mariappan &lt;seevalam@codeaurora.org&gt;
Signed-off-by: Jouni Malinen &lt;jouni@codeaurora.org&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210913223148.208026-2-jouni@codeaurora.org
</content>
</entry>
<entry>
<title>ath10k/ath11k: fix spelling mistake "requed" -&gt; "requeued"</title>
<updated>2021-05-24T05:34:46Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2021-04-23T13:41:33Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=17818dfa8f2e90a6f40e047a3ea9c39af1a8a87d'/>
<id>urn:sha1:17818dfa8f2e90a6f40e047a3ea9c39af1a8a87d</id>
<content type='text'>
There are multiple occurrances of the misspelling of requeued in
the drivers with symbol names and debug text. Fix these.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210423134133.339751-1-colin.king@canonical.com
</content>
</entry>
<entry>
<title>ath11k: debugfs: Fix spelling mistake "Opportunies" -&gt; "Opportunities"</title>
<updated>2021-02-16T07:04:03Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2021-02-12T11:36:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=9c349dbd07523ed175b7f5ec42c4b4a1bc7ae1df'/>
<id>urn:sha1:9c349dbd07523ed175b7f5ec42c4b4a1bc7ae1df</id>
<content type='text'>
There is a spelling mistake in some debug text, fix this.

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: Kalle Valo &lt;kvalo@codeaurora.org&gt;
Link: https://lore.kernel.org/r/20210212113627.212787-1-colin.king@canonical.com
</content>
</entry>
</feed>
