blob: debf1a64ce1dbe5ffbd4eb9ae8dd2b3292dcdf11 [file] [log] [blame]
developer8eb72a32023-03-30 08:32:07 +08001From e0d5636b28358017571697b1e2ee0a1ee5500647 Mon Sep 17 00:00:00 2001
developer1bc2ce22023-03-25 00:47:41 +08002From: Howard Hsu <howard-yh.hsu@mediatek.com>
3Date: Thu, 16 Mar 2023 16:09:51 +0800
4Subject: [PATCH 20/29] wifi: mt76: mt7996: fix beamform mcu cmd configuration
5
6bf_num means how many band can support beamform, so the value shall be 3.
7bf_bitmap represents which band can support beamform.
8---
9 mt7996/mcu.c | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
11
12diff --git a/mt7996/mcu.c b/mt7996/mcu.c
developer8eb72a32023-03-30 08:32:07 +080013index 07c521c..ed1abe1 100644
developer1bc2ce22023-03-25 00:47:41 +080014--- a/mt7996/mcu.c
15+++ b/mt7996/mcu.c
16@@ -3506,8 +3506,8 @@ int mt7996_mcu_set_txbf(struct mt7996_dev *dev, u8 action)
17
18 tlv = mt7996_mcu_add_uni_tlv(skb, action, sizeof(*req_mod_en));
19 req_mod_en = (struct bf_mod_en_ctrl *)tlv;
20- req_mod_en->bf_num = 2;
21- req_mod_en->bf_bitmap = GENMASK(0, 0);
22+ req_mod_en->bf_num = 3;
23+ req_mod_en->bf_bitmap = GENMASK(2, 0);
24 break;
25 }
26 default:
27--
developer8eb72a32023-03-30 08:32:07 +0800282.18.0
developer1bc2ce22023-03-25 00:47:41 +080029