* [PATCH] ath11k: Update signal filled flag during sta_statistics drv op
@ 2021-02-24 9:02 Sriram R
2021-03-09 11:01 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Sriram R @ 2021-02-24 9:02 UTC (permalink / raw)
To: kvalo; +Cc: linux-wireless, ath11k, Sriram R
Currently, though the peer rssi information is updated to station dump
from driver sta_statistics mac op, the info doesn't get updated
since the NL80211_STA_INFO_SIGNAL filled flag is not set in station
info. Hence update this flag while filling the rssi info.
Tested on: IPQ8074 WLAN.HK.2.1.0.1-01213-QCAHKSWPL_SILICONZ-1
Signed-off-by: Sriram R <srirrama@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/mac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/ath/ath11k/mac.c b/drivers/net/wireless/ath/ath11k/mac.c
index de6c132..6c4049d 100644
--- a/drivers/net/wireless/ath/ath11k/mac.c
+++ b/drivers/net/wireless/ath/ath11k/mac.c
@@ -5610,6 +5610,7 @@ static void ath11k_mac_op_sta_statistics(struct ieee80211_hw *hw,
/* TODO: Use real NF instead of default one. */
sinfo->signal = arsta->rssi_comb + ATH11K_DEFAULT_NOISE_FLOOR;
+ sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL);
}
static const struct ieee80211_ops ath11k_ops = {
--
2.7.4
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath11k: Update signal filled flag during sta_statistics drv op
2021-02-24 9:02 [PATCH] ath11k: Update signal filled flag during sta_statistics drv op Sriram R
@ 2021-03-09 11:01 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2021-03-09 11:01 UTC (permalink / raw)
To: Sriram R; +Cc: ath11k, linux-wireless, Sriram R
Sriram R <srirrama@codeaurora.org> wrote:
> Currently, though the peer rssi information is updated to station dump
> from driver sta_statistics mac op, the info doesn't get updated
> since the NL80211_STA_INFO_SIGNAL filled flag is not set in station
> info. Hence update this flag while filling the rssi info.
>
> Tested on: IPQ8074 WLAN.HK.2.1.0.1-01213-QCAHKSWPL_SILICONZ-1
>
> Signed-off-by: Sriram R <srirrama@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
f277eb0500b4 ath11k: Update signal filled flag during sta_statistics drv op
--
https://patchwork.kernel.org/project/linux-wireless/patch/20210224090241.3098-1-srirrama@codeaurora.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
--
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-09 11:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-24 9:02 [PATCH] ath11k: Update signal filled flag during sta_statistics drv op Sriram R
2021-03-09 11:01 ` 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).