linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath10k: check data ack rssi enabled/disabled in htt rx event
@ 2019-06-28  7:31 Balaji Pothunoori
  2019-10-11  8:33 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Balaji Pothunoori @ 2019-06-28  7:31 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless, Abhishek Ambure, Balaji Pothunoori

From: Abhishek Ambure <aambure@codeaurora.org>

For all data packets trasmmited, host gets htt tx completion event.

QCA9984 firmware gives data ack rssi values to host through
htt event of data tx completion. Data ack rssi values are valid
if A0 bit is set in HTT rx message.

Tested HW: QCA9984
Tested FW: 10.4-3.9.0.2-00044

Signed-off-by: Abhishek Ambure <aambure@codeaurora.org>
Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
---
 drivers/net/wireless/ath/ath10k/hw.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/ath/ath10k/hw.c b/drivers/net/wireless/ath/ath10k/hw.c
index ad082b7..303f17d 100644
--- a/drivers/net/wireless/ath/ath10k/hw.c
+++ b/drivers/net/wireless/ath/ath10k/hw.c
@@ -1145,6 +1145,7 @@ static bool ath10k_qca99x0_rx_desc_msdu_limit_error(struct htt_rx_desc *rxd)
 const struct ath10k_hw_ops qca99x0_ops = {
 	.rx_desc_get_l3_pad_bytes = ath10k_qca99x0_rx_desc_get_l3_pad_bytes,
 	.rx_desc_get_msdu_limit_error = ath10k_qca99x0_rx_desc_msdu_limit_error,
+	.is_rssi_enable = ath10k_htt_tx_rssi_enable,
 };
 
 const struct ath10k_hw_ops qca6174_ops = {
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ath10k: check data ack rssi enabled/disabled in htt rx event
  2019-06-28  7:31 [PATCH] ath10k: check data ack rssi enabled/disabled in htt rx event Balaji Pothunoori
@ 2019-10-11  8:33 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-10-11  8:33 UTC (permalink / raw)
  To: Balaji Pothunoori
  Cc: ath10k, linux-wireless, Abhishek Ambure, Balaji Pothunoori

Balaji Pothunoori <bpothuno@codeaurora.org> wrote:

> For all data packets transmitted, host gets htt tx completion event. Some QCA9984
> firmware releases support WMI_SERVICE_TX_DATA_ACK_RSSI, which gives data
> ack rssi values to host through htt event of data tx completion. Data ack rssi
> values are valid if A0 bit is set in HTT rx message. So enable the feature also
> for QCA9884.
> 
> Tested HW: QCA9984
> Tested FW: 10.4-3.9.0.2-00044
> 
> Signed-off-by: Abhishek Ambure <aambure@codeaurora.org>
> Signed-off-by: Balaji Pothunoori <bpothuno@codeaurora.org>
> [kvalo@codeaurora.org: improve commit log]
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>

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

cc78dc3b7906 ath10k: enable transmit data ack RSSI for QCA9884

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

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-11  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-28  7:31 [PATCH] ath10k: check data ack rssi enabled/disabled in htt rx event Balaji Pothunoori
2019-10-11  8:33 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).