developer | 36fe709 | 2023-09-27 12:24:47 +0800 | [diff] [blame^] | 1 | From 2fe477b8db9ab494a975a565a28e35fff76505d1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Howard Hsu <howard-yh.hsu@mediatek.com> |
| 3 | Date: Thu, 16 Mar 2023 16:09:51 +0800 |
| 4 | Subject: [PATCH 19/39] wifi: mt76: mt7996: fix beamform mcu cmd configuration |
| 5 | |
| 6 | bf_num means how many band can support beamform, so the value shall be 3. |
| 7 | bf_bitmap represents which band can support beamform. |
| 8 | --- |
| 9 | mt7996/mcu.c | 4 ++-- |
| 10 | 1 file changed, 2 insertions(+), 2 deletions(-) |
| 11 | |
| 12 | diff --git a/mt7996/mcu.c b/mt7996/mcu.c |
| 13 | index 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 | -- |
| 28 | 2.18.0 |
| 29 | |