[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220318195804.4169686-1-egagnon@squareup.com>
Date: Fri, 18 Mar 2022 14:58:01 -0500
From: Edmond Gagnon <egagnon@...areup.com>
To: Kalle Valo <kvalo@...eaurora.org>
Cc: Edmond Gagnon <egagnon@...areup.com>,
Kalle Valo <kvalo@...nel.org>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, wcn36xx@...ts.infradead.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2 0/2] wcn36xx: Implement tx_rate reporting
Implements HAL_GET_STATS message in order to report tx_rate to
ieee80211_tx_rate_update. Tested on MSM8939 with WCN3680B running
firmware CNSS-PR-2-0-1-2-c1-00083 on 5.17.
Changes in v2:
- Refactored to use existing wcn36xx_hal_get_stats_{req,rsp}_msg structs.
- Added more notes about testing.
- Reduced reporting interval to 3000msec.
- Assorted type and memory safety fixes.
- Make wcn36xx_smd_get_stats friendlier to future message implementors.
Edmond Gagnon (2):
wcn36xx: Expose get_sta_index in wcn36xx.h
wcn36xx: Implement tx_rate reporting
drivers/net/wireless/ath/wcn36xx/hal.h | 7 ++-
drivers/net/wireless/ath/wcn36xx/main.c | 33 +++++++++---
drivers/net/wireless/ath/wcn36xx/smd.c | 58 +++++++++++++++++++++
drivers/net/wireless/ath/wcn36xx/smd.h | 1 +
drivers/net/wireless/ath/wcn36xx/txrx.c | 59 ++++++++++++++++++++++
drivers/net/wireless/ath/wcn36xx/txrx.h | 2 +
drivers/net/wireless/ath/wcn36xx/wcn36xx.h | 12 +++++
7 files changed, 163 insertions(+), 9 deletions(-)
--
2.25.1
Powered by blists - more mailing lists