blob: 54b094efbc88bbcd6fe68594b85803a22991c279 [file] [log] [blame]
developer43a264f2024-03-26 14:09:54 +08001From 84313ebde8920d6c6f2e2ecce133acd8b7b13805 Mon Sep 17 00:00:00 2001
developere35b8e42023-10-16 11:04:00 +08002From: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
3Date: Wed, 20 Sep 2023 11:10:57 +0800
developer43a264f2024-03-26 14:09:54 +08004Subject: [PATCH 1038/1051] wifi: mt76: mt7915: add additional chain signal
developerebda9012024-02-22 13:42:45 +08005 info to station dump
developere35b8e42023-10-16 11:04:00 +08006
7Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
8---
9 mt7915/mac.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/mt7915/mac.c b/mt7915/mac.c
developer43a264f2024-03-26 14:09:54 +080013index b0ddb106..9a49375c 100644
developere35b8e42023-10-16 11:04:00 +080014--- a/mt7915/mac.c
15+++ b/mt7915/mac.c
developer43a264f2024-03-26 14:09:54 +080016@@ -442,7 +442,7 @@ mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb,
developere35b8e42023-10-16 11:04:00 +080017 if (v0 & MT_PRXV_HT_AD_CODE)
18 status->enc_flags |= RX_ENC_FLAG_LDPC;
19
20- status->chains = mphy->antenna_mask;
21+ status->chains = mphy->chainmask >> (status->phy_idx * dev->chainshift);
22 status->chain_signal[0] = to_rssi(MT_PRXV_RCPI0, v1);
23 status->chain_signal[1] = to_rssi(MT_PRXV_RCPI1, v1);
24 status->chain_signal[2] = to_rssi(MT_PRXV_RCPI2, v1);
25--
262.18.0
27