ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Youghandhar Chintala <quic_youghand@quicinc.com>
To: <ath11k@lists.infradead.org>
Cc: <linux-wireless@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<quic_mpubbise@quicinc.com>,
	Youghandhar Chintala <quic_youghand@quicinc.com>
Subject: [PATCH 0/3] wifi: ath11k: Fix incorrect signal avg in station dump on WCN6750
Date: Tue, 4 Apr 2023 12:52:31 +0530	[thread overview]
Message-ID: <20230404072234.18503-1-quic_youghand@quicinc.com> (raw)

Currently on WCN6750, the average signal printed in the station dump
has invalid values. This is happening because of multiple reasons
in the driver.

This patches fixes this problem.

Station dump without fixes:

iw dev wlan0 station dump
Station 2c:30:33:d2:93:3f (on wlan0)
	inactive time:  16428 ms
	rx bytes:       91417
	rx packets:     642
	tx bytes:       4715
	tx packets:     31
	tx retries:     59
	tx failed:      0
	beacon loss:    0
	beacon rx:      294
	rx drop misc:   22
	signal:         -16 [-21, -20] dBm
	signal avg:     -95 dBm
	beacon signal avg:      -15 dBm
	tx bitrate:     650.0 MBit/s VHT-MCS 7 80MHz short GI VHT-NSS 2
	tx duration:    0 us
	rx bitrate:     6.0 MBit/s
	rx duration:    0 us
	authorized:     yes
	authenticated:  yes
	associated:     yes
	preamble:       long
	WMM/WME:        yes
	MFP:            no
	TDLS peer:      no
	DTIM period:    2
	beacon interval:100
	short slot time:yes
	connected time: 64 seconds

Station dump with fixes:
iw wlan0 station dump
Station 2c:30:33:d2:93:3f (on wlan0)
	inactive time:  4328 ms
	rx bytes:       10245
	rx packets:     3211
	tx bytes:       10245
	tx packets:     102
	tx retries:     72
	tx failed:      0
	beacon loss:    0
	beacon rx:      1506
	rx drop misc:   29
	signal:         -36 [-37, -45] dBm
	signal avg:     -37 dBm
	beacon signal avg:      -34 dBm
	tx bitrate:     866.7 MBit/s VHT-MCS 9 80MHz short GI VHT-NSS 2
	tx duration:    0 us
	rx duration:    512633 us
	authorized:     yes
	authenticated:  yes
	associated:     yes
	preamble:       long
	WMM/WME:        yes
	MFP:            no
	TDLS peer:      no
	DTIM period:    2
	beacon interval:100
	short slot time:yes

Youghandhar Chintala (3):
  wifi: ath11k: Use proper API to get peer id for WCN6750
  wifi: ath11k: Align RX MPDU info with the hardware for WCN6750
  wifi: ath11k: Populate the signal average field properly

 drivers/net/wireless/ath/ath11k/hal_rx.h |  4 ++--
 drivers/net/wireless/ath/ath11k/hw.c     |  2 +-
 drivers/net/wireless/ath/ath11k/mac.c    | 11 +++++++----
 3 files changed, 10 insertions(+), 7 deletions(-)

-- 
2.38.0


-- 
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

             reply	other threads:[~2023-04-04  7:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04  7:22 Youghandhar Chintala [this message]
2023-04-04  7:22 ` [PATCH 1/3] wifi: ath11k: Use proper API to get peer id for WCN6750 Youghandhar Chintala
2023-04-04  7:22 ` [PATCH 2/3] wifi: ath11k: Align RX MPDU info with the hardware " Youghandhar Chintala
2023-04-04  7:22 ` [PATCH 3/3] wifi: ath11k: Populate the signal average field properly Youghandhar Chintala

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=20230404072234.18503-1-quic_youghand@quicinc.com \
    --to=quic_youghand@quicinc.com \
    --cc=ath11k@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=quic_mpubbise@quicinc.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