blob: 1fef46ad64d90de2570a2ac4ab039264a8baad73 [file] [log] [blame]
developer36fe7092023-09-27 12:24:47 +08001From 2fe477b8db9ab494a975a565a28e35fff76505d1 Mon Sep 17 00:00:00 2001
2From: Howard Hsu <howard-yh.hsu@mediatek.com>
3Date: Thu, 16 Mar 2023 16:09:51 +0800
4Subject: [PATCH 19/39] 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
13index 349c20e..62e4869 100644
14--- a/mt7996/mcu.c
15+++ b/mt7996/mcu.c
16@@ -3444,8 +3444,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--
282.18.0
29