developer | 1a17367 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 1 | From f4ae3b90eb43f820b65e55085936ce8a7fb508fd Mon Sep 17 00:00:00 2001 |
developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 2 | From: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 3 | Date: Wed, 20 Sep 2023 11:10:57 +0800 |
developer | 1a17367 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 4 | Subject: [PATCH 53/76] wifi: mt76: mt7915: add additional chain signal info to |
developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 5 | station dump |
| 6 | |
| 7 | Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 8 | --- |
| 9 | mt7915/mac.c | 2 +- |
| 10 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 11 | |
| 12 | diff --git a/mt7915/mac.c b/mt7915/mac.c |
developer | 1a17367 | 2023-12-21 14:49:33 +0800 | [diff] [blame^] | 13 | index 5e92e28..e5480ee 100644 |
developer | bd9fa1e | 2023-10-16 11:04:00 +0800 | [diff] [blame] | 14 | --- a/mt7915/mac.c |
| 15 | +++ b/mt7915/mac.c |
| 16 | @@ -435,7 +435,7 @@ mt7915_mac_fill_rx(struct mt7915_dev *dev, struct sk_buff *skb, |
| 17 | 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 | -- |
| 26 | 2.18.0 |
| 27 | |