| From e0d5636b28358017571697b1e2ee0a1ee5500647 Mon Sep 17 00:00:00 2001 |
| From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| Date: Thu, 16 Mar 2023 16:09:51 +0800 |
| Subject: [PATCH 20/29] wifi: mt76: mt7996: fix beamform mcu cmd configuration |
| |
| bf_num means how many band can support beamform, so the value shall be 3. |
| bf_bitmap represents which band can support beamform. |
| --- |
| mt7996/mcu.c | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
| index 07c521c..ed1abe1 100644 |
| --- a/mt7996/mcu.c |
| +++ b/mt7996/mcu.c |
| @@ -3506,8 +3506,8 @@ int mt7996_mcu_set_txbf(struct mt7996_dev *dev, u8 action) |
| |
| tlv = mt7996_mcu_add_uni_tlv(skb, action, sizeof(*req_mod_en)); |
| req_mod_en = (struct bf_mod_en_ctrl *)tlv; |
| - req_mod_en->bf_num = 2; |
| - req_mod_en->bf_bitmap = GENMASK(0, 0); |
| + req_mod_en->bf_num = 3; |
| + req_mod_en->bf_bitmap = GENMASK(2, 0); |
| break; |
| } |
| default: |
| -- |
| 2.18.0 |
| |